/* Seamonster MVP. One stylesheet, reusable classes, no inline styles.
   Vermilion appears once per view: the primary button. */

/* DM Sans and DM Mono, served from this site (not Google Fonts, which would send every visitor's
   IP address to Google; Adam, 31 Oct 2026). Latin subset, the files Google serves. SIL Open Font
   Licence, see /fonts/OFL.txt. DM Sans is one variable file for weights 400 to 600. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/dm-sans.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-mono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-mono-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #FFFDF2;
  --ink: #000;
  --dark: #111111;
  --vermilion: #E12C0C;
  --blood: #A50F1A;
  --hair: #D9D6CC;
  --soft: #F5F1E7;
  --white: #fff;
  --muted: #5c5a52;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 16px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.dot { opacity: .5; margin: 0 .35em; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

/* ------------------------------------------------------------ header and footer */

.topbar {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px var(--gutter);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}

.site-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 52px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand { display: inline-flex; }
.logo { display: block; height: 22px; width: auto; }
.logo-light { filter: invert(1); height: 20px; }

.main-nav, .user-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 14px; }
.main-nav a, .user-nav a { text-decoration: none; padding: 6px 0; }
.main-nav a:hover, .user-nav a:hover { text-decoration: underline; }

.size-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  padding: 3px 10px !important;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vermilion); }

