:root {
  --navy: #06265d;
  --navy-2: #073c81;
  --blue: #0b5cff;
  --blue-soft: #edf4ff;
  --green: #079653;
  --green-soft: #edf9f4;
  --orange: #ff6b00;
  --red: #ff3038;
  --ink: #09204d;
  --muted: #586b89;
  --line: rgba(91, 120, 159, .13);
  --surface: #fbfdff;
  --canvas: #f7fafe;
  --shadow: 0 2px 8px rgba(29, 71, 127, .018);
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 1180px; min-height: 100%; background: var(--canvas); }
body {
  font-size: 12px;
  font-weight: 400;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
button, input, select { font: inherit; }
button { color: inherit; }
.icon { width: 18px; height: 18px; flex: none; display: inline-block; object-fit: contain; }

.app-shell { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 15px 9px 11px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 76%, rgba(13, 123, 230, .22), transparent 34%),
    linear-gradient(160deg, #06265d 0%, #04214f 54%, #073574 100%);
  box-shadow: 6px 0 22px rgba(4, 31, 74, .12);
}
.brand-block { padding: 3px 6px 13px; display: grid; gap: 3px; }
.brand-block strong { font-size: 17px; line-height: 1; letter-spacing: .2px; }
.brand-block span { font-size: 12px; font-weight: 600; opacity: .96; }
.side-nav { display: grid; gap: 2px; }
.side-link {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255,255,255,.9);
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: .15s ease;
}
.side-link:hover { background: rgba(255,255,255,.08); }
.side-link.active { color: #fff; background: linear-gradient(100deg, #0a62ba, #0b54a6); box-shadow: 0 5px 14px rgba(0, 25, 71, .2); }
.side-link > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.side-link > span b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.side-link .icon { width: 17px; height: 17px; }
.side-link .icon { filter: brightness(0) invert(1); }
.side-link em { font-style: normal; color: #fff; font-weight: 700; font-size: 10px; border-radius: 10px; background: rgba(255,255,255,.13); padding: 2px 6px; white-space: nowrap; }
.side-link em.danger { background: var(--red); }
.side-link em.success { background: #078a55; }
.side-link.sub-link { margin: -1px 0 1px 4px; width: calc(100% - 4px); padding-left: 25px; min-height: 29px; }
.side-link.sub-link:not(.active) { display: flex; }
.side-link.sub-link.active { display: flex; }
.system-card { margin-top: auto; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; padding: 9px; background: rgba(2, 22, 57, .28); }
.system-card h2 { margin: 0 0 7px; font-size: 12px; }
.system-card p { margin: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 8px; font-size: 10px; }
.system-card p b { color: #00e787; }
.system-card p strong { font-size: 10px; }
.system-card button { margin-top: 7px; width: 100%; height: 31px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 5px; cursor: pointer; }

.workspace { min-width: 0; background: #f8fbff; }
.topbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  background: #fff;
  border-bottom: 1px solid rgba(91, 120, 159, .10);
}
.topbar h1 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.15px; white-space: nowrap; }
.daily-seo-reminder { min-height: 52px; margin: 10px 18px 0; padding: 10px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #f1c873; border-radius: 7px; background: #fff8e8; color: #7a4a00; box-shadow: 0 4px 12px rgba(133, 82, 0, .06); }
.daily-seo-reminder-icon { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border-radius: 50%; background: #fff0c5; }
.daily-seo-reminder-icon .icon { width: 17px; height: 17px; }
.daily-seo-reminder strong { display: block; font-size: 13px; line-height: 1.2; }
.daily-seo-reminder p { margin: 3px 0 0; font-size: 11px; color: #8b641d; }
.daily-seo-reminder button { margin-left: auto; min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid #ddad50; border-radius: 5px; background: #fff; color: #8c5900; font-weight: 700; cursor: pointer; }
.daily-seo-reminder button .icon { width: 14px; height: 14px; }
.health-alarm { min-height: 52px; margin: 10px 18px 0; padding: 10px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid; border-radius: 7px; box-shadow: 0 4px 14px rgba(155, 26, 38, .12); }
.health-alarm.critical { border-color: #e77a80; background: #fff1f2; color: #a2202a; }
.health-alarm.warning { border-color: #efb763; background: #fff8e9; color: #8a5300; }
.health-alarm-dot { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: health-pulse 1.25s ease-out infinite; }
.health-alarm strong { display: block; font-size: 13px; line-height: 1.2; }
.health-alarm p { margin: 3px 0 0; font-size: 11px; color: currentColor; opacity: .84; }
.health-alarm button { margin-left: auto; min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid currentColor; border-radius: 5px; background: #fff; color: currentColor; font-weight: 700; cursor: pointer; white-space: nowrap; }
.health-alarm button .icon { width: 14px; height: 14px; }
@keyframes health-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.scope-tabs { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #fff; }
.scope-tabs button { border: 0; height: 100%; min-width: 72px; padding: 0 12px; display: flex; gap: 8px; align-items: center; justify-content: center; background: #fff; color: var(--ink); cursor: pointer; border-right: 1px solid var(--line); }
.scope-tabs button:last-child { border-right: 0; }
.scope-tabs button span { color: #6b7a98; }
.scope-tabs button.active { background: var(--blue); color: #fff; }
.scope-tabs button.active span { color: #fff; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-actions > button { height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; white-space: nowrap; }
.top-actions button:hover { border-color: #a9c4f6; background: #f7faff; }
.top-actions button span { color: #657593; }
.top-actions .chevron { width: 13px; height: 13px; transform: rotate(90deg); }
.mobile-menu { display: none; }

.overview-body, .daily-body { padding: 10px 18px 12px; }
.overview-kpis { position: relative; }
.kpi-group-title, .daily-kpis > h2 { font-size: 12px; margin: 0 0 4px; font-weight: 700; }
.kpi-group-title { height: 18px; }
.daily-kpis > h2 span, .kpi-group-title span { color: var(--muted); font-weight: 600; }
.kpi-grid { display: grid; gap: 9px; }
.overview-grid { grid-template-columns: 1.35fr 1.05fr 1fr 2.75fr 1.45fr; }
.kpi-card { min-height: 108px; border: 1px solid rgba(97, 126, 165, .12); border-radius: 6px; background: #fbfdff; padding: 12px 13px; box-shadow: var(--shadow); overflow: hidden; }
.kpi-card.health-card { border-color: rgba(7, 150, 83, .17); background: #f3faf7; }
.kpi-card.search-kpi { border-color: rgba(11, 92, 255, .16); background: #f4f8fe; }
.kpi-card.alert-kpi { border-color: rgba(226, 154, 40, .18); background: #fff9f0; }
.kpi-label { display: flex; gap: 6px; align-items: center; color: #30476c; font-size: 11px; font-weight: 600; }
.kpi-card > strong { display: block; margin-top: 5px; font-size: 23px; line-height: 1; color: var(--ink); letter-spacing: .2px; }
.kpi-card > strong small { font-size: 14px; }
.kpi-card > p { margin: 5px 0 0; display: flex; gap: 7px; align-items: center; font-size: 9.5px; color: var(--muted); }
.kpi-card > p span { display: block; }
.kpi-card.health-card > strong { color: var(--green); }
.kpi-card.warning-card > strong { color: var(--orange); }
.good { color: var(--green) !important; }
.orange { color: var(--orange) !important; }
.search-kpi { padding-bottom: 7px; }
.search-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5px; }
.search-kpi-row > div { border-right: 1px solid var(--line); padding: 0 10px; }
.search-kpi-row > div:first-child { padding-left: 0; }
.search-kpi-row > div:last-child { border-right: 0; }
.search-kpi-row span { display: block; font-size: 10.5px; color: #405271; }
.search-kpi-row b { display: block; font-size: 17px; margin-top: 2px; }
.search-kpi-row small { display: block; margin-top: 4px; color: var(--green); }
.alert-kpi > div:last-child { margin-top: 4px; display: grid; grid-template-columns: 1fr 1fr; }
.alert-kpi p { margin: 0; padding-left: 10px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.alert-kpi p:first-child { padding-left: 0; }
.alert-kpi p:last-child { border-right: 0; }
.alert-kpi p span { color: #405271; }
.alert-kpi p b { font-size: 18px; }
.alert-kpi p b i { font-style: normal; color: var(--orange); }
.alert-kpi p small { color: var(--muted); }

.metric-toolbar { height: 36px; margin-top: 8px; padding: 4px 9px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(97, 126, 165, .10); border-radius: 6px; background: #f7f9fc; }
.metric-toolbar > strong { font-size: 11px; }
.metric-tabs { display: flex; align-items: center; gap: 5px; }
.metric-tabs button { height: 24px; padding: 0 12px; border: 1px solid rgba(97, 126, 165, .18); border-radius: 4px; background: rgba(255,255,255,.82); cursor: pointer; font-weight: 700; }
.metric-tabs button.active { color: #fff; background: var(--blue); border-color: var(--blue); }
.metric-tabs button.has-alert:not(.active){color:#c72531;border-color:#ef9ca3;background:#fff3f4}
.date-range-control { margin-left: auto; height: 27px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; overflow: hidden; }
.date-range-control button { width: 29px; height: 100%; border: 0; background: #fff; cursor: pointer; font-size: 18px; color: #536a92; }
.date-range-control b { padding: 0 14px; font-size: 10px; }
.date-range-control .icon { width: 14px; height: 14px; margin-right: 8px; }

.overview-main { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 12px; margin-top: 10px; }
.portfolio-stack { min-width: 0; }
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.program-panel { height: 448px; border: 1px solid rgba(7, 150, 83, .22); border-radius: 6px; padding: 8px; background: #f5fbf8; box-shadow: var(--shadow); overflow: hidden; }
.program-panel.new { border-color: rgba(11, 92, 255, .20); background: #f5f8fe; }
.program-panel > header { height: 29px; display: flex; align-items: center; gap: 10px; padding: 0 3px; }
.program-panel > header h2 { margin: 0; font-size: 15px; color: var(--green); }
.program-panel.new > header h2 { color: var(--blue); }
.program-panel > header span { border: 1px solid currentColor; color: var(--green); border-radius: 4px; padding: 3px 8px; font-weight: 700; background: var(--green-soft); }
.program-panel.new > header span { color: var(--blue); background: var(--blue-soft); }
.program-stat-row { height: 74px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(79, 137, 112, .09); border-radius: 6px; background: rgba(255, 255, 255, .48); }
.program-panel.new .program-stat-row { border-color: rgba(73, 112, 180, .09); background: rgba(255, 255, 255, .52); }
.program-stat-row > div { padding: 10px 7px 6px; border-right: 1px solid var(--line); min-width: 0; }
.program-stat-row > div:last-child { border-right: 0; }
.program-stat-row span { display: block; color: #536584; font-size: 9.5px; white-space: nowrap; }
.program-stat-row b { display: block; color: var(--green); font-size: 15px; margin-top: 4px; }
.program-panel.new .program-stat-row b { color: var(--blue); }
.program-stat-row b small { font-size: 10px; }
.program-stat-row em { display: block; font-style: normal; margin-top: 2px; font-size: 9.5px; color: #536584; }
.trend-card { height: 167px; margin-top: 6px; border: 1px solid rgba(7, 150, 83, .08); border-radius: 5px; padding: 8px 10px; background: rgba(255, 255, 255, .58); }
.program-panel.new .trend-card { border-color: rgba(11, 92, 255, .08); background: rgba(255, 255, 255, .60); }
.trend-card h3, .realtime-card h3, .task-card h3 { margin: 0; font-size: 11.5px; }
.trend-card h3 span { font-weight: 500; color: #6f7e98; }
.mini-chart { width: 100%; height: 137px; }
.mini-chart svg { width: 100%; height: 100%; overflow: visible; }
.grid-line { stroke: rgba(99, 129, 166, .10); stroke-width: .55; }
.trend-line, .report-line { fill: none; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.trend-line.green, .report-line.total { stroke: var(--green); }
.trend-line.blue, .report-line.new { stroke: var(--blue); }
.trend-area.green { color: var(--green); }
.trend-area.blue { color: var(--blue); }
.report-line.legacy { stroke: #26b87b; stroke-dasharray: 3 4; }
.trend-point, .report-dot { stroke-width: 1.35; fill: rgba(255,255,255,.9); }
.trend-point.green, .report-dot.total { stroke: var(--green); }
.trend-point.blue, .report-dot.new { stroke: var(--blue); }
.report-dot.legacy { stroke: #26b87b; }
.axis-label { font-size: 9.5px; fill: #50627f; text-anchor: middle; }
.axis-label.latest { fill: var(--green); font-weight: 700; }
.trend-value, .report-value { font-size: 9.5px; fill: var(--ink); text-anchor: middle; font-weight: 700; }
.empty-trend { height: 137px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8795aa; text-align: center; }
.empty-trend .empty-graphic { position: relative; color: #d8e0ec; opacity: .18; }
.empty-trend .empty-graphic > .icon { width: 52px; height: 52px; }
.empty-trend .empty-graphic span { position: absolute; right: -9px; bottom: -2px; }
.empty-trend strong { margin-top: 6px; color: #405271; font-size: 15px; }
.empty-trend p { margin: 3px 0 0; font-size: 8px; }
.realtime-card { height: 80px; margin-top: 6px; border: 1px solid rgba(97, 126, 165, .09); border-radius: 6px; padding: 8px 10px; position: relative; background: rgba(255, 255, 255, .44); }
.realtime-card > p { position: absolute; left: 84px; top: 7px; margin: 0; font-size: 8px; color: var(--muted); }
.realtime-card > div { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-top: 8px; }
.realtime-card > div span { height: 39px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; }
.realtime-card > div span.latest { border-color: #63c59a; background: #f1fbf6; }
.program-panel.new .realtime-card > div span.latest { border-color: #6a95ff; background: #f1f5ff; }
.realtime-card small { font-size: 8.5px; color: #526585; }
.realtime-card b { font-size: 12px; }
.task-card { height: 67px; margin-top: 6px; border: 1px solid rgba(97, 126, 165, .09); border-radius: 6px; padding: 8px 10px; background: rgba(255, 255, 255, .44); }
.task-card > div { display: grid; grid-template-columns: .8fr .8fr .8fr 1.8fr; margin-top: 7px; }
.task-card p { margin: 0; border-right: 1px solid var(--line); text-align: center; display: grid; gap: 1px; }
.task-card p:last-child { border-right: 0; }
.task-card p span { font-size: 8.5px; color: #556987; }
.task-card p b { font-size: 12px; }
.task-card p em { font-size: 8px; color: #7a889e; font-style: normal; padding-top: 3px; }

.priority-rail { height: 770px; border: 1px solid rgba(97, 126, 165, .10); border-radius: 6px; background: #f9fbfd; padding: 12px 10px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.priority-rail h2 { margin: 0 0 11px; font-size: 14px; }
.priority-rail > button { position: relative; height: 190px; margin-bottom: 34px; border: 1px solid rgba(7, 150, 83, .20); border-radius: 6px; background: #f6fbf8; padding: 55px 10px 12px; text-align: left; cursor: pointer; }
.priority-rail > button:nth-of-type(2) { border-color: rgba(11, 92, 255, .18); background: #f5f8fe; }
.priority-rail > button > b { position: absolute; top: 14px; left: 13px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.priority-rail > button:nth-of-type(2) > b { background: var(--blue); }
.priority-rail > button strong { display: block; color: var(--green); font-size: 13px; margin-bottom: 12px; }
.priority-rail > button:nth-of-type(2) strong { color: var(--blue); }
.priority-rail > button span { display: block; color: #667691; font-size: 9.5px; line-height: 1.65; }
.priority-rail > button .icon { position: absolute; right: 12px; bottom: 15px; width: 20px; height: 20px; }
.priority-rail footer { margin-top: auto; display: grid; gap: 7px; color: #6d7b91; position: relative; }
.priority-rail footer b { color: #51627e; font-size: 9px; }
.priority-rail footer .icon { position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; }

.table-card { border: 1px solid rgba(97, 126, 165, .10); border-radius: 6px; background: #fbfdff; box-shadow: var(--shadow); overflow: hidden; }
.table-card > h2, .table-card > header { margin: 0; min-height: 30px; padding: 7px 10px; font-size: 12px; }
.table-card h2 span { font-weight: 500; color: #677895; }
.table-scroll { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { height: 20px; padding: 2px 6px; border-right: 1px solid rgba(91, 120, 159, .10); border-top: 1px solid rgba(91, 120, 159, .10); text-align: center; font-size: 8.5px; }
th:first-child, td:first-child { text-align: left; }
th:last-child, td:last-child { border-right: 0; }
thead th { color: #425576; background: #f4f8fd; font-size: 8.5px; white-space: nowrap; }
tbody th { font-size: 10.5px; }
.overview-table tbody tr.scope-all > * { background: #f3f8fe; }
.overview-table tbody tr.scope-legacy > * { background: #f1f9f6; }
.overview-table tbody tr.scope-new300 > * { background: #f3f7fe; }
.overview-table tbody tr.scope-new300 > .realtime-cell { background: #fdf1f1; }
td small { display: block; font-size: 7.5px; color: #71809a; }
.progress-line { display: block; height: 3px; border-radius: 3px; margin-top: 3px; background: #e8eef6; overflow: hidden; }
.progress-line i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.overview-table { margin-top: 8px; height: 156px; }
.overview-table table { min-width: 920px; }
.overview-table th:nth-child(1) { width: 125px; }
.overview-table th:nth-child(2) { width: 75px; }
.overview-table th:nth-child(3), .overview-table th:nth-child(4), .overview-table th:nth-child(5) { width: 115px; }

.batch-strip { height: 151px; margin-top: 8px; border: 1px solid rgba(97, 126, 165, .10); border-radius: 6px; background: #fbfdff; box-shadow: var(--shadow); padding: 0 8px 8px; }
.batch-strip header { height: 37px; display: flex; align-items: center; justify-content: space-between; }
.batch-strip h2 { margin: 0; font-size: 12px; }
.batch-strip h2 span { color: #60718c; font-weight: 500; }
.batch-strip header button { border: 0; background: transparent; color: var(--blue); display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 700; }
.batch-strip header .icon { width: 16px; height: 16px; }
.batch-strip header .icon, .batch-report header > button .icon { filter: invert(31%) sepia(100%) saturate(3383%) hue-rotate(217deg) brightness(101%) contrast(101%); }
.batch-strip > div { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.batch-strip article { height: 102px; border: 1px solid rgba(97, 126, 165, .10); border-radius: 5px; padding: 8px 9px; overflow: hidden; background: #f8fafc; }
.batch-strip article.batch-legacy { border-color: rgba(79, 137, 112, .10); background: #f2faf6; }
.batch-strip article.batch-new300 { border-color: rgba(73, 112, 180, .10); background: #f2f6fd; }
.batch-strip h3 { margin: 0; font-size: 10.5px; }
.batch-strip article > b { display: block; margin-top: 5px; font-size: 12.5px; }
.batch-strip p { margin: 5px 0 0; font-size: 9.5px; color: #405270; }
.spark { width: 100%; height: 30px; margin-top: 5px; overflow: visible; }
.spark path { fill: none; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.spark.green path { stroke: var(--green); }
.spark.blue path { stroke: var(--blue); }

/* Daily report */
.daily-body { padding-top: 8px; }
.daily-kpis > h2 { margin-bottom: 5px; }
.daily-kpis .kpi-grid { grid-template-columns: repeat(7, 1fr); }
.daily-kpis .kpi-card { min-height: 90px; padding: 10px 12px; }
.daily-kpis .kpi-card > strong { font-size: 21px; }
.daily-kpis .kpi-card > p { margin-top: 8px; justify-content: space-between; }
.report-metric .metric-toolbar { margin-top: 9px; }
.report-metric .metric-toolbar > strong { font-size: 12px; }
.report-metric .metric-toolbar > strong::after { content: '切换'; }
.report-metric .metric-toolbar > strong { font-size: 0; }
.report-metric .metric-toolbar > strong::after { font-size: 12px; }
.report-metric .metric-tabs { order: 1; }
.report-metric .date-range-control { order: 2; }
.report-chart { height: 260px; margin-top: 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); padding: 9px 11px 10px; }
.report-chart > header { height: 35px; display: flex; align-items: start; gap: 18px; }
.report-chart h2 { margin: 0; font-size: 13px; }
.chart-legend { display: flex; gap: 18px; color: #5d6e89; }
.chart-legend span::before { content: ''; display: inline-block; width: 16px; height: 2px; margin-right: 7px; vertical-align: middle; background: currentColor; }
.chart-legend span.total { color: var(--green); }
.chart-legend span.legacy { color: #26b87b; }
.chart-legend span.new { color: var(--blue); }
.report-chart-body { height: 205px; display: grid; grid-template-columns: minmax(0,1fr) 176px; gap: 10px; }
.report-chart-body > svg { width: 100%; height: 100%; overflow: visible; }
.y-label { font-size: 9px; fill: #526581; }
.report-chart-body > aside { border: 1px solid var(--line); border-radius: 6px; padding: 10px 11px; background: #fff; }
.report-chart-body aside h3 { margin: 0 0 10px; font-size: 11px; }
.report-chart-body aside p { margin: 0; height: 27px; display: grid; grid-template-columns: 8px 1fr auto; gap: 6px; align-items: center; }
.report-chart-body aside p i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.report-chart-body aside p i.legacy { background: #26b87b; }
.report-chart-body aside p i.new { background: var(--blue); }
.report-chart-body aside p span { color: #536582; font-size: 9px; }
.report-chart-body aside p b { font-size: 11px; }
.report-chart-body aside small { display: block; color: #77859b; font-size: 8px; margin-top: 6px; text-align: right; }
.report-combo { height: 190px; margin-top: 8px; }
.report-combo table { min-width: 1180px; }
.report-combo th:nth-child(1) { width: 125px; }
.report-combo th:nth-child(2) { width: 60px; }
.report-combo th:nth-child(3), .report-combo th:nth-child(4), .report-combo th:nth-child(5) { width: 105px; }
.report-combo th.today, .report-combo td.today, .batch-report th.today, .batch-report td.today { color: var(--green); background: #effbf5; }
thead th small { display: block; font-size: 7px; }
.batch-report { height: 278px; margin-top: 10px; }
.batch-report > header { display: flex; align-items: center; gap: 10px; }
.batch-report header h2 { margin-right: auto; }
.batch-report header > button { border: 0; background: transparent; color: var(--blue); font-weight: 700; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.batch-report header > button .icon { width: 15px; height: 15px; }
.batch-report table { min-width: 1080px; }
.batch-report th, .batch-report td { height: 25px; padding-top: 2px; padding-bottom: 2px; line-height: 1.05; }
.batch-report td small { line-height: 1; margin-top: 1px; }
.batch-report th:first-child { width: 130px; }
.batch-report tbody th small { font-size: 8px; color: #6b7c98; font-weight: 500; }
.report-actions { height: 50px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.report-actions button { height: 37px; border: 1px solid var(--blue); border-radius: 5px; background: #fff; color: var(--blue); padding: 0 24px; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; cursor: pointer; }
.report-actions button:first-child { color: #fff; background: var(--blue); min-width: 160px; justify-content: center; }
.report-actions .icon { width: 15px; height: 15px; }

/* Three reference-matched operations modules */
.data-shell { grid-template-columns: 160px minmax(0, 1fr); }
.data-shell .sidebar { padding: 14px 7px 10px; }
.data-shell .brand-block { padding-left: 8px; }
.data-shell .side-link { min-height: 31px; }
.data-workspace, .site-workspace, .workflow-workspace { min-width: 0; background: #f8fbff; }
.data-page { height: calc(100vh - 50px); min-height: 1008px; padding: 12px 10px 10px; color: #0a234f; }
.data-card { border: 1px solid rgba(88, 119, 161, .13); border-radius: 6px; background: rgba(255,255,255,.7); box-shadow: 0 2px 8px rgba(29, 71, 127, .016); overflow: hidden; }
.data-card h2, .section-title { margin: 0; font-size: 13px; }
.data-card h2 span, .section-title span { color: #5d6f8c; font-weight: 500; }
.data-kpi-grid { display: grid; gap: 10px; }
.data-kpi { min-width: 0; border: 1px solid rgba(85, 116, 157, .15); border-radius: 6px; padding: 12px 12px 8px; background: #fbfdff; overflow: hidden; }
.data-kpi > span { display: block; min-height: 18px; color: #324b70; font-size: 10.5px; font-weight: 700; }
.data-kpi > strong { display: block; margin-top: 5px; color: #0a234f; font-size: 25px; line-height: 1.1; letter-spacing: .2px; }
.data-kpi > strong small { margin-left: 4px; font-size: 11px; }
.data-kpi > p { margin: 8px 0 0; min-height: 14px; color: #526886; font-size: 9.5px; }
.data-kpi.success { border-color: rgba(7,150,83,.22); background: #f3faf7; }
.data-kpi.success > strong { color: #079653; }
.data-kpi.blue { border-color: rgba(11,92,255,.18); background: #f3f7fd; }
.data-kpi.warning { border-color: rgba(230,157,43,.26); background: #fff9ef; }
.data-kpi.warning > strong { color: #f26b00; }
.data-kpi.danger { border-color: rgba(244,64,69,.25); background: #fff4f4; }
.data-kpi.danger > strong { color: #ef252c; }
.data-card button, .site-page button, .workflow-page button { border: 1px solid rgba(83,116,160,.18); border-radius: 5px; background: #fff; color: #173661; cursor: pointer; }
.site-filterbar select { border: 1px solid rgba(83,116,160,.18); border-radius: 5px; background: #fff; color: #173661; cursor: pointer; }
.data-card button.primary, .site-page button.primary, .workflow-page button.primary { border-color: #0b5cff; background: #0b5cff; color: #fff; }
.dense-table { min-width: 0; overflow: hidden; }
.dense-table table { min-width: 100%; }
.dense-table th, .dense-table td { height: 25px; padding: 3px 6px; font-size: 8.5px; }
.dense-table thead th { background: #f4f8fd; }
.dense-table tbody tr:nth-child(even) td { background: rgba(247,250,253,.58); }
.dense-table tbody tr:hover td { background: #eef5ff; }
.red { color: #ef252c !important; }
.blue { color: #0b5cff !important; }
.risk-high { display: inline-grid; place-items: center; min-width: 23px; height: 22px; border: 1px solid #ff3038; border-radius: 4px; color: #ff3038; }

/* GSC analysis */
.gsc-page { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-template-rows: 124px 266px 322px 286px 153px 42px; gap: 10px; }
.gsc-kpis { grid-column: 1 / -1; grid-template-columns: 1.15fr 1.05fr 1.05fr .76fr .62fr .6fr .58fr; }
.gsc-kpis .data-kpi { padding-top: 10px; }
.gsc-trend-card { grid-column: 1 / span 9; padding: 0 9px; }
.gsc-trend-card > header { height: 39px; display: flex; align-items: center; justify-content: space-between; }
.tiny-tabs { display: flex; align-items: center; gap: 0; }
.tiny-tabs button { height: 30px; padding: 0 15px; border-radius: 0; border-right: 0; font-weight: 700; }
.tiny-tabs button:first-child { border-radius: 5px 0 0 5px; }
.tiny-tabs button:last-child { border-radius: 0 5px 5px 0; border-right: 1px solid rgba(83,116,160,.18); }
.tiny-tabs button.active { background: #0b5cff; color: #fff; border-color: #0b5cff; }
.gsc-date { display: flex; align-items: center; gap: 0; }
.gsc-date button, .gsc-date b { height: 30px; display: grid; place-items: center; padding: 0 12px; }
.gsc-date .icon { margin: 0 -24px 0 8px; width: 14px; z-index: 1; }
.gsc-date button:last-child { margin-left: 8px; }
.gsc-chart-wrap { position: relative; height: 222px; border: 1px solid rgba(11,92,255,.07); border-radius: 5px; background: #f8fbff; }
.gsc-legend { position: absolute; top: 7px; left: 13px; display: flex; gap: 18px; z-index: 1; font-size: 9px; }
.gsc-legend span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.gsc-legend .total::before { background: #079653; }
.gsc-legend .legacy::before { background: #0b5cff; }
.gsc-legend .fresh::before { background: #ff6900; }
.gsc-trend-svg { width: 100%; height: 194px; margin-top: 17px; }
.gsc-grid { stroke: rgba(91,120,159,.13); stroke-width: .65; }
.gsc-line { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gsc-line.total, .gsc-dot.total { stroke: #079653; }
.gsc-line.legacy, .gsc-dot.legacy { stroke: #0b5cff; }
.gsc-line.fresh, .gsc-dot.fresh { stroke: #ff6900; }
.gsc-dot { fill: #fff; stroke-width: 1.3; }
.gsc-value, .gsc-x, .gsc-y { font-size: 9px; fill: #153765; text-anchor: middle; font-weight: 700; }
.gsc-value.total { fill: #079653; }.gsc-value.legacy { fill: #0b5cff; }.gsc-value.fresh { fill: #ff6900; }
.gsc-chart-wrap > p { position: absolute; left: 9px; bottom: 5px; margin: 0; color: #5e6f89; font-size: 8px; }
.gsc-compare { grid-column: 10 / -1; padding: 9px 7px; background: #f6faff; }
.gsc-compare h2 { height: 32px; padding: 0 3px; }
.gsc-compare table { background: rgba(255,255,255,.6); }
.gsc-compare th, .gsc-compare td { height: 48px; font-size: 9px; }
.gsc-compare tbody th { color: #0b5cff; }
.gsc-compare tbody tr:first-child th { color: #079653; }
.gsc-compare td { font-size: 15px; font-weight: 700; }
.gsc-compare td small { font-size: 8px; font-weight: 400; }
.gsc-mid { grid-column: 1 / -1; display: grid; grid-template-columns: .95fr 1.05fr; gap: 10px; min-width: 0; }
.query-card, .batch-performance { min-width: 0; height: 322px; }
.query-card > header, .batch-performance > header { height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; border-bottom: 1px solid rgba(91,120,159,.12); }
.query-card .tiny-tabs button { height: 28px; padding: 0 11px; font-size: 8.5px; }
.query-card .dense-table { height: 248px; }
.query-card th,.query-card td{height:22px;padding-top:2px;padding-bottom:2px}
.query-card th:nth-child(1) { width: 28px; }.query-card th:nth-child(2) { width: 118px; }
.query-card td .spark { width: 58px; height: 17px; margin: 0 auto; }
.batch-tag { display: inline-block; padding: 2px 6px; border: 1px solid rgba(11,92,255,.22); border-radius: 4px; background: #f0f6ff; color: #0b5cff; white-space: nowrap; }
.batch-tag.new { border-color: rgba(255,105,0,.22); background: #fff6ed; color: #ff6900; }
.chance { display: inline-grid; place-items: center; width: 22px; height: 19px; border: 1px solid #4cb481; border-radius: 4px; color: #168c54; background: #f1fbf6; }
.chance.中 { border-color: #ffb44f; color: #e87400; background: #fff8ef; }
.chance.低 { border-color: #56b98a; color: #168c54; }
.card-link { display: block; padding: 7px 10px; color: #0b5cff; font-weight: 700; text-decoration: none; font-size: 9px; }
.batch-performance > header button { height: 29px; padding: 0 12px; }
.batch-performance .dense-table { height: 224px; }
.batch-performance th, .batch-performance td { height: 28px; }
.rank-bar { display: inline-block; width: 92px; height: 7px; margin-right: 10px; background: #e6edf5; vertical-align: middle; }
.rank-bar i { display: block; height: 100%; background: #0b5cff; }
.warning-mark { color: #ff6900; }
.batch-performance .bottom-link { display: block; margin: 7px auto 4px; border: 0; color: #0b5cff; background: transparent; font-weight: 700; }
.batch-performance footer { height: 27px; display: flex; align-items: center; gap: 14px; padding: 0 9px; border-top: 1px solid rgba(91,120,159,.10); font-size: 8px; color: #5a6d89; }
.blue-dot, .red-dot { width: 7px; height: 7px; background: #0b5cff; display: inline-block; margin-right: 4px; }.red-dot{background:#f22; border-radius:50%;}
.gsc-bottom { grid-column: 1 / span 6; padding: 9px 7px; border-color: rgba(7,150,83,.17); background: #f6fbf8; }
.gsc-bottom > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 9px; }
.gsc-bottom .data-kpi { min-height: 104px; padding: 9px; }
.gsc-bottom .data-kpi > strong { font-size: 20px; }
.gsc-risk { grid-column: 7 / -1; padding: 9px 7px; border-color: rgba(244,64,69,.18); background: #fff7f6; }
.gsc-risk h2 { height: 25px; }.gsc-risk table { background:#fff; }.gsc-risk th,.gsc-risk td{height:36px;font-size:8.5px}.gsc-risk button{border:0;color:#0b5cff;background:transparent;font-weight:700}
.gsc-history { grid-column: 1 / -1; min-width: 0; padding: 0; overflow: hidden; background: #fff; }
.gsc-history > header { min-height: 52px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.gsc-history > header h2 { margin: 0 0 3px; }
.gsc-history > header small { color: var(--muted); }
.gsc-history > header label { display: flex; align-items: center; gap: 8px; color: #435678; font-weight: 700; }
.gsc-history > header select { height: 32px; min-width: 112px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; }
.gsc-history .dense-table { max-height: 234px; overflow: auto; }
.gsc-history table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.gsc-history th, .gsc-history td { height: 34px; padding: 6px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; font-size: 10.5px; }
.gsc-history thead th { position: sticky; top: 0; z-index: 2; background: #f4f8fd; color: #435678; }
.gsc-history tbody tr.pending td { color: #7d8797; background: #fafbfc; }
.gsc-history tfoot th, .gsc-history tfoot td { position: sticky; bottom: 0; z-index: 2; background: #eef6ff; border-top: 2px solid #9fc4ef; color: #12335f; }
.gsc-settled, .gsc-pending { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.gsc-settled { color: #087b43; background: #e8f7ef; }
.gsc-pending { color: #a36000; background: #fff3db; }
.data-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: #536783; }
.data-footer div { display: flex; gap: 10px; height: 42px; }.data-footer button{height:42px;padding:0 20px;display:flex;align-items:center;gap:7px;border:1px solid #8fb2ee;border-radius:5px;background:#fff;color:#0b5cff;font-weight:700}.data-footer button.primary{border-color:#0b5cff;background:#0b5cff;color:#fff}.data-footer .icon{width:15px;height:15px}

/* Site and brand details */
.site-page { display: grid; grid-template-columns: minmax(0,1fr) 332px; gap: 10px; padding-top: 8px; }
.site-main { min-width: 0; }
.section-title { height: 28px; display: flex; align-items: center; padding-left: 2px; }
.site-kpis { grid-template-columns: repeat(11,minmax(0,1fr)); height: 104px; grid-auto-flow: column; }
.site-kpis .data-kpi { padding: 10px 9px; }
.site-kpis .data-kpi > strong { font-size: 21px; }
.site-kpis .data-kpi > p { font-size: 8px; margin-top: 6px; }
.batch-title { margin-top: 8px; }
.batch-tabs { height: 42px; display: flex; gap: 7px; align-items: center; }
.batch-tabs button { min-width: 110px; height: 35px; padding: 0 12px; font-weight: 700; }
.batch-tabs button.active { border-color: #0b5cff; box-shadow: inset 0 -3px #0b5cff; color: #0b5cff; }
.site-filterbar { height: 58px; padding: 10px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(85,116,157,.13); border-radius: 6px; background: #f8fbff; }
.site-filterbar label { width: 150px; height: 36px; border: 1px solid rgba(85,116,157,.18); border-radius: 5px; background: #fff; display: flex; align-items: center; padding: 0 8px; }
.site-filterbar label .icon { width: 15px; }
.site-filterbar input { width: 100%; min-width: 0; border: 0; outline: 0; font-size: 9px; }
.site-filterbar button { height: 36px; padding: 0 10px; font-size: 8.5px; white-space: nowrap; }
.brand-overview { height: 114px; margin-top: 10px; }
.brand-overview > header { height: 35px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; }
.brand-overview > header button { border: 0; color: #0b5cff; background: transparent; font-weight: 700; }
.brand-overview > div { height: 78px; display: grid; grid-template-columns: repeat(10,1fr); }
.brand-overview p { margin: 0; padding: 9px 7px; border-right: 1px solid rgba(91,120,159,.12); text-align: center; }
.brand-overview p:last-child { border-right:0; }.brand-overview p span{display:block;min-height:24px;font-size:8px;color:#526885}.brand-overview p b{display:block;font-size:14px;color:#153765}.brand-overview p:nth-child(2) b,.brand-overview p:nth-child(3) b,.brand-overview p:nth-child(4) b{color:#079653}
.site-actionbar { height: 46px; margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.site-actionbar > button { border:0;background:transparent }.site-actionbar > span{color:#65758d;font-size:9px}.site-actionbar > div{margin-left:auto;display:flex;gap:10px}.site-actionbar > div button{height:34px;padding:0 26px;font-weight:700}
.site-table { height: 422px; border: 1px solid rgba(85,116,157,.13); border-radius: 6px; }
.site-table table { table-layout: fixed; }
.site-table th,.site-table td{height:38px;font-size:8.3px}.site-table thead th{height:34px}.site-table th:first-child{width:32px}.site-table th:nth-child(2){width:145px}.site-table th:nth-child(3){width:90px}.site-table th:nth-child(4){width:90px}.site-table td a{color:#0b5cff}.site-table td .icon{width:13px;height:13px;filter:invert(31%) sepia(100%) saturate(3383%) hue-rotate(217deg) brightness(101%)}
.site-table tr.selected td { background: #f0f6ff !important; border-top-color:#0b5cff; border-bottom:1px solid #0b5cff; }.site-table tr.selected td:first-child{border-left:1px solid #0b5cff}.site-table tr.selected td:last-child{border-right:1px solid #0b5cff}
.status-pill { display:inline-block;min-width:38px;padding:3px 7px;border-radius:10px;background:#eff9f4;color:#079653;font-weight:700;text-align:center;white-space:nowrap }.status-pill.异常{background:#fff1f1;color:#ef252c}.status-pill.待审计{background:#fff5e9;color:#f27a00}
.table-pagination { height: 49px; display:flex;align-items:center;justify-content:space-between;padding:0 8px }.table-pagination div{display:flex;gap:5px;align-items:center}.table-pagination button{min-width:29px;height:30px}.table-pagination button.active{background:#0b5cff;color:#fff}
.site-drawer { height: 940px; border:1px solid rgba(85,116,157,.13);border-radius:6px;background:#fbfdff;padding:10px 12px;overflow:hidden;box-shadow:0 4px 14px rgba(29,71,127,.03) }
.site-drawer > header{height:35px;display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid rgba(91,120,159,.12)}.site-drawer h2{margin:0;font-size:16px}.site-drawer header button{border:0;background:transparent}.site-drawer header .icon{width:17px}.site-drawer dl{display:grid;grid-template-columns:78px 1fr;margin:6px 0 9px;font-size:8.5px}.site-drawer dt,.site-drawer dd{margin:0;padding:4px 0}.site-drawer dt{color:#536783}.site-drawer dd{font-weight:700}.site-drawer a{color:#0b5cff}.site-drawer h3{margin:8px 0 4px;padding-bottom:5px;border-bottom:1px solid rgba(91,120,159,.11);font-size:11px}.site-drawer h3 span{font-size:8px;color:#64758f;font-weight:500}.health-list,.event-list{margin:4px 0;padding:0;list-style:none;font-size:8.5px}.health-list li{padding:3px 0;color:#079653}.health-list b{float:right;padding:2px 7px;border-radius:9px;background:#eaf7f0}.drawer-note{margin:5px 0;padding:6px;background:#f5f8fd;border-radius:4px;font-size:8px;line-height:1.5}.drawer-chart{height:82px;border-bottom:1px solid rgba(91,120,159,.10);overflow:hidden}.drawer-chart .spark{height:35px;margin:-1px 0}.event-list li{padding:3px 0;border-bottom:1px solid rgba(91,120,159,.08);display:flex;justify-content:space-between}.drawer-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.drawer-actions button{height:38px;font-weight:700}

/* Workflow */
.workflow-page { display:grid;grid-template-columns:710px minmax(0,1fr);gap:10px;padding-top:8px }
.workflow-main{min-width:0}.workflow-kpis{grid-template-columns:repeat(5,1fr);height:92px}.workflow-kpis .data-kpi{padding:10px;text-align:center}.workflow-kpis .data-kpi>span{font-size:10px}.workflow-kpis .data-kpi>strong{font-size:24px}.workflow-kpis .data-kpi>p{margin-top:3px}
.work-queue{height:336px;margin-top:10px}.work-queue>header{height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 9px}.work-queue>header div{display:flex;gap:7px}.work-queue>header button{height:30px;padding:0 12px}.work-queue>p{height:28px;margin:0;padding:0 9px;color:#526783;font-size:8.5px}.work-queue table{table-layout:fixed}.work-queue th,.work-queue td{height:49px;padding:4px;font-size:7.5px;vertical-align:top}.work-queue th:first-child{width:62px}.work-queue th:nth-child(2){width:110px}.work-queue th:nth-child(3){width:92px}.work-queue th:nth-child(4){width:58px}.work-queue th:nth-child(5){width:64px}.work-queue td strong,.work-queue td small{display:block}.work-queue td small{margin-top:3px;color:#60718a}.work-queue tr.selected td{background:#fff2f2}.priority-P0,.priority-P2,.priority-P3{display:inline-flex;align-items:center;gap:6px}.priority-P0:before,.priority-P2:before,.priority-P3:before{content:'!';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#f22;color:#fff}.priority-P2:before{content:'i';background:#0b5cff}.priority-P3:before{background:#ff9700}.evidence-tag{display:inline-block;padding:3px 6px;border:1px solid #80aaff;border-radius:4px;background:#f1f6ff;color:#0b5cff}.work-queue td button{border:0;background:transparent;color:#0b5cff;font-weight:700;white-space:nowrap}.work-queue>footer{height:29px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;font-size:8px;color:#5d6f89}
.seo-task-board{min-height:410px;height:auto;margin-top:9px;padding:0 7px 10px}.seo-task-board>header{min-height:48px;height:auto}.seo-task-board>header h2{padding-top:8px}.seo-task-board>header p{margin:4px 0;font-size:8.5px}.task-batches{display:grid;grid-template-columns:1fr 1fr;gap:8px}.task-batches article{min-height:330px;height:auto;border:1px solid rgba(85,116,157,.14);border-radius:5px;overflow:visible;background:#fbfdff}.task-batches h3{min-height:38px;height:auto;margin:0;padding:8px 9px;background:#f2faf6;color:#079653;font-size:11px}.task-batches article:nth-child(2) h3{background:#f1f6ff;color:#0b5cff}.task-batches h3 span{font-size:9px}.task-batches h3 small{float:right;color:#4f6483}.task-batches p{min-height:35px;height:auto;margin:0;padding:5px 8px;display:grid;grid-template-columns:75px 60px 70px minmax(0,1fr);align-items:center;border-top:1px solid rgba(91,120,159,.10);font-size:7.7px}.task-batches p span{padding:3px 6px;border-radius:9px;background:#f2f5f8;text-align:center}.task-batches p span.done{background:#eaf8f1;color:#079653}.task-batches p span.pending{background:#fff3e6;color:#f27a00}.task-batches p strong{text-align:center;overflow-wrap:anywhere}.task-batches p em{min-width:0;font-style:normal;color:#5c6e88;overflow-wrap:anywhere;white-space:normal}.task-batches p.audit-blockers{min-height:48px}.task-batches p.audit-source{min-height:48px}
.key-data{margin-top:8px}.key-data h2{height:27px;margin:0;font-size:12px}.key-data h2 span{color:#65758d;font-size:9px}.key-data>div{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.key-data .data-kpi{height:112px;padding:10px}.key-data .data-kpi>strong{font-size:21px}.key-data .data-kpi>span{font-size:9px}
.issue-detail{height:948px;border-left:1px solid rgba(91,120,159,.15);padding:0 8px 10px;overflow:hidden}.issue-detail>header{height:42px;display:flex;align-items:center;justify-content:space-between}.issue-detail>header h2{margin:0;font-size:14px}.issue-detail>header button{border:0;background:transparent}.issue-detail>header .icon{width:17px}.issue-title{height:76px;display:flex;align-items:start;gap:8px;position:relative}.issue-title>b{display:grid;place-items:center;width:31px;height:24px;border-radius:4px;background:#ef252c;color:#fff}.issue-title h3{margin:2px 4px 0 0;color:#ef252c;font-size:17px}.issue-title>span{margin-top:2px;padding:3px 8px;border:1px solid #b7d0ff;border-radius:4px;background:#f1f6ff;color:#0b5cff}.issue-title>div{margin-left:auto;display:flex;gap:8px}.issue-title button{height:32px;padding:0 12px;display:flex;align-items:center;gap:5px}.issue-title .icon{width:14px}.issue-detail>section,.issue-columns>section{border:1px solid rgba(85,116,157,.13);border-radius:6px;background:#fbfdff;padding:8px 9px;margin-bottom:8px}.issue-detail section h3{margin:0 0 7px;font-size:11px}.issue-detail section h4{margin:7px 0 4px;font-size:9px}.issue-detail section p{margin:0;font-size:8px;line-height:1.5}.impact-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:8px}.impact-grid p{padding:2px 10px;border-right:1px solid rgba(91,120,159,.12)}.impact-grid p:last-child{border-right:0}.impact-grid span,.impact-grid b{display:block}.impact-grid b{font-size:10px;margin-top:4px}.issue-columns{display:grid;grid-template-columns:.92fr 1.08fr;gap:8px}.issue-columns>section{height:266px;margin:0}.timeline{list-style:none;padding:0;margin:0}.timeline li{display:grid;grid-template-columns:65px 1fr;min-height:43px;font-size:8px}.timeline b{color:#224a7d}.timeline span{border-left:1px solid #9fc0f4;padding-left:9px}.timeline small{color:#5b6d87}.issue-columns dl{display:grid;grid-template-columns:85px 1fr;margin:0}.issue-columns dt,.issue-columns dd{margin:0;padding:6px;border-bottom:1px solid rgba(91,120,159,.1);font-size:8px}.issue-columns a{display:block;margin-top:8px;color:#0b5cff;font-size:9px}.owner-card{height:95px!important;display:grid;grid-template-columns:repeat(4,1fr);padding:0!important}.owner-card p{padding:10px;border-right:1px solid rgba(91,120,159,.12)}.owner-card p:last-child{border-right:0}.owner-card span,.owner-card b,.owner-card small{display:block}.owner-card b{margin-top:7px;padding:5px;border:1px solid rgba(85,116,157,.14);border-radius:4px}.owner-card small{margin-top:6px;color:#536783}.checklist{list-style:none;padding:0;margin:0}.checklist li{height:22px;font-size:8px}.activity{height:128px}.activity header{display:flex;align-items:center;justify-content:space-between}.activity header button{height:28px;padding:0 10px}.activity p{height:37px;padding:8px 0;border-top:1px solid rgba(91,120,159,.10)}

/* 2026-07-21 reference-proportion reset: match the supplied desktop sources. */
.data-workspace,.site-workspace,.workflow-workspace{background:#f9fbfd}
.data-page{padding:8px 10px 10px}
.data-card,.data-kpi,.site-filterbar,.site-table,.site-drawer,.work-queue,.seo-task-board,.issue-detail>section,.issue-columns>section{
  border-color:#dce5f0;
  border-radius:4px;
  background:#fff;
  box-shadow:none;
}
.data-kpi.success{border-color:#d4e9df;background:#fbfefc}
.data-kpi.blue{border-color:#d9e5f7;background:#fbfdff}
.data-kpi.warning{border-color:#f0dfc4;background:#fffdf9}
.data-kpi.danger{border-color:#f1d6d7;background:#fffafa}
.data-card button,.site-page button,.workflow-page button,.site-filterbar label{
  border-color:#d8e2ee;
  border-radius:4px;
  box-shadow:none;
}
.site-page{grid-template-columns:minmax(0,1fr) 332px;gap:10px;padding-top:8px}
.site-kpis{
  grid-template-columns:1.28fr 1.18fr 1fr .82fr .88fr 1fr .8fr .7fr .72fr .8fr;
  gap:5px;
  height:104px;
}
.site-kpis .data-kpi{padding:10px 8px 8px}
.site-kpis .data-kpi>span{font-size:9.5px}
.site-kpis .data-kpi>strong{font-size:20px;letter-spacing:0}
.site-kpis .data-kpi:nth-child(5)>strong{font-size:18px;white-space:nowrap}
.site-kpis .data-kpi:nth-child(6)>strong{font-size:12px;line-height:1.35;white-space:nowrap}
.site-kpis .data-kpi>p{margin-top:6px;font-size:8px}
.batch-tabs{gap:6px}
.batch-tabs button{min-width:0;width:79px;height:35px;padding:0 8px}
.batch-tabs button:nth-child(1),.batch-tabs button:nth-child(2){width:128px}
.site-filterbar{background:#fff}
.brand-overview,.site-table{background:#fff}
.brand-overview>div{grid-template-columns:.9fr 1.15fr 1fr 1.05fr 1fr 1.15fr 1fr .9fr 1fr .8fr}
.brand-overview p{padding-left:5px;padding-right:5px}
.site-table{border-radius:4px}
.site-table tr.selected td{background:#f5f8ff!important}
.site-drawer{background:#fff;border-radius:4px;box-shadow:none}
.drawer-note{background:#f7f9fc}
.gsc-page{gap:8px}
.gsc-kpis{gap:6px;grid-template-columns:1.64fr 1.58fr 1.56fr 1.16fr .98fr .9fr .96fr}
.gsc-kpis .data-kpi{background:#fff}
.gsc-kpis .data-kpi.success{background:#fbfefc}
.gsc-kpis .data-kpi.warning{background:#fffdf9}
.gsc-kpis .data-kpi.danger{background:#fffafa}
.gsc-trend-card,.gsc-compare,.query-card,.batch-performance,.gsc-bottom,.gsc-risk{background:#fff}
.gsc-chart-wrap{background:#fbfcfe;border-color:#e1e8f1}
.workflow-page{grid-template-columns:710px minmax(0,1fr);gap:10px}
.workflow-kpis{gap:10px}
.work-queue,.seo-task-board{background:#fff}
.task-batches article{border-color:#dde6f0;border-radius:4px;background:#fff}
.task-batches h3{background:#f6fbf8}
.task-batches article:nth-child(2) h3{background:#f5f8fd}
.issue-detail{background:#fff;border-color:#dce5f0}
.owner-card{background:#fff}
.data-page{font-size:12px;font-weight:500}
.data-card h2,.section-title{font-size:14px}
.data-kpi>span{font-size:11px}
.data-kpi>p{font-size:10px}
.dense-table th,.dense-table td{font-size:9.5px}
.site-kpis{height:100px}
.site-kpis .data-kpi>span{font-size:10.5px}
.site-kpis .data-kpi>strong{font-size:23px}
.site-kpis .data-kpi:nth-child(5)>strong{font-size:20px}
.site-kpis .data-kpi:nth-child(6)>strong{font-size:13px}
.site-kpis .data-kpi>p{font-size:9px}
.site-table th,.site-table td{font-size:10px}
.site-table tbody tr:has(.status-pill.待审计) td{background:#fffdf7}
.site-table tbody tr:has(.status-pill.正常) td{background:#fbfefc}
.site-table tbody tr.selected td{background:#f4f8ff!important}
.site-drawer dl,.site-drawer .health-list,.site-drawer .event-list{font-size:10px}
.site-drawer h3{font-size:12px}
.site-drawer .drawer-note{font-size:9.5px}
.brand-overview p span{font-size:9.5px}
.brand-overview p b{font-size:15px}
.gsc-kpis .data-kpi>span{font-size:11px}
.gsc-kpis .data-kpi>strong{font-size:27px}
.gsc-kpis .data-kpi>p{font-size:10px}
.query-card .dense-table th,.query-card .dense-table td,.batch-performance th,.batch-performance td{font-size:9.5px}
.gsc-compare th,.gsc-compare td{font-size:10px}
.card-link{font-size:10px}
.workflow-kpis .data-kpi>span{font-size:11px}
.workflow-kpis .data-kpi>strong{font-size:28px}
.work-queue th,.work-queue td{font-size:9.25px}
.work-queue>p,.work-queue>footer{font-size:9.5px}
.task-batches h3{font-size:12px}
.task-batches p{font-size:9px}
.issue-detail section p,.issue-columns dt,.issue-columns dd{font-size:9.5px}
.issue-title>span,.issue-title button{font-size:10px}
.timeline li{font-size:9px}
.checklist li{font-size:9.5px}

/* v20 typography restore: keep the reference geometry, restore its text scale. */
.topbar h1{font-size:18px}
.data-page{font-size:12.5px;line-height:1.28}
.data-card h2,.section-title{font-size:15px}
.data-kpi>span{font-size:11.5px}
.data-kpi>p{font-size:10.5px}
.site-kpis .data-kpi>span{font-size:11px}
.site-kpis .data-kpi>p{font-size:9.5px}
.site-table th,.site-table td{font-size:10.5px}
.brand-overview p span{font-size:10px}
.site-drawer dl,.site-drawer .health-list,.site-drawer .event-list{font-size:10.5px}
.site-drawer .drawer-note{font-size:10px}
.gsc-kpis .data-kpi>span{font-size:11.5px}
.gsc-kpis .data-kpi>strong{font-size:29px}
.gsc-kpis .data-kpi>p{font-size:10.5px}
.query-card .dense-table th,.query-card .dense-table td,.batch-performance th,.batch-performance td{font-size:10.5px}
.gsc-compare th,.gsc-compare td{font-size:10.5px}
.workflow-kpis .data-kpi>span{font-size:11.5px}
.work-queue th,.work-queue td{font-size:10.25px;line-height:1.2}
.work-queue>p,.work-queue>footer{font-size:10px}
.task-batches h3{font-size:12.5px}
.task-batches p{font-size:10px;line-height:1.18}
.issue-detail section h3{font-size:12px}
.issue-detail section h4{font-size:10px}
.issue-detail section p,.issue-columns dt,.issue-columns dd{font-size:10.5px}
.issue-title>span,.issue-title button{font-size:10.5px}
.timeline li{font-size:10px}
.checklist li{font-size:10px}

/* Sidebar data modules: every navigation item opens a real, source-labelled page. */
.module-page{padding:12px 14px 22px;display:grid;gap:10px;align-content:start}
.module-head{min-height:78px;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr) 520px;gap:18px;align-items:center;background:#fff}
.module-head h2{margin:0 0 6px;font-size:18px;color:var(--ink)}
.module-head p{margin:0;color:var(--muted);line-height:1.5}
.module-head dl{margin:0;display:grid;grid-template-columns:72px minmax(0,1fr);gap:5px 10px;padding-left:16px;border-left:1px solid var(--line)}
.module-head dt{color:var(--muted)}
.module-head dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.module-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.module-kpis .data-kpi{min-height:92px;background:#fff}
.module-table{padding:0;background:#fff;overflow:hidden}
.module-table>header{min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.module-table>header h2{margin:0}
.module-table>header h2 span,.module-table>header small{color:var(--muted);font-weight:500}
.module-table .dense-table{overflow:auto;max-height:calc(100vh - 285px)}
.module-table table{width:100%;border-collapse:collapse}
.module-table th,.module-table td{padding:8px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.35}
.module-table th{position:sticky;top:0;z-index:1;background:#f6f9fd;color:#435678;white-space:nowrap}
.module-table td:first-child{font-weight:700;color:var(--ink)}
.module-table tbody tr:hover td{background:#f8fbff}
.asset-page{min-width:0;height:auto;min-height:calc(100vh - 50px)}
.asset-kpis{grid-template-columns:repeat(8,minmax(0,1fr))}
.asset-kpis .data-kpi{min-width:0}
.asset-kpis .data-kpi>strong{font-size:22px;overflow-wrap:anywhere}
.asset-summary-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}
.asset-summary-grid .dense-table{max-height:220px;overflow:auto}
.asset-summary-grid table{table-layout:fixed;width:100%;min-width:0}
.asset-account-table th:nth-child(1),.asset-account-table td:nth-child(1){width:24%}
.asset-account-table th:nth-child(2),.asset-account-table td:nth-child(2){width:30%;overflow-wrap:anywhere}
.asset-account-table th:nth-child(3),.asset-account-table td:nth-child(3){width:7%;text-align:center}
.asset-account-table th:nth-child(4),.asset-account-table td:nth-child(4){width:17%}
.asset-account-table th:nth-child(5),.asset-account-table td:nth-child(5){width:7%;text-align:center}
.asset-account-table th:nth-child(6),.asset-account-table td:nth-child(6){width:15%}
.asset-batch-cost-table th:nth-child(1),.asset-batch-cost-table td:nth-child(1){width:20%}
.asset-batch-cost-table th:nth-child(2),.asset-batch-cost-table td:nth-child(2),
.asset-batch-cost-table th:nth-child(3),.asset-batch-cost-table td:nth-child(3),
.asset-batch-cost-table th:nth-child(4),.asset-batch-cost-table td:nth-child(4){width:15%}
.asset-batch-cost-table th:nth-child(5),.asset-batch-cost-table td:nth-child(5){width:35%}
.asset-operating-costs{display:grid;gap:10px;min-width:0}
.asset-section-head{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:6px;background:#f7fbff}
.asset-section-head h2{margin:0 0 4px;font-size:16px}
.asset-section-head p{margin:0;color:var(--muted)}
.asset-section-head>span{flex:0 0 auto;color:var(--green);font-weight:800}
.asset-operating-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.asset-ledger-head{border-color:#9fc1f7;background:linear-gradient(100deg,#edf5ff 0%,#f7fbff 58%,#eefaf4 100%)}
.asset-ledger-head>span{padding:8px 12px;border:1px solid #a8d7be;border-radius:6px;background:#fff;color:#087c47;font-size:14px}
.asset-consolidated-ledger table{table-layout:fixed;width:100%}
.asset-consolidated-ledger th,.asset-consolidated-ledger td{overflow-wrap:anywhere}
.asset-consolidated-ledger th:nth-child(1){width:9%}.asset-consolidated-ledger th:nth-child(2){width:18%}
.asset-consolidated-ledger th:nth-child(3){width:9%}.asset-consolidated-ledger th:nth-child(4){width:10%}
.asset-consolidated-ledger th:nth-child(5){width:10%}.asset-consolidated-ledger th:nth-child(6){width:10%}
.asset-consolidated-ledger th:nth-child(7){width:10%}.asset-consolidated-ledger th:nth-child(8){width:24%}
.asset-consolidated-ledger td small{display:block;margin-top:3px;color:var(--muted);font-size:9px;font-weight:500}
.asset-consolidated-ledger tfoot th{position:static;padding:11px 10px;background:#eaf7f0;color:#087c47;border-right:1px solid #b9dfca}
.asset-ledger-note{padding:10px 14px;border-top:1px solid #f0d69e;background:#fffaf0;color:#8b5b00;line-height:1.5}
.asset-cloudflare-cost-table table,.asset-third-party-cost-table table{table-layout:fixed;width:100%}
.asset-cloudflare-cost-table th,.asset-cloudflare-cost-table td,.asset-third-party-cost-table th,.asset-third-party-cost-table td{overflow-wrap:anywhere}
.asset-cloudflare-cost-table td small,.asset-third-party-cost-table td small{display:block;margin-top:3px;color:var(--muted);font-size:9px;font-weight:500}
.asset-cloudflare-cost-table th:nth-child(1){width:15%}.asset-cloudflare-cost-table th:nth-child(2){width:10%}
.asset-cloudflare-cost-table th:nth-child(3){width:8%}.asset-cloudflare-cost-table th:nth-child(4){width:10%}
.asset-cloudflare-cost-table th:nth-child(5){width:9%}.asset-cloudflare-cost-table th:nth-child(6){width:9%}
.asset-cloudflare-cost-table th:nth-child(7){width:9%}.asset-cloudflare-cost-table th:nth-child(8){width:9%}
.asset-cloudflare-cost-table th:nth-child(9){width:8%}.asset-cloudflare-cost-table th:nth-child(10){width:13%}
.asset-third-party-cost-table th:nth-child(1){width:14%}.asset-third-party-cost-table th:nth-child(2){width:12%}
.asset-third-party-cost-table th:nth-child(3){width:11%}.asset-third-party-cost-table th:nth-child(4){width:7%}
.asset-third-party-cost-table th:nth-child(5){width:9%}.asset-third-party-cost-table th:nth-child(6){width:9%}
.asset-third-party-cost-table th:nth-child(7){width:9%}.asset-third-party-cost-table th:nth-child(8){width:10%}
.asset-third-party-cost-table th:nth-child(9){width:9%}.asset-third-party-cost-table th:nth-child(10){width:10%}
.asset-empty-row td{padding:18px!important;text-align:center!important;color:var(--muted)!important;font-weight:600!important;background:#fffaf2}
.asset-filters{min-height:58px;padding:10px;display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(120px,.55fr) minmax(230px,1fr) minmax(130px,.55fr) 66px;gap:8px;align-items:center;background:#fff}
.asset-filters label{height:36px;padding:0 10px;border:1px solid var(--line);border-radius:5px;display:flex;align-items:center;gap:7px}
.asset-filters label .icon{width:15px;height:15px}
.asset-filters input{min-width:0;width:100%;border:0;outline:0;background:transparent}
.asset-filters select,.asset-filters button{height:36px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);padding:0 9px;min-width:0}
.asset-filters button{cursor:pointer;font-weight:700}
.asset-table .dense-table{max-height:none;overflow-x:auto;overflow-y:visible}
.asset-table table{table-layout:fixed;width:1270px;min-width:1270px}
.asset-table th{z-index:2}
.asset-table th:first-child,.asset-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}
.asset-table thead th:first-child{z-index:3;background:#f6f9fd}
.asset-table th,.asset-table td{overflow-wrap:anywhere}
.asset-table th:nth-child(1),.asset-table td:nth-child(1){width:150px}
.asset-table th:nth-child(2),.asset-table td:nth-child(2){width:65px}
.asset-table th:nth-child(3),.asset-table td:nth-child(3){width:70px}
.asset-table th:nth-child(4),.asset-table td:nth-child(4){width:60px}
.asset-table th:nth-child(5),.asset-table td:nth-child(5){width:140px}
.asset-table th:nth-child(6),.asset-table td:nth-child(6){width:165px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}
.asset-table th:nth-child(7),.asset-table td:nth-child(7){width:130px}
.asset-table th:nth-child(8),.asset-table td:nth-child(8){width:100px}
.asset-table th:nth-child(9),.asset-table td:nth-child(9){width:80px}
.asset-table th:nth-child(10),.asset-table td:nth-child(10){width:75px}
.asset-table th:nth-child(11),.asset-table td:nth-child(11){width:115px}
.asset-table th:nth-child(12),.asset-table td:nth-child(12){width:120px}
.asset-pagination{min-height:54px;padding:9px 12px;display:flex;align-items:center;justify-content:flex-end;gap:18px;border-top:1px solid var(--line);background:#fbfdff}
.asset-pagination label{display:flex;align-items:center;gap:7px;color:var(--muted)}
.asset-pagination select,.asset-pagination button{height:34px;padding:0 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink)}
.asset-pagination div{display:flex;gap:7px}
.asset-pagination button{cursor:pointer;font-weight:700}
.asset-pagination button:disabled{cursor:not-allowed;opacity:.45}
.asset-pending{color:var(--orange);font-weight:700}
.asset-field-coverage .dense-table{max-height:none;overflow:visible}
.asset-field-coverage table{min-width:900px}
.asset-field-coverage td:first-child small{display:block;margin-top:2px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-weight:500}
.asset-priority{display:inline-flex;min-width:30px;justify-content:center;padding:2px 7px;border-radius:999px;font-weight:800}
.asset-priority.p0{background:#ffe4e4;color:#a61b1b}
.asset-priority.p1{background:#fff1cf;color:#9a6200}
.realtime-table table{table-layout:fixed;min-width:1050px}
.realtime-table th:nth-child(1){width:220px}.realtime-table th:nth-child(2){width:125px}.realtime-table th:nth-child(3){width:76px}
.realtime-table th:nth-child(4),.realtime-table th:nth-child(5),.realtime-table th:nth-child(6){width:54px}
.realtime-table th:nth-child(7){width:118px}.realtime-table th:nth-child(8){width:62px}.realtime-table th:nth-child(9){width:44px}.realtime-table th:nth-child(10){width:52px}.realtime-table th:nth-child(11){width:137px}
.realtime-table th:nth-child(4),.realtime-table th:nth-child(5),.realtime-table th:nth-child(6),.realtime-table th:nth-child(9){padding-left:7px;padding-right:7px}
.realtime-table td:first-child{overflow-wrap:anywhere;word-break:break-word}.realtime-table td:nth-child(2){overflow-wrap:anywhere}
.realtime-table td:nth-child(7),.realtime-table td:nth-child(8),.realtime-table td:nth-child(9),.realtime-table td:nth-child(10),.realtime-table td:nth-child(11){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.realtime-history{padding:0;overflow:hidden}.realtime-history>header{min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.realtime-history>header h2{margin:0}.realtime-history>header h2 span,.realtime-history>header small{color:var(--muted);font-weight:500}
.history-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px}.history-kpis .data-kpi{min-height:92px}
.realtime-history .dense-table{max-height:360px;overflow:auto}.realtime-history table{width:100%;border-collapse:collapse}
.realtime-history th,.realtime-history td{padding:7px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left}
.realtime-split{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(300px,.85fr);gap:10px;align-items:start}
.realtime-current{min-width:0;max-width:100%;display:grid;gap:10px;overflow:hidden}
.split-column-title{margin:0;padding:2px 2px 0;font-size:17px;color:var(--ink)}
.realtime-current .module-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.realtime-current .module-kpis .data-kpi{min-height:56px;padding:7px 9px 6px}
.realtime-current .module-kpis .data-kpi>span{font-size:10px}
.realtime-current .module-kpis .data-kpi strong{font-size:21px;line-height:1.05}
.realtime-current .module-kpis .data-kpi p{margin-top:3px;font-size:9px}
.realtime-current .module-table .dense-table{max-height:515px}
.realtime-current .module-table{min-width:0;width:100%;max-width:100%}
.realtime-current .module-table .dense-table{width:100%;max-width:100%;overflow-x:auto;overflow-y:auto}
.realtime-split>.realtime-history{min-width:0;margin-top:0}
.realtime-split .history-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px}
.realtime-split .history-kpis .data-kpi{min-height:56px;padding:7px 9px 6px}
.realtime-split .history-kpis .data-kpi>span{font-size:10px}
.realtime-split .history-kpis .data-kpi strong{font-size:21px;line-height:1.05}
.realtime-split .history-kpis .data-kpi p{margin-top:3px;font-size:9px}
.realtime-split .realtime-history .dense-table{max-height:515px}
.realtime-dashboard{display:grid;gap:10px;min-width:0}
.realtime-summary-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);gap:10px;align-items:stretch}
.realtime-current-summary,.realtime-history-summary{min-width:0;padding:0}
.realtime-current-summary>header,.realtime-history-summary>header{height:40px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.realtime-current-summary>header h2,.realtime-history-summary>header h2{margin:0;font-size:13px}
.realtime-current-summary>header small,.realtime-history-summary>header small{color:var(--muted);font-size:9px}
.realtime-current-summary .module-kpis{grid-template-columns:repeat(12,minmax(0,1fr));gap:1px;padding:7px;background:#e7edf5}
.realtime-current-summary .module-kpis .data-kpi:nth-child(-n+4){grid-column:span 3}
.realtime-current-summary .module-kpis .data-kpi:nth-child(n+5){grid-column:span 4}
.realtime-current-summary .module-kpis .data-kpi,.realtime-history-summary .history-kpis .data-kpi{min-height:48px;padding:6px 9px 5px;border:0;border-radius:0;background:#fbfdff}
.realtime-current-summary .module-kpis .data-kpi.success,.realtime-history-summary .history-kpis .data-kpi.success{background:#f6fbf8}
.realtime-current-summary .module-kpis .data-kpi.blue,.realtime-history-summary .history-kpis .data-kpi.blue{background:#f7faff}
.realtime-current-summary .data-kpi>span,.realtime-history-summary .data-kpi>span{min-height:12px;font-size:9px;line-height:1.1}
.realtime-current-summary .data-kpi>strong,.realtime-history-summary .data-kpi>strong{margin-top:3px;font-size:20px;line-height:1.05}
.realtime-current-summary .data-kpi>p,.realtime-history-summary .data-kpi>p{min-height:10px;margin-top:3px;font-size:8.5px}
.realtime-history-summary .history-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:7px;background:#e7edf5}
.realtime-dashboard>.realtime-table .dense-table{max-height:390px}
.history-daily-table{min-width:0}
.history-daily-table .dense-table{max-height:300px;overflow:auto}
.history-daily-table table{table-layout:fixed;min-width:0}
.history-daily-table th,.history-daily-table td{padding:6px 12px}
.history-daily-table thead th{position:sticky;top:0;z-index:2;background:#f4f8fd;box-shadow:0 1px 0 var(--line)}
.history-daily-table tfoot th,.history-daily-table tfoot td{position:sticky;bottom:0;z-index:1;background:#eef6ff;border-top:2px solid #9fc4ef;color:#12335f;font-weight:700}
.history-daily-table tfoot small{display:block;margin-top:2px;color:#55708f;font-size:8px;font-weight:500;line-height:1.1}
[data-report-date]{cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.report-combo [data-report-date]:hover,.batch-report [data-report-date]:hover{background:#edf9f2!important;color:#078447}
.report-combo .selected-date,.batch-report .selected-date{background:#e3f6eb!important;color:#087b43;box-shadow:none}

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; border-radius: 7px; padding: 10px 16px; color: #fff; background: #092b62; box-shadow: 0 12px 30px rgba(0, 28, 78, .25); transition: .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.modal-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(4, 19, 47, .38); backdrop-filter: blur(3px); }
.modal { width: 440px; max-width: calc(100vw - 40px); border-radius: 10px; background: #fff; box-shadow: 0 24px 80px rgba(0, 24, 70, .26); overflow: hidden; }
.modal > header { height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal > header h2 { margin: 0; font-size: 16px; }
.modal > header button { border: 0; background: transparent; cursor: pointer; }
.modal-body { padding: 18px; }
.modal > footer { padding: 12px 18px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); }
.button { height: 36px; border-radius: 5px; padding: 0 18px; cursor: pointer; }
.button.primary { border: 1px solid var(--blue); color: #fff; background: var(--blue); }
.button.secondary { border: 1px solid var(--line); background: #fff; }
.filter-modal { display: grid; gap: 14px; }
.filter-modal label { display: grid; gap: 6px; font-weight: 700; }
.filter-modal select, .filter-modal input { height: 38px; border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: 0 10px; }
.filter-modal p { margin: 0; color: var(--muted); font-size: 10px; }
.status-modal { display: grid; gap: 8px; }
.status-modal p { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 5px; display: flex; justify-content: space-between; }
.status-modal p b { color: var(--green); }
.status-modal p b.warn { color: var(--orange); }
.status-modal small { color: var(--muted); }
.detail-modal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-modal button { min-height: 58px; border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 8px; display: grid; text-align: left; cursor: pointer; }
.detail-modal button:hover { border-color: var(--blue); background: var(--blue-soft); }
.detail-modal button span { color: var(--muted); }
.boot-screen, .load-error { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 9px; color: var(--muted); }
.boot-mark { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 900; font-size: 18px; }
.boot-screen strong { color: var(--ink); }
.load-error button { margin-top: 8px; border: 0; border-radius: 5px; background: var(--blue); color: #fff; padding: 9px 16px; }

/* Comparison capture only; not used by the normal preview. */
html.qa-capture,
html.qa-capture body,
html.qa-capture #app {
  width: var(--qa-logical-width);
  min-width: var(--qa-logical-width);
  max-width: var(--qa-logical-width);
}

@media (max-width: 1280px) {
  html, body { min-width: 1024px; }
  .app-shell { grid-template-columns: 158px minmax(0,1fr); }
  .sidebar { padding-left: 7px; padding-right: 7px; }
  .topbar { gap: 8px; padding-inline: 12px; }
  .topbar h1 { font-size: 15px; }
  .top-actions .date-pill { display: none; }
  .overview-body, .daily-body { padding-inline: 12px; }
  .overview-grid { grid-template-columns: 1.2fr 1fr 1fr 2.5fr 1.35fr; gap: 8px; }
  .programs-grid { gap: 8px; }
  .program-stat-row > div { padding-inline: 5px; }
  .priority-rail { padding-inline: 7px; }
  .module-head{grid-template-columns:minmax(0,1fr) 430px}
}

@media (max-width: 820px) {
  html, body { min-width: 0; }
  .app-shell { display: block; }
  .sidebar { position: fixed; left: -180px; width: 172px; transition: left .2s; }
  .sidebar.open { left: 0; }
  .mobile-menu { display: inline-flex; border: 0; background: transparent; }
  .topbar { height: auto; min-height: 54px; flex-wrap: wrap; padding: 8px 12px; }
  .topbar h1 { width: calc(100% - 44px); white-space: normal; }
  .daily-seo-reminder { margin: 8px 12px 0; align-items: flex-start; }
  .daily-seo-reminder button { align-self: center; font-size: 0; padding: 0 8px; }
  .daily-seo-reminder button .icon { width: 16px; height: 16px; }
  .health-alarm { margin: 8px 12px 0; align-items: flex-start; }
  .health-alarm button { align-self: center; font-size: 0; padding: 0 8px; }
  .health-alarm button .icon { width: 16px; height: 16px; }
  .scope-tabs { order: 4; width: 100%; }
  .scope-tabs button { flex: 1; }
  .top-actions { width: 100%; }
  .top-actions > button { flex: 1; justify-content: center; }
  .overview-grid, .daily-kpis .kpi-grid { grid-template-columns: 1fr 1fr; }
  .search-kpi, .alert-kpi { grid-column: span 2; }
  .overview-main { display: block; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-panel { height: auto; min-height: 447px; margin-bottom: 10px; }
  .priority-rail { display: none; }
  .module-head{grid-template-columns:1fr}
  .module-head dl{padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:10px}
  .module-kpis{grid-template-columns:1fr 1fr}
  .realtime-split{grid-template-columns:1fr}
  .realtime-current .module-kpis{grid-template-columns:1fr 1fr}
  .realtime-summary-grid{grid-template-columns:1fr}
  .realtime-current-summary .module-kpis{grid-template-columns:1fr 1fr}
  .batch-strip { height: auto; }
  .batch-strip > div { grid-template-columns: repeat(2,1fr); }
  .report-chart-body { grid-template-columns: 1fr; }
  .report-chart-body aside { display: none; }
  .metric-toolbar { overflow-x: auto; }
  .metric-toolbar .date-range-control { display: none; }
}

/* SEO diagnostic and growth system — evidence-first, full-page workspace. */
.seo-growth-page,.seo-detail-page{width:1325px;padding:12px 18px 26px;display:grid;gap:12px;align-content:start}
.seo-growth-hero{min-height:104px;padding:17px 20px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:center;border-left:4px solid #075ff5}
.seo-growth-hero .eyebrow{display:block;margin-bottom:6px;color:#075ff5;font-size:10px;font-weight:800;letter-spacing:.08em}
.seo-growth-hero h2{margin:0 0 7px;font-size:21px}.seo-growth-hero p{max-width:780px;margin:0;color:#586b89;font-size:11px;line-height:1.55}
.source-guardrail{padding:12px 14px;border:1px solid #efd2a5;border-radius:5px;background:#fff9ef;display:grid;gap:4px}.source-guardrail b{color:#a54d00;font-size:12px}.source-guardrail span{font-weight:700}.source-guardrail small{color:#7b6247}
.seo-growth-kpis{height:108px;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.seo-growth-kpis .data-kpi{min-width:0;height:108px;padding:12px 10px;overflow:hidden}.seo-growth-kpis .data-kpi>span{font-size:10px;white-space:nowrap}.seo-growth-kpis .data-kpi>strong{font-size:24px}.seo-growth-kpis .data-kpi>p{font-size:9px;line-height:1.35}
.seo-measured-summary{padding:12px 14px}.seo-measured-summary>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.seo-measured-summary>header h2{margin:0 0 3px}.seo-measured-summary>header p{margin:0;color:#64758d;font-size:9px}.seo-measured-summary>header>span{padding:4px 9px;border-radius:999px;background:#eaf2ff;color:#1769e0;font-size:10px;font-weight:800}.seo-measured-grid{display:grid;grid-template-columns:1.45fr repeat(5,minmax(0,1fr));gap:7px}.seo-measured-grid article{min-width:0;padding:9px 10px;border:1px solid #dce5ef;border-radius:8px;background:#f9fbfe}.seo-measured-grid article>span,.seo-measured-grid article>b,.seo-measured-grid article>small{display:block}.seo-measured-grid article>span{color:#64758d;font-size:9px;font-weight:700}.seo-measured-grid article>b{margin:4px 0;font-size:11px}.seo-measured-grid article>small{color:#718096;font-size:8px;line-height:1.35}
.seo-repair-queue{padding:12px 14px}.seo-repair-queue>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.seo-repair-queue>header h2{margin:0 0 3px}.seo-repair-queue>header p{margin:0;color:#64758d;font-size:9px;line-height:1.45}.seo-repair-queue>header>span{flex:0 0 auto;padding:4px 9px;border-radius:999px;background:#fff3e8;color:#d75b00;font-size:10px;font-weight:800}.seo-repair-queue-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}.seo-repair-queue-kpis article{min-width:0;padding:9px 10px;border:1px solid #dce5ef;border-radius:8px;background:#f9fbfe}.seo-repair-queue-kpis span,.seo-repair-queue-kpis b,.seo-repair-queue-kpis small{display:block}.seo-repair-queue-kpis span{color:#64758d;font-size:9px;font-weight:700}.seo-repair-queue-kpis b{margin:3px 0;font-size:14px;color:#10274a}.seo-repair-queue-kpis small{color:#718096;font-size:8px;line-height:1.35}.seo-repair-rule-strip{display:flex;gap:6px;overflow-x:auto;padding:0 0 9px}.seo-repair-rule-strip span{flex:0 0 auto;padding:5px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64758d;font-size:8px}.seo-repair-rule-strip b{margin-right:5px;color:#243b64}.seo-repair-queue-table{max-height:430px;overflow:auto;border:1px solid #dce5ef;border-radius:8px}.seo-repair-queue-table table{min-width:1080px}.seo-repair-queue-table th,.seo-repair-queue-table td{padding:8px 9px}.seo-repair-queue-table td small{display:block;margin-top:3px;color:#718096;font-size:8px;line-height:1.35}.repair-rank{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#eef4ff;color:#1769e0}.seo-repair-queue>footer{padding-top:8px;color:#718096;font-size:8px}
.seo-stage-overview,.seo-stage-detail{padding:13px 16px}.seo-stage-overview>header,.seo-stage-detail>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.seo-stage-overview>header h2{margin:0}.seo-stage-overview>header span,.seo-stage-detail>header span{color:#61718a;font-size:10px}
.seo-stage-rail{position:relative;display:grid;grid-template-columns:repeat(7,1fr);margin:0;padding:0;list-style:none}.seo-stage-rail:before{content:"";position:absolute;left:6.5%;right:6.5%;top:15px;height:2px;background:#d8e2ee}.seo-stage-rail li{position:relative;z-index:1;display:grid;justify-items:center;gap:6px;color:#718096}.seo-stage-rail li span{width:32px;height:32px;border:2px solid #cbd7e5;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:10px;font-weight:800}.seo-stage-rail li b{font-size:10px}.seo-stage-rail li.complete span{border-color:#07944f;background:#eaf8f1;color:#067b43}.seo-stage-rail li.active span{border-color:#075ff5;background:#075ff5;color:#fff;box-shadow:0 0 0 4px #e8f0ff}.seo-stage-rail li.active b{color:#075ff5}
.seo-growth-filterbar{min-height:58px;padding:10px;display:grid;grid-template-columns:230px repeat(4,minmax(112px,1fr));gap:8px;align-items:center;border:1px solid #d4e0ed;border-radius:5px;background:#fff}.seo-growth-filterbar label{height:36px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #cedbea;border-radius:4px}.seo-growth-filterbar label .icon{width:15px}.seo-growth-filterbar input{width:100%;border:0;outline:0;font:inherit}.seo-growth-filterbar select,.seo-growth-filterbar button,.seo-pagination select,.seo-pagination button{height:36px;border:1px solid #cedbea;border-radius:4px;background:#fff;color:#173661;font:inherit;padding:0 9px}.seo-growth-filterbar .seo-score-sort{border-color:#9dbcf0;background:#f3f7ff;color:#075ff5;font-weight:800}
.seo-portfolio-table{overflow:hidden}.seo-portfolio-table>header{height:56px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce5ef}.seo-portfolio-table>header h2{margin:0 0 3px}.seo-portfolio-table>header p{margin:0;color:#64758d;font-size:9px}.seo-portfolio-table>header button{height:34px;display:flex;align-items:center;gap:6px}.seo-portfolio-table>header .icon{width:14px}
.seo-portfolio-table .dense-table{width:100%;overflow-x:hidden}
.seo-portfolio-table table{width:100%;min-width:0;table-layout:fixed}
.seo-portfolio-table th,.seo-portfolio-table td{height:auto;min-height:64px;padding:8px 6px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.seo-portfolio-table th:nth-child(1){width:13.5%}.seo-portfolio-table th:nth-child(2){width:5.5%}.seo-portfolio-table th:nth-child(3){width:6.5%}.seo-portfolio-table th:nth-child(4){width:6%}.seo-portfolio-table th:nth-child(5){width:8%}.seo-portfolio-table th:nth-child(6){width:5%}.seo-portfolio-table th:nth-child(7){width:6.5%}.seo-portfolio-table th:nth-child(8){width:15.5%}.seo-portfolio-table th:nth-child(9){width:8%}.seo-portfolio-table th:nth-child(10){width:15.5%}.seo-portfolio-table th:nth-child(11){width:6.5%}.seo-portfolio-table th:nth-child(12){width:7.5%}
.seo-portfolio-table td>b,.seo-portfolio-table td>small{display:block}.seo-portfolio-table td>small{margin-top:3px;color:#718096}.seo-portfolio-table td:nth-child(8)>b,.seo-portfolio-table td:nth-child(10)>b{font-size:9px;line-height:1.45}.seo-portfolio-table td:nth-child(9){text-align:center}.seo-portfolio-table .seo-task-pill{margin:2px 1px;padding:2px 4px}.seo-portfolio-table .table-link{width:100%;height:auto!important;min-height:32px;white-space:normal;line-height:1.25}.seo-portfolio-table tbody tr:hover td{background:#f6f9fe}
.seo-stage-badge{display:inline-grid;min-width:38px;height:25px;padding:0 8px;place-items:center;border-radius:13px;background:#e9eff7;color:#34506f;font-weight:800}.seo-stage-badge.s0{background:#fff2df;color:#a65100}.seo-stage-badge.s1,.seo-stage-badge.s2{background:#e9f1ff;color:#075ff5}.seo-stage-badge.s3,.seo-stage-badge.s4{background:#e7f8f0;color:#07844a}.seo-stage-badge.s5,.seo-stage-badge.s6{background:#ebf7ff;color:#006c9d}.seo-score{font-size:18px}.mini-progress{width:88px;height:4px;margin-top:6px;display:block;border-radius:3px;background:#e5ebf2}.mini-progress i{display:block;height:100%;border-radius:3px;background:#f26a00}
.confidence-badge{display:inline-grid;width:29px;height:29px;place-items:center;border-radius:50%;font-weight:900}.grade-a{color:#067a43}.confidence-badge.grade-a{background:#e6f7ef}.grade-b{color:#075ff5}.confidence-badge.grade-b{background:#e8f0ff}.grade-c{color:#a65b00}.confidence-badge.grade-c{background:#fff4df}.grade-d{color:#c9292e}.confidence-badge.grade-d{background:#ffe8e9}
.priority-label{display:inline-block;min-width:29px;margin-right:6px;padding:3px 5px;border-radius:10px;text-align:center;font-size:9px;font-weight:800}.priority-label.p0,.seo-task-pill.p0{background:#ffe4e5;color:#c82027}.priority-label.p1,.seo-task-pill.p1{background:#fff0dd;color:#b75400}.priority-label.p2,.seo-task-pill.p2{background:#eaf1ff;color:#0755d8}.seo-task-pill{display:inline-block;margin:2px 2px 2px 0;padding:2px 5px;border-radius:9px;font-size:8px;font-weight:800}.table-link{height:30px!important;padding:0 9px!important;border-color:#bfd4f4!important;color:#075ff5!important;background:#f4f8ff!important;font-weight:700}.evaluation-status{display:inline-block;padding:3px 7px;border-radius:10px;font-weight:700}.evaluation-status.provisional{background:#fff2df;color:#a65100}.evaluation-status.measured{background:#e4f8ec;color:#087a43}.evaluation-status.stale{background:#f0f2f5;color:#687386}
.seo-pagination{height:52px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce5ef}.seo-pagination>div{display:flex;gap:7px}.seo-pagination button:disabled{opacity:.4}.seo-method-note{padding:9px 12px;border:1px solid #efd2a5;border-radius:4px;background:#fff9ef;color:#725638;font-size:10px}
.seo-back{width:max-content;height:34px;padding:0 12px;border:1px solid #cedbea;border-radius:4px;background:#fff;color:#173661;font-weight:700}.seo-detail-header{min-height:130px;padding:16px 18px;display:grid;grid-template-columns:330px minmax(0,1fr) 215px;gap:20px;align-items:center;border-top:3px solid #075ff5}.site-identity{display:flex;align-items:center;gap:13px}.site-identity .seo-stage-badge{width:52px;height:52px;border-radius:7px;font-size:17px}.site-identity h2{margin:0 0 6px;font-size:19px}.site-identity p{margin:0;color:#62738d}.site-identity a{color:#075ff5}
.seo-detail-metrics{display:grid;grid-template-columns:1.2fr 1fr .7fr 1fr 1.45fr}.seo-detail-metrics p{min-height:76px;margin:0;padding:7px 12px;border-left:1px solid #e0e7ef;display:grid;align-content:center;gap:5px}.seo-detail-metrics p>span{color:#65758d;font-size:9px}.seo-detail-metrics p>b{font-size:23px}.seo-detail-metrics p b small{display:block;margin-top:4px;color:#718096;font-size:8px}.seo-detail-metrics .seo-task-pill{font-size:7px}.seo-header-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:7px}.seo-header-actions button{height:38px}.seo-header-actions small{grid-column:1/-1;color:#718096;text-align:right}.seo-stage-detail>header b{font-size:13px}
.seo-detail-tabs{height:44px;display:flex;align-items:end;border-bottom:1px solid #cfdbe8}.seo-detail-tabs button{height:39px;padding:0 20px;border:0;border-bottom:3px solid transparent;background:transparent;color:#5c6e89;font-weight:700}.seo-detail-tabs button.active{border-bottom-color:#075ff5;color:#075ff5}
.seo-detail-overview{display:grid;gap:12px}.seo-dimension-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:7px}.seo-dimension-grid article{min-height:109px;padding:11px 9px;border:1px solid #d4e0ed;border-radius:4px;background:#fff}.seo-dimension-grid header{display:grid;gap:5px}.seo-dimension-grid header b{min-height:29px;font-size:10px}.seo-dimension-grid header span{font-size:13px;font-weight:800}.dimension-score-bar{height:6px;margin:10px 0 8px;border-radius:3px;background:#e7edf4}.dimension-score-bar i{display:block;height:100%;border-radius:3px;background:#075ff5}.seo-dimension-grid p{margin:0;color:#6a7b93;font-size:8px}.seo-dimension-grid .partial{color:#a85a00}.seo-dimension-grid .unknown{color:#c22c32}
.seo-decision-grid{display:grid;grid-template-columns:1.2fr 1.2fr 1fr .9fr;gap:8px}.seo-decision-grid article{min-height:132px;padding:13px 14px;border:1px solid #d4e0ed;border-radius:4px;background:#fff}.seo-decision-grid article>span{display:block;margin-bottom:8px;color:#65758d;font-size:9px;font-weight:700}.seo-decision-grid article>b{font-size:12px}.seo-decision-grid article p{margin:8px 0 0;color:#5e708b;line-height:1.5}.seo-decision-grid article.issue{border-left:3px solid #f26a00}.seo-decision-grid article.next{border-left:3px solid #075ff5}.seo-decision-grid article.gate{border-left:3px solid #07944f}.seo-decision-grid article.freshness{border-left:3px solid #7a8799}.seo-decision-grid article i{margin-right:7px;padding:2px 5px;border-radius:8px;background:#fff0dd;color:#a64b00;font-style:normal}.seo-decision-grid ul{margin:0;padding-left:16px;line-height:1.55}
.seo-tasks-detail,.seo-sources,.seo-rules,.seo-history{overflow:hidden}.seo-tasks-detail>header,.seo-sources>header,.seo-rules>header,.seo-history>header{height:48px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce5ef}.seo-tasks-detail>header h2,.seo-sources>header h2,.seo-rules>header h2,.seo-history>header h2{margin:0}.seo-tasks-detail>header button{height:33px}.seo-tasks-detail>header .icon{width:14px}
.seo-issue-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:11px}.seo-issue-list article{min-height:80px;padding:10px;display:flex;align-items:start;border:1px solid #e1e8f0;border-radius:4px}.seo-issue-list b{font-size:11px}.seo-issue-list p{margin:5px 0;color:#5f708a;line-height:1.45}.seo-issue-list small{color:#7a8799}.repair-progress-note{min-height:38px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce5ef;background:#f6f9fe}.repair-progress-note b{color:#075ff5}.repair-progress-note span{color:#63758e;font-size:9px}.seo-tasks-detail .dense-table{overflow-x:auto}.seo-tasks-detail table{min-width:1280px;table-layout:fixed}.seo-tasks-detail th,.seo-tasks-detail td{height:48px}.seo-tasks-detail th:nth-child(1){width:68px}.seo-tasks-detail th:nth-child(2){width:190px}.seo-tasks-detail th:nth-child(3){width:150px}.seo-tasks-detail th:nth-child(4){width:145px}.seo-tasks-detail th:nth-child(5){width:170px}.seo-tasks-detail th:nth-child(6){width:230px}.seo-tasks-detail th:nth-child(7){width:150px}.seo-tasks-detail th:nth-child(8){width:135px}.repair-task-button{min-width:110px}.repair-status{display:inline-block;padding:3px 7px;border-radius:10px;font-size:9px;font-weight:800}.repair-status.awaiting_approval{background:#fff0dd;color:#ad5200}.repair-status.approved_for_execution{background:#eaf1ff;color:#0755d8}.repair-status.executing,.repair-status.awaiting_review{background:#eaf5ff;color:#0874a4}.repair-status.completed{background:#e6f7ef;color:#067a43}.repair-status.review_failed,.repair-status.hold{background:#ffe8e9;color:#c9292e}
.modal:has(.site-repair-modal){width:760px}.site-repair-modal{display:grid;gap:12px}.repair-scope-guard{padding:11px 12px;display:flex;align-items:center;justify-content:space-between;border:1px solid #9fc1f4;border-left:4px solid #075ff5;border-radius:5px;background:#f4f8ff}.repair-scope-guard b{color:#075ff5}.repair-scope-guard span{color:#59708f;font-size:10px}.site-repair-modal dl{margin:0;display:grid;grid-template-columns:115px 1fr;border:1px solid #dce5ef;border-radius:5px;overflow:hidden}.site-repair-modal dt,.site-repair-modal dd{margin:0;padding:9px 11px;border-bottom:1px solid #e3eaf2}.site-repair-modal dt{background:#f7f9fc;color:#60728d;font-weight:800}.site-repair-modal dd{color:#173661}.site-repair-modal section{padding:11px;border:1px solid #dce5ef;border-radius:5px}.site-repair-modal section h3{margin:0 0 8px}.site-repair-modal section p{margin:0;padding:7px 0;display:grid;grid-template-columns:120px 1fr 1.5fr;gap:8px;border-top:1px solid #edf1f6}.site-repair-modal section p:first-of-type{border-top:0}.site-repair-modal section small{color:#718096}.repair-order-state{padding:10px 12px;display:grid;grid-template-columns:1fr auto;gap:4px 12px;border-radius:5px;background:#f6f9fe}.repair-order-state b{color:#075ff5}.repair-order-state small{grid-column:1/-1;color:#718096}.repair-draft-note{margin:0;padding:9px 11px;border-radius:5px;background:#fff8eb;color:#8d5500;font-weight:700}
.seo-sources>div{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:12px}.seo-sources article{min-height:122px;padding:11px;border:1px solid #dbe4ed;border-radius:4px;display:grid;align-content:start;gap:5px}.seo-sources article.available{border-top:3px solid #07944f}.seo-sources article.excluded{border-top:3px solid #7a8799}.seo-sources article.missing,.seo-sources article.error{border-top:3px solid #ef4b50}.seo-sources article div{display:grid;gap:3px}.seo-sources article span,.seo-sources article p,.seo-sources article small{color:#6c7d94;font-size:8px}.seo-sources article p{margin:2px 0}.seo-sources article strong{font-size:10px}
.seo-rules .dense-table{max-height:720px;overflow:auto}.seo-rules table{min-width:1250px;table-layout:fixed}.seo-rules th,.seo-rules td{height:50px}.seo-rules th:nth-child(1){width:200px}.seo-rules th:nth-child(2){width:80px}.seo-rules th:nth-child(3){width:80px}.seo-rules th:nth-child(4){width:170px}.seo-rules th:nth-child(5){width:300px}.seo-rules th:nth-child(6){width:250px}.seo-rules th:nth-child(7){width:110px}.seo-rules td small{display:block;margin-top:3px;color:#77869a}.rule-status{display:inline-block;padding:3px 7px;border-radius:9px;font-weight:700}.rule-status.pass{background:#e6f7ef;color:#067a43}.rule-status.fail{background:#ffe8e9;color:#c9292e}.rule-status.unknown{background:#fff1dd;color:#a65100}
.history-baseline{margin:18px;padding:18px;border-left:3px solid #075ff5;background:#f6f9fe}.history-baseline span{color:#62738d}.history-baseline b{display:block;margin:8px 0;font-size:17px}.history-baseline p{margin:0;color:#61728a}
/* SEO AI Team V1 — compact command ledger.
   This module reuses the cockpit shell while keeping AI state, evidence and
   human control visibly distinct from production operating data. */
.team-workspace {
  min-width: 0;
}

.team-company-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #cbd9ef;
  border-radius: 8px;
  background: #f7faff;
  color: #17345f;
}

.team-company-pill span {
  color: #667a99;
  font-size: 11px;
}

.team-company-pill b {
  overflow: hidden;
  max-width: 220px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-company-pill em {
  padding: 3px 7px;
  border: 1px solid #f0b34e;
  border-radius: 999px;
  background: #fff7e7;
  color: #9a5a00;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
}

.team-page {
  --team-ink: #10284d;
  --team-muted: #687b98;
  --team-line: #d4deec;
  --team-surface: #fff;
  --team-surface-2: #f5f8fc;
  --team-accent: #0b67e8;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px 32px;
  color: var(--team-ink);
}

.team-safety-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px;
  border: 1px solid #e7bf6b;
  border-left: 5px solid #e7a526;
  border-radius: 8px;
  background: #fff9eb;
}

.team-safety-banner > div {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.team-safety-banner b {
  font-size: 14px;
}

.team-safety-banner em {
  color: #9c6109;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-style: normal;
}

.team-safety-banner p {
  margin: 0;
  color: #725525;
  font-size: 12px;
  text-align: right;
}

.team-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e09a16;
  box-shadow: 0 0 0 4px #f8e5b8;
}

.team-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 5px;
  border: 1px solid var(--team-line);
  border-radius: 9px;
  background: var(--team-surface);
  scrollbar-width: thin;
}

.team-tabs button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #516683;
  font-weight: 700;
  cursor: pointer;
}

.team-tabs button:hover,
.team-tabs button:focus-visible {
  background: #edf4ff;
  color: #0b57be;
}

.team-tabs button.active {
  background: #0b5fd7;
  color: #fff;
  box-shadow: 0 2px 7px rgba(11, 95, 215, .22);
}

.team-tabs button:focus-visible,
.team-panel button:focus-visible {
  outline: 3px solid rgba(11, 103, 232, .28);
  outline-offset: 2px;
}

.team-mission-card,
.team-panel,
.team-role-cards > article,
.team-memory-list > article,
.team-decision-cards > article,
.team-approval-list > article,
.team-report-grid > article,
.team-settings-grid > article,
.team-table-card {
  border: 1px solid var(--team-line);
  border-radius: 9px;
  background: var(--team-surface);
  box-shadow: 0 1px 2px rgba(25, 50, 85, .04);
}

.team-mission-card {
  overflow: hidden;
  border-top: 4px solid var(--team-accent);
}

.team-mission-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px 11px;
}

.team-mission-card header span,
.team-panel header span,
.team-section-head span {
  color: #0c66dc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.team-mission-card h2,
.team-panel h2,
.team-section-head h2 {
  margin: 4px 0 5px;
  color: #0d274d;
}

.team-mission-card h2 {
  font-size: 20px;
}

.team-mission-card p,
.team-section-head p {
  margin: 0;
  color: var(--team-muted);
  font-size: 12px;
  line-height: 1.6;
}

.team-mission-progress {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 17px 13px;
}

.team-mission-progress > div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.team-mission-progress > div span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0b67e8;
}

.team-mission-progress b {
  font-size: 13px;
}

.team-mission-progress em {
  color: var(--team-muted);
  font-size: 11px;
  font-style: normal;
}

.team-mission-card > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 10px 17px;
  border-top: 1px solid var(--team-line);
  background: var(--team-surface-2);
  color: #526885;
  font-size: 11px;
}

.team-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.team-kpi {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--team-line);
  border-top: 3px solid #79a7e8;
  border-radius: 8px;
  background: #fff;
}

.team-kpi.green { border-top-color: #2daf6f; }
.team-kpi.amber { border-top-color: #e2a32b; }
.team-kpi.red { border-top-color: #d65353; }

.team-kpi > span {
  color: #5f7290;
  font-size: 11px;
  font-weight: 700;
}

.team-kpi strong {
  display: block;
  margin: 5px 0 1px;
  color: #0d2e5e;
  font-size: 24px;
  line-height: 1.1;
}

.team-kpi p {
  overflow-wrap: anywhere;
  margin: 0;
  color: #7b8ba4;
  font-size: 10px;
}

.team-grid {
  display: grid;
  gap: 12px;
}

.team-grid-main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-panel {
  min-width: 0;
  overflow: hidden;
}

.team-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--team-line);
}

.team-panel h2 {
  font-size: 15px;
}

.team-panel button {
  border: 0;
  background: transparent;
  color: #0b60d2;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.team-role-list > div,
.team-decision-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #e5ebf4;
}

.team-role-list > div:last-child,
.team-decision-list > div:last-child {
  border-bottom: 0;
}

.team-role-list p,
.team-decision-list p {
  min-width: 0;
  margin: 0;
}

.team-role-list b,
.team-decision-list b {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.team-role-list small,
.team-decision-list small {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 2px;
  color: var(--team-muted);
  font-size: 10px;
}

.team-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #bcd4f6;
  border-radius: 7px;
  background: #edf5ff;
  color: #075cc9;
  font-weight: 900;
}

.team-avatar.large {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

.team-priority,
.team-risk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 3px 6px;
  border-radius: 5px;
  background: #edf3fc;
  color: #37577f;
  font-size: 10px;
  font-weight: 900;
}

.team-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef2f7;
  color: #53647a;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.team-status.success { background: #e2f7eb; color: #117245; }
.team-status.warning { background: #fff0d7; color: #9d5d08; }
.team-status.danger { background: #fee4e4; color: #b42f35; }

.team-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.team-table-card {
  overflow-x: auto;
}

.team-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: auto;
}

.team-table th,
.team-table td {
  padding: 9px 10px;
  border-right: 1px solid #e0e7f1;
  border-bottom: 1px solid #dbe4f0;
  color: #19365e;
  font-size: 10px;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}

.team-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf3fb;
  color: #4b6282;
  font-weight: 900;
}

.team-table td small {
  display: block;
  margin-top: 2px;
  color: #72839c;
}

.team-table code,
.team-role-cards code,
.team-memory-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.team-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 2px;
}

.team-section-head h2 {
  font-size: 19px;
}

.team-section-head > em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #c5d6ed;
  border-radius: 6px;
  background: #f2f7fd;
  color: #3c5d84;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.team-role-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-role-cards > article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.team-role-cards article > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-bottom: 1px solid var(--team-line);
}

.team-role-cards h3,
.team-memory-list h3,
.team-decision-cards h3,
.team-approval-list h3,
.team-report-grid h3,
.team-settings-grid h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #132f57;
  font-size: 14px;
}

.team-role-cards header p {
  overflow-wrap: anywhere;
  margin: 2px 0 0;
  color: var(--team-muted);
  font-size: 9px;
}

.team-role-cards article > section,
.team-role-cards details {
  padding: 10px 13px;
  border-bottom: 1px solid #e5ebf4;
  color: #536781;
  font-size: 10px;
}

.team-role-cards ul {
  margin: 7px 0 0 16px;
  padding: 0;
}

.team-role-cards li {
  margin: 3px 0;
  line-height: 1.45;
}

.team-role-cards summary {
  color: #214975;
  font-weight: 800;
  cursor: pointer;
}

.team-role-cards article > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: auto;
  padding: 10px 13px;
  background: #f7f9fc;
  color: #62748e;
  font-size: 9px;
}

.team-memory-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid #cbd9ea;
  border-radius: 8px;
  background: #f4f8fd;
  font-size: 10px;
}

.team-memory-policy b { color: #173b69; }
.team-memory-policy span { color: #596f8d; }

.team-memory-list,
.team-decision-cards,
.team-approval-list {
  display: grid;
  gap: 10px;
}

.team-memory-list > article {
  position: relative;
  overflow: hidden;
  padding: 13px 15px 11px 18px;
}

.team-memory-line {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #347fdf;
}

.team-memory-list header,
.team-decision-cards header,
.team-report-grid header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.team-memory-list header span {
  color: #647a99;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-memory-list pre {
  margin: 10px 0;
  padding: 9px 10px;
  overflow-x: auto;
  border-radius: 6px;
  background: #f5f8fc;
  color: #3c536f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.team-memory-list footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: #697b93;
  font-size: 9px;
}

.team-decision-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-decision-cards > article {
  min-width: 0;
  padding: 14px;
}

.team-decision-cards header > div {
  display: flex;
  gap: 6px;
}

.team-decision-cards > article > p {
  min-height: 36px;
  margin: 7px 0 11px;
  color: #667992;
  font-size: 11px;
  line-height: 1.55;
}

.team-evidence-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 9px 10px;
  border-left: 3px solid #4d8ddd;
  background: #f3f7fd;
  color: #536c89;
  font-size: 10px;
}

.team-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.team-options > div {
  position: relative;
  min-width: 0;
  padding: 9px;
  border: 1px solid #d5dfec;
  border-radius: 6px;
}

.team-options > div.recommended {
  border-color: #6fa2e8;
  background: #f3f8ff;
}

.team-options b { font-size: 11px; }
.team-options p { margin: 3px 0 0; color: #667a95; font-size: 9px; line-height: 1.5; }
.team-options em { display: inline-block; margin-top: 6px; color: #0b61cf; font-size: 9px; font-style: normal; font-weight: 800; }
.team-decision-cards footer { margin-top: 10px; color: #7d8ca1; font-size: 9px; }

.team-approval-list > article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.team-approval-list > article.pending {
  border-color: #e4b75a;
  background: #fffaf0;
}

.team-lock {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e8f6ee;
  color: #178252;
  font-weight: 900;
}

.team-approval-list .pending .team-lock {
  background: #ffedc8;
  color: #a15e00;
}

.team-approval-list p {
  margin: 3px 0;
  color: #617590;
  font-size: 10px;
}

.team-approval-list small {
  color: #8090a6;
  font-size: 9px;
}

.team-report-grid,
.team-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-report-grid > article,
.team-settings-grid > article {
  min-width: 0;
  padding: 14px;
}

.team-report-grid header > span {
  color: #0d61cd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.team-report-grid h3 {
  margin-top: 10px;
  font-size: 16px;
}

.team-report-grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.team-report-grid dl > div,
.team-settings-dl > div {
  padding: 9px 10px;
  border: 1px solid #dde5ef;
  border-radius: 6px;
  background: #f7f9fc;
}

.team-report-grid dt,
.team-settings-dl dt {
  color: #71829a;
  font-size: 9px;
}

.team-report-grid dd,
.team-settings-dl dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #16365e;
  font-size: 13px;
  font-weight: 900;
}

.team-report-grid > article > p {
  margin: 0;
  color: #637791;
  font-size: 10px;
  line-height: 1.55;
}

.team-settings-grid h3 {
  margin-bottom: 12px;
}

.team-architecture {
  display: grid;
  gap: 5px;
}

.team-architecture b {
  color: #0b5fcf;
  font-size: 12px;
}

.team-architecture span,
.team-architecture i {
  color: #687c98;
  font-size: 10px;
  font-style: normal;
}

.team-safety-list,
.team-settings-dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.team-safety-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 10px;
}

.team-safety-list b { color: #b43d3d; }

.team-empty {
  padding: 60px 20px;
  border: 1px dashed #b8c8de;
  border-radius: 9px;
  background: #f8fafd;
  text-align: center;
}

.team-empty h2 { color: #16345e; }
.team-empty p { color: #6b7d96; }

@media (max-width: 1120px) {
  .team-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-role-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .team-page { padding: 10px 9px 24px; }
  .team-safety-banner { align-items: flex-start; flex-direction: column; gap: 6px; }
  .team-safety-banner p { text-align: left; }
  .team-grid-main,
  .team-role-cards,
  .team-decision-cards,
  .team-report-grid,
  .team-settings-grid { grid-template-columns: 1fr; }
  .team-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .team-mission-card > header { flex-direction: column; }
  .team-mission-progress { grid-template-columns: minmax(100px, 1fr) auto; }
  .team-mission-progress em { grid-column: 1 / -1; }
  .team-company-pill span { display: none; }
  .team-company-pill b { max-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-page *,
  .team-tabs * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
