:root {
  color-scheme: light;
  --bg: #eef3f0;
  --paper: #ffffff;
  --ink: #1c211e;
  --muted: #5d6b64;
  --line: #d7e2dc;
  --accent: #1f6b4a;
  --accent-ink: #f7fffb;
  --sage: #d7ebe1;
  --quiet: #f3f7f5;
  --danger: #8f2d2d;
  --shadow: none;
  font-family: "PingFang TC", "Heiti TC", "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
main {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}
body.wide main {
  width: min(1440px, calc(100% - 1.5rem));
}
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 1.7rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.15rem; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; border-radius: 6px; }
code { font-family: ui-monospace, monospace; }

.top {
  display: flex;
  flex-direction: column;
  background: #1a4d3e;
  color: #f7fffb;
  border-bottom: 1px solid #12382d;
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-main {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 1rem 0.45rem;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; min-width: 0; }
.place { color: #f7fffb; font-weight: 700; min-width: 0; }
.crumbs a, .back, .top-links a, .top button.link { color: #f7fffb; font-weight: 700; text-decoration: none; }
.crumb-sep { color: rgba(247, 255, 251, 0.65); }
.back { font-weight: 700; text-decoration: none; flex: 0 0 auto; }
.top-links { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.top-links form { margin: 0; }
.module-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.15rem 1rem 0.65rem;
}
.module-strip a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  color: #f7fffb;
  text-decoration: none;
  font-weight: 700;
}
.module-strip a.here { background: #d7ebe1; color: #143028; border-color: #d7ebe1; }
button, input, textarea, select {
  font: inherit;
  color: inherit;
}
button, .link {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
button.quiet, button.link {
  background: transparent;
  color: var(--accent);
}
button.link { padding: 0; min-height: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #c8e3da;
  outline-offset: 2px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin: 0.8rem 0;
}
.narrow { max-width: 36rem; }
.muted { color: var(--muted); }
.flash {
  background: #e7f2ec;
  border: 1px solid #b7d4c6;
  color: var(--ink);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
}
.miss, .miss-list { color: #8f2d2d; font-weight: 700; }
.miss-list { margin: 0.2rem 0 0.6rem; }
.answer.bad, label.bad { box-shadow: inset 0 0 0 2px #e3b4b4; border-radius: 8px; }
.part { display: grid; gap: 0.45rem; }
.part-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.lang { display: flex; gap: 0.35rem; align-items: center; }
.lang button.here { text-decoration: underline; }
button:disabled { opacity: 0.55; cursor: default; }
.stack { display: grid; gap: 0.8rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: end; }
.grow { flex: 1 1 16rem; }
label { display: grid; gap: 0.3rem; font-weight: 600; }
label.check { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
label.check input { width: auto; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-weight: 400;
}
button:disabled { opacity: 0.35; cursor: default; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.8rem; }
.module { display: grid; gap: 0.3rem; color: inherit; text-decoration: none; min-height: 7rem; }
.module span { color: var(--muted); font-weight: 500; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.7rem; align-items: end; }
.part { display: grid; gap: 0.5rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.field { margin: 0.6rem 0; }
.hint { white-space: pre-wrap; background: var(--quiet); padding: 0.7rem; border-radius: 8px; }
.answer { margin: 0.8rem 0; }
.choices { display: grid; gap: 0.35rem; font-weight: 500; }
.preview { background: #f7faf8; }
.item-card, .chip { scroll-margin-top: 4.5rem; }
.chips, .add-kinds { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: #f3f7f5;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.chip.open { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.add-kinds form { margin: 0; }
.add-kinds button,
.add-kinds a.kind {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.add-kinds a.kind.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
a.preview-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
}
.item-head h1 { margin: 0; }
.item-head { display: flex; gap: 0.6rem; align-items: flex-start; }
.item-head h2, .item-head h3 { margin: 0.1rem 0 0.6rem; }
.item-index {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 700;
}
.kind-picks { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pick {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: #ffffff;
  font-weight: 600;
  cursor: pointer;
}
.pick input { width: auto; }
.pick:has(input:checked) {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
fieldset.bare { border: 0; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
fieldset.bare legend { font-weight: 700; padding: 0; }
.set-field { margin: 0.8rem 0; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.caption { color: var(--muted); font-size: 0.92rem; font-weight: 600; margin: 0; }
.choice-mark { margin: 0.85rem 0 0.35rem; color: var(--ink); font-weight: 700; }
.live-sample { background: var(--quiet); border-radius: 8px; padding: 0.7rem; display: grid; gap: 0.35rem; }
.item { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 0; }
body.desk {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.desk .top { position: static; }
body.desk main {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.desk { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.desk-grid {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  overflow: hidden;
}
.desk-grid.has-index { grid-template-columns: 18rem minmax(0, 1fr) 16rem; }
.rail-library, .stage, .rail-index {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.rail-library { background: #ffffff; border-right: 1px solid var(--line); }
.library { padding: 0.4rem 0.7rem 1rem; }
.stage, .rail-index { padding: 0.7rem; }
.rail-index { background: #ffffff; border-left: 1px solid var(--line); }
.rail-index h2 { margin: 0.2rem 0 0.7rem; }
.library details { margin: 0; border-bottom: 1px solid var(--line); }
.lib > summary { cursor: pointer; font-weight: 700; padding: 0.7rem 0.1rem; }
.lib-row { display: flex; gap: 0.35rem; align-items: center; margin: 0.25rem 0 0.45rem; }
.lib-row a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.lib-row a.here { color: var(--sage); }
.lib-row form { margin: 0; }
.lib-row button, .move-row button { min-height: 32px; padding: 0.15rem 0.55rem; }
.state {
  flex: 0 0 auto;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.stage-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0.8rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.stage-actions form { margin: 0; }
.danger-row, .move-row { display: flex; gap: 0.5rem; align-items: center; }
.danger-row { justify-content: space-between; width: 100%; }
.danger-row form, .move-row form { margin: 0; }
body.home main { width: calc(100% - 1.25rem); margin-bottom: 1.2rem; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.board { padding: 0.35rem 0 1rem; }
.home-find { display: flex; justify-content: center; margin: 0.15rem 0 0.75rem; }
.home-find input {
  width: min(22rem, 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding: 0.3rem 0.95rem;
  background: #ffffff;
}
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.tile {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 3.1rem;
  padding: 0.28rem 0.35rem 0.28rem 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: inherit;
}
.tile:hover, .tile:focus-within { border-color: var(--accent); }
.tile-open {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.tile-mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e5f2eb;
  color: var(--accent);
}
.tile-mark svg { width: 1.15rem; height: 1.15rem; }
.tile-copy { min-width: 0; }
.tile-copy strong, .tile-copy span { display: block; }
.tile-copy strong { font-size: 0.92rem; line-height: 1.25; }
.tile-copy span { color: var(--muted); font-size: 0.72rem; line-height: 1.2; }
button.tile-icon {
  flex: 0 0 auto;
  background: transparent;
  color: var(--muted);
  min-height: 0;
  padding: 0.15rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
}
.icon-dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  width: min(40rem, calc(100% - 1.5rem));
  background: #ffffff;
  color: var(--ink);
}
.icon-dialog::backdrop { background: rgba(28, 33, 30, 0.35); }
.icon-heading { margin: 0 0 0.6rem; font-weight: 700; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); gap: 0.35rem; }
.icon-grid button {
  background: var(--quiet);
  color: var(--ink);
  min-height: 3.4rem;
  padding: 0.25rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.1rem;
  font-size: 0.68rem;
}
.icon-grid svg { width: 1.25rem; height: 1.25rem; }
.icon-dialog form[method="dialog"] { margin: 0.6rem 0 0; }
.picks { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.picks button { min-height: 36px; }
body.roster main, body.files main { width: min(22.5rem, calc(100% - 1rem)); margin-top: 0.7rem; }
.panel {
  background: #e7f0eb;
  border: 1px solid #c5d5cc;
  border-radius: 14px;
  padding: 0.45rem;
}
.readout {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
  background: #143028;
  color: #e7f6ee;
  border-radius: 8px;
  padding: 0.38rem 0.6rem;
  font-size: 0.78rem;
}
.readout strong { font-size: 0.84rem; text-align: right; }
.readout-note { margin: 0.4rem 0.15rem 0; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.pad { display: grid; grid-template-columns: 1fr 1fr; gap: 0.28rem; margin-top: 0.4rem; }
.pad .wide { grid-column: 1 / -1; }
.pad-key, .pad button, .pad a.pad-key {
  display: grid;
  place-items: center;
  min-height: 2.35rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  text-align: center;
  padding: 0.2rem 0.4rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.pad.menu { grid-template-columns: 1fr 1fr; }
.pad.menu a.pad-key {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 0.55rem 0.7rem 0.65rem;
  background: #ffffff;
  color: var(--ink);
  border-radius: 10px;
  box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px #d7e2dc;
}
.pad.menu b {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 1;
  font-weight: 700;
}
.pad.menu span { font-size: 0.98rem; font-weight: 700; line-height: 1.25; text-align: left; }
.pad a.ghost, a.pad-key.ghost {
  background: #ffffff;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.pad a.here { background: #143028; }
.pad.months { grid-template-columns: repeat(6, 1fr); }
.pad.months button, .pad.places button { min-height: 2.15rem; border-radius: 6px; font-size: 0.75rem; line-height: 1.15; }
.pad.places { grid-template-columns: repeat(4, 1fr); }
.pad-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.pad.keys { grid-template-columns: 1fr 1fr; }
.roster-desk { display: none; }
.desk-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem 1rem;
}
.desk-card h2 { margin: 0 0 0.65rem; font-size: 1rem; display: flex; gap: 0.45rem; align-items: baseline; }
.desk-card h2 b { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.08em; }
.roster-lead { margin: 0; color: var(--muted); font-size: 0.88rem; }
.desk-card .stack button { width: auto; min-width: 8rem; justify-self: start; }
.roster-desk .pad.years { grid-template-columns: repeat(3, 1fr); }
.phone-head { display: none; }
.phone-row3 { display: contents; }
.pane-toggle { display: none; }
.index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.index-link {
  display: flex;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.index-link span {
  flex: 0 0 auto;
  min-width: 1.4rem;
  height: 1.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
}
.index-set { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.82rem; }
.item-card:target { border-color: var(--accent); }

@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
}

@media (min-width: 900px) {
  body.roster main { width: min(68rem, calc(100% - 2rem)); margin-top: 0.8rem; }
  body.files main { width: min(40rem, calc(100% - 2rem)); margin-top: 0.8rem; }
  .roster-phone { display: none; }
  .roster-desk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: start;
  }
  .roster-desk .span { grid-column: 1 / -1; }
  .roster-desk .pad.places { grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr)); }
}

@media (max-width: 899px) {
  body.desk { height: auto; min-height: 100dvh; overflow: visible; }
  body.app .top { display: none; }
  body.app .phone-head {
    display: block;
    position: sticky;
    top: 0;
    z-index: 30;
    background: #1a4d3e;
    color: #f7fffb;
  }
  .phone-row1 {
    display: grid;
    grid-template-columns: 4.2rem 1fr 4.2rem;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.35rem 0.55rem 0.05rem;
  }
  .phone-title { text-align: center; font-size: 0.78rem; font-weight: 700; line-height: 1.25; }
  .phone-row1 .back { color: #f7fffb; font-size: 0.92rem; }
  .phone-row2 { display: flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.45rem 0.45rem; }
  .phone-row2 .module-strip { flex: 1; min-width: 0; padding: 0; }
  .phone-mine { position: relative; flex: 0 0 auto; }
  .phone-mine > summary {
    display: inline-flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    border: 1px solid rgba(247, 255, 251, 0.45);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    color: #f7fffb;
    font-weight: 700;
    font-size: 0.85rem;
  }
  .phone-mine > summary::-webkit-details-marker { display: none; }
  .phone-mine > summary::after,
  .pane-toggle::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    margin-left: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
  }
  .phone-mine[open] > summary::after,
  .pane-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .phone-mine-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
    width: max-content;
    min-width: 7.5rem;
    padding: 0.3rem;
    display: grid;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .phone-mine-panel .lang { display: grid; }
  .phone-mine-panel a,
  .phone-mine-panel button {
    background: transparent;
    color: var(--ink);
    min-height: 2.2rem;
    padding: 0.2rem 0.7rem;
    text-align: left;
    justify-content: flex-start;
    font-weight: 700;
    white-space: nowrap;
  }
  .phone-mine-panel button.here { color: var(--accent); }
  body.desk main { display: block; height: auto; overflow: visible; }
  .desk, .desk-grid, .desk-grid.has-index {
    display: flex;
    flex-direction: column;
    flex: none;
    height: auto;
    overflow: visible;
  }
  .phone-row3 {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.5rem;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--phone-head, 0px);
    z-index: 18;
  }
  body.desk .pane-toggle {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    min-height: 2rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
  }
  body.desk .pane-toggle[aria-expanded="true"] {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }
  .phone-row3-actions { margin-left: auto; min-width: 0; }
  .phone-row3-actions:empty { display: none; }
  .phone-row3 .stage-actions {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 0.3rem;
    justify-content: flex-end;
  }
  .phone-row3 .stage-actions a,
  .phone-row3 .stage-actions button {
    min-height: 2rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .rail-library, .rail-index { display: none; border: 0; }
  body.desk[data-open="library"] .rail-library {
    display: block;
    max-height: min(22rem, 52vh);
    overflow: auto;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }
  body.desk[data-open="index"] .stage { display: none; }
  body.desk[data-open="index"] .rail-index {
    display: block;
    max-height: none;
    overflow: visible;
    background: #ffffff;
  }
  .stage { overflow: visible; }
  .item-card { scroll-margin-top: calc(var(--phone-chrome, 8rem) + 0.35rem); }
  body.desk[data-open="index"] .rail-index h2 { display: none; }
}

.job-live {
  margin: 0.6rem 0;
  padding: 0.75rem 0.9rem;
  background: #1a4d3e;
  color: #ffffff;
  font-weight: 700;
}
.face-wrap { overflow-x: auto; }
.face-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.face-table th, .face-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0.45rem;
  text-align: left;
  white-space: nowrap;
}
.promo-desk { display: flex; flex-direction: column; gap: 0.75rem; }
.promo-fold { display: none; }
.promo-nav { margin: 0; }
textarea.fit { field-sizing: content; min-height: 2.6rem; overflow: hidden; resize: none; }
.copy-photos img { display: block; width: min(100%, 28rem); height: auto; margin-top: 0.6rem; }
.promo-stage h1 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.copy-block, .promo-stage textarea, .stack { margin-top: 0.6rem; }
.copy-block header { display: flex; flex-direction: column; gap: 0.15rem; }
.copy-block header span, .plan-list { color: var(--muted); }
.copy-block textarea, .promo-stage textarea {
  width: 100%;
  min-height: 8rem;
  margin-top: 0.35rem;
}
.copy-block.slim textarea { min-height: 4.5rem; }
.stack { display: grid; gap: 0.45rem; }
.stack input, .stack textarea, .stack select { width: 100%; }
.plan-list { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.plan-list li { margin: 0.25rem 0; }
.check { display: flex; gap: 0.4rem; align-items: center; }
@media (max-width: 899px) {
  .promo-nav { display: none; }
  .promo-fold {
    display: block;
    position: sticky;
    top: var(--phone-head, 0px);
    z-index: 18;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 0.5rem 0.5rem;
  }
  .promo-fold summary { font-weight: 700; }
}
@media (min-width: 900px) {
  body.promo main { width: min(72rem, calc(100% - 2rem)); }
  .promo-desk { display: grid; grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
  .promo-fold { display: none; }
}
.face-table th { color: #1a4d3e; }

@media (max-width: 720px) {
  main { width: min(100% - 1rem, 920px); }
  .top-main { align-items: center; flex-direction: row; gap: 0.4rem; padding: 0.35rem 0.65rem 0.15rem; }
  .crumbs, .top-links { font-size: 0.82rem; }
  .module-strip { padding: 0.05rem 0.65rem 0.35rem; }
  button, input, select, textarea { font-size: 1rem; }
}
