/* Additive native-public/V7 override. Load after retained CSS and V7 components.
 * Both local Roboto family aliases below already exist in those entry points.
 * No font URL, data/role change, landing demo rewrite or legacy CSS replacement. */
.r7,.v56-catalog{font-family:VlegroWorkspaceRoboto,"Vlegro Roboto",Arial,sans-serif}
body:has(.v2-workspace:not(.v7-workspace) :is(.r7,.v56-catalog)){--font-ui:VlegroWorkspaceRoboto,"Vlegro Roboto",Arial,sans-serif;font-family:var(--font-ui)}
body:has(.v2-workspace:not(.v7-workspace) :is(.r7,.v56-catalog)) :is(button,input,textarea,select){font-family:var(--font-ui)}
/* Retained V4 max700px paints a false DEMO pseudo-label over the real text.
 * Preserve the actual native context in DOM/accessibility tree, with bounded
 * visual truncation only; never hide the label, account or workspace controls. */
@media(max-width:760px){
  .v2-workspace:not(.v7-workspace):has(.r7,.v56-catalog) .worktop-right .demo-mode{display:inline-block;font-size:10px;min-width:0;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1}
}
@media(max-width:700px){
  .v2-workspace:not(.v7-workspace):has(.r7,.v56-catalog) .worktop-right .demo-mode::after{content:none}
}
@media(max-width:390px){.v2-workspace:not(.v7-workspace):has(.r7,.v56-catalog) .worktop-right .demo-mode{font-size:9px;max-width:64px}}
/* Catalog inherits the existing V7 shell family, including native/link controls.
 * Family only: preserve every existing size, weight, line-height and layout. */
