/* TRANTERA – public stylesheet (mobile first). Light theme by default, dark theme prepared via [data-theme="dark"]. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --border: #e4e7f0;
  --text: #1f2433;
  --muted: #6b7286;
  --blue: #3b82f6;
  --blue-soft: #e8f0fe;
  --violet: #7c5cf0;
  --violet-soft: #f1ecfe;
  --green: #16a34a;
  --green-soft: #e8f7ee;
  --red: #dc4c4c;
  --red-soft: #fdeeee;
  --shadow: 0 1px 2px rgba(31, 36, 51, .04), 0 6px 24px rgba(31, 36, 51, .06);
  --radius: 18px;
  --radius-sm: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #11131a;
  --surface: #191c26;
  --surface-2: #212534;
  --border: #2c3142;
  --text: #e8eaf2;
  --muted: #9aa1b5;
  --blue-soft: #1e2a44;
  --violet-soft: #2a2346;
  --green-soft: #15301f;
  --red-soft: #3a1d1d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.05rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .6em 1.2em; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; box-shadow: 0 4px 14px rgba(124, 92, 240, .25); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(124, 92, 240, .35); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-sm { min-height: 36px; padding: .35em .9em; font-size: .9rem; }
:focus-visible { outline: 3px solid rgba(124, 92, 240, .45); outline-offset: 2px; }

/* Header */
.preview-banner { background: #fff7e0; color: #7a5600; text-align: center; padding: .5rem 1rem; font-size: .9rem; border-bottom: 1px solid #f3e3b0; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .site-header { background: rgba(25, 28, 38, .88); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; position: relative; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none !important; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: 1.05rem; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: .5rem 16px 1rem; flex-direction: column; }
.site-nav.open { display: flex; animation: drop .18s ease; }
.site-nav a { padding: .8rem .6rem; border-radius: 10px; color: var(--text); font-weight: 500; text-decoration: none; }
.site-nav a.active, .site-nav a:hover { background: var(--violet-soft); color: var(--violet); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { padding: 40px 0 28px; background: radial-gradient(900px 300px at 15% -10%, var(--blue-soft), transparent 70%), radial-gradient(700px 300px at 100% 0%, var(--violet-soft), transparent 70%); }
.hero-inner { text-align: center; }
.hero h1 { background: linear-gradient(135deg, #2f6fe0, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .3em; }
.lead { color: var(--muted); max-width: 640px; margin: 0 auto 1.4rem; font-size: 1.05rem; }
.search { display: flex; flex-direction: column; gap: .6rem; max-width: 620px; margin: 0 auto; }
.search input { width: 100%; min-height: 50px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0 1.2rem; font: inherit; box-shadow: var(--shadow); }
.search input:focus { outline: none; border-color: var(--violet); }
.hero-stats { display: flex; justify-content: center; gap: 12px; margin-top: 1.4rem; flex-wrap: wrap; }
.hero-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem 1.2rem; min-width: 140px; box-shadow: var(--shadow); }
.hero-stat strong { display: block; font-size: 1.5rem; color: var(--text); }
.hero-stat span { color: var(--muted); font-size: .85rem; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.panel-head h2 { margin: 0; }
.home-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .4rem; border-radius: 10px; color: var(--text); text-decoration: none !important; }
.mini-row:hover { background: var(--surface-2); }
.mini-rank { width: 1.6rem; text-align: center; font-weight: 700; color: var(--muted); }
.mini-logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; font-size: .75rem; }
.mini-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mini-score { font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); padding: .8rem .2rem; margin: 0; }

/* Community */
.community { margin-top: 32px; }
.section-head { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1rem; }
.section-head h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.section-head p { margin: 0; }
.page-head { margin-top: 28px; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters label { flex: 1 1 160px; }
select { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0 .8rem; font: inherit; }
.notice { background: var(--blue-soft); border-radius: var(--radius-sm); padding: .7rem 1rem; }
.coin-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

/* Coin card */
.coin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; min-width: 0; }
.coin-grid .coin-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31, 36, 51, .05), 0 12px 32px rgba(31, 36, 51, .09); }
.coin-head { display: flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none !important; min-width: 0; }
.coin-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.coin-logo.lg { width: 88px; height: 88px; font-size: 1.6rem; }
.coin-logo-fallback { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--chain, #6366f1), #a78bfa); }
.coin-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.coin-name { font-weight: 700; font-size: 1.08rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.coin-meta { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.ticker { color: var(--muted); font-weight: 600; font-size: .85rem; }
.chain-badge { font-size: .72rem; font-weight: 600; padding: .15em .6em; border-radius: 999px; color: var(--chain, #6366f1); background: color-mix(in srgb, var(--chain, #6366f1) 12%, transparent); white-space: nowrap; }
.rank-pill { font-weight: 700; color: var(--violet); background: var(--violet-soft); padding: .3em .7em; border-radius: 999px; font-size: .9rem; flex: none; }
.coin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coin-stats > div { background: var(--surface-2); border-radius: 12px; padding: .5rem .6rem; text-align: center; min-width: 0; }
.coin-stats .label, .label { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.coin-stats strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.stat-up strong { color: var(--green); }
.stat-down strong { color: var(--red); }
.approval-bar { height: 6px; border-radius: 999px; background: var(--red-soft); overflow: hidden; }
.approval-bar span { display: block; height: 100%; background: linear-gradient(90deg, #4ade80, var(--green)); border-radius: 999px; transition: width .4s ease; }
.vote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vote-actions:has(> :only-child) { grid-template-columns: 1fr; }
.btn-vote { min-height: 52px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .12s ease, background .15s ease, opacity .15s; touch-action: manipulation; }
.btn-vote:active { transform: scale(.97); }
.btn-up { background: var(--green-soft); color: var(--green); border-color: #c9ecd6; }
.btn-up:hover { background: #d9f2e3; }
.btn-down { background: var(--red-soft); color: var(--red); border-color: #f6d3d3; }
.btn-down:hover { background: #fbe1e1; }
.btn-vote[disabled] { opacity: .55; cursor: wait; }
.btn-vote.voted { outline: 2px solid currentColor; }
.details-link { font-size: .9rem; font-weight: 600; align-self: flex-start; }
.pulse { animation: pulse .6s ease; }
@keyframes pulse { 50% { transform: scale(1.12); } }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0; }
.pagination a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
.pagination a.active { background: var(--violet); color: #fff; border-color: var(--violet); }
.empty-state { text-align: center; padding: 48px 16px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state h1, .empty-state h3 { margin-top: .6rem; }

/* Detail */
.detail { margin-top: 20px; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb a { color: var(--muted); }
.detail-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.detail-head h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.2; word-break: normal; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.detail-head > div:nth-child(2) { flex: 1 1 160px; min-width: 0; }
.detail-head .rank-box { flex: 0 0 auto; }
.rank-box { background: var(--violet-soft); color: var(--violet); padding: .6rem 1rem; border-radius: 14px; text-align: center; }
.rank-box strong { font-size: 1.5rem; }
.description { color: var(--text); word-break: normal; overflow-wrap: break-word; }
.contract { background: var(--surface-2); border-radius: 14px; padding: .8rem 1rem; }
.contract-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: .3rem 0; }
.contract code { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; word-break: break-all; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.link-chip { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; background: var(--blue-soft); color: #2f6fe0; font-weight: 600; font-size: .9rem; }
.vote-panel h2 { margin: 0; }
.history { margin-top: 16px; margin-bottom: 24px; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; gap: 1px; min-width: 0; }
.bar span { display: block; border-radius: 3px 3px 0 0; }
.bar-up { background: #4ade80; }
.bar-down { background: #f19a9a; }
.chart-legend { display: flex; gap: 1rem; margin: .5rem 0 1rem; color: var(--muted); }
.chart-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.lg-up::before { background: #4ade80; }
.lg-down::before { background: #f19a9a; }
.recent-votes { list-style: none; padding: 0; margin: 0; }
.recent-votes li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .92rem; }

/* Ranking */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; min-height: 42px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; text-decoration: none; }
.tabs a.active { background: var(--violet); border-color: var(--violet); color: #fff; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-row { display: grid; grid-template-columns: 2.2rem 1fr; gap: .4rem .7rem; align-items: center; padding: .7rem .2rem; border-bottom: 1px solid var(--border); }
.rank-row:last-child { border-bottom: 0; }
.rank-no { font-weight: 800; color: var(--muted); text-align: center; font-size: 1.05rem; }
.rank-no.top { color: var(--violet); }
.rank-coin { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none !important; min-width: 0; }
.rank-coin > span { min-width: 0; }
.rank-vals { grid-column: 2; display: flex; gap: .9rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; font-size: .92rem; }
.score { margin-left: auto; }
.how ul { padding-left: 1.2rem; margin: 0; }
.how li { margin: .3rem 0; }
.how { margin: 16px 0 24px; }

/* Legal */
.legal { margin: 24px 0; word-break: normal; overflow-wrap: break-word; }
.legal h2 { margin-top: 1.4em; }
.cookie-settings { border-top: 1px solid var(--border); margin-top: 1.5rem; padding-top: 1rem; }
.switch { display: flex; gap: .6rem; align-items: center; }

/* Footer */
.site-footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-brand p { margin: .2rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-links a { color: var(--muted); font-size: .92rem; padding: .3rem 0; }
.copyright { margin: 0; }

/* Cookie notice & toast */
.cookie-notice { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 16px; padding: .8rem 1rem; display: flex; gap: .8rem; align-items: center; justify-content: space-between; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 24px); width: max-content; background: #1f2433; color: #fff; padding: .75rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow); font-size: .95rem; animation: drop .2s ease; }
.toast.ok { background: #136c36; }
.toast.err { background: #a23434; }
.toast[hidden] { display: none; }

/* Maintenance */
.maintenance-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(900px 400px at 20% 0%, var(--blue-soft), transparent 70%), radial-gradient(700px 400px at 100% 100%, var(--violet-soft), transparent 70%), var(--bg); }
.maintenance { max-width: 560px; padding: 32px 20px; text-align: center; }
.maintenance h1 { letter-spacing: .14em; margin: .6rem 0 .3rem; }
.badge { display: inline-block; background: var(--violet-soft); color: var(--violet); padding: .3em .9em; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.maintenance-text { color: var(--muted); font-size: 1.05rem; }

/* Tablet */
@media (min-width: 640px) {
  .search { flex-direction: row; }
  .search .btn { flex: none; padding: 0 1.6rem; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .home-grid > :first-child { grid-column: 1 / -1; }
  .rank-row { grid-template-columns: 2.6rem 1fr auto; }
  .rank-vals { grid-column: auto; }
  .cookie-notice { left: auto; max-width: 460px; }
}
@media (min-width: 900px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; flex-direction: row; background: none; border: 0; box-shadow: none; padding: 0; gap: 4px; animation: none; }
  .site-nav a { padding: .5rem .9rem; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .filters { flex-wrap: nowrap; }
  .filters label { flex: 0 0 210px; }
  .detail-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .vote-panel { position: sticky; top: 84px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .hero { padding: 64px 0 40px; }
}
@media (min-width: 1024px) {
  .coin-grid { grid-template-columns: repeat(3, 1fr); }
  .home-grid { grid-template-columns: repeat(3, 1fr); }
  .home-grid > :first-child { grid-column: auto; }
}
@media (min-width: 1440px) {
  .container { max-width: 1440px; }
  .coin-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* language switch on legal pages */
.lang-switch { display: flex; gap: 6px; justify-content: flex-end; margin-bottom: 8px; }
.lang-switch a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border, #e2e5ee); font-size: .85rem; text-decoration: none; color: inherit; }
.lang-switch a[aria-current="true"] { background: linear-gradient(90deg, var(--blue), #7c5cf0); border-color: transparent; color: #fff; }

/* market data (token scanner, 1.1.0) */
.market-data { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border, rgba(255,255,255,.08)); }
.market-title { font-size: 1rem; margin: 0 0 .6rem; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; margin: 0 0 .6rem; }
.market-grid > div { background: var(--surface-2, rgba(255,255,255,.04)); border-radius: 10px; padding: .55rem .7rem; min-width: 0; }
.market-grid dt { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .04em; }
.market-grid dd { margin: .15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.market-source { margin: .2rem 0; }
.market-grid .pos { color: var(--green, #22c55e); }
.market-grid .neg { color: var(--red, #ef4444); }

/* Submit your coin (1.3.0) */
.submit-page { max-width: 760px; }
.submit-panel { margin: 12px 0 32px; }
.submit-form { display: grid; gap: 14px; }
.submit-form .field { display: grid; gap: 6px; min-width: 0; }
.submit-form label { font-weight: 600; }
.submit-form .opt { font-weight: 400; color: var(--muted); font-size: .9em; }
.submit-form .req { color: var(--red); }
.submit-form input[type="text"], .submit-form input[type="email"], .submit-form textarea { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: .55rem .8rem; font: inherit; }
.submit-form textarea { min-height: 110px; resize: vertical; }
.submit-form input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; }
.submit-form input:focus, .submit-form textarea:focus, .submit-form select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 240, .15); }
.submit-form [aria-invalid="true"] { border-color: var(--red); }
.submit-form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.submit-form .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.submit-form .btn { justify-self: start; }
.field-error { color: var(--red); font-size: .9rem; }
.form-alert { background: var(--red-soft); color: var(--red); border-radius: var(--radius-sm); padding: .7rem 1rem; margin-bottom: 14px; }
.submit-panel .notice { margin-bottom: 14px; }
.form-success h2 { margin-top: 0; }
.form-success p { overflow-wrap: break-word; }
.submit-cta { margin-top: 28px; }
.cta-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.cta-panel h2 { margin: 0 0 .2rem; font-size: 1.25rem; }
.cta-panel p { margin: 0; }
