/* Trivx: site stylesheet. Hand-written; only what the site uses.
   Colours live in CSS variables so light/dark themes just swap tokens. */

:root {
  --bg: #0b0b0d; --bg-soft: #121215; --surface: #17171b; --surface-2: #1f1f25;
  --line: rgb(255 255 255 / .09); --line-strong: rgb(255 255 255 / .16);
  --fg: #f4f4f5; --muted: #a1a1aa; --faint: #6b6b74;
  --brand: #d7ff3a; --brand-ink: #0b0b0d;
  --invert-bg: #fff; --invert-fg: #0b0b0d;
  --glow: rgb(255 255 255 / .06);
  --shadow: 0 20px 50px -20px rgb(0 0 0 / .6);
  --cat-pdf: #f0606a; --cat-image: #1fa7d4; --cat-calculators: #3fcf72;
  --cat-student: #7b6cf6; --cat-text: #f2b33d; --cat-developer: #e46fd8;
  --cat-business: #f08a3c; --cat-generators: #2fc5b4; --cat-video: #c04bdc;
  --r: 18px; --r-lg: 26px;
  --wrap: 1200px;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f6f3; --bg-soft: #eeeeea; --surface: #fff; --surface-2: #f3f3ef;
  --line: rgb(0 0 0 / .08); --line-strong: rgb(0 0 0 / .15);
  --fg: #111113; --muted: #55555e; --faint: #8a8a93;
  --brand: #c8f229; --invert-bg: #111113; --invert-fg: #fff;
  --glow: rgb(0 0 0 / .035);
  --shadow: 0 20px 40px -24px rgb(0 0 0 / .25);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 860px; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--invert-bg); color: var(--invert-fg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ---------- buttons & fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .1s, background .15s, opacity .15s, border-color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-primary { background: var(--invert-bg); color: var(--invert-fg); }
.btn-primary:hover { opacity: .9; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.link-btn { color: var(--muted); cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--fg); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line); cursor: pointer; color: var(--fg); transition: background .15s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }

.label { display: block; font-size: .85rem; color: var(--muted); margin: 0 0 6px; font-weight: 500; }
.field {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--fg); padding: 11px 14px; font-size: 1rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field:focus { border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in oklab, var(--fg) 12%, transparent); }
textarea.field { resize: vertical; min-height: 120px; line-height: 1.6; }
/* Fallback look before/without JavaScript */
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }

/* ---------- custom form controls (native inputs, custom look) ---------- */

/* Checkbox & radio */
input[type="checkbox"], input[type="radio"] {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; cursor: pointer;
  width: 22px; height: 22px; display: inline-grid; place-content: center; vertical-align: middle;
  border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 7px;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .1s;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::after {
  content: ""; width: 11px; height: 6px; margin-top: -3px;
  border: solid var(--brand-ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0);
  transition: transform .15s cubic-bezier(.3, 1.6, .5, 1);
}
input[type="radio"]::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-ink); transform: scale(0); transition: transform .15s; }
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: var(--muted); }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--brand); border-color: var(--brand); }
input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
input[type="radio"]:checked::after { transform: scale(1); }
input[type="checkbox"]:active, input[type="radio"]:active { transform: scale(.92); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 35%, transparent); }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { opacity: .4; cursor: not-allowed; }
/* radios inside segmented controls stay invisible */
.seg input[type="radio"] { border: 0; background: none; width: auto; height: auto; }
.seg input[type="radio"]::after { display: none; }