.v7-workspace .v56-catalog{font-family:inherit}
.v7-workspace .v56-catalog :is(button,input,select,textarea,.btn){font-family:inherit}
/* Existing catalog input measured48px in guest baseline823. Controls only. */
.v54-catalog-form :is(select,.btn){min-height:48px}
/* Measured868: only catalog submit was46px; outspec later forms min44. */
.v54-catalog .v54-catalog-form button.btn[type=submit]{min-height:48px}
/* Passport labels keep their intrinsic words; source geography still wraps. */
.r7-passport>.r7-fact-list>div>dt{flex-shrink:0}
/* Catalog actions already share a centered flex row; remove only its stack margin. */
.v54-catalog-company>.btn[data-work-basis-kind][data-work-basis-id]{margin-top:0}
/* Catalog's existing native .field select; V53 chevron-down, retained field tokens. */
.v54-catalog-form select:is([name=role_scope],[name=experience],[name=rating],[name=sort]){appearance:none;line-height:22px;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365738b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
@media(forced-colors:active){.v54-catalog-form select:is([name=role_scope],[name=experience],[name=rating],[name=sort]){appearance:auto;background-image:none;padding-inline-end:14px}}
/* OPS-05 legacy asset hash: a4c90c123f2bad65fa23f11988787d77b3a609077a17468ff164b90c24ce90fc */
/* 03B-01: existing V7 review order control, native semantics and V53 chevron. */
.v7-workspace select[data-ui=reviewSort]{appearance:none;min-height:44px;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:14px;padding:10px 34px 10px 14px;background-color:var(--paper);color:var(--ink);font:inherit;line-height:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23758095' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
.v7-workspace select[data-ui=reviewSort]:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){.v7-workspace select[data-ui=reviewSort]{appearance:auto;background-image:none;padding-inline-end:14px}}
/* 03B-02: existing V53 invite-role field; the verified chevron and field tokens. */
#modal .v54-invite .field > select[data-ui=inviteRole]{appearance:none;line-height:22px;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365738b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
@media(forced-colors:active){#modal .v54-invite .field > select[data-ui=inviteRole]{appearance:auto;background-image:none;padding-inline-end:14px}}
/* 06A: existing V53 section rhythm, only the company facts -> rating boundary. */
.v7-workspace .card.mt + #company-rating.r7{margin-top:20px}
@media(max-width:767px){.v7-workspace .card.mt + #company-rating.r7{margin-top:16px}}
/* 06B: reuse V53 public-requisites rows locally; no shared card/rating changes. */
.v57-company-requisites{padding:24px}.v3-business-facts{margin:20px 0 0}.v3-business-facts>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #f0f3f6;font-size:14px}.v3-business-facts dt,.v3-business-facts dd{min-width:0;overflow-wrap:anywhere}.v3-business-facts dt{flex-shrink:0;max-width:100%}.v3-business-facts dt>span{display:inline-flex;flex:none}.v3-business-facts dt svg{width:16px;height:16px}.v3-business-facts dd{margin:0;text-align:right}
@media(max-width:767px){.v57-company-requisites{padding:16px}.v3-business-facts{margin-top:16px}.v3-business-facts>div{flex-wrap:wrap;gap:8px}.v3-business-facts dd{text-align:left}}
/* 06C: existing V53 contacts card, panels and controls remain unchanged. */
/* 03B-03: existing historical correction fields; verified V53 chevron and modal tokens. */
#modal [data-lda-review-report] select:is([name=field],[name=problem]){appearance:none;line-height:22px;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365738b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
@media(forced-colors:active){#modal [data-lda-review-report] select:is([name=field],[name=problem]){appearance:auto;background-image:none;padding-inline-end:14px}}
/* 03B-04: existing V53 compound message scope; retain its 44px outer frame. */
.v7-workspace select#message-scope{appearance:none;min-height:20px;min-width:0;max-width:100%;border:0;padding:0 30px 0 0;background-color:transparent;color:var(--ink);font:inherit;line-height:20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23758095' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0 center;background-size:16px 16px}
.v7-workspace select#message-scope:focus-visible{outline:3px solid #9facff;outline-offset:3px}
.v7-workspace select#message-scope:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){.v7-workspace select#message-scope{appearance:auto;background-image:none;padding-inline-end:0}}
/* 03B-05: existing workspace opportunity state; no company-task form changes. */
.v7-workspace .v7-work-tasks [data-work-filter] select[name=state]{appearance:none;min-height:44px;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:14px;padding:10px 34px 10px 14px;background-color:var(--paper);color:var(--ink);font:inherit;line-height:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23758095' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
.v7-workspace .v7-work-tasks [data-work-filter] select[name=state]:focus-visible{outline:3px solid #4245e8;outline-offset:3px}
.v7-workspace .v7-work-tasks [data-work-filter] select[name=state]:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){.v7-workspace .v7-work-tasks [data-work-filter] select[name=state]{appearance:auto;background-image:none;padding-inline-end:14px}}
/* 03B-06: the existing service/project item dialogs, native selects only. */
#modal .v54-dialog [data-server-form=item] select:is([name=price_mode],[name=status]){appearance:none;min-height:48px;line-height:22px;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365738b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
#modal .v54-dialog [data-server-form=item] select:is([name=price_mode],[name=status]):focus-visible{outline:3px solid #9facff;outline-offset:3px}
#modal .v54-dialog [data-server-form=item] select:is([name=price_mode],[name=status]):disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){#modal .v54-dialog [data-server-form=item] select:is([name=price_mode],[name=status]){appearance:auto;background-image:none;padding-inline-end:14px}}
/* 03B-07: existing history version field; keep its empty state and frame. */
.v7-workspace .field > select#ui-historyVersion{appearance:none;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23758095' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
.v7-workspace .field > select#ui-historyVersion:focus-visible{outline:3px solid #4245e8;outline-offset:3px}
.v7-workspace .field > select#ui-historyVersion:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){.v7-workspace .field > select#ui-historyVersion{appearance:auto;background-image:none;padding-inline-end:12px}}
/* 03B-08: existing trust-centre filter selects, retaining the R7 field tokens. */
.v7-workspace .r7-hub-filters select:is([name=role_scope],[name=rating],[name=experience],[name=sort]){appearance:none;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23758095' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
.v7-workspace .r7-hub-filters select:is([name=role_scope],[name=rating],[name=experience],[name=sort]):disabled{color:var(--r7-muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){.v7-workspace .r7-hub-filters select:is([name=role_scope],[name=rating],[name=experience],[name=sort]){appearance:auto;background-image:none;padding-inline-end:10px}}
/* 03B-09: native finance source kind only; no journal command or data changes. */
.v7-workspace [data-finance-source] select[name=kind]{appearance:none;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23758095' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
.v7-workspace [data-finance-source] select[name=kind]:focus-visible{outline:3px solid #4245e8;outline-offset:3px}
.v7-workspace [data-finance-source] select[name=kind]:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){.v7-workspace [data-finance-source] select[name=kind]{appearance:auto;background-image:none;padding-inline-end:12px}}
/* 03B-10: existing company metrics-period modal; preserve its native options. */
#modal .v54-dialog select[data-dialog-period]{appearance:none;min-height:48px;line-height:22px;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365738b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8.5 6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
#modal .v54-dialog select[data-dialog-period]:focus-visible{outline:3px solid #9facff;outline-offset:3px}
#modal .v54-dialog select[data-dialog-period]:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}
@media(forced-colors:active){#modal .v54-dialog select[data-dialog-period]{appearance:auto;background-image:none;padding-inline-end:14px}}
