:root{font-family:"Segoe UI",system-ui,-apple-system,sans-serif;color:#183d31;background:#f5f6f2;color-scheme:light;--green:#174d3a;--ink:#1b342a;--muted:#69776f;--line:#e1e7df;--lime:#d9ecad;--red:#a63432;--amber:#8a5b13;--radius:18px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 19px;border:1px solid transparent;border-radius:11px;background:var(--green);color:#fff;font-size:14px;font-weight:650;cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}button:hover{background:#103c2c;box-shadow:0 3px 10px #163d3110}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.secondary:hover{background:#f0f4ec}.text-button{background:transparent;color:var(--green);padding:8px 11px}.text-button:hover{background:#eaf0e6;box-shadow:none}.danger{background:#fbeeed;color:var(--red);border-color:#efd5d1}.danger:hover{background:#f6dfdc;color:#7a2624}.primary{background:var(--green)}.full{width:100%}button svg,svg.icon{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}svg.icon{width:22px;height:22px}.icon-library{display:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #8bad50;outline-offset:3px}label{display:grid;gap:8px;font-size:13px;font-weight:650;color:#344c40}input,textarea,select{width:100%;min-width:0;padding:13px 14px;border:1px solid #cdd8cd;border-radius:10px;background:white;color:var(--ink)}input::placeholder,textarea::placeholder{color:#8a958d;font-weight:400}textarea{resize:vertical;line-height:1.6}input[type=checkbox]{width:20px;height:20px;accent-color:var(--green)}form{display:grid;gap:20px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;font-weight:680;letter-spacing:-1px;line-height:1.2;margin-bottom:10px}h2{font-size:20px;font-weight:650;letter-spacing:-.3px;margin-bottom:12px}h3{font-size:18px;line-height:1.35;font-weight:650;margin-bottom:7px}p{font-size:14px;line-height:1.65}.muted{color:var(--muted);font-size:13px}.section-kicker,.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:#7b8b74;margin:0 0 14px}.wordmark{display:flex;align-items:center;flex-wrap:wrap;gap:10px;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-.7px;color:var(--green)}.brand-icon{display:flex;align-items:center;justify-content:center;background:var(--green);color:#ebf5d9;width:38px;height:38px;border-radius:12px}.brand-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.wordmark-label{font-size:9px;letter-spacing:2px;font-weight:650;width:100%;padding-left:48px;margin-top:-8px;color:#83927d}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#173f32;padding:50px clamp(28px,5vw,85px);display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:520px;height:520px;border:1px solid #c9dfbd18;border-radius:50%;right:-240px;bottom:-140px;box-shadow:0 0 0 60px #c9dfbd08,0 0 0 120px #c9dfbd05;pointer-events:none}.login-story .wordmark{color:#fff}.login-story .brand-icon{background:#d9ecad;color:#173f32}.login-story .wordmark-label{color:#adc5ad}.story-copy{margin:auto 0;padding:75px 0;position:relative;z-index:1}.story-copy h1{font-size:clamp(40px,4.6vw,68px);letter-spacing:-2.5px;color:#f2f5e8;line-height:1.08;font-weight:600;margin:20px 0 28px}.story-copy p{color:#b6cbbc;font-size:16px;max-width:360px}.eyebrow{color:#c3d9a5}.story-footer{color:#a5bba9;font-size:12px;letter-spacing:.4px}.login-panel{display:grid;place-items:center;padding:42px 28px;background:#fafbf7}.login-card{width:min(100%,370px)}.login-card h2{font-size:29px;margin-bottom:9px}.login-card>p{margin-bottom:32px}.login-card form{margin-top:25px}.password-field{display:flex;align-items:center;border:1px solid #cdd8cd;border-radius:10px;background:white}.password-field input{border:0;background:transparent}.password-field .text-button{font-size:12px;margin-right:4px}.login-note{margin:30px 0 0!important;font-size:12px;color:#7a897e}.legacy-options{margin-top:25px;font-size:12px;color:var(--muted)}.legacy-options summary{padding:6px 0;font-weight:500}.legacy-options button{margin-top:12px}.notice{position:fixed;right:28px;top:20px;max-width:min(480px,calc(100vw - 36px));z-index:30;margin:0;background:#fff5e4;border:1px solid #e7c993;color:#6d4711;border-radius:13px;padding:15px 20px;box-shadow:0 6px 32px #1d342a16;font-size:14px}.notice:empty{display:none}.notice.success{background:#edf6e7;border-color:#bcd3ac;color:#285638}.app-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:32px 18px 22px;display:flex;flex-direction:column;gap:30px;overflow:auto}.sidebar>.wordmark{margin-left:10px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-group{font-size:9px;font-weight:750;letter-spacing:1.7px;color:#9aa398;padding:16px 14px 7px}.nav-group:first-child{padding-top:0}.nav-item{justify-content:flex-start;gap:12px;width:100%;font-size:13px;font-weight:550;padding:11px 13px;background:transparent;color:#65746a;border-radius:10px;border:0;box-shadow:none!important}.nav-item:hover{background:#f2f5ec;color:var(--green)}.nav-item.active{background:#eaf1de;color:#285131;font-weight:700}.nav-item svg{width:18px;height:18px}.nav-count{margin-left:auto;background:#f0f2ec;font-size:10px;padding:2px 7px;min-width:20px;border-radius:6px;color:#64735f}.nav-item.active .nav-count{background:#d4e5ba;color:#2e5033}.sidebar-foot{margin-top:auto;color:#526b57;font-size:12px;padding:20px 12px 0;border-top:1px solid var(--line);line-height:1.9}.sidebar-foot small{color:#8a988b;padding-left:14px}.location-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#8fae5d;margin-right:5px}.main-content{min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.workspace-label{font-size:12px;color:#7d8c80}.account-controls{display:flex;align-items:center;gap:16px;font-size:12px}.account-controls .text-button{font-size:12px}.page-content{max-width:1500px;margin:auto;padding:36px 40px}.page-heading{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;margin-bottom:30px}.page-heading .muted{margin:0}.refresh-area{display:flex;align-items:flex-end;flex-direction:column;gap:9px}.refresh-area small{font-size:10px;color:#83907f}.summary-grid,.totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.summary-card{padding:23px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;display:flex;flex-direction:column;gap:17px;position:relative;overflow:hidden}.summary-card:first-child{background:#eaf1df;border-color:#dce8cb}.summary-card .metric-heading{display:flex;align-items:center;justify-content:space-between}.metric-heading .icon{padding:9px;box-sizing:content-box;background:#f3f5ef;border-radius:12px;color:#698259}.summary-card:first-child .icon{background:#dce8c5}.metric-label{color:#66745f;font-size:12px}.metric-value{font-size:36px;line-height:1;font-weight:650;letter-spacing:-1px}.metric-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#8a9685}.metric-footer button{padding:0;min-height:26px;border-radius:0;font-size:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 16px}.section-heading h2{margin:0}.section-heading p{margin:8px 0 0}.queue-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.queue-card,.content-card{border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:#fff;margin:0 0 18px}.queue-card{margin:0}.queue-card h3{font-size:14px;display:flex;align-items:center;gap:8px;margin:0 0 12px}.queue-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-top:1px solid #eef1e9}.queue-row p{font-size:13px;margin:0;font-weight:600}.queue-row small{font-size:11px;color:#81907d;display:block;margin-top:4px}.queue-row button{font-size:12px;min-height:34px;padding:8px 12px}.stat{padding:23px;border:1px solid var(--line);border-radius:16px;background:#fff}.stat strong{display:block;font-size:27px;font-weight:650;letter-spacing:-.7px;margin-bottom:7px}.stat span{font-size:12px;color:var(--muted)}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.search-label{display:flex;align-items:center;gap:11px;max-width:400px;width:100%;padding:0 14px;background:white;border:1px solid var(--line);border-radius:11px}.search-label svg{width:18px;height:18px;fill:none;stroke:#88967f;stroke-width:1.6}.search-label input{border:0;background:none;padding:13px 0;font-size:13px;min-width:0}.filter-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:7px;margin-bottom:18px}.filter-tabs button{white-space:nowrap;min-height:38px;padding:9px 14px;border-radius:9px;font-size:12px}.review-list{display:grid;gap:16px}.driver,.report,.review{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:23px;margin-bottom:16px}.review-list>.driver{margin:0}.request-heading{display:flex;gap:15px;align-items:center}.request-avatar{width:48px;height:48px;background:#edf2e5;color:#597847;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;flex-shrink:0}.request-info{flex:1;min-width:0}.request-info h3{margin:0 0 5px}.request-meta{margin:0;font-size:12px;color:#7b8976}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:650;background:#f0f3eb;color:#6e7c65;white-space:nowrap}.badge.pending{background:#fff2d9;color:#8b601b}.badge.approved{background:#e7f2e6;color:#376b38}.badge.rejected{background:#fbe9e8;color:#a4433c}.badge.correction{background:#edf0fb;color:#536999}.request-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.driver>details{margin-top:17px;border-top:1px solid #edf0e8;padding-top:5px}.driver>details>summary{padding:12px 0 5px;font-size:13px;color:var(--green);font-weight:650;cursor:pointer}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.detail-group{background:#f7f9f4;border:1px solid #e8ede2;padding:19px;border-radius:12px}.detail-group h4{margin:0 0 15px;font-size:12px;color:#7a8b71;text-transform:uppercase;letter-spacing:1px}.detail-grid{margin:0;display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:11px 14px;font-size:13px}.detail-grid dt{color:#7d8c76}.detail-grid dd{margin:0;font-weight:550;overflow-wrap:anywhere}.review-note{padding:13px 16px;border-radius:10px;background:#f3f6ee;color:#708164;font-size:12px;margin:18px 0}.review-note.warning{background:#fff4df;color:#8b641f}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:20px 0}.photo-grid figure{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#f5f7f1}.photo-grid img{width:100%;height:210px;object-fit:contain;display:block}.photo-grid figcaption{padding:10px 12px;font-size:11px;background:white;color:#7b8b72}.documents{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.documents button{background:#f2f5eb;color:#617751;font-size:11px;padding:9px 12px;min-height:34px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.driver .actions{border-top:1px solid var(--line);padding-top:18px}.driver .actions button{font-size:12px}.driver p,.report p,.review p{white-space:pre-wrap;overflow-wrap:anywhere}.duplicate-check{display:flex;align-items:center;gap:10px;font-size:12px;padding:15px 0}.empty-state{border:1px dashed #d7e0ce;border-radius:var(--radius);text-align:center;padding:50px 24px;background:#fafbf7;color:#7b8e6b}.empty-state .icon{width:28px;height:28px;margin-bottom:15px;color:#a2b48c}.empty-state h3{font-size:16px;color:#526b43}.empty-state p{max-width:420px;margin:auto;color:#8a987f;font-size:13px}.empty-inline{font-size:13px;color:#8a987f;margin:18px 0}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8d9986;font-weight:650}th,td{padding:16px 12px;border-bottom:1px solid #edf0e8;white-space:nowrap}td button{margin:3px;font-size:11px;min-height:32px;padding:8px}details>summary{cursor:pointer;font-size:14px;font-weight:650;padding:8px 0}details.content-card>summary{padding:0}details.content-card[open]>summary{margin-bottom:22px}#configuration form{max-width:100%}#audit{max-height:350px;overflow:auto}#audit p,#sensitive-access p{font:11px/1.8 ui-monospace,monospace;color:#77866b}.content-card form{max-width:800px}#decision{gap:18px}dialog{border:1px solid var(--line);border-radius:22px;padding:30px;max-width:510px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 100px #10382440}dialog::backdrop{background:#102a2066;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin:0}dialog p{margin:0}.decision-success{background:#eff7e8}.report>img,.driver>img{max-width:100%}footer{font-size:10px;line-height:1.8;color:#a0ab96;margin-top:40px;padding-top:20px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(min-width:1550px){.page-content{padding:45px 58px}}@media(max-width:1100px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:25px 12px}.topbar{padding:0 25px}.page-content{padding:28px 25px}.summary-grid,.totals{gap:12px}.summary-card{padding:18px}.detail-layout{grid-template-columns:1fr}.request-heading{flex-wrap:wrap}.request-heading>.badge{margin-left:63px}.page-heading h1{font-size:28px}.queue-grid{grid-template-columns:1fr}.queue-card{padding:20px}}@media(max-width:760px){.login-shell{grid-template-columns:1fr}.login-story{padding:26px 24px;min-height:auto}.story-copy,.story-footer{display:none}.login-panel{padding:45px 25px;align-items:start;min-height:calc(100vh - 110px)}.login-story .wordmark-label{width:auto;padding-left:0;margin-top:0;font-size:8px;margin-left:auto}.app-shell{display:block}.sidebar{position:sticky;top:0;z-index:12;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:15px 17px 0;gap:12px;overflow:visible}.sidebar .wordmark{font-size:19px;margin:0}.sidebar .brand-icon{width:30px;height:30px;border-radius:9px}.sidebar .brand-icon svg{width:22px;height:22px}.sidebar .wordmark-label{width:auto;padding:0;margin:0 0 0 auto;font-size:8px}.sidebar nav{display:flex;flex-direction:row;overflow:auto;margin:0 -17px;padding:0 12px 10px;gap:4px}.nav-group,.sidebar-foot{display:none}.nav-item{width:auto;white-space:nowrap;min-height:40px;flex-shrink:0;padding:10px 12px;gap:7px}.nav-item svg{width:16px;height:16px}.topbar{height:58px;padding:0 20px}.workspace-label{display:none}.account-controls{width:100%;justify-content:space-between;gap:12px}#account{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-content{padding:27px 18px}.page-heading{gap:12px;flex-direction:column;margin-bottom:24px}.page-heading h1{font-size:27px}.refresh-area{flex-direction:row;align-items:center;gap:13px}.refresh-area button{min-height:36px;padding:8px 12px;font-size:12px}.section-kicker{font-size:8px;letter-spacing:1.5px}.summary-grid{grid-template-columns:1fr}.summary-card{padding:18px;gap:12px}.summary-card .metric-heading{gap:20px}.metric-value{font-size:33px}.metric-heading .icon{padding:7px}.summary-card .metric-footer{margin-top:-2px}.totals{grid-template-columns:1fr 1fr}.stat:last-child{grid-column:1/-1}.stat{padding:18px}.section-heading{align-items:flex-start;flex-wrap:wrap;margin-top:25px}.section-heading .muted{font-size:11px}.section-heading h2{font-size:18px}.panel-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.search-label{max-width:none}.filter-tabs{margin-right:-18px;padding-right:18px}.driver,.report,.review,.content-card{padding:19px;border-radius:14px}.request-avatar{width:42px;height:42px;border-radius:11px}.request-info h3{font-size:16px}.request-heading>.badge{margin-left:57px}.detail-grid{grid-template-columns:1fr;gap:6px}.detail-grid dd{margin-bottom:10px}.photo-grid{grid-template-columns:1fr 1fr;gap:8px}.photo-grid img{height:160px}.photo-grid figcaption{font-size:10px;padding:9px}.actions button{flex:1}.actions button:first-child{min-width:100%}.actions button:only-child{min-width:auto}.notice{top:auto;bottom:20px;right:18px;font-size:13px}.login-card>p{font-size:13px}dialog{padding:24px}.detail-group{padding:16px}footer{margin-top:25px}.page-heading .muted{line-height:1.7}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.photo-open{padding:0;width:100%;border:0;border-radius:0;background:transparent;display:block}.photo-open:hover{background:transparent;box-shadow:none}.photo-open img{cursor:zoom-in}#image-preview{max-width:1000px;width:calc(100% - 32px)}#image-preview img{display:block;width:100%;max-height:75vh;object-fit:contain;background:#f5f7f1}#image-preview .section-heading{margin-top:0}.photo-open:focus-visible{outline-offset:-4px}

#photo-scroll{max-height:75vh;overflow:auto;overscroll-behavior:contain}#photo-scroll img{max-width:none}.photo-zoom-controls{display:flex;gap:8px;justify-content:center;margin:8px 0}

/* Keep the modal centered in the viewport, independent of the page scroll. */
#image-preview[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  background: #fff;
}
#image-preview .section-heading,
#image-preview .photo-zoom-controls { flex: none; }
#image-preview #photo-scroll { min-height: 0; }
