/* НаймДрайв — компьютер (29.11.2026, Сергей: «в браузере не должно быть элементов мобильного приложения»).
   Подключается ко всем экранам кабинета последним. На телефоне (<1024px) ничего не меняет. */
@media (min-width:1024px){
  html, html body{color-scheme:light;}

  /* ── Вход и регистрация: две колонки, светлая тема ── */
  html body:has(.auth-page){background:#F3F5F2 !important; color:#13201A;}
  html body .auth-page{display:grid; grid-template-columns:minmax(380px,44%) 1fr; min-height:100vh; background:#F3F5F2 !important;
    --bg:#F3F5F2; --surface:#fff; --card:#fff; --ink:#13201A; --ink-2:#55625B; --muted:#86918B; --line:#E3E8E2;
    --primary:#1FA855; --primary-ink:#178f47; --grad-btn:linear-gradient(135deg,#2BD46A,#1FA855); --on-primary:#fff;}
  html body .auth-page > .appbar{display:none !important;}
  html body .nd-auth-aside{display:flex !important; grid-row:1 / span 9; flex-direction:column; gap:22px; padding:48px 56px;
    background:#0E2A1C; color:#E8F1EB; position:sticky; top:0; height:100vh; box-sizing:border-box;}
  html body .nd-auth-aside h2{font-size:34px; line-height:1.15; margin:auto 0 0; color:#fff; letter-spacing:-.5px;}
  html body .nd-auth-aside ul{margin:0 0 auto; padding:0; list-style:none; display:grid; gap:12px; font-size:17px;}
  html body .nd-auth-aside li{padding-left:30px; position:relative;}
  html body .nd-auth-aside li::before{content:"✓"; position:absolute; left:0; color:#2BD46A; font-weight:800;}
  html body .nd-auth-logo{display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff !important; font:800 24px/1 system-ui,sans-serif;}
  html body .nd-auth-logo b{color:#2BD46A;}
  html body .nd-auth-legal{margin:0; font-size:13px; color:#9DB3A5;}
  html body .auth-page > .auth-wrap{grid-column:2; align-self:center; max-width:480px; padding:48px 24px;}
  html body .auth-page .brandmark, html body .auth-page .auth-wrap > .brand{display:none !important;}
  html body .auth-page .card{background:#fff !important; color:#13201A !important; border:1px solid #E3E8E2 !important; box-shadow:0 8px 30px rgba(19,32,26,.08) !important;}
  html body .auth-page input, html body .auth-page select, html body .auth-page textarea{background:#F6F8F5 !important; color:#13201A !important; border-color:#D5DDD4 !important;}
  html body .auth-page .field > span, html body .auth-page .eyebrow, html body .auth-page label{color:#55625B !important;}
  html body .auth-page .auth-tab{color:#86918B !important;}
  html body .auth-page .auth-tab.active{color:#13201A !important; border-bottom-color:#1FA855 !important;}
  html body .auth-page .btn{background:linear-gradient(135deg,#2BD46A,#1FA855) !important; color:#fff !important; border:0 !important;}
  html body .auth-page a{color:#178f47 !important;}
  html body .auth-page input[type=checkbox]{accent-color:#1FA855;}

  /* ── Менеджер (staff): нижнее меню → боковое ── */
  html body.pn .pn-nav{position:fixed !important; top:0 !important; left:0 !important; bottom:0 !important; right:auto !important;
    width:232px !important; height:100vh !important; display:flex !important; flex-direction:column !important; justify-content:flex-start !important;
    gap:4px !important; padding:84px 14px 24px !important; background:#0E2A1C !important; border:0 !important; border-radius:0 !important;
    grid-template-columns:none !important; max-width:none !important; transform:none !important; box-shadow:none !important;}
  html body.pn .pn-nav::before{content:"НаймДрайв"; position:absolute; top:26px; left:24px; font:800 20px/1 system-ui,sans-serif; color:#fff;}
  html body.pn .pn-nav a{flex-direction:row !important; justify-content:flex-start !important; gap:12px !important; font-size:14px !important;
    padding:11px 14px !important; border-radius:12px !important; color:#B9CBBF !important; width:auto !important;}
  html body.pn .pn-nav a.on{background:rgba(43,212,106,.16) !important; color:#fff !important;}
  html body.pn .pn-page{max-width:1080px !important; margin-left:calc(232px + max(24px, (100vw - 232px - 1080px)/2)) !important;
    margin-right:24px !important; padding-bottom:40px !important;}

  /* ── Узкие «телефонные» колонки кабинета → на ширину рабочей области ── */
  html body .px-page, html body .pubwrap{max-width:1080px !important; margin-left:calc(232px + max(24px, (100vw - 232px - 1080px)/2)) !important; margin-right:24px !important;}
  html body:not(:has(nav.tabnav > a[href="/vacancies"])) .px-page{display:grid; grid-template-columns:1fr 1fr; gap:16px 20px; align-items:start; padding-bottom:40px !important;}
  html body:not(:has(nav.tabnav > a[href="/vacancies"])) .px-page > *{min-width:0; margin-top:0 !important; margin-bottom:0 !important;}
  html body:not(:has(nav.tabnav > a[href="/vacancies"])) .px-page > :is(header,.px-top,.px-head,h1,h2,script,style,.push-ask){grid-column:1 / -1;}

  /* редактирование анкеты: без «телефонной» шапки и прилипшей кнопки */
  html body.pe .pe-top, html body .pe-top{max-width:880px; margin-left:calc(232px + max(24px, (100vw - 232px - 880px)/2)) !important; background:transparent !important; color:#13201A !important;}
  html body .pe-top *{color:#13201A !important;}
  html body .pe-sheet{max-width:880px !important; margin-left:calc(232px + max(24px, (100vw - 232px - 880px)/2)) !important; margin-right:24px !important; border-radius:20px !important;}
  html body.px.pe .pe-save{position:static !important; background:transparent !important; box-shadow:none !important; padding:16px 0 40px !important;
    max-width:880px; margin-left:calc(232px + max(24px, (100vw - 232px - 880px)/2)) !important;}
  html body.px.pe .pe-save .save-bar-inner{max-width:320px !important;}

  /* поиск компании/соискателя: колонка во всю рабочую область */
  html body.srch .srch-col, html body.srch .srch-main, html body.srch .feed-col{max-width:none !important; width:100% !important;}

  /* «Потяни меня» у кнопки поддержки — подсказка для пальца, на компьютере не нужна */
  html body .fab-hint, html body [data-drag-hint]{display:none !important;}
}
.nd-desk-title{display:none;}
@media (min-width:1024px){
  html body .px-top-home .px-brand{display:none !important;}
  html body .px-top-home .nd-desk-title{display:block !important; margin:0; font-size:28px; color:#13201A;}
  html body .px-top{justify-content:space-between !important;}
  /* редактирование анкеты — отдельный экран без бокового меню: по центру */
  html body .pe-top, html body .pe-sheet, html body.px.pe .pe-save{margin-left:auto !important; margin-right:auto !important;}
  html body .pe-top{max-width:880px !important; width:100%; justify-content:flex-start !important; gap:12px; padding-top:24px !important;}
}

@media (min-width:1024px){
  /* кабинет компании: tabnav.css сдвигал страницу отступом body — убираем, отступ даёт общий слой */
  html body:has(nav.tabnav > a[href="/vacancies"]){padding-left:0 !important;}
  html body nav.tabnav.tabnav:has(> a[href="/vacancies"])::before{color:#fff !important; font:800 20px/1 system-ui,sans-serif !important; letter-spacing:-.3px !important;}
  /* карточка компании/водителя у менеджера */
  html body.pn .sd-wrap{max-width:1080px !important; margin-left:calc(232px + max(24px, (100vw - 232px - 1080px)/2)) !important; margin-right:24px !important;}
}
/* «На сайт» — только в боковом меню на компьютере; на телефоне нижнее меню не трогаем */
.nd-tosite{display:none !important;}
@media (min-width:1024px){
  html body .nd-tosite{display:flex !important; margin-top:auto !important; opacity:.8;}
  html body .nd-tosite .tn-ic svg{transform:rotate(180deg);}
}
