:root {
  --bg: #0d1e40;
  --surface: #152848;
  --surface-2: #1c3060;
  --text: #f0f4f8;
  --muted: #90aac8;
  --accent: #f07820;
  --border: #1e3060;
  --accent-2: #d96b18;
  --radius: 8px;
  --radius-lg: 12px;
  accent-color: #f07820;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f0f4f8;
    --surface: #ffffff;
    --surface-2: #e2eaf4;
    --text: #0d1e40;
    --muted: #4a6882;
    --accent: #e06810;
    --accent-2: #c55e10;
    --border: #c0d0e0;
  }
}

* { box-sizing: border-box; }

/* Smooth scrolling — only when user hasn't requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Screen-reader only utility */
.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;
}

/* Focus ring matching brand colors */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, .banner-overlay h1 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

/* ---- Hero banner (home page only) ---- */
.banner {
  min-height: 320px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.banner-overlay { max-width: 800px; }
.banner-overlay h1 {
  margin: 0 0 0.5rem;
  font-size: 3.2rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.banner-overlay p {
  margin: 0;
  font-size: 1.3rem;
  color: #e9eef3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---- Scroll-reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Single sticky header bar: Logo | Motto | Nav ---- */
.topnav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  background: var(--bg);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  transition: opacity 0.15s, padding 0.25s ease;
}
.brand:hover { opacity: 0.8; }
.logo-img {
  max-height: 75px;
  max-width: 100%;
  width: auto;
  display: block;
  transition: max-height 0.25s ease;
}
.motto-text {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  font-style: italic;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: padding 0.25s ease;
  background-image:
    linear-gradient(rgba(13, 30, 64, 0.4), rgba(13, 30, 64, 0.7)),
    url('/banner-default.svg');
  background-size: cover;
  background-position: center 22%;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.topnav nav {
  display: flex;
  align-items: stretch;
}

/* Hamburger — hidden on desktop */
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--muted);
  border: none;
  border-left: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.15s;
}
.menu-toggle:hover,
.menu-toggle:focus-visible { color: var(--text); }

/* Eliminate 300 ms tap delay on all interactive elements */
.nav-btn, .nav-cta, .menu-toggle, .fab-btn, button.primary,
.ghost-btn, .car-btn, .car-dot { touch-action: manipulation; }

.nav-btn {
  background: transparent;
  color: var(--text);
  border: none;
  border-left: 1px solid var(--border);
  border-radius: 0;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-btn:first-child { border-left: none; }
.nav-btn:hover { background: var(--surface-2); }
.nav-btn.active { background: transparent; color: #fff; }
.nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,0.2);
  transition: filter 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { filter: brightness(1.1); }

/* ---- Compact nav: shrinks after 100px scroll ---- */
.topnav.scrolled .logo-img  { max-height: 44px; }
.topnav.scrolled .brand     { padding: 0.3rem 1rem; }
.topnav.scrolled .motto-text { padding: 0.3rem 1rem; }
.topnav.scrolled .nav-btn   { padding: 0.45rem 1.1rem; }
.topnav.scrolled .nav-cta   { padding: 0.45rem 1rem; }

/* ---- Inline content area (below the menu) ---- */
.content-wrap {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1.5rem 120px; /* bottom clearance so FABs never cover content */
}
#content-text.loading { opacity: 0.4; transition: opacity 0.1s ease; }
#content-title {
  margin: 0 0 1rem;
  font-size: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Rendered rich-text content (sanitized HTML from the editor) */
.rich { line-height: 1.6; }
.rich h1 { font-size: 1.6rem; margin: 0.6rem 0; }
.rich h2 { font-size: 1.3rem; margin: 0.6rem 0; }
.rich h3 { font-size: 1.1rem; margin: 0.5rem 0; }
.rich p { margin: 0 0 0.75rem; }
.rich ul, .rich ol { margin: 0 0 0.75rem; padding-left: 1.5rem; }
.rich li { margin: 0.2rem 0; }
.rich blockquote {
  margin: 0.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--muted);
}
.rich a { color: var(--accent); }
.rich img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
  vertical-align: middle;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}
