/* Damada Café: concrete wall, logo ink, bean brown, café-front yellow, a little plant green */
:root {
  --wall: #E2E0DB; --wall2: #ECEBE7; --paper: #F6F5F2;
  --ink: #1F1E1C; --ink2: #4A4844; --mute: #6E6B65;
  --bean: #6B4226; --sun: #E9C24A; --sun2: #F3DC8C; --leaf: #4F624A;
  --line: rgba(31, 30, 28, .16);
  --slab: 'Zilla Slab', Georgia, serif; --sans: 'Figtree', system-ui, sans-serif;
  --r: 14px; --w: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--wall); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--bean); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--mute); }
.small { font-size: .88rem; }

/* sample strip */
.sample { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: baseline; padding: 7px 16px; background: var(--ink); color: var(--wall2); font-size: .82rem; text-align: center; }
.sample b { color: var(--sun); letter-spacing: .04em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; }
.btn.go { background: var(--sun); border-color: var(--sun); }
.btn.go:hover { background: #E3B733; border-color: #E3B733; }
.btn.dark { background: var(--ink); color: var(--wall2); }
.btn.quiet { border-color: var(--line); }
.btn:disabled { opacity: .55; cursor: default; }

/* table QR strip */
.tablebar { margin: 0; padding: 10px 20px; background: var(--sun2); text-align: center; font-size: .95rem; }
.tablebar button { border: 0; background: none; text-decoration: underline; font: inherit; cursor: pointer; color: var(--ink2); margin-left: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(226, 224, 219, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand { gap: 10px; }
.brand img { height: 46px; width: auto; }
.brand .wm { height: 36px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 0; }
.nav a:hover { color: var(--bean); }
.top .btn { min-height: 42px; padding: 0 18px; }
.top .btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: var(--sun); font-size: .8rem; }
@media (max-width: 720px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* hero: the sunrise from the logo, drawn in ink over the café's real sign */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.rise { display: block; width: 104px; height: auto; margin-bottom: 14px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.rise path { stroke-dasharray: 140; stroke-dashoffset: 140; animation: rise 1.4s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.rise path:last-child { animation-delay: .9s; animation-duration: .8s; }
@keyframes rise { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rise path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 820px) { .rise { width: 80px; margin-bottom: 10px; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-weight: 600; }
.hero .lead { font-size: 1.15rem; max-width: 30ch; margin-top: 18px; color: var(--ink2); }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--wall2); font-weight: 600; font-size: .95rem; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); }
.status.on i { background: var(--leaf); box-shadow: 0 0 0 4px rgba(79, 98, 74, .18); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sky .ph { display: block; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: var(--r); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 28px; } .hero { padding-top: 28px; } }

/* sections */
section { padding: 64px 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-h h2 { font-size: clamp(2rem, 5vw, 3rem); }

/* photo strip */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 10px; padding: 0 10px; }
.strip img { width: 100%; height: 260px; object-fit: cover; border-radius: 10px; }
@media (max-width: 720px) { .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; } .strip img { flex: 0 0 72%; height: 220px; scroll-snap-align: start; } }

/* best-sellers: three, not identical cards */
.best { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px 28px; align-items: end; }
.bs { display: grid; gap: 12px; }
.bs:first-child { grid-row: span 2; }
.bs img { width: 100%; object-fit: cover; border-radius: var(--r); aspect-ratio: 4 / 3; }
.bs:first-child img { aspect-ratio: 4 / 4.3; }
.bs:not(:first-child) { grid-template-columns: 42% 1fr; align-items: center; }
.bs:not(:first-child) img { aspect-ratio: 1; }
.bs h3 { font-size: 1.7rem; }
.bs p { color: var(--ink2); margin-top: 4px; }
.bs .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.bs .adds { grid: none; }
.bs .pr { font-weight: 700; }
@media (max-width: 720px) { .best { grid-template-columns: 1fr; } .bs:first-child { grid-row: auto; } .bs:first-child img { aspect-ratio: 4 / 3; } }

