:root {
  --transport-ink: #12314d;
  --transport-muted: #647d92;
  --transport-panel: #ffffff;
  --transport-panel-soft: #f5f9fc;
  --transport-line: #d8e5ee;
  --transport-brand-blue: #005BAC;
  --transport-brand-blue-strong: #003b70;
  --transport-cyan: #005bac;
  --transport-amber: #b96b00;
  --transport-red: #c5221f;
  --transport-green: #00A870;
}

body { background: #07152b; }
.transport-auth-screen { background: radial-gradient(circle at 17% 15%, rgba(0, 91, 172, .16), transparent 34%), radial-gradient(circle at 87% 82%, rgba(31, 90, 149, .22), transparent 30%), #07152b; color: var(--transport-ink); }
.transport-auth-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: clamp(28px, 7vw, 110px); width: min(1160px, calc(100% - 72px)); margin: auto; align-items: center; }
.transport-auth-hero { padding: 46px 0; }
.transport-kicker { color: var(--transport-cyan); font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.transport-auth-hero h1 { margin: 18px 0 22px; font: 750 clamp(42px, 6vw, 80px)/1.04 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: -.06em; }
.transport-auth-hero h1 em { color: var(--transport-green); font-style: normal; }
.transport-auth-hero > p:not(.transport-kicker) { max-width: 530px; color: var(--transport-muted); font-size: 16px; line-height: 1.8; }
.transport-auth-flow { display: flex; gap: 12px; align-items: center; margin: 42px 0; color: #b8c6d8; font-size: 13px; }
.transport-auth-flow span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--transport-line); background: rgba(18, 35, 53, .65); border-radius: 9px; }
.transport-auth-flow i { color: var(--transport-cyan); }
.transport-auth-flow b { color: #587188; font-weight: 400; }
.transport-auth-facts { display: flex; gap: 28px; padding-top: 26px; border-top: 1px solid var(--transport-line); }
.transport-auth-facts div { display: grid; gap: 6px; }
.transport-auth-facts strong { font-size: 23px; color: #fff; }
.transport-auth-facts span { color: var(--transport-muted); font-size: 11px; }
.transport-auth-card { max-width: 430px; justify-self: end; padding: 36px; border: 1px solid rgba(151, 193, 207, .2); background: rgba(17, 30, 47, .93); box-shadow: 0 32px 80px rgba(0,0,0,.3); }
.transport-auth-card h2 { margin: 28px 0 8px; font-size: 29px; }
.transport-auth-card .auth-intro { color: var(--transport-muted); line-height: 1.65; }
.transport-auth-card .button-primary { background: var(--transport-brand-blue); border-color: var(--transport-brand-blue); color: #fff; }
.transport-auth-card input { background: #0b1726; border-color: var(--transport-line); color: #fff; }
.transport-auth-card .auth-footnote { color: #6e8199; }
.transport-shell { --sidebar-width: 258px; }
.transport-sidebar { background: #0b1726; border-right: 1px solid var(--transport-line); }
.transport-sidebar .brand-lockup { color: #fff; }
.transport-sidebar .brand-mark { background: var(--transport-brand-blue); border-color: var(--transport-brand-blue); color: #fff; }
.transport-workspace-card { display: flex; align-items: center; gap: 10px; margin: 18px 14px 10px; padding: 12px; border: 1px solid var(--transport-line); border-radius: 12px; background: rgba(23, 38, 58, .72); }
.transport-workspace-card > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.transport-workspace-card small { color: var(--transport-muted); font-size: 10px; }
.transport-workspace-card strong { overflow: hidden; color: #e8eef7; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.transport-workspace-card .workspace-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: rgba(101, 215, 220, .12); color: var(--transport-cyan); }
.simulation-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--transport-green); box-shadow: 0 0 0 4px rgba(113,212,155,.1); }
.transport-sidebar .nav-item { color: #94a8bd; }
.transport-sidebar .nav-item:hover { background: rgba(101, 215, 220, .08); color: #e4f8f8; }
.transport-sidebar .nav-item.active { background: rgba(0, 91, 172, .14); color: var(--transport-cyan); box-shadow: inset 3px 0 var(--transport-brand-blue); }
.transport-sidebar .nav-count-warn { background: rgba(244,180,92,.16); color: var(--transport-amber); }
.transport-topbar { background: rgba(8, 17, 31, .82); border-bottom: 1px solid var(--transport-line); }
.simulation-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(244,180,92,.24); border-radius: 7px; background: rgba(244,180,92,.08); color: #f6d091; font-size: 11px; }
.simulation-badge small { color: #b48a54; font: 10px ui-monospace, monospace; }
.transport-topbar .search-trigger { color: #b5c4d4; border-color: var(--transport-line); background: #101f31; }
.transport-topbar .search-trigger kbd { color: #7f93aa; background: #172a40; }
.transport-shell .page-content { background: linear-gradient(180deg, #0b1726, #0a1422); color: var(--transport-ink); }
.transport-page { max-width: 1480px; margin: 0 auto; }
.transport-page-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 25px; }
.transport-page-header h1 { margin: 5px 0 8px; color: #f5f8fb; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.04em; }
.transport-page-header p { margin: 0; color: var(--transport-muted); }
.transport-page-header .eyebrow { color: var(--transport-cyan); font: 10px ui-monospace, monospace; letter-spacing: .18em; }
.transport-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.transport-shell .button-primary { background: var(--transport-brand-blue); border-color: var(--transport-brand-blue); color: #fff; }
.transport-shell .button-primary:hover { background: var(--transport-brand-blue-strong); border-color: var(--transport-brand-blue-strong); }
.transport-shell .button-secondary { border-color: rgba(101,215,220,.32); background: rgba(101,215,220,.1); color: var(--transport-cyan); }
.transport-shell .button-quiet { border-color: var(--transport-line); background: rgba(255,255,255,.03); color: #c0cede; }
.transport-metrics { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 11px; margin-bottom: 16px; }
.transport-metric { min-height: 100px; padding: 17px; border: 1px solid var(--transport-line); border-radius: 12px; background: rgba(17,30,47,.82); }
.transport-metric small { color: var(--transport-muted); font-size: 11px; }
.transport-metric strong { display: block; margin: 13px 0 4px; color: #f7fbff; font-size: 29px; letter-spacing: -.05em; }
.transport-metric em { color: var(--transport-green); font-size: 11px; font-style: normal; }
.transport-metric.warn strong, .transport-metric.warn em { color: var(--transport-amber); }
.transport-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(330px, .8fr); gap: 15px; }
.transport-panel { border: 1px solid var(--transport-line); border-radius: 14px; background: rgba(17,30,47,.82); overflow: hidden; }
.transport-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 19px; border-bottom: 1px solid var(--transport-line); }
.transport-panel-header h2 { margin: 3px 0 0; font-size: 16px; }
.transport-panel-header small, .transport-panel-header .eyebrow { color: var(--transport-muted); font-size: 10px; }
.transport-panel-body { padding: 16px 19px; }
.transport-queue-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(155,180,211,.1); cursor: pointer; }
.transport-queue-row:last-child { border-bottom: 0; }
.transport-queue-row strong { display: block; color: #e9f0f7; font-size: 13px; }
.transport-queue-row small { display: block; margin-top: 4px; color: var(--transport-muted); font-size: 11px; }
.transport-queue-row time { color: #9fb0c4; font: 11px ui-monospace, monospace; }
.severity-pill, .transport-status-pill { display: inline-flex; justify-content: center; min-width: 38px; padding: 4px 7px; border-radius: 5px; font: 600 10px ui-monospace, monospace; }
.severity-p1 { color: #ffd9d5; background: rgba(244,117,112,.19); }
.severity-p2 { color: #ffe4b2; background: rgba(244,180,92,.17); }
.severity-p3 { color: #b9cee4; background: rgba(142,168,198,.16); }
.transport-status-pill { min-width: auto; color: var(--transport-cyan); background: rgba(101,215,220,.11); }
.transport-timeline { display: grid; gap: 12px; }
.transport-timeline-item { position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 11px; }
.transport-timeline-item::before { position: absolute; top: 16px; bottom: -12px; left: 7px; width: 1px; background: var(--transport-line); content: ""; }
.transport-timeline-item:last-child::before { display: none; }
.transport-timeline-dot { position: relative; z-index: 1; width: 15px; height: 15px; margin-top: 3px; border: 3px solid #102236; border-radius: 50%; background: var(--transport-cyan); box-shadow: 0 0 0 1px rgba(101,215,220,.5); }
.transport-timeline-item.warn .transport-timeline-dot { background: var(--transport-amber); box-shadow: 0 0 0 1px rgba(244,180,92,.5); }
.transport-timeline-item strong { display: block; color: #deebf8; font-size: 12px; }
.transport-timeline-item small { display: block; margin-top: 4px; color: var(--transport-muted); font-size: 11px; line-height: 1.55; }
.transport-section-label { color: var(--transport-cyan); font: 10px ui-monospace, monospace; letter-spacing: .16em; }
.transport-empty, .transport-loading { display: grid; place-items: center; min-height: 210px; gap: 9px; color: var(--transport-muted); text-align: center; }
.transport-empty i { color: var(--transport-amber); font-size: 27px; }
.transport-empty strong { color: #d7e4f1; }
.transport-empty p, .transport-loading p { margin: 0; font-size: 12px; }
.transport-loading { display: flex; flex-direction: column; }
.transport-loading > span { display: inline-block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: var(--transport-cyan); animation: transport-pulse 1s infinite alternate; }
.transport-loading > span:nth-child(2) { animation-delay: .2s; }.transport-loading > span:nth-child(3) { animation-delay: .4s; }
@keyframes transport-pulse { to { opacity: .2; transform: translateY(-5px); } }
.simulation-note { display: inline-flex; align-items: center; gap: 6px; color: #cda260; font-size: 10px; }
.transport-table-wrap { overflow-x: auto; }
.transport-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.transport-table th, .transport-table td { padding: 12px 13px; border-bottom: 1px solid rgba(155,180,211,.1); text-align: left; white-space: nowrap; }
.transport-table th { color: var(--transport-muted); font: 10px ui-monospace, monospace; letter-spacing: .08em; }
.transport-table td { color: #d7e3ef; }
.transport-table tr:hover td { background: rgba(101,215,220,.04); }
.transport-form { display: grid; gap: 15px; }
.transport-form label { display: grid; gap: 7px; color: #b6c5d5; font-size: 12px; }
.transport-form input, .transport-form select, .transport-form textarea { width: 100%; border: 1px solid var(--transport-line); border-radius: 8px; background: #0b1726; color: #eaf3fa; padding: 11px 12px; font: inherit; }
.transport-form textarea { min-height: 92px; resize: vertical; }
.transport-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.transport-tabs { display: flex; gap: 6px; margin-bottom: 15px; border-bottom: 1px solid var(--transport-line); }
.transport-tab { padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--transport-muted); cursor: pointer; }
.transport-tab.active { border-color: var(--transport-cyan); color: var(--transport-cyan); }
.plan-card { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--transport-line); border-radius: 12px; background: rgba(23,38,58,.75); }
.plan-card.recommended { border-color: rgba(101,215,220,.55); box-shadow: inset 0 2px var(--transport-cyan); }
.plan-card h3 { margin: 0; color: #f3f8fc; font-size: 16px; }
.plan-card .plan-head { display: flex; justify-content: space-between; gap: 12px; }
.plan-mode { color: var(--transport-cyan); font-size: 12px; }
.plan-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.plan-facts div { padding: 9px; border-radius: 8px; background: rgba(8,17,31,.5); }
.plan-facts small { display: block; color: var(--transport-muted); font-size: 10px; }.plan-facts strong { display: block; margin-top: 5px; color: #fff; }
.plan-source { color: var(--transport-muted); font-size: 10px; line-height: 1.5; }
.transport-detail-hero { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 20px; border-bottom: 1px solid var(--transport-line); }
.transport-detail-hero h2 { margin: 5px 0; color: #f4f8fc; font-size: 22px; }.transport-detail-hero p { margin: 0; color: var(--transport-muted); font-size: 12px; }
.transport-stepper { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 18px 20px; }
.transport-step { position: relative; display: grid; gap: 6px; justify-items: center; color: var(--transport-muted); font-size: 10px; text-align: center; }
.transport-step::before { position: absolute; top: 7px; right: 50%; left: -50%; height: 2px; background: var(--transport-line); content: ""; }.transport-step:first-child::before { display: none; }
.transport-step i { position: relative; z-index: 1; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: #263b50; font-size: 8px; }.transport-step.done i { background: var(--transport-cyan); color: #08202c; }.transport-step.current { color: #fff; }.transport-step.current i { background: var(--transport-amber); color: #1a140b; }
.transport-alert { padding: 13px 15px; border: 1px solid rgba(244,117,112,.25); border-radius: 10px; background: rgba(244,117,112,.08); color: #ffd2d0; font-size: 12px; line-height: 1.6; }
.transport-citation { padding: 11px; border-left: 2px solid var(--transport-cyan); background: rgba(101,215,220,.06); color: #bdd0df; font-size: 11px; line-height: 1.6; }
@media (max-width: 1120px) { .transport-metrics { grid-template-columns: repeat(3, 1fr); } .transport-auth-layout { gap: 35px; } }
@media (max-width: 820px) { .transport-auth-layout { grid-template-columns: 1fr; width: min(520px, calc(100% - 36px)); padding: 28px 0; }.transport-auth-hero { padding: 0; }.transport-auth-hero h1 { font-size: 46px; }.transport-auth-facts { gap: 12px; }.transport-auth-card { justify-self: stretch; max-width: none; padding: 26px; }.transport-auth-flow { flex-wrap: wrap; margin: 26px 0; }.transport-grid { grid-template-columns: 1fr; }.transport-page-header { display: grid; align-items: start; }.transport-metrics { grid-template-columns: repeat(2, 1fr); }.transport-form-grid { grid-template-columns: 1fr; }.plan-facts { grid-template-columns: repeat(2, 1fr); }.simulation-badge small, .system-clock span { display: none; } }

.transport-flow-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 15px; }
.transport-dashboard-side { display: grid; gap: 15px; align-content: start; }
.transport-success { margin-top: 13px; padding: 11px 13px; border: 1px solid rgba(113,212,155,.28); border-radius: 9px; background: rgba(113,212,155,.08); color: #b8efcf; font-size: 12px; }
.transport-success i { margin-right: 7px; }
.transport-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.transport-fact-grid > div { padding: 11px; border: 1px solid rgba(155,180,211,.1); border-radius: 8px; background: rgba(8,17,31,.35); }
.transport-fact-grid dt { color: var(--transport-muted); font-size: 10px; }
.transport-fact-grid dd { margin: 6px 0 0; color: #e8f1f8; font-size: 12px; }
.transport-check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #c6d5e3; font-size: 12px; }
.transport-check-list li { display: flex; gap: 8px; align-items: flex-start; }
.transport-check-list i { width: 15px; margin-top: 3px; color: var(--transport-cyan); text-align: center; }
.transport-check-list b { color: var(--transport-amber); font: 10px ui-monospace, monospace; }
.transport-late { color: var(--transport-amber) !important; }
.transport-dashboard-stat { display: inline-grid; width: calc(50% - 8px); gap: 4px; margin-top: 16px; padding: 12px; border-top: 1px solid var(--transport-line); }
.transport-dashboard-stat strong { color: #fff; font-size: 24px; }.transport-dashboard-stat span { color: var(--transport-muted); font-size: 10px; }
.plan-comparison { display: grid; gap: 15px; }.plan-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.plan-card-grid .plan-card { min-width: 0; }.plan-card-grid .plan-facts { grid-template-columns: repeat(2, 1fr); }
.action-list, .scenario-list, .role-grid { display: grid; gap: 10px; }.action-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px; border: 1px solid rgba(155,180,211,.12); border-radius: 9px; background: rgba(23,38,58,.46); }
.action-card > div:first-child { min-width: 0; }.action-card strong, .action-card small, .action-card p { display: block; }.action-card strong { color: #e7f1f8; font-size: 12px; }.action-card small, .action-card p { margin: 4px 0 0; color: var(--transport-muted); font-size: 10px; line-height: 1.5; }
.transport-dashboard-side .transport-panel-body > .transport-timeline { padding-bottom: 2px; }.request-facts { margin-bottom: 15px; }.transport-tabs { margin-top: -4px; }
.role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.role-grid > div { display: grid; gap: 5px; padding: 12px; border: 1px solid rgba(155,180,211,.1); border-radius: 8px; }.role-grid strong { color: #eaf2f8; font-size: 12px; }.role-grid small { color: var(--transport-muted); font-size: 10px; }.transport-demo-path { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #c5d4e2; font-size: 11px; line-height: 1.5; }.transport-demo-path li::marker { color: var(--transport-cyan); font-family: ui-monospace, monospace; }
@media (max-width: 1120px) { .transport-flow-grid { grid-template-columns: 1fr; }.plan-card-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .role-grid { grid-template-columns: 1fr; }.transport-dashboard-stat { width: 100%; }.action-card { align-items: flex-start; flex-direction: column; }.transport-detail-hero { display: grid; } }

/* 登录页视觉：以中储智运蓝白绿为主色，线路纹理表达运输协同，不使用深色底。 */
.transport-auth-screen {
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 64px);
  overflow: auto;
  background: radial-gradient(circle at 8% 12%, rgba(0, 91, 172, .14), transparent 28%), radial-gradient(circle at 92% 86%, rgba(0, 168, 112, .14), transparent 25%), linear-gradient(135deg, #f7fbfd 0%, #edf5fa 52%, #f9fcfd 100%);
  color: #12314d;
}
.transport-auth-screen::before { background: linear-gradient(115deg, rgba(255,255,255,.72), transparent 42%), radial-gradient(circle at 72% 20%, rgba(255,255,255,.8), transparent 30%); }
.transport-auth-screen::after { background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(220,239,242,.28)); }
.transport-auth-screen .auth-backdrop-grid { z-index: 0; opacity: .24; background-image: linear-gradient(rgba(0,91,172,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(0,91,172,.11) 1px, transparent 1px); background-size: 88px 88px; transform: perspective(700px) rotateX(58deg) translateY(30%); mask-image: linear-gradient(to bottom, transparent 0%, #000 34%, transparent 100%); }
.transport-auth-layout { width: min(1220px, 100%); min-height: min(700px, calc(100dvh - 96px)); grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 0; overflow: hidden; border: 1px solid rgba(0, 59, 112, .13); border-radius: 26px; background: #fff; box-shadow: 0 26px 72px rgba(0, 59, 112, .14), 0 4px 14px rgba(0, 59, 112, .06); }
.transport-auth-hero { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(48px, 7vw, 94px) clamp(40px, 7vw, 92px); isolation: isolate; border-right: 1px solid #dcebf1; background: linear-gradient(142deg, #fbfdff 0%, #eef7fb 63%, #eaf7f1 100%); }
.transport-auth-hero h1 { position: relative; z-index: 1; max-width: 680px; margin: 0 0 24px; color: #003b70; font: 760 clamp(42px, 5vw, 70px)/1.08 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: -.065em; }
.transport-auth-hero h1 em { color: #005bac; }
.transport-auth-hero > p:not(.transport-kicker) { position: relative; z-index: 1; max-width: 535px; margin: 0; color: #4d6d84; font-size: 15px; line-height: 1.9; }
.transport-auth-flow { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 44px 0 34px; color: #385b74; font-size: 12px; }
.transport-auth-flow span { gap: 7px; padding: 0; border: 0; background: transparent; border-radius: 0; font-weight: 680; }
.transport-auth-flow i { color: #005bac; font-size: 11px; }
.transport-auth-flow b { color: #86a9ba; font-size: 14px; font-weight: 500; }
.transport-auth-facts { position: relative; z-index: 1; display: flex; gap: clamp(18px, 3vw, 34px); padding-top: 24px; border-color: #d6e7ed; }
.transport-auth-facts div { gap: 5px; }
.transport-auth-facts strong { color: #003b70; font-size: 21px; letter-spacing: -.04em; }
.transport-auth-facts span { color: #668196; font-size: 11px; }
.auth-route-map { position: absolute; z-index: 0; top: 0; right: 0; width: min(72%, 620px); height: 58%; overflow: hidden; opacity: .9; pointer-events: none; }
.auth-route-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 91, 172, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 91, 172, .07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(135deg, transparent 8%, #000 45%, transparent 94%); }
.auth-route-map::after { content: ""; position: absolute; right: -16%; top: -18%; width: 82%; aspect-ratio: 1; border: 1px solid rgba(0, 91, 172, .1); border-radius: 50%; box-shadow: 0 0 0 28px rgba(0, 91, 172, .025), 0 0 0 58px rgba(0, 168, 112, .025); }
.auth-route-path { position: absolute; z-index: 1; height: 2px; transform-origin: left center; background: linear-gradient(90deg, rgba(0, 91, 172, .12), rgba(0, 91, 172, .52), rgba(0, 168, 112, .15)); }
.auth-route-path-main { left: 17%; top: 42%; width: 62%; transform: rotate(16deg); }
.auth-route-path-branch { left: 39%; top: 54%; width: 34%; transform: rotate(-38deg); }
.auth-route-path-return { left: 49%; top: 58%; width: 34%; transform: rotate(28deg); background: linear-gradient(90deg, rgba(0, 168, 112, .12), rgba(0, 168, 112, .5), rgba(0, 91, 172, .12)); }
.auth-route-node { position: absolute; z-index: 2; width: 12px; height: 12px; border: 3px solid rgba(255,255,255,.92); border-radius: 50%; background: #005bac; box-shadow: 0 0 0 1px rgba(0, 91, 172, .32), 0 5px 12px rgba(0, 91, 172, .2); }
.auth-route-node.is-active { background: #00a870; box-shadow: 0 0 0 1px rgba(0, 168, 112, .38), 0 0 0 7px rgba(0, 168, 112, .1); }
.auth-route-node-origin { left: 14%; top: 38%; }.auth-route-node-hub { left: 47%; top: 49%; }.auth-route-node-destination { right: 15%; top: 59%; }
.auth-route-label { position: absolute; z-index: 2; color: #7895a7; font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.auth-route-label-origin { left: 10%; top: 32%; }.auth-route-label-hub { left: 43%; top: 43%; color: #00885b; }.auth-route-label-destination { right: 9%; top: 65%; }
.transport-auth-card { align-self: stretch; max-width: none; justify-self: stretch; min-width: 0; padding: clamp(42px, 6vw, 76px) clamp(34px, 5vw, 62px); border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.transport-auth-card .auth-panel-top { margin-bottom: clamp(42px, 6vh, 64px); }
.transport-auth-card .brand-logo-image { width: min(196px, 82%); }
.transport-auth-card h2 { margin: 0 0 10px; color: #003b70; font-size: 27px; letter-spacing: -.045em; }
.transport-auth-card .auth-intro { max-width: 32ch; margin: 0 0 30px; color: #668196; font-size: 13px; line-height: 1.75; }
.transport-auth-card .stack-form { width: 100%; gap: 9px; }
.transport-auth-card .stack-form label { color: #385b74; font-size: 12px; font-weight: 680; }
.transport-auth-card input { min-height: 48px; padding: 12px 13px; color: #12314d; background: #f8fbfd; border-color: #c9dfe9; }
.transport-auth-card input::placeholder { color: #7a92a3; }
.transport-auth-card input:focus { background: #fff; border-color: #005bac; box-shadow: 0 0 0 3px rgba(0, 91, 172, .12); }
.transport-auth-card .button-primary { min-height: 48px; margin-top: 7px; background: #005bac; border-color: #005bac; box-shadow: 0 8px 18px rgba(0, 91, 172, .18); }
.transport-auth-card .button-primary:hover { background: #003b70; border-color: #003b70; transform: translateY(-1px); }
.transport-auth-card .auth-links { justify-content: space-between; gap: 16px; margin-top: 18px; }
.transport-auth-card .text-button { color: #005bac; font-size: 11px; }
.transport-auth-card .button-quiet { min-height: 44px; margin-top: 25px; color: #385b74; background: #f3f8fb; border-color: #d5e5ec; }
.transport-auth-card .button-quiet:hover { color: #003b70; background: #eaf3f8; border-color: #b8d3e1; }
.transport-auth-card .auth-footnote { margin-top: 12px; color: #7891a1; font-size: 10px; line-height: 1.6; }
.transport-auth-card .auth-live-badge { color: #6a8796; }
.transport-auth-card .auth-live-badge .status-live { background: #00a870; box-shadow: 0 0 0 3px rgba(0, 168, 112, .1), 0 0 12px rgba(0, 168, 112, .28); }

@media (max-width: 820px) {
  .transport-auth-screen { padding: 18px; }
  .transport-auth-layout { width: min(560px, 100%); min-height: auto; grid-template-columns: 1fr; border-radius: 22px; }
  .transport-auth-hero { min-height: 390px; padding: 50px 32px 32px; border-right: 0; border-bottom: 1px solid #dcebf1; }
  .transport-auth-hero h1 { font-size: clamp(40px, 9vw, 58px); }
  .auth-route-map { width: 82%; height: 74%; opacity: .72; }
  .transport-auth-card { padding: 40px 32px 44px; }
  .transport-auth-card .auth-panel-top { margin-bottom: 40px; }
}
@media (max-width: 520px) {
  .transport-auth-screen { padding: 0; }
  .transport-auth-layout { min-height: 100dvh; border: 0; border-radius: 0; }
  .transport-auth-hero { min-height: 360px; padding: 36px 24px 28px; }
  .transport-auth-hero h1 { font-size: clamp(37px, 10.6vw, 50px); }
  .transport-auth-hero > p:not(.transport-kicker) { font-size: 13px; line-height: 1.75; }
  .transport-auth-flow { gap: 10px; margin: 27px 0 24px; }
  .transport-auth-flow b { display: none; }
  .transport-auth-facts { gap: 13px; }
  .transport-auth-facts strong { font-size: 18px; }
  .transport-auth-facts span { font-size: 10px; }
  .transport-auth-card { padding: 32px 22px 36px; }
  .transport-auth-card .auth-panel-top { margin-bottom: 35px; }
  .transport-auth-card .brand-logo-image { width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* 中储智运运输域：蓝白为基础、绿色表达正常状态，红橙只表达风险。 */
body { background: #f3f7fb; color: var(--transport-ink); }
.transport-auth-screen { background: radial-gradient(circle at 14% 14%, rgba(0, 91, 172, .12), transparent 32%), radial-gradient(circle at 88% 78%, rgba(0, 168, 112, .13), transparent 28%), #f3f7fb; color: var(--transport-ink); }
.transport-auth-hero h1 { color: #003b70; }
.transport-auth-hero h1 em { color: #005bac; }
.transport-auth-hero > p:not(.transport-kicker) { color: #58728a; }
.transport-auth-flow { color: #46627a; }
.transport-auth-flow span { border-color: #cbdde9; background: rgba(255, 255, 255, .8); }
.transport-auth-flow i, .transport-kicker { color: #005bac; }
.transport-auth-flow b { color: #8da7ba; }
.transport-auth-facts { border-color: #d8e5ee; }
.transport-auth-facts strong { color: #003b70; }
.transport-auth-facts span { color: #647d92; }
.transport-auth-card { border-color: #d6e4ed; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 60px rgba(0, 59, 112, .12); }
.transport-auth-card h2 { color: #003b70; }
.transport-auth-card .auth-intro, .transport-auth-card .auth-footnote { color: #647d92; }
.transport-auth-card .button-primary { background: #005bac; border-color: #005bac; }
.transport-auth-card input { background: #f8fbfd; border-color: #cbdde9; color: #12314d; }
.transport-shell { --transport-ink: #12314d; }
.transport-sidebar { background: #003b70; border-right-color: #003b70; }
.transport-sidebar .brand-lockup { color: #fff; }
.transport-sidebar .nav-section-label { color: rgba(255, 255, 255, .62); }
.transport-workspace-card { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .1); }
.transport-workspace-card small { color: rgba(255, 255, 255, .68); }
.transport-workspace-card strong { color: #fff; }
.transport-workspace-card .workspace-avatar { background: rgba(255, 255, 255, .13); color: #80dfb4; }
.simulation-dot { background: #45d49b; box-shadow: 0 0 0 4px rgba(69, 212, 155, .16); }
.transport-sidebar .nav-item { color: rgba(255, 255, 255, .76); }
.transport-sidebar .nav-item:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.transport-sidebar .nav-item.active { background: rgba(255, 255, 255, .15); color: #fff; box-shadow: inset 3px 0 #45d49b; }
.transport-sidebar .nav-count-warn { background: rgba(255, 255, 255, .18); color: #b6f0d4; }
.transport-topbar { background: rgba(255, 255, 255, .94); border-bottom-color: #d8e5ee; }
.transport-topbar .breadcrumb-root, .transport-topbar .breadcrumb strong { color: #003b70; }
.simulation-badge { border-color: #b9e0cf; background: #eefaf4; color: #007d54; }
.simulation-badge small { color: #588e78; }
.transport-topbar .search-trigger { color: #58728a; border-color: #d8e5ee; background: #f8fbfd; }
.transport-topbar .search-trigger kbd { color: #71879a; background: #edf4f9; }
.transport-shell .page-content { background: #f3f7fb; color: var(--transport-ink); }
.transport-page-header h1 { color: #003b70; }
.transport-page-header p { color: #647d92; }
.transport-page-header .eyebrow { color: #005bac; }
.transport-shell .button-primary { background: #005bac; border-color: #005bac; }
.transport-shell .button-primary:hover { background: #003b70; border-color: #003b70; }
.transport-shell .button-secondary { border-color: #9bc4dc; background: #eaf4fb; color: #005BAC; }
.transport-shell .button-quiet { border-color: #d8e5ee; background: #fff; color: #46627a; }
.transport-metric, .transport-panel { border-color: #d8e5ee; background: #fff; box-shadow: 0 8px 24px rgba(0, 59, 112, .05); }
.transport-metric small, .transport-panel-header small, .transport-panel-header .eyebrow { color: #71879a; }
.transport-metric strong { color: #003b70; }
.transport-metric em { color: #00885b; }
.transport-metric.warn strong, .transport-metric.warn em { color: #b96b00; }
.transport-panel-header { border-bottom-color: #e4edf3; }
.transport-panel-header h2, .transport-queue-row strong, .transport-empty strong { color: #12314d; }
.transport-queue-row { border-bottom-color: #e4edf3; }
.transport-queue-row small, .transport-queue-row time, .transport-timeline-item small { color: #71879a; }
.transport-status-pill { color: #005BAC; background: #eaf4fb; }
.transport-timeline-dot { border-color: #eaf4fb; background: #00A870; box-shadow: 0 0 0 1px rgba(0, 168, 112, .25); }
.transport-timeline-item.warn .transport-timeline-dot { background: #d68100; box-shadow: 0 0 0 1px rgba(214, 129, 0, .25); }
.transport-timeline-item strong { color: #12314d; }
.transport-empty, .transport-loading { color: #71879a; }
.transport-empty i { color: #005bac; }
.simulation-note { color: #00885b; }
.transport-table th { color: #71879a; }
.transport-table td { color: #46627a; }
.transport-table tr:hover td { background: #f5f9fc; }
.transport-form label { color: #46627a; }
.transport-form input, .transport-form select, .transport-form textarea { border-color: #cbdde9; background: #f8fbfd; color: #12314d; }
.transport-tab { color: #71879a; }
.transport-tab.active { border-color: #005bac; color: #005bac; }
.plan-card { border-color: #d8e5ee; background: #f8fbfd; }
.plan-card.recommended { border-color: #8acfb1; box-shadow: inset 0 2px #00a870; }
.plan-card h3, .transport-detail-hero h2 { color: #003b70; }
.plan-mode { color: #005bac; }
.plan-facts div, .transport-fact-grid > div { background: #f3f7fb; border-color: #e1ebf1; }
.plan-facts small, .transport-fact-grid dt { color: #71879a; }
.plan-facts strong, .transport-fact-grid dd { color: #12314d; }
.plan-source { color: #71879a; }
.transport-detail-hero { border-bottom-color: #e4edf3; }
.transport-step { color: #71879a; }
.transport-step::before { background: #d8e5ee; }
.transport-step i { background: #d8e5ee; color: #46627a; }
.transport-step.done i { background: #00a870; color: #fff; }
.transport-step.current i { background: #005bac; color: #fff; }
.transport-alert { border-color: rgba(197, 34, 31, .24); background: #fff5f4; color: #a62c29; }
.transport-citation { border-left-color: #00a870; background: #eefaf4; color: #46627a; }
.transport-success { border-color: #b9e0cf; background: #eefaf4; color: #007d54; }
.transport-check-list { color: #46627a; }
.transport-check-list i { color: #00a870; }
.transport-check-list b { color: #b96b00; }
.transport-late { color: #b96b00 !important; }
.action-card { border-color: #d8e5ee; background: #f8fbfd; }
.action-card strong { color: #12314d; }
.action-card small, .action-card p { color: #71879a; }
.transport-auth-screen .brand-wordmark, .transport-sidebar .brand-wordmark { color: #fff; }

.transport-dashboard-hero { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.transport-dashboard-hero .transport-page-header { flex: 1; margin-bottom: 0; }
.acceptance-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #b9e0cf; border-radius: 999px; background: #eefaf4; color: #007d54; font-size: 11px; font-weight: 700; }
.transport-health-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.transport-health-stage { display: grid; gap: 7px; padding: 14px 15px; border: 1px solid #d8e5ee; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0, 59, 112, .04); }
.transport-health-stage span { color: #71879a; font-size: 11px; }
.transport-health-stage strong { color: #003b70; font-size: 23px; }
.transport-health-stage small { color: #00a870; font-size: 10px; }
.transport-health-stage.risk strong, .transport-health-stage.risk small { color: #b96b00; }
.transport-risk-card, .transport-recommendation { display: grid; gap: 7px; padding: 12px 0; border-bottom: 1px solid #e4edf3; }
.transport-risk-card:last-child, .transport-recommendation:last-child { border-bottom: 0; }
.transport-risk-card header, .transport-recommendation header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.transport-risk-card strong, .transport-recommendation strong { color: #12314d; font-size: 12px; }
.transport-risk-card p, .transport-recommendation p { margin: 0; color: #71879a; font-size: 11px; line-height: 1.55; }
.transport-recommendation { padding: 12px; border: 1px solid #c9e5d7; border-radius: 10px; background: #f4fcf7; }
.transport-recommendation + .transport-recommendation { margin-top: 9px; }
.transport-recommendation .transport-source { color: #00885b; font-size: 10px; }
.transport-after-sales-card { display: grid; gap: 9px; padding: 13px; border: 1px solid #cbdde9; border-radius: 10px; background: #f6fbfe; }
.transport-after-sales-card strong { color: #003b70; font-size: 13px; }
.transport-after-sales-card p { margin: 0; color: #647d92; font-size: 11px; line-height: 1.55; }
.transport-dashboard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 820px) { .transport-dashboard-hero { display: grid; }.transport-health-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .transport-health-summary { grid-template-columns: 1fr; } }

/* Visual refinement: generous spacing, clear surfaces, and readable blue-gray text. */
:root {
  --transport-text-muted: #5b7287;
  --transport-border-strong: #c7dbe8;
  --transport-surface-soft: #f7fbfd;
  --transport-card-shadow: 0 10px 26px rgba(0, 59, 112, .07);
}

.transport-page {
  max-width: 1480px;
  padding: 28px 32px 48px;
}

.transport-dashboard-hero { margin-bottom: 20px; }
.transport-page-header { margin-bottom: 0; }
.transport-page-header p { color: var(--transport-text-muted); line-height: 1.65; }
.transport-page-header .eyebrow,
.transport-panel-header small,
.transport-panel-header .eyebrow,
.transport-metric small { color: var(--transport-text-muted); }

.transport-health-summary {
  gap: 16px;
  margin-bottom: 24px;
}
.transport-health-stage,
.transport-metric,
.transport-panel {
  border-color: var(--transport-border-strong);
  box-shadow: var(--transport-card-shadow);
}
.transport-health-stage { padding: 17px 18px; }
.transport-health-stage span { color: var(--transport-text-muted); }

.transport-metrics {
  gap: 16px;
  margin-bottom: 24px;
}
.transport-metric {
  min-height: 116px;
  padding: 19px 20px;
}
.transport-metric strong { margin-top: 11px; }

.transport-grid,
.transport-flow-grid { gap: 24px; }
.transport-dashboard-side { gap: 20px; }
.transport-panel-header { padding: 20px 22px 16px; }
.transport-panel-body { padding: 18px 22px 22px; }
.transport-panel-header h2 { font-size: 17px; }

.transport-queue-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  gap: 16px;
  padding: 16px 0;
}
.transport-queue-row:hover { background: #f5f9fc; }
.transport-queue-row:focus-visible { outline: 2px solid #005bac; outline-offset: -2px; border-radius: 8px; }
.severity-p1 { color: #a62c29; border: 1px solid #efc8c5; background: #fff5f4; }
.severity-p2 { color: #9a5a00; border: 1px solid #efcf9b; background: #fff7e6; }
.severity-p3 { color: #4f6b82; border: 1px solid #c7dbe8; background: #f1f6fa; }
.transport-queue-row small,
.transport-queue-row time,
.transport-timeline-item small,
.transport-risk-card p,
.transport-recommendation p,
.transport-after-sales-card p,
.transport-citation,
.transport-empty,
.transport-loading { color: var(--transport-text-muted); }
.transport-queue-row strong,
.transport-risk-card strong,
.transport-recommendation strong { color: #12314d; }
.transport-recommendation { padding: 16px; }
.transport-recommendation + .transport-recommendation { margin-top: 12px; }
.transport-after-sales-card { padding: 16px; }
.transport-dashboard-actions { gap: 10px; }

.transport-table th { color: var(--transport-text-muted); }
.transport-table td { color: #31546e; }
.transport-form label { color: #31546e; }
.transport-tab { color: var(--transport-text-muted); }
.plan-source,
.action-card small,
.action-card p,
.role-grid small,
.transport-fact-grid dt,
.plan-facts small { color: var(--transport-text-muted); }
.action-card,
.plan-card { border-color: var(--transport-border-strong); }
.action-card { gap: 16px; padding: 15px; background: var(--transport-surface-soft); }

@media (max-width: 820px) {
  .transport-page { padding: 24px 20px 40px; }
  .transport-dashboard-hero { margin-bottom: 18px; }
  .transport-health-summary { gap: 12px; margin-bottom: 20px; }
  .transport-metrics { gap: 12px; margin-bottom: 20px; }
  .transport-grid,
  .transport-flow-grid { gap: 18px; }
  .transport-dashboard-side { gap: 18px; }
}

@media (max-width: 520px) {
  .transport-page { padding: 20px 14px 32px; }
  .transport-metric { min-height: 112px; padding: 16px; }
  .transport-panel-header { padding: 16px; }
  .transport-panel-body { padding: 16px; }
  .transport-queue-row { gap: 12px; padding: 14px 0; }
}

/* Assistant surfaces stay light so conversation, evidence, and handoff actions remain legible. */
.transport-shell .ai-page { color: var(--transport-ink); }
.transport-shell .ai-workspace { gap: 24px; }
.transport-shell .ai-chat-main { border-top-color: var(--transport-border-strong); }
.transport-shell .ai-chat-toolbar { background: #fff; border-bottom-color: #dbe8ef; }
.transport-shell .ai-chat-toolbar .section-label,
.transport-shell .ai-rail-card .section-label { color: var(--transport-text-muted); }
.transport-shell .ai-rail { gap: 20px; }
.transport-shell .ai-rail-card { background: #fff; border-color: var(--transport-border-strong); box-shadow: var(--transport-card-shadow); }
.transport-shell .ai-rail-card > header { padding: 18px 20px 15px; border-bottom-color: #dbe8ef; }
.transport-shell .ai-rail-card h2 { color: #12314d; }
.transport-shell .ai-rail-card .rail-live { color: #007d54; }
.transport-shell .ai-rail-body { padding: 16px 18px 18px; color: var(--transport-text-muted); }
.transport-shell .ai-rail-body .empty-state { color: var(--transport-text-muted); }
.transport-shell .ai-order-context-card { border-color: #b8d0df; background: #fff; box-shadow: 0 10px 26px rgba(0, 59, 112, .07); }
.transport-shell .ai-order-context-card > header { padding: 16px 18px 13px; border-bottom-color: #dbe8ef; }
.transport-shell .ai-order-context-card > header h2 { margin: 0; color: #12314d; font-size: 14px; }
.transport-shell .ai-order-context-card > header .rail-live { color: #007d54; font-size: 10px; }
.transport-shell .ai-order-context-card-body { max-height: none; overflow: visible; padding: 14px 15px 16px; }
.transport-shell .ai-order-context-card .ai-order-context { margin: 0; padding: 0; border: 0; background: transparent; }
.transport-shell .ai-order-context-card .ai-order-context label { color: #31546e; }
.transport-shell .ai-order-context-card .ai-order-context select { width: 100%; }
.transport-shell .order-context-help {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  place-items: center;
  margin-left: 1px;
  color: #005bac;
  background: #eaf4fb;
  border: 1px solid #b8d0df;
  border-radius: 50%;
  cursor: help;
  outline: none;
}
.transport-shell .order-context-help > i { font-size: 9px; }
.transport-shell .order-context-help:focus-visible { outline: 3px solid rgba(0, 91, 172, .2); outline-offset: 2px; }
.transport-shell .order-context-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 6;
  width: min(260px, calc(100vw - 56px));
  padding: 10px 11px;
  color: #31546e;
  background: #fff;
  border: 1px solid #b8d0df;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 59, 112, .14);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.transport-shell .order-context-help:hover .order-context-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.transport-shell .order-context-help:focus-visible .order-context-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.transport-shell .after-sales-handoff-card { border-color: #b9e0cf; background: #f4fcf7; }
.transport-shell .after-sales-handoff-body > p { color: #4f6b82; }
.transport-shell .after-sales-quick-prompts { gap: 8px; }
.transport-shell .after-sales-quick-prompts button { color: #31546e; background: #fff; border-color: var(--transport-border-strong); }
.transport-shell .after-sales-quick-prompts button:hover { color: #005bac; border-color: #8fb8d0; background: #f2f8fb; }
.transport-shell .after-sales-handoff-card .button-primary { color: #fff; background: #005bac; border-color: #005bac; }
.transport-shell .tool-event { background: #f5f9fc; border-color: #dbe8ef; }
.transport-shell .tool-event strong { color: #31546e; }
.transport-shell .tool-event small { color: var(--transport-text-muted); }
.transport-shell .citation-card { background: #f7fbfd; border-color: #dbe8ef; }
.transport-shell .citation-card p { color: var(--transport-text-muted); }
.transport-shell .ai-composer { background: linear-gradient(180deg, transparent, rgba(243,247,251,.98) 25%); }
.transport-shell .ai-input-wrapper { background: #fff; border-color: #b8d0df; box-shadow: var(--transport-card-shadow); }
.transport-shell .ai-input-wrapper textarea { color: #12314d; }
.transport-shell .ai-input-wrapper textarea::placeholder { color: #71879a; }
.transport-shell .composer-icon { color: var(--transport-text-muted); }
.transport-shell .composer-icon:hover { color: #005bac; background: #eaf4fb; }
.transport-shell .model-button { color: #31546e; }
.transport-shell .ai-composer-hints { color: var(--transport-text-muted); }

@media (max-width: 780px) {
  .transport-shell .ai-workspace { gap: 0; }
  .transport-shell .ai-chat-toolbar { padding-inline: 0; }
  .transport-shell .ai-input-wrapper { box-shadow: 0 8px 22px rgba(0, 59, 112, .08); }
}

/* After-sales queue uses workflow colors, reserving red for actual transport risk. */
.transport-shell .after-sales-page select { background: #fff; color: #31546e; border-color: var(--transport-border-strong); }
.transport-shell .after-sales-list-item:hover,
.transport-shell .after-sales-list-item.is-selected { background: #eaf4fb; }
.transport-shell .after-sales-list-main strong { color: #005bac; }
.transport-shell .after-sales-status.status-draft { color: #9a5a00; border-color: #efcf9b; background: #fff7e6; }
.transport-shell .after-sales-status.status-pending_assignment,
.transport-shell .after-sales-status.status-assigned { color: #005bac; border-color: #b8d0df; background: #eaf4fb; }
.transport-shell .after-sales-status.status-in_progress,
.transport-shell .after-sales-status.status-waiting_user { color: #005bac; border-color: #b8d0df; background: #eaf4fb; }
.transport-shell .after-sales-status.status-resolved,
.transport-shell .after-sales-status.status-closed { color: #007d54; border-color: #b9e0cf; background: #eefaf4; }
.transport-shell .after-sales-notice { color: #9a5a00; border-color: #efcf9b; background: #fff7e6; }
.transport-shell .after-sales-missing { color: #9a5a00; }
.transport-shell .after-sales-activity-icon { color: #005bac; background: #eaf4fb; }
.transport-shell .after-sales-detail-header p,
.transport-shell .after-sales-facts dt { color: var(--transport-text-muted); }
.transport-shell .after-sales-facts dd { color: #31546e; }

.order-document-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 20px 18px;
  padding: 11px 12px;
  border-top: 1px solid #e4edf3;
  border-radius: 0 0 8px 8px;
  background: #f7fbfd;
  color: #5b7287;
  font-size: 11px;
}

.order-document-status strong { color: #007d54; font-size: 12px; }

/* Order detail summary: identity, route, and operational facts read as one card. */
.order-facts-hero {
  border-color: #c7dbe8;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 59, 112, .07);
}

.order-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #e4edf3;
}

.order-summary-identification { min-width: 0; }
.order-summary-number-row { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.order-summary-number-row span { color: #71879a; font-size: 11px; }
.order-summary-number-row strong { overflow: hidden; color: #005bac; font: 700 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.order-summary-identification h2 { margin: 9px 0 0; color: #003b70; font-size: clamp(22px, 2.5vw, 28px); letter-spacing: -.035em; }

.order-summary-status {
  flex: 0 0 auto;
  min-width: auto;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 12px/1.2 "PingFang SC", "Microsoft YaHei", sans-serif;
}
.order-summary-status.is-exception { color: #a62c29; border-color: #efc8c5; background: #fff1f0; }
.order-summary-status.is-progress { color: #005bac; border-color: #b8d0df; background: #eaf4fb; }
.order-summary-status.is-complete { color: #007d54; border-color: #b9e0cf; background: #eefaf4; }

.order-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(86px, .22fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 20px 26px 14px;
  padding: 16px 18px;
  border: 1px solid #dbe8ef;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbfd 0%, #f1f8fb 100%);
}
.order-route-node { display: grid; min-width: 0; gap: 6px; }
.order-route-node > span { color: #71879a; font-size: 11px; }
.order-route-node strong { overflow: hidden; color: #12314d; font-size: 14px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.order-route-destination { text-align: right; }
.order-route-connector { display: flex; align-items: center; gap: 8px; color: #005bac; }
.order-route-connector span { flex: 1; height: 1px; background: #9bc4dc; }
.order-route-connector b { font-size: 17px; font-weight: 500; line-height: 1; }

.order-context-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0 26px 20px;
}
.order-context-facts > div { min-width: 0; padding: 14px 15px 13px; border: 1px solid #e1ebf1; border-radius: 10px; background: #f7fbfd; }
.order-context-facts dt { color: #71879a; font-size: 11px; }
.order-context-facts dd { overflow: hidden; margin: 8px 0 0; color: #12314d; font-size: 14px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.order-context-facts dd.transport-late { color: #b96b00 !important; }

.order-facts-hero .order-document-status { margin: 0 26px 24px; border: 1px solid #e1ebf1; border-radius: 10px; background: #f7fbfd; }

@media (max-width: 900px) {
  .order-context-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .order-summary-top { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px 18px 17px; }
  .order-route { grid-template-columns: 1fr; gap: 11px; margin: 16px 18px 12px; padding: 14px; }
  .order-route-destination { text-align: left; }
  .order-route-connector { padding: 0 6px; }
  .order-context-facts { gap: 9px; padding: 0 18px 16px; }
  .order-context-facts > div { padding: 12px; }
  .order-facts-hero .order-document-status { margin: 0 18px 18px; }
}

/* Carrier service workspace: white work surfaces, deliberate gutters, and light-mode controls. */
.transport-shell {
  --transport-color-scheme: light;
  color-scheme: light;
}

.service-workspace {
  color: #12314d;
}

.service-workspace-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.service-workspace-header h1 {
  margin: 6px 0 8px;
  color: #003b70;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.045em;
}

.service-workspace-header p {
  max-width: 720px;
  margin: 0;
  color: #5b7287;
  line-height: 1.65;
}

.service-workspace-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.service-ai-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid #b9e0cf;
  border-radius: 10px;
  background: #f4fcf7;
  color: #007d54;
}

.service-ai-status > i { font-size: 16px; }
.service-ai-status span { display: grid; gap: 2px; }
.service-ai-status strong { font-size: 12px; }
.service-ai-status small { color: #5b7287; font-size: 10px; }

.service-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.service-metric-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 126px;
  padding: 18px 18px 32px;
  overflow: hidden;
  border: 1px solid #c7dbe8;
  border-radius: 14px;
  background: #fff;
  color: #12314d;
  box-shadow: 0 10px 26px rgba(0, 59, 112, .07);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service-metric-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--metric-accent, #005bac);
  content: "";
}

.service-metric-card::after {
  position: absolute;
  right: -36px;
  top: -42px;
  width: 134px;
  height: 134px;
  border: 1px solid color-mix(in srgb, var(--metric-accent, #005bac) 22%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 20px color-mix(in srgb, var(--metric-accent, #005bac) 5%, transparent);
  content: "";
  pointer-events: none;
}

.service-metric-card.tone-blue { --metric-accent: #005bac; background: linear-gradient(145deg, #fff 0%, #f7fbfe 100%); }
.service-metric-card.tone-green { --metric-accent: #007d54; background: linear-gradient(145deg, #fff 0%, #f5fcf8 100%); }
.service-metric-card.tone-amber { --metric-accent: #9a5a00; background: linear-gradient(145deg, #fff 0%, #fffbf3 100%); }
.service-metric-card.tone-red { --metric-accent: #a62c29; background: linear-gradient(145deg, #fff 0%, #fff8f7 100%); }

.service-metric-card:hover {
  border-color: #8fb8d0;
  box-shadow: 0 14px 30px rgba(0, 59, 112, .12);
  transform: translateY(-2px);
}

.service-metric-card:focus-visible,
.service-queue-item:focus-visible {
  outline: 3px solid rgba(0, 91, 172, .24);
  outline-offset: 2px;
}

.service-metric-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 5px; }
.service-metric-copy small { color: #5b7287; font-size: 11px; }
.service-metric-copy strong { color: #003b70; font-size: 28px; line-height: 1; letter-spacing: -.045em; }
.service-metric-copy em { color: #5b7287; font-size: 10px; font-style: normal; line-height: 1.45; }
.service-metric-card.tone-green .service-metric-copy strong { color: #007d54; }
.service-metric-card.tone-amber .service-metric-copy strong { color: #9a5a00; }
.service-metric-card.tone-red .service-metric-copy strong { color: #a62c29; }
.service-metric-link { position: absolute; right: 16px; bottom: 16px; z-index: 1; color: #6f8a9d; font-size: 10px; }

.service-workspace-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr);
  gap: 24px;
  align-items: start;
}

.service-queue-column,
.service-side-column {
  display: grid;
  gap: 16px;
  align-content: start;
}

.service-queue-column { gap: 16px; }

.service-queue-panel {
  overflow: hidden;
  border: 1px solid #c7dbe8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 59, 112, .07);
}

.service-queue-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e4edf3;
}

.service-queue-panel h2 { margin: 4px 0 5px; color: #12314d; font-size: 17px; }
.service-queue-panel header p { margin: 0; color: #5b7287; font-size: 11px; line-height: 1.5; }
.service-section-label { color: #005bac; font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.service-queue-action { flex: 0 0 auto; padding: 8px 10px; font-size: 11px; }
.service-queue-action i { margin-left: 6px; }
.service-queue-list { padding: 4px 22px 8px; }

.service-queue-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid #e4edf3;
  background: transparent;
  color: #12314d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-queue-item:last-child { border-bottom: 0; }
.service-queue-item:hover .service-queue-main strong { color: #005bac; }
.service-queue-marker { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #eaf4fb; color: #005bac; font-size: 12px; }
.service-queue-marker.kind-draft { background: #fff7e6; color: #9a5a00; }
.service-queue-marker.kind-sla { background: #fff5f4; color: #a62c29; }
.service-queue-marker.kind-ai { background: #eefaf4; color: #007d54; }
.service-queue-main { display: grid; min-width: 0; gap: 4px; }
.service-queue-main strong { overflow: hidden; color: #12314d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.service-queue-main small { overflow: hidden; color: #5b7287; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.service-queue-main em { color: #71879a; font-size: 10px; font-style: normal; }
.service-queue-arrow { color: #9ab1c1; font-size: 11px; }
.service-queue-empty { display: grid; justify-items: center; gap: 8px; min-height: 126px; padding: 24px; color: #5b7287; font-size: 12px; text-align: center; }
.service-queue-empty i { color: #00a870; font-size: 22px; }

.service-next-step {
  padding: 20px 22px;
  border: 1px solid #b9e0cf;
  border-radius: 14px;
  background: #f4fcf7;
}

.service-next-step h2 { margin: 6px 0 7px; color: #003b70; font-size: 17px; }
.service-next-step p { margin: 0; color: #4f6b82; font-size: 12px; line-height: 1.65; }
.service-loop { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #007d54; font-size: 10px; }
.service-loop span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 8px; border: 1px solid #b9e0cf; border-radius: 7px; background: #fff; }
.service-loop b { color: #005bac; font: 700 10px ui-monospace, monospace; }
.service-loop i { color: #8fb8a8; font-size: 9px; }

.service-workspace-loading { display: grid; gap: 16px; min-height: 360px; padding: 10px 0; }
.service-workspace-loading .loading-skeleton { display: block; height: 86px; border-radius: 14px; background: linear-gradient(90deg, #eaf4fb 25%, #f7fbfd 50%, #eaf4fb 75%); background-size: 200% 100%; animation: service-loading 1.2s ease-in-out infinite; }
.service-workspace-loading .loading-skeleton:nth-child(2) { height: 180px; }
.service-workspace-loading .loading-skeleton:nth-child(3) { height: 140px; }
.service-workspace-error { display: grid; justify-items: center; gap: 10px; min-height: 340px; padding: 60px 20px; color: #5b7287; text-align: center; }
.service-workspace-error i { color: #b96b00; font-size: 30px; }
.service-workspace-error h1 { margin: 0; color: #003b70; font-size: 22px; }
.service-workspace-error p { max-width: 520px; margin: 0 0 8px; line-height: 1.6; }
@keyframes service-loading { to { background-position: -200% 0; } }

/* Unscoped compatibility selectors keep the shared components readable on the light shell. */
.ai-rail-card { background: #fff; }
.ai-input-wrapper { background: #fff; }
.after-sales-handoff-card { background: #f4fcf7; }
.after-sales-page select { background: #fff; }
.after-sales-status.status-draft { color: #9a5a00; }
.after-sales-notice { color: #9a5a00; }

@media (max-width: 1180px) {
  .service-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .service-workspace-header { display: grid; align-items: start; gap: 16px; }
  .service-workspace-actions { justify-content: flex-start; }
  .service-workspace-main { grid-template-columns: 1fr; gap: 18px; }
  .service-queue-column, .service-side-column { gap: 14px; }
}

@media (max-width: 560px) {
  .service-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-metric-card { min-height: 116px; padding: 15px; }
  .service-metric-copy strong { font-size: 24px; }
  .service-queue-panel > header { display: grid; padding: 17px 16px 14px; }
  .service-queue-list { padding-inline: 16px; }
  .service-next-step { padding: 18px 16px; }
  .service-loop { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .service-metric-card,
  .service-workspace-loading .loading-skeleton { animation: none; transition: none; }
}

/* Keep the assistant readable as one centered conversation column inside the shell. */
.transport-shell .ai-messages {
  width: min(100%, 960px);
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 24px;
}

.transport-shell .ai-composer {
  width: min(100%, 960px);
  max-width: 960px;
  margin-inline: auto;
  padding: 14px 24px 20px;
  background: linear-gradient(180deg, rgba(243, 247, 251, 0), #f3f7fb 30%);
}

.transport-shell .ai-input-wrapper { width: 100%; }

@media (max-width: 780px) {
  /* The order selector remains the bridge between a conversation and live transport facts.
     Keep that bridge above the chat when the desktop rail collapses on narrow screens. */
  .transport-shell .ai-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
  }

  .transport-shell .ai-rail {
    display: block;
    grid-row: 1;
    overflow: visible;
  }

  .transport-shell .ai-rail > :not(.ai-order-context-card) {
    display: none;
  }

  .transport-shell .ai-order-context-card {
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 18px rgba(0, 59, 112, .08);
  }

  .transport-shell .ai-chat-main {
    grid-row: 2;
    height: auto;
  }

  .transport-shell .ai-messages {
    width: 100%;
    max-width: none;
    padding-inline: 14px;
  }

  .transport-shell .ai-composer {
    width: 100%;
    max-width: none;
    padding-inline: 14px;
  }
}

/* Service analytics uses evidence-first panels: counts stay readable, trends stay comparable. */
.service-analytics-page { color: #12314d; }
.service-analytics-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.service-analytics-header h1 { margin: 6px 0 8px; color: #003b70; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.045em; }
.service-analytics-header p { max-width: 720px; margin: 0; color: #5b7287; line-height: 1.65; }
.service-analytics-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.analytics-range-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #c7dbe8; border-radius: 10px; background: #f7fbfd; }
.analytics-range-switch .button { min-height: 34px; padding: 7px 11px; border-color: transparent; background: transparent; }
.analytics-range-switch .button.is-active { border-color: #b8d0df; background: #fff; color: #005bac; box-shadow: 0 3px 9px rgba(0, 59, 112, .08); }
.analytics-kpi-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.analytics-kpi { position: relative; display: grid; min-width: 0; min-height: 128px; padding: 18px; overflow: hidden; border: 1px solid #c7dbe8; border-radius: 14px; background: #fff; box-shadow: 0 10px 26px rgba(0, 59, 112, .07); }
.analytics-kpi::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--metric-accent, #005bac); content: ""; }
.analytics-kpi.tone-blue { --metric-accent: #005bac; background: linear-gradient(145deg, #fff 0%, #f7fbfe 100%); }
.analytics-kpi.tone-green { --metric-accent: #007d54; background: linear-gradient(145deg, #fff 0%, #f5fcf8 100%); }
.analytics-kpi.tone-amber { --metric-accent: #9a5a00; background: linear-gradient(145deg, #fff 0%, #fffbf3 100%); }
.analytics-kpi.tone-red { --metric-accent: #a62c29; background: linear-gradient(145deg, #fff 0%, #fff8f7 100%); }
.analytics-kpi > div { display: grid; align-content: start; gap: 5px; min-width: 0; }
.analytics-kpi small { color: #5b7287; font-size: 11px; white-space: nowrap; }
.analytics-kpi strong { color: #003b70; font-size: 27px; line-height: 1; letter-spacing: -.045em; }
.analytics-kpi em { color: #5b7287; font-size: 10px; font-style: normal; line-height: 1.45; }
.analytics-kpi.tone-green strong { color: #007d54; }
.analytics-kpi.tone-amber strong { color: #9a5a00; }
.analytics-kpi.tone-red strong { color: #a62c29; }
.analytics-main-grid, .analytics-secondary-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); gap: 24px; align-items: start; }
.analytics-main-grid { margin-bottom: 24px; }
.analytics-panel, .analytics-risk-panel { overflow: hidden; border: 1px solid #c7dbe8; border-radius: 14px; background: #fff; box-shadow: 0 10px 26px rgba(0, 59, 112, .07); }
.analytics-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid #e4edf3; }
.analytics-panel-header h2 { margin: 4px 0 0; color: #12314d; font-size: 17px; }
.analytics-kicker { color: #5b7287; font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.analytics-panel-note { color: #71879a; font-size: 10px; white-space: nowrap; }
.analytics-panel-body { min-height: 246px; padding: 22px; }
.analytics-link-button { flex: 0 0 auto; min-height: 32px; padding: 7px 10px; font-size: 10px; }
.analytics-link-button i { margin-left: 5px; }
.analytics-chart { display: grid; gap: 16px; }
.analytics-chart-plot { display: grid; grid-template-columns: repeat(var(--analytics-days, 7), minmax(5px, 1fr)); gap: 6px; align-items: end; height: 190px; padding: 0 2px; border-bottom: 1px solid #d8e5ee; background: repeating-linear-gradient(to top, transparent 0 46px, #edf4f9 47px 48px); }
.analytics-day { display: grid; grid-template-rows: 1fr 18px; align-items: end; min-width: 0; height: 100%; }
.analytics-bar-track { display: flex; align-items: flex-end; justify-content: center; min-height: 3px; height: 100%; }
.analytics-bar-stack { display: flex; flex-direction: column; justify-content: flex-end; width: min(18px, 100%); min-height: 4px; overflow: hidden; border-radius: 4px 4px 1px 1px; background: #eaf4fb; }
.analytics-bar-stack span { display: block; flex: 0 0 auto; min-height: 2px; }
.analytics-bar-direct { background: #005bac; }
.analytics-bar-handoff { background: #e7a23b; }
.analytics-day small { overflow: hidden; color: #71879a; font-size: 9px; line-height: 18px; text-align: center; white-space: nowrap; }
.analytics-chart-legend { display: flex; align-items: center; gap: 16px; color: #5b7287; font-size: 10px; }
.analytics-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.analytics-chart-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.analytics-legend-direct { background: #005bac; }.analytics-legend-handoff { background: #e7a23b; }
.analytics-chart-legend small { margin-left: auto; color: #71879a; }
.analytics-accessible-data { margin-top: 16px; border-top: 1px solid #e4edf3; }
.analytics-accessible-data summary { padding-top: 12px; color: #005bac; font-size: 10px; font-weight: 700; cursor: pointer; }
.analytics-table-wrap { overflow-x: auto; margin-top: 10px; }
.analytics-data-table { width: 100%; min-width: 560px; border-collapse: collapse; color: #31546e; font-size: 10px; }
.analytics-data-table caption { margin-bottom: 7px; color: #71879a; text-align: left; }
.analytics-data-table th, .analytics-data-table td { padding: 8px 10px; border-bottom: 1px solid #e4edf3; text-align: right; white-space: nowrap; }
.analytics-data-table th:first-child, .analytics-data-table td:first-child { text-align: left; }
.analytics-data-table thead th { color: #5b7287; font-size: 9px; font-weight: 700; }
.analytics-data-table tbody th { color: #12314d; font-weight: 600; }
.analytics-trend-footer { display: flex; gap: 16px; padding: 0 22px 19px; color: #71879a; font-size: 10px; }
.analytics-trend-footer span { display: inline-flex; align-items: center; gap: 5px; }
.analytics-trend-footer span::before { width: 4px; height: 4px; border-radius: 50%; background: #00a870; content: ""; }
.analytics-breakdown-panel .analytics-panel-body { min-height: 246px; }
.analytics-breakdown-list { display: grid; gap: 20px; }
.analytics-breakdown-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; align-items: center; }
.analytics-breakdown-label { display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.analytics-breakdown-label strong { overflow: hidden; color: #12314d; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.analytics-breakdown-label span, .analytics-breakdown-row > small { color: #71879a; font-size: 10px; }
.analytics-breakdown-track { grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 4px; background: #edf4f9; }
.analytics-breakdown-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #005bac, #59a8d3); }
.analytics-breakdown-row > small { grid-column: 2; grid-row: 1; white-space: nowrap; }
.analytics-insight { display: flex; gap: 13px; align-items: flex-start; padding: 20px 22px; border: 1px solid #b9e0cf; border-radius: 14px; background: #f4fcf7; }
.analytics-insight-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #dff5e9; color: #007d54; }
.analytics-insight h2 { margin: 0 0 6px; color: #003b70; font-size: 16px; }
.analytics-insight p, .analytics-risk-panel > p { margin: 0; color: #4f6b82; font-size: 11px; line-height: 1.65; }
.analytics-risk-panel .analytics-panel-body { min-height: 0; }
.analytics-risk-summary { display: flex; align-items: baseline; gap: 10px; padding: 19px 22px 8px; }
.analytics-risk-summary strong { color: #a62c29; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.analytics-risk-summary span { color: #5b7287; font-size: 11px; }
.analytics-risk-panel > p { padding: 0 22px 21px; }
.analytics-empty { display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 198px; color: #5b7287; text-align: center; }
.analytics-empty i { color: #005bac; font-size: 24px; }
.analytics-empty strong { color: #12314d; font-size: 12px; }
.analytics-empty p { margin: 0; font-size: 10px; }
.analytics-empty-compact { min-height: 198px; }
.analytics-loading-wrap { padding: 8px 0 40px; }
.analytics-loading { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.analytics-loading span { display: block; min-height: 120px; border-radius: 14px; background: linear-gradient(90deg, #eaf4fb 25%, #f7fbfd 50%, #eaf4fb 75%); background-size: 200% 100%; animation: analytics-loading 1.2s ease-in-out infinite; }
.analytics-loading span:nth-child(2) { grid-column: span 3; min-height: 270px; }.analytics-loading span:nth-child(3) { min-height: 170px; }.analytics-loading span:nth-child(4) { min-height: 170px; }
@keyframes analytics-loading { to { background-position: -200% 0; } }
.analytics-error { display: grid; justify-items: center; gap: 10px; min-height: 360px; padding: 62px 20px; color: #5b7287; text-align: center; }
.analytics-error i { color: #b96b00; font-size: 30px; }.analytics-error h1 { margin: 0; color: #003b70; font-size: 22px; }.analytics-error p { max-width: 520px; margin: 0 0 8px; line-height: 1.6; }

@media (max-width: 1260px) {
  .analytics-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .service-analytics-header { display: grid; align-items: start; gap: 16px; }
  .service-analytics-actions { justify-content: flex-start; }
  .analytics-main-grid, .analytics-secondary-grid { grid-template-columns: 1fr; gap: 18px; }
  .analytics-chart-plot { grid-template-columns: repeat(var(--analytics-days, 7), minmax(4px, 1fr)); gap: 4px; }
}
@media (max-width: 720px) {
  .analytics-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .analytics-kpi { min-height: 116px; padding: 15px; }
  .analytics-kpi strong { font-size: 24px; }
}
@media (max-width: 560px) {
  .analytics-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .analytics-kpi { min-height: 116px; padding: 15px; }
  .analytics-kpi strong { font-size: 24px; }
  .analytics-panel-header { padding: 17px 16px 14px; }
  .analytics-panel-body { padding: 17px 16px; }
  .analytics-trend-footer { display: grid; gap: 6px; padding-inline: 16px; }
  .analytics-panel-note { display: none; }
  .analytics-chart-legend { gap: 10px; }
  .analytics-chart-legend small { margin-left: auto; }
  .analytics-accessible-data { margin-top: 12px; }
  .analytics-insight { padding: 17px 16px; }
  .analytics-risk-summary { padding-inline: 16px; }
  .analytics-risk-panel > p { padding-inline: 16px; }
  .analytics-loading { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .analytics-loading span:nth-child(2) { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .analytics-loading span { animation: none; }
}

/* Service pages: one light operational language across filters, tables, and metrics. */
.orders-toolbar {
  margin-bottom: 16px;
  padding: 16px 18px 13px;
  border: 1px solid #c7dbe8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 59, 112, .05);
}
.orders-filter-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1.55fr) repeat(4, minmax(130px, .7fr));
  gap: 10px;
  align-items: end;
}
.orders-filter-fields label { display: grid; gap: 6px; min-width: 0; color: #46627a; font-size: 11px; font-weight: 650; }
.orders-filter-fields input,
.orders-filter-fields select { width: 100%; min-height: 38px; padding: 8px 10px; color: #12314d; background: #f8fbfd; border: 1px solid #c7dbe8; border-radius: 8px; font-size: 12px; }
.orders-filter-fields input:focus,
.orders-filter-fields select:focus { outline: 3px solid rgba(0, 91, 172, .12); border-color: #005bac; background: #fff; }
.orders-toolbar-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e4edf3; }
.orders-result-count { color: #71879a; font-size: 11px; }
.orders-toolbar-actions { grid-column: 2; display: flex; justify-content: center; gap: 8px; }
.orders-toolbar-actions .button,
.knowledge-toolbar-actions .button,
.after-sales-toolbar-actions .button { min-height: 38px; padding-inline: 13px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
.orders-fact-table { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8fb8d0 #edf4f9; }
.orders-fact-table::-webkit-scrollbar { height: 8px; }
.orders-fact-table::-webkit-scrollbar-track { background: #edf4f9; }
.orders-fact-table::-webkit-scrollbar-thumb { background: #8fb8d0; border-radius: 8px; }
.orders-fact-table .transport-table { min-width: 920px; }
.orders-fact-table .transport-table th { background: #f7fbfd; }
.orders-detail-actions { display: flex; justify-content: flex-end; min-height: 38px; margin-bottom: 14px; }
.analytics-scope-note { color: #31546e; font-size: 13px; font-weight: 650; }
.analytics-kpi-primary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.analytics-kpi-support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.analytics-kpi { min-height: 108px; padding: 16px 18px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 59, 112, .05); }
.analytics-kpi::before { height: 3px; }
.analytics-kpi strong { font-size: 26px; }
.knowledge-document-panel { min-width: 0; }
.knowledge-document-panel > .transport-panel { height: 100%; }
.knowledge-toolbar-manage { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.knowledge-toolbar-manage .tag-pill { color: #46627a; background: #f7fbfd; border-color: #dbe8ef; }
.knowledge-toolbar-manage .button { min-height: 38px; padding-inline: 13px; border-radius: 8px; font-size: 11px; }
.knowledge-toolbar-actions { justify-content: center; }
.after-sales-filter-actions-row { justify-content: center !important; }

@media (max-width: 1180px) {
  .orders-filter-fields { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .orders-filter-search { grid-column: span 3; }
}
@media (max-width: 900px) {
  .analytics-kpi-primary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-kpi-support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orders-toolbar-footer { grid-template-columns: 1fr; gap: 10px; justify-items: center; }
  .orders-toolbar-actions { grid-column: 1; }
}
@media (max-width: 720px) {
  .orders-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orders-filter-search { grid-column: span 2; }
  .analytics-kpi-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .orders-filter-fields { grid-template-columns: 1fr; }
  .orders-filter-search { grid-column: auto; }
  .orders-toolbar { padding: 13px; }
  .orders-toolbar-actions { width: 100%; }
  .orders-toolbar-actions .button { flex: 1; }
  .analytics-kpi-primary-grid,
  .analytics-kpi-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .analytics-kpi { min-height: 104px; padding: 14px; }
  .analytics-scope-note { font-size: 12px; }
}

/* Keep the login surface authoritative after the shared transport theme rules. */
.transport-auth-screen { background: radial-gradient(circle at 8% 12%, rgba(0, 91, 172, .14), transparent 28%), radial-gradient(circle at 92% 86%, rgba(0, 168, 112, .14), transparent 25%), linear-gradient(135deg, #f7fbfd 0%, #edf5fa 52%, #f9fcfd 100%); color: #12314d; }
.transport-auth-screen::before { background: linear-gradient(115deg, rgba(255,255,255,.72), transparent 42%), radial-gradient(circle at 72% 20%, rgba(255,255,255,.8), transparent 30%); }
.transport-auth-screen::after { background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(220,239,242,.28)); }
.transport-auth-screen .auth-backdrop-grid { z-index: 0; opacity: .24; background-image: linear-gradient(rgba(0,91,172,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(0,91,172,.11) 1px, transparent 1px); background-size: 88px 88px; transform: perspective(700px) rotateX(58deg) translateY(30%); mask-image: linear-gradient(to bottom, transparent 0%, #000 34%, transparent 100%); }
.transport-auth-flow span { padding: 0; border: 0; background: transparent; border-radius: 0; }
.transport-auth-card { max-width: none; border: 0; border-radius: 0; background: #fff; box-shadow: none; }

@media (min-width: 821px) and (max-height: 800px) {
  .transport-auth-screen { padding: 20px 36px; }
  .transport-auth-layout { min-height: calc(100dvh - 40px); }
  .transport-auth-hero { padding: 36px 56px; }
  .transport-auth-card { padding: 34px 48px; }
  .transport-auth-card .auth-panel-top { margin-bottom: 32px; }
  .transport-auth-card .auth-intro { margin-bottom: 20px; }
  .transport-auth-card input { min-height: 44px; padding-block: 10px; }
  .transport-auth-card .button-primary { min-height: 44px; margin-top: 3px; }
  .transport-auth-card .button-quiet { min-height: 40px; margin-top: 18px; }
  .transport-auth-card .auth-footnote { margin-top: 8px; }
}

/* The route map is a quiet material detail, never a competing foreground illustration. */
.auth-route-map { top: -4%; right: -4%; width: min(64%, 560px); height: 55%; opacity: .45; }
.auth-route-label { opacity: .72; }
@media (max-width: 820px) {
  .auth-route-map { top: -3%; right: -2%; width: 82%; height: 72%; opacity: .42; }
}

/* Evidence panels keep their own viewport so long tool output never pushes the
   conversation or the rest of the workbench below the fold. */
.transport-shell .ai-tool-events,
.transport-shell .ai-citations {
  max-height: min(34vh, 320px);
  min-height: 118px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #8fb8d0 #edf4f9;
  scrollbar-width: thin;
}
.transport-shell .ai-tool-events::-webkit-scrollbar,
.transport-shell .ai-citations::-webkit-scrollbar { width: 8px; }
.transport-shell .ai-tool-events::-webkit-scrollbar-track,
.transport-shell .ai-citations::-webkit-scrollbar-track { background: #edf4f9; border-radius: 8px; }
.transport-shell .ai-tool-events::-webkit-scrollbar-thumb,
.transport-shell .ai-citations::-webkit-scrollbar-thumb { background: #8fb8d0; border: 2px solid #edf4f9; border-radius: 8px; }

/* Enterprise service workbench pass: the topbar owns page identity, while the
   content area starts with operational data instead of a second hero. */
.transport-shell .service-workspace-header {
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.transport-shell .service-workspace-context {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.transport-shell .service-workspace-context strong {
  color: #12314d;
  font-size: 14px;
  font-weight: 700;
}
.transport-shell .service-workspace-context span {
  color: #71879a;
  font-size: 12px;
}
.transport-shell .service-workspace-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.transport-shell .service-workspace-actions .button {
  min-height: 34px;
  align-items: center;
  justify-content: center;
}

/* The assistant is an operational work surface, not a promotional AI panel. */
.transport-shell .ai-rail { gap: 16px; }
.transport-shell .ai-rail-card { border-radius: 10px; box-shadow: none; }
.transport-shell .ai-rail-card > header {
  min-height: 44px;
  padding: 12px 16px;
  align-items: center;
}
.transport-shell .ai-rail-card .section-label { display: none; }
.transport-shell .ai-rail-card h2 {
  margin: 0;
  color: #12314d;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
}
.transport-shell .ai-rail-card .rail-live,
.transport-shell .ai-rail-card .table-muted {
  font-size: 11px;
  line-height: 1.4;
}
.transport-shell .ai-rail-body {
  padding: 13px 16px 15px;
  font-size: 12px;
}
.transport-shell .ai-rail-body p,
.transport-shell .ai-rail-body small,
.transport-shell .ai-rail-body span {
  line-height: 1.6;
}
.transport-shell .ai-composer {
  padding-top: 12px;
  background: transparent;
}
.transport-shell .ai-input-wrapper {
  background: transparent;
  border-color: #b8d0df;
  box-shadow: none;
  border-radius: 9px;
}
.transport-shell .ai-input-wrapper:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 91, 172, .1);
}
.transport-shell .ai-input-wrapper textarea { background: transparent; }

/* The assistant rail keeps only actionable context and evidence. Flex sizing
   lets every card grow with its content instead of clipping at a shared row. */
.transport-shell .ai-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: stretch;
}
.transport-shell .ai-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
  scrollbar-color: #8fb8d0 #edf4f9;
  scrollbar-width: thin;
}
.transport-shell .ai-rail-card {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
}
.transport-shell .ai-rail-card > header,
.transport-shell .ai-rail-body {
  flex: 0 0 auto;
}
.transport-shell .ai-rail-body {
  max-height: none;
  overflow: visible;
}
.transport-shell .ai-citations {
  max-height: min(34vh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.transport-shell .ai-rail::-webkit-scrollbar,
.transport-shell .ai-citations::-webkit-scrollbar { width: 8px; }
.transport-shell .ai-rail::-webkit-scrollbar-track,
.transport-shell .ai-citations::-webkit-scrollbar-track { background: #edf4f9; border-radius: 8px; }
.transport-shell .ai-rail::-webkit-scrollbar-thumb,
.transport-shell .ai-citations::-webkit-scrollbar-thumb { background: #8fb8d0; border: 2px solid #edf4f9; border-radius: 8px; }

@media (max-width: 1120px) and (min-width: 781px) {
  .transport-shell .ai-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
    gap: 16px;
  }
}

@media (max-width: 780px) {
  .transport-shell .ai-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
  }
  .transport-shell .ai-rail {
    display: block;
    grid-row: 1;
    height: auto;
    overflow: visible;
    padding-right: 0;
  }
  .transport-shell .ai-chat-main {
    grid-row: 2;
    height: auto;
  }
  .transport-shell .ai-rail > :not(.ai-order-context-card) { display: none; }
}

/* Filters are one deliberate control surface: search first, then dimensions,
   with query actions kept on their own second row. */
.transport-shell .after-sales-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.55fr) repeat(2, minmax(135px, .72fr)) repeat(3, minmax(124px, .72fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  padding: 15px 16px;
  border: 1px solid #c7dbe8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 59, 112, .05);
}
.transport-shell .after-sales-filter-grid label { display: grid; gap: 6px; min-width: 0; color: #46627a; font-size: 11px; font-weight: 650; }
.transport-shell .after-sales-filter-grid input,
.transport-shell .after-sales-filter-grid select { min-width: 0; width: 100%; min-height: 38px; padding: 8px 10px; color: #12314d; background: #f8fbfd; border: 1px solid #c7dbe8; border-radius: 8px; font-size: 12px; }
.transport-shell .after-sales-filter-grid input::placeholder { color: #7890a3; }
.transport-shell .after-sales-filter-grid input:focus,
.transport-shell .after-sales-filter-grid select:focus { outline: 3px solid rgba(0, 91, 172, .12); border-color: #005bac; background: #fff; }
.transport-shell .after-sales-filter-search { min-width: 220px; }
.transport-shell .after-sales-filter-actions-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 3px; border-top: 1px solid #e4edf3; }
.transport-shell .after-sales-toolbar-actions { display: flex; gap: 7px; align-items: end; }
.transport-shell .after-sales-toolbar-actions .button { min-height: 38px; padding-inline: 12px; white-space: nowrap; }
.transport-shell .after-sales-toolbar-actions .button-primary { box-shadow: 0 5px 12px rgba(0, 91, 172, .14); }
.transport-shell .after-sales-toolbar-actions .button:active { transform: translateY(1px); }

@media (max-width: 1180px) {
  .transport-shell .after-sales-filter-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .transport-shell .after-sales-filter-search { grid-column: span 3; }
  .transport-shell .after-sales-filter-actions-row { grid-column: 1 / -1; }
  .transport-shell .after-sales-toolbar-actions { justify-content: flex-end; }
}
@media (max-width: 720px) {
  .transport-shell .after-sales-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 13px; }
  .transport-shell .after-sales-filter-search,
  .transport-shell .after-sales-filter-actions-row { grid-column: span 2; }
  .transport-shell .after-sales-filter-actions-row { width: 100%; }
  .transport-shell .after-sales-toolbar-actions { justify-content: stretch; }
  .transport-shell .after-sales-toolbar-actions .button { flex: 1; }
  .transport-shell .ai-tool-events,
  .transport-shell .ai-citations { max-height: 240px; }
}

/* Knowledge actions follow the same reading order as the task: search, ask,
   then manage documents. The header keeps only the upload action. */
.transport-shell .knowledge-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(360px, 1.35fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #c7dbe8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 59, 112, .05);
}
.transport-shell .knowledge-toolbar-heading { display: grid; gap: 5px; }
.transport-shell .knowledge-toolbar-heading strong { color: #12314d; font-size: 13px; }
.transport-shell .knowledge-toolbar-heading > span:last-child { color: #71879a; font-size: 11px; line-height: 1.5; }
.transport-shell .knowledge-toolbar-controls { min-width: 0; display: flex; align-items: center; gap: 8px; }
.transport-shell .knowledge-toolbar-controls > input { min-width: 0; max-width: none; min-height: 38px; }
.transport-shell .knowledge-toolbar-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.transport-shell .knowledge-toolbar-actions .button { min-height: 38px; padding-inline: 12px; }
.transport-shell .knowledge-toolbar-actions .button:disabled { cursor: wait; opacity: .62; }
.transport-shell .knowledge-toolbar-meta { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.transport-shell .knowledge-toolbar-meta .tag-pill { color: #46627a; background: #f7fbfd; border-color: #dbe8ef; }
.transport-shell .knowledge-search-result {
  display: grid;
  gap: 10px;
  min-height: 118px;
  max-height: min(34vh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #8fb8d0 #edf4f9;
  scrollbar-width: thin;
}
.transport-shell .knowledge-search-result::-webkit-scrollbar { width: 8px; }
.transport-shell .knowledge-search-result::-webkit-scrollbar-track { background: #edf4f9; border-radius: 8px; }
.transport-shell .knowledge-search-result::-webkit-scrollbar-thumb { background: #8fb8d0; border: 2px solid #edf4f9; border-radius: 8px; }
.transport-shell .knowledge-result-empty { display: grid; align-content: center; gap: 6px; min-height: 118px; padding: 18px; border: 1px dashed #c7dbe8; border-radius: 10px; background: #f8fbfd; color: #71879a; }
.transport-shell .knowledge-result-empty strong { color: #31546e; font-size: 12px; }
.transport-shell .knowledge-result-empty span { font-size: 11px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .transport-shell .knowledge-toolbar { grid-template-columns: 1fr; gap: 11px; }
  .transport-shell .knowledge-toolbar-meta { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .transport-shell .knowledge-toolbar-controls { align-items: stretch; flex-direction: column; }
  .transport-shell .knowledge-toolbar-actions .button { flex: 1; }
}

/* 售后工单最终视觉层：以客服处理顺序组织信息，保证白底、层级和操作区可读。 */
.transport-shell .transport-sidebar .user-card { color: #fff; }
.transport-shell .transport-sidebar .user-card strong { color: #fff; font-size: 12px; }
.transport-shell .transport-sidebar .user-card small { color: rgba(255, 255, 255, .72); }
.transport-shell .transport-sidebar .user-card > i { color: rgba(255, 255, 255, .62); }
.transport-shell .transport-sidebar .user-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); }

.transport-shell .after-sales-page { max-width: 1480px; }
.transport-shell .after-sales-layout { grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: 24px; }
.transport-shell .after-sales-list-panel,
.transport-shell .after-sales-detail-panel { border-color: #c7dbe8; background: #fff; border-radius: 16px; box-shadow: 0 10px 26px rgba(0, 59, 112, .07); }
.transport-shell .after-sales-panel-header { padding: 20px 22px 16px; border-bottom: 1px solid #e4edf3; }
.transport-shell .after-sales-panel-header > div { gap: 4px; }
.transport-shell .after-sales-panel-header h2 { margin: 0; color: #12314d; font-size: 16px; }
.transport-shell .after-sales-panel-header span { color: #71879a; font-size: 10px; }
.transport-shell .after-sales-list { max-height: min(70vh, 760px); overflow-y: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #8fb8d0 #f1f6f9; }
.transport-shell .after-sales-list::-webkit-scrollbar { width: 8px; }
.transport-shell .after-sales-list::-webkit-scrollbar-track { background: #f1f6f9; }
.transport-shell .after-sales-list::-webkit-scrollbar-thumb { background: #8fb8d0; border: 2px solid #f1f6f9; border-radius: 8px; }
.transport-shell .after-sales-list-item { min-height: 92px; padding: 16px 18px; color: #46627a; background: #fff; border-top-color: #e4edf3; cursor: pointer; }
.transport-shell .after-sales-list-item:hover,
.transport-shell .after-sales-list-item.is-selected { background: #f2f8fb; }
.transport-shell .after-sales-list-item.is-selected { box-shadow: inset 3px 0 #005bac; }
.transport-shell .after-sales-list-item:focus-visible { outline: 3px solid rgba(0, 91, 172, .18); outline-offset: -3px; }
.transport-shell .after-sales-list-main { gap: 6px; }
.transport-shell .after-sales-list-main strong { color: #005bac; font-size: 10px; }
.transport-shell .after-sales-list-main span { color: #12314d; font-size: 12px; font-weight: 650; }
.transport-shell .after-sales-list-main small { color: #71879a; font-size: 10px; }
.transport-shell .after-sales-status { min-height: 24px; padding: 4px 9px; font-size: 10px; font-weight: 700; }

.transport-shell .after-sales-detail { color: #12314d; background: #fff; }
.transport-shell .after-sales-detail-header { padding: 24px; background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%); border-bottom-color: #e4edf3; }
.transport-shell .after-sales-detail-kicker,
.transport-shell .after-sales-section-kicker,
.transport-shell .after-sales-analysis-kicker { color: #005bac; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.transport-shell .after-sales-detail-header h2 { margin: 0 0 6px; color: #003b70; font-size: 22px; letter-spacing: -.03em; }
.transport-shell .after-sales-detail-header p { color: #46627a; font-size: 13px; line-height: 1.55; }
.transport-shell .after-sales-notice { margin: 16px 24px 0; padding: 12px 13px; color: #8a5500; background: #fff8e8; border-color: #efd39e; font-size: 11px; }
.transport-shell .after-sales-facts { gap: 10px; padding: 18px 24px; border-bottom-color: #e4edf3; }
.transport-shell .after-sales-facts div { padding: 11px 12px; border: 1px solid #e4edf3; border-radius: 9px; background: #f8fbfd; }
.transport-shell .after-sales-facts dt { color: #71879a; font-size: 10px; }
.transport-shell .after-sales-facts dd { color: #31546e; font-size: 12px; font-weight: 650; }
.transport-shell .after-sales-detail-section { padding: 22px 24px; border-bottom-color: #e4edf3; }
.transport-shell .after-sales-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.transport-shell .after-sales-section-heading > div { display: grid; gap: 4px; }
.transport-shell .after-sales-detail-section h3 { margin: 0; color: #12314d; font-size: 15px; }
.transport-shell .after-sales-section-note { color: #71879a; font-size: 10px; white-space: nowrap; }
.transport-shell .after-sales-description { color: #31546e; font-size: 13px; line-height: 1.8; }
.transport-shell .after-sales-missing { margin: 12px 0 0; padding: 9px 11px; color: #8a5500; background: #fff8e8; border-radius: 7px; font-size: 11px; line-height: 1.55; }

.transport-shell .after-sales-ai-analysis { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e4edf3; }
.transport-shell .after-sales-ai-analysis-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.transport-shell .after-sales-ai-analysis-header > div { display: grid; gap: 5px; }
.transport-shell .after-sales-ai-analysis-header h3 { margin: 0; color: #003b70; font-size: 17px; }
.transport-shell .after-sales-ai-analysis-header > div { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.transport-shell .after-sales-ai-risk { padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.transport-shell .after-sales-ai-risk.risk-high { color: #a12e2a; background: #fff0ef; }
.transport-shell .after-sales-ai-risk.risk-low { color: #007d54; background: #eaf8f0; }
.transport-shell .after-sales-ai-summary { margin: 0 0 12px; color: #31546e; font-size: 12px; line-height: 1.6; }
.transport-shell .after-sales-analysis-source { color: #71879a; font-size: 10px; }
.transport-shell .after-sales-ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.transport-shell .after-sales-ai-block { min-width: 0; padding: 14px; border: 1px solid #dbe8ef; border-top: 3px solid var(--analysis-color, #005bac); border-radius: 11px; background: var(--analysis-bg, #f7fbfd); }
.transport-shell .after-sales-ai-block.ai-analysis-evidence { --analysis-color: #005bac; --analysis-bg: #f3f8fc; }
.transport-shell .after-sales-ai-block.ai-analysis-attention { --analysis-color: #c68118; --analysis-bg: #fffaf0; }
.transport-shell .after-sales-ai-block.ai-analysis-solution { --analysis-color: #00885b; --analysis-bg: #f3fbf7; }
.transport-shell .after-sales-ai-block h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; color: #12314d; font-size: 12px; }
.transport-shell .after-sales-ai-block h4 span { color: #71879a; font-size: 10px; font-weight: 500; white-space: nowrap; }
.transport-shell .after-sales-ai-block ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.transport-shell .after-sales-ai-block li { position: relative; padding-left: 12px; color: #46627a; font-size: 11px; line-height: 1.58; }
.transport-shell .after-sales-ai-block li::before { position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--analysis-color, #005bac); content: ""; }
.transport-shell .after-sales-evidence-chain li { display: grid; gap: 3px; padding-left: 12px; }
.transport-shell .after-sales-evidence-chain li strong { color: #12314d; font-size: 11px; }
.transport-shell .after-sales-evidence-chain li span { color: #46627a; }
.transport-shell .after-sales-evidence-chain li small { color: #7890a3; font-size: 10px; }
.transport-shell .after-sales-ai-disclaimer { margin: 14px 0 0; color: #71879a; font-size: 10px; line-height: 1.55; }

.transport-shell .after-sales-action-section .after-sales-actions { justify-content: flex-end; gap: 9px; }
.transport-shell .after-sales-actions .button { min-height: 38px; padding-inline: 14px; font-size: 11px; }
.transport-shell .after-sales-action-section .button-primary { box-shadow: 0 5px 12px rgba(0, 91, 172, .14); }
.transport-shell .after-sales-message-form { gap: 9px; padding: 22px 24px 24px; background: #f8fbfd; }
.transport-shell .after-sales-message-form .after-sales-section-heading { margin-bottom: 0; }
.transport-shell .after-sales-message-form label { color: #46627a; font-size: 11px; font-weight: 650; }
.transport-shell .after-sales-message-form select,
.transport-shell .after-sales-message-form textarea { color: #12314d; background: #fff; border-color: #c7dbe8; }
.transport-shell .after-sales-message-form textarea { min-height: 82px; }
.transport-shell .after-sales-message-form .button { justify-self: end; margin-top: 3px; }
.transport-shell .after-sales-activities strong { color: #31546e; font-size: 11px; }
.transport-shell .after-sales-activities small { color: #71879a; font-size: 10px; }
.transport-shell .after-sales-activity-icon { color: #005bac; background: #eaf4fb; }
.transport-shell .after-sales-loading .loading-skeleton { background: linear-gradient(90deg, #eaf4fb 25%, #f7fbfd 37%, #eaf4fb 63%); }

.ai-handoff-hitl-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(0, 42, 78, .42); backdrop-filter: blur(5px); }
.ai-handoff-hitl { width: min(560px, 100%); overflow: hidden; color: #12314d; background: #fff; border: 1px solid #c7dbe8; border-radius: 18px; box-shadow: 0 24px 70px rgba(0, 59, 112, .2); }
.ai-handoff-hitl > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 17px; background: linear-gradient(180deg, #f2f8fc 0%, #fff 100%); border-bottom: 1px solid #e4edf3; }
.ai-handoff-hitl-kicker { color: #00885b; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.ai-handoff-hitl h2 { margin: 7px 0 0; color: #003b70; font-size: 20px; letter-spacing: -.03em; }
.ai-handoff-hitl-body { padding: 21px 24px 23px; }
.ai-handoff-hitl-lead { margin: 0; color: #31546e; font-size: 13px; line-height: 1.7; }
.ai-handoff-hitl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.ai-handoff-hitl-facts div { min-width: 0; padding: 11px 12px; background: #f7fbfd; border: 1px solid #e4edf3; border-radius: 10px; }
.ai-handoff-hitl-facts dt { color: #71879a; font-size: 10px; }
.ai-handoff-hitl-facts dd { overflow-wrap: anywhere; margin: 5px 0 0; color: #12314d; font-size: 12px; font-weight: 700; line-height: 1.45; }
.ai-handoff-hitl-note { margin: 16px 0 0; color: #71879a; font-size: 11px; line-height: 1.55; }
.ai-handoff-hitl > footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 20px; border-top: 1px solid #e4edf3; }
.ai-handoff-hitl > footer .button { min-height: 38px; padding-inline: 15px; }

@media (max-width: 520px) {
  .ai-handoff-hitl-overlay { padding: 14px; }
  .ai-handoff-hitl > header,
  .ai-handoff-hitl-body { padding-inline: 18px; }
  .ai-handoff-hitl-facts { grid-template-columns: 1fr; }
  .ai-handoff-hitl > footer { flex-direction: column-reverse; padding-inline: 18px; }
  .ai-handoff-hitl > footer .button { width: 100%; }
}

@media (max-width: 1120px) {
  .transport-shell .after-sales-layout { grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 18px; }
  .transport-shell .after-sales-ai-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .transport-shell .after-sales-layout { grid-template-columns: 1fr; }
  .transport-shell .after-sales-list { max-height: 360px; }
  .transport-shell .after-sales-action-section .after-sales-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .transport-shell .after-sales-detail-header,
  .transport-shell .after-sales-detail-section,
  .transport-shell .after-sales-message-form { padding-inline: 16px; }
  .transport-shell .after-sales-notice { margin-inline: 16px; }
  .transport-shell .after-sales-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 16px; }
  .transport-shell .after-sales-detail-header { display: grid; }
  .transport-shell .after-sales-ai-analysis-header { align-items: flex-start; flex-direction: column; }
  .transport-shell .after-sales-actions .button { flex: 1 1 auto; }
  .transport-shell .after-sales-message-form .button { justify-self: stretch; }
}

/* Final interaction alignment overrides for all service filters. */
.transport-shell .after-sales-filter-actions-row { justify-content: center; }
.transport-shell .after-sales-toolbar-actions { justify-content: center; }
.transport-shell .knowledge-toolbar-actions { justify-content: center; }

/* Knowledge operations: documents stay on the left, evidence stays visible on the right. */
.transport-shell .knowledge-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr);
  gap: 18px;
  align-items: start;
}
.transport-shell .knowledge-document-column,
.transport-shell .knowledge-result-column { min-width: 0; display: grid; gap: 18px; }
.transport-shell .knowledge-document-panel > .transport-panel,
.transport-shell .knowledge-result-column > .transport-panel { height: 100%; }
.transport-shell .knowledge-search-form { min-width: 0; }
.transport-shell .knowledge-search-form .knowledge-toolbar-controls { width: 100%; }
.transport-shell .knowledge-search-form .knowledge-toolbar-controls > input { flex: 1 1 auto; }
.transport-shell .knowledge-result-list { display: grid; gap: 10px; }
.transport-shell .knowledge-result-card {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dbe8ef;
  border-radius: 10px;
  background: #f8fbfd;
}
.transport-shell .knowledge-result-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.transport-shell .knowledge-result-card-heading strong { color: #12314d; font-size: 12px; }
.transport-shell .knowledge-result-card-heading span,
.transport-shell .knowledge-result-card small { color: #71879a; font-size: 10px; }
.transport-shell .knowledge-result-card p { margin: 8px 0; color: #46627a; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }

@media (max-width: 980px) {
  .transport-shell .knowledge-page-layout { grid-template-columns: 1fr; }
  .transport-shell .knowledge-result-column { order: -1; }
}

@media (max-width: 520px) {
  .transport-shell .knowledge-result-card-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
}
