/* Shared blue/white contrast correction; no module layout or workflow changes. */
:root{--s360-action:#07549e;--s360-action-hover:#063b73;--s360-ink:#152e4b;--s360-muted:#475569;--s360-control:#64748b}
body button,body .btn,body .vision-btn,body input[type=submit]{color:#fff!important;background:var(--s360-action)!important;border:1px solid var(--s360-action)!important;opacity:1;min-height:44px;line-height:1.4;font-size:1rem;white-space:normal;overflow-wrap:anywhere}
body button *,body .btn *,body .vision-btn *{color:inherit!important}
body button:not(:disabled):hover,body .btn:not(:disabled):hover{background:var(--s360-action-hover)!important;border-color:var(--s360-action-hover)!important}
body button.ghost,body .vision-btn.ghost,body button.secondary{background:#fff!important;color:#07549e!important;border-color:#07549e!important}
body button.ghost:not(:disabled):hover,body button.secondary:not(:disabled):hover{background:#eaf2fb!important;color:#063b73!important}
#s360-vision-sidebar button{color:#fff!important;background:#07549e!important;border-color:#94bce5!important;text-align:start}
body button.danger,body button[data-danger]{color:#fff!important;background:#a32121!important;border-color:#a32121!important}
body button:disabled,body fieldset:disabled button,body [aria-disabled=true]{background:#e2e8f0!important;color:#475569!important;border-color:#64748b!important;opacity:1!important;cursor:not-allowed!important}
body button[aria-busy=true]{background:#254d74!important;color:#fff!important;cursor:wait!important}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #b45309!important;outline-offset:3px!important;box-shadow:0 0 0 3px #fff!important}
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{color:#152e4b!important;background:#fff!important;border-color:#64748b!important;min-height:44px;font-size:1rem;max-width:100%;box-sizing:border-box}
body input::placeholder,body textarea::placeholder{color:#526174!important;opacity:1}
body select option{color:#152e4b!important;background:#fff!important}
body input:disabled,body select:disabled,body textarea:disabled{background:#e2e8f0!important;color:#475569!important;opacity:1!important}
body .panel,body .vision-card,body .card,body .s360-document{color:#152e4b}
body .muted,body .basis{color:#475569!important}
#s360-vision-sidebar .muted,#s360-vision-sidebar .sidebar-note{color:#e2e8f0!important}
body .error,body [role=alert]{color:#9b1c1c!important;background:#fff1f0}
body [aria-invalid=true]{border:2px solid #b42318!important}
body .success{color:#166534!important;background:#f0fdf4}
body table th{background:#eaf2fb!important;color:#152e4b!important}
body table td{color:#152e4b}body .table-wrap{overflow-x:auto;max-width:100%}
body .disabled-reason{color:#475569;font-size:.875rem;line-height:1.5}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

html.authenticated body :is(button,.btn,.vision-btn):disabled,html.authenticated body fieldset:disabled :is(button,.btn,.vision-btn){background:#e2e8f0!important;color:#475569!important;border-color:#64748b!important;opacity:1!important}

html.authenticated body :is(button,.btn,.vision-btn)[aria-busy=true]{background:#254d74!important;color:#fff!important;border-color:#12344f!important;cursor:wait!important}
/* Wrapping also works when browser zoom reduces the available inline space. */
body .product-header{flex-wrap:wrap;max-width:100%;gap:12px}
body .product-header>*{min-width:0;max-width:100%}
body .product-header #identity{overflow-wrap:anywhere;margin-inline-start:auto}
body .language-control{flex-wrap:wrap;min-width:0}
body .language-control select{min-width:0}
body .product-title,body .business-heading{flex-wrap:wrap;min-width:0}
body .business-heading h1{overflow-wrap:anywhere;min-width:0}
body .product-main,body #module-root{min-width:0}
body .commerce-nav button[aria-current=page]{box-shadow:inset 0 -4px 0 #fff;text-decoration:underline;text-underline-offset:4px}
/* Exported documents must not inherit the application shell's header offsets or pale text. */
html.authenticated body .s360-document :is(header,footer){margin:0!important;position:static!important;width:auto!important;min-height:0!important;box-shadow:none!important;background:#fff!important}
body .s360-document :is(p,div,span,strong,h1,h2,h3,td,th){color:#152e4b!important;opacity:1!important}
body .s360-document footer{color:#475569!important}
body .card small{color:#475569!important}
body .layout>aside button{border-color:#b5d8fa!important}
body .layout>aside button.active{background:#fff!important;color:#07549e!important;border-color:#07549e!important}
body .badge.Void{color:#475569!important}
html.authenticated body .rental-product #s360-vision-content :is(input,select,textarea){border-color:#64748b!important}
html.authenticated body .s360-document header{justify-content:flex-start!important;gap:18px!important}
body .s360-document header>div{flex:1;min-width:0}
body .s360-document header h1{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
html.authenticated body #s360-vision-sidebar button:not(:disabled){background:#07549e!important;color:#fff!important;border-color:#b5d8fa!important}
html.authenticated body #s360-vision-sidebar button.active:not(:disabled){background:#fff!important;color:#07549e!important}
html.authenticated body #s360-vision-sidebar button:not(:disabled):hover{background:#063b73!important;color:#fff!important}