/* about */
.about { background: var(--wall2); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about h2 { font-size: clamp(2rem, 5vw, 3rem); max-width: 14ch; }
.about p { margin-top: 18px; max-width: 46ch; color: var(--ink2); font-size: 1.06rem; }
.about img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .about .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* menu board */
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cats button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font: 600 .98rem var(--sans); color: var(--ink); cursor: pointer; }
.cats button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--wall2); }
.board { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.board li { break-inside: avoid; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.board .nm { font-family: var(--slab); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.board .ds { grid-column: 1; color: var(--mute); font-size: .92rem; }
.board .pr { font-weight: 700; grid-row: 1; grid-column: 2; justify-self: end; }
.adds { grid-row: 1 / span 2; grid-column: 3; display: flex; gap: 6px; }
.add { min-width: 58px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.add:hover { background: var(--sun); border-color: var(--sun); }
.stp { display: inline-flex; align-items: center; }
.stp.on .add, .stp.on .chip { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.sub { height: 40px; min-width: 34px; padding: 0 8px; border: 1.5px solid var(--ink); border-right: 0; border-radius: 999px 0 0 999px; background: var(--paper); font: 600 1.15rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.sub:hover { background: var(--wall2); }
.addons .sub { height: 38px; }
.add.has { background: var(--ink); color: var(--wall2); }
.add b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 2px; border-radius: 10px; background: var(--sun); color: var(--ink); font-size: .78rem; }
.star { color: var(--bean); font-size: .85em; }
.board li.out .nm, .board li.out .pr { color: var(--mute); }
.board li.out .tag { grid-row: 1 / span 2; grid-column: 3; font-size: .8rem; font-weight: 700; color: var(--bean); }
.board li.grp { display: block; padding: 22px 0 4px; border: 0; font-family: var(--slab); font-weight: 700; font-size: 1.05rem; color: var(--bean); break-after: avoid; }
.board li.grp:first-child { padding-top: 0; }
.board .pr small { font-family: var(--sans); font-weight: 600; font-size: .78rem; color: var(--mute); }
.addons { margin-top: 26px; padding-top: 16px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; }
.addons p { font-family: var(--slab); font-weight: 700; font-size: 1.2rem; }
.addons > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.chip span { color: var(--mute); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.has { border-color: var(--ink); background: var(--ink); color: var(--wall2); }
.chip.has span { color: var(--sun2); }
.chip b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 2px; border-radius: 10px; background: var(--sun); color: var(--ink); font-size: .78rem; }
.flv { grid-column: 1 / -1; display: grid; gap: 12px; padding: 12px 0 4px; }
.fl { display: flex; flex-wrap: wrap; gap: 8px; }
.fh { font-weight: 700; font-size: .9rem; margin: 2px 0 -4px; }
.fadd { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.fadd .fa { margin: 0; color: var(--ink2); font-weight: 600; }
.more { border: 0; background: none; padding: 0; color: var(--bean); font: 600 .9rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chip.ad.on { background: var(--sun2); }
.chip.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--wall2); }
.board li.op { background: var(--wall2); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; }
.note { margin-top: 18px; color: var(--mute); font-size: .9rem; }
@media (max-width: 720px) { .board { columns: 1; } }
@media (max-width: 520px) { .board li { grid-template-columns: 1fr auto; padding: 12px 0; } .board .pr { grid-column: 2; } .adds { grid-row: 2; grid-column: 2; align-self: end; } .board .ds { grid-row: 2; padding-right: 4px; } .board li.out .tag { grid-row: 2; grid-column: 2; } .add { min-width: 0; padding: 0 11px; height: 36px; } .sub { height: 36px; min-width: 32px; } .board li.nd { grid-template-columns: 1fr auto auto; align-items: center; } .board li.nd .adds { grid-row: 1; grid-column: 3; align-self: center; } }

/* events band */
.ev { background: var(--ink); color: var(--wall2); }
.ev .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.ev img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ev .kb { font-family: var(--slab); font-size: 1.15rem; color: var(--sun); }
.ev h2 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); margin-top: 8px; }
.ev p { margin-top: 16px; max-width: 44ch; color: #CFCCC5; font-size: 1.06rem; }
.ev .btn { margin-top: 26px; }
@media (max-width: 820px) { .ev .wrap { grid-template-columns: 1fr; gap: 28px; } .ev img { aspect-ratio: 4 / 3; } }

/* reviews */
.say { background: var(--wall2); }
.say .rate { color: var(--ink2); font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-bottom: 30px; }
.qt { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; }
.qt .st { color: var(--bean); letter-spacing: .1em; font-size: 1.05rem; }
.qt .st span { color: var(--line); }
.qt blockquote { margin: 12px 0 14px; font-family: var(--slab); font-weight: 600; font-size: 1.3rem; line-height: 1.35; flex: 1; }
.qt figcaption { font-weight: 600; color: var(--ink2); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; gap: 28px; } }

/* find us */
.find .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.find h2 { font-size: clamp(2rem, 5vw, 3rem); }
.find dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.find dt { font-weight: 700; }
.find dd { margin: 0; color: var(--ink2); }
.find img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .find .wrap { grid-template-columns: 1fr; gap: 28px; } }

footer { padding: 36px 0 110px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* cart bar */
.cartbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--ink); color: var(--wall2); box-shadow: 0 10px 30px rgba(31, 30, 28, .25); }
.cartbar[hidden] { display: none; }
.cartbar span { flex: 1; font-weight: 600; }
.cartbar .btn { min-height: 44px; }

/* simple pages: checkout, order, events form, owner */
.page { max-width: 640px; margin: 0 auto; padding: 28px 20px 80px; }
.page h1 { font-size: clamp(2.2rem, 7vw, 3rem); margin: 10px 0 18px; }
.page h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.back { display: inline-block; margin-top: 4px; font-weight: 600; text-decoration: none; color: var(--ink2); }
.q { margin-top: 16px; }
.q h2 { margin-top: 30px; }
label.f { display: block; font-weight: 600; margin-bottom: 6px; }
label.f small { font-weight: 400; color: var(--mute); }
.t { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font: 400 1rem var(--sans); color: var(--ink); }
textarea.t { min-height: 96px; resize: vertical; }
.t:focus { outline: none; border-color: var(--ink); }
.choices { display: grid; gap: 8px; }
.choices label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; cursor: pointer; }
.choices label:has(input:checked) { border-color: var(--ink); background: var(--wall2); }
.choices input { width: 20px; height: 20px; accent-color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.bad .t, .bad .choices label { border-color: #B4462E; }
.err { color: #A33B24; font-weight: 600; font-size: .92rem; margin-top: 6px; }
.formerr { padding: 12px 14px; border-radius: 10px; background: #F4DDD6; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lines .nm { font-weight: 600; }
.lines .nm small { display: block; font-weight: 400; color: var(--mute); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font: 600 1.2rem var(--sans); cursor: pointer; color: var(--ink); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.rm { border: 0; background: none; color: var(--mute); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.sum { display: flex; justify-content: space-between; padding: 14px 0; font-weight: 700; font-size: 1.15rem; }
.qr { display: grid; justify-items: center; gap: 10px; padding: 18px; margin-bottom: 14px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--line); }
.qr .code { width: 220px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; text-align: center; padding: 20px; background: repeating-linear-gradient(45deg, var(--wall2) 0 10px, var(--paper) 10px 20px); border: 2px dashed var(--line); color: var(--mute); font-weight: 600; }
.qr .gq { width: min(260px, 100%); height: auto; border-radius: 10px; }
.proof img { max-height: 260px; width: auto; margin-top: 10px; border-radius: 10px; }
.place { width: 100%; margin-top: 24px; min-height: 54px; font-size: 1.08rem; }
.stack { display: grid; gap: 10px; margin: 20px 0; }
.ordno { font-family: var(--slab); font-weight: 700; font-size: 3rem; margin: 4px 0 12px; }
.keep { text-transform: none; }

/* events page */
.evhero { padding: 40px 0 24px; }
.evhero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.evhero .kb { font-family: var(--slab); font-size: 1.3rem; color: var(--bean); font-weight: 600; }
.evhero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); margin-top: 6px; }
.evhero p { margin-top: 18px; font-size: 1.12rem; max-width: 38ch; color: var(--ink2); }
.evfig { margin: 0; }
.evfig figcaption { margin-top: 8px; font-weight: 600; font-size: .95rem; color: var(--ink2); }
.evhero img { border-radius: var(--r); aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 50%; width: 100%; }
@media (max-width: 820px) { .evhero .wrap { grid-template-columns: 1fr; } .evfig { margin: 0; }
.evfig figcaption { margin-top: 8px; font-weight: 600; font-size: .95rem; color: var(--ink2); }
.evhero img { aspect-ratio: 4 / 3; } }
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.past figure { margin: 0; }
.past img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.past figcaption { margin-top: 8px; font-weight: 600; font-size: .95rem; }
.pkwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pkt { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 1.05rem; }
.pkt th { text-align: right; padding: 14px 0 10px 12px; font-weight: 600; vertical-align: bottom; }
.pkt th small { display: block; font-weight: 400; color: var(--mute); font-size: .82rem; }
.pkt th:first-child, .pkt td:first-child { text-align: left; padding-left: 0; }
.pkt td { text-align: right; padding: 14px 0 14px 12px; border-top: 1px dashed var(--line); font-family: var(--slab); font-weight: 600; font-size: 1.3rem; }
.pkt td:first-child { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
.inc { font-size: 1.5rem; padding-top: 14px; border-top: 2px solid var(--ink); }
.incl { margin: 12px 0 0; padding-left: 20px; color: var(--ink2); display: grid; gap: 6px; }
.est { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--sun); font-weight: 600; }
@media (max-width: 820px) { .pkwrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 720px) { .past { grid-template-columns: 1fr 1fr; } .past figure:first-child { grid-column: 1 / -1; } .past figure:first-child img { aspect-ratio: 4 / 3.4; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); font-family: var(--slab); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
.book { background: var(--wall2); }
.book .page { padding-top: 0; padding-bottom: 0; }
.done { padding: 22px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--leaf); }
.done h2 { margin-top: 0; }

/* good to know (FAQ) */
.faqp { padding-top: 32px; }
.faqp h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: 26px; }
.faql { max-width: 760px; border-top: 2px solid var(--ink); margin-bottom: 30px; }
.qa { border-bottom: 1px dashed var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--slab); font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--bean); }
.qa[open] summary::after { content: '−'; }
.qa > div { padding: 0 0 20px; max-width: 62ch; color: var(--ink2); }
.qa .btn { margin-top: 12px; min-height: 40px; }

