:root{color-scheme:light;--paper: #fbfcf7;--sand: #dfdbd3;--beige: #bbb0a8;--slate: #6c788c;--navy: #0b244c;--navy-deep: #1e2547;--orange: #d15a1d;--amber: #dd944e;--bg: var(--sand);--panel: rgba(251, 252, 247, .9);--panel-strong: var(--paper);--ink: var(--navy);--subtle: var(--slate);--line: rgba(30, 37, 71, .14);--accent: var(--orange);--accent-deep: var(--navy-deep);--good: var(--amber);--warn: var(--beige);--bad: var(--navy);--shadow: 0 28px 80px rgba(30, 37, 71, .12)}*{box-sizing:border-box}body{margin:0;min-height:100vh;min-width:320px;background:radial-gradient(circle at top left,rgba(209,90,29,.2),transparent 30%),radial-gradient(circle at bottom right,rgba(11,36,76,.14),transparent 36%),linear-gradient(180deg,var(--paper) 0%,var(--bg) 100%);color:var(--ink);font-family:Avenir Next,Segoe UI Variable,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select{font:inherit}#root,.app-shell{min-height:100vh}.app-shell{display:flex;flex-direction:column}.app-shell:not(.auth-shell){height:100dvh;min-height:100dvh;overflow:hidden;background:linear-gradient(180deg,#fbfcf7e0,#dfdbd3c7),linear-gradient(180deg,var(--paper) 0%,var(--bg) 100%)}.auth-shell{height:100dvh;overflow:hidden}.app-header,.auth-shell .app-main{width:min(1320px,calc(100% - 20px));margin:0 auto}.app-header{display:flex;justify-content:flex-start;gap:24px;padding:8px 0 4px}.app-topbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:8px 12px;border:1px solid rgba(255,255,255,.56);border-radius:16px;background:linear-gradient(180deg,#ffffffe0,#fbfcf7f0),var(--panel);box-shadow:0 18px 44px #1e25471a,inset 0 1px #ffffff9e}.app-topbar-actions{display:flex;align-items:center;gap:8px}.app-page-title{margin:0;flex:1 1 auto;min-width:0;color:var(--orange);line-height:1.1;letter-spacing:.01em;text-align:left;text-transform:none}.logout-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid rgba(209,90,29,.22);border-radius:10px;background:#d15a1d1a;color:#c94821;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.logout-icon-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none}.app-topbar-left{display:flex;align-items:center;gap:10px;min-width:0}.brand-block{display:flex;align-items:center;gap:8px;min-width:0}.brand-link{color:inherit;text-decoration:none}.header-brand{display:none}.header-brand-copy{min-width:0}.sidebar-icon-button{display:none;flex-direction:column;justify-content:center;gap:4px;width:36px;height:36px;padding:0;border:1px solid rgba(30,37,71,.1);border-radius:10px;background:#fffc;color:var(--accent-deep);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}.sidebar-icon-button span{display:block;width:14px;height:2px;margin:0 auto;border-radius:999px;background:currentColor}.brand-logo{width:88px;height:auto;flex-shrink:0}.auth-shell .app-header{display:none}.auth-shell .brand-block{flex-direction:column;text-align:center}.auth-shell .brand-block{display:none}.app-header h1,.panel h2,.panel h3,.panel h4{margin:0;line-height:1.05}.app-header h1{max-width:760px;font-size:clamp(2.4rem,5vw,4.5rem)}.shell-copy,.muted-copy,.summary-card p,.surface-description,.approval-card p,.empty-state,.list-item,.message,.field label{color:var(--subtle)}.shell-copy{max-width:650px;margin:18px 0 0;font-size:1rem;line-height:1.7}.eyebrow{margin:0 0 12px;color:var(--accent);font-size:.8rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.app-main{flex:1;min-height:0;padding:0 0 14px}.auth-shell .app-main{width:100%;height:100%;min-height:100%;display:grid;place-items:center;padding:clamp(12px,2.4vw,28px);overflow:hidden}.app-shell:not(.auth-shell) .app-main{width:100%;flex:1;min-height:0;padding:0;overflow:hidden}.app-layout{position:relative;display:grid;grid-template-columns:240px minmax(0,1fr);gap:0;height:100%;min-height:0;width:100%}.app-workspace{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:0}.app-workspace .app-header{width:100%;margin:0;padding:10px 8px 0}.app-sidebar{display:grid;align-content:start;gap:12px;height:100%;min-height:0;padding:18px 0 16px;border:1px solid rgba(255,255,255,.56);border-left:0;border-radius:0 24px 24px 0;background:linear-gradient(180deg,#ffffffe6,#fbfcf7f2),var(--panel);box-shadow:0 18px 44px #1e254714,inset 0 1px #fff9}.sidebar-brand{display:grid;justify-items:center;gap:8px;padding:6px 16px 20px;border-bottom:1px solid rgba(30,37,71,.08);text-align:center}.sidebar-brand-copy{display:grid;gap:2px;min-width:0;justify-items:center}.sidebar-brand .eyebrow{margin:0;font-size:.64rem;line-height:1.35;letter-spacing:.1em}.sidebar-brand-logo{width:78px}.sidebar-nav{display:grid;gap:6px;padding:0 8px}.sidebar-link{display:block;width:100%;padding:12px 16px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--subtle);font-size:.92rem;font-weight:600;line-height:1.35;text-align:left;cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease}.sidebar-link.future{opacity:.5;cursor:not-allowed}.sidebar-link.active{border-color:#1e254714;background:linear-gradient(180deg,#fffffff2,#fbfcf7),var(--panel-strong);color:var(--accent-deep)}.app-content{min-width:0;min-height:0;padding:16px 16px 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.app-breadcrumbs{margin-bottom:10px}.breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;list-style:none}.breadcrumb-item,.breadcrumb-separator{color:var(--subtle);font-size:.82rem;line-height:1}.breadcrumb-link,.breadcrumb-current{display:inline-flex;align-items:center}.breadcrumb-link{color:var(--accent);text-decoration:none;transition:color .16s ease}.breadcrumb-link:hover{color:var(--accent-deep)}.breadcrumb-home-link svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.breadcrumb-current{color:var(--accent-deep);font-weight:700}@media (min-width: 1025px){.app-header{justify-content:stretch}.app-topbar{width:100%;min-width:0;min-height:72px;padding:14px 18px;border-radius:18px}.app-topbar-actions{margin-left:auto}.app-topbar-left{display:none}.app-sidebar{border-radius:0 24px 24px 0}.app-footer{padding:10px 8px}}.app-sidebar-backdrop{display:none}.app-footer{width:100%;margin:0;padding:10px 8px}.app-footer-bar{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 16px;border:1px solid rgba(255,255,255,.56);border-radius:18px;background:linear-gradient(180deg,#ffffffe0,#fbfcf7f0),var(--panel);box-shadow:0 18px 44px #1e254714,inset 0 1px #ffffff9e}.app-footer p{margin:0;color:var(--subtle);font-size:.9rem;line-height:1.5;text-align:center}.page-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.auth-layout{width:min(100%,560px);height:100%;min-height:0;display:grid;place-items:center}.auth-stage{position:relative;width:100%;max-width:560px}.auth-stage:before,.auth-stage:after{content:"";position:absolute;inset:auto;border-radius:999px;pointer-events:none;filter:blur(10px)}.auth-stage:before{width:220px;height:220px;top:-34px;right:-42px;background:radial-gradient(circle,rgba(209,90,29,.2),transparent 70%)}.auth-stage:after{width:260px;height:260px;bottom:-46px;left:-54px;background:radial-gradient(circle,rgba(11,36,76,.16),transparent 72%)}.panel{border:1px solid var(--line);border-radius:30px;background:var(--panel);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow);padding:22px}.panel-centered{display:grid;min-height:280px;place-items:center;text-align:center}.hero-panel{overflow:hidden}.hero-stack{display:grid;gap:28px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.summary-card,.surface-card,.admin-section,.approval-card{border:1px solid var(--line);border-radius:22px;background:var(--panel-strong)}.summary-card{padding:12px 14px}.dashboard-stack{gap:8px}.welcome-card{padding:8px 12px}.dashboard-welcome-card{display:block;text-align:center;max-height:3em}.welcome-card h3{margin:0;color:var(--accent-deep);font-size:.88rem;line-height:1.15;font-weight:800}.dashboard-summary-grid{grid-template-columns:repeat(auto-fit,minmax(156px,1fr));gap:clamp(10px,1.4vw,16px);align-items:stretch}.dashboard-summary-card{display:grid;gap:3px;min-height:64px;max-height:6em;padding:8px 10px;align-content:center;justify-items:center;text-align:center}.dashboard-action-card{place-items:center}.dashboard-action-link{min-height:34px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1}.inspection-form{display:grid;gap:14px}.create-inspection-card{display:grid;gap:18px;padding:18px}.inspection-form>.field{align-items:start}.inspection-form input[type=text]{min-height:40px;padding:9px 12px;border-radius:14px;font-size:.9rem;line-height:1.2}.inspection-readonly-input{background:#dfdbd34d!important;color:var(--subtle)!important;cursor:not-allowed}.inspection-upload-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.inspection-upload-grid.locked{opacity:.72}.inspection-upload-card{display:grid;gap:12px;min-height:120px;padding:16px;align-content:start}.inspection-upload-card-featured{min-height:150px}.inspection-submit-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}.inspection-submit-card .primary-button{min-height:36px;padding:0 16px;white-space:nowrap}.inspection-processing-card{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:999px;background:linear-gradient(#fbfcf7f2,#fbfcf7f2) padding-box,conic-gradient(from 0deg,#d15a1d40,#d15a1df2,#0b244c66,#d15a1d40) border-box;box-shadow:inset 0 1px #ffffff80;animation:inspection-processing-border 1.15s linear infinite}.inspection-processing-spinner{width:16px;height:16px;border:2px solid rgba(209,90,29,.2);border-top-color:var(--orange);border-radius:50%;flex:0 0 auto;animation:inspection-processing-spin .85s linear infinite}.inspection-processing-copy{color:var(--accent-deep);font-size:.88rem;font-weight:700;letter-spacing:.01em}.inspection-upload-zone{display:grid;gap:7px;min-height:92px;padding:14px;min-width:0;align-content:center;justify-items:center;border:1px dashed rgba(30,37,71,.24);border-radius:18px;background:linear-gradient(180deg,#ffffffc2,#fbfcf7db),#fbfcf7cc;text-align:center;cursor:pointer}.inspection-upload-zone-button{width:100%;border:1px dashed rgba(30,37,71,.24);-moz-appearance:none;appearance:none;-webkit-appearance:none}.inspection-upload-zone.additional-photos-zone{justify-items:stretch;text-align:left;align-content:center}.inspection-upload-zone input{position:absolute;opacity:0;pointer-events:none}.inspection-hidden-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.inspection-upload-zone:has(input:disabled){cursor:not-allowed}.inspection-upload-action{max-width:100%;color:var(--accent-deep);font-size:.9rem;font-weight:800;line-height:1.1;overflow-wrap:anywhere}.inspection-upload-hint{max-width:260px;color:var(--subtle);font-size:.76rem;line-height:1.35}.inspection-upload-trigger{justify-self:start;min-height:34px;padding:0 12px;white-space:nowrap}.inspection-selected-file-list{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px;max-width:100%;max-height:96px;padding-right:2px;color:var(--subtle);font-size:.72rem;line-height:1.3;overflow-y:auto}.inspection-selected-files-panel{display:grid;gap:8px;min-width:0;max-width:100%;padding:10px 12px;border:1px solid rgba(30,37,71,.08);border-radius:14px;background:#fbfcf7eb;overflow:hidden}.inspection-selected-files-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.inspection-selected-files-count{color:var(--accent-deep);font-size:.74rem;font-weight:800;line-height:1.1}.inspection-selected-file-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 7px;border-radius:999px;background:#6c788c1f;overflow:hidden;white-space:nowrap}.inspection-file-remove-btn{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;border-radius:50%;background:transparent;color:var(--text-secondary, #6c788c);font-size:.9rem;line-height:1;cursor:pointer;transition:background .15s,color .15s}.inspection-file-remove-btn:hover{background:#c832321f;color:#c83232}.inspection-upload-list{display:grid;gap:8px}.inspection-upload-list.tile-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.inspection-upload-list-item{display:grid;grid-template-columns:36px minmax(120px,.8fr) minmax(160px,1fr) auto;gap:10px;align-items:center;width:100%;padding:8px 10px;border:1px solid rgba(30,37,71,.1);border-radius:16px;background:linear-gradient(180deg,#ffffffd6,#fbfcf7db),#fbfcf7cc;color:inherit;text-align:left;cursor:pointer}.inspection-upload-list-item.tile-item{grid-template-columns:36px minmax(0,1fr);align-items:start;min-height:104px;align-content:start}.inspection-upload-list-item.tile-item .inspection-upload-item-copy{display:grid;gap:3px;min-width:0}.inspection-upload-list-item:disabled{cursor:not-allowed}.inspection-upload-list-item.uploaded{border-color:#2a7e5c52;background:linear-gradient(180deg,#f1fbf6f0,#fbfcf7e6),#2a7e5c14}.inspection-upload-item-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:#d15a1d1f;color:var(--accent-deep);font-size:.82rem;font-weight:900}.inspection-upload-item-copy{display:contents}.inspection-upload-item-title{color:var(--accent-deep);font-size:.86rem;font-weight:800;line-height:1.1}.inspection-upload-item-description,.inspection-upload-item-action{color:var(--subtle);font-size:.74rem;line-height:1.25}.inspection-upload-item-tag{display:inline-flex;align-items:center;width:fit-content;min-height:18px;padding:0 6px;border-radius:999px;background:#6c788c1f;color:var(--subtle);font-size:.66rem;font-weight:700;line-height:1}.inspection-upload-item-action{color:var(--orange);font-weight:800;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}@media (max-width: 720px){.inspection-upload-list.tile-list{grid-template-columns:1fr}.inspection-upload-list-item{grid-template-columns:auto minmax(0,1fr)}.inspection-upload-item-copy{display:grid;gap:3px}}.upload-preview-modal{width:min(620px,100%);margin:auto}.upload-preview-panel{display:grid;gap:14px}.upload-preview-placeholder{display:grid;place-items:center;min-height:180px;padding:18px;border:1px dashed rgba(30,37,71,.2);border-radius:18px;background:#fbfcf7c7;text-align:center}.upload-preview-placeholder span{font-size:2rem}.upload-preview-placeholder p{margin:8px 0 0;color:var(--subtle)}.upload-edit-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.upload-edit-button input{position:absolute;opacity:0;pointer-events:none}.inspection-capture-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.inspection-capture-count,.inspection-capture-warning,.inspection-capture-note{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:.74rem;font-weight:800;line-height:1}.inspection-capture-count{border:1px solid rgba(30,37,71,.12);background:#6c788c1f;color:var(--accent-deep)}.inspection-capture-warning{border:1px solid rgba(209,90,29,.24);background:#d15a1d1f;color:var(--orange)}.inspection-capture-note{border:1px solid rgba(30,37,71,.1);background:#fbfcf7e6;color:var(--subtle)}.inspection-status-chip,.inspection-priority-chip{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:999px;font-size:.68rem;font-weight:800;line-height:1;white-space:nowrap}.inspection-status-chip.status-draft{background:#6c788c1f;color:var(--subtle)}.inspection-status-chip.status-in-progress{background:#d15a1d1f;color:var(--orange)}.inspection-status-chip.status-pending-review{background:#0b244c1a;color:var(--accent-deep)}.inspection-status-chip.status-completed{background:#2a7e5c24;color:#2a7e5c}.inspection-priority-chip.priority-high{background:#b33d2f1f;color:#b33d2f}.inspection-priority-chip.priority-medium{background:#d15a1d1f;color:var(--orange)}.inspection-priority-chip.priority-low{background:#2a7e5c1f;color:#2a7e5c}.inspection-type-dropdown{position:relative}.inspection-type-summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:12px;padding:10px 14px;border:1px solid rgba(30,37,71,.16);border-radius:16px;background:linear-gradient(180deg,#fffffff2,#fbfcf7e0),#fbfcf7e6;color:var(--accent-deep);font-weight:700;cursor:pointer;list-style:none;box-shadow:inset 0 1px #ffffffbd,0 8px 18px #1e25470f;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.inspection-type-summary:hover{border-color:#d15a1d6b;box-shadow:inset 0 1px #ffffffbd,0 10px 22px #1e25471a}.inspection-type-summary::-webkit-details-marker{display:none}.inspection-type-summary:after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.7}.inspection-type-dropdown[open] .inspection-type-summary:after{transform:rotate(225deg)}.inspection-type-dropdown[open] .inspection-type-summary{border-color:#d15a1d8c;border-bottom-right-radius:12px;border-bottom-left-radius:12px}.inspection-type-card-list{position:absolute;top:calc(100% + 8px);left:0;z-index:5;display:grid;gap:7px;width:max-content;min-width:100%;max-width:min(680px,calc(100vw - 64px));margin-top:0;max-height:none;overflow:visible;padding:10px;border:1px solid rgba(30,37,71,.12);border-radius:18px;background:linear-gradient(180deg,#ffffffeb,#fbfcf7f5),var(--panel-strong);box-shadow:inset 0 1px #ffffffb8,0 16px 30px #1e25471a}@media (max-width: 720px){.inspection-type-card-list{width:100%;max-width:100%}}.inspection-type-card{display:grid;gap:5px;padding:10px 12px;border:1px solid transparent;border-radius:14px;background:#fbfcf7b8;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.inspection-type-card:hover{border-color:#1e25471f;background:#ffffffdb;transform:translateY(-1px)}.inspection-type-card.selected{border-color:#d15a1d9e;background:linear-gradient(180deg,#fff6eff5,#fbfcf7eb),#d15a1d1f;box-shadow:0 8px 18px #d15a1d1f}.inspection-type-card input{position:absolute;opacity:0;pointer-events:none}.inspection-type-card-title{color:var(--accent-deep);font-size:.9rem;font-weight:800;line-height:1.1}.inspection-type-card-description{color:var(--subtle);font-size:.78rem;line-height:1.35}.inspection-field-label{margin:0;font-size:.88rem;font-weight:700;letter-spacing:.01em}.inspection-radio-row{display:flex;flex-wrap:wrap;gap:10px}.inspection-radio-option{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 14px;border:1px solid rgba(30,37,71,.16);border-radius:14px;background:linear-gradient(180deg,#ffffffe6,#fbfcf7d1),#fbfcf7d6;color:var(--accent-deep);font-size:.88rem;font-weight:700;cursor:pointer;box-shadow:inset 0 1px #ffffffb8;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.inspection-radio-option input{accent-color:var(--orange)}.inspection-radio-option:hover{border-color:#d15a1d61;transform:translateY(-1px);box-shadow:inset 0 1px #ffffffb8,0 8px 18px #1e254714}.inspection-radio-option:has(input:checked){border-color:#d15a1da3;background:linear-gradient(180deg,#fff5edf5,#fbfcf7eb),#d15a1d1f;box-shadow:inset 0 1px #ffffffc2,0 10px 22px #d15a1d24}@media (min-width: 721px){.inspection-form>.field{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:start}.inspection-form>.field>label,.inspection-field-label{padding-top:12px}}.dashboard-summary-label{margin:0;color:var(--subtle);font-size:.72rem;font-weight:700;line-height:1.1}.dashboard-summary-value{margin:0;color:var(--accent-deep);font-size:1.16rem;font-weight:800;line-height:1}.note-band{display:flex;flex-wrap:wrap;gap:10px}.note-band span,.meta-chip,.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;font-size:.7rem;font-weight:700;line-height:1}.note-band span{border:1px solid rgba(30,37,71,.12);background:#6c788c1f;color:var(--accent-deep)}.auth-panel{display:grid;align-content:start;gap:22px;width:100%;position:relative;z-index:1}.auth-panel-standalone{max-width:560px;margin:0 auto;width:100%;padding:clamp(20px,2.2vw,30px);border-radius:34px;border:1px solid rgba(255,255,255,.55);background:linear-gradient(180deg,#ffffffd6,#fbfcf7f0),var(--panel);box-shadow:0 30px 90px #1e254729,inset 0 1px #ffffff8c}.auth-card-brand{display:grid;gap:18px}.auth-brand-lockup{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:18px}.auth-logo-wrap{display:grid;place-items:center}.auth-brand-copy{display:grid;gap:8px}.auth-card-title{font-size:clamp(1.9rem,4vw,2.5rem);line-height:1;letter-spacing:-.03em}.auth-card-eyebrow{color:var(--orange);margin-bottom:0}.auth-card-logo{width:90px;height:auto}.auth-register-note{margin:0;font-size:.96rem;line-height:1.65}.auth-panel-body{display:grid;align-content:start;gap:16px;min-height:0}.step-row,.button-row{display:flex;gap:10px}.step-chip{flex:1;padding:12px 14px;border:1px solid rgba(30,37,71,.1);border-radius:16px;background:#6c788c17;color:var(--subtle);font-size:.86rem;font-weight:700;text-align:center}.step-chip.active{background:linear-gradient(180deg,#ffffffeb,#fbfcf7f5),var(--panel-strong);color:var(--accent-deep);box-shadow:0 12px 30px #1e254714}.button-row>*{flex:1}.tab-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border-radius:20px;background:linear-gradient(180deg,#1e254714,#6c788c1a),#6c788c14;width:100%;box-shadow:inset 0 1px #fff6}.tab-button,.ghost-button,.primary-button,.secondary-button{border:0;border-radius:16px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}.tab-button{padding:12px 14px;background:transparent;color:var(--subtle);font-weight:700;letter-spacing:.01em}.tab-button.active{background:linear-gradient(180deg,#fffffff0,#fbfcf7),var(--panel-strong);color:var(--accent-deep);box-shadow:0 12px 28px #1e25471a}.form-stack{display:grid;gap:14px;width:100%}.auth-login-form{display:flex;flex-direction:column;gap:14px;min-height:100%}.auth-login-form .primary-button{margin-top:8px}.auth-login-form .field:last-of-type,.auth-register-step-one .field:last-of-type{margin-bottom:8px}.auth-register-step-one{display:flex;flex-direction:column;gap:14px;min-height:100%}.auth-register-step-one .primary-button{margin-top:8px}.auth-register-step-two{display:flex;flex-direction:column;gap:14px;min-height:100%}.auth-register-step-two .button-row,.button-row{margin-top:8px}.field{display:grid;gap:8px}.field label{font-size:.88rem;font-weight:700;letter-spacing:.01em}.field input,.field select,.inline-form input{width:100%;padding:14px 16px;border:1px solid rgba(30,37,71,.12);border-radius:18px;background:#ffffffc7;color:var(--ink);outline:none;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.field select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:44px;background-color:var(--panel-strong);background-image:linear-gradient(45deg,transparent 50%,var(--accent-deep) 50%),linear-gradient(135deg,var(--accent-deep) 50%,transparent 50%),linear-gradient(to right,#1e25471a,#1e25471a);background-position:calc(100% - 20px) calc(50% - 3px),calc(100% - 14px) calc(50% - 3px),calc(100% - 42px) 50%;background-size:6px 6px,6px 6px,1px 18px;background-repeat:no-repeat}.field input:focus,.field select:focus,.inline-form input:focus{border-color:#d15a1d8c;box-shadow:0 0 0 4px #d15a1d24}.primary-button,.secondary-button,.ghost-button{padding:13px 16px;font-weight:700}.primary-button{background:linear-gradient(135deg,var(--accent) 0%,var(--amber) 100%);color:var(--panel-strong);box-shadow:0 18px 40px #d15a1d3d}.primary-button.compact,.secondary-button.compact{padding:10px 14px}.secondary-button{background:#6c788c24;color:var(--accent-deep)}.ghost-button{background:#fbfcf7e6;color:var(--accent-deep);border:1px solid var(--line)}.primary-button:hover,.secondary-button:hover,.ghost-button:hover,.tab-button:hover,.sidebar-icon-button:hover,.logout-icon-button:hover{transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled{cursor:wait;opacity:.7}.message{padding:12px 14px;border-radius:18px;font-size:.92rem;line-height:1.5}.message.success{border:1px solid rgba(221,148,78,.24);background:#dd944e1f;color:var(--good)}.message.warning{border:1px solid rgba(187,176,168,.34);background:#bbb0a829;color:var(--warn)}.message.error{border:1px solid rgba(11,36,76,.18);background:#0b244c14;color:var(--bad)}.dashboard-empty{flex:1}.dashboard-head,.section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.modal-close-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(30,37,71,.12);border-radius:10px;background:#fbfcf7eb;color:var(--accent-deep);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.modal-close-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.modal-close-button:hover{transform:translateY(-1px)}.page-inline-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}.page-inline-head-copy{display:grid;gap:4px;min-width:0}.page-inline-head-title-row{display:flex;align-items:center;gap:12px;min-width:0}.page-inline-head-title-row h1{margin:0;min-width:0}.page-inline-head-copy .app-breadcrumbs{margin-bottom:0}.page-inline-head-copy .surface-label{margin-bottom:0;margin-top:4px}.page-inline-head-actions{display:flex;align-items:stretch;gap:10px;align-self:stretch}.page-inline-head-actions .meta-chip,.page-inline-head-actions .primary-button.compact{min-height:34px;height:34px;white-space:nowrap;line-height:1;flex-shrink:0}.page-inline-head-actions .meta-chip{padding:0 12px}.page-inline-head-actions .primary-button.compact{display:inline-flex;align-items:center;justify-content:center;padding:0 14px;text-decoration:none}.account-grid,.admin-grid{display:grid;gap:16px}.account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.surface-card{padding:20px}.surface-label{margin:0 0 10px;color:var(--accent);font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.modal-title{font-size:.94rem;line-height:1.1}.surface-description{margin:0;line-height:1.5}.strong-copy{color:var(--accent-deep);font-weight:700}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-section{padding:22px}.user-grid-shell{display:grid;gap:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px;overflow-y:auto;overscroll-behavior:contain;background:#0b244c57;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{width:min(720px,100%);max-height:min(88vh,920px);overflow:auto;border:1px solid rgba(255,255,255,.58);border-radius:24px;background:linear-gradient(180deg,#fffffff0,#fbfcf7fa),var(--panel-strong);box-shadow:0 28px 72px #1e254733,inset 0 1px #ffffff9e}.inspection-modal-card{min-height:min(420px,82vh)}.user-modal-card .user-grid-editor{gap:18px;padding:22px 22px 20px;border-bottom:0;background:transparent}.modal-card .section-head{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;margin:-22px -22px 0;padding:18px 22px 14px;border-bottom:1px solid rgba(30,37,71,.08);background:linear-gradient(180deg,#fffffffa,#fbfcf7f5),var(--panel-strong);box-shadow:0 10px 24px #1e25470f}.modal-card .section-head>:first-child{min-width:0}.modal-card .modal-close-button{flex-shrink:0}.modal-header-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.modal-icon-button,.modal-close-button{display:inline-flex;align-items:center;justify-content:center}.modal-icon-button{width:32px;height:32px;padding:0;border:1px solid rgba(30,37,71,.12);border-radius:10px;background:#fbfcf7eb;color:var(--accent-deep);cursor:pointer;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.modal-icon-button:hover{transform:translateY(-1px)}.modal-icon-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.user-editor-form{display:grid;gap:16px}.organization-form{display:grid;gap:14px}.user-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-span-2{grid-column:span 2}.password-field-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.password-field-row .secondary-button.compact{min-height:42px;white-space:nowrap}.password-visibility-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;width:42px;padding:0;border:1px solid rgba(209,90,29,.22);border-radius:14px;background:linear-gradient(145deg,#d15a1d24,#0b244c14),#ffffffd6;color:var(--orange);box-shadow:inset 0 1px #ffffffbd,0 10px 22px #1e254714;transition:transform .16s ease,box-shadow .16s ease,color .16s ease,border-color .16s ease,background .16s ease}.password-visibility-button:hover{border-color:#d15a1d57;background:linear-gradient(145deg,#d15a1d33,#0b244c1f),#ffffffeb;color:var(--accent-deep);box-shadow:inset 0 1px #ffffffd1,0 14px 26px #1e25471f}.password-visibility-button:focus-visible{outline:none;border-color:#d15a1d73;box-shadow:0 0 0 4px #d15a1d24,inset 0 1px #ffffffd1,0 14px 26px #1e25471f}.password-visibility-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.checkbox-row{display:inline-flex;align-items:center;gap:10px;color:var(--accent-deep);font-weight:600}.user-editor-actions{justify-content:flex-start}.organization-delete-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#b33d2f1f;color:#b33d2f}.organization-delete-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.user-grid-card{padding:.8em;border:1px solid var(--line);border-radius:22px;background:var(--panel-strong);overflow:hidden}.user-grid-editor{display:grid;gap:18px;padding:18px 18px 16px;border-bottom:1px solid rgba(30,37,71,.08);background:#fbfcf7d6}.inspection-details-editor{border-bottom:0}.inspection-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inspection-detail-field{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffffa3}.inspection-detail-label{color:var(--subtle);font-size:.74rem;font-weight:700;line-height:1.2}.inspection-detail-value{color:var(--accent-deep);font-size:.88rem;line-height:1.35;min-width:0;overflow-wrap:anywhere}.inspection-preview-section,.inspection-file-list{display:grid;gap:10px}.video-link-card{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1.5px solid rgba(30,37,71,.12);border-radius:16px;background:#fffc}.video-link-url{font-size:13px;font-weight:600;color:#1a55e3;word-break:break-all;text-decoration:none}.video-link-url:hover{text-decoration:underline}.video-link-actions{display:flex;gap:8px;flex-wrap:wrap}.inspection-file-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffffb3;text-align:left;color:inherit}.inspection-file-copy{display:grid;gap:4px;min-width:0}.inspection-file-label{color:var(--accent-deep);font-size:.82rem;font-weight:700}.inspection-file-name{color:var(--subtle);font-size:.76rem;overflow-wrap:anywhere}.inspection-file-type{flex:0 0 auto;border-radius:999px;padding:5px 10px;font-size:.68rem;font-weight:800;letter-spacing:.08em}.inspection-file-type.type-image{background:#aeefc980;color:#0d6a4b}.inspection-file-type.type-pdf{background:#ffdcdcb8;color:#cd2c24}.inspection-file-type.type-file{background:#d15a1d24;color:var(--orange)}.extraction-summary-card{display:grid;gap:18px}.extraction-summary-main{display:grid;gap:16px}.extraction-summary-title{margin:0;color:var(--accent-deep);font-size:1.2rem;font-weight:700}.extraction-summary-checklist{display:grid;gap:8px;color:var(--text-sub);font-size:.98rem}.extraction-summary-group{display:grid;gap:8px}.extraction-summary-label{color:#53607ceb;font-size:.74rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase}.extraction-chip-row{display:flex;flex-wrap:wrap;gap:10px}.extraction-chip{display:inline-flex;align-items:center;border-radius:999px;padding:7px 14px;font-size:.82rem;font-weight:700;letter-spacing:.02em}.extraction-chip-success{background:#aeefc9c7;color:#0d6a4b}.extraction-chip-danger{background:#ffdcdcd9;color:#cd2c24}.extraction-summary-fields{display:grid;gap:12px;padding:18px 20px;border:1px solid rgba(30,37,71,.1);border-radius:24px;background:#f7f9fdeb}.extraction-summary-field-list{display:grid;gap:12px;color:var(--text-sub);font-size:.98rem}.extraction-summary-key{color:var(--accent-deep);font-weight:700}.inspection-generated-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.inspection-generated-item{display:grid;gap:5px;padding:10px 12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffff9e;min-width:0}.inspection-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inspection-preview-tile{display:grid;gap:8px;min-width:0}.inspection-preview-image,.inspection-preview-fallback{width:100%;aspect-ratio:4 / 3;border-radius:16px;border:1px solid rgba(30,37,71,.08);background:#fbfcf7eb}.inspection-preview-image{object-fit:cover}.inspection-preview-fallback{display:grid;place-items:center;padding:12px;color:var(--subtle);font-size:.74rem;line-height:1.3;text-align:center}.inspection-preview-caption{color:var(--subtle);font-size:.72rem;line-height:1.2;overflow-wrap:anywhere}.inspection-preview-empty{margin:0;color:var(--subtle);font-size:.84rem}.inspection-quick-review-card{width:min(960px,100%)}.inspection-quick-review-body{display:grid;gap:12px}.inspection-quick-review-image,.inspection-quick-review-frame,.inspection-quick-review-fallback{width:100%;min-height:420px;border:1px solid rgba(30,37,71,.08);border-radius:18px;background:#fbfcf7eb}.inspection-quick-review-image{object-fit:contain}.inspection-quick-review-frame{border:1px solid rgba(30,37,71,.08)}.inspection-quick-review-fallback{display:grid;place-items:center;padding:20px}.user-grid-scroll{overflow:auto}.user-grid-table{width:100%;min-width:980px;border-collapse:collapse}.user-grid-table th,.user-grid-table td{padding:7px 5px;border-bottom:1px solid rgba(30,37,71,.08);text-align:left;vertical-align:middle;font-size:.88rem;line-height:1.15}.user-grid-table th{position:sticky;top:0;z-index:1;background:#fbfcf7f5}.user-grid-table tbody tr:hover{background:#dfdbd33d}.user-grid-primary{color:var(--accent-deep);font-weight:700;font-size:.86rem;line-height:1.1}.sortable-header{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:var(--accent-deep);font-weight:800;cursor:pointer}.sort-icon{width:14px;height:14px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none;opacity:.55}.sort-icon.active{opacity:1}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.icon-action-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid rgba(30,37,71,.12);border-radius:10px;background:#fbfcf7eb;color:var(--accent-deep);cursor:pointer;position:relative;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.tooltip-portal{position:absolute;transform:translate(-50%) translateY(-100%);background:#1e2547;color:#fff;font-size:11px;font-weight:500;line-height:1;white-space:nowrap;padding:5px 9px;border-radius:5px;pointer-events:none;z-index:9999;animation:tooltip-in .12s ease forwards}@keyframes tooltip-in{0%{opacity:0;transform:translate(-50%) translateY(calc(-100% + 4px))}to{opacity:1;transform:translate(-50%) translateY(-100%)}}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.icon-action-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.icon-action-button:hover{transform:translateY(-1px)}.icon-action-button:disabled{cursor:not-allowed;opacity:.45;transform:none}.icon-action-button--danger{color:#c0392b;border-color:#c0392b33}.icon-action-button--danger:hover{background:#c0392b14;border-color:#c0392b66}.icon-spinner{animation:icon-spin .9s linear infinite}@keyframes icon-spin{to{transform:rotate(360deg)}}.danger-button{color:#b33d2f}.inspection-review-button{min-height:30px;padding:0 10px;border:1px solid rgba(209,90,29,.2);border-radius:10px;background:var(--orange);color:#fff;box-shadow:0 10px 24px #d15a1d33;line-height:1;white-space:nowrap}.review-inspection-page{gap:18px}.review-page-title{margin:0;color:var(--accent-deep);font-size:2rem;line-height:1.05}.review-hero-card{padding:16px 18px}.review-hero-copy{display:grid;gap:4px}.review-hero-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.review-inspection-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:20px;align-items:start}.review-main,.review-sidebar,.review-sidebar-stack{display:grid;gap:18px}.review-panel{display:grid;gap:18px;overflow:hidden}.review-panel-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:20px 22px 0}.review-panel>:not(.review-panel-header){margin-inline:22px}.review-panel>.review-add-button:last-child,.review-panel>.review-action-row:last-child{margin-bottom:22px}.review-panel-empty-state{gap:14px}.review-panel-empty-state .review-panel-header{padding-bottom:2px}.review-panel-empty-state>.review-add-button:last-child{margin-top:-2px}.review-panel-driver .review-panel-header,.review-panel-photos .review-panel-header{padding:18px 20px 0}.review-panel-driver>:not(.review-panel-header),.review-panel-photos>:not(.review-panel-header){margin-inline:20px}.review-panel-driver>.review-driver-footer:last-child,.review-panel-photos>.inspection-preview-section:last-child,.review-panel-photos>.review-add-button:last-child,.review-panel-photos>.review-photo-actions:last-child{margin-bottom:20px}.review-panel-title,.review-item-head h4{margin:0;color:var(--accent-deep)}.review-panel-title{font-size:.98rem;line-height:1.25}.review-panel-copy{margin:4px 0 0;color:var(--subtle);font-size:.84rem;line-height:1.45}.review-item-card{display:grid;gap:16px;padding:16px;border:1px solid rgba(30,37,71,.08);border-radius:18px;background:#ffffffd1}.review-item-card-danger{border-color:#f4616180}.review-item-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.review-item-actions{display:flex;align-items:center;gap:8px}.review-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.review-form-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.review-form-grid-compact>.field,.review-form-grid-compact>.checkbox-row{grid-column:span 1;min-width:0}.review-form-grid-compact>.checkbox-row{display:flex;width:100%;min-height:44px;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#fff9}.review-form-grid-compact>.checkbox-row span{min-width:0;overflow-wrap:anywhere}.review-form-grid>.field{grid-column:span 3;min-width:0}.review-form-grid>.field.review-field-small{grid-column:span 2}.review-form-grid>.field.review-field-wide{grid-column:span 6}.review-toggle-row,.review-toggle-grid{display:flex;flex-wrap:wrap;gap:12px}.review-toggle-row .checkbox-row{min-height:38px;padding:8px 10px;border:1px solid rgba(30,37,71,.08);border-radius:14px;background:#ffffffa3}.review-toggle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:start}.review-toggle-grid .checkbox-row{display:flex;width:100%;min-width:0;min-height:44px;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffff85}.review-toggle-grid .checkbox-row span{min-width:0;overflow-wrap:anywhere}.review-summary-list{display:grid;gap:10px}.review-summary-item{display:grid;gap:4px;padding:10px 12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffff85}.review-action-row,.review-photo-actions{display:flex;flex-wrap:wrap;gap:10px}@keyframes inspection-processing-spin{to{transform:rotate(360deg)}}@keyframes inspection-processing-border{to{filter:hue-rotate(360deg)}}.review-sidebar .extraction-summary-title{font-size:1rem}.review-sidebar .extraction-summary-checklist,.review-sidebar .extraction-summary-field-list{font-size:.9rem}.review-sidebar .extraction-summary-fields{padding:16px 18px}.review-alert{padding:12px 16px;border:1px solid rgba(209,90,29,.18);border-radius:16px;font-size:.92rem;line-height:1.5}.review-alert strong{font-weight:700}.review-alert-warning{border-color:#f5b63673;background:#fff7dcdb;color:#6c4b08}.review-alert-info{border-color:#5c9eeb6b;background:#e1efffe6;color:#1f528d}.review-add-button,.review-inline-button{display:inline-flex;justify-content:center;align-items:center;width:100%;min-height:42px;border:1px dashed rgba(30,37,71,.18);border-radius:14px;background:#ffffffbf;color:var(--accent-deep);font-weight:600}.review-inline-button{width:auto;min-height:34px;padding:0 14px;justify-self:start;align-self:start}.review-axle-list{display:grid;gap:10px}.review-axle-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) minmax(0,.8fr) auto auto;gap:16px;align-items:center}.review-axle-row select,.review-axle-row input{width:100%}.review-axle-limit{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:14px;background:#e1effff2;color:#1d5fe3;font-weight:600;white-space:nowrap}.review-axle-remove{border:none;background:transparent;color:#ff4d4f;font-weight:500;white-space:nowrap}.review-divider-line{height:1px;background:#1e254714}.review-inline-caption{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--accent-deep);font-weight:600}.review-subsection{display:grid;gap:14px}.review-subsection-title{margin:0;padding-top:4px;color:var(--accent-deep);font-weight:700;font-size:.92rem}.review-stack{display:grid;gap:12px}.review-segment-card{padding:12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffff9e}.review-route-segment-card{gap:14px}.review-route-segment-grid>.field{grid-column:span 3}.review-driver-ack-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.review-acknowledgement-item{display:grid;gap:8px;min-width:0;color:var(--accent-deep);font-weight:600}.review-driver-confirm{display:grid;gap:8px;color:var(--accent-deep);font-weight:600}.review-driver-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);gap:18px;align-items:end}.review-driver-confirm,.review-driver-footer .field{min-width:0}.review-driver-confirm .checkbox-row{width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid rgba(30,37,71,.08);border-radius:16px;background:#ffffffa3}.review-driver-confirm .checkbox-row span{min-width:0;overflow-wrap:anywhere}.review-sidebar .review-panel{background:#fffffff5}.review-sidebar .review-sidebar-stack,.review-sidebar .review-summary-list{margin-bottom:22px}.inspection-preview-tile-editable{position:relative}.inspection-preview-remove{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;justify-content:center;align-items:center;width:26px;height:26px;border:none;border-radius:999px;background:#fffffff0;color:#b33d2f}.inspection-preview-remove svg{width:14px;height:14px;stroke:currentColor;stroke-linecap:round;stroke-width:1.8;fill:none}.review-action-row .secondary-button.compact,.review-action-row .primary-button.compact,.review-photo-actions .secondary-button.compact,.review-photo-actions .primary-button.compact{min-height:34px}.field textarea{width:100%;min-height:86px;padding:12px 14px;border:1px solid rgba(30,37,71,.12);border-radius:18px;background:#ffffffc7;color:var(--ink);outline:none;resize:vertical;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.field textarea:focus{border-color:#d15a1d8c;box-shadow:0 0 0 4px #d15a1d24}.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid rgba(30,37,71,.08);background:#fbfcf7db}.pagination-summary{margin:0;color:var(--subtle);font-size:.82rem;line-height:1.15}.pagination-actions{display:flex;align-items:center;gap:8px}.pagination-icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid rgba(30,37,71,.12);border-radius:10px;background:#fbfcf7eb;color:var(--accent-deep);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.pagination-icon-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.pagination-icon-button:hover{transform:translateY(-1px)}.pagination-icon-button:disabled{cursor:not-allowed;opacity:.42;transform:none}.pagination-page-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;line-height:1}.inline-form{display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:18px}.list-stack{display:grid;gap:12px;margin-top:18px}.list-item,.approval-card{padding:16px}.list-item{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:16px;background:#dfdbd385}.list-item code{color:var(--accent-deep);font-weight:700}.approval-card{display:flex;justify-content:space-between;gap:18px}.approval-card h4{margin-bottom:8px;color:var(--accent-deep)}.approval-card p{margin:4px 0 0}.action-row{display:flex;gap:10px;align-items:center}.meta-chip{border:1px solid rgba(30,37,71,.12);background:#6c788c1f;color:var(--accent-deep)}.status-badge{border:1px solid transparent}.status-toggle-button{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.status-toggle-button:hover{transform:translateY(-1px)}.status-toggle-button:disabled{cursor:wait;opacity:.7;transform:none}.status-live,.status-approved,.status-active{background:#dd944e24;color:var(--good)}.status-pending{background:#bbb0a833;color:var(--warn)}.status-rejected,.status-suspended,.status-inactive{background:#0b244c1f;color:var(--bad)}.empty-state{display:grid;place-items:center;min-height:160px;padding:18px;border:1px dashed rgba(30,37,71,.18);border-radius:18px}@media (max-width: 1024px){.page-grid,.admin-grid,.account-grid,.summary-grid{grid-template-columns:1fr}.dashboard-summary-grid{grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:10px}.app-header{flex-direction:column}.app-topbar{gap:10px;min-height:64px;padding:12px 14px;flex-wrap:wrap}.app-topbar-left{flex:1 1 auto;width:auto;min-width:0}.header-brand{display:flex}.header-brand .eyebrow{margin:0;font-size:.7rem;line-height:1.2;letter-spacing:.12em}.app-layout{grid-template-columns:1fr;min-height:calc(100dvh - 120px)}.app-workspace{padding:0}.app-workspace .app-header{padding:8px 0 10px}.sidebar-icon-button{display:inline-flex}.app-topbar-actions{margin-left:auto;flex-shrink:0}.app-page-title{order:3;flex:0 0 100%;width:100%;text-align:center}.app-sidebar{position:fixed;top:72px;left:0;bottom:10px;width:min(240px,calc(100vw - 12px));z-index:30;transform:translate(calc(-100% - 20px));transition:transform .18s ease}.sidebar-brand{display:none}.app-sidebar.open{transform:translate(0)}.app-sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;border:0;background:#0b244c2e;opacity:0;pointer-events:none;transition:opacity .18s ease}.app-sidebar-backdrop.open{opacity:1;pointer-events:auto}.sidebar-toggle{display:inline-flex}.app-content{padding:0;min-height:calc(100dvh - 120px)}.user-editor-grid{grid-template-columns:1fr}.field-span-2{grid-column:span 1}.page-inline-head{grid-template-columns:minmax(0,1fr) auto;align-items:end}.page-inline-head-actions{flex-wrap:nowrap;align-self:end}.user-grid-editor{padding:14px 14px 12px}.review-inspection-layout{grid-template-columns:1fr;gap:18px}.review-form-grid>.field,.review-form-grid>.field.review-field-small,.review-form-grid>.field.review-field-wide{grid-column:span 6}.review-driver-ack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-driver-footer{grid-template-columns:1fr}.review-form-grid-compact,.review-axle-row{grid-template-columns:repeat(2,minmax(0,1fr))}.review-route-segment-grid>.field{grid-column:span 6}}@media (max-width: 720px){.app-shell,.auth-shell{min-height:100dvh}.panel{padding:22px}.app-header,.app-main{width:min(100%,calc(100% - 20px))}.app-shell:not(.auth-shell) .app-header{width:min(100%,calc(100% - 8px))}.app-shell:not(.auth-shell) .app-main{width:min(100%,calc(100% - 20px))}.app-content{padding:0}.modal-backdrop{padding:12px}.modal-card{width:100%;max-height:min(92vh,920px);border-radius:20px}.modal-card .section-head{margin:-22px -22px 0;grid-template-columns:minmax(0,1fr) auto;flex-direction:unset}.app-footer{padding:8px 0 10px}.app-breadcrumbs{margin-bottom:10px}.dashboard-summary-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.inline-form,.approval-card,.dashboard-head,.section-head{grid-template-columns:1fr;flex-direction:column}.action-row{width:100%;flex-wrap:wrap}.dashboard-summary-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px}.dashboard-summary-card{min-height:60px;padding:7px 8px}.dashboard-summary-label{font-size:.68rem}.dashboard-summary-value{font-size:1.02rem}.page-inline-head{grid-template-columns:1fr;align-items:stretch}.page-inline-head-actions{flex-wrap:wrap;align-self:auto}.review-item-head,.review-panel-header,.review-action-row,.review-photo-actions{flex-direction:column;align-items:flex-start}.review-page-title{font-size:1.5rem}.review-form-grid{grid-template-columns:1fr}.review-form-grid>.field,.review-form-grid>.field.review-field-small,.review-form-grid>.field.review-field-wide{grid-column:span 1}.review-hero-meta,.review-action-row,.review-photo-actions{width:100%}.review-panel>:not(.review-panel-header){margin-inline:14px}.review-panel-header,.review-panel-driver .review-panel-header,.review-panel-photos .review-panel-header{padding:16px 14px 0}.review-panel-driver>:not(.review-panel-header),.review-panel-photos>:not(.review-panel-header){margin-inline:14px}.review-panel>.review-add-button:last-child,.review-panel>.review-action-row:last-child,.review-sidebar .review-sidebar-stack,.review-sidebar .review-summary-list{margin-bottom:14px}.review-panel-empty-state{gap:12px}.review-driver-ack-grid,.review-driver-footer,.review-form-grid-compact{grid-template-columns:1fr}.review-axle-row{grid-template-columns:1fr;gap:10px}.user-grid-table{min-width:0}.user-grid-table thead{display:none}.user-grid-table,.user-grid-table tbody,.user-grid-table tr,.user-grid-table td{display:block;width:100%}.user-grid-table tbody{display:grid;gap:12px;padding:12px}.user-grid-table tr{border:1px solid var(--line);border-radius:18px;background:#dfdbd33d;overflow:hidden}.user-grid-table td{display:grid;grid-template-columns:1fr;gap:6px;padding:10px 12px;border-bottom:1px solid rgba(30,37,71,.08);align-items:center}.user-grid-table td:last-child{border-bottom:0}.user-grid-table td:before{content:attr(data-label);color:var(--subtle);font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px}.row-actions{width:100%}.pagination-bar{flex-direction:column;align-items:stretch}.pagination-actions{justify-content:space-between}.shell-copy{font-size:.95rem}.auth-layout{min-height:100%;width:100%}.auth-panel-body{min-height:auto}.auth-stage{width:100%}.auth-brand-lockup{grid-template-columns:1fr;justify-items:center;text-align:center}.app-topbar{align-items:flex-start;min-height:62px;padding:10px 12px}.app-topbar-actions{width:auto;justify-content:flex-end}.auth-panel-standalone{max-width:none;border-radius:28px;padding:18px}.step-row,.button-row{flex-direction:column}}.track-shell{min-height:100vh;background:#f4f6fa;color:#111827;font-family:system-ui,-apple-system,sans-serif;display:flex;flex-direction:column}.track-header{background:#1a2744;color:#fff;padding:16px 20px;position:sticky;top:0;z-index:10}.track-header-inner{display:flex;justify-content:space-between;align-items:center;max-width:640px;margin:0 auto}.track-header-title{font-size:17px;font-weight:800}.track-header-sub{font-size:11px;color:#89a;margin-top:3px}.track-survey-id{font-size:12px;font-weight:700;color:var(--brand-primary, #e8620a);background:#e8620a26;padding:4px 10px;border-radius:6px}.track-main{flex:1;padding:8px 12px 24px;max-width:640px;margin:0 auto;width:100%;box-sizing:border-box}.track-state{text-align:center;padding:40px 20px;color:#5a6a7e}.track-state-error{color:#c0392b}.track-card{background:#fff;border-radius:12px;padding:16px;margin-top:12px;border:1px solid #d1d9e6}.track-card-title{font-size:11px;font-weight:700;color:#5a6a7e;text-transform:uppercase;letter-spacing:.7px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f4f6fa}.track-field{margin-bottom:10px}.track-field:last-child{margin-bottom:0}.track-field-label{font-size:10px;font-weight:600;color:#5a6a7e;text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px}.track-field-value{font-size:14px;font-weight:700;color:#1a2744}.track-field-value-sm{font-size:13px;font-weight:400}.track-field-row{display:flex;gap:16px;margin-bottom:4px}.track-field-row>.track-field{flex:1}.track-badge{display:inline-block;padding:3px 10px;border-radius:6px;font-size:11px;font-weight:700}.track-badge-active{background:#e8f8f0;color:#27ae60}.track-badge-inactive{background:#fdedec;color:#c0392b}.track-route-box{background:#f4f6fa;border-radius:8px;padding:10px 12px;font-size:12px;color:#1a2744;margin:8px 0;border-left:3px solid var(--brand-primary, #e8620a)}.track-movement{display:flex;align-items:center;gap:8px;padding:8px 0}.track-movement-end{flex:1}.track-movement-end-right{text-align:right}.track-movement-city{font-size:16px;font-weight:700;color:#1a2744;margin:2px 0}.track-movement-arrow{color:var(--brand-primary, #e8620a);font-size:20px;font-weight:900;flex-shrink:0}.track-footer{text-align:center;padding:24px 20px;font-size:11px;color:#89a;border-top:1px solid #d1d9e6;margin-top:auto}.track-footer-brand{color:var(--brand-primary, #e8620a);font-weight:700}
