/* Pending controls reserve their space without showing unverified defaults. */
[data-h6-initializing]{visibility:hidden!important;pointer-events:none!important}
.h6-menu-placeholder{display:inline-block;vertical-align:middle;width:84px;height:40px;border:1px solid #b9cbd5;border-radius:10px;background:#fff;box-sizing:border-box}
.h6-login:is(button){font:inherit;cursor:pointer}
/* Staff controls deliberately stay independent of public-page design edits. */
[data-h6-staff]{position:relative;flex-shrink:0;font-family:ui-sans-serif,system-ui,sans-serif;line-height:1.4;font-size:14px;color:#173344}
.h6-login,.h6-staff-menu>summary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #b9cbd5;border-radius:10px;background:#fff;color:#173344;text-decoration:none;font:inherit;font-weight:650;cursor:pointer;list-style:none;box-sizing:border-box}
.h6-staff-menu>summary::-webkit-details-marker{display:none}.h6-staff-menu>summary{gap:8px;white-space:nowrap}.h6-staff-chevron{display:block;width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.h6-staff-menu[open] .h6-staff-chevron{transform:rotate(180deg)}
.h6-staff-links{position:absolute;z-index:1000;right:0;top:calc(100% + 8px);width:250px;max-width:calc(100vw - 32px);padding:8px;border:1px solid #cbd8df;border-radius:12px;box-shadow:0 8px 24px #132c3b25;background:#fff;color:#173344}
.h6-staff-links a,.h6-staff-links button{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:transparent;font:inherit;color:#173344;text-decoration:none;padding:11px 12px;cursor:pointer;box-sizing:border-box}.h6-staff-links a:hover,.h6-staff-links button:hover{background:#edf4f8}.h6-staff-caption{display:block;padding:8px 12px;color:#536b7a;font-size:12px;border-bottom:1px solid #e2eaf0;margin-bottom:4px}.h6-staff-links button{border-top:1px solid #e2eaf0;margin-top:5px}
.h6-staff-message{position:fixed;right:16px;bottom:16px;z-index:2000;max-width:min(480px,calc(100vw - 32px));background:#fff;color:#173344;padding:16px;border:1px solid #bdcdd7;border-radius:12px;box-shadow:0 8px 24px #132c3b25;font:14px/1.5 system-ui}
.staff-page{margin:0;background:#f2f6f8;color:#173344;font:15px/1.55 ui-sans-serif,system-ui,sans-serif}.staff-page *{box-sizing:border-box}.staff-page [hidden]{display:none!important}.staff-page a:not(.staff-button){color:#205f86}.staff-shell{width:min(1100px,calc(100% - 40px));margin:auto}.staff-header{background:#fff;border-bottom:1px solid #d2dfe6}.staff-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}.staff-brand{display:flex;align-items:center;gap:10px;color:#173344!important;text-decoration:none;font-weight:750}.staff-brand img{height:34px;width:34px;object-fit:contain}.staff-page main{padding-top:35px;padding-bottom:55px}.staff-narrow{max-width:480px}.staff-page h1{font-size:clamp(24px,4vw,32px);line-height:1.2;margin:0 0 12px;letter-spacing:-.5px}.staff-page h2{font-size:19px;line-height:1.3;margin:0 0 15px}.staff-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;font-weight:750;margin:0 0 8px;color:#617b8c}.staff-muted{color:#597181;font-size:14px}.staff-card{background:#fff;border:1px solid #d2dfe6;border-radius:14px;padding:24px;margin:20px 0}.staff-stack{display:grid;gap:16px}.staff-page label{display:grid;gap:6px;font-size:14px;font-weight:650}.staff-page input,.staff-page select{width:100%;min-width:0;min-height:44px;border:1px solid #bacdd9;background:white;border-radius:8px;color:#173344;padding:10px 12px;font:inherit;font-weight:400}.staff-page input:focus,.staff-page select:focus{outline:3px solid #c6e5f6;outline-offset:1px}.staff-button{min-height:44px;border:1px solid #205f86;background:#205f86;color:white;border-radius:9px;padding:10px 16px;font:inherit;font-weight:650;cursor:pointer;white-space:normal}.staff-button.secondary{background:white;color:#205f86;border-color:#bcced9}.staff-button.danger{background:white;border-color:#b85353;color:#a13434}.staff-button:disabled{opacity:.55;cursor:wait}.staff-status{padding:13px 16px;border:1px solid #bdd7e6;background:#edf7fd;border-radius:9px;overflow-wrap:anywhere}.staff-status.error{background:#fff2f1;border-color:#e7bebb;color:#993d36}.staff-status.success{background:#edf8f2;border-color:#b6dbc8;color:#246044}.staff-columns{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,2fr);gap:24px}.staff-columns .staff-card{margin-top:0}.staff-confirm{display:grid;grid-template-columns:minmax(240px,400px) 1fr;gap:24px;align-items:end}.staff-copy,.staff-inline{display:flex;gap:12px;align-items:end}.staff-copy input{flex:1}.staff-inline label{min-width:180px}.staff-page main details{border-top:1px solid #e0e9ee;padding:15px 0}.staff-page main summary{font-weight:700;cursor:pointer;overflow-wrap:anywhere}.staff-page main details form{padding-top:18px}.staff-account-meta{display:block;font-weight:400;font-size:13px;color:#657d8b;margin-top:4px}.staff-check{display:flex!important;align-items:center;gap:10px!important;font-weight:400!important;padding:7px 0}.staff-check input{width:18px;min-height:18px;height:18px;flex-shrink:0}.staff-page fieldset{border:1px solid #d2dfe6;border-radius:10px;margin:0;padding:12px 16px}.staff-page legend{font-weight:650;font-size:14px}.staff-form-actions{display:flex;flex-wrap:wrap;gap:10px}.staff-audit-event{border-top:1px solid #e0e9ee;padding:16px 0;overflow-wrap:anywhere}.staff-audit-event:first-child{margin-top:16px}.staff-audit-event p{margin:4px 0}.staff-audit-event pre{font:13px/1.6 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7f9;padding:14px;border-radius:8px;max-height:400px;overflow:auto}.staff-skip{position:fixed;top:-60px;left:12px;z-index:3000;padding:12px;background:#fff}.staff-skip:focus{top:12px}
@media(max-width:880px){.site-header .header-inner{gap:10px}.site-header .brand-name{font-size:16px}[data-h6-staff] .h6-login,[data-h6-staff] summary{padding:8px 10px;font-size:13px}.site-header .menu-toggle{margin-left:auto}.site-header .primary-nav{z-index:200}.staff-columns{grid-template-columns:1fr}.staff-confirm{grid-template-columns:1fr;gap:4px}}
@media(max-width:480px){.staff-shell{width:calc(100% - 28px)}.staff-card{padding:18px}.staff-page main{padding-top:26px}.staff-copy,.staff-inline{flex-direction:column;align-items:stretch}.staff-inline label{min-width:0}.site-header .header-inner{flex-wrap:wrap}.site-header .brand{gap:7px}.site-header .brand-name{font-size:14px}.site-header .brand-mark{width:28px;height:28px}.site-header .menu-toggle{padding:8px 10px;font-size:13px}.h6-staff-links{width:235px}.h6-staff-menu summary{max-width:120px;overflow-wrap:anywhere}}

@media(max-width:480px){.dvic-page .resources-link{font-size:12px;margin-left:auto}.dvic-page .header-inner{gap:8px}.dvic-page .brand-name{font-size:14px}.header-inner:has([data-h6-staff]){flex-wrap:wrap}}

.staff-page main .staff-audit-event details{border:0;padding:0}.staff-audit-event summary{list-style:none;position:relative;padding-left:22px}.staff-audit-event summary::-webkit-details-marker{display:none}.staff-audit-event summary::before{content:"";position:absolute;left:2px;top:8px;width:7px;height:7px;border-right:2px solid #597181;border-bottom:2px solid #597181;transform:rotate(-45deg)}.staff-audit-event details[open]>summary::before{transform:rotate(45deg)}.staff-audit-event summary p{font-weight:400}.staff-audit-event summary:focus-visible{outline:3px solid #c6e5f6;outline-offset:5px}
.staff-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.staff-filters label{flex:1;min-width:155px}.staff-filters .staff-search{flex:2;min-width:240px}.staff-date-range{display:flex;gap:14px;flex-basis:100%}.staff-table-wrap{overflow-x:auto}.staff-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.staff-table th,.staff-table td{padding:14px 10px;border-bottom:1px solid #e0e9ee;vertical-align:top}.staff-table th{color:#597181;font-size:12px;font-weight:650}.staff-table small{display:block;margin-top:5px;color:#597181;font-size:12px;overflow-wrap:anywhere}.staff-table td{overflow-wrap:anywhere}.staff-pagination{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:20px}.staff-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.staff-dialog{width:min(740px,calc(100% - 28px));max-height:85vh;overflow:auto;border:1px solid #d2dfe6;border-radius:14px;padding:24px;color:#173344}.staff-dialog::backdrop{background:#132c3b99}.staff-dialog-heading{display:flex;gap:16px;justify-content:space-between;align-items:center}.staff-dialog-heading h2{margin:0}.staff-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin-top:24px}.staff-record .wide{grid-column:1/-1}.staff-record dt{font-size:13px;font-weight:650;color:#597181}.staff-record dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:560px){.staff-filters label,.staff-filters .staff-search{flex-basis:100%;min-width:0}.staff-date-range{flex-direction:column;width:100%}.staff-record{grid-template-columns:1fr}.staff-dialog{padding:18px}.staff-table{min-width:650px}}
.staff-page textarea{width:100%;min-height:120px;resize:vertical;border:1px solid #bacdd9;border-radius:8px;padding:10px 12px;background:#fff;color:#173344;font:inherit;font-weight:400}.staff-page textarea:focus{outline:3px solid #c6e5f6;outline-offset:1px}.staff-referral-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}.staff-referral-tools .danger{margin-left:auto}.staff-referral-notes{border-top:1px solid #d2dfe6;padding-top:22px;margin-top:24px}.staff-referral-notes p{margin:0}.staff-read-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:20px;background:#eef2f5;color:#597181;font-size:12px;font-weight:650}.staff-read-badge.unread{background:#e4f2fb;color:#205f86}.staff-read-badge.unread::before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}.staff-table tr.unread td:first-child+td{background:#f5faff}.staff-star{display:inline-flex;align-items:center;justify-content:center;width:40px;min-height:40px;border:1px solid transparent;border-radius:8px;background:transparent;color:#597181;font:24px/1 system-ui;cursor:pointer}.staff-star[aria-pressed=true],.staff-star-icon.starred{color:#a96b05}.staff-star:hover{background:#edf4f8;border-color:#bcced9}.staff-star:focus-visible{outline:3px solid #c6e5f6}.staff-star:disabled{opacity:.5;cursor:wait}.staff-star-icon{font-size:24px;line-height:40px;color:#597181}.staff-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.staff-tag{font-size:11px;line-height:1.5;padding:2px 7px;background:#edf4f8;color:#205f86;border-radius:5px;overflow-wrap:anywhere}.staff-note-indicator{font-size:12px;color:#597181;margin-top:7px}.staff-dialog textarea:disabled,.staff-dialog input:disabled{opacity:1;background:#f5f7f9}.staff-dialog label{overflow-wrap:anywhere}
@media(max-width:560px){.staff-referral-tools .danger{margin-left:0}.staff-referral-tools .staff-button{flex:1 1 45%}.staff-table:has(.staff-star){min-width:800px}}
/* Cortex scheduling and case details */
.cortex-tasks{display:grid;gap:1rem;margin:1rem 0}
.cortex-task{padding:1rem;border:1px solid var(--staff-border,#dce2e9);border-radius:.6rem}
.cortex-task-title{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.cortex-task-title h3{margin:0 0 .35rem}.cortex-task-title p{margin:.25rem 0 1rem}
.cortex-task-controls{display:flex;align-items:end;gap:1rem;flex-wrap:wrap}
.cortex-task-controls label{display:grid;gap:.35rem}.cortex-task-controls input[type=number]{max-width:7rem}
.cortex-task-controls .cortex-enabled{display:flex;align-items:center;align-self:center;gap:.5rem}
.cortex-enabled input{width:1.15rem;height:1.15rem;min-height:0}
.staff-case-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.staff-case-details dt{font-weight:650}.staff-case-details dd{margin:.25rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.cortex-task-title{display:block}.cortex-task-title .staff-read-badge{margin-bottom:.75rem}.cortex-task-controls{align-items:stretch}.cortex-task-controls label{flex:1 1 8rem}.cortex-task-controls input[type=number]{max-width:none}.cortex-task-controls .cortex-enabled{flex-basis:100%}.staff-case-details{grid-template-columns:1fr}}
.stop-scan { border-top: 1px solid var(--staff-border, #dce3e8); padding: .8rem 0; }
.stop-scan summary { cursor: pointer; line-height: 1.5; }
.stop-scan small { display: block; }
.staff-mobile-filter-bar,.stop-filters-toggle,.stop-filter-summary{display:none}

/* Report workspace: compact type, clear hierarchy and touch-friendly controls. */
.staff-page{font-family:Arial,Helvetica,ui-sans-serif,system-ui,sans-serif;font-size:14px;background:#f4f7fa;color:#182d40}
.staff-page h1,.staff-page h2,.staff-page h3{font-family:inherit}.staff-page h1{font-size:28px;letter-spacing:-.7px;margin-bottom:7px}.staff-page main{padding-top:28px}.staff-workspace{width:min(1180px,calc(100% - 48px))}
.staff-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.staff-page-heading>div{min-width:0}.staff-page-heading h1{overflow-wrap:anywhere}.staff-page-heading .staff-muted{margin:0;max-width:72ch}.staff-eyebrow{font-size:10px;letter-spacing:1.4px;color:#6a7f91;margin-bottom:7px}.staff-hint{color:#708295;font-size:12px;line-height:1.5}.staff-nowrap{white-space:nowrap}
.staff-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap;line-height:1.3;font-size:13px;border-radius:8px;flex-shrink:0}.staff-button:disabled{cursor:default;opacity:.45}.staff-button:not(:disabled):hover{filter:brightness(.97)}.staff-button:focus-visible,.staff-row-link:focus-visible{outline:3px solid #a9dbe9;outline-offset:3px}
.staff-report-card{padding:20px 22px;border-color:#dce4ec;box-shadow:0 1px 3px #16324a05}.staff-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 12px}.staff-report-toolbar h2{margin:0 0 4px;font-size:16px}.staff-report-toolbar p{margin:0;font-size:13px}.staff-report-toolbar>.staff-hint{text-align:right}
.staff-table{font-size:13px;font-variant-numeric:tabular-nums}.staff-table th{font-size:11px;letter-spacing:.02em;padding:12px 12px;background:#f7f9fc;white-space:nowrap;color:#60758b}.staff-table td{padding:15px 12px;border-color:#e8edf2;line-height:1.5}.staff-table small{font-size:11px;line-height:1.5;margin-top:4px;color:#7b8d9d}.staff-table tbody tr:hover{background:#fafcff}.staff-table td strong{font-weight:650}.staff-table td:last-child{padding-right:8px}.staff-table .staff-button{min-height:36px;padding:7px 11px;font-size:12px}
.staff-row-link{border:0;padding:0;background:none;color:#086b91!important;font:inherit;font-weight:650;text-decoration:none;text-align:left;cursor:pointer;line-height:1.5}.staff-row-link:hover{text-decoration:underline}.staff-station{display:inline-flex;background:#eff5f9;color:#42647b;border:1px solid #dfe8ef;border-radius:5px;padding:2px 7px;font-size:11px;font-weight:700;white-space:nowrap}.staff-pill{display:inline-flex;align-items:center;border-radius:20px;background:#eef3f6;color:#587082;padding:4px 9px;font-size:11px;font-weight:600;white-space:nowrap;line-height:1.4}.staff-pill.active{background:#e9f5fb;color:#126b91}.staff-pill.review{background:#fff3df;color:#8b5c11}.staff-empty{text-align:center!important;padding:42px 16px!important;color:#728697}.staff-empty strong,.staff-empty span{display:block}.staff-empty span{font-size:12px;margin-top:6px}
.staff-filters>.staff-filter{display:grid;gap:6px;min-width:0;flex:1}.staff-filter>label{font-size:12px;min-width:0}.staff-page .staff-filters>label{font-size:12px}.staff-filters input,.staff-filters select{font-size:13px}.staff-filter-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.staff-filter-chips:empty{display:none}.staff-filter-chip{display:inline-flex;align-items:center;gap:9px;padding:5px 8px;border:1px solid #cce2ee;background:#eff8fc;color:#246780;border-radius:6px;font:12px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}.staff-filter-chip span{font-size:16px;line-height:1}
#case-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 12px}#case-filters>.staff-search{grid-column:span 2}#case-filters>label,#case-filters>.staff-filter{min-width:0}#case-clear{align-self:end}#case-sync{font-size:11px;margin-top:20px}.case-table td:first-child{white-space:nowrap}
.staff-multi{position:relative;min-width:0}.staff-multi-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:10px 11px;border:1px solid #bacdd9;border-radius:8px;background:#fff;font:13px/1.4 Arial,Helvetica,sans-serif;color:#304f64;cursor:pointer;text-align:left}.staff-multi-toggle>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-multi-toggle.has-selection{border-color:#91bfd3;background:#f5fbfe;color:#155e7e}.staff-multi-toggle:focus-visible{outline:3px solid #c6e5f6;outline-offset:1px}.staff-multi-chevron{width:7px;height:7px;border:solid #698295;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);flex:none;margin:0 3px 4px}.staff-multi-toggle[aria-expanded=true] .staff-multi-chevron{transform:rotate(225deg);margin-top:5px}
.staff-multi-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:50;width:max(100%,260px);max-width:calc(100vw - 32px);padding:9px;background:white;border:1px solid #cbdbe5;border-radius:10px;box-shadow:0 12px 30px #18344b22}.staff-multi-panel>input{min-height:38px;font-size:12px;padding:8px 10px}.staff-multi-all{display:block;width:100%;margin:5px 0;border:0;border-radius:5px;padding:9px 10px;text-align:left;color:#35708e;background:#f2f7fa;font:12px Arial,Helvetica,sans-serif;cursor:pointer}.staff-multi-options{max-height:240px;overflow-y:auto;overscroll-behavior:contain}.staff-multi-options label{display:flex!important;align-items:center;gap:10px!important;padding:9px 7px;font-size:12px;font-weight:400!important;cursor:pointer;border-radius:5px}.staff-multi-options label:hover{background:#f1f7fb}.staff-multi-options input{width:16px;height:16px;min-height:16px;flex:none;margin:0;accent-color:#157a9e}.staff-multi-options[data-empty=true]::after{content:'No matching options';display:block;padding:12px 8px;color:#7c8c99;font-size:12px}
.staff-breadcrumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#7c8e9e;margin:0 0 18px}.staff-breadcrumbs a{color:#37748f;text-decoration:none}.staff-breadcrumbs a:hover{text-decoration:underline}.staff-breadcrumbs [aria-current=page]{color:#465f72}
.stop-filter-card{padding:18px 20px;margin:0 0 18px;border-color:#dce4ec}.stop-filter-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;margin-bottom:15px;border-bottom:1px solid #e7edf3}.staff-segmented{display:inline-flex;padding:3px;gap:2px;border-radius:8px;background:#edf2f7}.staff-segmented a{padding:8px 12px;font-size:12px;font-weight:600;border-radius:6px;text-decoration:none;color:#657b8e;white-space:nowrap}.staff-segmented a[aria-current=page]{background:white;color:#116c8e;box-shadow:0 1px 4px #15324914}.stop-date-presets{display:flex;gap:5px}.stop-date-presets button{border:1px solid transparent;border-radius:6px;background:transparent;padding:7px 9px;font:12px Arial,Helvetica,sans-serif;color:#6a8093;cursor:pointer}.stop-date-presets button[aria-pressed=true]{color:#216b8c;background:#edf7fc;border-color:#d0e6f0}.stop-date-presets button:hover{background:#edf2f7}
.stop-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px 12px}.stop-filters>.staff-search{grid-column:span 3}.stop-filters>label{min-width:0}.stop-filters>.staff-button{align-self:end}
.stop-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.stop-metric{background:#fff;border:1px solid #dce4ec;border-radius:11px;padding:16px 17px;min-width:0}.stop-metric>span{display:block;color:#75899b;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.stop-metric>strong{display:block;font-size:25px;line-height:1.3;font-weight:650;color:#203a4e;margin:4px 0;letter-spacing:-.6px;overflow-wrap:anywhere}.stop-metric>small{font-size:11px;color:#8294a4;display:block;line-height:1.4}.stop-metric.accent{border-color:#bedde9;background:#f9fdff}.stop-metric.accent>strong{color:#11799b}.stop-metric.review>strong{color:#9b711c}
.stop-workspace>.staff-report-card{margin-top:0}.stop-summary-table td:first-child{width:25%;min-width:160px}.stop-summary-table th:nth-child(2){width:12%}.stop-summary-table th:nth-child(3),.stop-summary-table th:nth-child(4){width:17%}.stop-summary-table .stop-row-action{text-align:right;white-space:nowrap}.stop-summary-table td small{white-space:normal}.stop-workspace .staff-report-toolbar{margin-top:0;margin-bottom:16px}.stop-summary-table strong{white-space:nowrap}
.stop-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:27px 0 12px}.stop-detail-toolbar h2{margin:0;font-size:17px}.stop-detail-toolbar .staff-check{font-size:12px;flex-wrap:wrap;justify-content:flex-end}.stop-detail-toolbar .staff-check .staff-hint{font-size:10px}.stop-itinerary{margin-top:12px;padding:22px 24px;border-color:#dce4ec}.stop-itinerary-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid #e6edf3}.stop-itinerary-heading>div{min-width:0;overflow-wrap:anywhere}.stop-itinerary-heading h3{font-size:17px;margin:0 0 5px}.stop-interval-section{margin:22px 0}.stop-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px}.stop-section-heading h3{font-size:14px;margin:0}.stop-section-heading .staff-hint{font-size:11px}.stop-interval-table{min-width:0!important;table-layout:fixed}.stop-interval-table th:first-child{width:32%}.stop-interval-table th:last-child{width:22%;text-align:right}.stop-interval-table td{padding:13px 12px}.stop-time-range{font-variant-numeric:tabular-nums;color:#486579;white-space:nowrap}.stop-time-range>span{color:#9aabb8;margin:0 5px}.stop-duration{text-align:right;white-space:nowrap}.stop-duration-note{display:inline-block;font-size:10px;color:#13779a;background:#eaf6fb;border:1px solid #d2eaf3;border-radius:4px;padding:1px 5px;margin-left:8px;vertical-align:1px}.stop-duration-note.break{color:#947024;background:#fff8e9;border-color:#efe0be}.stop-empty-interval{padding:18px 12px;margin:0;background:#f8fafc;border-radius:6px;color:#7c8e9f;font-size:12px}.stop-review-note{padding:11px 13px;border:1px solid #eadcbf;border-radius:7px;background:#fffcf5;font-size:12px;color:#81693a}.staff-page main .stop-source{padding:16px 0 0;border-color:#e3eaf1}.stop-source summary{font-size:12px;color:#44728b}.stop-source summary .staff-hint{font-weight:400;margin-left:8px}.stop-source-list{margin-top:15px}.stop-source-list>div{padding:10px 12px;background:#f7f9fc;border-radius:6px;margin-top:7px;font-size:12px}.stop-source-list p{margin:3px 0;color:#4f697d}.stop-source-list small{font-size:11px;color:#8193a2}.stop-scans-card{padding:17px 20px}.staff-page main .stop-scans-card>details{border:0;padding:0}.stop-scans-card>details>summary{font-size:13px}.stop-scans-card>details>summary>.staff-hint{margin-left:10px;font-weight:400}.stop-scan{font-size:12px}.stop-scan summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.stop-scan summary>.staff-hint{font-weight:400;margin-left:auto}.stop-scan li{margin:7px 0}.stop-estimate-note{text-align:center;font-size:11px;margin:24px 0 0}
@media(max-width:1050px){#case-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.stop-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.stop-filters>.staff-search{grid-column:span 2}.staff-workspace{width:calc(100% - 36px)}.stop-metric{padding:14px}.stop-metric>strong{font-size:23px}}
@media(max-width:700px){.staff-page h1{font-size:25px}.staff-page-heading{align-items:flex-start}.staff-page-heading>.staff-button{min-height:38px;padding:8px 11px;font-size:12px}.staff-report-toolbar>.staff-hint{display:none}.stop-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stop-metric>strong{font-size:24px}.stop-filter-top{flex-wrap:wrap;gap:13px}.stop-filter-card{padding:15px}.stop-date-presets{margin-left:auto}.stop-detail-toolbar{align-items:flex-start;flex-wrap:wrap}.stop-detail-toolbar .staff-check{justify-content:flex-start}.stop-itinerary{padding:18px}.stop-section-heading{align-items:start;flex-wrap:wrap;gap:5px}.stop-section-heading .staff-hint{font-size:10px}.stop-interval-table td,.stop-interval-table th{padding:12px 7px}.stop-time-range{font-size:12px}.stop-duration-note{display:block;width:max-content;margin:4px 0 0 auto}.stop-interval-table th:first-child{width:28%}.stop-interval-table th:last-child{width:23%}}
@media(max-width:560px){.staff-workspace{width:calc(100% - 28px)}.staff-page main{padding-top:22px}.staff-page-heading{gap:12px;margin-bottom:17px}.staff-page-heading .staff-muted{font-size:12px}.staff-report-card{padding:16px}.staff-report-toolbar{gap:10px}#case-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#case-filters>.staff-search{grid-column:1/-1}.stop-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stop-filters>.staff-search{grid-column:1/-1}.stop-filters>label:first-child{grid-column:1/-1}.staff-segmented{width:100%}.staff-segmented a{flex:1;text-align:center}.stop-date-presets{width:100%;justify-content:space-between}.stop-metric{padding:13px}.stop-metric>span{font-size:9px}.stop-metric>small{font-size:10px}.stop-metric>strong{font-size:23px}.staff-pagination .staff-button{min-height:40px}.stop-scans-card{padding:16px}.stop-scan summary>.staff-hint{width:100%;margin-left:0}
 .staff-mobile-filter-bar{display:flex;justify-content:flex-end;margin-bottom:12px}.stop-filters-toggle{display:inline-flex;min-height:36px;font-size:12px;margin-left:auto}.stop-filter-summary{display:block;margin:0;font-size:11px}.stop-filters:not([hidden]){margin-top:15px}.stop-date-presets{width:auto;flex:1}.stop-filter-top{margin-bottom:10px;padding-bottom:10px}.staff-mobile-filter-bar>.staff-button{min-height:36px;padding:7px 12px}#case-filters.is-collapsed>.staff-filter,#case-filters.is-collapsed>label:not(.staff-search),#case-filters.is-collapsed>.staff-button{display:none}
 .stop-summary-table,.case-table{display:block;min-width:0!important}.stop-summary-table thead,.case-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.stop-summary-table tbody,.case-table tbody{display:grid;gap:12px}.stop-summary-table tr,.case-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dfe7ee;border-radius:9px;padding:13px;gap:12px;background:#fff}.stop-summary-table td,.case-table td{display:block;border:0;padding:0!important;min-width:0;overflow-wrap:anywhere}.stop-summary-table td:first-child,.case-table td:first-child{grid-column:1/-1;width:auto;min-width:0;padding-bottom:10px!important;border-bottom:1px solid #edf1f5;font-size:14px}.stop-summary-table td[data-label]::before,.case-table td[data-label]::before{content:attr(data-label);display:block;color:#8193a2;font-size:10px;font-weight:400;margin-bottom:5px}.stop-summary-table td:first-child::before,.case-table td:first-child::before{display:none}.stop-summary-table .stop-row-action{display:flex;align-items:end;justify-content:flex-end}.stop-summary-table .staff-button{min-height:40px;font-size:12px}.case-table td:first-child .staff-row-link{font-size:14px}.case-table .staff-nowrap{white-space:normal}.stop-summary-table .staff-empty,.case-table .staff-empty{grid-column:1/-1}.staff-filter-chip{max-width:100%;overflow-wrap:anywhere}
 .stop-interval-table{font-size:12px}.stop-interval-table th{font-size:10px;white-space:normal}.stop-interval-table th:first-child{width:28%}.stop-interval-table th:last-child{width:22%}.stop-time-range{white-space:normal;line-height:1.8!important}.stop-time-range>span{margin:0 2px}.stop-interval-table small{font-size:10px}.stop-itinerary-heading .staff-pill{white-space:normal;text-align:center;max-width:130px}.stop-itinerary-heading .staff-hint{font-size:10px}.stop-itinerary-heading h3{font-size:15px}.stop-source-list>div{padding:10px}.stop-estimate-note{text-align:left}
}

/* Driver-list duration filter and direct Cortex links. */
.stop-long-control{margin-left:auto;justify-content:flex-end;flex-wrap:wrap;font-size:12px!important;gap:7px!important}.stop-long-control .staff-hint{font-size:10px;flex-basis:100%;text-align:right}.stop-long-control input{accent-color:#157a9e}.stop-itinerary-tools{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex:none}.staff-cortex-link{color:#236c8b!important;text-decoration:none;font-size:12px;white-space:nowrap}.staff-cortex-link:hover{text-decoration:underline}.stop-summary-table th:nth-child(2),.stop-summary-table th:nth-child(3),.stop-summary-table th:nth-child(4){width:auto}.stop-date-presets{flex-wrap:wrap}
@media(max-width:700px){.stop-long-control{justify-content:flex-start;margin:0;width:100%}.stop-long-control .staff-hint{text-align:left}.staff-report-toolbar:has(.stop-long-control:not([hidden])){flex-wrap:wrap}.stop-itinerary-tools{max-width:120px}.staff-cortex-link{font-size:11px}.stop-date-presets{justify-content:flex-start}}

/* v0.26: always-visible report controls, custom dates and actionable scan issues. */
.stop-filter-summary{display:block;margin:0 0 12px}.stop-filters{grid-template-columns:1fr 2fr 2fr 1fr auto}.stop-filters>.staff-search{grid-column:auto}.stop-date-presets{justify-content:flex-end}.stop-custom-range{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;background:#f5f8fb;border:1px solid #e0e8ef;border-radius:8px}.stop-custom-range label{min-width:0}.stop-filter-card.is-daily .stop-filter-top,.stop-filter-card.is-daily .stop-filter-summary,.stop-filter-card.is-daily .stop-filters>:not(#stop-show-filter){display:none}.stop-filter-card.is-daily .stop-filters{display:block;margin:0}.stop-filter-card.is-daily #stop-show-filter{display:block;max-width:340px}.stop-metric>button{display:block;border:0;border-radius:4px;background:transparent;color:#8c651a;font:650 25px/1.3 Arial,Helvetica,sans-serif;letter-spacing:-.6px;padding:0;margin:4px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.stop-metric>button:hover{color:#604206}.stop-metric>button:focus-visible{outline:3px solid #c6e5f6;outline-offset:4px}.stop-issues-list{padding-left:22px;margin:16px 0 0}.stop-issues-list>li{padding:14px 0;border-top:1px solid #e0e8ef}.stop-issues-list p{margin:7px 0;font-size:13px;overflow-wrap:anywhere}.stop-issue-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px}.stop-issue-heading small{color:#657b8e}.stop-filters .staff-multi-toggle{text-align:left;white-space:normal;line-height:1.4}
@media(max-width:1050px){.stop-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stop-filters>.staff-search{grid-column:auto}.stop-filters>.staff-button{justify-self:start}.stop-filter-top{flex-wrap:wrap}}
@media(max-width:560px){.stop-filter-summary{font-size:11px;margin:0}.stop-filters>.staff-search{grid-column:1/-1}.stop-filters>.staff-button{width:100%}.stop-date-presets{width:100%;flex:auto;justify-content:flex-start;gap:4px}.stop-date-presets button{padding:8px 7px}.stop-metric>button{font-size:23px}.stop-custom-range{padding:10px}.stop-custom-range label{font-size:12px}.stop-custom-range input{padding:9px 7px;min-width:0}.stop-filter-card.is-daily{padding:14px}.stop-issue-heading{flex-direction:column}}

#stop-show-filter,#stop-show-filter>label{min-width:0}.stop-filters .staff-multi-toggle>span:first-child{white-space:normal}
.stop-filters{grid-template-columns:1fr 2fr 2fr auto}.stop-sort{display:inline-flex;align-items:center;gap:7px;padding:3px 0;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;text-align:left}.stop-sort span{font-size:13px;color:#94a7b5}.stop-sort:hover,.stop-summary-table th[aria-sort] .stop-sort{color:#206d8d}.stop-summary-table th[aria-sort] .stop-sort span{color:inherit}.stop-sort:focus-visible{outline:3px solid #b8dff2;outline-offset:4px}
@media(max-width:1050px){.stop-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stop-summary-table thead{display:block;position:static;width:auto;height:auto;overflow:visible;clip:auto}.stop-summary-table thead tr{display:flex;flex-wrap:wrap;gap:6px;border:0;border-radius:0;padding:0 0 14px;background:transparent}.stop-summary-table thead th{display:block;width:auto!important;padding:0;border:0;background:transparent}.stop-summary-table thead th:not(:has(button)){display:none}.stop-sort{min-height:36px;padding:6px 9px;border-radius:7px;background:#eef4f8;font-size:11px}.stop-summary-table th[aria-sort] .stop-sort{background:#e4f0f7}.stop-summary-table thead::before{content:"Sort by";display:block;margin-bottom:8px;color:#718594;font-size:11px}}

/* Failed itinerary recovery */
.stop-issue-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0}.stop-retry{min-height:36px;padding:7px 12px;font-size:12px}.stop-previous-note{margin:14px 0;padding:10px 13px;border-left:3px solid #8aafbf;background:#f0f6f8;color:#405e6c;font-size:13px;line-height:1.5}.stop-scan li+li{margin-top:14px}

/* Shared feedback for staff data requests, including long report ranges. */
.staff-loading{position:fixed;right:20px;bottom:20px;z-index:2100;display:flex;align-items:center;gap:10px;padding:10px 15px;border:1px solid #cbdce7;border-radius:9px;background:#fff;color:#205f86;box-shadow:0 3px 14px #17334418;font:13px/1.5 Arial,Helvetica,sans-serif;pointer-events:none}
.staff-loading[hidden]{display:none!important}
.staff-loading-spinner{width:17px;height:17px;flex:none;border:2px solid #d7e7ef;border-top-color:#1b7199;border-radius:50%;animation:staff-loading-spin .8s linear infinite}
@keyframes staff-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.staff-loading-spinner{animation:none}}
@media(max-width:560px){.staff-loading{right:14px;bottom:14px}}
