
@media(max-width:760px){
 html{scroll-behavior:smooth}
 body.mobile-navigation-enabled{padding-bottom:env(safe-area-inset-bottom);overflow-x:hidden}
 body.mobile-navigation-enabled header{padding:15px 14px 13px}
 body.mobile-navigation-enabled header h1{font-size:1.2rem;line-height:1.2;margin:0 0 6px}
 body.mobile-navigation-enabled header p{font-size:.86rem;line-height:1.35;margin:0 0 10px}
 body.mobile-navigation-enabled #stToday,body.mobile-navigation-enabled #st-sec-report,body.mobile-navigation-enabled #archivePanel,body.mobile-navigation-enabled #vehicleRegisterPanel,body.mobile-navigation-enabled #vehiclePhotoReviewPanel,body.mobile-navigation-enabled #subjectRegisterPanel,body.mobile-navigation-enabled #followupPanel,body.mobile-navigation-enabled #insightsPanel,body.mobile-navigation-enabled #externalVehiclePanel,body.mobile-navigation-enabled #linksToolsPanel,body.mobile-navigation-enabled #lawEnforcementQuickAccess,body.mobile-navigation-enabled #researchToolsPanel,body.mobile-navigation-enabled #siteIssueTracker,body.mobile-navigation-enabled #shiftHandoffSummary,body.mobile-navigation-enabled #st-sec-drive{margin:10px 10px 14px!important;scroll-margin-top:12px}
 body.mobile-navigation-enabled #st-sec-report,body.mobile-navigation-enabled #archivePanel,body.mobile-navigation-enabled #vehicleRegisterPanel,body.mobile-navigation-enabled #vehiclePhotoReviewPanel,body.mobile-navigation-enabled #subjectRegisterPanel,body.mobile-navigation-enabled #followupPanel,body.mobile-navigation-enabled #insightsPanel,body.mobile-navigation-enabled #externalVehiclePanel,body.mobile-navigation-enabled #linksToolsPanel,body.mobile-navigation-enabled #lawEnforcementQuickAccess,body.mobile-navigation-enabled #researchToolsPanel,body.mobile-navigation-enabled #siteIssueTracker,body.mobile-navigation-enabled #shiftHandoffSummary,body.mobile-navigation-enabled #st-sec-drive{padding:14px!important;border-radius:16px!important}
 body.mobile-navigation-enabled .dashboard-sections,body.mobile-navigation-enabled [aria-label="Dashboard sections"]{display:none!important}
 body.mobile-navigation-enabled button,body.mobile-navigation-enabled input,body.mobile-navigation-enabled select{min-height:44px;font-size:16px!important}
 body.mobile-navigation-enabled textarea{min-height:108px;font-size:16px!important;line-height:1.5}
 body.mobile-navigation-enabled input,body.mobile-navigation-enabled select,body.mobile-navigation-enabled textarea{max-width:100%;box-sizing:border-box}
 body.mobile-navigation-enabled .grid,body.mobile-navigation-enabled .incident-fields .grid,body.mobile-navigation-enabled #hours .grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body.mobile-navigation-enabled .incident,body.mobile-navigation-enabled .item,body.mobile-navigation-enabled .followup,body.mobile-navigation-enabled .subject-observation-editor{border-radius:13px}
 body.mobile-navigation-enabled details>summary{min-height:46px;display:flex;align-items:center;line-height:1.35;padding:10px 8px}
 body.mobile-navigation-enabled #reportForm>label,body.mobile-navigation-enabled .incident-fields>label{display:block;margin-top:14px;font-weight:650}
 body.mobile-navigation-enabled #reportForm>input,body.mobile-navigation-enabled #reportForm>select,body.mobile-navigation-enabled #reportForm>textarea,body.mobile-navigation-enabled .incident-fields input,body.mobile-navigation-enabled .incident-fields select,body.mobile-navigation-enabled .incident-fields textarea{width:100%}
 body.mobile-navigation-enabled .incident-actions button,body.mobile-navigation-enabled #exhibitPanel button,body.mobile-navigation-enabled #handoffPanel button,body.mobile-navigation-enabled #signActions button{width:100%;margin:5px 0}
  body.mobile-navigation-enabled #stToday{padding:14px!important;border-radius:16px!important}
}
.st-nav{position:sticky;top:0;z-index:1000;display:flex;gap:8px;overflow-x:auto;padding:8px 10px;background:#0b1525;border-bottom:1px solid #3d526a;scrollbar-width:thin}
.st-page-button{flex:0 0 auto;min-height:44px;padding:10px 14px;margin:0;background:#293f5b;border:1px solid #57708c;border-radius:999px;white-space:nowrap}
.st-page-button[aria-current="page"]{background:#1685d0;border-color:#58b9fa;color:#071729}
.st-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.st-chip.ok{border-color:#20bd7a}.st-chip.bad{border-color:#f0a11a}
.st-category-tabs{margin-top:12px}
.st-view-tabs{margin-top:8px}
@media(max-width:760px){.st-nav{top:0;padding:7px 8px}.st-page-button{font-size:.9rem;padding:9px 12px}.st-category-tabs .st-tab{font-size:.88rem;padding:9px 12px}}

.st-tab[aria-selected="true"]{background:var(--acc);color:#04111f;border-color:transparent}

.notice.st-guidance{border:1px solid #34c883;background:rgba(21,128,76,.22);color:#e6fff2;border-radius:12px;padding:14px;line-height:1.5}
.notice.st-guidance[data-state="needs-fix"]{border-color:#f0a11a;background:rgba(180,106,12,.2);color:#fff2d8}
\n/* Keep hidden tab content hidden even when component styles define display values. */\n#st-sec-report [hidden]{display:none!important}\n
/* Direct top menu: keep navigation visible while keeping the report screen clean. */
.st-nav{display:flex;align-items:center;gap:12px;overflow:visible;padding:9px 12px;background:rgba(10,20,34,.96);backdrop-filter:blur(12px)}
.st-menu-toggle{min-height:44px;padding:9px 16px!important;margin:0!important;border:1px solid #61e7a7!important;border-radius:12px!important;background:linear-gradient(135deg,#25bd7a,#12845b)!important;color:#071d12!important;font-weight:800}
.st-current-page{font-size:1rem;color:#f2f7fb}
.st-menu-panel{position:fixed;top:72px;left:12px;right:12px;z-index:1200;max-height:calc(100dvh - 88px);overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;padding:16px;border:1px solid #43ce8a;border-radius:18px;background:#101d2d;box-shadow:0 18px 60px rgba(0,0,0,.55)}
.st-menu-panel[hidden]{display:none!important}
.st-menu-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-bottom:6px}
.st-menu-close{min-height:38px!important;padding:6px 12px!important;margin:0!important;background:#354b63!important;color:#f5f8fb!important}
.st-page-button{min-height:52px!important;padding:12px 14px!important;margin:0!important;border:1px solid #40c783!important;border-radius:12px!important;background:linear-gradient(135deg,#198c5a,#126d4d)!important;color:#f4fff8!important;text-align:left;font-weight:750}
.st-page-button[aria-current=page]{background:linear-gradient(135deg,#37d48c,#1ba66b)!important;color:#071d12!important;box-shadow:0 0 0 2px rgba(89,235,161,.25)}
.st-report-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.st-calendar-weekdays{margin:10px 0 6px;text-align:center;color:var(--muted);font-weight:700}
.st-calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:68px!important;padding:6px!important;margin:0!important;border:1px solid var(--card-b)!important;border-radius:10px!important;background:var(--field)!important;color:var(--text)!important}
.st-calendar-day.has-report{border-color:#24c77a!important;background:rgba(24,143,91,.28)!important}
.st-calendar-check{font-size:1rem;font-weight:900;color:#62eca5;line-height:1}
.st-calendar-date{font-weight:800}
.st-calendar-count{font-size:.66rem;line-height:1.1;color:var(--muted);text-align:center}
.st-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.st-calendar-heading button{min-height:40px!important;padding:7px 12px!important}
.st-calendar-blank{min-height:68px}
@media(max-width:760px){
 .st-nav{top:0}
 .st-menu-panel{top:62px;left:8px;right:8px;grid-template-columns:1fr}
 .st-calendar-day{min-height:54px!important;padding:4px!important}
 .st-calendar-count{font-size:.58rem}
}

/* Green primary actions make save and report paths easy to recognize. */
#quickFireLane,#complete,#recordCorrection,.saveIncident{background:linear-gradient(135deg,#35d48b,#20a96d)!important;color:#071d12!important;border:1px solid #61e7a7!important}
