/* Shared light/dark control. Existing typography and component geometry are retained. */
.theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:none;padding:0!important;border:1px solid #9aaa9d;border-radius:50%;background:transparent;color:#113e40;cursor:pointer;line-height:1;box-shadow:none;vertical-align:middle}
.theme-toggle svg{display:block;width:21px;height:21px;pointer-events:none}
.theme-toggle .theme-sun{display:none}
.theme-toggle:hover{background:#e6edde;border-color:#52745f}
.theme-toggle:focus-visible{outline:3px solid #368152;outline-offset:4px}
.theme-header-controls{display:flex;align-items:center;gap:12px;flex:none;margin-left:auto}
.public-header>.brand{margin-right:auto}
.public-header .theme-header-controls{margin-left:0}
.public-header{gap:20px}
.app-header-actions{gap:16px}
.theme-fallback-controls{display:flex;justify-content:flex-end;align-items:center;margin:12px 0}
.theme-standalone-controls{display:flex;justify-content:flex-end;padding:16px 24px}
@media(max-width:1050px) and (min-width:681px){.public-header nav{gap:16px}.public-header .login-link{margin-left:0}.public-header{gap:16px}}
@media(max-width:680px){.theme-header-controls{gap:10px}.public-header{gap:10px}.app-header-actions{gap:10px}.app-header .breadcrumb{min-width:0;flex-wrap:wrap;gap:4px 8px}.theme-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}}
@media screen{
 html[data-theme="dark"]{color-scheme:dark;background:#101816}
 html[data-theme="dark"] body{background:#101816;color:#f2f0e7}
 html[data-theme="dark"] ::selection{background:#b5d6a7;color:#101816}
 html[data-theme="dark"] .theme-toggle{background:#17221e;color:#dce9d6;border-color:#617c69}
 html[data-theme="dark"] .theme-toggle:hover{background:#273d31;border-color:#b5d6a7}
 html[data-theme="dark"] .theme-toggle:focus-visible{outline-color:#b5d6a7}
 html[data-theme="dark"] .theme-toggle .theme-moon{display:none}
 html[data-theme="dark"] .theme-toggle .theme-sun{display:block}
 html[data-theme="dark"] :where(input,textarea,select){color-scheme:dark}
 html[data-theme="dark"] :where(input,textarea)::placeholder{color:#aebfb4;opacity:1}
 html[data-theme="dark"] :where(input,textarea):autofill{box-shadow:inset 0 0 0 1000px #1b2a23;color:#f2f0e7}
 html[data-theme="dark"] :where(input,textarea):-webkit-autofill{-webkit-text-fill-color:#f2f0e7;box-shadow:inset 0 0 0 1000px #1b2a23}
 html[data-theme="dark"] :where(progress,input[type="checkbox"],input[type="radio"]){accent-color:#b5d6a7}
 html[data-theme="dark"] :where(dialog)::backdrop{background:rgba(0,0,0,.7)}
 html[data-theme="dark"] :where(.account-avatar,.original-mini){background:#f5f1e8}
 html[data-theme="dark"] :where(.brand-four,.brand-name,.commerce-brand){color:#e8eedf}
 html[data-theme="dark"] :where(.brand-four>span){color:#9ed3a4}
 /* Disabled controls remain distinguishable without turning interactive. */
 html[data-theme="dark"] :where(button:disabled,input:disabled,select:disabled){cursor:not-allowed}
 html[data-theme="dark"] .justice-shell{background:transparent}
 html[data-theme="dark"] .justice-poster{content:url("justitia-dark.png")}
}
@media print{.theme-toggle,.theme-header-controls,.theme-fallback-controls,.theme-standalone-controls{display:none!important}}
