/* Пульт родителя v2 (remote.js). Все размеры в em от одного кегля, кегль — от ширины самого пульта (container query),
   поэтому в кабинете на телефоне и в макете iPhone на лендинге это один и тот же экран, без transform: scale. */
.rm{position:fixed;inset:0;z-index:50;container-type:size;color:#f3ecdf;overflow:hidden;
  background:radial-gradient(900px 500px at 80% -10%,#24406f 0,transparent 60%),#0e1a30}
.rm[hidden]{display:none}
.rm-embed{position:absolute;z-index:1}
.rm-in{position:relative;height:100%;display:flex;flex-direction:column;font:700 16px/1.3 Nunito,system-ui,sans-serif;
  max-width:560px;margin:0 auto;padding-top:env(safe-area-inset-top,0);box-sizing:border-box}
@supports (font-size:1cqw){.rm-in{font-size:clamp(14px,4.4cqw,17.5px)}}
.rm-embed .rm-in{padding-top:0}
.rm-in button{font-family:inherit}

.rm-top{display:flex;align-items:center;gap:.5em;padding:.55em 1em .1em}
.rm-top img{height:2.1em;width:auto}
.rm-top .no{font-size:.8em;color:#9fb0cc;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.rm-top .more{margin-left:auto;width:2.6em;height:2.6em;border-radius:50%;border:0;background:rgba(255,255,255,.08);color:#f3ecdf;font-size:1.15em;font-weight:900;cursor:pointer}

.rm-head{padding:.35em 1em .55em}
.rm-head h1{margin:0;font-size:1.6em;line-height:1.12;font-weight:900;text-wrap:balance}
.rm-head p{margin:.2em 0 0;font-size:.9em;color:#bfcae0}

/* карточка-сигнал: одно состояние за раз, цвет по состоянию */
.rm-sig{padding:0 1em .7em}
.rm-sig .card{position:relative;overflow:hidden;border-radius:1em;padding:.75em .95em .8em 1.15em;display:grid;gap:.2em;
  background:rgba(86,196,122,.13);color:#c9efd5}
.rm-sig .card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:.3em;background:#56c47a}
.rm-sig .card b{font-size:1.08em;line-height:1.25;font-weight:900}
.rm-sig .card span{font-size:.86em;color:rgba(243,236,223,.75);font-weight:700}
.rm-sig .card.warn{background:rgba(246,213,140,.16);color:#f6d58c}
.rm-sig .card.warn::before{background:#e8b84a}
.rm-sig .card.go{background:rgba(163,38,46,.28);color:#ffd9d2}
.rm-sig .card.go::before{background:#e05a5a}
.rm-sig .card.off{background:rgba(159,176,204,.13);color:#d5deee}
.rm-sig .card.off::before{background:#9fb0cc}
.rm-sig .bar{position:absolute;left:1.15em;right:.95em;bottom:.4em;height:.18em;border-radius:1em;background:rgba(255,255,255,.1);overflow:hidden}
.rm-sig .bar::after{content:"";position:absolute;inset:0;background:#56c47a;transform-origin:left;transform:scaleX(var(--p,0));transition:transform 1s linear}
.rm-sig .card:has(.bar){padding-bottom:1em}

/* письма строками на всю оставшуюся высоту */
.rm-list{flex:1;min-height:0;margin:0 1em;display:flex;flex-direction:column;border-radius:1em;background:rgba(255,255,255,.045);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);overflow:hidden}
.rm-list .row{flex:1 1 0;min-height:2.7em;display:grid;grid-template-columns:2.1em 1fr auto;align-items:center;column-gap:.7em;
  padding:0 .85em;border:0;border-top:1px solid rgba(255,255,255,.06);background:none;color:inherit;text-align:left;font:inherit;width:100%;box-sizing:border-box}
.rm-list .row:first-child{border-top:0}
.rm-list .rm-seal{width:2.1em;height:2.1em;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:1em;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.18);color:#9fb0cc}
.rm-list .row b{font-size:1em;font-weight:800}
.rm-list .st{font-size:.86em;color:#9fb0cc;white-space:nowrap}
.rm-list .st em{font-style:normal;margin-right:.3em}
.rm-list .ok .rm-seal{background:#a3262e;color:#f6d58c;box-shadow:0 2px 0 #6d141a}
.rm-list .ok .st{color:#bfe8cc}
.rm-list .wait{opacity:.55}
.rm-list .gift .rm-seal{box-shadow:none;font-size:1.25em}
.rm-list .gift.ok .rm-seal{background:none;box-shadow:none}
.rm-list .now{flex-grow:1.8;min-height:4.3em;margin:.25em;width:auto;border-radius:.85em;border-top:0;
  background:rgba(246,213,140,.1);box-shadow:inset 0 0 0 2px #e8b84a;row-gap:.25em;align-content:center}
.rm-list .now + .row{border-top:0}
.rm-list .now .rm-seal{background:#f6d58c;color:#2b2000;box-shadow:0 0 0 .25em rgba(246,213,140,.22)}
.rm-list .now b{font-size:1.1em}
.rm-list .now .st{color:#f6d58c;font-weight:800}
.rm-list .now .sub{grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;gap:.5em;font-size:.82em;color:#bfe8cc}
.rm-list .pill{flex:none;min-height:2.3em;padding:0 .9em;border:0;border-radius:999px;background:#fbf3e1;color:#5a4630;font-weight:900;font-size:1em;cursor:pointer}
.rm-list .fold{display:none;cursor:pointer}
.rm.folded .rm-list .fold{display:grid}
.rm.folded .rm-list .row.ok:not(.fold){display:none}
.rm.folded.open-found .rm-list{overflow-y:auto}
.rm.folded.open-found .rm-list .row.ok:not(.fold){display:grid;flex:none;min-height:2.7em}

.rm-foot{padding:.75em 1em calc(.85em + env(safe-area-inset-bottom,0))}
.rm-embed .rm-foot{padding-bottom:2.1em}  /* как safe-area на iPhone: кнопка над полоской «домой» */
.rm-btn{width:100%;min-height:3.4em;border:0;border-radius:1em;font-size:1.12em;font-weight:900;line-height:1.2;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.55em;
  background:#e8b84a;color:#2b2000;box-shadow:0 .3em 0 #a87a1f,0 .6em 1.3em rgba(0,0,0,.3);transition:transform .12s,box-shadow .12s}
.rm-btn:active{transform:translateY(.22em);box-shadow:0 .08em 0 #a87a1f}
.rm-btn.ghost{background:transparent;color:#f6d58c;box-shadow:inset 0 0 0 1.5px rgba(246,213,140,.5)}
.rm-btn.red{background:#a3262e;color:#fff;box-shadow:0 .3em 0 #6d141a}
.rm-btn.hold{background:linear-gradient(90deg,#6d141a 50%,#a3262e 50%) right/200% 100%;animation:rmHold 2s linear forwards}
@keyframes rmHold{to{background-position:left}}
.rm-btn[disabled]{opacity:.5;pointer-events:none}
.rm-btn svg{width:1.3em;height:1.3em;flex:none}

/* шпаргалка «только для вас»: над списком, сама прячется через 20 с */
.rm-cheat{position:absolute;left:1em;right:1em;bottom:5em;z-index:3;border-radius:1em;background:linear-gradient(180deg,#fbf3e1,#f1e3c3);color:#2b2117;
  overflow:hidden;box-shadow:0 1em 2.4em rgba(0,0,0,.5);animation:rmUp .25s cubic-bezier(.2,.8,.2,1)}
.rm-cheat[hidden]{display:none}
.rm-cheat .in{display:grid;grid-template-columns:5.2em 1fr;gap:.75em;padding:.8em .9em .9em;align-items:start}
.rm-cheat .in img{width:5.2em;height:5.2em;border-radius:.6em;object-fit:cover;background:#e8d6b0}
.rm-cheat small{display:block;font-size:.75em;color:#a3262e;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.rm-cheat b{display:block;font-size:1.05em}
.rm-cheat span{display:block;font-size:.85em;color:#6b5a44}
.rm-cheat .code{font-size:1.6em;font-weight:900;letter-spacing:.18em;color:#a3262e;margin-top:.15em}
.rm-cheat .rid{grid-column:1/-1;font:400 1.1em/1.3 "Marck Script",cursive;white-space:pre-line;color:#3b2a1a}
.rm-cheat .bar{grid-column:1/-1;height:.2em;background:#a3262e;border-radius:2px;transform-origin:left;animation:rmBar 20s linear forwards}
.rm-cheat>button{width:100%;min-height:2.9em;border:0;border-top:1px solid rgba(120,80,30,.15);background:none;font-weight:800;color:#5a4630;cursor:pointer}
@keyframes rmBar{to{transform:scaleX(0)}}

.rm-menu{position:absolute;top:3.3em;right:.8em;z-index:6;background:#fff;color:#2b2117;border-radius:.9em;padding:.35em;box-shadow:0 1em 2.4em rgba(0,0,0,.45);display:grid;min-width:14em}
.rm-menu[hidden]{display:none}
.rm-menu button{min-height:2.8em;border:0;background:none;text-align:left;padding:0 .75em;border-radius:.6em;font-weight:800;font-size:.95em;color:#2b2117;cursor:pointer}
.rm-menu button:hover{background:#f4ecdc}
.rm-menu .danger{color:#a3262e}

/* шторка снизу: высота от пульта, а не от окна */
.rm-veil{position:absolute;inset:0;z-index:5;background:rgba(5,10,20,.6);display:flex;align-items:flex-end;justify-content:center;animation:rmFade .2s}
.rm-veil[hidden]{display:none}
.rm-veil.out{animation:rmFade .2s reverse forwards}
.rm-veil.out .rm-sheet{animation:rmDown .22s cubic-bezier(.4,0,1,1) forwards}
.rm-sheet{width:100%;max-height:94%;overflow:auto;background:#fbf3e1;color:#2b2117;border-radius:1.4em 1.4em 0 0;box-sizing:border-box;
  padding:.6em 1em calc(1em + env(safe-area-inset-bottom,0));display:grid;gap:.7em;animation:rmUp .38s cubic-bezier(.32,.72,0,1)}
.rm-embed .rm-sheet{padding-bottom:2em}
@keyframes rmUp{from{transform:translateY(2.5em);opacity:0}}
@keyframes rmDown{to{transform:translateY(100%)}}
@keyframes rmFade{from{opacity:0}}
.rm-sheet .grab{justify-self:center;width:2.8em;height:.3em;border-radius:3px;background:#d8c7a3}
.rm-sheet h2{margin:0;font-size:1.3em;font-weight:900;line-height:1.2}
.rm-sheet .note{margin:0;color:#6b5a44;font-size:.92em}
.rm-opt{display:grid;grid-template-columns:2.8em 1fr;gap:.75em;align-items:center;text-align:left;width:100%;min-height:4.6em;padding:.65em .8em;border:0;border-radius:1em;
  background:#fff;box-shadow:0 0 0 1px rgba(120,80,30,.15),0 .15em .4em rgba(120,80,30,.08);font-weight:900;font-size:1.04em;line-height:1.25;color:#2b2117;cursor:pointer}
.rm-opt small{display:block;font-weight:700;font-size:.82em;color:#7a6650;margin-top:.15em}
.rm-opt .ic{width:2.8em;height:2.8em;border-radius:.8em;display:grid;place-items:center;font-size:1.3em;background:#f4e7c8}
.rm-opt[disabled]{opacity:.45;pointer-events:none}
.rm-link{min-height:2.8em;border:0;background:none;color:#6d141a;font-weight:800;font-size:1em;cursor:pointer}
.rm-chips{display:flex;flex-wrap:wrap;gap:.45em}
.rm-chips button{min-height:2.6em;padding:.4em .85em;border:0;border-radius:999px;background:#fff;box-shadow:0 0 0 1.5px rgba(163,38,46,.35);font-weight:800;font-size:.9em;color:#6d141a;cursor:pointer;text-align:left}
.rm-chips button.on{background:#a3262e;color:#fff;box-shadow:none}
.rm-sheet textarea{width:100%;box-sizing:border-box;min-height:4.4em;border-radius:.75em;border:1.5px solid #e2cfa6;padding:.6em .75em;font:16px/1.4 Nunito,sans-serif;background:#fffdf7;color:#2b2117;resize:vertical}
.rm-sheet .meta{display:flex;justify-content:space-between;font-size:.8em;color:#7a6650}
.rm-sheet .err{color:#a3262e;font-weight:800;font-size:.88em;margin:0;min-height:1em}
.rm-sheet .err:empty{display:none}
.rm-sheet .prev{width:100%;max-height:14em;object-fit:cover;border-radius:.9em}
.rm-sheet .dock{position:sticky;bottom:0;display:grid;gap:.2em;padding-top:.4em;background:linear-gradient(180deg,rgba(251,243,225,0),#fbf3e1 .6em)}

/* движение: смена сигнала, письмо найдено */
.fx-in{animation:rmIn .35s cubic-bezier(.2,.8,.2,1)}
@keyframes rmIn{from{opacity:0;transform:translateY(.4em)}}
.fx-found .rm-seal{animation:rmSeal .7s cubic-bezier(.3,1.5,.5,1)}
@keyframes rmSeal{0%{transform:scale(.4);background:#f6d58c}60%{transform:scale(1.18)}100%{transform:none}}
.fx-found{animation:rmGlow 1.1s ease-out}
@keyframes rmGlow{0%{background:rgba(246,213,140,.28)}100%{background:transparent}}
.fx-now{animation:rmIn .45s .25s cubic-bezier(.2,.8,.2,1) backwards}

/* «пуш» внутри страницы кабинета */
.rm-push{position:fixed;left:50%;top:calc(10px + env(safe-area-inset-top,0));z-index:70;width:min(92vw,420px);transform:translate(-50%,-140%);transition:transform .45s cubic-bezier(.2,.9,.3,1.15);
  display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border-radius:18px;background:rgba(250,246,238,.97);color:#1c2433;box-shadow:0 14px 34px rgba(0,0,0,.45)}
.rm-push.show{transform:translate(-50%,0)}
.rm-push img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.rm-push b{display:block;font:900 14px/1.2 Nunito}
.rm-push span{font:700 14px/1.3 Nunito}
.rm-push time{font:700 12px Nunito;color:#7a8297;align-self:start}

/* очень низкий экран (360×640): в свёрнутом режиме ждущие письма плотнее, чтобы подарок всегда был виден */
.rm.folded .rm-list .row.wait,.rm.folded .rm-list .row.gift:not(.now){min-height:2.2em}
.rm.folded .rm-list .row.wait .rm-seal{width:1.7em;height:1.7em}

/* ——— шторка «Помочь» v3: плитки → шаг внутри той же шторки ——— */
.rm-sheet .step{display:grid;gap:.75em}
.rm-sheet .step.fwd{animation:rmFwd .26s cubic-bezier(.2,.8,.2,1)}
.rm-sheet .step.bwd{animation:rmBwd .26s cubic-bezier(.2,.8,.2,1)}
@keyframes rmFwd{from{opacity:0;transform:translateX(2em)}}
@keyframes rmBwd{from{opacity:0;transform:translateX(-2em)}}
.rm-sheet .sh-head{display:grid;grid-template-columns:2.6em 1fr;align-items:center;gap:.3em;margin-left:-.4em}
.rm-sheet .back{width:2.6em;height:2.6em;border:0;border-radius:50%;background:none;color:#6d141a;display:grid;place-items:center;cursor:pointer}
.rm-sheet .back svg{width:1.4em;height:1.4em}
.rm-tiles{display:grid;grid-template-columns:1fr 1fr;gap:.65em}
.rm-tile{display:grid;justify-items:start;align-content:start;gap:.15em;min-height:7.4em;padding:.85em .9em;border:0;border-radius:1.1em;text-align:left;cursor:pointer;
  background:#fff;color:#2b2117;box-shadow:0 0 0 1px rgba(120,80,30,.15),0 .2em .5em rgba(120,80,30,.1);font-family:inherit}
.rm-tile .ic{margin-bottom:.45em}
.rm-tile b{font-size:1.15em;font-weight:900;line-height:1.15}
.rm-tile small{font-size:.82em;font-weight:700;color:#7a6650;line-height:1.25}
.rm-tile[disabled]{opacity:1;background:#f3ead6;box-shadow:none;pointer-events:none}
.rm-tile[disabled] .ic{filter:grayscale(1);opacity:.5}
.rm-tile[disabled] b{color:#9a8a72}
.rm-tile[disabled] small{color:#3f7a52}
.rm-sheet .ic{width:2.8em;height:2.8em;flex:none;border-radius:.8em;display:grid;place-items:center;font-size:1.3em;background:#f4e7c8;overflow:hidden}
.rm-sheet .ic img{width:100%;height:100%;object-fit:cover}
.rm-row{display:grid;grid-template-columns:2.4em 1fr auto;align-items:center;gap:.75em;min-height:3.4em;padding:.4em .9em .4em .5em;border:0;border-radius:1em;cursor:pointer;
  background:transparent;box-shadow:inset 0 0 0 1.5px rgba(120,80,30,.18);color:#5a4630;font-family:inherit;text-align:left}
.rm-row .ic{width:2.4em;height:2.4em;font-size:1.1em}
.rm-row b{font-size:1em;font-weight:800}
.rm-row i{font-style:normal;font-size:1.4em;color:#a08b6c}
.rm-sheet .grp{margin:.2em 0 -.3em;font-size:.72em;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#9a7f5c}
.rm-chips.grid{display:grid;grid-template-columns:1fr 1fr}
.rm-chips button{min-height:2.9em;padding:.45em .9em;font-size:.95em}
.rm-chips.grid button{text-align:center}
.rm-own{justify-self:start;min-height:2.6em;padding:0 .9em;border:0;border-radius:999px;background:none;box-shadow:inset 0 0 0 1.5px rgba(120,80,30,.25);
  color:#5a4630;font-weight:800;font-size:.92em;cursor:pointer;font-family:inherit}
.rm-own[hidden],.rm-sheet .own[hidden],.rm-sheet .bubble[hidden]{display:none}
.rm-sheet .own{display:grid;gap:.3em}
.rm-sheet .meta .warn{color:#a3262e;font-weight:900}
.rm-sheet .bubble{border-radius:1em;padding:.7em .9em .8em;background:#fff8e6;box-shadow:inset 0 0 0 1.5px #e8cf96}
.rm-sheet .bh{display:flex;align-items:center;justify-content:space-between;gap:.5em;min-height:2.2em}
.rm-sheet .bh small{font-size:.8em;font-weight:900;color:#9a7f5c;text-transform:uppercase;letter-spacing:.06em}
.rm-sheet .bubble p{margin:.15em 0 0;font:400 1.2em/1.3 "Marck Script",cursive;color:#3b2a1a}
.rm-sheet .play{display:inline-flex;align-items:center;gap:.35em;min-height:2.2em;padding:0 .8em;border:0;border-radius:999px;background:#a3262e;color:#fff;font-weight:800;font-size:.85em;cursor:pointer;font-family:inherit}
.rm-sheet .play[hidden]{display:none}
.rm-sheet .play svg{width:1em;height:1em}

/* ——— визуал v3 (r2-visual.md): SVG-аппликация, сургучные печати, отступы ——— */
.rm{--ic-shade:#0b1424;--ic-cut:#17233b;--ic-acc:#d0505a}
.rm-sheet{--ic-shade:#d8c4a0;--ic-cut:#fff;--ic-acc:#a3262e}
.rm svg.i{width:1.1em;height:1.1em;flex:none;vertical-align:-.18em}
.rm-top{padding:.6em 1em .2em;min-height:3.4em;box-sizing:border-box}
.rm-top img{height:2.2em;margin-left:-.25em}
.rm-top .no{text-transform:none;letter-spacing:0;font-size:.85em;color:#c9d3e6}
.rm-top .more{display:grid;place-items:center;font-size:1em;background:rgba(255,255,255,.07)}
.rm-top .more svg.i{width:1.25em;height:1.25em}
/* сигнал: полоса внутри скругления, иконка состояния перед заголовком */
.rm-sig .card{padding:.75em 1em .8em 1.25em}
.rm-sig .card::before{left:.5em;top:.75em;bottom:.75em;width:.22em;border-radius:1em}
.rm-sig .card b{display:flex;align-items:center;gap:.4em}
.rm-sig .card b svg.i{width:1.15em;height:1.15em}
/* печати писем: сургуч с неровным краем */
.rm-list .rm-seal{border-radius:0;box-shadow:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M18.3 2.2Q20.0 1.6 21.7 2.3Q23.4 3.1 25.2 3.0Q27.1 2.9 28.3 4.3Q29.6 5.6 31.4 6.2Q33.2 6.8 33.6 8.7Q34.0 10.6 35.5 11.8Q36.9 13.0 37.0 14.8Q37.1 16.6 37.8 18.3Q38.4 20.0 37.6 21.7Q36.7 23.3 37.1 25.3Q37.5 27.3 35.9 28.4Q34.3 29.5 33.8 31.4Q33.3 33.3 31.4 33.8Q29.5 34.3 28.4 35.8Q27.2 37.3 25.2 37.0Q23.3 36.6 21.7 37.7Q20.0 38.7 18.3 37.9Q16.6 37.1 14.7 37.2Q12.9 37.2 11.6 35.8Q10.4 34.4 8.6 33.8Q6.8 33.2 6.4 31.3Q6.0 29.4 4.3 28.3Q2.6 27.2 2.9 25.3Q3.1 23.4 2.3 21.7Q1.5 20.0 2.5 18.4Q3.5 16.7 3.0 14.7Q2.6 12.8 4.1 11.6Q5.7 10.5 6.2 8.6Q6.7 6.7 8.5 6.1Q10.3 5.5 11.6 4.1Q12.8 2.7 14.7 2.8Q16.6 2.8 18.3 2.2Z' fill='none' stroke='%239fb0cc' stroke-opacity='.4' stroke-width='1.6' stroke-dasharray='3 2.4'/%3E%3C/svg%3E") center/contain no-repeat}
.rm-list .ok .rm-seal{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M18.3 2.2Q20.0 1.6 21.7 2.3Q23.4 3.1 25.2 3.0Q27.1 2.9 28.3 4.3Q29.6 5.6 31.4 6.2Q33.2 6.8 33.6 8.7Q34.0 10.6 35.5 11.8Q36.9 13.0 37.0 14.8Q37.1 16.6 37.8 18.3Q38.4 20.0 37.6 21.7Q36.7 23.3 37.1 25.3Q37.5 27.3 35.9 28.4Q34.3 29.5 33.8 31.4Q33.3 33.3 31.4 33.8Q29.5 34.3 28.4 35.8Q27.2 37.3 25.2 37.0Q23.3 36.6 21.7 37.7Q20.0 38.7 18.3 37.9Q16.6 37.1 14.7 37.2Q12.9 37.2 11.6 35.8Q10.4 34.4 8.6 33.8Q6.8 33.2 6.4 31.3Q6.0 29.4 4.3 28.3Q2.6 27.2 2.9 25.3Q3.1 23.4 2.3 21.7Q1.5 20.0 2.5 18.4Q3.5 16.7 3.0 14.7Q2.6 12.8 4.1 11.6Q5.7 10.5 6.2 8.6Q6.7 6.7 8.5 6.1Q10.3 5.5 11.6 4.1Q12.8 2.7 14.7 2.8Q16.6 2.8 18.3 2.2Z' fill='%236d141a' transform='translate(0 1.4)'/%3E%3Cpath d='M18.3 2.2Q20.0 1.6 21.7 2.3Q23.4 3.1 25.2 3.0Q27.1 2.9 28.3 4.3Q29.6 5.6 31.4 6.2Q33.2 6.8 33.6 8.7Q34.0 10.6 35.5 11.8Q36.9 13.0 37.0 14.8Q37.1 16.6 37.8 18.3Q38.4 20.0 37.6 21.7Q36.7 23.3 37.1 25.3Q37.5 27.3 35.9 28.4Q34.3 29.5 33.8 31.4Q33.3 33.3 31.4 33.8Q29.5 34.3 28.4 35.8Q27.2 37.3 25.2 37.0Q23.3 36.6 21.7 37.7Q20.0 38.7 18.3 37.9Q16.6 37.1 14.7 37.2Q12.9 37.2 11.6 35.8Q10.4 34.4 8.6 33.8Q6.8 33.2 6.4 31.3Q6.0 29.4 4.3 28.3Q2.6 27.2 2.9 25.3Q3.1 23.4 2.3 21.7Q1.5 20.0 2.5 18.4Q3.5 16.7 3.0 14.7Q2.6 12.8 4.1 11.6Q5.7 10.5 6.2 8.6Q6.7 6.7 8.5 6.1Q10.3 5.5 11.6 4.1Q12.8 2.7 14.7 2.8Q16.6 2.8 18.3 2.2Z' fill='%23a3262e'/%3E%3Ccircle cx='20' cy='20' r='12.8' fill='none' stroke='%236d141a' stroke-opacity='.55' stroke-width='1.3'/%3E%3C/svg%3E") center/contain no-repeat;box-shadow:none;color:#f6d58c}
.rm-list .now .rm-seal{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M18.3 2.2Q20.0 1.6 21.7 2.3Q23.4 3.1 25.2 3.0Q27.1 2.9 28.3 4.3Q29.6 5.6 31.4 6.2Q33.2 6.8 33.6 8.7Q34.0 10.6 35.5 11.8Q36.9 13.0 37.0 14.8Q37.1 16.6 37.8 18.3Q38.4 20.0 37.6 21.7Q36.7 23.3 37.1 25.3Q37.5 27.3 35.9 28.4Q34.3 29.5 33.8 31.4Q33.3 33.3 31.4 33.8Q29.5 34.3 28.4 35.8Q27.2 37.3 25.2 37.0Q23.3 36.6 21.7 37.7Q20.0 38.7 18.3 37.9Q16.6 37.1 14.7 37.2Q12.9 37.2 11.6 35.8Q10.4 34.4 8.6 33.8Q6.8 33.2 6.4 31.3Q6.0 29.4 4.3 28.3Q2.6 27.2 2.9 25.3Q3.1 23.4 2.3 21.7Q1.5 20.0 2.5 18.4Q3.5 16.7 3.0 14.7Q2.6 12.8 4.1 11.6Q5.7 10.5 6.2 8.6Q6.7 6.7 8.5 6.1Q10.3 5.5 11.6 4.1Q12.8 2.7 14.7 2.8Q16.6 2.8 18.3 2.2Z' fill='%23b8862a' transform='translate(0 1.4)'/%3E%3Cpath d='M18.3 2.2Q20.0 1.6 21.7 2.3Q23.4 3.1 25.2 3.0Q27.1 2.9 28.3 4.3Q29.6 5.6 31.4 6.2Q33.2 6.8 33.6 8.7Q34.0 10.6 35.5 11.8Q36.9 13.0 37.0 14.8Q37.1 16.6 37.8 18.3Q38.4 20.0 37.6 21.7Q36.7 23.3 37.1 25.3Q37.5 27.3 35.9 28.4Q34.3 29.5 33.8 31.4Q33.3 33.3 31.4 33.8Q29.5 34.3 28.4 35.8Q27.2 37.3 25.2 37.0Q23.3 36.6 21.7 37.7Q20.0 38.7 18.3 37.9Q16.6 37.1 14.7 37.2Q12.9 37.2 11.6 35.8Q10.4 34.4 8.6 33.8Q6.8 33.2 6.4 31.3Q6.0 29.4 4.3 28.3Q2.6 27.2 2.9 25.3Q3.1 23.4 2.3 21.7Q1.5 20.0 2.5 18.4Q3.5 16.7 3.0 14.7Q2.6 12.8 4.1 11.6Q5.7 10.5 6.2 8.6Q6.7 6.7 8.5 6.1Q10.3 5.5 11.6 4.1Q12.8 2.7 14.7 2.8Q16.6 2.8 18.3 2.2Z' fill='%23f6d58c'/%3E%3Ccircle cx='20' cy='20' r='12.8' fill='none' stroke='%23b8862a' stroke-opacity='.6' stroke-width='1.3'/%3E%3C/svg%3E") center/contain no-repeat;box-shadow:none;color:#2b2000;filter:drop-shadow(0 0 .3em rgba(246,213,140,.45))}
.rm-list .fold .rm-seal svg.i{width:1.05em;height:1.05em}
.rm-list .gift .rm-seal,.rm-list .gift.ok .rm-seal,.rm-list .gift.now .rm-seal{font-size:1em;background:none;filter:none;color:#e8b84a;--ic-acc:#d0505a}
.rm-list .gift .rm-seal svg.i{width:1.5em;height:1.5em}
.rm-list .gift .rm-seal img{width:100%;height:100%;object-fit:contain}
/* ждущие строки: тише, но читаемо (контраст ≈5:1 вместо opacity) */
.rm-list .wait{opacity:1}
.rm-list .wait b{color:#93a1bd}
.rm-list .wait .st{color:#7d8cab}
/* строки и значки помощи на одной линии */
.rm-list .st{display:inline-flex;align-items:center;gap:.35em;font-variant-numeric:tabular-nums}
.rm-list .st em{margin:0;display:inline-flex;gap:.2em;color:#f6d58c}
.rm-list .st svg.i{width:1.1em;height:1.1em}
/* текущее письмо растёт по содержимому, не сжимается меньше текста */
.rm-list .now{min-height:auto;padding:.6em .8em .6em .7em;row-gap:.35em;background:rgba(246,213,140,.08);box-shadow:inset 0 0 0 2px #e8b84a,0 .4em 1em rgba(0,0,0,.25)}
.rm-list .now .sub{min-width:0;gap:.6em}
.rm-list .now .line{min-width:0;display:flex;flex-wrap:wrap;gap:.2em .7em}
.rm-list .now .line>span{display:inline-flex;align-items:center;gap:.3em;white-space:nowrap}
.rm-list .pill{min-height:2.5em;padding:0 1em;position:relative;display:inline-flex;align-items:center;gap:.4em}
.rm-list .pill::after{content:"";position:absolute;inset:-.45em -.2em}
.rm-list .pill svg.i{width:1.15em;height:1.15em;color:#a3262e;--ic-shade:#d8c4a0;--ic-cut:#fbf3e1}
.rm-btn svg.i{width:1.2em;height:1.2em;--ic-cut:#e8b84a}
.rm-btn{gap:.5em}
.rm-cheat{bottom:calc(6em + env(safe-area-inset-bottom,0))}
.rm-embed .rm-cheat{bottom:7.25em}
.rm-cheat .big{font-size:1.05em;font-weight:900;color:#2b2117}
/* шторка: иконки navy на кремовой плитке */
.rm-sheet .ic{background:#f3e3c6;color:#1f3556;font-size:1em}
.rm-sheet .ic svg.i{width:1.6em;height:1.6em}
.rm-tile .ic{width:3.2em;height:3.2em;border-radius:.9em}
.rm-tile .ic svg.i{width:1.75em;height:1.75em}
.rm-tile .ic-skip,.rm-row .ic-skip{color:#5b7aa6}
.rm-sheet .ic.art img{width:100%;height:100%;display:block}
.rm-tile[disabled] .ic{filter:grayscale(.7);opacity:.55}
.rm-chips{gap:.5em}
.rm-chips button{border-radius:1.15em;padding:.55em .95em;line-height:1.25;display:inline-flex;align-items:center;gap:.45em}
.rm-chips.grid button{justify-content:flex-start;text-align:left}
.rm-chips button svg.i{width:1.15em;height:1.15em;flex:none;color:#a3262e}
.rm-chips button.on svg.i{color:#f6d58c;--ic-acc:#f6d58c}
.rm-sheet .play svg.i{width:1.1em;height:1.1em;--ic-cut:#a3262e;color:#fff}
.rm-sheet .grab{background:#cdb68a}
.rm-sheet{background:radial-gradient(120% 60% at 50% 0,#fffaf0,#f6ead2)}
/* низкий экран (360×640) */
@container (max-height:700px){
  .rm-head{padding:.2em 1em .45em}
  .rm-head h1{font-size:1.45em}
  .rm-sig{padding-bottom:.55em}
  .rm-sig .card{padding-top:.6em;padding-bottom:.65em}
  .rm-foot{padding-top:.6em}
  .rm-btn{min-height:3.1em}
}
.rm-sheet .ic.art{background:#f3dfc3;padding:0}
.rm-tile .ic.art{width:3.6em;height:3.6em}
.rm-row .ic.art{width:2.6em;height:2.6em}
.rm-list .gift .rm-seal img{width:1.9em;height:1.9em;margin:-.1em}

/* ===================== Кабинет по состояниям (o.html, 13.11.2026), префикс .cb- =====================
   Каркас: хиро → «Сейчас» (одна золотая карточка) → путь из этапов → квитанция «Что внутри» → личное → заказ и помощь.
   Моушн только transform/opacity, через from{} + both: при «уменьшить движение» (mvp.css) всё сразу в конечном виде. */
:root{--cb-out:cubic-bezier(.2,.8,.2,1);--cb-emph:cubic-bezier(.05,.7,.1,1);--cb-pop:cubic-bezier(.34,1.56,.64,1)}
#app.cb-page{gap:24px}
.cb-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cb-pmbar{background:#f6d58c;color:#2b2000;font-weight:800;font-size:14px;line-height:1.35;padding:8px 12px;border-radius:12px;text-align:center}
.cb-page section:empty{display:none}
.cb-k{font-size:12.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--gold2)}
.cb-sub{font-size:15px;color:#b7c2d6}

/* A. хиро: текст слева, конверт с письмом справа */
.cb-hero{display:grid;grid-template-columns:1fr auto;gap:6px 14px;align-items:center}
.cb-hero>div:first-child{display:grid;gap:6px;min-width:0}
.cb-hero h1{font:400 clamp(34px,9.4vw,48px)/1.06 "Marck Script",cursive;color:#fff;text-wrap:balance;position:relative}
.cb-hero .cb-lead{grid-column:1/-1;color:#d5deee;font-size:17px;line-height:1.5}
.cb-env{position:relative;width:118px;aspect-ratio:1.102;flex:none;align-self:end}
.cb-env>i{position:absolute;inset:0;font-style:normal;background:center/100% 100% no-repeat}
.cb-env .b{background-image:url(/img/brand/env2-back-560.webp);filter:drop-shadow(-6px 10px 12px rgba(3,8,20,.45))}
.cb-env .f{background-image:url(/img/brand/env2-front-560.webp)}
.cb-env .l{left:9%;right:15%;top:20%;bottom:12%;background:linear-gradient(180deg,#fbf3e0,#efdfbd);border-radius:2px;
  display:grid;align-content:start;justify-items:center;padding-top:5%;font:400 15px/1 "Marck Script",cursive;color:#7a161d;overflow:hidden}
.cb-env .l span{max-width:96%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-env .l.blank::before{content:"";width:62%;height:14px;margin-top:2px;background:repeating-linear-gradient(180deg,rgba(111,97,80,.35) 0 1.5px,transparent 1.5px 6px)}
.intro .cb-env .l{animation:cbLetter .46s var(--cb-emph) .25s both}
@keyframes cbLetter{from{transform:translateY(45%)}}
@media (min-width:430px){.cb-env{width:140px}.cb-env .l{font-size:17px}}
/* playing: ряд печатей; done: волшебное слово и плитки итога */
.cb-seals{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.cb-seals b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:15px;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.22);color:#9fb0cc}
.cb-seals b.ok{background:radial-gradient(circle at 35% 30%,var(--wax2),var(--wax) 60%,#7a161d);color:var(--gold2);box-shadow:0 2px 0 #6d141a}
.cb-seals b.now{background:var(--gold2);color:#2b2000;box-shadow:0 0 0 4px rgba(246,213,140,.25)}
.cb-word{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.cb-word b{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:21px;color:var(--gold2);
  background:radial-gradient(circle at 35% 30%,var(--wax2),var(--wax) 60%,#7a161d);box-shadow:0 3px 0 #6d141a,inset 0 2px 3px rgba(255,255,255,.2)}
.intro .cb-word b{animation:cbPop .32s var(--cb-pop) both;animation-delay:calc(.35s + var(--i,0) * 70ms)}
.cb-tiles{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-top:8px}
.cb-tiles div{border-radius:14px;background:rgba(255,255,255,.07);padding:10px 12px;display:grid;gap:0}
.cb-tiles b{font-size:24px;font-weight:900;color:#fff;line-height:1.1}
.cb-tiles span{font-size:14px;color:#b7c2d6}
.cb-glow{animation:cbGlow .9s ease-out both}
@keyframes cbGlow{0%{text-shadow:0 0 0 rgba(246,213,140,0)}35%{text-shadow:0 0 22px rgba(246,213,140,.85)}100%{text-shadow:0 0 0 rgba(246,213,140,0)}}

/* B. «Сейчас»: единственная яркая карточка */
.cb-now{border-radius:20px;padding:18px;display:grid;gap:10px;color:#2b2000;
  background:linear-gradient(160deg,#f8dc97,#e6b450);box-shadow:0 14px 34px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.5)}
.cb-now .cb-k{color:#7a4f00}
.cb-now h2{font-size:22px;font-weight:900;color:#2b2000}
.cb-now p{font-size:16px;color:#4a3708}
.cb-now .btn{background:var(--wax);color:#fff;box-shadow:0 6px 0 #6d141a;justify-self:stretch}
.cb-now .btn:active{box-shadow:0 3px 0 #6d141a}
.cb-now .btn.ghost{background:transparent;color:#2b2000;box-shadow:inset 0 0 0 2px rgba(43,32,0,.55)}
.cb-now .cb-hint{font-size:15px;color:#5c4510}
.cb-chips{display:flex;flex-wrap:wrap;gap:6px}
.cb-chips span{font-size:14px;font-weight:800;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.45);color:#4a3708}
/* мастерская (making) */
.cb-ws{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cb-ws li{display:grid;grid-template-columns:26px 1fr;gap:4px 10px;align-items:center;font-weight:800;font-size:16px}
.cb-ws li>i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;background:rgba(43,32,0,.12)}
.cb-ws li>i svg{width:16px;height:16px}
.cb-ws li.ok>i{background:var(--ok);color:#fff}
.cb-ws li.busy>i svg{animation:cbSpin 2.4s linear infinite}
.cb-ws li b{font-weight:900}
.cb-bar{grid-column:2;height:8px;border-radius:4px;background:rgba(43,32,0,.15);overflow:hidden}
.cb-bar i{display:block;height:100%;background:var(--wax);transform-origin:left;transform:scaleX(var(--p,0));transition:transform .6s var(--cb-out)}
@keyframes cbSpin{to{transform:rotate(360deg)}}

/* C. путь: этапы-аккордеон */
.cb-path{display:grid;gap:10px}
.cb-path>h2,.cb-personal>h2,.cb-more>h2{font-size:15px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#9fb0cc}
.cb-st{border-radius:18px;background:rgba(255,255,255,.06)}
.cb-st>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:38px 1fr auto;gap:2px 12px;align-items:center;padding:14px 14px 14px 12px;min-height:64px}
.cb-st>summary::-webkit-details-marker{display:none}
.cb-st>summary b{font-size:18px;font-weight:900;line-height:1.2}
.cb-st>summary .cb-sub{grid-column:2;font-size:14.5px}
.cb-st>summary .cb-sum{grid-column:3;grid-row:1/span 2;font-size:14px;font-weight:800;color:#b7c2d6;white-space:nowrap;display:flex;align-items:center;gap:8px}
.cb-st>summary .cb-sum::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.cb-st[open]>summary .cb-sum::after{transform:rotate(-135deg) translateY(-2px)}
.cb-no{grid-row:1/span 2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:17px;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.28);color:#d5deee}
.cb-no svg{width:18px;height:18px}
.cb-st.cur .cb-no{background:radial-gradient(circle at 35% 30%,var(--wax2),var(--wax) 60%,#7a161d);color:var(--gold2);box-shadow:0 3px 0 #6d141a}
.cb-st.ok .cb-no{background:var(--gold);color:#2b2000;box-shadow:none}
.cb-st.cur{background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1.5px rgba(246,213,140,.35)}
.cb-stb{padding:0 14px 16px;display:grid;gap:12px}
.cb-st[open] .cb-stb{animation:cbOpen .22s var(--cb-out) both}
@keyframes cbOpen{from{opacity:0;transform:translateY(-6px)}}
.cb-stb .btn{font-size:16px;padding:12px 18px}
.cb-stb p{font-size:16px}
.cb-stb .cb-sub{font-size:15px}
/* fill: путь строками без раскрытия */
.cb-line{display:grid;grid-template-columns:38px 1fr;gap:2px 12px;align-items:center;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.04)}
.cb-line b{font-size:17px}
.cb-line .cb-sub{grid-column:2}
.cb-line.cur{background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1.5px rgba(246,213,140,.35)}
.cb-line.cur .cb-no{background:radial-gradient(circle at 35% 30%,var(--wax2),var(--wax) 60%,#7a161d);color:var(--gold2);box-shadow:0 3px 0 #6d141a}
.cb-line.ok .cb-no{background:var(--gold);color:#2b2000;box-shadow:none}
.cb-line.off{opacity:.6}

/* чек-лист подготовки и «Спрятано»: настоящие галочки 44×44 */
.cb-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.cb-chk{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center;font-weight:700;font-size:16px;cursor:pointer;min-height:48px}
.cb-chk input,.cb-hid input{position:absolute;opacity:0;width:1px;height:1px}
.cb-box{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35);transition:background .12s,box-shadow .12s}
.cb-box svg{width:22px;height:22px;opacity:0;transform:scale(.6);transition:opacity .12s,transform .2s var(--cb-pop)}
input:checked+.cb-box{background:var(--gold);box-shadow:none;color:#2b2000}
input:checked+.cb-box svg{opacity:1;transform:none}
input:focus-visible+.cb-box{outline:3px solid var(--gold);outline-offset:2px}
.cb-chk input:checked~span:not(.cb-box){opacity:.6;text-decoration:line-through;text-decoration-color:rgba(255,255,255,.4)}
.cb-pop{animation:cbPop .2s var(--cb-pop)}
@keyframes cbPop{from{transform:scale(.6)}}
.cb-ready{justify-self:start;font-size:14px;font-weight:900;padding:4px 12px;border-radius:999px;background:rgba(246,213,140,.18);color:var(--gold2);animation:cbPop .2s var(--cb-pop) both}
.cb-note{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:rgba(246,213,140,.1);color:var(--gold2);font-weight:700;font-size:15px}
.cb-note svg{width:20px;height:20px;flex:none;margin-top:2px}
/* тайники в обратном порядке */
.cb-tks{display:grid;gap:10px}
.cb-tk{display:grid;grid-template-columns:56px 1fr 44px;gap:4px 12px;align-items:center;background:#fff;color:var(--ink);border-radius:16px;padding:8px 10px 8px 8px}
.cb-tk.started{grid-template-columns:56px 1fr}
.cb-tk .cb-pic{position:relative;width:56px;height:56px}
.cb-tk .cb-pic img,.cb-tk .cb-pic .emo{width:56px;height:56px;border-radius:12px;object-fit:cover;display:grid;place-items:center;font-size:30px;background:#e9edf3}
.cb-tk .cb-pic em{position:absolute;left:-6px;top:-6px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:13px;
  background:var(--wax);color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.35)}
.cb-tk b{font-size:16px;line-height:1.25}
.cb-tk .cb-where{font-size:14px;color:var(--muted);line-height:1.3}
.cb-code{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:2px;font-size:14px;color:var(--muted)}
.cb-code .num{font:900 24px/1 ui-monospace,Menlo,monospace;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:var(--ink);
  background:#f4ead2;border-radius:8px;padding:4px 8px}
.cb-tk .rd{grid-column:1/-1}
.cb-tk .rd summary{font-size:15px}
.cb-hid{position:relative;display:grid;place-items:center;width:44px;height:44px;cursor:pointer}
.cb-hid .cb-box{box-shadow:inset 0 0 0 2px #c9b88f}
.cb-hid input:checked+.cb-box{background:var(--ok);color:#fff}
.cb-tk.hidden-ok{background:#f3f6ef}
.cb-tk.done{opacity:.55}
.cb-tk.gift .cb-pic em{background:transparent;box-shadow:none;font-size:18px}
.cb-wordline{font-size:16px;color:#d5deee}
/* маршрут (этап 1): карточки мест без галочки, «Маршрут готов», разморозка */
.cb-tk.cb-rt{grid-template-columns:56px 1fr}
.cb-st>summary .cb-sum svg{width:15px;height:15px;color:var(--gold2)}
.cb-fix{display:grid;gap:10px;margin-top:2px}
.cb-fix .cb-mini{margin-top:-2px}
/* маршрут до фиксации: компактные строки (миниатюра 40 px, «Холодильник · на дверце»), загадка свёрнута; кнопка ближе */
.cb-compact{gap:6px}
.cb-compact .cb-tk{grid-template-columns:40px 1fr;gap:2px 10px;padding:6px 10px 6px 6px;border-radius:12px}
.cb-compact .cb-tk .cb-pic,.cb-compact .cb-tk .cb-pic img,.cb-compact .cb-tk .cb-pic .emo{width:40px;height:40px;border-radius:9px;font-size:22px}
.cb-compact .cb-tk .cb-pic em{width:20px;height:20px;font-size:11px;left:-5px;top:-5px}
.cb-compact .cb-tk>div:not(.cb-pic){line-height:1.3}
.cb-compact .cb-tk b{font-size:15px;display:inline}
.cb-compact .cb-tk .cb-where{display:inline;font-size:14px}
.cb-compact .cb-tk .cb-where::before{content:" · "}
.cb-compact .cb-tk .rd summary{font-size:14px;padding-block:2px}
/* длинный маршрут: «Маршрут готов» липнет к низу экрана, пока открыт этап */
.cb-fixgo.cb-stick{position:sticky;bottom:12px;z-index:5}
.cb-fixgo.cb-stick .btn{width:100%;box-shadow:0 8px 22px rgba(0,0,0,.45)}
/* мастерская: бегущий блик по полосе, пока не готово (при reduced motion глобальное правило гасит анимацию) */
.cb-bar.cb-run{position:relative}
.cb-bar.cb-run::after{content:"";position:absolute;top:0;bottom:0;left:-40%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  animation:coShine 1.4s ease-in-out infinite}

.cb-unfix{display:grid;gap:8px;font-size:15px;color:#b7c2d6}
.cb-unfix .cb-lnk{color:var(--gold2);font-weight:800;padding:6px 0}
p.cb-unfix{display:block}
/* после повторной фиксации: что изменилось на этом листочке */
.cb-new{display:inline-block;margin:4px 0 2px;padding:3px 9px;border-radius:999px;background:#f6d58c;color:#4a3200;font-weight:900;font-size:13px;line-height:1.3}
/* диалог разморозки */
.cb-dlg{width:min(420px,calc(100% - 32px));border:0;border-radius:20px;padding:20px;background:#fbf3e0;color:var(--ink);box-shadow:0 24px 60px rgba(0,0,0,.5)}
.cb-dlg::backdrop{background:rgba(5,10,22,.72)}
.cb-dlg form{display:grid;gap:12px}
.cb-dlg h2{font-size:22px;font-weight:900;line-height:1.2}
.cb-dlg p{font-size:16px;line-height:1.5;color:#3d3022}
.cb-dlg .cb-dlgm{font-weight:800;color:var(--muted)}
.cb-dlg .err{color:var(--wax);font-weight:800}
.cb-dlg .err a{color:var(--wax)}
.cb-dlgb{display:grid;gap:10px}
.cb-dlgb .btn{width:100%}
.cb-dlgb .btn.ghost{color:var(--ink);box-shadow:inset 0 0 0 2px rgba(43,33,23,.45)}
@media (min-width:420px){.cb-dlgb{grid-template-columns:1fr 1fr}}
@media all{.cb-dlg[open]{animation:cbOpen .22s var(--cb-out) both}}
.cb-wordline b{color:var(--gold2);letter-spacing:.08em}
/* запуск */
.cb-launch{display:grid;gap:12px}
.cb-launch .qr{background:#fff;padding:10px;border-radius:14px;justify-self:start}
.cb-launch .qr img,.cb-launch .qr canvas{display:block;width:168px;height:168px}
.cb-launch .acts{display:grid;gap:10px}
.cb-launch .btn.ghost{font-size:16px}
@media (min-width:520px){.cb-launch{grid-template-columns:auto 1fr;align-items:start}.cb-launch>p,.cb-launch>details,.cb-launch>.cb-warn{grid-column:1/-1}}
.cb-warn{padding:10px 12px;border-radius:12px;background:rgba(246,213,140,.14);color:var(--gold2);font-weight:800;font-size:15px}
.cb-mini{font-size:15px;color:#b7c2d6}
.cb-mini summary{cursor:pointer;font-weight:800;color:var(--gold2)}
.cb-live{display:grid;gap:8px}
.cb-live .cb-bar{grid-column:auto;background:rgba(255,255,255,.15)}
.cb-live .cb-bar i{background:var(--gold)}

/* Квитанция только в checking и unpaid (раунд 2: блок «Что внутри» в оплаченном кабинете убран).
   Общий компонент App.receipt / App.payTiles и классы co- из mvp.css (пакет чекаута); здесь только то, что нужно кабинету */
.cb-page .co-wrapR{max-width:none}
.cb-page .co-change{display:none}
.cb-await .co-stamp{display:none}
.cb-checking{justify-self:center;margin:4px 0;padding:6px 12px;border:2px dashed rgba(111,97,80,.55);border-radius:8px;color:var(--muted);
  font-weight:900;font-size:13px;transform:rotate(-6deg);animation:cbBreath 1.6s ease-in-out infinite}
@keyframes cbBreath{50%{opacity:.45}}
.co-stamp.cb-drop::after{content:"";position:absolute;inset:-9px;border-radius:14px;border:2px solid var(--wax);opacity:0;animation:cbRing .32s ease-out .3s both}
@keyframes cbRing{0%{opacity:.6;transform:scale(.9)}100%{opacity:0;transform:scale(1.25)}}
.cb-page .co-rmail{font-size:14.5px;color:var(--muted)}
.cb-page .co-rmail b{color:var(--ink);overflow-wrap:anywhere}
.cb-page .co-receipt .err{color:var(--wax);font-weight:800;font-size:15px}
.cb-after{text-align:center;font-size:15px;color:#b7c2d6;max-width:420px;justify-self:center}
.cb-acts{display:grid;gap:10px}

/* E. личное: свёрнутые карточки с превью */
.cb-personal{display:grid;gap:10px}
.cb-pd{position:relative;border-radius:18px;background:rgba(255,255,255,.06)}
.cb-pd>summary{position:relative;list-style:none;cursor:pointer;display:grid;gap:4px;padding:14px 64px 14px 16px;min-height:64px}
.cb-pd>summary::-webkit-details-marker{display:none}
.cb-pd>summary b{font-size:18px;font-weight:900}
.cb-pd>summary .cb-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-style:italic}
.cb-pd .cb-play{position:absolute;right:12px;top:12px;width:44px;height:44px;border-radius:50%;border:0;background:var(--gold);color:#2b2000;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 0 #a87a1f}
.cb-pd .cb-play svg{width:18px;height:18px;margin-left:2px}
.cb-pd:not(:has(.cb-play))>summary::after{content:"";position:absolute;right:22px;top:26px;width:9px;height:9px;border-right:2px solid #b7c2d6;border-bottom:2px solid #b7c2d6;transform:rotate(45deg);transition:transform .2s}
.cb-pd[open]:not(:has(.cb-play))>summary::after{transform:rotate(-135deg)}
.cb-thumbs{display:flex;gap:6px;margin-top:4px}
.cb-thumbs img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.cb-pdb{padding:0 14px 16px;display:grid;gap:12px}
.cb-pd[open] .cb-pdb{animation:cbOpen .22s var(--cb-out) both}

/* F. заказ и помощь: список строк */
.cb-more{display:grid;gap:10px}
.cb-menu{list-style:none;margin:0;padding:4px 0;border-radius:18px;background:rgba(255,255,255,.04)}
.cb-menu>li{border-top:1px solid rgba(255,255,255,.07)}
.cb-menu>li:first-child{border-top:0}
.cb-menu a,.cb-menu button.cb-mi{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 16px;background:none;border:0;color:var(--snow);
  font:800 16px/1.3 Nunito,system-ui,sans-serif;text-decoration:none;text-align:left;cursor:pointer}
.cb-menu svg{width:20px;height:20px;flex:none;color:var(--gold2)}
.cb-menu [disabled]{opacity:.55;cursor:not-allowed}
.cb-menu small{display:block;font-weight:700;font-size:13.5px;color:#9fb0cc}
.cb-menu .cb-info{display:flex;gap:12px;padding:12px 16px;font-size:15px;color:#d5deee;line-height:1.45}
.cb-menu .contact{padding:6px 12px}
.cb-fine2{font-size:14px;color:#9fb0cc;text-align:center}
.cb-fine2 a{color:#d5deee}

/* K5: первый показ состояния, 4–5 верхних блоков, шаг 50 мс; ниже сгиба без анимации */
.intro .cb-in{animation:cbIn .32s var(--cb-out) both;animation-delay:calc(var(--i,0) * 50ms)}
@keyframes cbIn{from{opacity:0;transform:translateY(10px)}}
/* K2: золотые искры (создаёт JS, только без «уменьшить движение») */
.cb-sparks{position:fixed;inset:0;pointer-events:none;z-index:60}
.cb-sparks i{position:absolute;width:7px;height:7px;border-radius:2px;background:var(--gold2);box-shadow:0 0 8px rgba(246,213,140,.9)}
.cb-sparks i:nth-child(3n){width:5px;height:5px;border-radius:50%;background:#fff}
.snowfall.snowfront.cb-fade{transition:opacity 1.5s;opacity:0}
.cb-lnk{background:none;border:0;padding:0;font:inherit;color:#fff;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* ===================== Кабинет v2 (26.11.2026): фон, шапка, хиро с шагами, статус подготовки. Только .cb-*, .rm-* не трогаем ===================== */
body.cb-night{background:#0b1730}
body.cb-night::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(11,23,48,.15) 0,rgba(11,23,48,.55) 70%,rgba(11,23,48,.8)),
    url(/img/brand/cab-bg-900.webp) 72% 100%/cover no-repeat}
@media (min-width:900px){body.cb-night::before{background:linear-gradient(180deg,rgba(11,23,48,.1) 0,rgba(11,23,48,.45) 75%,rgba(11,23,48,.7)),
    url(/img/brand/cab-bg-1672.webp) 50% 100%/cover no-repeat}}
/* шапка: тариф и номер заказа между логотипом и помощью */
.top .cb-ord{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;padding-left:14px;margin-left:2px;
  border-left:1.5px solid rgba(255,255,255,.22);font-weight:900;font-size:15px;line-height:1.3;color:var(--gold2)}
.top .cb-ord i{font-style:normal;opacity:.7}
.top .cb-topr{flex:none}
@media (max-width:479px){.top .cb-ord{display:grid;overflow:hidden;font-size:13px;padding-left:10px}.top .cb-ord i{display:none}
  .top .cb-ord span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top .cb-ord span+i+span{font-weight:800;color:#d5deee}}
/* хиро подготовки: кремовая карточка */
.cb-hero:has(>.cb-hcard){display:block}
.cb-hcard{position:relative;display:grid;grid-template-columns:1fr 150px;gap:12px 10px;align-items:start;padding:20px 16px 18px;border-radius:22px;color:var(--ink);
  background:radial-gradient(120% 140% at 100% 0,#fff8e8 0,transparent 55%),linear-gradient(160deg,#fbf2df,#f3e3c3);box-shadow:0 18px 40px rgba(2,8,22,.45),inset 0 0 0 1px rgba(255,255,255,.6)}
.cb-htx{display:grid;gap:6px;min-width:0;grid-column:1/-1;grid-row:1}
.cb-hcard h1{font:900 clamp(25px,6.6vw,40px)/1.1 "Nunito",sans-serif;color:#13213f;letter-spacing:-.01em;text-wrap:balance;padding-right:132px}
.cb-hcard .cb-lead{font-size:16.5px;line-height:1.45;color:#3d3022;padding-right:120px}
.cb-henv{grid-column:2;grid-row:1;position:relative;width:150px;margin:-6px -8px 0 0;justify-self:end;pointer-events:none}
.cb-henv img{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 14px rgba(70,40,10,.28))}
.cb-henv span{position:absolute;left:24%;right:22%;top:21%;text-align:center;transform:rotate(-4deg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font:400 calc(min(21px, 150px * 1 / max(var(--n,6), 4)))/1.25 "Marck Script",cursive;color:#8e1d24}
.intro .cb-henv{animation:cbEnv .5s var(--cb-emph) .15s both}
@keyframes cbEnv{from{opacity:0;transform:translateY(14px) rotate(4deg)}}
.cb-hcard .cb-listen{grid-column:1/-1;border-color:rgba(163,38,46,.35);background:rgba(163,38,46,.07);color:#7a161d}
/* три шага */
.cb-steps{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);position:relative}
.cb-steps li{position:relative;display:grid;justify-items:center}
.cb-steps li+li::before{content:"";position:absolute;top:21px;right:calc(50% + 26px);width:calc(100% - 52px);height:2px;background:#c9b48c}
.cb-steps li.ok+li::before,.cb-steps li.ok+li.cur::before{background:#a3262e}
.cb-steps button{display:grid;justify-items:center;gap:6px;min-height:44px;padding:0 2px;border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:center}
.cb-steps button:disabled{cursor:default}
.cb-steps button:focus-visible{outline:3px solid #a3262e;outline-offset:3px;border-radius:12px}
.cb-sn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:18px;background:#fbf3e2;color:#8a7a62;box-shadow:inset 0 0 0 2px #c9b48c}
.cb-sn svg{width:18px;height:18px}
.cb-steps .cur .cb-sn{background:radial-gradient(circle at 35% 30%,var(--wax2),var(--wax) 60%,#7a161d);color:#fff;box-shadow:0 3px 0 #6d141a,0 0 0 5px rgba(163,38,46,.14)}
.cb-steps .ok .cb-sn{background:#a3262e;color:#fff;box-shadow:none}
.cb-stt{font-size:14.5px;line-height:1.2;font-weight:700;color:#5c4d3b}
.cb-steps .cur .cb-stt{font-weight:900;color:#13213f}
.cb-steps .ok .cb-stt{color:#3d3022}
@media (min-width:560px){
  .cb-hcard{grid-template-columns:1fr 220px;padding:26px 26px 22px}
  .cb-htx{grid-column:1}
  .cb-hcard h1,.cb-hcard .cb-lead{padding-right:0}
  .cb-henv{width:230px;margin:-4px -12px -10px 0;align-self:center}
  .cb-henv span{font-size:calc(min(31px, 230px * 1 / max(var(--n,6), 4)))}
  .cb-stt{font-size:16px}
}
@media (max-width:379px){.cb-hcard h1{padding-right:110px}.cb-henv{width:128px}.cb-henv span{left:21%;right:19%;font-size:calc(min(17px, 128px * .9 / max(var(--n,6), 4)))}.cb-stt{font-size:13.5px}}
/* статус подготовки: светлая строка вместо золотой «Сейчас» */
.cb-stat{display:grid;grid-template-columns:44px 1fr;gap:6px 14px;align-items:start;padding:16px;border-radius:20px;color:var(--ink);
  background:linear-gradient(160deg,#fbf6ea,#f1e6cf);box-shadow:0 12px 30px rgba(2,8,22,.35)}
.cb-sti{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#3f8a4e;box-shadow:0 3px 0 #2c6638}
.cb-sti svg{width:22px;height:22px}
.cb-sti.busy{background:#e6b450;color:#5a3d00;box-shadow:0 3px 0 #a87a1f}
.cb-sti.busy svg{animation:cbSpin 2.4s linear infinite}
.cb-stat h2{align-self:center;font-size:20px;font-weight:900;color:#13213f}
.cb-stl{grid-column:1/-1;display:grid;gap:4px;font-size:15.5px;line-height:1.45;color:#3d3022}
.cb-stl b{font-weight:900;color:#13213f}
.cb-stl b.ok{color:#2f7a3e}.cb-stl b.busy{color:#9a6a0c}.cb-stl b.bad{color:var(--wax)}
.cb-stl .cb-bar{grid-column:auto;max-width:280px;margin:2px 0 4px}
.cb-stl .cb-hint{font-size:14.5px;color:#6f6150}
.cb-stat .btn{grid-column:1/-1;background:var(--wax);color:#fff;box-shadow:0 5px 0 #6d141a;font-size:17px;padding:13px 20px}
.cb-stat .btn:active{box-shadow:0 2px 0 #6d141a;transform:translateY(3px)}
@media (min-width:560px){
  .cb-stat{grid-template-columns:44px max-content minmax(0,1fr);align-items:center;gap:6px 18px;padding:16px 20px}
  .cb-stat h2{white-space:nowrap;padding-right:18px;border-right:1.5px solid rgba(43,33,23,.15)}
  .cb-stl{grid-column:3}
  .cb-stat .btn{grid-column:3;justify-self:start;width:auto;white-space:nowrap;margin-top:4px}
}


/* ---------- Кабинет v2, шаг 2: две колонки, светлые этапы, карточки мест ---------- */
#app.cb-wide{max-width:1100px}
.cb-cols{display:grid;gap:24px;align-items:start}
.cb-main,.cb-side{display:grid;gap:20px;min-width:0}
@media (min-width:1000px){
  .cb-cols{grid-template-columns:minmax(0,1fr) 340px}
  .cb-side{position:sticky;top:16px}
}
.cb-steps li.next .cb-sn{color:#7a161d;box-shadow:inset 0 0 0 2px #a3262e}
.cb-steps li.next .cb-stt{color:#3d3022}
/* этапы: кремовые карточки */
.cb-path{gap:16px}
.cb-st{background:linear-gradient(160deg,#fbf6ea,#f3e8d1);color:var(--ink);border-radius:22px;box-shadow:0 14px 34px rgba(2,8,22,.38)}
.cb-st.cur{background:linear-gradient(160deg,#fdf8ee,#f5ead4);box-shadow:0 14px 34px rgba(2,8,22,.38),inset 0 0 0 1.5px rgba(163,38,46,.18)}
.cb-st>summary,.cb-sth{padding:18px 20px 16px 18px;grid-template-columns:44px 1fr auto;gap:2px 14px}
.cb-sth{display:grid;align-items:center}
.cb-st>summary b,.cb-sth b{font-size:22px;color:#13213f}
.cb-st .cb-sub{color:#4d4134}
.cb-st>summary .cb-sub,.cb-sth .cb-sub{grid-column:2;font-size:15.5px;line-height:1.4}
.cb-st>summary .cb-sum,.cb-sth .cb-sum{grid-column:3;grid-row:1/span 2;color:#6f6150}
.cb-st>summary .cb-sum svg{color:#7a161d}
.cb-st .cb-no{grid-row:1/span 2;width:44px;height:44px;font-size:20px;background:#ebe1cc;color:#6f6150;box-shadow:none}
.cb-st.cur .cb-no{color:#fff}
.cb-st.ok .cb-no{background:#a3262e;color:#fff}
.cb-st.off{background:rgba(251,246,234,.92);box-shadow:0 10px 24px rgba(2,8,22,.3)}
.cb-st.off .cb-sum svg{width:22px;height:22px}
.cb-st.off .cb-sum{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#ebe1cc}
.cb-stb{padding:0 20px 20px}
.cb-st .cb-mini,.cb-st .cb-stb p{color:#3d3022}
.cb-st .cb-note{background:#f1e4c6;color:#5a3d00}
.cb-st .cb-note svg{color:#a3262e}
.cb-st .cb-wordline{color:#3d3022}
.cb-st .cb-wordline b{color:#a3262e}
.cb-st .cb-codes b{color:#7a161d}.cb-st .cb-codes em{color:#6f6150}
.cb-st .cb-chk{color:var(--ink)}
.cb-st .cb-box{box-shadow:inset 0 0 0 2px #c9b48c}
.cb-st .cb-chk input:checked~span:not(.cb-box){text-decoration-color:rgba(43,33,23,.4)}
.cb-st .cb-unfix{color:#4d4134}.cb-st .cb-unfix .cb-lnk{color:#a3262e}
.cb-st .cb-live{color:var(--ink)}
.cb-st .btn.ghost{color:#13213f;box-shadow:inset 0 0 0 2px rgba(19,33,63,.55)}
.cb-st .cb-ah{background:#fff;box-shadow:inset 0 0 0 1px rgba(43,33,23,.1)}
.cb-st .cb-ahl small,.cb-st .cb-ahd{color:#4d4134}
.cb-st .cb-ahd summary{color:#a3262e}
.cb-st .cb-ahl .cb-box{box-shadow:inset 0 0 0 2px #c9b48c}
.cb-st .cb-ready{background:#a3262e;color:#fff}
/* маршрут: панель со списком карточек */
.cb-route{border-radius:18px;background:#e9eef6;padding:6px;display:grid;gap:6px}
.cb-rh{display:flex;align-items:center;gap:10px;padding:8px 8px 6px 10px;color:#13213f}
.cb-rh>svg{width:24px;height:24px}
.cb-rh b{font-size:19px;font-weight:900;flex:1}
.cb-cnt{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:#f6d58c;color:#2b2000;font-weight:900;font-size:14.5px}
.cb-cnt svg{width:18px;height:18px}
.cb-pls{display:grid;gap:6px}
.cb-pl{background:#fff;border-radius:14px;box-shadow:0 1px 2px rgba(19,33,63,.08)}
.cb-pl>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:30px 56px 1fr 20px;align-items:center;gap:12px;padding:8px 14px 8px 10px;min-height:56px}
.cb-pl>summary::-webkit-details-marker{display:none}
.cb-pl>summary::after{content:"";width:9px;height:9px;justify-self:center;border-right:2.2px solid #13213f;border-bottom:2.2px solid #13213f;transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}
.cb-pl[open]>summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.cb-pl>summary:focus-visible{outline:3px solid #a3262e;outline-offset:-3px;border-radius:14px}
.cb-pn{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fbefd6;color:#7a4f00;font-weight:900;font-size:15px}
.cb-pl.gift .cb-pn{background:none;font-size:20px}
.cb-pp{width:56px;height:44px;border-radius:9px;overflow:hidden;background:#e9edf3;display:grid;place-items:center}
.cb-pp img,.cb-pp .emo{width:100%;height:100%;object-fit:cover;display:grid;place-items:center;font-size:24px}
.cb-pl:not([open]) .cb-pp{height:36px;width:44px;justify-self:center}
.cb-pt{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px}
.cb-pt b{font-size:17px;font-weight:900;color:#13213f;line-height:1.25}
.cb-pt small{flex-basis:100%;font-size:14.5px;color:#5c4d3b;line-height:1.3}
.cb-pl:not([open]) .cb-pt small{display:none}
.cb-own{font-style:normal;font-size:12.5px;font-weight:800;padding:2px 10px;border-radius:999px;background:#fbefd6;color:#6b4a0b}
.cb-plb{padding:0 12px 12px;display:grid;gap:8px}
.cb-pr{display:grid;grid-template-columns:76px 1fr auto;gap:10px 14px;align-items:center;padding:12px 14px;border-radius:12px;background:#fbf4e4}
.cb-prl{font-weight:900;font-size:15px;color:#13213f;align-self:start;padding-top:1px}
.cb-prt{margin:0;font-style:italic;font-size:15.5px;line-height:1.45;color:#3d3022;white-space:pre-line}
.cb-prt.bad{color:var(--wax);font-style:normal;font-weight:800}
.cb-prt.muted{color:#6f6150}
.cb-pra{display:flex;align-items:center;gap:4px}
.cb-lis{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px 0 4px;border:0;background:none;font:900 15px/1 Nunito,sans-serif;color:#13213f;cursor:pointer;border-radius:999px}
.cb-lis i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#2b2000}
.cb-lis svg{width:14px;height:14px;margin-left:2px}
.cb-alt{min-height:44px;max-width:96px;padding:0 4px 0 14px;border:0;border-left:1.5px solid rgba(43,33,23,.15);background:none;font:700 14.5px/1.2 Nunito,sans-serif;color:#3d3022;cursor:pointer;text-align:center}
.cb-alt:disabled{opacity:.6}
.cb-lis:focus-visible,.cb-alt:focus-visible,.cb-chip:focus-visible,.cb-chl:focus-visible{outline:3px solid #a3262e;outline-offset:1px}
.cb-busy{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:8px 14px;border-radius:999px;background:#fde3c2;color:#b4560b;font-weight:900;font-size:15px}
.cb-busy svg{width:18px;height:18px;animation:cbSpin 2.4s linear infinite}
.cb-pc{display:flex;flex-wrap:wrap;gap:6px}
.cb-kinds{display:inline-flex;gap:4px;flex-wrap:wrap}
.cb-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 12px;border:0;border-radius:999px;background:#fbf4e4;color:#3d3022;font:700 14px/1.2 Nunito,sans-serif;box-shadow:inset 0 0 0 1px rgba(43,33,23,.1)}
.cb-chip svg{width:17px;height:17px;flex:none}
button.cb-chip{cursor:pointer}
.cb-chip[aria-pressed="false"]{background:#fff;color:#6f6150}
.cb-chip[aria-pressed="true"]{background:#13213f;color:#fff;box-shadow:none}
.cb-chip.off{color:#6f6150}
.cb-chip.act{background:#fff;color:#a3262e;box-shadow:inset 0 0 0 1.5px rgba(163,38,46,.35)}
.cb-chip .cb-gi{margin:-6px -4px -6px -2px}
.cb-chl{margin-left:4px;padding:2px 2px 2px 10px;border:0;border-left:1.5px solid rgba(43,33,23,.15);background:none;font:800 14px/1.2 Nunito,sans-serif;color:#2a5bb8;cursor:pointer}
.cb-plb .note{margin:0;font-size:14px;color:#5c4d3b}
.cb-plb .note:empty{display:none}
.cb-plb .placeEdit{padding:10px;border-radius:12px;background:#fbf4e4}
.cb-plb .placeEdit .btn{font-size:15px;padding:10px 16px}
.cb-plb .placeEdit .btn.ghost{color:#13213f;box-shadow:inset 0 0 0 2px rgba(19,33,63,.5)}
/* «Маршрут готов» */
.cb-fix{gap:10px}
.cb-fixb{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cb-fixb .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;font-size:17px;padding:14px 18px}
.cb-fixb .btn svg{width:20px;height:20px}
.cb-fixb .btn.ghost{background:#fff;color:#13213f;box-shadow:inset 0 0 0 2px #13213f}
.cb-fixb #routeLock{background:var(--wax);color:#fff;box-shadow:0 5px 0 #6d141a}
.cb-fixb #routeLock:disabled{background:#d58c8f;box-shadow:none;cursor:not-allowed}
.cb-fixgo.cb-stick{position:static}
.cb-why{margin:0;padding:8px 12px;border-radius:10px;background:#fde3c2;color:#7a3d06;font-weight:800;font-size:14.5px}
.cb-fixi{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.cb-fixi li{display:grid;grid-template-columns:22px 1fr;gap:8px;font-size:14.5px;line-height:1.4;color:#4d4134}
.cb-fixi svg{width:18px;height:18px;margin-top:1px;color:#6f6150}
@media (max-width:559px){.cb-fixb{grid-template-columns:1fr}.cb-pr{grid-template-columns:1fr}.cb-pra{justify-content:space-between}}

@media (max-width:559px){
  .cb-st>summary,.cb-sth{padding:14px 12px 12px;grid-template-columns:40px 1fr auto;gap:2px 10px}
  .cb-st>summary b,.cb-sth b{font-size:19px}
  .cb-st>summary .cb-sum{font-size:0;gap:0}
  .cb-st>summary .cb-sum svg{width:0}
  .cb-st .cb-no{width:40px;height:40px;font-size:18px}
  .cb-stb{padding:0 10px 14px}
  .cb-route{padding:4px;border-radius:14px}
  .cb-rh{flex-wrap:wrap}
  .cb-cnt{font-size:13px;padding:4px 10px}
  .cb-pl>summary{grid-template-columns:26px 48px 1fr 16px;gap:10px;padding:8px 10px 8px 8px}
  .cb-pp{width:48px;height:40px}
  .cb-plb{padding:0 8px 10px}
  .cb-pr{padding:10px 12px}
}

/* ---------- Кабинет v2, шаг 3: правая колонка — письмо Деда Мороза, быстрые действия, заказ ---------- */
.cb-side{gap:16px}
.cb-personal,.cb-more{display:grid;gap:16px}
.cb-card{display:grid;gap:12px;padding:18px;border-radius:22px;color:var(--ink);background:linear-gradient(160deg,#fbf6ea,#f3e8d1);box-shadow:0 14px 34px rgba(2,8,22,.38)}
.cb-ch{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}
.cb-ch img{width:56px;height:56px}
.cb-ch h2{font-size:21px;font-weight:900;line-height:1.15;color:#13213f}
.cb-ch p{margin:4px 0 0;font-size:14.5px;line-height:1.4;color:#4d4134}
.cb-quote{position:relative;display:grid;grid-template-columns:1fr 48px;gap:6px 10px;align-items:center;padding:14px 12px 10px 16px;border-radius:16px;background:#fbefd6}
.cb-qm{position:absolute;left:10px;top:-2px;font:900 44px/1 Georgia,serif;color:#e6b450}
.cb-quote p{margin:0;padding:12px 0 0 6px;font-style:italic;font-size:15.5px;line-height:1.5;color:#3d3022;white-space:pre-line;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.cb-quote.open p{display:block;-webkit-line-clamp:unset}
.cb-qp{width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#2b2000;cursor:pointer;box-shadow:0 3px 0 #a87a1f}
.cb-qp svg{width:20px;height:20px;margin-left:3px}
.cb-qx{grid-column:1/-1;justify-self:start;min-height:36px;padding:4px 6px;border:0;background:none;font:800 14.5px/1.2 Nunito,sans-serif;color:#a3262e;cursor:pointer}
.cb-act{border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px rgba(43,33,23,.12)}
button.cb-act,.cb-act>summary{display:grid;grid-template-columns:22px auto 1fr 12px;align-items:center;gap:4px 12px;width:100%;min-height:52px;padding:8px 14px;border:0;background:#fff;border-radius:14px;
  font:900 16px/1.2 Nunito,sans-serif;color:#13213f;text-align:left;cursor:pointer;list-style:none}
.cb-act>summary::-webkit-details-marker{display:none}
.cb-act svg{width:20px;height:20px}
.cb-act small{font-weight:600;font-size:13px;color:#6f6150;text-align:right}
button.cb-act::after,.cb-act>summary::after{content:"";width:8px;height:8px;border-right:2px solid #13213f;border-bottom:2px solid #13213f;transform:rotate(-45deg)}
.cb-act[open]>summary::after{transform:rotate(45deg)}
button.cb-act:disabled{opacity:.7;cursor:default}
.cb-act .cb-pdb{padding:0 10px 12px;display:grid;gap:10px}
.cb-act .cb-pdb .small{font-size:14px;color:#4d4134}
.cb-act .panel.light{background:#fbf4e4;box-shadow:none}
.cb-act textarea{font-size:15px}
.cb-act .btn{font-size:15px;padding:10px 14px}
.cb-bolt{font-size:26px;line-height:1}
.cb-qas{display:grid;gap:8px}
.cb-qa{display:grid;grid-template-columns:22px 1fr 10px;align-items:center;gap:12px;min-height:52px;padding:8px 14px;border:0;border-radius:14px;background:#fff;
  box-shadow:inset 0 0 0 1px rgba(43,33,23,.12);font:600 15px/1.3 Nunito,sans-serif;color:#3d3022;text-decoration:none;text-align:left;cursor:pointer;width:100%}
.cb-qa b{font-weight:900;color:#13213f}
.cb-qa>svg{width:20px;height:20px;color:#13213f}
.cb-qe{font-size:18px;line-height:1}
.cb-qa.off{cursor:default;color:#6f6150}
.cb-qa.off>svg{color:#6f6150}
.cb-chev{width:8px;height:8px;border-right:2px solid #13213f;border-bottom:2px solid #13213f;transform:rotate(-45deg)}
.cb-qa:hover,button.cb-act:hover,.cb-act>summary:hover{background:#fffaf0}
.cb-qa:focus-visible,.cb-act>summary:focus-visible,button.cb-act:focus-visible,.cb-qp:focus-visible,.cb-qx:focus-visible{outline:3px solid #a3262e;outline-offset:2px}
.cb-tiles2{display:grid;grid-template-columns:1fr 1fr}
.cb-ti{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;padding:10px 8px}
.cb-ti:nth-child(odd){border-right:1.5px solid rgba(43,33,23,.12)}
.cb-ti:nth-child(n+3){border-top:1.5px solid rgba(43,33,23,.12)}
.cb-ti svg{width:20px;height:20px;color:#4d4134;margin-top:2px}
.cb-ti small{display:block;font-size:13px;color:#6f6150}
.cb-ti b{display:block;font-size:16.5px;font-weight:900;color:#13213f;line-height:1.25;overflow-wrap:anywhere}
.cb-om{margin:0;font-size:13.5px;line-height:1.4;color:#6f6150}
.cb-om a{color:#a3262e}
.cb-help{display:grid;gap:8px;padding-top:10px;border-top:1.5px solid rgba(43,33,23,.12);font-size:14.5px;line-height:1.4;color:#3d3022}
.cb-help .contact-btn{color:#13213f;border-color:rgba(19,33,63,.4);background:#fff}
@media (min-width:1000px){.cb-side{position:static}}
button.cb-act,.cb-act>summary{grid-template-columns:22px 1fr 12px;gap:0 12px}
button.cb-act>svg,.cb-act>summary>svg{grid-row:1/span 2}
button.cb-act::after,.cb-act>summary::after{grid-column:3;grid-row:1/span 2}
.cb-act small{grid-column:2;text-align:left;margin-top:2px}
.cb-act>summary>span,button.cb-act>span{grid-column:2}

/* ---------- Кабинет v2, правки владельца 26.11: время автоподсказок, раскладка одной кнопкой, играющая запись ---------- */
.cb-st .cb-ah{gap:8px;padding:12px 14px}
.cb-aht{display:flex;flex-wrap:wrap;gap:6px;padding-left:54px}
.cb-aht .cb-chip{min-height:38px;cursor:pointer}
.cb-aht .cb-chip em{font-style:normal;font-weight:600;font-size:12px;opacity:.75}
.cb-aht .cb-chip:disabled{opacity:.6;cursor:default}
.cb-ahd ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px}
.cb-st .cb-ahd li{color:#3d3022;font-size:15px;line-height:1.4}
.cb-st .cb-ahd p{color:#6f6150;font-size:14px}
.cb-how{margin:0;padding-left:22px;display:grid;gap:4px;font-size:15.5px;line-height:1.45;color:#3d3022}
.cb-st .cb-tk{grid-template-columns:56px 1fr auto}
.cb-st .cb-tk.started{grid-template-columns:56px 1fr auto}
.cb-big{font:900 28px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:#7a161d;
  padding:8px 10px 8px 14px;border-radius:12px;background:#fbefd6}
.cb-laid{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--wax);color:#fff;box-shadow:0 5px 0 #6d141a;font-size:18px;padding:15px 22px}
.cb-laid svg{width:20px;height:20px}
.cb-done{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;padding:12px 14px;border-radius:14px;background:#e4f1e6;color:#1f5a2c;font-weight:900;font-size:16px}
.cb-done svg{width:20px;height:20px;flex:none}
.cb-done span{flex:1 1 auto}
.cb-done .cb-lnk{color:#1f5a2c;font-weight:800;text-decoration:underline;background:none;border:0;padding:6px 0;cursor:pointer}
[data-listen].cb-on{animation:cbPlay 1.2s ease-in-out infinite}
.cb-lis.cb-on i,.cb-qp.cb-on{background:var(--wax);color:#fff;box-shadow:none}
@keyframes cbPlay{50%{filter:brightness(1.12)}}

@media (max-width:559px){.cb-aht{padding-left:0}.cb-big{font-size:22px;padding:6px 8px 6px 10px}}
.cb-gage{font-size:12.5px;font-weight:600;color:#6f6150}
