/* Builders & Trades Alliance — The Punch List.
   Paper-and-ink punch list look; TradeOwed's laser green appears only in the sponsor band. */
:root {
  --paper: #F2EFE8;
  --paper-2: #E8E4DA;
  --white: #FFFFFF;
  --ink: #17191C;
  --ink-2: #33373C;
  --ink-3: #4A4E54;
  --rule: #B9B3A6;
  --rule-soft: #D6D1C6;
  --rust: #B8400C;
  --rust-deep: #8A2F08;
  --night: #1C1F22;
  --night-text: #ECE9E3;
  --night-soft: #B9BEC2;
  --laser: #21E14C;
  --rod: #F5C400;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--rust); }
a:hover { color: var(--rust-deep); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
img, svg { display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack--tight { gap: 10px; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }
.fineprint { font-size: 14px; color: var(--ink-3); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.5vw, 44px);
  line-height: 1; text-transform: uppercase;
}

/* Masthead */
.masthead { border-bottom: 2px solid var(--ink); }
.masthead__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--rust); }
.nav .nav__cta { padding: 9px 14px; border: 2px solid var(--ink); }
.nav .nav__cta:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 64px; padding-bottom: 72px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kicker { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 8vw, 104px); line-height: 0.9; text-transform: uppercase; }
.hero__dek { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; max-width: 34ch; }
@media (max-width: 600px) { .hero { padding-top: 40px; padding-bottom: 48px; gap: 40px; } }

