/* România.gov — stylesheet
   Design language: warm paper, an editorial serif for headlines (Instrument Serif) over a
   quiet sans (Inter), illustrated Carpathian landscapes, and the tricolour used as
   structure rather than decoration. Light and dark themes share every token. */

:root {
  --ro-blue: #002b7f;
  --ro-yellow: #fcd116;
  --ro-red: #ce1126;

  --accent: #1f3f99;
  --accent-strong: #172f75;
  --accent-soft: #e7ebf6;
  --red: #c8102e;
  --red-strong: #a50d26;

  --bg: #f6f3ec;
  --bg-alt: #efebe2;
  --surface: #fffdf9;
  --surface-2: #f2eee6;
  --border: #e3dccf;
  --text: #161a2b;
  --text-2: #4a4f63;
  --text-3: #868a99;
  --ok: #2f7d4f;
  --ok-soft: #e4f1e8;
  --warn: #b7791f;

  /* Hero sky and landscape */
  --sky: linear-gradient(180deg, #e8e7f3 0%, #efe9f1 22%, #f8e9df 48%, #fde3c8 70%, #fbe7c6 100%);
  --bloom-1: rgba(160, 214, 196, .55);
  --bloom-2: rgba(199, 186, 232, .55);
  --sun: #fbd98d;
  --m1: #c9c3d8; --m2: #aeaac5; --m3: #8f90ae;
  --t1: #5d6283; --t2: #252a40;
  --haze: #f3e6e3;
  --lake-1: #c9c6db; --lake-2: #e9e3ea;
  --glint: #ffffff;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(22, 26, 43, .05), 0 18px 40px -12px rgba(22, 26, 43, .18);
  --shadow-sm: 0 1px 2px rgba(22, 26, 43, .05), 0 6px 16px -6px rgba(22, 26, 43, .12);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --container: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #9db3f2; --accent-strong: #c1cff7; --accent-soft: #1d2440;
    --red: #ef4b5f; --red-strong: #ff6b7d;
    --bg: #0f121b; --bg-alt: #141824; --surface: #181d2a; --surface-2: #1f2433; --border: #2a3042;
    --text: #f1eee8; --text-2: #b9bccb; --text-3: #7e8396; --ok: #5cc28a; --ok-soft: #173024;
    --sky: linear-gradient(180deg, #0d1230 0%, #1b1d45 40%, #3a2b52 72%, #5a3a52 100%);
    --bloom-1: rgba(64, 120, 140, .35); --bloom-2: rgba(110, 80, 160, .35);
    --sun: #f6e7b0;
    --m1: #2b2d55; --m2: #23254a; --m3: #1b1d3c; --t1: #15172f; --t2: #0a0b1a;
    --haze: #3a2b52; --lake-1: #1b1d3c; --lake-2: #2a2446; --glint: #c9c4ff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -12px rgba(0,0,0,.6);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 16px -6px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --accent: #9db3f2; --accent-strong: #c1cff7; --accent-soft: #1d2440;
  --red: #ef4b5f; --red-strong: #ff6b7d;
  --bg: #0f121b; --bg-alt: #141824; --surface: #181d2a; --surface-2: #1f2433; --border: #2a3042;
  --text: #f1eee8; --text-2: #b9bccb; --text-3: #7e8396; --ok: #5cc28a; --ok-soft: #173024;
  --sky: linear-gradient(180deg, #0d1230 0%, #1b1d45 40%, #3a2b52 72%, #5a3a52 100%);
  --bloom-1: rgba(64, 120, 140, .35); --bloom-2: rgba(110, 80, 160, .35);
  --sun: #f6e7b0;
  --m1: #2b2d55; --m2: #23254a; --m3: #1b1d3c; --t1: #15172f; --t2: #0a0b1a;
  --haze: #3a2b52; --lake-1: #1b1d3c; --lake-2: #2a2446; --glint: #c9c4ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.015em; line-height: 1.1; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
em, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Top line + header ---------- */
.topline { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 7px 16px; font-size: 12.5px; color: var(--text-3); background: var(--bg); text-align: center; }
.topline svg { width: 14px; height: 14px; color: var(--ok); flex: none; }
.topline b { color: var(--text-2); font-weight: 600; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; color: var(--text); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-flag { width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--ro-blue) 0 33.3%, var(--ro-yellow) 33.3% 66.6%, var(--ro-red) 66.6%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.brand-tld { color: var(--text-3); font-style: italic; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button { color: var(--text-2); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 14.5px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav button:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav .nav-primary { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nav .nav-primary:hover { background: var(--text); color: var(--bg); }
.nav .hide-sm { display: none; }
@media (min-width: 720px) { .nav .hide-sm { display: inline-flex; } }
@media (max-width: 559px) { .nav .hide-xs { display: none; } .brand { font-size: 21px; } .nav a, .nav button { padding: 8px 10px; } }

.pill { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-left: 6px; vertical-align: middle; }

/* ---------- Hero ---------- */
.hero-frame {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 10px; border-radius: 30px; background: var(--sky);
  min-height: min(860px, calc(100svh - 70px));
  display: flex; flex-direction: column;
}
@media (min-width: 720px) { .hero-frame { margin: 0 14px; } }
.hero-frame::before, .hero-frame::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-frame::before { width: 60%; height: 34%; left: -12%; top: 26%; background: var(--bloom-1); }
.hero-frame::after { width: 52%; height: 30%; right: -10%; top: 6%; background: var(--bloom-2); }
.hero { position: relative; z-index: 2; padding: 56px 0 0; text-align: center; }
@media (min-width: 720px) { .hero { padding: 76px 0 0; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--border) 80%, transparent); font-size: 13px; color: var(--text-2); backdrop-filter: blur(6px); }
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.hero-greeting { margin-top: 22px; font-size: clamp(54px, 10vw, 124px); line-height: .95; letter-spacing: -.025em; }
.hero-greeting .hero-dot { color: var(--red); }
.hero-sub { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.4vw, 38px); color: var(--text-2); }
.hero-tagline { margin: 18px auto 0; max-width: 520px; font-size: clamp(16px, 1.8vw, 19px); color: var(--text-2); }
.landscape { position: relative; z-index: 1; margin-top: auto; height: clamp(180px, 26vw, 320px); pointer-events: none; }
.landscape svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.landscape .sun { opacity: .9; }
.hero-more { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--text-2); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.hero-more:hover { text-decoration: none; color: var(--text); }
.hero-more svg { width: 14px; height: 14px; }

/* Prompt card */
.prompt { margin: 30px auto 0; max-width: 720px; text-align: left; }
.prompt-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 16px 14px 12px 20px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, border-color .2s;
}
.prompt-box:focus-within { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.prompt-box input {
  flex: 1 1 100%; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 18px; color: var(--text); padding: 6px 0 18px;
}
.prompt-box input::placeholder { color: var(--text-3); }
.prompt-note { flex: 1; font-size: 12.5px; color: var(--text-3); padding-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s, transform .1s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.is-listening { background: #fde4e7; color: var(--red); animation: pulse 1.2s infinite; }
.icon-btn.submit { background: var(--red); color: #fff; margin-left: auto; box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--red) 60%, transparent); }
.icon-btn.submit:hover { background: var(--red-strong); color: #fff; }
.icon-btn:active { transform: scale(.95); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,16,46,.35);} 50% { box-shadow: 0 0 0 10px rgba(200,16,46,0);} }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 14px; height: 14px; color: var(--ok); }
.prompt-hint { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* Service chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 22px auto 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--text); font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-sm); transition: transform .15s, border-color .15s, background .15s;
}
.chip:hover { transform: translateY(-1px); border-color: var(--text-3); background: var(--surface); text-decoration: none; }
.chip .ico { width: 18px; height: 18px; color: var(--text-2); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 720px) { .section { padding: 128px 0; } }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: 16px; }
.section-head.left .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--text-3); }
.section h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.section h2 em { color: var(--text-2); }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--text-2); }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 20px; font-weight: 600; margin-top: 16px; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card-icon svg { width: 22px; height: 22px; }

