/* Pulse — личный кабинет: вход по почте, лицензия, устройство, загрузка, платежи, диалоги.
   Линия срока лицензии — та же трасса бренда: пока лицензия жива, на «сегодня» стоит пик;
   истекла — линия ровная, как на мониторе без пульса. */

:root, [data-theme="dark"] {
  --mk-flat: none; --lg-uw: 8; --lg-uo: .45; --lg-cw: 3.2;
  --page-bg: radial-gradient(70% 50% at 78% 0%, rgba(20, 32, 87, .55) 0%, transparent 70%), var(--bg);
  --input-bg: #0B0F22;
  --hero-card: radial-gradient(90% 120% at 100% 0%, rgba(47, 73, 255, .22) 0%, transparent 55%), linear-gradient(180deg, rgba(23, 28, 54, .9), rgba(10, 13, 28, .9));
  --dlg-shadow: 0 0 0 1px rgba(125, 149, 255, .16), 0 50px 120px -30px rgba(0, 0, 0, .85);
  --tl-dim: rgba(125, 149, 255, .22);
  --tl-hot: #EAF0FF;
  --row-hover: rgba(125, 149, 255, .05);
  --auth-shade: linear-gradient(180deg, rgba(5, 6, 13, 0) 30%, rgba(5, 6, 13, .82) 100%);
}
[data-theme="light"] {
  --mk-flat: block; --lg-uw: 10; --lg-uo: .16; --lg-cw: 3.6;
  --page-bg: radial-gradient(70% 50% at 78% 0%, rgba(47, 73, 255, .07) 0%, transparent 70%), var(--bg-alt);
  --input-bg: #FFFFFF;
  --hero-card: radial-gradient(90% 120% at 100% 0%, rgba(47, 73, 255, .08) 0%, transparent 55%), #FFFFFF;
  --dlg-shadow: 0 0 0 1px rgba(10, 15, 36, .08), 0 50px 120px -40px rgba(16, 26, 77, .45);
  --tl-dim: rgba(10, 15, 36, .16);
  --tl-hot: #2F49FF;
  --row-hover: rgba(47, 73, 255, .04);
  --auth-shade: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .9) 100%);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --mk-flat: block; --lg-uw: 10; --lg-uo: .16; --lg-cw: 3.6;
    --page-bg: radial-gradient(70% 50% at 78% 0%, rgba(47, 73, 255, .07) 0%, transparent 70%), var(--bg-alt);
    --input-bg: #FFFFFF;
    --hero-card: radial-gradient(90% 120% at 100% 0%, rgba(47, 73, 255, .08) 0%, transparent 55%), #FFFFFF;
    --dlg-shadow: 0 0 0 1px rgba(10, 15, 36, .08), 0 50px 120px -40px rgba(16, 26, 77, .45);
    --tl-dim: rgba(10, 15, 36, .16);
    --tl-hot: #2F49FF;
    --row-hover: rgba(47, 73, 255, .04);
    --auth-shade: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .9) 100%);
  }
}
.mk-flat { display: var(--mk-flat); }
.lg-under { fill: none; stroke-width: var(--lg-uw); opacity: var(--lg-uo); stroke-linejoin: round; stroke-linecap: round; }
.lg-core { fill: none; stroke-width: var(--lg-cw); stroke-linejoin: round; stroke-linecap: round; }

body.cab { background: var(--page-bg); background-attachment: fixed; }
[hidden] { display: none !important; }

/* ---- поля ---------------------------------------------------------------------- */
.f { display: grid; gap: 8px; margin-bottom: 16px; }
.f > label, .f-label { font: 500 14px/1.2 var(--font-text); color: var(--text-2); }
.input { width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: var(--radius-control); outline: none;
  font: 500 16px var(--font-text); color: var(--text); background: var(--input-bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow .2s var(--ease-ui); }
.input::placeholder { color: var(--text-3); opacity: .8; }
.input:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-text) 45%, var(--line-strong)); }
.input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in srgb, var(--focus) 26%, transparent); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--down), 0 0 0 4px color-mix(in srgb, var(--down) 18%, transparent); }
.f-help { font-size: 13.5px; color: var(--text-3); }
.f-err { font-size: 13.5px; color: var(--down); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: 14px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }

