:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --paper: #fff;
  --ink: #172033;
  --muted: #596579;
  --soft: #747e90;
  --line: #e8ebf1;
  --nav: #fff;
  --accent: #5266bf;
  --accent-dark: #3d4d9f;
  --accent-light: #edf0fc;
  --green: #306452;
  --green-light: #eaf4ef;
  --red: #a3444e;
  --red-light: #fbefef;
  --blue: #425b7b;
  --blue-light: #edf3f9;
  --shadow: 0 1px 2px #17203304;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #6573bf; outline-offset: 3px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 30; padding: 9px 13px; background: var(--paper); color: var(--accent-dark); border: 1px solid var(--line); border-radius: 6px; }
.skip-link:not(:focus) { clip-path: inset(50%); pointer-events: none; }
#main:focus { outline: none; }
.icon { width: 19px; height: 19px; display: inline-grid; place-items: center; color: inherit; flex: 0 0 auto; vertical-align: middle; }
.icon canvas { width: 100%; height: 100%; display: block; }
.shell { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--nav); border-right: 1px solid var(--line); color: var(--muted); display: flex; flex-direction: column; padding: 25px 13px 16px; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 8px 36px; min-width: 0; }
.brand-name {
  display: block; flex: 0 0 auto; color: var(--ink); font: 700 36px/1.12 "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  letter-spacing: .1em; white-space: nowrap;
}
.brand-mark { display: block; width: 36px; height: 36px; flex: none; }
.module-logo { display: block; width: 103px; height: auto; flex: none; opacity: .75; }
.nav { display: grid; gap: 5px; }
.nav button { display: flex; align-items: center; gap: 11px; border: 1px solid transparent; background: none; color: inherit; padding: 0 12px; height: 42px; text-align: left; border-radius: 7px; position: relative; white-space: nowrap; }
.nav button:hover { color: var(--ink); background: #f5f6fa; }
.nav button.active { color: #39499b; background: #eef1fc; font-weight: 680; }
.nav button .arrow { margin-left: auto; }
.nav button .arrow .icon { width: 13px; height: 13px; }
.sidebar-bottom { margin-top: auto; padding: 16px 10px 1px; border-top: 1px solid var(--line); color: var(--muted); }
.sidebar-bottom strong { color: #344057; font-weight: 670; font-size: 11px; }
.sidebar-bottom p { padding: 5px 0 1px 14px; font-size: 10px; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: #6476c6; vertical-align: middle; }
.sidebar-bottom .dot { margin-right: 8px; }
.workspace { min-width: 0; }
.topbar { min-height: 62px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 3; }
.topbar-context { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-title { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); font-size: 17px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.mobile-workspace { display: none; align-items: center; gap: 8px; min-width: 0; }
.mobile-workspace .brand { gap: 7px; margin: 0; }
.mobile-workspace .brand-name { font-size: 26px; }
.mobile-workspace .brand-mark { width: 28px; height: 28px; }
.top-actions { display: flex; gap: 13px; align-items: center; margin-inline-start: auto; }
.search-btn, .profile { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--ink); padding: 0; height: 35px; white-space: nowrap; }
.search-btn { color: var(--muted); gap: 7px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; }
.search-btn:hover,.profile:hover { color: var(--accent-dark); }
.search-btn .icon { width: 15px; height: 15px; }
kbd { border: 1px solid #e9ebf0; border-radius: 4px; color: #6c7689; background: #f5f6fa; padding: 2px 4px; font-size: 10px; font-family: inherit; }
.top-divider { width: 1px; height: 21px; background: var(--line); }
.avatar { border-radius: 50%; display: inline-grid; place-items: center; width: 29px; height: 29px; font-size: 11px; background: #ecf0fe; color: #42529e; font-weight: 720; flex-shrink: 0; }
.profile strong { font-size: 12px; }
.profile .icon { width: 13px; height: 13px; color: #747e90; }
.profile-wrap { position: relative; }
.profile-menu { position: absolute; right: 0; top: 43px; width: 238px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 15px 36px #17203317; }
.profile-menu button { min-height: 47px; width: 100%; border: 0; border-radius: 6px; background: transparent; display: flex; gap: 10px; align-items: center; text-align: left; padding: 7px; }
.profile-menu button:hover,.profile-menu button.selected { background: #f0f2fb; }
.profile-menu small { display: block; color: var(--muted); margin-top: 3px; }
.mobile-nav { display: none !important; }
main { max-width: 1560px; padding: 31px 32px 34px; margin: 0 auto; }
.dash-intro { display: flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 135px; padding: 2px 0 19px; border-bottom: 1px solid var(--line); }
.dash-intro h1 { color: var(--ink); font-size: clamp(30px,3vw,44px); font-weight: 740; line-height: 1.14; letter-spacing: -.045em; margin: 9px 0 10px; }
.dash-intro p { color: var(--muted); font-size: 13px; }
.dash-date { display: flex; align-items: center; gap: 6px; color: #53627d; font-size: 11px; font-weight: 600; white-space: nowrap; }
.dash-date .icon { width: 14px; height: 14px; color: #6a79b6; }
.focus-metric { display: grid; gap: 8px; min-width: 227px; width: 25%; max-width: 310px; padding: 12px 14px 13px; text-align: left; border-radius: 10px; border: 1px solid #e3e8fa; background: linear-gradient(120deg,#f1f4ff,#f7f8ff 75%); color: #27366d; }
.focus-metric:hover { border-color: #bdc9f0; background: linear-gradient(120deg,#eaf0ff,#f5f7ff 75%); }
.focus-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 680; }
.focus-head .icon { width: 15px; height: 15px; color: #6a78b2; }
.focus-values { display: flex; gap: 10px; align-items: flex-end; }
.focus-values strong { font: 680 27px/.93 "Inter","Arial",sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.focus-values span { font-size: 9px; line-height: 1.2; color: #596787; }
.focus-track { display: block; position: relative; height: 4px; margin-top: 2px; border-radius: 5px; background: #dae3fa; }
.focus-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#aebcf0,#526ac3); }
.focus-track b { position: absolute; top: -2px; height: 8px; width: 1px; background: #415385; }
.dashboard-filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.dashboard-filters .group { gap: 2px; border-radius: 8px; border: 1px solid #e4e8f0; background: #edf0f5; padding: 2px; }
.dashboard-filters .group .filter-button { min-height: 26px; padding: 4px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #5e6a7d; }
.dashboard-filters .group .filter-button.active { background: #fff; color: #273471; border-color: #e9ecf3; box-shadow: 0 1px 2px #1422460a; }
.section-note { color: var(--muted); font-size: 13px; line-height: 1.65; }
.tool-strip { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin: 17px 0 12px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.filter-button, .button { border: 1px solid var(--line); background: var(--paper); border-radius: 7px; padding: 7px 10px; display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-height: 33px; white-space: nowrap; font-size: 12px; line-height: 1.25; text-decoration: none; }
.button:hover,.filter-button:hover { border-color: #b9c1e7; color: var(--accent-dark); }
.filter-button.active { color: #384994; border-color: #dbe0f7; background: var(--accent-light); font-weight: 650; }
.button.primary { background: #3346a0; border-color: #3346a0; color: #fff; }
.button.primary:hover { background: #283b8a; }
.button .icon,.filter-button .icon { width: 15px; height: 15px; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 15px; }
.metric { min-height: 103px; display: flex; flex-direction: column; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); padding: 14px 15px 13px; text-align: left; box-shadow: var(--shadow); position: relative; min-width: 0; }
.metric:hover { border-color: #bfc8ee; }
.metric-title { color: #515e73; font-size: 12px; font-weight: 650; padding-right: 44px; }
.metric strong { font-family: "Inter","Arial",sans-serif; font-size: 33px; line-height: 1; font-weight: 660; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.metric-foot { margin-top: 7px; color: var(--muted); font-size: 11px; }
.metric-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent-dark); background: var(--accent-light); border-radius: 8px; position: absolute; top: 14px; right: 15px; }
.metric-icon.blue { color: var(--blue); background: var(--blue-light); }
.metric-icon.red { color: var(--red); background: var(--red-light); }
.grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,1fr); gap: 14px; align-items: start; }
.grid.equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid.stack > .wide { grid-column: 1 / -1; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); min-width: 0; overflow: hidden; }
.panel + .panel.standalone { margin-top: 15px; }
.panel-head { min-height: 53px; padding: 11px 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.panel-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.panel-title > .icon { color: var(--accent-dark); width: 17px; height: 17px; }
.panel-title h2 { font-size: 15px; font-weight: 720; letter-spacing: -.015em; }
.panel-head .sub { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.text-btn { border: 0; background: transparent; display: inline-flex; gap: 3px; align-items: center; color: var(--accent-dark); padding: 6px 0 6px 6px; flex-shrink: 0; font-size: 11px; text-decoration: none; white-space: nowrap; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-btn .icon { width: 14px; height: 14px; }
.record { display: flex; align-items: center; gap: 11px; width: 100%; border: 0; text-align: left; background: transparent; min-height: 60px; padding: 8px 0; }
.record:hover { background: #f6f8fc; }
.record:not(:last-child) { border-bottom: 1px solid var(--line); }
.record-list { padding: 0 15px; }
.record-main { min-width: 0; flex: 1; }
.record-title { font-size: 13px; font-weight: 670; display: block; line-height: 1.45; }
.record-meta { font-size: 11px; color: var(--muted); display: block; margin-top: 3px; line-height: 1.45; }
.record > .icon { color: #8a95a9; width: 15px; height: 15px; }
.date-tile { width: 38px; min-width: 38px; height: 40px; background: #f0f3f9; border-radius: 7px; display: grid; place-content: center; text-align: center; color: #485873; }
.date-tile strong { font: 650 17px "Inter","Arial",sans-serif; line-height: 1; }
.date-tile small { display: block; font-size: 9px; margin-top: 2px; }
.meeting-timeline .record .date-tile { position: relative; background: #fff; border: 1px solid #e5eaf4; }
.meeting-timeline .record:not(:last-child) .date-tile::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 21px; background: #e3e8f4; }
.meeting-timeline .record .date-tile.today { background: #edf1fd; color: #3e519c; border-color: #dce4fc; }
.record-symbol { width: 32px; height: 32px; color: var(--accent-dark); background: var(--accent-light); display: grid; place-items: center; border-radius: 7px; flex-shrink: 0; }
.record-symbol.red { color: var(--red); background: var(--red-light); }
.record-symbol.blue { color: var(--blue); background: var(--blue-light); }
.pill { display: inline-flex; align-items: center; gap: 4px; min-height: 20px; padding: 2px 6px; border-radius: 5px; font-size: 10px; font-weight: 620; color: #566176; background: #eef0f4; white-space: nowrap; }
.pill.gold { color: var(--accent-dark); background: var(--accent-light); }
.pill.red { color: #983f38; background: var(--red-light); }
.pill.green { color: var(--green); background: var(--green-light); }
.pill.blue { color: var(--blue); background: var(--blue-light); }
.pill.attention { color: #77581f; background: #faf3e4; }
.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { color: var(--muted); font-weight: 600; font-size: 11px; background: #f7f8fc; white-space: nowrap; }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
td { font-size: 12px; }
tr:last-child td { border-bottom: 0; }
.title-link { border: 0; background: transparent; font-weight: 655; padding: 0; text-align: start; }
.title-link:hover { color: var(--accent-dark); }
td .record-meta { margin-top: 2px; }
td.nowrap { white-space: nowrap; }
.task-table td:nth-child(2), .task-table td:nth-child(3) { white-space: nowrap; }
.mobile-cell-label, .map-stage-list { display: none; }
.progress { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.progress-track { width: 64px; height: 5px; border-radius: 5px; background: #e8ecf4; overflow: hidden; display: inline-block; }
.progress-track i { display: block; height: 100%; background: #596dc5; border-radius: 5px; }
.empty { padding: 28px 13px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.view-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.segment { display: flex; gap: 6px; flex-wrap: wrap; }
.result-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.activity-map { display: grid; grid-template-columns: 172px minmax(0,1fr); min-width: 0; }
.map-domain-index { position: sticky; top: 74px; align-self: start; min-width: 0; max-height: calc(100vh - 90px); overflow-y: auto; background: #fafafa; border-right: 1px solid var(--line); padding: 14px 9px; }
.map-domain-index h3 { margin: 0 7px 9px; color: var(--ink); font-size: 12px; font-weight: 680; }
.map-domain-list { display: grid; gap: 3px; }
.map-domain { display: flex; align-items: center; justify-content: space-between; gap: 5px; text-align: left; min-height: 35px; padding: 5px 7px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; }
.map-domain small { flex-shrink: 0; font-size: 10px; font-variant-numeric: tabular-nums; }
.map-domain:is(:hover,[aria-pressed=true]) { background: var(--accent-light); color: var(--accent-dark); }
.map-domain[aria-pressed=true] { box-shadow: inset 2px 0 var(--accent); font-weight: 680; }
.map-domain-mobile { display: none; }
.map-board { min-width: 0; padding: 13px 14px 16px; }
.map-board-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding-bottom: 13px; }
.map-board-heading h3 { font-size: 14px; font-weight: 675; }
.map-board-heading small { display: none; }
.map-board-heading small, .map-scroll-hint { color: var(--muted); font-size: 10px; }
.map-scroll-hint { display: none; padding: 0 0 7px; }
.map-lane-scroll { min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 4px; scrollbar-width: thin; }
.map-lane-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-lanes { --lane-gap: 8px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: start; gap: var(--lane-gap); min-width: 839px; }
.map-lane { min-width: 0; }
.map-lane-heading { min-height: 43px; padding: 0 8px 8px; }
.map-lane-heading h4 { margin: 0 0 4px; font-size: 13px; font-weight: 680; }
.map-lane-heading small, .map-lane-empty { color: var(--muted); font-size: 10px; }
.map-lane-track { height: 23px; position: relative; padding-left: 10px; }
.map-lane-track::after { content: ""; position: absolute; top: 6px; left: 14px; right: calc(-14px - var(--lane-gap)); border-top: 1px solid var(--line); }
.map-lane:last-child .map-lane-track::after { display: none; }
.map-lane-track span { position: relative; z-index: 1; display: block; top: 1px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--line); }
.map-lane-card { background: #f7f7f7; border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.map-lane-empty { padding: 8px 1px; }
.map-activity { display: flex; align-items: center; justify-content: space-between; gap: 3px; width: 100%; text-align: left; min-height: 54px; padding: 7px 1px; border: 0; background: none; }
.map-activity + .map-activity { border-top: 1px solid var(--line); }
.map-activity:hover { background: var(--paper); color: var(--accent-dark); }
.map-activity-text { min-width: 0; }
.map-activity-text strong { display: block; font-size: 12px; font-weight: 665; line-height: 1.45; overflow-wrap: anywhere; }
.map-activity-text small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.map-activity > .icon { color: var(--accent); width: 12px; height: 12px; }
.principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-bottom: 15px; }
.principle { padding: 15px; border: 1px solid var(--line); background: var(--paper); border-radius: 9px; }
.principle h3 { font-size: 13px; margin: 8px 0 6px; }
.principle .icon { color: var(--accent-dark); }
.principle p { color: var(--muted); font-size: 11px; line-height: 1.65; }
.setting-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.integration { display: grid; grid-template-columns: 36px minmax(0,1fr); grid-template-areas: "icon title" "icon description" "icon status"; column-gap: 12px; row-gap: 4px; align-items: center; text-align: left; padding: 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; }
.integration:hover { border-color: #b9c5ed; }
.integration .record-symbol { grid-area: icon; align-self: start; margin: 0; }
.integration strong { grid-area: title; font-size: 14px; line-height: 1.35; }
.integration p { grid-area: description; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.integration .pill { grid-area: status; justify-self: start; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.setting-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.setting-row strong { font-size: 13px; }
.setting-row p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.switch { width: 34px; height: 19px; border: 0; padding: 0; border-radius: 14px; background: #ced4e0; position: relative; flex: 0 0 auto; }
.switch[aria-checked=true] { background: #5265bf; }
.switch::after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; content: ""; border-radius: 50%; background: white; }
.switch[aria-checked=true]::after { transform: translateX(15px); }
.panel-body { padding: 15px; }
.report-box { padding: 13px; background: #f0f3fc; border-radius: 8px; color: #40517b; line-height: 1.7; font-size: 12px; }
.bar-row { min-height: 36px; display: grid; align-items: center; grid-template-columns: 120px minmax(0,1fr) 24px; gap: 10px; font-size: 11px; color: #3c474d; }
.bar-row .progress-track { width: 100%; height: 7px; }
.bar-row strong { text-align: right; font-variant-numeric: tabular-nums; }
dialog { border: 1px solid #e2e6f0; border-radius: 14px; background: var(--paper); width: min(560px,calc(100vw - 28px)); max-height: calc(100dvh - 42px); color: var(--ink); padding: 0; box-shadow: 0 26px 95px #12192359; }
dialog::backdrop { background: #17203362; backdrop-filter: blur(2px); }
.dialog-top { padding: 18px 19px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-top h2 { font-size: 20px; line-height: 1.34; }
.dialog-top p { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }
.icon-button { display: inline-grid; place-items: center; padding: 0; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); flex: 0 0 auto; }
.icon-button:hover { color: var(--accent-dark); border-color: var(--accent); }
.dialog-body { padding: 16px 19px 18px; }
.dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; padding: 11px 19px; border-top: 1px solid var(--line); background: #f7f8fc; }
#dialog-feedback:not(:empty) { padding: 8px 19px; border-top: 1px solid var(--line); background: var(--accent-light); color: var(--accent-dark); font-size: 12px; line-height: 1.5; }
#dialog-feedback[data-tone=success] { background: var(--green-light); color: var(--green); }
#dialog-feedback[data-tone=error] { background: var(--red-light); color: var(--red); }
#dialog [aria-invalid=true] { border-color: var(--red); }
.details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
.detail { margin: 0; background: #f2f4f9; border-radius: 7px; min-height: 51px; padding: 8px 9px; }
.detail dt { color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.detail dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 12px; overflow-wrap: anywhere; }
.dialog-body p { font-size: 12px; line-height: 1.65; margin-bottom: 10px; color: #4b5257; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0 3px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
input, select, textarea { background: #fff; border: 1px solid #dbe0ed; border-radius: 6px; min-height: 32px; color: var(--ink); padding: 6px 8px; font-size: 13px; min-width: 0; }
:is(input, textarea)::placeholder { color: var(--muted); font-size: 12px; font-weight: 400; opacity: 1; }
option { font-size: 13px; }
input:is([type=date],[type=time],[type=month],[type=datetime-local]) { font-variant-numeric: tabular-nums; }
input::-webkit-calendar-picker-indicator { opacity: .65; }
.checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding-top: 1px; }
.checks label { display: flex; align-items: center; gap: 5px; color: #414b50; font-size: 11px; }
.checks input { min-height: auto; accent-color: #5265bf; }
.inline-links { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; }
.search-input { width: 100%; min-height: 38px; }
.toast { position: fixed; min-height: 0; right: 22px; bottom: 19px; background: #25335a; color: #fff; box-shadow: 0 8px 28px #0a172b35; border-radius: 9px; z-index: 10; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s,transform .18s; }
.toast.show { padding: 11px 15px; opacity: 1; transform: none; }
@media (max-width: 1370px) {
  .map-scroll-hint { display: block; }
}
@media (min-width: 1440px) {
  .shell { grid-template-columns: 228px minmax(0,1fr); }
  .topbar, main { padding-left: 38px; padding-right: 38px; }
}
@media (max-width: 1080px) {
  .shell { grid-template-columns: 181px minmax(0,1fr); }
  .topbar, main { padding-left: 21px; padding-right: 21px; }
  .sidebar { padding-inline: 11px; }
  .brand { margin-inline: 3px; }
  .hide-mid { display: none; }
}
@media (max-width: 790px) {
  .shell { display: block; }
  .sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: 205px; box-shadow: 0 0 0 100vmax #10192370; }
  .sidebar.open { display: flex; }
  .mobile-nav { display: inline-grid !important; }
  .sidebar .mobile-nav { position: absolute; top: 16px; right: 12px; width: 25px; height: 25px; background: #f2f5fb; color: #46567f; border-color: var(--line); }
  .sidebar .brand { margin-top: 25px; }
  .topbar { min-height: 57px; }
  .topbar-context { display: none; }
  .mobile-workspace { display: flex; }
  .top-actions { gap: 9px; }
  .search-btn kbd { display: none; }
  .mobile-dock .sidebar {
    display: block; position: fixed; inset: auto 0 0; width: 100%;
    height: auto; padding: 5px 8px calc(6px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid var(--line); background: #fff;
    box-shadow: 0 -2px 14px #1b61830d; z-index: 6;
  }
  .mobile-dock :is(.sidebar .brand,.sidebar-bottom,.sidebar .arrow) { display: none; }
  .mobile-dock .mobile-nav { display: none !important; }
  .mobile-dock .sidebar .nav { grid-template-columns: repeat(var(--module-count,5),minmax(0,1fr)); gap: 3px; max-width: 570px; margin: 0 auto; }
  .mobile-dock .sidebar .nav button { flex-direction: column; justify-content: center; gap: 4px; height: 48px; padding: 2px; font-size: 10px; line-height: 1.2; }
  .mobile-dock .sidebar .nav .icon { width: 17px; height: 17px; }
  .mobile-dock main { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-dock .toast { bottom: calc(69px + env(safe-area-inset-bottom)); }
}
@media (max-width: 700px) {
  .activity-map { grid-template-columns: minmax(0,1fr); }
  .map-domain-index { padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .map-domain-index h3, .map-domain-list { display: none; }
  .map-domain-mobile { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
  .map-board { padding: 11px 10px 12px; }
  .map-board-heading small { display: inline; }
  .map-lanes { min-width: 1002px; }
  .map-lane-scroll { scroll-snap-type: x proximity; }
  .map-lane { scroll-snap-align: start; }
}
@media (max-width: 570px) {
  .topbar, main { padding-left: 13px; padding-right: 13px; }
  main { padding-top: 15px; }
  .search-btn .search-word, .top-divider { display: none; }
  .profile { gap: 5px; }
  .profile strong { font-size: 11px; }
  .tool-strip { align-items: flex-start; flex-wrap: wrap; margin-top: 18px; }
  .dash-intro { align-items: stretch; flex-direction: column; gap: 12px; min-height: 0; padding-bottom: 15px; }
  .dash-intro h1 { font-size: 28px; margin-bottom: 6px; }
  .focus-metric { width: 100%; max-width: none; min-width: 0; }
  .grid, .grid.equal { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .grid.stack > .wide { grid-column: auto; }
  .metrics { gap: 6px; }
  .metric { min-height: 85px; padding: 9px 8px; }
  .metric-title { font-size: 11px; padding-right: 0; }
  .metric strong { font-size: 27px; }
  .metric-foot { margin-top: 5px; font-size: 9px; }
  .metric-icon { display: none; }
  .principles { grid-template-columns: 1fr; }
  .panel-head { padding-inline: 12px; }
  .record-list { padding-inline: 12px; }
  .table-wrap table { min-width: 490px; }
  .table-wrap table.task-table { min-width: 0; }
  :root:not(.theme-classic) .task-table :is(th,td):is(:nth-child(2),:nth-child(4)) { display: none; }
  .task-table :is(th,td) { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
