/* Master Wagyu Sommelier — app styles.
   Interim WST look and feel from wagyusommelier.com (see docs/brand.md): Wagyu red, gold, warm neutrals,
   Montserrat with Sawarabi Mincho accents. Mobile first; PC layout from 900px. */
:root {
  --red: #AE2B30; --red-dark: #8E1F24; --red-deep: #5E1418;
  --gold: #B39363; --gold-soft: #EADFCD; --gold-dark: #8A6E45;
  --ink: #1F1B19; --text: #2A2523; --muted: #7A706A; --faint: #A9A099;
  --blush: #F6E5E4; --cream: #FBF8F4; --paper: #FFFFFF; --line: #ECE5DC; --line-strong: #DED4C8;
  --ok: #2F7D5B; --warn: #B7791F;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 27, 25, .05), 0 4px 14px rgba(31, 27, 25, .06);
  --shadow-lg: 0 20px 50px rgba(31, 27, 25, .18);
  --serif: "Sawarabi Mincho", "Hiragino Mincho ProN", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--cream);
  min-height: 100vh; padding-bottom: 76px; -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5; }
a { color: var(--red); }
svg.i { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--red); color: #fff; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  box-shadow: inset 0 -3px 0 var(--gold); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.9);
  font-family: var(--serif); font-size: 13px; letter-spacing: 1px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.brand-text small { font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--blush); opacity: .9; }
.user { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--blush); min-width: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.user .who { display: none; flex-direction: column; text-align: right; line-height: 1.2; min-width: 0; }
.user .who b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user .role { font-size: 11px; color: var(--blush); }
.icon-btn { background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff; border-radius: 8px; padding: 6px 10px;
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg.i { width: 16px; height: 16px; }

/* ---------- Layout ---------- */
.view { max-width: 1180px; margin: 0 auto; padding: 20px 16px 32px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 6px; }
h1 { font-size: 24px; line-height: 1.2; margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.2px; }
h2 { font-size: 15px; margin: 0; color: var(--ink); font-weight: 700; }
.sub { color: var(--muted); font-size: 14px; margin: 6px 0 0; max-width: 640px; }
.muted { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.chip.live .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(47,125,91,.15); }
.chip.wait .dot { background: var(--warn); }

/* ---------- Cards and panels ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.kpi.gold::before { background: var(--gold); }
.kpi .k-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.kpi .k-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blush); color: var(--red); }
.kpi.gold .k-ic { background: var(--gold-soft); color: var(--gold-dark); }
.kpi .k-val { font-size: 30px; font-weight: 700; color: var(--ink); margin-top: 10px; letter-spacing: -.5px; }
.kpi .k-note { font-size: 12px; color: var(--faint); margin-top: 2px; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head .hint { font-size: 12px; color: var(--faint); }
.panel-body { padding: 18px; }

/* Pipeline steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 10px 0; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 44px; bottom: -6px; width: 2px; background: var(--line); }
.step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1.5px solid var(--line-strong);
  color: var(--muted); font-weight: 700; font-size: 13px; }
.step b { display: block; font-size: 14px; color: var(--ink); }
.step span { font-size: 12.5px; color: var(--muted); }

/* Empty states */
.empty { display: flex; gap: 14px; align-items: flex-start; padding: 22px 18px; color: var(--muted); font-size: 14px; }
.empty .e-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-dark); flex: 0 0 auto; }
.empty b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }
.note { border-left: 4px solid var(--gold); background: var(--paper); padding: 14px 16px; border-radius: var(--radius-sm); color: var(--muted); font-size: 14px; box-shadow: var(--shadow); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
  background: var(--cream); padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }

/* Filters */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FDFBF8; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.field select, .field input { font: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 10px; background: var(--paper); }
.field select:disabled, .field input:disabled { background: var(--cream); color: var(--faint); }

/* Settings rows */
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row .s-label b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.set-row .s-label span { font-size: 12.5px; color: var(--muted); }
.set-row .s-val { font-weight: 700; color: var(--ink); white-space: nowrap; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: 10px;
  padding: 13px 22px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn.block { width: 100%; }

/* ---------- Navigation (mobile bottom bar) ---------- */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: flex; background: var(--paper); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(31,27,25,.06); }
.tabs .nav-label, .tabs .soon, .tabs .nav-foot { display: none; }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; font-size: 11px; font-weight: 600;
  color: var(--faint); text-decoration: none; }
.tabs a.active { color: var(--red); }