/* ---- вход ---------------------------------------------------------------------- */
.auth { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 0; padding: 14px; }
.auth-visual { position: relative; overflow: hidden; border-radius: var(--radius-panel); min-height: 560px; background: #05060D; isolation: isolate; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--auth-shade); }
.auth-visual .av-in { position: absolute; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(28px, 5vw, 60px); }
.av-in .av-h { font: 800 clamp(34px, 3.8vw, 60px)/1 var(--font-display); letter-spacing: -.045em; color: var(--text); max-width: 10ch; }
.av-in ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.av-in li { font: 500 11.5px/1 var(--font-mono); font-stretch: 112.5%; letter-spacing: .12em; text-transform: uppercase; color: var(--text-tint);
  padding: 9px 12px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth-side { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 4vw, 56px) 18px; }
.auth-top { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.auth-top .brand svg { width: 108px; height: auto; }
.auth-card { width: 100%; max-width: 420px; margin: 40px 0; }
.auth-h { font: 800 clamp(30px, 3vw, 40px)/1.05 var(--font-display); letter-spacing: -.04em; color: var(--text); margin: 30px 0 12px; }
.auth-sub { color: var(--text-2); margin-bottom: 28px; }
.auth-sub b { color: var(--text); font-weight: 600; }
.auth-note { margin-top: 18px; font-size: 14px; color: var(--text-3); text-align: center; }
.auth-foot { font-size: 13px; color: var(--text-3); }
.auth-bind { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 13px 15px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  color: var(--text-2); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--line-strong); }
.auth-bind .ic { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--accent-text); }
.auth-bind b { font: 600 13.5px var(--font-mono); letter-spacing: .08em; color: var(--text); white-space: nowrap; }
.demo-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; font-size: 13px; color: var(--demo); }
.demo-note .ic { width: 16px; height: 16px; }
.demo-note a { color: var(--demo); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.demo-note a:hover { color: var(--text); }
.back { margin-bottom: -6px; font-size: 14px; }
.back .ic { width: 16px; height: 16px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { all: unset; box-sizing: border-box; height: 42px; display: grid; place-items: center; border-radius: 10px; cursor: pointer;
  font: 600 15px var(--font-text); color: var(--text-3); transition: background .25s var(--ease-ui), color .25s var(--ease-ui), box-shadow .25s var(--ease-ui); }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong), 0 6px 18px -10px rgba(5, 6, 13, .5); }
.seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.otp input { width: 100%; height: 64px; border: 0; border-radius: 14px; outline: none; text-align: center; caret-color: var(--accent);
  font: 600 26px var(--font-mono); color: var(--text); background: var(--input-bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow .2s var(--ease-ui), transform .2s var(--ease-ui); }
.otp input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in srgb, var(--focus) 26%, transparent); }
.otp.is-bad input { box-shadow: inset 0 0 0 1.5px var(--down); animation: shake .4s var(--ease-ui); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---- каркас кабинета ------------------------------------------------------------ */
.cab-main { padding-top: 116px; padding-bottom: 56px; }
.cab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cab-head h1 { font: 800 clamp(34px, 4.4vw, 60px)/1 var(--font-display); letter-spacing: -.045em; }
.cab-head p { margin-top: 12px; color: var(--text-3); }
.cab-head p b { color: var(--text-2); font-weight: 500; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span8 { grid-column: span 8; } .span4 { grid-column: span 4; } .span12 { grid-column: 1 / -1; }

.card { position: relative; border-radius: 28px; background: var(--tile); box-shadow: var(--tile-ring); padding: clamp(22px, 2.6vw, 34px); min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title { display: flex; align-items: center; gap: 10px; font: 700 19px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.card-sub { color: var(--text-3); font-size: 14.5px; }
.card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* остров: меню аккаунта */
.acct { position: relative; margin-left: 4px; }
.acct-btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 4px; border-radius: var(--radius-pill);
  cursor: pointer; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 14px var(--font-text); }
.acct-btn:hover { background: var(--accent-soft); }
.acct-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.acct-btn .av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--grad-fill); font: 700 13px var(--font-display); }
.acct-btn .ic { width: 14px; height: 14px; color: var(--text-3); }
.acct-mail { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border-radius: 18px; background: var(--surface);
  box-shadow: var(--dlg-shadow); z-index: 70; transform-origin: 100% 0; transition: opacity .18s var(--ease-ui), transform .22s var(--ease-out); }
.menu[hidden] { display: block !important; opacity: 0; transform: translateY(-6px) scale(.97); pointer-events: none; visibility: hidden; }
.menu .m-mail { padding: 10px 12px 12px; font-size: 13.5px; color: var(--text-3); border-bottom: 1px solid var(--line); margin-bottom: 6px; overflow-wrap: anywhere; }
.menu button, .menu a { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 10px;
  cursor: pointer; font: 500 14.5px var(--font-text); color: var(--text); }
.menu button:hover, .menu a:hover { background: var(--accent-soft); }
.menu .ic { width: 18px; height: 18px; color: var(--text-3); }
@media (max-width: 760px) { .acct-mail, .acct-btn > .ic { display: none; } .acct-btn { padding: 0 4px; } }

/* ---- лицензия ------------------------------------------------------------------- */
.lic { background: var(--hero-card); overflow: hidden; }
.lic .field { --cell: 22px; --field-r: 60% 90%; --field-at: 100% 0%; opacity: .9; }
.lic-when { position: relative; margin-top: 6px; }
.lic-when .label { display: block; margin-bottom: 12px; }
.lic-date { font: 800 clamp(40px, 5.2vw, 76px)/.98 var(--font-display); letter-spacing: -.05em; color: var(--text); }
.lic-date span { color: var(--text-3); }
.lic-left { margin-top: 14px; font-size: 16px; color: var(--text-2); }
.lic-left b { color: var(--text); font-weight: 600; }
.lic-note { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5;
  color: var(--text-2); background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line); }
