/* Approved home skin extended to interactive screens. No transforms, display,
   business logic or print-form rules. Homepage retains its own specific layer. */
@media screen {
html body.oa-ui:not(.liquid-glass-home){background:#f3f6f9!important;color:#213c50;--oa-ink:#213c50;--oa-muted:#617587;--oa-border:#d3dee7;--oa-glass:#fff}
html body.oa-ui:not(.liquid-glass-home) .oa-sidebar{background:#eaf0f5!important;border-right:1px solid #d3dee7;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding-top:20px;padding-bottom:14px}
html body.oa-ui:not(.liquid-glass-home) .oa-sidebar :is(.brand,.contact-brand,.work-brand,.oa-brand){padding-bottom:16px}
html body.oa-ui:not(.liquid-glass-home) :is(.main,.contact-main,.work-main,.oa-admin-main){padding-left:clamp(18px,2vw,32px);padding-right:clamp(18px,2vw,32px)}
html body.oa-ui:not(.liquid-glass-home) :is(.topbar,.contact-topbar,.work-topbar,.oa-admin-main>header){min-height:46px;height:auto;gap:8px;padding:6px 0}
html body.oa-ui:not(.liquid-glass-home) :is(.page-head,.contact-page-head){padding:14px 0;gap:12px}
html body.oa-ui:not(.liquid-glass-home) :is(.page-head h1,.contact-page-head h1,.oa-admin-main>header h1,.work-topbar h1){font-size:22px;line-height:1.35;margin:0}
html body.oa-ui:not(.liquid-glass-home) :is(.oa-demo-switch,.demo-switch,.contact-demo-switch,.work-demo-switch){gap:8px;padding:3px 0;font-size:13px}
html body.oa-ui:not(.liquid-glass-home) :is(.card,.panel,.portal-card,.admin-function-card,.contact-record,.work-item,.work-card,.work-stat,.work-stats article,.contact-stat-card,.stat,.notice,.contact-notice,.work-note,.contact-form,.contact-list-panel,.contact-home-panel,.transfer-panel,.calendar-card,.review-card,.summary-card){background:#fff!important;border:1px solid #d3dee7!important;border-radius:8px!important;box-shadow:0 2px 5px #23496908!important;backdrop-filter:none;-webkit-backdrop-filter:none}
html body.oa-ui:not(.liquid-glass-home) :is(.panel,.card,.contact-form,.contact-list-panel,.contact-home-panel,.work-card,.work-item,.calendar-card,.review-card,.transfer-panel){padding:14px 16px}
html body.oa-ui:not(.liquid-glass-home) :is(.notice,.contact-notice,.work-note){padding:10px 14px;margin-bottom:12px}
html body.oa-ui:not(.liquid-glass-home) :is(.contact-home-stats,.work-stats,.stats,.portal-grid,.contact-home-grid,.summary-column){gap:12px;margin-bottom:14px}
html body.oa-ui:not(.liquid-glass-home) :is(.contact-stat-card,.work-stat,.work-stats article,.stat){min-height:48px;padding:10px 14px}
html body.oa-ui:not(.liquid-glass-home) :is(.contact-stat-card,.work-stat,.stat) strong{font-size:24px;font-variant-numeric:tabular-nums}
html body.oa-ui:not(.liquid-glass-home) :is(.panel-head,.section-title,.table-toolbar){gap:12px;margin-bottom:10px}
html body.oa-ui:not(.liquid-glass-home) :is(.panel-head h2,.section-title h2){font-size:18px;margin:0}
html body.oa-ui:not(.liquid-glass-home) :is(.search-row,.table-toolbar){margin-bottom:12px}
html body.oa-ui:not(.liquid-glass-home) :is(.fields,.form-grid){gap:12px;margin-top:14px}
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,.nav-item,.work-nav,.back,.account-action,.link-button,.button-link,a.secondary,.export-actions a,.record-actions a,.detail-actions a,.oa-top-home-link,.admin-context-tabs a,summary.nav-item,.oa-admin-nav-group>summary):not(.oa-close-control):not(.leave-bar):not(.sidebar-shade):not(.oa-drawer-shade){background:linear-gradient(155deg,#ffffffed,#f1f6fbe6)!important;border:1px solid #c6d7e3!important;border-radius:10px!important;box-shadow:inset 0 1px 0 #fff,0 2px 4px #2349690a!important;backdrop-filter:none;-webkit-backdrop-filter:none}
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,.back,.account-action,.link-button,.button-link,a.secondary,.export-actions a,.record-actions a,.detail-actions a,.oa-top-home-link):not(.oa-close-control):not(.leave-bar):not(.oa-menu-toggle):not(.sidebar-shade):not(.oa-drawer-shade){min-height:34px;padding:6px 12px}
html body.oa-ui.oa-ui:not(.liquid-glass-home) .oa-sidebar :is(.nav-item,.work-nav,summary.nav-item){border-radius:14px!important}
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button[aria-pressed=true],button.active,.filter.active,.nav-item.active,.work-nav.active,a[aria-current=page],.admin-context-tabs a.active){background:#dceaf5!important;border-color:#81aac6!important}
/* Keep action colors and invariant red close control. */
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,a).oa-action-confirm:not(.oa-close-control):not(.leave-bar):not(.sidebar-shade):not(.oa-drawer-shade){background:linear-gradient(145deg,#f5fff9,#b3e7c8)!important;border-color:#83bea0!important;color:#205e47!important}
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,a).oa-action-cancel:not(.oa-close-control):not(.leave-bar):not(.sidebar-shade):not(.oa-drawer-shade){background:linear-gradient(145deg,#fff6f7,#ffd2da)!important;border-color:#df9eac!important;color:#9f2f40!important}
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,a).oa-action-withdraw:not(.oa-close-control):not(.leave-bar):not(.sidebar-shade):not(.oa-drawer-shade){background:linear-gradient(145deg,#fffaeb,#ffe2aa)!important;border-color:#d9b577!important;color:#805116!important}
html body.oa-ui:not(.liquid-glass-home) :is(.modal,.detail-modal,.contact-detail-modal,.work-modal,.compact-modal,.image-preview-panel,.contact-image-preview-panel){background:#fff!important;border-color:#d3dee7!important;border-radius:12px!important;box-shadow:0 20px 60px #213c502e!important;backdrop-filter:none;-webkit-backdrop-filter:none}
html body.oa-ui:not(.liquid-glass-home) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]){background:#fff!important;border-color:#c6d7e3!important;border-radius:8px!important;box-shadow:none}
html body.oa-ui:not(.liquid-glass-home) :is(input[readonly],input:disabled,select:disabled,textarea[readonly]){background:#eaf0f5!important}
html body.oa-ui:not(.liquid-glass-home) :is(th,.table-wrap thead){background:#f3f6f9!important;color:#617587!important}
html body.oa-ui:not(.liquid-glass-home) :is(th,td){padding:9px 10px}
html body.oa-ui:not(.liquid-glass-home) select option{background:#fff;color:#213c50}
}
@media screen and (any-hover:hover) and (any-pointer:fine){html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,.nav-item,.work-nav,.portal-card,.admin-function-card):not(:disabled):not(.oa-close-control):not(.leave-bar):hover{box-shadow:0 7px 16px #23496926!important}}
@media screen and (max-width:760px){
html body.oa-ui:not(.liquid-glass-home) :is(.main,.contact-main,.work-main,.oa-admin-main){padding-left:14px;padding-right:14px}
html body.oa-ui.oa-ui:not(.liquid-glass-home) :is(button,.back,.account-action,.oa-top-home-link):not(.oa-close-control):not(.leave-bar):not(.oa-menu-toggle):not(.sidebar-shade):not(.oa-drawer-shade){min-height:40px}
}

/* Homepage spacing contract shared by every module. Dock transforms unchanged. */
@media screen {
html body.oa-ui {--oa-sidebar-gap:14px;--oa-sidebar-main-width:190px;--oa-sidebar-child-width:174px}
html body.oa-ui.oa-ui .oa-sidebar nav,
html body.oa-ui.oa-ui #portal-shell .portal-sidebar nav {gap:var(--oa-sidebar-gap);margin-top:0;justify-items:center}
html body.oa-ui.oa-ui .oa-sidebar .nav-label,
html body.oa-ui.oa-ui #portal-shell .portal-sidebar .nav-label {margin:10px 8px 0;font-size:11px;font-weight:750;letter-spacing:.12em;color:#63829a;text-align:center;pointer-events:none}
html body.oa-ui.oa-ui .oa-sidebar nav > :is(.nav-item,.work-nav),
html body.oa-ui.oa-ui .oa-admin-main .oa-sidebar .admin-nav-section > summary.nav-item {width:var(--oa-sidebar-main-width)!important;max-width:100%;min-height:44px!important;height:auto;padding:10px 12px!important;margin:0!important}
html body.oa-ui.oa-ui .oa-sidebar :is(.contact-report-menu,.work-report-menu) {display:grid;gap:var(--oa-sidebar-gap);width:var(--oa-sidebar-main-width);max-width:100%;padding:0;margin:0;justify-items:end}
html body.oa-ui.oa-ui .oa-sidebar :is(.contact-report-menu,.work-report-menu) :is(.nav-item,.work-nav),
html body.oa-ui.oa-ui .oa-admin-main .oa-sidebar .admin-nav-section > a.nav-item {width:var(--oa-sidebar-child-width)!important;max-width:100%;min-height:40px!important;padding:8px 12px!important;font-size:13px}
html body.oa-ui.oa-ui .oa-sidebar .admin-nav-section {width:var(--oa-sidebar-main-width)!important;max-width:100%;margin:0!important}
html body.oa-ui.oa-ui .oa-admin-main .oa-sidebar .admin-nav-section > a.nav-item {margin:var(--oa-sidebar-gap) 0 0 auto!important}
html body.oa-ui.oa-ui .oa-sidebar footer {padding-top:18px}
/* A shared contract for labels, badges and disclosure arrows. Only icons have
   a fixed width; translated labels use the remaining horizontal space. */
html body.oa-ui.oa-ui .oa-sidebar :is(.nav-item,.work-nav) {gap:9px!important;line-height:1.4;text-align:left!important}
html body.oa-ui.oa-ui .oa-sidebar :is(.nav-item,.work-nav) > .oa-nav-copy {width:auto;flex:1 1 auto;min-width:0;font-size:14px!important;line-height:1.4;white-space:normal!important;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
html body.oa-ui.oa-ui .oa-sidebar :is(.nav-item,.work-nav) > :is(b,.report-menu-arrow) {flex:0 0 auto;width:auto;margin-left:auto}
html body.oa-ui.oa-ui .oa-sidebar :is(.nav-item,.work-nav):focus-visible {outline:2px solid #357fa8;outline-offset:3px}
html body.oa-ui.oa-ui #portal-sidebar :is(.nav-copy,.nav-copy > [data-i18n],.shell-sub-label) {white-space:normal!important;overflow:visible;text-overflow:clip;word-break:normal;overflow-wrap:normal;line-height:1.4}
html body.oa-ui.oa-ui .oa-sidebar .oa-nav-section-label[hidden],
html body.oa-ui.oa-ui .oa-sidebar :is(.contact-report-menu,.work-report-menu).hidden {display:none!important}
}
@media screen and (min-width:761px) {
html body.oa-ui.oa-ui.oa-nav-collapsed .oa-sidebar .oa-nav-section-label {display:none}
html body.oa-ui.oa-ui.oa-nav-collapsed .oa-sidebar .admin-nav-section {width:100%!important}
html body.oa-ui.oa-ui.oa-nav-collapsed .oa-sidebar .oa-nav-copy {display:none!important}
html body.oa-ui.oa-ui #portal-shell.sidebar-collapsed #portal-sidebar :is(.nav-copy,.shell-sub-label) {display:none!important}
}
