/* Cunningsburgh Show applications – one stylesheet for public, admin and print.
   Look and feel follows "The Big Show Day" direction from the Show website redesign:
   deep olive, warm cream and harvest yellow, General Sans set large and tight, pill buttons. */
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  /* brand – "green" names kept so existing rules pick up the olive */
  --green: #3e4a1c; /* olive */
  --green-d: #262f10; /* deep olive */
  --green-l: #f7eccb; /* pale harvest */
  --sage: #5f6b37;
  --yellow: #e8bb3a; /* harvest yellow */
  --cream: #f4ede5;
  --cream-2: #ebe2d5;
  --ink: #20260f;
  --ink-2: #4a4f3a;
  --muted: #5f6250;
  --line: #ddd3c3;
  --line-2: #ebe2d5;
  --bg: #f4ede5;
  --card: #fffdf9;
  --red: #a32d1f;
  --red-l: #fbeceA;
  --amber: #8a5a00;
  --amber-l: #fdf3dc;
  --blue: #1f5f8b;
  --blue-l: #e7f0f7;
  --r: 18px;
  --r-s: 10px;
  --shadow: none;
  --font: 'General Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--green);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--green-d);
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--green);
}
h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1rem;
}
p {
  margin: 0 0 1em;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--line-2);
  padding: 0.05em 0.35em;
  border-radius: 4px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.block {
  display: block;
}
.mono {
  font-family: var(--mono);
  font-size: 0.9em;
}
.pre {
  white-space: pre-wrap;
}
.grow {
  flex: 1;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}

