/* Кабинет клиента lk.webshag.ru (тикет 55). Палитра и кнопки-желе из варианта ?tk лендинга (landing/site/assets/site.css),
   шрифты Unbounded (заголовки) и Onest (текст). Телефон: нижняя навигация; от 1024 px: колонка слева. */
@font-face { font-family: Unbounded; src: url(fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; src: url(fonts/unbounded-latin-wght-normal.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+20AC, U+20BD, U+2122, U+2190-2193; }
@font-face { font-family: Onest; src: url(fonts/onest-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url(fonts/onest-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+20AC, U+20BD, U+2122, U+2190-2193; }

:root {
  color-scheme: dark;
  --bg: oklch(0.13 0.026 254); --surface: oklch(0.19 0.04 254); --surface-2: oklch(0.24 0.045 254); --line: oklch(0.66 0.13 228 / 0.45); --line-soft: oklch(0.66 0.13 228 / 0.22);
  --fg: oklch(0.96 0.01 240); --muted: oklch(0.8 0.03 240); --cool: oklch(0.78 0.17 228); --warm: oklch(0.8 0.15 60); --ok: oklch(0.82 0.16 160); --bad: oklch(0.74 0.17 25);
  --accent: oklch(0.72 0.2 305);
  --j-top: oklch(0.58 0.15 236); --j-mid: oklch(0.44 0.18 256); --j-bot: oklch(0.32 0.17 265); --j-glow: oklch(0.46 0.19 254 / 0.55); --j-shade: oklch(0.2 0.12 267 / 0.85); --j-rim: oklch(0.88 0.1 310 / 0.55);
  --display: Unbounded, 'Arial Black', sans-serif; --text: Onest, system-ui, sans-serif;
  --r: 20px; --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; color: var(--fg); font: 400 16px/1.55 var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, oklch(0.24 0.08 250 / 0.6), transparent 60%), var(--bg); background-attachment: fixed; }
a { color: var(--cool); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 3px solid var(--cool); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-weight: 600; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; }
h2 { font-weight: 600; font-size: 19px; line-height: 1.25; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--j-mid); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* кнопки-желе */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
  color: #fff; font: 600 16px/1.2 var(--text); text-decoration: none; touch-action: manipulation; transition: filter .15s, box-shadow .2s, scale .25s var(--spring, ease);
  background: radial-gradient(120% 75% at 50% -12%, oklch(1 0 0 / 0.4) 0%, oklch(1 0 0 / 0.1) 42%, transparent 62%),
    radial-gradient(90% 60% at 50% 115%, oklch(1 0 0 / 0.16) 0%, transparent 60%),
    linear-gradient(180deg, var(--j-top) 0%, var(--j-mid) 55%, var(--j-bot) 100%);
  border: 1px solid var(--j-rim); text-shadow: 0 1px 2px oklch(0.25 0.12 262 / 0.6);
  box-shadow: inset 0 2px 1px -1px oklch(1 0 0 / 0.75), inset 0 -7px 12px -4px var(--j-shade), inset 0 0 0 1px oklch(1 0 0 / 0.08), 0 10px 24px -10px var(--j-glow), 0 2px 4px -1px oklch(0 0 0 / 0.35); }
.btn:hover { color: #fff; filter: brightness(1.08) saturate(1.05); }
.btn:active { scale: .97; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-ghost { background: oklch(0.2 0.04 254 / 0.6); border: 1px solid var(--line); box-shadow: none; text-shadow: none; color: var(--fg); }
.btn-ghost:hover { border-color: var(--cool); color: var(--fg); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
/* задание 83: большая кнопка "Редактировать сайт" */
.btn-xl { min-height: 60px; padding: 14px 28px; font-size: 18px; width: 100%; max-width: 440px; justify-self: start; }
.btn-xl svg { width: 24px; height: 24px; }
.editor-card h2 { margin: 0 0 4px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--cool); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* поля */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: oklch(0.11 0.03 254); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cool); box-shadow: 0 0 0 4px oklch(0.66 0.13 228 / 0.25); }
.field .hint { font-size: 14px; color: var(--muted); }
.err { color: var(--bad); font-size: 15px; }
.okmsg { color: var(--ok); }

/* вход */
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.gate-card { width: 100%; max-width: 460px; display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px #000; }
.gate-card form { display: grid; gap: 16px; }

/* шапка и навигация */
.wm { display: flex; align-items: flex-end; height: 28px; text-decoration: none; }
.wm img { height: 100%; width: auto; margin-inline: -1.3px; }
.app { min-height: 100dvh; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px); }
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 60px;
  background: color-mix(in oklch, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.bar .grow { flex: 1; min-width: 0; }
.site-pick { max-width: 100%; min-width: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; min-height: 44px; padding: 8px 34px 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.site-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.who { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); }
.nav a { display: grid; justify-items: center; gap: 3px; min-height: 52px; padding: 6px 2px; border-radius: 14px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 500; position: relative; }
.nav a svg { width: 24px; height: 24px; }
.nav a[aria-current="page"] { color: #fff; background: linear-gradient(180deg, oklch(0.5 0.19 258 / 0.55), oklch(0.36 0.17 260 / 0.55)); }
.nav .badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.main { padding: 22px 16px 24px; max-width: 980px; margin: 0 auto; display: grid; gap: 18px; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 16px; }
@media (min-width: 1024px) {
  .app { padding-bottom: 0; display: grid; grid-template-columns: 232px 1fr; grid-template-rows: auto 1fr; }
  .bar { grid-column: 1 / -1; padding: 12px 28px; }
  .nav { position: sticky; top: 72px; align-self: start; grid-auto-flow: row; grid-auto-columns: auto; gap: 4px; padding: 20px 12px; background: none; backdrop-filter: none; border: 0; }
  .nav a { grid-template-columns: 24px 1fr; justify-items: start; align-items: center; gap: 12px; padding: 10px 14px; font-size: 16px; min-height: 48px; }
  .nav .badge { position: static; justify-self: end; grid-column: 3; }
  .nav a { grid-template-columns: 24px 1fr auto; }
  .main { padding: 28px 32px 48px 8px; margin: 0; }
}

/* карточки и списки */
.card { padding: clamp(16px, 2.6vw, 24px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: oklch(0.2 0.04 254 / 0.6); cursor: pointer; font-weight: 500; }
.chip[aria-pressed="true"] { background: linear-gradient(oklch(0.5 0.19 258), oklch(0.36 0.17 260)); border-color: oklch(0.7 0.16 258 / 0.7); color: #fff; }
.chip .n { opacity: .75; margin-left: 4px; font-variant-numeric: tabular-nums; }
.list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.lead { display: grid; gap: 12px; }
.lead-top { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; }
.lead-who { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.lead-at { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lead-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.lead-text dt { color: var(--muted); font-size: 14px; }
.lead-text dd { margin: 0 0 6px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tel { font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-soft); background: oklch(0.11 0.03 254); }
.seg button { min-height: 40px; padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; font-weight: 500; font-size: 15px; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.st-new { color: var(--warm); } .st-called { color: var(--cool); } .st-done { color: var(--ok); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid currentColor; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.empty { text-align: center; padding: 36px 20px; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty svg { width: 40px; height: 40px; color: var(--cool); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); translate: -50% 0; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px #000; }
@media (min-width: 1024px) { .toast { bottom: 24px; } }
.skel { height: 120px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.ic-s { width: 16px; height: 16px; vertical-align: -3px; }
.gate-skel { width: min(460px, 100%); }
@media (max-width: 639px) {
  .bar .who { display: none; }
  .bar .wm { height: 22px; }
  .bar .btn-out span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bar .btn-out { padding: 8px 12px; min-width: 44px; }
}
.toast { white-space: nowrap; }
.main { align-content: start; }
.main:focus, .main:focus-visible { outline: none; }
/* правки */
.counter { font-size: 17px; } .counter b { font-weight: 700; }
.warn { margin-top: 6px; color: var(--warm); }
.counter-card { display: grid; gap: 4px; }
.pend { display: grid; gap: 12px; border-color: var(--line); box-shadow: 0 20px 60px -30px var(--j-glow); }
.warn-card { border-color: oklch(0.8 0.15 60 / 0.6); }
.lines { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chat-card { display: grid; gap: 14px; }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chat .day { justify-self: center; font-size: 13px; color: var(--muted); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-soft); }
.msg { max-width: min(560px, 88%); padding: 10px 14px 6px; border-radius: 18px; display: grid; gap: 2px; }
.msg p { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg time { justify-self: end; font-size: 12px; opacity: .75; font-variant-numeric: tabular-nums; }
.msg.them { justify-self: start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.me { justify-self: end; color: #fff; background: linear-gradient(180deg, var(--j-top), var(--j-mid) 60%, var(--j-bot)); border-bottom-right-radius: 6px; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.4), 0 8px 20px -10px var(--j-glow); }
.msg.me a { color: #fff; }
.typing { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.dots { display: inline-flex; gap: 4px; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--cool); animation: dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
.composer { display: grid; gap: 10px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.composer textarea { width: 100%; min-height: 84px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: oklch(0.11 0.03 254); resize: vertical; }
.composer textarea:focus { outline: none; border-color: var(--cool); box-shadow: 0 0 0 4px oklch(0.66 0.13 228 / 0.25); }
.hist summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 44px; }
.hist summary::-webkit-details-marker { display: none; }
.hist summary h2::after { content: ' +'; color: var(--cool); }
.hist[open] summary h2::after { content: ' -'; }
.hist .list > li { padding: 10px 0; border-top: 1px solid var(--line-soft); display: grid; gap: 4px; }
/* сайт */
.status-card { display: grid; gap: 10px; }
.st-preview { color: var(--cool); } .st-live { color: var(--ok); } .st-domain { color: var(--warm); } .st-built, .st-none { color: var(--muted); }
.frame-card { display: grid; gap: 14px; }
.frame-bar { justify-content: space-between; }
.frame-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; height: min(72vh, 760px); margin-inline: auto; width: 100%; transition: width .3s ease; }
.frame-wrap.mob { width: min(390px, 100%); }
.frame-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.dsteps { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 4px; }
.dsteps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 8px 0; color: var(--muted); }
.dsteps .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font: 600 14px var(--display); }
.dsteps b { display: block; font-weight: 600; } .dsteps small { display: block; font-size: 14px; margin-top: 2px; }
.dsteps li.done, .dsteps li.now { color: var(--fg); }
.dsteps li.done .dot { border-color: var(--cool); background: oklch(0.44 0.18 256); color: #fff; }
.dsteps li.now .dot { border-color: var(--cool); color: var(--cool); }
.themes { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.theme { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft); background: oklch(0.15 0.03 254); display: grid; grid-template-rows: auto 1fr; }
.theme img, .theme .noimg { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.theme .noimg { display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 10px, var(--surface-2) 10px, var(--surface-2) 20px); }
.th-body { padding: 12px 14px 14px; display: grid; gap: 6px; align-content: start; justify-items: start; }
.th-body small { color: var(--muted); font-size: 14px; }
.theme.cur { border-color: var(--cool); box-shadow: 0 0 0 1px var(--cool); }
.theme.off { opacity: .6; }
/* тикет 64: карточка темы целиком кнопка, просмотр темы окном на весь экран */
.th-open { all: unset; display: grid; grid-template-rows: auto 1fr; cursor: pointer; width: 100%; touch-action: manipulation; }
.th-open:focus-visible { outline: 3px solid var(--cool); outline-offset: -3px; border-radius: 16px; }
.th-open:hover img { filter: brightness(1.06); }
.th-open .th-body { display: grid; }
dialog.tv { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--fg); display: none; grid-template-rows: auto 1fr; }
dialog.tv[open] { display: grid; }
dialog.tv::backdrop { background: oklch(0.08 0.02 254 / 0.8); }
.tv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.tv-bar h2 { flex: 1 1 160px; font-size: 17px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.tv-nav { display: flex; gap: 8px; }
.tv-arrow { min-width: 44px; padding: 8px 12px; font-size: 22px; line-height: 1; }
dialog.tv iframe { width: 100%; height: 100%; border: 0; background: #fff; display: block; }
@media (max-width: 600px) { .tv-bar h2 { order: -1; flex-basis: 100%; } .tv-bar [data-tv-pick], .tv-bar .pill { margin-left: auto; }
  .tv-bar [data-tv-close] { min-width: 44px; padding: 8px 12px; } .tv-bar [data-tv-close] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
h3 { font-family: var(--display); font-size: 17px; margin: 0; }
/* статистика */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile { padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft); display: grid; gap: 2px; }
.tile b { font: 600 30px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: auto; margin-top: 10px; display: block; }
.chart .gl { stroke: var(--line-soft); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 11px; font-family: var(--text); }
.chart .b-v { fill: var(--cool); } .chart .b-l { fill: var(--accent); }
.chart rect:hover { filter: brightness(1.25); }
.tbl-wrap { overflow-x: auto; margin-top: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: right; padding: 6px 10px; border-top: 1px solid var(--line-soft); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
/* тикет 110: расчёт помощи с доменом до оплаты */
.dom-help { margin: 12px 0; } .dom-quote { margin: 10px 0; max-width: 420px; } .dom-quote th { font-weight: 600; }
.tbl th { color: var(--muted); font-weight: 500; font-size: 14px; }
/* оплата */
.test-note { border-color: oklch(0.8 0.15 60 / 0.6); }
.pay-item { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.pay-item > div { display: grid; gap: 2px; }
.pay-item b { font-size: 17px; }
.main > * { min-width: 0; }
.tbl-pay td:nth-child(3), .tbl td:first-child { white-space: nowrap; }
@media (max-width: 479px) {
  .tbl-pay, .tbl-pay tbody, .tbl-pay tr, .tbl-pay td { display: block; width: 100%; }
  .tbl-pay thead { display: none; }
  .tbl-pay tr { padding: 10px 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
  .tbl-pay td { border: 0; padding: 0; text-align: left !important; }
  .tbl-pay td:nth-child(3), .tbl-pay td:nth-child(4) { text-align: right !important; }
}
/* домен (тикет 61) */
.dom-pick { display: grid; gap: 14px; margin-top: 6px; }
.dom-form { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dom-form { grid-template-columns: 2fr 1fr auto; align-items: end; } }
.dom-own { display: grid; gap: 10px; grid-template-columns: 1fr auto; align-items: end; }
.dom-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.dom-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 14px; background: oklch(0.15 0.03 254); border: 1px solid var(--line-soft); }
.dom-list .dom-name { flex: 1 1 160px; }
.dom-name { font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dom-chosen { display: grid; gap: 4px; justify-items: start; }
.dom-h { margin-top: 18px; }
.regs { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 8px; }
.regs li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.regs li > div { display: grid; gap: 2px; min-width: 0; }
.regs small { font-size: 14px; }
.reg-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; vertical-align: 2px; border: 1px solid var(--cool); color: var(--cool); }
.regs li:first-child .reg-tag { background: oklch(0.44 0.18 256); border-color: oklch(0.7 0.16 258 / 0.7); color: #fff; }
.howto { margin: 10px 0 8px; padding-left: 22px; display: grid; gap: 8px; }
/* QR (тикет 61) */
.qr-card { display: grid; gap: 14px; }
.qr-body { display: grid; gap: 16px; align-items: start; }
@media (min-width: 640px) { .qr-body { grid-template-columns: 200px 1fr; gap: 24px; } }
.qr-img { width: 200px; height: 200px; border-radius: 12px; background: #fff; justify-self: center; }
.qr-text { display: grid; gap: 10px; align-content: start; }
/* карточка для карт (тикет 61) */
.map-card { display: grid; gap: 12px; }
.mc-fields { margin: 4px 0 0; display: grid; }
.mc-row { display: grid; grid-template-columns: 1fr; gap: 4px 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mc-row dt { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.mc-row dd { margin: 0; display: grid; gap: 4px; min-width: 0; }
.mc-val { white-space: pre-wrap; overflow-wrap: anywhere; }
.mc-copy { min-width: 132px; justify-self: start; }
.mc-copy.copied { border-color: var(--ok); color: var(--ok); }
@media (min-width: 640px) { .mc-row { grid-template-columns: 180px 1fr auto; } .mc-row dt { grid-column: auto; padding-top: 2px; } }
.mc-photos { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mc-photos li { display: grid; gap: 8px; }
.mc-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-soft); }
.mc-photos .btn { width: 100%; }
/* неделя без заявок (тикет 61) */
.quiet-card { display: grid; gap: 12px; border-color: oklch(0.8 0.15 60 / 0.6); }
.quiet-tips { margin: 0; padding-left: 22px; display: grid; gap: 14px; }
.quiet-tips li { display: grid; gap: 4px; justify-items: start; }
.quiet-tips li .btn { margin-top: 4px; }
.quiet-switch { display: grid; gap: 6px; }
.sw { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; }
.sw input { width: 22px; height: 22px; accent-color: oklch(0.6 0.17 250); flex: none; }
/* выгрузка заявок (тикет 61) */
.export-body { display: grid; gap: 12px; margin-top: 8px; }
.export-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 420px; }
.export-dates input { color-scheme: dark; }
.export-dates .field { min-width: 0; } .export-dates input { min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; }
/* тикет 63: заказы магазина */
.order-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
.order-lines b, .order-total b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-total { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line-soft); font-weight: 600; }
.seg-wrap { border-radius: 18px; }
.seg-wrap button { min-height: 44px; }
/* задание 89: отметка "для предпринимательской деятельности" у оплаты */
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; font-size: 16px; line-height: 1.4; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: oklch(0.6 0.17 250); }
/* задание 89: получатели заявок */
.lt-body { display: grid; gap: 12px; margin-top: 12px; }
.lt-mails { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.lt-mails legend { font-weight: 600; margin-bottom: 6px; }
.lt-mode { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.lt-mode legend { font-weight: 600; margin-bottom: 6px; }
.lt-mode label:has(input:disabled) { opacity: .7; }

/* 26.10.2026: карточка юридических страниц сайта (оферта п. 4.4) */
.legal-links{list-style:none;padding:0;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:8px 18px}
.legal-links a{display:inline-flex;align-items:center;gap:6px}
/* тикет 92: записи для настроек домена и проверка метки */
.dns-box { margin-top: 16px; display: grid; gap: 10px; }
.dns-recs { width: 100%; border-collapse: collapse; font-size: 15px; }
.dns-recs th, .dns-recs td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.dns-recs th { font-weight: 600; color: var(--muted); font-size: 13px; }
.dns-recs code { font: 14px/1.4 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.dns-recs small { display: block; font-size: 12px; }
.dns-where summary { cursor: pointer; color: var(--cool); }
.dns-where ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 600px) { .dns-recs thead { display: none; } .dns-recs tr { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); } .dns-recs td { border: 0; padding: 0; } }
