/* Moment · компоненты интерфейса из макета Claude Design.
 *
 * Источник: прототип «Момент — прототип.html». Здесь только те правила, чьи классы
 * у нас отсутствовали (271 класс): чипы, сегменты, переключатели, карточки «ход»,
 * «лут», пилюля загрузки модели, шиты, шапка чата, счётчик токенов, каркас главной
 * с пространствами. Наши работающие стили не переопределяются — правила, где хотя бы
 * один класс уже есть в workspace.css/theme.css/onboarding.css, в этот файл не попали.
 *
 * Порядок важен: файл подключается последним, потому что в прототипе он тоже шёл
 * после базового слоя. Значения — из макета, ссылаются на те же токены (--m-*).
 *
 * Не вошло намеренно: экраны, у которых нет настоящих данных (языки, поездки,
 * бюджет, заметки, рутины, ИИ-пространства), dev-панель прототипа и мёртвый бандл
 * дизайн-системы. Токены тоже не дублируются — они уже в theme.css.
 */
.ob-screen{flex:1;display:flex;flex-direction:column;animation:obIn .35s ease}
.ob-progress{display:flex;gap:5px;margin:0 0 22px}
.ob-progress span{flex:1;height:3px;border-radius:2px;background:var(--m-line)}
.ob-center{flex:1;display:flex;flex-direction:column;justify-content:center}
.ob-h{color:var(--m-text)!important;-webkit-text-fill-color:var(--m-text)!important;background:none!important}
.device-line{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--m-muted);margin:0 0 12px}
.warn-t{color:var(--m-warn)!important}
.ok-t{color:var(--m-success)}
.pro-tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.4px;padding:2px 6px;border-radius:6px;background:var(--m-accent);color:#fff;margin-right:6px;vertical-align:1px}
b .pro-tag{margin:0}
.warm-line{font-size:13px;line-height:1.5;color:var(--m-muted);margin:14px 0 0}
.ob-input{width:100%;border:1px solid var(--m-line);border-radius:14px;padding:13px 14px;font:inherit;font-size:16px;margin-top:2px}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--m-line);background:var(--m-raised);color:var(--m-text);border-radius:20px;padding:9px 14px;font-size:14px;min-height:40px}
.chip[aria-pressed=true]{background:var(--m-accent-deep);border-color:var(--m-accent);color:var(--m-accent-text)}
.cta-row{display:flex;gap:10px}
.confirm-card{border:1px solid var(--m-line);background:var(--m-card);border-radius:20px;padding:16px;margin-top:10px;animation:obIn .3s ease}
.cc-head{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.cc-head strong{font-size:16px;font-weight:600;display:flex;align-items:center}
.cc-head small{display:block;color:var(--m-muted);font-size:13px;margin-top:2px}
.cc-instr{font-size:14px;line-height:1.5;margin:0 0 14px;color:var(--m-text)}
.in-team{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.dl-pill{position:relative;overflow:hidden;display:inline-flex;align-items:center;height:30px;padding:0 11px;border-radius:15px;border:1px solid var(--m-line);background:var(--m-card);font-size:12px;color:var(--m-text);white-space:nowrap}
.dl-bar{position:absolute;left:0;top:0;bottom:0;background:var(--m-accent-deep);transition:width .25s linear}
.dl-t{position:relative}
.tok{height:32px;padding:0 12px;border-radius:16px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);color:var(--m-accent-text);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.tok.flash{animation:pop .5s ease}
.tok.pro{display:inline-flex;gap:5px;align-items:center}
.strip-item{font:inherit;color:var(--m-text)}
.mdl{font-size:11px;color:var(--m-dim)}
.sys-line{align-self:center;font-size:12px;color:var(--m-accent-text);background:var(--m-accent-deep);border:1px solid var(--m-accent-line);border-radius:12px;padding:6px 12px;animation:obIn .3s}
.tg-offer{animation:obIn .4s ease;margin-top:6px}
.resume{width:100%;min-height:44px;border-radius:14px;margin:6px 0}
.qr{display:flex;gap:8px;overflow-x:auto;padding:8px 0 2px;scrollbar-width:none}
.qr button{white-space:nowrap;border-radius:16px;padding:8px 12px;font-size:13px;flex-shrink:0}
.spin-lg{width:44px;height:44px;border-radius:50%;border:3px solid var(--m-line);border-top-color:var(--m-accent-soft);animation:spin .8s linear infinite;margin-bottom:16px}
.fill-sheet{position:relative;overflow:hidden;min-height:340px;justify-content:center}
.fill-fx{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.fill-fx::before,.fill-fx::after{content:"";position:absolute;left:50%;width:300%;aspect-ratio:1;border-radius:42%;top:100%;animation:fillup 1.5s cubic-bezier(.3,.6,.25,1) forwards,wave 4s linear infinite}
.fill-fx::before{background:var(--m-accent)}
.fill-fx::after{background:var(--m-accent-soft);opacity:.35;animation-duration:1.3s,6s;border-radius:45%}
.fill-content{position:relative;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center}
.fill-content h2{color:#fff;margin:4px 0 6px}
.fill-content p{margin:0 0 20px;font-size:14px;color:#fff}
.fill-check{width:48px;height:48px;border-radius:50%;background:#fff;color:var(--m-accent);display:grid;place-items:center;font-size:24px;font-weight:700;transform:scale(0);animation:popIn .45s 1s cubic-bezier(.3,1.6,.5,1) forwards}
.fill-big{font-size:56px;font-weight:700;letter-spacing:-2px;line-height:1.1;margin-top:10px;font-variant-numeric:tabular-nums}
.fill-btn{min-height:48px;width:100%;border-radius:14px;border:0;background:#fff;color:var(--m-accent);font-size:15px;font-weight:600}
.sparks span{position:absolute;bottom:20%;color:#fff;font-size:18px;opacity:0;animation:spark 1.6s ease-out forwards}
.perks{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:8px}
.perks li{font-size:14px;display:flex;gap:10px}
.perks li::before{content:"✳";color:var(--m-accent-soft)}
.plan-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.plan-note-t{display:block;font-size:12px;color:var(--m-accent-text);margin-top:6px}
.sbp-btn{width:100%;min-height:52px;border-radius:14px;font-size:15px;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:10px}
.sbp-mark{font-size:11px;font-weight:800;letter-spacing:.5px;background:#fff;color:var(--m-accent);border-radius:6px;padding:3px 6px}
.bank-list{display:flex;flex-direction:column;gap:8px}
.bank-ico{width:34px;height:34px;border-radius:10px;background:var(--m-line);display:grid;place-items:center;font-weight:700}
.modal-box{width:100%;max-width:360px;border-radius:24px!important;animation:modalIn .35s cubic-bezier(.3,1.4,.5,1)!important}
.modal-box .fill-sheet{border-radius:24px;animation:none}
.tg-modal{position:relative;align-items:center;text-align:center;padding:28px 22px 20px!important}
.tg-x{position:absolute;top:12px;right:12px;width:32px;height:32px;font-size:20px}
.tg-badge{width:64px;height:64px;border-radius:20px;background:var(--m-accent);color:#fff;display:grid;place-items:center;margin-bottom:14px;box-shadow:0 0 0 8px var(--m-accent-deep);animation:bob 2.4s ease-in-out infinite}
.tg-amount{font-size:44px;font-weight:700;letter-spacing:-1.5px;line-height:1;color:var(--m-accent-text)}
.tg-amount span{font-size:28px;color:var(--m-accent-soft)}
.tg-modal h2{margin:8px 0 6px}
.tg-cta{display:flex;align-items:center;justify-content:center;gap:8px}
.proj-row{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--m-muted);padding:6px 0 2px}
.proj-row b{color:var(--m-text);font-variant-numeric:tabular-nums;min-width:34px;text-align:right}
.proj-bar{flex:1;height:6px;border-radius:3px;background:var(--m-line);overflow:hidden}
.proj-bar div{height:100%;background:linear-gradient(90deg,var(--m-accent),var(--m-accent-soft));border-radius:3px;transition:width .9s cubic-bezier(.3,1.3,.5,1)}
.loot{position:relative;overflow:hidden;align-self:center;width:88%;text-align:center;border:1px solid var(--m-accent);background:var(--m-accent-deep);border-radius:18px;padding:14px 16px;animation:lootIn .6s cubic-bezier(.3,1.5,.5,1)}
.loot-shine{position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(199,191,251,.35) 50%,transparent 70%);transform:translateX(-100%);animation:shine 1.2s .3s ease forwards}
.loot-eyebrow{display:block;font-size:10px;letter-spacing:1.5px;font-weight:650;color:var(--m-accent-text);text-transform:uppercase}
.loot strong{display:block;font-size:17px;margin:4px 0 2px}
.loot-gain{font-size:13px;font-weight:700;color:var(--m-success)}
.move-dock{padding:10px 0 2px}
.dock-label{display:block;font-size:10px;letter-spacing:1.5px;font-weight:650;color:var(--m-muted);text-transform:uppercase;margin-bottom:8px}
.dots{display:inline-flex;gap:3px;margin-left:6px}
.dots i{width:4px;height:4px;border-radius:50%;background:var(--m-accent-soft);animation:dotb 1s infinite}
.dots i:nth-child(2){animation-delay:.15s}
.dots i:nth-child(3){animation-delay:.3s}
.moves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.move{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:10px;min-height:118px;border-radius:16px;border:1px solid var(--m-line);background:var(--m-raised);color:var(--m-text);font:inherit;box-shadow:0 4px 0 var(--m-deep);transition:transform .12s,box-shadow .12s,opacity .3s;animation:dealIn .45s cubic-bezier(.3,1.5,.5,1) backwards}
.move:active{transform:translateY(4px);box-shadow:0 0 0 var(--m-deep)}
.move b{font-size:13px;font-weight:600;line-height:1.25;flex:1}
.move small{font-size:11px;color:var(--m-muted)}
.move-top{display:flex;justify-content:space-between;align-items:center;width:100%}
.move-gain{font-size:12px;font-weight:700;color:var(--m-success)}
.move.best{border-color:var(--m-accent);background:var(--m-accent-deep);box-shadow:0 4px 0 var(--m-accent-line),0 0 18px rgba(108,92,231,.35);overflow:hidden}
.move.best::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(199,191,251,.25) 50%,transparent 65%);animation:sweep 2.6s ease-in-out infinite;pointer-events:none}
.best-tag{position:absolute;top:-1px;right:-1px;font-size:9px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;background:var(--m-accent);color:#fff;padding:3px 7px;border-radius:0 15px 0 10px}
.move.best .move-top{margin-top:8px}
.move.picked{transform:scale(1.06);border-color:var(--m-accent-soft);box-shadow:0 0 0 4px var(--m-accent-deep),0 0 30px rgba(139,124,246,.6);overflow:visible;z-index:2}
.move.gone{opacity:0;transform:scale(.9)}
.move:disabled{cursor:default}
.burst{position:absolute;left:50%;top:50%;pointer-events:none}
.burst i{position:absolute;font-style:normal;color:var(--m-accent-text);font-size:16px;animation:burst .6s ease-out forwards;transform:rotate(var(--a)) translateY(0)}
.pause-card{display:flex;align-items:center;gap:12px;margin:4px 0 10px;padding:12px;border-radius:16px;border:1px solid var(--m-line);background:var(--m-card);animation:obIn .4s}
.pause-card strong{display:block;font-size:14px}
.pause-card small{display:block;font-size:12px;color:var(--m-muted);line-height:1.4;margin-top:2px}
.pause-ico{width:36px;height:36px;border-radius:12px;background:var(--m-raised);display:grid;place-items:center;font-size:14px;flex-shrink:0}
.tg-team{justify-content:center;margin-bottom:10px}
.tg-team>*{filter:saturate(.6)}
.pause-chip{font-size:11px;color:var(--m-warn);border:1px solid var(--m-line);border-radius:12px;padding:4px 10px;background:var(--m-raised)}
.fill-sheet.live{padding:32px 22px 22px!important}
.fill-sheet.live .fill-fx::before,.fill-sheet.live .fill-fx::after{animation:wave 4s linear infinite;top:100%;transition:top 3s cubic-bezier(.2,.6,.3,1)}
.fill-sheet.live .fill-fx::after{animation-duration:6s}
.fill-sheet.live .fill-fx.checking::before,.fill-sheet.live .fill-fx.checking::after{top:40%}
.fill-sheet.live .tg-badge{margin-bottom:16px}
.fill-btn.ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3)}
.fill-sheet.live .fill-check{animation-delay:.6s}
.sum-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px;border-radius:14px;border:1px solid var(--m-line);background:var(--m-raised);color:var(--m-text);font:inherit}
.sum-row b{display:block;font-size:14px;font-weight:600}
.sum-row small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.sum-ico{width:34px;height:34px;border-radius:10px;background:var(--m-accent-deep);color:var(--m-accent-text);display:grid;place-items:center;font-weight:700;flex-shrink:0}
.sum-edit{font-size:13px;color:var(--m-accent-soft);font-weight:600;flex-shrink:0}
.cfg-sheet{max-height:88dvh;overflow-y:auto}
.cfg-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}
.cfg-head h2{margin:0;font-size:20px}
.prov-list{display:flex;flex-direction:column;gap:6px}
.prov{border:1px solid var(--m-line);border-radius:14px;background:var(--m-raised);padding:2px 12px 8px}
.prov-main{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;color:var(--m-text);font:inherit;text-align:left;padding:10px 0 2px}
.prov-main b{display:flex;gap:6px;align-items:center;font-size:14px;font-weight:600}
.prov-main small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--m-dim);flex-shrink:0}
.prov-price{font-size:12px;color:var(--m-muted);flex-shrink:0}
.prov-more{background:none;border:0;padding:2px 0 0 28px;font-size:12px;color:var(--m-accent-soft)}
.prov-desc{margin:6px 0 2px 28px;font-size:12px;line-height:1.5;color:var(--m-muted)}
.seg{display:flex;padding:3px;border-radius:12px;background:var(--m-raised);border:1px solid var(--m-line)}
.seg button{flex:1;min-height:38px;border:0;border-radius:9px;background:none;color:var(--m-muted);font:inherit;font-size:13px}
.seg button[aria-pressed=true]{background:var(--m-accent);color:#fff;font-weight:600}
.seg-note{font-size:12px;color:var(--m-muted);margin:8px 0 0}
.adv-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:18px;padding:12px 0;border:0;border-top:1px solid var(--m-line-soft);background:none;color:var(--m-text);font:inherit;font-size:14px}
.chev{width:16px;height:16px;transition:transform .2s}
.adv-toggle[aria-expanded=true] .chev{transform:rotate(90deg)}
.adv{animation:obIn .25s}
.acc-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:14px}
.chat-wrap{flex:1;flex-direction:column;min-height:0}
.fill-sheet.live .fill-fx.fail::before,.fill-sheet.live .fill-fx.fail::after{top:100%;transition-duration:1s}
.fail-ico{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:700;background:var(--m-raised);color:var(--m-warn);border:1px solid var(--m-line);margin-bottom:14px}
.fail-ico.err{color:var(--m-error)}
.fill-content .fail-ico{background:rgba(255,255,255,.08)}
.pw-progress{height:8px;border-radius:4px;background:var(--m-line);overflow:hidden;margin:-8px 0 16px}
.pw-progress div{height:100%;background:linear-gradient(90deg,var(--m-accent),var(--m-accent-soft))}
.pw-lists{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:6px}
.pw-item{display:block;font-size:13px;line-height:1.4;color:var(--m-muted);margin-bottom:5px}
.dl-pill.err{border-color:var(--m-warn);color:var(--m-warn);font:inherit;font-size:12px}
.net-banner{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--m-text);background:var(--m-raised);border:1px solid var(--m-line);border-radius:12px;padding:8px 12px;margin:0 0 10px}
.home-screen{padding-top:6px}
.cont-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;text-align:left;padding:16px;border-radius:20px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);color:var(--m-text);font:inherit}
.cont-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.cont-st{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--m-muted)}
.cont-st.pause{color:var(--m-warn)}
.cont-card strong{font-size:18px;font-weight:600}
.cont-cta{font-size:14px;font-weight:600;color:var(--m-accent-text);margin-top:8px}
.made-list{display:flex;flex-direction:column;gap:6px}
.made{display:flex;gap:10px;align-items:center;font-size:14px;padding:10px 12px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line-soft)}
.made>span:first-child{color:var(--m-accent-soft)}
.new-team{display:flex;flex-direction:row;align-items:center;gap:14px;text-align:left;margin-top:24px;padding:16px;width:100%;background:var(--m-card);border:1px solid var(--m-line);border-radius:20px;color:var(--m-text);font:inherit}
.new-team strong{display:block;font-size:15px}
.new-team small{display:block;font-size:12px;color:var(--m-muted);margin-top:3px}
.mic-sm{width:44px;height:44px;border-radius:50%;background:var(--m-accent);color:#fff;display:grid;place-items:center;flex-shrink:0}
.mention-tag{color:var(--m-accent-text);background:var(--m-accent-deep);border:1px solid var(--m-accent-line);border-radius:7px;padding:0 5px;font-weight:600;white-space:nowrap}
.strip-item.ping{animation:ping .9s ease}
.composer-wrap{position:relative}
.mention-pop{position:absolute;left:0;right:0;bottom:calc(100% + 6px);background:var(--m-card);border:1px solid var(--m-line);border-radius:16px;padding:6px;display:flex;flex-direction:column;gap:2px;box-shadow:0 12px 30px rgba(0,0,0,.45);z-index:5;animation:obIn .15s}
.mention-pop button{display:flex;align-items:center;gap:10px;padding:8px;border-radius:11px;border:0;background:none;color:var(--m-text);font:inherit;text-align:left}
.mp-t{flex:1;min-width:0}
.mp-t b{display:block;font-size:14px;font-weight:600}
.mp-t small{display:block;font-size:12px;color:var(--m-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-h{font-size:12px;color:var(--m-accent-soft);flex-shrink:0}
.cont-st.work{color:var(--m-warn)}
.cont-last{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.45;color:var(--m-muted);margin-top:8px;padding-top:10px;border-top:1px solid var(--m-accent-line)}
.cont-last b{color:var(--m-text);font-weight:600}
.cont-last>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.decide{margin-top:18px}
.decide-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;border:1px solid var(--m-warn);background:var(--m-card)}
.decide-card b{display:block;font-size:14px}
.decide-card small{display:block;font-size:12px;color:var(--m-muted);line-height:1.4;margin-top:2px}
.home-moves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hm{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;padding:10px;min-height:96px;border-radius:14px;border:1px solid var(--m-line);background:var(--m-raised);color:var(--m-text);font:inherit;box-shadow:0 3px 0 var(--m-deep)}
.hm:active{transform:translateY(3px);box-shadow:none}
.hm b{font-size:13px;font-weight:600;line-height:1.25}
.roster-h{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -2px;padding:0 2px}
.rh{flex:0 0 108px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;border-radius:16px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);font:inherit;text-align:left}
.rh b{font-size:13px;font-weight:600;margin-top:6px}
.rh small{font-size:11px;color:var(--m-muted)}
.rh-ava{position:relative}

.sp-top{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px}
.sp-top-t{flex:1;min-width:0}
.sp-top-t .ob-h{font-size:24px!important;margin:0!important}
.sp-glyph{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-size:14px;font-weight:700;color:#fff;flex-shrink:0;background:var(--m-raised)}
.g-work{background:var(--m-accent)}
.g-lang{background:#2e5f4a}
.g-life{background:#6b4a2b}
.g-notes{background:#5a3f7a}
.g-routines{background:var(--m-raised);border:1px solid var(--m-line);color:var(--m-accent-text)}
.sp-name{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--m-muted)}
.cont-card.mini strong{font-size:16px}
.sp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.sp-tile{display:flex;flex-direction:column;align-items:stretch;gap:3px;text-align:left;padding:14px;min-height:118px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);font:inherit}
.sp-tile .sp-name{margin-bottom:auto;padding-bottom:12px}
.sp-tile b{font-size:18px;font-weight:650;font-variant-numeric:tabular-nums}
.sp-tile small{font-size:12px;color:var(--m-muted);line-height:1.35}
.sp-tile:active,.sum-row:active,.cont-card:active{transform:scale(.98)}
.conn-tile{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:var(--m-raised);border:1px solid var(--m-line);color:var(--m-text);font-size:13px;font-weight:700}
.conn-need{display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:12px;border-radius:14px;border:1px dashed var(--m-accent-line);background:var(--m-card);color:var(--m-text);font:inherit;text-align:left;animation:obIn .3s}
.conn-need span:nth-child(2){flex:1;min-width:0}
.conn-need b{display:block;font-size:14px;font-weight:600}
.conn-need small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.conn-cant{font-size:14px;margin:0;color:var(--m-muted);display:flex;gap:10px}
.conn-cant::before{content:"×";color:var(--m-error);font-weight:700}
.conn-wait{display:flex;flex-direction:column;align-items:center;gap:6px;padding:30px 0 16px;text-align:center}
.conn-wait .fill-check{background:var(--m-accent);color:#fff;margin-bottom:12px}
.conn-off{color:var(--m-muted)!important;font-size:13px;min-height:32px;padding:0 4px}
.streak{display:flex;align-items:center;gap:16px;padding:14px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);margin-bottom:12px}
.streak-n{display:flex;flex-direction:column;align-items:center;min-width:64px}
.streak-n b{font-size:32px;font-weight:700;line-height:1;color:var(--m-accent-text)}
.streak-n small{font-size:11px;color:var(--m-muted);margin-top:3px}
.streak-week{flex:1;display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.streak-week span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:var(--m-dim)}
.streak-week i{width:100%;max-width:24px;aspect-ratio:1;border-radius:8px;background:var(--m-raised);border:1px solid var(--m-line)}
.warm-list{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.warm-list li{font-size:13px;color:var(--m-muted);display:flex;gap:8px}
.warm-list li::before{content:"·";color:var(--m-accent-soft);font-weight:700}
.scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.scene-grid .hm{min-height:104px}
.scene-grid small{font-size:12px}
.mic-xs{width:26px;height:26px;border-radius:50%;background:var(--m-accent-deep);color:var(--m-accent-text);display:grid;place-items:center}
.fix-row{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line-soft);font-size:14px}
.fix-row small{font-size:12px;color:var(--m-muted)}
.fix-was{color:var(--m-muted);text-decoration:line-through;text-decoration-color:var(--m-error)}
.fix-now{color:var(--m-success);font-weight:600}
.vocab{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.vocab div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line-soft)}
.vocab b{font-size:14px;font-weight:600}
.vocab span{font-size:13px;color:var(--m-muted)}
.vocab small{font-size:11px;color:var(--m-accent-soft);margin-top:4px}
.lp-msgs{flex:1;display:flex;flex-direction:column;gap:12px;padding-bottom:12px}
.lp-you{display:flex;flex-direction:column;align-items:flex-end;gap:6px;animation:obIn .3s}
.lp-fix{max-width:85%;font-size:13px;padding:8px 10px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line);display:flex;flex-wrap:wrap;gap:4px 6px;align-items:baseline}
.lp-fix small{width:100%;font-size:12px;color:var(--m-muted)}
.lp-rec{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--m-accent-text)}
.lp-dock{position:sticky;bottom:0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 0 6px;background:linear-gradient(transparent,var(--m-bg) 30%)}
.bud-head b{display:block;font-size:34px;font-weight:700;letter-spacing:-1px;line-height:1.1;margin:4px 0 2px;font-variant-numeric:tabular-nums}
.bud-head small{display:block;font-size:13px}
.bud-cats{display:flex;flex-direction:column;gap:10px}
.bud-cats>div{display:grid;grid-template-columns:90px 1fr 80px;align-items:center;gap:10px;font-size:13px}
.bud-cats b{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.bud-cats .over b{color:var(--m-warn)}
.bud-cats .over .proj-bar div{background:var(--m-warn)}
.trip-check{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.trip-check>div{display:grid;grid-template-columns:auto 1fr;gap:0 8px;padding:10px 12px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line-soft);align-items:center}
.trip-check b{font-size:14px;font-weight:600}
.trip-check small{grid-column:2;font-size:12px;color:var(--m-muted)}
.tc-dot{grid-row:span 2;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;background:var(--m-raised);color:var(--m-muted)}
.trip-d{font-size:12px;font-weight:600;color:var(--m-accent-text);min-width:52px}
.decide-card.calm{border-color:var(--m-line)}
.split-list{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.split{display:flex;align-items:flex-start;gap:12px;width:100%;padding:12px;border-radius:14px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);color:var(--m-text);font:inherit;text-align:left;animation:dealIn .45s cubic-bezier(.3,1.5,.5,1) backwards}
.split small{display:block;font-size:11px;color:var(--m-muted)}
.split small:first-child{color:var(--m-accent-text);font-weight:600;letter-spacing:.3px;text-transform:uppercase;font-size:10px}
.split b{display:block;font-size:14px;font-weight:600;margin:2px 0}
.note-row{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:14px;background:var(--m-card);border:1px solid var(--m-line-soft);font-size:14px;line-height:1.45}
.note-to{display:flex;flex-wrap:wrap;gap:6px}
.note-to button,.sp-chips button,.rt-needs button{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:14px;border:1px solid var(--m-line);background:var(--m-raised);color:var(--m-text);font:inherit;font-size:12px}
.rt{padding:14px;border-radius:16px;border:1px solid var(--m-line);background:var(--m-card);display:flex;flex-direction:column;gap:8px}
.rt-top{display:flex;align-items:center;gap:12px}
.rt-top b{display:block;font-size:15px;font-weight:600}
.rt-top small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.rt p{margin:0;font-size:13px;color:var(--m-muted);line-height:1.45}
.rt-needs{display:flex;flex-wrap:wrap;gap:6px}
.rt-warn{font-size:12px;color:var(--m-warn)}
.tl{display:flex;flex-direction:column}
.tl-row{display:grid;grid-template-columns:50px 14px 1fr;gap:10px;align-items:start;padding:0;border:0;background:none;color:var(--m-text);font:inherit;text-align:left;position:relative}
.tl-row::before{content:"";position:absolute;left:66px;top:16px;bottom:-4px;width:2px;background:var(--m-line)}
.tl-row:last-child::before{display:none}
.tl-time{font-size:12px;color:var(--m-muted);padding-top:10px;font-variant-numeric:tabular-nums;text-align:right}
.tl-dot{width:12px;height:12px;border-radius:50%;border:2px solid var(--m-dim);background:var(--m-bg);margin-top:11px;position:relative;z-index:1}
.tl-t{padding:8px 12px 12px;margin-bottom:6px;border-radius:14px}
.tl-t b{display:block;font-size:14px;font-weight:600}
.tl-t small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.sp-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.sp-chips button{flex-shrink:0;padding:6px 12px 6px 6px;font-size:13px;border-radius:16px}
.hc-hero{padding:18px 0 0}
.hc .ob-h{font-size:32px!important}
.hc-box{margin-top:14px;border:1px solid var(--m-accent-line);background:var(--m-card);border-radius:20px;padding:14px;box-shadow:0 0 0 6px var(--m-accent-deep)}
.hc-box textarea{width:100%;border:0;background:none;resize:none;font:inherit;font-size:16px;color:var(--m-text);outline:none;padding:0}
.hc-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.hc-actions small{font-size:12px}
.hc-chip{display:inline-flex;align-items:center;gap:8px;padding-left:6px}

.gen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gen-cell{min-width:0}
.gen-cell.w2{grid-column:span 2}
.gen-cell>.conn-need{margin-top:0}
.gen-cell.fresh{animation:tileIn .5s cubic-bezier(.3,1.4,.5,1) backwards}
.gen-cell.skel{border-radius:18px;background:linear-gradient(100deg,var(--m-card) 30%,var(--m-raised) 50%,var(--m-card) 70%);background-size:300% 100%;border:1px solid var(--m-line-soft);animation:skel 1.4s linear infinite,tileIn .4s backwards}
.gb{height:100%;padding:14px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);display:flex;flex-direction:column;gap:4px}
.gb-hero{border-color:var(--m-accent-line);background:var(--m-accent-deep)}
.gb-hero strong{font-size:18px;font-weight:600;line-height:1.25}
.gb-hero small{font-size:13px;color:var(--m-muted)}
.gb-stat{justify-content:flex-end;min-height:92px}
.gb-stat b{font-size:22px;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums;line-height:1.1}
.gb-stat b.acc{color:var(--m-accent-text);font-size:28px}
.gb-stat small{font-size:12px;color:var(--m-muted);line-height:1.3}
.gb-h{display:flex;justify-content:space-between;align-items:baseline;font-size:10px;letter-spacing:1.5px;font-weight:650;color:var(--m-muted);text-transform:uppercase;margin-bottom:6px}
.gb-h small{font-size:12px;letter-spacing:0;font-weight:600;color:var(--m-accent-text)}
.gb-check{display:flex;align-items:center;gap:10px;padding:7px 0;border:0;background:none;color:var(--m-text);font:inherit;font-size:14px;text-align:left}
.gb-box{width:20px;height:20px;border-radius:6px;border:2px solid var(--m-dim);display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0;transition:.15s}
.gb-tl{display:grid;grid-template-columns:34px 10px 1fr;gap:10px;align-items:center;padding:6px 0;font-size:14px}
.gb-tl span{font-size:12px;font-weight:600;color:var(--m-accent-text)}
.gb-tl i{width:8px;height:8px;border-radius:50%;background:var(--m-accent-soft)}
.gb-tl b{font-weight:500}
.gb-li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--m-line-soft);font-size:14px}
.gb-li:first-of-type{border-top:0}
.gb-li b{font-weight:600}
.gb-li small{color:var(--m-muted);font-size:12px;text-align:right}
.gb-note p{margin:0;font-size:14px;line-height:1.45}
.gb-conn-ok{flex-direction:row;align-items:center;gap:10px;font-size:13px;color:var(--m-accent-text);border-color:var(--m-accent-line)}
.gb-rt-ico{width:30px;height:30px;border-radius:10px;background:var(--m-accent-deep);color:var(--m-accent-text);display:grid;place-items:center;flex-shrink:0}
.gb-actions{padding:4px 0 0}
.gen-remove{align-self:center;color:var(--m-muted)!important;font-size:13px;margin:4px 0 0}
.gen-dock{position:sticky;bottom:0;margin-top:auto;padding:12px 0 4px;background:linear-gradient(transparent,var(--m-bg) 30%);display:flex;flex-direction:column;align-items:stretch}
.gen-dock .sys-line{align-self:center}
.sp-tile.new{border-style:dashed;border-color:var(--m-accent-line);background:none;align-items:flex-start}
.sp-tile.new .mic-xs{margin-bottom:auto}
.sp-tile.gen .sp-name em{font-style:normal;font-size:9px;letter-spacing:.5px;text-transform:uppercase;color:var(--m-accent-text);border:1px solid var(--m-accent-line);border-radius:6px;padding:1px 5px;margin-left:auto}