/* ---------- cards & layout ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card + .card {
  margin-top: 16px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.card-head h2 {
  margin: 0;
}
.narrow {
  max-width: 560px;
  margin: 0 auto;
}
.stack > * + * {
  margin-top: 14px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.row.wrap {
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover {
  background: var(--cream-2);
  color: var(--ink);
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}
.btn.primary:hover {
  background: var(--green-d);
  color: var(--cream);
}
.btn.ghost {
  background: transparent;
}
.btn.ghost:hover {
  background: var(--card);
}
.btn.danger {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn.danger-ghost {
  color: var(--red);
  border-color: #e7c2bc;
  background: #fff;
}
.btn.wide {
  width: 100%;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button.link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
button.link.danger {
  color: var(--red);
}

/* ---------- forms ---------- */
.field {
  margin: 0 0 18px;
  border: 0;
  padding: 0;
  min-width: 0;
}
.field > label,
.field > legend {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}
.field.note {
  background: var(--green-l);
  border-radius: var(--r-s);
  padding: 12px 14px;
}
.field.note p:last-child {
  margin: 0;
}
.req {
  color: var(--red);
}
.help {
  font-size: 0.875rem;
  color: var(--muted);
  margin: -2px 0 8px;
}
input[type='text'],
input[type='email'],
input[type='password'],
input[type='tel'],
input[type='number'],
input[type='date'],
input[type='url'],
input[type='search'],
input:not([type]),
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8bda9;
  border-radius: var(--r-s);
  padding: 10px 12px;
  min-height: 44px;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(232, 187, 58, 0.45);
  outline-offset: 0;
}
input[type='file'] {
  font: inherit;
  max-width: 100%;
}
.qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty input {
  max-width: 120px;
}
.price {
  font-style: normal;
  color: var(--ink-2);
  font-size: 0.9rem;
  white-space: nowrap;
}
.opts {
  display: grid;
  gap: 8px;
}
.opts.many {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.opts.inline {
  grid-template-columns: repeat(2, minmax(0, 140px));
}
.opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--card);
  cursor: pointer;
  font-weight: 400;
}
.opt:hover {
  border-color: #c9b77f;
}
.opt input {
  margin: 3px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex: none;
}
.opt span {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.opt:has(input:checked) {
  border-color: var(--green);
  background: var(--green-l);
}
.opt.agree span {
  display: block;
}
.opt.big span {
  flex-direction: column;
  gap: 2px;
}
.opt.big small {
  color: var(--muted);
  font-size: 0.875rem;
}
.opt.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.card .opt {
  margin: 0;
}
label.opt + label.opt {
  margin-top: 0;
}
.field.has-err input,
.field.has-err textarea,
.field.has-err select,
.field.has-err .opt {
  border-color: var(--red);
}
.err {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 6px 0 0;
}
.err-text {
  color: var(--red);
}
fieldset:disabled {
  opacity: 0.85;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 20px;
  border: 0;
  padding: 0;
  margin: 0;
}

/* ---------- flash & pills ---------- */
.flash {
  padding: 12px 14px;
  border-radius: var(--r-s);
  margin: 0 0 16px;
  font-weight: 500;
}
.flash.ok {
  background: var(--green-l);
  border: 1px solid #c6d9ac;
}
.flash.err {
  background: var(--red-l);
  border: 1px solid #ebc3bc;
  color: #6e1e14;
}
.flash.warn {
  background: var(--amber-l);
  border: 1px solid #ecd59f;
  color: #5a3b00;
}
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.tone-grey,
.tone-white {
  background: #efeee9;
  color: #4b4f45;
}
.tone-orange {
  background: #fde8d4;
  color: #7a3a00;
}
.tone-yellow {
  background: var(--amber-l);
  color: #6b4500;
}
.tone-blue {
  background: var(--blue-l);
  color: var(--blue);
}
.tone-teal {
  background: #dff1ee;
  color: #0f5c52;
}
.tone-green {
  background: #dcefc9;
  color: #234800;
}
.tone-lightgreen {
  background: #eef3e8;
  color: #4c5b3d;
}
.tone-red {
  background: var(--red-l);
  color: var(--red);
}

/* ---------- public ---------- */
.pub-header {
  background: var(--green-d);
  color: var(--cream);
}
.pub-header .brand,
.adm-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
}
.pub-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.pub-bar .brand {
  justify-self: center;
}
.pub-bar-l,
.pub-bar-r {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream);
}
.pub-bar-r {
  justify-self: end;
  text-decoration: none;
}
.pub-bar-r:hover {
  color: var(--yellow);
}
.pub-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.pub-main.wide {
  max-width: none;
  padding: 0;
}
.pub-footer {
  background: var(--cream-2);
  color: var(--ink-2);
  font-size: 0.9rem;
}
.pub-footer-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.pub-footer p {
  margin: 0;
}
.pub-footer strong {
  font-weight: 600;
  color: var(--green);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* landing – photo hero, harvest-yellow chooser, olive "how it works" */
.hero {
  position: relative;
  min-height: clamp(360px, 52vw, 560px);
  display: flex;
  color: var(--cream);
  background: var(--green-d);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 30, 8, 0.42);
}
.hero-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-rows: auto 1fr;
}
.mega {
  font-size: clamp(2.6rem, 1.2rem + 5vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--cream);
  max-width: 11em;
  margin: 0;
}
.hero-side {
  align-self: end;
  justify-self: end;
  margin: 24px 0 0;
  font-size: clamp(1.4rem, 0.9rem + 2vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.band {
  padding: clamp(48px, 7vw, 104px) 0;
}
.band-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.band.yellow {
  background: var(--yellow);
  color: var(--green-d);
}
.band.olive {
  background: var(--green);
  color: var(--cream);
}
.statement {
  font-size: clamp(1.9rem, 1rem + 3vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 24px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.intro {
  max-width: 680px;
  margin-bottom: 24px;
}
.band .intro {
  margin: 0;
}
.lede {
  font-size: 1.1rem;
  color: var(--ink-2);
}
.band.yellow .lede,
.band.yellow .small {
  color: var(--green-d);
  max-width: 30em;
}
.chooser {
  max-width: 680px;
  border: 0;
}
.chooser .field {
  margin-bottom: 18px;
}
.band.yellow .chooser .opt:has(input:checked) {
  background: #f7eccb;
  border-color: var(--green-d);
}
.howto .steps-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 8px 0 32px;
}
.steps-list {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 12px;
}
.steps-list li {
  counter-increment: s;
  padding-left: 40px;
  position: relative;
}
.howto .steps-list li {
  padding: 56px 0 0;
  color: #e6ddcd;
  font-size: 1.05rem;
}
.howto .steps-list strong {
  display: block;
  color: var(--cream);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.steps-list li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-l);
  color: var(--green);
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.howto .steps-list li::before {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  color: var(--green-d);
  font-size: 1.05rem;
}
.howto-contact {
  color: #e6ddcd;
  margin: 0;
}
.band.olive a {
  color: var(--cream);
}
.band.olive a:hover {
  color: var(--yellow);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .howto .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .pub-bar {
    grid-template-columns: auto 1fr;
    padding: 8px 16px;
  }
  .pub-bar .brand {
    justify-self: start;
    grid-row: 1;
  }
  .pub-bar-l {
    display: none;
  }
  .pub-bar-r {
    font-size: 0.875rem;
  }
  .hero-side {
    justify-self: start;
  }
  .howto .steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .howto .steps-list li {
    padding: 0 0 0 56px;
  }
}

/* apply form */
.apply-head {
  max-width: 680px;
}
.preamble {
  color: var(--ink-2);
}
.progress {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  gap: 4px;
}
.progress li {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}
.progress li.done {
  background: var(--yellow);
}
.progress li.now {
  background: var(--green);
}
.progress-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin: -12px 0 16px;
}
#apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}
#apply .step {
  grid-column: 1;
  margin: 0;
}
#apply .summary {
  grid-column: 2;
  grid-row: 1 / span 30;
  position: sticky;
  top: 16px;
  margin: 0;
}
#apply .nav-bar {
  grid-column: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#apply .nav-bar [data-nav='next'],
