/* Авто-направление (07.10.2026), вариант A «Бокс»: мастерская — бетон, графит, сигнальный жёлтый, как разметка
   и подъёмники в боксе. Запись, которая пришла сама, — жёлтая. Госномер — «табличкой», журнал — по постам.
   Заголовки — Unbounded, текст — Golos Text, номер — Roboto Condensed. Включается классом .auto на <html>. */
.auto{
  --asph:#1B1E22;        /* графит — текст, кнопки */
  --conc:#E8E9EB;        /* бетон — фон страницы */
  --steel:#646D77;       /* сталь — подписи */
  --sig:#FFC21A;         /* сигнальный жёлтый — «пришёл сам», главная кнопка */
  --bg:var(--conc); --text:var(--asph); --ink:var(--asph); --ink-soft:#FFF3C4; --muted:var(--steel);
  --line:#D3D6DA; --soft:#F1F2F4; --white:#FFFFFF; --paper:#FFFFFF; --grid:var(--line); --hand:var(--asph);
  --faint:#9AA1A8; --disabled:#B3B8BE; --marker:var(--sig); --marker-2:#FFB800; --marker-0:rgba(255,194,26,0);
  --marker-text:#5A4600; --row:52px;
  --display:'Unbounded','Golos Text',ui-sans-serif,system-ui,sans-serif;
  --plate:'Roboto Condensed','Arial Narrow',sans-serif;
}
.auto h1{font-family:var(--display);font-weight:600;font-size:clamp(23px,6vw,38px);line-height:1.15;letter-spacing:-.015em;max-width:22ch}
.auto .tabs{border-radius:16px;border-color:var(--line)}
.auto .tabs button{border-radius:12px}
.auto .entry button{border-color:var(--line)}
.auto .phone{border:0;border-radius:28px;box-shadow:0 30px 60px -36px rgba(20,24,28,.55),0 0 0 1px var(--line)}