.lic-note .ic { width: 20px; height: 20px; margin-top: 1px; }
.lic-note.warn { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--demo) 40%, transparent); background: color-mix(in srgb, var(--demo) 7%, transparent); }
.lic-note.warn .ic { color: var(--demo); }
.lic-note.bad { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--down) 38%, transparent); background: color-mix(in srgb, var(--down) 7%, transparent); }
.lic-note.bad .ic { color: var(--down); }
.lic-note.wait .ic { color: var(--accent-text); }
.timeline { position: relative; margin-top: 26px; height: 104px; }
.timeline svg { width: 100%; height: 100%; overflow: visible; }
.tl-dim { stroke: var(--tl-dim); }
.tl-text { font: 500 11px var(--font-mono); letter-spacing: .08em; fill: var(--text-3); text-transform: uppercase; }
.tl-today { font: 600 11px var(--font-mono); letter-spacing: .1em; fill: var(--accent-text); text-transform: uppercase; }
.tl-flat { stroke: var(--tl-dim); stroke-dasharray: 2 6; }
.tl-dead { stroke: color-mix(in srgb, var(--down) 55%, var(--tl-dim)); }
@media (prefers-reduced-motion: no-preference) {
  .tl-comet { stroke-dasharray: 34 2000; stroke-dashoffset: 1000; animation: tl-comet 2.6s linear .6s infinite; }
}
.tl-comet { stroke: var(--tl-hot); }
@media (prefers-reduced-motion: reduce) { .tl-comet { display: none; } }
@keyframes tl-comet { from { stroke-dashoffset: 2034; } to { stroke-dashoffset: 1000; } }
.lic-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.lic-meta > div { padding: 14px 16px; min-width: 0; }
.lic-meta > div + div { box-shadow: inset 1px 0 0 var(--line); }
.lic-meta dt { font: 500 10.5px/1 var(--font-mono); font-stretch: 112.5%; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.lic-meta dd { margin: 0; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Состав лицензии: Pulse — основа, дополнения своими строками, дата у всех одна. */
.comp { position: relative; margin-top: 22px; }
.comp > .label { display: block; margin-bottom: 10px; }
.comp-list { list-style: none; margin: 0; padding: 0; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.comp-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; min-width: 0; }
.comp-list li + li { box-shadow: inset 0 1px 0 var(--line); }
.c-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; color: var(--text-3);
  background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.c-ic img { width: 100%; height: 100%; }
.c-ic .ic { width: 22px; height: 22px; }
.comp-list li.is-on .c-ic { color: var(--accent-text); background: var(--accent-soft); }
.c-name { min-width: 0; }
.c-name b { display: block; font-weight: 600; color: var(--text); }
.c-name small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-right { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 14px; }
.c-st { font-size: 13.5px; color: var(--text-3); white-space: nowrap; }
.c-right .link { font-size: 13.5px; }
.comp-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.switch { all: unset; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; color: var(--text); }
.switch i { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--line-strong); transition: background .25s var(--ease-ui); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(5, 6, 13, .35); transition: transform .3s var(--ease-out); }
.switch[aria-checked="true"] i { background: var(--accent); }
.switch[aria-checked="true"] i::after { transform: translateX(16px); }
.switch:focus-visible i { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---- скачать ---------------------------------------------------------------------- */
.dl { display: flex; flex-direction: column; }
.dl-icon { width: 76px; height: 76px; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -16px rgba(47, 73, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.dl-icon img { width: 100%; height: 100%; }
.dl h3 { font: 700 22px/1.15 var(--font-display); letter-spacing: -.025em; margin-top: 22px; }
.dl .ver { margin-top: 8px; font-size: 14.5px; color: var(--text-3); }
.dl .ver b { color: var(--text-2); font-weight: 500; }
.reqs { margin: 22px 0 0; }
.reqs div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.reqs dt { font: 500 10.5px/1 var(--font-mono); font-stretch: 112.5%; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.reqs dd { margin: 0; font-size: 14.5px; color: var(--text-2); }
.reqs div:lang(en) { grid-template-columns: 92px minmax(0, 1fr); }   /* «EXCHANGES» длиннее «БИРЖИ» */
.dl .actions { margin-top: auto; padding-top: 28px; flex-direction: column; align-items: stretch; }
.dl .soon { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; font-size: 13.5px; color: var(--text-3); }
.dl .soon .ic { width: 16px; height: 16px; }

/* ---- устройства ------------------------------------------------------------------- */
/* Три места рядом: где идёт работа — плитка с акцентом и живой трассой, открытый без работы — ровная линия,
   выключенный — пунктир; свободное место — пунктирная рамка с привязкой. */
.dev-count { flex: none; align-self: flex-start; padding: 9px 13px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 11.5px/1 var(--font-mono); font-stretch: 112.5%; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.dev-count:empty { display: none; }
.dev-count b { color: var(--text); font-weight: 600; }
.devs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dev { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px; border-radius: 22px;
  background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line); transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.dev.is-work { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent), 0 26px 60px -36px rgba(47, 73, 255, .75); }
.dev.is-free { grid-column: span var(--span, 1); background: none; box-shadow: none; outline: 1.5px dashed var(--line-strong); outline-offset: -1.5px; }
.dev-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dev-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--accent-text); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--line-strong); }
.dev-ic .ic { width: 30px; height: 30px; }
.dev.is-off .dev-ic, .dev.is-wait .dev-ic { color: var(--text-3); background: none; }
.dev.is-free .dev-ic { background: none; box-shadow: none; outline: 1.5px dashed var(--line-strong); outline-offset: -1.5px; }
.dev.is-free .dev-ic .ic { width: 24px; height: 24px; }
.dev-name { display: flex; align-items: center; gap: 4px; min-height: 38px; margin-top: 14px; font: 600 19px/1.25 var(--font-text); color: var(--text); min-width: 0; }
.dev-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-rn { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; cursor: pointer;
  color: var(--text-3); transition: color .2s var(--ease-ui), background .2s var(--ease-ui); }
.dev-rn:hover { color: var(--text); background: var(--accent-soft); }
.dev-rn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.dev-rn .ic { width: 16px; height: 16px; }
.dev-in { width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; outline: none; font: inherit; color: var(--text); background: var(--input-bg);
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in srgb, var(--focus) 26%, transparent); }
.dev-meta { margin-top: 2px; font-size: 13.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-why { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.dev.is-free .dev-why { color: var(--text-3); max-width: 46ch; }
.dev-pulse { height: 30px; margin: 12px 0 0; }
.dev-pulse svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dev-pulse .dp-slow { opacity: .6; animation-duration: 5.2s; }
.dev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px;
  font-size: 13px; color: var(--text-3); }
.dev.is-free .dev-foot { justify-content: flex-start; padding-top: 18px; }
/* Отвязка — редкое действие: тихая кнопка, красная только под курсором. */
.btn.quiet { color: var(--text-3); background: none; box-shadow: none; padding: 0 12px; margin-right: -6px; }
.btn.quiet:hover { color: var(--down); background: color-mix(in srgb, var(--down) 9%, transparent); filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .badge.live::before { animation: live 2.6s var(--ease-out) infinite; }
}
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--up) 0%, transparent); } }
.dev-full { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.dev-full > .ic { flex: none; width: 18px; height: 18px; color: var(--accent-text); }
.dev-full > span { flex: 1 1 240px; }

.ws { margin-top: 16px; padding: 18px 20px 16px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.ws-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--text-3); }
.ws-head .btn { margin-left: auto; }
.ws-head .ic { flex: none; width: 20px; height: 20px; color: var(--up); }
.ws-head b { color: var(--text); font-weight: 600; font-size: 15.5px; }
.ws.is-empty .ws-head .ic { color: var(--text-3); }
.ws-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.ws-grid > div { padding: 13px 15px; min-width: 0; }
.ws-grid > div + div { box-shadow: inset 1px 0 0 var(--line); }
.ws-grid dt { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font: 500 10.5px/1 var(--font-mono); font-stretch: 112.5%; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.ws-grid dt .ic { flex: none; width: 15px; height: 15px; color: var(--accent-text); }
.ws-grid dd { margin: 0; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }

.quota { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; font-size: 14px; color: var(--text-3); }
.quota .bars { display: inline-flex; gap: 5px; }
.quota .bars i { width: 24px; height: 6px; border-radius: 3px; background: var(--accent); }
.quota .bars i.used { background: var(--line-strong); }
.quota b { color: var(--text); font-weight: 600; }
.dev-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px; border-radius: 22px;
  background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 9px;
  font: 600 13px var(--font-mono); color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--line-strong); }
