/* The Fragrance-Free Cleaning Co.
   Colors come from her logo. Headings use Lora to echo the logo's "Fragrance-Free" lettering;
   body text uses Atkinson Hyperlegible Next for legibility. Contrast is checked for every pair:
   body ink 10.2:1, secondary 5.9:1, headings in her dark sage 4.6:1 (large text),
   button text on terracotta 5.2:1. Terracotta is never used for text. */

@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  /* Her logo colors */
  --paper: #fdfdfd;         /* logo background */
  --sage-dark: #6e7959;     /* logo lettering: headings */
  --sage: #8c9678;          /* outer ring, house, leaves: borders and rules */
  --sage-light: #a0a88c;    /* leaf highlights: quiet details */
  --terracotta: #d08a63;    /* inner ring, dividers, buds: the one accent */

  /* Derived for legibility */
  --ink: #3b4330;           /* deepened dark sage for body text */
  --ink-strong: #262b1e;    /* text on terracotta */
  --ink-soft: #5e6650;      /* secondary text */
  --wash: #f2f3ef;          /* light sage wash for alternating sections */
  --line: #dce0d3;          /* hairlines */
  --terracotta-hover: #da9b77;
  --focus: #3b4330;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Next", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: 1.75rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.2rem);

  --section: clamp(3rem, 2rem + 4vw, 5.5rem);
  --wrap: 72rem;
  --radius: 0.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 0.55em; text-wrap: balance; color: var(--sage-dark); font-family: var(--serif); font-weight: 600; }
h1 { font-size: var(--step-4); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.012em; }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--terracotta); text-decoration-thickness: 0.09em; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.16em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: 38rem; }
.muted { color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Header: her badge with the name set beside it, since the badge's own lettering is too small at this size */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(253, 253, 253, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 3.25rem; height: 3.25rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--sage-dark); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.2rem; }

.site-header nav ul { list-style: none; margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; font-weight: 600; display: block; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 0.16em; }

.menu summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--sage-dark); border-radius: var(--radius); color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--wash); }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.25rem 1rem 1rem;
}
.menu nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.site-header .nav-wide, .site-header .header-call { display: none; }

@media (min-width: 62rem) {
  .site-header .menu { display: none; }
  .site-header .nav-wide { display: block; }
  .site-header .header-call { display: inline-flex; }
  .nav-wide ul { display: flex; gap: 1.6rem; }
  .nav-wide a { padding: 0.25rem 0; }
}
@media (max-width: 26rem) {
  .brand img { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: 0.88rem; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  background: var(--terracotta); color: var(--ink-strong);
  border: 2px solid var(--terracotta); border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--terracotta-hover); border-color: var(--terracotta-hover); }
.button:active { transform: translateY(1px); }
.button-quiet { background: transparent; border-color: var(--sage-dark); color: var(--ink); }
.button-quiet:hover { background: var(--wash); border-color: var(--sage-dark); }
.button-small { min-height: 2.6rem; padding: 0.4rem 1.1rem; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }

/* Hero: the promise on the left, her badge on the right */
.hero { padding: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.hero-copy h1 { max-width: 13ch; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34rem; }
.hero-small { margin-top: 1rem; color: var(--ink-soft); font-size: 1rem; }
.hero-logo { margin: 0; justify-self: center; width: min(100%, 26rem); }
.hero-logo img { display: block; width: 100%; height: auto; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .hero-logo { justify-self: end; }
}
@media (max-width: 55.99rem) {
  .hero-logo { order: -1; width: min(70%, 17rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: logo-in 700ms cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes logo-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* The product label: her list of everything that comes into the home */
.label {
  margin: 0; width: 100%; max-width: 27rem;
  background: var(--paper); border: 3px solid var(--sage-dark);
  padding: 1rem 1.1rem 1.1rem; font-variant-numeric: tabular-nums;
}
.label-large { max-width: 30rem; }
.label-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.05rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
.label-serving { margin: 0.35rem 0 0; font-size: 1rem; }
.label-rule { background: var(--sage-dark); margin: 0.6rem -0.05rem; }
.label-rule-thick { height: 0.7rem; }
.label-rule-mid { height: 0.3rem; }
.label-list { list-style: none; margin: 0; padding: 0; }
.label-list > li { border-bottom: 1px solid var(--sage); padding: 0.35rem 0; }
.label-list > li:last-child { border-bottom: 0; }
.label-item { font-weight: 700; }
.label-note { display: block; font-size: 0.95rem; }
.label-list ul { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.label-list ul li { padding: 0.15rem 0 0.15rem 1rem; border-top: 1px solid var(--line); font-size: 1rem; }
.label-claims { margin: 0; }
.label-claims div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--sage); }
.label-claims div:last-child { border-bottom: 0; }
.label-claims dt { font-weight: 700; }
.label-claims dd { margin: 0; font-weight: 800; }
.label-fine { font-size: 0.92rem; line-height: 1.45; }

/* Sections alternate paper and a light sage wash */
.section, .band { padding: var(--section) 0; }
.section-mist, .band { background: var(--wash); }
.section-intro { max-width: 40rem; color: var(--ink-soft); }
.page-head { padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 18ch; }

.two-col { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 56rem) {
  .two-col { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .two-col-label { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* Estimator */
.estimator {
  background: var(--paper); border: 1.5px solid var(--sage); border-radius: calc(var(--radius) * 1.6);
  padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.75rem);
}
.field-group { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.field-group legend, .field label { font-weight: 700; margin-bottom: 0.45rem; padding: 0; display: block; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 3rem; height: 100%;
  padding: 0.55rem 0.8rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-weight: 600; line-height: 1.25;
}
.choice input:checked + span { border-color: var(--sage-dark); background: var(--wash); box-shadow: inset 0 0 0 1.5px var(--sage-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field-row { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.25rem; align-items: end; }
.field { min-width: 0; }
input[type="number"], select {
  width: 100%; min-height: 3rem; padding: 0.55rem 0.75rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink-soft); border-radius: var(--radius);
}
input[type="number"]:focus-visible, select:focus-visible { border-color: var(--ink); }
input::placeholder { color: #737b66; }
.extras { display: grid; gap: 0.15rem; }
.check {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--sage-dark); margin: 0; }
.check-qty { grid-template-columns: 1fr 5rem auto; cursor: default; border-bottom: 0; }
.check-qty select { min-height: 2.5rem; padding: 0.3rem 0.5rem; }
.check .price { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.estimate-result { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--terracotta); min-height: 4.5rem; }
.estimate-total { font-family: var(--serif); color: var(--sage-dark); font-size: var(--step-3); font-weight: 600; line-height: 1.1; margin-bottom: 0.6rem; font-variant-numeric: lining-nums tabular-nums; }
.estimate-total span { font-family: var(--sans); color: var(--ink); font-size: var(--step-0); font-weight: 600; }
.estimate-lines { list-style: none; margin: 0 0 0.8rem; padding: 0; font-variant-numeric: tabular-nums; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border-bottom: 1px solid var(--line); }
.estimate-note, .estimate-placeholder { color: var(--ink-soft); font-size: 1rem; }
.estimate-error { font-weight: 700; }
.js .estimator [data-estimator-submit] { display: none; }
[hidden] { display: none !important; }
.offer { padding-left: 1rem; border-left: 3px solid var(--terracotta); }

/* Levels */
.levels { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.5rem; }
@media (min-width: 56rem) { .levels { grid-template-columns: 1fr 1.15fr 0.85fr; } }
.level { background: var(--paper); padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem); }
.level h3 { margin-bottom: 0.15rem; }
.level-for { color: var(--ink-soft); margin-bottom: 1rem; }
.level-plus { font-weight: 700; margin-bottom: 0.5rem; }
.level-tasks { margin: 0; }
.level-tasks dt { font-weight: 700; margin-top: 0.75rem; }
.level-tasks dt:first-child { margin-top: 0; }
.level-tasks dd { margin: 0.1rem 0 0; }
.level-footnote { margin-top: 1.25rem; max-width: 46rem; }

/* How we work: thin terracotta rules, like the dividers in her logo */
.promises { display: grid; gap: 1.75rem 2.5rem; margin: 1.5rem 0 0; }
@media (min-width: 48rem) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promises div { border-top: 2px solid var(--terracotta); padding-top: 0.8rem; }
.promises dt { font-family: var(--serif); color: var(--sage-dark); font-weight: 600; font-size: var(--step-1); line-height: 1.2; margin-bottom: 0.4rem; }
.promises dd { margin: 0; }

/* Area */
.area { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .area { grid-template-columns: 1fr 1fr; } }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sage); border: 1px solid var(--sage); }
/* Body font here: Lora's "j" opens a gap that makes Ojai read as "O jai". */
.cities li { background: var(--paper); padding: 1.1rem 1rem; color: var(--sage-dark); font-weight: 750; font-size: var(--step-2); letter-spacing: -0.01em; line-height: 1.1; }

/* Tables */
.table-scroll { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.price-table, .simple-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table { min-width: 44rem; }
.price-table th, .price-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: 1rem; border-bottom: 2px solid var(--sage-dark); }
.price-table tbody th { font-weight: 700; }
.price-table tbody th .muted, .simple-table th .muted { display: block; font-weight: 400; font-size: 0.95rem; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.table-note { margin-top: 0.9rem; color: var(--ink-soft); max-width: 46rem; }
.simple-table { background: var(--paper); border-top: 2px solid var(--sage-dark); }
.simple-table th, .simple-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.simple-table td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 1rem; }
.section-mist .simple-table { background: transparent; }
.tidy-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sage-dark); }
.tidy-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.tidy-list .muted { font-weight: 400; }

/* FAQ */
.faq { max-width: 46rem; border-top: 2px solid var(--sage-dark); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; position: relative; font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.75rem; height: 0.75rem;
  border-right: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta);
  transform: translateY(-70%) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details p { padding-bottom: 1.1rem; max-width: 40rem; }

/* Contact */
.contact-card { border: 2px solid var(--sage); border-radius: calc(var(--radius) * 1.6); padding: clamp(1.2rem, 0.8rem + 1.5vw, 2rem); }
.contact-number { font-family: var(--serif); color: var(--sage-dark); font-size: var(--step-3); font-weight: 600; margin-bottom: 0.4rem; }
.contact-number a { text-decoration: none; color: inherit; }

/* Documents */
.doc-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 60rem) { .doc-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; } .doc-toc { position: sticky; top: 7rem; } }
.doc-toc-title { font-weight: 800; margin-bottom: 0.5rem; }
.doc-toc ol { margin: 0; padding-left: 1.3rem; }
.doc-toc li { padding: 0.2rem 0; font-size: 1rem; }
.doc h2 { font-size: var(--step-2); margin-top: 2.2em; padding-top: 0.6rem; border-top: 2px solid var(--sage); }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1em; }
.doc li { margin-bottom: 0.55em; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 3rem 0 1.5rem; }
.site-footer a { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--terracotta); }
.footer-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 6rem; height: 6rem; flex: none; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: var(--step-1); }
.footer-heading { font-weight: 700; margin-bottom: 0.4rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 0.15rem 0; }
.footer-legal { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(253, 253, 253, 0.25); font-size: 0.95rem; }