/* ---------- Sign-in screen ---------- */
body.signed-out { padding-bottom: 0; background: var(--ink); }
body.signed-out .topbar { display: none; }
body.signed-out .view { max-width: none; padding: 0; }
.welcome { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.welcome-art { position: relative; overflow: hidden; color: #fff; padding: 40px 28px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(179,147,99,.28), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(174,43,48,.85), transparent 60%),
    linear-gradient(160deg, #6E171C 0%, #3A0E11 55%, #1F1B19 100%); }
.welcome-art::after { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 30% 40%, transparent 0 14px, rgba(255,255,255,.5) 15px 16px, transparent 17px 34px),
    repeating-radial-gradient(circle at 75% 70%, transparent 0 22px, rgba(255,255,255,.35) 23px 24px, transparent 25px 48px); }
.welcome-art > * { position: relative; z-index: 1; }
.welcome-brand { display: flex; align-items: center; gap: 14px; }
.welcome-brand .brand-mark { width: 44px; height: 44px; font-size: 15px; }
.welcome-brand small { display: block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-soft); }
.welcome-brand b { font-size: 17px; }
.kanji { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold); letter-spacing: 6px; margin: 0 0 18px; }
.welcome-art h1 { color: #fff; font-size: 30px; line-height: 1.15; max-width: 520px; }
.welcome-art h1 em { font-style: normal; color: var(--gold); }
.welcome-art .lead { color: rgba(255,255,255,.78); font-size: 15px; max-width: 480px; margin: 14px 0 0; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; }
.mod { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(2px); }
.mod .m-n { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.mod .m-t { font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.welcome-panel { background: var(--cream); padding: 36px 24px 48px; display: flex; align-items: center; justify-content: center; }
.signin-card { width: 100%; max-width: 400px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.signin-card h2 { font-size: 22px; }
.signin-card p { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.signin-card .fine { font-size: 12px; color: var(--faint); margin: 18px 0 0; text-align: center; }
.signin-card .rule { height: 3px; width: 44px; background: var(--gold); border-radius: 3px; margin-bottom: 18px; }

/* ---------- PC layout (900px and wider) ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .topbar { padding: 12px 28px; }
  .user .who { display: flex; }
  .tabs { top: 59px; bottom: 0; right: auto; width: 248px; flex-direction: column; justify-content: flex-start; gap: 2px;
    border-top: 0; border-right: 1px solid var(--line); padding: 18px 12px; box-shadow: none; background: var(--paper); }
  .tabs .nav-label { display: block; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 6px 12px 8px; }
  .tabs .nav-label.second { margin-top: 18px; }
  .tabs a { flex: 0 0 auto; flex-direction: row; gap: 12px; padding: 10px 12px; font-size: 14px; color: var(--muted); border-radius: 10px; }
  .tabs a:hover { background: var(--cream); color: var(--text); }
  .tabs a.active { background: var(--blush); color: var(--red); font-weight: 700; }
  .tabs .soon { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; font-size: 13.5px; color: var(--faint); }
  .tabs .soon em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; color: var(--gold-dark); background: var(--gold-soft); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
  .tabs .nav-foot { display: block; margin-top: auto; padding: 14px 12px 4px; font-size: 11.5px; color: var(--faint); border-top: 1px solid var(--line); }
  body:has(.tabs:not([hidden])) .view { margin-left: 248px; }
  .view { padding: 32px 40px 48px; }
  h1 { font-size: 28px; }
  .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .grid-2 { grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 20px; align-items: start; }
  .filters { grid-template-columns: repeat(4, 1fr); }
  .welcome { grid-template-columns: 1.25fr 1fr; }
  .welcome-art { padding: 48px 56px; }
  .welcome-art h1 { font-size: 42px; }
  .kanji { font-size: 84px; }
  .welcome-panel { padding: 48px; }
}

/* ---------- Phone tweaks (below 900px) ---------- */
@media (max-width: 899px) {
  .icon-btn span { display: none; }
  .brand-text b { font-size: 14px; }
  .mods { display: none; }
  .welcome { min-height: auto; }
  .welcome-art { gap: 28px; padding-bottom: 36px; }
  .kanji { font-size: 52px; margin-bottom: 12px; }
  .welcome-panel { padding: 0 16px 40px; margin-top: -18px; background: transparent; }
  body.signed-out { background: linear-gradient(#1F1B19 0 50%, var(--cream) 50%); }
  .signin-card { padding: 26px 22px; }
}

/* ---------- Results ---------- */
.score { display: inline-flex; align-items: center; gap: 8px; }
.score-bar { width: 70px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; display: inline-block; }
.score-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 6px; }
.small { font-size: 12.5px; }
.t-row { cursor: pointer; }
.t-row:hover td { background: #FDFAF6; }
.t-detail td { background: var(--cream); }
.detail { display: grid; grid-template-columns: 1fr; gap: 14px; font-size: 13.5px; padding: 4px 0; }
.detail b { display: block; color: var(--ink); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.quote { font-style: italic; color: var(--text); margin-top: 3px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }

/* ---------- Targets: restaurant row + its own details ---------- */
.t-name { display: flex; gap: 10px; align-items: flex-start; }
.chev { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: 0 0 auto; margin-top: 1px;
  background: var(--cream); border: 1px solid var(--line-strong); color: var(--muted); transition: transform .15s, background .15s; }
.chev svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.t-row td { border-top: 1px solid var(--line-strong); }
.t-row.open td { background: var(--blush); border-bottom: 0; }
.t-row.open td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.t-row.open .chev { transform: rotate(90deg); background: var(--red); border-color: var(--red); color: #fff; }
.t-detail td { background: var(--blush); padding: 0 16px 16px 16px; border-bottom: 2px solid var(--line-strong); box-shadow: inset 4px 0 0 var(--red); }
.detail-card { background: var(--paper); border: 1px solid #EBCFCD; border-radius: 10px; padding: 14px 16px 16px; margin-left: 32px; }
.detail-head { font-size: 12.5px; color: var(--text); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
@media (max-width: 899px) { .detail-card { margin-left: 0; } }

/* ---------- Sidebar: module (main section) > pages (sub-sections) ---------- */
.tabs .mod-head { display: none; }
.tabs .mod-pages { display: contents; }
@media (min-width: 900px) {
  .tabs .mod-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; margin-top: 4px; }
  .tabs .mod-num { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700;
    background: var(--cream); border: 1px solid var(--line-strong); color: var(--muted); flex: 0 0 auto; }
  .tabs .mod-title { display: flex; flex-direction: column; line-height: 1.2; font-size: 14px; font-weight: 700; color: var(--ink); }
  .tabs .mod-title small { font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: .3px; }
  .tabs .mod-head.active .mod-num { background: var(--red); border-color: var(--red); color: #fff; }
  .tabs .mod-head.soon .mod-title { color: var(--faint); font-weight: 600; }
  .tabs .mod-head.soon .mod-title small { color: var(--gold-dark); }
  .tabs .mod-pages { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 10px 22px; padding-left: 12px; border-left: 2px solid var(--line-strong); }
  .tabs .mod-pages a { padding: 8px 10px; font-size: 13.5px; }
  .tabs .mod-pages a svg.i { width: 18px; height: 18px; }
  .tabs .admin-link { margin-top: 2px; }
}
@media (min-width: 900px) {
  .tabs .mod-head.soon { justify-content: flex-start; padding: 10px; font-size: inherit; }
  .tabs .mod-head .mod-title { text-align: left; }
}

/* ---------- Settings (editable) ---------- */
.s-input { width: 110px; font: inherit; font-size: 15px; font-weight: 700; text-align: right; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--paper); }
.s-input:focus, .add-city input:focus, .add-city select:focus, .field input:focus, .field select:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.set-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 14px 18px; background: #FDFBF8; border-top: 1px solid var(--line); }
.s-msg { font-size: 13px; color: var(--muted); }
.s-msg.ok { color: var(--ok); } .s-msg.err { color: var(--red); }
.btn.small { padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }
.btn.ghost { background: var(--paper); color: var(--red); border: 1px solid var(--red); }
.btn.ghost:hover { background: var(--blush); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.run-box { display: grid; grid-template-columns: 1fr; gap: 14px; }
.run-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); cursor: pointer; }
.run-est { font-size: 14px; color: var(--text); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.run-est .cost { color: var(--red); }
.switch { position: relative; display: inline-block; width: 38px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-strong); border-radius: 22px; transition: .15s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::before { transform: translateX(16px); }
.add-city { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); background: #FDFBF8; }
.add-city input, .add-city select { font: inherit; font-size: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--paper); }
.add-city input#c-name { flex: 1 1 180px; } .add-city input#c-state { width: 70px; text-transform: uppercase; }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(31,27,25,.45); display: grid; place-items: center; padding: 16px; }
.modal-card { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 440px; width: 100%; overflow: hidden; }
.modal-body { padding: 22px 22px 18px; font-size: 14.5px; line-height: 1.55; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; background: var(--cream); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .run-box { grid-template-columns: 1fr 1fr; } .run-cities, .run-est, .run-box > div:last-child { grid-column: 1 / -1; } }

/* ---------- Tooltips ---------- */
.tip { display: inline-flex; vertical-align: -3px; margin-left: 3px; color: var(--faint); cursor: help; border-radius: 50%; outline: none; }
.tip svg.i { width: 15px; height: 15px; stroke-width: 2; }
.tip:hover, .tip:focus { color: var(--gold-dark); }
th .tip { vertical-align: -3px; }
.detail b .tip { vertical-align: -3px; }
.tip-box { position: fixed; z-index: 60; max-width: 280px; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 12.5px; line-height: 1.45; font-weight: 500; letter-spacing: 0; text-transform: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); pointer-events: none; }
.field > span { display: inline-flex; align-items: center; gap: 2px; }

/* Footer credit */
.site-foot { text-align: center; font-size: 11.5px; color: var(--faint); padding: 8px 16px 20px; }
.site-foot a { color: var(--muted); font-weight: 600; text-decoration: none; }
.site-foot a:hover { color: var(--red); }
@media (min-width: 900px) { body:has(.tabs:not([hidden])) .site-foot { margin-left: 248px; } }

/* Module overview pages */
.mod-does { display: grid; gap: 14px; }
.mod-does .does { padding-left: 12px; border-left: 3px solid var(--gold); }
.mod-does .does b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.mod-does .does span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .mod-does { grid-template-columns: 1fr 1fr; } }
.m-only { font-style: normal; }
@media (min-width: 900px) { .m-only { display: none; } }
