/* Admin. Calm, dense enough to scan a register at the venue, phone first. One accent (ocean). */
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --ink: #1b2129; --muted: #5a636d; --line: #e4e1da; --bg: #f7f6f2; --card: #fff;
  --accent: #0f6c7a; --accent-deep: #0a4f5a; --accent-soft: #e5f2f3;
  --ok: #1d7a4a; --ok-soft: #e6f4ec; --warn: #a3470d; --warn-soft: #fdf0e6; --danger: #b3261e; --danger-soft: #fbeceb;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 "Figtree", system-ui, sans-serif; -webkit-font-smoothing: antialiased; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.bare { padding-bottom: 0; }
::selection { background: #c9e6e9; }
a { color: var(--accent-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 1.55rem; font-weight: 750; }
h2 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 .7em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #8cc7cf; outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* chrome */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: .8rem; padding: .6rem 16px; background: var(--card); border-bottom: 1px solid var(--line); min-height: 56px; }
.top .brand { font-weight: 750; color: var(--ink); text-decoration: none; font-size: 1.05rem; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .view { display: inline-flex; align-items: center; gap: .3rem; font-size: .92rem; white-space: nowrap; }
.top .view svg { width: 15px; height: 15px; }
.top form { margin: 0; }
.link { border: 0; background: none; color: var(--muted); cursor: pointer; padding: .5rem; min-height: 44px; font-size: .92rem; }
.switch { position: relative; font-size: .92rem; }
.switch summary { cursor: pointer; padding: .5rem; list-style: none; color: var(--accent-deep); }
.switch div { position: absolute; right: 0; top: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .4rem; min-width: 14rem; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .2); display: grid; }
.switch div a { padding: .6rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); }
.switch div a:hover { background: var(--bg); }
@media (max-width: 560px) { .top .view span, .top .view { font-size: 0; gap: 0; } .top .view svg { width: 20px; height: 20px; } }

.nav { position: fixed; z-index: 10; inset: auto 0 0 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.nav a { display: grid; justify-items: center; gap: .15rem; padding: .55rem .2rem .5rem; min-height: 60px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; text-align: center; line-height: 1.15; }
.nav a svg { width: 23px; height: 23px; }
.nav a[aria-current="page"] { color: var(--accent); }
.main { max-width: 64rem; margin: 0 auto; padding: 1.2rem 16px 2rem; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .nav { inset: 56px auto 0 0; width: 220px; display: flex; flex-direction: column; gap: .15rem; border-top: 0; border-right: 1px solid var(--line); padding: 1rem .6rem; }
  .nav a { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: .55rem .8rem; font-size: .95rem; border-radius: 10px; text-align: left; }
  .nav a svg { width: 20px; height: 20px; }
  .nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
  .nav a:hover:not([aria-current]) { background: var(--bg); color: var(--ink); }
  body:not(.bare) .main { margin-left: 220px; padding: 1.8rem 2rem 3rem; max-width: calc(64rem + 220px); }
}

.trial { background: var(--accent-soft); color: var(--accent-deep); border-radius: 12px; padding: .7rem .9rem; font-size: .93rem; }
.flash { background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: .75rem .9rem; font-weight: 600; }
.phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem 1rem; margin: .2rem 0 1.2rem; }
.phead .muted { margin: .3rem 0 0; }
.phead .acts { display: flex; gap: .5rem; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: .93rem; margin-bottom: .2rem; }

/* surfaces: border only, no shadow */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; margin-bottom: 1rem; }
.card > h2 { margin-bottom: .7rem; }
.card > h2 + .muted { margin-top: -.4rem; }
.grid2 { display: grid; gap: 1rem; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.stats { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 0 0 1rem; }
.stats div { display: grid; }
.stats b { font-size: 1.35rem; font-weight: 750; }
.stats span { color: var(--muted); font-size: .88rem; }
.meter { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; margin: .4rem 0 .3rem; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.meter.high i { background: var(--warn); }

/* rows */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { display: flex; align-items: center; gap: .8rem; padding: .75rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rows > li:first-child { border-top: 0; }
.rows .grow { flex: 1; min-width: 9rem; display: grid; gap: .05rem; }
.rows .grow b { font-weight: 650; }
.rows a.grow { color: inherit; text-decoration: none; }
.rows a.grow:hover b { text-decoration: underline; }
.when { font-variant-numeric: tabular-nums; min-width: 4.2rem; font-weight: 650; }
.cap { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: .12rem .55rem; font-size: .8rem; font-weight: 650; background: var(--bg); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.bad { background: var(--danger-soft); color: var(--danger); } .pill.acc { background: var(--accent-soft); color: var(--accent-deep); }
.day-h { font-size: .9rem; font-weight: 700; color: var(--muted); margin: 1.1rem 0 .1rem; text-transform: none; }

/* register */
.reg li { gap: .6rem; }
.att { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.att button { border: 0; background: var(--card); min-height: 40px; padding: 0 .8rem; cursor: pointer; font-weight: 650; font-size: .88rem; color: var(--muted); }
.att button[aria-pressed="true"].here { background: var(--ok-soft); color: var(--ok); }
.att button[aria-pressed="true"].away { background: var(--danger-soft); color: var(--danger); }
.answers { font-size: .88rem; color: var(--muted); }
.answers b { color: var(--ink); font-weight: 600; }
details.more { width: 100%; }
details.more summary { cursor: pointer; color: var(--accent-deep); font-size: .9rem; min-height: 36px; display: inline-flex; align-items: center; }
details.more > div { padding: .6rem 0 .2rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; }

/* buttons */
.btn { appearance: none; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; padding: .62rem 1.1rem; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn.acc { background: var(--accent); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.danger { background: var(--card); color: var(--danger); box-shadow: inset 0 0 0 1.5px #efc9c6; }
.btn.small { min-height: 38px; padding: .4rem .85rem; font-size: .9rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #333b46; } .btn.acc:hover { background: var(--accent-deep); }
  .btn.ghost:hover { background: var(--bg); } .btn.danger:hover { background: var(--danger-soft); }
}

/* forms */
form.grid { display: grid; gap: .2rem 1rem; }
@media (min-width: 700px) { form.grid { grid-template-columns: 1fr 1fr; } form.grid .full, form.grid .actions, form.grid h2, form.grid .note, form.grid .check, form.grid .locked { grid-column: 1 / -1; } }
.field { display: grid; gap: .3rem; margin-bottom: .8rem; }
.field > span { font-weight: 600; font-size: .93rem; }
.field em, .check em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .86rem; display: block; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: .55rem .75rem; min-height: 44px; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #d2ebee; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: .15rem; flex: none; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.inline { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }
.inline .field { margin: 0; flex: 1; min-width: 8rem; }
.note { background: var(--bg); border-radius: 10px; padding: .7rem .85rem; font-size: .93rem; }
.locked { background: var(--accent-soft); color: var(--accent-deep); border-radius: 12px; padding: .8rem .95rem; font-size: .95rem; margin-bottom: 1rem; }
.err { background: var(--danger-soft); color: var(--danger); border-radius: 10px; padding: .7rem .85rem; font-weight: 600; }
.repeat { border: 1px dashed var(--line); border-radius: 12px; padding: .8rem; margin-bottom: .8rem; }
.repeat-row { display: grid; grid-template-columns: 1fr 7rem auto; gap: .5rem; align-items: end; margin-bottom: .5rem; }
.repeat-row .field { margin: 0; }
@media (max-width: 520px) { .repeat-row { grid-template-columns: 1fr 1fr; } .repeat-row > :last-child { grid-column: 1 / -1; } }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; background: var(--bg); border-radius: 6px; padding: .1rem .35rem; }
pre.code { padding: .8rem; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
table.plain { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.plain th, table.plain td { text-align: left; padding: .55rem .4rem; border-top: 1px solid var(--line); vertical-align: top; }
table.plain th { font-weight: 650; color: var(--muted); font-size: .85rem; border-top: 0; }

/* plans */
.plans { display: grid; gap: .8rem; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem; background: var(--card); display: grid; gap: .4rem; align-content: start; }
.plan.current { border-color: var(--accent); }
.plan h3 { font-size: 1.1rem; }
.plan .price { font-size: 1.5rem; font-weight: 800; }
.plan ul { margin: .2rem 0 .4rem; padding-left: 1.1rem; font-size: .9rem; color: var(--muted); }

/* sign in */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.auth-card { width: min(26rem, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.4rem; }
.auth-card h1 { margin-bottom: .5rem; }
.auth-card .note { margin: .8rem 0; }
.empty { color: var(--muted); padding: 1.4rem 0; text-align: center; }

/* plan and billing */
.card.billing { margin-bottom: 1.1rem; }
.card.billing h2 { margin-bottom: .2rem; }
.card.billing p { margin: 0 0 .7rem; }
.card.billing.warn { border-color: var(--warn); background: var(--warn-soft); }
.seg { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 .9rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg a { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .3rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.seg a span { font-size: .78rem; font-weight: 650; color: var(--ok); }
.seg a[aria-current] { background: var(--card); color: inherit; box-shadow: 0 1px 2px rgba(20, 24, 30, .08); }
.plan-act { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .3rem; }
.trial.warn { background: var(--warn-soft); color: var(--warn); }
.card.billing p:last-child { margin-bottom: 0; }
.plan-act > * { flex: none; margin: 0; }

/* Little Oceans dashboard */
body.bare .main:has(.lo-main) { max-width: 76rem; padding-top: 1.8rem; }
.lo-stats { gap: .8rem 2.2rem; margin-bottom: 1.4rem; }
.lo-list > li.lo-row { display: grid; gap: .6rem 1.4rem; align-items: start; padding: 1rem 0; }
@media (min-width: 900px) { .lo-list > li.lo-row { grid-template-columns: minmax(0, 17rem) minmax(0, 14rem) minmax(0, 1fr) 16rem; } .lo-act { justify-content: flex-end; } }
.lo-name, .lo-plan, .lo-use { display: grid; gap: .2rem; min-width: 0; }
.lo-name a { color: inherit; text-decoration: none; }
.lo-name a:hover b { text-decoration: underline; }
.lo-plan .pill { justify-self: start; }
.lo-use .meter { margin: .15rem 0; max-width: 16rem; background: var(--line); }
.lo-flag { justify-self: start; font-size: .8rem; font-weight: 650; color: var(--warn); }
.lo-act { display: flex; gap: .4rem; flex-wrap: wrap; }
.lo-act form { margin: 0; }
.seg a span.num { color: var(--muted); font-weight: 600; }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg a { white-space: nowrap; flex: none; }
@media (max-width: 600px) { .lo-stats { display: grid; grid-template-columns: 1fr 1fr; } }

/* first-run setup */
.top .push { margin-left: auto; }
.welcome { max-width: 40rem; margin: 0 auto; }
.welcome h1 { font-size: 1.7rem; margin: 0 0 .3rem; }
.welcome > .muted { margin: 0 0 1.2rem; }
.steps { list-style: none; display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; padding: 0; margin: 0 0 1.6rem; font-size: .9rem; color: var(--muted); }
.steps li { display: inline-flex; align-items: center; gap: .45rem; }
.steps .num { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 700; font-size: .82rem; }
.steps li[aria-current] { color: var(--ink); font-weight: 650; }
.steps li[aria-current] .num { background: var(--ink); border-color: var(--ink); color: var(--card); }
.steps li.done .num { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-deep); }
.stack { display: grid; gap: 1rem; }
.stack fieldset { border: 0; padding: 0; margin: 0; }
.stack legend { font-weight: 600; font-size: .93rem; margin-bottom: .4rem; }
.look-preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.lp-bar { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--b); color: var(--bi); transition: background-color 200ms ease, color 200ms ease; }
.lp-bar img { height: 28px; width: auto; max-width: 120px; object-fit: contain; }
.lp-body { display: grid; gap: .45rem; padding: 1rem; }
.lp-line { height: .6rem; border-radius: 4px; background: var(--bg); width: 70%; } .lp-line.short { width: 45%; }
.lp-btn { justify-self: end; padding: .35rem .9rem; border-radius: 999px; background: var(--b); color: var(--bi); font-weight: 650; font-size: .85rem; transition: background-color 200ms ease, color 200ms ease; }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--s); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch input[type=radio] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch:has(input[type=radio]:checked) { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.swatch.custom { background: conic-gradient(#e0567a, #c08a1e, #3f6b2a, #2f6f6a, #1d3a6b, #7a3b69, #e0567a); overflow: hidden; }
.swatch.custom input[type=color] { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; -webkit-appearance: none; appearance: none; border: 0; padding: 0; border-radius: 50%; cursor: pointer; background: none; }
.swatch.custom input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .swatch.custom input[type=color]::-webkit-color-swatch { border: 2px solid #fff; border-radius: 50%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ready-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 1rem; background: var(--card); }
.ready-frame iframe { display: block; width: 100%; height: 240px; border: 0; transition: height 200ms ease-out; }
.logo-now { max-height: 56px; max-width: 200px; padding: .5rem .8rem; border-radius: 10px; margin-bottom: .6rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field > legend { font-weight: 600; font-size: .93rem; padding: 0; margin-bottom: .45rem; }

/* calendar */
.cal-nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.cal { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cal-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cal-agenda > li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; display: grid; gap: .35rem; }
.cal-agenda > li.past { opacity: .6; }
.cal-agenda h3 { font-size: .95rem; margin: 0 0 .15rem; }
@media (min-width: 900px) { .cal { display: block; } .cal-agenda { display: none; } }
.cal-h { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cal-h span { padding: .5rem .6rem; font-size: .8rem; font-weight: 650; color: var(--muted); }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-d { min-height: 7.2rem; padding: .35rem .35rem .5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .22rem; min-width: 0; }
.cal-d:nth-child(7n) { border-right: 0; }
.cal-d.pad { background: var(--bg); }
.cal-d.past .cal-s { opacity: .55; }
.cal-num { font-size: .8rem; font-weight: 650; color: var(--muted); padding: .1rem .25rem; align-self: flex-start; border-radius: 999px; min-width: 1.6rem; text-align: center; }
.cal-d.today .cal-num { background: var(--ink); color: var(--card); }
.cal-s { display: grid; grid-template-columns: auto 1fr auto; gap: .35rem; align-items: baseline; padding: .28rem .45rem; border-radius: 8px; font-size: .78rem; line-height: 1.25; text-decoration: none; color: var(--ink); background: var(--c-soft); transition: filter 160ms ease; }
.cal-s:hover { filter: brightness(.96); }
.cal-agenda .cal-s { font-size: .92rem; padding: .55rem .7rem; }
.cal-t { font-weight: 650; color: var(--c); white-space: nowrap; }
.cal-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-f { color: var(--muted); white-space: nowrap; }
.cal-s.full .cal-f { color: var(--warn); font-weight: 650; }
.cal-s.off { background: var(--bg); text-decoration: line-through; color: var(--muted); }
.cal-s.off .cal-t { color: var(--muted); }
.cal-c0 { --c: #0a4f5a; --c-soft: #e3f0f1; } .cal-c1 { --c: #7a3b69; --c-soft: #f5e9f1; } .cal-c2 { --c: #8a5a0b; --c-soft: #fbf1dc; }
.cal-c3 { --c: #2f5d1f; --c-soft: #e9f2e2; } .cal-c4 { --c: #4a3f96; --c-soft: #ecebf8; } .cal-c5 { --c: #9a3412; --c-soft: #fbebe3; }
.cal-key { margin-top: .8rem; }
@media (min-width: 900px) {
  .cal .cal-s { grid-template-columns: auto 1fr; grid-template-areas: "t f" "n n"; row-gap: .05rem; }
  .cal .cal-t { grid-area: t; } .cal .cal-f { grid-area: f; justify-self: end; }
  .cal .cal-n { grid-area: n; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* reports */
.rep-stats { margin-top: 1rem; }
.stats-more { align-self: end; }
.rep { width: 100%; border-collapse: collapse; font-size: .93rem; }
.rep th, .rep td { padding: .55rem .5rem; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.rep thead th { border-top: 0; font-size: .8rem; font-weight: 650; color: var(--muted); }
.rep tbody th { font-weight: 600; }
.rep tr:first-child > * { border-top: 0; }
.rep thead + tbody tr:first-child > * { border-top: 1px solid var(--line); }
.rep .num { text-align: right; white-space: nowrap; }
.rep-bar { width: 60%; }
.rep-fill { min-width: 9rem; white-space: nowrap; }
.rep-fill .num { display: inline-block; min-width: 2.8rem; margin-left: .4rem; }
.rb { display: inline-block; vertical-align: middle; width: 100%; max-width: 22rem; height: 10px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.rep-fill .rb { width: 5.5rem; }
.rb i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.rep-other th { font-weight: 500; color: var(--muted); }
.rep-scroll { overflow-x: auto; margin: 0 -.5rem; }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; } .seg a { flex: none; white-space: nowrap; }
.rep-list { display: none; list-style: none; margin: 0; padding: 0; }
.rep-list li { display: grid; gap: .25rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.rep-list li:first-child { border-top: 0; }
.rep-line { display: flex; align-items: center; gap: .6rem; }
.rep-line .rb { max-width: 10rem; }
@media (max-width: 640px) { .rep-wide { display: none; } .rep-list { display: block; } }

/* import */
.imp-sum { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .35rem; }
.imp-sum b { font-size: 1.15rem; margin-right: .2rem; }
.imp-why { margin: .4rem 0 .8rem; }
.imp-why summary { cursor: pointer; font-weight: 600; font-size: .93rem; }
.imp-why ul { margin: .5rem 0; padding-left: 1.1rem; font-size: .92rem; }
.imp-raw { font-size: .82rem; white-space: nowrap; }
.tips { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; font-size: .95rem; }
.card > div.grid { display: grid; gap: .9rem 1rem; }
@media (min-width: 700px) { .card > div.grid { grid-template-columns: 1fr 1fr; } .card > div.grid .full { grid-column: 1 / -1; } }

/* waiting for bank transfers */
.transfers .rows li { flex-wrap: wrap; }
.transfers .rows form { margin: 0; }

/* Delete a business: tucked away, opens to its own full-width box under the row's buttons. */
.lo-delete { flex-basis: 100%; }
.lo-delete[open] > form { margin-top: .6rem; padding: .8rem; border-radius: 10px; box-shadow: inset 0 0 0 1.5px #efc9c6; background: var(--card); }
.lo-delete .field { margin-bottom: .6rem; }
