/* Lotuswake Studio — calm pond colours, large touch targets, works on phone, tablet and computer. */
:root {
  --page: #f3f7f4;
  --ink: #15281f;
  --muted: #5b6f66;
  --card: #ffffff;
  --line: #d9e5df;
  --jade: #1f6b55;
  --jade-ink: #ffffff;
  --gold: #b07d12;
  /* Gold for small text: 5.7:1 on cream (WCAG AA); the brighter gold stays for borders and stars. */
  --gold-ink: #7d5a0a;
  --rose: #c25a7a;
  --ok: #e3f4ea;
  --ok-ink: #17563c;
  --bad: #fbe7ea;
  --bad-ink: #8a1f35;
  --warn: #fff4d6;
  --warn-ink: #6b4b00;
  --info: #e8f1fb;
  --info-ink: #1d4268;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 40, 30, 0.06), 0 8px 24px rgba(16, 40, 30, 0.06);
  --font: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d1f19;
    --ink: #eef6f1;
    --muted: #a3b8ae;
    --card: #142c24;
    --line: #24453a;
    --jade: #8fdccd;
    --jade-ink: #0d1f19;
    --gold: #ffd36a;
    --gold-ink: #ffd36a;
    --rose: #f3a6bd;
    --ok: #163d2e;
    --ok-ink: #b7f0d2;
    --bad: #45202a;
    --bad-ink: #ffc9d4;
    --warn: #3d3315;
    --warn-ink: #ffe6a3;
    --info: #172f45;
    --info-ink: #c7e1fb;
    --shadow: none;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.55 var(--font);
}
a {
  color: var(--jade);
}
code,
pre,
.key {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.88em;
}
code {
  background: color-mix(in srgb, var(--line) 50%, transparent);
  padding: 0.05em 0.35em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
h1 {
  font-size: 1.7rem;
  margin: 0.2rem 0 0.8rem;
  letter-spacing: 0.005em;
}
h2 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem max(1rem, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.brand em {
  font-style: normal;
  color: var(--jade);
  font-weight: 600;
}
.shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem max(1rem, env(safe-area-inset-right)) 4rem max(1rem, env(safe-area-inset-left));
}
.shell:not(:has(nav.side)) {
  grid-template-columns: 1fr;
  max-width: 720px;
}
nav.side {
  position: sticky;
  top: 4.5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
nav.side a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
nav.side a:hover {
  background: var(--card);
}
nav.side a[aria-current='page'] {
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--jade);
  font-weight: 700;
}
nav.side .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose);
  margin-left: auto;
}
nav.side .count {
  min-width: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
  margin-left: auto;
}
nav.side form {
  margin-top: 0.8rem;
  padding-left: 0.8rem;
}
main {
  min-width: 0;
}
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin: 0 0 1rem;
  box-shadow: var(--shadow);
}
.card.narrow,
.narrow {
  max-width: 460px;
}
details.card > summary,
details > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 32px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  align-items: start;
}
.grid .card {
  margin: 0;
}
.grid .wide {
  grid-column: 1 / -1;
}
label {
  display: block;
  margin: 0 0 0.9rem;
  font-weight: 600;
}
label small,
.small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.86rem;
}
.muted {
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 46px;
}
textarea {
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--jade) 55%, transparent);
  outline-offset: 2px;
}
input[type='checkbox'],
input[type='radio'] {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin: 0 0.5rem 0 0;
  vertical-align: -0.2rem;
  accent-color: var(--jade);
}
input[type='range'] {
  padding: 0;
  accent-color: var(--jade);
  background: none;
  border: 0;
}
input.big {
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  text-align: center;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
}
legend {
  font-weight: 700;
  padding: 0 0.3rem;
}
label.check {
  font-weight: 400;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 40px;
  margin: 0;
}
label.check small {
  display: inline;
  margin-left: 0.35em;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
button.primary,
.button.primary {
  background: var(--jade);
  color: var(--jade-ink);
  border-color: transparent;
}
button.ghost,
.button.ghost {
  background: transparent;
}
button.small,
.button.small {
  min-height: 36px;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
}
button.big,
.button.big {
  min-height: 56px;
  font-size: 1.1rem;
  padding: 0.7rem 1.6rem;
}
button.link {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  color: var(--jade);
  text-decoration: underline;
  font-weight: 600;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.actions.sticky {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 1rem -1.2rem -1.1rem;
  padding: 0.75rem 1.2rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--card);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 -8px 16px -12px rgba(16, 40, 30, 0.25);
}
.notice {
  border-radius: 14px;
  padding: 0.8rem 1rem;
  margin: 0 0 1rem;
}
.notice p {
  margin: 0.25rem 0;
}
.notice ul {
  margin: 0.3rem 0 0.2rem 1.1rem;
  padding: 0;
}
.notice.ok {
  background: var(--ok);
  color: var(--ok-ink);
}
.notice.bad {
  background: var(--bad);
  color: var(--bad-ink);
}
.notice.warn {
  background: var(--warn);
  color: var(--warn-ink);
}
.notice.info {
  background: var(--info);
  color: var(--info-ink);
}
.tip {
  border-left: 4px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 9%, var(--card));
  border-radius: 0 14px 14px 0;
  padding: 0.8rem 1rem;
  margin: 0 0 1rem;
}
.tip strong {
  color: var(--gold-ink);
  display: block;
  margin-bottom: 0.2rem;
}
.tip p {
  margin: 0.2rem 0;
}
.pill {
  display: inline-block;
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.pill.ok {
  background: var(--ok);
  color: var(--ok-ink);
}
.pill.bad {
  background: var(--bad);
  color: var(--bad-ink);
}
.tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin: 0 0 1rem;
  scrollbar-width: thin;
}
.tabs a {
  white-space: nowrap;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.tabs a[aria-current='page'] {
  background: var(--jade);
  color: var(--jade-ink);
  border-color: transparent;
  font-weight: 700;
}
.count {
  display: inline-block;
  min-width: 1.4em;
  padding: 0 0.35em;
  margin-left: 0.3em;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.78rem;
  text-align: center;
}
.knob {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.knob:last-of-type {
  border-bottom: 0;
}
.knob.changed {
  background: linear-gradient(90deg, color-mix(in srgb, var(--rose) 12%, transparent), transparent 60%);
  margin: 0 -1.2rem;
  padding: 0.9rem 1.2rem;
}
.knob > label {
  margin-bottom: 0.4rem;
}
.knob select {
  max-width: 420px;
}
.knob .rec {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.knob .rec b {
  color: var(--ink);
}
.star {
  color: var(--gold);
}
.note {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.range {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 460px;
}
.range output {
  min-width: 3.5em;
  font-weight: 700;
  text-align: right;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  margin: 0.2rem 0;
  font-weight: 600;
}
.switch input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch span {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  transition: background 0.2s;
  flex: none;
}
.switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.switch input:checked + span {
  background: var(--jade);
}
.switch input:checked + span::after {
  transform: translateX(22px);
}
.switch input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--jade) 55%, transparent);
  outline-offset: 2px;
}
.switch.big {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.scroll:focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 2px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
table.route input,
table.route select {
  margin: 0;
  min-width: 5.5em;
}
table.route td:nth-child(2) select {
  min-width: 10em;
}
.row-actions {
  white-space: nowrap;
}
.row-actions button {
  margin-right: 0.2rem;
}
.copy {
  display: flex;
  gap: 0.5rem;
  margin: 0.4rem 0 0.8rem;
}
.copy input {
  margin: 0;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.85rem;
}
.steps {
  padding-left: 1.3rem;
}
.steps li {
  margin: 0.35rem 0;
}
.todo li {
  margin: 0.4rem 0;
}
.plain {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plain li {
  padding: 0.25rem 0;
}
.rails li::before {
  content: '🔒 ';
}
.checks {
  list-style: none;
  padding: 0;
}
.checks li::before {
  content: '✓ ';
  font-weight: 700;
}
.changes li {
  margin: 0.2rem 0;
}
.flow {
  columns: 2;
  padding-left: 1.4rem;
  margin: 0.4rem 0 0;
}
.qr {
  background: #fff;
  display: inline-block;
  padding: 0.6rem;
  border-radius: 14px;
}
.qr svg {
  display: block;
  max-width: 100%;
  height: auto;
}
code.key {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
pre.code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 420px;
  overflow: auto;
  background: var(--page);
  padding: 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
}
.text-row {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.text-row.changed {
  border-left: 4px solid var(--rose);
  padding-left: 0.8rem;
}
.text-row .key {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.text-row .orig {
  margin: 0.2rem 0 0.4rem;
}
.search {
  display: flex;
  gap: 0.5rem;
  align-items: end;
  margin-bottom: 0.6rem;
}
.search label {
  flex: 1;
  margin: 0;
}
.row {
  display: flex;
  gap: 0.8rem;
}
.row label:first-child {
  flex: 1;
}
.fresh {
  background: color-mix(in srgb, var(--gold) 9%, transparent);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.items {
  margin: 0 0 1rem;
}
.item {
  display: grid;
  grid-template-columns: 1fr 10rem auto;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.item .name {
  margin: 0;
}
.item .name small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.item .price-in {
  margin: 0;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.item .price-in input {
  margin-top: 0.15rem;
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 600px) {
  .item {
    grid-template-columns: 1fr auto;
  }
  .item .name {
    grid-column: 1 / -1;
  }
}
/* Public pages (checkout, thank you) */
body.public {
  background: radial-gradient(
    circle at 20% 0%,
    color-mix(in srgb, var(--rose) 12%, var(--page)),
    var(--page) 55%
  );
  min-height: 100vh;
}
.public-main {
  max-width: 560px;
  margin: 0 auto;
  padding: max(1.2rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 3rem
    max(1rem, env(safe-area-inset-left));
}
.brand-line a {
  text-decoration: none;
  font-weight: 600;
}
.buy .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.4rem 0 0.8rem;
  color: var(--jade);
}
.foot {
  margin-top: 2rem;
  text-align: center;
}
/* Phones: the menu becomes a scrolling row under the header */
@media (max-width: 820px) {
  body {
    font-size: 16px;
  }
  .shell {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-top: 0.4rem;
  }
  nav.side {
    position: sticky;
    top: 3.7rem;
    z-index: 4;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.3rem;
    padding: 0.3rem 0 0.5rem;
    background: var(--page);
    scrollbar-width: none;
  }
  nav.side a {
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.74rem;
    min-width: 64px;
  }
  nav.side form {
    margin: 0;
    padding: 0;
    align-self: center;
    white-space: nowrap;
    font-size: 0.85rem;
  }
  nav.side .dot,
  nav.side .count {
    position: absolute;
    margin: 0 0 0 1.4rem;
  }
  nav.side a {
    position: relative;
  }
  h1 {
    font-size: 1.4rem;
  }
  .card {
    padding: 0.95rem;
  }
  .knob.changed {
    margin: 0 -0.95rem;
    padding: 0.9rem 0.95rem;
  }
  .actions.sticky {
    margin: 1rem -0.95rem -0.95rem;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
    flex-wrap: nowrap;
  }
  .actions.sticky button {
    flex: 1 1 auto;
    padding: 0.5rem 0.7rem;
    font-size: 0.95rem;
  }
  nav.side {
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
  .flow {
    columns: 1;
  }
  .row {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 600px) {
  table.route th:first-child,
  table.route td.num {
    display: none;
  }
  table.route th,
  table.route td {
    padding: 0.4rem 0.2rem;
  }
  table.route input {
    min-width: 0;
    width: 3.4em;
    padding: 0.5rem 0.3rem;
    text-align: center;
  }
  table.route td:nth-child(2) select {
    min-width: 0;
    width: 100%;
    padding: 0.5rem 0.4rem;
  }
  .row-actions button {
    padding: 0 0.55rem;
    margin-right: 0.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Studio 1.2: long names (event names, keys) wrap on small phones instead of widening the page. */
.steps li b,
.steps li code,
.notice code {
  overflow-wrap: anywhere;
}
ol.recovery {
  columns: 2;
  column-gap: 24px;
  padding-left: 1.4em;
}
ol.recovery li {
  margin: 4px 0;
}

/* Studio 1.2 · Website: the five designs as small cards with a colour swatch. */
.designs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin: 12px 0 16px;
}
.design-pick {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}
.design-pick:has(input:checked) {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 25%, transparent);
}
.design-pick input {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  accent-color: var(--jade);
}
.design-pick small {
  color: var(--muted);
  line-height: 1.4;
}
.swatch {
  display: block;
  height: 64px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}
.swatch-moonlit {
  background:
    radial-gradient(circle at 72% 40%, #f3a6bd 0 7px, transparent 8px),
    radial-gradient(circle at 30% 60%, #f6d38b 0 5px, transparent 6px),
    linear-gradient(140deg, #1d4a49, #0b1a1f);
}
.swatch-dawn {
  background:
    radial-gradient(circle at 70% 45%, #d4574a 0 7px, transparent 8px),
    linear-gradient(140deg, #ffd9c2, #fff8f2 55%, #e9d8f5);
}
.swatch-garden {
  background:
    radial-gradient(circle at 70% 45%, #f3a6bd 0 7px, transparent 8px),
    linear-gradient(140deg, #cfe8c9, #f3f8f1 60%, #2f7d4f);
}
.swatch-zen {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 16px, #2b2622 17px 20px, transparent 21px), #f5f0e7;
}
.swatch-starlit {
  background:
    radial-gradient(circle at 20% 30%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 60% 20%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 80% 60%, #f6d38b 0 6px, transparent 7px),
    linear-gradient(140deg, #2b2f6e, #0b0d2a);
}

/* Website pictures: real screenshots with two choices under each. */
.pics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  margin-top: 12px;
}
.pic {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.pic img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border-radius: 10px;
  background: var(--page);
}
.pic figcaption {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  font-size: 0.9rem;
}
.pic figcaption small {
  color: var(--muted);
}
.site-form details label {
  display: block;
  margin: 12px 0;
}
.site-form details label small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.site-form textarea {
  width: 100%;
  font: inherit;
  line-height: 1.5;
}
.site-form textarea[name^='legal'] {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

/* Kind words: each message as a quiet quote. */
.word blockquote {
  margin: 0 0 8px;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--rose);
  font-size: 1.05rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.word .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------------------------------------------ coming soon and waiting list (Studio 1.3) */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.stat b {
  font-size: 1.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--jade);
}
.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}
form.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
}

/* ------------------------------------------------------------------ visits (Studio 1.4) */
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
ul.bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
ul.bars li {
  display: grid;
  grid-template-columns: minmax(7rem, 40%) 1fr 2.6rem;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}
.bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-n {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
progress {
  appearance: none;
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 999px;
}
progress::-webkit-progress-value {
  background: var(--jade);
  border-radius: 999px;
}
progress::-moz-progress-bar {
  background: var(--jade);
  border-radius: 999px;
}
