/* New Orleans Permit Leads. Look: the permit placard taped in a job-site window.
   Deep bayou green, placard yellow, condensed signage type, stamped mono numbers. */

:root {
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --text: #14231d;
  --muted: #5b6862;
  --line: #ddd6c8;
  --edge: #14231d;          /* hard borders and offset shadows */
  --night: #14231d;         /* hero / dark bands, same in both themes */
  --night-2: #1d3229;
  --on-night: #f4f1ea;
  --on-night-muted: #a9b8b0;
  --placard: #ffb81c;
  --on-placard: #14231d;
  --tag-bg: #ece6d8;
  --tag-on-bg: #ffe3a3;
  --tag-on-text: #6b4a00;
  --ok-bg: #e3f1e8;
  --err-bg: #fbe5e1;
  --err: #a3281a;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1713;
    --surface: #17221d;
    --text: #ece8df;
    --muted: #9aa8a1;
    --line: #2b3a33;
    --edge: #ece8df;
    --night: #0b120e;
    --night-2: #17241e;
    --tag-bg: #24332c;
    --tag-on-bg: #4a3910;
    --tag-on-text: #ffd27a;
    --ok-bg: #173323;
    --err-bg: #3a1a15;
    --err: #ff9c8a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 78%; font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 6vw, 40px); }
h2 { font-size: clamp(28px, 5.4vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0 0 12px; }

main { max-width: 680px; margin: 0 auto; padding: 16px; }
main.wide { max-width: none; padding: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--night); color: var(--on-night);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 20px; color: inherit; text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--placard); color: var(--on-placard); font-weight: 900; font-size: 18px; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a:not(.btn) { color: var(--on-night); text-decoration: none; font-weight: 600; padding: 8px 10px; }
.top nav a:not(.btn):hover { text-decoration: underline; }
.brand, .top nav a { white-space: nowrap; }
@media (max-width: 480px) { .top .brand-name { display: flex; flex-direction: column; font-size: 16px; line-height: 1; } .top nav a:not(.btn) { padding: 8px 6px; } }
.devbar { background: #fff1c2; color: #5c4400; font-size: 13px; text-align: center; padding: 4px 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--edge); cursor: pointer;
  background: var(--placard); color: var(--on-placard);
  font: 700 16px/1.2 var(--body); text-decoration: none; text-align: center;
  padding: 12px 18px; min-height: 48px; border-radius: 4px;
  box-shadow: 3px 3px 0 var(--edge);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--edge); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.btn.big { font-size: 18px; padding: 14px 22px; min-height: 56px; }
.btn.full { display: flex; width: 100%; }
.btn.small { font-size: 14px; padding: 7px 12px; min-height: 0; box-shadow: 2px 2px 0 var(--edge); }
.btn.ghost { background: var(--surface); color: var(--text); }
.btn.outline { background: transparent; color: var(--on-night); border-color: var(--on-night); box-shadow: none; }
.btn.outline:hover { background: var(--night-2); box-shadow: none; transform: none; }
.top .btn { border-color: var(--placard); box-shadow: none; }
button.link { background: none; border: 0; color: var(--text); text-decoration: underline; font: inherit; font-size: 14px; padding: 6px 0; cursor: pointer; }

/* Hero */
.hero { background: var(--night); color: var(--on-night); padding: 36px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; }
.eyebrow, .kicker { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.eyebrow { color: var(--on-night-muted); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }
.hero h1 { font-size: clamp(46px, 12vw, 92px); font-stretch: 72%; font-weight: 900; line-height: .92; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--placard); }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--on-night-muted); max-width: 34em; }
.lede b { color: var(--on-night); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.hero .btn { border-color: var(--placard); box-shadow: 3px 3px 0 #000; }
.hero .btn.outline { border-color: var(--on-night-muted); box-shadow: none; }
.hero-note { font-size: 14px; color: var(--on-night-muted); }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }

/* Phone mock with the morning email */
.phone {
  justify-self: center; width: min(330px, 100%);
  background: #0a0f0c; border-radius: 34px 34px 0 0; padding: 12px 12px 0;
  border: 1px solid #2c3d35; border-bottom: 0;
  box-shadow: 0 -10px 60px rgba(255, 184, 28, .12);
}
.phone-screen { background: #fffdf8; color: #14231d; border-radius: 24px 24px 0 0; padding: 18px 16px 8px; min-height: 380px; }
.mail-head { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding-bottom: 12px; border-bottom: 1px solid #e6e0d2; }
.mail-from { font-weight: 700; font-size: 14px; }
.mail-time { font-family: var(--mono); font-size: 12px; color: #5b6862; }
.mail-head b { grid-column: 1 / -1; font-family: var(--display); font-stretch: 80%; font-size: 22px; font-weight: 800; margin-top: 6px; }
.mail-sub { grid-column: 1 / -1; font-size: 13px; color: #5b6862; }
.mail-lead { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid #e6e0d2; font-size: 13px; color: #5b6862; }
.mail-lead .tag { justify-self: start; margin-bottom: 4px; }
.mail-lead b { font-size: 16px; color: #14231d; }
.mail-lead i { font-style: normal; color: #14231d; }

@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: end; }
  .hero-copy { padding-bottom: 64px; }
}

/* Tally band */
.tally { background: var(--placard); color: var(--on-placard); border-bottom: 2px solid var(--night); }
.tally-grid { display: grid; gap: 0; }
.tally-grid div { padding: 18px 0; border-bottom: 1px solid rgba(20, 35, 29, .25); display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.tally-grid div:last-child { border-bottom: 0; }
.tally b { font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 44px; line-height: 1; min-width: 3.2ch; }
.tally span { font-size: 15px; line-height: 1.35; max-width: 24em; }
@media (min-width: 900px) {
  .tally-grid { grid-template-columns: repeat(3, 1fr); }
  .tally-grid div { border-bottom: 0; border-right: 1px solid rgba(20, 35, 29, .25); padding: 26px 24px 26px 0; }
  .tally-grid div + div { padding-left: 24px; }
  .tally-grid div:last-child { border-right: 0; }
}

/* Content blocks */
.block { padding: 56px 0; }
.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--muted); }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; }
@media (min-width: 900px) { .block { padding: 88px 0; } }

/* Trade tabs (radio-driven, works without JS) */
.tabs { margin-top: 28px; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.tab-labels::-webkit-scrollbar { display: none; }
.tab-labels label {
  flex: 0 0 auto; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 2px solid var(--edge); border-radius: 4px;
  font-weight: 700; background: var(--surface);
}
.tab-labels small { font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--tag-bg); padding: 1px 6px; border-radius: 3px; }
.tab-panel { display: none; gap: 24px; padding-top: 18px; }
#tab-fence:checked ~ .tab-labels label[for=tab-fence],
#tab-landscaping:checked ~ .tab-labels label[for=tab-landscaping],
#tab-pool:checked ~ .tab-labels label[for=tab-pool],
#tab-gutters:checked ~ .tab-labels label[for=tab-gutters],
#tab-blinds:checked ~ .tab-labels label[for=tab-blinds] { background: var(--night); color: var(--on-night); border-color: var(--night); }
#tab-fence:checked ~ .tab-labels label[for=tab-fence] small,
#tab-landscaping:checked ~ .tab-labels label[for=tab-landscaping] small,
#tab-pool:checked ~ .tab-labels label[for=tab-pool] small,
#tab-gutters:checked ~ .tab-labels label[for=tab-gutters] small,
#tab-blinds:checked ~ .tab-labels label[for=tab-blinds] small { background: var(--placard); color: var(--on-placard); }
#tab-fence:focus-visible ~ .tab-labels label[for=tab-fence],
#tab-landscaping:focus-visible ~ .tab-labels label[for=tab-landscaping],
#tab-pool:focus-visible ~ .tab-labels label[for=tab-pool],
#tab-gutters:focus-visible ~ .tab-labels label[for=tab-gutters],
#tab-blinds:focus-visible ~ .tab-labels label[for=tab-blinds] { outline: 3px solid var(--placard); outline-offset: 2px; }
#tab-fence:checked ~ .tab-panel[data-tab=fence],
#tab-landscaping:checked ~ .tab-panel[data-tab=landscaping],
#tab-pool:checked ~ .tab-panel[data-tab=pool],
#tab-gutters:checked ~ .tab-panel[data-tab=gutters],
#tab-blinds:checked ~ .tab-panel[data-tab=blinds] { display: grid; }
.big-num { font-size: 18px; }
.big-num b { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 72px; line-height: .95; }
.big-num span { display: block; color: var(--muted); font-size: 15px; }
.panel-copy > p:not(.big-num) { font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); }
@media (min-width: 900px) { .tab-panel { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 24px; border: 2px solid var(--edge); border-radius: 4px; background: var(--surface); }
.compare { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { color: var(--muted); }
.compare .us { background: var(--tag-on-bg); color: var(--text); font-weight: 700; }
.compare thead .us { color: var(--tag-on-text); }

/* How it works */
.steps-grid { display: grid; gap: 24px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 18px 0 18px 64px; border-top: 2px solid var(--edge); font-size: 17px; color: var(--muted); }
.steps li b { display: block; color: var(--text); font-size: 19px; margin-bottom: 2px; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-weight: 600; font-size: 22px; color: var(--text); }
@media (min-width: 900px) { .steps-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* Pricing */
.price-grid { display: grid; gap: 28px; align-items: center; }
.price-card { background: var(--surface); border: 2px solid var(--edge); border-radius: 4px; padding: 24px; box-shadow: 6px 6px 0 var(--edge); }
.price { font-size: 18px; color: var(--muted); }
.price b { font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 84px; line-height: .9; color: var(--text); }
.price-card .ticks { margin-bottom: 22px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 2px solid var(--edge); }
.faq details:last-of-type { border-bottom: 2px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--mono); font-size: 26px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 17px; max-width: 40em; }

/* Signup */
.signup-block { background: var(--night); color: var(--on-night); }
.signup-block .kicker, .signup-block .sub { color: var(--on-night-muted); }
.signup-grid { display: grid; gap: 24px; }
.signup-form { background: var(--surface); color: var(--text); border: 2px solid var(--placard); border-radius: 4px; padding: 20px 16px; box-shadow: 6px 6px 0 var(--placard); }
@media (min-width: 900px) { .signup-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .signup-form { padding: 28px; } }

/* Footer */
.foot { background: var(--night); color: var(--on-night-muted); border-top: 1px solid var(--night-2); padding: 28px 0 40px; font-size: 14px; }
.foot .brand { color: var(--on-night); margin-bottom: 10px; }
.foot a { color: var(--on-night); }
.is-wide .foot { border-top-color: #2c3d35; }

/* Panels & forms */
.panel { background: var(--surface); border: 2px solid var(--edge); border-radius: 4px; padding: 20px 16px; margin-bottom: 20px; }
.panel.narrow { max-width: 440px; margin: 32px auto; box-shadow: 6px 6px 0 var(--edge); }
form label { display: block; font-weight: 700; margin-bottom: 14px; }
form label small { font-weight: 400; color: var(--muted); }
input[type=email], input[type=text], input[type=search], select {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-size: 16px; /* 16px stops iOS zoom-on-focus */
  color: var(--text); background: var(--surface);
  border: 2px solid var(--line); border-radius: 4px; padding: 11px 12px;
}
input:focus, select:focus { outline: none; border-color: var(--edge); box-shadow: 0 0 0 3px var(--placard); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.fine { font-size: 14px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.toggle { display: flex !important; gap: 10px; align-items: center; font-weight: 500 !important; }
.toggle input { width: 22px; height: 22px; accent-color: var(--placard); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0 !important; font-weight: 500 !important; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 44px; padding: 8px 14px; border-radius: 4px; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); user-select: none; font-weight: 600;
}
.chip input:checked + span { background: var(--tag-on-bg); border-color: var(--edge); color: var(--text); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--placard); }
.zips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.zips b { font-family: var(--mono); font-weight: 600; }
.zips small { font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.2; }

.flash { background: var(--ok-bg); border-left: 4px solid #2f8f5b; padding: 12px 14px; margin-bottom: 16px; }
.error { background: var(--err-bg); color: var(--err); border-left: 4px solid var(--err); padding: 12px 14px; margin-bottom: 16px; font-weight: 700; }
.devnote { background: #fff1c2; color: #5c4400; padding: 10px; }

/* Dashboard */
.filters {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  position: sticky; top: 56px; z-index: 5;
  background: var(--paper); padding: 8px 0;
}
.filters select, .filters input { margin: 0; padding: 9px 8px; font-size: 15px; }
.filters input[type=search] { grid-column: 1 / -1; }
@media (max-width: 380px) { .filters { grid-template-columns: 1fr 1fr; } .filters select[name=days] { grid-column: 1 / -1; } }
.count { font-family: var(--mono); color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; }

.paywall { background: var(--night); color: var(--on-night); border-radius: 4px; padding: 18px 16px; margin-bottom: 16px; }
.paywall b { display: block; font-family: var(--display); font-stretch: 80%; font-size: 24px; }
.paywall span { display: block; color: var(--on-night-muted); margin: 4px 0 14px; }
.paywall .btn { border-color: var(--placard); box-shadow: 3px 3px 0 #000; }

/* Lead card */
.card { background: var(--surface); border: 2px solid var(--edge); border-radius: 4px; padding: 14px 16px; margin-bottom: 14px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.card h3 { font-size: 23px; margin: 0; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .meta { color: var(--muted); font-size: 14px; }
.card .why { margin: 10px 0 0; padding: 8px 10px; background: var(--tag-on-bg); color: var(--text); font-size: 15px; font-weight: 600; border-left: 4px solid var(--placard); }
.card dl { margin: 10px 0 0; font-size: 14px; }
.card dl div { display: flex; gap: 8px; padding: 4px 0; border-top: 1px solid var(--line); }
.card dt { color: var(--muted); min-width: 84px; flex-shrink: 0; }
.card dd { margin: 0; overflow-wrap: anywhere; }
.card dd.redacted { color: var(--muted); font-style: italic; }
.card details { margin-top: 8px; font-size: 14px; }
.card summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.card details p { white-space: pre-line; color: var(--muted); margin: 4px 0 0; overflow-wrap: anywhere; }
.card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.permit-id {
  flex-shrink: 0; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .03em;
  color: var(--muted); border: 1.5px solid var(--line); padding: 2px 6px; border-radius: 2px;
}
.card.locked { border-style: dashed; }

.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 3px; background: var(--tag-bg); color: var(--muted); }
.tag.on { background: var(--placard); color: var(--on-placard); }

/* ---------- Profiles (MVP) ---------- */
.hero.slim { padding-bottom: 40px; }
.hero.slim h1 { font-size: clamp(40px, 9vw, 72px); }
.group-title { font-size: 22px; margin: 32px 0 12px; }
.profile-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.see-all { margin: 24px 0 0; }
.profile-card {
  display: grid; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 2px solid var(--edge); border-radius: 4px;
  transition: transform .08s ease, box-shadow .08s ease;
}
.profile-card:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--edge); }
.pc-name { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 21px; line-height: 1.1; }
.pc-num { font-size: 15px; } .pc-num b { font-size: 19px; }
.pc-from { font-size: 13px; color: var(--muted); }
.spots { justify-self: start; margin-top: 4px; font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px; background: var(--tag-on-bg); color: var(--tag-on-text); }
.spots.full { background: var(--err-bg); color: var(--err); }

.stat-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 20px 0 8px; }
.stat-row div { display: grid; }
.stat-row b { font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 48px; line-height: 1; }
.stat-row b small { font-size: 24px; opacity: .7; }
.stat-row span { font-size: 14px; color: var(--on-night-muted); max-width: 14em; }
.stat-row.admin span { color: var(--muted); }
.stat-row.admin { margin-bottom: 24px; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.narrow-wrap { max-width: 640px; }
.bars { list-style: none; padding: 0; margin: 16px 0 0; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 32px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.bar-label b { font-family: var(--mono); color: var(--text); margin-right: 4px; }
.bar { height: 10px; background: var(--tag-bg); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--placard); }
.bar-n { font-family: var(--mono); text-align: right; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 12px 0; }
.inline-form label { flex: 1 1 220px; margin: 0; }
.inline-form .btn { min-height: 48px; }

.subscribe { max-width: 720px; margin: 16px auto; }
.profile-picks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pick { margin: 0 !important; font-weight: 500 !important; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: grid; gap: 2px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 4px; background: var(--surface); cursor: pointer; }
.pick small { color: var(--muted); font-size: 13px; }
.pick input:checked + span { border-color: var(--edge); background: var(--tag-on-bg); }
.pick input:focus-visible + span { box-shadow: 0 0 0 3px var(--placard); }
.pick.is-full span, .pick input:disabled + span { cursor: not-allowed; opacity: .6; }
.chips input[type=radio] + span { font-weight: 600; }

ul.plain { list-style: none; padding: 0; margin: 0 0 12px; }
ul.plain li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
ul.plain li form { margin: 0; }
.fine.left { text-align: left; margin: 0 0 10px; }
.prose { max-width: 760px; margin: 16px auto; }
.prose h2 { font-size: 22px; margin-top: 24px; }

.table-wrap { overflow-x: auto; margin-bottom: 28px; border: 2px solid var(--edge); border-radius: 4px; background: var(--surface); }
table.data { border-collapse: collapse; width: 100%; font-size: 14px; }
table.data th, table.data td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.data th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.data td small { white-space: normal; display: block; min-width: 260px; color: var(--muted); }
.bad { color: var(--err); }
main:has(table.data) { max-width: 1200px; }
