:root {
  color-scheme: light;
  --ink: #17263a;
  --muted: #53647a;
  --navy: #13263e;
  --nav-light: #aec2d6;
  --brand: #166050;
  --brand-dark: #104b3f;
  --mint: #a6e4ce;
  --surface: #fff;
  --bg: #f2f5f8;
  --line: #dce4ec;
  --round: 16px;
  --shadow: 0 2px 3px #182e4d06;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p { margin: 0; }
h1 { line-height: 1.2; letter-spacing: -.035em; }
h2 { font-size: 1.26rem; line-height: 1.35; }
h3 { font-size: 1.02rem; }
a { color: var(--brand); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible, .upload:focus-within { outline: 3px solid #1b8b72; outline-offset: 3px; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.loading { padding: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 15px; border-radius: 9px; border: 1px solid transparent;
  background: transparent; font-size: .9rem; font-weight: 650; text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.btn:active, .nav-item:active, .record:active, .demo-account:active { opacity: .78; }
.btn.primary { background: var(--brand); color: white; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.secondary { background: white; border-color: #cdd9e4; }
.btn.secondary:hover, .icon-btn:hover { background: #edf3f7; }
.btn.icon-btn { width: 44px; padding: 0; color: var(--muted); }
.wide { width: 100%; }
.eyebrow, .section-index {
  display: block; color: var(--brand); font-size: .77rem; font-weight: 750; letter-spacing: .11em;
}
.eyebrow span, .light-dot {
  display: inline-block; vertical-align: 2px; width: 7px; height: 7px; border-radius: 50%;
  background: #74c7ae; margin-right: 5px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-icon {
  width: 43px; height: 43px; border-radius: 12px; background: #a6e4ce; color: #133d38;
  display: grid; place-items: center; flex: 0 0 auto;
}
.brand-icon svg { width: 24px; height: 24px; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 1rem; letter-spacing: .07em; }
.brand span { color: #bfd0e0; font-size: .76rem; margin-top: 2px; }
.demo { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.demo-title { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: .88rem; }
.demo-title span, .demo-account span { color: var(--muted); font-size: .78rem; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.demo-account {
  display: grid; gap: 2px; text-align: left; min-height: 58px; padding: 8px 11px;
  border: 1px solid var(--line); border-radius: 9px; background: #f7f9fb;
}
.demo-account:hover { background: #e9f5ef; border-color: #aad2c4; }
.demo-account strong { font-size: .88rem; }
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100svh; }
.sidebar {
  position: sticky; top: 0; height: 100svh; background: var(--navy); color: var(--nav-light);
  display: flex; flex-direction: column; padding: 24px 15px;
}
.sidebar .brand { padding: 0 8px 27px; border-bottom: 1px solid #c4dcfa21; }
.sidebar nav { padding-top: 22px; display: grid; gap: 7px; }
.nav-caption { padding: 0 12px 4px; font-size: .73rem; letter-spacing: .1em; }
.nav-item {
  background: transparent; border: 1px solid transparent; min-height: 46px; padding: 8px 11px;
  display: flex; gap: 9px; align-items: center; border-radius: 9px; font-size: .92rem; text-align: left;
}
.nav-item:hover { background: #a1bfd41a; }
.nav-item.current { background: #a6e4ce20; color: #d5ffef; border-color: #a6e4ce25; font-weight: 700; }
.nav-badge { background: var(--mint); color: #154336; border-radius: 12px; padding: 0 7px; margin-left: auto; font-size: .75rem; }
.sidebar-footer { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid #c4dcfa21; font-size: .78rem; }
.topbar {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px clamp(20px, 3vw, 44px); background: var(--surface); border-bottom: 1px solid var(--line); gap: 8px;
}
.crumb, .account { display: flex; align-items: center; gap: 10px; }
.crumb { color: var(--muted); font-size: .86rem; }
.crumb strong { color: var(--ink); }
.account { font-size: .84rem; }
.account small { display: block; color: var(--muted); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #e6f4ee; color: var(--brand);
  display: grid; place-items: center; font-weight: 750; flex-shrink: 0;
}
.content { max-width: 1260px; margin: 0 auto; padding: 24px clamp(20px, 3vw, 44px) 40px; }
.hero {
  position: relative; overflow: hidden; padding: 25px 29px; margin-bottom: 20px; border-radius: var(--round);
  min-height: 148px; background: linear-gradient(110deg, #173150, #1c514e); color: white;
  display: flex; align-items: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#d6f4e41c 1px, transparent 1px), linear-gradient(90deg, #d6f4e41c 1px, transparent 1px);
  background-size: 23px 23px; mask-image: linear-gradient(90deg, transparent 37%, #000 100%);
}
.hero-copy { z-index: 1; }
.hero .eyebrow { color: #b4ebd8; }
.hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 6px 0 7px; }
.hero p:last-child { color: #dfeef0; font-size: .92rem; }
.hero-symbol { position: absolute; right: 33px; color: #b7e7d36b; transform: rotate(-12deg); }
.hero-symbol svg { width: 100px; height: 100px; stroke-width: .7; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .43fr); gap: 18px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--round); background: var(--surface); box-shadow: var(--shadow); }
.report-card, .list-card { padding: 20px 24px; }
.account-settings { max-width: 640px; }
.account-settings > section + section { margin-top: 14px; }
.account-settings form { display: grid; gap: 12px; margin-top: 12px; }
.account-settings h2 { margin-bottom: 8px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.card-head h2, .side-card h2 { margin-top: 4px; }
.report-card .card-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
fieldset { min-width: 0; margin: 0 0 15px; padding: 0; border: 0; }
label, legend, .field-label { font-size: .9rem; font-weight: 650; }
legend { margin-bottom: 7px; padding: 0; }
.required { color: #9a3d26; }
.kind-options, .two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind-options label, .upload { position: relative; cursor: pointer; }
.kind-options input, .upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kind-options label span {
  display: flex; align-items: center; gap: 7px; min-height: 45px; padding: 6px 11px;
  border: 1px solid #cdd9e4; border-radius: 9px; background: #fff;
}
.kind-options label:hover span { background: #f4f8fa; }
.kind-options input:checked + span { background: #e8f5ee; border-color: #72af9b; color: #165444; }
.kind-options input:focus-visible + span { outline: 3px solid #1b8b72; outline-offset: 3px; }
input:not([type=file], [type=radio]), textarea, select {
  display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 9px 11px;
  border: 1px solid #c8d4df; border-radius: 9px; background: #fff; color: var(--ink);
  font-size: 1rem; font-weight: 400;
}
textarea { resize: vertical; }
::placeholder { color: #5e6e81; opacity: 1; }
.assignment { font-size: .83rem; margin: 6px 0 8px; min-height: 21px; }
.field-note { margin: 6px 0 14px; }
#draft-note:empty { display: none; }
.photo-field { padding-top: 13px; border-top: 1px solid var(--line); }
.photo-control { padding-top: 7px; }
.photo-pickers { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-help { margin-top: 5px; }
.photo-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.photo-preview img { width: 54px; height: 48px; object-fit: cover; border-radius: 6px; }
.photo-preview span { overflow-wrap: anywhere; min-width: 0; font-size: .84rem; }
.photo-preview button { margin-left: auto; flex-shrink: 0; }
.form-error { color: #ad302e; font-size: .88rem; }
.form-error:empty { display: none; }
.form-actions { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.form-actions .primary { min-width: 146px; }
.side-stack { display: grid; gap: 16px; }
.side-card { padding: 19px 17px; }
.side-card > p { margin-top: 4px; }
.area-list { list-style: none; padding: 0; margin: 12px 0 0; }
.area-list li {
  padding: 8px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: .88rem;
}
.area-list li:last-child { padding-bottom: 0; }
.area-list li > strong { flex-shrink: 0; }
.area-list li > span:last-child { margin-left: auto; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.area-icon { display: grid; place-items: center; width: 29px; height: 29px; color: var(--brand); background: #e9f5ef; border-radius: 7px; }
.area-icon svg { width: 16px; height: 16px; }
.empty-recent { margin-top: 10px; }
.recent-item {
  border: 0; background: transparent; border-top: 1px solid var(--line); min-height: 52px;
  text-align: left; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0;
}
.recent-item:first-child { margin-top: 10px; }
.recent-item > span:first-child { min-width: 0; }
.recent-item strong, .recent-item small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.recent-item strong { font-size: .84rem; }
.recent-item small { color: var(--muted); }
.recent-item:hover strong { color: var(--brand); text-decoration: underline; }
.pill { display: inline-flex; flex-shrink: 0; white-space: nowrap; align-items: center; border-radius: 999px; padding: 3px 8px; font-size: .76rem; font-weight: 750; }
.pending { background: #fff3d8; color: #724307; }
.active { background: #e5effc; color: #24568a; }
.done { background: #e1f4eb; color: #185b47; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 17px; }
.metric { padding: 14px; display: flex; gap: 10px; align-items: center; }
.metric-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.metric div > * { display: block; }
.metric div > span { color: var(--muted); font-size: .81rem; }
.metric strong { font-size: 1.5rem; line-height: 1.2; }
.ticket-search { display: block; max-width: 28rem; margin-bottom: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 10px; }
.filters button { min-height: 44px; background: #f3f6f9; border: 1px solid transparent; border-radius: 8px; padding: 7px 13px; font-size: .85rem; }
.filters button:hover { background: #e8f2ef; }
.filters button[aria-pressed=true] { color: var(--brand); background: #e6f3ec; border-color: #b4d4c6; font-weight: 700; }
.record {
  min-height: 76px; display: grid; width: 100%; grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center; text-align: left; gap: 11px; padding: 10px 4px; background: transparent;
  border: 0; border-top: 1px solid var(--line);
}
.record:hover { background: #f6f9fb; }
.record-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #edf2f7; color: #38526f; }
.record-icon svg { width: 18px; height: 18px; }
.record-copy > * { display: block; }
.record-copy > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.record-id { color: var(--brand); font-family: ui-monospace, monospace; font-size: .76rem; font-weight: 700; }
.record-id span, .record-copy small { color: var(--muted); font-family: inherit; font-size: .77rem; }
.record-state { text-align: center; }
.record-arrow { color: var(--muted); }
.new-feedback { display: block; color: var(--brand); font-size: .71rem; font-weight: 750; margin-top: 3px; }
.empty { padding: 34px 8px; text-align: center; border-top: 1px solid var(--line); }
.empty div { width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 12px; background: #e8f0f6; color: #3b5c7c; display: grid; place-items: center; }
.empty p { color: var(--muted); margin-top: 4px; font-size: .88rem; }
dialog {
  color: var(--ink); border: 1px solid var(--line); border-radius: var(--round);
  padding: 0; width: min(610px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overscroll-behavior: contain;
}
dialog::backdrop { background: #142539ad; }
.detail-inner { padding: 21px; }
.detail-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.detail-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; }
.detail-byline { color: var(--muted); margin-top: 6px; font-size: .82rem; }
.detail-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 13px 0; }
.ticket-image { display: inline-block; }
.ticket-image img { display: block; max-width: 100%; max-height: 220px; border-radius: 8px; }
.feedback { margin-top: 15px; padding: 13px; border: 1px solid #c4e1d4; border-radius: 10px; background: #f0f8f4; }
.feedback h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.feedback .detail-text { margin: 8px 0; }
.finish { display: grid; gap: 10px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 13px; }
.finish .form-actions { margin-top: 0; }
.toast {
  position: fixed; z-index: 10; right: 18px; bottom: max(18px, env(safe-area-inset-bottom));
  max-width: calc(100% - 36px); color: #fff; background: #17374b; border-radius: 10px;
  padding: 10px 15px; box-shadow: 0 5px 22px #162b5440; pointer-events: none;
  opacity: 0; transform: translateY(5px); transition: opacity .17s, transform .17s;
}
.toast.show { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .shell { grid-template-columns: 178px minmax(0, 1fr); }
  .content { padding-inline: 18px; }
  .report-card, .list-card { padding-inline: 18px; }
  .report-grid { grid-template-columns: minmax(0, 1fr) minmax(198px, .48fr); gap: 12px; }
}
@media (max-width: 770px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 11px 13px 9px; }
  .sidebar .brand { padding: 0 0 7px; border-bottom: 0; }
  .sidebar .brand-icon { width: 35px; height: 35px; border-radius: 9px; }
  .sidebar nav { display: flex; gap: 7px; flex-wrap: wrap; padding-top: 0; }
  .sidebar .nav-item { min-height: 44px; }
  .sidebar-footer, .nav-caption { display: none; }
  .topbar { min-height: 53px; padding: 3px 13px; }
  .content { padding: 12px 12px max(24px, env(safe-area-inset-bottom)); }
  .hero { min-height: 120px; padding: 17px; margin-bottom: 12px; }
  .hero-symbol { right: 10px; opacity: .34; }
  .report-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .primary { flex-grow: 1; }
}
@media (max-width: 415px) {
  .crumb strong, .crumb span:first-of-type { display: none; }
  .account .avatar { display: none; }
  .report-card, .list-card { padding: 14px 12px; }
  .metric { flex-wrap: wrap; padding: 9px 7px; gap: 6px; }
  .metric-icon { width: 28px; height: 28px; }
  .metric-icon svg { width: 16px; height: 16px; }
  .record { grid-template-columns: auto minmax(0,1fr) auto; gap: 7px; }
  .record-arrow { display: none; }
  .detail-inner { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Website entry and sample case gallery */
.site-front {
  --paper: #f4f0e7;
  --forest: #202f26;
  --copper: #a04229;
  --quiet: #535d51;
  --rule: #c9c4b4;
  --serif: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, Georgia, serif;
  min-height: 100vh;
  background: var(--paper);
  color: var(--forest);
}
.site-width { width: min(100% - 112px, 1296px); margin-inline: auto; }
.site-skip {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 1;
  padding: 8px 12px;
  background: white;
  transform: translateY(-160%);
}
.site-skip:focus { transform: none; }
.site-bar { border-bottom: 1px solid var(--rule); }
.site-bar-inner {
  min-height: 79px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  color: inherit;
  text-decoration: none;
}
.site-brand-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--forest); border-radius: 5px; }
.site-brand-icon svg { width: 25px; height: 25px; }
.site-brand strong, .site-brand small { display: block; }
.site-brand strong { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; letter-spacing: .08em; }
.site-brand small, .site-kicker, .site-cover figcaption, .exhibit-stamp, .site-steps li > span {
  font-family: ui-monospace, "PingFang SC", "Microsoft YaHei", monospace;
  font-size: .75rem;
  letter-spacing: .09em;
}
.site-brand small { margin-top: 4px; color: var(--quiet); font-size: .63rem; }
.site-nav { display: flex; gap: 24px; }
.site-nav a, .site-top-link, .site-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: inherit;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover, .site-top-link:hover, .site-text-link:hover { color: var(--copper); }
.site-top-link { justify-self: end; }
.site-top-link svg, .site-actions svg { width: 16px; height: 16px; }
.site-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 85px);
  padding-block: clamp(48px, 6vw, 95px);
}
.site-kicker { color: var(--copper); font-weight: 750; }
.site-kicker span { display: inline-block; width: 17px; height: 1px; vertical-align: 4px; background: currentColor; margin-right: 7px; }
.site-intro h1, .site-section h2 { font-family: var(--serif); font-weight: 700; }
.site-intro h1 { font-size: clamp(2.5rem, 5.1vw, 5rem); line-height: 1.19; margin: 18px 0 20px; }
.site-intro h1 em { color: var(--copper); font-style: normal; }
.site-lead { max-width: 28em; color: var(--quiet); font-size: clamp(.96rem, 1.25vw, 1.12rem); line-height: 1.85; }
.site-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 25px; }
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 17px;
  min-height: 46px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  background: var(--forest);
  color: #fffdf6;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s;
}
.site-button:hover { background: #364b3e; }
.site-text-link { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; }
.site-caption { margin-top: 21px; color: var(--quiet); font-size: .79rem; }
.site-caption span { color: var(--copper); }
.site-cover {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--forest);
  padding: 9px 9px 0;
  border-radius: 4px;
  background: var(--forest);
  box-shadow: 0 16px 30px #382f211c;
}
.site-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.site-cover figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 11px 4px; color: #ebe9da; }
.site-section { border-top: 1px solid #827f72; padding: 29px 0 43px; scroll-margin-top: 16px; }
.site-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 9px 24px; margin-bottom: 20px; }
.site-section h2 { margin-top: 4px; font-size: clamp(1.65rem, 3.3vw, 2.65rem); letter-spacing: -.025em; }
.site-section-head > p, .site-login > div:first-child > p:last-child { color: var(--quiet); font-size: .92rem; }
.exhibit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.exhibit { min-width: 0; border: 1px solid var(--rule); background: #f9f6ef; }
.exhibit summary { cursor: pointer; display: block; }
.exhibit summary::-webkit-details-marker { display: none; }
.exhibit-art {
  padding: 16px 18px;
  color: #f7f4ea;
  background: linear-gradient(120deg, #293a2e, #354d3d);
}
.exhibit:nth-child(2) .exhibit-art { background: linear-gradient(120deg, #624235, #795745); }
.exhibit-stamp { display: flex; align-items: center; gap: 8px; color: #f0e6d2; }
.exhibit-stamp svg { width: 17px; height: 17px; }
.exhibit-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 14px; font-size: .87rem; }
.exhibit-compare span { display: grid; min-height: 59px; align-items: center; padding: 8px; text-align: center; border: 1px solid #fff8db5c; background: #fff7da0d; }
.exhibit-compare svg { width: 16px; }
.exhibit-title { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 14px 17px; }
.exhibit-title p { color: var(--copper); font-size: .76rem; font-weight: 700; }
.exhibit-title h3 { margin-top: 2px; font-family: var(--serif); font-size: 1.2rem; }
.exhibit-toggle { display: grid; flex-shrink: 0; place-items: center; width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%; }
.exhibit summary:hover .exhibit-toggle { background: #e9e4d5; }
.exhibit[open] .exhibit-toggle svg { transform: rotate(45deg); }
.exhibit-details { margin: 0; padding: 0 17px 16px; }
.exhibit-details > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--rule); padding: 8px 0; font-size: .88rem; }
.exhibit-details dt { font-weight: 700; }
.exhibit-details dd { margin: 0; color: var(--quiet); }
.site-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.site-steps li { border-left: 1px solid var(--rule); padding: 0 12px 0 17px; }
.site-steps li > span { color: var(--copper); }
.site-steps h3 { margin-top: 4px; }
.site-steps p { margin-top: 5px; color: var(--quiet); font-size: .91rem; }
.site-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 18px; }
.scan-entry .site-width { width: min(100% - 32px, 520px); }
.scan-entry .site-login { grid-template-columns: minmax(0, 1fr); padding-top: max(32px, env(safe-area-inset-top)); }
.site-login > div:first-child > p:last-child { margin-top: 8px; }
.login-content { background: #fbf8f0; border: 1px solid var(--rule); padding: 20px; }
#login { display: grid; gap: 12px; }
#login .site-button { justify-self: start; }
.site-foot {
  display: flex; flex-wrap: wrap; gap: 6px 15px; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--rule); padding: 12px 0 22px; color: var(--quiet); font-size: .8rem;
}
.site-foot a { display: inline-flex; min-height: 44px; align-items: center; color: var(--forest); font-weight: 700; text-decoration: none; }

@media (max-width: 960px) {
  .site-width { width: calc(100% - 64px); }
}
@media (max-width: 710px) {
  .site-width { width: calc(100% - 32px); }
  .site-bar-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; gap: 6px 12px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: 21px; border-top: 1px solid var(--rule); }
  .site-top-link { grid-column: 2; grid-row: 1; }
  .site-brand { min-height: 50px; }
  .site-brand-icon { width: 34px; height: 34px; }
  .site-brand-icon svg { width: 21px; height: 21px; }
  .site-hero { grid-template-columns: minmax(0, 1fr); gap: 23px; padding: 29px 0 32px; }
  .site-intro h1 { margin: 11px 0 13px; font-size: clamp(2.4rem, 9vw, 3.8rem); }
  .site-actions { margin-top: 16px; }
  .site-caption { margin-top: 11px; }
  .site-cover { padding: 6px 6px 0; }
  .site-cover figcaption { padding: 8px 3px; }
  .site-section { padding: 22px 0 31px; }
  .exhibit-grid, .site-login, .site-steps { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .site-steps li { padding-block: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-button { transition: none; }
}