#apply .nav-bar [data-nav='submit'] {
  margin-left: auto;
}
.js #apply .step:not(.current) {
  display: none;
}
.js #apply [data-hidden] {
  display: none !important;
}
.intro-text {
  color: var(--ink-2);
}
.summary h2 {
  font-size: 1rem;
}
.sum-lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.sum-lines td {
  padding: 4px 0;
  vertical-align: top;
}
.sum-lines td.num {
  text-align: right;
  white-space: nowrap;
  padding-left: 8px;
}
.sum-lines tr.total td {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-weight: 700;
}
.review-group {
  border-top: 1px solid var(--line-2);
  padding: 12px 0;
}
.review-group h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.review-group dl,
.answers dl {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 6px 16px;
  margin: 0;
  font-size: 0.925rem;
}
.review-group dt,
.answers dt {
  color: var(--muted);
}
.review-group dd,
.answers dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ans-group + .ans-group {
  border-top: 1px solid var(--line-2);
  margin-top: 14px;
  padding-top: 14px;
}

/* portal */
.portal {
  max-width: 720px;
  margin: 0 auto;
}
.status-line {
  margin: 4px 0 16px;
}
.tracker {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 8px 0 0;
  gap: 4px;
}
.tracker li {
  flex: 1;
  padding-top: 10px;
  border-top: 4px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.tracker li.done {
  border-color: #9cbf73;
  color: var(--ink-2);
}
.tracker li.now {
  border-color: var(--green);
  color: var(--ink);
  font-weight: 700;
}
.callout {
  margin-top: 20px;
  background: var(--amber-l);
  border: 1px solid #ecd59f;
  border-radius: var(--r-s);
  padding: 16px;
}
.lines {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}
.lines th,
.lines td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.lines thead th {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.lines tfoot th {
  border-bottom: 0;
}
.num {
  text-align: right !important;
  white-space: nowrap;
}
.lines input {
  min-height: 38px;
  padding: 6px 8px;
}
.w-qty {
  width: 70px !important;
}
.w-amt {
  width: 100px !important;
}
.w-code {
  width: 110px !important;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline .ev {
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--line);
  position: relative;
}
.timeline .ev::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.timeline .ev-status::before {
  background: var(--green);
}
.timeline .ev-message::before,
.timeline .ev-reply::before {
  background: var(--amber);
}
.timeline .ev-error::before {
  background: var(--red);
}
.timeline .internal {
  opacity: 0.85;
}
.ev-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.925rem;
}
.ev-head time,
.ev-actor {
  color: var(--muted);
  font-size: 0.8rem;
}
.timeline .pre {
  margin: 6px 0 0;
  font-size: 0.9rem;
  background: var(--bg);
  padding: 8px 10px;
  border-radius: var(--r-s);
}
details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--red);
}
details[open] summary {
  margin-bottom: 12px;
}