/* Header size menu: the size tag opens a list of the member's saved sizes. */
.size-menu { position: relative; }
.size-menu > summary { cursor: pointer; list-style: none; }
.size-menu > summary::-webkit-details-marker { display: none; }
.size-menu > summary:hover { background: var(--ink); color: var(--paper); }
.size-menu > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.size-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; }
.size-menu[open] .size-caret { transform: rotate(180deg); }
.size-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 260px;
  padding: 12px 0 8px;
  background: var(--white);
  border: 1px solid var(--ink);
}
.size-menu-panel .mono-label { padding: 0 14px 6px; }
.size-menu-form { margin: 0; }
.size-menu-item {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.size-menu-item:hover, .size-menu-item:focus-visible { background: var(--soft); outline: none; }
.size-menu-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.size-menu-item.is-current { font-weight: 600; }
.size-menu-item.is-current::before { background: var(--ink); }
.size-menu-dims { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.user-nav .size-menu-edit { display: block; margin-top: 6px; padding: 8px 14px 4px; border-top: 1px solid var(--hair); font-size: 13px; text-decoration: underline; }

.notice {
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--ink);
  font-size: 14px;
}

.site-footer { background: var(--dark); color: var(--white); margin-top: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.footer-brand .mono-label { color: #8d8a80; margin-top: 12px; }
.footer-tagline { font-size: 20px; margin-top: 12px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; min-width: 120px; }
.footer-cols .mono-label { color: #8d8a80; margin-bottom: 6px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid #2c2c2c; padding-top: 18px; padding-bottom: 28px;
  font-size: 12px; color: #a9a69b;
}
.footer-legal a { color: #a9a69b; }

/* ------------------------------------------------------------ type */

.display { font-size: clamp(48px, 9vw, 92px); line-height: 1; letter-spacing: -.035em; font-weight: 500; margin: 20px 0 24px; }
.headline { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; margin: 14px 0 16px; }
.title { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; margin: 14px 0 14px; }
.title-small { margin: 0; }
.lede { font-size: 18px; max-width: 520px; }
.lede-narrow { max-width: 600px; }
.intro { max-width: 460px; margin-bottom: 20px; }
.section-title { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.small { font-size: 12px; margin-top: 18px; }
.aside { font-size: 12px; }
.note { font-size: 13px; padding: 10px 12px; background: var(--soft); border: 1px dashed var(--hair); margin-top: 12px; }

/* ------------------------------------------------------------ buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  font: inherit; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.button-primary { background: var(--vermilion); color: var(--white); border-color: var(--vermilion); }
.button-primary:hover { background: var(--blood); border-color: var(--blood); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--dark); }
.button-block { display: flex; width: 100%; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.button-row-center { margin-top: 40px; }
.button:focus-visible, .link-button:focus-visible, a:focus-visible, .input:focus-visible, .select:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}

.link-button, .nav-button {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.nav-button { text-decoration: none; padding: 6px 0; }
.nav-button:hover { text-decoration: underline; }
.inline-form { display: inline; margin: 0; }

/* ------------------------------------------------------------ home */

.hero { background: var(--paper); border-bottom: 1px solid var(--hair); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 380px; }
/* The binder photo (Figma "Hero (full bleed)", 74:26). The binder sits on the right of the photo and
   the copy on its dark left; on narrow screens the copy covers the photo, so a dark wash keeps it
   readable. */
.hero-photo { background: var(--dark) url("/img/hero.jpg") right center / cover no-repeat; color: var(--paper); border-bottom: 0; }
.hero-photo .hero-row { min-height: min(72vh, 620px); }
.hero-photo .mono-label { color: #cfccc0; }
.hero-photo .lede { color: #e4e1d6; }
@media (max-width: 760px) {
  .hero-photo { background-image: linear-gradient(rgba(17, 17, 17, .78), rgba(17, 17, 17, .78)), url("/img/hero-800.jpg"); background-position: center, 70% center; }
  .hero-photo .hero-row { min-height: 0; }
}
.art-sheet { fill: var(--white); stroke: var(--ink); stroke-width: 1; }
.art-dashed { fill: none; stroke-dasharray: 3 3; stroke: #9a978c; }
.art-ink { fill: var(--ink); }
.art-rule line { stroke: var(--ink); stroke-width: 1; }
.art-hole circle { fill: none; stroke: var(--ink); stroke-width: 1; }

.why { background: var(--white); padding: 56px 0 72px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 32px; margin: 40px 0; }
.benefit h3 { font-size: 18px; font-weight: 500; margin: 8px 0; }
.benefit p { font-size: 14px; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.compare-card { background: var(--paper); border: 1px solid var(--hair); padding: 20px 24px 24px; }
.compare-art { display: block; width: 140px; height: auto; margin: 20px 0 16px; }
.compare-card figcaption { font-size: 13px; }

.band { background: var(--dark); color: var(--white); }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.band-title { font-size: 28px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.band p { font-size: 14px; color: #cfccc0; }

/* ------------------------------------------------------------ forms */

.page { padding: 48px 0 72px; }
.form-layout { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-start; }
.form-col { flex: 0 1 380px; min-width: 260px; width: 100%; }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.form-wide { gap: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .hint { margin-top: 2px; }

.input, .select {
  width: 100%; min-height: 44px; padding: 0 12px;
  font: inherit; font-size: 14px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
}
.select { appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input-code { font-family: var(--font-mono); font-size: 28px; letter-spacing: .5em; text-align: center; min-height: 56px; }

.field-error-state .input, .field-error-state .select { border-color: var(--vermilion); }
.error-text { font-size: 12px; padding-left: 10px; border-left: 3px solid var(--vermilion); margin-top: 4px; }

.check {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--hair);
  padding: 12px; font-size: 14px; cursor: pointer;
}
.check:has(input:checked) { border-color: var(--ink); border-width: 1px; box-shadow: inset 0 0 0 1px var(--ink); }
.check-error { border-color: var(--vermilion); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check-sub { display: block; font-size: 11px; color: var(--muted); }
.check-soft { background: transparent; }

.link-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; margin-top: 18px; }

.panel { background: var(--white); border: 1px solid var(--hair); padding: 18px 20px; font-size: 13px; }
.panel .mono-label { margin-bottom: 10px; }
.panel-top { flex: 0 1 312px; margin-top: 30px; }
.panel-side { flex: 0 0 240px; align-self: flex-start; }
.bullets li { position: relative; padding-left: 16px; margin-bottom: 10px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

/* ------------------------------------------------------------ account pages */

.page-account { padding-top: 20px; }
.crumbs { font-size: 12px; margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.account-layout { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.account-nav { display: flex; flex-direction: column; gap: 2px; flex: 0 0 140px; font-size: 13px; }
.account-nav a, .account-nav .nav-button { text-decoration: none; padding: 7px 0 7px 12px; border-left: 2px solid transparent; text-align: left; }
.account-nav a:hover, .account-nav .nav-button:hover { text-decoration: underline; }
.account-nav a.is-active { border-left-color: var(--vermilion); font-weight: 500; }
.account-main { flex: 1 1 560px; min-width: 0; }
.account-body { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.account-form-col { flex: 1 1 480px; min-width: 0; max-width: 680px; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.step-tag, .printer-tag {
  border: 1px solid var(--ink); padding: 3px 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}

.form-section { padding: 28px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 14px; }
.form-section > .hint { margin-top: -8px; }
.size-group { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.size-group legend { padding: 0; margin-bottom: 8px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input, .radio-card input, .segment-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-face { display: flex; flex-direction: column; min-width: 92px; padding: 8px 12px; background: var(--white); border: 1px solid var(--hair); font-size: 13px; }
.chip-dims { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.chip input:checked + .chip-face { background: var(--dark); color: var(--white); border-color: var(--dark); }
.chip input:checked + .chip-face .chip-dims { color: #cfccc0; }
.chip input:focus-visible + .chip-face, .radio-card input:focus-visible + .radio-face, .segment-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.region-set, .choice-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.region-set legend, .choice-set legend { padding: 0; margin-bottom: 8px; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.radio-card { cursor: pointer; }
.radio-face { display: block; padding: 12px 14px; background: var(--white); border: 1px solid var(--hair); font-size: 13px; }
.radio-card input:checked + .radio-face { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.field-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.segment { display: flex; flex-wrap: wrap; gap: 8px; }
.segment-option { cursor: pointer; }
.segment-option span { display: inline-block; padding: 6px 12px; background: var(--white); border: 1px solid var(--hair); font-size: 12px; }
.segment-option input:checked + span { background: var(--dark); color: var(--white); border-color: var(--dark); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 28px; }
.step .mono-label { color: var(--muted); }

.ruler { background: var(--white); border: 1px solid var(--hair); padding: 12px 16px; }
.ruler-art { display: block; width: 100%; max-width: 480px; height: auto; }
.ruler-ticks line { stroke: var(--ink); stroke-width: 1; }
.ruler-cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 2; }
.ruler-labels text { font-family: var(--font-mono); font-size: 8px; text-anchor: middle; fill: var(--ink); }

.totals { display: flex; gap: 24px; margin: 14px 0 6px; }
.totals div { display: flex; flex-direction: column; gap: 2px; }
.total-value { font-size: 22px; letter-spacing: -.02em; }
.panel-side .button { margin-top: 12px; }
.panel-side .hint { margin: 10px 0 0; }

@media (max-width: 720px) {
  .site-header-row { justify-content: flex-start; }
  .main-nav, .user-nav { gap: 2px 18px; }
  .hero-row { padding-top: 36px; padding-bottom: 40px; }
  .panel-side { flex: 1 1 100%; }
  .account-nav { flex-direction: row; flex-wrap: wrap; flex-basis: 100%; gap: 4px 16px; }
  .account-nav a, .account-nav .nav-button { padding-left: 0; border-left: 0; border-bottom: 2px solid transparent; }
  .account-nav a.is-active { border-bottom-color: var(--vermilion); }
}

/* ------------------------------------------------------------ content and feedback pages */

.display-page { margin: 0 0 20px; font-size: clamp(40px, 6vw, 64px); }
.small-link { font-size: 12px; align-self: center; }
.small-note { font-size: 13px; }
.textarea {
  width: 100%; padding: 10px 12px; min-height: 120px; resize: vertical;
  font: inherit; font-size: 14px; background: var(--white); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
}
.textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.input-narrow { max-width: 260px; }
.section-title-large { font-size: 26px; letter-spacing: -.02em; margin-bottom: 14px; }
.bullets-dot li::before { background: var(--vermilion); }
.button-disabled { background: var(--soft); color: var(--muted); border-color: var(--hair); cursor: not-allowed; }

.page-head { border-bottom: 1px solid var(--hair); }
.page-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; padding-top: 40px; padding-bottom: 28px; }
.page-head .title { margin-top: 0; }
.page-head .intro { margin-bottom: 0; }
.your-sizes { display: flex; flex-direction: column; gap: 8px; }
.chips-inline { align-items: stretch; }
/* Your sizes on /layouts: each chip is a button in its own /main-size form. */
.chip-form { display: flex; }
.chip-button { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.chip-button:hover { border-color: var(--ink); }
.chip-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip-static { min-width: 84px; background: var(--white); }
.chip-static.is-main { background: var(--dark); color: var(--white); border-color: var(--dark); }
.chip-static.is-main .chip-dims { color: #cfccc0; }
.chip-face-flat { min-width: 0; padding: 10px 16px; }
.chip-disabled { cursor: not-allowed; opacity: .55; }
.panel-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; max-width: 440px; }
.panel-prompt p { flex: 1 1 200px; }

.filter-bar { border-bottom: 1px solid var(--hair); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.segment-links { gap: 8px; }
.segment-link { display: inline-block; padding: 6px 12px; background: var(--white); border: 1px solid var(--hair); font-size: 12px; text-decoration: none; }
.segment-link:hover { border-color: var(--ink); }
.segment-link.is-active { background: var(--dark); color: var(--white); border-color: var(--dark); }

.gallery { padding: 32px 0 56px; }
.layout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; }
.layout-link { display: block; text-decoration: none; }
.layout-tile { display: flex; align-items: center; justify-content: center; background: var(--soft); aspect-ratio: 186 / 214; padding: 12px; }
.layout-img { display: block; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.layout-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; }
.layout-price { font-size: 12px; color: var(--muted); }
.layout-sub { display: block; margin-top: 6px; font-size: 12px; }
.layout-link:hover .layout-name { text-decoration: underline; }

.layout-detail { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.layout-figure { flex: 1 1 380px; min-width: 0; }
.layout-stage { display: flex; justify-content: center; background: var(--soft); padding: 40px 24px; }
.layout-hero-img { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; }
.layout-figure figcaption { margin-top: 12px; }
.layout-info { flex: 1 1 360px; min-width: 0; max-width: 520px; }
.layout-info .title { font-size: clamp(36px, 5vw, 52px); margin: 8px 0 16px; }
.layout-line { margin: 20px 0; font-size: 14px; }
.panel-register, .panel-soon, .panel-settings { padding: 20px 24px; font-size: 14px; }
.panel-register .bullets { margin: 12px 0 16px; }
.panel-register .small { margin-top: 12px; }
.panel-soon { margin-top: 20px; }
.panel-soon p { margin-bottom: 12px; }
.soon-vote { display: flex; align-items: center; gap: 16px; }
.make-pdf { gap: 22px; margin-top: 20px; }
.make-pdf .chips { align-items: center; }
.settings-list { margin: 0; }
.settings-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.settings-row:last-child { border-bottom: 0; }
.settings-row dt { color: var(--muted); }
.settings-row dd { margin: 0; }

.request-layout { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; margin-top: 32px; }
.request-main { flex: 1 1 460px; min-width: 0; max-width: 760px; }
.panel-form { flex: 0 1 440px; min-width: 260px; padding: 24px; }
.panel-form .form { margin-top: 16px; }
.panel-form .hint { margin-top: 0; }
.search-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; margin-bottom: 20px; }
.search-field { flex: 1 1 260px; }
.request-list { border-top: 1px solid var(--hair); }
.request-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.request-body { flex: 1; min-width: 0; }
.request-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 6px 16px; }
.request-title { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.request-desc { margin-top: 4px; font-size: 14px; }
.request-meta { margin-top: 8px; color: var(--muted); font-size: 10px; }
.request-foot { margin-top: 16px; color: var(--muted); font-size: 10px; }
.empty { padding: 24px 0; color: var(--muted); }
.status { border: 1px solid var(--ink); padding: 2px 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.status-declined { color: var(--muted); border-color: var(--hair); }
.status-waiting { border-style: dashed; }

.vote {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 70px; height: 62px; padding: 0; font: inherit; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink); text-decoration: none;
}
.vote:hover { background: var(--soft); }
.vote.is-voted { background: var(--dark); color: var(--white); border-color: var(--dark); }
.vote-count { font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.vote-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.report { margin-top: 8px; font-size: 12px; }
.report summary { cursor: pointer; display: inline-block; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.report-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 360px; }
.report-form .button { align-self: flex-start; min-height: 36px; }

.panel-review { margin-bottom: 24px; padding: 18px 20px; }
.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }

.tip-list { margin-top: 12px; border-top: 1px solid var(--hair); }
.tip-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.tip-n { width: 24px; flex: none; padding-top: 6px; color: var(--muted); }
.tip-title { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 4px; }
.tipjar { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.tipjar-main .display-page { max-width: 640px; }

.legal-layout { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 40px; align-items: flex-start; }
.legal-nav { display: flex; flex-direction: column; gap: 6px; flex: 0 0 180px; font-size: 14px; position: sticky; top: 16px; }
.legal-nav a { text-decoration: none; padding: 4px 0 4px 12px; border-left: 2px solid transparent; }
.legal-nav a:hover { border-left-color: var(--vermilion); }
.legal-body { flex: 1 1 520px; min-width: 0; max-width: 760px; }
.legal-section { margin-bottom: 48px; scroll-margin-top: 16px; }
.legal-section p { margin-bottom: 14px; font-size: 14px; }
/* Visit-counting opt-out (js/visit-counting-optout.js): a button that reads as a link. */
.optout-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; background: var(--white); border: 1px solid var(--hair); font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 20px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.legal-table th { font-weight: 500; }
.legal-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .legal-table th, .legal-table td { padding: 10px 10px; }
}

.data-table { margin: 0; background: var(--white); border: 1px solid var(--hair); }
.data-row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr auto; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--hair); font-size: 14px; }
.data-row:last-child { border-bottom: 0; }
.data-row dd { margin: 0; overflow-wrap: anywhere; }
.data-row dd:last-child { font-size: 12px; text-align: right; }
.data-section { padding: 28px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.data-section .hint { margin-top: 0; }

@media (max-width: 720px) {
  .request-row { gap: 14px; }
  .vote { width: 60px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; flex-basis: 100%; gap: 4px 16px; }
  .legal-nav a { padding-left: 0; }
  .settings-row { grid-template-columns: 80px 1fr auto; }
  .data-row { grid-template-columns: 1fr auto; }
  .data-row dt { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
}

/* ---- My PDFs, PDF status, test sheet, previews ---- */
.pdf-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 20px; }
.pdf-filter .select { max-width: 260px; }
.pdf-list { list-style: none; margin: 0; padding: 0; }
.pdf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.pdf-main { flex: 1 1 260px; min-width: 0; }
.pdf-name { margin: 0; font-size: 15px; }
.pdf-details { margin: 4px 0 0; }
.pdf-made { margin: 0; flex: 0 0 auto; }
.pdf-action { flex: 0 0 auto; min-width: 118px; text-align: center; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; text-decoration: underline; color: var(--ink); cursor: pointer; margin-top: 4px; }
.test-sheet-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.layout-previews { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.layout-previews .layout-hero-img { flex: 1 1 200px; min-width: 0; max-width: 48%; border: 1px solid var(--hair); background: var(--white); }
