:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1d1b17;
  --ink-2: #5c574c;
  --line: #e4e0d6;
  --accent: #b5421b;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9e1;
  --ok: #1f6f4a;
  --ok-soft: #e3f3ea;
  --warn: #8a5a00;
  --warn-soft: #fff1cf;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -12px rgba(0,0,0,.18);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.45; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5rem; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.mono { font-variant-numeric: tabular-nums; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .inner { max-width: 1120px; margin: 0 auto; padding: .65rem 1rem; display: flex; align-items: center; gap: 1rem; }
.brand { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.brand span { color: var(--accent); }
.topbar form { flex: 1; display: flex; gap: .5rem; }
.topbar input[type=search] { flex: 1; }
.topbar nav { display: flex; gap: .9rem; align-items: center; white-space: nowrap; }
.topbar nav a { color: var(--ink); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: var(--line); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.badge.live { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.count { background: var(--accent); color: #fff; }

main { max-width: 1120px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.flash { padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; background: var(--ok-soft); color: var(--ok); border: 1px solid #bfe0cb; }
.flash.error { background: var(--accent-soft); color: var(--accent); border-color: #f0c7b8; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.grid { display: grid; gap: 1rem; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.two { grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 820px) { .grid.two { grid-template-columns: 1fr; } }

.listing-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.listing-card .photo { aspect-ratio: 4/3; background: #eee9df; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.listing-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card .body { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .35rem; }
.listing-card .title { font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card .price { font-size: 1.15rem; font-weight: 700; }
.listing-card .meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-2); }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.filters select, .filters label { font-size: .9rem; }
.filters.live { gap: .5rem 1.25rem; padding: .6rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.filters fieldset.chips { border: 0; padding: 0; margin: 0; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.filters fieldset.chips legend { float: left; padding: 0 .4rem 0 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 600; }
.chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .85rem .32rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .85rem; font-weight: 600; line-height: 1.2; user-select: none; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.chip span::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; border: 1.5px solid #c9c3b5; background: #fff; flex: none; transition: background .15s, border-color .15s; }
.chip:hover span { border-color: #c9c3b5; color: var(--ink); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.seg-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; margin-right: .35rem; }
.seg-btn { font: inherit; font-size: .85rem; font-weight: 600; line-height: 1.2; padding: .34rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; margin: 0; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .1s; }
.seg-btn:hover { border-color: #c9c3b5; color: var(--ink); background: var(--bg); }
.seg-btn:active { transform: translateY(1px); }
.seg-btn.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .10), 0 0 0 3px var(--accent-soft); }
.seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters .seg-label, .filters fieldset.chips legend { min-width: 2.6rem; }
html.js .filters .apply { display: none; }
#results { transition: opacity .15s; }
#results.loading { opacity: .45; pointer-events: none; }
.result-line { margin: 0 0 .6rem; }

form.stack { display: flex; flex-direction: column; gap: .75rem; }
label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink-2); margin-bottom: .25rem; }
label.inline { display: inline-flex; gap: .4rem; align-items: center; font-weight: 500; margin: 0; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=url],
input[type=datetime-local], select, textarea {
  width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #f3c9b8; border-color: var(--accent); }
.row { display: flex; gap: .75rem; }
.row > * { flex: 1; }
.help { font-size: .8rem; color: var(--ink-2); margin-top: .2rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; margin: 0; }
legend { font-weight: 600; padding: 0 .4rem; }

.btn { display: inline-block; padding: .55rem 1rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { border-color: #c9c3b5; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #9e3814; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.small { padding: .3rem .6rem; font-size: .85rem; }
.btn.link { border: none; background: none; color: var(--accent); padding: 0; font-weight: 500; }
.btn.block { width: 100%; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

.pricebox { position: sticky; top: 4.5rem; }
.pricebox .big { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.pricebox .meta { display: flex; justify-content: space-between; gap: 1rem; margin: .5rem 0 .9rem; color: var(--ink-2); font-size: .9rem; }
.pricebox hr { border: 0; border-top: 1px solid var(--line); margin: .9rem 0; }
.countdown.soon { color: var(--accent); font-weight: 700; }

.gallery .main { aspect-ratio: 4/3; background: #eee9df; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.gallery .thumbs { display: flex; gap: .4rem; margin-top: .4rem; }
.gallery .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-2); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
tr.retracted td { text-decoration: line-through; color: var(--ink-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; flex-wrap: wrap; }
.tabs a { padding: .55rem .9rem; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.tabs a:hover { text-decoration: none; color: var(--ink); }

.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; margin-bottom: .6rem; background: #fff; }
.offer .head { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.offer .amount { font-weight: 700; font-size: 1.05rem; }
.offer form { margin-top: .5rem; }
.inline-form { display: inline; }
.notice { background: var(--warn-soft); color: var(--warn); border-radius: 8px; padding: .5rem .75rem; font-size: .9rem; }
.desc { white-space: pre-wrap; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1.5rem; }
footer { max-width: 1120px; margin: 0 auto; padding: 1rem; color: var(--ink-2); font-size: .85rem; border-top: 1px solid var(--line); }
.auth { max-width: 420px; margin: 2rem auto; }
.hidden { display: none; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; font-size: .92rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
pre.table { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }

/* ---------------------------------------------------------------- catalogue with right-hand menu */
.catalogue { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.side-menu { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 4.5rem; max-height: calc(100vh - 5rem); overflow: auto; }
.side-menu .card { padding: .8rem .85rem; }
.side-menu h3 { margin-bottom: .4rem; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: center; gap: .25rem; }
.menu li > a, .menu .row-item > a, .menu summary > a { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .35rem .5rem; border-radius: 6px; color: var(--ink); min-width: 0; }
.menu a:hover { background: var(--bg); text-decoration: none; }
.menu a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.menu .count { font-size: .72rem; color: var(--ink-2); background: var(--line); border-radius: 999px; padding: 0 .45rem; flex: none; }
.menu a.active .count { background: #fff; }
.menu.tree > li { display: block; }
.menu.tree details { width: 100%; }
.menu.tree summary { display: flex; align-items: center; gap: .25rem; cursor: pointer; list-style: none; }
.menu.tree summary::-webkit-details-marker { display: none; }
.menu.tree summary::before { content: "\203A"; display: inline-block; width: 1rem; text-align: center; color: var(--ink-2); transition: transform .15s; flex: none; }
.menu.tree details[open] > summary::before { transform: rotate(90deg); }
.menu.tree details > ul { list-style: none; margin: 0 0 .25rem 1rem; padding: 0 0 0 .5rem; border-left: 2px solid var(--line); }
.menu.tree details > ul li { display: flex; align-items: center; }
.menu .row-item { display: flex; align-items: center; width: 100%; padding-left: 1.25rem; }
.menu.tree details > ul .row-item { padding-left: 0; }
.menu .row-item > a, .menu.tree details > ul a { font-size: .92rem; }
button.follow { border: none; background: none; color: #b9b2a3; font-size: 1.05rem; line-height: 1; padding: .2rem .3rem; cursor: pointer; border-radius: 6px; flex: none; }
button.follow:hover { color: var(--accent); background: var(--accent-soft); }
button.follow.on { color: var(--accent); }
.feed-box { border-color: #f0c7b8; }
.crumb { color: var(--ink-2); font-weight: 500; }
h1 .inline-form { margin-left: .5rem; vertical-align: middle; }
@media (max-width: 900px) { .catalogue { grid-template-columns: 1fr; } .side-menu { position: static; max-height: none; } .side-menu .side-note { display: none; } }

/* ---------------------------------------------------------------- ratings */
.rating-badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); vertical-align: middle; }
.rating-badge.warn { background: var(--warn-soft); color: var(--warn); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; }
.stat { background: var(--bg); border-radius: 8px; padding: .6rem .7rem; text-align: center; }
.stat .n { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .n.ok { color: var(--ok); }
.stat .n.warn { color: var(--accent); }
.stat .l { font-size: .75rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }

/* ---------------------------------------------------------------- public profile */
.profile-head { display: flex; gap: 1.25rem; align-items: center; }
.profile-head .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.8rem; font-weight: 700; flex: none; }
.profile-head .who { flex: 1; }
.profile-head .who h1 { margin: 0; }
.profile-head .score { text-align: center; }
.profile-head .score .big { font-size: 2rem; font-weight: 700; color: var(--ok); line-height: 1; }
.mini-listing { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.mini-listing:last-child { border-bottom: 0; }
@media (max-width: 640px) { .profile-head { flex-wrap: wrap; } }

/* ---------------------------------------------------------------- message center: list | thread | item */
.msg-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr) 320px; gap: 1rem; align-items: start; }
.conv-list { padding: .75rem; max-height: calc(100vh - 7rem); overflow: auto; position: sticky; top: 4.5rem; }
.conv-list h2 { font-size: 1.1rem; margin: .2rem .3rem .6rem; }
.conv-item { display: flex; gap: .6rem; align-items: center; padding: .55rem .5rem; border-radius: 8px; color: var(--ink); }
.conv-item:hover { background: var(--bg); text-decoration: none; }
.conv-item.active { background: var(--accent-soft); }
.conv-item.closed .t { color: var(--ink-2); }
.conv-item .thumb { width: 44px; height: 44px; border-radius: 6px; background: #eee9df; overflow: hidden; flex: none; }
.conv-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.conv-item .text { flex: 1; min-width: 0; }
.conv-item .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: flex; flex-direction: column; min-height: 60vh; }
.thread-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
.bubbles { flex: 1; overflow: auto; max-height: 55vh; display: flex; flex-direction: column; gap: .5rem; padding: .25rem .1rem; }
.bubble { max-width: 78%; padding: .55rem .8rem; border-radius: 12px; background: var(--bg); font-size: .95rem; }
.bubble.mine { align-self: flex-end; background: var(--accent-soft); border-bottom-right-radius: 4px; }
.bubble.theirs { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.system { align-self: center; max-width: 92%; background: transparent; color: var(--ink-2); font-size: .85rem; text-align: center; border: 1px dashed var(--line); }
.bubble.terms { border-left: 3px solid var(--ok); }
.bubble .from { font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-bottom: .15rem; }
.bubble .body { white-space: pre-wrap; word-wrap: break-word; }
.bubble .when { font-size: .7rem; color: var(--ink-2); margin-top: .2rem; text-align: right; }
.proposal { margin-top: .75rem; padding: .7rem .9rem; border-radius: 8px; background: var(--ok-soft); border: 1px solid #bfe0cb; font-size: .92rem; }
.proposal .actions { margin-top: .5rem; }
.composer { display: flex; gap: .5rem; margin-top: .75rem; align-items: flex-end; }
.composer textarea { min-height: 2.6rem; flex: 1; }
.terms-form { margin-top: .75rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.terms-form summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.terms-form form { margin-top: .6rem; }
.deal-side .item-card .photo { aspect-ratio: 4/3; background: #eee9df; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--ink-2); margin-bottom: .5rem; }
.deal-side .item-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-side .item-card .title { font-weight: 600; }
.card.danger { border-color: #f0c7b8; }
.card.danger h3 { color: var(--accent); }
@media (max-width: 1000px) { .msg-layout { grid-template-columns: 1fr; } .conv-list { position: static; max-height: 40vh; } }

/* ---------------------------------------------------------------- thumbnails in account tables */
.thumb-cell { width: 56px; padding-right: 0 !important; }
.thumb { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 7px; background: #eee9df; overflow: hidden; flex: none; vertical-align: middle; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { width: 16px; height: 12px; border: 2px solid #d6cfc0; border-radius: 2px; display: block; }
a.thumb:hover { outline: 2px solid var(--accent-soft); }
.offer.with-thumb { display: flex; gap: .8rem; align-items: flex-start; }
.offer.with-thumb .offer-body { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- registration consent, legal page, share, outbox */
.consent { display: flex; flex-direction: column; gap: .5rem; padding: .75rem .85rem; background: var(--bg); border-radius: 8px; font-size: .9rem; }
.consent label.inline { display: flex; align-items: flex-start; gap: .55rem; font-weight: 500; line-height: 1.35; }
.consent label.inline > span { flex: 1 1 auto; min-width: 0; }
.consent label.inline a { white-space: nowrap; }
.consent input { margin: .2rem 0 0; flex: none; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.1rem; margin-top: 1.4rem; }
.legal p, .legal li { font-size: .95rem; }
.legal ul { padding-left: 1.2rem; }
details.share summary { cursor: pointer; font-weight: 600; color: var(--accent); }
/* ---------------------------------------------------------------- explanatory pages (how it works, features, guides, FAQ) */
.info { max-width: 880px; margin: 0 auto; }
.info h1 { margin-top: .4rem; }
.info h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.info h3 { font-size: 1rem; margin: 1rem 0 .3rem; }
.info p, .info li, .info td { font-size: .97rem; line-height: 1.55; }
.info .lead, .intro { font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.intro { max-width: 70ch; margin: 0 0 1rem; }
.info ul, .info ol { padding-left: 1.3rem; }
.info ol.steps li { margin: .35rem 0; }
.info table { margin: .5rem 0 1rem; }
.infonav { display: flex; flex-wrap: wrap; gap: .35rem .6rem; font-size: .88rem; margin-bottom: .6rem; }
.infonav a { padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.infonav a.on, .infonav a:hover { border-color: var(--accent); color: var(--accent); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; margin: .6rem 0 .4rem; }
.feature-grid > div { border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; background: var(--bg); }
.feature-grid h3 { margin: 0 0 .3rem; font-size: .98rem; }
.feature-grid p { margin: 0; font-size: .9rem; }
.faq-item { border-top: 1px solid var(--line); padding-top: .8rem; }
.faq-item h2 { font-size: 1.05rem; margin-top: .4rem; }
.cta { margin-top: 1.6rem; padding: .9rem 1rem; border-radius: 10px; background: var(--bg); display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.plan-picker .switches { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin: .4rem 0 .2rem; }
.switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg); }
.switch label { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .85rem; border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--muted); }
.switch label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .tag { font-size: .72rem; font-weight: 700; color: var(--accent); background: #fbe3d8; border-radius: 999px; padding: .1rem .45rem; }
.plan li.accent { color: var(--accent); }
.plan .price .amount[hidden] { display: none; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; margin: 1rem 0; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; background: #fff; display: flex; flex-direction: column; gap: .5rem; }
.plan.current { border-color: var(--accent); box-shadow: 0 0 0 2px #f3c9b8; }
.plan h2 { margin: 0; font-size: 1.25rem; }
.plan .price { font-size: 1.4rem; font-weight: 700; margin: 0; }
.plan ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; flex: 1; }
.plan form.row { flex-wrap: wrap; }
.notice.earlybird { border-left: 4px solid var(--accent); }
.notice.earlybird .btn { margin-left: .5rem; vertical-align: middle; }
.footnav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: center; margin-bottom: .5rem; }
details.mail-template { border-top: 1px solid var(--line); padding: .55rem 0; }
details.mail-template summary { cursor: pointer; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
details.mail-template textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.4; }
pre.mail-body { white-space: pre-wrap; font-family: inherit; font-size: .85rem; background: var(--bg); padding: .6rem .75rem; border-radius: 6px; margin: .4rem 0 0; max-width: 60ch; }