/* Forms */
.signup { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.signup__fields { display: flex; flex-wrap: wrap; gap: 12px; }
.field { flex: 1 1 170px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--grow { flex: 2 1 240px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select {
  height: 52px; padding: 0 14px; font: inherit; font-size: 17px; width: 100%;
  border: 2px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 0;
}
.field select { padding: 0 12px; }
.field input[aria-invalid="true"] { border-color: var(--rust); }
.signup__msg { font-size: 15px; font-weight: 500; }
.signup__msg.is-error { color: var(--rust-deep); }
.closer .signup__msg.is-error { color: #FFB59A; }
.signup__msg.is-ok { padding: 14px 16px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 0; font: inherit; text-decoration: none; cursor: pointer;
}
.btn--primary { min-height: 56px; padding-top: 10px; padding-bottom: 10px; line-height: 1.1; text-align: center; background: var(--rust); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.btn--primary:hover { background: var(--rust-deep); color: var(--white); }
.btn--primary[disabled], .btn--light[disabled] { opacity: 0.6; cursor: progress; }
.btn--outline { background: transparent; align-self: flex-start; border: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--rod { background: var(--rod); color: #111; font-weight: 600; }
.btn--rod:hover { background: #FFD633; color: #111; }
.btn--light { border: 2px solid var(--paper); background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.btn--light:hover { background: var(--white); color: var(--ink); }

/* Issue No. 1 sheet */
.sheet { flex: 1 1 380px; min-width: 0; background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
@media (max-width: 480px) { .sheet { box-shadow: 6px 6px 0 var(--ink); } }
.sheet__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 14px 20px; background: var(--ink); color: var(--paper); }
.sheet__bar .mono { font-size: 14px; }
.sheet__title { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.sheet__list { list-style: none; margin: 0; padding: 0; }
.sheet__list li { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--rule-soft); }
.sheet__list li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 16px; line-height: 1.4; }
.box { flex: none; width: 20px; height: 20px; margin-top: 3px; border: 2px solid var(--ink); }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust-deep); }
.sheet__foot { padding: 14px 20px; font-size: 13px; color: var(--ink-3); }

/* Every issue */
.band { background: var(--paper-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band .stack { gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.section { background: var(--paper); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.section .num { font-size: 13px; color: var(--rust-deep); }
.section h3 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.section p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Lineup */
.lineup { padding-top: 72px; padding-bottom: 72px; }
.lineup__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 28px; }
.lineup__head .stack { max-width: 640px; }
.key { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { flex: 0 0 auto; align-self: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; padding: 4px 10px; }
.pill--subs { background: var(--ink); color: var(--paper); }
.pill--gcs { background: var(--rust); color: var(--white); }
.pill--both { padding: 2px 8px; border: 2px solid var(--ink); color: var(--ink); }
.issues { list-style: none; margin: 0 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.issues li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.issues__num { flex: 0 0 64px; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--rust); }
.issues__date { flex: 0 0 120px; font-size: 14px; color: var(--ink-3); }
.issues__body { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.issues__body h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.issues__body p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 600px) {
  .issues li { gap: 6px 14px; }
  .issues__num { flex-basis: auto; font-size: 30px; }
  .issues__date { flex-basis: auto; }
  .issues__body { flex-basis: 100%; }
  .issues .pill { align-self: flex-start; }
}

/* Sponsor */
.sponsor { background: var(--night); color: var(--night-text); }
.sponsor__laser { height: 3px; background: var(--laser); box-shadow: 0 0 14px 2px rgba(33, 225, 76, 0.55); }
.sponsor__row { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.sponsor__name { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.sponsor__kicker { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-soft); }
.sponsor h2 { font-family: "Archivo", var(--body); font-stretch: 125%; font-weight: 800; font-size: clamp(40px, 5vw, 52px); line-height: 1; text-transform: none; color: var(--night-text); }
.sponsor__tag { font-size: 14px; color: var(--laser); }
.sponsor__body { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sponsor__lead { font-size: 19px; line-height: 1.55; }
.sponsor__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.sponsor__link { color: var(--night-text); padding: 12px 0; }
.sponsor__link:hover { color: var(--white); }
.sponsor__note { font-size: 14px; color: var(--night-soft); }
.sponsor :focus-visible { outline-color: var(--rod); }

/* Ask */
.ask { display: flex; flex-wrap: wrap; gap: 48px 64px; padding-top: 72px; padding-bottom: 72px; }
.ask__intro { flex: 1 1 360px; }
.faq { flex: 1 1 460px; min-width: 0; border-top: 2px solid var(--ink); }
.faq__item { padding: 18px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.faq__item h3 { font-size: 18px; font-weight: 600; }
.faq__item p { font-size: 16px; color: var(--ink-2); }

/* Closer */
.closer { background: var(--ink); color: var(--paper); }
.closer__row { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-end; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.closer h2 { flex: 1 1 380px; font-size: clamp(36px, 5vw, 60px); line-height: 0.95; }
.signup--inline { flex: 1 1 420px; flex-direction: row; flex-wrap: wrap; align-items: flex-end; max-width: none; }
.signup--inline .field input { border-color: var(--paper); }
.signup--inline .signup__msg { flex-basis: 100%; }
.closer :focus-visible { outline-color: var(--rod); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--ink-3); }
.footer__nav { display: flex; gap: 20px; }
.footer__nav a { padding: 4px 0; }

/* Plain pages (privacy, 404) */
.page { max-width: 760px; padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.page h1 { font-size: clamp(44px, 7vw, 72px); }
.page h2 { font-size: 30px; margin-top: 16px; }
.page ul { margin: 0; padding-left: 22px; }
.page li + li { margin-top: 6px; }
.draft { border: 2px dashed var(--rust); padding: 14px 16px; background: var(--white); font-size: 15px; }

/* ---------- App additions ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inline { display: inline; margin: 0; }
.linkish { background: none; border: 0; padding: 10px 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }
a.btn--small:not(.btn--outline):not(.btn--primary) { background: var(--ink); color: var(--paper); font-weight: 600; }
a.btn--small:not(.btn--outline):not(.btn--primary):hover { background: var(--rust); color: var(--white); }
.page--wide { max-width: 1240px; }
.page--narrow { max-width: 480px; }
.page p { max-width: 70ch; }

/* Paid sponsors on the home page */
.paid { padding-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 24px; }
.paid__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.paid__sell { font-weight: 600; }
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feat { display: flex; flex-wrap: wrap; gap: 20px; padding: 22px; background: var(--white); border: 2px solid var(--ink); }
.feat__logo { width: 160px; height: 80px; object-fit: contain; object-position: left center; }
.feat__body { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feat__body h3 { font-size: 21px; line-height: 1.3; }
.feat__body .btn { margin-top: 6px; }
.feat__by { font-size: 14px; color: var(--ink-3); }
.classifieds { border-top: 2px solid var(--ink); }
.classifieds__h { font-family: var(--display); font-size: 24px; text-transform: uppercase; padding: 14px 0 4px; }
.classifieds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.classifieds li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.classified__link { font-weight: 600; }

/* Advertise */
.steps { margin: 8px 0 0; padding-left: 24px; display: grid; gap: 8px; max-width: 70ch; }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-bottom: 56px; }
.pkg { background: var(--white); border: 2px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pkg h3 { font-family: var(--display); font-size: 30px; text-transform: uppercase; line-height: 1; }
.pkg ul { margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.pkg--house { background: var(--night); color: var(--night-text); border-color: var(--night); border-top: 3px solid var(--laser); }
.pkg--house .tag { color: var(--night-soft); }
.pkg__price { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; }
.pkg__price span { font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--ink-3); }
.avail { min-width: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; }
.table-scroll { position: relative; overflow-x: auto; max-width: 100%; min-width: 0; border-top: 2px solid var(--ink); }
.avail__table { width: 100%; border-collapse: collapse; min-width: 680px; }
.avail__table th, .avail__table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; font-size: 15px; }
.avail__table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.avail__table tbody th { font-weight: 500; white-space: nowrap; }
.avail__table .issues__num { font-size: 26px; margin-right: 12px; vertical-align: baseline; }
.left { font-size: 14px; color: var(--ink-3); margin-left: 8px; }
.soldout { font-weight: 600; color: var(--ink-3); }
.draft { border: 2px dashed var(--rust); padding: 14px 16px; background: var(--white); font-size: 15px; }

/* Booking form */
.summary { border: 2px solid var(--ink); background: var(--white); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.alert { border: 2px solid var(--rust); background: #FFF4EE; padding: 14px 18px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.book { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.book .field { flex: none; }
.book fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.book legend { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; padding: 0 0 6px; }
.book textarea { min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px; width: 100%; border: 2px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 0; resize: vertical; }
.book input[type="file"] { height: auto; padding: 12px; }
.hint { font-size: 14px; color: var(--ink-3); }
.field__error { font-size: 14px; font-weight: 600; color: var(--rust-deep); }
.field [aria-invalid="true"] { border-color: var(--rust); }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--rust); }
.field--check label { flex: 1 1 0; font-weight: 400; font-size: 15px; }
.field--check .field__error { flex-basis: 100%; }
.counter { font-size: 13px; color: var(--ink-3); text-align: right; }

/* Admin */
.admin h2 { margin-top: 24px; font-size: 30px; }
.adm { border: 2px solid var(--ink); background: var(--white); margin-top: 12px; }
.adm__head { padding: 12px 16px; border-bottom: 1px solid var(--rule-soft); display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 15px; }
.adm__grid { display: flex; flex-wrap: wrap; gap: 20px 32px; padding: 16px; }
.adm__preview { flex: 2 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.adm__preview img { width: 160px; height: 80px; object-fit: contain; object-position: left; border: 1px solid var(--rule-soft); }
.adm__preview a { word-break: break-all; }
.adm__actions { flex: 1 1 240px; display: flex; flex-direction: column; gap: 14px; }
.adm__actions input, .adm__actions textarea { width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-size: 15px; border: 2px solid var(--ink); border-radius: 0; background: var(--white); }
.adm__actions label { font-size: 13px; font-weight: 600; }
.adm__actions summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.badge { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border: 2px solid var(--ink); }
.badge--paid { background: var(--rod); border-color: var(--rod); color: #111; }
.badge--approved { background: var(--ink); color: var(--paper); }
.badge--rejected { border-color: var(--rule); color: var(--ink-3); }
.email-preview { background: #FFFFFF; border: 1px solid var(--rule); padding: 20px; overflow-x: auto; }
.code { font-family: var(--mono); font-size: 13px; line-height: 1.5; width: 100%; padding: 12px; border: 2px solid var(--ink); background: var(--white); border-radius: 0; }

/* Change Orders, issue editor, archive */
.co-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 12px; }
.co-grid > .stack { flex: 1 1 360px; min-width: 0; }
.co-grid h2, .co-list h2 { font-size: 30px; }
.price-table { min-width: 0; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.co-list { padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; }
.co-items { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.co-items li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.co-items h3 { font-size: 22px; line-height: 1.3; }
.co-items h3 a { color: var(--ink); text-decoration: none; }
.co-items h3 a:hover { color: var(--rust); text-decoration: underline; }
.co-inline { font-size: 15px; }
.price-live { font-family: var(--mono); font-size: 15px; font-weight: 500; padding: 10px 12px; background: var(--white); border: 2px solid var(--ink); align-self: flex-start; }
.guidelines-box { border: 2px solid var(--ink); background: var(--paper-2); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.h-small { font-size: 22px; }
.price-details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.section--co { background: var(--white); }
.sheet__empty { padding: 20px; color: var(--ink-2); }
.paid-label { align-self: flex-start; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border: 2px solid var(--rust); color: var(--rust-deep); }
.article__h { font-family: var(--body); font-weight: 600; font-size: clamp(32px, 5vw, 46px); line-height: 1.15; text-transform: none; }
.article__by { color: var(--ink-3); }
.article__body { display: flex; flex-direction: column; gap: 18px; font-size: 19px; line-height: 1.65; }
.article__note { border-top: 2px solid var(--ink); padding-top: 16px; font-size: 15px; color: var(--ink-3); }
.adm__article { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 12px; margin-top: 8px; border: 1px solid var(--rule-soft); font-size: 15px; }
.issue-editor { max-width: 760px; }

.review-alert a { display: block; padding: 14px 18px; background: var(--rod); color: #111; text-decoration: none; border: 2px solid var(--ink); }
.review-alert a:hover { background: #FFD633; color: #111; }

/* Issue preview */
.pv { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.pv__frame-wrap { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pv__widths { display: flex; gap: 8px; }
.pv__widths a { padding: 8px 14px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.pv__widths a[aria-current] { background: var(--ink); color: var(--paper); }
.pv__frame { background: #E9E7E2; padding: 24px; overflow-x: auto; border: 1px solid var(--rule); }
.pv__frame > table { margin: 0 auto; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.pv__frame--desktop > table { max-width: 600px; }
.pv__frame--phone > table { max-width: 375px; }
.pv-note { margin: 6px 0 0; font-family: var(--mono); font-size: 12px; color: #6B6F74; background: #F4F2EC; padding: 4px 8px; display: inline-block; }
.pv__panel { flex: 1 1 320px; min-width: 0; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 2px solid var(--ink); padding: 18px; }
.pv__panel h2 { font-size: 28px; }
.pv-h { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 12px; }
.pv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pv-item { border-top: 1px solid var(--rule-soft); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.pv-item__text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.pv-item__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-item__actions form { margin: 0; }
.pv-item__actions .btn--small { min-width: 44px; padding: 0 12px; }
.pv-item__actions button[disabled] { opacity: 0.35; cursor: default; }
@media (max-width: 1000px) { .pv__panel { position: static; } }

/* Issue editor and published issues */
.format-help { background: var(--paper-2); border: 1px solid var(--rule); padding: 10px 14px; font-size: 14px; }
.format-help code { font-family: var(--mono); background: var(--white); padding: 1px 5px; border: 1px solid var(--rule-soft); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pv__export { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.pv__export h2 { font-size: 28px; }
.issue-page .article__body h3, .iss__sec h3 { font-size: 22px; margin-top: 8px; }
.issue-page ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.iss__sec { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.6; }
.iss__q { font-style: italic; font-size: 20px; }
.iss__ads { overflow-x: auto; }
.iss__cos { list-style: none; padding: 0 !important; }

/* Links on the darker paper backgrounds need the deeper rust for AA contrast. */
.guidelines-box a, .band a, .format-help a { color: var(--rust-deep); }

/* On phones, the availability table becomes one card per issue (no sideways scrolling). */
@media (max-width: 640px) {
  .avail__table--cards { min-width: 0; }
  .avail__table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .avail__table--cards tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .avail__table--cards th, .avail__table--cards td { display: block; border: 0; padding: 4px 0; }
  .avail__table--cards td[data-label] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .avail__table--cards td[data-label]::before { content: attr(data-label); flex: 0 0 100%; font-size: 13px; font-weight: 600; color: var(--ink-3); }
  .avail__table--cards .left { margin-left: 0; }
}

/* Multi-issue booking */
.issue-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.issue-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; min-height: 44px; border: 2px solid var(--ink); background: var(--white); cursor: pointer; font-size: 15px; }
.issue-pick input { width: 20px; height: 20px; accent-color: var(--rust); margin: 0; }
.issue-pick .muted { margin-left: auto; font-size: 13px; }
.issue-pick:has(input:checked) { background: #FFF4EE; border-color: var(--rust); }
.issue-pick.is-full { opacity: 0.55; cursor: default; border-style: dashed; }
.save-banner { background: var(--white); border: 2px solid var(--rust); padding: 12px 16px; }
.order-tag { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.check-inline { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 14px; }
.check-inline input { width: 20px; height: 20px; min-height: 0; }

/* Archive and duplicate-headline warning */
.archive-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.archive-search input { flex: 1 1 280px; height: 44px; padding: 0 12px; font: inherit; border: 2px solid var(--ink); border-radius: 0; background: var(--white); }
.archive-table td, .archive-table th { vertical-align: top; }
.dupe-warn { border: 2px solid var(--rod); background: #FFF8DB; padding: 10px 14px; font-size: 14px; }
.dupe-warn ul { margin: 4px 0 0; padding-left: 18px; }
.dupe-warn a { color: var(--rust-deep); }
.quick-picks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick-picks[hidden] { display: none; }