/* owner page */
.owner { max-width: 980px; margin: 0 auto; padding: 18px 20px 80px; }
.owner .hd { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.owner .hd h1 { font-size: 1.8rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 18px 0; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 46px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: none; font: 600 1rem var(--sans); color: var(--mute); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--sun); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chips button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 600 .92rem var(--sans); cursor: pointer; color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--wall2); border-color: var(--ink); }
.card { background: var(--paper); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; border: 1px solid var(--line); }
.card .ch { display: flex; justify-content: space-between; gap: 10px; font-family: var(--slab); font-weight: 700; font-size: 1.25rem; }
.card .ch span { font-family: var(--sans); font-weight: 400; font-size: .9rem; color: var(--mute); }
.card dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; margin: 12px 0 0; }
.card dt { color: var(--mute); }
.card dd { margin: 0; overflow-wrap: anywhere; }
.card .acts { margin-top: 14px; }
.card .acts .btn { min-height: 42px; }
.empty { padding: 24px; text-align: center; color: var(--mute); background: var(--paper); border-radius: var(--r); }
.secthd { font-size: 1.4rem; margin: 26px 0 8px; }
.mrow { display: grid; grid-template-columns: 1.6fr 2fr 110px; gap: 8px 12px; align-items: end; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mrow .lab { display: block; font-size: .8rem; color: var(--mute); margin-bottom: 3px; }
.mrow .tg { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .95rem; }
.mrow .tg label { display: inline-flex; gap: 6px; align-items: center; }
.mrow .t { min-height: 42px; padding: 8px 10px; }
@media (max-width: 620px) { .mrow { grid-template-columns: 1fr 110px; } .mrow > label:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }
.addrow { margin-top: 12px; }
.secs { margin: 6px 0 10px; padding: 12px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.secs summary { cursor: pointer; font-weight: 700; }
.fx { flex-basis: 100%; }
.fx summary { cursor: pointer; font-weight: 600; }
.fx textarea { margin-top: 6px; min-height: 0; }
.rates { width: 100%; border-collapse: collapse; margin-top: 18px; }
.rates th { text-align: left; font-size: .85rem; color: var(--mute); font-weight: 600; padding: 0 6px 6px 0; }
.rates td { padding: 4px 6px 4px 0; }
.rates .t { min-height: 42px; padding: 8px 10px; }
.pk-with .n, .pk-with td:nth-child(4), .pk-with td:nth-child(5), .pk-no .w, .pk-no td:nth-child(2), .pk-no td:nth-child(3) { display: none; }
.prow { display: grid; grid-template-columns: 1fr 1fr 140px; gap: 10px 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.prow .lab { display: block; font-size: .8rem; color: var(--mute); margin-bottom: 3px; }
.prow .wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .rates { width: 100%; border-collapse: collapse; margin-top: 18px; }
.rates th { text-align: left; font-size: .85rem; color: var(--mute); font-weight: 600; padding: 0 6px 6px 0; }
.rates td { padding: 4px 6px 4px 0; }
.rates .t { min-height: 42px; padding: 8px 10px; }
.pk-with .n, .pk-with td:nth-child(4), .pk-with td:nth-child(5), .pk-no .w, .pk-no td:nth-child(2), .pk-no td:nth-child(3) { display: none; }
.prow { grid-template-columns: 1fr; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center; padding: 12px 22px; border-radius: 14px; background: var(--ink); color: var(--wall2); font-weight: 600; z-index: 40; }
.toast[hidden] { display: none; }
.switch { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; margin-top: 14px; }
.switch input { width: 22px; height: 22px; accent-color: var(--ink); }
.ownerbar { font-size: .9rem; }
[hidden] { display: none !important; }
.owner section { padding: 0; }
.board li .flv .adds { grid-row: auto; grid-column: auto; justify-content: flex-end; align-self: auto; }
