:root {
  --navy: #112e56;
  --navy-deep: #071d39;
  --navy-soft: #173f72;
  --blue: #3d6795;
  --orange: #ec693e;
  --orange-deep: #d95027;
  --paper: #f8f9fa;
  --blue-paper: #eef3f8;
  --card: #ffffff;
  --ink: #15243a;
  --muted: #64748b;
  --line: #dce5f1;
  --line-strong: #c7d5e7;
  --success: #16a36a;
  --warning: #e98224;
  --danger: #d74646;
  --shadow: 0 18px 48px rgba(17, 46, 86, .09);
  --soft-shadow: 0 8px 26px rgba(17, 46, 86, .07);
  --radius-lg: 22px;
  --radius: 15px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f9fbff 0, var(--paper) 38%, #f5f8fd 100%);
  color: var(--ink);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
p { line-height: 1.65; }
h1, h2, h3, p { margin-top: 0; }
img, video { max-width: 100%; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.upload-panel.manual-candidate-review { display: block; overflow-wrap: anywhere; }
.manual-candidate-review > div { min-width: 0; width: 100%; }
.manual-candidate-review p, .manual-candidate-review details { margin-bottom: 14px; }
.upload-panel.manual-candidate-review form { flex-direction: column; align-items: start; margin-top: 18px; }
.manual-file-list { overflow-x: auto; }
.manual-file-list table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.manual-file-list th, .manual-file-list td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.manual-file-list code { font-size: 12px; word-break: break-all; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(102deg, #071d39 0%, #112e56 60%, #0a2447 100%);
  box-shadow: 0 6px 24px rgba(5, 24, 49, .18);
}
.brand { display: flex; align-items: center; gap: 17px; flex: 0 0 auto; color: #fff; }
.brand img { width: 144px; height: 52px; object-fit: contain; }
.brand-product { padding-left: 17px; border-left: 1px solid rgba(255,255,255,.3); font-size: 16px; font-weight: 720; letter-spacing: .02em; white-space: nowrap; }
.primary-nav { align-self: stretch; display: flex; align-items: stretch; gap: 8px; }
.primary-nav a, .utility-nav a { position: relative; display: flex; align-items: center; color: rgba(255,255,255,.78); font-size: 15px; white-space: nowrap; }
.primary-nav a { padding: 0 14px; font-weight: 650; }
.primary-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.primary-nav a:hover, .primary-nav a.active, .utility-nav a:hover, .utility-nav a.active { color: #fff; }
.primary-nav a.active::after { background: var(--orange); }
.utility-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.utility-nav a { font-size: 13px; }
.account-menu { position: relative; flex: 0 0 auto; }
.account-menu summary { cursor: pointer; list-style: none; padding: 10px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 13px; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-popover { position: absolute; right: 0; top: 48px; min-width: 180px; display: grid; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.account-popover a, .account-popover button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.account-popover a:hover, .account-popover button:hover { background: var(--blue-paper); }
.account-popover form { margin: 0; }

.page-shell { width: min(1540px, 100%); margin: 0 auto; padding: 26px 28px 64px; }
.eyebrow { margin: 0 0 7px; color: #46678f; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow.accent { color: var(--orange-deep); }
.eyebrow.light { color: #83c2ff; }
.muted { color: var(--muted); }
.dashboard-intro, .page-title { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 22px; }
.dashboard-intro h1, .page-title h1 { margin-bottom: 7px; color: var(--navy-deep); font-size: clamp(28px, 2.4vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.dashboard-intro p, .page-title p { margin-bottom: 0; color: var(--muted); }
.date-chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: #4f6785; font-size: 13px; }
.date-stack { display: grid; gap: 6px; justify-items: end; color: var(--muted); font-size: 10px; }
.date-stack .sync-stale { color: #b42318; font-weight: 800; }
.date-stack .sync-fresh { color: #27734f; font-weight: 700; }
.title-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }

.button, button, .primary-action { border: 0; border-radius: 10px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; background: #edf3fb; color: var(--navy); font-weight: 700; }
.button:hover, button:hover { transform: translateY(-1px); }
.button.primary, button.primary, .primary-action { color: #fff; background: var(--orange); box-shadow: 0 8px 18px rgba(236,105,62,.16); }
.button.secondary { border: 1px solid var(--line-strong); background: #fff; box-shadow: none; }
.button.danger-outline { border-color: #efc3c3; color: #b83838; }
.ghost-light { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; }
.primary-action { display: flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; font-size: 16px; font-weight: 800; }
.primary-action:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(236,105,62,.2); }
.text-link { font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #aebfd4; }
.link-button { border: 0; background: none; box-shadow: none; }

.command-grid { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.decision-column { display: grid; gap: 16px; }
.command-card, .section-block, .topic-card, .platform-panel, .review-panel, .device-card, .history-panel, .diagnostic-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.94);
  box-shadow: var(--soft-shadow);
}
.command-card { padding: 20px; }
.command-title, .mini-head, .section-title, .continuum-head, .preview-toolbar, .platform-head, .team-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.command-title h2, .mini-head h2, .section-title h2, .continuum-head h2, .preview-toolbar h2, .platform-head h2 { margin: 0; color: var(--navy-deep); }
.sync-label { padding: 5px 8px; border-radius: 999px; color: #526b86; background: var(--blue-paper); font-size: 11px; font-weight: 700; white-space: nowrap; }
.decision-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; min-height: 84px; margin-top: 11px; padding: 13px; border: 1px solid #e3eaf4; border-radius: 14px; background: linear-gradient(135deg, #fff 0%, #f8fbff 100%); }
.decision-row:hover { border-color: #b7cde8; box-shadow: 0 8px 18px rgba(17,46,86,.08); }
.decision-row > strong { color: var(--orange); font-size: 30px; line-height: 1; text-align: center; }
.decision-row span { min-width: 0; }
.decision-row b, .decision-row small { display: block; }
.decision-row b { color: var(--ink); font-size: 14px; }
.decision-row small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.row-arrow { color: #7186a1; font-size: 11px; }
.decision-inbox .primary-action { margin-top: 15px; }
.attention-groups { display: grid; gap: 10px; margin-top: 12px; }
.attention-group { padding: 12px; border: 1px solid #e1e8f1; border-radius: 13px; background: #fbfcfe; }
.attention-head, .attention-head span { display: flex; align-items: center; gap: 8px; }
.attention-head { justify-content: space-between; }
.attention-head strong { color: var(--orange-deep); font-size: 22px; line-height: 1; }
.attention-head b { color: var(--ink); font-size: 12px; }
.attention-head > a { color: #66809d; font-size: 10px; font-weight: 750; }
.attention-group ul { display: grid; gap: 6px; margin: 9px 0 0; padding: 0; list-style: none; }
.attention-group li { min-width: 0; }
.attention-group li a { display: block; overflow: hidden; color: #40556f; font-size: 11px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.attention-group li small { display: block; margin-top: 2px; color: #8392a5; font-size: 9px; font-weight: 600; }
.attention-blocked { border-color: #efc8c8; background: #fffafa; }
.attention-video, .attention-visual { border-color: #f0d8c8; background: #fffbf8; }
.attention-clear { display: grid; gap: 4px; padding: 22px 8px; text-align: center; }.attention-clear strong { font-size: 12px; }.attention-clear span { color: var(--muted); font-size: 10px; }
.today-summary { padding-bottom: 14px; }
.mini-head { align-items: center; }
.mini-head h2 { font-size: 16px; }
.mini-head > span, .mini-head > a { color: var(--muted); font-size: 11px; }
.overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 10px; }
.overview-grid a { padding: 12px 10px; border-top: 1px solid #e8edf4; }
.overview-grid a:nth-child(odd) { border-right: 1px solid #e8edf4; }
.overview-grid strong, .overview-grid span { display: block; }
.overview-grid strong { color: var(--navy); font-size: 22px; }
.overview-grid span { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }

.mission-continuum { position: relative; overflow: hidden; min-height: 575px; padding: 24px; border: 1px solid #244d7f; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(146deg, #0a284d 0%, #123b6b 58%, #0a294e 100%); box-shadow: 0 14px 34px rgba(7,29,57,.14); }
.mission-continuum::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.025) 50%, transparent 100%); }
.continuum-head { position: relative; align-items: flex-start; }
.continuum-head h2 { color: #fff; font-size: 23px; }
.continuum-head p { margin: 6px 0 0; color: #b8cbe3; font-size: 13px; }
.stage-track { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); margin: 25px 8px 20px; }
.stage-track::before { content: ""; position: absolute; top: 20px; left: 7%; right: 7%; height: 2px; background: #4f79a8; }
.stage-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; color: #bcd0e8; font-size: 11px; }
.stage-node span { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #5a83b0; border-radius: 50%; background: #143a65; color: #dceeff; font-size: 12px; font-weight: 800; }
.continuum-table { position: relative; overflow: hidden; border: 1px solid rgba(161,201,243,.19); border-radius: 13px; background: rgba(4,28,57,.28); }
.continuum-labels, .continuum-row { display: grid; grid-template-columns: minmax(210px, 1.6fr) minmax(100px, .72fr) minmax(105px, .88fr) minmax(100px, .78fr) minmax(125px, 1fr) 62px; gap: 0; }
.continuum-labels { color: #91acca; background: rgba(255,255,255,.035); font-size: 11px; }
.continuum-labels span, .continuum-row > span { padding: 10px 12px; border-right: 1px solid rgba(162,198,237,.12); }
.continuum-row { min-height: 76px; align-items: stretch; color: #eaf3ff; border-top: 1px solid rgba(162,198,237,.14); transition: background .18s ease; }
.continuum-row:hover { background: rgba(63,146,235,.12); }
.continuum-row.mission-missing { color: #b9cae0; background: rgba(255,255,255,.025); }
.continuum-row > span { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.35; }
.continuum-row > span:not(.topic-cell) { flex-wrap: wrap; }
.continuum-row b, .continuum-row small { display: block; width: 100%; }
.continuum-row small { color: #98b6d7; font-size: 10px; }
.stage-cell em { display: block; width: 100%; color: #ffaf91; font-size: 9px; font-style: normal; font-weight: 750; }
.row-stage-dots { display: flex; gap: 4px; width: 100%; margin-top: 2px; }
.row-stage-dots u { width: 9px; height: 3px; border-radius: 3px; background: #496887; text-decoration: none; }
.row-stage-dots u.past { background: #7ea1c6; }.row-stage-dots u.current { width: 15px; background: var(--orange); }
.topic-cell { display: grid !important; align-content: center; }
.topic-cell b { font-size: 13px; }
.sam-needed { justify-content: center; color: #a6bbd3; text-align: center; }
.sam-needed.yes { color: #ff9d7e; font-weight: 800; }
.continuum-empty { padding: 58px 20px; color: #b8cbe3; text-align: center; }

.status-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #7d91aa; box-shadow: 0 0 0 3px rgba(125,145,170,.13); }
.status-dot.success { background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,106,.13); }
.status-dot.info { background: var(--blue); box-shadow: 0 0 0 3px rgba(47,128,237,.13); }
.status-dot.warning { background: var(--warning); box-shadow: 0 0 0 3px rgba(233,130,36,.13); }
.status-dot.danger { background: var(--danger); box-shadow: 0 0 0 3px rgba(215,70,70,.13); }

.section-block { margin-top: 18px; padding: 22px; }
.section-title { align-items: flex-end; margin-bottom: 16px; }
.section-title h2 { font-size: 22px; }
.section-title > p { margin: 0; color: var(--muted); font-size: 13px; }
.team-signal { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.runner-health { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: -2px 0 14px; padding: 10px 12px; border: 1px solid #cae8da; border-radius: 11px; background: #f3fbf7; }
.runner-health div { display: grid; gap: 2px; }
.runner-health strong { color: #16754f; font-size: 12px; }
.runner-health span, .runner-health small { color: var(--muted); font-size: 10px; }
.runner-health.unhealthy { border-color: #f0d1ca; background: #fff7f5; }
.runner-health.unhealthy strong { color: var(--danger); }
.team-state i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22,163,106,.1); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.team-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(155deg, #fff 0%, #f8fbff 100%); }
.team-card-top { align-items: flex-start; }
.team-card-top strong { font-size: 13px; line-height: 1.45; }
.team-state { display: inline-flex; gap: 6px; align-items: center; color: var(--success); font-size: 10px; font-weight: 750; white-space: nowrap; }
.team-state.danger-text { color: var(--danger); }
.team-state.danger-text i { background: var(--danger); box-shadow: 0 0 0 4px rgba(215,70,70,.1); }
.team-card > p { min-height: 38px; margin: 13px 0 9px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.team-card > small { color: var(--muted); font-size: 11px; }
.team-card dl { display: grid; gap: 7px; margin: 0; }
.team-card dl > div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; }
.team-card dt, .team-card dd { margin: 0; font-size: 10px; line-height: 1.35; }
.team-card dt { color: #8191a5; }
.team-card dd { color: #51627a; }
.team-updated { display: block; margin-top: 11px; padding-top: 9px; border-top: 1px solid #e8edf4; font-size: 9px !important; }
.event-panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.event-panel h3 { margin: 0; font-size: 15px; }.event-panel ol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.event-panel li { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; align-items: start; padding: 11px; border: 1px solid #e3e9f1; border-radius: 11px; background: #fbfcfe; }
.event-panel li .status-dot { margin-top: 4px; }.event-panel li span { min-width: 0; }.event-panel li strong, .event-panel li b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.event-panel li strong { font-size: 10px; }.event-panel li b { margin-top: 3px; color: #65778d; font-size: 9px; font-weight: 650; }.event-panel time { color: #8795a7; font-size: 9px; white-space: nowrap; }

.readiness-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.readiness-grid article { display: grid; grid-template-columns: 1fr auto; gap: 8px; min-width: 0; padding: 14px; border: 1px solid #e1e8f2; border-radius: 12px; background: #fbfdff; }
.readiness-grid article > div { display: flex; gap: 9px; align-items: center; min-width: 0; }
.readiness-grid strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.readiness-grid small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.readiness-state { font-size: 10px; font-weight: 750; }
.readiness-state.success { color: var(--success); }.readiness-state.info { color: var(--blue); }.readiness-state.warning { color: var(--warning); }.readiness-state.muted { color: #8b9aab; }
.workbench-entry { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 12px; padding: 14px 16px; border: 1px solid #cad7e7; border-radius: 12px; background: #f7f9fc; }.workbench-entry strong, .workbench-entry span { display: block; }.workbench-entry strong { font-size: 12px; }.workbench-entry span { color: var(--muted); font-size: 10px; text-align: right; }

.flash { margin-bottom: 16px; padding: 13px 15px; border-radius: 12px; font-weight: 650; }
.flash-success { border: 1px solid #b8e6d3; background: #eaf9f2; color: #0d7650; }
.flash-error { border: 1px solid #efc3c3; background: #fff0f0; color: #a53535; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 4px 8px; border-radius: 999px; background: #edf2f7; color: #617287; font-size: 10px; font-style: normal; font-weight: 750; line-height: 1.2; text-align: center; }
.badge.good { background: #e8f8f1; color: #0f8e5e; }.badge.warn { background: #fff3e8; color: #bd621f; }.badge.bad { background: #fdebec; color: #b63941; }
.callout { padding: 13px 15px; border: 1px solid #cadcf1; border-radius: 12px; background: var(--blue-paper); color: #345577; }
.callout.warning { border-color: #f4d5a5; background: #fff7e8; color: #8b5813; }
.callout.compact { margin: 12px 0; font-size: 12px; }

.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-grid, .week-grid { grid-template-columns: 1fr; }
.topic-card { min-width: 0; padding: 22px; }
.review-card-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 20px; align-items: stretch; }
.review-cover { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 13px; background: #091f3c; }.review-cover img { display: block; width: 100%; height: 230px; min-height: 230px; object-fit: contain; }.review-cover figcaption { padding: 9px 11px; color: var(--muted); background: #fff; font-size: 10px; }
.review-card-layout.no-cover { grid-template-columns: minmax(0,1fr); }
.review-card-main { min-width: 0; }
.topic-card-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.topic-card h3 { margin: 0; color: var(--navy-deep); font-size: 19px; line-height: 1.4; }
.topic-card .summary { display: -webkit-box; overflow: hidden; margin: 12px 0 16px; color: var(--muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.topic-business-line { display: grid; grid-template-columns: .7fr 1.25fr 1fr 1.15fr; gap: 0; padding: 13px 0; border-top: 1px solid #e7edf5; border-bottom: 1px solid #e7edf5; }
.topic-business-line > span { min-width: 0; padding: 0 12px; border-right: 1px solid #e7edf5; }
.topic-business-line > span:first-child { padding-left: 0; }.topic-business-line > span:last-child { padding-right: 0; border-right: 0; }
.topic-business-line small, .topic-business-line b { display: block; }
.topic-business-line small { margin-bottom: 5px; color: #8191a5; font-size: 10px; }
.topic-business-line b { overflow: hidden; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.compact-gates { margin: 15px 0; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.review-actions-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.review-actions-inline .button { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.review-actions-inline .text-link { margin-left: auto; }
.review-card-status { display: grid; grid-template-columns: .7fr 1fr 1fr; margin: 14px 0; border-block: 1px solid #e7edf5; }.review-card-status > span { min-width: 0; padding: 11px; border-right: 1px solid #e7edf5; }.review-card-status > span:first-child { padding-left: 0; }.review-card-status > span:last-child { padding-right: 0; border-right: 0; }.review-card-status small, .review-card-status b { display: block; }.review-card-status small { margin-bottom: 4px; color: #8191a5; font-size: 10px; }.review-card-status b { font-size: 11px; line-height: 1.35; }
.feedback-summary { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 4px 10px; margin: 12px 0; padding: 11px 12px; border: 1px solid #efd9cd; border-radius: 11px; background: #fff9f5; }.feedback-summary strong { color: #8a5b48; font-size: 10px; }.feedback-summary span { font-size: 11px; font-weight: 700; }.feedback-summary small { grid-column: 2; color: #8b6b5f; font-size: 9px; }
.approval-boundary { display: grid; gap: 3px; max-width: 390px; padding: 13px 16px; border: 1px solid #f0d4c7; border-radius: 13px; background: #fff8f4; }
.approval-boundary strong { color: var(--orange-deep); font-size: 12px; }.approval-boundary span { color: #755e52; font-size: 11px; }
.success-empty { display: grid; gap: 7px; justify-items: center; padding: 64px; }.success-empty span { color: var(--muted); }
.week-stage-guide { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.week-stage-guide span { display: grid; gap: 7px; justify-items: center; color: var(--muted); font-size: 11px; }
.week-stage-guide i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-paper); color: var(--blue); font-style: normal; font-weight: 800; }

.content-command-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.content-heading { align-items: flex-start; }
.content-heading > div:first-child { max-width: 920px; }
.content-heading > div:first-child > p:last-child { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.content-preview-column { min-width: 0; }
.platform-switcher { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 12px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: #fff; scrollbar-width: none; }
.platform-switcher::-webkit-scrollbar { display: none; }
.platform-switcher button { flex: 1 0 auto; min-height: 42px; border: 0; background: transparent; color: #64758a; box-shadow: none; font-size: 12px; }
.platform-switcher button.active { background: var(--navy); color: #fff; box-shadow: 0 7px 16px rgba(17,46,86,.18); }
.platform-preview { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--soft-shadow); }
.preview-toolbar, .platform-head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.preview-toolbar h2, .platform-head h2 { font-size: 20px; }
.preview-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.preview-assets:not(.xhs-gallery) .asset-card:first-child { grid-column: span 2; }
.preview-assets:not(.xhs-gallery) .asset-card:first-child img { height: 300px; }
.xhs-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.asset-card { overflow: hidden; min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.asset-card img, .asset-card video { display: block; width: 100%; height: 220px; background: #091f3c; }.asset-card img { object-fit: contain; }.asset-card video { object-fit: cover; }
.asset-card.video-asset { grid-column: span 2; }
.asset-card.video-asset video { height: 340px; object-fit: contain; }
.asset-card audio { display: block; width: calc(100% - 20px); margin: 38px 10px; }
.asset-preview-button { display: block; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.asset-preview-button:hover { transform: none; }
.asset-card figcaption { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 11px; color: var(--muted); font-size: 10px; }
.asset-card figcaption a { font-weight: 750; }
.asset-card figcaption i { font-style: normal; }
.asset-file { display: grid; place-items: center; height: 140px; background: var(--blue-paper); color: var(--muted); }
.article-preview { max-width: 760px; margin: 20px auto; padding: 28px 34px; border: 1px solid #e2e9f2; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(17,46,86,.05); }
.article-preview > h2 { margin-bottom: 24px; color: var(--navy-deep); font-size: 25px; line-height: 1.35; }
.preview-body { color: #26384e; font-size: 15px; line-height: 1.9; }
.preview-body h1, .preview-body h2, .preview-body h3 { margin-top: 1.4em; color: var(--navy-deep); line-height: 1.4; }
.preview-body img { height: auto; border-radius: 10px; }
.preview-body blockquote { margin: 1.4em 0; padding: 12px 16px; border-left: 3px solid var(--orange); background: #fff7f3; color: #5f514b; }
.preview-tags { color: #3b73b3; }
.content-results { margin-top: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.content-results > summary, .result-section > summary, .history-panel > summary, .diagnostic-panel > summary, .device-diagnostics > summary { cursor: pointer; list-style: none; font-weight: 780; }
.content-results > summary { padding: 17px 19px; }
.result-stack { display: grid; gap: 9px; padding: 0 14px 14px; }
.result-section { border: 1px solid var(--line); border-radius: 10px; }
.result-section > summary { padding: 12px 14px; color: var(--navy); }
.result-body { padding: 0 18px 18px; color: #33475d; line-height: 1.75; }
.package-overview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0 12px 12px; }
.package-overview button { display: grid; justify-items: start; gap: 8px; min-height: 72px; background: #f6f9fd; box-shadow: none; }

.review-panel { position: sticky; top: 91px; overflow: hidden; }
.review-panel-head { padding: 20px; color: #fff; background: linear-gradient(145deg, var(--navy-deep), var(--navy)); }
.review-panel-head .eyebrow { color: #88bdf5; }.review-panel-head h2 { margin-bottom: 7px; }.review-panel-head p { margin-bottom: 0; color: #c2d2e6; font-size: 12px; }
.decision-brief { display: grid; gap: 8px; padding: 14px; }.decision-brief > div { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #e4eaf2; border-radius: 10px; background: #fbfcfe; }.decision-brief small { color: #7d8ea3; font-size: 9px; }.decision-brief strong { font-size: 11px; line-height: 1.45; }
.video-review-card { margin: 0 14px 14px; padding: 12px; border: 1px solid #efd8cc; border-radius: 11px; background: #fffaf7; }.video-review-card h3 { margin: 0; font-size: 12px; }.video-review-card .mini-head span { font-size: 9px; }.video-review-card video { display: block; width: 100%; max-height: 220px; margin-top: 10px; border-radius: 9px; background: #081d38; }.video-review-card dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: 10px 0 0; }.video-review-card dl div { display: grid; gap: 3px; }.video-review-card dt { color: #8b756b; font-size: 9px; }.video-review-card dd { margin: 0; color: #594b45; font-size: 10px; font-weight: 720; }
.quality-details { margin: 0 14px 14px; border: 1px solid var(--line); border-radius: 11px; }.quality-details > summary { cursor: pointer; padding: 11px 12px; color: #51667e; font-size: 11px; font-weight: 760; }.quality-details .business-gates { padding-top: 0; }
.business-gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.business-gates > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-width: 0; padding: 9px 10px; border: 1px solid #e4eaf2; border-radius: 10px; background: #fbfdff; font-size: 10px; }
.video-context { display: grid; grid-template-columns: 92px 1fr; gap: 7px 10px; margin: 0 14px 14px; padding: 12px; border: 1px solid #f1d7c9; border-radius: 11px; background: #fff8f4; font-size: 10px; }
.video-context strong { color: #8c5c48; }.video-context span { color: #624e45; }
.topic-activity { margin: 0 14px 14px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; }
.topic-activity h3 { margin-bottom: 10px; font-size: 12px; }
.activity-row { display: flex; gap: 9px; align-items: flex-start; padding: 8px 0; border-top: 1px solid #edf1f6; }
.activity-row:first-of-type { border-top: 0; }.activity-row .status-dot { margin-top: 5px; }
.activity-row strong, .activity-row small, .activity-row em { display: block; }.activity-row strong { font-size: 10px; }.activity-row small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.45; }.activity-row em { margin-top: 3px; color: var(--danger); font-size: 9px; font-style: normal; }
.review-form { display: grid; gap: 13px; padding: 0 14px 16px; }
.review-form fieldset { padding: 0; border: 0; }
.review-form legend { margin-bottom: 8px; color: #52667e; font-size: 11px; font-weight: 780; }
.decision-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.decision-choice input, .reason-choices input { position: absolute; opacity: 0; pointer-events: none; }
.decision-choice span, .reason-choices span { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: #4c617a; cursor: pointer; font-size: 10px; font-weight: 720; text-align: center; }
.decision-choice input:checked + span { border-color: var(--orange); background: #fff1eb; color: var(--orange-deep); box-shadow: 0 0 0 2px rgba(236,105,62,.09); }
.danger-choice input:checked + span { border-color: var(--danger); background: #fff0f0; color: var(--danger); }
.reason-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.reason-choices span { min-height: 32px; padding: 6px 9px; }
.reason-choices input:checked + span { border-color: #6a8db8; background: var(--blue-paper); color: var(--navy); }
.comment-field { display: grid; gap: 6px; color: #52667e; font-size: 11px; font-weight: 760; }
.approval-reminder { display: grid; gap: 2px; margin: 0; padding: 10px 11px; border-left: 3px solid var(--orange); background: #fff8f4; }.approval-reminder strong { color: var(--orange-deep); font-size: 10px; }.approval-reminder span { color: #745f55; font-size: 9px; }
textarea, input, select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
label { color: #52667e; font-size: 12px; font-weight: 680; }
label input, label select, label textarea { margin-top: 6px; }
.decision-history { margin: 0 14px 16px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.decision-history summary { cursor: pointer; font-size: 11px; font-weight: 780; }.decision-history p { font-size: 10px; }.decision-history small { margin-left: 7px; color: var(--muted); }
.mobile-review-bar { display: none; }

.workbench-topic-nav { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 3px; scrollbar-width: none; }.workbench-topic-nav a { flex: 0 0 min(270px,75vw); display: grid; gap: 4px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }.workbench-topic-nav a.active { border-color: #718cac; background: var(--blue-paper); }.workbench-topic-nav span { overflow: hidden; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.workbench-topic-nav small { color: var(--muted); font-size: 9px; }
.publish-boundary { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 12px; padding: 12px 15px; border: 1px solid #cfe1d8; border-radius: 12px; background: #f0faf5; }
.publish-boundary > div { display: grid; gap: 3px; }.publish-boundary strong { color: #0e8057; font-size: 12px; }.publish-boundary span { color: #5b7167; font-size: 11px; }
.publish-boundary.locked { border-color: #efd6c7; background: #fff9f5; }.publish-boundary.locked strong { color: #a65b38; }.publish-boundary.locked span { color: #755e52; }
.publish-total { display: inline-block; margin-top: 8px; color: var(--navy); font-size: 12px; }
.workbench-switcher button { display: grid; gap: 3px; }
.workbench-switcher button small { font-size: 9px; opacity: .72; }
.swipe-hint { display: none; }
.platform-panel { overflow: hidden; padding-bottom: 18px; }
.publish-package-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 18px; padding: 18px; }
.package-content { min-width: 0; }
.copy-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin: 7px 0 16px; }
.copy-content { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; font-size: 13px; font-weight: 750; }
.copy-button { border: 1px solid var(--line-strong); background: #fff; color: var(--navy); box-shadow: none; font-size: 11px; }
.copy-button.copied { border-color: #9bd7bd; background: #eaf9f2; color: #0d8257; }
.copy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.copy-actions > * { min-height: 40px; }
.format-tip { margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.compact-article { max-height: 460px; overflow: auto; margin: 7px 0 0; padding: 20px; }
.package-assets { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #f8fbff; }
.package-assets h3 { margin: 0; font-size: 14px; }.package-assets .mini-head a { font-size: 10px; }
.workbench-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.workbench-assets .asset-card img, .workbench-assets .asset-card video { height: 128px; }
.platform-status-control { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.status-form { display: flex; gap: 10px; align-items: end; margin: 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.compact-status-form { margin: 0; padding: 0; border: 0; background: transparent; }.compact-status-form label { min-width: 126px; }.compact-status-form select { min-height: 36px; margin: 0; padding: 7px 9px; }.compact-status-form button { min-width: 84px; min-height: 36px; padding: 7px 10px; }
.ai-publish-reminder { display: flex; gap: 8px; align-items: baseline; margin: 0 18px; padding: 9px 11px; border-left: 3px solid #7d93ae; background: var(--blue-paper); }.ai-publish-reminder strong { color: var(--navy); font-size: 10px; }.ai-publish-reminder span { color: var(--muted); font-size: 10px; }
.publish-history { margin: 14px 18px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.publish-history summary { cursor: pointer; font-size: 11px; font-weight: 780; }.publish-history p { display: flex; justify-content: space-between; gap: 12px; margin: 9px 0 0; font-size: 10px; }.publish-history span { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.status-form label { flex: 1; }.status-form select { margin-top: 6px; }.status-form button { min-width: 110px; }

.auth-shell { width: 100%; min-height: calc(100vh - 72px); padding: 42px; background: linear-gradient(140deg, #071d39 0%, #112e56 48%, #eff4f9 48.1%, #f8f9fa 100%); }
.login-experience { width: min(1100px, 100%); min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; margin: 0 auto; }
.login-story { max-width: 560px; padding: 42px; color: #fff; }
.login-story h1 { margin-bottom: 22px; font-size: clamp(36px, 4vw, 60px); line-height: 1.14; letter-spacing: -.04em; }
.login-story > p:not(.eyebrow) { max-width: 470px; color: #bacde4; }
.login-signal { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; max-width: 410px; margin-top: 42px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.06); }
.login-signal > span { grid-row: 1 / 3; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: #4ce2a5; box-shadow: 0 0 0 7px rgba(76,226,165,.1); }
.login-signal strong { font-size: 13px; }.login-signal small { color: #a9bfd9; font-size: 10px; }
.auth-card { width: min(430px, 100%); justify-self: end; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 26px 70px rgba(7,29,57,.18); }
.auth-logo { width: 170px; height: 76px; margin-bottom: 18px; object-fit: contain; }
.auth-card h2 { margin-bottom: 7px; color: var(--navy-deep); font-size: 30px; }
.stack-form { display: grid; min-width: 0; gap: 13px; margin-top: 20px; }.stack-form label { min-width: 0; }.stack-form input, .stack-form button { max-width: 100%; }.stack-form .primary-action { width: 100%; min-width: 0; }
.trust-option { display: flex; gap: 8px; align-items: center; }.trust-option input { width: auto; min-height: 0; margin: 0; }

.operations-bots { margin-bottom: 18px; }
.team-headline { display: grid; gap: 3px; min-width: 250px; padding: 14px 17px; border-radius: 13px; color: #fff; background: var(--navy); }
.team-headline span { color: #bcd0e7; font-size: 11px; }
.mission-list, .observation-list, .device-list { display: grid; gap: 10px; }
.mission-card, .observation-card { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.mission-card.mission-blocked { border-color: #efc1c1; background: #fffafa; }
.mission-main { display: flex; gap: 11px; align-items: center; min-width: 0; }.mission-main > div { display: grid; gap: 4px; }.mission-main strong { font-size: 12px; }.mission-main a { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mission-owner { max-width: 44%; text-align: right; }.mission-owner span, .mission-owner small { display: block; }.mission-owner span { font-size: 11px; font-weight: 720; }.mission-owner small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.history-panel, .diagnostic-panel { margin-top: 18px; padding: 0; box-shadow: none; }
.history-panel > summary, .diagnostic-panel > summary { padding: 15px 17px; color: #5b6f88; font-size: 12px; }
.history-panel .mission-list, .history-panel .observation-list { padding: 0 14px 14px; }
.observation-card > div { display: grid; gap: 5px; }.observation-card strong { font-size: 11px; }.observation-card small { color: var(--muted); font-size: 10px; }
.upload-panel { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border-top: 1px solid var(--line); }
.upload-panel h2 { margin-bottom: 4px; font-size: 16px; }.upload-panel p { margin: 0; color: var(--muted); font-size: 11px; }
.upload-panel form { display: flex; gap: 8px; align-items: end; }
.sam-task-panel form { display: grid; grid-template-columns: 1fr 1fr 1.5fr auto; flex: 1; }
.pair-form { display: grid !important; gap: 10px; }
.pair-form fieldset { border: 1px solid var(--line); border-radius: 9px; }.pair-form fieldset label { display: flex; gap: 6px; align-items: center; }.pair-form fieldset input { width: auto; min-height: 0; margin: 0; }

.device-card { overflow: hidden; padding: 20px; }
.device-summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.device-summary > div { display: flex; gap: 12px; align-items: center; }.device-summary h2 { margin-bottom: 2px; font-size: 18px; }.device-summary p { margin: 0; color: var(--muted); font-size: 11px; }
.connection-light { width: 12px; height: 12px; border-radius: 50%; background: #9ca9b8; box-shadow: 0 0 0 6px rgba(156,169,184,.1); }.connection-light.online { background: var(--success); box-shadow: 0 0 0 6px rgba(22,163,106,.1); }
.device-summary dl { display: flex; gap: 24px; margin: 0; }.device-summary dl div { display: grid; gap: 3px; }.device-summary dt { color: var(--muted); font-size: 10px; }.device-summary dd { margin: 0; font-size: 11px; font-weight: 750; }
.device-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }.device-actions form { margin: 0; }.device-actions button { font-size: 11px; }
.device-permission { width: 100%; }.device-permission summary { cursor: pointer; font-size: 11px; font-weight: 750; }.device-permission form { margin-top: 10px; }
.device-diagnostics { margin-top: 12px; color: var(--muted); font-size: 10px; }.device-diagnostics summary { font-size: 10px; }.device-diagnostics p { margin: 4px 0; }
.danger { border: 1px solid #efc1c1; background: #fff; color: var(--danger); box-shadow: none; }

.empty-panel { padding: 35px; border: 1px dashed #b9c9dd; border-radius: 13px; background: rgba(255,255,255,.7); color: var(--muted); text-align: center; }
.compact-empty { padding: 24px; font-size: 11px; }
.floating-notice { position: fixed; right: 22px; bottom: 22px; z-index: 30; padding: 13px 16px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-size: 12px; font-weight: 750; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; max-width: calc(100vw - 32px); transform: translate(-50%, 18px); padding: 12px 17px; border-radius: 10px; background: var(--navy-deep); color: #fff; opacity: 0; pointer-events: none; transition: .2s ease; box-shadow: var(--shadow); font-size: 12px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }.toast.error { background: #8f3030; }
.media-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 22px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,16,31,.88); backdrop-filter: blur(5px); }
.lightbox-dialog { position: relative; z-index: 1; width: min(1100px, 96vw); max-height: 92vh; display: grid; gap: 10px; justify-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: #081e3a; }
.lightbox-dialog img { max-height: 76vh; object-fit: contain; }.lightbox-close { justify-self: end; min-height: 34px; background: rgba(255,255,255,.12); color: #fff; }.lightbox-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center; color: #fff; }.lightbox-controls button, .lightbox-controls .button { min-height: 34px; background: rgba(255,255,255,.12); color: #fff; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #75aef0; outline-offset: 3px; }

@media (max-width: 1260px) {
  .topbar { gap: 18px; padding-inline: 20px; }
  .brand img { width: 115px; }.brand-product { font-size: 14px; }
  .utility-nav { display: none; }
  .account-menu { margin-left: auto; }
  .continuum-labels, .continuum-row { grid-template-columns: minmax(200px, 1.55fr) 100px 110px 105px minmax(115px, .9fr) 58px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readiness-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .page-shell { padding-inline: 20px; }
  .command-grid { grid-template-columns: 1fr; }
  .decision-column { grid-template-columns: 1.15fr .85fr; }
  .mission-continuum { min-height: 0; }
  .content-command-layout { grid-template-columns: 1fr; }
  .review-panel { position: static; }
  .publish-package-grid { grid-template-columns: 1fr; }
  .package-assets { order: -1; }
  .topic-business-line { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }.topic-business-line > span:nth-child(2) { border-right: 0; }.topic-business-line > span:nth-child(3) { padding-left: 0; }
  .login-experience { grid-template-columns: 1fr 430px; }
  .login-story { padding: 25px; }
}

@media (max-width: 760px) {
  .topbar { position: sticky; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; min-height: 0; padding: 9px 14px 0; }
  .brand { gap: 8px; }.brand img { width: 92px; height: 35px; }.brand-product { padding-left: 9px; font-size: 10px; }
  .account-menu summary { padding: 7px 9px; font-size: 10px; }
  .primary-nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 0; }
  .primary-nav a { min-height: 40px; justify-content: center; padding: 0 4px; font-size: 11px; }.primary-nav a::after { left: 15%; right: 15%; }
  .page-shell { padding: 18px 14px 88px; }
  .dashboard-intro, .page-title { align-items: flex-start; flex-direction: column; margin-bottom: 16px; }.dashboard-intro h1, .page-title h1 { font-size: 26px; }.dashboard-intro p, .page-title p { font-size: 12px; }
  .date-stack { justify-items: start; }.date-chip { align-self: flex-start; }
  .decision-column { grid-template-columns: 1fr; }
  .today-summary { padding: 14px; }.today-summary .overview-grid { margin-top: 4px; }.today-summary .overview-grid a { padding: 10px 8px; }.today-summary .overview-grid span { color: #60738a; font-size: 11px; }
  .command-card { padding: 16px; }
  .decision-row { min-height: 72px; }.decision-row > strong { font-size: 26px; }
  .mission-continuum { padding: 17px 13px; border-radius: 17px; }
  .continuum-head { align-items: flex-start; flex-direction: column; }.continuum-head h2 { font-size: 19px; }.continuum-head .button { width: 100%; }
  .stage-track { overflow-x: auto; grid-template-columns: repeat(7, 86px); margin-inline: 0; padding: 4px 0 12px; scrollbar-width: none; }.stage-track::before { left: 42px; right: auto; width: 516px; }.stage-node span { width: 36px; height: 36px; }.stage-node b { font-size: 10px; }
  .continuum-labels { display: none; }
  .continuum-table { border: 0; background: transparent; }
  .continuum-row { grid-template-columns: 1fr auto; min-height: 0; margin-top: 9px; padding: 13px; border: 1px solid rgba(162,198,237,.18); border-radius: 12px; background: rgba(255,255,255,.045); }
  .continuum-row > span { padding: 5px 0; border: 0; }.continuum-row > span:nth-child(2), .continuum-row > span:nth-child(3), .continuum-row > span:nth-child(4), .continuum-row > span:nth-child(5) { grid-column: 1 / -1; }.continuum-row > span:nth-child(2)::before { content: "阶段 · "; color: #7f9dbc; }.continuum-row > span:nth-child(3)::before { content: "负责人 · "; color: #7f9dbc; }.continuum-row > span:nth-child(4)::before { content: "质量 · "; color: #7f9dbc; }.continuum-row > span:nth-child(5)::before { content: "下一步 · "; color: #7f9dbc; }.sam-needed { grid-column: 2; grid-row: 1; align-self: start; padding: 5px 8px !important; border-radius: 999px !important; background: rgba(255,255,255,.08); }
  .section-block { padding: 16px 13px; border-radius: 17px; }.section-title { align-items: flex-start; flex-direction: column; }.section-title h2 { font-size: 19px; }
  .team-grid, .readiness-grid, .topic-grid { grid-template-columns: 1fr; }
  .runner-health { align-items: flex-start; flex-direction: column; gap: 4px; }
  .attention-group li small, .team-updated, .event-panel li b, .event-panel time { color: #697d94; font-size: 10px !important; }
  .team-card dl { display: grid; }.team-card dl > div { grid-template-columns: 52px 1fr; }
  .event-panel ol { grid-template-columns: 1fr; }
  .readiness-grid article { grid-template-columns: 1fr auto; }
  .topic-card { padding: 16px; }.topic-card-head { flex-direction: column; }.topic-card h3 { font-size: 17px; }.review-card-layout { grid-template-columns: 1fr; }.review-cover img { height: 240px; min-height: 0; object-fit: contain; }.review-card-status { grid-template-columns: 1fr; }.review-card-status > span { padding: 9px 0; border-right: 0; border-bottom: 1px solid #e7edf5; }.review-card-status > span:last-child { border-bottom: 0; }
  .topic-business-line { grid-template-columns: 1fr; }.topic-business-line > span { padding: 9px 0; border-right: 0; border-bottom: 1px solid #e7edf5; }.topic-business-line > span:last-child { border-bottom: 0; }
  .compact-gates { grid-template-columns: repeat(2, 1fr); padding-inline: 0; }.compact-gates > div:last-child { grid-column: 1 / -1; }
  .review-actions-inline { display: grid; grid-template-columns: repeat(2, 1fr); }.review-actions-inline .text-link { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; }
  .approval-boundary { max-width: none; }
  .week-stage-guide { overflow-x: auto; grid-template-columns: repeat(7, 82px); }
  .title-actions { width: 100%; justify-content: flex-start; }.title-actions .button { flex: 1; }.title-actions .text-link { width: 100%; }
  .platform-switcher { position: sticky; top: 84px; z-index: 20; }.platform-switcher button { min-width: 92px; }.swipe-hint { display: block; margin: -5px 4px 10px; color: #60738a; font-size: 10px; }
  .preview-assets { grid-template-columns: 1fr; padding: 12px; }.preview-assets:not(.xhs-gallery) .asset-card:first-child { grid-column: auto; }.preview-assets:not(.xhs-gallery) .asset-card:first-child img { height: 240px; }.xhs-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }.xhs-gallery .asset-card { flex: 0 0 min(260px,78vw); scroll-snap-align: start; }.asset-card.video-asset { grid-column: auto; }.asset-card.video-asset video { height: 230px; }
  .article-preview { margin: 10px; padding: 18px 16px; }.article-preview > h2 { font-size: 21px; }.preview-body { font-size: 14px; }
  .package-overview { grid-template-columns: repeat(2, 1fr); }
  .business-gates { grid-template-columns: repeat(2, 1fr); }
  .decision-choices { grid-template-columns: repeat(2, 1fr); }.decision-choice span { min-height: 44px; }
  .mobile-review-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); box-shadow: 0 -10px 30px rgba(17,46,86,.11); }.mobile-review-bar a { flex: 1; padding: 12px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; text-align: center; }.mobile-review-bar span { color: var(--muted); font-size: 9px; }
  .publish-boundary { align-items: stretch; flex-direction: column; }.publish-boundary .button { width: 100%; }
  .copy-field { grid-template-columns: 1fr; }.copy-field button { width: 100%; }.copy-actions { display: grid; grid-template-columns: repeat(2, 1fr); }.copy-actions > * { width: 100%; }
  .workbench-assets { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }.workbench-assets .asset-card { flex: 0 0 min(220px, 70vw); scroll-snap-align: start; }
  .status-form { align-items: stretch; flex-direction: column; }.status-form button { width: 100%; }
  .platform-head { align-items: flex-start; }.platform-status-control { width: 100%; justify-content: flex-start; }.compact-status-form { width: 100%; }.publish-history p { display: grid; gap: 3px; }
  .auth-shell { min-height: calc(100vh - 84px); padding: 16px 14px 32px; background: linear-gradient(180deg, #0a274c 0%, #112e56 35%, #f6f9fd 35.1%, #f8f9fa 100%); }
  .login-experience { grid-template-columns: 1fr; min-height: 0; }.login-story { padding: 22px 8px 40px; }.login-story h1 { font-size: 34px; }.login-story > p:not(.eyebrow) { font-size: 12px; }.login-signal { margin-top: 24px; }.auth-card { width: 100%; justify-self: center; padding: 25px 20px; }.auth-logo { width: 145px; height: 64px; }
  .team-headline { min-width: 0; width: 100%; }
  .mission-card, .observation-card { align-items: flex-start; flex-direction: column; }.mission-main { width: 100%; }.mission-owner { max-width: none; text-align: left; }
  .upload-panel, .device-summary { align-items: stretch; flex-direction: column; }.upload-panel form { align-items: stretch; flex-direction: column; width: 100%; }.sam-task-panel form { grid-template-columns: 1fr; }.device-summary dl { gap: 14px; justify-content: space-between; }
  .media-lightbox { padding: 10px; }.lightbox-dialog { width: 100%; }.lightbox-dialog img { max-height: 70vh; }
}

@media (max-width: 420px) {
  .topbar { padding-inline: 10px; }
  .brand img { width: 104px; }.brand-product { max-width: 150px; white-space: normal; line-height: 1.25; }
  .auth-shell { padding-inline: 10px; }.auth-card { padding: 22px 16px; }.stack-form { width: 100%; }.stack-form .primary-action { padding-inline: 12px; font-size: 14px; }
  .attention-head strong { font-size: 20px; }.continuum-row { padding: 11px; }
  .event-panel li { grid-template-columns: auto minmax(0,1fr); }.event-panel time { grid-column: 2; }
}

/* Week navigation */
.week-jump-form { display: flex; gap: 6px; align-items: center; }
.week-jump-input { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; width: 110px; }
.week-jump-input:focus { outline: 3px solid #75aef0; outline-offset: 2px; border-color: var(--blue); }
.continuum-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
/* Small sequence badge on xiaohongshu images */
.asset-preview-button { position: relative; display: block; border: 0; background: none; padding: 0; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.asset-preview-button img { display: block; border-radius: var(--radius); }
.xhs-seq-badge { position: absolute; top: 6px; left: 6px; min-width: 24px; padding: 2px 6px; border-radius: 6px; background: rgba(7,29,57,.72); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.6; text-align: center; pointer-events: none; }

@media (max-width: 760px) {
  .week-jump-form { order: -1; width: 100%; }
  .week-jump-input { flex: 1; width: auto; }
  .continuum-head-actions { width: 100%; justify-content: stretch; }
  .continuum-head-actions .button { flex: 1; justify-content: center; }
}

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