/* Signed in areas, sign in pages and forms */
.nav-account { padding-left: 1.1rem !important; border-left: 1px solid var(--line); }
.area-nav { background: var(--wash); border-bottom: 1px solid var(--line); }
.area-nav-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: 3.25rem; }
.area-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.area-nav a { text-decoration: none; font-weight: 600; display: inline-block; padding: 0.55rem 0; }
.area-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 0.16em; }
.section-tight { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) 0 var(--section); }
.area-title { font-size: var(--step-3); margin-bottom: 1rem; }
.area-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56rem) { .area-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.auth { padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1rem var(--section); }
.auth-card { width: min(100%, 28rem); margin-inline: auto; }
.auth-card-wide { width: min(100%, 36rem); }
.auth-card h1 { font-size: var(--step-3); }
.auth-or { text-align: center; color: var(--ink-soft); margin: 1rem 0; }
.auth-links { margin: 1rem 0 0; }

.form-stack { display: grid; gap: 1.1rem; }
.form-stack .field label, .field-label { font-weight: 700; display: block; margin-bottom: 0.35rem; }
.field-help { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.35rem; }
.field-error { display: block; color: #8a3b17; font-weight: 700; font-size: 0.95rem; margin-top: 0.35rem; }
.field-error:empty { display: none; }
.field-static { margin: 0; padding: 0.55rem 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input:not([type]), textarea {
  width: 100%; min-height: 3rem; padding: 0.55rem 0.75rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink-soft); border-radius: var(--radius);
}
input:focus-visible, textarea:focus-visible { border-color: var(--ink); }
.input-code { font-size: 1.5rem; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; max-width: 12rem; }
.check-line { display: flex; gap: 0.6rem; align-items: center; }
.check-line input { width: 1.2rem; height: 1.2rem; accent-color: var(--sage-dark); }
.button-wide { width: 100%; }
.form-problem { border-left: 3px solid var(--terracotta); padding: 0.6rem 0.9rem; background: #fbf1eb; font-weight: 600; }
.form-problem.validation-summary-valid { display: none; }
.form-problem ul { margin: 0; padding-left: 1.1rem; }
.notice { border-left: 3px solid var(--sage); padding: 0.6rem 0.9rem; background: var(--wash); }
.link-button { background: none; border: 0; padding: 0.4rem 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 0.2em; cursor: pointer; }
.inline-form { margin: 1rem 0 2rem; }

.panel { border: 1.5px solid var(--line); border-radius: calc(var(--radius) * 1.6); padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem); background: var(--paper); }
.panel-title { font-size: var(--step-2); margin: 1.5rem 0 0.5rem; }
.panel > .panel-title:first-child, .empty > .panel-title:first-child, .link-box > .panel-title:first-child { margin-top: 0; }
.narrow { max-width: 32rem; }
.empty { border: 1.5px dashed var(--sage-light); border-radius: calc(var(--radius) * 1.6); padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem); margin-bottom: 1.5rem; }
.next-steps { max-width: 32rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.stats div { border-top: 2px solid var(--terracotta); padding-top: 0.6rem; }
.stats dt { color: var(--ink-soft); }
.stats dd { margin: 0; font-family: var(--serif); color: var(--sage-dark); font-size: var(--step-3); font-weight: 600; }

.data-table { width: 100%; border-collapse: collapse; min-width: 40rem; }
.data-table th, .data-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: 1rem; border-bottom: 2px solid var(--sage-dark); }
.row-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.link-box { border: 2px solid var(--terracotta); border-radius: calc(var(--radius) * 1.6); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.link-text { font-family: ui-monospace, monospace; font-size: 0.9rem; resize: vertical; }

.steps { padding-left: 1.3rem; display: grid; gap: 1rem; margin: 1.25rem 0 1.5rem; }
.qr { margin: 0.9rem 0 0.5rem; }
.qr img { display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.key { font-size: 1rem; word-spacing: 0.3em; background: var(--wash); padding: 0.1rem 0.35rem; border-radius: 0.3rem; }
.codes { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.codes code { display: block; font-size: 1.05rem; padding: 0.45rem 0.6rem; background: var(--wash); border-radius: 0.4rem; text-align: center; }
