/* Shared visibility and interaction improvements for public and staff workspaces. */
body:not(.portal-authenticated) .auth-card :is(input,select,textarea){min-height:48px;border-color:#668573;font-size:16px}
body:not(.portal-authenticated) .auth-card button{min-height:48px;font-size:16px;letter-spacing:0;text-transform:none;background:#175332;color:#fff}
body:not(.portal-authenticated) .auth-card label{font-size:15px;color:#203e2b}
body .auth-card .password-control .password-toggle{min-height:44px!important;min-width:64px!important;font-size:13px!important}
:root{--action-green:#175332;--action-green-hover:#0b3e24;--action-red:#a52b2b;--action-border:#668573;--action-text:#203e2b;--action-muted:#485e50}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #17623d!important;outline-offset:3px;box-shadow:0 0 0 6px #fff!important}
:where(button,[role=button],a.button,summary){touch-action:manipulation}
body.portal-authenticated :is(.portal-main,.portal-shell) :is(button,.admin-action,.secondary-action,.user-edit,.lifecycle-action){min-height:44px!important;padding:10px 15px!important;border:1px solid var(--action-green)!important;border-radius:9px!important;background:var(--action-green)!important;background-image:none!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 4px #183e2012}
body.portal-authenticated :is(.portal-main,.portal-shell) :is(button,.admin-action,.user-edit):hover:not(:disabled){background:var(--action-green-hover)!important;border-color:var(--action-green-hover)!important;color:#fff!important}
body.portal-authenticated :is(.portal-main,.portal-shell) :is(.secondary-action,.secondary,.admin-action.secondary,.lifecycle-action,.user-edit,button[type=reset]){background:#fff!important;background-image:none!important;color:#17482d!important;border-color:#376f50!important;box-shadow:none}
body.portal-authenticated :is(.portal-main,.portal-shell) :is(.secondary-action,.secondary,.user-edit,.lifecycle-action,button[type=reset]):hover{background:#eaf4ed!important;color:#103e25!important;border-color:#235b39!important}
body.portal-authenticated :is(.portal-main,.portal-shell) :is(.danger-action,button[value=REJECTED],button[value=reject]){background:var(--action-red)!important;background-image:none!important;color:#fff!important;border-color:var(--action-red)!important}
body.portal-authenticated :is(.portal-main,.portal-shell) :is(.danger-action,button[value=REJECTED],button[value=reject]):hover:not(:disabled){background:#7e1e1e!important;border-color:#7e1e1e!important;color:#fff!important}
body.portal-authenticated :is(.portal-main,.portal-shell) button:disabled{background:#e7ece8!important;color:#58695e!important;border-color:#b7c4bb!important;opacity:1!important;cursor:not-allowed;box-shadow:none}
body.portal-authenticated :is(.page-head p,.panel-title p,.fine-print,.cms-form small,.field-guidance,.field-error,.coord-record-meta,.coord-metrics small,.staffing-metrics span){font-size:13px!important;line-height:1.65!important;color:var(--action-muted)}
body.portal-authenticated :is(.cms-form,.coord-filters,.notification-filters,.report-filters) label{font-size:14px!important;line-height:1.5!important;font-weight:650;color:var(--action-text)}
body.portal-authenticated main :is(input,select,textarea):not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]):not([type=color]){min-height:46px;border:1px solid var(--action-border)!important;background:#fff;color:#203e2b!important;border-radius:8px;font-size:16px!important;padding:10px 12px;max-width:100%;min-width:0}
body.portal-authenticated main :is(input,textarea)::placeholder{color:#65776b;opacity:1}
body.portal-authenticated .cms-table th{font-size:12px!important;color:#294f37!important;background:#edf4ed!important;letter-spacing:.02em!important}
body.portal-authenticated .cms-table td{font-size:14px!important;line-height:1.6!important;color:#263f2e}
body.portal-authenticated .cms-table td small{font-size:12px!important;color:#4a6050!important}
body.portal-authenticated main :is(p,li,td,.panel-title,.fine-print) a:not([class]){color:#145631;font-weight:650;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.portal-authenticated :is(.coord-pagination,.notification-tabs) a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid #6d8e77;border-radius:8px}
body.portal-authenticated .notification-tabs a[aria-current=page]{color:#fff!important;background:#174f32}
body.portal-authenticated main details>summary{min-height:44px;padding-block:10px;line-height:1.5;font-size:14px;color:#244f34}
body.portal-authenticated .portal-alert{font-size:14px;line-height:1.65;color:#3e481f;border-color:#baab67;background:#fff9df}
body.portal-authenticated .coord-error,body.portal-authenticated .portal-alert[role=alert]{background:#fff0ed;border-color:#b54b3c;color:#842b23}
.designation-workspace .coord-record h2{font-size:21px!important}.designation-status-form{margin-top:18px}.designation-workspace .coord-filters input{width:100%}.coord-retired{background:#e9edf0;color:#374e5b}
body[data-public-page] .button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;font-weight:750;font-size:15px;line-height:1.4;letter-spacing:0;white-space:normal;text-align:center}
body[data-public-page] .button:not(.button-dark):not(.button-light){background:#f0ce48;color:#173421;border-color:#d7b22c}
body[data-public-page] .button-dark{background:#174f35;color:#fff;border-color:#174f35}
body[data-public-page] .button-light{background:#fff;color:#174f35;border:1px solid #47775a}
body[data-public-page] form :is(input,select,textarea):not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]){min-height:46px;border-color:#6c8977;color:#203e2b}
body[data-public-page] form :is(label,.field-guidance){line-height:1.55}
body[data-public-page] form button[type=submit]{min-height:48px;font-size:15px;font-weight:750}
@media(max-width:760px){body.portal-authenticated main :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){font-size:16px!important}body.portal-authenticated .coord-button-row{gap:12px}body.portal-authenticated :is(.coord-pagination,.notification-tabs){gap:10px;flex-wrap:wrap}.designation-workspace .coord-filters label{min-width:0;flex-basis:100%}.designation-workspace .coord-record-grid{grid-template-columns:1fr}body[data-public-page] form :is(input,select,textarea){font-size:16px!important}}
@media(prefers-reduced-motion:reduce){:where(button,a,input,select,textarea){transition:none!important}html{scroll-behavior:auto}}

/* Navigation on dark panels keeps its own high-contrast treatment. */
body.portal-authenticated .coord-hero nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-color:#a3c8b5;background:#0b4833;color:#fff;font-size:14px;font-weight:700;text-decoration:none}
body.portal-authenticated .coord-hero nav a:hover{background:#fff;color:#17482d;border-color:#fff}
body.portal-authenticated .coord-hero nav a:focus-visible{outline-color:#f4d54e!important}
.staffing-conflicts ul{padding-left:22px}.staffing-conflicts li{margin:8px 0}
body.portal-authenticated :is(.rw-stat span,.rw-stat small,.aa-metric-filters a>b,.users-workspace-tabs small,.users-summary small,.settings-workspace-tabs small,.gallery-workspace summary small,.ga-editor-expand,.ga-edit-preview span){color:#3e5b43!important}
body.portal-authenticated main :is(.rw-evidence,.ga-card-edit,.ga-back,.rw-search-row>a){color:#17482d!important}
body.portal-authenticated main :is(.cms-form,.coord-filters) a:not([class]){color:#145631;text-decoration:underline;text-underline-offset:3px}
body.portal-authenticated .gallery-delete-disclosure summary{color:#922c26!important}
body.portal-authenticated .ga-photo-number{background:#173f2c;color:#fff;padding:5px 8px;border-radius:6px}
body[data-public-page] .announcement-bar{background:#0d4b2f}
body[data-public-page] .footer-message{background:#f0ce48;background-image:none;color:#173421}
body[data-public-page] .text-link.light{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #a3c8b5;border-radius:8px;background:#0b4833;color:#fff;text-decoration:underline;text-underline-offset:3px}
body[data-public-page] .text-link.light:hover{background:#fff;color:#17482d}

body.portal-authenticated .rw-pagination a{color:#17482d!important}
