/* Womark.online brand system
   Ink green + stone cream + gold. The chevron motif echoes the W mark. */

:root {
  --paper: #f5efe3;
  --surface: #fffaf0;
  --tint: #ece3d0;
  --ink: #13241d;
  --muted: #56655c;
  --line: rgba(19, 36, 29, .14);
  --green: #0e3b2c;
  --green-2: #17543f;
  --gold: #d8a23a;
  --gold-ink: #7d5608;
  --cream: #f5efe3;
  --shadow: 0 1px 2px rgba(19, 36, 29, .06), 0 12px 32px -12px rgba(19, 36, 29, .22);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cpath d='M0 4l10 12L20 4l10 12L40 4' fill='none' stroke='%23d8a23a' stroke-width='2.5'/%3E%3C/svg%3E");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1512; --surface: #12211b; --tint: #0f1c17; --ink: #f1ead9;
    --muted: #a3b3a8; --line: rgba(241, 234, 217, .15); --gold-ink: #e3b55a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1512; --surface: #12211b; --tint: #0f1c17; --ink: #f1ead9;
  --muted: #a3b3a8; --line: rgba(241, 234, 217, .15); --gold-ink: #e3b55a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-word { font: 600 22px/1 var(--display); letter-spacing: -.02em; }
.brand-word span { color: var(--gold-ink); font-weight: 400; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.bar-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--green); color: var(--cream); }
.btn-solid:hover { background: var(--green-2); }
.btn-gold { background: var(--gold); color: #1c1503; }
.btn-gold:hover { background: #e4b352; }
.btn-line { border-color: var(--line); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px;
}
h1 {
  font: 500 clamp(40px, 6vw, 72px)/1.02 var(--display); letter-spacing: -.035em;
  font-variation-settings: "opsz" 144; text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 400; color: var(--gold-ink); }
.lede { margin-top: 20px; max-width: 520px; font-size: 18px; color: var(--muted); }

.search {
  display: flex; align-items: stretch; gap: 6px; margin-top: 30px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.search-field { flex: 1.4; min-width: 0; display: flex; flex-direction: column; padding: 8px 14px; border-radius: 16px; }
.search-field:focus-within { background: var(--tint); }
.search-where { flex: 1; border-left: 1px solid var(--line); border-radius: 0 16px 16px 0; }
.search-field span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search-field input, .search-field select {
  width: 100%; border: 0; background: transparent; padding: 2px 0; font-size: 16px; outline: none;
}
.search .btn { height: auto; min-height: 52px; border-radius: 16px; padding: 0 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; font-size: 14px; font-weight: 500; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.chip small { opacity: .6; font-size: 12px; margin-left: 2px; }

.stats { display: flex; gap: 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.stats dt { font: 500 34px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 6px; font-size: 14px; color: var(--muted); }

.hero-panel {
  position: relative; min-height: 480px; border-radius: 32px; overflow: hidden;
  background: var(--green); color: var(--cream); padding: 40px 32px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; background: var(--chev) 0 0 / 40px 20px; opacity: .16;
  mask-image: linear-gradient(160deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 62%);
}
.hero-stack { position: relative; display: grid; gap: 14px; }
.mini {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px;
  background: #fffaf0; color: #13241d; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55);
}
.mini:nth-child(1) { transform: rotate(-2deg); margin-right: 28px; }
.mini:nth-child(2) { transform: rotate(1.2deg); margin-left: 28px; }
.mini:nth-child(3) { transform: rotate(-.8deg); margin-right: 12px; }
.mini div { min-width: 0; flex: 1; }
.mini strong { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini div span { font-size: 13px; color: #56655c; }
.mini .rating { color: #7d5608; }
.hero-tag { position: relative; font: italic 400 30px/1.1 var(--display); letter-spacing: -.02em; margin-top: 32px; }

.chevron-band { height: 20px; background: var(--green) var(--chev) center / 40px 20px repeat-x; }

/* Shared pieces */
.avatar {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px;
  font: 600 20px/1 var(--display);
  background: hsl(var(--h) 46% 88%); color: hsl(var(--h) 55% 22%);
}
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 600; }

.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 36px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
h2 { font: 500 clamp(30px, 4vw, 46px)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cat {
  position: relative; display: grid; gap: 4px; width: 100%; text-align: left; padding: 22px 20px 20px;
  background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.cat-no { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--gold-ink); }
.cat-name { font: 500 21px/1.2 var(--display); letter-spacing: -.01em; }
.cat-count { font-size: 13.5px; color: var(--muted); }
.cat-arrow { position: absolute; right: 18px; top: 18px; opacity: 0; transform: translateX(-6px); transition: .15s ease; }
.cat:hover { background: var(--green); color: var(--cream); }
.cat:hover .cat-no { color: var(--gold); }
.cat:hover .cat-count { color: rgba(245, 239, 227, .7); }
.cat:hover .cat-arrow { opacity: 1; transform: none; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-name { font: 500 21px/1.2 var(--display); letter-spacing: -.015em; margin-top: 4px; }
.card-desc {
  font-size: 14.5px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.place { font-size: 13.5px; color: var(--muted); }

.filters { display: flex; gap: 14px; flex-wrap: wrap; }
.filters label { display: grid; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.filters select {
  height: 42px; padding: 0 12px; min-width: 170px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.city-chips { margin: 0 0 18px; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.empty { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 32px; }

/* How it works */
.section-dark { background: var(--green); color: var(--cream); position: relative; }
.section-dark .eyebrow { color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(245, 239, 227, .2); }
.steps article { padding: 28px 28px 8px 0; }
.steps article + article { padding-left: 28px; border-left: 1px solid rgba(245, 239, 227, .2); }
.step-no { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.steps h3 { font: 500 30px/1.1 var(--display); letter-spacing: -.02em; margin: 10px 0 10px; }
.steps p { color: rgba(245, 239, 227, .78); max-width: 34ch; }

/* CTA */
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 44px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line);
}
.cta p { margin-top: 10px; color: var(--muted); max-width: 52ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-note { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.site-footer h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-grid a:not(.brand) { display: block; text-decoration: none; padding: 4px 0; }
.foot-grid a:not(.brand):hover { color: var(--gold-ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Detail dialog */
.detail {
  width: min(560px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--line); border-radius: 26px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
}
.detail::backdrop { background: rgba(8, 18, 14, .6); backdrop-filter: blur(3px); }
.detail-close { position: absolute; top: 16px; right: 16px; }
.detail-head { display: flex; gap: 16px; align-items: center; padding-right: 44px; }
.detail-head .avatar { width: 60px; height: 60px; border-radius: 18px; font-size: 28px; }
.detail-head h2 { font-size: 28px; }
.detail-sub { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.detail-desc { margin: 22px 0; color: var(--muted); font-size: 16.5px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding: 20px 0; border-block: 1px solid var(--line); }
.detail-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.detail-facts dd { margin-top: 2px; font-weight: 500; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .bar-actions { margin-left: auto; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { min-height: 0; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .bar { gap: 12px; }
  .brand-word { font-size: 19px; }
  .bar-actions .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .search { flex-direction: column; }
  .search-where { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .stats { gap: 22px; }
  .stats dt { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { padding: 24px 0 8px; border-left: 0; }
  .steps article + article { border-top: 1px solid rgba(245, 239, 227, .2); margin-top: 16px; }
  .cta-inner { padding: 28px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .filters select { min-width: 0; }
  .detail { padding: 24px; }
  .detail-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Forms, pricing, orders ---------- */
[hidden] { display: none !important; }
:root { --ok: #1f7a4d; --warn: #9a6400; --info: #2b5f8a; --err: #b3372b; --wa: #128c4b; }
:root[data-theme="dark"] { --ok: #6fd3a0; --warn: #e8b85a; --info: #8fc1ea; --err: #f0897e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #6fd3a0; --warn: #e8b85a; --info: #8fc1ea; --err: #f0897e; } }

.narrow { width: min(760px, 100% - 32px); }
.page { padding: 48px 0 80px; }
.page-title { font: 500 clamp(30px, 4.5vw, 44px)/1.08 var(--display); letter-spacing: -.03em; margin-bottom: 12px; }
.page .lede { margin: 0 0 28px; }
.muted { color: var(--muted); font-size: 14.5px; }
.muted a, .pay-line a { color: var(--gold-ink); font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; margin-bottom: 18px; }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea, .head-tools input, .head-tools select, .inline select {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); font: 400 16px/1.4 var(--body); color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-h { font: 500 24px/1.2 var(--display); letter-spacing: -.02em; margin-top: 6px; }
.form > .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14.5px; min-height: 1.4em; color: var(--muted); }
.form-note.ok, .banner.ok { color: var(--ok); }
.form-note.err { color: var(--err); }
.banner { padding: 14px 18px; border-radius: 14px; border: 1px solid currentColor; margin-bottom: 18px; font-weight: 500; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan-top { background: var(--green); color: var(--cream); border-color: var(--green); }
.plan h3 { font: 500 24px/1.2 var(--display); }
.plan-price { font: 500 44px/1 var(--display); letter-spacing: -.03em; }
.plan-price small { font: 500 14px var(--body); letter-spacing: 0; opacity: .7; }
.plan p:not(.plan-price) { color: var(--muted); flex: 1; }
.plan-top p:not(.plan-price) { color: rgba(245, 239, 227, .78); }
.plan .btn { margin-top: 10px; }
.pay-line { margin-top: 22px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-lede { margin: 14px 0 22px; color: var(--muted); max-width: 40ch; }
.contact-links { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0f7a41; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.tag-gold { background: var(--gold); color: #1c1503; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .5); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }

.plan-pick { display: grid; gap: 10px; }
.form .pick { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; }
.pick:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.pick input { margin-top: 4px; accent-color: var(--green-2); }
.pick span { display: grid; gap: 2px; }
.pick strong { font-size: 16px; }
.pick em { font-style: normal; font-weight: 600; color: var(--gold-ink); }
.pick small { color: var(--muted); font-size: 14px; }
.pick small a { color: var(--gold-ink); font-weight: 600; }

.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.order-head h2 { font-size: 26px; }
.order-ref { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gold-ink); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; border: 1px solid currentColor; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.info { color: var(--info); } .pill.err { color: var(--err); }

/* ---------- Admin ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(400px, 100%); }
.form.login-card > .btn { justify-self: stretch; }
.admin .site-header { position: static; }
.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tabs button { padding: 12px 14px; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-current] { color: var(--ink); border-bottom-color: var(--gold); }
.badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--gold); color: #1c1503; font-size: 12px; text-align: center; }
.admin .page { padding-top: 32px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.head-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.head-tools input, .head-tools select, .inline select { width: auto; min-height: 42px; background: var(--surface); }
.inline { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 18px 0; }
.tile { display: grid; gap: 6px; text-align: left; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.tile:hover { border-color: var(--gold); }
.tile strong { font: 500 36px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td small { color: var(--muted); }
td code { font-size: 13px; background: var(--tint); padding: 1px 6px; border-radius: 6px; }
td.actions > * { margin: 0 4px 6px 0; }
.msg-body { white-space: pre-wrap; margin-bottom: 14px; }
.msg label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; margin: 14px 0; }
.msg textarea { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font: 400 16px/1.4 var(--body); color: var(--ink); }
.reply { margin: 0 0 10px 18px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--tint); border-radius: 0 12px 12px 0; white-space: pre-wrap; }
.reply small { display: block; color: var(--muted); margin-bottom: 2px; }
.row-edit { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; align-items: end; padding: 16px 0; border-top: 1px solid var(--line); }
.row-edit .wide { grid-column: 1 / -1; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--green-2); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 999px; background: var(--green); color: var(--cream); font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.err { background: #a5301f; }

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .form-row, .row-edit { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .admin .bar-actions .btn { padding: 0 10px; }
}

.admin .bar-actions { margin-left: auto; }
