/* Айболит — стили без сборки. Палитра и размеры повторяют Next.js-версию (shadcn + Tailwind). */

/* Шрифты как в Next-версии (next/font): Inter (кириллица + латиница) и Instrument Serif. Файлы — static/fonts. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #f5f9fc;
  --fg: #0f172a;
  --card: #ffffff;
  --muted: #f1f5f9;
  --muted-fg: #64748b;
  --border: #e2e8f0;
  --primary: #0b8ad6;
  --primary-dark: #005bb5;
  --primary-fg: #ffffff;
  --primary-5: rgba(11, 138, 214, 0.05);
  --primary-10: rgba(11, 138, 214, 0.1);
  --primary-20: rgba(11, 138, 214, 0.2);
  --primary-40: rgba(11, 138, 214, 0.4);
  --destructive: #dc2626;
  --green: #16a34a;
  --green-dark: #15803d;
  --emerald: #10b981;
  --orange: #f97316;
  --amber: #f59e0b;
  --red: #dc2626;
  --radius: 12px;
  --shadow-sm: 0 2px 8px -3px rgba(0, 0, 0, 0.05);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --nav-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--fg);
  background: linear-gradient(to bottom, #f2f8fc, #f7faf8, #f4f9fd);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background: var(--primary-20); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* Фон: мягкие пятна + сетка */
.bg-decor { pointer-events: none; position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-decor::before { content: ""; position: absolute; top: 0; left: 50%; width: 700px; height: 350px; transform: translateX(-50%);
  background: linear-gradient(to right, rgba(11,138,214,.1), rgba(16,185,129,.08)); filter: blur(100px); border-radius: 9999px; opacity: .7; }
.bg-decor::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(0,0,0,.012) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,.012) 1px, transparent 1px);
  background-size: 32px 32px; }