.steps b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.hist { margin-top: 18px; }
.hist summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font: 500 14.5px var(--font-text); color: var(--accent-text); }
.hist summary::-webkit-details-marker { display: none; }
.hist summary .ic { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.hist[open] summary .ic { transform: rotate(180deg); }
.hist ol { list-style: none; margin: 14px 0 0; padding: 0; }
.hist li { display: grid; grid-template-columns: 172px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.hist li time { font: 500 13px var(--font-mono); color: var(--text-3); }

/* ---- платежи ---------------------------------------------------------------------- */
.pays { margin: 0; padding: 0; list-style: none; }
.pays li { display: grid; grid-template-columns: 104px minmax(0, 1.25fr) minmax(0, 1fr) 112px 124px 40px; gap: 14px; align-items: center;
  padding: 14px 10px; margin: 0 -10px; border-radius: 12px; font-size: 14.5px; color: var(--text-2); }
.pays li + li { box-shadow: 0 -1px 0 var(--line); }
.pays li:hover { background: var(--row-hover); }
.pays .p-date { font: 500 13px var(--font-mono); color: var(--text-3); }
.pays .p-what { color: var(--text); font-weight: 500; }
.pays .p-how { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pays .p-sum { font: 600 14.5px var(--font-mono); color: var(--text); text-align: right; white-space: nowrap; }
.pays .p-doc { justify-self: end; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--text-3);
  box-shadow: inset 0 0 0 1px var(--line-strong); }
.pays .p-doc:hover { color: var(--text); background: var(--accent-soft); }
.pays .p-doc .ic { width: 17px; height: 17px; }
.pays-empty { padding: 28px 0 8px; color: var(--text-3); text-align: center; }

.help { display: flex; flex-direction: column; gap: 14px; }
.help p { color: var(--text-2); font-size: 15px; }
.help .actions { margin-top: auto; }

/* ---- диалоги -------------------------------------------------------------------- */
.dlg { width: min(620px, calc(100vw - 20px)); max-height: calc(100svh - 20px); padding: 0; border: 0; border-radius: 28px; color: var(--text-2);
  background: var(--surface); box-shadow: var(--dlg-shadow); overflow: auto; overscroll-behavior: contain;
  opacity: 1; transform: none; transition: opacity .25s var(--ease-ui), transform .4s var(--ease-out), overlay .3s allow-discrete, display .3s allow-discrete; }
.dlg:not([open]) { opacity: 0; transform: translateY(14px) scale(.985); }
@starting-style { .dlg[open] { opacity: 0; transform: translateY(14px) scale(.985); } }
.dlg::backdrop { background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s var(--ease-ui), overlay .3s allow-discrete, display .3s allow-discrete; }
@starting-style { .dlg[open]::backdrop { opacity: 0; } }
.dlg-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 18px; background: var(--surface); }
.dlg-head h2 { font: 800 clamp(24px, 3vw, 30px)/1.08 var(--font-display); letter-spacing: -.035em; }
.dlg-head .label { display: block; margin-bottom: 10px; }
.dlg-x { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
.dlg-x:hover { color: var(--text); background: var(--accent-soft); }
.dlg-x:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dlg-x .ic { width: 18px; height: 18px; }
.dlg-body { padding: 0 28px 28px; }
.dlg-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dlg-foot .btn { flex: 1 1 auto; }
.dlg .fine { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.steps-bar { display: flex; gap: 6px; margin-top: 16px; }
.steps-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-strong); transition: background .4s var(--ease-out); }
.steps-bar i.on { background: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block; padding: 18px 16px 16px; border-radius: 18px; cursor: pointer; background: var(--ghost-bg);
  box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .2s var(--ease-ui), background .2s var(--ease-ui), transform .2s var(--ease-ui); }
.opt:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent-text) 55%, var(--line-strong)); }
.opt:active { transform: scale(.985); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt .o-name, .opt .o-price, .opt .o-sub { display: block; }
.opt .o-name { font: 600 15px/1.2 var(--font-text); color: var(--text); }
.opt .o-price { margin-top: 12px; font: 700 clamp(20px, 2.4vw, 24px)/1 var(--font-display); letter-spacing: -.03em; color: var(--text); white-space: nowrap; }
.opt .o-sub { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.opt .o-save { position: absolute; top: 14px; right: 12px; font: 600 11px/1 var(--font-mono); letter-spacing: .04em; color: var(--up);
  padding: 4px 7px; border-radius: 6px; background: color-mix(in srgb, var(--up) 12%, transparent); }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.methods .opt { display: flex; gap: 14px; align-items: center; padding: 16px; }
.methods .opt .ic { width: 26px; height: 26px; color: var(--accent-text); flex: none; }
.methods .o-sub { margin-top: 3px; }
/* Галочки дополнений в оплате: та же плитка выбора, но с видимым квадратом отметки. */
.adds { display: grid; gap: 8px; }
.adds .opt { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.adds .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .2s var(--ease-ui), color .2s var(--ease-ui), box-shadow .2s var(--ease-ui); }
.adds .ck .ic { width: 14px; height: 14px; }
.adds .opt:has(input:checked) .ck { color: #fff; background: var(--accent); box-shadow: none; }
.adds .opt.is-base { cursor: default; opacity: .85; }
.adds .opt.is-base:active { transform: none; }
.adds .o-txt { min-width: 0; }
.adds .o-sub { margin-top: 3px; }
.adds .o-add { font: 600 14.5px var(--font-mono); color: var(--text); white-space: nowrap; }
.sum.sum-lines { display: block; }
.sum-lines ul { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-2); }
.sum-lines li small { color: var(--text-3); font-size: 13px; }
.sum-lines li b { font: 600 14px var(--font-mono); color: var(--text); white-space: nowrap; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 18px 20px;
  border-radius: 18px; background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line); }
.sum .s-l { font-size: 14px; color: var(--text-3); }
.sum .s-l b { color: var(--text-2); font-weight: 500; }
.sum .s-v { font: 800 28px/1 var(--font-display); letter-spacing: -.035em; color: var(--text); white-space: nowrap; }
.sect-l { display: block; margin: 22px 0 12px; }

.code-in { width: 100%; height: 76px; padding: 0 12px; border: 0; border-radius: 18px; outline: none; text-align: center; text-transform: uppercase;
  font: 600 clamp(24px, 4vw, 32px) var(--font-mono); letter-spacing: .2em; color: var(--text); background: var(--input-bg);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s var(--ease-ui); }
.code-in::placeholder { color: var(--text-3); opacity: .45; }
.code-in:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in srgb, var(--focus) 26%, transparent); }
.code-in[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--down); }
.how { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; counter-reset: h; }
.how li { counter-increment: h; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; color: var(--text-2); }
.how li::before { content: counter(h); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  font: 600 13px var(--font-mono); color: var(--accent-text); background: var(--accent-soft); }
.how b { color: var(--text); font-weight: 600; }

