:root {
  --navy-950: #07172c;
  --navy-900: #0b1e38;
  --navy-800: #15304d;
  --slate-700: #46586c;
  --slate-500: #778596;
  --slate-300: #cbd3db;
  --slate-150: #e4e9ed;
  --slate-100: #edf1f4;
  --paper: #fffefa;
  --gold-600: #9e7b3d;
  --gold-400: #c4a66b;
  --gold-200: #e8dcc2;
  --danger: #99463f;
  --warning: #a86f2c;
  --success: #326b59;
  --active: #315f88;
  --shadow: 0 18px 50px rgba(7, 23, 44, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--slate-100); }
body { margin: 0; color: var(--navy-950); background: var(--slate-100); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.app-frame { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.app-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 24px 22px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    var(--navy-950);
  background-size: 100% 36px;
  border-right: 1px solid #203852;
}
.app-brand { display: flex; gap: 13px; align-items: center; color: #fff; text-decoration: none; }
.brand-seal {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-200);
  font-family: "Songti SC", "STSong", serif;
  font-weight: 700;
  font-size: 13px;
}
.app-brand strong { display: block; font-family: "Songti SC", "STSong", serif; font-size: 15px; letter-spacing: .06em; }
.app-brand small { display: block; margin-top: 4px; color: #8495a8; font-size: 8px; letter-spacing: .18em; }
.primary-nav { margin-top: 58px; display: grid; gap: 4px; }
.primary-nav a { position: relative; padding: 15px 13px; display: flex; gap: 14px; align-items: center; color: #aab7c6; text-decoration: none; font-size: 15px; border-left: 2px solid transparent; transition: .18s ease; }
.primary-nav a:hover { color: #fff; background: #102642; }
.primary-nav a.active { color: #fff; background: #132b48; border-left-color: var(--gold-400); }
.nav-index { color: #63758a; font-family: Georgia, serif; font-size: 12px; }
.primary-nav a.active .nav-index { color: var(--gold-400); }
.rail-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid #243b56; }
.identity { display: flex; gap: 11px; align-items: center; margin-bottom: 16px; }
.identity-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy-950); background: #d7dee5; font-weight: 700; }
.identity strong, .identity small { display: block; }
.identity strong { font-size: 13px; }
.identity small { margin-top: 3px; color: #8292a5; font-size: 11px; }
.rail-footer > a, .rail-footer button { display: block; width: 100%; padding: 8px 0; color: #95a6b8; background: transparent; border: 0; text-align: left; text-decoration: none; font-size: 13px; cursor: pointer; }
.rail-footer > a:hover, .rail-footer button:hover { color: #fff; }
.app-main { min-width: 0; }
.mobile-header { display: none; }

.workspace-page { width: min(1320px, calc(100% - 72px)); margin: 0 auto; padding: 58px 0 80px; }
.page-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.overline { margin: 0 0 10px; color: var(--gold-600); font-family: Georgia, "Times New Roman", serif; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.page-intro h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -.03em; }
.page-intro p:last-child { max-width: 720px; margin: 13px 0 0; color: var(--slate-700); line-height: 1.8; font-size: 14px; }
.primary-action { padding: 14px 20px; display: inline-flex; gap: 10px; align-items: center; color: #fff; background: var(--navy-900); text-decoration: none; box-shadow: 0 10px 25px rgba(7,23,44,.14); transition: transform .18s ease, background .18s ease; }
.primary-action span { color: var(--gold-400); font-size: 20px; line-height: 1; }
.primary-action:hover { transform: translateY(-2px); background: var(--navy-800); }

.metric-strip { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--slate-300); box-shadow: var(--shadow); }
.metric-strip article { min-height: 146px; padding: 24px 27px; position: relative; border-right: 1px solid var(--slate-150); }
.metric-strip article:last-child { border-right: 0; }
.metric-strip article::before { content: ""; position: absolute; top: -1px; left: 26px; width: 34px; height: 3px; background: var(--navy-800); }
.metric-strip article.metric-attention::before { background: var(--danger); }
.metric-strip span, .metric-strip small { display: block; color: var(--slate-500); font-size: 12px; }
.metric-strip strong { display: block; margin: 13px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 400; }
.metric-strip .metric-duration { margin-top: 19px; font-family: "Songti SC", serif; font-size: 22px; font-weight: 600; }

.work-panel { margin-top: 24px; padding: 30px; background: var(--paper); border: 1px solid var(--slate-300); box-shadow: var(--shadow); }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.panel-heading h2 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: 24px; font-weight: 600; }
.panel-heading > p, .panel-heading > span { margin: 0; color: var(--slate-500); font-size: 12px; }
.project-table { border-top: 1px solid var(--navy-900); }
.project-row { min-height: 92px; padding: 18px 10px; display: grid; grid-template-columns: minmax(280px, 2fr) minmax(155px, 1fr) 110px 150px 150px; gap: 18px; align-items: center; border-bottom: 1px solid var(--slate-150); }
.project-row-head { min-height: 42px; padding-top: 10px; padding-bottom: 10px; color: var(--slate-500); font-size: 11px; letter-spacing: .05em; }
.project-identity { display: flex; gap: 14px; align-items: center; }
.project-code { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; color: var(--gold-600); background: #f2ede2; font-family: Georgia, serif; font-size: 11px; }
.project-row strong, .project-row small { display: block; }
.project-row strong, .project-identity a { color: var(--navy-900); font-size: 13px; font-weight: 600; text-decoration: none; }
.project-identity a { font-family: "Songti SC", serif; font-size: 17px; }
.project-identity a:hover { color: var(--gold-600); }
.project-row small { margin-top: 6px; color: var(--slate-500); font-size: 11px; line-height: 1.5; }
.status-pill { display: inline-block; padding: 6px 9px; font-size: 11px; border: 1px solid; }
.status-warning { color: #714716; background: #f5ead5; border-color: #dfc28a; }
.status-danger { color: #772f2a; background: #f5dfdb; border-color: #d5a39e; }
.status-active { color: #214e75; background: #e2edf6; border-color: #a9c6dc; }
.status-pending { color: #655321; background: #f2eedc; border-color: #d2c38b; }
.status-success { color: #285b4b; background: #dfede8; border-color: #9fc3b6; }
.status-neutral { color: #586574; background: #edf0f2; border-color: #c9d0d6; }
.row-action a { display: flex; justify-content: space-between; align-items: center; color: var(--navy-900); text-decoration: none; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--gold-400); padding-bottom: 7px; }
.row-action a span { color: var(--gold-600); font-size: 16px; }
.panel-empty { padding: 60px 20px; text-align: center; color: var(--slate-500); }
.panel-empty strong { color: var(--navy-900); font-family: "Songti SC", serif; font-size: 21px; }
.panel-empty a { color: var(--gold-600); text-underline-offset: 4px; }

.project-facts { margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border: 1px solid var(--slate-300); box-shadow: var(--shadow); }
.project-facts div { min-height: 96px; padding: 21px 23px; border-right: 1px solid var(--slate-150); }
.project-facts div:last-child { border-right: 0; }
.project-facts span, .project-facts strong { display: block; }
.project-facts span { color: var(--slate-500); font-size: 11px; }
.project-facts strong { margin-top: 11px; color: var(--navy-900); font-family: "Songti SC", serif; font-size: 15px; line-height: 1.5; }
.version-panel { margin-top: 24px; }
.version-list { display: grid; gap: 16px; }
.version-card { padding: 24px; border: 1px solid var(--slate-300); background: #fff; }
.version-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.version-heading > div { display: flex; gap: 13px; align-items: center; }
.version-number { width: 46px; height: 34px; display: grid; place-items: center; color: var(--gold-600); background: #f2ede2; font-family: Georgia, serif; font-size: 12px; }
.version-heading strong { color: var(--navy-900); font-family: "Songti SC", serif; font-size: 18px; }
.review-progress { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 13px; align-items: center; }
.review-progress > div { height: 7px; overflow: hidden; background: var(--slate-150); }
.review-progress i { height: 100%; display: block; background: linear-gradient(90deg, var(--navy-800), var(--gold-400)); transition: width .3s ease; }
.review-progress span { color: var(--slate-700); text-align: right; font-family: Georgia, serif; font-size: 12px; }
.review-meta { margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--slate-150); border-bottom: 1px solid var(--slate-150); }
.review-meta div { padding: 14px 12px; border-right: 1px solid var(--slate-150); }
.review-meta div:last-child { border-right: 0; }
.review-meta dt { color: var(--slate-500); font-size: 10px; }
.review-meta dd { margin: 6px 0 0; color: var(--navy-900); overflow-wrap: anywhere; font-size: 12px; }
.review-note { margin: 15px 0 0; color: var(--slate-700); font-size: 12px; line-height: 1.7; }
.review-error { margin-top: 16px; padding: 14px 16px; color: #772f2a; background: #f8e8e5; border-left: 3px solid var(--danger); }
.review-error strong { font-size: 13px; }
.review-error p { margin: 6px 0 0; font-size: 12px; line-height: 1.7; }
.version-actions { margin-top: 18px; display: flex; gap: 18px; }
.version-actions a { color: var(--navy-900); text-decoration: none; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--gold-400); padding-bottom: 5px; }
.run-history { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--slate-150); }
.run-history > strong { display: block; font-size: 13px; margin-bottom: 10px; color: var(--navy-900); }
.run-history-list { display: grid; gap: 8px; }
.run-history-row { display: grid; grid-template-columns: 72px 136px minmax(90px, 1fr) 90px auto auto; gap: 10px; align-items: center; font-size: 12px; color: var(--slate-600); }
.run-history-row a { color: var(--navy-900); font-weight: 700; text-decoration: none; }

.management-intro { padding-bottom: 2px; }
.snapshot-time { min-width: 150px; padding: 13px 18px; text-align: right; border-right: 3px solid var(--gold-400); }
.snapshot-time span, .snapshot-time strong { display: block; }
.snapshot-time span { color: var(--slate-500); font-size: 11px; }
.snapshot-time strong { margin-top: 5px; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.decision-entry-panel { margin-top: 24px; }
.decision-entry-list { display: grid; gap: 0; border-top: 1px solid var(--slate-150); }
.decision-entry-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 74px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  color: var(--navy-950);
  border-bottom: 1px solid var(--slate-150);
  text-decoration: none;
}
.decision-entry-row:hover strong { color: var(--gold-600); }
.decision-entry-row .entry-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 13px;
}
.decision-entry-row strong {
  display: block;
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
  font-weight: 600;
}
.decision-entry-row small {
  display: block;
  margin-top: 6px;
  color: var(--slate-500);
  font-size: 12px;
  line-height: 1.5;
}
.entry-count {
  justify-self: end;
  color: var(--gold-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 24px; }
.trend-panel, .queue-panel, .risk-panel, .workload-panel, .recall-panel { margin-top: 24px; }
.recall-panel { grid-column: 1 / -1; }
.recall-diagnostics { display: grid; gap: 14px; }
.recall-diagnostics article { padding: 17px 18px; border: 1px solid var(--slate-150); background: #fff; }
.recall-diagnostics header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.recall-diagnostics header strong, .recall-diagnostics header span { display: block; }
.recall-diagnostics header strong { font-family: "Songti SC", serif; font-size: 15px; line-height: 1.45; }
.recall-diagnostics header span { margin-top: 5px; color: var(--slate-500); font-size: 11px; }
.recall-diagnostics header a { flex: 0 0 auto; color: var(--navy-900); text-decoration: none; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--gold-400); padding-bottom: 5px; }
.recall-package-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.recall-package-row span, .recall-diagnostics footer span { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 9px; color: var(--navy-900); background: var(--slate-100); border: 1px solid var(--slate-150); font-size: 11px; }
.recall-diagnostics footer { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.recall-diagnostics .attention { color: #772f2a; background: #f5dfdb; border-color: #d5a39e; }
.trend-chart { height: 230px; padding: 8px 12px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: end; border-bottom: 1px solid var(--slate-300); }
.trend-column { height: 100%; display: grid; grid-template-rows: 22px 1fr 28px; text-align: center; }
.trend-value { color: var(--slate-500); font-family: Georgia, serif; font-size: 12px; }
.trend-column > div { display: flex; align-items: end; justify-content: center; }
.trend-column i { width: min(38px, 70%); min-height: 4px; display: block; background: var(--navy-800); border-top: 3px solid var(--gold-400); }
.trend-column small { padding-top: 10px; color: var(--slate-500); font-size: 11px; }
.runtime-list { margin: 0; }
.runtime-list div { padding: 13px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--slate-150); }
.runtime-list dt { color: var(--slate-500); font-size: 12px; }
.runtime-list dd { margin: 0; max-width: 170px; overflow-wrap: anywhere; color: var(--navy-900); text-align: right; font-family: Georgia, "Songti SC", serif; font-size: 13px; }
.risk-ranking { margin: 0; padding: 0; list-style: none; }
.risk-ranking li { min-height: 51px; display: grid; grid-template-columns: 38px minmax(0,1fr) 60px; gap: 12px; align-items: center; border-bottom: 1px solid var(--slate-150); }
.risk-ranking .rank { color: var(--gold-600); font-family: Georgia, serif; }
.risk-ranking strong { font-family: "Songti SC", serif; font-size: 14px; font-weight: 600; }
.risk-count { color: var(--slate-500); text-align: right; font-size: 11px; }
.workload-list { display: grid; gap: 10px; }
.workload-list > div { padding: 10px 0; display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; align-items: center; border-bottom: 1px solid var(--slate-150); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy-900); background: var(--gold-200); font-family: Georgia, serif; }
.workload-list strong { font-size: 13px; }
.workload-list > div > span:last-child { color: var(--slate-500); font-size: 11px; }
.management-project-list { display: grid; gap: 10px; }
.management-project-list > div { display: grid; grid-template-columns: 56px minmax(220px, 1fr) 160px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--slate-150); }
.management-project-list a { color: var(--navy-900); text-decoration: none; }
.management-project-list span { font-size: 12px; color: var(--slate-500); }
.management-project-list button { border: 1px solid var(--danger); background: #fff; color: var(--danger); border-radius: 4px; padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.exclusion-list { display: grid; gap: 14px; }
.exclusion-list article { padding: 18px; background: #fff; border: 1px solid var(--slate-150); }
.exclusion-list header { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.exclusion-list header strong,
.exclusion-list header span { display: block; }
.exclusion-list header strong { font-family: "Songti SC", serif; font-size: 16px; line-height: 1.45; }
.exclusion-list header span { margin-top: 5px; color: var(--slate-500); font-size: 12px; }
.exclusion-list header a { color: var(--navy-900); text-decoration: none; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--gold-400); padding-bottom: 5px; }
.exclusion-list p { margin: 14px 0 0; color: var(--slate-700); line-height: 1.75; font-size: 13px; }
.exclusion-list footer { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.exclusion-list button {
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.exclusion-list button.secondary-button { color: var(--danger); background: #fff; border-color: var(--danger); }
.empty-line { color: var(--slate-500); font-size: 13px; }

.auth-body {
  min-height: 100vh;
  color: var(--navy-950);
  background:
    linear-gradient(120deg, rgba(7, 23, 44, .70), rgba(21, 48, 77, .36)),
    url("../img/procurement-review-bg.svg") center / cover no-repeat,
    #dfe7ec;
}
.auth-page {
  min-height: 100vh;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}
.auth-page::before,
.procurement-scene::before {
  content: "";
  position: absolute;
  inset: 34px;
  pointer-events: none;
  border: 1px solid rgba(232, 220, 194, .28);
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(232, 220, 194, .1) 64% 64.5%, transparent 64.5%),
    linear-gradient(0deg, transparent 0 54%, rgba(232, 220, 194, .1) 54% 54.5%, transparent 54.5%);
}
.auth-card,
.center-form-card {
  width: min(100%, 500px);
  padding: 32px;
  position: relative;
  z-index: 1;
  background: rgba(255, 254, 250, .96);
  border: 1px solid var(--slate-300);
  box-shadow: 0 30px 80px rgba(7, 23, 44, .2);
}
.auth-card h1,
.center-form-card h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 31px;
  font-weight: 600;
}
.auth-card > p:not(.overline),
.form-lead,
.upload-note {
  color: var(--slate-700);
  line-height: 1.8;
  font-size: 14px;
}
.form-stack,
.form-grid {
  margin-top: 22px;
}
.form-stack p,
.form-grid p {
  margin: 0 0 14px;
}
.form-stack label,
.form-grid label,
.upload-label {
  display: block;
  margin-bottom: 8px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 700;
}
.form-stack input:not([type="checkbox"]),
.form-stack select,
.form-stack textarea,
.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea,
.file-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--navy-950);
  background: #fff;
  border: 1px solid var(--slate-300);
  outline: 0;
}
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.file-input:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(196, 166, 107, .18);
}
.large-button {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy-900);
  border: 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7, 23, 44, .16);
}
.large-button:hover {
  background: var(--navy-800);
}
.center-form-page {
  min-height: 100vh;
  padding: 36px 24px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(237,241,244,.88), rgba(255,254,250,.78)),
    url("../img/procurement-review-bg.svg") center / cover no-repeat,
    #edf1f4;
}
.center-form-card {
  width: min(100%, 600px);
}
.profile-card,
.upload-card {
  width: min(100%, 820px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.form-grid p {
  min-width: 0;
}
.form-submit-wide {
  grid-column: 1 / -1;
  width: max-content;
}
.compact-grid {
  margin-top: 16px;
}
.form-fieldset {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid var(--slate-300);
}
.form-fieldset legend {
  padding: 0 8px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
}
.file-confirm-list {
  display: grid;
  gap: 14px;
}
.file-confirm-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--slate-150);
}
.file-confirm-card h2 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
}
.file-confirm-card p {
  margin: 9px 0;
  color: var(--slate-700);
  line-height: 1.7;
  font-size: 13px;
}
.confirm-check {
  padding: 15px 16px;
  background: #f4efe4;
  border-left: 3px solid var(--gold-600);
}
.confirm-check label {
  display: inline;
  margin: 0 0 0 8px;
}
.file-input {
  min-height: 50px;
  padding: 12px;
  background: #fbfcfd;
  border-style: dashed;
}
.upload-note {
  margin-top: -6px;
}

@media (max-width: 1080px) {
  .app-frame { grid-template-columns: 205px minmax(0, 1fr); }
  .workspace-page { width: min(100% - 44px, 1320px); }
  .project-row { grid-template-columns: minmax(240px, 2fr) minmax(140px, 1fr) 90px 135px; }
  .project-row > :last-child, .project-row-head > :last-child { grid-column: 1 / -1; }
  .project-row .row-action { justify-self: end; width: 145px; margin-top: -8px; }
}
@media (max-width: 820px) {
  .app-frame { display: block; }
  .app-rail { display: none; }
  .mobile-header { min-height: 62px; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: var(--navy-950); border-bottom: 2px solid var(--gold-400); }
  .mobile-brand { display: flex; gap: 9px; align-items: center; color: #fff; text-decoration: none; font-family: "Songti SC", serif; }
  .mobile-brand span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-200); font-size: 11px; }
  .mobile-header nav { display: flex; gap: 15px; }
  .mobile-header nav a { color: #b8c5d2; text-decoration: none; font-size: 12px; }
  .workspace-page { width: calc(100% - 28px); padding: 32px 0 60px; }
  .page-intro { align-items: flex-start; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip article:nth-child(2) { border-right: 0; }
  .metric-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--slate-150); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts div { border-bottom: 1px solid var(--slate-150); }
  .review-meta { grid-template-columns: 1fr 1fr; }
  .center-form-page { min-height: calc(100vh - 62px); }
}
@media (max-width: 620px) {
  .page-intro { display: block; }
  .page-intro h1 { font-size: 38px; }
  .primary-action { margin-top: 22px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip article { min-height: 125px; padding: 20px; }
  .metric-strip strong { font-size: 31px; }
  .decision-entry-row { grid-template-columns: 42px minmax(0, 1fr); }
  .entry-count { grid-column: 2; justify-self: start; font-size: 14px; }
  .work-panel { padding: 22px 18px; }
  .panel-heading { display: block; }
  .panel-heading > p, .panel-heading > span { margin-top: 8px; }
  .project-row { padding: 22px 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .project-row.project-row-head { display: none; }
  .project-identity { grid-column: 1 / -1; }
  .project-row .row-action { grid-column: 1 / -1; justify-self: stretch; width: 100%; margin: 0; }
  .snapshot-time { margin-top: 20px; text-align: left; border-right: 0; border-left: 3px solid var(--gold-400); }
  .trend-chart { gap: 7px; padding-left: 0; padding-right: 0; }
  .exclusion-list header { grid-template-columns: 36px minmax(0, 1fr); }
  .exclusion-list header a { grid-column: 2; justify-self: start; }
  .exclusion-list footer { display: grid; }
  .exclusion-list button { width: 100%; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts div { min-height: 80px; border-right: 0; }
  .version-heading { align-items: flex-start; }
  .review-meta { grid-template-columns: 1fr; }
  .review-meta div { border-right: 0; border-bottom: 1px solid var(--slate-150); }
  .auth-page::before,
  .procurement-scene::before { inset: 16px; }
  .auth-card,
  .center-form-card { padding: 28px 20px; }
  .auth-card h1,
  .center-form-card h1 { font-size: 29px; }
  .form-grid,
  .compact-grid { grid-template-columns: 1fr; }
  .form-submit-wide,
  .large-button { width: 100%; }
  .form-fieldset { padding: 18px 14px; }
}
