:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --white: #fffefa;
  --deep: #152e29;
  --heading: #182d27;
  --body: #33423a;
  --subtle: #606b60;
  --border: #e4e0d4;
  --forest: #275848;
  --mint: #e7efe6;
  --bronze: #7d4b2e;
  --ochre: #f5e9d6;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --surface-2: #18342e;
  --text: #f3eee0;
  --ink: #fff7e7;
  --muted: #bbcec4;
  --line: #547066;
  --line-soft: #384e45;
  --gold: #c79a60;
  --gold-light: #f0d6a5;
  --gold-glow: 0 0 0 1px #232f26;
  --teal: #31735e;
  --teal-soft: #bbcdbc;
  --teal-deep: #235b48;
  --green: #78d395;
  --accent: #cc8261;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 16px/1.55 var(--sans);
}
p, h1, h2, h3, ul, ol, dl { margin: 0; }
h1, h2, h3 { color: var(--heading); line-height: 1.25; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #aa6838;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.workspace-header {
  position: sticky; top: 0; z-index: 15;
  background: var(--deep); color: #eaf0e9; border-bottom: 1px solid #345043;
}
.workspace-header-inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  width: min(100%, 1580px); min-height: 68px; margin: auto; padding: 8px clamp(18px, 3vw, 44px);
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap;
}
.brand-seal {
  flex: 0 0 43px; height: 43px; display: grid; place-items: center;
  color: #f7e6c5; background: #a7523a; outline: 1px solid #d09171; outline-offset: -5px;
  border-radius: 9px; font: 700 25px/1 var(--serif);
}
.brand strong { display: block; font: 700 24px/1.2 var(--serif); letter-spacing: .09em; color: #fff5e1; }
.brand small { display: block; color: #acc0b3; font-size: 12px; margin-top: 4px; letter-spacing: .06em; }
.navigation {
  display: flex; gap: 5px; justify-content: safe center; overflow-x: auto;
  padding: 3px; scrollbar-width: thin;
}
.navigation a {
  display: flex; align-items: center; gap: 7px; min-height: 41px; padding: 6px 10px;
  color: #c5d4ca; font-size: 14px; white-space: nowrap; text-decoration: none;
  border-radius: 7px; border: 1px solid transparent;
}
.navigation a > img { width: 21px; height: 21px; flex-shrink: 0; object-fit: contain; }
.navigation a:hover { background: #24443b; color: #fff7e7; }
.navigation a[aria-current] { background: #2d5145; border-color: #3c6151; color: #fff4dc; font-weight: 700; }
.topbar-tools, .group-control { display: flex; align-items: center; gap: 8px; }
.group-control { font-size: 14px; color: #c5d4ca; white-space: nowrap; }
.topbar-tools .btn, .group-control select {
  min-height: 37px; background-color: #24443b; color: #fff4dc; border-color: #517367;
}
.topbar-tools .btn:hover, .group-control select:hover { background-color: #2d5145; }
.group-control select {
  background-image: linear-gradient(45deg, transparent 50%, #e7d6af 50%), linear-gradient(135deg, #e7d6af 50%, transparent 50%);
}
select {
  appearance: none;
  background-color: var(--white);
  background-image: linear-gradient(45deg, transparent 50%, #62736a 50%), linear-gradient(135deg, #62736a 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  border: 1px solid #d8dace; border-radius: 7px; padding: 8px 28px 8px 12px;
  color: var(--heading);
}
main {
  width: min(100%, 1580px); min-width: 0; margin: auto;
  padding: 24px clamp(22px, 3vw, 44px) 108px;
  display: flex; flex-direction: column; gap: 20px;
}
main:focus { outline: none; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head h1 { font: 700 clamp(27px, 2.7vw, 39px)/1.2 var(--sans); }
.page-head p, .panel-head p, .phase-bar p { color: var(--subtle); margin-top: 6px; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn {
  min-height: 40px; display: inline-flex; justify-content: center; align-items: center;
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--white);
  color: var(--forest); font-size: 14px; font-weight: 650; line-height: 1.4;
  text-align: center; text-decoration: none; white-space: normal;
}
.btn:hover { background: #edf0e7; border-color: #abbfb1; }
.btn.primary { background: var(--forest); border-color: var(--forest); color: #fffef3; }
.btn.primary:hover { background: #1b4538; border-color: #1b4538; }
.btn.outline { border-color: #c9d2c6; }
.btn.compact { min-height: 34px; padding: 5px 10px; font-size: 13px; }
.btn.plain { border-color: transparent; background: transparent; }
.btn.plain:hover { background: var(--mint); }

.grid { display: grid; gap: 18px; align-items: stretch; }
.grid > * { min-width: 0; }
.panel { border: 1px solid var(--border); background: var(--white); border-radius: 12px; box-shadow: 0 2px 3px #3c493306; min-width: 0; }
.padded { padding: clamp(16px, 2vw, 24px); }
.panel-head h2 { font-size: 21px; font-weight: 750; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; margin-bottom: 16px; }
.panel-head p { font-size: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
thead { background: #f2f2e9; color: var(--subtle); }
th, td { padding: 9px 10px; }
tbody tr + tr { border-top: 1px solid #ebe8dc; }
td strong, td small { display: block; }
td small { margin-top: 2px; color: var(--subtle); font-size: 12px; }
td:nth-child(3), td:last-child, th:first-child { white-space: nowrap; }
td:last-child { text-align: right; }
.pill {
  display: inline-flex; align-items: center; padding: 3px 9px;
  background: #eeeee7; border: 1px solid #e0e2d8; border-radius: 6px;
  color: #516157; font-size: 12px; line-height: 1.5;
}
.pill.warm { color: #78492e; background: #f5ead9; border-color: #eee0c8; }
.pill.green { color: #315c49; background: #e7f0e6; border-color: #d7e5d8; }
.panel-head > .pill { white-space: nowrap; }
.empty-note { color: var(--subtle); background: #f3f3ea; padding: 12px; border-radius: 8px; font-size: 14px; }
.phase-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 19px; }
.phase-bar strong { color: var(--heading); }
.phase-bar p { font-size: 14px; margin-top: 2px; }
.segmented { background: #efefe5; border-radius: 9px; display: flex; padding: 3px; gap: 3px; }
.segmented .btn { min-height: 34px; background: none; border-color: transparent; white-space: nowrap; }
.segmented .btn[aria-pressed="true"] { background: var(--white); border-color: var(--border); box-shadow: 0 1px 3px #213b2e18; }
.segmented .btn:hover { background: #e8ebe1; }
.summary-list dt { color: var(--subtle); font-size: 13px; font-weight: 650; }
.summary-list dd { margin: 0 0 9px; overflow-wrap: anywhere; white-space: pre-wrap; }
.saved-label { color: var(--forest); font-size: 14px; }

.notice {
  border: 1px solid #e7dcc8; border-left: 4px solid #bd9566; border-radius: 8px; background: #f7f0e1;
  display: flex; gap: 10px 19px; flex-wrap: wrap; align-items: center; padding: 10px 15px;
}
.notice b { color: #573e27; }
.notice span { color: #735b43; font-size: 14px; }
.field { margin-top: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field + .field { margin-top: 11px; }
.field > span { font-size: 14px; color: var(--heading); font-weight: 650; }
.field em { color: var(--bronze); font-size: 12px; font-style: normal; margin-left: 3px; }
.field input, .field textarea, .field select {
  width: 100%; min-width: 0; min-height: 41px; padding: 8px 10px; border: 1px solid #d8dace; border-radius: 7px;
  color: var(--heading); background-color: var(--white); font-size: 15px; line-height: 1.5;
}
.field select { padding-right: 26px; }
.field textarea { resize: vertical; min-height: 61px; }
.field input::placeholder, .field textarea::placeholder { color: #6e766d; opacity: 1; }
.check-label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--heading); font-size: 14px; }
.check-label input { width: 17px; height: 17px; accent-color: var(--forest); margin: 0; }

.alignment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.summary-list dt { margin-top: 5px; }
.summary-list dd { padding-bottom: 6px; border-bottom: 1px solid #eae8de; }
.summary-list dd:last-child { border-bottom: 0; margin-bottom: 0; }
.check-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.review-check { background: #f5f5ed; padding: 12px; border-radius: 8px; }
.review-check p { font-size: 14px; color: var(--subtle); margin-top: 4px; }

.simulation-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.funnel { display: flex; flex-direction: column; gap: 9px; }
.funnel-legend { display: flex; gap: 14px; font-size: 13px; color: var(--subtle); }
.funnel-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: #b77969; margin-right: 5px; }
.funnel-legend span + span i { background: #629b80; }
.funnel-row { display: grid; align-items: center; grid-template-columns: 50px minmax(0,1fr); min-height: 30px; font-size: 14px; }
.funnel-bars { display: flex; flex-direction: column; gap: 3px; }
.funnel-bar { display: grid; grid-template-columns: minmax(0,1fr) 62px; align-items: center; gap: 6px; min-height: 16px; }
.funnel-bar i { display: block; width: var(--bar); height: 10px; border-radius: 0 5px 5px 0; transform-origin: left; background: #b77969; }
.funnel-bar.improved i { background: #629b80; animation: grow .55s ease both; }
@keyframes grow { from { transform: scaleX(.04); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
.funnel-bar span { text-align: right; font-variant-numeric: tabular-nums; }
.conversion-values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.conversion-values > div { padding: 11px 8px; border-radius: 8px; background: #f5eae4; color: #85493b; text-align: center; }
.conversion-values > div + div { background: #e8f1e8; color: #2b6049; }
.conversion-values span { display: block; font-size: 14px; }
.conversion-values strong { display: block; font: 700 clamp(28px,4vw,50px)/1.18 Georgia,serif; }
.conversion-values em { display: block; margin-top: 2px; font-size: 12.5px; font-style: normal; opacity: .8; }
.improvement { color: var(--forest); font-weight: 700; }
.conversion .actions { margin-top: 16px; }
.warning-text { color: #874b2c; font-size: 14px; margin-top: 10px; }
.score-list, .delivery-list { padding-left: 19px; }
.score-list { padding: 0; display: grid; gap: 8px; list-style: none; }
.score-list li { display: grid; grid-template-columns: 53px minmax(0,1fr) 46px 46px; gap: 8px; align-items: center; font-size: 14px; }
.score-list li > span { text-align: right; color: var(--subtle); font-variant-numeric: tabular-nums; }
.score-list li > em { justify-self: end; white-space: nowrap; font-style: normal; }
.score-track { height: 10px; border-radius: 6px; background: #e9ece2; position: relative; }
.score-track i { position: absolute; width: var(--score); height: 100%; border-radius: 6px; background: #629b80; }
.score-track::after { content: ""; position: absolute; left: 85%; height: 100%; border-left: 2px solid #7a5739; }
.delivery-list li { margin: 6px 0; }
.delivery-list + .btn { margin-top: 10px; }
.rubric { display: flex; flex-wrap: wrap; gap: 6px; }

.dialog { display: none; }
.dialog[open] { display: flex; }
.dialog {
  flex-direction: column; overflow: hidden;
  width: min(760px, calc(100% - 26px)); max-height: min(90vh, 880px); color: var(--body); padding: 0;
  border: 1px solid #dedacd; border-radius: 13px; background: var(--white); box-shadow: 0 22px 70px #11241e66;
}
.dialog::backdrop { background: #142822a8; }
.dialog-head {
  flex: 0 0 auto; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--white); padding: 15px 22px; border-bottom: 1px solid var(--border);
}
.dialog-title { min-width: 0; }
.dialog-head h2 { font-size: 24px; }
.dialog-subtitle { margin-top: 3px; color: var(--subtle); font-size: 13px; letter-spacing: .02em; }
.dialog-head .btn { min-width: 37px; font-size: 20px; flex: 0 0 auto; }
.dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 20px; }
.dialog-actions {
  position: relative; flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 22px 18px; border-top: 1px solid var(--border); background: var(--white);
}
.dialog.has-more .dialog-actions::before {
  content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; pointer-events: none;
  background: linear-gradient(180deg, #fffefa00, #fffefa 88%);
}
.dialog-lead { margin-bottom: 10px; }

/* ---------- 印记故事卡 ---------- */
.story-hero {
  position: relative; margin: 0 0 12px; border-radius: 10px; overflow: hidden; background: #16302a;
  aspect-ratio: 3 / 2; max-height: min(46vh, 400px);
}
.story-hero img {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.story-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #0b1d1a00 42%, #0b1d1aa8 100%);
}
.story-hero-tag {
  position: absolute; left: 14px; bottom: 13px; z-index: 1;
  padding: 4px 13px; border-radius: 999px; background: #a7523a; color: #ffeecd;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  box-shadow: inset 0 0 0 1px #d09171, 0 3px 10px #3a150c66;
}
.story-hero figcaption { position: absolute; right: 14px; bottom: 15px; z-index: 1; color: #e7d9bb; font-size: 12px; }
.story-hero.is-seal {
  display: grid; place-items: center; height: clamp(126px, 19vh, 162px); padding: 0; aspect-ratio: auto;
  background:
    radial-gradient(ellipse at 50% 45%, #fffdf4, #f4e6c9 78%),
    linear-gradient(160deg, #fdf5e2, #f2e3c6);
}
.story-hero.is-seal img {
  position: static; inset: auto;
  width: clamp(92px, 15vh, 126px); height: auto; object-fit: contain;
  mix-blend-mode: multiply; filter: drop-shadow(0 3px 6px #7a3a2a26);
}
.story-hero.is-seal::after { background: none; }
.story-hero.is-seal figcaption { right: 14px; bottom: 10px; color: #8a7350; }
.story-hero.is-seal .story-hero-tag { left: 12px; bottom: 9px; }

.story-lead { margin-bottom: 14px; }
.story-epigraph { color: var(--heading); font: 600 19px/1.55 var(--serif); letter-spacing: .02em; }
.story-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.story-meta span {
  padding: 3px 10px; border-radius: 999px; background: #f2f0e3; border: 1px solid #e8e4d2;
  color: #5c6a5c; font-size: 12px; line-height: 1.5;
}

.story-facts { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 9px 14px; margin: 0 0 13px; }
.story-facts dt { color: var(--bronze); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; padding-top: 2px; }
.story-facts dd { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.75; }

.story-ask {
  margin: 0 0 13px; padding: 12px 15px 13px;
  border: 1px solid #ebdfc5; border-left: 3px solid #bd9566; border-radius: 9px;
  background: linear-gradient(150deg, #fdf8ea, #f8eed8);
}
.story-ask-label { color: #8a6a3d; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.story-ask-text { margin-top: 6px; color: #5b3d20; font: 700 18px/1.5 var(--serif); }

.story-steps { margin-bottom: 4px; }
.story-steps h3 { font-size: 15px; margin-bottom: 9px; letter-spacing: .04em; }
.story-steps ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: story-step; }
.story-steps li { position: relative; padding-left: 27px; color: var(--body); font-size: 13.5px; line-height: 1.62; }
.story-steps li::before {
  counter-increment: story-step; content: counter(story-step);
  position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: #e7efe6; color: var(--forest); font-size: 11px; font-weight: 700;
}
.story-steps li b { color: var(--heading); margin-right: 4px; }
.source { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #e6e1d1; color: var(--forest); font-size: 13px; }
.source a { text-underline-offset: 3px; }
.source a:hover { text-decoration: underline; }
.incentive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 10px; gap: 8px; }
.incentive-grid article { background: #f5f1e5; padding: 12px; border-radius: 8px; }
.incentive-grid h3 { font-size: 17px; margin-bottom: 5px; }
.toast {
  position: fixed; z-index: 85; bottom: 19px; left: 50%; max-width: calc(100% - 24px);
  transform: translate(-50%, 14px); pointer-events: none; opacity: 0;
  background: #1e4538; color: #fffaec; border: 1px solid #537867; border-radius: 9px; padding: 8px 14px;
  transition: opacity .15s, transform .15s; font-size: 14px;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }


@media (max-width: 1080px) {
  .workspace-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: safe start; }
}
@media (max-width: 1010px) {
  .alignment-grid { grid-template-columns: 1fr 1fr; }
  .alignment-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 750px) {
  .workspace-header-inner { padding: 8px 12px 3px; }
  .brand { gap: 7px; }
  .brand-seal { flex-basis: 33px; height: 33px; font-size: 18px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 10px; margin-top: 2px; }
  .navigation a { min-height: 34px; border-radius: 5px; padding: 4px 7px; font-size: 13px; }
  .navigation a > img { display: none; }
  .topbar-tools, .group-control { gap: 5px; }
  .group-control > span { display: none; }
  .group-control select, .topbar-tools .btn { font-size: 12px; }
  main { padding: 14px 12px 100px; gap: 13px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-head p { font-size: 14px; }
  .simulation-grid { grid-template-columns: 1fr; }
  .grid { gap: 10px; }
  .check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 465px) {
  .brand strong { letter-spacing: 0; }
  .panel-head h2 { font-size: 19px; }
  .phase-bar { flex-wrap: wrap; }
  .alignment-grid, .closure-fields { grid-template-columns: 1fr; }
  th, td { padding: 7px 4px; }
  td:last-child .btn { font-size: 12px; padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 课堂投影中，保留五组清单与前后数据的主要区域。 */
.simulation-side { display: grid; gap: 12px; }
.simulation-side .panel-head { margin-bottom: 11px; }
.simulation-side .padded { padding-block: 15px; }
.funnel { gap: 13px; }
.funnel-row { min-height: 41px; }
.pack-list { display: flex; flex-wrap: wrap; gap: 4px 35px; }
@media (max-width: 465px) {
  .pack-list { display: block; }
}


.pack-attachments { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--border); }
.pack-attachments .field { max-width: 460px; }
.pack-attachments input::file-selector-button { border: 0; padding: 3px 9px; border-radius: 5px; background: var(--mint); color: var(--forest); cursor: pointer; }
.pack-attachments p { margin-top: 5px; font-size: 13px; color: var(--subtle); }
.attachment-list { display: grid; gap: 4px; padding: 0; margin-top: 6px; list-style: none; }
.attachment-list li { display: flex; align-items: center; gap: 7px; font-size: 14px; overflow-wrap: anywhere; }

/* 弹窗在窄屏下的收边 */
@media (max-width: 560px) {
  .dialog { width: calc(100% - 16px); max-height: 92vh; border-radius: 12px; }
  .dialog-head { padding: 12px 16px; }
  .dialog-head h2 { font-size: 20px; }
  .dialog-subtitle { font-size: 12px; }
  .dialog-body { padding: 14px 16px 16px; }
  .dialog-actions { padding: 10px 16px 14px; }
  .story-hero { aspect-ratio: 4 / 3; max-height: 44vh; }
  .story-facts { grid-template-columns: 1fr; gap: 3px; }
  .story-facts dt { margin-top: 8px; }
  .story-epigraph { font-size: 17px; }
  .story-ask-text { font-size: 16.5px; }
}


/* ---------- 仿真验证：数据展示 ---------- */
.sim-summary { display: grid; gap: 14px; }
.sim-lead { max-width: 1080px; color: var(--body); font-size: 15px; line-height: 1.85; }
.sim-lead b { color: var(--forest); font-size: 16.5px; }
.sim-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sim-kpis article {
  padding: 12px 14px 13px; border: 1px solid #e6e3d5; border-radius: 10px;
  background: linear-gradient(158deg, #f8f7ee, #f1f0e3);
}
.sim-kpis span { display: block; color: var(--subtle); font-size: 12.5px; letter-spacing: .02em; }
.sim-kpis strong {
  display: flex; align-items: baseline; gap: 5px; margin-top: 5px;
  color: var(--heading); font: 700 clamp(21px, 2vw, 27px)/1.15 Georgia, "Songti SC", serif;
  font-variant-numeric: tabular-nums;
}
.sim-kpis strong small { font: 600 13px/1 var(--sans); color: var(--subtle); }
.sim-kpis strong i { color: #8a9a8c; font-size: 17px; font-style: normal; }
.sim-kpis em { display: block; margin-top: 5px; color: var(--subtle); font-size: 12px; font-style: normal; }
.sim-note { margin-top: 9px; color: var(--subtle); font-size: 12.5px; line-height: 1.6; }

.sim-table { display: grid; gap: 2px; }
.sim-table-row {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, .9fr) 74px 74px 82px;
  gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px;
}
.sim-table-row + .sim-table-row { background: #f7f7ee; }
.sim-table-row.is-head {
  background: none; padding-block: 4px 6px; color: var(--subtle);
  font-size: 12.5px; border-bottom: 1px solid var(--border); border-radius: 0;
}
.sim-table-row b { display: block; color: var(--heading); font-size: 14.5px; }
.sim-table-row small { display: block; margin-top: 2px; color: var(--subtle); font-size: 12px; }
.sim-table-row .is-strong { color: var(--forest); font-weight: 700; }
.sim-table-row .is-up {
  justify-self: start; padding: 2px 8px; border-radius: 999px;
  background: #e7f0e6; color: #2f6a4f; font-size: 12.5px; font-weight: 700;
}

/* ---------- 精神荣誉证书 ---------- */
.cert-sheet {
  position: relative; width: min(100%, 356px); margin: 0 auto;
  aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden;
  container-type: inline-size;
  box-shadow: 0 8px 22px #3b2f1a2e;
}
.cert-sheet > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cert-face {
  position: absolute; left: 11%; right: 11%; top: 46.6%;
  display: grid; justify-items: center; gap: 1.1cqw; text-align: center; color: #6d4a22;
}
.cert-to { font: 600 2.5cqw/1.2 var(--sans); letter-spacing: .42em; color: #8a6a3a; }
.cert-name { font: 700 7.4cqw/1.2 var(--serif); color: #5d3d18; letter-spacing: .06em; }
.cert-title { font: 700 3.1cqw/1.4 var(--sans); color: #7a5223; letter-spacing: .04em; }
.cert-desc { font: 400 2.6cqw/1.7 var(--serif); color: #7f6034; }
.cert-sign {
  margin-top: 1.4cqw; font: 600 2.5cqw/1.7 var(--serif); color: #6d4a22;
  display: grid; gap: .2cqw;
}
.cert-sign em { font: 400 2.3cqw/1.6 var(--serif); font-style: normal; color: #86663a; letter-spacing: .06em; }
.cert-note { margin-top: 10px; color: var(--subtle); font-size: 12.5px; text-align: center; }

@media (max-width: 750px) {
  .sim-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim-table-row { grid-template-columns: minmax(0, 1.6fr) 62px 62px; }
  .sim-table-row > :nth-child(2) { display: none; }
  .sim-table-row.is-head > :nth-child(2) { display: none; }
}
@media (max-width: 465px) {
  .sim-kpis { grid-template-columns: 1fr; }
  .sim-table-row { grid-template-columns: minmax(0, 1fr) 58px 58px; font-size: 13px; }
  .sim-table-row .is-up { font-size: 11.5px; padding-inline: 6px; }
}