.footer-brand { max-width: 260px; }
.footer-logo { max-height: 64px; width: auto; display: block; margin-bottom: 0.75rem; }
.footer-tagline { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.footer-nav-col strong,
.footer-contact-col strong { display: block; color: var(--text); margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-nav-links { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-nav-link:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-contact a,
.footer-contact span { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-contact a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

/* ---- Trust: stats + testimonials ---- */
.stats-strip {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin: 2.5rem 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.stat { text-align: center; min-width: 120px; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 0.9rem; }
.testimonials { margin: 2.5rem 0; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.testi {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testi:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.testi-stars { color: #f0c674; margin-bottom: 0.5rem; }
.testi-quote { margin: 0 0 0.75rem; line-height: 1.6; }
.testi-who { color: var(--muted); font-size: 0.9rem; }

/* ---- Map ---- */
.map-wrap { margin: 2.5rem 0; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }

/* ---- Lead / quote form ---- */
.quote-section {
  margin: 2.5rem 0; padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.quote-section h2 { margin-top: 0; }
.lead-form { margin-top: 1rem; }
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.lead-form input, .lead-form textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 0.7rem; font: inherit;
}
.lead-form textarea { margin-top: 0.75rem; min-height: 110px; resize: vertical; }
.lead-form button { margin-top: 0.75rem; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form input.field-invalid,
.lead-form textarea.field-invalid { border-color: #ff7b72; }
.field-err { display: block; color: #ff7b72; font-size: 0.8rem; margin-top: 0.2rem; }

/* ---- Sticky contact buttons ---- */
.contact-fab { position: fixed; right: 16px; bottom: 100px; display: flex; flex-direction: column; gap: 0.5rem; z-index: 30; }
.fab-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 0.6rem 0.9rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.fab-btn:hover { filter: brightness(1.08); }
.fab-call { background: #2e9e5b; }
.fab-viber { background: #7360f2; }
.fab-telegram { background: #2aabee; }

/* ---- Cookie consent ---- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.85rem 1.1rem; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.cookie-actions { display: flex; gap: 0.5rem; }
.ghost-btn {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 1rem; cursor: pointer;
}

/* ---- Carousel (public) ---- */
.carousel {
  position: relative;
  margin: 1.25rem 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.carousel img {
  display: block;          /* fallback: stacked images if JS never runs */
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}
/* Once hydrated, show one slide at a time */
.carousel.carousel-ready img { display: none; }
.carousel.carousel-ready img.active { display: block; }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 64px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.car-btn:hover { background: rgba(0, 0, 0, 0.7); }
.car-prev { left: 0; border-radius: 0 8px 8px 0; }
.car-next { right: 0; border-radius: 8px 0 0 8px; }
.car-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.car-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.car-dot.active { background: #fff; }

.car-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}
.car-progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
}
.car-progress-bar.car-progress-run {
  animation: car-progress-fill linear forwards;
}
@keyframes car-progress-fill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ---- Image grid ---- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.image-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

/* ---- Admin ---- */
.admin-wrap { max-width: 820px; margin: 2rem auto; padding: 0 1.5rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.card h2 { margin-top: 0; text-transform: capitalize; }
label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.35rem; }
textarea, input[type="password"] {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem;
  font: inherit;
  resize: vertical;
}
textarea { min-height: 110px; }
/* Rich-text toolbar + editor (admin) */
.rt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.rt-toolbar button {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 30px;
}
.rt-toolbar button:hover { background: var(--surface); }
.rt-toolbar select,
.rt-toolbar input[type="color"] {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.2rem;
  font: inherit;
  height: 30px;
}
.rt-toolbar input[type="color"] { width: 34px; padding: 2px; cursor: pointer; }
.rt-sep { width: 1px; height: 22px; background: var(--border); margin: 0 0.25rem; }

.editor {
  min-height: 140px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  padding: 0.7rem;
  line-height: 1.6;
  overflow-y: auto;
  max-height: 360px;
}
.editor:focus { outline: none; border-color: var(--accent); }
.editor h1 { font-size: 1.5rem; margin: 0.5rem 0; }
.editor h2 { font-size: 1.25rem; margin: 0.5rem 0; }
.editor h3 { font-size: 1.1rem; margin: 0.4rem 0; }
.editor ul, .editor ol { padding-left: 1.5rem; }

button.primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
button.primary:hover { filter: brightness(1.08); }
button.danger {
  background: #b3392f; color: #fff; border: none;
  border-radius: 6px; cursor: pointer; padding: 0.3rem 0.55rem; font-size: 0.8rem;
}
.row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: 0.85rem; }
.thumb { position: relative; }
.thumb button.danger { position: absolute; top: 6px; right: 6px; }
.thumb button.insert {
  position: absolute; top: 6px; left: 6px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 6px; cursor: pointer; padding: 0.3rem 0.55rem; font-size: 0.8rem;
}
.thumb button.insert:hover { filter: brightness(1.08); }
.thumb .sel-box {
  position: absolute; bottom: 6px; left: 6px;
  background: rgba(0, 0, 0, 0.55); border-radius: 5px;
  padding: 3px 5px; display: flex; cursor: pointer;
}
.thumb .sel-box input { cursor: pointer; margin: 0; }

/* Carousel shown inside the admin editor (non-interactive preview) */
.editor .carousel {
  border: 1px dashed var(--accent);
  border-radius: 6px;
  padding: 6px;
  margin: 0.5rem 0;
}
.editor .carousel::before {
  content: 'Carousel';
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.editor .carousel img { max-width: 90px; height: auto; margin: 2px; border-radius: 4px; }
.page-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.page-row .page-title { flex: 1; min-width: 160px; }
.page-row .reorder {
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  border-radius: 5px; cursor: pointer; padding: 0.25rem 0.45rem; font-size: 0.8rem;
}
.page-row .reorder:disabled { opacity: 0.35; cursor: default; }

/* Collapsible page editor cards */
.card-head { display: flex; align-items: center; gap: 0.6rem; }
.card-head h2 { margin: 0; flex: 1; }
.collapse-btn {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  border-radius: 5px; cursor: pointer; padding: 0.1rem 0.45rem; font-size: 0.9rem;
}
.card.collapsed .collapse-btn { transform: rotate(-90deg); }
.card.collapsed .card-body { display: none; }
.view-link { color: var(--accent); text-decoration: none; font-size: 0.85rem; white-space: nowrap; }
.view-link:hover { text-decoration: underline; }

/* Active formatting state on the toolbar */
.rt-toolbar button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Selected image / carousel in the editor (highlight, not saved) */
.editor .media-selected { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Per-thumbnail alt text input */
.thumb .alt {
  width: 100%; margin-top: 4px; padding: 2px 4px; font-size: 0.75rem;
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 4px;
}
.msg { margin-top: 0.5rem; font-size: 0.9rem; }
.msg.ok { color: #5ad17e; }
.msg.err { color: #ff7b72; }
.logout { margin-left: auto; }

/* =====================================================================
   Responsive — tablet & mobile
   ===================================================================== */

/* Tablet: trim the oversized banner type a little. */
@media (max-width: 900px) {
  .banner-overlay h1 { font-size: 2.1rem; }
  .banner-overlay p { font-size: 1.1rem; }
  .content-wrap { margin: 1.5rem auto; }
}

/* Mobile: single merged block */
@media (max-width: 640px) {
  /* Motto: strip SVG background, show as plain bar */
  .motto-text {
    font-size: 0.78rem; padding: 0.4rem 0.6rem; max-width: 180px;
    background-image: none;
    background-color: var(--bg);
  }
  .logo-img { max-height: 48px; }
  .menu-toggle { display: flex; align-items: center; }

  /* CTA collapses with the nav */
  .nav-cta {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    justify-content: center;
    border-radius: 0;
    padding: 0.75rem 1rem;
  }

  .topnav nav {
    flex-basis: 100%;
    flex-direction: column;
    display: none;
  }
  .topnav.menu-open nav { display: flex; }
  .nav-btn {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 0.7rem 1rem;
    width: 100%;
  }
  .nav-btn:first-child { border-top: none; }

  /* Content — restore FAB bottom clearance */
  .content-wrap { margin: 1.25rem auto; padding: 0 1rem 120px; }
  #content-title { font-size: 1.5rem; }
  .lead-grid { grid-template-columns: 1fr; }

  /* Banner */
  .banner { min-height: 200px; padding: 2rem 1rem; background-position: center 30%; }
  .banner-overlay h1 { font-size: 2rem; }
  .banner-overlay p { font-size: 1rem; }

  /* Carousel */
  .carousel img { max-height: 300px; }
  .car-btn { width: 38px; height: 52px; font-size: 1.6rem; }

  /* FAB */
  .contact-fab { right: 10px; bottom: 80px; }
  .fab-btn { padding: 0.55rem 0.8rem; font-size: 0.8rem; }

  /* Stats */
  .stats-strip { gap: 0.5rem; padding: 1rem; }
  .stat-value { font-size: 1.5rem; }

  /* Footer */
  .footer-cols { flex-direction: column; gap: 1.25rem; }
  .footer-brand { max-width: 100%; }

  /* Admin */
  .admin-wrap { margin: 1.25rem auto; padding: 0 1rem; }
  .card { padding: 1rem 1rem; }
  .image-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .image-grid img { height: 110px; }
  .page-row .page-title { min-width: 120px; }
}

/* ---- Admin: leads inbox + testimonial editor ---- */
.lead-row { border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem; margin-bottom: 0.6rem; }
.lead-meta { font-weight: 600; font-size: 0.9rem; }
.lead-body { white-space: pre-wrap; color: var(--muted); margin: 0.4rem 0 0.6rem; }
.testi-edit { border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem; margin-bottom: 0.6rem; }
.stat-row, .testi-edit .row { gap: 0.5rem; }

