/* Звукотекст — «прибор» на главной (шаг 2.2, эскиз v7, вариант A — клавиши прибора; решение владельца 28.09, Р-48).
   Правила: в каждой панели одна ось по центру — значок → заголовок → действие → одна подсказка;
   размер прибора не меняется ни при смене режима, ни при смене состояния; рамок выбора нет. */
:root{--rec:#F08A72;--rec2:#E06A52;--rec3:#F9B8A6;--sun4:#E6C66E;--sun-ink:#4E3C0C;--link:#1B64D6;--soft:#F4F4F5}
main h1{font-size:clamp(26px,3.2vw,37px);margin:0 0 6px}   /* заголовок и подзаголовок — одной строкой по ширине прибора (владелец 05.10) */
main .lead{font-size:16px;margin:0 0 20px;max-width:none}

.device{position:relative;border-radius:28px;overflow:hidden;isolation:isolate;container-type:inline-size;
  background:radial-gradient(90% 70% at 12% 18%,#ece6d8 0%,rgba(236,230,216,0) 60%),radial-gradient(70% 60% at 88% 30%,#e2e2e4 0%,rgba(226,226,228,0) 65%),linear-gradient(165deg,#d3d3d4 0%,#bcbcbe 48%,#a7a7aa 100%);
  box-shadow:0 30px 70px rgba(15,15,18,.28),inset 0 0 140px rgba(40,40,44,.22),inset 0 1px 0 rgba(255,255,255,.55)}
.device button{font-family:inherit;background:none;color:inherit;border:0;border-radius:0;padding:0;cursor:pointer}
.device label{display:inline;font-weight:400;margin:0}
.device .backdrop{position:absolute;inset:0;z-index:0;pointer-events:none}
.device .backdrop i{position:absolute;border-radius:50%;background:#fff6de;filter:blur(7px);opacity:.75;animation:zd-drift 26s ease-in-out infinite alternate}
.device .backdrop i:nth-child(1){width:17%;aspect-ratio:1;left:2%;top:4%}
.device .backdrop i:nth-child(2){width:12%;aspect-ratio:1;left:14%;top:2%;opacity:.55;animation-duration:31s}
.device .backdrop i:nth-child(3){width:14%;aspect-ratio:1;left:5%;top:22%;opacity:.9;background:#fffaf0;animation-duration:23s}
.device .backdrop i:nth-child(4){width:9%;aspect-ratio:1;left:24%;top:12%;opacity:.35;animation-duration:34s}
.device .backdrop i:nth-child(5){width:22%;aspect-ratio:1;left:-6%;top:48%;opacity:.25;filter:blur(22px)}
.device .backdrop i:nth-child(6){width:11%;aspect-ratio:1;left:80%;top:8%;opacity:.3;background:#fff;animation-duration:29s}
.device .backdrop b{position:absolute;background:#f1f1f2;filter:blur(26px);opacity:.55;border-radius:12px}
.device .backdrop b:nth-of-type(1){left:58%;top:12%;width:36%;height:16%}
.device .backdrop b:nth-of-type(2){left:64%;top:40%;width:30%;height:10%;opacity:.4}
.device .backdrop b:nth-of-type(3){left:2%;top:70%;width:28%;height:12%;opacity:.35}
@keyframes zd-drift{from{transform:translate(0,0)}to{transform:translate(3%,5%)}}
.device .grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1.9fr;min-height:420px}
.device .grid>*{min-width:0}
.device .stage{position:relative;min-height:280px}
.device .stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0}   /* без перехода: первый кадр модели = снимок под ним */
.device .stage.live3d canvas{opacity:1}
.device .stage.live3d .fallback{opacity:0}
.device .floor{position:absolute;left:50%;bottom:10%;width:44%;max-width:200px;aspect-ratio:5/1;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(20,20,24,.32),transparent);filter:blur(2px)}
/* снимок объёмного микрофона (static/mic_poster.webp) — там же и того же размера, что первый кадр модели. Размер повторяет камеру
   модели (mic_worker.js resize): сцена шире 6:5 — микрофон крупнее (×1,42); уже 0,62 — по ширине; иначе — по высоте (владелец 17.10) */
.device .micbox{position:absolute;inset:0;container:mic/size;pointer-events:none}
.device .fallback{position:absolute;left:50%;top:53.67%;height:48.42%;width:auto;transform:translate(-50%,-50%);transition:opacity .5s ease}
@supports (height:1cqh){.device .fallback{height:min(48.42cqh,78.1cqw);top:calc(50% + .0758 * min(48.42cqh,78.1cqw))}}
@container mic (aspect-ratio > 6/5){.device .fallback{height:68.76cqh;top:calc(50% + .0758 * 68.76cqh)}}
.device .led{position:absolute;left:18px;top:16px;display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#3B3B40}
.device .led i{width:10px;height:10px;border-radius:50%;background:#8E8E93;box-shadow:inset 0 0 2px rgba(0,0,0,.4)}
.device.rec .led i{background:var(--rec);box-shadow:0 0 10px var(--rec);animation:zd-blink 1.2s ease-in-out infinite}
@keyframes zd-blink{50%{opacity:.35}}
.device .ctl{padding:18px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.3));backdrop-filter:blur(6px);border-left:1px solid rgba(255,255,255,.5)}

/* экран */
.device .lcd{background:#FDFDFC;border-radius:12px;padding:10px 14px;display:grid;grid-template-columns:1fr auto;gap:6px 14px;align-items:center;font-variant-numeric:tabular-nums;box-shadow:inset 0 2px 8px rgba(0,0,0,.12),0 1px 0 rgba(255,255,255,.7);transition:box-shadow .4s ease}
.device .lcd .mode{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device .lcd .time{font-size:clamp(22px,7cqw,28px);font-weight:800;letter-spacing:.02em;line-height:1}
.device .lcd .meter{grid-column:1/-1;display:flex;gap:3px;height:18px;align-items:flex-end}
.device .lcd .meter i{flex:1;background:var(--ink);opacity:.15;border-radius:2px;height:20%;transition:height .12s,background .3s,opacity .3s}
.device .lcd .meter i.on{opacity:.8}
.device .lcd .lcdbal{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 0 8px;margin:-8px 0;color:var(--ink);text-decoration:none}   /* «Доступно» — ссылка в кабинет: зона нажатия 41 px, строка на месте (было 25; большой аудит 11.10, телефон) */
.device .lcd .lcdbal span{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.device .lcd .lcdbal b{font-size:15px;font-weight:800}
.device.rec .lcd{box-shadow:inset 0 2px 8px rgba(0,0,0,.12),0 0 0 1.5px var(--rec3)}
.device.rec .lcd .mode{color:var(--rec2)}
.device.rec .lcd .mode::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--rec);animation:zd-blink 1.2s ease-in-out infinite;flex:none}
.device.rec .lcd .meter i{background:var(--rec);opacity:.9}

/* клавиши прибора: нажатая утоплена, на ней горит огонёк своего цвета */
.device .keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.device .keys button{font:700 15px "Manrope",system-ui,sans-serif;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:8px;position:relative;padding:13px 8px;
  background:linear-gradient(180deg,#FFFFFF,#F1F1F2);border-radius:12px;box-shadow:0 3px 0 rgba(11,11,12,.16),0 8px 14px rgba(20,20,24,.10),inset 0 1px 0 #fff;transition:transform .14s ease,box-shadow .14s ease,background .2s}
.device .keys svg{width:18px;height:18px;flex:none}
.device .keys button[data-mode="link"] span{color:var(--link);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.device .keys button[data-mode="link"] svg{color:var(--link)}
.device .keys button[data-mode="rec"] .dot{width:10px;height:10px;border-radius:50%;background:var(--rec);flex:none}
.device .keys button::after{content:'';position:absolute;top:8px;right:10px;width:6px;height:6px;border-radius:50%;background:#C9C9CD;transition:background .25s,box-shadow .25s}
.device .keys button[aria-pressed="true"]{transform:translateY(3px);background:linear-gradient(180deg,#ECECEE,#F6F6F7);box-shadow:0 0 0 rgba(11,11,12,0),inset 0 2px 5px rgba(11,11,12,.20)}
.device .keys button[data-mode="file"][aria-pressed="true"]::after{background:#E6B94E;box-shadow:0 0 8px #E6B94E}
.device .keys button[data-mode="link"][aria-pressed="true"]::after{background:var(--link);box-shadow:0 0 8px var(--link)}
.device .keys button[data-mode="rec"][aria-pressed="true"]::after{background:var(--rec);box-shadow:0 0 8px var(--rec)}
.device .keys button[data-mode="meet"][aria-pressed="true"]::after{background:#4C9A6A;box-shadow:0 0 8px #4C9A6A}
.device button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.device[data-lock] .keys button,.device[data-lock] .more button,.device[data-lock] .small select{pointer-events:none;opacity:.55}

/* панели — одна ячейка, одна ось, одинаковая высота */
.device .panels{display:grid;grid-template-columns:minmax(0,1fr);flex:1;background:rgba(255,255,255,.62);border-radius:16px;box-shadow:inset 0 2px 10px rgba(20,20,24,.10),0 1px 0 rgba(255,255,255,.7);transition:background .2s,box-shadow .2s}
.device .panels.over{background:rgba(255,246,222,.9);box-shadow:inset 0 2px 10px rgba(20,20,24,.10),inset 0 0 0 2px var(--sun4)}
.device .panel{grid-area:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:18px 22px;min-height:262px;border-radius:16px;visibility:hidden;opacity:0;transform:translateY(4px);transition:opacity .28s ease,transform .28s ease,visibility 0s .28s}
.device .panel[data-on]{visibility:visible;opacity:1;transform:none;transition:opacity .28s ease,transform .28s ease}
.device .panel h3{margin:0;font-size:17px;font-weight:800;letter-spacing:-.01em;text-wrap:balance;max-width:100%;overflow-wrap:anywhere}
.device .panel p{margin:0;font-size:13px;line-height:1.5;color:var(--muted);max-width:46ch;text-wrap:balance}
.device .panel p.bad{color:var(--bad)}
.device .panel p.two{max-width:none;text-wrap:pretty}   /* два предложения — две строки (владелец 07.10) */
.device .panel p.two span{display:block}
.device .panel p.steps{display:grid;gap:6px;max-width:52ch;text-align:left;text-wrap:pretty}
.device .panel p.steps span{display:block}
.device .panel p.steps span:last-child{color:#45454A;font-size:12px}
.device .panel .brand{width:40px;height:40px;border-radius:10px;display:block}
.device .btn{font:800 15px/1 "Manrope",system-ui,sans-serif;background:var(--ink);color:var(--paper);border:0;border-radius:999px;padding:13px 22px;cursor:pointer;text-decoration:none;display:inline-block;transition:transform .12s ease,box-shadow .2s ease}
.device .btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(20,20,24,.18)}
.device .btn:active{transform:translateY(1px);box-shadow:none}
.device .btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px rgba(11,11,12,.35)}
.device .btn.sun{background:linear-gradient(180deg,#F8E6AE,var(--sun4));color:var(--sun-ink)}
.device .btn.blue{background:var(--link)}
.device .btn[disabled]{opacity:.45;pointer-events:none}
.device .soon{font:700 11px/1 "Manrope",system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);background:rgba(11,11,12,.07);border-radius:999px;padding:7px 12px}
.device .disklink2{font-size:13px;color:var(--muted);margin:10px 0 0}
.device .disklink2 a{color:var(--ink)}
.device .urlfield{display:flex;align-items:center;width:100%;max-width:520px;background:#fff;border-radius:999px;padding:5px 5px 5px 18px;box-shadow:inset 0 0 0 1px rgba(11,11,12,.14),0 2px 8px rgba(20,20,24,.06);transition:box-shadow .2s}
.device .urlfield:focus-within{box-shadow:inset 0 0 0 1.5px var(--link),0 2px 10px rgba(27,100,214,.15)}
.device .urlfield.dark:focus-within{box-shadow:inset 0 0 0 1.5px var(--ink),0 2px 10px rgba(20,20,24,.15)}
.device .urlfield input{flex:1;min-width:0;width:auto;border:0;outline:0;background:transparent;font:inherit;font-size:15px;color:var(--ink);padding:0;border-radius:0}
.device .urlfield .btn{padding:11px 18px;font-size:14px}
.device .touch{display:none}
@media (hover:none){.device .desk{display:none}.device .touch{display:inline}}
.device .drop{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.8);box-shadow:0 4px 12px rgba(20,20,24,.10)}
.device .drop svg{width:24px;height:24px;color:var(--sun-ink)}
.device .actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.device .state{display:none;flex-direction:column;align-items:center;gap:11px;width:100%}
.device .state.up-busy{gap:9px}
.device .state.up-busy h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device .state.up-busy .drop{width:44px;height:44px}
.device .upcancel{color:var(--muted);font-weight:500;font-size:13px;padding:12px 8px;margin:-8px 0 -12px}   /* «Отменить загрузку» — тихо, зона нажатия 40 px (владелец 17.10) */
.device .prog{width:min(320px,100%);height:6px;border-radius:99px;background:rgba(11,11,12,.10);overflow:hidden}
.device .prog i{display:block;height:100%;width:0;border-radius:99px;background:var(--ink);transition:width .5s ease}
.device .prog.wait i{width:35%;animation:zd-prog 1.6s ease-in-out infinite}
@keyframes zd-prog{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}

/* файл: три состояния */
.device:not([data-up]) .state.up-idle,.device[data-up="busy"] .state.up-busy,.device[data-up="fail"] .state.up-busy{display:flex}

/* запись: три состояния в одной колонке */
.device .recbtn{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;position:relative;
  background:radial-gradient(circle at 35% 30%,#FBB9A8,var(--rec) 55%,var(--rec2));box-shadow:0 8px 18px rgba(224,106,82,.35),inset 0 2px 4px rgba(255,255,255,.5),inset 0 -3px 6px rgba(0,0,0,.15);transition:transform .12s ease}
.device .recbtn:active{transform:scale(.96)}
.device .recbtn i{display:block;width:28px;height:28px;border-radius:50%;background:#fff;opacity:.95;transition:border-radius .25s ease,width .25s ease,height .25s ease}
.device.rec .recbtn i{border-radius:6px;width:24px;height:24px}
.device.rec .recbtn::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid var(--rec3);animation:zd-ring 1.8s ease-out infinite}
@keyframes zd-ring{from{transform:scale(.9);opacity:.9}to{transform:scale(1.25);opacity:0}}
.device:not(.rec):not(.saved) .state.rec-idle,.device.rec .state.rec-live,.device.saved .state.rec-done{display:flex}
.device .check{width:56px;height:56px;border-radius:50%;background:#E6F2EC;display:grid;place-items:center}
.device .check svg{width:28px;height:28px;color:var(--ok)}

/* «ещё» и нижняя строка */
/* владелец 07.10: четыре кнопки одного размера — Ссылка, Диск, MAX, Телемост */
.device .more{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;font-size:12.5px;color:var(--muted)}
.device .more button{font:700 13px "Manrope",system-ui,sans-serif;color:var(--ink);background:rgba(255,255,255,.75);border-radius:12px;padding:8px 6px;display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;box-shadow:0 1px 3px rgba(20,20,24,.12);transition:transform .12s ease,box-shadow .2s ease,background .2s}
.device .more button img,.device .more button svg{width:20px;height:20px;flex:none;border-radius:5px;display:block}
.device .more .short{display:none}
.device .panel[data-p="link"] .urlfield{max-width:560px}
.device .lchips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.device .lchips span{font:600 12px "Manrope",system-ui,sans-serif;color:#45454A;background:rgba(11,11,12,.05);border-radius:999px;padding:5px 10px}
.device .gate{display:flex;flex-direction:column;align-items:center;gap:6px;padding-top:10px;border-top:1px solid rgba(255,255,255,.55)}
.device .gate .urlfield{max-width:360px}
.device .gate p{margin:0;font-size:12px;color:var(--muted);text-align:center}
.device .gate p.bad{color:var(--bad)}
.device .gate.nudge .urlfield{animation:zd-nudge .5s ease;box-shadow:inset 0 0 0 1.5px var(--ink),0 2px 10px rgba(20,20,24,.15)}
@keyframes zd-nudge{20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
/* Диск (владелец 11.10, П3): список — во всю ширину, высота — то, что осталось в панели (не задаёт её сам: flex 1 1 0), прокрутка внутри;
   имя — строкой целиком, размер и дата — второй строкой мелко; значок и подсказка — пока список не загружен, поиск — после */
.device .disklist{list-style:none;margin:0;padding:0;align-self:stretch;flex:1 1 0;min-height:48px;overflow:auto;text-align:left;border:1px solid rgba(20,20,24,.08);border-radius:12px;background:rgba(255,255,255,.7)}
.device .disklist li{padding:7px 12px;border-bottom:1px solid rgba(20,20,24,.06);font-size:14px;line-height:1.3;cursor:pointer}
.device .disklist li:hover,.device .disklist li:focus{background:#fff;outline:none}.device .disklist li:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.device .disklist li span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.device .disklist li small{display:block;font-size:12px;color:var(--muted)}
.device #diskQ{width:100%;flex:none;font:inherit;padding:9px 12px;border:1px solid rgba(20,20,24,.12);border-radius:12px;background:#fff}
.device .diskbar{display:flex;align-items:center;gap:8px;width:100%;font-size:13px;color:var(--muted);min-height:28px}.device #diskPanel:not([data-loaded]) .diskbar{display:none}
.device .diskbar button{font:700 13px "Manrope",system-ui,sans-serif;background:#fff;color:var(--ink);border:1px solid rgba(20,20,24,.12);border-radius:10px;padding:4px 10px;min-height:28px;cursor:pointer}
.device #diskPath{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink);font-weight:600}
.device .disklist li.dir span::before{content:"▸ ";color:var(--muted)}
.device #diskMsg .dask{display:flex;justify-content:center;gap:8px;margin-top:6px}.device #diskMsg .btn{padding:10px 16px;font-size:14px;border-radius:12px;min-height:40px}   /* «Расшифровать» / «Отмена» под вопросом (владелец 16.10) */.device .disklist li.dir small{color:var(--muted)}
.device #diskPanel:not([data-loaded]) #diskQ,.device #diskPanel[data-loaded] .brand,.device #diskMsg:empty{display:none}
.device .more button[aria-pressed="true"]{background:#fff;box-shadow:inset 0 1px 3px rgba(20,20,24,.22);transform:translateY(1px)}
.device .small{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);flex-wrap:wrap;align-items:center}
.device .small select{width:auto;font:inherit;background:#fff;color:var(--ink);border:0;box-shadow:inset 0 0 0 1px rgba(11,11,12,.15);border-radius:8px;padding:5px 8px}
/* компьютер: свой список вместо системного — как на телефоне (владелец 05.10); device.js */
.device .small .zsel{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;font:600 12px "Manrope",system-ui,sans-serif;color:var(--ink);background:#fff;border:0;border-radius:8px;padding:6px 10px;box-shadow:inset 0 0 0 1px rgba(11,11,12,.15);cursor:pointer;outline:none;transition:box-shadow .15s}
.device .small .zsel:hover,.device .small .zsel[aria-expanded="true"]{box-shadow:inset 0 0 0 1px rgba(11,11,12,.32)}
.device .small .zsel:focus-visible{box-shadow:inset 0 0 0 1px rgba(11,11,12,.32);outline:2px solid var(--ink);outline-offset:2px}
.device .small .zsel svg{flex:none;color:var(--muted)}
.device[data-lock] .small .zsel{pointer-events:none;opacity:.55}
@media (prefers-reduced-motion:reduce){.zsel-menu{animation:none}}

.five{margin:18px auto 0;font-size:13.5px;max-width:960px;display:grid;gap:6px}
.fiverow{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center}
.five span::before{content:"✓ ";color:var(--ok);font-weight:800}
.tophone{display:flex;justify-content:center;margin-top:14px}
.tophone button{font:700 14px "Manrope",system-ui,sans-serif;background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:999px;padding:10px 18px;cursor:pointer;display:inline-flex;gap:8px;align-items:center}
dialog.sheet{border:0;border-radius:22px;padding:26px;max-width:min(420px,calc(100vw - 32px));box-shadow:0 30px 70px rgba(15,15,18,.35);text-align:center;color:var(--ink)}
dialog.sheet::backdrop{background:rgba(11,11,12,.45)}
dialog.sheet h2,dialog.sheet .sheettitle{margin:0 0 8px;font-size:20px;font-weight:800;color:var(--ink)}
dialog.sheet p{margin:0 0 14px;color:var(--muted);font-size:14px}
dialog.sheet ol{text-align:left;margin:0 0 16px;padding-left:22px;font-size:15px}
dialog.sheet img.qr{width:200px;height:200px;display:block;margin:0 auto 12px}
dialog.sheet .row{justify-content:center}
dialog.sheet .way{display:none}
dialog.sheet[data-way="phone"] .way.phone,dialog.sheet[data-way="desk"] .way.desk{display:block}

/* телефон: прибор целиком помещается в один экран (мерка — iPhone 11, видимая часть 414 × 712);
   всё по одной оси — микрофон, экран, клавиши, кнопка записи; нижние ряды — ровной сеткой */
@container (max-width:560px){
  .device .grid{grid-template-columns:minmax(0,1fr);min-height:0}
  .device .stage{min-height:104px}
  .device .floor{bottom:3%;width:34%}
  .device .led{display:none}                 /* состояние показывает экран прибора — второй подписи на телефоне не нужно */
  .device .ctl{border-left:0;border-top:1px solid rgba(255,255,255,.5);padding:10px;gap:8px;min-width:0}
  .device .lcd{padding:7px 12px;gap:4px 12px;border-radius:10px}
  .device .lcd .time{font-size:22px}
  .device .lcd .meter{height:12px}
  .device .keys{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .device .keys button{font-size:13.5px;padding:10px 4px;border-radius:10px}
  .device .keys button::after{top:6px;right:7px;width:5px;height:5px}
  .device .keys button{gap:6px}
  .device .keys svg{width:16px;height:16px}   /* значки и на телефоне (владелец 07.10) */
  .device .panel{min-height:206px;padding:10px 12px;gap:8px}
  .device .panel h3{font-size:16px}
  .device .panel p{font-size:12.5px;line-height:1.4}
  .device .panel .brand{width:34px;height:34px}
  .device .state{gap:8px}
  .device .recbtn{width:84px;height:84px}
  .device .recbtn i{width:24px;height:24px}
  .device.rec .recbtn i{width:22px;height:22px}
  .device .drop{width:40px;height:40px}
  .device .drop svg{width:20px;height:20px}
  .device .state.up-busy .drop{width:34px;height:34px}
  .device .btn{padding:11px 18px;font-size:14px;min-height:44px}   /* зона нажатия не меньше 44 px (аудит 8) */
  .device .check{width:32px;height:32px}
  .device .check svg{width:18px;height:18px}
  .device .actions{gap:8px}
  .device .actions .btn{padding:10px 14px;font-size:13.5px}
  .device .soon{padding:5px 10px;font-size:10px}
  .device .urlfield{padding:4px 4px 4px 14px}
  .device .urlfield .btn{padding:10px 16px}
  .device .panel[data-p="link"] .urlfield{flex-wrap:wrap;gap:6px;border-radius:20px;padding:6px}
  .device .panel[data-p="link"] .urlfield input{flex:1 1 100%;padding:8px 10px}
  .device .panel[data-p="link"] .urlfield .btn{flex:1 1 100%}
  .device .more{gap:6px}
  .device .more button{flex-direction:column;gap:4px;padding:8px 2px;border-radius:10px;font-size:12px}   /* на телефоне значок над подписью — четыре кнопки поровну */
  .device .more button img,.device .more button svg{width:22px;height:22px}
  .device .more button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .device .more .full{display:none}
  .device .more .short{display:inline}
  .device .small{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .device .small label{display:flex;align-items:center;gap:6px;min-width:0;background:rgba(255,255,255,.75);border-radius:10px;padding:0 0 0 10px;box-shadow:0 1px 3px rgba(20,20,24,.12)}
  .device .small select{flex:1;min-width:0;width:0;padding:8px 4px;background:transparent;box-shadow:none;font-weight:700}
  .device .gate{padding-top:8px;gap:4px}
  /* iPhone приближает страницу, когда палец попадает в поле со шрифтом мельче 16 px, — страница «уезжает» вбок */
  .device .urlfield input,.device .small select{font-size:16px}
  .device .small label{font-size:12.5px;gap:0;padding-left:10px;overflow:hidden}
  .device .small select{padding:9px 0 9px 6px;font-weight:700;transform:scale(.8);transform-origin:left center;flex:0 0 auto;width:calc((100% - 74px)*1.25);margin-right:calc((100% - 74px)*-.25)}
  .device .small .lbl{flex:0 0 64px}   /* подписи одной ширины — значения и стрелки строго друг под другом (владелец 05.10) */
  .device .gate p:not(.bad):not(.ask){display:none}   /* про тестовый режим сказано под прибором */
}
/* узкие телефоны (iPhone SE, mini — 375): подписи у списков прячем, в «Ещё» — мельче */
@container (max-width:380px){
  .device .small .lbl{display:none}
  .device .small label{padding-left:4px}
  .device .more button{font-size:12px}
}
@media (max-width:560px){
  main{padding-block:12px 40px}   /* шапка 54 px и логотип 28 — в base.html для всех страниц (П7) */
  main h1{font-size:min(24px,5.2vw);text-align:center;margin:0 0 10px;text-wrap:balance}
  main .lead{font-size:14px;margin:0 0 10px;text-align:center}
  .device{border-radius:22px;box-shadow:0 18px 40px rgba(15,15,18,.24),inset 0 0 100px rgba(40,40,44,.18),inset 0 1px 0 rgba(255,255,255,.55)}
  .five{margin-top:14px;gap:4px 14px;font-size:13px}
  main .five.freetop{margin:-4px 0 12px}main .five.freetop .fiverow{justify-content:center;gap:2px 14px}   /* телефон: по центру, как заголовок, плотно — «Выбрать файл» остаётся на первом экране */
}
/* аудит волна 2, А-1: на телефоне скрытая «Ссылка» задавала высоту всем панелям (284 px против 206–217): ряд значков повторяет
   описание — на узком экране его нет. Панели по-прежнему в одной ячейке: прибор не прыгает по высоте при смене вкладки */
@media (max-width:480px){.device .panel[data-p="link"] .lchips{display:none}}
/* владелец 10.10: у вошедшего на 375×812 «Язык» уходил ниже края — строку скрыли; 12.10 «Язык» вернулся рядом с «Говорят»
   (правило — ниже, после @container). Значок Телемоста в «Встрече» — на месте */
/* владелец 11.10, П2: у вошедшего прибор был выше экрана (375×812 — на 9 px, 360×780 — «Говорят» за краем); на телефоне ниже 820 px
   сцена с микрофоном 104 → 64 px — помещается весь прибор */
@media (max-width:560px) and (max-height:820px){.device .stage{min-height:64px}}
/* владелец 11.10, П4: поле кода приглашения — сразу под экраном прибора: без кода не работает ни одна кнопка, а последним рядом
   оно уходило за край экрана и под плашку cookie */
.device .ctl>.lcd{order:-2}
.device .ctl>.gate{order:-1;padding:0 0 8px;border-top:0;border-bottom:1px solid rgba(255,255,255,.55)}
/* владелец 11.10, П8: ошибка микрофона не растит панель — кнопка записи меньше (она нужна: «нажмите ещё раз»), текст — в прежней высоте */
.device[data-micerr] .rec-idle .recbtn{width:56px;height:56px}
.device[data-micerr] .rec-idle .recbtn i{width:18px;height:18px}
/* аудит волна 2, А-4: «Запланировать встречу · мои встречи» — зона нажатия 40 px за счёт отступов, вёрстка панели та же (поля съедают отступы) */
.device .panel p a{display:inline-block;padding:12px 4px;margin:-12px -4px}
/* большой аудит 11.10, телефон: на планшете (касание, прибор шире 560) поле ссылки и кода было 15 px — iPhone и iPad приближают страницу */
@media (hover:none){.device .urlfield input{font-size:16px}}
@media (prefers-reduced-motion:reduce){.device .backdrop i,.device .prog.wait i,.device.rec .recbtn::after{animation:none}.device .panel,.device .keys button{transition:none}}
.device [hidden]{display:none!important}

/* аудит 29.09, шаг 5: скрытое не показывается никаким оформлением («Продолжить» было видно всю загрузку);
   мелкий текст на сером приборе — не ниже 4,5 : 1; нажимаемое — не меньше 44 px; на узком телефоне подписи списков видны */
.device [hidden]{display:none!important}
.device .small,.device .more,.device .soon,.device .gate p,.device .panel p{color:#45454A}
.device .panel p.bad,.device .gate p.bad{color:var(--bad)}
.device .keys button,.device .more button,.device .urlfield .btn{min-height:44px}
.five span.no::before{content:"— ";color:var(--muted)}
.five.freetop{margin:-6px 0 18px;max-width:none}             /* «бесплатно» и цена над прибором (аудит 17.10, А-3): на компьютере — по краю, как заголовок */
.five.freetop .fiverow{justify-content:flex-start}
.again{text-align:center;margin:30px 0 6px}                /* кнопка к прибору в конце посадочной (А-8) */
/* аудит 17.10, Ж-2: невысокий экран (iPhone SE 375×667, ноутбук 1366×657) — «Выбрать файл» над плашкой cookie: поджаты отступы над прибором
   и сцена с микрофоном; тексты те же */
@media (max-width:560px) and (max-height:700px){
  .device .stage{min-height:40px}
  main .five.freetop{margin:-6px 0 8px}main .five.freetop .fiverow{line-height:1.35}
  main h1{margin-bottom:6px}main .lead{margin-bottom:6px}}
@media (min-width:561px) and (max-height:720px){
  main{padding-top:20px}
  main .lead{margin-bottom:12px}
  main .five.freetop{margin-bottom:10px}
  .device .ctl{padding:12px 18px;gap:10px}}
@container (max-width:380px){
  .device .small{grid-template-columns:minmax(0,1fr)}
  .device .small .lbl{display:inline}
  .device .small label{padding-left:10px}
}
/* владелец 12.10: «Язык» на телефоне вернулся (по умолчанию — русский) — рядом с «Говорят», в одну строку, прибор не выше прежнего (у вошедшего на 360×780
   он уже вровень с краем). Владелец 12.10, снимки iPhone: подпись и значение — на одной линии, при нажатии поле не обрезается.
   Поэтому на телефоне видны подпись, значение (.sval, его пишет device.js) и своя стрелка, а системный список — прозрачный,
   поверх всей ячейки: нажатие открывает его как раньше, шрифт в нём 16 px — iPhone не приближает страницу */
.device .small .sval,.device .small .schev{display:none}
@media (max-width:480px){
  .device .small{grid-template-columns:repeat(2,minmax(0,1fr))}   /* поровну: «определить» и «французский» — от 360 px */
  .device .small .langrow,.device .small label{display:flex;align-items:center;gap:3px;position:relative;min-width:0;height:42px;
    box-sizing:border-box;padding:0 20px 0 9px;font-size:12px;line-height:1;overflow:visible}
  .device .small .lbl{display:inline;flex:none;margin:0}
  .device .small .sval{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:12.5px;color:var(--ink)}
  .device .small .schev{display:block;position:absolute;right:7px;top:50%;margin-top:-5px;color:var(--muted)}
  .device .small select{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;transform:none;font-size:16px;cursor:pointer}
  .device .small label:focus-within{outline:2px solid var(--ink);outline-offset:2px}
  .device[data-lock] .small label{opacity:.55}
  .device[data-lock] .small select{opacity:0}   /* на телефоне список — невидимый слой поверх подписи; общее «приглушить при загрузке» (.55) делало его видимым — текст двоился (владелец 17.10) */
}
@container (max-width:380px){
  .device .small{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .device .small .langrow,.device .small label{padding-left:6px;padding-right:15px;gap:2px}
  .device .small .sval{font-size:12px}
  .device .small .schev{right:4px}
}

/* пример результата на посадочных (владелец 05.10) */
.example{margin:40px 0 0}
.example h2{font-size:20px;font-weight:800;margin:0 0 14px}
.exgrid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:24px;align-items:start;background:#fff;border-radius:22px;padding:20px;box-shadow:0 10px 30px rgba(11,11,12,.08)}
.exmedia video,.exmedia audio{width:100%;border-radius:14px;background:#0B0B0C}
.exmedia audio{background:transparent}
.exhead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.exhead h2{margin:0}
.expill{font:700 12px "Manrope",system-ui,sans-serif;color:#1E5F3F;background:#E6F2EC;border-radius:999px;padding:5px 10px}
.exdl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0}
.exdl .btn{text-align:center}
.exabout{margin:12px 0 0;font-size:13px;color:#45454A}
.exabout summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:700;list-style:none}
.exabout summary::-webkit-details-marker{display:none}
.exabout p{margin:8px 0 0;line-height:1.45}
.exabout a{color:inherit}
.extabs{display:inline-flex;gap:4px;padding:4px;margin:0 0 14px;border:1px solid var(--hair);border-radius:999px}
.extabs button{font:700 14px "Manrope",system-ui,sans-serif;padding:8px 14px;border-radius:999px;border:0;background:transparent;color:var(--muted);cursor:pointer;min-height:0}
.extabs button[aria-selected="true"]{background:var(--ink);color:var(--paper)}
.extext.tabbed .expane h3{display:none}
.extext.tabbed .exsum,.extext.tabbed .exlines,.extext.tabbed .exsrt{max-height:420px}
.exdl .btn{padding:10px 6px;font-size:13.5px}
.extext h3{font-size:15px;font-weight:800;margin:0 0 8px}
.extext h3+*{margin-bottom:18px}
.exsum{font-size:14px;line-height:1.5;max-height:340px;overflow:auto}
.exsum h3{font-size:14px;margin:12px 0 4px}
.exsum ul{margin:0;padding-left:18px}
.exlines{font-size:14px;line-height:1.5;max-height:260px;overflow:auto}
.exlines p{margin:0 0 8px}
.exsrt{max-height:300px;overflow:auto;font:13px/1.5 ui-monospace,Consolas,monospace;background:#F6F6F7;border-radius:12px;padding:12px;white-space:pre-wrap;margin:0 0 18px}
@media (max-width:760px){.exgrid{grid-template-columns:minmax(0,1fr);padding:14px;gap:16px}}
@media (max-width:640px){.exdl .btn{min-height:40px;display:flex;align-items:center;justify-content:center}.extabs button{min-height:40px}}   /* кнопки примера на телефоне — 40 px (были 36 и 35; большой аудит 11.10) */

/* посадочные страницы (В2, 02.10): текст под инструментом */
.landing { margin: 44px 0 0; padding: 0 2px; }   /* по ширине прибора и от его левого края (владелец 05.10) */
.landing h2 { font-size: 20px; font-weight: 800; margin: 26px 0 8px; }
.landing p { margin: 0 0 10px; color: var(--ink); }
/* «Как это работает?» на главной: клавиши-миниатюры прибора перед способами — те же значки и вид, что на приборе (владелец 14.10) */
.landing .hk{display:inline-flex;align-items:center;gap:6px;vertical-align:-3px;font:700 14px "Manrope",system-ui,sans-serif;color:var(--ink);box-sizing:border-box;width:118px;height:28px;line-height:1;justify-content:center;padding:0 8px;margin-right:4px;background:linear-gradient(180deg,#FFFFFF,#F1F1F2);border-radius:9px;box-shadow:0 2px 0 rgba(11,11,12,.16),0 4px 10px rgba(20,20,24,.08),inset 0 1px 0 #fff;white-space:nowrap}
.landing .hk b{font-weight:700}
.landing .hk svg,.landing .hk img{width:16px;height:16px;flex:none;border-radius:4px;display:block}
.landing .hk .dot{width:9px;height:9px;border-radius:50%;background:var(--rec);flex:none;margin:0 2px}
.landing .hk-link,.landing .hk-link svg{color:var(--link)}
.landing .hk-link b{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
/* клавиша не раздвигает свою строку (отрицательные поля: в высоту строки идёт 20 из 28 px) — строки внутри способа через равный шаг;
   между способами — одинаковый зазор (владелец 14.10) */
.landing .hk{margin-block:-4px;vertical-align:middle}   /* по центру строки: у «Записать» первая деталь — точка без текста, по базовой линии она садилась ниже */
.landing p:has(>.hk:first-child){margin-bottom:16px}
/* компьютер (владелец 14.10, В1): клавиша — своей колонкой слева, текст — ровным блоком; тире висит слева от блока: вторая строка
   начинается под текстом, не под тире (text-indent вытягивает первую строку в зазор на ширину «— ») */
@media (min-width:561px){
.landing p:has(>.hk:first-child){display:grid;grid-template-columns:118px 1fr;column-gap:calc(14px + 1.3em - 5px);align-items:baseline;margin-left:14px;text-indent:calc(-1.3em + 5px)}   /* замер 14.10: «— » = 1,3em − 5px */
.landing p:has(>.hk:first-child) .hk{margin:-2px 0 0;align-self:start;text-indent:0}
}
.landing details { border-top: 1px solid var(--hair); padding: 10px 0; }
.landing summary { cursor: pointer; font-weight: 700; }
.landing details p { margin: 8px 0 0; color: var(--muted); }
.landing .more { margin: 28px 0 0; font-size: 14px; color: var(--muted); line-height: 1.9; }
.landing .more a { color: var(--ink); }
/* блоки посадочных — раскрывающиеся, как вопросы (владелец 05.10) */
.landing details.blk { padding: 10px 0; }   /* как вопросы: один список — один вид строк (владелец 05.10) */
.landing details.blk > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.landing details.blk > summary::-webkit-details-marker { display: none; }
.landing details.blk > summary h2 { margin: 0; font-size: inherit; font-weight: 700; }
/* вопросы — тем же видом, что и блоки: строка и «+» справа */
.landing details > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; margin: -10px 0; }   /* зона нажатия — вся строка с отступами (45 px, было 25), вид тот же (большой аудит 11.10, телефон) */
.landing details > summary::-webkit-details-marker { display: none; }
.landing details > summary::after { content: '+'; flex: none; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); }
.landing details[open] > summary::after { content: '−'; }
.landing details.blk > p { margin: 8px 0 0; color: var(--muted); }
.landing details.others nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }   /* «Ещё возможности» — последняя строка «Вопросов», вид строки — как у вопроса (владелец 13.10) */
.landing details.others nav a { font-size: 13.5px; color: var(--ink); text-decoration: none; border: 1px solid var(--hair); border-radius: 999px; padding: 10px 14px; line-height: 1.4; }   /* 40 px (аудит 16.10, Б-11) */
.landing details.others nav a:hover { border-color: var(--ink); }

/* «На телефон» в браузере без окон — подсказка блоком на странице */
dialog.sheet.inline { position: static; display: block; margin: 16px auto; }

/* окно «Звукотекст на телефоне» на телефоне: главная кнопка — золотая (владелец 08.10); одна жёлтая на экран:
   есть «Установить» — золотая она, иначе (iPhone) — «Закрыть» */
dialog.sheet[data-way="phone"] .way.phone button[data-install],
dialog.sheet[data-way="phone"]:not(:has(.way.phone p[data-install]:not([hidden]))) [data-close] { background: linear-gradient(180deg, #F8E6AE, #E6C66E); color: #4E3C0C; border: 0; }

/* «Пример результата» — строкой в «Вопросах» (владелец 08.10) */
.landing details.exfold > summary { font-weight: 700; }
.landing details.exfold > summary .expill { margin-left: 8px; vertical-align: middle; }
.landing details.exfold .example { margin: 10px 0 6px; }
.landing details.exfold details.exabout { border-top: 0; padding: 0; }                 /* вложенное «О записи» — как было, не строка списка */
.landing details.exfold details.exabout > summary { display: inline-flex; }
.landing details.exfold details.exabout > summary::after { content: none; }
.landing details.exfold .exlines p, .landing details.exfold .exsum p { color: var(--ink); margin: 0 0 8px; }
.landing details.exfold .exabout p { color: #45454A; }