/* Раскладка */
.page { max-width: 28rem; margin: 0 auto; min-height: 100dvh; padding: 1.5rem 1rem calc(5rem + env(safe-area-inset-bottom)); }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.row { display: flex; align-items: center; gap: .5rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.w-full { width: 100%; }
.muted { color: var(--muted-fg); }
.xs { font-size: .75rem; }
.sm { font-size: .875rem; }
.bold { font-weight: 700; }
.semibold { font-weight: 600; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.h1 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.h2 { font-size: 1rem; font-weight: 600; }
.eyebrow { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: rgba(100,116,139,.9); padding: 0 .25rem; }

/* Иконки */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-xs { width: .75rem; height: .75rem; } .icon-sm { width: 1rem; height: 1rem; } .icon-md { width: 1.25rem; height: 1.25rem; } .icon-lg { width: 1.5rem; height: 1.5rem; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fade-up .45s ease-out both; }
.pulse { animation: pulse 2s ease-in-out infinite; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.5rem; padding: .5rem 1rem;
  border-radius: 10px; border: 1px solid transparent; font-size: .875rem; font-weight: 600; line-height: 1.2; transition: background .15s, opacity .15s, transform .1s; text-align: center; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover:not(:disabled) { background: #0a7bc0; }
.btn-outline { background: var(--card); border-color: var(--border); }
.btn-outline:hover:not(:disabled) { background: var(--muted); }
.btn-ghost { background: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--muted); }
.btn-lg { min-height: 2.75rem; font-size: .9375rem; border-radius: 12px; }
.btn-sm { min-height: 2.25rem; padding: .375rem .75rem; font-size: .8125rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 2rem; height: 2rem; min-height: 0; padding: 0; border-radius: 9999px; }
.link { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* Карточки */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.card-pad { padding: 1rem; }
.card-pad-lg { padding: 1.25rem; }
.panel { border-radius: 16px; border: 1px solid rgba(226,232,240,.8); background: rgba(241,245,249,.35); padding: 1rem; }
.pill { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; padding: .125rem .625rem; font-size: .75rem; font-weight: 600; }
.dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 9999px; flex-shrink: 0; }
.dot-sm { width: .375rem; height: .375rem; }

/* Алерт ошибки */
.alert { border: 1px solid rgba(220,38,38,.3); background: #fff; color: var(--destructive); border-radius: 12px; padding: .875rem 1rem; font-size: .875rem; }
.alert-title { font-weight: 600; margin-bottom: .25rem; }
.alert ul { list-style: disc inside; margin-bottom: .75rem; color: rgba(220,38,38,.9); }
.alert p { margin-bottom: .5rem; }

/* Нижняя навигация */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--card); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav-inner { max-width: 28rem; margin: 0 auto; display: flex; justify-content: space-around; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .5rem 0; font-size: .75rem; color: var(--muted-fg); }
.bottom-nav a.active { color: var(--primary); }
.nav-icon { position: relative; }
.nav-badge { position: absolute; right: -.25rem; top: -.125rem; width: .5rem; height: .5rem; border-radius: 9999px; background: var(--destructive); box-shadow: 0 0 0 2px var(--card); }

/* Toast */
.toasts { position: fixed; left: 50%; top: 1rem; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; width: min(24rem, calc(100% - 2rem)); pointer-events: none; }
.toast { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: .75rem 1rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.2); font-size: .875rem; animation: fade-up .25s ease-out; }
.toast-title { font-weight: 600; }
.toast.success .toast-title { color: var(--green-dark); }
.toast.error .toast-title { color: var(--destructive); }

/* Bottom sheet (<dialog>) */
dialog.sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 28rem; max-height: 90vh; border: 0; padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0; background: var(--card); color: var(--fg); box-shadow: 0 -10px 40px rgba(0,0,0,.15); overflow-y: auto; }
dialog.sheet.tall { height: 90vh; display: flex; flex-direction: column; }
dialog.sheet:not([open]) { display: none; }
dialog.sheet[open] { animation: sheet-up .25s ease-out; }
dialog.sheet::backdrop { background: rgba(0,0,0,.5); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.sheet-title { font-size: 1.125rem; font-weight: 600; }
.sheet-desc { font-size: .875rem; color: var(--muted-fg); }
.sheet-close { background: none; border: 0; padding: .25rem; color: var(--muted-fg); border-radius: 8px; }
.sheet-body { flex: 1; overflow: auto; }
.sheet-icon { margin: 0 auto .5rem; width: 3rem; height: 3rem; border-radius: 9999px; background: var(--primary-10); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.loading-block { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem 0; }
.spinner { width: 3rem; height: 3rem; border-radius: 9999px; border: 4px solid var(--primary); border-top-color: transparent; animation: spin 1s linear infinite; }
.spinner-sm { width: 2rem; height: 2rem; }

/* Поле ввода */
.input, .textarea { width: 100%; border: 1px solid var(--border); background: var(--card); border-radius: 10px; padding: .5rem .75rem; font: inherit; font-size: .9375rem; color: var(--fg); outline: none; }
.input:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-10); }
.textarea { resize: vertical; font-size: .875rem; }
.seg { display: flex; gap: .5rem; }
.seg .btn { flex: 1; }
.seg .btn.selected { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Главная ─────────────────────────────────────────────────────────── */
.brand { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(226,232,240,.6); padding-bottom: .75rem; }
.brand-logo { width: 2.25rem; height: 2.25rem; border-radius: 12px; overflow: hidden; border: 1px solid rgba(226,232,240,.6); box-shadow: 0 4px 10px -4px rgba(0,0,0,.2); }
.brand-name { font-size: .875rem; font-weight: 800; letter-spacing: -.01em; }
.brand-sub { font-size: .625rem; font-weight: 600; color: rgba(100,116,139,.8); }
.status-chip { border-radius: 9999px; background: rgba(16,185,129,.1); padding: .125rem .625rem; font-size: .625rem; font-weight: 700; color: #059669; }

.hero { text-align: center; padding: .5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; border: 1px solid var(--primary-20); background: var(--primary-5); padding: .375rem 1rem;
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.ping { position: relative; display: inline-flex; width: .5rem; height: .5rem; }
.ping::before { content: ""; position: absolute; inset: 0; border-radius: 9999px; background: var(--primary); opacity: .75; animation: ping 1s cubic-bezier(0,0,.2,1) infinite; }
.ping::after { content: ""; position: relative; width: 100%; height: 100%; border-radius: 9999px; background: var(--primary); }
.hero h1 { margin-top: 1rem; font-size: 1.75rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.grad-text { background: linear-gradient(to right, var(--primary), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: .875rem auto 0; max-width: 28rem; font-size: .8125rem; line-height: 1.6; color: rgba(100,116,139,.95); font-weight: 500; }
.hero-pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; padding-top: .75rem; font-size: .6875rem; font-weight: 600; color: rgba(100,116,139,.85); }
.hero-pillars span { display: inline-flex; align-items: center; gap: .375rem; }

.upload-hero { position: relative; overflow: hidden; border-radius: 24px; border: 2px solid var(--primary-40); background: linear-gradient(to bottom, var(--primary-5), var(--card) 40%);
  padding: 1.375rem; box-shadow: 0 16px 36px -6px rgba(14,165,233,.16); }
.upload-hero-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; padding: 0 .25rem; }
.upload-hero-head h2 { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.time-chip { display: inline-flex; align-items: center; gap: .375rem; font-size: .625rem; font-weight: 700; color: #059669; background: rgba(16,185,129,.1); padding: .125rem .625rem; border-radius: 9999px; }
.upload-box { border-radius: 24px; border: 1px solid rgba(11,138,214,.15); background: linear-gradient(to bottom, #f5f9ff, #ecf4ff); padding: 1.25rem; }
.upload-box > * + * { margin-top: 1rem; }
.dropzone { display: flex; width: 100%; flex-direction: column; align-items: center; gap: .625rem; padding: 1.75rem 1rem; text-align: center; border-radius: 16px;
  border: 2px dashed rgba(226,232,240,.95); background: rgba(255,255,255,.6); transition: all .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--primary-40); background: #fff; }
.dropzone.drag { border-color: var(--primary); background: rgba(11,138,214,.08); }
.dropzone-icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; background: rgba(11,138,214,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.dropzone-title { font-size: .8125rem; font-weight: 700; }
.dropzone-hint { font-size: .6875rem; font-weight: 500; color: rgba(100,116,139,.8); }
.camera-pill { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; border: 1px solid rgba(226,232,240,.9); background: rgba(255,255,255,.9); padding: .375rem 1rem; font-size: .75rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.camera-pill .icon { color: var(--primary); }
.file-row { display: flex; align-items: center; gap: .75rem; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: .75rem; box-shadow: var(--shadow-sm); }
.file-thumb { width: 3.5rem; height: 3.5rem; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--muted); border: 1px solid rgba(226,232,240,.6); display: flex; align-items: center; justify-content: center; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb.pdf { flex-direction: column; font-size: .625rem; font-weight: 700; color: var(--destructive); background: rgba(220,38,38,.05); }
.balance-line { display: flex; align-items: center; justify-content: center; gap: .25rem; font-size: .75rem; font-weight: 600; color: #1d70b8; }
.uploading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 220px; padding: 2rem; border-radius: 24px;
  border: 1px solid rgba(11,138,214,.1); background: linear-gradient(to bottom, #f5f9ff, #ecf4ff); text-align: center; }
.processing-stub { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem; border-radius: 12px; border: 1px solid var(--border); background: rgba(241,245,249,.5); text-align: center; }

.steps { border-radius: 16px; border: 1px solid rgba(226,232,240,.5); background: rgba(241,245,249,.3); padding: 1rem; }
.steps h3 { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(15,23,42,.8); display: flex; align-items: center; gap: .375rem; margin-bottom: .75rem; }
.step { display: flex; gap: .625rem; align-items: flex-start; }
.step + .step { margin-top: .75rem; }
.step-num { width: 1.5rem; height: 1.5rem; flex-shrink: 0; border-radius: 9999px; background: var(--primary-10); color: var(--primary); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-title { font-size: .78rem; font-weight: 700; }
.step-text { font-size: .6875rem; color: var(--muted-fg); }

.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cap { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: .875rem; box-shadow: var(--shadow-sm); }
.cap-icon { width: 2rem; height: 2rem; border-radius: 12px; background: rgba(11,138,214,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: .625rem; }
.cap-title { font-size: .8125rem; font-weight: 700; line-height: 1.25; }
.cap-sub { font-size: .6875rem; color: var(--muted-fg); margin-top: .25rem; }

.faq details { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: .875rem; box-shadow: var(--shadow-sm); }
.faq details + details { margin-top: .5rem; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .375rem; cursor: pointer; font-size: .75rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s; color: var(--muted-fg); }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq details p { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid rgba(226,232,240,.5); font-size: .6875rem; line-height: 1.6; color: rgba(100,116,139,.85); font-weight: 500; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; text-align: center; }
.trust > div { display: flex; flex-direction: column; align-items: center; padding: .75rem; border-radius: 16px; border: 1px solid rgba(226,232,240,.5); background: rgba(241,245,249,.3); }
.trust .icon { color: var(--primary); margin-bottom: .25rem; }
.trust b { font-size: .625rem; }
.trust small { font-size: .5625rem; color: var(--muted-fg); }

.disclaimer { display: flex; gap: .625rem; border-radius: 16px; border: 1px solid var(--border); background: rgba(241,245,249,.3); padding: 1rem; }
.disclaimer .icon { color: rgba(100,116,139,.8); margin-top: .125rem; }
.disclaimer b { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(100,116,139,.9); }
.disclaimer p { font-size: .6875rem; line-height: 1.6; color: rgba(100,116,139,.85); font-weight: 500; margin-top: .25rem; }

/* Витрина отчёта */
.showcase { border-radius: 24px; border: 1px solid rgba(11,138,214,.1); background: linear-gradient(to bottom, var(--card), var(--bg)); padding: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,.03); }
.showcase-head { text-align: center; margin-bottom: 1rem; }
.showcase-head h2 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; border-radius: 12px; background: rgba(241,245,249,.8); padding: .25rem; margin-bottom: 1rem; }
.tabs button { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .5rem 0; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--muted-fg); font-size: .625rem; font-weight: 700; }
.tabs button.active { background: var(--card); color: var(--fg); box-shadow: var(--shadow-sm); border-color: rgba(226,232,240,.4); }
.phone { position: relative; margin: 0 auto; max-width: 340px; border-radius: 32px; border: 5px solid #e5e5e5; background: var(--card); padding: .375rem; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.phone-notch { position: absolute; top: .75rem; left: 50%; transform: translateX(-50%); width: 7rem; height: 1rem; border-radius: 9999px; background: #e5e5e5; z-index: 2; }
.phone-screen { border-radius: 24px; border: 1px solid #f5f5f5; min-height: 440px; padding: 2rem .875rem 1rem; overflow: hidden; font-size: .6875rem; }
.phone-screen > * + * { margin-top: .875rem; }
.sc-title { text-align: center; font-size: 1.125rem; font-weight: 800; color: #004a8f; }
.sc-h { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #004a8f; }
.sc-bar { display: flex; height: .5rem; border-radius: 9999px; overflow: hidden; background: #f5f5f5; }
.sc-box { border-radius: 16px; padding: .75rem; border: 1px solid rgba(0,74,143,.08); background: rgba(0,74,143,.04); }
.sc-card { border-radius: 16px; border-left: 4px solid var(--amber); background: rgba(255,251,235,.6); padding: .75rem; box-shadow: var(--shadow-sm); }
.sc-card > * + * { margin-top: .5rem; }
.sc-foot { text-align: center; font-size: .5rem; color: var(--muted-fg); border-top: 1px dashed #e2e8f0; padding-top: .5rem; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem .5rem; margin-top: .625rem; }
.sc-grid span { display: flex; align-items: center; gap: .375rem; }
.sc-grid b { margin-left: auto; }
.sc-tag { display: inline-flex; align-items: center; gap: .125rem; border-radius: 9999px; background: #fef3c7; color: #b45309; padding: .125rem .5rem; font-size: .5625rem; font-weight: 700; }
.sc-timeline { border-left: 1px solid var(--primary-20); margin-left: .375rem; padding-left: .75rem; }
.sc-timeline > div { position: relative; }
.sc-timeline > div + div { margin-top: .5rem; }
.sc-timeline > div::before { content: ""; position: absolute; left: -1rem; top: .375rem; width: .5rem; height: .5rem; border-radius: 9999px; background: var(--primary); }

/* ─── Задачи ─────────────────────────────────────────────────────────── */
.task-watcher { max-width: 28rem; margin: 0 auto; padding: .75rem 1rem 0; }
.task-watcher:empty { display: none; }
.task-watcher > * + * { margin-top: .625rem; }
.progress-card { border-radius: 16px; border: 1px solid var(--primary-20); background: var(--primary-5); padding: 1.25rem; }
.progress-card > * + * { margin-top: .75rem; }
.progress-track { height: .5rem; width: 100%; border-radius: 9999px; background: var(--primary-10); overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); transition: width .5s; }
.progress-fill.active { background-image: linear-gradient(45deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.2) 50%, rgba(255,255,255,.2) 75%, transparent 75%);
  background-size: 1rem 1rem; animation: stripes 1s linear infinite; }
@keyframes stripes { from { background-position: 1rem 0; } to { background-position: 0 0; } }
.task-cta { display: flex; width: 100%; align-items: center; gap: .625rem; border-radius: 16px; padding: .875rem 1rem; text-align: left; font-size: .875rem; font-weight: 700; border: 1px solid; }
.task-cta.done { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.task-cta.failed { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.failed-card { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.5rem; text-align: center; }
.refund-chip { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; border: 1px solid #bbf7d0; background: #f0fdf4; padding: .375rem .75rem; font-size: .875rem; font-weight: 600; color: var(--green-dark); }

/* ─── Отчёт ──────────────────────────────────────────────────────────── */
.result-header { position: sticky; top: 0; z-index: 10; margin: -1.5rem -1rem 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(226,232,240,.4);
  background: var(--bg); padding: .75rem 1rem; }
.result-header p { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-fg); }
.section-heading { font-size: 1.125rem; font-weight: 700; }
.counts-bar { display: flex; height: .75rem; width: 100%; border-radius: 9999px; overflow: hidden; }
.counts-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin-top: .5rem; font-size: .75rem; color: var(--muted-fg); }
.counts-legend span { display: inline-flex; align-items: center; gap: .375rem; }
.bg-green { background: #22c55e; } .bg-orange { background: var(--orange); } .bg-orange-light { background: #fdba74; } .bg-red { background: var(--red); }
.text-orange { color: #ea580c; } .text-red { color: var(--red); } .text-green { color: var(--green-dark); }
.banner { border-radius: 10px; border: 1px solid; padding: .5rem .75rem; font-size: .875rem; font-weight: 500; }
.banner-urgent { border-color: #fecaca; background: #fef2f2; color: #7f1d1d; }
.banner-attention { border-color: #fed7aa; background: #fff7ed; color: #7c2d12; }
.summary-headline { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.p15 { font-size: .9375rem; line-height: 1.6; }

details.fold > summary { list-style: none; cursor: pointer; }
details.fold > summary::-webkit-details-marker { display: none; }
.chev { color: var(--muted-fg); transition: transform .2s; }
details[open] > summary .chev { transform: rotate(180deg); }
.finding { border-radius: 12px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-sm); }
.finding > summary { padding: 1rem; min-height: 3rem; }
.finding-title { flex: 1; min-width: 0; font-size: .9375rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.status-badge { display: inline-block; flex-shrink: 0; border-radius: 9999px; border: 1px solid; background: #fff; padding: .125rem .5rem; font-size: .75rem; font-weight: 500; }
.status-danger { color: #b91c1c; border-color: #f87171; }
.status-benign { color: var(--green-dark); border-color: #22c55e; }
.status-warning { color: #c2410c; border-color: #fb923c; }
.status-warning.borderline { opacity: .8; }
.finding-body { border-top: 1px solid var(--border); padding: .75rem 1rem; font-size: .875rem; line-height: 1.6; }
.finding-body > * + * { margin-top: .75rem; }
.value-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; font-size: .9375rem; }
.value-block.small { font-size: .8125rem; }
.value-block .unit { color: var(--muted-fg); font-weight: 400; }
.value-block .norm { font-size: .8125rem; color: var(--muted-fg); }
.scale { position: relative; height: 1.5rem; width: 100%; }
.scale-track, .scale-zone { position: absolute; top: 50%; transform: translateY(-50%); height: .375rem; border-radius: 9999px; }
.scale-track { left: 0; right: 0; background: #e5e7eb; }
.scale-zone { background: rgba(74,222,128,.6); }
.scale-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 1rem; height: 1rem; border-radius: 9999px; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.scale.compact { height: .75rem; }
.scale.compact .scale-track, .scale.compact .scale-zone { height: .25rem; }
.scale.compact .scale-marker { width: .5rem; height: .5rem; border: 0; box-shadow: none; background: #22c55e; }
.m-green { background: #22c55e; } .m-orange { background: var(--orange); } .m-red { background: var(--red); }
.outlook { border-radius: 10px; border: 1px solid; padding: .5rem .75rem; }
.outlook-danger { border-color: #fecaca; background: #fef2f2; color: #7f1d1d; }
.outlook-benign { border-color: #bbf7d0; background: #f0fdf4; color: #14532d; }
.outlook-warning { border-color: #fed7aa; background: #fff7ed; color: #7c2d12; }
.outlook small { display: block; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.outlook b { font-size: .875rem; }
.bullets { list-style: disc; padding-left: 1.25rem; }
.bullets li + li { margin-top: .5rem; }
.flag-high { color: #dc2626; } .flag-low { color: #2563eb; }
.normal-list { border-radius: 12px; border: 1px solid #86efac; background: rgba(240,253,244,.4); overflow: hidden; }
.normal-list > summary { display: flex; align-items: center; gap: .75rem; padding: 1rem; min-height: 3rem; }
.normal-list-body { border-top: 1px solid #bbf7d0; padding: .75rem 1rem; background: rgba(255,255,255,.6); }
.normal-list-body > * + * { margin-top: .5rem; }
.normal-group { border-radius: 12px; border: 1px solid var(--border); background: rgba(240,253,244,.4); }
.normal-group > summary { padding: 1rem; }
.normal-group-body { border-top: 1px solid var(--border); padding: .75rem 1rem; font-size: .875rem; }
.normal-item { padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.normal-item + .normal-item { margin-top: 1rem; }
.normal-item:last-child { border-bottom: 0; padding-bottom: 0; }
.normal-item > * + * { margin-top: .25rem; }
.rec-block { border-radius: 12px; border: 1px solid var(--border); background: var(--card); padding: 1rem; }
.rec-block ol { margin-top: .75rem; padding-left: 1.25rem; }
.rec-block li { font-size: .875rem; line-height: 1.6; }
.rec-block li + li { margin-top: .5rem; }
.chip { display: inline-block; border-radius: 9999px; border: 1px solid; background: #fff; padding: .125rem .625rem; font-size: .75rem; font-weight: 600; }
.chip-required { color: #b91c1c; border-color: #f87171; }
.chip-recommended { color: #c2410c; border-color: var(--orange); }
.chip-lifestyle { color: var(--green-dark); border-color: var(--green); }
.plan-item { border-radius: 10px; border: 1px solid var(--border); background: var(--card); padding: .75rem; }
.plan-item + .plan-item { margin-top: .5rem; }
.alerts { border-radius: 12px; border: 2px solid #fca5a5; background: #fef2f2; padding: 1rem; color: #7f1d1d; }
.alerts h2 { font-size: .9375rem; font-weight: 700; margin-bottom: .5rem; }
.alerts li { font-size: .875rem; line-height: 1.6; }
.conclusion { border-radius: 12px; background: #1e293b; color: #f8fafc; padding: 1rem; font-size: .875rem; line-height: 1.6; }
.chat-card { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 1rem; }
.stars { display: flex; justify-content: center; gap: .25rem; }
.star-btn { background: none; border: 0; padding: .25rem; color: var(--muted-fg); }
.star-btn .icon { width: 2rem; height: 2rem; stroke-width: 1.8; }
.star-btn.on { color: #facc15; }
.star-btn.on .icon { fill: #facc15; }
.demo-note { border-radius: 8px; background: #fef9c3; border: 1px solid #fde047; padding: .5rem .75rem; font-size: .75rem; color: #713f12; }

/* ─── Чат ────────────────────────────────────────────────────────────── */
.chat-page { height: 100dvh; display: flex; flex-direction: column; max-width: 28rem; margin: 0 auto; background: var(--card); }
.chat-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding: .75rem 1rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem .75rem; }
.chat-messages > * + * { margin-top: .75rem; }
.bubble { max-width: 85%; white-space: pre-wrap; border-radius: 16px; padding: .5rem 1rem; font-size: .875rem; overflow-wrap: anywhere; }
.bubble.user { margin-left: auto; background: var(--primary); color: #fff; }
.bubble.assistant { margin-right: auto; background: var(--muted); }
.bubble.error { margin: 0; max-width: none; display: flex; align-items: center; gap: .75rem; background: rgba(220,38,38,.1); color: var(--destructive); }
.typing { display: flex; gap: .25rem; padding: .75rem 1rem; }
.typing span { width: .5rem; height: .5rem; border-radius: 9999px; background: rgba(15,23,42,.4); animation: bounce 1s infinite; }
.typing span:nth-child(2) { animation-delay: .12s; } .typing span:nth-child(3) { animation-delay: .24s; }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); } 50% { transform: none; } }
.chat-input { display: flex; align-items: flex-end; gap: .5rem; border-top: 1px solid var(--border); padding: .75rem; padding-bottom: calc(.75rem + env(safe-area-inset-bottom)); }
.chat-input textarea { flex: 1; resize: none; border-radius: 16px; border: 1px solid var(--border); padding: .5rem .75rem; font: inherit; font-size: .875rem; max-height: 8rem; outline: none; }
.context-btn { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; border: 1px solid rgba(11,138,214,.3); background: var(--primary-5); padding: .25rem .75rem; font-size: .75rem; font-weight: 500; color: var(--primary); }
.ctx-item { display: flex; width: 100%; align-items: center; gap: .75rem; border-radius: 12px; border: 1px solid var(--border); background: var(--card); padding: .625rem .75rem; text-align: left; }
.ctx-item.checked { border-color: var(--primary); background: var(--primary-5); }
.ctx-item:disabled { opacity: .5; }
.ctx-check { width: 1.25rem; height: 1.25rem; flex-shrink: 0; border-radius: 6px; border: 1px solid rgba(100,116,139,.4); display: flex; align-items: center; justify-content: center; color: #fff; }
.ctx-item.checked .ctx-check { background: var(--primary); border-color: var(--primary); }
.ctx-list > * + * { margin-top: .5rem; }

/* ─── История ────────────────────────────────────────────────────────── */
/* Без заливки: в покое шапка неотличима от фона страницы, при прокрутке карточки под ней размываются. */
.sticky-head { position: sticky; top: 0; z-index: 30; margin: -.5rem -1rem 1rem; padding: .5rem 1rem .75rem;
  background: transparent; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.group-head { margin: 1rem 0 .5rem; padding: 0 .25rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-fg); }
.group-head:first-child { margin-top: 0; }
.analysis-card { display: block; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: .875rem; transition: background .15s; }
.analysis-card:hover { background: var(--muted); }
.analysis-card + .analysis-card { margin-top: .5rem; }
.analysis-name { margin-top: .5rem; font-size: .875rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pill-ok { background: #f0fdf4; color: var(--green-dark); } .pill-ok .dot { background: var(--green); }
.pill-warning { background: #fffbeb; color: #b45309; } .pill-warning .dot { background: var(--amber); }
.pill-critical { background: #fef2f2; color: #b91c1c; } .pill-critical .dot { background: var(--red); }
.pill-unknown { background: #f5f5f5; color: #404040; } .pill-unknown .dot { background: #a3a3a3; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; padding-bottom: 1rem; }
.pager a, .pager span.disabled { width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--card); display: flex; align-items: center; justify-content: center; }
.pager span.disabled { opacity: .4; }
.fab { position: fixed; right: 1rem; bottom: calc(5rem + env(safe-area-inset-bottom) + 1rem); z-index: 40; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px -5px rgba(11,138,214,.5); }
.empty { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 4rem 1.5rem; text-align: center; }
.empty-icon { width: 4rem; height: 4rem; border-radius: 9999px; background: #f0f9ff; color: #0369a1; display: flex; align-items: center; justify-content: center; }

/* ─── Профиль ────────────────────────────────────────────────────────── */
.avatar { position: relative; width: 3.5rem; height: 3.5rem; flex-shrink: 0; border-radius: 9999px; background: linear-gradient(45deg, var(--primary), #2a90d8); color: #fff; font-size: 1.125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--bg), 0 4px 10px rgba(0,0,0,.1); }
.avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: .75rem; height: .75rem; border-radius: 9999px; background: var(--emerald); border: 2px solid var(--bg); }
.serif-heading { font-family: var(--serif); font-size: 1.5625rem; line-height: 1.2; font-weight: 500; }
.id-chip { margin-top: .25rem; display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; border: 1px solid rgba(226,232,240,.6); background: rgba(241,245,249,.3); padding: .125rem .5rem;
  font-size: .75rem; font-weight: 500; color: var(--muted-fg); }
.id-chip code { font-family: var(--mono); font-size: .6875rem; }
.balance-card { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(226,232,240,.8); background: linear-gradient(to bottom, var(--card), rgba(241,245,249,.2)); padding: 1.25rem; box-shadow: 0 4px 16px rgba(0,0,0,.03); }
.balance-card .label { font-family: var(--mono); font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: rgba(100,116,139,.8); }
.balance-num { font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: baseline; gap: .375rem; }
.balance-num small { font-size: .875rem; font-weight: 500; color: var(--muted-fg); letter-spacing: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stat { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: .875rem; box-shadow: var(--shadow-sm); }
.stat-icon { width: 2.25rem; height: 2.25rem; border-radius: 12px; background: rgba(11,138,214,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.stat-value { margin-top: .875rem; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .6875rem; font-weight: 500; color: var(--muted-fg); }
.list-card { border-radius: 16px; border: 1px solid var(--border); background: var(--card); overflow: hidden; box-shadow: var(--shadow-sm); }
.list-row { display: flex; width: 100%; align-items: center; gap: .875rem; padding: .875rem 1rem; background: none; border: 0; text-align: left; }
.list-row + .list-row { border-top: 1px solid rgba(226,232,240,.5); }
.list-row:hover { background: rgba(241,245,249,.4); }
.row-icon { width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 12px; background: rgba(11,138,214,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.install-btn { display: flex; width: 100%; align-items: center; gap: .875rem; border-radius: 16px; border: 1px solid var(--primary-20); background: var(--primary-5); padding: .875rem 1rem; text-align: left; }
.toggle { position: relative; width: 2.75rem; height: 1.5rem; flex-shrink: 0; border-radius: 9999px; border: 2px solid transparent; background: #e2e8f0; transition: background .2s; padding: 0; }
.toggle::after { content: ""; position: absolute; top: 0; left: 0; width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.toggle[aria-checked="true"] { background: var(--primary); }
.toggle[aria-checked="true"]::after { transform: translateX(1.25rem); }
.toggle:disabled { opacity: .5; }
.pay-status-ok { background: #ecfdf5; color: #047857; } .pay-status-ok .dot { background: var(--emerald); }
.pay-status-wait { background: #fffbeb; color: #b45309; } .pay-status-wait .dot { background: var(--amber); }
.more-toggle { display: none; }
.payments-list .extra { display: none; }
.more-toggle:checked ~ .payments-list .extra { display: flex; }
.more-toggle:checked ~ .show-all { display: none; }

/* ─── Оплата ─────────────────────────────────────────────────────────── */
.funnel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .125rem .375rem; font-size: .72rem; }
.funnel span { display: inline-flex; align-items: center; gap: .25rem; }
.teaser { border-radius: 24px; border: 1px solid rgba(11,138,214,.15); background: linear-gradient(to bottom, #f5f9ff, #ecf4ff); padding: 1.25rem; }
.teaser p:first-child { font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.included { border-radius: 16px; border: 1px solid rgba(226,232,240,.8); background: rgba(241,245,249,.2); padding: 1rem; box-shadow: var(--shadow-sm); }
.included li { display: flex; gap: .625rem; align-items: flex-start; font-size: .8125rem; font-weight: 600; line-height: 1.35; list-style: none; }
.included li + li { margin-top: .5rem; }
.included .icon { color: var(--primary); margin-top: .125rem; }
.social { text-align: center; font-size: .6875rem; color: var(--muted-fg); white-space: nowrap; overflow: hidden; }
.social b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.tariffs { border-radius: 16px; border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.tariff { display: flex; width: 100%; align-items: center; gap: .875rem; padding: .875rem 1rem; text-align: left; background: none; border: 0; }
.tariff + .tariff { border-top: 1px solid var(--border); }
.tariff[aria-checked="true"] { background: var(--primary-5); }
.radio { width: 1.25rem; height: 1.25rem; flex-shrink: 0; border-radius: 9999px; border: 2px solid rgba(100,116,139,.4); display: flex; align-items: center; justify-content: center; }
.tariff[aria-checked="true"] .radio { border-color: var(--primary); background: var(--primary); }
.tariff[aria-checked="true"] .radio::after { content: ""; width: .375rem; height: .375rem; border-radius: 9999px; background: #fff; }
.tariff-label { font-size: .9375rem; font-weight: 600; }
.tariff-price { font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.badge-popular { border-radius: 9999px; background: var(--primary); color: #fff; padding: .125rem .5rem; font-size: .625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pay-bar { position: sticky; bottom: 3.5rem; z-index: 30; margin: 0 -1rem; border-top: 1px solid var(--border); background: rgba(245,249,252,.95); backdrop-filter: blur(8px); padding: .75rem 1rem; }
.guarantee { display: block; border-radius: 12px; border: 1px solid #bbf7d0; background: #f0fdf4; padding: 1rem; }
.guarantee b { font-size: .9375rem; color: var(--green-dark); }
.guarantee p { margin-top: .375rem; font-size: .8125rem; color: #166534; }
.privacy-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .125rem .375rem; font-size: .6875rem; color: var(--muted-fg); }
.privacy-strip span { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.privacy-strip .icon { color: var(--green-dark); width: .75rem; height: .75rem; }
.success-circle { width: 4rem; height: 4rem; border-radius: 9999px; background: #dcfce7; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
#payment-widget-container { min-height: 300px; }

/* ─── Текстовые страницы ─────────────────────────────────────────────── */
.back-link { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; color: var(--muted-fg); background: none; border: 0; padding: 0; }
.dot-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--muted-fg); list-style: none; }
.dot-list li + li { margin-top: .375rem; }
.dot-list li::before { content: ""; margin-top: .45rem; width: .375rem; height: .375rem; flex-shrink: 0; border-radius: 9999px; background: var(--primary); }
.dot-list.muted-dots li::before { background: var(--muted-fg); }
.dot-list.red-dots li::before { background: var(--destructive); }
.num-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--muted-fg); list-style: none; }
.num-list li + li { margin-top: .5rem; }
.num-badge { margin-top: .125rem; width: 1.25rem; height: 1.25rem; flex-shrink: 0; border-radius: 9999px; background: var(--primary-10); color: var(--primary); font-size: .75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.code-box { display: block; word-break: break-all; border-radius: 8px; background: var(--muted); padding: .5rem .75rem; font-family: var(--mono); font-size: .75rem; }
.prose p { font-size: .875rem; color: var(--muted-fg); line-height: 1.6; }

/* ─── Alpine / htmx ─────────────────────────────────────────────────────── */
[x-cloak] { display: none !important; }
.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; }
a.task-cta { text-decoration: none; }
label.ctx-item { cursor: pointer; }
label.ctx-item:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.htmx-request.btn, .btn.htmx-request { opacity: .7; }
