:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#20382f;background:#f4f6f3;font-size:14px;--green:#244b3b;--ink:#20382f;--muted:#718177;--border:#dde4dd;--cream:#f5f6f2;--red:#bc443b;--yellow:#a47726}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-decoration:none}button{border:0;background:transparent;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9abb91;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:600;letter-spacing:-.6px;line-height:1.4}h2{font-size:21px;font-weight:600}h3{font-size:16px;font-weight:600}small{color:var(--muted);font-size:12px;line-height:1.6}label{display:grid;gap:7px;font-size:13px;font-weight:500}input,select,textarea{background:#fff;color:var(--ink);border:1px solid var(--border);border-radius:8px;min-height:40px;padding:9px 11px;width:100%;min-width:0}textarea{resize:vertical;line-height:1.7}input[type=checkbox]{width:17px;min-height:17px;margin:0;accent-color:var(--green)}.workspace{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--border);padding:30px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;margin:0 10px 45px}.brand strong{display:block;font-size:19px;letter-spacing:1px}.brand small{display:block;margin-top:5px;font-size:11px}.brand-logo-mark{width:52px;height:52px;border-radius:14px;object-fit:cover;display:block;box-shadow:0 1px 5px #17332612}.monogram{width:42px;height:42px;border-radius:12px;background:var(--green);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:600;letter-spacing:-2px}.nav-label{font-size:11px;color:#8d9991;letter-spacing:2px;margin:0 12px 13px}.sidebar nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;border-radius:9px;padding:13px;font-size:13px;color:#64796c;min-height:44px}.nav-item>span{font-size:21px;width:22px;text-align:center}.nav-item:hover{background:#f3f6f0}.nav-item.active{background:#e8eee5;color:var(--green);font-weight:600}.back-admin-nav{margin-top:4px}.count-dot{font-size:10px;background:var(--red);color:white;border-radius:12px;padding:3px 6px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--border);font-size:11px;color:#607567}.sidebar-bottom small{display:block;margin:7px 0 0;font-size:11px}.live-dot{display:inline-block;background:#719268;width:6px;height:6px;border-radius:50%;margin-right:5px}.content-area{min-width:0}.topbar{height:76px;padding:0 36px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#ffffff80;gap:12px}.breadcrumb{font-size:12px;color:#738177}.breadcrumb span{padding:0 12px;color:#b5beb6}.top-actions{display:flex;gap:18px;align-items:center;font-size:12px}.user-chip{background:#e6ede2;padding:8px 13px;border-radius:20px}.icon-button{font-size:25px}.environment{margin:16px 36px 0;padding:10px 14px;border:1px solid #d9dfcb;background:#eef1e3;border-radius:7px;font-size:12px;line-height:1.6;color:#65724a}.environment strong{color:#3d583a}main{padding:30px 36px;max-width:1650px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a9b8d;margin-bottom:9px}.page-heading p{color:var(--muted);font-size:13px;line-height:1.8;margin-top:8px}.primary{background:var(--green);color:#fff;border-radius:8px;min-height:41px;padding:11px 18px;white-space:nowrap;box-shadow:0 3px 7px #244b3b12}.primary:hover{background:#173e2f}.secondary{border:1px solid #d6dfd3;background:#fff;border-radius:8px;min-height:38px;padding:9px 14px;white-space:nowrap}.secondary:hover{background:#f1f5ed}.danger-button{border-color:#e6c9c4;color:#a73730}.text-button{color:var(--green);font-size:12px;font-weight:600;padding:8px 0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--border);border-radius:12px;padding:19px 21px;text-align:left}.stat-label{color:#7a897d;font-size:12px}.stat-value{font-size:32px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums;margin-top:7px;letter-spacing:-1px}.stat-value small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:8px}.stat-note{font-size:11px;color:#8a978b;margin-top:3px}.stat.urgent .stat-value{color:var(--red)}.home-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:20px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid #edf0e9}.panel-header h3{display:flex;align-items:center;gap:9px}.subtle{color:#8b998c;font-size:12px;font-weight:400}.panel-body{padding:20px 22px}.section-note{font-size:12px;line-height:1.8;color:#819080}.alert-row{display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:15px;padding:18px 22px;border-bottom:1px solid #edf0e9;align-items:center}.alert-row:last-child{border-bottom:0}.alert-line{background:#c7d2bc;border-radius:4px;height:45px}.alert-row.urgent .alert-line{background:#cca450}.alert-row.critical .alert-line{background:#bd594d}.alert-title{font-size:14px;font-weight:500;line-height:1.6}.alert-meta{font-size:11px;line-height:1.7;color:#82917e;margin-top:5px}.status-pill{display:inline-flex;gap:5px;align-items:center;padding:4px 8px;border-radius:5px;font-size:11px;white-space:nowrap;background:#edf2e8;color:#517249}.status-pill.critical,.status-pill.returned{background:#fbece9;color:#b5463b}.status-pill.urgent,.status-pill.pending{background:#f7f0df;color:#a77a29}.status-pill.completed,.status-pill.received{background:#e7f2e9;color:#377448}.status-pill.cancelled{background:#f0f1ee;color:#949e93}.tomorrow-row{display:grid;grid-template-columns:47px minmax(0,1fr);gap:12px;padding:15px 22px;border-bottom:1px solid #eef1e9}.tomorrow-row:last-child{border:0}.time{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;padding-top:2px}.tomorrow-row h4{font-size:13px;font-weight:500;margin:0 0 5px}.tomorrow-row p{font-size:11px;color:#7d8d80;line-height:1.8}.journey-illustration{display:flex;align-items:center;gap:12px;padding:25px 22px;background:#f5f7f1;color:#708165;font-size:12px}.journey-illustration span{height:1px;background:#ccd7c2;flex:1}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{font-size:11px;font-weight:500;background:#f8f9f5;color:#83907e;padding:12px 16px;text-align:left;white-space:nowrap}td{padding:16px;border-bottom:1px solid #eef1e9;vertical-align:middle;line-height:1.7}td small{display:block;font-size:11px}tr:last-child td{border-bottom:0}.task-table{min-width:780px}.table-title{font-weight:500;color:#294231}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;align-items:center}.filters input{flex:1;min-width:180px}.filters select,.filters input[type=date]{width:auto;min-width:130px}.filters .count{margin-left:auto;font-size:12px;color:#8a9885}.order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.order-card{background:white;border:1px solid var(--border);border-radius:12px;padding:22px}.order-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.order-card h3{line-height:1.6}.order-card .source{font-size:11px;color:#8c9787;margin-top:5px}.order-info{display:grid;gap:9px;margin:20px 0;font-size:12px;color:#6d806c;line-height:1.7}.order-card footer{padding:14px 0 0;margin:0;border-top:1px solid #edf0e8;display:flex;align-items:center;justify-content:space-between;font-size:12px}.progress{height:4px;background:#edf1e7;border-radius:4px;margin-top:16px;overflow:hidden}.progress span{display:block;background:#759865;height:100%}.empty{padding:40px 22px;color:#879780;text-align:center;line-height:1.9;font-size:13px}.empty strong{display:block;font-size:17px;color:#526b4b;margin-bottom:8px}.notification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.message{border:1px solid var(--border);border-radius:12px;padding:20px;background:white;min-width:0}.message-header{display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:12px}.message-avatar{background:#e5eedc;width:35px;height:35px;border-radius:8px;display:grid;place-items:center;font-size:20px}.message pre{font-family:inherit;font-size:13px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f0;padding:15px;border-radius:8px;margin:0}.message.urgent pre,.message.critical pre{color:#b74432;background:#fdf2ec}.channel-banner{display:flex;gap:15px;align-items:center;padding:20px 24px;background:#eaf0e3;border-radius:12px;margin-bottom:22px;line-height:1.8;font-size:13px}.channel-banner small{display:block}.channel-banner>span{font-size:27px}.task-cards{display:none}.task-card{background:white;border:1px solid var(--border);border-radius:10px;padding:17px;margin-bottom:12px}.task-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.task-card .route{font-size:13px;line-height:1.7}.task-card .driver{font-size:12px;color:#7a8e71;margin:12px 0}.task-card>footer{padding:12px 0 0;margin:0;border-top:1px solid var(--border);display:flex;justify-content:space-between}.notice{background:#e7f0df;border:1px solid #cbdcc0;color:#426b31;padding:12px 15px;border-radius:8px;margin-bottom:18px;line-height:1.7}.notice.error{background:#fff0eb;border-color:#efc9bd;color:#a13d2b}.content-area>footer{display:flex;justify-content:space-between;gap:12px;padding:0 36px 24px;font-size:10px;color:#99a492}.mobile-nav{display:none}dialog{border:0;border-radius:14px;padding:0;color:var(--ink);background:#fff;box-shadow:0 24px 90px #102d3250;max-height:92vh;max-height:92dvh;overflow:auto}dialog::backdrop{background:#17342680;backdrop-filter:blur(3px)}.order-dialog{width:min(1080px,calc(100% - 40px))}.task-dialog{width:min(660px,calc(100% - 40px))}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 28px;border-bottom:1px solid var(--border);gap:12px}.close-button{font-size:27px;color:#86977e;min-width:38px;min-height:38px}.order-editor{display:grid;grid-template-columns:330px minmax(0,1fr)}.paste-pane{padding:24px;background:#f4f7ef;border-right:1px solid var(--border)}.paste-pane p{font-size:12px;color:#7a8d70;line-height:1.8;margin:10px 0 20px}.paste-pane>label{margin-bottom:8px}.paste-pane textarea{margin:0 0 10px;font-size:13px;background:#fffffff0}.inline-actions{display:flex;gap:8px;flex-wrap:wrap}.inline-actions button{font-size:12px}.parse-status{font-size:12px;line-height:1.8;color:#729062;margin:16px 0}.parse-warning{font-size:12px;line-height:1.8;padding:5px 0;color:#a2762d}.form-pane{padding:24px 28px}.form-pane h3{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}.form-grid>*{min-width:0}.full{grid-column:1/-1}.required{color:#ae614f}.form-grid label small{font-size:10px}.date-control{display:flex;gap:8px;margin-top:7px}.date-control input{flex:1}.date-chips{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.date-chip{display:inline-flex;align-items:center;gap:9px;font-size:12px;background:#eaf0e2;color:#4d6b3e;padding:6px 9px;border-radius:6px}.date-chip button{font-size:17px;line-height:1}.order-summary{background:#edf3e5;border-radius:7px;padding:12px 14px;margin-top:20px;color:#5f7e4a;font-size:12px;line-height:1.8}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 28px;border-top:1px solid var(--border);background:#fff;position:sticky;bottom:0}.dialog-footer>span{font-size:11px;color:#89947f}.dialog-footer>div{display:flex;gap:10px}.form-errors{background:#fcece7;color:#ae3c2b;font-size:13px;line-height:1.8;padding:12px 24px}.check-line{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.6}.check-line input{flex:none}.task-info{padding:20px 26px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.task-info small{display:block;font-size:11px;margin-bottom:6px}.task-info p{font-size:13px;line-height:1.8}.task-section{padding:21px 26px;border-top:1px solid var(--border)}.task-section h3{margin-bottom:16px}.task-section .form-grid{gap:14px}.task-section .inline-actions{margin-top:16px}.task-section .check-line{margin-top:15px}.link-evidence{padding:14px;background:#f4f7ee;border-radius:8px;font-size:11px;line-height:1.9;overflow-wrap:anywhere;margin-top:12px}.timeline-entry{font-size:12px;line-height:1.8;padding:12px 0;border-bottom:1px solid #edf1e8}.timeline-entry:last-child{border:0}.timeline-entry small{display:block}.updated-field{border-color:#81a969!important;background:#f8fff2!important}.conflict-row{margin:10px 0;font-size:12px;line-height:1.7}.conflict-row button{display:block;color:#385f2a;text-decoration:underline}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid label{margin-top:16px}.entry-choice{display:block;width:100%;text-align:left;border:1px solid #d8e2cc;padding:10px;border-radius:7px;margin:7px 0;font-size:12px;background:white}.entry-choice.active{border-color:#71925c;background:#edf3e6}[hidden]{display:none!important}.app-demo .workspace{display:block;max-width:430px;margin:auto;background:#f4f6f3;min-height:100vh;border-inline:1px solid #dce2d5;box-shadow:0 15px 80px #17332620}.app-demo .sidebar{display:none}.app-demo .topbar{height:auto;min-height:65px;padding:12px 18px}.app-demo .breadcrumb{display:none}.app-demo .top-actions{justify-content:space-between;width:100%;gap:8px}.app-demo main{padding:25px 17px 95px}.app-demo .environment{margin:12px 17px 0}.app-demo .page-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.app-demo h1{font-size:23px}.app-demo .page-heading p{font-size:12px}.app-demo .page-heading>.primary{font-size:12px;padding:10px 13px}.app-demo .stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.app-demo .stat{padding:14px}.app-demo .stat-value{font-size:28px}.app-demo .home-columns,.app-demo .order-grid,.app-demo .notification-grid,.app-demo .settings-grid{grid-template-columns:1fr}.app-demo .panel-header{padding:17px}.app-demo .alert-row{padding:15px 17px;gap:10px}.app-demo .table-panel{display:none}.app-demo .task-cards{display:block}.app-demo .content-area>footer{display:none}.app-demo .mobile-nav{display:flex;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);justify-content:space-around;background:#fffffff7;border-top:1px solid var(--border);padding:9px 7px max(10px,env(safe-area-inset-bottom));z-index:4}.mobile-nav button{display:grid;gap:4px;justify-items:center;min-width:58px;font-size:22px;color:#9ca58e;min-height:46px}.mobile-nav button span{font-size:10px}.mobile-nav button.active{color:#2f593b}.app-demo dialog{max-width:410px;width:calc(100% - 20px)}.app-demo .order-editor{grid-template-columns:1fr}.app-demo .paste-pane{border-right:0;border-bottom:1px solid var(--border);padding:18px}.app-demo .paste-pane textarea{min-height:110px;height:150px}.app-demo .form-pane{padding:20px 18px}.app-demo .dialog-heading{padding:16px 18px}.app-demo .dialog-footer{padding:14px 18px;flex-wrap:wrap}.app-demo .dialog-footer>div{width:100%;justify-content:flex-end}.app-demo .task-info,.app-demo .task-section{padding:18px}.app-demo .dialog-heading h2{font-size:19px}
@media(max-width:1050px){.workspace{grid-template-columns:195px minmax(0,1fr)}main{padding:25px}.topbar{padding-inline:25px}.home-columns{grid-template-columns:1fr}.stat{padding:16px}.order-editor{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:700px){.workspace{display:block}.sidebar{display:none}.topbar{height:auto;min-height:65px;padding:12px 18px}.breadcrumb{display:none}.top-actions{justify-content:space-between;width:100%;gap:8px}main{padding:25px 17px 95px}.environment{margin:12px 17px 0}.page-heading{align-items:flex-start;gap:12px;margin-bottom:20px}h1{font-size:23px}.page-heading p{font-size:12px}.page-heading>.primary{font-size:12px;padding:10px 13px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:14px}.stat-value{font-size:28px}.home-columns,.order-grid,.notification-grid,.settings-grid{grid-template-columns:1fr}.panel-header{padding:17px}.alert-row{padding:15px 17px;gap:10px}.table-panel{display:none}.task-cards{display:block}.content-area>footer{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:#fffffff7;border-top:1px solid var(--border);padding:9px 7px max(10px,env(safe-area-inset-bottom));z-index:4}dialog{width:calc(100% - 20px)!important;max-height:95dvh}.order-editor{grid-template-columns:1fr}.paste-pane{border-right:0;border-bottom:1px solid var(--border);padding:18px}.paste-pane textarea{min-height:110px;height:150px}.form-pane{padding:20px 18px}.dialog-heading{padding:16px 18px}.dialog-footer{padding:14px 18px;flex-wrap:wrap}.dialog-footer>div{width:100%;justify-content:flex-end}.task-info,.task-section{padding:18px}.dialog-heading h2{font-size:19px}input,select,textarea{font-size:16px}.form-grid{gap:15px 12px}.filters input{min-width:140px}.channel-banner{padding:17px}}
@media(prefers-reduced-motion:no-preference){dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.mobile-nav button{position:relative}.mobile-nav .count-dot{position:absolute;right:3px;top:-3px;font-size:10px}.mobile-nav .count-dot[hidden]{display:none}

.grouped-overview-row td{background:#fbfcf8}.grouped-overview-row td:first-child{box-shadow:inset 4px 0 0 #cbd9bf}.grouped-overview-card{background:#fbfcf8}

/* Task table header filters: page-local display state, shared with mobile cards. */
.column-filter-button{display:flex;align-items:center;gap:7px;min-height:32px;padding:3px 0;color:inherit;font-size:12px;font-weight:600;text-align:left;white-space:nowrap}.column-filter-button svg{flex-shrink:0;opacity:.6}.column-filter-button:hover{color:var(--green)}.column-filter-button.is-filtered{color:#24633f}.column-filter-button.is-filtered svg{opacity:1;fill:#dcebd8}.filter-active-dot{width:5px;height:5px;border-radius:50%;background:#32734b;flex-shrink:0}.table-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;color:#6a7c6f;font-size:12px}.table-filter-bar>small{margin-left:auto}.table-filter-bar>.text-button{margin-left:auto}.table-filter-tags{display:flex;flex-wrap:wrap;gap:6px}.table-filter-tags button{background:#e5eddf;border-radius:6px;color:#315638;padding:6px 9px;font-size:11px}.table-filter-empty{text-align:center;padding:40px 20px;color:var(--muted);white-space:normal}.table-filter-dialog{width:440px;max-width:calc(100% - 20px)}.table-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:22px}.table-filter-fields label{min-width:0}.table-filter-fields label:only-child{grid-column:1/-1}.table-filter-dialog .dialog-footer{gap:12px}.table-filter-dialog .dialog-footer>div{display:flex;gap:8px}.mobile-column-filters{display:none}.app-demo .mobile-column-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.app-demo .mobile-column-filters .column-filter-button{border:1px solid var(--border);border-radius:7px;background:#fff;padding:7px 10px}.app-demo .table-filter-dialog .dialog-footer{flex-wrap:nowrap}.app-demo .table-filter-dialog .dialog-footer>div{width:auto}.app-demo .table-filter-fields{grid-template-columns:1fr}
@media(max-width:700px){.mobile-column-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.mobile-column-filters .column-filter-button{border:1px solid var(--border);border-radius:7px;background:#fff;padding:7px 10px}.table-filter-bar>small{margin-left:0}.table-filter-dialog .dialog-footer{flex-wrap:nowrap}.table-filter-dialog .dialog-footer>div{width:auto}}
@media(max-width:400px){.table-filter-fields{grid-template-columns:1fr}}

/* Customer intake: preserve incomplete inquiries and per-line source evidence. */
.intake-dialog{width:min(1240px,calc(100% - 32px));max-height:94dvh}.intake-editor{display:grid;grid-template-columns:300px minmax(0,1fr)}.intake-editor>.paste-pane{min-width:0}.intake-editor>.paste-pane textarea{min-height:290px}.intake-form{padding:25px 28px;min-width:0}.intake-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 12px}.intake-form .order-summary{margin:0 0 14px}.intake-row{border:1px solid var(--border);border-radius:9px;padding:16px;margin:12px 0;background:#fff}.intake-row>header{display:flex;gap:10px;align-items:center;margin-bottom:12px}.intake-row>header>button{margin-left:auto}.intake-basics{display:grid;grid-template-columns:2fr 1fr .6fr 1fr;gap:12px;align-items:start}.intake-basics input,.intake-basics select{font-size:13px}.intake-evidence{color:#7b8e72;font-size:11px;line-height:1.8;margin:12px 0 8px;overflow-wrap:anywhere}.intake-row summary,.intake-form>.form-grid summary{font-size:12px;cursor:pointer;padding:8px 0;color:#416837}.intake-row details[open] .form-grid,.intake-form>.form-grid details[open] .form-grid{padding:12px 0}.intake-source-detail pre{white-space:pre-wrap;font:12px/1.8 inherit;background:#f4f7ef;padding:12px;border-radius:6px;overflow-wrap:anywhere}.intake-material{display:grid;grid-template-columns:1fr 110px 35px;gap:10px;margin:10px 0}.intake-material:last-child{margin-bottom:20px}.intake-help{border-top:1px solid #dce4d5;padding-top:16px;margin-top:24px;font-size:12px;color:#71896a;line-height:1.9}.intake-line-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 0}.intake-form>.section-note{margin-top:15px;line-height:1.8}.intake-dialog .dialog-footer>span{max-width:250px}.app-demo .intake-editor{grid-template-columns:1fr}.app-demo .intake-form{padding:20px 16px}.app-demo .intake-editor>.paste-pane textarea{min-height:150px}.app-demo .intake-basics{grid-template-columns:1fr 1fr}.app-demo .intake-basics>label:first-child{grid-column:1/-1}.app-demo .intake-dialog .dialog-footer>div{display:grid;grid-template-columns:1fr}.app-demo .intake-dialog .dialog-footer>span{display:none}.app-demo .intake-row{padding:12px}
@media(max-width:850px){.intake-editor{grid-template-columns:1fr}.intake-editor>.paste-pane{border-right:0;border-bottom:1px solid var(--border)}.intake-editor>.paste-pane textarea{min-height:140px;height:170px}.intake-help{display:none}.intake-form{padding:20px 16px}.intake-basics{grid-template-columns:1fr 1fr}.intake-basics>label:first-child{grid-column:1/-1}.intake-dialog .dialog-footer>span{display:none}.intake-dialog .dialog-footer>div{width:100%;display:flex}.intake-dialog .dialog-footer button{flex:1;font-size:12px;padding:11px 8px}.intake-row{padding:12px}}
.pending-intake-panel{margin-bottom:24px}.pending-intake-panel .alert-row>div{min-width:0;overflow-wrap:anywhere}.pending-intake-panel .text-button{flex-shrink:0;white-space:normal}.intake-next-step{padding:14px 16px;margin:4px 0 18px;background:#f4f6ee;border-radius:9px;font-size:13px}.intake-next-step .section-note{margin:7px 0 0}

/* Future intake files and per-vehicle controls; shared by desktop and admin App. */
.future-file-drop{padding:20px 16px;border:1px dashed #9aac9e;border-radius:12px;background:#f7faf6;cursor:pointer;text-align:center;margin:0 0 12px}.future-file-drop strong,.future-file-drop small{display:block}.future-file-drop small{font-size:12px;color:#718577;margin-top:7px}.future-file-drop.dragging,.future-file-drop:focus-visible{outline:2px solid #285343;background:#e8f0e8}.future-file-drop[aria-disabled=true]{opacity:.6;cursor:wait}.future-file-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:12px}.intake-row-actions{display:flex;gap:10px;flex-wrap:wrap;margin-left:auto}.intake-row>header{flex-wrap:wrap}.intake-row-actions .text-button{font-size:12px}.top-actions{flex-wrap:wrap}.intake-editor .paste-pane{min-width:0}#createDriverFields{margin:12px 0;padding:14px;background:#f6f8f4;border-radius:10px}.app-demo #accountButton{font-size:12px}@media(max-width:700px){.intake-row-actions{margin:0;width:100%}.future-file-drop{padding:15px 10px}.top-actions{gap:8px}}

.intake-line-route{display:block;font-size:12px;line-height:1.65;font-weight:400;color:#718577;margin-top:5px}.intake-line-summary{align-items:flex-start}

/* Intake missing-field guidance: shows exactly what blocks task generation. */
.intake-missing-status,.intake-missing-summary{border:1px solid #efb0a5;background:#fff3ef;color:#9f2f24;border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.7;margin:10px 0}.intake-missing-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start}.intake-missing-summary>span{font-weight:700;color:#b43328}.intake-missing-summary ul{margin:0;padding-left:16px}.intake-missing-summary li{margin:2px 0}.intake-missing-summary strong{margin-right:8px;color:#842a22}.intake-row.has-missing,.order-card.has-missing,.alert-row.has-missing{border-color:#efb0a5!important;box-shadow:inset 4px 0 0 #d44a3a}.intake-line-summary.has-missing{background:#fff6f2;border-radius:8px;padding:8px 10px;margin-inline:-10px}.intake-field-missing{color:#9f2f24!important}.intake-field-missing-control{border-color:#d84b3a!important;background:#fff8f5!important;box-shadow:0 0 0 3px rgba(216,75,58,.12)!important}.future-date-trigger.intake-field-missing-control{color:#9f2f24}.intake-missing-hint,.intake-missing-inline{color:#b43328!important;font-weight:700}.intake-next-step.has-missing{background:#fff3ef;color:#9f2f24}.intake-next-step.has-missing .section-note{color:#9f2f24}.app-demo .intake-missing-summary{grid-template-columns:1fr}.app-demo .intake-missing-summary>span{display:inline-block}

/* Future orders list: grouped table with true merged cells. */
.order-table-panel{overflow:hidden}.order-list-table{min-width:1180px;border-collapse:separate;border-spacing:0;font-size:12px}.order-list-table thead th{position:sticky;top:0;z-index:1}.order-list-table tbody.order-group tr:first-child td{border-top:10px solid #f4f6f3}.order-list-table tbody.order-group:first-of-type tr:first-child td{border-top:0}.order-list-table td{background:#fff}.order-list-table tr.needs-attention td{background:#fffdf7}.order-list-table .order-merged-cell{vertical-align:middle;text-align:center;background:#fbfcf8}.order-list-table .order-project-cell{text-align:center;min-width:210px;box-shadow:inset 4px 0 0 #cbd9bf}.order-project-cell h3{margin-bottom:4px;font-size:15px}.order-project-cell .status-pill{display:inline-flex;margin:10px 0 6px}.order-progress-note{font-size:11px;line-height:1.7;color:#637767}.order-date-cell{min-width:82px;font-weight:700;color:var(--green);white-space:nowrap}.order-reminder-cell{min-width:150px;color:#66786b;line-height:1.7}.order-action-cell{min-width:108px}.order-actions{display:grid;gap:6px;justify-items:center}.order-list-table .nowrap{white-space:nowrap}.order-list-table .route-cell{min-width:230px;max-width:360px}.order-list-table .route-cell small{overflow-wrap:anywhere;white-space:normal}.order-list-table .status-pill+small{margin-top:5px;max-width:260px}.app-demo .order-list-table{min-width:1060px}.app-demo .order-table-panel{margin-bottom:90px}
@media(max-width:700px){.order-list-table{min-width:1040px}.order-table-panel .table-scroll{border-radius:12px}.order-list-table th,.order-list-table td{padding:12px 13px}.order-project-cell h3{font-size:14px}}

/* Future intake dialog shell: keep header and actions visible while only the editor body scrolls. */
.intake-dialog{overflow:hidden}
.intake-dialog[open]{display:flex;flex-direction:column;height:94dvh;max-height:94dvh}
.intake-dialog>.dialog-heading,.intake-dialog>.dialog-footer{flex:0 0 auto;background:#fff;z-index:2}
.intake-dialog>.dialog-heading{position:relative;top:auto}
.intake-dialog>.intake-editor{flex:1 1 auto;min-height:0;overflow:hidden;overscroll-behavior:contain}.intake-dialog>.intake-editor>.paste-pane{min-height:0;overflow:auto;overscroll-behavior:contain}.intake-dialog>.intake-editor>.intake-form{min-height:0;overflow:auto;overscroll-behavior:contain}
.intake-dialog>.form-errors{flex:0 0 auto;max-height:18dvh;overflow:auto}
.intake-dialog>.dialog-footer{position:relative;bottom:auto;box-shadow:0 -8px 22px rgba(36,75,59,.08)}
@media(max-width:850px){.intake-dialog[open]{height:95dvh;max-height:95dvh}.intake-dialog>.intake-editor{overflow:auto;-webkit-overflow-scrolling:touch}.intake-dialog>.intake-editor>.paste-pane,.intake-dialog>.intake-editor>.intake-form{overflow:visible}}

/* Future intake project row: keep raw project and linked project controls aligned. */
.intake-project-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px;align-items:start}
.intake-project-pair>label{min-width:0;align-self:start}
.intake-project-pair input{min-height:48px}
.intake-project-pair small{min-height:18px}
@media(max-width:850px){.intake-project-pair{grid-template-columns:1fr}}

/* future-time-picker-20260909a */
.future-time-input{cursor:pointer;background-image:linear-gradient(90deg,transparent calc(100% - 42px),rgba(35,83,65,.06) calc(100% - 42px));caret-color:transparent}.future-time-input:focus{outline:2px solid rgba(35,83,65,.22);outline-offset:2px}.future-time-popover{position:fixed;z-index:100000;background:#fff;border:1px solid rgba(35,83,65,.18);border-radius:22px;box-shadow:0 22px 60px rgba(25,55,43,.22);padding:16px;color:#173d31}.future-time-popover h4{margin:12px 0 8px;font-size:14px;letter-spacing:.08em;color:#6d8278}.future-time-hour-grid,.future-time-minute-grid,.future-time-days,.future-time-weekdays{display:grid;gap:8px}.future-time-hour-grid{grid-template-columns:repeat(6,1fr)}.future-time-minute-grid{grid-template-columns:repeat(6,1fr)}.future-time-popover button{border:1px solid rgba(35,83,65,.14);background:#f7faf6;color:#173d31;border-radius:12px;min-height:40px;font-weight:700}.future-time-popover button:hover{background:#edf5eb}.future-time-popover button.active{background:#235341;color:#fff;border-color:#235341;box-shadow:0 8px 18px rgba(35,83,65,.18)}.future-time-date{padding-bottom:10px;border-bottom:1px solid rgba(35,83,65,.1)}.future-time-month{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-bottom:10px;text-align:center}.future-time-weekdays,.future-time-days{grid-template-columns:repeat(7,1fr)}.future-time-weekdays span{text-align:center;font-size:12px;color:#7c9187;font-weight:700}.future-time-days button,.future-time-blank{min-height:34px;border-radius:10px}.future-time-blank{display:block}.future-time-summary{margin-top:12px;padding:10px 12px;border-radius:12px;background:#f2f7ee;color:#49695b;font-weight:700}.future-time-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.future-time-actions button{padding:0 14px}.future-time-actions .primary{background:#235341;color:#fff;border-color:#235341}@media(max-width:760px){.future-time-popover{left:12px!important;right:12px!important;width:auto!important;max-height:calc(100dvh - 24px);overflow:auto}.future-time-hour-grid{grid-template-columns:repeat(4,1fr)}}
.vehicle-number-preview{display:grid;gap:6px;border:1px solid #dbe6d4;background:#f3f8ef;color:#38583f;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.7}.vehicle-number-preview strong{font-size:13px;color:#244b3b}.vehicle-number-preview span{font-weight:600;color:#315c3f}.vehicle-number-preview small{font-size:11px;color:#718177}

/* Future intake flight lookup: backend-only provider query, no browser API key exposure. */
.flight-lookup-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe6d4;background:#f7faf4;border-radius:9px;padding:11px 13px;color:#416150;font-size:12px;line-height:1.6}.flight-lookup-panel strong{display:block;color:#244b3b;font-size:13px}.flight-lookup-panel small{display:block;color:#718577}.flight-lookup-panel.success{border-color:#b8d9b8;background:#edf8ed}.flight-lookup-panel.warning{border-color:#edc8a0;background:#fff8ec}.flight-lookup-panel button{flex:0 0 auto}.app-demo .flight-lookup-panel{align-items:stretch;flex-direction:column}.app-demo .flight-lookup-panel button{width:100%}@media(max-width:700px){.flight-lookup-panel{align-items:stretch;flex-direction:column}.flight-lookup-panel button{width:100%}}


/* Task lists split view: left active tasks, right cancelled tasks. */
.task-view-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:start}.task-list-panel{margin-bottom:0}.task-list-panel .panel-body{padding:0}.task-list-panel .table-filter-bar{padding:16px 18px 12px}.task-list-panel .table-panel{margin:0}
@media(max-width:1050px){.task-view-grid{grid-template-columns:1fr}}
@media(max-width:700px){.task-view-grid{grid-template-columns:1fr}.task-list-panel .table-filter-bar{padding:0}.task-list-panel .panel-body{padding:16px 0 0}}