.xfer { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 6px; }
.xfer .dv { padding: 16px; border-radius: 18px; background: var(--ghost-bg); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.xfer .dv.new { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.xfer .dv .ic { width: 28px; height: 28px; color: var(--accent-text); }
.xfer .dv .label { display: block; margin: 12px 0 6px; font-size: 10.5px; }
.xfer .dv b { display: block; color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xfer .dv span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.xfer .dv.old b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--down) 70%, transparent); }
.xfer .xf-svg { width: 100%; height: 40px; overflow: visible; }
.xfer.one { grid-template-columns: minmax(0, 1fr); }
.req-meta { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.req-meta .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.repl { display: grid; gap: 8px; }
.repl .opt { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.repl .opt .ic { flex: none; width: 22px; height: 22px; color: var(--accent-text); }
.repl .o-sub { margin-top: 3px; }
.dlg .lic-note + .fine { margin-top: 12px; }
.xf-line { stroke: var(--tl-dim); }
.xf-comet { stroke: var(--tl-hot); }
@media (prefers-reduced-motion: no-preference) {
  .xf-comet { stroke-dasharray: 26 2000; stroke-dashoffset: 1000; animation: tl-comet 1.6s linear infinite; }
}

.vers { list-style: none; margin: 0; padding: 0; }
.vers li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.vers li:first-child { border-top: 0; }
.v-when { min-width: 0; }
.v-when b { display: block; font-weight: 600; color: var(--text); }
.v-when small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.vers li.is-cur .v-when b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--up); vertical-align: middle; }

