:root {
  --ink: #13233c;
  --muted: #718096;
  --line: #dbe4ef;
  --blue: #2274e5;
  --deep-blue: #123f8f;
  --soft-blue: #edf5ff;
  --green: #21ad76;
  --orange: #f39b36;
  --red: #ee626a;
  --paper: #ffffff;
  --page: #f4f7fb;
}

* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; color: var(--ink); background: var(--page); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.is-hidden { display: none !important; }

.dashboard-shell { min-height: 100vh; padding: 0 4vw; background: radial-gradient(circle at 87% 0%, #e9f2ff 0, transparent 27%), linear-gradient(180deg, #f8fbff 0, #f3f6fa 100%); }
.topbar { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(160, 178, 202, .38); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: white; font-weight: 800; background: linear-gradient(145deg, #2f83ed, #1557b7); box-shadow: 0 8px 18px rgba(34, 116, 229, .25); }
.brand div { display: grid; gap: 1px; }
.brand strong { font-size: 16px; letter-spacing: .08em; }
.brand div span { color: #7a899e; font-size: 11px; letter-spacing: .18em; }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: #68788f; font-size: 13px; }
.topbar-divider { display: inline-block; width: 1px; height: 18px; margin: 0 9px; background: #cfd9e5; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ac483; box-shadow: 0 0 0 4px rgba(42, 196, 131, .12); }

.hero-row { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.hero-row h1 { margin: 8px 0 4px; font-size: clamp(25px, 2vw, 32px); letter-spacing: -.03em; }
.hero-row p { margin: 0; color: #78879c; font-size: 12px; }
.date-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); }
.date-link > span { padding: 5px 9px; border-radius: 6px; color: white; background: var(--blue); font-size: 11px; }
.date-link strong { font-size: 14px; letter-spacing: .03em; }
.date-link i { font-style: normal; transition: transform .2s; }
.date-link:hover i { transform: translateX(4px); }
.date-link:focus-visible, .back-link:focus-visible, .metric-card.clickable:focus-visible, .report-record-link:focus-visible { outline: 3px solid rgba(34, 116, 229, .3); outline-offset: 4px; }
.shift-card { min-width: 300px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #d9e4f1; border-radius: 14px; background: rgba(255,255,255,.78); box-shadow: 0 10px 26px rgba(46, 75, 115, .07); }
.robot-stack { display: flex; }
.robot-stack span { width: 34px; height: 34px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; color: white; font-size: 10px; font-weight: 800; background: #508add; }
.robot-stack span + span { margin-left: -12px; background: #65adbb; }
.shift-card > div:nth-child(2) { display: grid; }
.shift-card strong { font-size: 18px; }
.shift-card div span { color: var(--muted); font-size: 10px; }
.shift-card > i { margin-left: auto; padding: 5px 9px; border-radius: 20px; color: #16885d; background: #e7f8f0; font-style: normal; font-size: 11px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(470px, .92fr) minmax(560px, 1.08fr); gap: 32px; }
.overview-column { min-height: 0; display: flex; flex-direction: column; }
.section-heading { min-height: 43px; display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 10px; }
.section-heading div > span { color: #8b9aaf; font-size: 9px; font-weight: 700; letter-spacing: .24em; }
.section-heading h2 { margin: 2px 0 0; font-size: 17px; }
.section-heading p { margin: 0; color: #718096; font-size: 12px; }
.section-heading p strong { margin-left: 3px; color: var(--ink); font-size: 22px; }
.monitor-heading p { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 8px; background: white; box-shadow: 0 4px 13px rgba(53, 76, 110, .07); }
.metric-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(142px, 1fr)); gap: 13px; }
.metric-card { min-height: 0; position: relative; display: flex; flex-direction: column; padding: 18px; overflow: hidden; border: 1px solid #dde6f0; border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 9px 24px rgba(41, 67, 105, .055); }
.metric-card::after { content: ""; position: absolute; right: -28px; bottom: -37px; width: 90px; height: 90px; border-radius: 50%; background: #edf4fd; }
.metric-card.clickable { cursor: pointer; border-color: #cbdaf0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.metric-card.clickable:hover { transform: translateY(-3px); border-color: #86aeea; box-shadow: 0 16px 30px rgba(34, 92, 170, .13); }
.metric-card > span { color: #66768d; font-size: 12px; }
.metric-icon { width: 23px; height: 4px; margin-bottom: 12px; border-radius: 9px; background: var(--blue); }
.metric-icon.cyan { background: #25a9bc; }.metric-icon.violet { background: #7a67dc; }.metric-icon.orange { background: #f39b36; }.metric-icon.green { background: #29ae78; }.metric-icon.indigo { background: #566ad4; }
.metric-value { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.metric-value strong { font-family: Arial, sans-serif; font-size: clamp(33px, 3.1vw, 48px); letter-spacing: -.04em; }
.metric-value small { color: #718096; font-size: 11px; }
.metric-card em { position: relative; z-index: 1; margin-top: 3px; color: #62738c; font-style: normal; font-size: 9px; }
.mileage-card { min-height: 88px; display: flex; align-items: center; gap: 22px; margin-top: 13px; padding: 16px 20px; border: 1px solid #dbe6f0; border-radius: 15px; background: linear-gradient(100deg, #e9f4ff, #f7fbff); }
.route-line { width: 60px; height: 36px; position: relative; flex: 0 0 auto; }
.route-line::before { content: ""; position: absolute; top: 17px; left: 6px; width: 48px; border-top: 2px dashed #69a5ec; }
.route-line span { position: absolute; top: 13px; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: #2b7ce7; box-shadow: 0 2px 5px #8eb9eb; }
.route-line span:nth-child(1) { left: 2px; }.route-line span:nth-child(2) { left: 25px; }.route-line span:nth-child(3) { right: 0; }
.mileage-card > div:nth-child(2) { display: grid; }
.mileage-card span { color: #62738b; font-size: 11px; }
.mileage-card strong { margin-top: 3px; font-size: 28px; }.mileage-card strong small { font-size: 11px; }
.mileage-card p { margin-left: auto; color: #8290a3; font-size: 10px; }.mileage-card b { color: #1c9d6c; }

.monitor-card { position: relative; min-height: 377px; overflow: hidden; border-radius: 17px; background: #162438; box-shadow: 0 18px 38px rgba(22, 47, 80, .18); }
.camera-label { position: absolute; z-index: 10; top: 15px; left: 16px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 7px; color: white; background: rgba(12, 25, 43, .72); backdrop-filter: blur(8px); font-size: 10px; }
.camera-label b { margin-left: 8px; color: #cdd8e8; font-weight: 500; }
.corridor-scene { position: absolute; inset: 0 0 44px; overflow: hidden; background: linear-gradient(156deg, transparent 0 28%, rgba(155,179,199,.23) 28.2% 30%, transparent 30.2%), linear-gradient(204deg, transparent 0 28%, rgba(155,179,199,.23) 28.2% 30%, transparent 30.2%), linear-gradient(90deg, #4c5d69 0 27%, #9fb0bb 27.2% 73%, #455865 73.2%); }
.corridor-video { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; background: #101923; }
.corridor-scene::before { content: ""; position: absolute; inset: 54% 0 0; clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #737d82, #c0c6c7 50%, #6e797e); }
.corridor-scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 15%, rgba(6, 17, 26, .19) 92%), linear-gradient(rgba(20, 36, 49, .08), rgba(20, 36, 49, .2)); }
.ceiling-light { position: absolute; z-index: 2; top: 8%; left: 50%; width: 25%; height: 5px; transform: translateX(-50%); background: #f2f5e5; box-shadow: 0 0 22px #fffbd3; }
.ceiling-light.two { top: 25%; width: 15%; }
.door { position: absolute; z-index: 3; bottom: 25%; width: 19%; height: 43%; border: 5px solid #263943; background: linear-gradient(100deg, #516873, #31464f); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.door.left { left: 4%; transform: perspective(200px) rotateY(7deg); }.door.right { right: 4%; transform: perspective(200px) rotateY(-7deg); }
.door span { position: absolute; top: 10%; right: 8%; padding: 3px 5px; color: #243b48; background: #d2d9db; font-size: 9px; }
.hall-end { position: absolute; z-index: 3; left: 44%; top: 30%; width: 12%; height: 25%; border: 3px solid #43535a; background: #607179; }
.hall-end span { position: absolute; top: -20px; left: 50%; width: 50px; transform: translateX(-50%); color: #d7ffd4; font-size: 8px; text-align: center; text-shadow: 0 0 9px #4cff57; }
.scan-line { position: absolute; z-index: 5; left: 0; right: 0; top: 28%; height: 2px; background: rgba(79, 224, 255, .62); box-shadow: 0 0 14px #4fe0ff; animation: scan 5s linear infinite; }
.camera-time { position: absolute; z-index: 6; right: 15px; bottom: 12px; color: rgba(255,255,255,.78); font-family: monospace; font-size: 10px; }
@keyframes scan { 0% { top: 24%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 86%; opacity: 0; } }
.privacy-screen { position: absolute; inset: 0 0 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #dce9f5; background: radial-gradient(circle at center, #263f59, #111e2d 70%); }
.privacy-screen::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(117, 155, 190, .15); border-radius: 12px; }
.privacy-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid #47647f; border-radius: 50%; font-size: 38px; transform: rotate(-18deg); }
.privacy-screen strong { font-size: 18px; }.privacy-screen p { margin: 7px 0 15px; color: #8fa4b8; font-size: 11px; }
.privacy-screen span { padding: 7px 12px; border-radius: 20px; color: #8df0c4; background: rgba(40, 182, 122, .13); font-size: 10px; }
.scene-progress { position: absolute; z-index: 11; bottom: 0; left: 0; right: 0; height: 44px; display: grid; grid-template-columns: 76px 1fr 66px; align-items: center; gap: 10px; padding: 0 15px; color: #becbd8; background: #132236; font-size: 9px; }
.scene-progress div { height: 3px; overflow: hidden; border-radius: 6px; background: #34495f; }.scene-progress i { display: block; height: 100%; border-radius: 6px; background: #3b94ff; transition: width .3s; }.room-mode .scene-progress i { background: #43c98d; }
.scene-progress small { text-align: right; font-size: 9px; }
.insight-card { min-height: 105px; display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: start; margin-top: 13px; padding: 17px; border: 1px solid #dbe5ef; border-radius: 15px; background: white; box-shadow: 0 9px 26px rgba(41, 67, 105, .055); }
.insight-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #2775de; background: #e9f3ff; }.insight-symbol.green { color: #229a69; background: #e8f8f1; }
.insight-copy > span, .confidence span { color: #8997aa; font-size: 9px; }
.insight-copy h3 { margin: 4px 0 6px; font-size: 14px; }.insight-copy p { margin: 0; max-width: 540px; color: #687990; font-size: 10px; line-height: 1.7; }
.confidence { display: grid; gap: 3px; padding-left: 14px; border-left: 1px solid #e1e7ee; text-align: right; }.confidence strong { color: #218d67; font-size: 17px; }
.dashboard-footer { min-height: 58px; display: flex; align-items: center; justify-content: space-between; color: #91a0b1; font-size: 9px; }

/* Shared subpages */
.subpage, .report-page { min-height: 100vh; background: #f5f8fc; }
.subpage-header { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; border-bottom: 1px solid #dee6ef; background: rgba(255,255,255,.9); }
.brand.compact .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }.brand.compact strong { font-size: 14px; }.brand.compact div span { font-size: 8px; }
.back-link { color: #5f7188; font-size: 12px; transition: color .2s; }.back-link:hover { color: var(--blue); }
.page-title-row { display: flex; align-items: center; justify-content: space-between; padding: 43px 6vw 30px; background: linear-gradient(110deg, #153f7d, #2167be); color: white; }
.page-title-row > div:first-child > span, .report-hero-copy > span { color: #98bff1; font-size: 9px; font-weight: 700; letter-spacing: .23em; }
.page-title-row h1 { margin: 7px 0 6px; font-size: 30px; }.page-title-row p { margin: 0; color: #c5d8ef; font-size: 12px; }
.record-summary { min-width: 240px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.1); }
.record-summary strong { grid-row: 1 / 3; font-size: 38px; line-height: 1; }.record-summary span { font-size: 12px; }.record-summary i { color: #99e4c1; font-style: normal; font-size: 9px; }
.filter-panel { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 16px; margin: 24px 6vw 16px; padding: 18px; border: 1px solid #dee6ef; border-radius: 14px; background: white; }
.filter-panel label { display: grid; gap: 7px; }.filter-panel label > span { color: #76869b; font-size: 10px; }
.filter-panel input, .filter-panel select { width: 100%; height: 39px; padding: 0 12px; border: 1px solid #d9e2ec; border-radius: 8px; outline: 0; color: var(--ink); background: #fbfcfe; font-size: 12px; }
.filter-panel input:focus, .filter-panel select:focus { border-color: #6a9fea; box-shadow: 0 0 0 3px rgba(65, 128, 222, .12); }
.filter-panel button { align-self: end; height: 39px; padding: 0 17px; border: 0; border-radius: 8px; color: #52677f; background: #edf2f7; cursor: pointer; font-size: 11px; }
.records-card { margin: 0 6vw; overflow: hidden; border: 1px solid #dfe6ee; border-radius: 14px; background: white; box-shadow: 0 12px 34px rgba(37, 64, 98, .06); }
.table-heading { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; border-bottom: 1px solid #e4eaf1; }
.table-heading h2 { display: inline; margin: 0 10px 0 0; font-size: 15px; }.table-heading span { color: #8b98aa; font-size: 9px; }
.legend { display: flex; align-items: center; gap: 6px; }.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.legend i.attention { margin-left: 10px; background: var(--orange); }
.records-table-wrap { max-height: 580px; overflow: auto; }
.records-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
.records-table th { position: sticky; z-index: 2; top: 0; padding: 13px 12px; color: #75859a; background: #f7f9fc; font-weight: 600; text-align: left; }
.records-table th:nth-child(1) { width: 125px; }.records-table th:nth-child(2) { width: 110px; }.records-table th:nth-child(3) { width: 60px; }.records-table th:nth-child(4), .records-table th:nth-child(5), .records-table th:nth-child(6) { width: 82px; }.records-table th:nth-child(7) { width: 68px; }
.records-table td { padding: 13px 12px; border-top: 1px solid #e7ecf2; vertical-align: middle; }.records-table tbody tr { cursor: pointer; transition: background .15s; }.records-table tbody tr:hover, .records-table tbody tr.expanded { background: #f7fbff; }
.records-table td:first-child { display: grid; gap: 2px; }.records-table td:first-child strong { font-size: 10px; }.records-table td:first-child span { color: #8a98aa; font-size: 9px; }
.person-cell { display: flex; align-items: center; gap: 8px; }.person-cell i { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #2369c6; background: #eaf3ff; font-style: normal; font-size: 10px; }.person-cell strong { font-size: 11px; }
.status-pill { display: inline-block; padding: 4px 8px; border-radius: 20px; color: #16875c; background: #e9f8f1; font-size: 9px; }.status-pill.attention { color: #aa681b; background: #fff2dd; }
.description-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0; border: 0; color: #53657c; background: transparent; cursor: pointer; text-align: left; line-height: 1.65; font-size: 10px; }.description-button i { flex: 0 0 auto; color: #2b76db; font-style: normal; font-size: 9px; }
.empty-state { min-height: 180px; display: grid; place-content: center; gap: 7px; text-align: center; }.empty-state span { color: #8897aa; font-size: 11px; }
.demo-notice { margin: 18px 0 0; padding-bottom: 30px; color: #9aa6b4; text-align: center; font-size: 9px; }

/* Report */
.report-nav { background: #fff; }
.report-hero { min-height: 205px; display: flex; align-items: center; justify-content: space-between; padding: 30px 9vw 56px; color: white; background: radial-gradient(circle at 78% 30%, rgba(114,170,255,.33), transparent 28%), linear-gradient(120deg, #173d78, #256dca); }
.report-hero h1 { margin: 8px 0 7px; font-size: 38px; }.report-hero p { margin: 0; color: #c3d9f4; font-size: 13px; }
.report-success { display: flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.1); }
.report-success > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #176e4d; background: #86e0b9; font-style: normal; font-weight: 800; }.report-success div { display: grid; gap: 3px; }.report-success strong { font-size: 12px; }.report-success span { color: #c7dbf2; font-size: 9px; }
.report-body { width: min(1180px, 90vw); margin: -32px auto 0; position: relative; z-index: 2; }
.report-stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid #dce5ef; border-radius: 15px; background: white; box-shadow: 0 13px 34px rgba(28, 61, 103, .1); }
.report-stats article { position: relative; display: grid; gap: 4px; min-height: 96px; padding: 19px 24px; border-right: 1px solid #e2e8ef; }.report-stats article:last-child { border: 0; }.report-stats span { color: #7d8ba0; font-size: 10px; }.report-stats strong { font-size: 28px; }.report-stats small { margin-left: 5px; color: #74849a; font-size: 9px; }.report-stats article::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; background: #3f84e5; }.report-stats .attention-stat::before { background: var(--orange); }.attention-stat strong { color: #c67725; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 19px; margin-top: 19px; }
.report-main { display: grid; gap: 16px; }
.report-section { overflow: hidden; border: 1px solid #dfe6ee; border-radius: 14px; background: white; box-shadow: 0 8px 28px rgba(41, 65, 96, .05); }
.report-section > header { min-height: 71px; display: flex; align-items: center; gap: 12px; padding: 15px 19px; border-bottom: 1px solid #e8edf2; }.report-section-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #c4454c; background: #ffebed; font-weight: 800; }.report-section header > div:nth-child(2) { display: grid; gap: 2px; }.report-section header span { color: #95a1af; font-size: 8px; }.report-section h2 { margin: 0; font-size: 15px; }.report-section header em { margin-left: auto; padding: 4px 8px; border-radius: 18px; color: #b34e54; background: #fff0f1; font-style: normal; font-size: 8px; }
.report-section-content { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 16px 19px; }.attention-item { display: grid; grid-template-columns: 29px 1fr; gap: 10px; padding: 13px; border: 1px solid #f0dfe1; border-radius: 10px; background: #fffafb; }.attention-item > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #bc5158; background: #fdebed; font-size: 9px; }.attention-item div { display: grid; gap: 4px; }.attention-item strong { font-size: 10px; }.attention-item p { margin: 0; color: #6d7b8c; font-size: 9px; line-height: 1.7; }.attention-item span { color: #a0aab7; font-size: 8px; }
.report-section.amber .report-section-icon { color: #bc741d; background: #fff2dc; }.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; padding: 16px 19px; }.recommendation-grid > div { position: relative; padding: 13px; border-radius: 10px; background: #fffaf0; }.recommendation-grid b { display: block; margin-bottom: 8px; color: #dc9b44; font-size: 9px; }.recommendation-grid strong { font-size: 10px; }.recommendation-grid p { margin: 6px 0 0; color: #758296; font-size: 9px; line-height: 1.7; }
.report-section.blue-note .report-section-icon { color: #2d73d2; background: #eaf3ff; }.blue-note > p { margin: 0; padding: 16px 19px; color: #68788d; font-size: 9px; line-height: 1.8; }
.report-aside { display: grid; align-content: start; gap: 16px; }
.health-score, .vital-range { padding: 20px; border: 1px solid #dce5ef; border-radius: 14px; background: white; box-shadow: 0 8px 28px rgba(41, 65, 96, .05); }.health-score { display: flex; flex-direction: column; align-items: center; }.health-score > span { align-self: stretch; color: #6d7c90; font-size: 10px; font-weight: 600; }.score-ring { width: 112px; height: 112px; display: grid; place-content: center; margin: 17px 0 8px; border: 9px solid #e6eef7; border-top-color: #2e7ce3; border-right-color: #2e7ce3; border-radius: 50%; text-align: center; transform: rotate(12deg); }.score-ring strong, .score-ring small { transform: rotate(-12deg); }.score-ring strong { font-size: 32px; line-height: 1; }.score-ring small { margin-top: 3px; color: #2a996c; font-size: 9px; }.health-score p { margin: 4px 0; font-size: 11px; }.health-score > i { color: #2a9a6b; font-style: normal; font-size: 8px; }
.vital-range h3 { margin: 0 0 16px; font-size: 12px; }.vital-range > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 15px; padding-bottom: 8px; }.vital-range span { color: #7d8b9e; font-size: 8px; }.vital-range strong { font-size: 9px; }.vital-range div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 5px; background: #e8edf3; }.vital-range i { position: absolute; z-index: 1; left: 0; bottom: 0; height: 3px; border-radius: 5px; background: #3a86e8; }
.report-record-link { display: grid; gap: 4px; padding: 16px 19px; border-radius: 13px; color: white; background: linear-gradient(120deg, #225ca9, #2c7ce4); box-shadow: 0 10px 24px rgba(37, 105, 196, .18); }.report-record-link span { color: #c6ddfa; font-size: 8px; }.report-record-link strong { font-size: 11px; }
.report-footer { min-height: 65px; display: flex; align-items: center; justify-content: space-between; width: min(1180px, 90vw); margin: 0 auto; color: #98a3b2; font-size: 8px; }

@media (max-width: 1050px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .overview-column { display: block; }
  .metric-grid { grid-template-rows: repeat(2, minmax(142px, auto)); }
  .monitor-column { grid-row: 1; }
  .monitor-card { min-height: 430px; }
  .report-layout { grid-template-columns: 1fr; }.report-aside { grid-template-columns: repeat(3, 1fr); }.report-record-link { align-self: stretch; align-content: center; }
}

@media (max-width: 760px) {
  .dashboard-shell { padding: 0 18px; }.topbar { height: 64px; }.topbar-meta { font-size: 0; }.topbar-meta .live-dot { display: inline-block; }.topbar-meta::after { content: "运行正常"; font-size: 10px; }.topbar-divider, .topbar-meta > span:last-child { display: none; }
  .hero-row { align-items: flex-start; flex-direction: column; padding: 27px 0; gap: 23px; }.hero-row h1 { margin-top: 10px; }.shift-card { width: 100%; min-width: 0; }
  .dashboard-grid { display: flex; flex-direction: column; gap: 26px; }.monitor-column { order: 0; }.overview-column { order: 1; }.monitor-card { min-height: 360px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }.metric-card { min-height: 132px; }.metric-value strong { font-size: 36px; }.confidence { display: none; }.insight-card { grid-template-columns: 38px 1fr; }
  .dashboard-footer { flex-direction: column; justify-content: center; gap: 5px; }
  .subpage-header { padding: 0 18px; }.page-title-row { align-items: flex-start; flex-direction: column; padding: 30px 22px; gap: 23px; }.record-summary { width: 100%; }
  .filter-panel { grid-template-columns: 1fr 1fr; margin: 16px 14px; }.filter-panel label:first-child { grid-column: 1 / -1; }.records-card { margin: 0 14px; }.table-heading { align-items: flex-start; gap: 12px; }.legend { display: none; }
  .records-table-wrap { max-height: none; overflow-x: auto; }.records-table { min-width: 940px; }.records-table th { position: static; }
  .report-hero { align-items: flex-start; flex-direction: column; gap: 28px; padding: 32px 22px 58px; }.report-hero h1 { font-size: 32px; }.report-success { width: 100%; }
  .report-body { width: calc(100vw - 28px); }.report-stats { grid-template-columns: repeat(2, 1fr); }.report-stats article:nth-child(2) { border-right: 0; }.report-stats article:nth-child(-n+2) { border-bottom: 1px solid #e2e8ef; }
  .report-section-content, .recommendation-grid { grid-template-columns: 1fr; }.report-aside { grid-template-columns: 1fr; }.report-footer { width: calc(100vw - 28px); flex-direction: column; justify-content: center; gap: 5px; }
}

@media (max-width: 430px) {
  .brand div span { display: none; }.brand-mark { width: 36px; height: 36px; }.metric-grid { gap: 9px; }.metric-card { padding: 14px; }.mileage-card { gap: 13px; }.mileage-card p { display: none; }.monitor-card { min-height: 315px; }.privacy-screen strong { font-size: 16px; }.privacy-screen p { max-width: 220px; text-align: center; line-height: 1.6; }
  .filter-panel { grid-template-columns: 1fr; }.filter-panel label:first-child { grid-column: auto; }
}

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