/* Slider: filled track uses --p (set by site.js) */
input[type="range"] {
  --p: 50%; appearance: none; -webkit-appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--brand) 0 var(--p), var(--surface-2) var(--p) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 0;
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--brand) 30%, transparent), 0 4px 12px rgb(0 0 0 / .35);
  transition: transform .15s, box-shadow .15s;
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px color-mix(in oklab, var(--brand) 35%, transparent), 0 4px 12px rgb(0 0 0 / .35); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--brand); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px color-mix(in oklab, var(--brand) 30%, transparent), 0 4px 12px rgb(0 0 0 / .35); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px color-mix(in oklab, var(--brand) 45%, transparent), 0 4px 12px rgb(0 0 0 / .35); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 8px color-mix(in oklab, var(--brand) 45%, transparent); }
[data-theme="light"] input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 5px color-mix(in oklab, var(--brand) 55%, transparent), 0 2px 8px rgb(0 0 0 / .25); }
.range-row output { padding: 4px 10px; border-radius: 9px; background: var(--surface-2); font-size: .88rem; }

/* Number fields: no spinner arrows */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Date fields: themed calendar icon */
input[type="date"].field { min-width: 0; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; filter: invert(var(--icon-invert, 1)); }
[data-theme="light"] { --icon-invert: 0; }

