/* Shared back-office foundations. Dedicated Users/Gallery/Results files follow. */
.portal-authenticated{background:#f6f8f2;color:#25432e}
.portal-authenticated :is(.portal-main,.portal-shell){min-width:0;padding-top:32px}
.portal-authenticated .page-head{max-width:100%;padding-left:0;margin-bottom:22px}.portal-authenticated .page-head:before{display:none}.portal-authenticated .page-head h1{margin:8px 0;font-size:clamp(28px,3.2vw,36px);line-height:1.2;letter-spacing:-.03em}.portal-authenticated .page-head p{margin:7px 0;color:#788570;font-size:13px;line-height:1.7}.portal-authenticated .kicker{font-size:10px;letter-spacing:.13em}
.portal-authenticated .panel,.portal-authenticated .auth-card{margin-bottom:20px;border-color:#dfe7d8;border-radius:13px;background:#fff;box-shadow:0 4px 18px #1b402305}.portal-authenticated .panel:after{display:none}.portal-authenticated .panel h2{font-size:23px;line-height:1.4;letter-spacing:-.02em}.portal-authenticated .panel-title{align-items:center;gap:16px;margin-bottom:15px}.portal-authenticated .panel-title h2{margin:3px 0}.portal-authenticated .panel-title p{margin:5px 0;color:#697b5d;font-size:12px}.portal-authenticated .panel-title>a{font-size:12px;white-space:normal}
.portal-authenticated .cms-form label{min-width:0;text-transform:none;letter-spacing:0;font-size:12px;line-height:1.5}.portal-authenticated .cms-form :is(input,select,textarea){min-width:0;max-width:100%;border-color:#d6e1ce;border-radius:8px;background:#fff;color:#35542c;font-size:13px;box-shadow:none}.portal-authenticated .cms-form :is(input,select){min-height:43px}.portal-authenticated .cms-form input:is([type=checkbox],[type=radio]){min-height:0;accent-color:#668c45}.portal-authenticated .cms-form small,.portal-authenticated .fine-print{font-size:11px;line-height:1.7;color:#6e7f5f;letter-spacing:0;text-transform:none}.portal-authenticated .cms-form p{font-size:12px;line-height:1.7}.portal-authenticated .field-row{gap:15px}.portal-authenticated :is(.portal-main,.portal-shell) button{min-height:40px;border-radius:8px;font-size:12px;letter-spacing:0;text-transform:none}.portal-authenticated :is(.portal-main,.portal-shell) button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}
.portal-authenticated :where(.portal-main,.portal-shell):not(:where(.users-workspace,.gallery-workspace,.results-workspace)) :is(.secondary-action,.admin-action,.lifecycle-action):not(:where(.danger-action)){display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 12px;border:1px solid #d8e3cb!important;border-radius:7px;background:#f8fbf3!important;color:#698d4b!important;box-shadow:none;font-size:11px;letter-spacing:0;text-transform:none;text-decoration:none}.portal-authenticated :is(.portal-main,.portal-shell) :is(.admin-action.active,.admin-action.is-active){border-color:#9cb97b!important;background:#eff6e3!important;color:#456e2b!important}
.portal-authenticated .table-scroll{min-width:0;max-width:100%;border-color:#dfe7d6;border-radius:11px;box-shadow:none}.portal-authenticated .cms-table :is(th,td){padding:13px 12px;text-align:left;vertical-align:top;line-height:1.6;overflow-wrap:anywhere}.portal-authenticated .cms-table th{background:#f0f5e8;color:#7c9364;font-size:10px;letter-spacing:.035em;text-transform:uppercase}.portal-authenticated .cms-table td{border-bottom:1px solid #ecf1e2;font-size:12px}.portal-authenticated .cms-table td small{color:#687b5b;font-size:10px}.portal-authenticated .cms-table tbody tr:nth-child(even){background:#fcfdf9}.portal-authenticated .cms-table tr:hover{background:#f6faef}.portal-authenticated .cms-table :is(a,button){overflow-wrap:anywhere}.portal-authenticated .cms-table form{min-width:0}.portal-authenticated .cms-table td:empty:after{content:'—';color:#a1ae8a}
.portal-authenticated .report-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:12px;margin:20px 0}.portal-authenticated .report-kpis>*{min-width:0;min-height:115px;padding:17px;border-color:#e0e8d8;border-radius:12px;box-shadow:none}.portal-authenticated .report-kpis strong{font-size:29px}.portal-authenticated .report-kpis :is(span,small){font-size:11px;line-height:1.6}.portal-authenticated .analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}.portal-authenticated .analytics-metrics :is(a,article){min-width:0;box-shadow:none;border-color:#e0e8d7;border-radius:12px}.portal-authenticated .analytics-metrics strong{font-size:28px}.portal-authenticated .dashboard-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}.portal-authenticated .dashboard-kpi{min-width:0;box-shadow:none;border-color:#e0e8d7;border-radius:12px}.portal-authenticated .dashboard-kpi>strong{font-size:30px}
.portal-authenticated .settings-workspace-tabs>a{border:1px solid #dee7d4;background:#fff;color:#577a42;box-shadow:none;border-radius:11px;min-height:72px}.portal-authenticated .settings-workspace-tabs>a.active{border-color:#a0bc82;background:#f1f6e8;color:#496f32;box-shadow:inset 3px 0 #73934d}.portal-authenticated .settings-workspace-tabs>a>span{background:#eef4e4;color:#86a562}.portal-authenticated .settings-workspace-tabs>a>small{color:#6b8057}.portal-authenticated .settings-workspace-tabs>a>b{font-size:14px}
.portal-authenticated .portal-alert{padding:14px 16px;border:1px solid #e7ddb8;border-left:3px solid #cbb15f;border-radius:8px;background:#fdf9e8;color:#8b7c4b;font-size:12px;line-height:1.7}.portal-authenticated .portal-inbox>a{padding:16px;border-color:#e0e8d4;border-radius:10px}.portal-authenticated .portal-inbox b{font-size:13px}.portal-authenticated .portal-inbox span{font-size:12px}.portal-authenticated :is(.cms-form,.public-results-search,.report-filters) :is(input,select,textarea):focus-visible,.portal-authenticated .table-scroll:focus-visible{outline:3px solid #c8dca5;outline-offset:2px}.portal-authenticated .portal-footer{padding:22px 28px;border-top-width:3px;font-size:11px;line-height:1.8}
.bo-nav-search{display:grid;gap:7px;padding:0 10px 10px}.bo-nav-search>span{color:#b5c6a8;font-size:10px;font-weight:600}.bo-nav-search input{width:100%;min-height:37px;padding:9px 10px;border:1px solid #3b5a3f;border-radius:8px;background:#173c24;color:#edf3e6;font-size:12px}.bo-nav-search input::placeholder{color:#9eb293}.bo-nav-empty{margin:8px 12px;color:#c1d0b4;font-size:12px}.portal-sidebar-main [hidden]{display:none!important}.portal-sidebar-main>a.active,.portal-sidebar .cms-tabs a.active{border-color:transparent!important;background:#eaf2d8!important;color:#284a24!important;box-shadow:inset 3px 0 #e3cc57}.portal-sidebar .cms-tabs a[href$="/portal/review"]{display:none!important}.portal-sidebar-main :is(a,input):focus-visible{outline:2px solid #e1d181;outline-offset:2px}.portal-sidebar .cms-tabs a:hover,.portal-sidebar-main>a:hover{transform:none}
@media(max-width:1200px){.portal-authenticated .dashboard-layout,.portal-authenticated .report-dashboard-grid{grid-template-columns:1fr}.portal-authenticated .field-row{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-authenticated .panel-title{align-items:flex-start;flex-wrap:wrap}.portal-authenticated .report-layout{grid-template-columns:1fr}.portal-authenticated .report-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}}
@media(max-width:760px){.portal-authenticated :is(.portal-main,.portal-shell){padding:25px 12px 45px}.portal-authenticated .panel{padding:17px 15px}.portal-authenticated .panel h2{font-size:21px}.portal-authenticated .page-head h1{font-size:29px}.portal-authenticated .page-head p{font-size:12px}.portal-authenticated .field-row{grid-template-columns:1fr}.portal-authenticated .cms-form :is(input,select,textarea){font-size:16px}.portal-authenticated :is(.portal-main,.portal-shell) button{min-height:44px}.portal-authenticated .table-scroll{overflow:visible}.portal-authenticated .cms-table td{padding:11px 0;font-size:12px}.portal-authenticated .cms-table td:before{font-size:9px;letter-spacing:.025em;color:#6d805c}.portal-authenticated .cms-table td>*{min-width:0;max-width:100%}.portal-authenticated .cms-table td:empty:after{content:'—'}.portal-authenticated .report-kpis,.portal-authenticated .analytics-metrics,.portal-authenticated .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-authenticated .dashboard-kpi{padding:15px}.portal-authenticated .report-kpis>*{padding:14px;min-height:110px}.portal-authenticated .report-kpis strong{font-size:26px}.portal-authenticated .panel-title{flex-direction:column;align-items:stretch;gap:10px}.portal-authenticated .panel-title>a{align-self:flex-start}.portal-authenticated .public-results-search label{min-width:0;width:100%;flex-basis:100%}.portal-authenticated .public-results-search :is(input,select){font-size:16px}.portal-authenticated .portal-footer{padding:20px 14px;font-size:11px}.bo-nav-search input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.portal-authenticated .portal-reveal{opacity:1;transform:none}.portal-authenticated *{scroll-behavior:auto}}

.bo-scroll-hint{margin:10px 0 6px;color:#6d8258;font-size:11px;text-align:right}.bo-scroll-hint[hidden]{display:none!important}
.portal-account-trigger>b{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Phone comfort: preserve every field, increase reading size and tap areas. */
@media(max-width:900px){
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table{display:block;min-width:0!important;width:100%;table-layout:auto}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table colgroup,body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table thead{display:none}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table tbody{display:grid;gap:14px}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table tr{display:block;padding:9px 15px;border:1px solid #dfe7d5;border-radius:12px;background:#fff!important}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:12px 0;max-width:none!important;min-width:0;border-bottom:1px solid #edf1e6}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td:before{content:attr(data-label);font-weight:700;text-transform:uppercase;overflow-wrap:anywhere}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td>*{grid-column:2;min-width:0;max-width:100%}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td:last-child{border-bottom:0}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td[colspan]{display:block}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td[colspan]:before{display:none}
 .portal-authenticated .table-scroll{overflow:visible;border:0;background:none}
 .portal-authenticated .users-filter-grid,.portal-authenticated .rw-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .portal-authenticated :is(.portal-main,.portal-shell){font-size:15px;line-height:1.65}
 .portal-authenticated :is(.portal-main,.portal-shell) .cms-form label{font-size:14px;line-height:1.6}
 .portal-authenticated :is(.portal-main,.portal-shell) .cms-form :is(input,select,textarea),.portal-authenticated :is(.portal-main,.portal-shell) :is(.public-results-search,.report-filters) :is(input,select){font-size:16px}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td{font-size:14px;line-height:1.65}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td:before{font-size:11px;letter-spacing:.02em;line-height:1.6}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td small{font-size:12px;line-height:1.6}
 .portal-authenticated :is(.portal-main,.portal-shell) :is(.station-status,.user-role,.user-status,.rw-status){font-size:12px}
 .portal-authenticated :is(.portal-main,.portal-shell) :is(.user-contact,.rw-station-name,.rw-person>b,.rw-contact b,.user-station,.user-access-summary){font-size:14px;line-height:1.6}
 .portal-authenticated :is(.portal-main,.portal-shell) :is(button,details>summary,.admin-action,.ga-button,.ga-card-edit,.user-edit,.users-reset,.rw-button,.rw-evidence,.rw-status-filters a,.aa-metric-filters a,.users-pagination a,.ga-pagination a,.rw-pagination a,.aa-pagination a){min-height:44px!important;min-width:44px}
 .portal-authenticated :is(.portal-main,.portal-shell) :is(.user-contact,.station-agent-contact a,.rw-person a,.ga-text-link){display:inline-block;min-height:44px;padding-block:9px;font-size:13px;line-height:1.7;max-width:100%;overflow-wrap:anywhere}
 .portal-authenticated :is(.portal-main,.portal-shell) :is(.report-kpis,.analytics-metrics) :is(span,small){font-size:12px}
 .portal-authenticated :is(.portal-main,.portal-shell) .fine-print{font-size:12px}
 .portal-authenticated .portal-header .portal-sidebar-toggle,.portal-authenticated .portal-sidebar button{min-width:44px!important;min-height:44px!important}
 .portal-authenticated .portal-sidebar-main a{min-height:44px}
 .portal-authenticated .bo-nav-search input{min-height:44px;font-size:16px}
 .portal-authenticated .station-table{display:block;width:100%;min-width:0!important}
 .portal-authenticated .station-table thead{display:none}
 .portal-authenticated .station-table tbody{display:grid;gap:12px}
 .portal-authenticated .station-table tr{display:block;padding:9px 14px;border:1px solid #dce5d2;border-radius:11px;background:#fff}
 .portal-authenticated .station-table td,.portal-authenticated .station-table td:nth-child(2){display:grid;grid-template-columns:95px minmax(0,1fr);gap:10px;padding:11px 0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
 .portal-authenticated .station-table td:before{content:attr(data-label);font-size:11px;font-weight:700;color:#6b8058;text-transform:uppercase;letter-spacing:.02em}
 .portal-authenticated .station-table td:last-child{border-bottom:0}
 .portal-authenticated .station-table code{white-space:normal;overflow-wrap:anywhere;font-size:12px}
 body.portal-authenticated :is(.portal-main,.portal-shell) .data-registry .table-scroll{overflow:visible!important;border:0!important;background:none}
 body.portal-authenticated :is(.portal-main,.portal-shell) .registry-preview{display:block!important;min-width:0!important;width:100%}
 body.portal-authenticated :is(.portal-main,.portal-shell) .registry-preview thead{display:none!important}
 body.portal-authenticated :is(.portal-main,.portal-shell) .registry-preview tbody{display:grid!important;gap:12px}
 body.portal-authenticated :is(.portal-main,.portal-shell) .registry-preview tr{display:block!important;padding:9px 14px!important;border:1px solid #dfe7d5!important;box-shadow:none!important}
 body.portal-authenticated :is(.portal-main,.portal-shell) .registry-preview td{display:grid!important;padding:12px 0!important}
 body.portal-authenticated :is(.portal-main,.portal-shell) .registry-preview td:before{display:block!important}
}
@media(max-width:360px){
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td{grid-template-columns:1fr;gap:5px}
 body.portal-authenticated :is(.portal-main,.portal-shell) .cms-table td>*{grid-column:1}
 .portal-authenticated .station-table td,.portal-authenticated .station-table td:nth-child(2){grid-template-columns:1fr;gap:5px}
}
.agenda-photo-editor{margin-top:16px;padding:16px;border:1px solid #dce6d8;border-radius:12px;min-width:0}.agenda-photo-editor summary{font-weight:700;cursor:pointer;padding:8px 0}.agenda-photo-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:18px}.agenda-photo-field{display:grid;gap:12px;padding:14px;border:1px solid #dce6d8;border-radius:10px;min-width:0}.agenda-photo-field img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eef2e9;border-radius:8px}.agenda-photo-editor input[type=file]{max-width:100%;box-sizing:border-box}.agenda-photo-editor .cms-form{margin-top:16px}
.agenda-photo-field label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;min-height:44px}.agenda-photo-field input[type=checkbox]{display:inline-block;flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;padding:0;accent-color:#185135}
.deletion-preview{margin:18px 0;padding:18px;border:1px solid #e6c8b7;border-left:4px solid #b74f2f;border-radius:12px;background:#fff9f5;min-width:0}.deletion-preview-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:14px;color:#883d29}.deletion-preview-heading small{font-size:.73rem;color:#7a675d}.deletion-preview-item{display:flex;gap:16px;align-items:flex-start;min-width:0}.deletion-preview-item+.deletion-preview-item{margin-top:16px;padding-top:16px;border-top:1px solid #eadbd2}.deletion-preview-image{flex:0 0 144px;display:block;max-width:100%}.deletion-preview-image img{display:block;width:144px;max-width:100%;height:100px;object-fit:contain;background:#efece4;border-radius:8px}.deletion-preview-item>div{min-width:0;overflow-wrap:anywhere;flex:1}.deletion-preview-kind{font-size:.72rem;font-weight:800;color:#85614f}.deletion-preview h3{margin:5px 0;font-size:1.1rem;line-height:1.4;color:#3b332f;letter-spacing:0}.deletion-preview p{margin:7px 0;font-size:.85rem;line-height:1.6;color:#64594f}.deletion-preview-item small{font-size:.72rem;color:#796b61}.deletion-preview .deletion-preview-impact{color:#7c3524;font-weight:700}.deletion-preview-item a:not(.deletion-preview-image){display:inline-block;margin-top:6px;font-size:.8rem;font-weight:700;text-decoration:underline;min-height:30px}.deletion-preview-changed{margin-top:16px;padding:14px;border:1px solid #dcb55f;border-radius:8px;background:#fff4cf;color:#754c0e}.deletion-preview-changed p{color:#754c0e}.approval-card{min-width:0}.approval-card h2{overflow-wrap:anywhere}@media(max-width:600px){.deletion-preview{padding:14px}.deletion-preview-item{flex-direction:column;gap:10px}.deletion-preview-image{flex:auto}.deletion-preview-image img{width:180px;height:120px}}