.g-travel{background:#2b4f6b}
.route{display:flex;gap:0;margin:0 0 16px;position:relative}
.route-stop{flex:1;display:flex;flex-direction:column;gap:2px;position:relative;padding-top:18px;min-width:0}
.route-stop i{position:absolute;top:0;left:0;width:12px;height:12px;border-radius:50%;border:2px solid var(--m-dim);background:var(--m-bg);z-index:1}
.route-stop::before{content:"";position:absolute;top:5px;left:12px;right:0;height:2px;background:var(--m-line)}
.route-stop:last-child::before{display:none}
.route-stop.next i{border-color:var(--m-accent-soft)}
.route-stop b{font-size:14px;font-weight:600}
.route-stop small{font-size:11px;color:var(--m-muted)}
.route-stop.plan b{color:var(--m-muted)}
.dump{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border-radius:20px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);color:var(--m-text);font:inherit;text-align:left}
.dump strong{display:block;font-size:15px}
.dump small{display:block;font-size:12px;color:var(--m-muted);margin-top:3px;line-height:1.4}
.hop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hop{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);min-width:0;transition:border-color .3s}
.hop.new{border-color:var(--m-accent);animation:tileIn .5s cubic-bezier(.3,1.4,.5,1)}
.hop-top{display:flex;align-items:center;gap:6px;margin-bottom:4px}
.hop-top .tc-dot{grid-row:auto;margin-left:auto;width:20px;height:20px;font-size:10px}
.hop-cat{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:650;color:var(--m-muted)}
.hop-new{font-size:9px;font-weight:700;color:var(--m-accent-text);background:var(--m-accent-deep);border-radius:6px;padding:1px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hop-ico{width:26px;height:26px;border-radius:8px;background:var(--m-raised);border:1px solid var(--m-line);color:var(--m-accent-text);display:grid;place-items:center;font-size:12px;font-weight:700;flex-shrink:0}
.hop-ico.lg{width:40px;height:40px;border-radius:12px;font-size:16px}
.hop b{font-size:14px;font-weight:600;line-height:1.25}
.hop small{font-size:12px;color:var(--m-muted);line-height:1.4;flex:1}
.hop-change{align-self:flex-start;font-size:12px!important;min-height:28px;padding:0!important;color:var(--m-accent-soft)!important}
.hop-opt{text-align:left;font:inherit;color:var(--m-text);padding:2px 12px 6px}

.tu-meter{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.tu-meter-n{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.tu-meter-n b{font-size:30px;font-weight:700;letter-spacing:-.8px;font-variant-numeric:tabular-nums;line-height:1.1}
.tu-meter-n small{font-size:13px;color:var(--m-muted)}
.tu-list{display:flex;flex-direction:column;gap:8px}
.tu-opt{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:14px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);font:inherit;text-align:left}
.tu-opt.sel{border-color:var(--m-accent);background:var(--m-accent-deep)}
.tu-opt b{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.tu-opt small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.tu-radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--m-dim);flex-shrink:0}
.tu-opt.sel .tu-radio{border-color:var(--m-accent);box-shadow:inset 0 0 0 3px var(--m-card);background:var(--m-accent)}
.tu-price{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.tu-price small{font-size:11px;color:var(--m-muted);font-weight:500}
.tu-after{font-size:13px;color:var(--m-muted);margin:14px 0 10px}
.tu-after b{color:var(--m-text)}
.tok-banner{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:0 0 14px;border-radius:14px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);animation:obIn .3s}
.tok-banner.out{border-color:var(--m-warn);background:var(--m-card)}
.tok-banner b{display:block;font-size:13px;font-weight:600;line-height:1.3}
.tok-banner small{display:block;font-size:11px;color:var(--m-muted);margin-top:1px}
.tb-ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--m-raised);color:var(--m-accent-text);font-size:12px;flex-shrink:0}
.tok-banner.out .tb-ico{color:var(--m-warn)}
.limit-warn{margin:4px 0;padding:12px;border-radius:14px;border:1px solid var(--m-accent-line);background:var(--m-card);animation:obIn .3s}
.lw-top{display:flex;align-items:center;gap:10px}
.lw-top b{font-size:14px;font-weight:600}
.limit-warn p{margin:8px 0 0;font-size:13px;color:var(--m-muted);line-height:1.45}
.lw-act{display:flex;gap:8px;margin-top:10px}
.lw-act button{flex:1;min-height:38px;font-size:13px;border-radius:11px}
.tu-card{padding:14px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);display:flex;flex-direction:column;gap:8px}
.tu-card.warn{border-color:var(--m-accent-line)}
.tu-card.out{border-color:var(--m-warn)}
.tu-card.out .proj-bar div{background:var(--m-warn)}
.tu-btns{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.sum-row.cur{border-color:var(--m-accent-line)}
.tok.pro.low{color:var(--m-warn)}

.hl-h{margin-bottom:14px!important}
.hl-ask{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:0 14px 0 8px;border-radius:24px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-muted);font:inherit;font-size:14px;text-align:left;margin-bottom:18px}
.hl-ask .mic-xs{width:32px;height:32px}
.hl-focus{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;padding:16px;border-radius:20px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);color:var(--m-text);font:inherit;text-align:left}
.hl-focus.need{border-color:var(--m-warn)}
.hl-focus:active,.hl-item:active,.hl-s:active{transform:scale(.98)}
.hl-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.hl-eyebrow{font-size:12px;font-weight:600;color:var(--m-muted)}
.hl-focus strong{font-size:19px;font-weight:600;line-height:1.25}
.hl-sub{font-size:13px;color:var(--m-muted)}
.hl-focus.need .hl-sub{color:var(--m-warn)}
.hl-cta{font-size:13px;font-weight:600;color:var(--m-accent-text);margin-top:6px}
.hl-list{display:flex;flex-direction:column;margin-top:14px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);overflow:hidden}
.hl-item{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;border:0;border-top:1px solid var(--m-line-soft);background:none;color:var(--m-text);font:inherit;text-align:left}
.hl-item:first-child{border-top:0}
.hl-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hl-t b{font-size:15px;font-weight:600}
.hl-t small{font-size:12px;color:var(--m-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hl-chev{color:var(--m-dim);font-size:18px}
.hl-sec{display:flex;align-items:center;justify-content:space-between;margin:26px 0 10px}
.hl-more{font-size:13px!important;min-height:28px;padding:0!important;color:var(--m-accent-soft)!important}
.hl-sugg{display:flex;flex-direction:column;gap:8px}
.hl-s{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px;border-radius:16px;border:1px dashed var(--m-line);background:none;color:var(--m-text);font:inherit;text-align:left;animation:obIn .3s}
.hl-s .hl-t b{font-size:14px}
.hl-s.own{border-color:var(--m-accent-line)}
.hl-gen{background:var(--m-raised);color:var(--m-accent-text);border:1px solid var(--m-accent-line)}
.hl-plus{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--m-raised);color:var(--m-muted);flex-shrink:0}

.ga{position:relative;flex-shrink:0;padding:8px 0 0;background:var(--m-bg)}
.ga-comp{margin-top:0;border:1px solid var(--m-line);background:var(--m-card)}
.ga-comp:focus-within{border-color:var(--m-accent-line)}
.ga-comp.rec{border-color:var(--m-accent);box-shadow:0 0 0 4px var(--m-accent-deep)}
.ga-comp.rec textarea{color:var(--m-accent-text)}
.ga-pop{position:absolute;left:0;right:0;bottom:calc(100% + 6px);display:flex;align-items:flex-start;gap:10px;padding:10px 12px;max-height:38vh;overflow:auto;border-radius:16px;border:1px solid var(--m-accent-line);background:var(--m-raised);box-shadow:0 12px 32px rgba(0,0,0,.45);animation:gaIn .28s cubic-bezier(.3,1.3,.5,1);z-index:20}
.ga-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.ga-q{font-size:11px;color:var(--m-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ga-say{font-size:14px;line-height:1.4}
.ga-crumb{font-size:12px;font-weight:600;color:var(--m-accent-text)}
.ga-press{font-size:12px;color:var(--m-warn)}
.ga-offer{align-self:flex-start;margin-top:4px}
.ga-x{width:28px;height:28px;border-radius:50%;border:0;background:none;color:var(--m-muted);font-size:18px;flex-shrink:0;display:grid;place-items:center}
.ga-hl{position:relative;animation:gaHl 2.4s ease-out;border-radius:16px}
/* «Назад» в онбординге: в макете кнопка лежала внутри .sticky-cta, а у того
   подложка-градиент выше содержимого — кнопка была видна, но не нажималась.
   Вынесена из липкого блока, поэтому ей нужен собственный отступ. */
.ob-back{display:block;width:100%;min-height:36px;margin:2px 0 0}
/* ── Карточки выбора модели в онбординге ────────────────────────────────────
   Эти правила контейнерные: селектор ссылается и на наш .choice, поэтому при
   отборе «только отсутствующие классы» они не попали в файл, и карточки встали
   в две колонки, а размер уехал вниз. Здесь они из макета дословно. */
.choices.ob-col{display:flex;flex-direction:column;gap:8px}
.ob-col .choice{flex:none;width:100%;position:relative;padding:13px 14px;font:inherit}
.choice b{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.choice .sz{position:absolute;right:14px;top:13px;margin:0;font-size:12px;white-space:nowrap}
.choice b span,.choice span span{display:inline-block;margin:0}

/* Значок в блоке фактов выравнивается по первой строке текста, а не по центру
   всего абзаца: при трёх строках он уезжал к середине и читался отдельно. */
.onboarding-facts{align-items:flex-start}
.onboarding-facts>span{line-height:1.3}

/* ═══════════════════════════════════════════════════════════════════════════
   Обновление макета: раздел настроек, токены, голос
   ═══════════════════════════════════════════════════════════════════════════
   В новой версии прототипа появились экраны настроек (профиль, модели по
   умолчанию, разрешения агентов, голос, коннекторы, уведомления, помощь) и
   экран токенов. Здесь их правила — снова только те, чьи классы у нас
   отсутствуют, чтобы не переопределять работающий слой.
   51 класс: tk-* (токены и тарифы), vm-* (голос), pf-* (профиль), st-row
   (строка настроек), mo-*, dock, hdr-tok (шапка), invite* (приглашения).
   ВАЖНО: в макете на этих экранах есть цены и лимиты константами
   («590 ₽/мес», «2 000 токенов»). Стили переносим, значения — нет: цены и
   остаток обязаны приходить с сервера. */
.tk-hero{display:flex;flex-direction:column;gap:8px;width:100%;padding:16px;border-radius:22px;border:0;background:var(--m-accent);color:#fff;font:inherit;text-align:left}
.tk-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tk-plan{font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:3px 9px;border-radius:8px;background:rgba(255,255,255,.18)}
.tk-renew{font-size:12px;opacity:.85}
.tk-bal{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.tk-bal b{font-size:40px;font-weight:700;letter-spacing:-1.2px;line-height:1;font-variant-numeric:tabular-nums}
.tk-bal small{font-size:13px;opacity:.85}
.tk-bar{display:block;height:8px;border-radius:4px;background:rgba(255,255,255,.22);overflow:hidden}
.tk-bar>div,.tk-bar>span{height:100%;background:#fff;border-radius:4px}
.tk-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;opacity:.9;flex-wrap:wrap}
.tk-cta{display:flex;gap:8px;margin-top:6px}
.tk-btn-main,.tk-btn-ghost{flex:1;min-height:44px;border-radius:14px;font:inherit;font-size:14px;font-weight:600;border:0}
.tk-btn-main{background:#fff;color:#2a1f6b}
.tk-btn-ghost{background:rgba(255,255,255,.16);color:#fff}
.tk-wide{width:100%;margin-top:6px}
.tk-mini{margin-top:12px}
.tk-mini .tk-bal b{font-size:32px}
.tk-mini-cta{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600;margin-top:2px;padding-top:10px;border-top:1px solid rgba(255,255,255,.2)}
.tk-mini:active{transform:scale(.98)}
.tk-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tk-pack{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;padding:14px 6px 10px;border-radius:16px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);font:inherit}
.tk-pack b{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
.tk-pack small{font-size:11px;color:var(--m-muted)}
.tk-pack-p{margin-top:8px;font-size:13px;font-weight:600;padding:4px 10px;border-radius:10px;background:var(--m-raised)}
.tk-pack-tag{position:absolute;top:-8px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:2px 7px;border-radius:6px;background:var(--m-accent);color:#fff}
.tk-split{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;background:var(--m-card);border:1px solid var(--m-line)}
.tk-split>div{display:grid;grid-template-columns:22px 1fr 70px 52px;align-items:center;gap:10px;font-size:13px}
.tk-split-n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-split-bar{height:6px;border-radius:3px;background:var(--m-line);overflow:hidden}
.tk-split-bar i{display:block;height:100%;background:var(--m-accent-soft);border-radius:3px}
.tk-split b{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.tk-chart-h{display:flex;justify-content:space-between;align-items:baseline;margin:20px 0 10px}
.tk-chart-h small{font-size:12px}
.tk-chart{display:flex;align-items:flex-end;gap:4px;height:72px;padding:0 2px}
.tk-chart i{flex:1;min-height:4px;border-radius:4px 4px 2px 2px;background:var(--m-accent-deep);border:1px solid var(--m-accent-line)}
.tk-plans{display:flex;flex-direction:column;gap:10px}
.tk-pl{padding:14px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);display:flex;flex-direction:column;gap:6px}
.tk-pl-h{display:flex;align-items:center;gap:8px}
.tk-pl-h b{font-size:17px;font-weight:700}
.tk-pl-p{margin-left:auto;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
.tk-pl-tok{font-size:13px;font-weight:600;color:var(--m-accent-text)}
.tk-pl ul{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:column;gap:3px}
.tk-pl li{font-size:13px;color:var(--m-muted);display:flex;gap:8px}
.tk-pl li::before{content:"✓";color:var(--m-accent-soft);font-weight:700}
.tk-pl small{font-size:12px;margin-top:4px}
.tk-hist{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line-soft);font-size:13px}
.tk-hist span:first-child{color:var(--m-muted)}
.tk-hist b{font-weight:500}
.tk-hist span:last-child{font-weight:600;font-variant-numeric:tabular-nums}
.tk-lose li::before{content:"–"!important;color:var(--m-warn)!important}
.dock{flex-shrink:0;margin:8px -6px 0;padding:10px 10px 0;border-radius:28px 28px 0 0;background:var(--m-raised);position:relative}
.mo-brand{display:inline-flex!important;align-items:center;gap:9px;font-size:22px!important;font-weight:700;letter-spacing:-.6px;color:var(--m-text)!important}
.mo-mark{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--m-accent);color:#fff;font-size:16px;line-height:1;box-shadow:0 4px 14px -4px var(--m-accent);animation:moSpin 14s linear infinite}
.mo-brand:hover .mo-mark{animation-duration:2s}
.mo-word{background:linear-gradient(90deg,var(--m-text) 60%,var(--m-accent-text));-webkit-background-clip:text;background-clip:text;color:transparent}
.hdr-tok{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px 0 7px;border-radius:16px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);font:inherit;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.hdr-tok small{font-size:10px;font-weight:700;color:var(--m-accent-text);letter-spacing:.3px}
.me-ava{width:34px;height:34px;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;font:inherit;font-size:14px;font-weight:700;flex-shrink:0;padding:0}
.pf-head{display:flex;flex-direction:column;align-items:center;gap:12px;margin:4px 0 18px}
.pf-tones{display:flex;gap:10px}
.pf-tones button{width:26px;height:26px;border-radius:50%;border:2px solid transparent;padding:0}
.pf-tones button[aria-pressed=true]{border-color:var(--m-text);box-shadow:0 0 0 2px var(--m-bg) inset}
.pf-field{display:flex;flex-direction:column;gap:8px}
.pf-field input{width:100%}
.pf-field small{font-size:12px}
.pf-card{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:18px;border:1px solid var(--m-line);background:var(--m-card);color:var(--m-text);font:inherit;text-align:left}
.pf-card b{display:block;font-size:16px;font-weight:600}
.pf-card small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.pf-card .me-ava{width:44px;height:44px;font-size:18px;pointer-events:none}
.st-row{width:100%;font:inherit;color:var(--m-text);text-align:left}
.invite{margin-top:22px;padding:14px;border-radius:18px;border:1px solid var(--m-accent-line);background:var(--m-accent-deep);display:flex;flex-direction:column;gap:8px}
.invite p{margin:0;font-size:13px;color:var(--m-muted);line-height:1.45}
.invite-link{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;border-radius:12px;background:var(--m-card);border:1px solid var(--m-line)}
.invite-link span{flex:1;min-width:0;font-size:13px;font-family:ui-monospace,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.invite small{font-size:12px;text-align:center}
.vm-active{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:var(--m-accent-deep);border:1px solid var(--m-accent)}
.vm-active b{display:block;font-size:15px;font-weight:600}
.vm-active small{display:block;font-size:12px;color:var(--m-muted);margin-top:2px}
.vm-ico{width:36px;height:36px;border-radius:12px;background:var(--m-accent);color:#fff;display:grid;place-items:center;flex-shrink:0}
.vm-ok{font-size:12px;font-weight:600;color:var(--m-success);white-space:nowrap}
.vm-row{align-items:center}
.vm-row b{display:block}
.vm-rec{display:inline-block;margin:3px 0 1px;font-size:10px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--m-accent-text);background:var(--m-accent-deep);border-radius:6px;padding:2px 6px}
.vm-row small{display:block}
.vm-dl{min-height:36px!important;padding:0 12px!important;font-size:12px!important;border-radius:11px!important;white-space:nowrap;flex-shrink:0}
.vm-bar{display:block;height:4px;border-radius:2px;background:var(--m-line);margin-top:6px;overflow:hidden}
.vm-bar i{display:block;height:100%;background:var(--m-accent);transition:width .2s}
.vm-pct{font-size:13px;font-weight:600;color:var(--m-accent-text);font-variant-numeric:tabular-nums;min-width:40px;text-align:right}
.vm-play{width:36px;height:36px;border-radius:50%;border:0;background:var(--m-raised);color:var(--m-accent-text);font-size:12px;display:grid;place-items:center;flex-shrink:0}