/* ---------- admin ---------- */
.preview-banner {
  background: var(--yellow);
  color: var(--green-d);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
}
.adm-header {
  background: var(--green-d);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  min-height: 60px;
  flex-wrap: wrap;
}
.adm-header nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.adm-header nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0.85;
  font-weight: 500;
}
.adm-header nav a:hover {
  background: rgba(244, 237, 229, 0.12);
  opacity: 1;
}
.adm-header nav a.on {
  background: var(--yellow);
  color: var(--green-d);
  opacity: 1;
}
.adm-header .who {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
}
.adm-header .who > a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
  color: var(--cream);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 10px;
}
.adm-header .who > a:hover,
.adm-header .who > a.on {
  background: rgba(244, 237, 229, 0.12);
}
.adm-header .who small {
  opacity: 0.8;
}
.adm-header button.link {
  color: var(--cream);
}
.adm-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.page-head h1 {
  margin: 0;
}
.head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.kpi span {
  color: var(--muted);
  font-size: 0.85rem;
}
.kpi strong {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kpi small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.85rem;
}
.chip b {
  margin-left: 4px;
  color: var(--ink);
}
.chip.on {
  background: var(--green-d);
  border-color: var(--green-d);
  color: var(--cream);
}
.chip.on b {
  color: var(--yellow);
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filters input[type='search'] {
  flex: 1 1 260px;
  width: auto;
}
.filters select {
  width: auto;
}
.table-wrap {
  overflow-x: auto;
  padding: 0;
}
.list {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}
.list th,
.list td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}
.list thead th {
  background: var(--cream);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.list tbody tr[data-href] {
  cursor: pointer;
}
.list tbody tr[data-href]:hover {
  background: #fbf4e2;
}
.list td a {
  font-weight: 600;
}
.prices input {
  min-height: 38px;
  padding: 6px 8px;
}
.empty {
  text-align: center;
  color: var(--muted);
}
.crumbs {
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.detail-head h1 {
  margin-bottom: 4px;
}
.contact {
  margin: 0;
  color: var(--ink-2);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}
.col-main > .card + .card,
.col-side > .card + .card {
  margin-top: 16px;
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.action-form {
  margin-top: 16px;
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
}
.copy-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.copy-row input {
  font-size: 0.8rem;
  font-family: var(--mono);
}
.email-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
.email-list li + li {
  margin-top: 10px;
}
.email-frame {
  width: 100%;
  height: 70vh;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  overflow-x: auto;
}
.tabs a {
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  font-weight: 500;
}
.tabs a.on {
  color: var(--green-d);
  border-color: var(--yellow);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checks li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.checks li::before {
  content: '○';
  position: absolute;
  left: 4px;
  color: var(--muted);
}
.checks li.ok::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}
.invoice-tools {
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}
.login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
}
.login-box {
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.login-box form {
  text-align: left;
}
.btn.ms {
  background: #fff;
  color: #1f1f1f;
  border-color: #8c8c8c;
}

/* ---------- risk assessment document ---------- */
.ra-page {
  background: #e9e7df;
}
.ra-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.ra-toolbar input {
  width: 260px;
  min-height: 40px;
}
.ra-empty {
  text-align: center;
  padding: 40px;
}
.ra-doc {
  background: #fff;
  max-width: 210mm;
  margin: 24px auto;
  padding: 16mm 14mm;
  box-shadow: var(--shadow);
  font-size: 10.5pt;
  line-height: 1.45;
}
.ra-head {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 3px solid var(--green);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.ra-head h1 {
  font-size: 18pt;
  margin: 0;
  color: var(--green);
}
.ra-eyebrow {
  margin: 0;
  font-size: 9pt;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.ra-sub {
  margin: 2px 0 0;
  font-size: 9pt;
  color: var(--muted);
}
.ra-meta,
.ra-table,
.ra-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}
.ra-meta th,
.ra-meta td,
.ra-table th,
.ra-table td,
.ra-matrix th,
.ra-matrix td {
  border: 1px solid #b9b6aa;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}
.ra-meta th {
  background: #f2f1ec;
  width: 22%;
  font-weight: 600;
  font-size: 9pt;
}
.ra-table thead th,
.ra-matrix thead th {
  background: var(--green);
  color: #fff;
  font-size: 9pt;
}
.ra-table .c-period {
  width: 18%;
  background: #f2f1ec;
}
.ra-table thead .c-period {
  background: var(--green);
}
.ra-table .c-period small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 8.5pt;
}
.ra-table .c-haz {
  width: 34%;
}
.ra-table ul {
  margin: 0;
  padding-left: 16px;
}
.ra-matrix caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 6px;
}
.ra-matrix .c {
  text-align: center;
  width: 14%;
}
.ra-small {
  font-size: 9pt;
  color: var(--ink-2);
}
.ra-note {
  background: var(--amber-l);
  border: 1px solid #ecd59f;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.ra-cater h2,
.ra-signoff h2 {
  font-size: 12pt;
  color: var(--green);
  margin: 6px 0 8px;
}
.ra-flags {
  border: 1px solid #ebc3bc;
  background: var(--red-l);
  padding: 8px 12px;
  margin-bottom: 14px;
}
.ra-flags ul {
  margin: 4px 0 0;
  padding-left: 18px;
}
.ra-signoff {
  break-inside: avoid;
  margin-top: 8px;
}
.sig-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr;
  gap: 14px 18px;
  margin-top: 10px;
}
.sig-grid .wide {
  grid-column: 1 / -1;
}
.sig-grid span {
  font-size: 8.5pt;
  color: var(--muted);
}
.sig-grid i {
  display: block;
  height: 30px;
  border-bottom: 1px solid #8f8c80;
}
.ra-foot {
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 8pt;
  color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  #apply {
    grid-template-columns: 1fr;
  }
  #apply .summary {
    grid-column: 1;
    grid-row: auto;
    position: static;
    order: 0;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .pub-main,
  .adm-main {
    padding: 20px 14px 40px;
  }
  .card {
    padding: 16px;
  }
  .review-group dl,
  .answers dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .review-group dd,
  .answers dd {
    margin-bottom: 8px;
  }
  .adm-header {
    gap: 8px 16px;
    padding: 10px 14px;
  }
  .adm-header nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
  }
  .adm-header nav a {
    white-space: nowrap;
    padding: 8px 12px;
  }
  .adm-header .who {
    margin-left: auto;
  }
  .adm-header .who small {
    display: none;
  }
  #apply .nav-bar .btn {
    flex: 1 1 auto;
  }
  #apply .nav-bar [data-nav='save'] {
    order: 3;
    flex-basis: 100%;
  }
  .detail-head {
    flex-direction: column;
  }
  .list th,
  .list td {
    padding: 8px 10px;
  }
  .ra-doc {
    margin: 0;
    padding: 16px;
  }
  .sig-grid {
    grid-template-columns: 1fr;
  }
  .ra-toolbar input {
    width: 100%;
  }
  .list.apps thead {
    display: none;
  }
  .list.apps tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-2);
  }
  .list.apps td {
    padding: 0;
    border: 0;
  }
  .list.apps td:nth-child(1) {
    order: 1;
  }
  .list.apps td:nth-child(6) {
    order: 2;
    text-align: right;
  }
  .list.apps td:nth-child(2) {
    order: 3;
    grid-column: 1 / -1;
  }
  .list.apps td:nth-child(3) {
    order: 4;
    font-size: 0.875rem;
    color: var(--ink-2);
  }
  .list.apps td:nth-child(4) {
    order: 5;
  }
  .list.apps td:nth-child(5),
  .list.apps td:nth-child(7) {
    display: none;
  }
  .kpi small {
    display: block;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }
  body,
  .ra-page {
    background: #fff;
  }
  .no-print {
    display: none !important;
  }
  .ra-doc {
    box-shadow: none;
    margin: 0;
    padding: 0;
    max-width: none;
    break-after: page;
  }
  .ra-doc:last-child {
    break-after: auto;
  }
  .ra-table tr,
  .ra-matrix tr {
    break-inside: avoid;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .ra-table thead th,
  .ra-matrix thead th,
  .ra-meta th,
  .ra-table .c-period {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ---------- embedded on the Show website ---------- */
body.embed {
  background: transparent;
}
body.embed .pub-header,
body.embed .pub-footer,
body.embed .hero {
  display: none;
}
body.embed .pub-main {
  padding: 4px 12px 24px;
}
.embed-card {
  margin-top: 20px;
}
.embed-card h2 {
  margin: 0;
  font-size: 1.15rem;
}
.embed-snip {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
}
.embed-snip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg);
}
.embed-snip pre {
  margin: 0;
  padding: 10px 12px;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}
