/* «Планета собак» — фирменный стиль по мотивам прайса: оранжевый, чёрная линия, белый.
   Тема Telegram намеренно НЕ используется: приложение всегда в фирменных цветах. */
/* Шрифты лежат рядом (webapp/fonts) — не зависят от Google, быстро грузятся в России. Лицензия OFL. */
@font-face { font-family: "Bitter"; font-weight: 800; font-display: swap; src: url("fonts/bitter-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Bitter"; font-weight: 800; font-display: swap; src: url("fonts/bitter-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bitter"; font-weight: 900; font-display: swap; src: url("fonts/bitter-cyrillic-900-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Bitter"; font-weight: 900; font-display: swap; src: url("fonts/bitter-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("fonts/golos-text-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("fonts/golos-text-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url("fonts/golos-text-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url("fonts/golos-text-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url("fonts/golos-text-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url("fonts/golos-text-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --orange: #ffaa00;
  --orange-deep: #f29a00;
  --orange-soft: #fff1d1;
  --ink: #000000;
  --text: #262626;
  --muted: #6f6a62;
  --paper: #ffffff;
  --line: #e6e6e6;
  --danger: #d7263d;
  --ok: #1f8a4c;
  --r: 14px;
  --surface: #ffffff; --sel-bg: var(--orange); --sel-fg: #000;
  --display: "Bitter", "Rockwell", Georgia, serif;
  --body: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--paper); color: var(--text); font: 400 15px/1.45 var(--body); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }

#app { max-width: 640px; margin: 0 auto; padding: 0 16px 120px; }
.screen { display: none; }
.screen.active { display: block; }

/* ---------- главная: оранжевая шапка — единственный яркий акцент ---------- */
.hero { position: relative; overflow: hidden; margin: 0 -16px; padding: 22px 20px 24px; background: var(--orange);
  color: var(--ink); min-height: 300px; }
.hero .brand { font: 800 17px/1 var(--display); }
.hero .brand small { font: 400 13px var(--body); margin-left: 6px; opacity: .75; }
.hero h1 { font-size: 34px; line-height: 1.04; margin: 26px 0 10px; max-width: 11ch; font-weight: 900; }
.hero p { margin: 0 0 18px; max-width: 24ch; font-size: 14px; }
.hero .dog { position: absolute; right: -10px; bottom: 14px; width: 190px; height: auto; pointer-events: none; }
@media (max-width: 360px) { .hero .dog { width: 150px; } }
.btn-hero { display: inline-block; border: 0; border-radius: 999px; padding: 14px 24px; background: var(--ink);
  color: var(--orange); font-weight: 600; font-size: 16px; cursor: pointer; position: relative; z-index: 1; }
.btn-hero:active { transform: scale(.98); }
.hours { color: var(--muted); font-size: 13px; margin: 14px 2px 0; }

.section-title { font-size: 22px; margin: 28px 0 10px; }
.dogs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.dog-pill { flex: none; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.dog-pill:active { background: var(--orange); }

.order { border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; margin-bottom: 10px; }
.order .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.order .num { font: 800 17px/1.2 var(--display); color: var(--ink); }
.order .meta { color: var(--muted); font-size: 14px; white-space: pre-line; margin-top: 6px; }
.order .actions { display: flex; gap: 8px; margin-top: 12px; }
.order .actions .btn { margin: 0; padding: 10px; font-size: 14px; }
.badge { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); white-space: nowrap; color: var(--ink); }
.badge.paid { background: #e3f4ea; color: var(--ok); }
.empty { color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 18px; text-align: center; }

.draft-card { border: 1.5px solid var(--ink); background: var(--orange-soft); border-radius: var(--r); padding: 14px; margin-top: 16px; }
.draft-card b { font-family: var(--display); font-size: 17px; color: var(--ink); }
.draft-card .actions { display: flex; gap: 8px; margin-top: 10px; }
.draft-card .btn { margin: 0; padding: 10px; font-size: 14px; }

#faq { border-top: 1.5px solid var(--ink); }
details { padding: 14px 2px; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 22px/18px var(--body); color: var(--ink); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 8px 0 0; color: var(--muted); white-space: pre-line; font-size: 14px; }

/* ---------- прайс: оранжевая страница, как PDF ---------- */
#screen-price { background: var(--orange); margin: 0 -16px; padding: 22px 20px 40px; min-height: 100vh; }
#screen-price .screen-title { font-size: 40px; font-weight: 900; margin: 0 0 6px; letter-spacing: .02em; }
.price-sec { padding: 18px 0; border-bottom: 1.5px solid var(--ink); }
.price-sec:last-of-type { border-bottom: 0; }
.price-sec h3 { margin: 0; font-size: 22px; font-weight: 900; }
.price-sec .sub { font-size: 14px; margin: 2px 0 6px; }
.price-row { display: flex; align-items: baseline; gap: 6px; padding: 4px 0; font-size: 15px; }
.price-row .lead { flex: 1; border-bottom: 1.5px dotted rgba(0, 0, 0, .45); transform: translateY(-4px); min-width: 12px; }
.price-row b { white-space: nowrap; font-weight: 600; }
.price-sec .extras { margin-top: 12px; padding: 8px 12px; border: 1.5px dashed var(--ink); border-radius: 4px; }
.price-sec .pnote { font-size: 12px; margin-top: 6px; }
.price-link { display: inline-block; margin-top: 10px; color: var(--ink); }

/* ---------- анкета ---------- */
.progress { height: 6px; background: var(--orange-soft); border-radius: 6px; overflow: hidden; margin: 16px 0 12px; }
#progress-bar { height: 100%; background: var(--orange); border-right: 2px solid var(--ink); transition: width .3s ease; }
.step-label { color: var(--muted); font-size: 13px; }
.step-title { font-size: 28px; line-height: 1.1; margin: 4px 0 18px; font-weight: 900; }

.q { margin: 24px 0 10px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.q small { display: block; font-weight: 400; color: var(--muted); margin-top: 3px; font-size: 13px; }
.q .req { color: var(--orange-deep); }
.q.invalid, .q.invalid .req { color: var(--danger); }
.note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.note.top { margin: 0 0 12px; }
.center { text-align: center; }

.group { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.group:focus-within { border-color: var(--ink); }
.field { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 50px; }
.field + .field { border-top: 1px solid var(--line); }
.field label { flex: none; width: 116px; color: var(--muted); font-size: 14px; }
.field input, .field textarea, .field select { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: none; padding: 0; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 500; }
.field.select::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translateY(-3px); flex: none; }
.field.invalid label, [data-q].invalid > .field label { color: var(--danger); }
.group.invalid, .textarea.invalid, .check.invalid { border-color: var(--danger); }
.textarea { border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.textarea:focus-within { border-color: var(--ink); }
.textarea textarea { width: 100%; border: 0; background: transparent; outline: none; resize: none; min-height: 76px; }
input::placeholder, textarea::placeholder { color: #a8a39b; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); padding: 9px 14px; border-radius: 999px; text-align: left;
  line-height: 1.3; cursor: pointer; transition: background .12s, border-color .12s; }
.chip.on { background: var(--orange); border-color: var(--ink); color: var(--ink); font-weight: 500; }
.chips.list .chip { width: 100%; border-radius: var(--r); padding: 13px 14px; }
.chips.small { margin-top: 8px; }
.chips.small .chip { padding: 6px 12px; font-size: 13px; }
.chip .em { margin-right: 8px; }
.chip .hint-inline { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.chip.on .hint-inline { color: var(--ink); opacity: .7; }
.chips.dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.chip.date { text-align: center; padding: 8px 2px; border-radius: 12px; }
.chip.date b { display: block; font-size: 16px; font-weight: 600; }
.chip.date span { font-size: 12px; color: var(--muted); }
.chip.date.on span { color: var(--ink); }
.other { margin-top: 8px; }

.hint { margin: -4px 0 10px; padding: 0; border: 0; font-size: 13px; }
.hint summary { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 400; display: inline; }
.hint summary::after { content: ""; }
.hint p { margin: 6px 0 0; }

.check { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; margin-top: 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--ink); background: var(--orange-soft); }

.photo { display: flex; gap: 14px; align-items: center; border: 1.5px dashed var(--ink); border-radius: var(--r); padding: 12px; }
.photo .preview { width: 76px; height: 76px; border-radius: 12px; background: var(--orange-soft) center/cover; display: grid; place-items: center; font-size: 28px; flex: none; color: var(--ink); }
.photo label { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.photo input { display: none; }

/* ---------- ценник: чёрный блок с оранжевой суммой ---------- */
.estimate { background: var(--ink); color: #fff; border-radius: var(--r); padding: 16px; margin-top: 24px; }
.estimate .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 2px 0; color: #e8e8e8; }
.estimate .total { color: var(--orange); font: 900 26px/1.1 var(--display); border-top: 1px solid #333; margin-top: 10px; padding-top: 10px; align-items: baseline; }
.estimate .total span:first-child { font: 400 14px var(--body); color: #e8e8e8; }
.estimate .urg { color: var(--orange); font-size: 13px; margin-top: 6px; }
.estimate .disc { color: #9a9a9a; font-size: 12px; margin-top: 8px; }

.info { border-left: 3px solid var(--orange); padding: 4px 0 4px 14px; margin-top: 24px; white-space: pre-line; font-size: 13px; color: var(--muted); }
.review { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 14px; margin-top: 24px; white-space: pre-line; }
.review b { display: block; font: 800 18px var(--display); color: var(--ink); margin-bottom: 6px; }

/* ---------- успех ---------- */
.success { text-align: center; padding: 56px 8px 24px; }
.success .dog { width: 180px; height: auto; }
.success h2 { font-size: 28px; margin: 12px 0 8px; }
.success p { color: var(--muted); max-width: 34ch; margin: 0 auto 16px; }

/* ---------- кнопки ---------- */
.btn { display: block; width: 100%; border: 1.5px solid var(--ink); border-radius: 999px; padding: 13px; margin-top: 10px;
  background: var(--ink); color: var(--orange); font-weight: 600; cursor: pointer; }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-outline { background: transparent; color: var(--danger); border-color: currentColor; }

/* ---------- нижняя навигация ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: var(--paper); border-top: 1.5px solid var(--ink);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom)); z-index: 5; }
.tabbar button { flex: 1; border: 0; background: none; color: var(--muted); font-size: 12px; padding: 4px; cursor: pointer; }
.tabbar button svg { display: block; margin: 0 auto 2px; width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.tabbar button.active { color: var(--ink); font-weight: 600; }
.tabbar button.active svg { stroke-width: 2.2; }

.fallback-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 16px 16px; background: var(--paper); border-top: 1px solid var(--line); z-index: 6; }
.fallback-bar .btn { margin: 0; }
.fallback-bar .btn-ghost { width: 35%; }
.toast { position: fixed; left: 16px; right: 16px; top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--danger); color: #fff; z-index: 10; font-weight: 500; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =====================================================================
   ТЕМЫ. Выбираются в .env: DESIGN=neat | bold | night (по умолчанию neat).
   bold  — всё, что выше: смелый оранжевый, чёрные рамки (как прайс).
   neat  — «Аккуратный»: белый фон, мягкие серые поля без рамок, оранжевый только как акцент.
   night — «Ночной»: то же, что neat, но на тёплом тёмном фоне.
   ===================================================================== */
html[data-theme="neat"] {
  --ink: #1c1b19; --text: #2a2926; --muted: #7a766f; --line: #e9e8e5; --surface: #f4f3f1;
  --sel-bg: var(--orange-soft); --sel-fg: #1c1b19; --r: 16px;
}
html[data-theme="night"] {
  color-scheme: dark;
  --paper: #16130f; --surface: #221e19; --ink: #fff7ea; --text: #ece6dc; --muted: #a39b8f; --line: #312b24;
  --orange-soft: #3a2b12; --sel-bg: #3a2b12; --sel-fg: #fff7ea; --r: 16px;
}

/* Шапка всегда оранжевая с чёрным текстом — во всех темах */
.hero, .hero h1, .hero .brand { color: #000; }

/* ---- общее для neat и night ---- */
:is([data-theme="neat"], [data-theme="night"]) .hero { margin: 12px 0 0; border-radius: 24px; min-height: 250px; padding: 20px 18px 22px; }
:is([data-theme="neat"], [data-theme="night"]) .hero h1 { font-size: 28px; font-weight: 800; margin: 18px 0 8px; max-width: 12ch; }
:is([data-theme="neat"], [data-theme="night"]) .hero p { max-width: 23ch; font-size: 14px; }
:is([data-theme="neat"], [data-theme="night"]) .hero .dog { width: 158px; right: -8px; bottom: 12px; }
:is([data-theme="neat"], [data-theme="night"]) .btn-hero { background: #fff; color: #000; padding: 12px 22px; font-size: 15px; }
:is([data-theme="neat"], [data-theme="night"]) .section-title { font-size: 20px; font-weight: 800; }
:is([data-theme="neat"], [data-theme="night"]) .step-title { font-size: 24px; font-weight: 800; }
:is([data-theme="neat"], [data-theme="night"]) .order,
:is([data-theme="neat"], [data-theme="night"]) .empty,
:is([data-theme="neat"], [data-theme="night"]) .review { border: 0; background: var(--surface); }
:is([data-theme="neat"], [data-theme="night"]) .draft-card { border: 0; background: var(--orange-soft); }
:is([data-theme="neat"], [data-theme="night"]) .dog-pill { border: 0; background: var(--surface); }
:is([data-theme="neat"], [data-theme="night"]) #faq { border-top: 0; }
:is([data-theme="neat"], [data-theme="night"]) summary::after { color: var(--muted); }
:is([data-theme="neat"], [data-theme="night"]) .progress { background: var(--surface); height: 4px; }
:is([data-theme="neat"], [data-theme="night"]) #progress-bar { border-right: 0; border-radius: 4px; }
:is([data-theme="neat"], [data-theme="night"]) .q .req { color: var(--orange-deep); }

/* поля: мягкая серая подложка без рамки, при фокусе — оранжевый контур */
:is([data-theme="neat"], [data-theme="night"]) .group,
:is([data-theme="neat"], [data-theme="night"]) .textarea { border: 0; background: var(--surface); }
:is([data-theme="neat"], [data-theme="night"]) .group:focus-within,
:is([data-theme="neat"], [data-theme="night"]) .textarea:focus-within { box-shadow: 0 0 0 1.5px var(--orange); }
:is([data-theme="neat"], [data-theme="night"]) .group.invalid,
:is([data-theme="neat"], [data-theme="night"]) .textarea.invalid { box-shadow: 0 0 0 1.5px var(--danger); }
:is([data-theme="neat"], [data-theme="night"]) .field.select::after { border-color: var(--muted); }

/* варианты выбора */
:is([data-theme="neat"], [data-theme="night"]) .chip { border: 1.5px solid transparent; background: var(--surface); }
:is([data-theme="neat"], [data-theme="night"]) .chip.on { background: var(--sel-bg); border-color: var(--orange); color: var(--sel-fg); }
:is([data-theme="neat"], [data-theme="night"]) .chip.on .hint-inline,
:is([data-theme="neat"], [data-theme="night"]) .chip.date.on span { color: var(--muted); opacity: 1; }
:is([data-theme="neat"], [data-theme="night"]) .check { border: 1.5px solid transparent; background: var(--surface); }
:is([data-theme="neat"], [data-theme="night"]) .check:has(input:checked) { background: var(--sel-bg); border-color: var(--orange); }
:is([data-theme="neat"], [data-theme="night"]) .check input { accent-color: var(--orange-deep); }
:is([data-theme="neat"], [data-theme="night"]) .photo { border: 1.5px dashed var(--line); background: var(--surface); }
:is([data-theme="neat"], [data-theme="night"]) .photo label,
:is([data-theme="neat"], [data-theme="night"]) .hint summary { color: var(--text); }

/* ценник: мягкий оранжевый блок */
:is([data-theme="neat"], [data-theme="night"]) .estimate { background: var(--orange-soft); color: var(--text); }
:is([data-theme="neat"], [data-theme="night"]) .estimate .row,
:is([data-theme="neat"], [data-theme="night"]) .estimate .total span:first-child { color: var(--text); }
:is([data-theme="neat"], [data-theme="night"]) .estimate .total { color: var(--ink); border-top-color: rgba(127, 100, 40, .25); font-size: 24px; font-weight: 800; }
:is([data-theme="neat"], [data-theme="night"]) .estimate .urg { color: #b35c00; }
:is([data-theme="neat"], [data-theme="night"]) .estimate .disc { color: var(--muted); }

/* кнопки: оранжевые с тёмным текстом */
:is([data-theme="neat"], [data-theme="night"]) .btn { background: var(--orange); color: #1c1b19; border-color: var(--orange); border-radius: 14px; }
:is([data-theme="neat"], [data-theme="night"]) .btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
:is([data-theme="neat"], [data-theme="night"]) .btn-outline { background: transparent; color: var(--danger); border-color: currentColor; }

/* навигация */
:is([data-theme="neat"], [data-theme="night"]) .tabbar { border-top: 1px solid var(--line); background: var(--paper); }
:is([data-theme="neat"], [data-theme="night"]) .tabbar button.active { color: var(--ink); }
:is([data-theme="neat"], [data-theme="night"]) .tabbar button.active svg { stroke: var(--orange-deep); }
:is([data-theme="neat"], [data-theme="night"]) .fallback-bar { background: var(--paper); border-top-color: var(--line); }

/* прайс: светлые карточки вместо оранжевой страницы */
:is([data-theme="neat"], [data-theme="night"]) #screen-price { background: var(--paper); margin: 0; padding: 18px 0 40px; }
:is([data-theme="neat"], [data-theme="night"]) #screen-price .screen-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
:is([data-theme="neat"], [data-theme="night"]) .price-sec { background: var(--surface); border: 0; border-radius: var(--r); padding: 16px; margin-bottom: 10px; }
:is([data-theme="neat"], [data-theme="night"]) .price-sec h3 { font-size: 19px; font-weight: 800; }
:is([data-theme="neat"], [data-theme="night"]) .price-sec .sub,
:is([data-theme="neat"], [data-theme="night"]) .price-sec .pnote { color: var(--muted); }
:is([data-theme="neat"], [data-theme="night"]) .price-row .lead { border-bottom-color: var(--line); border-bottom-width: 2px; }
:is([data-theme="neat"], [data-theme="night"]) .price-sec .extras { border-color: var(--orange); border-radius: 12px; }
:is([data-theme="neat"], [data-theme="night"]) .price-link { color: var(--text); }

/* ночная: плейсхолдеры и мелочи */
[data-theme="night"] input::placeholder, [data-theme="night"] textarea::placeholder { color: #6e675d; }
[data-theme="night"] .estimate .urg { color: var(--orange); }
[data-theme="night"] .badge { color: var(--ink); }
[data-theme="night"] .badge.paid { background: #1d3527; color: #7fd8a2; }
[data-theme="night"] .success .dog { filter: invert(1); }
