:root {
  --ink-950: #122536;
  --ink-900: #1b3348;
  --ink-800: #2a4a62;
  --ink-700: #476379;
  --ink-600: #657f92;
  --ink-500: #8799a8;
  --ink-400: #a9b8c3;
  --ink-300: #d2dce3;
  --ink-200: #e3e9ee;
  --ink-100: #eef2f5;
  --canvas: #f4f7f8;
  --white: #ffffff;
  --teal-800: #05685f;
  --teal-700: #087f75;
  --teal-600: #0a988b;
  --teal-500: #25b0a0;
  --teal-100: #e2f4f1;
  --teal-50: #f1fbf9;
  --green: #188c65;
  --green-100: #e6f6ef;
  --amber: #b97820;
  --amber-100: #fff4df;
  --red: #c84e57;
  --red-100: #ffebed;
  --blue: #2e73a5;
  --blue-100: #e9f2fa;
  --shadow-xs: 0 1px 2px rgba(18, 37, 54, .04);
  --shadow-sm: 0 4px 18px rgba(18, 37, 54, .055);
  --shadow-md: 0 12px 32px rgba(18, 37, 54, .11);
  --radius-lg: 16px;
  --radius-md: 11px;
  --radius-sm: 8px;
  --sidebar-width: 248px;
  --topbar-height: 68px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink-950); background: var(--canvas); font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif; font-size: 13px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app { display: flex; min-height: 100vh; background: var(--canvas); }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; overflow: hidden; color: #d8e7eb; background: #122e32; box-shadow: 8px 0 28px rgba(20, 49, 53, .11); }