.embed-snip pre code {
  background: none;
  padding: 0;
}
.opt span:has(.opt-hint) {
  flex-wrap: wrap;
  row-gap: 2px;
}
.opt-hint {
  flex-basis: 100%;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.4;
}
.list .group-row th {
  background: var(--bg);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.prices select {
  width: 100%;
  min-width: 12rem;
}
#accounts fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
#accounts h3 {
  margin: 8px 0 0;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .prices select {
    min-width: 8.5rem;
  }
}
#accounts h3 {
  margin-top: 14px;
}
@media (max-width: 640px) {
  .hide-sm {
    display: none;
  }
}
.help code {
  overflow-wrap: anywhere;
}

/* embedded: keep the chooser compact and neutral on the host page */
body.embed .band {
  padding: 0 0 24px;
  background: none;
  color: var(--ink);
}
body.embed .band-in {
  padding: 0;
}
body.embed .band.olive .steps-list li,
body.embed .band.olive .howto-contact,
body.embed .band.olive strong,
body.embed .band.olive a {
  color: var(--ink);
}
body.embed .statement {
  font-size: 1.6rem;
}

/* settings: option rows that sit directly inside a fieldset keep their side-by-side layout */
.field > label.opt {
  display: flex;
  font-weight: 400;
  margin-bottom: 8px;
}

