:root {
  --ink: #223c33;
  --green: #1b5747;
  --muted: #78837b;
  --line: #e0e5dd;
  --paper: #f4f5ef;
  --white: #fff;
  --gold: #b58d56;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 9px;
  padding: 9px 14px;
  line-height: 1.35;
  max-width: 100%;
}
button:hover {
  background: #edf3eb;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.primary:hover {
  background: #164938;
}
.danger {
  color: #a64436;
}
.quiet {
  background: transparent;
}
input,
select,
textarea {
  border: 1px solid #ccd5ca;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
label {
  display: block;
  margin: 12px 0 5px;
  font-size: 13px;
}
label.check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 9px 0;
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin-bottom: 9px;
}
h2 {
  font-size: 20px;
  margin-bottom: 15px;
}
h3 {
  font-size: 16px;
  margin-bottom: 9px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fdfef9;
  border-right: 1px solid var(--line);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-family: serif;
  font-size: 30px;
  letter-spacing: 7px;
  font-weight: bold;
}
.brand small {
  display: block;
  font: 10px sans-serif;
  letter-spacing: 3px;
  color: var(--muted);
}
.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #6c8b76;
  border-radius: 50%;
  font-size: 20px;
  letter-spacing: 0;
  margin-right: 7px;
}
.actor-box {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 10px 0;
}
.shortcuts button {
  padding: 7px 2px;
  font-size: 11px;
}
.side-nav {
  display: grid;
  gap: 7px;
}
.side-nav button {
  text-align: left;
  background: transparent;
  border-color: transparent;
}
.side-nav button.active {
  background: #e6eee3;
  color: var(--green);
  font-weight: 600;
}
.sidebar footer {
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
}
.main {
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 18px 36px;
  background: #fafbf6;
}
.topbar select {
  max-width: 245px;
}
.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  padding: 3px 9px;
  background: #e9efe5;
  border-radius: 20px;
  color: #41614f;
  font-size: 11px;
  white-space: nowrap;
}
.pill.amber {
  background: #f7edde;
  color: #98703d;
}
.content {
  padding: 34px 36px 60px;
  max-width: 1400px;
  margin: auto;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
}
.page-title p {
  margin-bottom: 0;
  max-width: 670px;
  color: var(--muted);
}
.hero {
  background: var(--green);
  color: #f5f6eb;
  border-radius: 18px;
  padding: 27px 30px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.hero h2 {
  font-family: serif;
  font-size: 27px;
  letter-spacing: 2px;
}
.hero p {
  color: #c0d3c5;
  max-width: 600px;
  margin-bottom: 0;
}
.hero .orb {
  flex-shrink: 0;
  width: 114px;
  height: 114px;
  position: relative;
  border: 1px solid #7ca18c;
  border-radius: 50%;
  margin-right: 15px;
}
.orb:before,
.orb:after {
  content: "";
  position: absolute;
  border: 1px solid #7ca18c;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  top: 18px;
}
.orb:before {
  left: -20px;
}
.orb:after {
  right: -20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 25px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px 19px;
}
.stat strong {
  display: block;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.4;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 21px;
  min-width: 0;
}
.card p {
  margin-bottom: 13px;
}
.card .row:last-child {
  margin-bottom: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 14px;
}
.avatar {
  width: 43px;
  height: 43px;
  background: #e8eee4;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: serif;
  font-size: 22px;
  flex-shrink: 0;
}
.person-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.person-top h3 {
  margin: 0;
}
.tag {
  display: inline-flex;
  padding: 3px 8px;
  background: #f1f4ec;
  border-radius: 5px;
  font-size: 12px;
  margin: 0 5px 5px 0;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.notice {
  background: #eef2e8;
  border-radius: 10px;
  padding: 13px 16px;
  color: #54705a;
  margin-bottom: 18px;
}
.empty {
  padding: 35px;
  text-align: center;
  border: 1px dashed #cbd5c8;
  border-radius: 12px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 13px 8px;
  vertical-align: middle;
}
th {
  color: var(--muted);
  font-weight: 400;
}
td button {
  padding: 6px 10px;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.tabs button.active {
  background: #e0eadc;
  border-color: #b9cdb4;
}
.error {
  color: #b13e31;
  background: #fff2ec;
  padding: 12px;
  border-radius: 8px;
  display: none;
  margin: 12px 0;
}
.reply {
  border-left: 2px solid #dce5d7;
  padding: 7px 12px;
  margin: 9px 0;
  background: #fafbf7;
}
.logo-type {
  font-family: serif;
}
.scope {
  font-size: 11px;
  color: var(--gold);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 25px;
  max-width: 650px;
  width: calc(100% - 32px);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 20px 90px #142c2440;
}
dialog::backdrop {
  background: #142c2470;
  backdrop-filter: blur(3px);
}
#close-modal {
  margin-top: 18px;
}
#toast {
  position: fixed;
  bottom: 22px;
  right: 24px;
  max-width: calc(100% - 35px);
  padding: 12px 19px;
  background: #1e4035;
  color: white;
  border-radius: 10px;
  display: none;
  z-index: 5;
  box-shadow: 0 8px 30px #183f3020;
}
.mini {
  font-size: 12px;
}
.metric-line {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}
.metric-line i {
  display: block;
  height: 8px;
  background: #7d9d7c;
  border-radius: 4px;
}
.bullet {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #8aa878;
  margin-right: 5px;
}
.text-break {
  overflow-wrap: anywhere;
}
.mobile-only {
  display: none;
}
@media (min-width: 1450px) {
  .grid.people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 15px;
  }
  .content {
    padding: 26px 23px;
  }
  .topbar {
    padding: 16px 23px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px;
  }
  .hero .orb {
    display: none;
  }
}
@media (max-width: 720px) {
  .layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .brand {
    font-size: 23px;
  }
  .brand small {
    display: inline;
    font-size: 9px;
    margin-left: 4px;
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
  .sidebar footer {
    display: none;
  }
  .actor-box {
    border: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }
  .actor-box > label {
    display: none;
  }
  .actor-box select {
    width: calc(100% - 145px);
  }
  .shortcuts {
    width: 133px;
    margin: 0;
  }
  .side-nav {
    display: flex;
    gap: 2px;
    overflow: auto;
  }
  .side-nav button {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 9px 4px;
    white-space: nowrap;
  }
  .topbar {
    padding: 12px 16px;
    gap: 8px;
  }
  .topbar select {
    max-width: 175px;
  }
  .top-actions button {
    padding: 8px;
    font-size: 12px;
  }
  .top-actions .pill {
    display: inline-flex;
    font-size: 10px;
  }
  .topbar {
    flex-wrap: wrap;
  }
  .top-actions {
    margin-left: auto;
  }
  .content {
    padding: 22px 16px 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .stat {
    padding: 13px 16px;
  }
  .stat strong {
    font-size: 25px;
  }
  .hero {
    padding: 21px;
    border-radius: 13px;
  }
  .hero h2 {
    font-size: 23px;
  }
  h1 {
    font-size: 25px;
  }
  .page-title {
    gap: 9px;
    align-items: flex-start;
  }
  .page-title button {
    font-size: 12px;
    flex-shrink: 0;
  }
  .card {
    padding: 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .row button {
    font-size: 12px;
  }
  .notice {
    font-size: 12px;
  }
  table {
    min-width: 470px;
  }
  .pill {
    white-space: normal;
  }
  .top-actions {
    gap: 5px;
  }
  .muted {
    overflow-wrap: anywhere;
  }
}

/* Shared typesetting and surfaces */
:root {
  --paper: #f8f4eb;
  --ink: #262a2d;
  --green: #8a3029;
  --muted: #675f56;
  --line: #c9bfb0;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}
body {
  font-family: "Instrument Sans", "PingFang SC", sans-serif;
  background: var(--paper);
}
button,
input,
select,
textarea,
.card,
.stat,
.notice,
.empty,
dialog {
  border-radius: 2px;
}
button {
  font-weight: 500;
  border-color: var(--line);
  background: transparent;
}
button:hover,
.quiet:hover {
  background: #eae3d5;
}
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #ac583f;
  outline-offset: 3px;
}
.primary,
.directory-title .primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.primary:hover {
  background: #713426;
}
.edition {
  max-width: 1600px;
  margin: auto;
  padding: 0 clamp(15px, 4.8vw, 82px);
}
.mast {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 3px double var(--ink);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.wordmark em {
  font: 900 43px/1 var(--serif);
  letter-spacing: -3px;
  color: var(--green);
}
.wordmark span {
  font: 600 12px/1.4 var(--serif);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  max-width: 58px;
  white-space: normal;
}
.side-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.side-nav button {
  padding: 9px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 13px;
}
.side-nav button.active {
  background: transparent;
  border-bottom-color: var(--green);
  color: var(--green);
}
.edition-select,
.workbar label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
}
.edition-select select,
.workbar select {
  width: auto;
  padding: 6px 8px;
  font-size: 13px;
  background: transparent;
  max-width: 175px;
}
.workbar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.actor-tools,
.tools,
.shortcuts {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shortcuts {
  width: auto;
  margin: 0;
}
.shortcuts button,
.tools button {
  font-size: 12px;
  padding: 5px 8px;
}
.tools {
  margin-left: auto;
}
.content {
  padding: clamp(24px, 3vw, 46px) 0 60px;
  max-width: none;
  min-height: 60vh;
}
.directory-title,
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.directory-title h1,
.page-title h1 {
  font: 750 clamp(32px, 4vw, 62px)/1.12 var(--serif);
  letter-spacing: -0.06em;
  margin: 0 0 10px;
}
.directory-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.directory i {
  font-style: normal;
  color: #bba993;
  padding: 0 4px;
}
.directory-spread {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(360px, 1.55fr);
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
}
.cover {
  position: sticky;
  top: 22px;
  margin: 0;
  min-width: 0;
  background: #202731;
  color: #fff7e5;
}
.cover img {
  display: block;
  width: 100%;
  height: clamp(270px, 29vw, 470px);
  object-fit: cover;
  object-position: center 55%;
}
.cover-caption {
  padding: 17px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.cover-caption h2 {
  margin: 5px 0 0;
  font: 600 25px var(--serif);
}
.cover-caption span {
  font-size: 12px;
  color: #ddcfbb;
}
.cover-caption button {
  color: #fff5e4;
  border-color: #a79986;
  white-space: nowrap;
}
.cover-caption button:hover {
  background: #41434a;
}
.registry {
  min-width: 0;
  border-top: 2px solid var(--ink);
}
.catalog-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.catalog-controls label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin: 0;
}
.catalog-controls label span {
  white-space: nowrap;
  font-size: 12px;
}
.catalog-controls input,
.catalog-controls select {
  padding: 7px 9px;
  background: #fffcf6;
}
.catalog-controls select {
  width: auto;
}
.catalog-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.entry-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.entry-head h2 {
  margin: 0;
}
.entry-head h2 button {
  font: 700 25px/1.35 var(--serif);
  border: 0;
  padding: 0;
}
.chosen .entry-head h2 button {
  color: var(--green);
}
.run-state {
  font-size: 11px;
  color: #425951;
}
.run-state::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 5px;
}
.run-state.paused {
  color: #9b581a;
}
.catalog-row p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.entry-actions {
  grid-area: 1/2/3/3;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.entry-actions button {
  font-size: 12px;
  padding: 4px 9px;
}
.entry-actions button:last-child {
  border-color: transparent;
  color: var(--muted);
}
.colophon {
  border-top: 1px solid var(--ink);
  padding: 14px 0 24px;
  display: flex;
  justify-content: space-between;
  font: 12px var(--serif);
  color: var(--muted);
}
.wordmark::after {
  content: "合成演示";
  color: var(--muted);
  font: 11px sans-serif;
}
.card,
.stat {
  background: #fffcf6;
  box-shadow: none;
  border-color: var(--line);
}
.stats {
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.stat {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  font-family: var(--serif);
}
.grid.people {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
}
.people .card {
  border-width: 1px 0 0;
  padding: 18px 0;
  background: transparent;
}
.avatar {
  background: #efe5d5;
  color: var(--green);
  font: 700 23px var(--serif);
  border: 1px solid #c4b29b;
  border-radius: 1px;
}
.tag,
.pill,
.scope {
  color: #574737;
  background: #ece5d9;
  border-radius: 1px;
}
.notice {
  background: #eee9df;
  border: 0;
  border-left: 3px solid var(--green);
}
dialog {
  background: var(--paper);
  border-top: 4px solid var(--ink);
}
/* Operational edition: compact list with the cover demoted to an index strip. */
[data-edition="desk"] {
  --paper: #f1f4f6;
  --ink: #122d44;
  --green: #075979;
  --line: #b8c6ce;
  --muted: #445866;
  --serif: "Instrument Sans", "PingFang SC", sans-serif;
}
[data-edition="desk"] .edition {
  max-width: 1440px;
}
[data-edition="desk"] .mast {
  min-height: 65px;
  border-bottom: 3px solid var(--ink);
}
[data-edition="desk"] .directory-spread {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-edition="desk"] .cover {
  position: static;
  width: 100%;
  display: flex;
  background: var(--ink);
}
[data-edition="desk"] .cover img {
  width: 96px;
  height: 70px;
}
[data-edition="desk"] .cover-caption {
  flex: 1;
  padding: 7px 15px;
}
[data-edition="desk"] .cover-caption h2 {
  font-size: 18px;
}
[data-edition="desk"] .registry {
  width: 100%;
}
[data-edition="desk"] .catalog-row {
  grid-template-columns: 1fr 1fr auto;
  padding: 10px 0;
}
[data-edition="desk"] .catalog-row p,
[data-edition="desk"] .entry-actions {
  grid-area: auto;
}
[data-edition="desk"] .entry-actions {
  flex-direction: row;
}
[data-edition="desk"] .entry-head h2 button {
  font: 600 18px sans-serif;
}
[data-edition="desk"] .card {
  background: #fff;
}
@media (max-width: 1000px) {
  .mast {
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .wordmark em {
    font-size: 35px;
  }
  .side-nav {
    gap: 0;
  }
  .workbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .grid.people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .entry-actions {
    grid-area: auto;
    flex-direction: row;
    grid-column: 1/-1;
  }
}
@media (max-width: 720px) {
  .mast {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px 0 0;
  }
  .edition-select {
    grid-column: 2;
    grid-row: 1;
    font-size: 0;
  }
  .edition-select select {
    font-size: 12px;
  }
  .side-nav {
    grid-column: 1/-1;
    justify-content: space-between;
    width: 100%;
  }
  .side-nav button {
    font-size: 12px;
    padding: 7px 1px;
  }
  .workbar {
    gap: 8px;
    align-items: center;
  }
  .workbar label {
    gap: 4px;
    font-size: 11px;
  }
  .actor-tools {
    display: contents;
  }
  .workbar select {
    max-width: 137px;
    font-size: 12px;
  }
  .shortcuts {
    display: flex;
    gap: 4px;
    width: auto;
  }
  .tools {
    gap: 4px;
  }
  .tools button {
    padding: 4px 6px;
  }
  .content {
    padding: 22px 0 32px;
  }
  .directory-title,
  .page-title {
    margin-bottom: 16px;
  }
  .directory-spread {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .cover {
    position: static;
    width: 100%;
    display: flex;
  }
  .cover img {
    width: 38%;
    height: 108px;
    object-position: 50% 60%;
  }
  .cover-caption {
    padding: 10px 12px;
    flex: 1;
    align-items: start;
    flex-direction: column;
  }
  .cover-caption h2 {
    font-size: 21px;
  }
  .cover-caption button {
    padding: 2px 7px;
    font-size: 12px;
  }
  .registry {
    width: 100%;
  }
  .catalog-controls label span {
    display: none;
  }
  .catalog-row {
    padding: 12px 0;
    grid-template-columns: 1fr auto;
  }
  .entry-head h2 button {
    font-size: 21px;
  }
  .entry-actions {
    grid-area: 1/2/3/3;
    flex-direction: column;
  }
  .grid.people {
    grid-template-columns: 1fr;
  }
  .people .card {
    padding: 12px 0;
  }
  [data-edition="desk"] .catalog-row {
    grid-template-columns: 1fr auto;
  }
  [data-edition="desk"] .catalog-row p {
    grid-column: 1;
  }
  [data-edition="desk"] .entry-actions {
    grid-area: 1/2/3/3;
    flex-direction: column;
  }
}

.wordmark span {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .wordmark {gap: 8px}
  .wordmark span {padding-left: 8px; font-size: 11px}
}

.local-app .wordmark::after { content:"本地版" }
.access {display:grid;grid-template-columns:minmax(180px,350px) minmax(220px,400px);align-items:start;gap:clamp(20px,5vw,85px);margin:6vh auto;max-width:850px}
.access img {width:100%;max-height:500px;object-fit:cover}
.access form {padding:1rem 0}.access h1 {font:700 34px var(--serif)}.access [role=alert]{color:#96392e}
@media(max-width:650px){.access{grid-template-columns:1fr;margin:18px 0}.access img{height:120px}}