/* Custom dropdown (site.js turns every <select> into this; the native select stays as the source of truth) */
.csel { position: relative; min-width: 0; }
.csel-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.csel-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer;
}
.csel-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel-btn .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; flex: none; }
.csel-btn[aria-expanded="true"] { border-color: var(--fg); }
.csel-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.csel-btn:disabled { opacity: .5; cursor: not-allowed; }
.csel-pop {
  position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; min-width: max(100%, 200px); max-width: min(92vw, 420px);
  padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -18px rgb(0 0 0 / .65); transform-origin: top center; animation: csel-in .14s ease-out;
}
.csel.up .csel-pop { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; }
.csel.right .csel-pop { left: auto; right: 0; }
@keyframes csel-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.csel-search { width: 100%; min-height: 40px; margin-bottom: 6px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); outline: none; font-size: .92rem; }
.csel-search:focus { border-color: var(--line-strong); }
.csel-list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.csel-group { padding: 10px 10px 4px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.csel-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 11px; cursor: pointer; font-size: .94rem; color: var(--fg); }
.csel-opt.active { background: var(--surface-2); }
.csel-opt[aria-selected="true"] { font-weight: 600; }
.csel-opt[aria-selected="true"]::after { content: ""; width: 9px; height: 5px; border: solid var(--brand); border-width: 0 0 2px 2px; transform: rotate(-45deg); margin-top: -3px; flex: none; }
[data-theme="light"] .csel-opt[aria-selected="true"]::after { border-color: #4d5f00; }
.csel-opt[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.csel-empty { padding: 12px; color: var(--muted); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .csel-pop { animation: none; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.logo-mark { width: 28px; height: 28px; color: var(--fg); }
.pill-nav {
  display: none; align-items: center; gap: 2px; padding: 5px; border-radius: 999px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05);
}
.pill-nav a { padding: 8px 18px; border-radius: 999px; font-size: .875rem; color: var(--muted); transition: color .15s, background .15s; }
.pill-nav a:hover { color: var(--fg); }
.pill-nav a[aria-current="page"] { color: var(--fg); background: var(--line); }
.play-logo { width: 22px; height: 22px; flex: none; }

/* ---------- apps ---------- */
.app-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .app-grid { grid-template-columns: repeat(4, 1fr); } }
.home-apps { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.home-app { display: grid; justify-items: center; gap: 6px; width: 84px; text-align: center; font-size: .78rem; color: var(--muted); line-height: 1.25; }
.home-app:hover { color: var(--fg); }
.home-app .app-icon { width: 60px; height: 60px; border-radius: 16px; }
.app-card { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.app-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.app-card-body { min-width: 0; }
.app-card-body h2 { font-size: 1.08rem; font-weight: 600; margin: 0 0 3px; }
.app-card-body p { color: var(--muted); font-size: .88rem; line-height: 1.45; margin: 0; }
.app-card-actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.app-card-actions .btn { flex: 1; }
.app-icon { display: block; width: 64px; height: 64px; border-radius: 18px; object-fit: cover; background: var(--surface-2); flex: none; }
.app-icon-lg { width: 96px; height: 96px; border-radius: 26px; }
.app-icon-letter { display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: 1.6rem; }
.app-icon-lg.app-icon-letter { font-size: 2.4rem; }
.play-icon-btn .play-logo { width: 20px; height: 20px; }
.play-icon-btn.is-soon { opacity: .45; cursor: not-allowed; }
.app-hero { display: flex; gap: 20px; align-items: center; }
.app-hero .page-title { margin-bottom: 6px; }
@media (max-width: 560px) { .app-hero { flex-direction: column; align-items: flex-start; } }
.app-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.app-hero-actions .play-btn { margin-top: 0; }
.badge-soon { display: inline-flex; padding: 9px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.app-privacy { margin-top: 18px; font-size: .9rem; }
.app-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.app-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 28px; }
.app-cta > div { flex: 1 1 380px; max-width: 720px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
[data-theme="dark"] .ic-moon, [data-theme="light"] .ic-sun { display: none; }
.hide-sm { display: none; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 0 20px; background: var(--bg); }
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu .ic { color: var(--faint); }
.mobile-menu .btn { width: 100%; margin-top: 16px; }
@media (min-width: 900px) {
  .pill-nav { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
  .hide-sm { display: inline-flex; }
  .show-sm { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.bg-stars {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgb(255 255 255 / .35), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgb(255 255 255 / .3), transparent 60%),
    radial-gradient(1px 1px at 42% 64%, rgb(255 255 255 / .22), transparent 60%),
    radial-gradient(1px 1px at 88% 58%, rgb(255 255 255 / .3), transparent 60%),
    radial-gradient(1px 1px at 22% 82%, rgb(255 255 255 / .2), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 30%, rgb(255 255 255 / .35), transparent 60%),
    radial-gradient(900px 440px at 50% -12%, var(--glow), transparent 70%);
}
[data-theme="light"] .bg-stars { background-image: radial-gradient(900px 440px at 50% -12%, rgb(0 0 0 / .045), transparent 70%); }
.text-chrome {
  background: linear-gradient(180deg, var(--fg) 35%, color-mix(in oklab, var(--fg) 50%, var(--bg)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero { position: relative; overflow: hidden; padding-top: 40px; }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.eyebrow-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: color-mix(in oklab, var(--brand) 20%, transparent); color: var(--brand); }
.eyebrow-dot .ic { width: 13px; height: 13px; }
.eyebrow-sep { color: var(--faint); }
.hero-title { margin-top: 18px; font-size: clamp(2.3rem, 7.2vw, 4.4rem); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.script { font-family: "Great Vibes", "Snell Roundhand", cursive; font-weight: 400; font-size: 1.12em; letter-spacing: 0; padding-right: .04em; }
.hero-sub { max-width: 560px; margin-top: 20px; color: var(--muted); font-size: 1.02rem; }
.hero-search {
  position: relative; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; margin: 28px auto 0;
  padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.hero-search > .ic { color: var(--faint); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 42px; font-size: 1rem; }
.hero-search input::-webkit-search-cancel-button { display: none; }
.hero-search:focus-within { border-color: var(--fg); }
.search-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; text-align: left;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 6px; box-shadow: var(--shadow);
}
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; }
.search-suggest a:hover, .search-suggest a[aria-selected="true"] { background: var(--surface-2); }
.search-suggest small { display: block; color: var(--muted); font-size: .8rem; }
.search-suggest .tool-icon { width: 36px; height: 36px; border-radius: 11px; }
.search-suggest p { padding: 12px; color: var(--muted); font-size: .9rem; }

.float-label {
  position: absolute; display: none; align-items: center; padding: 5px 13px; border-radius: 9px;
  font-size: .82rem; font-weight: 600; color: #fff; background: var(--c);
  box-shadow: 0 8px 24px -8px var(--c);
}
.fl-cursor { position: absolute; width: 18px; height: 18px; color: var(--c); stroke: none; }
.fl-left { left: 4%; top: 150px; }
.fl-left .fl-cursor { right: -16px; top: -14px; transform: scaleX(-1); }
.fl-right { right: 5%; top: 290px; }
.fl-right .fl-cursor { left: -14px; top: -14px; }
.star { position: absolute; display: none; color: var(--faint); font-size: 14px; font-weight: 300; pointer-events: none; }
@media (min-width: 900px) { .star { display: block; } }
.s1 { left: 8%; top: 40px; } .s2 { right: 14%; top: 90px; } .s3 { left: 20%; bottom: -30px; } .s4 { right: 24%; top: 230px; }
@keyframes float-a { 0%,100% { transform: translate(0,0) } 50% { transform: translate(6px,-10px) } }
@keyframes float-b { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-8px,8px) } }
.float-a { animation: float-a 6s ease-in-out infinite; }
.float-b { animation: float-b 7s ease-in-out infinite; }
@media (min-width: 900px) { .float-label { display: inline-flex; } }

/* Fanned category cards */
.fan { position: relative; height: 300px; margin-top: 56px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.fan-card {
  position: absolute; bottom: -40px; left: 50%; width: 230px; height: 300px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(165deg, color-mix(in oklab, var(--c) 82%, #fff) 0%, var(--c) 45%, color-mix(in oklab, var(--c) 70%, #000) 100%);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .35);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  padding: 18px 18px 0;
}
.fan-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgb(255 255 255 / .18); pointer-events: none; }
.fan-head strong { display: block; font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; color: rgb(255 255 255 / .96); line-height: 1.1; }
.fan-head small { color: rgb(255 255 255 / .75); font-size: .8rem; }
.hero-art { position: absolute; left: 50%; bottom: 30px; width: 88%; transform: translateX(-50%); }
.fan-cta {
  position: absolute; top: 16px; right: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 5px 5px 14px; border-radius: 999px; background: #fff; color: #111; font-size: .8rem; font-weight: 600;
}
.fan-cta span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--brand); }
.fan-cta .ic { width: 15px; height: 15px; }
.fan-0, .fan-4 { display: none; }
.fan-1 { transform: translateX(-108%) translateY(40px) rotate(-8deg); }
.fan-3 { transform: translateX(8%) translateY(40px) rotate(8deg); }
.fan-2 { transform: translateX(-50%); z-index: 3; width: 250px; height: 330px; }
.fan-1:hover { transform: translateX(-108%) translateY(20px) rotate(-8deg); }
.fan-3:hover { transform: translateX(8%) translateY(20px) rotate(8deg); }
.fan-2:hover { transform: translateX(-50%) translateY(-10px); }
@media (min-width: 760px) {
  .fan { height: 360px; }
  .fan-card { width: 240px; height: 320px; }
  .fan-2 { width: 270px; height: 370px; }
  .fan-0, .fan-4 { display: block; }
  .fan-0 { transform: translateX(-225%) translateY(85px) rotate(-14deg); z-index: 1; }
  .fan-1 { transform: translateX(-130%) translateY(32px) rotate(-6deg); z-index: 2; }
  .fan-3 { transform: translateX(30%) translateY(32px) rotate(6deg); z-index: 2; }
  .fan-4 { transform: translateX(125%) translateY(85px) rotate(14deg); z-index: 1; }
  .fan-0:hover { transform: translateX(-225%) translateY(65px) rotate(-14deg); }
  .fan-1:hover { transform: translateX(-130%) translateY(12px) rotate(-6deg); }
  .fan-3:hover { transform: translateX(30%) translateY(12px) rotate(6deg); }
  .fan-4:hover { transform: translateX(125%) translateY(65px) rotate(14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b { animation: none; }
  .fan-card, .tool-card { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 24px 0 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2, .h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.h2 { margin: 40px 0 18px; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.empty-state { padding: 40px 0; text-align: center; color: var(--muted); }
.empty-state a { text-decoration: underline; color: var(--fg); }

/* Tool cards: icon + name + one line, identical everywhere */
.tool-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tool-grid { grid-template-columns: repeat(4, 1fr); } .tool-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.tool-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 84px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s, background .2s;
}
.tool-card:hover { border-color: color-mix(in oklab, var(--c) 60%, transparent); transform: translateY(-2px); }
.tool-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none;
  color: var(--c); background: color-mix(in oklab, var(--c) 16%, transparent);
}
.tool-icon .ic { width: 22px; height: 22px; }
.tool-card-body { min-width: 0; display: flex; flex-direction: column; }
.tool-card-body strong { font-weight: 600; font-size: .98rem; }
.tool-card-body span { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.tool-card-arrow { position: absolute; right: 14px; top: 14px; width: 16px; height: 16px; color: var(--faint); opacity: 0; transition: opacity .2s; }
.tool-card:hover .tool-card-arrow { opacity: 1; }

.cat-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg);
  background: radial-gradient(400px 180px at 100% 0%, color-mix(in oklab, var(--c) 22%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--line); transition: border-color .2s;
}
.cat-card:hover { border-color: color-mix(in oklab, var(--c) 55%, transparent); }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--c); color: #fff; margin-bottom: 10px; box-shadow: 0 10px 24px -10px var(--c); }
.cat-card strong { font-size: 1.15rem; font-weight: 600; }
.cat-card > span { color: var(--muted); font-size: .9rem; }
.cat-card small { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--fg); font-weight: 500; }
.cat-card small .ic { width: 16px; height: 16px; }

.why { display: grid; gap: 12px; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-item { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.why-item > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in oklab, var(--brand) 18%, transparent); color: var(--brand); margin-bottom: 14px; }
[data-theme="light"] .why-item > span { color: #4d5f00; }
.why-item h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: .92rem; }

.apps { display: grid; gap: 32px; align-items: center; padding: 28px; border-radius: 32px; background: radial-gradient(600px 300px at 90% 10%, color-mix(in oklab, var(--brand) 14%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 860px) { .apps { grid-template-columns: 1.2fr .8fr; padding: 48px; } }
.apps-copy h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 10px; }
.apps-copy > p { color: var(--muted); margin-bottom: 20px; max-width: 480px; }
.apps-soon { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--surface-2); color: var(--fg) !important; font-size: .9rem; }
.apps-phone { display: flex; justify-content: center; }
.phone { width: 230px; padding: 16px 14px 24px; border-radius: 36px; background: var(--bg); border: 6px solid var(--surface-2); box-shadow: var(--shadow); transform: rotate(4deg); }
.phone-notch { width: 70px; height: 18px; border-radius: 99px; background: var(--surface-2); margin: 0 auto 18px; }
.phone-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 14px; }
.phone-brand .logo-mark { width: 20px; height: 20px; }
.phone-row { display: flex; align-items: center; gap: 10px; padding: 9px; margin-bottom: 8px; border-radius: 14px; background: var(--surface); font-size: .85rem; font-weight: 500; }
.phone-row .tool-icon { width: 34px; height: 34px; border-radius: 10px; }
.phone-row .ic { width: 18px; height: 18px; }

/* ---------- inner pages ---------- */
.page-hero, .tool-hero { padding: 28px 0 32px; }
.page-title { font-size: clamp(1.9rem, 5.2vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.page-sub { margin-top: 12px; color: var(--muted); font-size: 1.02rem; max-width: 680px; }
.page-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c, var(--brand)); color: #fff; margin-bottom: 16px; box-shadow: 0 12px 28px -12px var(--c, var(--brand)); flex: none; }
.page-icon .ic { width: 24px; height: 24px; }
.tool-title-row { display: flex; gap: 16px; align-items: flex-start; }
.tool-title-row .page-icon { margin-bottom: 0; margin-top: 2px; }
@media (max-width: 559px) { .tool-title-row { flex-direction: column; gap: 12px; } }
.big-404 { font-size: 7rem; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.page-hero.center .page-sub { margin-left: auto; margin-right: auto; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--faint); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb [aria-current] { color: var(--fg); }

.filter-bar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
@media (min-width: 860px) { .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.filter-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); flex: 1; max-width: 420px; }
.filter-search .ic { color: var(--faint); }
.filter-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.filter-search:focus-within { border-color: var(--fg); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips-links { flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .15s;
}
.chip .ic { width: 16px; height: 16px; color: var(--c); }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--invert-bg); color: var(--invert-fg); border-color: transparent; }
.filter-item.is-hidden { display: none; }

/* ---------- tool page ---------- */
.tool-stage { padding-bottom: 8px; }
.tool-app {
  border-radius: 28px; padding: 18px; background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .tool-app { padding: 28px; } }
.privacy-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .85rem; }
.privacy-note .ic { width: 17px; height: 17px; color: var(--cat-calculators); }
.ad-slot { margin: 28px 0; min-height: 100px; }
.play-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 18px 8px 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid #3a3a3a; }
.play-btn svg { width: 24px; height: 24px; }
.play-btn span { display: flex; flex-direction: column; font-size: 1.05rem; font-weight: 600; line-height: 1.1; }
.play-btn small { font-size: .62rem; font-weight: 500; letter-spacing: .04em; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.step-n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--invert-bg); color: var(--invert-fg); font-weight: 700; font-size: .9rem; }
.steps strong { color: var(--fg); }

.prose-trivx { margin-top: 8px; }
.prose-trivx h2 { font-size: clamp(1.35rem, 3.2vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; margin: 40px 0 12px; line-height: 1.25; }
.prose-trivx h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.prose-trivx p, .prose-trivx li { color: var(--muted); line-height: 1.75; }
.prose-trivx p { margin: 0 0 14px; }
.prose-trivx ul, .prose-trivx ol { padding-left: 22px; margin: 0 0 14px; }
.prose-trivx li { margin: 4px 0; }
.prose-trivx a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.prose-trivx strong { color: var(--fg); font-weight: 600; }
.prose-trivx > :first-child { margin-top: 0; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { transition: transform .2s; color: var(--muted); }
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 18px 18px; color: var(--muted); line-height: 1.7; }

.table-wrap { overflow-x: auto; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--fg); font-weight: 600; }
.table td { color: var(--muted); }

/* ---------- forms / cards ---------- */
.card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.card h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.form { display: grid; gap: 4px; margin-top: 24px; }
.form .field { margin-bottom: 12px; }
.form .btn { margin-top: 6px; justify-self: start; }
.form-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; margin: 16px 0; font-size: .92rem; }
.notice-ok { background: color-mix(in oklab, var(--cat-calculators) 15%, transparent); color: var(--fg); }
.notice-err { background: color-mix(in oklab, var(--cat-pdf) 16%, transparent); color: var(--fg); }
.notice-card { display: grid; gap: 8px; justify-items: start; }
.contact-grid { display: grid; gap: 16px; }
.contact-grid .form { margin-top: 0; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-side a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.form .check-row { margin: 4px 0 8px; }
.form .check-row input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.table .row-del { all: unset; cursor: pointer; color: var(--muted); font-size: .85rem; text-decoration: underline; }

/* ---------- HTML site map ---------- */
.sm-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .sm-grid { grid-template-columns: repeat(3, 1fr); } }
.sm-col { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.sm-col h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.sm-col h2 a { display: inline-flex; align-items: center; gap: 8px; }
.sm-col h2 .ic { color: var(--c, var(--brand)); }
.sm-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.sm-col a { color: var(--muted); } .sm-col a:hover { color: var(--fg); }
.sm-col .sm-sub { font-size: .82rem; color: var(--faint); }

/* ---------- footer & cookie banner ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin: 14px 0; max-width: 360px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.footer-mail:hover { color: var(--fg); }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--faint); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); max-width: 520px;
}
.cookie-banner p { font-size: .88rem; color: var(--muted); }
.cookie-banner a { color: var(--fg); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (min-width: 640px) { .cookie-banner { left: 20px; bottom: 20px; } }

/* ---------- shared tool UI ---------- */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 220px; padding: 28px 16px; border-radius: 22px; cursor: pointer;
  border: 2px dashed color-mix(in oklab, var(--c) 45%, var(--line-strong));
  background: color-mix(in oklab, var(--c) 6%, transparent); transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone.is-over { background: color-mix(in oklab, var(--c) 13%, transparent); border-color: var(--c); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--c); color: #fff; box-shadow: 0 14px 30px -12px var(--c); }
.dropzone-icon .ic { width: 28px; height: 28px; }
.dropzone strong { font-size: 1.08rem; }
.dropzone span { color: var(--muted); font-size: .88rem; }
.dropzone.is-compact { min-height: 0; padding: 14px; flex-direction: row; }
.dropzone.is-compact .dropzone-icon { width: 38px; height: 38px; border-radius: 12px; }
.dropzone.is-compact .dropzone-icon .ic { width: 20px; height: 20px; }

.file-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.file-thumb { width: 48px; height: 48px; border-radius: 10px; flex: none; object-fit: cover; background: var(--bg-soft); display: grid; place-items: center; color: var(--c); }
.file-meta { flex: 1; min-width: 0; }
.file-meta strong { display: block; font-size: .92rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta span { font-size: .8rem; color: var(--muted); }
.file-actions { display: flex; gap: 4px; }
.file-actions .icon-btn { width: 36px; height: 36px; }
.file-actions .ic { width: 18px; height: 18px; }

.tool-options { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 640px) { .tool-options.cols-2 { grid-template-columns: 1fr 1fr; } .tool-options.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tool-actions .btn-primary { flex: 1 1 220px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 9px 14px; border-radius: 10px; font-size: .88rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--invert-bg); color: var(--invert-fg); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); }
.check-row { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row output { min-width: 52px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.result { margin-top: 20px; padding: 18px; border-radius: 20px; background: color-mix(in oklab, var(--c) 10%, var(--surface-2)); border: 1px solid color-mix(in oklab, var(--c) 35%, transparent); }
.result-big { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result-label { color: var(--muted); font-size: .88rem; margin-bottom: 4px; }
.stat-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-top: 14px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.stat b { display: block; font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .8rem; }
.tool-error { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in oklab, var(--cat-pdf) 16%, transparent); font-size: .9rem; }
.progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 14px; }
.progress > i { display: block; height: 100%; width: 0; background: var(--c); transition: width .2s; }
.saving { color: var(--cat-calculators); font-weight: 600; }
.fieldset-title { font-weight: 600; margin: 22px 0 10px; font-size: .95rem; }
.help { font-size: .8rem; color: var(--faint); margin-top: 4px; }

/* Feedback: box on tool pages, form chips, private list */
.feedback-ask { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 32px; }
.feedback-ask p { margin: 0; }
.feedback-ask-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.feedback-ask-btns .ic, .rate-chip .ic { width: 16px; height: 16px; }
.rate-row { display: flex; gap: 10px; margin: 4px 0 14px; }
.rate-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; }
.rate-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rate-chip:has(input:checked) { background: var(--invert-bg); color: var(--invert-fg); border-color: transparent; }
.rate-chip:has(input:focus-visible) { outline: 2px solid var(--fg); outline-offset: 2px; }
.chip.is-on { background: var(--invert-bg); color: var(--invert-fg); border-color: transparent; }
.table .fb-msg { color: var(--fg); min-width: 240px; max-width: 520px; white-space: normal; overflow-wrap: anywhere; }