.done { text-align: center; padding: 8px 0 4px; }
.done-mark { display: grid; place-items: center; width: 84px; height: 84px; margin: 6px auto 20px; border-radius: 50%;
  color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--up) 40%, transparent); }
.done-mark .ic { width: 40px; height: 40px; }
@media (prefers-reduced-motion: no-preference) { .done-mark { animation: pop .6s var(--ease-out) both; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.done h3 { font: 800 26px/1.1 var(--font-display); letter-spacing: -.035em; }
.done p { margin-top: 10px; color: var(--text-2); }

.wait-line { height: 56px; margin: 8px 0 6px; }
.wait-line svg { width: 100%; height: 100%; }
.invoice { display: grid; gap: 12px; }
.inv-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.inv-row span { color: var(--text-3); }
.inv-row b { font: 600 15px var(--font-mono); color: var(--text); text-align: right; }
.addr { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--input-bg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.addr code { flex: 1; min-width: 0; font: 500 13.5px var(--font-mono); color: var(--demo); overflow-wrap: anywhere; }
.chain { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.chain li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14.5px; color: var(--text-3); }
.chain li i { width: 10px; height: 10px; margin: 0 6px; border-radius: 50%; background: var(--line-strong); }
.chain li.on { color: var(--text); } .chain li.on i { background: var(--up); box-shadow: 0 0 0 4px color-mix(in srgb, var(--up) 18%, transparent); }
.chain li.now i { background: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-text) 22%, transparent); }
.chain li small { font: 500 12px var(--font-mono); color: var(--text-3); }

/* ---- демо-панель и уведомления ------------------------------------------------ */
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 65; }
.demo-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--radius-pill);
  cursor: pointer; font: 500 12px var(--font-mono); font-stretch: 112.5%; letter-spacing: .14em; text-transform: uppercase; color: var(--demo);
  background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--demo) 45%, transparent), var(--shadow); }