.brand { min-height: 82px; display: flex; align-items: center; gap: 11px; padding: 19px 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-mark { width: 36px; height: 36px; display: flex; flex: 0 0 auto; align-items: end; justify-content: center; gap: 3px; padding-bottom: 8px; border-radius: 10px; color: #fff; background: linear-gradient(145deg,#36c4ae,#07776d); box-shadow: 0 8px 18px rgba(1, 181, 153, .18); }
.brand-mark span { width: 4px; border-radius: 4px 4px 1px 1px; background: #fff; transform: skew(-12deg); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .75; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 13px; opacity: .85; }
.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { color: #f5ffff; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.brand-copy small { margin-top: 2px; color: #8eb5b5; font-size: 10px; letter-spacing: .1em; }
.nav-caption { padding: 16px 21px 0; color: #76999c; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.nav-caption span { float: right; color: #36bea5; font-size: 8px; }
.nav-scroll { flex: 1; overflow-y: auto; padding: 14px 11px 20px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.sidebar-search { position: relative; display: flex; align-items: center; margin: 12px 14px 2px; }
.sidebar-search svg { position: absolute; left: 10px; width: 14px; height: 14px; color: #719193; }
.sidebar-search > span { position: absolute; left: 10px; color: #719193; font-size: 15px; line-height: 1; pointer-events: none; }
.sidebar-search > span + input { padding-left: 30px; }
.sidebar-search kbd { position: absolute; right: 8px; padding: 1px 4px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; color: #88a5a7; background: rgba(255,255,255,.06); font-family: inherit; font-size: 9px; }
.sidebar-search input { width: 100%; height: 32px; padding: 0 9px 0 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; outline: 0; color: #e1f0f0; background: rgba(255,255,255,.06); font-size: 11px; }
.sidebar-search input::placeholder { color: #719193; }
.sidebar-search input:focus { border-color: rgba(70,210,184,.62); box-shadow: 0 0 0 3px rgba(43,180,157,.12); }
.nav-group + .nav-group { margin-top: 19px; }
.nav-group-label { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 7px; color: #719193; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.nav-group-toggle { border: 0; color: #719193; background: transparent; font-size: 11px; }
.nav-item { position: relative; width: 100%; min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 0; border-radius: 8px; color: #abc4c7; background: transparent; text-align: left; transition: .16s ease; }
.nav-item:hover { color: #f7ffff; background: rgba(255,255,255,.07); }
.nav-item.active { color: #fff; background: rgba(45, 187, 164, .17); }
.nav-item.active::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 3px; border-radius: 4px; background: #35c3aa; }
.nav-item svg { width: 16px; height: 16px; flex: 0 0 auto; color: #90adb0; }
.nav-item.active svg { color: #58d3b9; }
.nav-item > span:not(.nav-active-mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-active-mark { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #5cd4be; }
.nav-empty { margin: 22px 12px; color: #719193; font-size: 11px; text-align: center; }
.sidebar-foot { display: flex; align-items: center; gap: 9px; padding: 14px 18px 16px; border-top: 1px solid rgba(255,255,255,.09); color: #89a7a9; font-size: 10px; }
.sidebar-foot strong { display: block; margin-bottom: 2px; color: #d9eded; font-size: 11px; font-weight: 600; }
.sidebar-foot small { font-size: 10px; }
.sidebar-foot-icon { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; color: #6bdcc5; background: rgba(52,195,172,.14); font-size: 17px; }

.workspace { width: calc(100% - var(--sidebar-width)); min-width: 0; margin-left: var(--sidebar-width); }
.topbar { position: sticky; z-index: 12; top: 0; height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 32px; border-bottom: 1px solid var(--ink-200); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-500); font-size: 12px; white-space: nowrap; }
.breadcrumbs strong { overflow: hidden; color: var(--ink-800); font-weight: 650; text-overflow: ellipsis; }
.crumb-sep { color: var(--ink-300); }
.top-actions { display: flex; align-items: center; gap: 11px; color: var(--ink-600); }
.header-alert { position: relative; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--ink-200); border-radius: 8px; color: var(--ink-600); background: #fff; }
.header-alert:hover { color: var(--teal-700); border-color: #b8dcd7; background: var(--teal-50); }
.header-alert .alert-count { position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px; display: grid; place-items: center; padding: 0 3px; border: 2px solid #fff; border-radius: 99px; color: #fff; background: var(--red); font-size: 8px; line-height: 1; }
.user-block { display: flex; align-items: center; gap: 8px; color: var(--ink-600); font-size: 11px; }
.user-block > span { display: inline-flex; align-items: center; }
.user-block .user-copy strong, .user-block .user-copy small { display: block; }
.user-block .user-copy strong { color: var(--ink-800); font-size: 11px; font-weight: 650; }
.user-block .user-copy small { margin-top: 1px; color: var(--ink-500); font-size: 9px; }
.demo-tag { padding: 5px 9px; border: 1px solid #bde6df; border-radius: 99px; color: var(--teal-800); background: var(--teal-100); font-size: 10px; font-weight: 700; white-space: nowrap; }
.demo-tag i, .live-indicator i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.header-divider { width: 1px; height: 20px; background: var(--ink-200); }
.top-icon { color: var(--ink-500); font-size: 17px; }
.top-date, .user-name { color: var(--ink-600); font-size: 11px; white-space: nowrap; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#eba45d,#c67435); font-size: 11px; font-weight: 750; }

.main { max-width: 1800px; margin: 0 auto; padding: 28px 32px 54px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.eyebrow { margin-bottom: 7px; color: var(--teal-700); font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 16px; height: 2px; margin-right: 7px; vertical-align: middle; background: var(--teal-600); }
.eyebrow-sep { padding: 0 5px; color: var(--ink-400); }
.title-row { display: flex; align-items: baseline; gap: 7px; }
.page-title { margin: 0; color: var(--ink-950); font-size: clamp(24px,2.2vw,31px); font-weight: 760; letter-spacing: -.04em; line-height: 1.2; }
.title-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }
.page-description { max-width: 770px; margin: 8px 0 0; color: var(--ink-600); font-size: 12px; }
.heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.live-indicator { color: var(--ink-600); font-size: 10px; white-space: nowrap; }
.period-wrap { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-500); font-size: 11px; }
.period-select, .filter-select { min-height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); outline: 0; color: var(--ink-800); background: #fff; font-size: 11px; }
.period-select:focus, .filter-select:focus, input:focus, textarea:focus { border-color: #81cfc4; box-shadow: 0 0 0 3px rgba(10,152,139,.1); }

.global-project { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; padding: 11px 14px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); }
.global-project .project-label { color: var(--ink-500); font-size: 10px; }
.global-project strong { margin-left: 7px; color: var(--ink-900); font-size: 12px; }
.global-project .project-status { color: var(--green); font-size: 10px; }
.view-tabs { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--ink-200); border-radius: 9px; background: #f7f9fa; }
.view-tab { min-height: 29px; padding: 0 11px; border: 0; border-radius: 6px; color: var(--ink-600); background: transparent; font-size: 11px; }
.view-tab:hover { color: var(--ink-800); background: #fff; }
.view-tab.active { color: var(--teal-800); background: #fff; box-shadow: var(--shadow-xs); font-weight: 650; }
.filter-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 11px; margin-bottom: 17px; padding: 14px 15px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); }
.filter-field { min-width: 142px; display: flex; flex-direction: column; gap: 5px; }
.filter-field > span { color: var(--ink-500); font-size: 10px; }
.filter-field input, .filter-field select, .filter-field textarea { width: 100%; min-height: 34px; padding: 0 10px; border: 1px solid var(--ink-200); border-radius: 7px; outline: 0; color: var(--ink-800); background: #fff; font-size: 11px; }
.filters-reset { margin-left: auto; min-height: 34px; padding: 0 10px; border: 0; color: var(--ink-600); background: transparent; font-size: 11px; }
.filters-reset:hover { color: var(--teal-700); }

.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.metric-card { position: relative; min-height: 123px; overflow: hidden; padding: 17px 18px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); }
.metric-card::after { content: ""; position: absolute; right: -42px; bottom: -51px; width: 120px; height: 120px; border-radius: 50%; background: var(--teal-100); opacity: .77; }
.metric-card:nth-child(2)::after { background: var(--blue-100); }
.metric-card:nth-child(3)::after { background: var(--amber-100); }
.metric-card:nth-child(4)::after { background: var(--green-100); }
.metric-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.metric-label { color: var(--ink-600); font-size: 11px; font-weight: 550; }
.metric-symbol { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--teal-700); background: var(--teal-100); font-size: 14px; }
.metric-symbol-1 { color: var(--blue); background: var(--blue-100); }
.metric-symbol-2 { color: var(--amber); background: var(--amber-100); }
.metric-symbol-3 { color: var(--green); background: var(--green-100); }
.metric-number { position: relative; z-index: 1; margin-top: 10px; }
.metric-value { color: var(--ink-950); font-size: 26px; font-weight: 760; letter-spacing: -.05em; line-height: 1; }
.metric-unit { margin-left: 4px; color: var(--ink-500); font-size: 10px; }
.metric-note { position: relative; z-index: 1; margin-top: 9px; color: var(--ink-500); font-size: 10px; }
.metric-note .up { color: var(--green); }
.metric-note .down { color: var(--red); }

.notice-bar { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; padding: 9px 12px; border: 1px solid #f3dfb8; border-radius: var(--radius-sm); color: #8a651d; background: #fff9ed; font-size: 11px; }
.notice-bar strong { color: #7b5510; }
.notice-bar .notice-icon { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #9f6b17; background: #fdebbf; font-size: 11px; }
.section-divider { height: 1px; margin: 24px 0 17px; background: var(--ink-200); }

.dashboard-grid, .workbench-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(290px,.65fr); gap: 16px; margin-bottom: 17px; }
.workbench-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.dashboard-secondary { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.85fr); gap: 16px; }
.panel { min-width: 0; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-xs); }
.panel-header { min-height: 62px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 18px 11px; }
.panel-kicker { color: #8ba0ad; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.panel-title { margin: 3px 0 0; color: var(--ink-900); font-size: 14px; font-weight: 720; letter-spacing: -.01em; }
.panel-subtitle { margin: 3px 0 0; color: var(--ink-500); font-size: 10px; }
.panel-more { color: var(--ink-400); font-size: 18px; line-height: 1; }
.chart-panel { min-height: 300px; padding-bottom: 11px; }
.chart-legend { display: flex; align-items: center; gap: 12px; color: var(--ink-500); font-size: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-controls { display: flex; align-items: center; gap: 9px; }
.chart-key { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-600); font-size: 10px; white-space: nowrap; }
.chart-key i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--teal-600); }
.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--teal-600); }
.legend-dot.amber { background: #e9ae57; }
.legend-dot.light-teal { background: #69b8c4; }
.legend-dot.gray { background: #cddae2; }
.chart-area { min-height: 210px; display: flex; gap: 9px; padding: 15px 18px 4px; }
.chart-axis { width: 29px; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0 20px; color: #9aaab5; font-size: 9px; text-align: right; }
.bars { position: relative; min-width: 0; flex: 1; display: grid; grid-template-columns: repeat(7,minmax(20px,1fr)); align-items: end; gap: 10px; padding: 0 5px 0; border-bottom: 1px solid var(--ink-200); }
.chart-lines { position: absolute; inset: 0 0 20px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-lines i { border-top: 1px dashed #e8edf0; }
.bar-group { z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.bar-pair { width: 100%; height: calc(100% - 19px); display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.bar { width: 12px; min-height: 5px; border-radius: 4px 4px 2px 2px; background: var(--teal-600); transition: height .2s ease, opacity .2s ease; }
.bar:hover { opacity: .75; }
.secondary-bar { background: #eab367; }
.bar-group > span { color: #98a6b0; font-size: 9px; white-space: nowrap; }
.chart-caption { display: flex; align-items: center; gap: 8px; margin: 9px 18px 1px; padding: 9px 10px; border-radius: 7px; color: var(--ink-500); background: var(--teal-50); font-size: 9px; }
.chart-caption strong { color: #5b7c78; font-weight: 550; }
.chart-caption-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--teal-500); }
.mix-panel { min-height: 300px; padding-bottom: 14px; }
.donut-wrap { display: flex; align-items: center; justify-content: center; padding: 17px 18px 14px; }
.donut { position: relative; width: 140px; height: 140px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal-600) 0 48%,#68b8c3 48% 75%,#e9ae57 75% 90%,#d4e1e7 90%); }
.donut::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #fff; }
.donut-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.donut-center span, .donut-center em { color: var(--ink-500); font-size: 9px; font-style: normal; }
.donut-center strong { margin: 5px 0; color: var(--ink-900); font-size: 25px; }
.donut-center strong small { color: var(--ink-500); font-size: 9px; font-weight: 550; }
.legend-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; padding: 7px 20px; }
.legend-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-600); font-size: 10px; }
.legend-item span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-item strong { color: var(--ink-900); font-weight: 700; }

.summary-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-bottom: 17px; overflow: hidden; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: var(--ink-200); }
.summary-item { min-width: 0; padding: 13px 16px; background: #fff; }
.summary-item span, .summary-item small { display: block; color: var(--ink-500); font-size: 10px; }
.summary-item strong { display: block; margin: 4px 0 2px; color: var(--ink-900); font-size: 18px; letter-spacing: -.03em; }
.shortcut-section { margin: 21px 0 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 0 0 10px; }
.section-heading h2 { margin: 0; color: var(--ink-900); font-size: 14px; font-weight: 720; }
.section-heading p { margin: 3px 0 0; color: var(--ink-500); font-size: 10px; }
.task-card { width: 100%; min-height: 86px; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); color: inherit; background: #fff; box-shadow: var(--shadow-xs); text-align: left; }
.task-card:hover { border-color: #b7ded8; background: var(--teal-50); transform: translateY(-1px); }
.task-icon { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; color: var(--teal-700); background: var(--teal-100); }
.task-icon-1 { color: var(--blue); background: var(--blue-100); }
.task-icon-2 { color: var(--amber); background: var(--amber-100); }
.task-icon-3 { color: var(--green); background: var(--green-100); }
.task-icon svg { width: 15px; height: 15px; }
.task-copy { min-width: 0; flex: 1; }
.task-copy strong, .task-copy small { display: block; }
.task-copy strong { overflow: hidden; color: var(--ink-900); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.task-copy small { margin-top: 3px; color: var(--ink-500); font-size: 9px; }
.task-card > svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--ink-400); }

.table-panel { overflow: hidden; }
.table-heading { align-items: center; min-height: 72px; padding-top: 18px; }
.table-count { color: var(--ink-500); font-size: 10px; white-space: nowrap; }
.table-toolbar { display: flex; align-items: center; gap: 9px; padding: 11px 18px; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); background: #fbfcfc; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box > span { position: absolute; left: 9px; top: 1px; color: var(--ink-400); font-size: 19px; line-height: 1.25; }
.search-box input { width: 225px; height: 33px; padding: 0 10px 0 29px; border: 1px solid var(--ink-200); border-radius: 7px; outline: 0; color: var(--ink-800); background: #fff; font-size: 11px; }
.toolbar-hint { margin-left: auto; color: var(--ink-400); font-size: 9px; white-space: nowrap; }
.table-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.table-scroll, .data-table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; min-width: 700px; border-collapse: collapse; }
.data-table th { height: 40px; padding: 0 18px; border-bottom: 1px solid var(--ink-100); color: var(--ink-500); background: #fbfcfc; font-size: 10px; font-weight: 650; text-align: left; white-space: nowrap; }
.data-table td { min-height: 51px; padding: 10px 18px; border-bottom: 1px solid #edf1f3; color: var(--ink-700); font-size: 11px; white-space: nowrap; }
.data-table tbody tr:hover { background: #f5fbfa; }
.data-table td:first-child { color: var(--ink-950); font-weight: 650; }
.cell-primary { color: var(--ink-950); }
.table-empty { height: 125px; padding: 35px !important; color: var(--ink-500) !important; text-align: center; }
.table-footer { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; color: var(--ink-500); font-size: 10px; }
.pager { display: flex; align-items: center; gap: 4px; }
.pager > * { min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 6px; }
.pager strong { color: var(--teal-800); border: 1px solid #b9e2da; background: var(--teal-100); }
.pagination-label { color: var(--ink-500); font-size: 10px; }
.updated-label { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-500); font-size: 10px; white-space: nowrap; }
.updated-label i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--green); }
.metric-link { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.metric-link:hover { border-color: #afd9d2; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.report-chart { margin-top: 17px; }
.mini-bar { width: 70px; height: 5px; display: inline-block; overflow: hidden; border-radius: 99px; background: var(--ink-100); vertical-align: middle; }
.mini-bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal-600); }

.status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 99px; font-size: 9px; font-weight: 650; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.success { color: var(--green); background: var(--green-100); }
.status.warning { color: var(--amber); background: var(--amber-100); }
.status.danger { color: var(--red); background: var(--red-100); }
.status.info { color: var(--blue); background: var(--blue-100); }

.primary-button, .secondary-button, .text-button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; font-size: 11px; transition: .16s ease; }
.primary-button { padding: 0 13px; border: 1px solid var(--teal-700); color: #fff; background: var(--teal-700); box-shadow: 0 4px 10px rgba(8,127,117,.17); }
.primary-button:hover { background: var(--teal-800); }
.secondary-button { padding: 0 12px; border: 1px solid var(--ink-200); color: var(--ink-700); background: #fff; }
.secondary-button:hover { border-color: #a8d4ce; color: var(--teal-700); background: var(--teal-50); }
.text-button { min-height: auto; padding: 2px 4px; border: 0; color: var(--teal-700); background: transparent; }
.text-button:hover { color: var(--teal-800); text-decoration: underline; }

.task-card { min-height: 116px; padding: 14px 15px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); }
.task-card .task-title { color: var(--ink-900); font-size: 12px; font-weight: 700; }
.task-card .task-meta { margin-top: 6px; color: var(--ink-500); font-size: 10px; }
.task-card .task-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.flow-entry { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ink-100); }
.flow-entry:last-child { border-bottom: 0; }
.flow-entry::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-100); }
.flow-entry.warning::before { background: #e6aa56; box-shadow: 0 0 0 4px var(--amber-100); }
.flow-entry.danger::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.flow-entry .flow-copy { min-width: 0; flex: 1; }
.flow-entry strong, .flow-entry small { display: block; }
.flow-entry strong { overflow: hidden; color: var(--ink-800); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.flow-entry small { margin-top: 2px; color: var(--ink-500); font-size: 9px; }
.flow-entry time { color: var(--ink-500); font-size: 9px; white-space: nowrap; }
.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: 330px; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid #bfe2dc; border-radius: 9px; color: var(--teal-800); background: #f1fbf9; box-shadow: var(--shadow-md); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast[hidden], .modal-overlay[hidden] { display: none; }
.modal-overlay { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(14, 33, 46, .3); }
.modal-card { width: min(560px,100%); max-height: min(760px,calc(100vh - 40px)); overflow: auto; padding: 21px; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.modal-card .modal-title { margin: 0; color: var(--ink-950); font-size: 18px; font-weight: 750; }
.modal-card .modal-subtitle { margin: 5px 0 17px; color: var(--ink-500); font-size: 11px; }
.modal-card .modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

.page-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 0 32px 22px; color: var(--ink-400); font-size: 9px; }
.notice-bar p { margin: 0; }
.empty-view { min-height: 180px; display: table-cell; padding: 40px !important; color: var(--ink-500); text-align: center; }

@media (max-width: 1220px) {
  :root { --sidebar-width: 224px; }
  .topbar, .main { padding-left: 24px; padding-right: 24px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .workbench-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  :root { --sidebar-width: 0px; }
  .app { display: block; }
  .sidebar { position: static; width: 100%; height: auto; overflow: visible; box-shadow: none; }
  .brand { min-height: 61px; padding: 12px 18px; }
  .nav-caption, .sidebar-foot { display: none; }
  .nav-scroll { display: flex; overflow-x: auto; overflow-y: hidden; padding: 3px 10px 8px; }
  .nav-group, .nav-group + .nav-group { display: flex; flex: 0 0 auto; margin: 0; }
  .nav-group-label, .nav-group-toggle { display: none; }
  .nav-item { width: auto; min-height: 35px; padding: 8px 10px; gap: 6px; }
  .nav-item > span:not(.nav-active-mark) { display: inline; }
  .nav-item svg { width: 14px; height: 14px; }
  .nav-item.active::before { top: auto; right: 9px; bottom: 0; left: 9px; width: auto; height: 2px; }
  .workspace { width: 100%; margin: 0; }
  .topbar { height: 60px; padding: 0 17px; }
  .breadcrumbs span:not(.crumb-sep), .top-date, .top-icon, .header-divider, .user-name { display: none; }
  .top-actions { gap: 7px; }
  .main { padding: 22px 17px 42px; }
  .page-heading { display: block; }
  .heading-actions { justify-content: flex-start; margin-top: 14px; }
  .global-project { align-items: flex-start; flex-direction: column; }
  .view-tabs { width: 100%; overflow-x: auto; }
  .view-tab { flex: 0 0 auto; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-field { min-width: 0; }
  .filters-reset { margin-left: 0; align-self: flex-start; }
  .dashboard-secondary, .workbench-grid { grid-template-columns: 1fr; }
  .summary-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .table-toolbar { align-items: stretch; flex-wrap: wrap; }
  .search-box { flex: 1 1 180px; }
  .search-box input { width: 100%; }
  .toolbar-hint { width: 100%; margin-left: 0; }
  .page-foot { padding: 0 17px 18px; }
}
@media (max-width: 460px) {
  .metric-grid { gap: 9px; }
  .metric-card { min-height: 111px; padding: 13px; }
  .metric-value { font-size: 22px; }
  .metric-label { font-size: 10px; }
  .chart-legend { display: none; }
  .donut { width: 124px; height: 124px; }
  .donut::after { width: 81px; height: 81px; }
}

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

/* 与当前工作台结构保持一致 */
.brand-mark i { width: 4px; border-radius: 4px 4px 1px 1px; background: #fff; transform: skew(-12deg); }
.brand-mark i:nth-child(1) { height: 10px; opacity: .75; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 13px; opacity: .85; }
.user-block > span:not(.avatar) { display: flex; flex-direction: column; align-items: flex-start; }
.user-block > span:not(.avatar) strong { color: var(--ink-800); font-size: 11px; }
.user-block > span:not(.avatar) small { color: var(--ink-500); font-size: 9px; }
.user-block > .avatar { display: grid; flex-shrink: 0; }
.view-tabs { margin-bottom: 17px; overflow-x: auto; }
.view-tab { flex: 0 0 auto; white-space: nowrap; }
.chart-area { height: 230px; }
.mix-panel .donut-wrap { flex-direction: column; gap: 8px; }
.mix-panel .legend-list { width: 100%; }
.legend-item i { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.search-box svg { position: absolute; left: 9px; width: 14px; height: 14px; color: var(--ink-500); pointer-events: none; }
.filter-field .search-box input { padding-left: 29px; }
.report-chart { margin-top: 18px; }

/* 港华官网品牌元素：官方字标、港华蓝与绿色能源点缀 */
:root {
  --teal-800: #003b74;
  --teal-700: #00558e;
  --teal-600: #0077b9;
  --teal-500: #00adec;
  --teal-100: #e4f2fa;
  --teal-50: #f2f9fd;
  --green: #529e63;
  --green-100: #e9f5eb;
}
.sidebar { background: linear-gradient(180deg, #002b56 0%, #002148 100%); box-shadow: 8px 0 28px rgba(0, 34, 75, .14); }
.brand { min-height: 130px; display: flex; align-items: flex-start; flex-direction: column; gap: 9px; padding: 16px 19px 14px; }
.brand-logo { display: block; width: 152px; height: 45px; object-fit: contain; object-position: left center; background: #fff; padding: 4px 7px; border-radius: 5px; }
.brand-copy strong { color: #fff; font-size: 13px; letter-spacing: .04em; }
.brand-copy small { color: #8cbada; font-size: 9px; letter-spacing: .08em; }
.nav-item { color: #b0c9dd; }
.nav-item:hover { background: rgba(255,255,255,.08); }
.nav-item.active { background: rgba(0,173,236,.19); }
.nav-item.active::before { background: #52c7f1; }
.nav-item.active svg, .nav-active-mark { color: #69d4f5; }
.nav-active-mark { background: #69d4f5; }
.nav-group-label, .nav-empty { color: #86abc9; }
.sidebar-search input { color: #eff9ff; border-color: rgba(197,226,246,.18); background: rgba(255,255,255,.07); }
.sidebar-search input::placeholder, .sidebar-search > span { color: #95b7cf; }
.sidebar-foot { color: #a3bfd2; }
.sidebar-foot strong { color: #e7f6ff; }
.sidebar-foot-dot { display: block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #77c07d; box-shadow: 0 0 0 4px rgba(119,192,125,.13); }
.brand-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 112px; overflow: hidden; margin: 0 0 17px; padding: 20px 25px; border-radius: 11px; color: #fff; background: linear-gradient(110deg, #003866 0%, #00649e 66%, #168cae 100%); }
.brand-banner::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 5px; background: #8cc65b; }
.brand-banner > div:not(.brand-banner-orbit) { position: relative; z-index: 1; }
.brand-banner-label { color: #9ddcf7; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.brand-banner h2 { margin: 5px 0 3px; color: #fff; font-size: 20px; font-weight: 650; letter-spacing: .05em; }
.brand-banner p { margin: 0; color: #cbe4f2; font-size: 11px; }
.brand-banner-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.brand-banner-tags span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.27); border-radius: 20px; background: rgba(255,255,255,.08); color: #e6f5fb; font-size: 10px; white-space: nowrap; }
.brand-banner-orbit { position: absolute; right: 10%; top: -100px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.02); }
.bar, .chart-key i { background: #0077b9; }
.primary-button { background: #005c98; border-color: #005c98; }
.primary-button:hover { background: #004779; }
@media (max-width: 780px) {
  .brand { min-height: 72px; align-items: center; flex-direction: row; gap: 12px; padding: 10px 14px; }
  .brand-logo { width: 125px; height: 38px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 8px; }
  .brand-banner { min-height: 105px; padding: 16px; }
  .brand-banner-tags { display: none; }
  .brand-banner h2 { font-size: 17px; }
}