/* ── Госномер РФ: белая табличка, рамка, регион справа ── */
.auto .plate{display:inline-flex;align-items:stretch;vertical-align:middle;background:#fff;border:1.5px solid #111;border-radius:5px;font:700 13px/1 var(--plate);color:#111;white-space:nowrap}
.auto .plate .n{display:flex;align-items:center;padding:2px 5px;letter-spacing:.02em}
.auto .plate .r{display:flex;align-items:center;border-left:1.5px solid #111;padding:2px 4px;font-size:.85em}
.auto .plate.mini{font-size:11px;border-radius:4px;border-width:1.2px}
.auto .plate.mini .n{padding:1px 3px;letter-spacing:0}.auto .plate.mini .r{padding:1px 2px;border-left-width:1.2px}
.auto .plate.big{font-size:30px;border-width:2.5px;border-radius:8px;height:54px}
.auto .plate.big .n{padding:0 12px}.auto .plate.big .r{border-left-width:2.5px;padding:0 9px;font-size:22px}

/* ── Чат в группе ВК ── */
.auto .bar .ava{background:var(--sig);color:var(--asph);font-family:var(--display);font-weight:600}
.auto .msg.bot{box-shadow:0 1px 0 var(--line)}
.auto .btns button{border-color:#C9CDD2;border-radius:12px}
.auto .btns button:not(:disabled):hover{background:var(--ink-soft);border-color:var(--asph)}
.auto .btns.grid button{font:600 14px var(--display)}
.auto .card .plate{margin-left:2px}

/* ── Страница записи по ссылке ── */
.auto .phone.linkmode .bar{display:none}
.auto .lp{padding:0;min-height:100%;background:var(--conc)}
.auto .a-head{position:relative;background:var(--asph);color:#fff;padding:18px 18px 24px}
.auto .a-head::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:7px;background:repeating-linear-gradient(135deg,var(--sig) 0 12px,var(--asph) 12px 24px)}
.auto .a-head small{display:block;font-size:13.5px;color:#AEB5BD;padding-right:90px}
.auto .a-head h3{font:600 23px/1.18 var(--display);letter-spacing:-.01em;margin:8px 0 12px}
.auto .a-pills{display:flex;gap:8px;flex-wrap:wrap}
.auto .a-pills span{font-size:13.5px;font-weight:600;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.12)}
.auto .a-restart{position:absolute;right:14px;top:14px;border:1px solid rgba(255,255,255,.28);background:none;color:#fff;border-radius:999px;padding:5px 12px;font-size:13px}
.auto .a-chg{position:absolute;right:18px;bottom:24px;border:0;background:none;color:var(--sig);font-weight:600;font-size:14px;padding:4px 0}
.auto .a-list{display:flex;flex-direction:column;gap:8px;padding:20px 12px 108px}
.auto .a-svc{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1.5px solid transparent;border-radius:14px;padding:13px 14px;box-shadow:0 1px 0 var(--line)}
.auto .a-svc[aria-checked="true"]{border-color:var(--asph);box-shadow:inset 6px 0 0 var(--sig)}
.auto .a-n{flex:1;min-width:0;font-size:16px;font-weight:600;line-height:1.3}
.auto .a-n small{display:block;font-size:13px;font-weight:400;color:var(--steel);margin-top:2px}
.auto .a-p{white-space:nowrap;font-size:15px;font-weight:600}
.auto .a-sec{padding:6px 16px 112px}
.auto .a-sec h4{font-size:15px;font-weight:600;color:var(--steel);margin:20px 0 10px}
.auto .a-days{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px 2px}
.auto .a-days button{flex:none;min-width:84px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:9px 11px;font-size:15px;font-weight:600;line-height:1.2}
.auto .a-days button small{display:block;font-size:12.5px;font-weight:500;color:var(--steel);margin-top:3px}
.auto .a-days button[aria-pressed="true"]{background:var(--asph);border-color:var(--asph);color:#fff}
.auto .a-days button[aria-pressed="true"] small{color:#C5CBD1}
.auto .a-days button:disabled{opacity:.45;cursor:default}
.auto .a-times{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.auto .a-times button,.auto .a-times .x{height:46px;border-radius:12px;display:grid;place-items:center;font:600 14.5px var(--display);font-variant-numeric:tabular-nums}
.auto .a-times button{background:#fff;border:1px solid var(--line)}
.auto .a-times button[aria-pressed="true"]{background:var(--sig);border-color:var(--sig)}
.auto .a-times .x{color:#B3B8BE;text-decoration:line-through;border:1px dashed #CDD1D5}
.auto .a-car{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}
.auto .a-plate{display:inline-flex;align-items:stretch;height:58px;background:#fff;border:2.5px solid #111;border-radius:8px;font-family:var(--plate);font-weight:700;color:#111}
.auto .a-plate input{border:0;background:none;font:700 30px var(--plate);color:#111;padding:0;outline:none;text-transform:uppercase}
.auto .a-plate #aNum{width:166px;padding:0 12px;letter-spacing:.02em}
.auto .a-plate .r{display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:2.5px solid #111;padding:0 6px}
.auto .a-plate #aReg{width:50px;font-size:22px;text-align:center;line-height:1}
.auto .a-plate .r i{font:700 9px var(--plate);font-style:normal;letter-spacing:.05em;display:flex;align-items:center;gap:3px}
.auto .a-plate .r i b{display:inline-block;width:10px;height:7px;background:linear-gradient(#fff 33%,#1C3F94 33% 66%,#D52B1E 66%);outline:1px solid #bbb}
.auto .a-plate input::placeholder{color:#C3C7CC}
.auto .a-plate:focus-within{box-shadow:0 0 0 4px rgba(255,194,26,.55)}
.auto .a-car label{display:block;font-size:13px;color:var(--steel);margin:14px 0 4px}
.auto .a-car input:not(.a-plate input){width:100%;border:0;border-bottom:1.5px solid var(--line);background:none;padding:6px 0 7px;font-size:17px;font-weight:600;border-radius:0}
.auto .a-car input:not(.a-plate input):focus{outline:none;border-bottom-color:var(--asph)}
.auto .a-car input::placeholder{font-weight:400;color:#A3A9B0}
.auto .a-note{color:var(--steel);font-size:14px;line-height:1.5;margin:14px 0 0}
.auto .a-cta{position:absolute;left:12px;right:12px;bottom:12px;z-index:3;display:flex;align-items:center;gap:10px;background:#fff;border-radius:18px;padding:8px 8px 8px 16px;box-shadow:0 14px 34px -14px rgba(20,24,28,.45),0 0 0 1px var(--line)}
.auto .a-cta.wide{background:none;box-shadow:none;padding:0}
.auto .a-cta-t{flex:1;min-width:0;line-height:1.2}
.auto .a-cta-t b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auto .a-cta-t small{display:block;font-size:13px;color:var(--steel)}
.auto .a-go{border:0;border-radius:14px;background:var(--sig);color:var(--asph);font-weight:700;font-size:16px;padding:15px 18px;white-space:nowrap;box-shadow:0 8px 20px -10px rgba(120,90,0,.6)}
.auto .a-cta.wide .a-go{width:100%;padding:17px 18px}
.auto .a-go:disabled{background:#E4E6E9;color:#9AA1A8;box-shadow:none;cursor:default}
.auto .a-ok{padding-top:22px}
.auto .a-check{width:50px;height:50px;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.auto .a-check circle{fill:var(--sig);stroke:none}
.auto .a-check path{stroke:var(--asph);stroke-dasharray:40;stroke-dashoffset:40;animation:a-tick .5s .1s ease-out forwards}
@keyframes a-tick{to{stroke-dashoffset:0}}
.auto .a-ok h3{margin:10px 0 4px}
.auto .a-ok small{font-size:15px;color:#E7EAED;padding:0}
.auto .a-ticket{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin-top:18px}
.auto .a-ticket .plate{margin-bottom:8px}
.auto .a-tl{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.auto .a-tl:last-child{border-bottom:0}
.auto .a-tl span{color:var(--steel)}
.auto .a-tl b{font-weight:600;text-align:right}
.auto .a-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.auto .a-move{border:1.5px solid var(--asph);background:#fff;border-radius:14px;padding:12px 20px;font-weight:600}
.auto .a-again{border:0;background:none;padding:12px 8px;font-weight:600;color:var(--steel)}

/* ── Журнал мастера: по постам, запись «пришёл сам» — жёлтая ── */
.auto .journal{background:#F4F5F6;border-color:var(--line);border-radius:24px}
.auto .jhead h2{font:600 24px var(--display);letter-spacing:-.01em}
.auto .note{background:#fff;box-shadow:0 1px 0 var(--line)}
.auto .note.new{background:var(--asph);color:#fff}
.auto .note.new small{color:#C5CBD1}
.auto .note .ic{background:var(--sig)}
.auto .note .plate{font-size:11.5px}
.auto .seg{border-radius:12px}
.auto .load{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin-bottom:12px}
.auto .load .lt{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.auto .load b{font-weight:600;font-size:15px}
.auto .load small{font-size:12.5px;color:var(--steel)}
.auto .load .bar{display:flex;gap:2px;margin:9px 0 7px;padding:0;border:0}
.auto .load .bar i{flex:1;height:10px;border-radius:2px;background:#E2E4E7}
.auto .load .bar i.s{background:var(--sig)}
.auto .load .bar i.c{background:var(--asph)}
.auto .load .bar i.x{background:repeating-linear-gradient(135deg,#D3D6DA 0 2px,transparent 2px 4px)}
.auto .load .leg{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--steel)}
.auto .load .leg span::before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.auto .load .leg .s::before{background:var(--sig)}.auto .load .leg .c::before{background:var(--asph)}
.auto .page{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:visible;
  background-image:linear-gradient(var(--line) 1px,transparent 1px);background-size:100% var(--row);background-position:0 0}
.auto .page.posts{background-position:0 30px}
.auto .page::before{display:none}
.auto .ph{grid-row:1;align-self:center;font-size:12.5px;font-weight:600;color:var(--steel);padding-left:5px}
.auto .tm{font:500 11px var(--display);color:var(--steel);padding:5px 0 0 7px}
.auto .slot{margin:3px;border:1.5px dashed #CDD1D5;border-radius:10px;justify-content:center;color:var(--faint);font-size:12px;padding:0 4px}
.auto .slot::before{content:"+";margin-right:4px;font-weight:600}
.auto .slot:hover{background:var(--ink-soft);border-color:var(--sig);color:var(--asph)}
.auto .ap{position:relative;z-index:1;margin:3px;padding:5px 7px;border-radius:10px;background:#fff;border:1px solid #C9CDD2;justify-content:flex-start;line-height:1.2}
.auto .ap .hd{display:flex;align-items:center;gap:5px;min-width:0}
.auto .ap .nm{font:600 12.5px 'Golos Text',sans-serif;color:var(--asph);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auto .ap .sv{font:500 11.5px 'Golos Text',sans-serif;color:var(--asph);opacity:.82;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auto .ap.bot{background:linear-gradient(var(--sig),var(--sig)) no-repeat;background-size:100% 100%;border-color:#E8AE00}
.auto .ap.bot .nm{font-family:'Golos Text',sans-serif;font-size:12.5px;font-weight:600}
.auto .ap.bot .sv{font-size:11.5px;opacity:.85}
.auto .ap.bot .via{font-size:10.5px;color:var(--marker-text);margin-top:3px}
.auto .ap.one .via{display:none}
.auto .ap.brk{background:repeating-linear-gradient(135deg,#fff 0 7px,#E6E8EB 7px 9px);border-style:dashed}
.auto .ap.brk .nm{font-size:12.5px;color:var(--steel)}
.auto .ap.sel{outline:2px solid var(--asph);outline-offset:1px}
.auto .ap.bot.fresh{box-shadow:0 0 0 4px rgba(255,194,26,.45)}
.auto .now{grid-column:2 / -1;align-self:start;margin-top:calc(var(--row) * var(--m));height:2px;background:#E5484D;position:relative;z-index:0;pointer-events:none}
.auto .now::before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#E5484D}
.auto .now span{position:absolute;right:4px;top:-9px;font:600 10px var(--display);color:#E5484D;background:#fff;padding:1px 4px;border-radius:4px}
.auto .act{position:relative;z-index:2;margin:3px;border:1.5px solid var(--asph);border-radius:12px;box-shadow:0 12px 26px -12px rgba(20,24,28,.45)}
.auto .act .at{flex:1 1 100%;font-size:12px;font-weight:600;color:var(--steel);padding:1px 2px}
.auto .act button{border-radius:10px}
.auto .act button.go{background:var(--sig);border-color:var(--sig);color:var(--asph);font-weight:700}
.auto .act input,.auto .act select{border-radius:10px}
.auto .detail{background:#fff;border-radius:14px}
.auto .legend .k{border-radius:3px}
.auto #legend > span:first-child .k{background:var(--sig)!important}
.auto #legend > span:last-child .k{background:#fff!important;border:1.5px dashed #C6CACF!important}
.auto .wd{background:#fff;border:1px solid var(--line);border-radius:12px}
.auto .wd .posts{display:flex;flex-direction:column;gap:3px;min-width:0}
.auto .wd .cells{gap:2px}
.auto .wd .cells i{height:8px;border-radius:2px;background:#E7E9EC;border:0}
.auto .wd .cells i.b{background:var(--asph);opacity:1}
.auto .wd .cells i.m{background:var(--sig)}
.auto .toast button{background:var(--sig);color:var(--asph)}
.auto .install{border-radius:12px}
@media (prefers-reduced-motion:reduce){.auto .a-check path{stroke-dashoffset:0}}
/* 4 поста (11.10): колонка ~70 px — у свободной клетки только «+», у госномера без региона (регион — в карточке записи) */
.auto .page.p4 .slot{font-size:0;padding:0}
.auto .page.p4 .slot::before{font-size:17px;margin:0}
.auto .page.p4 .ap{margin:3px 2px;padding:5px 5px}
.auto .page.p4 .plate.mini .r,.auto .page.p4 .ap .hd .nm{display:none}   /* машина и регион — в карточке записи */
