/* Tatuaí. Dark textured ground, cream paper cards, stamps for status, one red. */

:root {
  --bg: #14110f;
  --ink: #f4ede2;
  --muted: #a89d90;
  --surface: #1e1a17;
  --surface-2: #27221e;
  --line: #342d28;
  --line-2: #4a413a;
  --paper: #efe4d2;
  --paper-ink: #1c1612;
  --paper-muted: #6f6257;
  --paper-line: #cdbfa8;
  --accent: #d7263d;
  --amber: #e8b23a;
  --green: #4fa877;
  --green-ink: #2e7d52;
  --shadow: 4px 4px 0 #000;
  --shadow-sm: 3px 3px 0 #000;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: #0b0908;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }

/* The page is a phone-wide column, centered on anything bigger. */
.app {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.pad { padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.grow { flex-grow: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.main { flex-grow: 1; padding: 12px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

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

.logo { font-weight: 800; font-size: 24px; letter-spacing: -1px; display: inline-flex; align-items: baseline; text-decoration: none; }
.logo span { position: relative; display: inline-block; }
.logo svg { position: absolute; left: 50%; top: -3px; transform: translateX(-50%) rotate(14deg); }

.display { font-weight: 800; letter-spacing: -1.5px; line-height: .92; font-size: 52px; }
.display.md { font-size: 40px; }
.display.sm { font-size: 30px; letter-spacing: -1px; line-height: 1; }
.kicker { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent); }
.label { font-size: 11px; letter-spacing: 1.5px; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.label.amber { color: var(--amber); }

/* ---------- top bars ---------- */

.topbar { padding: 14px 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.backbar { padding: 14px 12px 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.backbar.line { padding-bottom: 12px; border-bottom: 1px dashed var(--line); color: var(--ink); gap: 10px; }
.icon-btn { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--ink); background: none; border: none; border-radius: 22px; text-decoration: none; }
.icon-btn.ring { background: var(--surface); border: 1px solid var(--line); }
.icon-btn.solid { background: var(--accent); color: #fff; }
.pill-link { font-size: 12px; color: var(--muted); padding: 6px 12px; border: 1px dashed var(--line); border-radius: 14px; text-decoration: none; white-space: nowrap; }
.pill-link b { color: var(--ink); }

.avatar { width: 40px; height: 40px; border-radius: 20px; flex-shrink: 0; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; overflow: hidden; object-fit: cover; }
.avatar.ringed { padding: 2px; border: 2px solid var(--accent); }
.avatar.ringed img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; border-radius: 42px; padding: 3px; transform: rotate(-4deg); font-size: 30px; }

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

.btn { height: 52px; padding: 0 18px; border-radius: 14px; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn.block { display: flex; width: 100%; }
.btn.paper { background: var(--paper); color: var(--paper-ink); }
.btn.dark { background: var(--paper-ink); color: var(--paper); box-shadow: none; height: 48px; border-radius: 12px; font-size: 15px; }
.btn.green { background: var(--green); color: #08180f; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; font-size: 14px; }
.btn.sm { height: 40px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: none; padding: 0; color: var(--muted); text-decoration: underline; font-size: 13px; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 12px; border-radius: 16px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; white-space: nowrap; background: none; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; }
.chip.soft { background: var(--surface-2); border: none; font-size: 12px; padding: 5px 10px; }
.chip.accent { border: 1.5px solid var(--accent); font-weight: 700; }

/* A status stamp: slightly rotated, outlined, never filled. */
.stamp { display: inline-block; border: 2px solid currentColor; border-radius: 4px; padding: 3px 8px; font-weight: 800; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; transform: rotate(-3deg); color: var(--muted); flex-shrink: 0; }
.stamp.amber { color: var(--amber); }
.stamp.green { color: var(--green); }
.stamp.accent { color: var(--accent); }

/* ---------- cards ---------- */

.paper { background: var(--paper); color: var(--paper-ink); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: relative; }
.paper .muted { color: var(--paper-muted); }
.paper .label { color: var(--paper-muted); }
.paper .stamp.corner { position: absolute; right: 14px; top: -10px; background: var(--paper); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.dashed { border: 1px dashed var(--line); border-radius: 14px; padding: 14px; }
.dashed.amber { border: 1.5px dashed var(--amber); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; font-size: 13px; }
.facts div > span { display: block; color: var(--paper-muted); }
.dark-facts div > span { color: var(--muted); }
.tear { border-top: 2px dashed var(--paper-line); margin: 0 -2px; }
.price { font-weight: 800; letter-spacing: -2.5px; line-height: .92; font-size: 56px; }
.warn { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.warn svg { flex-shrink: 0; margin-top: 1px; }

.flash { padding: 10px 14px; border-radius: 12px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); }
.flash.error { border-color: var(--accent); }
.flash.ok { border-color: var(--green); }

.thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.thumb { width: 104px; height: 104px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.thumb.sm { width: 52px; height: 52px; border-radius: 10px; }
.thumb.xs { width: 32px; height: 32px; border-radius: 8px; }
.polaroid { padding: 3px 3px 10px; background: var(--paper); transform: rotate(3deg); flex-shrink: 0; }
.polaroid img { width: 44px; height: 44px; object-fit: cover; }

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

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .q { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 12px; color: var(--muted); }
.q b { color: var(--accent); }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=time], .field input[type=datetime-local], .field select, .field textarea {
  width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 10px 14px; font-size: 15px; color-scheme: dark;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .composer input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.prefixed { display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding-left: 14px; }
.prefixed span { color: var(--muted); white-space: nowrap; }
.prefixed input { border: none !important; background: none !important; padding-left: 2px !important; }
.error-text { color: #ff8b98; font-size: 13px; }
.validation ul { margin: 0; padding: 10px 14px 10px 30px; border: 1px solid var(--accent); border-radius: 12px; font-size: 14px; }
.validation-summary-valid { display: none; }

/* Option buttons are real radio/checkbox inputs, so they work without JS. */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.options.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.options.wrap { display: flex; flex-wrap: wrap; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 14px; }
.option input:checked + span { border: 2px solid var(--accent); font-weight: 700; padding: 7px 11px; }
.option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.option.slot span { min-height: 72px; gap: 2px; }
.option.slot b { font-weight: 800; font-size: 20px; }
.options.wrap .option span { min-height: 36px; border-radius: 18px; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }

.dropzone { min-height: 110px; border-radius: 12px; border: 1px dashed #8a847d; background: #141414; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; text-align: center; font-size: 14px; position: relative; }
.dropzone input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }

/* ---------- inbox ---------- */

.inbox-item { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); text-decoration: none; }
.inbox-item:last-child { border-bottom: none; }
.inbox-item .name { font-weight: 700; font-size: 15px; }
.inbox-item.unread .name { font-weight: 800; }
.inbox-item.unread .name::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 4px; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.need { text-decoration: none; display: flex; gap: 12px; align-items: center; }
.initial { width: 50px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface-2); font-weight: 800; }
.empty { border: 1px dashed var(--line); border-radius: 14px; padding: 18px; color: var(--muted); font-size: 14px; }

.tabbar { position: sticky; bottom: 0; margin: 0 16px; padding: 8px 8px; display: flex; justify-content: space-around; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; z-index: 5; }
.tabbar a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; padding: 4px; font-size: 11px; color: var(--muted); }
.tabbar a.on { color: var(--ink); font-weight: 700; }
.tabbar a i { width: 5px; height: 5px; border-radius: 3px; background: transparent; }
.tabbar a.on i { background: var(--accent); }

/* ---------- conversation ---------- */

.thread { flex-grow: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.day { align-self: center; font-size: 12px; color: var(--muted); }
.msg { max-width: 82%; display: flex; flex-direction: column; gap: 6px; align-self: flex-start; align-items: flex-start; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble { background: var(--surface-2); border-radius: 18px 18px 18px 4px; padding: 10px 14px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine .bubble { background: var(--accent); color: #fff; border-radius: 18px 18px 4px 18px; }
.msg time, .card-time { font-size: 11px; color: var(--muted); }
.card { width: 90%; align-self: flex-start; }
.card.mine { align-self: flex-end; }
.card.wide { width: 100%; }
.notice { align-self: center; text-align: center; font-size: 13px; color: var(--muted); padding: 6px 12px; border: 1px dashed var(--line); border-radius: 12px; max-width: 90%; }
.notice.green { color: var(--green); border-color: var(--green); }
.notice.amber { color: var(--amber); border-color: var(--amber); }

.composer { position: sticky; bottom: 0; background: var(--bg); padding: 8px 12px 16px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.composer .line { display: flex; align-items: center; gap: 8px; }
.composer input[type=text] { flex-grow: 1; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 15px; }
.composer .attach { position: relative; overflow: hidden; }
.composer .attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.composer .picked { font-size: 12px; color: var(--amber); padding-left: 52px; }
.closed { padding: 14px 20px 22px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- public profile ---------- */

.name-serif { font-family: var(--serif); font-style: italic; font-size: 42px; line-height: .9; color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 3px; }
.gallery a, .gallery div { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery form { position: absolute; right: 4px; top: 4px; }
.gallery form button { width: 30px; height: 30px; border-radius: 15px; border: none; background: rgba(0, 0, 0, .7); color: #fff; font-size: 16px; line-height: 1; }
.rules-bar { position: sticky; bottom: 14px; margin: 14px 20px; padding: 10px 14px; border-radius: 14px; background: rgba(20, 17, 15, .94); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.rules-bar b, .rules-bar summary span { color: var(--ink); }
.rules-bar summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.rules-bar summary::-webkit-details-marker { display: none; }
.rules-bar p { padding-top: 10px; line-height: 1.5; white-space: pre-wrap; }

/* ---------- agenda ---------- */

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.week a { padding: 8px 0 6px; border-radius: 12px; background: var(--surface); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.week a small { font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.week a b { font-weight: 800; font-size: 18px; }
.week a.off { background: none; border: 1px dashed var(--line); color: var(--muted); }
.week a.off b { text-decoration: line-through; }
.week a.today { background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow-sm); }
.week a.today small { color: var(--paper-ink); }
.dots { display: flex; gap: 3px; justify-content: center; height: 5px; }
.dots i { width: 5px; height: 5px; border-radius: 3px; background: var(--ink); }
.dots i.green { background: var(--green); }
.dots i.amber { background: var(--amber); }
.today .dots i { background: var(--paper-ink); }
.slot-row { display: flex; gap: 12px; }
.slot-row .hour { width: 44px; flex-shrink: 0; font-size: 13px; font-weight: 700; padding-top: 14px; }
.slot-row .what { flex-grow: 1; min-width: 0; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 3px; text-decoration: none; background: var(--surface); }
.slot-row .what.confirmed { background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow-sm); }
.slot-row .what.confirmed .muted { color: var(--paper-muted); }
.slot-row .what.pending { background: none; border: 1.5px dashed var(--amber); }
.slot-row .what.block { background: none; border: 1px dashed var(--line); color: var(--muted); }
.ok-text { color: var(--green-ink); font-weight: 700; font-size: 12px; }
.amber-text { color: var(--amber); font-weight: 700; }
.accent-text { color: var(--accent); font-weight: 700; }
.green-text { color: var(--green); font-weight: 700; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; font-size: 13px; }
.checklist div { display: flex; gap: 6px; align-items: baseline; }
.checklist .has i { color: var(--green-ink); font-weight: 800; font-style: normal; }
.checklist .lacks { color: var(--accent); font-weight: 700; }
.checklist .lacks i { font-style: normal; }

.receipt { width: 100%; border-radius: 12px; background: var(--ink); }
.copy-row { display: flex; align-items: center; gap: 10px; }
.copy-row .key { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }

@media (min-width: 520px) {
  .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* ---------- settings menu ---------- */

.menu { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 14px; text-decoration: none; border-bottom: 1px dashed var(--line); min-height: 60px; }
.menu a:last-child { border-bottom: none; }
.menu b { display: block; font-size: 15px; }
.menu small { display: block; font-size: 13px; padding-top: 2px; font-weight: 400; }
.menu small.amber-text { font-weight: 700; }

/* ---------- notices, health form, QR ---------- */

.push-offer { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 14px; }
.push-offer[hidden] { display: none; }
.push-offer b { display: block; font-size: 14px; }
.push-offer small { display: block; font-size: 12px; color: var(--muted); padding-top: 2px; }
.notify { font-size: 13px; }
.notify summary { cursor: pointer; color: var(--muted); text-decoration: underline; }
.yesno { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.yesno .options { display: flex; gap: 6px; flex-shrink: 0; }
.yesno .option span { min-height: 38px; min-width: 52px; padding: 6px 10px; }
.yesno .option input:checked + span { padding: 5px 9px; }
.signature { width: 100%; height: auto; aspect-ratio: 5 / 2; background: var(--paper); border-radius: 12px; touch-action: none; cursor: crosshair; }
.qr { width: 220px; max-width: 100%; background: #fff; padding: 8px; border-radius: 8px; }
.qr svg { width: 100%; height: auto; display: block; }

@media print {
  body, .app { background: #fff !important; color: #000; }
  .app { max-width: none; border: none; }
  .no-print, .tabbar { display: none !important; }
  .sheet { box-shadow: none; background: #fff; border: 1px solid #999; }
  .display { color: #000; }
}

/* The hidden attribute always wins, even over classes that set a display. */
[hidden] { display: none !important; }

/* ---------- request wizard, body map, size ruler ---------- */

.wizard-bar { height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.wizard-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.wizard-nav { display: flex; gap: 10px; position: sticky; bottom: 12px; padding-top: 4px; }

.bodymap { display: flex; justify-content: center; gap: 18px; }
.bodymap figure { margin: 0; width: 44%; max-width: 170px; text-align: center; }
.bodymap figcaption { font-size: 12px; color: var(--muted); padding-top: 4px; }
.bodymap svg { width: 100%; height: auto; display: block; }
.bodymap svg * { fill: var(--surface); stroke: #8a7e72; stroke-width: 1.5; }
.bodymap [data-place] { cursor: pointer; outline: none; }
.bodymap [data-place]:hover, .bodymap [data-place]:focus-visible { fill: var(--line-2); }
.bodymap [data-place].on { fill: var(--accent); stroke: var(--accent); }

.ruler { display: flex; flex-direction: column; gap: 10px; }
.ruler svg { width: 100%; height: auto; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ruler .ruler-card { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 3; }
.ruler .ruler-tattoo { fill: var(--accent); }
.ruler text { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.ruler input[type=range] { flex-grow: 1; min-width: 0; height: 44px; accent-color: var(--accent); }
.ruler-number { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ruler-number input { width: 78px !important; text-align: center; }
.ruler-number span { color: var(--muted); }

/* ---------- quick replies, aftercare, reviews, docs ---------- */

.quick { font-size: 13px; }
.quick summary { cursor: pointer; color: var(--muted); }
.quick-item { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.35; }
.care { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4; }
.stars { color: var(--amber); letter-spacing: 2px; white-space: nowrap; }
.rating { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.rating input { position: absolute; opacity: 0; }
.rating label { font-size: 46px; line-height: 1; color: var(--line-2); cursor: pointer; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: var(--amber); }
.rating input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.doc { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.55; }
.doc h2 { font-size: 18px; font-weight: 800; padding-top: 8px; }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- owner panel ---------- */

.funnel { display: grid; grid-template-columns: 1fr 90px 34px; gap: 10px; align-items: center; font-size: 13px; }
.funnel .bar { height: 10px; border-radius: 5px; background: var(--paper-line); overflow: hidden; }
.funnel .bar i { display: block; height: 100%; background: var(--accent); }
.funnel b { text-align: right; font-size: 15px; }
.funnel-line { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.funnel-line b { color: var(--ink); font-size: 15px; }
