:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #dbe3ea;
  --line-soft: #edf1f5;
  --text: #16202a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --blue: #2563eb;
  --green: #16a34a;
  --yellow: #d97706;
  --red: #dc2626;
  --slate: #334155;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  --content: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.app-shell { min-height: 100vh; }
.topbar {
  background: #10202a;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  max-width: var(--content);
  margin: 0 auto;
  min-height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 156px;
}
.brand-title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
}
.brand-subtitle {
  color: #b6c6d1;
  font-size: 12px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  color: #d7e2ea;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,0.10); color: #fff; }

.page {
  max-width: var(--content);
  margin: 0 auto;
  padding: 26px 22px 44px;
}
.page-narrow { max-width: 820px; }
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.18; letter-spacing: 0; }
h2 { font-size: 18px; line-height: 1.3; }
h3 { font-size: 15px; line-height: 1.35; }
.lead { color: var(--muted); font-size: 15px; max-width: 760px; margin-top: 8px; }

.hero {
  background: #10202a;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 48px 22px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 34px;
  align-items: center;
}
.hero h1 { font-size: 38px; }
.hero .lead { color: #c5d2dc; font-size: 16px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 18px;
}
.hero-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-metric:last-child { border-bottom: 0; }
.hero-metric span { color: #c5d2dc; font-size: 13px; }
.hero-metric strong { font-size: 20px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 18px; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-title p { color: var(--muted); font-size: 13px; margin-top: 2px; }

.value-card { padding: 18px; }
.value-card strong { display: block; font-size: 15px; margin-bottom: 7px; }
.value-card p { color: var(--muted); font-size: 13px; }

.stat-card { padding: 17px; }
.stat-num { font-size: 30px; font-weight: 760; line-height: 1; }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 8px; }
.stat-note { color: var(--muted-2); font-size: 12px; margin-top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  min-height: 38px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1d4ed8; }
.btn-muted { background: var(--surface); color: var(--slate); border-color: var(--line); }
.btn-muted:hover { background: var(--surface-2); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { min-height: 30px; padding: 5px 10px; font-size: 12px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #e8eef3;
  padding: 4px;
  border-radius: var(--radius);
}
.segmented button {
  border: 0;
  background: transparent;
  color: var(--slate);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  cursor: pointer;
  font-size: 13px;
}
.segmented button.active { background: #fff; box-shadow: var(--shadow-sm); color: var(--text); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}
th { color: var(--muted); background: var(--surface-2); font-weight: 700; }
tbody tr:hover { background: #f7fbfa; cursor: pointer; }
.strong-cell { font-weight: 700; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-open, .status-draft { background: #e0f2fe; color: #0369a1; }
.status-containment, .status-root_cause, .status-corrective_action, .status-verification { background: #fef3c7; color: #a16207; }
.status-closed, .status-completed, .status-done { background: #dcfce7; color: #15803d; }
.status-overdue { background: #fee2e2; color: #b91c1c; }
.severity { font-weight: 760; }
.severity-1 { color: var(--red); }
.severity-2 { color: var(--yellow); }
.severity-3 { color: var(--green); }

.form-card { padding: 22px; }
.meeting-body .form-card { background: #1b1b2a; border-color: #2b2c42; color: #d7e2ea; }
.meeting-body .form-card input,
.meeting-body .form-card textarea,
.meeting-body .form-card select { background: #11111d; border-color: #2b2c42; color: #d7e2ea; }
.meeting-body .form-card label { color: #9b9cab; }
.meeting-body .lead { color: #9b9cab; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
label { color: var(--muted); font-size: 13px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 11px;
  background: #fff;
  color: var(--text);
  outline: none;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

.issue-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.info-item {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.info-item span { display: block; margin-top: 3px; font-weight: 700; }
.status-flow { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 15px; }
.status-flow button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.status-flow button.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.d-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.d-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}
.d-block textarea { min-height: 116px; margin: 8px 0; }
.d-block.full { grid-column: 1 / -1; }
.d-label { color: var(--text); font-weight: 800; font-size: 14px; }
.d-hint { color: var(--muted); font-size: 12px; margin-top: 2px; }

.side-panel { position: sticky; top: 16px; }
.callout {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #14532d;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
}
.link-box {
  margin-top: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.supplier-header {
  background: #10202a;
  color: #fff;
  padding: 28px 22px;
}
.supplier-header-inner { max-width: 820px; margin: 0 auto; }
.supplier-header p { color: #c5d2dc; margin-top: 6px; }
.upload-area {
  border: 1px dashed #9fb3c3;
  background: #f8fafc;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

.loading, .empty {
  padding: 36px;
  color: var(--muted);
  text-align: center;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #10202a;
  color: #fff;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 50;
}
.toast.error { background: var(--red); }

@media (max-width: 900px) {
  .hero-inner, .grid-main { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .d-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}
@media (max-width: 720px) {
  .topbar-inner, .page, .hero-inner { padding-left: 15px; padding-right: 15px; }
  .topbar-inner { align-items: flex-start; flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
  .page-header, .toolbar, .issue-head { flex-direction: column; display: flex; align-items: stretch; }
  .form-grid, .form-grid-3, .info-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  h1 { font-size: 24px; }
}

@media (min-width: 1280px) {
  .command-shell { grid-template-columns: 280px minmax(0, 1fr); }
  .command-main { padding: 24px 28px 40px; }
  .topbar-inner, .page, .hero-inner { max-width: 1280px; }
  .page { padding-top: 22px; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .analytics-grid { grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr); }
  .tracker-table { min-width: 100%; }
}

@media (min-width: 1440px) {
  .command-shell { grid-template-columns: 300px minmax(0, 1fr); }
  .command-main { padding: 28px 36px 48px; }
  .topbar-inner, .page, .hero-inner { max-width: 1360px; }
  .metric-grid { gap: 18px; }
  .analytics-grid { gap: 18px; }
  .meeting-panel, .metric-card, .source-pill { border-radius: 10px; }
}

/* Command center dashboard */
.meeting-body {
  background: #11111d;
  color: #f7f8ff;
  min-height: 100vh;
}
.command-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background:
    radial-gradient(circle at 78% 12%, rgba(59, 130, 246, .08), transparent 30%),
    #11111d;
}
.command-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #2a2a3a;
  background: #1b1b2a;
}
.sidebar-brand {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-bottom: 1px solid #2a2a3a;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #1f3d68;
  color: #38a3ff;
  font-size: 15px;
  font-weight: 900;
}
.sidebar-brand strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.sidebar-brand em {
  display: block;
  margin-top: 5px;
  color: #2fa0ff;
  font-size: 11px;
  font-style: normal;
  letter-spacing: .08em;
}
.sidebar-nav {
  padding: 18px 16px;
  display: grid;
  gap: 6px;
}
.sidebar-nav p {
  color: #8d8e9d;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 4px 14px;
}
.sidebar-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 6px;
  color: #a7a8b8;
  font-size: 14px;
  font-weight: 700;
}
.sidebar-nav a.active,
.sidebar-nav a:hover {
  background: #21304b;
  color: #35a0ff;
}
.nav-icon {
  width: 24px;
  color: currentColor;
  font-size: 22px;
  text-align: center;
}
.scan-card {
  margin: auto 22px 18px;
  min-height: 90px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px solid #2f3044;
  border-radius: 8px;
  background: #13131f;
  color: #b8bac8;
}
.qr-grid {
  width: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.qr-grid i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #f7f8ff;
}
.scan-card strong {
  color: #cfd1df;
  font-size: 13px;
}
.scan-card em {
  color: #7c7f91;
  font-style: normal;
  font-size: 11px;
}
.command-main {
  min-width: 0;
  padding-bottom: 30px;
}
.command-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  border-bottom: 1px solid #2a2a3a;
}
.command-topbar h1 {
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}
.command-topbar h1 span {
  color: #f2f3f7;
  font-weight: 760;
}
.command-topbar p {
  color: #8d8e9d;
  font-size: 12px;
  margin-top: 4px;
}
.topbar-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-box {
  width: 280px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #2d2d42;
  border-radius: 999px;
  background: #171725;
  color: #7f8190;
}
.search-box input {
  border: 0;
  padding: 0;
  background: transparent;
  color: #d9dbe8;
  box-shadow: none;
}
.notify-dot,
.fullscreen-dot {
  color: #a8a9b7;
  font-size: 18px;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid #2a2a3a;
}
.user-chip strong,
.user-chip em {
  display: block;
  text-align: right;
}
.user-chip strong {
  color: #fff;
  font-size: 14px;
}
.user-chip em {
  color: #38a3ff;
  font-size: 11px;
  font-style: normal;
}
.user-chip b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #3297ff;
  color: #fff;
  font-size: 18px;
}
.metric-grid,
.source-strip,
.analytics-grid,
.tracker-panel {
  margin-left: 28px;
  margin-right: 28px;
}
.metric-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.metric-card {
  position: relative;
  min-height: 120px;
  padding: 18px 20px;
  border: 1px solid #2b2c42;
  border-radius: 8px;
  background: linear-gradient(135deg, #202030, #1b1b2a);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}
.metric-card.danger {
  border-color: rgba(255, 75, 103, .45);
  background: linear-gradient(135deg, rgba(73, 36, 55, .55), #1b1b2a 65%);
}
.metric-card span {
  display: block;
  color: #9b9cab;
  font-size: 12px;
  font-weight: 800;
}
.metric-card strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  margin-top: 8px;
}
.metric-card.danger strong,
.metric-card.danger span {
  color: #ff526a;
}
.metric-card p {
  margin-top: 14px;
  color: #9b9cab;
  font-size: 12px;
  font-weight: 700;
}
.metric-card b {
  display: inline-flex;
  border-radius: 5px;
  padding: 4px 8px;
  margin-right: 8px;
  font-size: 12px;
}
.trend-up,
.danger-pill {
  background: rgba(255, 82, 106, .12);
  color: #ff526a;
}
.trend-down {
  background: rgba(37, 211, 211, .12);
  color: #25d3d3;
}
.metric-icon {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
}
.icon-blue { background: rgba(46, 151, 255, .14); color: #2e97ff; }
.icon-red { background: rgba(255, 82, 106, .14); color: #ff526a; }
.icon-amber { background: rgba(255, 177, 28, .14); color: #ffb11c; }
.icon-teal { background: rgba(37, 211, 211, .14); color: #25d3d3; }
.source-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.source-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid #2b2c42;
  border-left-width: 4px;
  border-radius: 8px;
  background: #1b1b2a;
}
.source-pill span {
  color: #f3f4fb;
  font-size: 14px;
  font-weight: 800;
}
.source-pill strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.source-pill em {
  color: #8d8e9d;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.source-customer { border-left-color: #ff526a; }
.source-process { border-left-color: #ffb11c; }
.source-supplier { border-left-color: #25d3d3; }
.analytics-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: 18px;
}
.meeting-panel {
  border: 1px solid #2b2c42;
  border-radius: 8px;
  background: #1b1b2a;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px 0;
}
.panel-title h2 {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}
.panel-title p {
  color: #9b9cab;
  font-size: 12px;
  margin-top: 5px;
}
.panel-title a,
.tracker-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #2b2c42;
  border-radius: 8px;
  color: #d8d9e6;
  font-size: 13px;
  font-weight: 900;
  background: #151522;
}
.chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 22px 0;
  color: #a7a8b8;
  font-size: 12px;
}
.chart-legend span,
.node-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chart-legend i,
.node-list i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.line-blue { border: 3px solid #3395ff; }
.line-pink { border: 3px solid #ff5b86; }
.trend-chart {
  width: 100%;
  height: 240px;
  padding: 0 18px 16px;
}
.chart-grid line {
  stroke: #303145;
  stroke-width: 1;
}
.area-blue {
  fill: rgba(51, 149, 255, .25);
}
.area-pink {
  fill: rgba(255, 91, 134, .18);
}
.line-blue-path,
.line-pink-path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}
.line-blue-path { stroke: #3395ff; }
.line-pink-path { stroke: #ff5b86; }
.chart-labels text {
  fill: #9b9cab;
  font-size: 13px;
}
.donut-panel {
  min-height: 380px;
}
.donut-chart {
  width: 200px;
  height: 200px;
  margin: 30px auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#8b4dff 0 11%, #ff526a 11% 33%, #ffb11c 33% 68%, #25d3d3 68% 84%, #3395ff 84% 100%);
}
.donut-core {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #1b1b2a;
}
.donut-core strong {
  color: #fff;
  font-size: 32px;
  line-height: 1;
}
.donut-core span {
  color: #9b9cab;
  font-size: 11px;
  font-weight: 800;
  margin-top: 6px;
}
.node-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  color: #a7a8b8;
  font-size: 12px;
  padding: 0 22px 18px;
}
.node-red { background: #ff526a; }
.node-orange { background: #ffb11c; }
.node-teal { background: #25d3d3; }
.node-purple { background: #8b4dff; }
.tracker-panel {
  margin-top: 18px;
  padding-bottom: 10px;
}
.tracker-actions {
  display: flex;
  gap: 12px;
}
.tracker-wrap {
  overflow-x: auto;
  padding: 14px 22px 0;
}
.tracker-table {
  min-width: 960px;
  color: #dfe1ef;
}
.tracker-table th {
  background: #151522;
  color: #9b9cab;
  border-bottom-color: #303145;
  font-size: 12px;
  padding: 10px 10px;
}
.tracker-table td {
  border-bottom-color: #303145;
  font-size: 13px;
  padding: 10px 10px;
}
.tracker-table tbody tr:hover {
  background: rgba(51, 149, 255, .08);
}
.tracker-title {
  color: #fff;
  font-weight: 700;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-tag,
.step-dot,
.board-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 9px;
  white-space: nowrap;
}
.tag-red { background: rgba(255, 82, 106, .14); color: #ff8a9b; }
.tag-blue { background: rgba(51, 149, 255, .16); color: #8bc5ff; }
.tag-yellow { background: rgba(255, 177, 28, .16); color: #ffd36a; }
.step-done { background: rgba(37, 211, 211, .14); color: #63e3e3; }
.step-doing { background: rgba(255, 177, 28, .16); color: #ffd36a; }
.step-bad { background: rgba(255, 82, 106, .14); color: #ff8a9b; }
/* board-status colors now in .board-status-* classes below */

/* dashboard breakpoints (scoped to meeting-body; legacy pages unaffected) */
@media (max-width: 1280px) {
  .meeting-body .command-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .meeting-body .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meeting-body .analytics-grid {
    grid-template-columns: 1fr;
  }
  .meeting-body .search-box {
    width: 220px;
  }
}
@media (max-width: 900px) {
  .meeting-body .command-shell {
    grid-template-columns: 1fr;
  }
  .meeting-body .command-sidebar {
    position: static;
    height: auto;
  }
  .meeting-body .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meeting-body .sidebar-nav p,
  .meeting-body .scan-card {
    grid-column: 1 / -1;
  }
  .meeting-body .command-topbar,
  .meeting-body .topbar-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .meeting-body .metric-grid,
  .meeting-body .source-strip,
  .meeting-body .analytics-grid,
  .meeting-body .tracker-panel {
    margin-left: 14px;
    margin-right: 14px;
  }
  .meeting-body .source-strip {
    grid-template-columns: 1fr;
  }
}
/* === Version badge === */
.version-badge {
  font-size: 11px;
  background: #2a2a3a;
  padding: 2px 8px;
  border-radius: 4px;
  color: #8d8e9d;
  font-weight: 700;
}

/* === Nav disabled === */
.nav-disabled {
  opacity: .45;
  pointer-events: none;
  cursor: default;
}
.nav-tag {
  font-style: normal;
  font-size: 10px;
  color: #7c7f91;
  background: #2a2a3a;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: auto;
}

/* === A. Meeting banner === */
.meeting-banner {
  margin: 16px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #2b2c42;
  background: #1b1b2a;
}
.banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.banner-date {
  color: #dfe1ef;
  font-size: 13px;
  font-weight: 700;
}
.banner-status {
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.banner-red { background: rgba(255,82,106,.15); color: #ff526a; }
.banner-yellow { background: rgba(255,177,28,.15); color: #ffd36a; }
.banner-green { background: rgba(37,211,211,.12); color: #25d3d3; }
.banner-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.banner-label { color: #8d8e9d; font-weight: 700; }
#banner-overdue-names { color: #ff8a9b; font-weight: 700; }

/* === B. Quality calendar === */
.calendar-panel {
  margin: 16px 28px 0;
}
.calendar-month {
  color: #dfe1ef;
  font-size: 14px;
  font-weight: 700;
}
.cal-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 12px;
  color: #9b9cab;
  font-size: 11px;
}
.cal-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.cal-green { background: #16a34a; }
.cal-yellow { background: #d97706; }
.cal-red { background: #dc2626; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 14px 22px 18px;
}
.cal-dow {
  text-align: center;
  color: #8d8e9d;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 0;
}
.cal-empty { }
.cal-day {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0;
  border-radius: 4px;
  color: #dfe1ef;
  min-height: 28px;
}
.cal-day-green { background: rgba(22,163,74,.18); color: #4ade80; }
.cal-day-yellow { background: rgba(217,119,6,.18); color: #fbbf24; }
.cal-day-red { background: rgba(220,38,38,.20); color: #f87171; }
.cal-day-today { outline: 2px solid #3395ff; outline-offset: -2px; }

/* === D. Close gate === */
.gate-panel {
  margin: 16px 28px 0;
}
.gate-list {
  padding: 8px 22px 14px;
}
.gate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-top: 8px;
  border: 1px solid #2b2c42;
  border-radius: 6px;
  background: #151522;
}
.gate-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.gate-item-title {
  color: #dfe1ef;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gate-item-owner {
  color: #8d8e9d;
  font-size: 12px;
  white-space: nowrap;
}
.gate-checks {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.gate-check {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.check-ok { background: rgba(37,211,211,.14); color: #63e3e3; }
.check-pending { background: rgba(255,177,28,.14); color: #ffd36a; }
.gate-empty {
  text-align: center;
  color: #8d8e9d;
  font-size: 13px;
  padding: 20px;
}

/* === Board status unified colors === */
.board-status-done { background: rgba(37,211,211,.14); color: #63e3e3; }
.board-status-red { background: rgba(255,82,106,.14); color: #ff8a9b; }
.board-status-yellow { background: rgba(255,177,28,.16); color: #ffd36a; }
.board-status-blue { background: rgba(51,149,255,.16); color: #8bc5ff; }

/* === 1366x768 / 1440x900 compact (scoped to meeting-body / dashboard only) === */
@media (max-width: 1440px) {
  .meeting-body .command-shell { grid-template-columns: 230px minmax(0,1fr); }
  .meeting-body .command-topbar { min-height: 52px; padding: 8px 16px; }
  .meeting-body .command-topbar h1 { font-size: 18px; }
  .meeting-body .command-topbar p { font-size: 11px; margin-top: 2px; }
  .meeting-body .topbar-tools { gap: 10px; }
  .meeting-body .search-box { width: 180px; height: 32px; }
  .meeting-body .user-chip b { width: 32px; height: 32px; font-size: 15px; }
  .meeting-body .meeting-banner {
    margin: 8px 14px 0; padding: 8px 14px;
  }
  .meeting-body .banner-date { font-size: 12px; }
  .meeting-body .banner-status { font-size: 12px; padding: 3px 8px; }
  .meeting-body .banner-right { font-size: 11px; }
  .meeting-body .metric-grid,
  .meeting-body .source-strip,
  .meeting-body .analytics-grid,
  .meeting-body .tracker-panel,
  .meeting-body .calendar-panel,
  .meeting-body .gate-panel {
    margin-left: 14px; margin-right: 14px;
  }
  .meeting-body .metric-grid { gap: 8px; margin-top: 8px; }
  .meeting-body .metric-card { min-height: 78px; padding: 10px 14px; }
  .meeting-body .metric-card span { font-size: 11px; }
  .meeting-body .metric-card strong { font-size: 22px; margin-top: 4px; }
  .meeting-body .metric-card p { margin-top: 6px; font-size: 11px; }
  .meeting-body .metric-icon { width: 34px; height: 34px; font-size: 14px; right: 12px; top: 10px; }
  .meeting-body .source-strip { margin-top: 8px; gap: 8px; }
  .meeting-body .source-pill { padding: 8px 12px; }
  .meeting-body .source-pill span { font-size: 12px; }
  .meeting-body .source-pill strong { font-size: 22px; }
  .meeting-body .source-pill em { font-size: 11px; }
  .meeting-body .calendar-panel { margin-top: 8px; }
  .meeting-body .calendar-grid { gap: 2px; padding: 8px 14px 10px; }
  .meeting-body .cal-dow { font-size: 10px; padding: 2px 0; }
  .meeting-body .cal-day { font-size: 11px; padding: 3px 0; min-height: 22px; }
  .meeting-body .panel-title { padding: 10px 14px 0; }
  .meeting-body .panel-title h2 { font-size: 15px; }
  .meeting-body .panel-title p { font-size: 11px; margin-top: 3px; }
  .meeting-body .analytics-grid { margin-top: 8px; gap: 10px; }
  .meeting-body .trend-chart { height: 180px; padding: 0 10px 8px; }
  .meeting-body .chart-legend { padding: 8px 14px 0; font-size: 11px; }
  .meeting-body .donut-panel { min-height: 280px; }
  .meeting-body .donut-chart { width: 150px; height: 150px; margin: 16px auto 8px; }
  .meeting-body .donut-core { width: 100px; height: 100px; }
  .meeting-body .donut-core strong { font-size: 24px; }
  .meeting-body .donut-core span { font-size: 10px; }
  .meeting-body .node-list { padding: 0 14px 10px; font-size: 11px; gap: 6px 10px; }
  .meeting-body .gate-panel { margin-top: 8px; }
  .meeting-body .gate-list { padding: 6px 14px 10px; }
  .meeting-body .gate-item { padding: 8px 12px; margin-top: 6px; }
  .meeting-body .gate-item-title { font-size: 12px; }
  .meeting-body .gate-check { font-size: 11px; padding: 2px 6px; }
  .meeting-body .tracker-panel { margin-top: 8px; }
  .meeting-body .tracker-wrap { padding: 8px 14px 0; }
  .meeting-body .tracker-table { min-width: 780px; }
  .meeting-body .tracker-table th,
  .meeting-body .tracker-table td { padding: 6px 6px; font-size: 12px; }
}

@media (max-width: 900px) {
  .meeting-body .command-shell { grid-template-columns: 1fr; }
  .meeting-body .command-sidebar { position: static; height: auto; }
  .meeting-body .sidebar-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .meeting-body .sidebar-nav p,
  .meeting-body .scan-card { grid-column: 1 / -1; }
  .meeting-body .command-topbar,
  .meeting-body .topbar-tools { align-items: flex-start; flex-direction: column; }
  .meeting-body .metric-grid,
  .meeting-body .source-strip,
  .meeting-body .analytics-grid,
  .meeting-body .tracker-panel,
  .meeting-body .meeting-banner,
  .meeting-body .calendar-panel,
  .meeting-body .gate-panel {
    margin-left: 14px; margin-right: 14px;
  }
  .meeting-body .source-strip { grid-template-columns: 1fr; }
  .meeting-body .meeting-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .meeting-body .sidebar-brand,
  .meeting-body .command-topbar { padding-left: 18px; padding-right: 18px; }
  .meeting-body .sidebar-nav { grid-template-columns: 1fr; }
  .meeting-body .metric-grid { grid-template-columns: 1fr; gap: 14px; }
  .meeting-body .metric-card { min-height: 154px; padding: 22px; }
  .meeting-body .metric-card strong { font-size: 34px; }
  .meeting-body .search-box { width: min(100%, 360px); }
  .meeting-body .panel-title { flex-direction: column; padding: 22px 20px 0; }
  .meeting-body .chart-legend { justify-content: flex-start; flex-wrap: wrap; padding: 24px 20px 0; }
  .meeting-body .trend-chart { height: 260px; }
  .meeting-body .donut-chart { width: 220px; height: 220px; }
  .meeting-body .donut-core { width: 142px; height: 142px; }
  .meeting-body .gate-item { flex-direction: column; align-items: flex-start; }
}
/* FastResponse formal dashboard UI-only patch.
   Apply after the existing formal v1.1.3 stylesheet. Do not replace the page structure. */
@media (min-width: 1281px) {
  .command-shell {
    grid-template-columns: clamp(240px, 16.5vw, 320px) minmax(0, 1fr);
  }

  .command-topbar {
    min-height: 88px;
    padding: 18px 30px;
  }

  .command-topbar h1 {
    font-size: 25px;
  }

  .topbar-tools {
    gap: 16px;
  }

  .search-box {
    width: clamp(260px, 25vw, 360px);
    height: 42px;
  }

  .metric-grid,
  .source-strip,
  .analytics-grid,
  .tracker-panel {
    margin-left: 30px;
    margin-right: 30px;
  }

  .metric-grid {
    margin-top: 28px;
    gap: 16px;
  }

  .metric-card {
    min-height: 156px;
    padding: 24px;
  }

  .metric-card strong {
    font-size: 36px;
    margin-top: 9px;
  }

  .metric-card p {
    margin-top: 20px;
  }

  .metric-icon {
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
  }

  .source-strip {
    margin-top: 16px;
    gap: 12px;
  }

  .source-pill {
    padding: 14px 18px;
  }

  .source-pill span {
    font-size: 15px;
  }

  .source-pill strong {
    font-size: 30px;
  }

  .analytics-grid {
    margin-top: 18px;
    gap: 18px;
  }

  .panel-title {
    padding: 22px 22px 0;
  }

  .panel-title h2 {
    font-size: 20px;
  }

  .chart-legend {
    padding: 22px 24px 0;
    font-size: 12px;
  }

  .trend-chart {
    height: 300px;
    padding: 0 18px 18px;
  }

  .donut-panel {
    min-height: 464px;
  }

  .donut-chart {
    width: 230px;
    height: 230px;
    margin-top: 48px;
  }

  .donut-core {
    width: 148px;
    height: 148px;
  }

  .tracker-panel {
    margin-top: 18px;
  }

  .tracker-wrap {
    padding: 18px 22px 0;
  }
}

/* ═══════════════════════════════════════════
   v1.1.11 — QSB 早会看板样式
   只追加，不改已有规则
   1440×900 工厂会议屏优先
   ═══════════════════════════════════════════ */

/* === 维度切换条 === */
.dimension-section {
  margin: 14px 0 10px;
}
.dimension-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.dimension-heading h2 {
  color: #f3f4fb;
  font-size: 15px;
  line-height: 1.2;
}
.dimension-heading p {
  margin-top: 3px;
  color: #8d8e9d;
  font-size: 11px;
}
.dimension-all {
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #34374a;
  border-radius: 5px;
  background: #1a1d2a;
  color: #a6a8b8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.dimension-all.active {
  border-color: #2e97ff;
  color: #fff;
  background: rgba(46,151,255,.14);
}
.dimension-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dimension-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  gap: 2px 12px;
  min-width: 0;
  min-height: 94px;
  padding: 11px 14px 10px 16px;
  overflow: hidden;
  border: 1px solid #2b2c42;
  border-left-width: 4px;
  border-radius: 6px;
  background: #1b1b2a;
  color: #f3f4fb;
  text-align: left;
  cursor: pointer;
}
.dimension-card:hover { background: #202031; }
.dimension-card.active {
  border-color: currentColor;
  background: #232334;
  box-shadow: inset 0 0 0 1px currentColor;
}
.dimension-customer { color: #ff6b80; border-left-color: #ff526a; }
.dimension-process { color: #ffd36a; border-left-color: #ffb11c; }
.dimension-supplier { color: #63e3e3; border-left-color: #25d3d3; }
.dimension-title {
  align-self: end;
  color: #f3f4fb;
  font-size: 13px;
  font-weight: 800;
}
.dimension-card > strong {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: currentColor;
  font-size: 30px;
  line-height: 1;
}
.dimension-card > em {
  color: #8d8e9d;
  font-size: 11px;
  font-style: normal;
}
.dimension-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 5px;
  padding-top: 7px;
  border-top: 1px solid #2b2c42;
  color: #8d8e9d;
  font-size: 10px;
}
.dimension-details span {
  min-width: 0;
  white-space: nowrap;
}
.dimension-details b {
  margin-left: 3px;
  color: #d7e2ea;
  font-size: 11px;
}
.mode-bar {
  display: flex;
  gap: 4px;
  background: #1e2130;
  padding: 4px;
  border-radius: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.mode-bar button {
  border: 0;
  background: transparent;
  color: #8d8e9d;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mode-bar button:hover { background: #2a2d3e; color: #d7e2ea; }
.mode-bar button.active { background: #0f766e; color: #fff; }

/* 图例条 */
.legend-strip {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8d8e9d;
}
.legend-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.legend-dot.green { background: #25d3d3; }
.legend-dot.yellow { background: #ffd36a; }
.legend-dot.red { background: #ff526a; }
.legend-dot.na { background: #3a3d4e; }

/* === QSB 快反追踪表 === */
.qsb-wrap {
  margin-bottom: 18px;
}
.qsb-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #2a2d3e;
  border-radius: 6px;
  background: #1a1d2a;
}
.qsb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
.qsb-table th {
  background: #222538;
  color: #8d8e9d;
  font-weight: 600;
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #2a2d3e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.qsb-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #262938;
  color: #d7e2ea;
}
.qsb-table tr:last-child td { border-bottom: 0; }
.qsb-table tr:hover td { background: #222538; }
.qsb-table .qsb-empty td {
  text-align: center;
  color: #6b7280;
  padding: 32px 10px;
}
.qsb-table a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.qsb-table a:hover { color: #25d3d3; }

/* 节点状态徽标 */
.node-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.node-badge.green { background: rgba(37,211,211,.15); color: #25d3d3; }
.node-badge.yellow { background: rgba(255,211,106,.15); color: #ffd36a; }
.node-badge.red { background: rgba(255,82,106,.15); color: #ff526a; }
.node-badge.na { background: #2a2d3e; color: #6b7280; }

/* 来源标签 */
.source-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}
.source-tag.tag-customer { background: rgba(37,211,211,.12); color: #25d3d3; }
.source-tag.tag-internal { background: rgba(37,99,235,.12); color: #93c5fd; }
.source-tag.tag-supplier { background: rgba(245,158,11,.12); color: #fbbf24; }

/* 状态标签 */
.board-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}
.board-status.board-status-done { background: rgba(37,211,211,.12); color: #25d3d3; }
.board-status.board-status-warn { background: rgba(255,211,106,.12); color: #ffd36a; }
.board-status.board-status-overdue { background: rgba(255,82,106,.12); color: #ff526a; }
.board-status.board-status-open { background: #2a2d3e; color: #b6c6d1; }

/* 重复标记 */
.repeat-tag {
  display: inline-block;
  width: 18px; height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.repeat-tag.yes { background: rgba(255,82,106,.15); color: #ff526a; }
.repeat-tag.no { background: rgba(37,211,211,.12); color: #25d3d3; }

/* 辅助信息下移 */
.qsb-below {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 960px) {
  .qsb-below { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   v1.1.12 — 新建问题：分段按钮（问题来源）
   深色工业风，匹配 meeting-body / form-card
   ═══════════════════════════════════════════ */
.source-segmented {
  display: flex;
  gap: 0;
  border: 1px solid #2b2c42;
  border-radius: 6px;
  overflow: hidden;
  background: #1b1b2a;
  width: 100%;
}
.seg-option {
  flex: 1;
  border: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #6a6f82;
  background: transparent;
  cursor: pointer;
  transition: background .15s, color .15s;
  border-right: 1px solid #2b2c42;
  white-space: nowrap;
  letter-spacing: .02em;
}
.seg-option:last-child { border-right: 0; }
.seg-option:hover { background: #222538; color: #b6c6d1; }
.seg-option.active {
  background: #0f766e;
  color: #f0fdfa;
  font-weight: 700;
}

/* inline edit date fields */
.info-item .inline-edit {
  cursor: pointer;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.15s;
}
.info-item .inline-edit:hover {
  background: rgba(0,122,255,0.15);
  border-bottom-color: #007aff;
}
.info-item .inline-date-input {
  background: #1e1e2e;
  color: #cdd6f4;
}
.info-item .inline-text-input {
  background: #1e1e2e;
  color: #cdd6f4;
}
.doc-status-badge {
  font-size:11px;
  padding:2px 6px;
  border-radius:4px;
  background:rgba(255,159,10,0.12);
  color:#ff9f0a;
  white-space:nowrap;
}
.doc-status-badge.completed {
  background:rgba(48,209,88,0.12);
  color:#30d158;
}
.doc-status-badge.na {
  background:rgba(134,134,134,0.12);
  color:#868686;
}

/* v1.4.4 文件更新状态卡片 */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.doc-card {
  background: var(--clr-bg, #f9f9fb);
  border: 1px solid var(--clr-border, #e5e5ea);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.doc-card-detail {
  font-size: 12px;
  color: var(--clr-muted, #8e8e93);
  line-height: 1.5;
}
.doc-card-evidence {
  font-size: 12px;
  color: var(--clr-muted, #8e8e93);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-status-badge.in_progress {
  background: #007aff;
  color: #fff;
}
.doc-status-badge.completed {
  background: #34c759;
  color: #fff;
}
.doc-status-badge.na {
  background: #c7c7cc;
  color: #fff;
}
