:root {
  --brand: #17624f; --brand-d: #0f4a3b; --brand-l: #e6f2ee; --brand-m: #cfe6de;
  --ink: #17201d; --ink-2: #3c4743; --muted: #6b7672; --line: #e3e8e6; --line-2: #eef2f0;
  --bg: #f5f7f6; --card: #fff;
  --amber: #a15c00; --amber-l: #fff4e0; --red: #b42318; --red-l: #fdecea; --blue: #2457a6; --blue-l: #e8effb;
  --wa: #1d9e52; --radius: 16px; --shadow: 0 1px 2px rgba(16, 24, 20, .06), 0 1px 1px rgba(16, 24, 20, .03);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); padding-bottom: calc(78px + var(--safe-b));
}
body.noscroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 6px 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }
.ic.sm { width: 15px; height: 15px; vertical-align: -2px; }
.ic.xl { width: 44px; height: 44px; stroke-width: 1.4; color: var(--brand); }
.muted, .ic.muted { color: var(--muted); }

/* ---------- top bar ---------- */
#top {
  position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); padding: calc(8px + var(--safe-t)) 10px 8px; display: flex; align-items: center; gap: 6px; min-height: 58px;
}
.bar-side { min-width: 44px; display: flex; gap: 4px; }
.bar-side.right { justify-content: flex-end; }
.bar-title { flex: 1; text-align: center; min-width: 0; }
.bar-title h1 { font-size: 1.12rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title .sub { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
main { max-width: 720px; margin: 0 auto; padding: 10px 14px 28px; }

/* ---------- tab bar ---------- */
#tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
#tabs button { flex: 1; border: 0; background: none; padding: 8px 0 7px; font-size: .7rem; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 3px; }
#tabs button .ic { width: 23px; height: 23px; }
#tabs button.on { color: var(--brand); }
#tabs button.on .ic { stroke-width: 2.2; }

/* ---------- building blocks ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 14px; margin: 10px 0; box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.center { justify-content: center; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.small { font-size: .86rem; }
.right { text-align: right; }
.center { text-align: center; }
.pad { padding: 10px 2px 4px; margin: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ok { color: var(--brand); font-weight: 600; }
.warntext, .bad { color: var(--red); font-weight: 600; }
.section { display: flex; align-items: center; justify-content: space-between; margin: 22px 4px 4px; gap: 10px; }
.section h2 { font-size: .8rem; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.section h2 .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
h4 { font-size: .95rem; margin: 18px 0 6px; }

.btn {
  border: 0; border-radius: 12px; padding: 10px 16px; background: var(--brand); color: #fff; font-weight: 650; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; text-decoration: none; min-height: 46px; line-height: 1.2; transition: transform .06s, background .15s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn:hover { background: var(--brand-d); }
.btn.grow { flex: 1; }
.btn.ghost { background: var(--brand-l); color: var(--brand); }
.btn.plain { background: #eef1f0; color: var(--ink); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger.subtle { background: transparent; color: var(--red); border: 1px solid #f2c9c4; margin-top: 22px; }
.btn.wa { background: var(--wa); }
.btn.block { width: 100%; margin-top: 10px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: .88rem; border-radius: 10px; }
.btn:disabled { opacity: .45; }
.linkbtn { background: none; border: 0; color: var(--brand); font-weight: 650; padding: 6px 2px; display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; }
.iconbtn { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.iconbtn.soft { background: #eef1f0; }
.iconbtn:disabled { opacity: .3; }
.iconbtn:active { background: var(--line); }

.chip { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; font-weight: 650; padding: 3px 8px; border-radius: 99px; background: #eef1f0; color: var(--ink-2); white-space: nowrap; vertical-align: 1px; }
.chip.green { background: var(--brand-l); color: var(--brand); }
.chip.amber { background: var(--amber-l); color: var(--amber); }
.chip.red { background: var(--red-l); color: var(--red); }
.chip.blue { background: var(--blue-l); color: var(--blue); }
.flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.warn, .info, .note { display: flex; gap: 6px; align-items: flex-start; font-size: .84rem; padding: 8px 10px; border-radius: 10px; margin-top: 8px; }
.warn { background: var(--red-l); color: var(--red); }
.info { background: var(--blue-l); color: var(--blue); }
.note { background: #f1f4f3; color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 4px; }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stat { background: #fff; border-radius: 14px; padding: 10px 6px; text-align: center; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.stat span { font-size: .72rem; color: var(--muted); }

.list .item { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border: 0; border-bottom: 1px solid var(--line-2); background: none; width: 100%; text-align: left; }
.list .item:last-child, .list .item:has(+ p) { border-bottom: 0; }
.list .item.static { cursor: default; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-l); color: var(--brand); display: grid; place-items: center; font-weight: 700; flex: none; }
.avatar.soft { background: #eef1f0; color: var(--ink-2); }
.kv { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.notes { background: #f6f8f7; padding: 10px; border-radius: 10px; font-size: .9rem; white-space: pre-wrap; }

.empty { text-align: center; padding: 34px 16px; }
.empty h3 { margin: 10px 0 4px; font-size: 1.1rem; }
.empty p { color: var(--muted); max-width: 400px; margin: 0 auto 16px; }

/* ---------- date bar & segmented ---------- */
.datebar { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.datepick { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 42px; font-weight: 650; padding: 0 10px; }
.datepick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.datepick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.backtoday { margin: 4px auto 0; display: flex; }
.seg { display: flex; background: #e9eeec; border-radius: 12px; padding: 3px; gap: 3px; margin: 12px 0 2px; }
.seg button, .seg label { flex: 1; border: 0; background: none; border-radius: 9px; padding: 8px 6px; font-weight: 650; font-size: .88rem; color: var(--ink-2); text-align: center; cursor: pointer; }
.seg button.on, .seg label:has(input:checked) { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.seg input { display: none; }
.seg.two { margin-top: 14px; }

/* ---------- setup guide ---------- */
.setup { border: 1px solid var(--brand-m); background: linear-gradient(180deg, #f3faf7, #fff); }
.setup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.steps li.done b { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.stepdot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #eef1f0; color: var(--muted); flex: none; }
.steps li.done .stepdot { background: var(--brand); color: #fff; }
.steps li.next .stepdot { background: var(--brand-l); color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }

/* ---------- walk cards (Today) ---------- */
.walkcard { padding: 0; overflow: hidden; }
.wc-head { display: flex; align-items: center; gap: 12px; padding: 14px 8px 10px 14px; }
.wc-head h3, .slotcard h3 { font-size: 1.02rem; }
.wc-time { font-weight: 750; font-size: 1.15rem; font-variant-numeric: tabular-nums; min-width: 58px; line-height: 1.1; }
.wc-time small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.walkcard .warn, .walkcard .info { margin: 0 14px 8px; }
.walkcard.s-done { border-left: 4px solid var(--brand); }
.walkcard.s-out { border-left: 4px solid #d98a00; }
.walkcard.s-cancelled { opacity: .7; }
.stops { list-style: none; margin: 0; padding: 0 8px 0 14px; position: relative; }
.stop { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.stop-time { width: 46px; flex: none; font-variant-numeric: tabular-nums; font-size: .9rem; padding-top: 1px; }
.stop-time .est { color: var(--muted); }
.stop-name { line-height: 1.3; }
.stop .line { display: flex; gap: 5px; align-items: flex-start; margin-top: 3px; }
.stop.s-done .stop-name b, .stop.s-collected .stop-name b { color: var(--brand-d); }
.stop.s-cancelled, .stop.s-away { opacity: .6; }
.stop.s-cancelled .stop-name b { text-decoration: line-through; }
.stop.leg { color: var(--muted); font-size: .88rem; align-items: center; padding: 8px 0; }
.stop.leg .stop-time { color: var(--muted); }
.tick { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #c9d3cf; background: #fff; color: transparent; display: grid; place-items: center; flex: none; }
.tick .ic { width: 22px; height: 22px; stroke-width: 2.6; }
.tick.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tick:active { transform: scale(.94); }
.wc-actions { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line-2); background: #fafbfb; }

/* ---------- schedule ---------- */
.daychips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 6px 0 10px; }
.daychip { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 0; font-weight: 700; font-size: .85rem; display: flex; flex-direction: column; align-items: center; }
.daychip small { font-weight: 500; font-size: .66rem; color: var(--muted); }
.daychip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.daychip.on small { color: #d7efe6; }
.daychips.compact { margin-top: 14px; }
.slotcard { display: block; width: 100%; text-align: left; }
.cap { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .82rem; font-weight: 650; color: var(--ink-2); }
.capbar { flex: 1; height: 8px; background: #edf1ef; border-radius: 99px; overflow: hidden; }
.capbar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.capbar.over i { background: var(--red); }
.dogline { margin-top: 6px; color: var(--ink-2); }
.order { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: 14px; border: 1px solid var(--line-2); }
.order li { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-bottom: 1px solid var(--line-2); }
.order li:last-child { border-bottom: 0; }
.order .est { width: 44px; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; }
.linkish { border: 0; background: none; text-align: left; padding: 2px 0; }

/* ---------- clients ---------- */
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; min-height: 46px; color: var(--muted); }
.search input { border: 0; outline: 0; flex: 1; min-width: 0; background: none; color: var(--ink); padding: 10px 0; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin-top: 6px; }
.qbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; color: var(--brand); text-decoration: none; font-size: .78rem; font-weight: 650; box-shadow: var(--shadow); }

/* ---------- forms ---------- */
label.f { display: block; margin: 14px 0 0; font-size: .84rem; color: var(--ink-2); font-weight: 650; }
label.f input, label.f select, label.f textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid #d5dcd9; border-radius: 11px; background: #fff; font-weight: 400; color: var(--ink); font-size: 16px; min-height: 46px;
}
label.f input:focus, label.f select:focus, label.f textarea:focus, .search:focus-within { outline: 2px solid var(--brand-m); border-color: var(--brand); }
label.f textarea { min-height: 84px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d5dcd9; border-radius: 99px; background: #fff; font-size: .9rem; cursor: pointer; user-select: none; min-height: 40px; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks label:has(input:checked) { background: var(--brand-l); border-color: var(--brand); color: var(--brand-d); font-weight: 650; }
.checks label:has(input:focus-visible) { outline: 2px solid var(--brand); }
.checks.days label { min-width: 54px; justify-content: center; }
.hint { font-size: .78rem; color: var(--muted); font-weight: 400; }
p.hint { margin: 6px 0 0; }
.dogrep { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 6px 12px 12px; margin: 14px 0 0; }
.dogrep legend { padding: 0 6px; margin-left: -6px; }
.photo-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed #c5d0cc; border-radius: 12px; padding: 13px; margin-top: 12px; color: var(--ink-2); font-weight: 650; cursor: pointer; background: #fff; }
.photo-btn input { display: none; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.thumbs img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; }
.stickybar { position: sticky; bottom: calc(-20px - var(--safe-b)); background: linear-gradient(180deg, rgba(245, 247, 246, 0), var(--bg) 22%); padding: 14px 0 4px; margin-top: 6px; }

/* ---------- sheets ---------- */
#sheet { position: fixed; inset: 0; z-index: 20; background: rgba(12, 20, 17, .42); display: flex; align-items: flex-end; justify-content: center; }
#sheet[hidden] { display: none; }
.sheet-card {
  background: var(--bg); width: 100%; max-width: 640px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(20px + var(--safe-b)); animation: up .2s cubic-bezier(.2, .8, .3, 1);
}
.sheet-card::before { content: ''; display: block; width: 38px; height: 5px; border-radius: 9px; background: #cfd6d3; margin: 0 auto 8px; }
.sheet-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.sheet-head h3 { flex: 1; font-size: 1.15rem; }
.sheet-sub { color: var(--muted); font-size: .88rem; margin: 2px 0 10px; }
@keyframes up { from { transform: translateY(40px); } to { transform: none; } }
.menu { background: #fff; border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; }
.menu .note { margin: 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-bottom: 1px solid var(--line-2); background: none; text-align: left; color: var(--ink); text-decoration: none; font-size: .97rem; }
.menu-item:last-child { border-bottom: 0; }
.menu-item .ic { color: var(--brand); }
.menu-item:active { background: #f3f6f5; }
.menu-sep { height: 8px; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.help details { background: #fff; border-radius: 14px; border: 1px solid var(--line-2); margin-top: 8px; }
.help summary { padding: 14px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.help summary::after { content: '+'; color: var(--brand); font-size: 1.2rem; line-height: 1; }
.help details[open] summary::after { content: '–'; }
.help details > div { padding: 0 14px 12px; font-size: .93rem; color: var(--ink-2); }
.help li { margin: 6px 0; }
.preview summary { color: var(--brand); font-weight: 650; padding: 12px 0 4px; cursor: pointer; }
.preview pre { white-space: pre-wrap; font: inherit; font-size: .9rem; background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line-2); }

/* ---------- invoices ---------- */
table.inv { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.inv td, table.inv th { padding: 7px 4px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
table.inv th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.inv td:first-child { white-space: nowrap; }
table.inv td:last-child, table.inv th:last-child { text-align: right; white-space: nowrap; }
table.inv tfoot td { font-weight: 750; border-bottom: 0; font-size: 1.05rem; padding-top: 10px; }
.invoice { background: #fff; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line-2); }
.inv-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--brand); }
.inv-label { font-size: .72rem; letter-spacing: .14em; color: var(--brand); font-weight: 800; }
.invoice .pay { margin-top: 14px; padding: 12px; background: var(--bg); border-radius: 10px; font-size: .9rem; }
.paidstamp { color: var(--brand); font-weight: 800; letter-spacing: .1em; border: 2px solid var(--brand); display: inline-block; padding: 4px 10px; border-radius: 8px; transform: rotate(-3deg); }
.rm { border: 0; background: var(--red-l); color: var(--red); border-radius: 6px; width: 22px; height: 22px; display: inline-grid; place-items: center; vertical-align: middle; margin-left: 4px; }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(88px + var(--safe-b)); transform: translateX(-50%) translateY(16px); background: #1d2623; color: #fff; display: flex; align-items: center; gap: 14px;
  padding: 11px 16px; border-radius: 14px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 30; width: max-content; max-width: calc(100vw - 28px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.show.has-btn { pointer-events: auto; }
#toast button { border: 0; background: none; color: #8fe0bf; font-weight: 750; padding: 4px 2px; }

#print { display: none; }
@media print {
  body { background: #fff; padding: 0; }
  body.printing > *:not(#print) { display: none !important; }
  body.printing #print { display: block; }
  #print .invoice { border: 0; padding: 0; }
  .noprint { display: none !important; }
}
@media (min-width: 640px) {
  #sheet { align-items: center; }
  .sheet-card { border-radius: 20px; }
  .sheet-card::before { display: none; }
}
@media (max-width: 370px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr 1fr; }
}

/* ---------- sync, inbox, owner pages ---------- */
.ic.lg { width: 34px; height: 34px; color: var(--brand); stroke-width: 1.6; }
.syncbtn { position: relative; }
.syncbtn::after { content: ''; position: absolute; right: 7px; bottom: 8px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #fff; background: #9aa5a1; }
.syncbtn.s-ok::after { background: #1f9d63; }
.syncbtn.s-busy::after, .syncbtn.s-idle::after { background: #e0a100; }
.syncbtn.s-offline::after { background: #9aa5a1; }
.syncbtn.s-error::after, .syncbtn.s-signedout::after { background: var(--red); }
.syncline { display: flex; align-items: center; gap: 8px; color: var(--ink-2); margin: 10px 0 0; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa5a1; flex: none; }
.dot.s-ok { background: #1f9d63; } .dot.s-busy, .dot.s-idle { background: #e0a100; } .dot.s-error, .dot.s-signedout { background: var(--red); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.iconbtn { position: relative; }
.reqbanner { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid #f2c9c4; background: #fff8f7; color: var(--ink); }
.reqbanner > .ic { color: var(--red); }
.req.new { border-color: var(--brand-m); }
.reqacts { margin-top: 10px; gap: 6px; }
.syncpromo { border: 1px solid var(--brand-m); background: linear-gradient(180deg, #f3faf7, #fff); }
.codebox { font: 700 1.5rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-align: center; padding: 18px; background: #fff; border: 2px dashed var(--brand-m); border-radius: 14px; margin: 14px 0 4px; color: var(--brand-d); word-break: break-all; }
.linkbox { display: flex; align-items: center; gap: 8px; background: #f3f6f5; border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--ink-2); }
.tip { border: 1px solid var(--brand-m); background: linear-gradient(180deg, #f3faf7, #fff); }
.tip .row.wrap { margin-top: 8px; gap: 8px; }
