/* Личный кабинет (макет «Личный кабинет»): вход, регистрация, восстановление пароля, заказы, гарантия, личные данные. Кнопки и чипы — общие (site.css) */
.ac-pg{padding-bottom:72px;font-size:15px;line-height:1.55;color:var(--ink)}
.ac-pg .ac-head{padding-top:18px;display:flex;flex-direction:column;gap:12px}
.ac-pg [hidden]{display:none}
.ac-pg .au-s{display:flex;flex-direction:column;gap:16px}
.ac-pg .au-msg{margin:0;padding:12px 14px;background:#fdecea;color:#8a1c12;font-size:14px}
.ac-pg .au-msg.ok{background:#e8f3ec;color:#1d5b34}
/* «Аккаунт уже есть»: кнопки «Войти» и «Восстановить пароль» под текстом */
.ac-pg .au-msg-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ac-pg .au-msg-b{all:unset;box-sizing:border-box;cursor:pointer;min-height:36px;padding:0 14px;border:1px solid var(--navy);border-radius:4px;display:inline-flex;align-items:center;font-size:14px;font-weight:600;color:var(--navy);background:#fff}
.ac-pg .au-msg-b:first-child{background:var(--navy);color:#fff}
.ac-pg .au-msg-b:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ac-pg .au-cap-r{display:flex;gap:10px;align-items:center}.ac-pg .au-cap-r img{height:48px}
.ac-pg .cb-nav a{box-sizing:border-box;min-height:44px;padding:8px 12px;border-radius:4px;display:flex;align-items:center;font-size:14.5px;color:var(--ink);text-decoration:none}
.ac-pg .cb-nav a:hover{background:var(--soft);color:var(--navy)}
/* «Выйти» — со значком «дверь со стрелкой» */
.ac-pg .cb-nav a.cb-out{gap:10px}
.ac-pg .cb-nav a.cb-out .ic-out{flex:none;width:18px;height:18px;color:var(--navy)}
/* на телефоне в переключателе значок не помещается — только слово «Выйти», чтобы три раздела остались в одной строке */
@media (max-width:479px){.ac-pg .cb-nav a.cb-out{gap:4px}.ac-pg .cb-nav a.cb-out .ic-out{width:15px;height:15px}}
.ac-pg .rq-o input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.ac-pg .rq-o{position:relative}
.ac-pg .rq-o:has(input:focus-visible){outline:2px solid var(--navy);outline-offset:2px}
.ac-pg .cb-empty{padding:40px 24px;border:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ac-pg .cb-empty b{font-size:20px;color:var(--navy)}.ac-pg .cb-empty p{margin:0;color:var(--muted)}
.ac-pg .ot-more{margin-top:16px}
.ac-pg .rq-chips .wx-pill{height:36px}
.ac-pg .au{margin-top:32px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:stretch;max-width:1080px}
.ac-pg .au-f{display:flex;flex-direction:column;gap:16px;min-width:0}
.ac-pg .wx-seg{display:grid}
.ac-pg .wx-seg button{height:40px;padding:0 14px;font-size:14.5px}
.ac-pg .ac-sys{margin-top:20px}
.ac-pg .ff{display:flex;flex-direction:column;gap:6px;min-width:0}
.ac-pg .ff label{font-size:13px;font-weight:600}
.ac-pg .ff input{box-sizing:border-box;width:100%;height:48px;border:1px solid var(--line);border-radius:4px;padding:0 14px;font:inherit;font-size:15px;color:var(--ink)}
.ac-pg .ff input:focus{outline:2px solid var(--navy);outline-offset:-1px;border-color:var(--navy)}
.ac-pg .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ac-pg .au-lk{all:unset;cursor:pointer;align-self:flex-start;min-height:32px;font-size:14px;font-weight:600;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.ac-pg .au-lk:focus-visible{outline:2px solid var(--navy)}
/* «Запомнить меня» и «Забыли пароль?» — одной строкой; не помещаются — друг под другом */
.ac-pg .au-row{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
.ac-pg .au-row .au-lk{align-self:center}
.ac-pg .au-rem{min-height:32px;font-size:14px;color:var(--ink)}
.ac-pg .au-f .wx-btn{width:100%;height:48px}
.ac-pg .au-n{margin:0;font-size:13.5px;color:var(--muted)}
/* вход по телефону: шаги и поле кода */
.ac-pg .au-lm{display:flex;flex-direction:column;gap:16px}
.ac-pg .au-lm[hidden]{display:none}
.ac-pg .au-code-h{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:15px;color:var(--ink)}
.ac-pg .au-code-h .au-lk{align-self:center}
.ac-pg .au-code{font-size:22px;letter-spacing:.5em;text-align:center;font-weight:600}
.ac-pg .au-lk-in{min-height:0;font-size:13.5px;display:inline}
.ac-pg .agr{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.ac-pg .agr a{color:var(--navy);text-decoration:underline}
.ac-pg .au-ok{padding:16px 18px;border-radius:0;background:#e8f3ec;color:#1d5b34;font-size:14.5px;line-height:1.5}
.ac-pg .au-kf{background:var(--navy);color:#fff;padding:32px;display:flex;flex-direction:column;gap:16px}
.ac-pg .au-kf h2{margin:0;font-size:20px}
.ac-pg .au-kf ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.ac-pg .au-kf li{position:relative;padding-left:20px;font-size:15px;line-height:1.5;color:rgba(255,255,255,.9)}
.ac-pg .au-kf li::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;background:#fff}
.ac-pg .au-kf p{margin:auto 0 0;font-size:14px;color:rgba(255,255,255,.75)}
.ac-pg .au-kf p a{color:#fff;font-weight:700}
.ac-pg .cb{margin-top:32px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.ac-pg .cb-nav{border:1px solid var(--line);border-radius:4px;padding:10px;display:flex;flex-direction:column;gap:2px}
.ac-pg .cb-nav button{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;padding:8px 12px;border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14.5px;color:var(--ink)}
.ac-pg .cb-nav button:hover{background:var(--soft);color:var(--navy)}
.ac-pg .cb-nav button.on{background:var(--navy);color:#fff;font-weight:600}
.ac-pg .cb-nav button small{font-size:12.5px;opacity:.8}
.ac-pg .cb-nav hr{border:0;border-top:1px solid var(--line);margin:6px 0}
.ac-pg .cb-main{min-width:0}
.ac-pg .cb-h{margin:0 0 16px;font-size:22px;color:var(--navy)}
.ac-pg .tw{overflow-x:auto}
.ac-pg .ot{width:100%;border-collapse:collapse;font-size:14.5px;min-width:860px}
.ac-pg .cb-hr{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.ac-pg .cb-hr .cb-h{margin:0}
.ac-pg .ot-xls{height:40px;padding:0 16px;font-size:14px}
.ac-pg .ot td.dl{min-width:200px;max-width:320px}
.ac-pg .ot td.dl small{line-height:1.4}
.ac-pg .ot th{background:var(--navy);color:#fff;font-size:13px;font-weight:600;text-align:left;padding:12px 16px;white-space:nowrap}
.ac-pg .ot td{padding:16px;border-bottom:1px solid var(--line);vertical-align:middle;transition:background-color .15s}
/* строка заказа: подсветка при наведении; открытый заказ — светлый фон вместе с составом */
@media (hover:hover){.ac-pg .ot tbody:hover > tr:first-child td{background:#f8fafc}}
.ac-pg .ot tbody.is-open > tr:first-child td{background:#f3f6fa;border-bottom-color:transparent}
.ac-pg .ot td.sum{font-size:16px;font-weight:700;white-space:nowrap;text-align:right;color:var(--ink)}
.ac-pg .ot th:last-child{text-align:right}
.ac-pg .ot .no{font-size:15px;font-weight:700;color:var(--navy);white-space:nowrap}
/* статус — плашка с точкой */
.ac-pg .ot .stt{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px;border-radius:999px;background:#eaf0f8;font-size:13px;font-weight:600;color:var(--navy);white-space:nowrap}
.ac-pg .ot .stt::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--yel,#e8e346);box-shadow:0 0 0 2px #fff}
.ac-pg .ot .stt.done{background:var(--soft);color:var(--muted);font-weight:500}
.ac-pg .ot .stt.done::before{background:#9aa6b4}
.ac-pg .ot td.st small{margin-top:6px}
.ac-pg .ot tr.det td{background:#f3f6fa;padding:4px 16px 18px}
.ac-pg .ot .oi{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ac-pg .ot .oi{background:#fff;border:1px solid var(--line);padding:0 16px}
.ac-pg .ot .oi li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.ac-pg .ot .oi li:last-child{border-bottom:0}
.ac-pg .ot .oi li em{font-style:normal;font-weight:600;white-space:nowrap}
.ac-pg .ot .oi-f{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:10px;font-size:13.5px;color:var(--muted)}
.ac-pg .tg{all:unset;cursor:pointer;font-size:13.5px;font-weight:600;color:var(--navy);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.ac-pg .pd{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:720px}
.ac-pg .pd .full{grid-column:1/-1}
.ac-pg .pd .wx-btn{justify-self:start}
@media (max-width:991px){.ac-pg .au{grid-template-columns:1fr;gap:24px}
.ac-pg .cb{grid-template-columns:minmax(0,1fr);gap:20px}
.ac-pg .cb-nav{flex-direction:row;flex-wrap:nowrap;border:0;padding:4px;gap:4px;border-radius:999px;background:var(--soft)}
.ac-pg .cb-nav hr{display:none}
/* планшет и телефон: все три раздела в одном переключателе; не поместятся — общее правило сайта сначала уменьшит шрифт, потом сделает таблетки */
.ac-pg .cb-nav > :is(button,a){flex:1 1 auto;min-height:40px;padding:0 14px;border:0;border-radius:999px;justify-content:center;gap:6px;font-size:14px;font-weight:600;color:var(--navy);white-space:nowrap}
.ac-pg .cb-nav > :is(button,a):hover{background:#fff;color:var(--navy)}
.ac-pg .cb-nav button.on,.ac-pg .cb-nav button.on:hover{background:var(--navy);color:#fff}}
@media (max-width:767px){.ac-pg .row2,.ac-pg .pd{grid-template-columns:1fr}
.ac-pg .au-kf{padding:22px 16px;margin:0 -16px}
.ac-pg .pd .wx-btn{width:100%}
.ac-pg .ot{min-width:0}
.ac-pg .ot,.ac-pg .ot tbody{display:block}
.ac-pg .ot thead{display:none}
.ac-pg .ot tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px 0;border-bottom:1px solid var(--line)}
.ac-pg .ot td{padding:0;border:0}
.ac-pg .ot td.no{grid-column:1;grid-row:1}
.ac-pg .ot td.st{grid-column:1;grid-row:2}
.ac-pg .ot td.dl{grid-column:1 / -1;grid-row:3;margin-top:6px;font-size:14px}
.ac-pg .ot td.pay{grid-column:1 / -1;grid-row:4;font-size:13px;color:var(--muted)}
.ac-pg .ot td.sum{grid-column:2;grid-row:1}
.ac-pg .ot td.acts-c{grid-column:1 / -1;grid-row:5;margin-top:10px;width:auto}
.ac-pg .ot tbody:hover > tr:first-child td,.ac-pg .ot tbody.is-open > tr:first-child td{background:none}
.ac-pg .ot td.st small{margin-top:4px}
.ac-pg .ot-xls{width:100%}
.ac-pg .ot td.dl{min-width:0;max-width:none}
.ac-pg .ot tr.det{display:block;padding:0 0 14px}
.ac-pg .ot tr.det td{display:block;padding:0;background:none}
.ac-pg .ot .oi{padding:0 12px}}
.ot td small{display:block;margin-top:2px;font-size:12.5px;font-weight:400;color:var(--muted)}
.ac-pg .oi li a{color:var(--navy)}
.ac-pg .oi li a:hover{text-decoration:underline;text-underline-offset:3px}
.ac-pg .pd input:disabled{background:var(--soft);color:var(--muted);cursor:not-allowed}
.ac-pg .ff-note{margin:4px 0 0;font-size:13px;color:var(--muted)}
.ac-pg .acts-c{white-space:nowrap;width:1%}
.ac-pg .acts-c .tg + .tg{margin-left:14px}
/* действия заказа: «Состав заказа» и скачать этот заказ в Excel */
.ac-pg .ot-act{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.ac-pg .ot-act .tg,.ac-pg .ot-dl{all:unset;box-sizing:border-box;cursor:pointer;height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);font-size:13.5px;font-weight:600;white-space:nowrap;transition:border-color .15s,background-color .15s,color .15s}
.ac-pg .ot-act .tg{min-width:148px;justify-content:space-between;padding:0 12px 0 14px}
.ac-pg .ot-act .tg svg{transition:transform .2s}
.ac-pg .ot-act .tg[aria-expanded="true"] svg{transform:rotate(180deg)}
.ac-pg .ot-dl{width:38px;flex:none}
@media (hover:hover){.ac-pg .ot-act .tg:hover,.ac-pg .ot-dl:hover{border-color:var(--navy);background:var(--navy);color:#fff}}
.ac-pg .ot-act .tg:focus-visible,.ac-pg .ot-dl:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ac-pg .rq{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
.ac-pg .rq-form{display:flex;flex-direction:column;gap:12px;min-width:0}
.ac-pg .rq-step{display:flex;align-items:center;gap:10px;margin-top:10px}
.ac-pg .rq-step:first-child{margin-top:0}
.ac-pg .rq-n{flex:none;width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ac-pg .rq-step b{font-size:16px;color:var(--ink)}
.ac-pg .rq-orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.ac-pg .rq-o{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid transparent;box-shadow:0 1px 2px rgba(14,33,66,.05),0 4px 16px rgba(14,33,66,.07);border-radius:0;background:#fff;transition:box-shadow .2s}
.ac-pg .rq-o:hover{box-shadow:0 2px 4px rgba(14,33,66,.06),0 10px 26px rgba(14,33,66,.11)}
.ac-pg .rq-o:has(input:checked){border-color:transparent;background:#fff;box-shadow:inset 4px 0 0 var(--yel),0 2px 4px rgba(14,33,66,.06),0 10px 26px rgba(14,33,66,.11)}
.ac-pg .rq-o:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ac-pg .rq-o .rd{flex:none;position:relative;width:18px;height:18px;margin-top:1px;border:2px solid #c3cad3;border-radius:50%;box-sizing:border-box}
.ac-pg .rq-o:has(input:checked) .rd{border-color:var(--navy)}
.ac-pg .rq-o:has(input:checked) .rd::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--navy)}
.ac-pg .rq-o-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ac-pg .rq-o-t b{font-size:14.5px;color:var(--ink)}
.ac-pg .rq-o-t b small{font-weight:400;color:var(--muted)}
.ac-pg .rq-o-t span{font-size:13px;color:var(--muted)}
.ac-pg .rq-items{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:0}
.ac-pg .rq-it{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);cursor:pointer;font-size:14.5px}
.ac-pg .rq-it:last-child{border-bottom:0}
.ac-pg .rq-it input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--navy)}
.ac-pg .rq-it-n{flex:1;min-width:0;color:var(--ink)}
.ac-pg .rq-it-q{flex:none;font-size:13px;color:var(--muted)}
.ac-pg .rq-g{display:flex;flex-direction:column;gap:14px}
.ac-pg .rq-g textarea{box-sizing:border-box;width:100%;border:1px solid var(--line);border-radius:4px;padding:12px 14px;font:inherit;font-size:15px;color:var(--ink);resize:vertical}
.ac-pg .rq-g textarea:focus{outline:2px solid var(--navy);outline-offset:-1px;border-color:var(--navy)}
.ac-pg .rq-g label i,.ac-pg .ff label i{font-style:normal;color:#b42318}
.ac-pg .ff-l{font-size:14px;font-weight:600;color:var(--ink)}
.ac-pg .rq-chips{display:flex;flex-wrap:wrap;gap:6px}
.ac-pg .rq-up{position:relative;display:flex;align-items:center;gap:12px;padding:14px;border:1px dashed #c3cad3;border-radius:4px;cursor:pointer;color:var(--navy)}
.ac-pg .rq-up:hover{border-color:var(--navy);background:var(--soft)}
.ac-pg .rq-up input{position:absolute;inset:0;opacity:0;cursor:pointer}
.ac-pg .rq-up span{display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--muted)}
.ac-pg .rq-up b{font-size:14.5px;color:var(--navy)}
.ac-pg .rq-send{align-self:flex-start}
.ac-pg .rq-info{position:sticky;top:90px;padding:20px;border-radius:0;background:var(--soft);display:flex;flex-direction:column;gap:12px;font-size:14px}
.ac-pg .rq-info-h{font-size:16px;color:var(--navy)}
.ac-pg .rq-info p{margin:0;color:var(--ink);line-height:1.55}
.ac-pg .rq-info ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.ac-pg .rq-info li{padding-left:16px;position:relative;color:var(--muted);line-height:1.45}
.ac-pg .rq-info li::before{content:"";position:absolute;left:2px;top:.55em;width:6px;height:6px;border-radius:0;background:var(--yel)}
.ac-pg .rq-info li b{color:var(--ink)}
.ac-pg .rq-ok b{display:block;margin-bottom:4px}
@media (max-width:991px){.ac-pg .rq{grid-template-columns:minmax(0,1fr)}
.ac-pg .rq-info{position:static}}
@media (max-width:767px){.ac-pg .acts-c{white-space:normal}
.ac-pg .acts-c > .tg{display:block}
.ac-pg .acts-c > .tg + .tg{margin:8px 0 0}
.ac-pg .ot-act{justify-content:stretch}
.ac-pg .ot-act .tg{flex:1 1 auto;justify-content:center;gap:8px}
.ac-pg .rq-send{align-self:stretch}}
.ac-pg .oi-n{display:flex;flex-direction:column;gap:2px;min-width:0}
.ac-pg .oi-v{font-size:12.5px;color:var(--muted)}
.ac-pg .cb-new{margin-bottom:20px}
/* почта или телефон уже есть у другого кабинета: код и объединение */
.ac-pg .au-link{display:flex;flex-direction:column;gap:12px;padding:16px 18px;background:var(--soft)}
.ac-pg .au-link[hidden]{display:none}
.ac-pg .au-link .au-code-h{font-size:14.5px;line-height:1.5}
.ac-pg .au-link-b{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