/* invoice lines on phones: description on its own row, qty / unit / amount underneath */
@media (max-width: 600px) {
  .lines,
  .lines tbody,
  .lines tfoot {
    display: block;
  }
  .lines thead {
    display: none;
  }
  .lines tbody tr {
    display: grid;
    grid-template-columns: 72px 100px 1fr auto;
    align-items: center;
    gap: 6px 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .lines tbody td {
    padding: 0;
    border: 0;
  }
  .lines tbody td:first-child {
    grid-column: 1 / -1;
  }
  .lines tfoot tr {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
  }
  .lines tfoot th {
    padding: 0;
  }
  .lines .w-qty,
  .lines .w-amt {
    width: 100% !important;
  }
}

/* ---------- letters & labels ---------- */
.chk-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
  min-height: 40px;
}
.chk-inline input,
.lt-list .chk input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.lt-steps {
  margin: 0 0 16px;
  padding: 16px 20px 16px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 28px;
}
.lt-steps li {
  color: var(--ink-2);
  line-height: 1.45;
}
.lt-steps li::marker {
  font-weight: 600;
  color: var(--green);
}
.lt-list .chk {
  width: 36px;
}
.lt-count {
  margin: 4px 0 12px;
  font-weight: 600;
}
.lt-actions .grid2 {
  grid-template-columns: repeat(3, 1fr);
}
.lt-print,
.lb-print {
  background: #e9e7df;
}
.lt-warn {
  max-width: 210mm;
  margin: 16px auto 0;
  padding: 10px 14px;
  background: var(--green-l);
  border-radius: 10px;
  font-size: 0.95rem;
}
.lt-page {
  background: #fff;
  width: 210mm;
  min-height: 297mm;
  margin: 24px auto;
  padding: 14mm 18mm 16mm;
  box-shadow: var(--shadow);
  font-size: 10.5pt;
  line-height: 1.45;
  color: #20260f;
  display: flex;
  flex-direction: column;
}
.lt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  height: 34mm;
  border-bottom: 1.2mm solid var(--yellow);
  padding-bottom: 4mm;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.lt-head img {
  width: 40mm;
  height: auto;
}
.lt-from {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-size: 8.5pt;
  line-height: 1.4;
  color: #4a4f3a;
}
.lt-from strong {
  color: #20260f;
  font-weight: 600;
}
/* Address sits about 50 mm from the top of the sheet, for a left-hand DL window envelope. */
.lt-addr-row {
  /* Address sits 25-105 mm from the left and 54-84 mm from the top, inside both
     DIN 680 and common UK DL window positions once folded in three. */
  display: flex;
  justify-content: space-between;
  gap: 10mm;
  margin-top: 6mm;
  min-height: 42mm; /* greeting starts below the first fold at 99 mm */
  padding-top: 0;
}
.lt-to {
  font-style: normal;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 85mm;
  padding-left: 7mm;
  font-size: 11pt;
  line-height: 1.35;
  padding-top: 0;
}
.lt-to span:first-child {
  font-weight: 600;
}
.lt-ref {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1mm 4mm;
  margin: 0;
  font-size: 9.5pt;
  align-content: start;
}
.lt-ref dt {
  color: #5f6250;
}
.lt-ref dd {
  margin: 0;
  font-weight: 600;
}
.lt-body {
  flex: 1;
  margin-top: 6mm;
}
.lt-body p {
  margin: 0 0 3.5mm;
}
.lt-body strong {
  font-weight: 600;
}
.lt-todo {
  background: #fde7a5;
  padding: 0 2px;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.lt-alloc {
  border-collapse: collapse;
  margin: 1mm 0 4.5mm;
  min-width: 110mm;
}
.lt-alloc th,
.lt-alloc td {
  text-align: left;
  padding: 1.6mm 4mm 1.6mm 0;
  border-bottom: 0.3mm solid #ddd3c3;
  vertical-align: top;
}
.lt-alloc th {
  font-weight: 600;
  width: 42mm;
  color: #3e4a1c;
}
.lt-foot {
  margin-top: 8mm;
  padding-top: 3mm;
  border-top: 0.3mm solid #ddd3c3;
  font-size: 8pt;
  color: #5f6250;
}
.lb-sheet {
  background: #fff;
  margin: 24px auto;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.lb {
  box-sizing: border-box;
  padding: 3.5mm 5mm;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 9.5pt;
  line-height: 1.3;
  overflow: hidden;
  position: relative;
  outline: 0.2mm dashed #ddd3c3;
  outline-offset: -0.1mm;
}
.lb span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-l1 {
  font-weight: 600;
}
.lb-ref {
  position: absolute;
  right: 3mm;
  bottom: 2mm;
  font-size: 6pt;
  color: #8a8c7c;
}
@media (max-width: 700px) {
  .lt-list thead tr {
    display: flex;
    align-items: center;
  }
  .lt-list thead th:not(.chk) {
    display: none;
  }
  .lt-list thead th.chk::after {
    content: 'Select all';
    margin-left: 10px;
    font-weight: 600;
  }
  .lt-list thead th.chk {
    display: flex;
    align-items: center;
    width: auto;
  }
  .lt-list tbody tr {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 2px 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-2);
  }
  .lt-list td {
    padding: 0;
    border: 0;
    text-align: left;
  }
  .lt-list td.chk {
    grid-row: span 4;
  }
  .lt-list td:nth-child(2) {
    grid-column: 2 / 4;
  }
  .lt-list td:nth-child(3),
  .lt-list td:nth-child(4),
  .lt-list td:nth-child(7) {
    grid-column: 2 / 4;
  }
  .lt-list td.num {
    text-align: left;
  }
  .lt-list td:nth-child(5)::before {
    content: 'Tickets ';
    color: var(--muted);
  }
  .lt-list td:nth-child(6)::before {
    content: 'Chairs ';
    color: var(--muted);
  }
  .lt-list td:nth-child(5),
  .lt-list td:nth-child(6) {
    font-size: 0.875rem;
  }
  .lt-list td:nth-child(5) small {
    display: inline;
  }
  .lt-list td:nth-child(8) {
    grid-column: 2 / 4;
  }
}
@media (max-width: 900px) {
  .lt-steps,
  .lt-actions .grid2 {
    grid-template-columns: 1fr;
  }
}
@media print {
  .lt-print,
  .lb-print {
    background: #fff;
  }
  .lt-page {
    box-shadow: none;
    margin: 0;
    padding: 0;
    width: auto;
    min-height: calc(297mm - 30mm);
    break-after: page;
  }
  .lt-page:last-child {
    break-after: auto;
  }
  .lt-alloc tr {
    break-inside: avoid;
  }
  .lb-sheet {
    margin: 0;
    box-shadow: none;
    break-after: page;
  }
  .lb-sheet:last-child {
    break-after: auto;
  }
  .lb {
    outline: none;
  }
}

/* Preview-only testing switch on application pages */
.test-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}
.test-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}
#apply .test-toggle {
  grid-column: 1;
  margin: 0;
}

