:root{--bg:#F4F9F4;--panel:#FFFFFF;--ink:#1B3A1F;--muted:#4A6B4E;--line:#C8E6C9;--brand:#66BB6A;--brand-dark:#4CAF50;--brand-soft:#E8F5E9;--accent:#A5D6A7;--amber:#F57C00;--amber-bg:#FFF3E0;--blue:#1976D2;--blue-bg:#E3F2FD;--red:#C62828;--red-bg:#FFEBEE;--danger:#C62828;--gray:#5F7A63;--gray-bg:#E8F5E9;--shadow:0 1px 2px rgba(27,94,32,.04),0 10px 30px rgba(27,94,32,.08);font-family:"Times New Roman","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(900px 520px at 92% -12%,rgba(121,217,143,.2),transparent 62%),linear-gradient(145deg,#F5FCFB 0%,var(--bg) 58%,#E5F7F3 100%)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(57,198,180,.32);outline-offset:2px}.boot{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.spinner{width:34px;height:34px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}
.login{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(900px 520px at 88% 0%,rgba(121,217,143,.2),transparent 60%),radial-gradient(700px 520px at 5% 100%,rgba(57,198,180,.13),transparent 65%),#EAF5F2}.login-card{width:min(820px,100%);display:grid;grid-template-columns:320px minmax(0,1fr);border-radius:24px;overflow:hidden;background:var(--panel);box-shadow:0 32px 90px rgba(5,69,59,.17);border:1px solid rgba(151,202,189,.7)}.login-hero{min-height:430px;padding:48px;display:grid;place-items:center;background:linear-gradient(155deg,#FFFFFF 0%,#EAF4EC 100%);border-right:1px solid rgba(178,214,204,.7)}.login-brand-logo{display:block;width:220px;max-width:100%;height:auto}.login-form{min-height:430px;padding:48px;display:flex;flex-direction:column;justify-content:center}.login-form h2{font-size:28px;margin:0 0 32px;color:var(--brand-dark)}.field{display:grid;gap:8px;margin-bottom:17px}.field label{font-size:13px;font-weight:600}.field input,.toolbar select{border:1px solid #AFCFC7;border-radius:11px;padding:12px 14px;color:var(--ink);background:#fff;outline:none}.field input:focus,.toolbar select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(57,198,180,.2)}.primary{border:0;border-radius:11px;padding:13px 18px;background:var(--brand-dark);color:#fff;font-weight:650;box-shadow:0 8px 18px rgba(76,175,80,.32)}.primary:disabled{opacity:.6;cursor:wait}.error{background:var(--red-bg);color:var(--red);border:1px solid #F1C9CC;padding:11px 13px;border-radius:10px;font-size:13px;margin-bottom:16px}
.shell{min-height:100vh;display:grid;grid-template-columns:1fr}.side{position:fixed;left:0;top:0;bottom:0;width:228px;transform:translateX(-100%);transition:transform .25s ease;z-index:100;background:#fff;color:var(--ink);padding:22px 14px;display:flex;flex-direction:column;box-shadow:12px 0 36px rgba(5,45,41,.13)}.side-trigger{position:fixed;left:0;top:0;bottom:0;width:10px;z-index:99}.side-trigger:hover~.side,.side:hover{transform:translateX(0)}.workspace{min-width:0;transition:padding .25s ease}.side-trigger:hover~.workspace,.side:hover~.workspace{padding-left:228px}.side .logo{padding:0 7px 24px;color:var(--brand-dark)}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;color:var(--ink);text-align:left;padding:12px 14px;border-radius:10px}.nav button.active{background:var(--brand-soft);box-shadow:none;color:var(--brand-dark);font-weight:650}.nav button[disabled]{opacity:.58;cursor:not-allowed}.side-foot{margin-top:auto;border-top:1px solid var(--line);padding:18px 8px 0}.who{font-weight:650;color:var(--ink)}.role{font-size:12px;color:var(--muted);margin-top:3px}.logout{margin-top:14px;border:1px solid var(--line);color:var(--brand-dark);background:transparent;border-radius:9px;padding:8px 12px;width:100%}.workspace{min-width:0}.topbar{height:64px;background:rgba(248,253,251,.82);backdrop-filter:blur(16px);border-bottom:1px solid rgba(178,214,204,.7);box-shadow:0 4px 18px rgba(7,75,64,.035);position:sticky;top:0;z-index:5}.topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1360px;margin:0 auto;padding:0 28px}.topbar h1{font-size:19px;margin:0;color:var(--brand-dark)}.live{display:flex;align-items:center;gap:7px;color:var(--brand-dark);font-size:12px}.live i{width:8px;height:8px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px rgba(57,198,180,.18)}.content{padding:26px 28px 50px;max-width:1360px;margin:auto}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff 40%,#F1FBF7);border:1px solid rgba(178,214,204,.78);border-radius:15px;padding:18px;box-shadow:var(--shadow)}.stat::after{content:"";position:absolute;width:72px;height:72px;border-radius:50%;right:-30px;top:-32px;background:rgba(102,187,106,.12)}.stat span{font-size:13px;color:#59736C}.stat strong{display:block;font-size:28px;margin-top:7px;color:var(--brand-dark)}.panel{background:rgba(255,255,255,.94);border:1px solid rgba(178,214,204,.78);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:17px;margin:0;color:var(--brand-dark)}.toolbar{display:flex;gap:10px}.toolbar select{padding:8px 12px}
.nav button[data-page="dashboard"]{display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-toast{position:fixed;right:24px;top:82px;z-index:220;width:min(360px,calc(100vw - 48px));display:flex;flex-direction:column;gap:5px;padding:15px 18px;border:1px solid #EF9A9A;border-radius:13px;background:#fff;color:#1B3A1F;text-align:left;box-shadow:0 18px 48px rgba(67,20,20,.2)}.notification-toast strong{color:#C62828;font-size:14px}.notification-toast span{font-size:13px;line-height:1.5}
.toolbar input[type="search"]{padding:8px 12px;border:1px solid #AFCFC7;border-radius:9px;background:#fff;color:var(--ink);outline:none;min-width:200px}
/* 工具栏控件统一形式：同高度、同圆角、同边框色，按钮统一深色文字 */
.toolbar select{appearance:none;padding:8px 30px 8px 12px;border-radius:9px;border-color:#AFCFC7;background:#fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M2.5%204.5%206%208l3.5-3.5'%20fill='none'%20stroke='%236B7B77'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center/12px 12px}
.toolbar input[type="search"]{border-color:#AFCFC7}
.toolbar .link-button{padding:8px 12px;font-size:inherit;font-weight:inherit;margin-right:0}
.toolbar input[type="search"]:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(57,198,180,.2)}.refresh{border:1px solid #AFCFC7;background:rgba(255,255,255,.84);border-radius:9px;padding:8px 12px;color:var(--ink)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:1100px}th,td{text-align:center;padding:13px 16px;border-bottom:1px solid #D7E7E2;font-size:13px}th{color:#45645C;font-size:12px;background:#E4F2EE}tbody tr:hover{background:#F0FAF6}.mono{font-variant-numeric:tabular-nums}.tag{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:12px;background:var(--gray-bg);color:var(--gray)}.tag.waiting{background:var(--amber-bg);color:var(--amber)}.tag.progress{background:var(--blue-bg);color:var(--blue)}.tag.done{background:var(--brand-soft);color:var(--brand-dark)}.tag.exception{background:var(--red-bg);color:var(--red)}.empty{text-align:center;padding:58px 20px;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin-bottom:7px}.load-row{text-align:center;padding:42px;color:var(--muted)}
.audit-result-count{font-size:12px;font-weight:500;color:var(--muted);margin-left:6px}
.account-sections{display:grid;gap:24px}.account-audit-panel .panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-audit-panel .panel-head h2{margin:0}.account-audit-panel .empty{min-height:120px}
.account-table{min-width:720px}.account-role-label{display:inline-flex;margin-left:9px;padding:2px 7px;border-radius:999px;background:#DDEDE4;color:var(--brand-dark);font-size:11px;font-weight:700;vertical-align:middle}
.table-wrap th,.table-wrap td{text-align:center;vertical-align:middle}
.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.page-intro h2{font-size:26px;margin:5px 0;color:var(--brand-dark)}.page-intro p{margin:0;color:var(--muted);font-size:14px}.compact{width:auto;padding:10px 16px}.muted{color:var(--muted)}
.link-button{border:1px solid #AFCFC7;background:rgba(255,255,255,.84);border-radius:9px;padding:6px 12px;color:var(--ink);font-weight:650;font-size:12px;margin-right:6px}.link-button:hover{background:var(--brand-soft);border-color:var(--brand)}.link-button:disabled{opacity:.5}
.link-button.danger-link{border-color:#F1C9CC;color:var(--red)}.link-button.danger-link:hover{background:var(--red-bg);border-color:var(--red)}
.mask{position:fixed;inset:0;background:rgba(4,42,37,.52);backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px;z-index:30}.modal{width:min(780px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid rgba(178,214,204,.85);border-radius:20px;box-shadow:0 28px 80px rgba(5,45,41,.24)}.modal.wide-modal{width:min(1040px,100%)}.modal>header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:rgba(250,254,252,.94);border-bottom:1px solid #D4E8E2}.modal h3{margin:0;color:var(--brand-dark);font-size:18px}.icon-button{border:0;background:transparent;color:var(--muted);font-size:26px;line-height:1}.modal-body{padding:26px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{display:grid;gap:7px;color:var(--muted);font-size:13px}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select{width:100%;min-height:42px;border:1px solid #AFCFC7;border-radius:10px;padding:9px 11px;background:#fff;color:var(--ink);outline:none}.form-grid select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231E584F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}.form-grid select:disabled{background-color:#F3F7F5;color:var(--muted);cursor:not-allowed}.field-hint{color:var(--muted);font-size:12px}.form-grid input:focus,.form-grid select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(57,198,180,.2)}form footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:32px;padding-top:18px;border-top:1px dashed var(--line);grid-column:1/-1}.confirm-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:22px}form footer .primary,.confirm-actions .primary{border:1px solid var(--brand);background:#fff;color:var(--ink);box-shadow:none}form footer .primary:hover,.confirm-actions .primary:hover{background:var(--brand-soft)}.form-error{margin-top:14px}.binding-result{text-align:center}.binding-result p{color:var(--muted);line-height:1.7}.binding-code{display:inline-block;margin:18px 0;padding:15px 24px;border:1px dashed var(--brand);border-radius:13px;background:var(--brand-soft);color:var(--brand-dark);font:700 28px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em}
.dispatch-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.dispatch-summary>div{padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:#F7FCFA}
.dispatch-summary .full{grid-column:1/-1}.dispatch-summary .full strong{display:block;white-space:pre-wrap;overflow-wrap:anywhere}
.notification-list{max-height:600px;overflow-y:auto}
.notification-item{padding:16px 20px;border-bottom:1px solid #D7E7E2;transition:background 0.2s}
.notification-item:hover{background:#F0FAF6}
.notification-item.unread{background:var(--brand-soft)}
.notification-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.notification-header strong{font-size:14px;color:var(--brand-dark)}
.notification-time{font-size:12px;color:var(--muted)}
.notification-content{font-size:13px;color:var(--ink);line-height:1.6;margin-bottom:8px}
.notification-detail footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #D7E7E2}.notification-detail footer .refresh{min-width:96px;color:var(--brand-dark);border-color:#AFCFC7}.notification-detail footer .refresh:hover{border-color:var(--brand);color:var(--brand-dark)}
.notification-ref{font-size:12px;color:var(--muted);padding-top:8px;border-top:1px solid #D7E7E2}.dispatch-summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.dispatch-summary strong{font-size:14px}.section-label{font-size:14px;font-weight:700;color:var(--brand-dark);margin:20px 0 12px;text-align:center;padding:10px;background:var(--brand-soft);border-radius:10px}
/* 分配车队弹窗：负责车队字段（标签在上，下拉框在下，与信息卡片左对齐同圆角） */
.dispatch-fleet-field{display:grid;gap:8px;margin-bottom:20px}
.dispatch-fleet-field>span{font-size:12px;color:var(--muted);font-weight:600}
.dispatch-fleet-field select{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fff;color:var(--ink);outline:none;font:inherit}
.dispatch-fleet-field select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(57,198,180,.2)}.vehicle-list{display:grid;gap:9px;max-height:300px;overflow:auto}.vehicle-option{display:flex;align-items:center;gap:12px;border:1px solid #CFE5DF;border-radius:11px;padding:12px 13px;cursor:pointer;background:#fff}.vehicle-option:has(input:checked){border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 2px rgba(57,198,180,.12)}.vehicle-option input{accent-color:var(--brand-dark);width:17px;height:17px}.vehicle-option span{display:grid;gap:4px}.vehicle-option small{color:var(--muted)}.selection-count{margin-top:12px;color:var(--brand-dark);font-size:13px;font-weight:650}.compact-empty{padding:28px 14px}
/* 车次详情信息区：三列等分、上下分隔线；标签与数值共用同一左边线（左对齐），内容垂直居中 */
.modal.trip-facts-modal>header{border-bottom:0}
.modal.trip-facts-modal .modal-body{padding-top:0}
.trip-detail .detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:14px 24px;margin:0 0 20px;padding:20px 0;border-top:1px solid #A3BCAB;border-bottom:1px solid #A3BCAB}
.trip-detail .detail-grid>div{display:grid;align-content:center;justify-items:start;text-align:left;gap:5px;min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.trip-detail .detail-grid>div>span{color:#7A8C82;font-size:13px;margin:0}
.trip-detail .detail-grid strong{font-size:15px;font-weight:650;color:#15372E;overflow-wrap:anywhere;text-align:left}
.trip-detail .detail-grid .full{grid-column:1/-1}
/* 车次详情：尚无定位点时不显示「暂无定位」与禁用的空时间轴；有轨迹的回放控件和按钮行保留 */
.trip-detail .track-map-shell:has(input[data-track-timeline][disabled]) .track-player-head,
.trip-detail .track-map-shell:has(input[data-track-timeline][disabled]) input[data-track-timeline]{display:none}
/* 车次详情：地图底部按钮行收拢居中，不再铺满整行 */
.trip-detail .track-player{padding:8px 14px}
/* 三个按钮按三列等分、各自居中，列中心与上方「到场 / 装车 / 回场」进度节点对齐 */
.trip-detail .track-player-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:center;gap:0;max-width:560px;box-sizing:border-box;padding:0 12px;margin:6px auto 0}
.trip-detail .track-player-actions .link-button{min-width:64px}
.trip-detail .track-player-actions>span{flex:0 0 auto}
/* 车次详情：作业进度步骤条收拢并居中；标题条与字号保持原始样式 */
.trip-detail .workflow-track{max-width:560px;margin:0 auto 6px;padding:0 12px;text-align:center}
.trip-detail .workflow-step{align-items:center;text-align:center;gap:4px}
.trip-detail .step-node{width:28px;height:28px}
.trip-detail .step-line{margin-bottom:20px}
/* 车次详情：图例改为叠在地图右侧的说明卡片，底部不再单独占一行 */
.trip-detail .track-map-shell{position:relative}
.trip-detail .track-map-legend{position:absolute;top:12px;right:12px;z-index:6;display:flex;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:4px;width:max-content;min-width:0;box-sizing:border-box;padding:7px 9px;border:1px solid #CFE5DF;border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 2px 10px rgba(8,55,48,.08);font-size:11.5px}
.trip-detail .track-map-legend button{padding:3px 4px;gap:6px}
.trip-detail .track-map-legend span{display:inline-flex;gap:6px}
.trip-detail .track-map-legend strong{margin-left:0;font-size:11px;line-height:1.4}
.error-text{color:var(--red)!important}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}
.track-map-shell{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#F2F8F6;margin-bottom:20px}.track-map-canvas{position:relative;min-height:420px}.interactive-track-map{width:100%;height:420px;min-height:320px;cursor:grab}.interactive-track-map:active{cursor:grabbing}.track-map-canvas>img{display:none;width:100%;height:auto;min-height:320px;object-fit:cover;background:#EAF4F1}.track-map-canvas>img.ready{display:block}.track-map-loading{position:absolute;inset:0;z-index:5;display:grid;place-items:center;min-height:320px;background:rgba(242,248,246,.9);color:var(--muted)}.track-map-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 14px;background:#fff;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.track-map-legend span{display:flex;align-items:center;gap:6px}.track-map-legend strong{margin-left:auto;color:var(--brand-dark)}.legend-dot{width:12px;height:12px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(8,55,48,.24);display:inline-block}.legend-dot.start{background:#2D7DD2}.legend-dot.current{background:#E36B2C}.legend-dot.destination{background:#4CAF50}
.track-map-loading[hidden]{display:none}.track-player{padding:14px;background:#F8FCFA;border-top:1px solid var(--line)}.track-player-head,.track-player-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.track-player-head{font-size:12px;color:var(--muted);margin-bottom:10px}.track-player-head span{font-weight:700;color:var(--brand-dark)}.track-player input[type="range"]{width:100%;accent-color:var(--brand-dark)}.track-player-actions{margin-top:9px}.track-player-actions>span{flex:1;text-align:center;font-size:12px;color:var(--muted)}.live-track-button.active,.track-play-button.active{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-dark)}
.photo-item{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.photo-stage{padding:8px 10px;background:var(--brand-soft);color:var(--brand-dark);font-size:12px;font-weight:650}
.photo-thumb{width:100%;height:120px;object-fit:cover;display:block;background:#f5f5f5}
.photo-meta{padding:6px 10px;display:grid;gap:2px}
.photo-meta small{color:var(--muted);font-size:11px;line-height:1.4}
@media(max-width:820px){.login-card{grid-template-columns:1fr}.login-hero{display:none}.login-form{padding:40px 28px;min-height:430px}.shell{grid-template-columns:1fr}.side{display:none}.topbar-inner{padding:0 18px}.content{padding:18px}.stats{grid-template-columns:1fr 1fr}.panel-head,.page-intro{align-items:flex-start;flex-direction:column}.toolbar{width:100%}.toolbar select{flex:1}.form-grid,.dispatch-summary{grid-template-columns:1fr}.form-grid label.full,.dispatch-summary>div:last-child{grid-column:auto}}

/* 评审统一设计令牌与任务优先级 */
body{background:#F5F6F7}.panel,.stat{background:#FFF;border-color:#E1E7E2;border-radius:16px}.page-intro h2{font-size:28px}.priority-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.priority-pill{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:14px 18px;border:1px solid #E0E6E1;border-radius:15px;background:#FFF;color:#333}.priority-pill span{font-size:15px;font-weight:700}.priority-pill strong{font-size:24px}.priority-pill.urgent strong{color:var(--red)}.priority-pill.action strong{color:var(--amber)}.priority-pill.view strong{color:#666}.priority-pill.active{border-color:var(--brand-dark);box-shadow:0 0 0 3px rgba(76,175,80,.16)}.priority-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:#F1F3F1;color:#555;font-size:12px;font-weight:650;white-space:nowrap}.priority-tag i{width:8px;height:8px;border-radius:50%;background:#888}.priority-tag.urgent{background:var(--red-bg);color:var(--red)}.priority-tag.urgent i{background:var(--red)}.priority-tag.action{background:var(--amber-bg);color:var(--amber)}.priority-tag.action i{background:var(--amber)}.priority-row-urgent{background:#FFF5F5}.vehicle-count-badge{display:inline-flex!important;margin-left:10px!important;padding:3px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark)!important;font-size:12px!important;font-weight:700}.related-company-cell{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-detail{overflow:hidden;border:1px solid #E1E7E2;border-radius:12px;background:#FFF}.source-detail-head,.source-detail>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center;padding:11px 18px;border-bottom:1px solid #EEF1EF}.source-detail-head{background:#F7FAF8;border-bottom:1px solid #E1E7E2}.source-detail-head>span{color:var(--muted);font-size:12.5px;font-weight:650}.source-detail>div:last-child{border-bottom:0}.source-detail>div>span{color:var(--muted);font-size:13px}.source-detail>div>strong{color:var(--ink);font-size:14px;font-weight:600;overflow-wrap:anywhere}.form-grid textarea{width:100%;min-height:100px;border:1px solid #AFCFC7;border-radius:10px;padding:10px 11px;font:inherit;color:var(--ink);resize:vertical}.form-grid select[multiple]{min-height:110px;padding:8px;background-image:none}.fleet-card-list{display:grid;gap:20px;padding:20px;background:#F5F6F7}.fleet-profile-card{overflow:hidden;border:1px solid #DDE6DF;border-radius:18px;background:#FFF;box-shadow:var(--shadow)}.fleet-profile-card>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:#F7FBF7;border-bottom:1px solid #E0E8E1}.fleet-profile-card h3{margin:0 0 6px;color:#333;font-size:20px}.fleet-profile-card p{margin:0;color:#666}.fleet-card-actions{display:flex;gap:8px}.driver-vehicle-card{margin:18px;border:1px solid #C8E6C9;border-radius:15px;overflow:hidden}.driver-vehicle-card .fleet-driver-head{padding:14px 16px;background:#E8F5E9}.driver-vehicle-card .fleet-driver-head>div{display:flex;align-items:center}.certificate-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:18px}.certificate-toolbar span{color:var(--muted);font-size:13px}.certificate-list{display:grid;gap:10px}.certificate-list article{display:flex;align-items:center;gap:8px;padding:13px 14px;border:1px solid var(--line);border-radius:12px}.certificate-list article>div{display:grid;flex:1;gap:4px}.certificate-list article span{color:var(--muted);font-size:12px}.modal-actions{display:flex;justify-content:flex-end;margin-top:20px}@media(max-width:820px){.priority-summary{grid-template-columns:1fr}.fleet-profile-card>header{align-items:flex-start;flex-direction:column}.fleet-card-actions{width:100%}}
body{background:#F5F6F7}.panel,.stat{background:#FFF;border-color:#E1E7E2;border-radius:16px}.page-intro h2{font-size:28px}.return-board{margin-bottom:18px;overflow:hidden;border:1px solid #BCDCCF;border-radius:18px;background:#fff;box-shadow:var(--shadow)}.return-board>header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:linear-gradient(120deg,#E9F8F1,#F8FCFA)}.return-board>header span{color:var(--muted);font-size:12px}.return-board>header h2{margin:4px 0 0;color:var(--brand-dark);font-size:22px}.return-board>header>strong{font-size:44px;color:var(--brand-dark)}.return-board>header>strong small{margin-left:5px;font-size:14px}.return-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line)}.return-metric{display:grid;gap:4px;padding:15px 18px;border:0;background:#fff;text-align:left;color:var(--ink)}.return-metric:hover,.return-metric.active{background:var(--brand-soft)}.return-metric span{font-size:13px}.return-metric strong{font-size:26px;color:var(--brand-dark)}.return-metric small{color:var(--muted);font-size:11px}.return-vehicle-list{display:grid;border-top:1px solid var(--line)}.return-vehicle-list button{display:grid;grid-template-columns:150px 1fr minmax(220px,auto);align-items:center;gap:12px;padding:13px 20px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;color:var(--ink)}.return-vehicle-list button:hover{background:#F5FBF8}.return-plate{font-weight:750;color:var(--brand-dark)}.return-stage{text-align:right;color:#356B5B}.return-empty{padding:18px;text-align:center;color:var(--muted)}.task-alerts{margin-bottom:18px;border:1px solid #F0C7C7;border-radius:16px;background:#fff;overflow:hidden}.task-alerts>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:#FFF7F7}.task-alerts>header h2{margin:0 0 3px;font-size:17px}.task-alerts>header span{color:var(--muted);font-size:12px}.task-alerts>header>strong{display:grid;place-items:center;min-width:34px;height:34px;border-radius:999px;background:#FDE7E9;color:#C62828}.task-alerts>div{display:grid}.task-alerts button{display:grid;grid-template-columns:110px 180px 1fr auto;align-items:center;gap:12px;padding:13px 18px;border:0;border-top:1px solid var(--line);background:#fff;color:var(--ink);text-align:left}.task-alerts button:hover{background:#FFF9F9}.task-alerts button small{color:var(--muted)}.task-alerts button i{font-style:normal;color:var(--brand-dark)}.alert-label{color:#C62828;font-weight:700}.primary-fleet-tag{display:inline-flex;margin-right:6px;padding:2px 7px;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-size:11px;font-weight:700}.related-company-cell small{display:block;margin-top:3px;color:var(--muted)}.fleet-relation-picker{grid-column:1/-1;margin:0;padding:14px;border:1px solid #AFCFC7;border-radius:12px}.fleet-relation-picker legend{padding:0 6px;color:var(--brand-dark);font-weight:700}.fleet-relation-picker>p{margin:0 0 10px;color:var(--muted);font-size:12px}.fleet-relation-picker>div{display:grid;gap:7px}.fleet-relation-picker label{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.fleet-relation-picker input{width:17px;height:17px;accent-color:var(--brand-dark)}.fleet-relation-picker em{font-style:normal;color:var(--muted);font-size:12px}.related-company-cell{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-grid textarea{width:100%;min-height:100px;border:1px solid #AFCFC7;border-radius:10px;padding:10px 11px;font:inherit;color:var(--ink);resize:vertical}.fleet-card-list{display:grid;gap:20px;padding:20px;background:#F5F6F7}.fleet-profile-card{overflow:hidden;border:1px solid #DDE6DF;border-radius:18px;background:#FFF;box-shadow:var(--shadow)}.fleet-profile-card>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:#F7FBF7;border-bottom:1px solid #E0E8E1}.fleet-profile-card h3{margin:0 0 6px;color:#333;font-size:20px}.fleet-profile-card p{margin:0;color:#666}.fleet-card-actions{display:flex;gap:8px}.driver-vehicle-card{margin:18px;border:1px solid #C8E6C9;border-radius:15px;overflow:hidden}.driver-vehicle-card .fleet-driver-head{padding:14px 16px;background:#E8F5E9}.driver-vehicle-card .fleet-driver-head>div{display:flex;align-items:center}.certificate-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:18px}.certificate-toolbar span{color:var(--muted);font-size:13px}.certificate-list{display:grid;gap:10px}.certificate-list article{display:flex;align-items:center;gap:8px;padding:13px 14px;border:1px solid var(--line);border-radius:12px}.certificate-list article>div{display:grid;flex:1;gap:4px}.certificate-list article span{color:var(--muted);font-size:12px}.modal-actions{display:flex;justify-content:flex-end;margin-top:20px}@media(max-width:820px){.return-metrics{grid-template-columns:1fr 1fr}.return-vehicle-list button,.task-alerts button{grid-template-columns:1fr}.return-stage{text-align:left}.fleet-profile-card>header{align-items:flex-start;flex-direction:column}.fleet-card-actions{width:100%}}


/* 修复复选框样式 */
.form-grid input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: auto !important;
    accent-color: var(--brand);
}
/* 作业进度条 */
.workflow-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 20px;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.step-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background: #e0e0e0;
  color: #999;
}
.workflow-step.done .step-node {
  background: var(--brand);
  color: #fff;
}
.step-label {
  font-size: 13px;
  color: #666;
}
.workflow-step.done .step-label {
  color: var(--brand-dark);
  font-weight: 600;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin: 0 8px;
  margin-bottom: 26px;
}
.step-line.done {
  background: var(--brand);
}

/* 车次详情的操作区：危险操作、主操作与关闭动作保持清晰层级。 */
.detail-footer{display:flex;align-items:center;gap:16px;margin-top:28px;padding-top:20px;border-top:1px solid #e2eeea}.detail-actions{display:flex;flex:1;flex-wrap:wrap;gap:12px}.detail-footer button{min-width:104px;min-height:42px;margin:0;padding:0 18px;border-radius:11px;font-weight:600}.detail-footer .detail-close{margin-left:auto;border-color:#bcd7cf;background:#fff;color:#397368}.detail-footer .danger{border:1px solid #efb7bb;background:#fff4f4;color:#b33740}.detail-footer .warning{border:1px solid #f0d18d;background:#fff8e8;color:#9a6500}.detail-footer .danger:hover{background:#fde7e8}.detail-footer .warning:hover{background:#fff0ca}.detail-footer .detail-close:hover{background:#f2f8f6}
@media (max-width:680px){.detail-footer{align-items:stretch;flex-direction:column}.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-footer button{width:100%;min-width:0}.detail-footer .detail-close{margin-left:0}}

.date-groups,.notification-groups{display:grid;gap:18px}.date-group{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.date-group>h3{display:flex;align-items:center;justify-content:space-between;margin:0;padding:12px 18px;background:#f3faf7;color:var(--brand-dark);font-size:14px}.date-group>h3 span{color:var(--muted);font-size:12px;font-weight:500}.date-group .table-wrap{border:0;border-radius:0}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f3faf7}.pinned-row{background:#fffdf4}.notification-actionbar{display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 18px;border-bottom:1px solid var(--line);background:#fff}.notification-select-all{display:flex;align-items:center;gap:8px;margin-right:4px;color:var(--ink);font-size:13px}.notification-selection-summary{min-width:82px;color:var(--muted);font-size:12px}.notification-actionbar .link-button{min-width:66px;margin:0;padding:7px 14px;background:#fff}.notification-actionbar .link-button:not(:disabled):hover{background:var(--brand-soft)}
.notification-checkbox,.notification-select-all input{width:16px;height:16px;margin:0;accent-color:var(--brand-dark);cursor:pointer}.notification-table{min-width:980px;table-layout:fixed}.notification-table th,.notification-table td{padding-top:12px;padding-bottom:12px}.notification-table tbody tr:nth-child(even){background:#fff}.notification-table .unread-row{background:#f8fcfa}.notification-table .unread-row:hover,.notification-table .selected-row{background:var(--brand-soft)}.notification-driver-content{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%}.notification-role{flex:0 0 auto;border-radius:6px;padding:2px 7px;background:var(--brand-soft);color:var(--brand-dark);font-size:11px;font-weight:600}.notification-driver-content strong,.notification-message{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread-row .notification-driver-content strong,.unread-row .notification-message{font-weight:700;color:var(--ink)}.unread-dot{display:none;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--brand-dark)}.unread-row .unread-dot{display:block}.pin-mark{flex:0 0 auto;border-radius:999px;padding:2px 6px;background:#fff3e0;color:#9a6500;font-size:10px}.notification-time-cell{white-space:nowrap;color:var(--muted)}.notification-context-menu{position:fixed;z-index:1000;display:grid;min-width:150px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 32px #163e3626}.notification-context-menu button{border:0;background:transparent;text-align:left;padding:9px 12px;border-radius:7px;color:var(--text)}.notification-context-menu button:hover{background:#f0f7f4}.notification-context-menu .danger{color:#b33740}.track-map-legend button{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}.track-map-legend button:hover{background:#eef8f3;color:var(--brand-dark)}
.progress-modal{width:min(1040px,calc(100vw - 40px))}.progress-modal .modal-body{overflow:visible}.progress-trip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.progress-trip-card{border:1px solid var(--line);border-radius:13px;padding:16px;background:#f9fcfb;text-align:left;font:inherit;cursor:pointer}.progress-trip-card:hover,.progress-trip-card:focus-visible{border-color:var(--brand);background:var(--brand-soft);outline:none}.progress-trip-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e4efeb}.progress-trip-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:14px 0 0}.progress-trip-card dl div{min-width:0}.progress-trip-card dt{font-size:12px;color:var(--muted);margin-bottom:4px}.progress-trip-card dd{margin:0;font-size:14px;color:var(--ink);overflow-wrap:anywhere}.modal-actions{display:flex;justify-content:flex-end;margin-top:18px}.detail-footer .detail-action{border-color:#bcd7cf;background:#fff;color:#397368}.detail-footer .detail-action:hover{background:#f2f8f6}

/* 登录码：点击即可复制 */
.code-copy{cursor:pointer;color:var(--ink);border-bottom:1px dashed #9DBFB5;transition:color .2s,border-color .2s}
.code-copy:hover{color:var(--ink);border-bottom-color:var(--brand)}
.code-copy.copied{color:var(--ink);border-bottom-color:transparent}
/* 弹窗内的附加操作区（停用/删除等），在栅格表单中独占整行 */
.modal-extra{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}
.modal-extra .link-button{margin-right:0}
/* 弹窗 footer 左侧按钮组（取消/删除等同行） */
.footer-left{display:flex;gap:10px;margin-right:auto}
/* 表单里的只读展示项（如登录码）：外观与输入框单元格保持一致 */
.form-grid .static-field{display:flex;align-items:center;width:100%;min-height:42px;border:1px solid #AFCFC7;border-radius:10px;padding:9px 11px;background:#fff;color:var(--ink);font-size:13px}
.form-grid textarea{width:100%;min-height:104px;border:1px solid #AFCFC7;border-radius:10px;padding:10px 11px;background:#fff;color:var(--ink);outline:none;font:inherit;line-height:1.6;resize:vertical}
.form-grid textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(57,198,180,.2)}
.feedback-summary,.demand-remark-summary{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feedback-detail{margin-bottom:20px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8fcfa}.feedback-detail span{display:block;margin-bottom:9px;color:var(--muted);font-size:13px}.feedback-detail p{margin:0;color:var(--ink);line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.feedback-detail small{display:block;margin-top:10px;color:var(--muted)}.feedback-handling-result{background:#fff}
/* 车队档案页：每个车队一张卡片，卡片下方为「司机与车辆」分区栏 */
.fleet-groups{display:grid;gap:12px;padding:12px}
.fleet-group{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
/* 车队信息：纵向逐行显示，不使用横向排布 */
.fleet-summary{display:grid;gap:5px;padding:14px 18px;background:#f3faf7;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.fleet-summary strong{color:var(--brand-dark);font-size:15px;margin-bottom:2px}
.fleet-summary .tag{justify-self:start;margin-top:4px}
.fleet-drivers{padding:16px 28px 20px 40px}
.fleet-drivers .fleet-driver-head{margin:0 0 10px}
.fleet-info-wrap{margin:0;border:none;border-radius:0;border-bottom:1px solid var(--line);background:#f3faf7;overflow:auto}
.fleet-info-wrap table{min-width:0;table-layout:fixed}
.fleet-info-wrap th{background:transparent;color:var(--brand-dark);font-weight:600;text-align:center}
.fleet-info-wrap td{padding:10px 16px;font-size:14px;text-align:center}
.fleet-info-wrap td strong{font-size:15px}
.fleet-info-wrap th:nth-child(1),.fleet-info-wrap td:nth-child(1){width:48px}
.fleet-info-wrap th:nth-child(2),.fleet-info-wrap td:nth-child(2){width:180px}
.fleet-info-wrap th:nth-child(3),.fleet-info-wrap td:nth-child(3){width:130px}
.fleet-info-wrap th:nth-child(4),.fleet-info-wrap td:nth-child(4){width:140px}
.fleet-info-wrap th:nth-child(5),.fleet-info-wrap td:nth-child(5){width:120px}
.fleet-info-wrap th:nth-child(6),.fleet-info-wrap td:nth-child(6){width:80px}
.fleet-info-wrap th:nth-child(7),.fleet-info-wrap td:nth-child(7){width:80px}
.expand-col{width:48px!important;text-align:center;padding:0!important}
.expand-col .expand-chevron{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:44px;color:var(--brand-dark);font-size:14px;cursor:pointer;user-select:none;transition:background .15s;border-radius:0}
.expand-col .expand-chevron:hover{background:var(--brand-soft)}
.op-col{width:60px!important}
.op-col .link-button{padding:4px 10px;font-size:12px}
.fleet-drivers .table-wrap{border:1px solid #D8E8E1;border-radius:10px;overflow:auto;text-align:center}
.fleet-drivers table{min-width:0}
.fleet-drivers th,.fleet-drivers td{text-align:center}
.fleet-empty-cell{color:var(--muted);font-size:12px;padding:10px 16px!important}
/* 车队编辑弹窗内的「管理司机与车辆」下拉区 */
.fleet-driver-manager{margin-top:14px}
.fleet-driver-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px}
.fleet-driver-head strong{color:var(--brand-dark);font-size:14px}
.fleet-driver-manager .table-wrap{border:1px solid var(--line);border-radius:12px;overflow:auto}
.fleet-driver-manager table{min-width:0}
.fleet-driver-manager .compact-empty{padding:22px 12px}
.fleet-driver-notice{margin:0 0 12px;padding:10px 12px;border:1px solid var(--brand);border-radius:10px;background:var(--brand-soft);color:var(--brand-dark);font-size:13px}
/* 车队档案页：司机表操作列（第6列）居中，其余列左对齐 */
#fleetContent th:nth-child(6),#fleetContent td:nth-child(6){text-align:center}
/* 客户档案页：与司机表保持同一行距，只展示日常识别字段。 */
#sourceContent table{min-width:820px;table-layout:fixed}
#sourceContent td{padding-top:20px;padding-bottom:20px;white-space:nowrap}
#sourceContent th:nth-child(1){width:28%}
#sourceContent th:nth-child(2),#sourceContent th:nth-child(3),#sourceContent th:nth-child(4),#sourceContent th:nth-child(5){width:18%}
/* 任务中心：需求任务状态列居中 */
#demandContent th:nth-child(9),#demandContent td:nth-child(9){text-align:center}
/* 状态列内容：状态标签与异常提示强制同一行，避免「预约超时」被折行 */
.status-cell{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}

/* 日期分组表格：固定列宽，保证各日期分组下同一列处于同一竖向位置 */
.date-group table{table-layout:fixed}
.date-group th,.date-group td{overflow-wrap:anywhere}
/* 需求单（#demandContent）：任务号/客户/物料类型/负责车队/所需车辆/已派车辆/预约到达时间/备注/状态 */
#demandContent table th:nth-child(1){width:140px}
#demandContent table th:nth-child(2){width:140px}
#demandContent table th:nth-child(3){width:95px}
#demandContent table th:nth-child(4){width:120px}
#demandContent table th:nth-child(5){width:100px}
#demandContent table th:nth-child(6){width:100px}
#demandContent table th:nth-child(7){width:175px}
#demandContent table th:nth-child(8){width:120px}
#demandContent table th:nth-child(9){width:180px}
.appointment-range{white-space:nowrap;overflow-wrap:normal}
/* 通知中心：复选/司机/车队/客户/内容/时间 */
.notification-groups .checkbox-col{width:4%}
.notification-groups table th:nth-child(2){width:14%}
.notification-groups table th:nth-child(3){width:16%}
.notification-groups table th:nth-child(4){width:18%}
.notification-groups table th:nth-child(5){width:34%}
.notification-groups table th:nth-child(6){width:14%}
.panel-head .toolbar{position:relative}.toolbar-icon-button{width:38px;height:38px;padding:9px!important;display:inline-flex;flex-direction:column;justify-content:center;gap:4px;flex:0 0 38px;color:var(--brand-dark);background:#fff;border:1px solid var(--line);border-radius:10px}
.toolbar-icon-button span{display:block;width:18px;height:2px;border-radius:2px;background:currentColor}
.panel:has(.toolbar-filter-panel:not([hidden])){overflow:visible}.toolbar-filter-panel{position:absolute;z-index:60;flex-direction:column;gap:0;min-width:190px;padding:8px 0;border:1px solid rgba(178,214,204,.9);border-radius:14px;background:#fff;box-shadow:0 18px 44px rgba(5,45,41,.18)}
.toolbar-filter-panel .nf-title{padding:8px 16px 6px;font-size:12px;font-weight:700;color:var(--muted)}
.toolbar-filter-panel .nf-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;border:0;background:transparent;text-align:left;padding:8px 16px;font:inherit;font-size:14px;color:var(--ink);cursor:pointer}
.toolbar-filter-panel .nf-option:hover{background:var(--brand-soft)}
.toolbar-filter-panel .nf-option.selected{color:var(--brand-dark);font-weight:650}
.toolbar-filter-panel .nf-check{visibility:hidden;font-weight:700}
.toolbar-filter-panel .nf-option.selected .nf-check{visibility:visible}
.toolbar-filter-panel .nf-divider{height:1px;margin:6px 8px;background:var(--line)}
.toolbar-filter-panel[hidden]{display:none}

/* 桌面导航在鼠标靠近左边缘时展开，窄屏使用菜单抽屉。 */
body{background:var(--bg);color:var(--ink)}
button,input,select{min-height:40px}
input::placeholder{color:#687E77}
.shell{display:block;min-height:100vh}
.side{width:264px;padding:24px 18px;overflow-y:auto;transform:translateX(-100%);background:var(--bg);color:var(--ink);border-right:1px solid #D7E7E2;box-shadow:none}
.side .logo.side-brand{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:24px;padding:12px 8px;border:0;border-radius:0;background:transparent;color:#fff;flex-shrink:0}
.side-brand-logo{display:block;width:192px;max-width:100%;height:auto;object-fit:contain}
.side-brand-english{font-size:11px;line-height:1.5;font-weight:650;letter-spacing:1.1px;white-space:nowrap;color:var(--brand-dark)}
.side-foot{border-top-color:#D7E7E2}
.side .who{color:var(--ink)}
.side .role{color:var(--muted)}
.side .logout{border-color:#AFCFC7;background:transparent;color:var(--brand-dark)}
.workspace{padding-left:0}
.side-trigger{display:block;width:16px}
.side:has(:focus-visible){transform:translateX(0)}
.side-trigger:hover~.workspace,.side:hover~.workspace,.side:has(:focus-visible)~.workspace{padding-left:264px}
.side .nav{gap:8px;margin-bottom:24px}
.nav button{position:relative;padding:15px 16px;font-size:17px;line-height:1.4;color:var(--ink);font-weight:550;background:transparent}
.nav button:hover,.nav button:focus-visible{background:transparent;text-decoration:underline;text-underline-offset:5px}
.nav button.active{background:transparent;color:var(--brand-dark);box-shadow:none;font-weight:750}
.nav button.active::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:currentColor}
.nav button[disabled]{color:#687E77;opacity:1}
.topbar{background:#FFF;border-bottom-color:#B9D8D0;backdrop-filter:none}
.topbar-title{display:flex;align-items:center;gap:12px;min-width:0}
.nav-toggle{display:none;width:42px;height:42px;min-height:42px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#FFF;color:var(--ink)}
.nav-toggle span{display:block;width:20px;height:2px;margin:3px auto;border-radius:2px;background:currentColor}
.side-backdrop{display:none}
.content{width:100%}
.panel,.stat,.date-group,.fleet-group{border-color:#B9D8D0;background:#FFF}
.primary{background:linear-gradient(135deg,var(--brand),var(--brand-dark));box-shadow:0 8px 18px rgba(76,175,80,.28)}
.primary:disabled,.link-button:disabled{opacity:1;background:#E0E9E6;color:#5A6F69;border-color:#C7D9D4;cursor:not-allowed}
.toolbar{flex-wrap:wrap}
.toolbar input[type="search"],.toolbar select,.refresh,.link-button{border-color:#AFCFC7;background:#FFF}
th{color:#294E45;background:#DCEDE8;font-weight:700}
td{color:#173F36}
tbody tr:nth-child(even){background:#FFF}
.tag{font-weight:650}
@media(max-width:960px){
  .workspace,.side:hover~.workspace,.side:has(:focus-visible)~.workspace{padding-left:0}
  .side-trigger{display:none}
  .side{display:flex;transform:translateX(-105%);width:min(304px,88vw);box-shadow:16px 0 44px rgba(3,36,29,.28)}
  .side:hover,.side:has(:focus-visible){transform:translateX(-105%)}
  .side.open,.side.open:hover,.side.open:has(:focus-visible){transform:translateX(0)}
  .side-backdrop{position:fixed;inset:0;z-index:90;background:rgba(4,42,37,.46)}
  .side-backdrop.show{display:block}
  .nav-toggle{display:block}
  .topbar-inner{padding:0 18px}
  .content{padding:20px 18px 42px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:600px){
  .topbar{height:58px}
  .topbar h1{font-size:17px}
  .live{font-size:11px}
  .content{padding:14px 12px 36px}
  .stats{grid-template-columns:1fr;gap:10px}
  .stat{padding:15px}
  .panel-head,.page-intro{gap:12px;padding:15px}
  .toolbar{display:grid;width:100%;grid-template-columns:1fr 1fr}
  .toolbar input[type="search"]{grid-column:1/-1;width:100%;min-width:0}
  .toolbar select,.toolbar button{width:100%;min-width:0}
  .modal{max-height:calc(100vh - 20px);border-radius:15px}
  .mask{padding:10px}
  .modal-body{padding:16px}
  .form-grid,.trip-detail .detail-grid{grid-template-columns:1fr}
  .form-grid label.full,.trip-detail .detail-grid .full{grid-column:auto}
  .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .track-map-canvas,.interactive-track-map{height:300px;min-height:260px}
  form footer,.confirm-actions{align-items:stretch;flex-direction:column-reverse}
  form footer>*,.confirm-actions>*{width:100%}
}
@media(max-width:600px){.notification-actionbar{gap:8px;padding:8px 12px;overflow-x:auto}.notification-selection-summary{min-width:72px}.notification-actionbar .link-button{min-width:58px;padding:7px 10px}.notification-groups{gap:12px}.date-group>h3{padding:10px 13px}}
.overdue-tag{margin-top:5px}
.stat.clickable-stat{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s;}
.demand-photo-links{margin:0 0 18px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#F7FBF7}.demand-photo-links>strong{display:block;margin-bottom:10px;color:#333}.demand-photo-links>div{display:flex;flex-wrap:wrap;gap:8px}
/* Return board: one decision prompt, lightweight filters, then the vehicle list. */
.compact-return-board .return-overview{display:block!important;padding:26px 28px!important}
.compact-return-board .return-heading{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 22px}
.compact-return-board .return-heading>span{grid-column:1/-1;color:var(--muted);font-size:13px}
.compact-return-board .return-heading h2{display:flex;align-items:baseline;gap:8px;margin:0!important;font-size:22px!important}
.compact-return-board .return-heading h2 strong{color:var(--brand-dark);font-size:40px;line-height:1}
.compact-return-board .return-heading h2 small{color:var(--muted);font-size:12px;font-weight:500}
.compact-return-board .return-heading p{margin:0;padding:12px 16px;border-radius:12px;background:#F7FCF9;color:#48675E;font-size:14px}
.compact-return-board .return-heading p.urgent{background:#FFF3E9;color:#A95318;font-weight:650}
.return-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:82px;padding:14px 24px;border-top:1px solid var(--line);background:#FAFCFB}.return-list-head>div{display:flex;align-items:center;gap:18px;min-width:0}.return-list-head>div>strong{flex:none;color:#274D42;font-size:16px}.return-list-head>b{flex:none;color:var(--muted);font-size:13px}.return-status-summary{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.return-summary-item{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-width:112px;height:42px;padding:0 13px;border:1px solid #D5E6DD;border-radius:12px;background:#fff;color:#4F7066;font-size:13px;font-weight:650}.return-summary-item strong{color:#285B4B;font-size:21px;line-height:1}.return-summary-item.ready{border-color:#D6E2F3;background:#F5F8FE}.return-summary-item.urgent{border-color:#E9B890;background:#FFF0E5;color:#A95318}.return-summary-item.urgent strong{color:#A95318}.return-summary-item.route{background:#F3FAF6}
.compact-return-board .return-vehicle-list button{grid-template-columns:minmax(340px,1.4fr) 105px minmax(240px,.8fr) auto!important;gap:20px!important;min-height:76px;padding:17px 24px!important}
.return-vehicle-main{display:grid;gap:6px;min-width:0}.return-plate{font-size:17px}.return-vehicle-main small{overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.return-status{justify-self:start;padding:6px 12px;border-radius:999px;background:#EEF5F2;color:#42665B;font-size:13px;font-weight:700}.return-status.ready{background:#EEF4FF;color:#45689A}.return-status.urgent{background:#FFF0E5;color:#B75A1B}.return-arrival{display:grid;gap:5px}.return-arrival small{color:var(--muted);font-size:11px}.return-arrival strong{color:#294C42;font-size:14px}.return-vehicle-list button>i{color:#6D8C82;font-size:13px;font-style:normal}
@media(max-width:820px){.compact-return-board .return-heading{grid-template-columns:1fr}.compact-return-board .return-heading>span{grid-column:auto}.compact-return-board .return-heading p{margin-top:5px}.return-list-head{align-items:flex-start}.return-list-head>div{align-items:flex-start;flex-direction:column}.compact-return-board .return-vehicle-list button{grid-template-columns:1fr auto!important}.compact-return-board .return-arrival{grid-column:1/-1}}
.return-board{margin-bottom:24px}.task-alert-panel{margin-bottom:24px}.task-alert-panel:empty{display:none}.task-alerts,.dispatch-task-panel{overflow:hidden;border:1px solid #BCDCCF;border-radius:18px;background:#fff;box-shadow:var(--shadow)}.task-alerts{margin-bottom:0}.task-alerts>header,.dispatch-task-panel>.panel-head{min-height:84px;padding:20px 24px;border-bottom:1px solid #D9E9E1;background:linear-gradient(120deg,#E9F8F1,#F8FCFA)}.task-alerts>header h2,.dispatch-task-heading h2{margin:0 0 5px;color:var(--brand-dark);font-size:20px}.task-alerts>header span,.dispatch-task-heading p{margin:0;color:var(--muted);font-size:13px}.task-alerts>header>strong{min-width:40px;height:40px;font-size:17px}.task-alerts>.task-alert-list{display:grid;background:#fff}.task-alerts .task-alert-row{display:grid;grid-template-columns:170px minmax(300px,1fr) minmax(320px,1.2fr) auto;align-items:center;gap:20px;min-height:76px;padding:17px 24px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--ink);text-align:left}.task-alerts .task-alert-row:last-child{border-bottom:0}.task-alerts .task-alert-row:hover{background:#F5FBF8}.task-alert-row .alert-label{justify-self:start;padding:5px 10px;border-radius:999px;background:#FDEBEC;color:#C62828;font-size:12px}.task-alert-row>strong{color:#274D42;font-size:17px;line-height:1.45}.task-alert-row>small{color:var(--muted);font-size:13px;line-height:1.6}.task-alert-row>i{padding:6px 10px;border:1px solid #AFCFC7;border-radius:9px;background:#fff;color:var(--brand-dark);font-size:13px;font-style:normal}.dispatch-task-panel>.panel-head{margin:0}.dispatch-task-panel .toolbar input,.dispatch-task-panel .refresh{background:#fff}
@media(max-width:1100px){.task-alerts .task-alert-row{grid-template-columns:150px minmax(220px,1fr) minmax(240px,1fr) auto}}
@media(max-width:820px){.task-alerts .task-alert-row{grid-template-columns:1fr auto;gap:10px 16px;min-height:auto}.task-alert-row>strong,.task-alert-row>small{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Unified four-surface direction: timetable clarity without transport-app chrome. */
:root{--bg:#F5F6F2;--panel:#FFFFFF;--ink:#15372E;--muted:#587067;--line:#D8E2DA;--brand:#3E9B63;--brand-dark:#0E352B;--brand-soft:#EAF4EC;--accent:#BFD8C5;--amber:#B95524;--amber-bg:#FFF1E7;--blue:#316F78;--blue-bg:#E7F1F2;--red:#B83E32;--red-bg:#FCEBE9;--gray:#65756E;--gray-bg:#EEF1EF;--shadow:0 14px 36px rgba(14,53,43,.07)}
html{scrollbar-color:#9CB5A7 #EDF2EE;scrollbar-width:thin}::selection{background:#BFD8C5;color:#0E352B}body{background:var(--bg);accent-color:var(--brand)}
button,input,select,textarea{transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(62,155,99,.25);outline-offset:2px}
.shell{display:block}.side-trigger{display:none}.side{width:244px;transform:none;padding:30px 20px;background:#fff;box-shadow:none}.side:hover{transform:none}.side .logo{padding:0 10px 34px}.nav{gap:7px}.nav button{min-height:44px;padding:11px 14px;border-radius:8px;color:var(--ink)}.nav button:hover{background:var(--brand-soft);color:var(--brand-dark)}.nav button.active{background:var(--brand-soft);box-shadow:none;color:var(--brand-dark)}.workspace,.side:hover~.workspace{padding-left:244px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:none}.topbar-inner{max-width:1480px;padding:0 42px}.topbar h1{font-size:18px;color:var(--brand-dark)}
.content{max-width:1480px;padding:42px 48px 72px}.page-intro{align-items:flex-end;margin-bottom:30px}.page-intro h2{margin:0 0 8px;font-size:30px;line-height:1.2;color:var(--brand-dark);letter-spacing:-.02em}.page-intro p{font-size:14px;line-height:1.6}.eyebrow{display:none}.panel,.return-board,.task-alerts{border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:none}.panel-head{padding:20px 24px}.primary{min-height:42px;border-radius:8px;background:var(--brand);box-shadow:none}.primary:hover{background:#348553}.refresh,.link-button,.field input,.toolbar input[type="search"],.toolbar select,.form-grid input,.form-grid select,.form-grid textarea{border-color:#B9C9BF;border-radius:8px}.link-button:hover,.refresh:hover{border-color:#7FAA91;background:#F4F8F5}
.return-board{margin-bottom:30px}.compact-return-board .return-overview{display:grid!important;grid-template-columns:minmax(250px,.72fr) minmax(520px,1.4fr);align-items:center;gap:46px;padding:34px 36px!important;background:#EDF5EF!important;border-bottom:1px solid var(--line)}.compact-return-board .return-heading{display:block}.compact-return-board .return-heading h2{display:flex;align-items:baseline;gap:10px;font-size:18px!important;color:var(--ink)}.compact-return-board .return-heading h2 strong{font-size:58px;color:var(--brand);letter-spacing:-.04em}.compact-return-board .return-heading h2 small{font-size:14px}.compact-return-board .return-heading p{margin:14px 0 0;padding:0;background:transparent;color:var(--muted);font-size:14px}.compact-return-board .return-heading p.urgent{padding:10px 14px;border-radius:8px;background:var(--amber-bg);color:var(--amber)}
.return-status-summary{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.return-status-summary::before{content:"";position:absolute;left:16.67%;right:16.67%;top:20px;height:3px;border-radius:3px;background:#BDD3C2}.return-summary-item{position:relative;z-index:1;display:flex;min-width:0;height:auto;padding:0;border:0;background:transparent!important;flex-direction:column;gap:7px;color:var(--muted);font-weight:500}.return-summary-item i{display:block;width:18px;height:18px;border:5px solid var(--brand);border-radius:50%;background:#fff}.return-summary-item strong{order:2;font-size:25px;color:var(--ink)}.return-summary-item>span{order:3;font-size:13px}.return-summary-item.urgent i{border-color:var(--amber)}.return-summary-item.urgent strong,.return-summary-item.urgent>span{color:var(--amber)}
.return-list-head{min-height:72px;padding:16px 28px;background:#fff}.return-list-head>div{gap:16px}.return-list-head>div>span{color:var(--muted);font-size:12px}.compact-return-board .return-vehicle-list button{grid-template-columns:minmax(340px,1.4fr) 120px minmax(230px,.8fr) 110px!important;min-height:88px;padding:19px 28px!important}.return-vehicle-list button:hover{background:#F6F9F6}.return-plate{font-size:19px}.return-status{border-radius:999px}.return-empty{display:grid;gap:6px;padding:42px 28px}.return-empty strong{color:var(--ink)}
.task-alert-panel{margin-bottom:30px}.task-alerts>header,.dispatch-task-panel>.panel-head{min-height:78px;padding:20px 24px;background:#fff}.task-alerts>header h2,.dispatch-task-heading h2{color:var(--ink)}.task-alerts .task-alert-row{min-height:82px;padding:18px 24px}.task-alert-row>i{border:0;background:transparent;color:var(--brand);font-weight:700}.alert-label{background:var(--red-bg);color:var(--red)}
th{background:#EEF4F0;color:#3F5C52}th,td{padding:15px 16px}.date-group>h3{background:#F8FAF8}.clickable-row:hover{background:#F4F8F5}.tag{font-weight:600}.modal{border-radius:14px}.mask{background:rgba(10,39,31,.55);backdrop-filter:none}
@media(max-width:1100px){.content{padding:34px 30px 60px}.compact-return-board .return-overview{grid-template-columns:1fr;gap:28px}.return-status-summary{max-width:650px}.compact-return-board .return-vehicle-list button{grid-template-columns:minmax(260px,1.2fr) 105px minmax(190px,.8fr) 90px!important}}
@media(max-width:820px){.side{display:none}.workspace,.side:hover~.workspace{padding-left:0}.topbar-inner{padding:0 20px}.content{padding:24px 18px 48px}.page-intro{align-items:flex-start}.compact-return-board .return-overview{padding:26px 22px!important}.return-status-summary{grid-template-columns:repeat(3,1fr)}.compact-return-board .return-vehicle-list button{grid-template-columns:1fr auto!important}.return-list-head>div{flex-direction:column;gap:4px}.toolbar{grid-template-columns:1fr 1fr}}
.login{background:var(--bg)}.login-card{border-radius:16px;border-color:var(--line);box-shadow:var(--shadow)}.login-hero{background:linear-gradient(155deg,#FFFFFF 0%,#EAF4EC 100%)}.login-form h2{color:var(--brand-dark)}

/* Selected direction alignment: timetable navigation and one shared reading axis. */
.shell{min-height:100vh;display:block}.workspace,.side:hover~.workspace{padding-left:0}.side{display:none}.topbar{height:104px;background:#fff;border-bottom:1px solid var(--line);color:var(--ink)}.topbar-inner{max-width:1440px;padding:0 48px;justify-content:flex-start;gap:48px}.topbar-brand{flex:none;width:218px;height:74px;padding:2px 6px;border:0;border-radius:0;background:transparent}.topbar-brand img{display:block;width:100%;height:100%;object-fit:contain}.top-nav{display:flex;align-items:stretch;align-self:stretch;gap:2px}.top-nav button{display:flex;align-items:center;gap:10px;min-height:0;padding:0 22px;border:0;border-radius:0;background:transparent;color:var(--muted);text-align:center;font-size:17px;font-weight:650}.top-nav button:hover{background:var(--brand-soft);color:var(--brand-dark)}.top-nav button.active{background:transparent;box-shadow:inset 0 -4px 0 var(--brand);color:var(--brand-dark)}.topbar-meta{display:flex;align-items:center;gap:20px;margin-left:auto;white-space:nowrap}.topbar .live{color:var(--muted);font-size:14px}.topbar .live i{background:#67C487;box-shadow:0 0 0 4px rgba(103,196,135,.16)}.topbar-user{font-size:15px;font-weight:700;color:var(--ink)}.topbar-logout{min-height:46px;padding:10px 15px;border:1px solid #B9C9BF;border-radius:8px;background:transparent;color:var(--ink);font-size:14px}.topbar-logout:hover{border-color:#7FAA91;background:var(--brand-soft)}.nav-toggle{display:none}
.content{max-width:1440px;padding:38px 54px 72px}.page-intro{align-items:end;margin-bottom:28px}.page-intro h2{font-size:30px}.page-intro .refresh{min-width:94px;min-height:42px;background:var(--brand);border-color:var(--brand);color:#fff}.page-intro .refresh:hover{background:#348553;border-color:#348553}
.return-board{margin-bottom:24px}.compact-return-board .return-overview{display:block!important;padding:0!important;background:#EDF5EF!important}.compact-return-board .return-hero{display:grid;grid-template-columns:250px 1fr;align-items:center;gap:42px;padding:28px 34px}.compact-return-board .return-heading h2{display:block;margin:0!important;font-size:13px!important;font-weight:500}.compact-return-board .return-heading h2 span{display:block;margin-bottom:5px}.compact-return-board .return-heading h2 strong{display:inline-block;font-size:64px;line-height:1;color:var(--brand)}.compact-return-board .return-heading h2 small{margin-left:5px;font-size:16px;color:var(--ink)}.return-priority{margin:0;padding:14px 28px;border-top:1px solid #EFD6C6;background:#FFF1E7;color:#A84D20;font-size:14px;font-weight:700}.return-priority:not(.urgent){border-color:var(--line);background:#F8FAF8;color:var(--muted)}
.return-status-summary{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.return-status-summary::before{content:"";position:absolute;left:12%;right:12%;top:31px;height:4px;border-radius:4px;background:#BFD8C5}.return-summary-item{position:relative;z-index:1;display:flex;min-width:0;height:auto;padding:0;border:0;background:transparent!important;flex-direction:column;gap:5px;color:var(--muted);font-weight:500}.return-summary-item i{display:block;width:22px;height:22px;margin-top:20px;border:5px solid var(--brand);border-radius:50%;background:#fff}.return-summary-item strong{order:2;font-size:22px;color:var(--ink)}.return-summary-item>span{order:3;font-size:12px}.return-summary-item.urgent i{border-color:#D66A2C}.return-summary-item.urgent strong,.return-summary-item.urgent>span{color:#B95524}
.return-list-head{min-height:64px;padding:14px 28px;border-top:0;background:#fff}.return-columns,.compact-return-board .return-vehicle-list button{display:grid;grid-template-columns:1.05fr 1.05fr .75fr 1fr 90px;align-items:center;gap:24px}.return-columns{padding:12px 28px;background:#F7FAF7;color:var(--muted);font-size:12px}.compact-return-board .return-vehicle-list button{grid-template-columns:1.05fr 1.05fr .75fr 1fr 90px!important;min-height:72px;padding:14px 28px!important}.return-fleet,.return-vehicle-main,.return-arrival{display:grid;gap:4px;min-width:0}.return-fleet strong,.return-fleet small,.return-vehicle-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.return-fleet strong{color:var(--ink);font-size:14px}.return-fleet small,.return-vehicle-main small,.return-arrival small{color:var(--muted);font-size:12px}.return-plate{font-size:18px}.return-status{justify-self:start}.return-vehicle-list button>i{text-align:right;color:var(--brand);font-weight:700}
.compact-return-board.is-empty .return-overview{border-bottom:0}.compact-return-board.is-empty .return-priority{border-bottom-left-radius:13px;border-bottom-right-radius:13px}.dashboard-lower{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;margin-bottom:24px}.task-alert-panel{margin:0}.task-alerts,.dispatch-summary-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.dispatch-summary-card{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center}.task-alerts>header,.dispatch-summary-card>header{min-height:72px;padding:17px 24px;background:#fff}.task-alerts>header{border-bottom:1px solid var(--line)}.task-alerts>header h2,.dispatch-summary-card h2{margin:0 0 4px;color:var(--ink);font-size:18px}.task-alerts>header span,.dispatch-summary-card header span{color:var(--muted);font-size:12px}.task-alerts .task-alert-row{grid-template-columns:120px minmax(180px,1fr) minmax(210px,1.1fr) auto;gap:16px;min-height:68px;padding:14px 24px}.task-alert-row>strong{font-size:14px}.task-alert-row>small{font-size:12px}.dispatch-summary-counts{display:grid;grid-template-columns:repeat(2,minmax(92px,auto));gap:30px;padding:18px 24px;border-left:1px solid var(--line)}.dispatch-summary-counts span{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:8px;color:var(--muted);font-size:12px}.dispatch-summary-counts strong{color:var(--ink);font-size:28px;line-height:1}.dispatch-summary-card>button{min-height:42px;margin:0 24px;padding:9px 13px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;color:var(--brand);font-weight:700}.dispatch-summary-card>button:hover{border-color:var(--brand);background:var(--brand-soft)}.dispatch-summary-card>button:focus-visible{outline:3px solid rgba(62,155,99,.25);outline-offset:2px}.page-actions{display:flex;align-items:center;gap:10px}.page-actions .back-action{background:#fff;color:var(--ink)}.dispatch-task-panel,.dispatch-task-panel .date-groups,.dispatch-task-panel .date-group{min-width:0}.dispatch-task-panel{box-shadow:none}
@media(max-width:1280px){.topbar{height:88px}.topbar-inner{padding:0 28px;gap:20px}.topbar-brand{width:180px;height:60px}.top-nav button{padding:0 10px;font-size:14px}.topbar .live{display:none}.content{padding:34px 30px 60px}.dashboard-lower{grid-template-columns:1fr}.compact-return-board .return-hero{grid-template-columns:1fr;gap:20px}.return-status-summary{max-width:none}.return-columns,.compact-return-board .return-vehicle-list button{grid-template-columns:1fr .9fr .65fr .9fr 70px}.task-alerts .task-alert-row{grid-template-columns:120px minmax(180px,1fr) minmax(180px,1fr) auto}}
@media(max-width:960px){.topbar-inner{justify-content:space-between}.top-nav,.topbar-user,.topbar-logout{display:none}.nav-toggle{display:block;order:-1}.topbar-brand{width:154px;height:50px}.side{display:flex;top:0;transform:translateX(-105%);width:min(304px,88vw);padding:26px 18px;background:#fff}.side.open,.side.open:hover,.side.open:has(:focus-visible){transform:translateX(0)}.mobile-nav{display:grid}.mobile-nav button{color:var(--ink)}.mobile-nav button.active{background:var(--brand-soft);color:var(--brand-dark)}.topbar-meta{margin-left:0}.topbar .live{display:flex}.side-backdrop.show{display:block}.return-columns{display:none}.compact-return-board .return-vehicle-list button{grid-template-columns:1fr auto!important}.return-fleet,.compact-return-board .return-arrival{grid-column:1/-1}.return-status{grid-column:2;grid-row:1}.return-vehicle-list button>i{grid-column:2;grid-row:2/4}.task-alerts .task-alert-row{grid-template-columns:1fr auto}.task-alert-row>strong,.task-alert-row>small{grid-column:1/-1}}
@media(max-width:600px){.topbar{height:64px}.topbar-inner{padding:0 14px}.topbar .live{display:none}.topbar-brand{width:138px;height:46px}.content{padding:24px 14px 42px}.page-intro{padding:0;flex-direction:row}.dispatch-page-intro{align-items:flex-start;flex-direction:column}.dispatch-page-intro .page-actions{width:100%}.page-intro h2{font-size:25px}.page-intro p{max-width:25ch}.page-intro .refresh{min-width:72px;padding:9px 12px}.dispatch-task-panel .toolbar{grid-template-columns:minmax(0,1fr) 38px}.dispatch-task-panel .toolbar input[type="search"]{grid-column:auto}.dispatch-task-panel .toolbar-icon-button{width:38px!important;min-width:38px!important}.compact-return-board .return-hero{padding:24px 20px}.compact-return-board .return-heading h2 strong{font-size:52px}.return-priority{padding:12px 20px}.return-list-head{padding:14px 20px}.compact-return-board .return-vehicle-list button{padding:16px 20px!important}.task-alerts>header,.dispatch-summary-card>header{padding:16px 18px}.task-alerts .task-alert-row{padding:14px 18px}.dispatch-summary-card{grid-template-columns:1fr auto}.dispatch-summary-card>header{grid-column:1/-1;border-bottom:1px solid var(--line)}.dispatch-summary-counts{gap:18px;padding:16px 18px;border-left:0}.dispatch-summary-counts span{grid-template-columns:1fr;gap:4px}.dispatch-summary-card>button{margin:0 18px 0 0}}
@media(max-width:960px){.side .logo.side-brand{margin:0 0 26px;padding:12px 14px;border-radius:10px;background:#FFF}.side-brand-english{color:var(--brand-dark)}.side .who{color:var(--ink)}.side .role{color:var(--muted)}.side .logout{border-color:var(--line);background:transparent;color:var(--brand-dark)}.side .logout:hover,.side .logout:active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}.side .logout:focus-visible{outline-color:rgba(255,255,255,.72)}}

.certificate-empty{display:flex;min-height:220px;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center}.certificate-empty strong{color:var(--ink);font-size:17px}.certificate-empty span{color:var(--muted);font-size:13px}.certificate-empty .primary{min-width:124px}

/* 车队档案：折叠式车队卡片，展开后内嵌司机与车辆表格。 */
.fl-list{display:grid;gap:24px}
.fl-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;transition:border-color .18s ease,box-shadow .18s ease}
.fl-card.is-open{border-color:#AAB5AD;box-shadow:none}
.fl-card.is-open::before{display:none}
.fl-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}
.fl-toggle{display:flex;flex:0 1 auto;min-width:0;align-items:center;padding:0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}
.fl-story{display:grid;gap:2px;min-width:0}
.fl-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.fl-serial{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}
.fl-contact-phone{display:grid;gap:2px;min-width:0}
.fl-contact-phone small{font-size:12px;color:var(--muted)}
.fl-contact-phone strong{font-size:14px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fl-code{display:flex;align-items:center}
.fl-code .code-copy,.fl-driver-table .code-copy{border-bottom:0;background:#F1F5F3;border-radius:8px;padding:3px 10px;font-size:12px;line-height:1.5}
.fl-code .code-copy:hover,.fl-driver-table .code-copy:hover{background:#E7EEEA}
.fl-count{flex:0 0 auto;display:inline-flex;align-items:center;height:26px;padding:0 12px;border-radius:999px;background:#E1F3EA;color:#1E6B44;font-size:12px;font-weight:700}
.fl-ops{display:flex;align-items:center;gap:10px}
.fl-cert{border:0;background:transparent;color:var(--blue);font-weight:650;font-size:13px;padding:0;cursor:pointer}
.fl-cert:hover{text-decoration:underline}
.fl-edit{display:inline-flex;align-items:center;height:30px;padding:0 13px;border:1px solid #C9D8D2;border-radius:9px;background:#fff;color:var(--ink);font-weight:600;font-size:12.5px;cursor:pointer}
.fl-edit:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}
.fl-foot{display:flex;width:100%;align-items:center;justify-content:center;gap:12px;padding:11px 14px 13px;border:0;border-top:1px dashed var(--line);border-radius:0 0 13px 13px;background:transparent;color:var(--muted);font-size:12.5px;cursor:pointer}
.fl-foot:hover{background:#F7FBF8;color:var(--brand-dark)}
.fl-foot-caret{font-style:normal;font-size:12px;line-height:1;margin-left:2px}
.fl-body{border-top:1px solid #EAF1ED;padding:12px 18px 16px}
.fl-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;position:relative}
.fl-toolbar>span{font-size:13px;color:var(--muted);position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}
.fl-toolbar>button{margin-left:auto}
.fl-toolbar strong{color:var(--ink)}
.fl-driver-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:13px}
.fl-driver-table th:nth-child(1){width:26%}.fl-driver-table th:nth-child(2){width:16%}.fl-driver-table th:nth-child(3){width:30%}.fl-driver-table th:nth-child(4){width:28%}
.fl-driver-table th{padding:8px 10px;text-align:center;font-size:12px;color:#7A8B84;font-weight:650;border-bottom:1px solid var(--line);white-space:nowrap}
.fl-driver-table td{padding:10px;text-align:center;border-bottom:1px solid #EEF3F0;vertical-align:middle}
.fl-driver-table tbody tr[data-driver-id]{cursor:pointer}
.fl-driver-table tbody tr[data-driver-id]:hover,.fl-driver-table tbody tr[data-driver-id]:focus-visible{background:#F4FAF7}
.fl-driver-table tr:last-child td{border-bottom:0}
.fl-phone-cell{font-size:13px;color:var(--ink);white-space:nowrap}
.fl-plate{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
.plate-chip{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid #B9CFF7;border-radius:6px;background:#F3F7FE;color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.4px}
.fl-vehicle-meta{font-size:12px;color:var(--muted);white-space:nowrap}
.fl-driver-table .fl-empty{text-align:center;padding:18px 10px;color:var(--muted);cursor:default}
/* 司机表格放大：占满整宽、行更高、字号更大（用户要求对齐参考稿的表格体量） */
.fl-body .table-wrap{width:100%;max-width:none;margin:0}
.fl-driver-table{font-size:15px}
.fl-driver-table th{padding:14px 12px;font-size:13px;letter-spacing:.5px}
.fl-driver-table td{padding:18px 12px}
.fl-driver-table .fl-phone-cell{font-size:14px}
.fl-driver-table .plate-chip{padding:4px 10px;font-size:13px}
.fl-driver-table .fl-vehicle-meta{font-size:13px}
.fl-driver-table .code-copy{padding:6px 14px;font-size:13px}
.fl-body .fl-toolbar{padding-bottom:14px}
.fl-body .fl-toolbar>span{font-size:14px}
@media(max-width:820px){.fl-card-head{padding:12px 14px;gap:10px}.fl-toggle{flex:1 1 100%}.fl-body{padding:12px 14px 14px}}
@media(max-width:560px){.fl-toolbar>span{position:static;transform:none}}
@media(prefers-reduced-motion:reduce){.fl-card{transition:none}}


/* 证件弹窗：车辆证件与司机证件分区展示。 */
.cert-section{display:grid;gap:10px}
.cert-section+.cert-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.cert-section>header{display:flex;align-items:baseline;gap:10px}
.cert-section>header strong{font-size:15px;color:var(--ink)}
.cert-section>header span{font-size:12px;color:var(--muted)}
.cert-section .certificate-empty{min-height:140px}
.fl-driver-table th:last-child,.fl-driver-table td.fl-cert-cell{width:72px;text-align:center}
.cert-scroll{max-height:58vh;overflow:auto;display:grid;gap:0;padding-right:4px}
.fl-card-head{cursor:pointer}
.fl-card-head .fl-code,.fl-card-head .fl-cert{cursor:pointer}
.fl-foot-collapse{border-top-style:solid}
.fl-foot-collapse .fl-foot-caret{display:inline-block;transform:rotate(180deg)}
.fl-foot{gap:10px;padding:13px 14px 15px;font-size:14px}
.fl-foot-text{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.fl-foot-caret{font-size:16px;margin-left:0}
.fl-foot-caret{transform:translateY(-2px)}
.fl-foot-collapse .fl-foot-caret{transform:translateY(-2px) rotate(180deg)}
.fl-foot-caret{width:9px;height:9px;border:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;border-radius:1px;transform:rotate(45deg);vertical-align:middle}
.fl-foot-collapse .fl-foot-caret{transform:rotate(225deg)}
.fl-foot .fl-foot-caret{width:10px;height:10px;margin-top:-2px;border-right:2.5px solid #7C988B;border-bottom:2.5px solid #7C988B;border-bottom-right-radius:3px;transform:rotate(45deg);transition:transform .18s ease,border-color .18s ease}
.fl-foot:hover .fl-foot-caret{border-right-color:var(--brand-dark);border-bottom-color:var(--brand-dark)}
.fl-foot-collapse .fl-foot-caret{transform:rotate(225deg) translate(1px,1px)}
.fl-foot-collapse .fl-foot-caret{transform:rotate(225deg)}
.fl-caret{display:inline-block;flex:0 0 auto}
.fl-foot:hover .fl-caret path{stroke:var(--brand-dark)}
.fl-card-head{justify-content:flex-start;gap:16px}
.fl-ops{margin-left:auto}
/* 司机表：五列，内容统一左对齐，行末操作留出内边距 */
.fl-driver-table{table-layout:fixed}
.fl-driver-table th:nth-child(1),.fl-driver-table th:nth-child(2),.fl-driver-table th:nth-child(3),.fl-driver-table th:nth-child(4),.fl-driver-table th:nth-child(5){width:20%}
.fl-driver-table th{text-align:left;padding:14px 18px}
.fl-driver-table td{padding:18px;text-align:left}
.fl-driver-table td.fl-cert-cell{width:25%;text-align:right;padding-right:28px}
.fl-driver-table th:last-child{text-align:right;padding-right:28px}
.fl-plate{justify-content:flex-start}
/* 车队卡片头部：像列表表格一样四等分列、内容居中（标题 / 车队长手机号 / 登录码 / 证件），手机号列不带文字标签 */
.fl-card-head{display:grid;grid-template-columns:25% 25% 25% 25%;align-items:center;gap:0;padding:14px 18px}
.fl-card-head .fl-toggle{grid-column:1;min-width:0;justify-self:center;text-align:center}
.fl-card-head .fl-toggle .fl-story{text-align:center}
.fl-card-head .fl-contact-phone{grid-column:2;justify-self:center;min-width:0;text-align:center}
.fl-card-head .fl-code{grid-column:3;justify-self:center}
.fl-card-head .fl-ops{grid-column:4;justify-self:center;margin-left:0;padding-right:0}
/* 列宽按内容配比：34/30/22/14，消除登录码与证件间大片空白 */
.fl-driver-table th:nth-child(1){width:26%}
.fl-driver-table th:nth-child(2){width:18%}
.fl-driver-table th:nth-child(3){width:24%}
.fl-driver-table th:nth-child(4){width:18%}
.fl-driver-table th:nth-child(5){width:14%}
.fl-driver-table td.fl-cert-cell{width:14%}
.fl-card-head{grid-template-columns:25% 25% 25% 25%}
/* 表头与单元格内容统一居中对齐 */
.fl-driver-table th{text-align:center;padding:14px 12px}
.fl-driver-table td{text-align:center;padding:18px 12px}
.fl-driver-table td.fl-cert-cell{text-align:center;padding-right:12px}
.fl-plate{justify-content:center}
/* 证件列表头与内容同样居中（覆盖早前的 right 规则） */
.fl-driver-table th:last-child{text-align:center;padding-right:12px}
/* 详情弹窗内的证件展示 */
.detail-certs{grid-column:1/-1;margin-top:14px;padding-top:20px;border-top:1px dashed var(--line)}
.detail-cert-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:0}
.detail-cert-head strong{font-size:14px;color:var(--ink)}
.detail-cert-head span{font-size:12px;color:var(--muted)}
.detail-cert-empty{padding:10px 0;color:var(--muted);font-size:13px}
.detail-cert-upload{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.detail-cert-head .detail-cert-upload{margin-left:10px;padding:4px 12px;font-size:12px}
.detail-cert-head{margin-bottom:0}
.detail-cert-head strong{font-size:16px}
.detail-cert-head span{font-size:13px}
.detail-cert-head .detail-cert-upload{margin-left:12px;padding:8px 18px;font-size:13px;border-radius:9px}
.detail-cert-empty{font-size:14px;padding:12px 0}
.detail-cert-head>div{display:grid;gap:4px}.detail-cert-head>div span{color:var(--muted);font-weight:400}.detail-cert-head.has-files{margin-bottom:12px}.detail-certs .certificate-list article{padding:14px 16px}
/* 新增时的待上传证件 */
.pending-cert-list{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-height:34px;padding-top:10px}
.pending-cert-empty{color:var(--muted);font-size:13px}
.pending-cert-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#F7FBF9;font-size:13px;color:var(--ink)}
.pending-cert-chip button{border:0;background:transparent;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;padding:0}
.pending-cert-chip button:hover{color:var(--red)}


/* ===== 全局字号放大：整体文字调大一号，减轻阅读疲劳 ===== */
th,td{font-size:15px}
th{font-size:13px}
.tag{font-size:13px;padding:4px 10px}
.link-button{font-size:13px}
.page-intro p{font-size:15px}
.form-grid label{font-size:14px}
.form-grid input,.form-grid select{font-size:14px}
.form-grid .static-field{font-size:14px}
.pending-cert-empty{font-size:14px}
.detail-cert-head span{font-size:14px}
.fleet-info-wrap td{font-size:15px}
.fl-name{font-size:17px}
.fl-serial{font-size:13px}
.fl-contact-phone small{font-size:13px}
.fl-contact-phone strong{font-size:16px}
.fl-foot-text{font-size:14px}
.fl-code .code-copy,.fl-driver-table .code-copy{font-size:14px}
.fl-driver-table{font-size:15px}
.fl-driver-table th{font-size:13px}
.fl-driver-table .fl-empty{font-size:14px}

/* ===== 应用内确认弹窗（替代浏览器原生 confirm，可叠加在业务弹窗之上） ===== */
.confirm-mask{position:fixed;inset:0;z-index:240;background:rgba(10,39,31,.55);display:grid;place-items:center;padding:20px}
.confirm-modal{width:min(460px,100%);background:#fff;border:1px solid rgba(178,214,204,.85);border-radius:14px;box-shadow:0 24px 64px rgba(5,45,41,.28);padding:24px 26px}
.confirm-modal p{margin:0 0 22px;font-size:15px;line-height:1.7;color:var(--ink)}
.confirm-modal footer{display:flex;justify-content:flex-end;gap:12px}
.confirm-modal .refresh{min-width:88px;min-height:38px}
.confirm-modal .confirm-danger{min-width:88px;min-height:38px;border:1px solid var(--red);border-radius:9px;background:var(--red);color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.confirm-modal .confirm-danger:hover{background:#A91F1F;border-color:#A91F1F}

/* 仪表盘"更新于"时间戳 */
#dashboardRefreshedAt{color:var(--brand-dark);font-variant-numeric:tabular-nums}

/* ===== 车队(父级)与司机列表(子级)层级强化 ===== */
/* 1) 车队头部：浅绿渐变父级栏，视觉上是"容器" */
.fl-card-head{background:linear-gradient(180deg,#F2FAF4 0%,#EAF4EC 100%);border-bottom:1px solid #DCEBE0;border-radius:14px 14px 0 0}
.fl-card.is-open .fl-card-head{background:linear-gradient(180deg,#EDF7EF 0%,#E3F0E7 100%)}
.fl-card .fl-name{font-size:17px;font-weight:700;color:var(--brand-dark)}
.fl-card .fl-serial{color:#5F7A6E}
/* 2) 司机区：内缩圆角浅底，读作"卡片里的内容" */
.fl-card .fl-body{margin:12px;border:1px solid #E2EEE6;border-radius:10px;background:#FBFDFB;padding:12px 14px 14px}
/* 3) 司机表头用更浅的白底，与父级绿栏形成深浅对比 */
.fl-card .fl-driver-table thead th{background:#fff}

/* ===== 车队行 vs 司机行：质感差异化 ===== */
/* 车队行：绿色徽标 + 更深的父级底色 */
.fl-tag{display:inline-block;margin-right:8px;padding:2px 9px;border-radius:999px;background:var(--brand);color:#fff;font-size:12px;font-weight:600;letter-spacing:1px;vertical-align:2px}
.fl-card .fl-card-head{background:linear-gradient(180deg,#E9F5EC 0%,#DDEEE2 100%)}
.fl-card.is-open .fl-card-head{background:linear-gradient(180deg,#E2F1E6 0%,#D4E9DA 100%)}
/* 司机区整体一个边框框架（不填充），凸显父子层级 */
.fl-card .fl-body{margin:12px;border:1px solid #DCEBE1;border-radius:10px;background:#fff;padding:12px 14px 14px}
/* 框内表头/行不加任何填充 */
.fl-card .fl-driver-table tbody tr:nth-child(even){background:transparent}
.fl-card .fl-driver-table tbody tr:hover{background:transparent}
.fl-card .fl-driver-table thead th{background:transparent;border-bottom:1px solid #E4EEE7}
.fl-card .fl-driver-table tbody tr:nth-child(even) td{background:transparent}
.fl-card .fl-driver-table tbody td{border-bottom:1px solid #EEF3F0;background:transparent}
.fl-card .fl-driver-table tbody tr:last-child td{border-bottom:0}
.fl-card .fl-driver-table tbody tr:hover td{background:#F6FAF7}
.fl-card .fl-driver-table .fl-empty{background:transparent}

/* ===== 客户详情弹窗整体放大 ===== */
.modal:has(.source-detail){width:min(960px,100%)}
.source-detail-head,.source-detail>div{gap:20px;padding:15px 24px}
.source-detail-head>span{font-size:14px}
.source-detail>div>span{font-size:15px}
.source-detail>div>strong{font-size:16.5px}

/* 删除弹窗冗余"关闭"按钮后的配套布局 */
.confirm-actions.solo{justify-content:flex-end}
.notification-detail footer:empty{display:none}

/* ===== 编辑客户弹窗布局优化 ===== */
/* 与客户详情同宽，减少滚动 */
.modal:has(#editSourceForm){width:min(960px,100%)}
/* 空的错误占位不再撑出空隙 */
.form-error:empty{display:none}

/* ===== 车队栏放大、司机栏缩小，突出包含层级 ===== */
/* 车队头部（父级框架）：更厚实高大 */
.fl-card .fl-card-head{padding:22px 24px}
/* 司机区（子级框架）：明显小一号——四周大幅内缩、内边距收紧 */
.fl-card .fl-body{margin:16px 36px 20px;padding:8px 12px 10px}

/* ===== 证件：未上传显示「上传证件」按钮，已上传显示缩略图 ===== */
.fl-cert-thumbs{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.fl-cert-thumb{width:38px;height:30px;border-radius:6px;overflow:hidden;border:1px solid #DCEBE1;background:#fff;box-shadow:0 1px 2px rgba(22,62,54,.06)}
.fl-cert-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.fl-cert-thumbs:hover .fl-cert-thumb{border-color:#AFCFC7}
.fl-cert-more{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#EEF2F0;color:#5E736D;font-size:11.5px;font-weight:700}

/* ===== 车队头栏去除填充色 ===== */
.fl-card .fl-card-head,.fl-card.is-open .fl-card-head{background:#fff;border-bottom:1px solid #E4EEE7}

/* ===== Four-end shared surface system =====
   Layout depth comes from 1%-3% surface steps. Borders remain only where a
   control needs an explicit hit/entry boundary. */
:root{
  color-scheme:light;
  --font-ui:"Times New Roman","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  --grid:4px;
  --canvas:#FFFFFF;
  --surface-1:#FFFFFF;
  --surface-2:#F4F5F2;
  --surface-3:#E9ECE8;
  --control-edge:#C7CEC9;
  --bg:var(--canvas);
  --panel:var(--surface-1);
  --line:var(--surface-3);
  --ink:#17372E;
  --muted:#5A7065;
  --brand:#3E9B63;
  --brand-dark:#0E352B;
}
html,body,button,input,select,textarea,option,table{
  font-family:var(--font-ui);
}
body{background:var(--canvas);color:var(--ink)}
:is(.panel,.card,.stat,.return-board,.return-panel,.task-card,.feedback-card,.fleet-card,.fl-card,.modal-card,.confirm-modal,.table-wrap,.account-card,.notice-card,.empty-card){
  border:0!important;
  background:var(--surface-1)!important;
  box-shadow:none!important;
}
:is(.panel-head,.card-head,.fl-card-head,.fl-body,.fl-foot,.detail-certs,.certificate-empty,.pending-cert-list,.form-section,.summary-box){
  border-color:transparent!important;
  background:var(--surface-2);
}
.fl-card .fl-card-head,.fl-card.is-open .fl-card-head{border:0!important;background:var(--surface-2)!important}
.fl-card .fl-foot{background:var(--surface-3)!important}
.fl-card .fl-body{border:0!important;background:var(--surface-1)!important}
table{border-collapse:separate;border-spacing:0;background:var(--surface-1)}
thead,th{background:var(--surface-3)!important}
th,td{border-color:transparent!important}
tbody tr:nth-child(even){background:var(--surface-1)}
tbody tr:nth-child(odd){background:var(--surface-2)}
input,select,textarea,.static-field,.code-copy{
  border-color:var(--control-edge)!important;
  background:var(--surface-1)!important;
  color:var(--ink)!important;
}
.modal-backdrop .modal-card{box-shadow:0 24px 72px rgba(14,34,27,.16)!important}
.mono,[data-count],.stat strong,.return-metric strong,.binding-code,.code-copy,.notification-time,.appointment-range,.fl-serial,.fl-phone-cell,.fl-contact-phone strong{
  font-family:"Times New Roman","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
button,.button,.primary,.secondary,.link-button,.nav-item,.menu-item{
  transition:background-color 160ms cubic-bezier(.2,.8,.2,1),color 160ms cubic-bezier(.2,.8,.2,1),opacity 140ms ease,transform 140ms cubic-bezier(.2,.8,.2,1);
}
button:active,.button:active,.primary:active,.secondary:active{transform:scale(.985)}
.modal-backdrop,.confirm-mask{animation:ql-overlay-in 180ms ease-out both}
.modal-card,.confirm-modal{animation:ql-modal-in 240ms cubic-bezier(.16,1,.3,1) both}
.interactive-track-map,.drag-surface,[draggable="true"]{transition:none!important;touch-action:none}
.interactive-track-map:active,.drag-surface:active,[draggable="true"]:active{cursor:grabbing}
.ink-stream-segment{animation:ql-ink-wash-in 480ms cubic-bezier(.16,1,.3,1) both}
@keyframes ql-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes ql-modal-in{from{opacity:0;transform:translateY(10px) scale(.992)}to{opacity:1;transform:none}}
@keyframes ql-ink-wash-in{0%{opacity:0;filter:blur(4px);transform:translateY(3px)}55%{opacity:.76;filter:blur(1px)}100%{opacity:1;filter:blur(0);transform:none}}

@media(prefers-color-scheme:dark){
  :root{
    color-scheme:light;
    --canvas:#FFFFFF;
    --surface-1:#FFFFFF;
    --surface-2:#F4F5F2;
    --surface-3:#E9ECE8;
    --control-edge:#C7CEC9;
    --bg:var(--canvas);
    --panel:var(--surface-1);
    --line:var(--surface-3);
    --ink:#17372E;
    --muted:#5A7065;
    --brand:#3E9B63;
    --brand-dark:#0E352B;
    --green:#3E9B63;
    --green-soft:#EAF4EC;
    --orange:#B95524;
    --orange-soft:#FFF1E7;
    --red:#B83E32;
    --red-soft:#FCEBE9;
  }
  body{background:var(--canvas);color:var(--ink);font-weight:400}
  h1,h2,h3,.page-intro h1,.panel-title,.fl-name,.primary,.tag{font-weight:600}
  /* Keep the official multicolour logo intact on a calibrated light brand rail. */
  .topbar,.side{background:#FFFFFF!important;color:#17372E!important;border-color:transparent!important}
  .topbar :is(.topbar-user,.topbar-logout,.nav-toggle),.side :is(.who,.logout,.nav button){color:#17372E!important}
  .topbar :is(.top-nav button,.live),.side :is(.role,.side-brand-english){color:#5A7065!important}
  .topbar .top-nav button.active,.side .nav button.active{color:#0E352B!important}
  .topbar .top-nav button:hover,.side .nav button:hover,.topbar-logout:hover{background:#EAF4EC!important;color:#0E352B!important}
  .nav-toggle{background:#F4F5F2!important;border-color:#C7CEC9!important}
  :is(.panel,.card,.stat,.return-board,.return-panel,.task-card,.feedback-card,.fleet-card,.fl-card,.modal-card,.confirm-modal,.table-wrap,.account-card,.notice-card,.empty-card){background:var(--surface-1)!important}
  :is(.panel-head,.card-head,.fl-card-head,.fl-body,.fl-foot,.detail-certs,.certificate-empty,.pending-cert-list,.form-section,.summary-box){background:var(--surface-2)!important}
  .return-overview,.return-hero,.task-alerts>header,.dispatch-summary-card>header,.task-alert-list{background:var(--surface-2)!important;border-color:transparent!important}
  .task-alerts .task-alert-row,.dispatch-summary-card>button,.return-vehicle-list button,.page-actions .back-action{background:var(--surface-1)!important;border-color:transparent!important}
  .task-alerts .task-alert-row:hover,.dispatch-summary-card>button:hover,.return-vehicle-list button:hover{background:var(--surface-2)!important}
  .task-alert-row>strong,.dispatch-summary-card strong,.return-board strong,td,td strong{color:var(--ink)!important}
  th,.task-alert-row>small,.dispatch-summary-card span{color:var(--muted)!important}
  .alert-label,.status.warning,.tag.warning{background:var(--red-soft)!important;color:var(--red)!important}
  .status,.tag,.pill{background:var(--surface-3)!important;color:var(--brand-dark)!important}
  table,tbody tr:nth-child(even){background:var(--surface-1)}
  thead,th{background:var(--surface-3)!important}
  tbody tr:nth-child(odd){background:var(--surface-2)!important}
  input,select,textarea,.static-field,.code-copy{background:var(--surface-2)!important;color:var(--ink)!important}
  input::placeholder,textarea::placeholder{color:#75877E}
  .plate-chip,.pending-cert-chip{border-color:#C8D7CE;background:var(--surface-2);color:var(--brand-dark)}
}

/* Archive lists stay on one calm white plane; hierarchy comes from spacing and
   typography instead of alternating row fills. */
:is(.source-table,.fl-driver-table) tbody tr,
:is(.source-table,.fl-driver-table) tbody tr:nth-child(odd),
:is(.source-table,.fl-driver-table) tbody tr:nth-child(even),
:is(.source-table,.fl-driver-table) tbody tr:hover,
:is(.source-table,.fl-driver-table) tbody tr:focus-visible{
  background:transparent!important;
}

/* Fleet archive cards use a real outline instead of broad tinted fills. */
.fl-card{
  border:1px solid var(--control-edge)!important;
  background:var(--surface-1)!important;
  box-shadow:none!important;
}
.fl-card:hover,.fl-card.is-open{border-color:#AAB5AD!important;box-shadow:none!important}
.fl-card.is-open::before{display:none!important}
.fl-card .fl-card-head,.fl-card.is-open .fl-card-head,
.fl-card .fl-body,.fl-card .fl-foot{
  background:var(--surface-1)!important;
}
.fl-card .fl-card-head{border-bottom:1px solid #E3E7E4!important}
.fl-card .fl-body{border:0!important}
.fl-card .fl-foot{border-top:1px solid #E3E7E4!important}

/* Reusable list structure: mint belongs to headings, while white data rows
   are held together by visible neutral rules and container outlines. */
:root{
  --structure-mint:#EAF4EC;
  --structure-edge:#B8C8BC;
  --row-divider:#C7D4CA;
}
:is(.panel-head,.task-alerts>header,.return-list-head,.date-group>h3){
  background:var(--structure-mint)!important;
  border-bottom:1px solid var(--structure-edge)!important;
}
:is(.panel,.return-board,.task-alerts,.dispatch-summary-card,.fl-card){
  border:1px solid var(--structure-edge)!important;
}
.source-table{border:1px solid var(--structure-edge)!important}
table thead,
table thead tr,
table thead th{
  background:#EAF4EC!important;
}
table thead th{
  border-bottom:1px solid var(--structure-edge)!important;
}
table tbody td{
  border-bottom:1px solid var(--row-divider)!important;
  background:var(--surface-1)!important;
}
table tbody tr:last-child td{
  border-bottom:0!important;
}

@media(prefers-reduced-motion:reduce){
  button,.button,.primary,.secondary,.link-button,.nav-item,.menu-item,.modal-backdrop,.confirm-mask,.modal-card,.confirm-modal,.ink-stream-segment{animation:none!important;transition:none!important}
}

/* ===== 任务中心精简：物料类型并入客户列副行 ===== */
.cell-sub{display:block;margin-top:3px;font-size:12px;font-weight:400;color:var(--muted)}

/* ===== 客户档案：按物料类型分三组 ===== */
.empty-cell{text-align:center;color:var(--muted);font-size:13px}

/* ===== 客户档案：档案卡形式（按物料类型分组） ===== */
.source-archive{display:grid;gap:22px}
.source-group{display:grid;min-width:0;border:1px solid #DCE9E1;border-radius:14px;background:#FFF;overflow:hidden}
.source-group-head{display:flex;align-items:baseline;gap:10px;margin:0;padding:13px 18px;border-left:4px solid #4CAF50;border-bottom:1px solid #E4EEE7;background:#FFF;font-size:15px;color:var(--ink)}
.source-group-name{font-weight:700}
.source-group-count{color:var(--muted);font-size:12px;font-weight:500}
.source-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;padding:16px 18px 18px}
.source-card{display:grid;gap:12px;padding:15px 16px 12px;border:1px solid #DCE9E1;border-radius:12px;background:#FFF;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.source-card:hover,.source-card:focus-visible{border-color:#9FC7B4;box-shadow:0 6px 18px rgba(23,58,44,.08);transform:translateY(-1px);outline:none}
.source-card-head{display:flex;align-items:flex-start;gap:11px;min-width:0}
.source-seal{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:8px;background:#EAF4EC;color:#2F6B46;font-size:13px;font-weight:700}
.source-card-title{display:grid;gap:3px;min-width:0}
.source-card-title strong{color:var(--ink);font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.source-card-title span{color:var(--muted);font-size:11px;letter-spacing:.02em}
.source-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:0}
.source-fields>div{min-width:0}
.source-fields .wide{grid-column:1/-1}
.source-fields dt{margin-bottom:2px;color:var(--muted);font-size:11px}
.source-fields dd{margin:0;color:var(--ink);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.source-card-foot{display:flex;align-items:center;justify-content:space-between;padding-top:9px;border-top:1px dashed #E4EEE7;color:var(--brand);font-size:12px;font-weight:600}
.source-card-arrow{font-size:15px;line-height:1}
.source-group-empty{margin:16px 18px 18px;padding:16px;border:1px dashed #DCE9E1;border-radius:10px;background:#FAFCFB;color:var(--muted);font-size:13px;text-align:center}
@media(max-width:600px){.source-cards{grid-template-columns:1fr}.source-archive{gap:20px}}
#sourceContent.source-archive{padding:0;background:transparent}

/* ===== 运输公司：公司名为表头，车队长与司机各为档案卡 ===== */
#fleetContent.fleet-archive{display:grid;gap:22px;padding:0;background:transparent}
.fleet-group{display:grid;min-width:0;border:1px solid #DCE9E1;border-radius:14px;background:#FFF;overflow:hidden}
.fleet-group .source-group-head{align-items:center}
.fleet-group .source-group-name{font-size:17px}
.fleet-group-actions{display:flex;align-items:center;gap:16px;margin-left:auto}
.fleet-group-actions .link-button{padding:5px 10px;background:transparent;border:0;color:var(--brand);font-size:14px;font-weight:700;cursor:pointer}
.fleet-group-actions .link-button:hover{color:#2F6B46;text-decoration:underline}
.fleet-leader{border-color:#333A35!important;background:#FFF!important}
.fleet-driver .source-card-title span{color:#8A968F}
.fleet-body{display:grid;gap:14px;padding:16px 18px 18px}
.fleet-sub-label{color:#24463A;font-size:15px;font-weight:700;letter-spacing:.04em}
.fleet-divider{height:1px;background:#BCD3C6}
#fleetContent .source-cards{grid-template-columns:repeat(auto-fill,minmax(150px,210px));gap:22px;padding:0}
#fleetContent .fleet-leader,#fleetContent .fleet-driver{position:relative;gap:0;padding:9px 26px;border:1px solid #333A35!important;border-radius:9px;background:#FFF!important;text-align:center}
#fleetContent .fleet-leader .source-card-head,#fleetContent .fleet-driver .source-card-head{display:block}
#fleetContent .fleet-leader .source-card-title,#fleetContent .fleet-driver .source-card-title{display:grid;justify-items:center;gap:4px}
#fleetContent .fleet-leader .source-card-title strong,#fleetContent .fleet-driver .source-card-title strong{font-size:16.5px}
#fleetContent .fleet-leader .source-card-title span,#fleetContent .fleet-driver .source-card-title span{color:#3F5B4C;font-size:12px;font-weight:600;letter-spacing:.08em}
#fleetContent .source-card-head .source-card-arrow{position:absolute;right:12px;top:50%;margin:0;transform:translateY(-50%);color:#B4C4BA;font-size:16px;line-height:1;transition:color .16s ease,transform .16s ease}
#fleetContent .fleet-leader:hover .source-card-arrow,#fleetContent .fleet-driver:hover .source-card-arrow{color:var(--brand);transform:translateY(-50%) translateX(2px)}
.fleet-note{grid-column:1/-1;padding:16px;border:1px dashed #DCE9E1;border-radius:10px;background:#FAFCFB;color:var(--muted);font-size:13px;text-align:center}
@media(max-width:600px){#fleetContent.fleet-archive{gap:18px}.fleet-group-actions{gap:12px}#fleetContent .source-cards{grid-template-columns:1fr}}

/* ===== 页面底色改纯白：给面板补回极浅描边，避免白底白卡糊成一片 ===== */
.panel,.stat{border:1px solid #E9EDEA!important}
.panel>.panel-head,.panel-head{border-bottom:1px solid #F0F3F1!important}

/* ===== 编辑公司/新增司机 按钮加大（上传证件保持默认大小） ===== */
.fleet-group-actions .link-button{padding:8px 16px;font-size:16px}

/* ===== 详情弹窗证件区块：去掉灰底，与弹窗保持同一白底 ===== */
.modal .detail-certs,
.modal .detail-certs .detail-cert-head,
.modal .detail-certs .detail-cert-empty,
.modal .detail-certs .certificate-list article,
.modal .detail-certs .pending-cert-list{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.modal .detail-certs{border-top:1px solid #EDF1EE!important;border-radius:0!important}


/* ===== 客户档案：与运输公司档案卡统一（黑框、紧凑、居中） ===== */
#sourceContent .source-group-head{align-items:center}
#sourceContent .source-group-name{font-size:17px}
#sourceContent .source-cards{grid-template-columns:repeat(auto-fill,minmax(150px,210px));gap:22px;padding:16px 18px 18px}
#sourceContent .source-card{position:relative;display:block;gap:0;padding:9px 26px;border:1px solid #333A35!important;border-radius:9px;background:#FFF!important;text-align:center;box-shadow:none!important;transform:none}
#sourceContent .source-card:hover,#sourceContent .source-card:focus-visible{border-color:#333A35!important;box-shadow:none!important;transform:none}
#sourceContent .source-card-head{display:block;min-width:0}
#sourceContent .source-card-title{display:grid;justify-items:center;gap:4px;min-width:0}
#sourceContent .source-card-title strong{font-size:16.5px}
#sourceContent .source-card-title span{color:#3F5B4C;font-size:12px;font-weight:600;letter-spacing:.08em}
#sourceContent .source-card .source-card-arrow{position:absolute;right:12px;top:50%;margin:0;transform:translateY(-50%);color:#B4C4BA;font-size:16px;line-height:1;transition:color .16s ease,transform .16s ease}
#sourceContent .source-card:hover .source-card-arrow{color:var(--brand);transform:translateY(-50%) translateX(2px)}
/* 客户卡：只有名字，框加宽 */
#sourceContent .source-cards{grid-template-columns:repeat(auto-fill,minmax(240px,320px))}
#sourceContent .source-card{padding:13px 30px}
#sourceContent .source-card-title strong{font-size:17px}
/* 客户卡：一排均分填满大框架，不留右侧空白 */
#sourceContent .source-cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
/* 客户卡：卡片按固定间距从左往右正常排列，剩余空间留在右侧，不硬撑满整行 */
#sourceContent .source-cards{grid-template-columns:repeat(auto-fit,minmax(240px,320px));justify-content:start;gap:22px}
/* 运输公司：卡片列宽不变，一行内的剩余空间均匀分到卡片之间 */
#fleetContent .source-cards{grid-template-columns:repeat(auto-fit,minmax(150px,210px));justify-content:space-between;gap:22px}
/* ===== 外框加重、内卡减轻：外框要比卡片更醒目 ===== */
.source-group,.fleet-group{border:1.5px solid #55655B!important;border-radius:14px!important;box-shadow:0 1px 4px rgba(23,55,44,.05)!important}
#sourceContent .source-card{border:1px solid #8A978D!important}
#fleetContent .fleet-leader,#fleetContent .fleet-driver{border:1px solid #8A978D!important}
/* ===== 两个档案页字体整体缩小一档 ===== */
#sourceContent .source-group-name,
.fleet-group .source-group-name{font-size:15px}
#sourceContent .source-card-title strong{font-size:15px}
#fleetContent .fleet-leader .source-card-title strong,
#fleetContent .fleet-driver .source-card-title strong{font-size:15px}
.fleet-sub-label{font-size:13.5px}
.source-group-count{font-size:11.5px}
#sourceContent .source-card .source-card-arrow,
#fleetContent .source-card-head .source-card-arrow{font-size:14px}
/* 表头字号调大一些 */
#sourceContent .source-group-name,
.fleet-group .source-group-name{font-size:17.5px;letter-spacing:.01em}
.source-group-count{font-size:12.5px}
/* ===== 统一页面左右边距：顶栏与内容区使用同一水平内边距 ===== */
.topbar-inner{padding:0 54px!important}
.content{padding-left:54px!important;padding-right:54px!important}
@media(max-width:1280px){.topbar-inner{padding:0 30px!important}.content{padding-left:30px!important;padding-right:30px!important}}
@media(max-width:600px){.topbar-inner{padding:0 14px!important}.content{padding-left:14px!important;padding-right:14px!important}}
/* ===== 固定滚动条占位：避免长短页切换时内容整体左右晃动 ===== */
html{scrollbar-gutter:stable}
/* 客户详情弹窗：内容不再全加粗 */
.source-detail>div>strong{font-weight:400}
.source-detail>div>strong .primary-fleet-tag{font-weight:600}
/* 档案卡内文字不加粗（运营账号卡片与客户档案卡片同款，均为常规字重） */
#sourceContent .source-card-title strong,
#fleetContent .fleet-leader .source-card-title strong,
#fleetContent .fleet-driver .source-card-title strong,
#accountContent .source-card-title strong{font-weight:400}
/* 客户档案分组表头：与「司机 · N」小标题同样式（无绿条、同字号字重、计数同色） */
#sourceContent .source-group-head{border-left:0!important;border-bottom:0!important;padding:2px 4px 12px;background:#FFF!important}
#sourceContent .source-group-name,
#sourceContent .source-group-count{color:#24463A;font-size:15px;font-weight:700;letter-spacing:.04em}
/* 恢复客户分组表头的绿色左条与下边线（保留 · N 计数格式） */
#sourceContent .source-group-head{border-left:4px solid #4CAF50!important;border-bottom:1px solid #E4EEE7!important;padding:13px 18px}
/* ===== 现场安排看板：与档案页统一为白底描边风格 ===== */
.compact-return-board .return-overview{background:#FFF!important}
.compact-return-board .return-hero{gap:36px;padding:26px 34px;border-bottom:1px solid #EDF1EE}
.compact-return-board .return-heading h2 strong{font-size:54px}
.return-status-summary::before{background:#DCE9E1}
.return-summary-item strong{font-size:20px}
/* 告示条去色块，只留文字层级 */
.return-priority{background:#FFF!important;color:#5A7065;font-weight:400;border-top:1px solid #EDF1EE}
.return-priority.urgent{background:#FFF!important;color:#B95524;border-top:1px solid #F3E2D4}
/* 明细表：白底 + 明显分隔线，与任务中心表格一致 */
.return-list-head{background:#FFF!important;border-bottom:1px solid #EDF1EE}
.return-columns{background:#FFF!important;color:#5A7065;border-bottom:2px solid #9DBFAF}
.compact-return-board .return-vehicle-list button{background:#FFF!important;border-bottom:1px solid #B9D2C6}
.return-vehicle-list button:hover{background:#F7FAF7}
.return-fleet strong{font-weight:500}
.compact-return-board .return-heading h2{font-weight:400}
/* ===== 车辆明细：客户/运输公司/车辆/预计到达时间 四列，居中对齐 ===== */
.return-columns,.compact-return-board .return-vehicle-list button{grid-template-columns:1.1fr 1.2fr .9fr 1fr;text-align:center;justify-items:center}
.compact-return-board .return-vehicle-list button .return-plate{font-size:15px}
.compact-return-board .return-vehicle-list button .return-arrival{font-size:14px;color:var(--ink)}
.compact-return-board .return-vehicle-list button .return-fleet strong{font-size:14px;font-weight:400}
.compact-return-board .return-vehicle-list button .return-source strong{font-size:14px;font-weight:400}
.compact-return-board .return-vehicle-list button .return-vehicle-main small{margin-top:2px}
.compact-return-board .return-vehicle-list button>i{display:none}
.compact-return-board .return-list-head{background:#FFF!important}
.return-columns span{font-weight:500}

/* ===== 车辆明细对齐修正：表头与数据行统一为同样 4 列（老规则 !important 锁了 5 列导致错位） ===== */
.return-columns,
.compact-return-board .return-vehicle-list button{
  grid-template-columns:1.1fr 1.2fr .9fr 1fr!important;
  justify-items:center!important;
  text-align:center!important;
  padding-left:28px!important;
  padding-right:28px!important;
}

/* 车辆明细标题行与列头之间的分隔线加实 */
.return-list-head{border-bottom:1px solid #B9D2C6!important}
.return-columns{border-top:1px solid #B9D2C6!important}

/* ===== 现场安排头部重排：去时间轴长线，改为一行紧凑指标 ===== */
.compact-return-board .return-hero{display:flex!important;align-items:center;gap:72px;padding:24px 34px!important;border-bottom:1px solid #EDF1EE}
.compact-return-board .return-heading h2{display:flex!important;align-items:baseline;gap:10px;margin:0!important;font-size:14px!important;font-weight:500;color:#5A7065}
.compact-return-board .return-heading h2 span{display:inline;margin:0}
.compact-return-board .return-heading h2 strong{font-size:42px;line-height:1;color:var(--brand);letter-spacing:-.02em}
.compact-return-board .return-heading h2 small{font-size:14px;color:var(--ink)}
.return-status-summary{display:flex!important;align-items:center;gap:64px}
.return-status-summary::before{display:none!important}
.return-summary-item{flex-direction:row!important;align-items:center;gap:10px;min-width:0;height:auto;padding:0;font-weight:500}
.return-summary-item i{flex:none;width:11px;height:11px;margin:0;border:3px solid var(--brand)}
.return-summary-item strong{order:0;font-size:22px;line-height:1;color:var(--ink)}
.return-summary-item>span{order:1;font-size:13.5px;color:#5A7065}
.return-summary-item.urgent i{border-color:#D66A2C}
.return-summary-item.urgent strong,.return-summary-item.urgent>span{color:#B95524}
.return-priority{padding:12px 34px!important;font-size:13.5px}

/* ===== 现场安排头部：业务流三段式（预计回场 | 状态分布 | 下一辆到场） ===== */
.compact-return-board .return-hero{display:flex!important;align-items:center;flex-wrap:wrap;gap:0!important;padding:22px 34px!important;border-bottom:1px solid #EDF1EE}
.compact-return-board .return-heading{display:inline-flex!important;align-items:baseline;gap:10px;margin:0!important;font-size:14px;font-weight:500;color:#5A7065}
.compact-return-board .return-heading strong{font-size:42px;line-height:1;color:var(--brand);letter-spacing:-.02em}
.compact-return-board .return-heading small{font-size:14px;color:var(--ink)}
.return-status-summary{display:flex!important;align-items:center;gap:40px;padding:0 40px!important;margin-left:40px;border-left:1px solid #E9EDEA}
.return-status-summary::before{display:none!important}
.return-summary-item{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;min-width:0;height:auto;padding:0!important;border:0!important;background:transparent!important;font-weight:500}
.return-summary-item i{flex:none;width:10px;height:10px;margin:0;border:3px solid var(--brand);border-radius:50%;background:#fff}
.return-summary-item strong{order:0;font-size:20px;line-height:1;color:var(--ink)}
.return-summary-item>span{order:1;font-size:13px;color:#5A7065}
.return-summary-item.urgent i{border-color:#D66A2C}
.return-summary-item.urgent strong,.return-summary-item.urgent>span{color:#B95524}
.return-next{display:grid;justify-items:end;gap:4px;margin-left:auto;padding-left:40px;text-align:right}
.return-next>span{color:#8AA096;font-size:12px;letter-spacing:.05em}
.return-next>strong{color:var(--brand);font-size:22px;line-height:1;font-weight:700}
.return-next>small{color:#5A7065;font-size:12.5px}
.return-next.urgent>strong{color:#B95524}

/* ============ v106 方案A·时刻表指挥台：任务中心重排 ============ */
/* 首屏结论：64px 大数字 + 下一辆到达 + 全页唯一主按钮 */
.return-hero-card{margin-bottom:24px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.return-hero-main{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:30px 32px 26px}
.return-hero-info{min-width:0}
.return-hero-label{font-size:12px;font-weight:600;color:var(--muted)}
.return-hero-count{display:flex;align-items:baseline;gap:10px;margin-top:8px}
.return-hero-count strong{font-size:64px;line-height:1;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.return-hero-count span{font-size:16px;color:var(--muted)}
.return-hero-next{margin:12px 0 0;font-size:15px;font-weight:500;color:var(--ink)}
.return-hero-action{display:grid;justify-items:end;gap:8px;flex:none}
.return-hero-action .primary{min-height:46px;padding:12px 26px;border-radius:8px;font-size:15px;box-shadow:none}
.return-hero-action .primary:disabled{opacity:.5;cursor:not-allowed}
.return-hero-action small{font-size:12px;color:var(--muted)}
/* 三阶段摘要卡：第三张橙色双通道 */
.return-stage-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 32px 28px}
.return-stage-card{display:grid;gap:6px;padding:14px 20px;border-radius:12px;background:var(--surface-2)}
.return-stage-card>span{font-size:12px;font-weight:600;color:var(--muted)}
.return-stage-card>div{display:flex;align-items:baseline;gap:6px}
.return-stage-card strong{font-size:28px;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}
.return-stage-card small{font-size:13px;color:var(--muted)}
.return-stage-card.urgent{background:var(--amber-bg)}
.return-stage-card.urgent>span,.return-stage-card.urgent strong,.return-stage-card.urgent small{color:var(--amber)}
/* 到站时刻表：时间 / 车牌车型 / 客户 / 阶段 / 运输公司 */
.return-timetable-shell{margin-bottom:24px}
.return-timetable-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.tt-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px 14px}
.tt-head h2{margin:0;font-size:16px;color:var(--ink)}
.tt-head>span{font-size:12px;color:var(--muted)}
.tt-columns,.tt-row{display:grid;grid-template-columns:120px minmax(150px,1.1fr) minmax(140px,1fr) 130px 150px;align-items:center;gap:16px;padding-left:24px;padding-right:24px}
.tt-columns{padding-top:10px;padding-bottom:10px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:600}
.tt-list{display:grid}
.tt-row{width:100%;padding-top:14px;padding-bottom:14px;border:0;border-top:1px solid var(--gray-bg);background:var(--panel);text-align:left;color:var(--ink);font-size:14px;cursor:pointer}
.tt-row:hover{background:#F7FAF7}
.tt-time{display:grid;gap:2px}
.tt-time strong{font-size:17px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.tt-time small{font-size:11px;color:var(--muted)}
.tt-time.urgent strong,.tt-time.urgent small{color:var(--amber)}
.tt-time.pending strong{font-size:13px;font-weight:500;color:var(--muted)}
.tt-vehicle{display:grid;gap:2px;min-width:0}
.tt-vehicle strong{font-size:15px}
.tt-vehicle small{font-size:12px;color:var(--muted)}
.tt-source,.tt-fleet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.tt-chip.ready{background:var(--blue-bg);color:var(--blue)}
.tt-chip.route{background:var(--brand-soft);color:var(--brand)}
/* 下半区：待办提醒（2/3）+ 调度概览（1/3） */
.dashboard-lower{grid-template-columns:minmax(0,1fr) 340px!important;align-items:start}
.task-alerts>header{background:var(--panel)!important;border-bottom:1px solid var(--gray-bg)!important}
.alert-count-pill{display:inline-flex!important;place-items:center;min-width:0!important;height:auto!important;padding:4px 12px!important;border-radius:999px;background:var(--red-bg)!important;color:var(--red)!important;font-size:12px!important;font-weight:600}
.task-alerts .task-alert-row{grid-template-columns:110px minmax(0,1fr) auto!important}
.alert-text{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.alert-text small{color:var(--muted)}
.alert-empty{padding:26px 24px;color:var(--muted);font-size:13px}
.dispatch-summary-card{display:flex!important;flex-direction:column;align-items:stretch;gap:16px;padding:24px}
.dispatch-summary-card>header{min-height:0!important;padding:0!important;border-bottom:0!important;background:var(--panel)!important}
.dispatch-summary-counts{display:flex!important;gap:36px;padding:0!important;border-left:0!important}
.dispatch-summary-counts span{display:grid!important;grid-template-columns:1fr!important;gap:4px}
.dispatch-summary-counts strong{font-size:28px}
.dispatch-summary-card>button{width:100%;min-height:42px;margin:0!important}
@media(max-width:1100px){
  .dashboard-lower{grid-template-columns:1fr!important}
  .tt-columns,.tt-row{grid-template-columns:100px minmax(130px,1.1fr) minmax(120px,1fr) 110px 130px}
}
@media(max-width:960px){
  .return-hero-main{flex-direction:column;align-items:flex-start;padding:24px 20px}
  .return-hero-action{justify-items:start}
  .return-hero-count strong{font-size:52px}
  .return-stage-row{grid-template-columns:1fr;padding:0 20px 20px}
  .tt-columns{display:none}
  .tt-row{grid-template-columns:auto minmax(0,1fr);gap:8px 18px}
  .tt-time{grid-row:1/5}
  .tt-vehicle,.tt-source,.tt-stage,.tt-fleet{grid-column:2}
}

/* ===== v107 统一底色 + 边框清晰 ===== */
.return-hero-card,.return-timetable-card,.task-alerts,.dispatch-summary-card,.panel{
  background:#FFF!important;border:1px solid #C6D4CB!important;border-radius:14px!important;box-shadow:none!important
}
/* 状态摘要卡：去灰底/橙底，统一白底描边，紧急只保留文字色 */
.return-stage-card{background:#FFF!important;border:1px solid #C6D4CB!important}
.return-stage-card.urgent{background:#FFF!important}
.return-stage-card.urgent>span,.return-stage-card.urgent strong,.return-stage-card.urgent small{color:#B95524}
/* 时刻表：列头白底加重下边线，行分隔线加实 */
.tt-head{border-bottom:1px solid #E4EEE7}
.tt-columns{background:#FFF!important;border-bottom:2px solid #9DBFAF}
.tt-row{border-top:1px solid #B9D2C6!important}
.tt-row:first-child{border-top:0!important}
.task-alerts>header{background:#FFF!important}

/* ===== 边框再加重一档：外框深灰绿，与档案页外框同级 ===== */
.return-hero-card,.return-timetable-card,.task-alerts,.dispatch-summary-card,.panel{
  border:1.5px solid #6E8478!important
}
.return-stage-card{border:1px solid #8CA094!important}
.return-stage-card.urgent{border:1px solid #B95524!important}
.tt-columns{border-bottom:2px solid #6E8478!important}
.tt-row{border-top:1px solid #A8BCB0!important}

/* ===== 时刻表五列：客户|运输公司|车牌|预计到达|当前阶段，均分且居中 ===== */
.tt-columns,.tt-row{grid-template-columns:repeat(5,1fr)!important;justify-items:center!important;text-align:center!important}
.tt-columns{padding-left:24px!important;padding-right:24px!important}
.tt-row{padding-left:24px!important;padding-right:24px!important}
.tt-time,.tt-vehicle{justify-items:center;display:grid}
.tt-fleet,.tt-source{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}

/* ===== 时刻表内线减轻：外重内轻，内线不得抢过外框 ===== */
.tt-columns{border-bottom:1px solid #B9D2C6!important}
.tt-row{border-top:1px solid #D5E2DA!important}

/* ===== 框线颜色统一：全部用同一 #7C9285，仅以粗细分层级 ===== */
.return-hero-card,.return-timetable-card,.task-alerts,.dispatch-summary-card,.panel{border:1.5px solid #7C9285!important}
.return-stage-card{border:1px solid #7C9285!important}
.return-stage-card.urgent{border:1px solid #7C9285!important}
.tt-columns{border-bottom:1px solid #7C9285!important}
.tt-row{border-top:1px solid #7C9285!important}
.tt-row:first-child{border-top:0!important}

/* ===== 调度任务卡移到底部：不再挤在右侧窄列，改为整行横条 ===== */
.dashboard-lower{grid-template-columns:minmax(0,1fr)!important}
.dispatch-summary-card{flex-direction:row!important;align-items:center;gap:28px;padding:20px 24px!important}
.dispatch-summary-card>header{flex:none;min-height:0!important;padding:0!important;border:0!important}
.dispatch-summary-counts{margin-left:auto;gap:40px}
.dispatch-summary-counts span{grid-template-columns:auto 1fr!important;align-items:baseline;gap:8px}
.dispatch-summary-counts strong{font-size:26px}
.dispatch-summary-card>button{width:auto;min-width:130px;flex:none}

/* ===== 标题字号统一、正文字号统一 ===== */
.tt-head h2,.task-alerts>header h2,.dispatch-summary-card h2{font-size:16px!important;font-weight:700}
.tt-head>span,.task-alerts>header span,.dispatch-summary-card header span{font-size:12.5px!important}
.return-empty,.alert-empty,.tt-row,.tt-source,.tt-fleet{font-size:14px!important}
.tt-time strong{font-size:15px!important}
.tt-time small,.tt-vehicle small{font-size:12px!important}

/* 首屏 hero 的「预计回场（已装车 + 回场途中）」同样按卡片标题规格：16px 加粗 */
.return-hero-label{font-size:16px!important;font-weight:700!important;color:var(--ink)!important}

/* v113: 页头操作按钮统一宽度 */
.page-actions .compact{min-width:122px!important;text-align:center!important}

/* v116: 服务反馈页结构与其他档案页一致 */
.feedback-toolbar{position:relative}
.feedback-toolbar .toolbar-filter-panel{left:auto}

/* v117: 运营账号页与档案页样式一致 */
#accountContent.source-cards{grid-template-columns:repeat(auto-fit,minmax(240px,320px));justify-content:space-between;gap:22px}
#accountContent .source-card{position:relative;display:block;gap:0;padding:13px 30px;border:1px solid #8A978D!important;border-radius:9px;background:#FFF!important;text-align:center;box-shadow:none!important;transform:none}
#accountContent .source-card:hover,#accountContent .source-card:focus-visible{border-color:#333A35!important;box-shadow:none!important;transform:none}
#accountContent .source-card-head{display:block;min-width:0}
#accountContent .source-card-title{display:grid;justify-items:center;gap:4px;min-width:0}
#accountContent .source-card-title strong{font-size:15px}
#accountContent .source-card-title span{color:#3F5B4C;font-size:12px;font-weight:600;letter-spacing:.04em}
#accountContent .source-card .source-card-arrow{position:absolute;right:12px;top:50%;margin:0;transform:translateY(-50%);color:#B4C4BA;font-size:16px;line-height:1;transition:color .16s ease,transform .16s ease}
#accountContent .source-card:hover .source-card-arrow{color:var(--brand);transform:translateY(-50%) translateX(2px)}
.account-group-head-button{margin-left:auto;align-self:center}
/* 账号增删记录：与交接台一致的表格形式（浅绿表头 + 居中三列：变更 / 账号 / 时间·操作人） */
.audit-table{display:grid;min-width:0}
.audit-table-head,.audit-table-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:center;text-align:center}
.audit-table-head{padding:14px 24px;background:#EFF5F1;color:#3F5C52;font-size:13.5px;font-weight:700;border-bottom:1px solid #D8E2DB}
.audit-table-row{padding:16px 24px;border-bottom:1px solid #D8E2DB;color:var(--ink)}
.audit-table-row:last-child{border-bottom:0}
.audit-table-row .tag{justify-self:center}
.audit-table .tag-create{background:#E6F4EA;color:#2E7D4F}
.audit-table .tag-delete{background:#FBE9E9;color:#B54A4A}
.audit-table-row strong{display:block;font-size:15px;color:#15372E}
.audit-table-row small{display:block;color:#7A8C83;font-size:12.5px}
.audit-table-row .audit-detail{color:var(--ink);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:640px){.audit-table-head,.audit-table-row{grid-template-columns:1fr;gap:6px;padding:14px 18px}.audit-table-row .tag{justify-self:center}#accountContent .source-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v118: 运营账号分主管/管理，两组之间加大间距 */
/* v163: 账号卡片固定每行 4 列、等宽，位置按整行 4 个的网格确定（不再随宽度自动换行） */
.account-archive{display:grid;gap:36px}
#accountContent .source-cards{grid-template-columns:repeat(4,minmax(0,1fr));justify-content:start;gap:22px;padding:0}

/* 调度任务：任务号 / 所需车辆列 */
.date-group th.col-taskno{width:20%}
.date-group th.col-vehicle{width:18%}
.date-group .taskno-cell{color:#45645C;white-space:nowrap}
.date-group .vehicle-cell{color:#45645C;white-space:nowrap;font-variant-numeric:tabular-nums}

/* 调度任务：组内物料类型小标题居中 */
.date-group .material-sub{margin:24px 0 14px}
.date-group .material-sub h4{margin:0 0 12px;text-align:center;font-size:20px;font-weight:700;letter-spacing:1px;color:#17372E}
.date-group .material-sub h4 .sub-count{display:inline-block;margin-left:10px;padding:2px 12px;border-radius:999px;background:#E4F2E8;font-size:15px;font-weight:700;letter-spacing:0;color:#2E7D4F;vertical-align:2px}

/* v124: 调度任务 B · 派单工作台（左队列 + 右详情，选中即派单） */
.dispatch-page-intro h2{color:#15372E}
.dispatch-page-intro p{margin:0}
.dispatch-page-intro .page-actions .primary{background:#fff;border:1px solid #DCE6DE;color:#15372E;box-shadow:none;font-weight:600}
.dispatch-page-intro .page-actions .primary:hover{background:#F4F8F5;border-color:#7FAA91}
.dispatch-workbench{display:grid;grid-template-columns:minmax(320px,.58fr) minmax(0,1fr);gap:20px;align-items:start}
.dw-queue,.dw-detail{border:1.5px solid #55655B;border-radius:14px;background:#fff;box-shadow:0 1px 4px rgba(23,55,44,.05)}
.dw-queue{overflow:visible}
.dw-detail{overflow:hidden}
.dw-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 22px 18px;border-bottom:1px solid #A3BCAB;border-radius:14px 14px 0 0;background:#fff}
.dw-queue-head>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.dw-queue-head h3{margin:0;font-size:16px;font-weight:700;color:#15372E;white-space:nowrap}
.dw-queue-count{margin-left:8px;color:#3E9B63;font-size:13px;font-weight:700}
.dw-sort{border:0;background:transparent;padding:4px 0;color:#587067;font-size:12px;white-space:nowrap}
.dw-sort:hover{color:#3E9B63}
/* 调度队列分类：与交接台胶囊同构，但带更实的描边，选中态一眼可见 */
.dw-stages{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px;border-bottom:1px solid #A3BCAB;background:#fff}
.dw-stage{padding:8px 14px;border:1px solid #A3BCAB;border-radius:999px;background:#fff;color:#587067;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s}
.dw-stage:hover{border-color:#3E9B63;background:#F4FBF7}
.dw-stage.active{border-color:#3E9B63;background:#E7F5EC;color:#0E352B;font-weight:700}
.dw-queue-list{display:grid;padding:6px 0;max-height:min(660px,calc(100vh - 260px));overflow:auto;background:#fff;border-radius:0 0 14px 14px}
.dw-queue-list.load-row{display:block}
.dw-empty{padding:56px 20px;text-align:center;color:#7A8C82;font-size:13px;line-height:1.8}
.dw-empty small{color:#9AA9A0}
.dw-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:94px;padding:18px 20px 18px 24px;border:0;border-bottom:1px solid #F0F3EF;background:#fff;text-align:left;color:#15372E;transition:background .15s}
.dw-card:last-child{border-bottom:0}
.dw-card:hover{background:#F7FBF8}
.dw-card.selected{background:#F0F8F3;box-shadow:inset 0 0 0 1px #3E9B63}
.dw-card-bar{position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0}
.dw-card-bar.overdue{background:#B83E32}
.dw-card-bar.today{background:#B95524}
.dw-card-main{display:grid;gap:7px;min-width:0}
.dw-card-main strong{font-size:15px;font-weight:700;color:#15372E;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dw-card-main small{font-size:12.5px;color:#7A8C82;white-space:nowrap}
.dw-card-time{display:grid;gap:7px;justify-items:end;flex:0 0 auto;text-align:right}
.dw-card-time strong{font-size:14px;font-weight:700;color:#15372E;font-variant-numeric:tabular-nums;white-space:nowrap}
.dw-card-time small{font-size:12.5px;color:#8A9A90;white-space:nowrap}
.dw-card-time .overdue{color:#B83E32}
.dw-card.pending .dw-card-bar{background:#C66A2E}
.dw-card.assigned .dw-card-bar{background:#3E9B63}
.dw-card.pending.selected{background:#FFF9F2;box-shadow:inset 0 0 0 1px #C66A2E}
.dw-card.assigned.selected{background:#EDF7F0}
.dw-card-time small{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:6px;font-weight:700}
.dw-card.pending .dw-card-time small{background:#FFF0E4;color:#A74D1F}
.dw-card.assigned .dw-card-time small{background:#E4F3E9;color:#246D43}
.dw-card-main em{font-size:12px;font-style:normal;font-weight:650;color:#246D43;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-detail{padding:32px 36px 36px}
.dw-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:28px;border-bottom:1px solid #A3BCAB}
.dw-detail-head h3{margin:0;font-size:24px;font-weight:700;color:#15372E}
.dw-detail-head h3 .mono{font-size:23px}
.dw-detail-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.dw-pill{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:#EAF4EE;color:#2E7D4F;font-size:13px;font-weight:650}
.dw-pill.warn{background:#FBEAE7;color:#B83E32}
.dw-detail-actions .link-button{border-color:#DCE6DE;color:#316F78;font-weight:650;margin:0}
.dw-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 32px;margin:30px 0 32px;padding:0}
.dw-fact{display:grid;gap:9px;min-width:0}
.dw-fact dt{font-size:13px;color:#7A8C82}
.dw-fact dd{margin:0;font-size:16px;font-weight:650;color:#15372E;overflow-wrap:anywhere}
.dw-red{color:#B83E32}
.dw-orange{color:#B95524}
.dw-section{border-top:1px solid #A3BCAB;padding:28px 0}
.dw-section>strong{display:block;font-size:15px;font-weight:700;color:#15372E}
.dw-photos{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.dw-photo-list{display:flex;gap:10px}
.dw-photo{width:100px;height:74px;border:1px solid #E5EBE6;border-radius:9px;background:#F1F4F1;color:#8A9A90;font-size:12px}
.dw-photo:hover{border-color:#3E9B63;color:#3E9B63}
.dw-photo-none{font-size:12.5px;color:#9AA9A0}
.dw-fleets>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.dw-fleets>header small{color:#9AA9A0;font-size:12.5px}
.dw-fleet-list{display:grid;gap:10px}
.dw-fleet-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:14px 18px;border:1px solid #A3BCAB;border-radius:10px;background:#fff;cursor:pointer;transition:background .15s}
.dw-fleet-row:hover{background:#F7FBF8}
.dw-fleet-row.selected{background:#EDF7F0;border-color:#BFE0C9}
.dw-fleet-row input[type="radio"]{appearance:auto;-webkit-appearance:radio;display:block;box-sizing:border-box;flex:none;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;margin:0;padding:0;justify-self:center;align-self:center;accent-color:#3E9B63;cursor:pointer}
.dw-fleet-name{font-size:15px;font-weight:650;color:#15372E;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dw-primary-mark{display:inline-block;margin-left:8px;padding:2px 6px;border-radius:5px;background:#DBEFE3;color:#246D43;font-size:11px;font-style:normal;font-weight:700}
.dw-fleet-cap{justify-self:end;color:#587067;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
/* 运力展示（小车/大车数量、运力充足判定、运力暂不可用）已移除，车队卡片仅显示名称与单选 */
.dw-fleet-none{padding:24px;text-align:center;color:#9AA9A0;font-size:13px;background:#FAFCFA;border-radius:10px}
.dw-assign{display:block;width:fit-content;min-height:0;padding:11px 26px;margin:18px auto 0;border:0;border-radius:8px;background:#3E9B63;color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em}
.dw-assign:hover:not(:disabled){background:#358657}
.dw-assign:disabled{background:#C9D8CD;cursor:not-allowed}
.dw-assigned{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.dw-assigned p{margin:0;color:#587067;font-size:13px}
.dw-selected-section>header{margin-bottom:18px}
.dw-selected-fleet,.dw-selected-fleet:hover{cursor:default}
.dw-change-fleet{min-height:38px;padding:0 15px;border:1px solid #3E9B63;border-radius:8px;background:#fff;color:#245F3D;font-family:inherit;font-size:13px;font-weight:650;cursor:pointer}
.dw-change-fleet:hover,.dw-change-fleet:focus-visible{background:#EDF7F0}
.dw-drivers{margin-top:18px}
.dw-drivers-label{margin-bottom:10px;color:#3F5C52;font-size:13px;font-weight:700}
.dw-driver-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:12px;padding:0 18px 10px;border:1px solid transparent;color:#3F5C52;font-size:13px;font-weight:700;text-align:center}
.dw-driver-list{display:grid;gap:8px}
.dw-driver-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:12px;min-height:56px;padding:12px 18px;border:1px solid #A3BCAB;border-radius:10px;background:#fff;text-align:center}
.dw-driver-name{font-size:14px;font-weight:700;color:#15372E;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dw-driver-type{font-size:14px;font-weight:650;color:#4A635A;text-align:center;white-space:nowrap}
.dw-driver-plate{font-size:14px;color:#4A635A;text-align:center;white-space:nowrap}
.dw-driver-state{justify-self:center;padding:5px 11px;border-radius:999px;background:#EAF4EE;color:#2E7D4F;font-size:13px;font-weight:650;white-space:nowrap}
.dw-toast{position:fixed;right:24px;top:82px;z-index:220;max-width:340px;padding:13px 18px;border:1px solid #BFE0C9;border-radius:11px;background:#EDF7F0;color:#2E7D4F;font-size:13px;font-weight:650;box-shadow:0 14px 34px rgba(23,55,46,.14)}
.dw-toast.error{background:#FBEAE7;border-color:#EBC3BB;color:#B83E32}
@media(max-width:1100px){.dispatch-workbench{grid-template-columns:minmax(0,1fr)}.dw-queue-list{max-height:320px}.dw-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dw-detail{padding:18px 16px 22px}.dw-detail-head{flex-direction:column}.dw-facts{grid-template-columns:1fr 1fr;gap:16px}.dw-fleet-row{grid-template-columns:18px minmax(0,1fr) auto;gap:8px}.dw-fleet-cap{font-size:12px}.dispatch-page-intro{align-items:flex-start;flex-direction:column}.dw-driver-columns,.dw-driver-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-left:10px;padding-right:10px}.dw-driver-name,.dw-driver-type,.dw-driver-plate{font-size:12px}.dw-driver-state{font-size:11px;padding:4px 6px}}

/* 运营账号编辑弹窗：删除账号按钮（靠左、危险色） */
.account-delete{margin-right:auto;border:1px solid #F1C9CC;background:#fff;color:var(--red);border-radius:11px;padding:0 18px;min-width:104px;min-height:42px;font-weight:600}
.account-delete:hover{background:var(--red-bg)}

/* v128 任务中心：交接台为主工作面，异常压成一行，抽屉独立承接处置 */
.dashboard-refreshed{font-size:12px;color:var(--muted);white-space:nowrap}
.handover-board{margin-bottom:26px}
.hb-card{overflow:hidden;border:1.5px solid #55655B;border-radius:14px;background:var(--panel);box-shadow:0 1px 4px rgba(23,55,44,.05)}
.hb-hero{display:grid;grid-template-columns:1fr;gap:32px;align-items:center;padding:40px 36px;border-bottom:1px solid #D8E2DB;background:linear-gradient(115deg,#EDF7F1,#FAFDFB)}
.hb-label{font-size:13px;font-weight:700;letter-spacing:.04em;color:#3E7A5B}
.hb-count{display:flex;align-items:baseline;gap:10px;margin-top:6px}
.hb-count strong{font-size:88px;line-height:1;font-weight:750;color:#0E352B;font-variant-numeric:tabular-nums}
.hb-count span{font-size:20px;font-weight:650;color:#356B5B}
.hb-hero-main{display:grid;gap:10px}
.hb-chips{display:flex;flex-wrap:wrap;gap:8px}
.hb-chip{padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:#587067;font-size:13.5px;font-weight:600;cursor:pointer}
.hb-chip:hover{border-color:#9FC7B0;background:#F4FBF7}
.hb-chip.active{border-color:#3E9B63;background:#E7F5EC;color:#0E352B;font-weight:700}
.hb-expand{border:0;background:transparent;color:#2E7D4F;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.hb-columns,.hb-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:center}
.hb-columns{padding:16px 24px;background:#EFF5F1;color:#3F5C52;font-size:13.5px;font-weight:700;text-align:center;border-bottom:1px solid #D8E2DB}
.hb-row{width:100%;padding:19px 24px;border:0;border-bottom:1px solid #D8E2DB;background:var(--panel);color:var(--ink);text-align:center;cursor:pointer}
.hb-row:last-child{border-bottom:0}
.hb-row:hover{background:#F5FBF8}
.hb-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hb-fleet{color:#4A635A;font-size:15px}
.hb-vehicle strong{display:block;font-size:15px;color:#15372E}
.hb-vehicle small{color:#7A8C83;font-size:12.5px}
.hb-time strong{display:block;font-size:15px;color:#15372E;font-variant-numeric:tabular-nums}
.hb-time small{display:block;color:#7A8C83;font-size:12.5px}
.hb-time.urgent strong{color:#B95524}
.hb-time.pending strong{font-size:14px;color:#587067}
.hb-stage{justify-self:center;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:650;white-space:nowrap}
.hb-stage.route{background:#E7F5EC;color:#2E7D4F}
.hb-empty{padding:26px;text-align:center;color:#7A8C83;font-size:13px}

/* 已完成任务队列卡片：调度队列同构，灰色条与小标签区分「沉淀区」气质 */
.dw-card.done .dw-card-bar{background:#8A978D}
.dw-card.done.selected{background:#F2F7F4;box-shadow:inset 0 0 0 1px #8A978D}
.dw-card.done .dw-card-time small{background:#EEF3EF;color:#587067}
.dw-pill.done{background:#EEF3EF;color:#587067}

.dashboard-status-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ds-row,.es-row{display:flex;align-items:center;gap:16px;width:100%;min-height:110px;padding:20px 26px;border:1.5px solid #55655B;border-radius:14px;background:var(--panel);color:var(--ink);text-align:left;cursor:pointer;box-shadow:0 1px 4px rgba(23,55,44,.05)}
.ds-row:hover,.es-row:hover{border-color:#2F6B46;background:#F7FCF9}
.ds-icon,.es-dot{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-size:19px;font-weight:700}
.ds-icon{background:#E7F5EC;color:#2E7D4F}
.ds-icon.warn{background:#FDEDE8;color:#B95524}
.ds-body{display:grid;gap:6px;flex:1;min-width:0}
.ds-body strong,.es-row strong{font-size:19px;font-weight:700;color:#15372E}
.ds-body small,.es-row small{font-size:13px;color:#7A8C83;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds-row>i,.es-row>i{margin-left:auto;font-style:normal;font-size:14px;font-weight:700;color:#2E7D4F;white-space:nowrap}
.es-dot{width:10px;height:10px;border-radius:50%;background:#3E9B63}
.es-dot.warn{background:#E5734A;box-shadow:0 0 0 5px rgba(229,115,74,.14)}
.ds-row.clear,.es-row.clear{cursor:default;border:1.5px solid #8A978D}
.ds-row.clear:hover,.es-row.clear:hover{border-color:#8A978D;background:var(--panel)}

/* v134 统一详情面板：首页不换页，交接 / 派单 / 异常共用同一个壳与关闭方式 */
.modal>header.with-back{justify-content:flex-start;gap:14px}
.modal>header.with-back .icon-button{margin-left:auto}
.modal-back{flex:none;border:0;background:transparent;color:#2E7D4F;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;padding:4px 0}
.modal-back:hover{text-decoration:underline}
.modal.workbench-modal{width:min(1340px,96vw)}
.modal.workbench-modal .modal-body{padding:24px 26px 28px}
.modal.workbench-modal .dispatch-workbench{gap:18px}
.modal.workbench-modal .dw-queue-list{max-height:min(58vh,560px)}
/* v136: 异常处理与派单工作台同构（左异常队列 + 右详情与处置），弹窗布局直接复用 workbench 规则；
   ex-modal 仅作为该面板的标记类保留（E2E 与返回标签定位用） */
.ex-queue-note{color:#B95524;font-weight:700}
.ex-vehicle-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.ex-vehicle-head strong{font-size:15px;font-weight:700;color:#15372E}
.ex-vehicle-head small{color:#9AA9A0;font-size:12.5px;text-align:right}
.ex-vehicle-list{display:grid;gap:10px}
.ex-trip{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;min-height:62px;padding:13px 18px;border:1px solid #A3BCAB;border-radius:10px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:background .15s}
.ex-trip:hover{background:#F7FBF8}
.ex-trip strong{font-size:15px;font-weight:650;color:#15372E}
.ex-trip .mono{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-trip-tag{flex:none;padding:4px 10px;border-radius:999px;background:#FDEDE8;color:#B95524;font-size:12px;font-weight:700}
.ex-trip i{font-style:normal;font-size:12.5px;font-weight:650;color:#2E7D4F;white-space:nowrap}
.ex-trip-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.ex-trip-meta{font-size:12px;color:#6B7D74;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ex-note{margin:0;font-size:12.5px;line-height:1.6;color:#7A8C83}
@media(max-width:1100px){.hb-hero{grid-template-columns:1fr;gap:14px}.dashboard-status-row{grid-template-columns:1fr}.hb-columns,.hb-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}}
@media(max-width:700px){.hb-columns{display:none}.hb-row{display:flex;flex-wrap:wrap;gap:6px 12px;padding:14px 18px}.hb-row .hb-source{flex:1 1 100%}.hb-row .hb-fleet{flex:1 1 auto}.hb-row .hb-vehicle,.hb-row .hb-time,.hb-row .hb-stage{flex:0 0 auto}.hb-row .hb-time{text-align:right}.modal.workbench-modal .modal-body{padding:16px 14px 20px}.ex-trip{padding:12px 14px}.ex-vehicle-head{flex-direction:column;align-items:flex-start;gap:4px}}

/* 运营账号：主管 / 管理 上下分组，账号卡片统一固定每行 4 列 */
.account-roles{display:grid;gap:14px;min-width:0}
.account-roles .account-role{display:grid;gap:14px;min-width:0}

/* v135 派单工作台：面板外壳尺寸固定，切换任务单只在两栏内部换内容，不再整块上下跳 */
.modal.workbench-modal{height:min(92vh,1000px);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden}
.modal.workbench-modal>header{flex:0 0 auto}
.modal.workbench-modal .modal-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.modal.workbench-modal .dispatch-workbench{flex:1 1 auto;min-height:0;align-items:stretch}
.modal.workbench-modal .dw-queue{display:flex;flex-direction:column;min-height:0;overflow:visible}
.modal.workbench-modal .dw-queue-head,.modal.workbench-modal .dw-stages{flex:0 0 auto}
.modal.workbench-modal .dw-queue-list{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;align-content:start}
.modal.workbench-modal .dw-detail{position:relative;min-height:0;overflow:auto;overscroll-behavior:contain}
.dw-detail.is-loading::before{content:'';position:absolute;z-index:2;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,#3E9B63,#8FCBA5,#3E9B63);background-size:200% 100%;animation:dwLoading 1s linear infinite}
@keyframes dwLoading{from{background-position:100% 0}to{background-position:-100% 0}}
.dw-skeleton{display:grid;gap:16px;min-height:100%;padding:8px 0}
.dw-skeleton span{display:block;height:18px;border-radius:8px;background:linear-gradient(90deg,#F2F6F3,#E7EFE9,#F2F6F3);background-size:200% 100%;animation:dwLoading 1.4s linear infinite}
.dw-skeleton span:nth-child(1){width:46%;height:28px}
.dw-skeleton span:nth-child(2){width:82%}
.dw-skeleton span:nth-child(3){width:100%;height:96px}
.dw-skeleton span:nth-child(4){width:64%;height:52px}
@media(max-width:1100px){
  .modal.workbench-modal{height:auto;max-height:90vh;overflow:auto}
  .modal.workbench-modal .modal-body{display:block;overflow:visible}
  .modal.workbench-modal .dispatch-workbench{grid-template-columns:minmax(0,1fr)}
  .modal.workbench-modal .dw-queue-list{flex:none;max-height:320px}
  .modal.workbench-modal .dw-detail{overflow:visible}
}
@media(max-width:700px){.workbench-modal .dw-skeleton{min-height:auto}}

/* ===== 弹窗按钮统一格式：所有弹窗动作按钮统一为「白底 + 绿边框 + 深色文字」描边样式（参照「编辑运输公司」弹窗底部的 删除公司/保存） ===== */
/* 覆盖：业务弹窗(.modal)与独立二次确认弹窗(.confirm-modal)中的主按钮(.primary，含上传证件)、次要按钮(.refresh)、
   危险确认(.confirm-danger)、账号删除(.account-delete)；选中态、悬停态、禁用态一并统一 */
.modal :is(.primary,.refresh,.confirm-danger,.account-delete),
.confirm-modal :is(.refresh,.confirm-danger){
  min-height:42px;border:1px solid var(--brand);border-radius:8px;background:#fff;color:var(--ink);font-weight:650;box-shadow:none}
.modal :is(.primary,.refresh,.confirm-danger,.account-delete):hover:not(:disabled),
.confirm-modal :is(.refresh,.confirm-danger):hover:not(:disabled){
  background:var(--brand-soft)}
.modal :is(.primary,.refresh,.confirm-danger,.account-delete):disabled,
.confirm-modal :is(.refresh,.confirm-danger):disabled{
  opacity:1;background:#E0E9E6;color:#5A6F69;border-color:#C7D9D4;cursor:not-allowed}
/* 派单工作台整宽主按钮保持原尺寸，仅统一为描边格式 */
.modal .dw-assign{display:block;width:fit-content;min-height:0;padding:11px 26px;margin:18px auto 0;border:1px solid var(--brand);border-radius:8px;background:#fff;color:var(--ink);box-shadow:none;font-size:14px;font-weight:700;letter-spacing:.02em}
.modal .dw-assign:hover:not(:disabled){background:var(--brand-soft)}
.modal .dw-assign:disabled{background:#E0E9E6;color:#5A6F69;border-color:#C7D9D4;cursor:not-allowed}
/* 弹窗内行内小按钮（证件预览/删除、查看车次、拍照说明等）只统一为绿边+深色文字，尺寸与排版不变 */
.modal .link-button{border-color:var(--brand);color:var(--ink)}
.modal .link-button:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft);color:var(--ink)}
.modal .link-button:disabled{border-color:#C7D9D4;color:#5A6F69;background:#E0E9E6}

/* v159: 司机/公司证件区块——整块加框、内容居中，空态不再显示「尚未上传证件」 */
.modal .detail-certs{
  grid-column:1/-1;
  margin-top:18px!important;
  padding:20px 22px!important;
  border:1.5px solid #A3BCAB!important;
  border-top:1.5px solid #A3BCAB!important;
  border-radius:14px!important;
  background:#FFF!important;
  box-shadow:none!important;
  text-align:center;
}
.modal .detail-certs .detail-cert-head{
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}
.modal .detail-certs .detail-cert-head>div{justify-items:center;gap:6px}
.modal .detail-certs .detail-cert-head .detail-cert-upload{margin-left:0}
.modal .detail-certs .pending-cert-list{justify-content:center;min-height:0;padding-top:14px}
.modal .detail-certs .pending-cert-list:empty{display:none;padding-top:0}
.modal .detail-certs .detail-cert-empty{text-align:center}
.modal .fleet-cert-title{margin-top:20px;text-align:left;color:var(--muted);font-size:14px;font-weight:400}
.modal .detail-certs.fleet-cert-summary{margin-top:10px!important}
.modal .fleet-cert-summary .certificate-list{justify-items:center}
.modal .fleet-cert-summary .fleet-cert-item{display:flex;flex-direction:column;gap:10px;width:100%;padding:0 0 14px;border:0}
.modal .fleet-cert-summary .fleet-cert-item img{display:block;max-width:100%;max-height:360px;object-fit:contain;cursor:pointer}
.modal .fleet-cert-summary .fleet-cert-image-error{padding:24px;color:var(--muted)}
.modal .fleet-cert-summary .detail-cert-head{margin-top:12px;margin-bottom:0}
.modal .fleet-cert-summary .fleet-cert-actions{display:flex;align-items:center;justify-content:center;gap:14px}
.modal .fleet-cert-summary .fleet-cert-actions .detail-cert-upload{margin:0}

.source-view-grid input[readonly]{background:#fff;color:var(--ink);cursor:default}.source-view-fleet{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#fff}.source-view-fleet strong{font-weight:600}.source-view-fleet span{color:var(--brand-dark);font-size:12px;font-weight:700}.source-code-field{display:grid;gap:7px;color:var(--muted);font-size:13px}.source-code-field .code-copy{display:inline-flex;align-items:center;min-height:42px;width:max-content;padding:9px 11px;border:1px solid #AFCFC7;border-radius:10px;background:#fff;color:var(--ink);font-size:15px;cursor:pointer}

/* 客户查看和编辑弹窗共用宽度与运输公司卡片规格。 */
.modal:has(.source-view-grid){width:min(960px,100%)}
.source-view-fleets>div,.fleet-relation-picker>div{gap:10px}
.source-view-fleet.dw-fleet-row{grid-template-columns:18px minmax(0,1fr);min-height:66px;padding:14px 18px;border-color:#A3BCAB;border-radius:10px;cursor:default}
.source-view-fleet.dw-fleet-row.selected{border-color:#BFE0C9;background:#EDF7F0}
.source-view-fleet .source-fleet-indicator{width:18px;height:18px;border:1.5px solid #788980;border-radius:50%}
.source-view-fleet.selected .source-fleet-indicator{border-color:#3E9B63;background:#3E9B63;box-shadow:inset 0 0 0 4px #EDF7F0}
.source-view-fleet .dw-fleet-name{color:#15372E;font-size:15px;font-weight:650}
.fleet-relation-picker label{min-height:66px;padding:14px 18px;border-color:#A3BCAB;border-radius:10px}
.fleet-relation-picker label:hover{background:#F7FBF8}
.fleet-relation-picker label:has(input[name="relatedFleetIds"]:checked){border-color:#BFE0C9;background:#EDF7F0}
.fleet-relation-picker label>span{color:#15372E;font-size:15px;font-weight:650}
.fleet-relation-picker label input[type="checkbox"]{appearance:none;width:18px;height:18px;margin:0;border:1.5px solid #788980;border-radius:50%;background:#fff;cursor:pointer}
.fleet-relation-picker label input[type="checkbox"]:checked{border-color:#3E9B63;background:#3E9B63;box-shadow:inset 0 0 0 4px #EDF7F0}
.fleet-relation-picker label input[type="radio"]{width:18px;height:18px;margin:0;cursor:pointer}

.source-view-fleet.dw-fleet-row{grid-template-columns:18px minmax(0,1fr) auto;min-height:72px}
.source-view-fleet .dw-fleet-cap,.fleet-relation-picker label .dw-fleet-cap{color:#587067;font-size:13px;font-weight:400;white-space:nowrap}
.fleet-relation-picker label:has(input[name="relatedFleetIds"]){grid-template-columns:18px minmax(0,1fr) auto 18px auto}
@media(max-width:600px){.fleet-relation-picker label:has(input[name="relatedFleetIds"]){grid-template-columns:18px minmax(0,1fr) 18px auto}.fleet-relation-picker label .dw-fleet-cap{grid-column:2;grid-row:2;justify-self:start}.source-view-fleet.dw-fleet-row{grid-template-columns:18px minmax(0,1fr) auto}.source-view-fleet .dw-fleet-cap{font-size:12px}}

.source-view-fleet.dw-fleet-row{display:grid;align-items:center}
.source-fleet-choice input[type="checkbox"]:checked,.fleet-relation-picker label input[type="checkbox"]:checked{background-color:#EDF7F0!important;background-image:radial-gradient(circle at center,#3E9B63 0 4px,transparent 4.5px)!important;border-color:#3E9B63;box-shadow:none}

/* 公司名称靠左，车辆数居中，主要公司选择靠右。 */
.source-view-fleet.dw-fleet-row{grid-template-columns:18px minmax(0,1fr) auto minmax(0,1fr)}
.source-view-fleet .dw-fleet-cap{grid-column:3;justify-self:center}
.fleet-relation-picker label:has(input[name="relatedFleetIds"]){grid-template-columns:18px minmax(0,1fr) auto minmax(0,1fr) 18px auto}
.fleet-relation-picker label:has(input[name="relatedFleetIds"]) .dw-fleet-cap{grid-column:3;justify-self:center}
.fleet-relation-picker label:has(input[name="relatedFleetIds"]) input[name="primaryFleetId"]{grid-column:5}
.fleet-relation-picker label:has(input[name="relatedFleetIds"]) em{grid-column:6}
@media(max-width:600px){.source-view-fleet.dw-fleet-row{grid-template-columns:18px minmax(0,1fr) auto}.source-view-fleet .dw-fleet-cap{grid-column:3}.fleet-relation-picker label:has(input[name="relatedFleetIds"]){grid-template-columns:18px minmax(0,1fr) 18px auto}.fleet-relation-picker label:has(input[name="relatedFleetIds"]) .dw-fleet-cap{grid-column:2;grid-row:2;justify-self:start}.fleet-relation-picker label:has(input[name="relatedFleetIds"]) input[name="primaryFleetId"]{grid-column:3;grid-row:1}.fleet-relation-picker label:has(input[name="relatedFleetIds"]) em{grid-column:4;grid-row:1}}

/* 客户详情与编辑页的运输公司选择圈使用同一尺寸和圆点。 */
.source-view-fleet .source-fleet-indicator,
.fleet-relation-picker label input[type="checkbox"]{
  box-sizing:border-box;display:block;flex:none;width:20px!important;min-width:20px;max-width:20px;
  height:20px!important;min-height:20px!important;max-height:20px;margin:0;padding:0!important;
  border:1.5px solid #788980;border-radius:50%;background-color:transparent!important;
  background-image:none!important;box-shadow:none;appearance:none
}
.source-view-fleet.selected .source-fleet-indicator,
.fleet-relation-picker label input[type="checkbox"]:checked{
  border-color:#3E9B63;background-color:transparent!important;
  background-image:radial-gradient(circle at center,#3E9B63 0 5px,transparent 5.5px)!important;box-shadow:none
}

.source-view-fleet .source-fleet-indicator,.fleet-relation-picker label input[type="checkbox"]{border:1.5px solid #788980!important}
.source-view-fleet.selected .source-fleet-indicator,.fleet-relation-picker label input[type="checkbox"]:checked{border-color:#3E9B63!important}

/* 已关联公司在查看状态不重复显示选择圈；主要公司仅用文字标记。 */
.source-view-fleet.dw-fleet-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);background:#fff;border-color:#A3BCAB}
.source-view-fleet .dw-fleet-cap{grid-column:2}
@media(max-width:600px){.source-view-fleet.dw-fleet-row{grid-template-columns:minmax(0,1fr) auto}.source-view-fleet .dw-fleet-cap{grid-column:2}}

.source-view-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:18px;border-top:1px dashed var(--line)}

/* v195: 任务中心整体压缩——顶栏/标题/交接台 hero/列表行距收紧，首屏即可看全清单，不用下滑 */
.topbar{height:60px}
.topbar-inner{padding:0 24px}
.topbar-brand{width:132px;height:44px}
.topbar-logout{min-height:34px;padding:6px 12px;font-size:13.5px}
.page-intro{margin-bottom:18px}
.page-intro h2{font-size:20px;margin:0}
.handover-board{margin-bottom:18px}
.hb-hero{gap:8px;padding:18px 24px}
.hb-hero-main{gap:4px}
.hb-count{margin-top:0;gap:8px}
.hb-count strong{font-size:36px}
.hb-count span{font-size:14px}
.hb-label{font-size:12.5px}
.hb-chip{padding:5px 14px}
.hb-columns{padding:10px 20px}
.hb-row{padding:14px 20px}
.hb-time strong{font-size:14px}
.hb-time small{font-size:11.5px}
.hb-stage{padding:6px 12px}
.hb-empty{padding:20px}
.dashboard-status-row{gap:18px}

/* v199: 各页面标题区统一为运营账号页的高度——有按钮的页面由按钮撑到 42px，纯文字页面补齐到同样高度，
   标题基线与下方内容起点在所有页面完全一致 */
.page-intro{min-height:42px}

/* v201 四端统一：英文与数字使用 Times New Roman，中文按字符回退到原中文字体 */
code,pre,kbd,samp{font-family:"Times New Roman","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif!important}

/* 车队分组标题与客户档案分组一致：15px + 同字距，表头高度随之对齐 */
.fleet-group .source-group-name{font-size:15px;letter-spacing:.04em}

/* 车队分组标题条与客户分组等高：编辑公司/新增司机按钮收回到不撑高表头的尺寸 */
.fleet-group-actions .link-button{padding:2px 10px;font-size:13px}

/* 分组标题条固定等高：客户档案组与车队组统一 46px，内容垂直居中，按钮不再撑高表头 */
#sourceContent .source-group-head,
.fleet-group .source-group-head{height:48px!important;min-height:48px!important;padding-top:0!important;padding-bottom:0!important;align-items:center!important;line-height:1.3}
.fleet-group-actions .link-button{height:24px;line-height:24px;padding:0 10px;font-size:13px}

/* 运营账号页的「· N」计数与客户档案分组计数完全一致：15px + 加粗 + 深绿，标题同色同字距 */
.account-archive .source-group-name,
.account-archive .source-group-count{color:#24463A;font-size:15px;font-weight:700;letter-spacing:.04em}

/* 派单 / 异常 / 已完成工作台详情面板：内边距与区块间距控制在中等密度，既不挤也不空 */
.modal.workbench-modal{height:min(82vh,820px)}
.dw-detail{padding:22px 26px 26px}
.dw-detail-head{padding-bottom:20px}
.dw-detail-head h3{font-size:19px}
.dw-detail-head h3 .mono{font-size:18px}
.dw-facts{margin:22px 0 24px;gap:18px 28px}
.dw-fact{gap:8px}
.dw-fact dd{font-size:15px}
.dw-section{padding:22px 0}
.dw-fleet-row{min-height:54px;padding:11px 15px}
.dw-drivers{margin-top:14px}
.modal.workbench-modal .ex-vehicle-list{gap:14px}
.modal.workbench-modal .ex-trip{gap:16px}

/* 交接台改为左右布局：左侧「回场途中车辆」汇总数字竖跨整卡，右侧「在途车辆清单」表格 */
.hb-card{display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:stretch}
.hb-hero{grid-column:1;grid-row:1/-1;align-content:center;gap:6px;padding:24px 22px;border-bottom:0;border-right:1px solid #D8E2DB}
.hb-hero-main{justify-items:center;text-align:center}
.hb-count{justify-content:center}
.hb-columns{grid-column:2;grid-row:1}
.hb-list{grid-column:2;grid-row:2}
@media(max-width:1000px){
  .hb-card{grid-template-columns:minmax(0,1fr)}
  .hb-hero{grid-column:1;grid-row:auto;padding:18px 24px;border-right:0;border-bottom:1px solid #D8E2DB}
  .hb-columns,.hb-list{grid-column:1;grid-row:auto}
}
/* 清单标题条已移除；超过 5 辆时「查看全部 / 收起」放到列表底部右对齐 */
.hb-expand-row{padding:10px 20px;text-align:right;background:var(--panel)}
/* 预计到达暂无数据时用短横线占位，弱化显示，不再占两行文字 */
.hb-time.pending strong{font-size:16px;font-weight:400;color:#A7B8AF}
/* 右上角实时时钟：等宽数字，秒数跳动时不会左右晃动 */
.dashboard-refreshed{font-variant-numeric:tabular-nums}

/* v235 交接台列标题条放大：与客户档案 / 车队分组标题条对齐为 48px 高，字号 13.5px→15px、深绿加粗，文字垂直居中 */
.hb-columns{min-height:48px!important;padding:0 20px!important;color:#24463A;font-size:15px;font-weight:700;letter-spacing:.04em;line-height:1.3}

/* v236 确认弹窗排版规范：取消浏览器默认 p 上下 margin 与按钮行 margin-top，
   改为内容区上/下 22-24px、文案与按钮 24px 的均衡间距，不再「上宽下窄」 */
.modal:has(.confirm-dialog) .modal-body{padding:22px 28px 24px}
.confirm-dialog{display:grid;gap:24px}
.confirm-dialog .confirm-message{margin:0;font-size:15px;line-height:1.7;color:var(--ink)}
.confirm-dialog .confirm-actions{margin:0}

/* v237 顶部导航整体放大一点：顶栏 60→72px、logo 132×44→158×52、导航字 17→18px；
   仅桌面宽度生效，≤960px 的折叠菜单保持原有紧凑尺寸 */
@media(min-width:961px){
  .topbar{height:72px}
  .topbar-brand{width:158px;height:52px}
  .topbar .top-nav button{font-size:18px;padding:0 24px}
}
@media(min-width:961px) and (max-width:1280px){
  .topbar .top-nav button{font-size:16px;padding:0 14px}
}

/* v238 服务反馈页日期分组条完全对齐档案页「司机 · N」小标题：
   白底无下边框、深绿加粗 13.5px + 字距，日期后接「· N」，右侧不再单独显示条数 */
.date-group>h3{
  background:#fff!important;
  border-bottom:0!important;
  display:block;
  margin:0;
  padding:14px 18px;
  color:#24463A;
  font-size:15px;
  font-weight:700;
  letter-spacing:.04em;
}

/* v239 车队长并入运输公司分组标题行：与公司名同一行、弱化层级，
   仅作信息展示（编辑走右侧「编辑公司」按钮）；下方不再单独占一块 */
.fleet-group .fleet-head-leader{
  display:inline-block;
  min-width:0;
  max-width:220px;
  padding-left:12px;
  border-left:1px solid #D8E2DB;
  color:#3F5B4C;
  font-size:13px;
  font-weight:400;
  letter-spacing:.02em;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:600px){
  .fleet-group .fleet-head-leader{max-width:120px;padding-left:8px;font-size:12px}
}

/* v240 服务反馈处理弹窗重设计：元信息条 + 引用式内容 + 紧凑处理表单，
   原来只有一个空标签和一块大输入框，弹窗里显得又空又散 */
.fb-sheet{display:grid;gap:18px}
.fb-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:13px 18px;border:1px solid #D8E6E0;border-radius:12px;background:#F7FBF9}
.fb-meta>div{display:grid;gap:6px;min-width:0;padding:0 16px;border-left:1px solid #D8E6E0}
.fb-meta>div:first-child{padding-left:0;border-left:0}
.fb-meta>div>span:first-child{color:#5A6F69;font-size:12px;letter-spacing:.04em}
.fb-meta strong{color:#24463A;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fb-meta .tag{justify-self:start;align-self:center}
.fb-block{display:grid;gap:10px}
.fb-label{color:#24463A;font-size:14px;font-weight:700;letter-spacing:.04em}
.fb-block p{margin:0;padding:14px 18px;border-left:3px solid #4CAF50;border-radius:0 10px 10px 0;background:#F8FCFA;color:#1E2B25;font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.fb-result p{border-left-color:#A3BCAB;background:#F7F9F8}
.fb-handled-by{margin:0;color:#5A6F69;font-size:12.5px}
.fb-field-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.fb-field-head label{color:#24463A;font-size:14px;font-weight:700;letter-spacing:.04em}
.fb-field-head em{margin-left:6px;color:#5A6F69;font-size:12px;font-style:normal;font-weight:400}
.fb-count{color:#5A6F69;font-size:12px;font-variant-numeric:tabular-nums}
.fb-form .form-grid{gap:0}
.fb-form .fb-note-field{gap:0}
.fb-form .form-grid textarea{min-height:96px}
.fb-form footer{margin-top:20px;padding-top:16px}
.fb-footnote{margin:0 auto 0 0;color:#5A6F69;font-size:12.5px}
@media(max-width:600px){
  .fb-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}
  .fb-meta>div:nth-child(3){padding-left:0;border-left:0}
  .fb-form footer{flex-wrap:wrap}
  .fb-form .fb-footnote{margin:0}
}
/* 已完成任务：公司名称完整显示，司机信息按人分组。 */
.dw-selected-fleet{grid-template-columns:minmax(0,1fr) auto;gap:18px;cursor:default}
.dw-selected-fleet .dw-fleet-name{min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.4}
.dw-selected-fleet .dw-fleet-cap{align-self:center;color:#4F685C;font-size:13px}
.dw-execution-section .dw-selected-fleet{min-height:56px;padding:10px 16px;background:#F7FBF8}
.dw-execution-drivers{margin-top:14px}
.dw-execution-drivers .dw-drivers-label{margin-bottom:8px;font-size:13px;color:#24463A}
.dw-execution-drivers .dw-driver-list{gap:8px}
.dw-execution-driver{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:10px 16px;border:1px solid #D5E2D9;border-radius:10px;background:#fff}
.dw-execution-driver-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 24px;min-width:0}
.dw-execution-driver-main strong{color:#15372E;font-size:14px;font-weight:700}
.dw-execution-driver-main>span{color:#4F685C;font-size:13px;overflow-wrap:anywhere}
.dw-execution-driver .dw-driver-state{flex:none}
@media(max-width:600px){
  .dw-selected-fleet{grid-template-columns:minmax(0,1fr);gap:6px}
  .dw-selected-fleet .dw-fleet-cap{justify-self:start}
  .dw-execution-driver{padding:10px 14px;gap:10px}
  .dw-execution-driver-main{display:grid;gap:4px}
}
.dw-execution-section>header{margin-bottom:10px}

/* ===== 证件区按钮样式统一（删除 / 上传证件） ===== */
.modal .fleet-cert-summary .fleet-cert-actions .link-button,
.modal .fleet-cert-summary .fleet-cert-actions .detail-cert-upload{padding:8px 18px;font-size:13px;font-weight:650;border-radius:9px;line-height:1.4;margin:0;min-width:0}
.modal .fleet-cert-summary .fleet-cert-actions .link-button.danger-link{color:var(--red)}

/* ===== 下拉框统一显示选择箭头 ===== */
select{appearance:none!important;padding-right:38px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231E584F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important}

/* ===== 证件区操作按钮靠右对齐 ===== */
.modal .fleet-cert-summary .fleet-cert-actions{justify-content:flex-end!important}

/* ===== 证件条目撑满整行使按钮贴右 ===== */
.modal .fleet-cert-summary .certificate-list{justify-items:stretch!important}
.modal .fleet-cert-summary .certificate-list article,
.modal .fleet-cert-summary .fleet-cert-item{width:100%!important}

/* ===== 证件操作按钮靠右（宽作用域兜底） ===== */
.detail-certs .certificate-list{justify-items:stretch!important}
.detail-certs .certificate-list article{width:100%!important}
.detail-certs .fleet-cert-actions{display:flex!important;justify-content:flex-end!important;align-items:center;width:100%!important}

/* ===== 证件列表条目之间加分隔 ===== */
.modal .fleet-cert-summary .certificate-list{gap:0!important}
.modal .fleet-cert-summary .fleet-cert-item{padding:18px 0!important;border-bottom:1px solid var(--line,#DCE7E1)!important}
.modal .fleet-cert-summary .fleet-cert-item:last-child{border-bottom:0!important;padding-bottom:4px!important}
.modal .fleet-cert-summary .fleet-cert-item:first-child{padding-top:8px!important}