/* ---------- Answers you can use (mock cards) ---------- */
.showcase { position: relative; border-radius: 30px; padding: 28px 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--bloom-1) 60%, var(--bg-alt)), var(--bg-alt) 45%, color-mix(in srgb, var(--bloom-2) 50%, var(--bg-alt))); border: 1px solid var(--border); }
@media (min-width: 900px) { .showcase { padding: 56px 48px; } }
.mini-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .mini-grid { grid-template-columns: 1fr 1.08fr 1fr; } .mini-grid > :nth-child(2) { transform: translateY(-22px); } }
.mini { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); font-size: 14px; }
.mini-head { display: flex; gap: 10px; align-items: center; }
.mini-head .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.mini-head .ic svg { width: 18px; height: 18px; color: var(--text-2); }
.mini-head b { display: block; font-size: 14px; }
.mini-head span { display: block; font-size: 12px; color: var(--text-3); }
.mini .big { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.mini .big b { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: -.02em; }
.mini .big span { color: var(--text-3); font-size: 13px; }
.mini .bar { height: 6px; border-radius: 99px; background: var(--surface-2); margin-top: 12px; overflow: hidden; }
.mini .bar i { display: block; height: 100%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, var(--ok), #6fbf8f); }
.mini dl { margin: 14px 0 0; display: grid; gap: 10px; }
.mini dl div { padding-top: 10px; border-top: 1px solid var(--border); }
.mini dt { font-size: 12px; color: var(--text-3); }
.mini dd { margin: 2px 0 0; font-weight: 600; }
.mini .ok-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 13px; }
.mini .ok-line svg { width: 16px; height: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding: 3px; border-radius: 12px; background: var(--surface-2); text-align: center; font-size: 12px; }
.seg span { padding: 6px 4px; border-radius: 9px; color: var(--text-3); }
.seg span small { display: block; font-size: 10.5px; }
.seg span.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.kv:last-of-type { border-bottom: 0; }
.kv span { color: var(--text-2); }
.kv b { font-weight: 600; text-align: right; }
.mini-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--text-3); }
.mini-foot .chk { color: var(--ok); }
.cal { display: grid; gap: 12px; margin-top: 14px; }
.cal li { display: flex; align-items: center; gap: 12px; }
.cal .d { width: 38px; flex: none; border-radius: 9px; overflow: hidden; text-align: center; border: 1px solid var(--border); background: var(--surface); }
.cal .d small { display: block; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .06em; padding: 1px 0; }
.cal .d b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.cal li > span b { display: block; font-size: 13.5px; }
.cal li > span span { font-size: 12px; color: var(--text-3); }
ul.cal { list-style: none; padding: 0; }
.showcase-note { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* ---------- Tricolour ---------- */
.tricolor { display: grid; grid-template-columns: 1fr; position: relative; }
@media (min-width: 900px) { .tricolor { grid-template-columns: 1fr 1fr 1fr; min-height: 640px; } }
.band { position: relative; padding: 40px 24px; display: flex; align-items: center; justify-content: center; }
.band.blue { background: linear-gradient(180deg, #08348c, var(--ro-blue)); color: #fff; }
.band.yellow { background: linear-gradient(180deg, #ffd93a, var(--ro-yellow)); }
.band.red { background: linear-gradient(180deg, #db1f33, var(--ro-red)); color: #fff; }
.band .word { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 9vw, 132px); line-height: .9; letter-spacing: -.02em; }
@media (min-width: 900px) {
  .band.blue .word { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-end; }
  .band.red .word { writing-mode: vertical-rl; align-self: flex-start; }
}
.band .tag { position: absolute; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.band.blue .tag { left: 22px; top: 20px; }
.band.red .tag { right: 22px; bottom: 20px; }
.band.yellow { padding: 32px 16px; }
.chatmock { width: min(440px, 100%); background: var(--surface); color: var(--text); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(60, 40, 0, .45); padding: 16px; font-size: 14px; position: relative; z-index: 2; }
.chatmock-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.chatmock-top b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.chatmock-top small { font-size: 11px; color: var(--text-3); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
.chatmock .q { margin: 14px 0 0 auto; width: fit-content; max-width: 85%; background: var(--surface-2); border-radius: 16px 16px 4px 16px; padding: 9px 13px; }
.chatmock .a { margin-top: 12px; color: var(--text-2); }
.chatmock .a b { color: var(--text); }
.plan { margin-top: 12px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.plan-head { display: flex; align-items: center; gap: 10px; padding: 12px; }
.plan-head .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--ro-blue); display: grid; place-items: center; color: #fff; flex: none; }
.plan-head .ic svg { width: 16px; height: 16px; }
.plan-head b { display: block; font-size: 13.5px; }
.plan-head span { font-size: 11.5px; color: var(--text-3); }
.plan-head .badge { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 3px 8px; border-radius: 999px; }
.plan-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.plan-cols div { padding: 10px 12px; }
.plan-cols div + div { border-left: 1px solid var(--border); }
.plan-cols small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.plan-cols b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; background: var(--surface-2); font-size: 11.5px; color: var(--text-3); }
.plan-foot span.go { background: var(--text); color: var(--bg); padding: 5px 10px; border-radius: 999px; font-weight: 600; }
.chatmock .follow { display: flex; align-items: center; margin-top: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-3); font-size: 13px; }
.chatmock .follow i { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: #fff; font-style: normal; }
.float { position: absolute; z-index: 3; width: 210px; background: var(--surface); color: var(--text); border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.35); font-size: 12.5px; display: none; }
@media (min-width: 1100px) { .float { display: block; } }
.float.f1 { left: calc(33.3% - 150px); top: 64px; transform: rotate(-2deg); }
.float.f2 { right: calc(33.3% - 160px); bottom: 110px; transform: rotate(2deg); }
.float small { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.float b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.float span { display: block; margin-top: 4px; color: var(--text-2); }
.float .live { margin-top: 8px; color: var(--ok); font-weight: 600; font-size: 11.5px; }
.flag-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px; font-size: 12px; color: var(--text-3); }

/* ---------- How it works ---------- */
.how h2 { max-width: 760px; }
.how-grid { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.how-step { border-top: 1px solid var(--border); padding-top: 18px; }
.how-step .num { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.how-step .num b { color: var(--red); font-weight: 700; margin-right: 6px; }
.how-step h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.01em; }
.how-step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.how-art { margin-top: 22px; height: 150px; border-radius: 20px; background: var(--bg-alt); border: 1px solid var(--border); display: grid; place-items: center; padding: 18px; }
.how-art .bub { width: 100%; max-width: 260px; background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-sm); font-size: 13px; color: var(--text-2); }
.wave { display: flex; align-items: center; gap: 2px; margin-top: 8px; font-size: 11px; color: var(--text-3); }
.wave i { width: 2px; border-radius: 2px; background: var(--red); }
.src-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); font-size: 11px; color: var(--text-2); }
.src-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.go-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; }
.how-art .site { margin-top: 10px; width: 100%; max-width: 240px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); padding: 8px 10px; font-size: 11px; color: var(--text-3); }
.how-art .site i { display: block; height: 6px; border-radius: 4px; background: var(--surface-2); margin-top: 6px; }
.how-art .site i:first-of-type { width: 70%; background: var(--border); }

/* ---------- Night (privacy) ---------- */
.night { position: relative; overflow: hidden; isolation: isolate; margin: 0 10px; border-radius: 30px; color: #eef0fa; padding: 96px 0 0; background: radial-gradient(ellipse at 70% 0%, rgba(90, 110, 200, .35), transparent 55%), linear-gradient(180deg, #0b0f2a 0%, #131a3d 55%, #1d2246 100%); }
@media (min-width: 720px) { .night { margin: 0 14px; padding-top: 128px; } }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .8; background-image:
  radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 44% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 61% 12%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 77% 28%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 10%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 8% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 36%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 54% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 93% 38%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 70% 50%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 20% 56%, #fff 50%, transparent 51%); }
.night-grid { display: grid; gap: 40px; align-items: end; position: relative; z-index: 2; }
@media (min-width: 900px) { .night-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.night .lock { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.night .lock svg { width: 22px; height: 22px; }
.night .eyebrow { color: rgba(238,240,250,.65); margin-top: 26px; }
.night .eyebrow::before { content: ""; width: 22px; height: 1px; background: rgba(238,240,250,.5); }
.night h2 { font-size: clamp(48px, 7vw, 92px); line-height: .95; color: #fff; }
.night h2 em { color: #c9cff5; }
.night p.lead { margin-top: 20px; max-width: 520px; color: rgba(238,240,250,.78); font-size: 17px; }
.ledger { background: rgba(14, 20, 50, .65); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 22px; backdrop-filter: blur(10px); }
.ledger small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,240,250,.6); font-weight: 600; }
.ledger .nothing { font-family: var(--serif); font-size: 56px; line-height: 1; margin-top: 6px; color: #fff; }
.ledger p { margin-top: 8px; color: rgba(238,240,250,.75); font-size: 14px; }
.ledger hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 18px 0; }
.ledger ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 14px; color: rgba(238,240,250,.85); }
.ledger li { display: flex; gap: 10px; }
.ledger li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #8fe0b0; }
.night .ridges { position: relative; margin-top: 80px; height: 160px; }
.night .ridges svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 2027 previews ---------- */
.preview {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.preview-body { padding: 26px 26px 0; }
.preview-body .tag { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; }
.preview-body h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-top: 8px; }
.preview-body p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.mock { margin: 22px 26px 0; background: var(--bg-alt); border: 1px solid var(--border); border-bottom: 0; border-radius: 16px 16px 0 0; padding: 18px; flex: 1; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; border: 2px solid var(--border); color: var(--text-3); background: var(--surface); }
.dot.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.dot.now { border-color: var(--accent); color: var(--accent); }
.dot.now::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.steps .muted { color: var(--text-3); font-weight: 400; margin-left: auto; font-size: 12px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.checklist li .state { margin-left: auto; font-size: 12px; color: var(--text-3); }
.checklist li .state.ok { color: var(--ok); font-weight: 600; }
.checklist li .state.now { color: var(--accent); font-weight: 600; }

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(44px, 7vw, 88px); }
.closing p { margin: 16px auto 0; max-width: 560px; color: var(--text-2); font-size: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .1s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--ro-blue); margin-top: 26px; }
.closing .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; color: var(--text-2); font-size: 14px; background: var(--bg); }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--text-2); }
.footer-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 8px; color: var(--text-3); font-size: 13px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: 64px 0 24px; text-align: center; }
@media (min-width: 720px) { .page-hero { padding: 96px 0 32px; } }
.page-hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1; }
.page-hero p { margin: 14px auto 0; max-width: 640px; font-size: 19px; color: var(--text-2); }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 34px; margin-top: 44px; }
.prose h3 { font-size: 19px; margin-top: 24px; }
.prose p, .prose li { margin-top: 12px; color: var(--text-2); }
.prose ul { padding-left: 22px; margin: 0; }
.prose .meta { font-size: 14px; color: var(--text-3); }