/* ---------- accounts and two-step sign-in ---------- */
.card.narrow {
  max-width: 640px;
}
.preview-signin {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  text-align: left;
}
.preview-signin summary {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted);
}
.login-box .steps {
  text-align: left;
  padding-left: 20px;
  margin: 0;
}
.steps li + li {
  margin-top: 6px;
}
.qr {
  display: flex;
  justify-content: center;
}
.qr svg {
  width: 200px;
  height: 200px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
code.secret {
  font-size: 1rem;
  letter-spacing: 0.04em;
  word-break: break-all;
}
input.otp {
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.recovery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.print-only {
  display: none;
}
@media print {
  .print-only {
    display: block;
  }
  body.login {
    background: #fff;
  }
  body.login .login-box {
    box-shadow: none;
    border: 0;
  }
  .adm-header,
  .preview-banner,
  .page-head,
  .no-print {
    display: none !important;
  }
  .recovery code {
    border: 1px solid #999;
  }
}
.recovery code {
  display: block;
  text-align: center;
  font-size: 1rem;
  padding: 8px;
}
.linkbox {
  word-break: break-all;
  flex: 1 1 320px;
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
  margin: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
}
button.link.small {
  font-size: 0.875rem;
}
@media print {
  .login-box .btn,
  .adm-header,
  .preview-banner {
    display: none !important;
  }
}
.card.narrow {
  margin-left: 0;
  margin-right: 0;
}
.qr-alt summary,
.preview-signin summary {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.875rem;
}
.qr-alt {
  text-align: left;
}
.list td.nowrap,
.list .when {
  white-space: nowrap;
}

/* Numeric steppers (units, tickets, chairs, sockets, catalogues) */
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--card);
  overflow: hidden;
}
.stepper input {
  width: 64px;
  max-width: none;
  border: 0;
  border-radius: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.stepper input:focus-visible {
  outline: none;
}
.stepper:focus-within {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}
.step-btn {
  width: 44px;
  min-height: 44px;
  border: 0;
  background: var(--cream-2);
  color: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.step-btn:hover:not(:disabled) {
  background: var(--green-l);
}
.step-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
html:not(.js) .step-btn {
  display: none;
}

/* Override status card */
details.override > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; }
details.override > summary::-webkit-details-marker { display: none; }
details.override > summary::before { content: "▸"; font-size: .9em; transition: transform .15s; }
details.override[open] > summary::before { transform: rotate(90deg); }
details.override > summary h2 { margin: 0; display: inline; }
details.override[open] > summary { margin-bottom: .75rem; }