.demo-btn .ic { width: 15px; height: 15px; }
.demo-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.demo .menu { left: 0; right: auto; top: auto; bottom: calc(100% + 10px); transform-origin: 0 100%; min-width: 260px;
  max-height: calc(100svh - 90px); overflow-y: auto; overscroll-behavior: contain; }
.demo .menu .m-mail { color: var(--demo); }
.demo .menu .m-sep { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.demo .menu button.on { background: var(--accent-soft); }
.demo .menu button.on::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px;
  border-radius: var(--radius-pill); font: 500 14px var(--font-text); color: var(--text); background: var(--surface-2); box-shadow: var(--dlg-shadow);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-ui), transform .35s var(--ease-out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 18px; height: 18px; color: var(--up); }

.cab-foot { padding: 8px 0 32px; font-size: 13px; color: var(--text-3); }
.cab-foot .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.cab-foot a { color: var(--text-3); } .cab-foot a:hover { color: var(--text); }
.cab-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- связь с сервером: загрузка, отказы, оплата «пока нет», согласие, заметки выпуска ------------- */
.boot { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px 16px; text-align: center; color: var(--text-3); }
.boot-mark { width: 148px; height: auto; }
@media (prefers-reduced-motion: no-preference) { .boot-mark { animation: boot-beat var(--beat) var(--ease-ui) infinite; } }
@keyframes boot-beat { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.check + .agree-err { margin: -14px 0 16px 32px; }
.consent-lead { margin-bottom: 20px; color: var(--text-2); }
.toast.is-bad .ic { color: var(--down); }
.done.is-soon .done-mark { color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.done .link { display: inline; }
.sum.is-wait li span, .sum.is-wait .s-v { opacity: .5; }
.sum-err { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--down); }
.sum-err .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.notes-date { margin-bottom: 12px; }
.notes { white-space: pre-line; color: var(--text-2); line-height: 1.6; }

/* ---- адаптив ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .span8, .span4 { grid-column: 1 / -1; }
  .dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 20px; align-items: center; }
  .dl h3 { margin-top: 0; }
  .dl .dl-icon { grid-row: span 2; }
  .dl .reqs { grid-column: 1 / -1; }
  .dl .actions { grid-column: 1 / -1; padding-top: 22px; flex-direction: row; }
  .dl .soon { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .devs { grid-template-columns: minmax(0, 1fr); }
  .dev.is-free { grid-column: auto; }
  .auth { grid-template-columns: 1fr; padding: 0; }
  .auth-visual { display: none; }
  .auth-side { min-height: 100svh; }
}
@media (max-width: 760px) {
  .cab-main { padding-top: 96px; }
  #device .card-head { flex-wrap: wrap; align-items: flex-start; }
  #device .card-head > div { flex: 1 1 280px; }
  .dev { padding: 16px; }
  .dev-meta { white-space: normal; }
  .ws { padding: 16px; }
  .ws-grid dd { white-space: normal; }
  .ws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-grid > div:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .ws-grid > div:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .dev-empty { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .comp-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .c-right { grid-column: 1 / -1; justify-content: space-between; }
  .comp-list li.is-base .c-right:has(> .c-st:only-child) { display: none; }
  .c-name small { white-space: normal; }
  .lic-meta { grid-template-columns: 1fr; }
  .lic-meta > div + div { box-shadow: inset 0 1px 0 var(--line); }
  .pays li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .pays .p-date { grid-column: 1; } .pays .p-sum { grid-column: 2; grid-row: 1; }
  .pays .p-what { grid-column: 1 / -1; } .pays .p-how { grid-column: 1; } .pays .badge { grid-column: 2; justify-self: end; }
  .pays .p-doc { display: none; }
  .plans { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr; }
  .xfer { grid-template-columns: 1fr; }
  .xfer .xf-svg { height: 30px; transform: rotate(90deg); width: 60px; margin: -6px auto; }
  .hist li { grid-template-columns: 1fr; gap: 2px; }
  .dlg-head { padding: 22px 20px 14px; } .dlg-body { padding: 0 20px 22px; }
  .otp { gap: 6px; } .otp input { height: 56px; font-size: 22px; }
  .demo { left: 12px; bottom: 12px; }
}