/* Developer guide (plugins) */
.docs-note { font-size: 15px !important; color: var(--text-3) !important; }
.docs { display: grid; gap: 32px; padding-bottom: 88px; }
@media (min-width: 960px) { .docs { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } }
.docs-toc { font-size: 14px; }
@media (min-width: 960px) { .docs-toc { position: sticky; top: 84px; align-self: start; } }
.docs-toc strong { display: block; margin-bottom: 8px; color: var(--text); }
.docs-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-3); }
.docs-toc a { color: var(--text-2); }
.docs-toc a:hover { color: var(--accent); }
.docs-body { min-width: 0; max-width: 820px; }
.docs-body section { padding-top: 16px; scroll-margin-top: 72px; }
.docs-body section + section { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 40px; }
.docs-body h2 { font-size: 36px; }
.docs-body h3 { font-size: 19px; margin-top: 28px; }
.docs-body p, .docs-body li { color: var(--text-2); margin-top: 12px; }
.docs-body ul { padding-left: 22px; margin: 0; }
.docs-body strong { color: var(--text); }
.docs-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; color: var(--text); overflow-wrap: anywhere; }
.docs-body h2 code, .docs-body h3 code { font-size: .9em; }
.docs-body pre { margin: 16px 0 0; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow-x: auto; font-size: 14px; line-height: 1.55; }
.docs-body pre code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; white-space: pre; }
.docs-cards { margin-top: 20px; }
.docs-cards .card { padding: 22px; }
.docs-cards .card h3 { margin-top: 0; }
.docs-cards .card p { font-size: 15px; }
.docs-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.docs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docs-table th, .docs-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.docs-table th { background: var(--bg-alt); color: var(--text); font-weight: 600; white-space: nowrap; }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table td:first-child { white-space: nowrap; }
.docs-table code { overflow-wrap: normal; }
.docs-small { font-size: 14px; color: var(--text-3) !important; }
.callout { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text) !important; border-left: 4px solid var(--accent); }
.docs-checklist { list-style: none; padding-left: 0 !important; }
.docs-checklist li { position: relative; padding-left: 30px; }
.docs-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 5px; }

/* Sphere of websites (how it works) */
.orbit-wrap { position: relative; height: 320px; margin: 10px auto 0; max-width: 760px; perspective: 900px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: spin 40s linear infinite; }
.orbit-wrap:hover .orbit { animation-play-state: paused; }
@keyframes spin { from { transform: rotateY(0deg);} to { transform: rotateY(360deg);} }
.orbit .site { position: absolute; left: -70px; top: -16px; width: 140px; padding: 7px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 600; text-align: center; color: var(--text-2); backface-visibility: hidden; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orbit .site::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.orbit-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-family: var(--serif); font-size: 20px; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .orbit { animation: none; } .chip-row { animation: none; } }

/* ---------- Chat page ---------- */
.chat-main { min-height: calc(100vh - 60px); display: flex; flex-direction: column; }
.chat-scroll { flex: 1; padding: 28px 0 24px; }
.chat-thread { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg.user { justify-content: flex-end; }
.bubble { max-width: 85%; padding: 12px 18px; border-radius: 22px; font-size: 16px; line-height: 1.5; }
.msg.user .bubble { background: var(--text); color: var(--bg); border-bottom-right-radius: 8px; }
.msg.bot { align-items: flex-start; }
.msg.bot .avatar { width: 30px; height: 30px; border-radius: 9px; flex: none; margin-top: 4px; background: linear-gradient(90deg, var(--ro-blue) 0 33.3%, var(--ro-yellow) 33.3% 66.6%, var(--ro-red) 66.6%); }
.answer { flex: 1; min-width: 0; }
.answer .thinking { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 15px; padding: 8px 0; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: blink 1.2s infinite; }
.thinking i:nth-child(2) { animation-delay: .2s; } .thinking i:nth-child(3) { animation-delay: .4s; }
.answer-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.answer-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.01em; }
.answer-card .badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; color: var(--text-3); }
.jev-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; cursor: help; }
.jev-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.answer-card ol li.dim { opacity: .45; }
.answer-card ol li.hit { font-weight: 500; color: var(--text); }
.answer-card .legend { margin-top: 8px; font-size: 12px; color: var(--text-3); }
.related-label { font-size: 13px; color: var(--text-3); align-self: center; }
.answer-card p { margin-top: 10px; color: var(--text-2); }
.answer-card ol { margin: 12px 0 0; padding-left: 22px; color: var(--text-2); display: grid; gap: 6px; }
.answer-card .sources { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.answer-card .sources h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; }
.answer-card .sources ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.answer-card .sources a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.answer-card .sources a:hover { text-decoration: none; filter: brightness(.95); }
.answer-card .sources a svg { width: 12px; height: 12px; }
.answer-card .disclaimer { margin-top: 14px; font-size: 12px; color: var(--text-3); }
.related { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.related .chip { font-size: 13px; padding: 7px 12px; }

.chat-composer { position: sticky; bottom: 0; padding: 12px 0 18px; background: linear-gradient(180deg, transparent, var(--bg) 34%); }
.chat-composer .prompt-box input { padding-bottom: 10px; }
.chat-composer .prompt { margin-top: 0; }
.chat-empty { text-align: center; padding: 60px 0 20px; }
.chat-empty h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1; }
.chat-empty p { margin-top: 10px; color: var(--text-2); }
.chat-tools { display: flex; justify-content: center; gap: 8px; margin-top: 8px; font-size: 13px; }
.chat-tools a, .chat-tools button { color: var(--text-3); background: none; border: 0; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.chat-tools a:hover, .chat-tools button:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }


/* ---------- Attachments ---------- */
.icon-btn.attach.has-file { color: var(--accent); background: var(--accent-soft); }
.prompt-box input:disabled { color: var(--text-3); }
.attachment { display: flex; align-items: center; gap: 10px; margin: 10px auto 0; max-width: 760px; padding: 8px 10px 8px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 14px; text-align: left; }
.attachment[hidden] { display: none; }
.attachment .ico { width: 18px; height: 18px; color: var(--accent); flex: none; }
.attachment .name { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment .meta { color: var(--text-3); font-size: 13px; flex: 1; min-width: 0; }
.attachment .meta b { color: var(--ok); font-weight: 600; }
.attachment .meta.warn b { color: var(--warn); }
.attachment .remove { border: 0; background: none; color: var(--text-3); cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.attachment .remove:hover { background: var(--surface-2); color: var(--text); }
.attachment.busy .meta::after { content: "…"; }
.msg.user .attach-line { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .85; margin-top: 6px; }
.msg.user .attach-line svg { width: 14px; height: 14px; }

/* Document assessment inside an answer */
.doc-card { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.doc-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; }
.doc-card .doc-type { margin-top: 6px; font-weight: 600; color: var(--text); }
.doc-card .doc-type .conf { font-weight: 400; color: var(--text-3); font-size: 13px; margin-left: 6px; }
.doc-card .flags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-card .flags li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 13px; border: 1px solid var(--border); background: var(--surface); color: var(--text-3); }
.doc-card .flags li.on { color: var(--text); border-color: var(--warn); }
.doc-card .flags li.on::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: var(--warn); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.doc-card .flags li.off::before { content: "–"; width: 16px; height: 16px; border-radius: 50%; background: var(--border); color: var(--text-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.doc-card .note { margin-top: 10px; font-size: 12px; color: var(--text-3); }

/* ---------- Feedback ---------- */
.feedback { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.feedback .fb-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.feedback .fb-btn svg { width: 16px; height: 16px; }
.feedback .fb-btn:hover { border-color: var(--accent); color: var(--accent); }
.feedback .fb-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.feedback .fb-btn:disabled { cursor: default; opacity: .6; }
.feedback .fb-thanks { color: var(--ok); font-weight: 600; }
.feedback-form { margin-top: 10px; display: grid; gap: 8px; }
.feedback-form textarea { width: 100%; min-height: 64px; resize: vertical; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.feedback-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.feedback-form .row-end { display: flex; justify-content: flex-end; gap: 8px; align-items: center; font-size: 12px; color: var(--text-3); }
.feedback-form .btn { padding: 8px 14px; font-size: 14px; }

/* Answer source badge for in-browser answers */
.local-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; cursor: help; }
.area-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); font-weight: 600; font-size: 11px; cursor: help; }
.local-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.chat-tools .chat-mode { color: var(--text-3); padding: 4px 8px; }
@media (max-width: 559px) { .chat-tools { flex-wrap: wrap; } }
.chat-tools { flex-wrap: wrap; }
.chat-tools > * { white-space: nowrap; }
