/* ==== Consolidated from style.css ==== */
:root{--bg:#efeeeb;--surface:#fff;--ink:#182b37;--muted:#677884;--brand:#087b84;--brand2:#064d58;--line:#dce5e8;--accent:#d7f4ed;--danger:#ba3b37}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:14px/1.55 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.container{width:min(1200px,calc(100% - 36px));margin:0 auto}.narrow{max-width:570px;padding-top:50px}.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:800}.head{height:70px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:9px;line-height:1;font-weight:900;letter-spacing:.02em;white-space:nowrap;font-size:18px}.brand-light{color:var(--brand)}.brand small{display:block;font-size:9px;letter-spacing:.17em;margin-top:5px;color:var(--muted)}.mark{display:grid;place-items:center;width:40px;height:40px;background:var(--brand2);border-radius:10px;color:white;font-weight:900}.nav{display:flex;gap:23px;margin:auto}.nav a:hover,.text-link:hover{color:var(--brand)}.head-actions{display:flex;align-items:center;gap:15px}.menu-toggle{display:none;border:0;background:none;font-size:23px}.btn{background:var(--brand);color:white!important;border:1px solid var(--brand);border-radius:10px;padding:11px 17px;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-weight:700;white-space:nowrap}.btn:hover{background:var(--brand2)}.btn.outline{background:transparent;color:var(--brand)!important}.btn.light{background:#fff;color:var(--brand2)!important;border-color:white}.btn.small{padding:8px 12px}.btn.danger{background:var(--danger);border-color:var(--danger)}.main{min-height:72vh;padding-top:27px;padding-bottom:60px}.hero{background:linear-gradient(120deg,#083947,#0b7378);color:#fff;border-radius:20px;padding:51px 47px;display:grid;grid-template-columns:1.5fr 1fr;gap:30px;overflow:hidden;position:relative}.hero h1{font-size:clamp(28px,3.6vw,49px);line-height:1.1;margin:14px 0}.hero p{color:#d4e9eb;max-width:600px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.hero-stat{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-content:center}.hero-stat>div{border:1px solid #ffffff33;padding:23px;border-radius:13px;background:#ffffff13}.hero-stat b{font-size:24px;display:block}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:#b0ece1}.section{margin-top:35px}.section h2,.page-heading h1{margin:0 0 9px;font-size:28px;line-height:1.2}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.panel,.tile,.order-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px}.tile h3{margin:10px 0 5px;font-size:17px}.tile .symbol{font-size:27px;color:var(--brand)}.panel h2,.panel h3{margin-top:0}.form{display:grid;gap:15px}.form.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form label{display:block;font-size:12px;color:var(--muted);font-weight:650}.form input,.form select,.form textarea,input.quick{width:100%;border:1px solid #cdd9de;background:#fff;border-radius:9px;padding:11px 12px;color:var(--ink);margin-top:5px;outline:none;min-width:0}.form textarea{min-height:100px;resize:vertical}.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #087b841b}.span2{grid-column:span 2}.notice{padding:13px 17px;border-radius:10px;background:#e7f5ef;margin-bottom:18px;border:1px solid #beddd1}.notice.error{background:#fce9e8;border-color:#f2c4c1}.notice.warning{background:#fff3dc;border-color:#f1daa8}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.dash{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}.sidebar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;height:max-content}.sidebar a{display:block;padding:11px 13px;border-radius:8px}.sidebar a:hover,.sidebar a.active{background:#e5f4f4;color:var(--brand2);font-weight:700}.stat{font-size:27px;font-weight:800;line-height:1.2}.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tag{display:inline-block;background:#e5f3f1;color:#126c65;font-size:11px;border-radius:20px;padding:3px 10px;font-weight:750}.tag.gray{background:#eff1f4;color:#667}.order-card{padding:18px;margin-bottom:12px}.order-card h3{margin:0 0 8px;font-size:17px}.order-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:10px 0}.order-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.price{font-weight:800;font-size:20px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th,td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--muted);font-size:12px}.action-link{color:var(--brand);font-weight:750}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.map{height:430px;border-radius:13px;background:#dae4e5;z-index:1}.map.smallmap{height:290px}.map-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.map-fields input{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px}.mini-note{font-size:12px;color:var(--muted);margin-top:9px}.chat{height:280px;overflow:auto;background:#f5f8f8;border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:9px}.bubble{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:10px;max-width:85%;align-self:flex-start;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:#d9f2eb;border-color:#a6d9ca}.bubble small{color:var(--muted);display:block;font-size:10px}.footer{background:#fff;border-top:1px solid var(--line)}.foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0;color:var(--muted);font-size:12px}.foot b{color:var(--ink)}.foot p{margin:3px 0}.foot>div:nth-child(2){display:flex;gap:16px;flex-wrap:wrap}.empty{text-align:center;padding:30px;color:var(--muted)}.alert{border-left:3px solid var(--brand);padding:12px;background:#e9f4f5;border-radius:5px}.small{font-size:12px}hr{border:0;border-top:1px solid var(--line);margin:20px 0}@media(max-width:900px){.head{gap:12px}.nav{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;padding:20px;flex-direction:column;box-shadow:0 9px 18px #0002}.nav.opened{display:flex}.menu-toggle{display:block}.head-actions{margin-left:auto}.hero{grid-template-columns:1fr}.dash{grid-template-columns:1fr}.sidebar{display:flex;flex-wrap:wrap}.sidebar a{padding:9px}.split{grid-template-columns:1fr}}@media(max-width:600px){.container{width:min(100% - 22px,1200px)}.head{height:64px}.nav{top:64px}.brand{font-size:13px}.mark{width:34px;height:34px}.brand small{font-size:7px}.text-link{display:none}.head-actions .btn{font-size:11px;padding:7px}.hero{padding:27px 20px}.hero-stat>div{padding:13px}.grid,.grid.two,.kpis{grid-template-columns:1fr}.form.two{grid-template-columns:1fr}.span2{grid-column:auto}.page-heading{align-items:flex-start;flex-direction:column}.foot{flex-direction:column;align-items:flex-start}.panel{padding:16px}.order-foot{align-items:flex-start;flex-direction:column}.map{height:340px}}

/* ГРУЗОПЕРЕВОЗКИ · фирменная тема */
:root{--bg:#f5f5f2;--surface:#fff;--ink:#171717;--muted:#626262;--brand:#e4ab00;--brand2:#151515;--line:#deded8;--accent:#fff4c4}body{color:var(--ink)}.header{background:var(--brand2);border-bottom:4px solid var(--brand)}.brand,.nav a,.header .text-link{color:#fff}.brand-light{color:var(--brand)}.brand small{color:#ddd}.mark{background:var(--brand);color:var(--brand2);border-radius:5px}.header .btn.outline{border-color:var(--brand);color:var(--brand)!important}.menu-toggle{color:#fff}.hero{background:linear-gradient(112deg,var(--brand2) 0%,var(--brand2) 62%,var(--brand) 100%);border:2px solid var(--brand);border-radius:11px}.hero h1{font-weight:950;letter-spacing:-.035em}.hero p{color:#f7eed2}.eyebrow{color:var(--brand)}.hero-stat>div{background:#0b0b0b99;border-color:var(--brand)}.btn{color:#101010!important;border-color:var(--brand);border-radius:7px}.btn:hover{filter:brightness(1.07)}.btn.outline{color:var(--brand2)!important;border-color:var(--brand)}.btn.light{background:#ffdc36;color:#0b0b0b!important}.tag{background:#fff1b3;color:#584000}.tile .symbol,.action-link{color:#9f7800}.sidebar a.active,.sidebar a:hover{background:var(--accent);color:var(--brand2)}.footer{background:var(--brand2);color:#ddd;border-top:4px solid var(--brand)}.foot b{color:var(--brand)}.foot a{color:white}.panel,.tile,.order-card{border-radius:10px}.form input:focus,.form select:focus,.form textarea:focus{border-color:#e4ab00;box-shadow:0 0 0 3px #e4ab0030}.admin-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.admin-menu{align-self:start;position:sticky;top:95px}.admin-menu a{display:block;padding:9px;border-radius:6px}.admin-menu a.active{background:#fff1b3;font-weight:800}.admin-form{display:grid;gap:12px}.admin-form label{display:grid;gap:5px;font-weight:600}.admin-form input,.admin-form textarea,.admin-form select{padding:10px;border:1px solid #d1d1cb;border-radius:7px;width:100%;font:inherit}.admin-form textarea{min-height:110px}.admin-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-note{padding:13px;background:#fff5d8;border-left:3px solid #daa500;margin:14px 0}.admin-toolbar{display:flex;gap:8px;flex-wrap:wrap}.admin-toolbar a{padding:8px 10px;border:1px solid #ddd;border-radius:7px}@media(max-width:800px){.admin-grid{grid-template-columns:1fr}.admin-menu{position:static}.admin-cols{grid-template-columns:1fr}.nav{background:#171717}}

.vehicle-profile{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;padding:20px 0;border-top:1px solid #ddd}
.vehicle-profile-media img,.vehicle-placeholder{display:block;width:100%;height:155px;object-fit:cover;border-radius:10px;background:#efefec}
.vehicle-placeholder{display:grid;place-items:center;color:#666;font-size:13px}
.vehicle-profile-info h3{margin:0 0 8px}.vehicle-profile-info p{margin:7px 0}
.vehicle-tariff{background:#fff6d5;border-radius:8px;padding:10px;margin:10px 0;line-height:1.6}
.vehicle-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.vehicle-actions form{margin:0}.activity-options{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0}
.activity-options label{display:flex;align-items:center;gap:8px}.activity-options input{width:auto!important}
@media(max-width:700px){.vehicle-profile{grid-template-columns:1fr}.vehicle-profile-media img,.vehicle-placeholder{height:190px}}

/* Грузоперевозки 1.4 */
.gp-checklist{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-top:10px}.gp-checklist label{display:flex;align-items:center;gap:6px;font-size:13px}.gp-checklist input{width:auto!important}.gp-route-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.gp-route-info{border-left:3px solid var(--brand);padding:12px;margin:14px 0;background:#fff9e5}.gp-map-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:16px;align-items:start}.gp-map-details{position:relative;min-height:220px}.gp-quote{border:1px solid #ddd;padding:12px;margin:10px 0;border-radius:8px}.gp-quote small{color:#555}.gp-close{border:0;background:transparent;font-size:24px;float:right;cursor:pointer}
@media(max-width:760px){.gp-map-layout{display:block}.gp-map-details{display:none;position:fixed;bottom:0;left:0;right:0;z-index:1100;max-height:65vh;overflow:auto;box-shadow:0 -8px 20px #0003;border-radius:16px 16px 0 0}.gp-map-details.is-open{display:block}.gp-checklist{grid-template-columns:1fr 1fr}}

/* v1.5 — живые адресные подсказки */
.gp-address-wrap{position:relative;min-width:0;width:100%}.gp-address-wrap>input{width:100%}.gp-address-suggestions{position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:2000;max-height:240px;overflow:auto;background:#fff;box-shadow:0 12px 30px #0003;border:1px solid #d9d4c7;border-radius:8px}.gp-address-suggestions[hidden]{display:none}.gp-address-option{display:block;width:100%;padding:10px 12px;text-align:left;background:#fff;border:0;border-bottom:1px solid #eee;font:inherit;cursor:pointer;color:#1b1b1b}.gp-address-option:hover,.gp-address-option:focus{background:#fff0b4}.gp-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gp-checklist label{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 9px;border:1px solid #e4dfd3;border-radius:7px;cursor:pointer}.gp-checklist input{width:auto!important;flex:none;accent-color:#e4ab00}@media(max-width:520px){.gp-checklist{grid-template-columns:1fr}}

/* Integration v2 */
.gp-vk-queue{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:16px}
.gp-vk-queue .tile{min-width:0}.gp-share-text{width:100%;margin:8px 0;min-height:105px;resize:vertical}
.gp-linkline{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.gp-copy-link{font:inherit;border:1px solid #e4ab00;background:#fff5ce;border-radius:6px;padding:5px 9px;cursor:pointer}

/* v2.2: consistent dashboard pages and cards */
.dash{display:grid;grid-template-columns:205px minmax(0,1fr);gap:16px;align-items:start}.dash-content{min-width:0}.dash-content>.split{margin:0}.sidebar{position:sticky;top:80px}.sidebar a{display:block}.main{min-height:calc(100vh - 75px);display:flex;flex-direction:column}.main>.footer{margin-top:auto}.footer{width:100%}.gp-checklist label{min-width:0;overflow-wrap:anywhere}.section ol{padding-left:24px;line-height:1.75}
@media(max-width:800px){.dash{grid-template-columns:1fr}.sidebar{position:static;display:flex;flex-wrap:wrap;gap:6px}.sidebar a{width:auto!important;flex:1 1 130px;border:1px solid #e2e2df;border-radius:7px}.dash-content{width:100%}}

/* v2.2.1 — адаптивная форма публикации груза; без изменений PHP/JS */
html,body{max-width:100%;overflow-x:clip}
.container,.main,.dash,.dash-content,.panel,#order-create-form,#order-create-form>.panel{min-width:0;max-width:100%}
#order-create-form{width:100%;align-items:start;grid-template-columns:minmax(0,1fr);gap:14px}
#order-create-form>.panel{width:100%;padding:20px;overflow:visible}
#order-create-form .form.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
#order-create-form .form.two>*,#order-create-form .form.two label{min-width:0;max-width:100%}
#order-create-form .form.two>div:has(.gp-checklist){grid-column:1/-1}
#order-create-form .form.two>label:has(input[name="title"]){grid-column:1/-1}
#order-create-form .gp-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;padding-top:0}
#order-create-form .gp-checklist label{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:43px;margin:0;padding:9px 12px;line-height:1.35;font-size:12px;font-weight:600;overflow-wrap:normal;word-break:normal;white-space:normal}
#order-create-form .gp-checklist input{flex:0 0 auto;margin:0;width:16px!important;height:16px}
#order-create-form .form input,#order-create-form .form select,#order-create-form .form textarea{display:block;width:100%;max-width:100%;box-sizing:border-box}
#order-create-form #gp-route-map{width:100%;max-width:100%;height:410px!important;min-height:300px;overflow:hidden}
#order-create-form .gp-route-buttons{margin:8px 0;gap:8px}
#order-create-form .gp-route-buttons button{white-space:normal;min-width:0}
.dash-content{overflow-wrap:break-word}
@media(min-width:1500px){#order-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}#order-create-form .gp-checklist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dash{grid-template-columns:minmax(0,1fr)}.sidebar{max-width:100%}.dash-content{min-width:0}}
@media(max-width:650px){
 .container{width:calc(100% - 20px);max-width:100%;}
 .main{padding-top:14px;padding-bottom:25px}
 .dash{gap:12px}
 .sidebar{position:static;padding:8px;display:flex;gap:5px;flex-wrap:wrap}
 .sidebar a{flex:1 1 calc(50% - 6px);min-width:0;width:auto!important;padding:8px 9px;font-size:12px}
 #order-create-form>.panel{padding:13px;border-radius:10px}
 #order-create-form .form.two{grid-template-columns:minmax(0,1fr);gap:10px}
 #order-create-form .form.two>div:has(.gp-checklist),#order-create-form .form.two>label:has(input[name="title"]),#order-create-form .form.two>.span2{grid-column:1}
 #order-create-form .gp-checklist{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #order-create-form .gp-checklist label{padding:8px;min-height:48px;font-size:11px}
 #order-create-form .gp-route-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #order-create-form .gp-route-buttons button{padding:8px 6px;font-size:11px;line-height:1.35}
 #order-create-form #gp-route-map{height:320px!important;min-height:250px}
 .head{gap:7px}.head-actions{gap:5px;min-width:0}.head-actions .btn{padding:6px 7px;font-size:10px}
 .brand{white-space:normal;font-size:12px}.brand small{letter-spacing:0;font-size:7px}
 .map-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){#order-create-form .gp-checklist{grid-template-columns:1fr}.sidebar a{flex-basis:100%}.map-fields{grid-template-columns:1fr}}

/* ГРУЗОПЕРЕВОЗКИ — исправление мобильной шапки */
@media (max-width: 600px) {

    /* Показываем вход и выход */
    .header .head-actions .text-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        color: #ffc700;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
    }

    /* Компактные кнопки кабинета */
    .header .head-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .header .head-actions .btn {
        padding: 7px 9px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Шапка не должна выходить за экран */
    .header .head {
        height: auto;
        min-height: 64px;
        padding-top: 8px;
        padding-bottom: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Кнопка мобильного меню */
    .header .menu-toggle {
        display: block;
        color: #ffc700;
        margin-left: 4px;
        flex-shrink: 0;
    }

    /* Выпадающее меню */
    .header .nav {
        top: 100%;
        background: var(--brand2);
        border-top: 1px solid #ffc700;
    }

    .header .nav a {
        color: #fff;
    }
}

@media (max-width: 380px) {
    .header .head-actions {
        gap: 5px;
    }

    .header .head-actions .btn {
        font-size: 10px;
        padding: 6px;
    }

    .header .brand {
        font-size: 11px;
    }
}


/* ==== Consolidated from site-refine-v3.css ==== */
/* 3.0: unified controls, more compact vehicle list and filtered directories. */
.gp-car-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;background:#fff;border:1px solid #e2e5eb;padding:9px 12px;border-radius:10px;cursor:pointer;font:inherit;color:#131313}
.gp-car-toggle:hover,.gp-car-toggle[aria-expanded="true"]{border-color:#e8b000;background:#fff9e5}
.gp-car-short{display:flex;align-items:center;gap:12px;min-width:0}.gp-car-short-text{font-weight:700;overflow-wrap:anywhere}.gp-car-thumb{width:66px;height:45px;object-fit:cover;border-radius:6px}.gp-car-chevron{white-space:nowrap;font-size:12px;color:#69570e}
.vehicle-profile{display:block!important;min-width:0;margin:8px 0!important;padding:6px!important;border:0!important}.gp-car-expanded{margin:12px 0 6px}.gp-car-expanded[hidden],.gp-filter-item[hidden]{display:none!important}
.gp-filter-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.gp-filter-head h2{margin:0}.gp-public-filters{margin-bottom:15px}.gp-filter-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:12px}.gp-filter-grid label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px}.gp-filter-grid input,.gp-filter-grid select{width:100%;min-height:42px;padding:9px 10px;border:1px solid #cbd2db;border-radius:8px;background:white;box-sizing:border-box;font:inherit}
.dash,.dash-content,.panel,.vehicle-profile,.gp-hub{min-width:0}input[type=file]{width:100%;max-width:100%;padding:9px;border-radius:8px;box-sizing:border-box;border:1px solid #cbd2db;background:#fff}input[type=file]::file-selector-button{padding:8px 12px;margin-right:10px;border-radius:6px;border:1px solid #e2b600;background:#fff4bf;cursor:pointer}
@media(max-width:760px){.gp-filter-grid{grid-template-columns:1fr}.gp-car-toggle{padding:8px}.gp-car-thumb{width:58px;height:43px}.gp-car-expanded .vehicle-profile-info{min-width:0}.gp-filter-head h2{font-size:17px}}
/* v3.1: cohesive headings, imagery, forms and editorial pages */
:root{--gp-line:#e2e5e9;--gp-ink:#20252b}
.vehicle-profile-media{width:min(100%,280px)!important;max-width:280px!important;flex:0 0 min(100%,280px)!important;align-self:flex-start}
.vehicle-profile-media img{display:block!important;width:100%!important;height:176px!important;max-height:176px!important;object-fit:contain!important;object-position:center!important;background:#f4f5f5!important;border:1px solid var(--gp-line);border-radius:10px}
.gp-car-thumb{object-fit:contain!important;background:#f2f3f4}
.gp-car-expanded .vehicle-profile-info{flex:1;min-width:0}
.gp-filter-head{margin-bottom:6px}.gp-public-filters{padding:20px!important}.gp-filter-grid{grid-template-columns:minmax(180px,2fr) minmax(160px,1fr) minmax(150px,1fr)!important;align-items:end;gap:14px!important}.gp-filter-grid input,.gp-filter-grid select{font-size:14px!important;line-height:1.4!important;appearance:auto}.gp-filter-grid label{min-width:0}.gp-filter-count{margin:12px 0 0;color:#5f6771}
.gp-upload-field{border:1px dashed #bdc6ce;background:#fbfbf9;padding:14px;border-radius:10px;min-width:0}.gp-upload-label{font-weight:700;display:block;margin-bottom:8px}.gp-upload-field input{min-height:54px}.gp-upload-field input::file-selector-button{background:#e7aa00;border:1px solid #d8a100;color:#171717;font-weight:700;padding:10px 14px}.gp-upload-preview{display:flex;gap:9px;flex-wrap:wrap;margin-top:7px}.gp-upload-tile{width:90px;border:1px solid #e0e2e5;border-radius:8px;padding:5px;background:white;overflow:hidden}.gp-upload-tile img{width:100%;height:68px;object-fit:contain;background:#f5f5f5;border-radius:5px}.gp-upload-tile span{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gp-upload-error{color:#9d2424;font-weight:600}
.gp-button-line{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}.gp-community-hero{background:linear-gradient(120deg,#fffaeb,#fff 70%)}.gp-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.gp-community-grid h2,.gp-community-grid h3{margin:10px 0}.gp-inline-link{font-weight:700;color:#865e00}.gp-step-no{display:inline-block;font-size:12px;font-weight:800;background:#fff0b1;color:#614600;border-radius:7px;padding:6px 9px}.gp-guide-steps{display:grid;gap:16px;margin-top:16px}.gp-guide-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,43%);gap:24px;align-items:center}.gp-guide-copy h2{margin:12px 0}.gp-guide-step img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;border-radius:12px;border:1px solid #dfe3e8;background:#fff}.page-heading{margin-bottom:20px}.page-heading h1{line-height:1.2}.page-heading .muted{margin-top:7px;line-height:1.5}.gp-auto-page-heading{margin:0 0 18px}
@media(max-width:800px){.gp-community-grid{grid-template-columns:1fr}.gp-guide-step{grid-template-columns:1fr;gap:14px}.gp-guide-step img{max-height:200px}.vehicle-profile-media{max-width:100%!important;flex:auto!important}.vehicle-profile-media img{height:150px!important}.gp-filter-grid{grid-template-columns:1fr!important}.gp-public-filters{padding:13px!important}.gp-button-line .btn{max-width:100%;white-space:normal}.gp-upload-tile{width:75px}}


/* ==== Consolidated from v33.css ==== */
.gp-v33-filter-form{display:grid;gap:14px}.gp-v33-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.gp-v33-filter-grid label,.gp-v33-rowform label{display:grid;gap:6px;min-width:0;font-weight:600}.gp-v33-filter-grid input,.gp-v33-filter-grid select,.gp-v33-rowform input,.gp-v33-rowform textarea{width:100%;min-width:0;box-sizing:border-box}.gp-v33-order{border:1px solid #e5e5e5;border-radius:10px;margin:12px 0;overflow:hidden}.gp-v33-order>summary{cursor:pointer;padding:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gp-v33-order>summary span{color:#666;font-size:13px}.gp-v33-order-inner{padding:14px;border-top:1px solid #eee}.gp-v33-rowform{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;align-items:end}.gp-v33-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}@media(max-width:700px){.gp-v33-filter-grid,.gp-v33-rowform{grid-template-columns:1fr}}

/* ==== Consolidated from v34.css ==== */
/* v3.4: единая форма поиска и управление объявлениями */
.gp-server-filters{padding:clamp(18px,3vw,28px);margin-bottom:18px}
.gp-v33-filter-form{display:grid;gap:18px}
.gp-v33-filter-form .gp-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0}
.gp-v33-filter-form .gp-filter-head h2{margin:0;font-size:clamp(19px,2vw,24px)}
.gp-v33-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}
.gp-v33-filter-grid label{display:flex;flex-direction:column;gap:8px;min-width:0;font-weight:650;line-height:1.4;font-size:14px;color:#242424}
.gp-v33-filter-grid label:first-child{grid-column:span 2}
.gp-v33-filter-grid input,.gp-v33-filter-grid select{appearance:auto;display:block;width:100%;min-width:0;max-width:100%;height:46px;box-sizing:border-box;padding:0 13px;border:1px solid #cbd1d8;border-radius:9px;background:#fff;color:#202020;font:inherit;font-size:14px;box-shadow:none;outline-offset:2px}
.gp-v33-filter-grid input:focus,.gp-v33-filter-grid select:focus{border-color:#cc9a00;outline:3px solid #e6ab0033}
.gp-v33-filter-grid input::placeholder{color:#79818b}
.gp-v33-filter-form>button[type=submit]{min-height:46px;width:100%;border-radius:9px;font-weight:700}
.gp-v33-filter-form>.mini-note{margin:0;font-size:12px;line-height:1.5;color:#707070}
.gp-v33-order{border-color:#dce0e5;border-radius:12px}
.gp-v33-order>summary{min-height:56px;padding:15px 18px}
.gp-v33-order-inner{padding:18px}
.gp-v33-rowform{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.gp-v33-rowform label{font-size:14px;display:flex;flex-direction:column;gap:8px}
.gp-v33-rowform input,.gp-v33-rowform textarea{min-height:44px;max-width:100%;padding:10px 12px;font-size:14px;border:1px solid #cbd1d8;border-radius:9px;box-sizing:border-box;background:#fff}
.gp-v33-rowform label:has(textarea){grid-column:span 2}
.gp-v33-rowform button[type=submit]{grid-column:span 2;justify-self:start;min-height:42px}
.gp-v34-state.is-expired{background:#fff0ce;color:#745000;padding:5px 9px;border-radius:8px;font-weight:700}
.gp-v34-expired-message{padding:12px 15px;border-left:3px solid #dfab00;border-radius:6px;background:#fff7df;line-height:1.6;color:#6b500c}
@media(max-width:760px){.gp-v33-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gp-v33-filter-grid label:first-child{grid-column:span 2}.gp-v33-rowform{grid-template-columns:1fr}.gp-v33-rowform label:has(textarea),.gp-v33-rowform button[type=submit]{grid-column:span 1}}
@media(max-width:440px){.gp-v33-filter-grid{grid-template-columns:1fr}.gp-v33-filter-grid label:first-child{grid-column:span 1}.gp-server-filters{padding:16px}}


/* v3.4.1: кабинет, карта и форма размещения */
.page-heading{margin-bottom:22px}
.gp-cabinet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border:1px solid #e0e1dc;border-radius:18px;background:linear-gradient(180deg,#fffef9 0%,#faf8ef 100%);box-shadow:0 10px 24px rgba(28,28,28,.04)}
.gp-cabinet-heading h1{margin:0 0 6px;font-size:clamp(30px,4vw,42px);line-height:1.05}
.gp-cabinet-heading .muted{margin:0;font-size:15px;line-height:1.6;color:#666}
.gp-cabinet-heading .tag{align-self:flex-start;white-space:nowrap;padding:9px 14px;border-radius:999px;background:#f3e5a0;color:#6f5400;font-weight:800}
.dash-content>.panel:first-child,.dash-content>.kpis:first-child{margin-top:0}
.kpis{margin-bottom:18px}
.gp-upload-field{border:1px dashed #d8dbe1;border-radius:14px;padding:14px;background:#fffdfa}
.gp-upload-field input[type=file]{display:block;width:100%;padding:12px 14px;border:1px solid #d5d8dd;border-radius:10px;background:#fff;box-sizing:border-box}
.gp-upload-field input[type=file]::file-selector-button{margin-right:12px;border:0;border-radius:10px;background:#e0aa00;color:#1d1d1d;font-weight:800;padding:10px 14px;cursor:pointer}
.gp-upload-field input[type=file]:hover::file-selector-button{filter:brightness(.98)}
.gp-map-layout{align-items:start;gap:22px}
.gp-map-details{padding:20px;position:relative}
.gp-map-details h3{margin-top:0;margin-bottom:12px}
.gp-map-details form{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
.gp-map-details form>*{min-width:0}
.gp-map-details label{display:block;font-size:13px;font-weight:700;line-height:1.45;color:#252525}
.gp-map-details select,.gp-map-details input,.gp-map-details textarea{display:block;width:100%;margin-top:6px;min-height:44px;padding:10px 12px;border:1px solid #ccd1d8;border-radius:10px;background:#fff;box-sizing:border-box;font:inherit}
.gp-map-details textarea{min-height:92px;resize:vertical}
.gp-map-details button,.gp-map-details .btn{justify-self:start;min-height:42px}
.gp-map-details .order-card{padding:16px;border:1px solid #e3e5e8;border-radius:14px;background:#fff;margin-bottom:14px}
.gp-map-details .order-card:last-child{margin-bottom:0}
.gp-map-details p,.gp-map-details .muted{line-height:1.55}
#order-create-form .panel h3{margin-top:0;margin-bottom:18px}
#order-create-form .panel .mini-note{line-height:1.55}
@media(max-width:980px){.gp-cabinet-heading{padding:18px 20px;gap:14px}.gp-cabinet-heading h1{font-size:clamp(26px,5vw,34px)}.gp-cabinet-heading .tag{font-size:12px;padding:8px 12px}}
@media(max-width:760px){.gp-cabinet-heading{flex-direction:column;align-items:flex-start}.gp-cabinet-heading .tag{align-self:flex-start}}


/* ==== Consolidated from v35-compact.css ==== */
/* v3.5: Compact desktop layout, unchanged mobile experience; no CSS zoom or transform */
@media (min-width: 801px) {
  body {font-size:13px;line-height:1.43}
  .container{width:min(1120px,calc(100% - 36px))}
  .head{height:55px;gap:16px}
  .brand{font-size:15px;gap:7px}
  .mark{width:33px;height:33px;font-size:13px;border-radius:7px}
  .brand small{font-size:8px;margin-top:3px}
  .nav{gap:15px}
  .head-actions{gap:8px}
  .btn{padding:8px 12px;font-size:12px;border-radius:8px;min-height:34px}
  .btn.small{padding:6px 10px;min-height:30px}
  .main{padding-top:16px;padding-bottom:30px}
  .page-heading{margin-bottom:14px;gap:12px}
  .page-heading h1{font-size:23px;line-height:1.15;margin:0 0 4px}
  .page-heading .muted{font-size:12px;line-height:1.4}
  .gp-cabinet-heading{padding:14px 19px;border-radius:12px;margin-bottom:14px}
  .gp-cabinet-heading h1{font-size:26px;line-height:1.16;margin:0 0 4px}
  .gp-cabinet-heading .muted{font-size:12px}
  .gp-cabinet-heading .tag{padding:5px 10px;font-size:11px}
  .dash{grid-template-columns:174px minmax(0,1fr);gap:12px}
  .sidebar{padding:8px;border-radius:10px;top:68px}
  .sidebar a{padding:8px 10px;font-size:12px;border-radius:7px;line-height:1.4}
  .panel,.tile,.order-card{padding:15px;border-radius:10px}
  .section{margin-top:20px}
  .section h2,.panel h2{font-size:19px}
  .panel h3,.tile h3{font-size:16px}
  .split{gap:12px}
  .grid{gap:10px}
  .kpis{gap:10px;margin-bottom:12px}
  .stat{font-size:21px}
  .form{gap:10px}
  .form input,.form select,.form textarea{padding:8px 10px;margin-top:4px;font-size:13px}
  .gp-v33-filter-grid{gap:11px}
  .gp-v33-filter-grid input,.gp-v33-filter-grid select{height:39px;font-size:13px}
  .gp-server-filters{padding:17px;margin-bottom:11px}
  .gp-v33-filter-form{gap:12px}
  .gp-v33-filter-form>button[type=submit]{min-height:38px}
  .gp-v33-rowform input,.gp-v33-rowform textarea{min-height:38px;font-size:13px}
  .gp-v33-rowform{gap:11px}
  .hero{padding:32px;gap:18px}
  .hero h1{font-size:34px}
  .hero-stat>div{padding:14px}
  .map{height:350px}
  .foot{font-size:11px}
}
/* Consistent, semantic page headings; preserve one H1 per page */
.page-heading:not(.gp-cabinet-heading) h1 {font-weight:800;letter-spacing:-.02em}
.gp-cabinet-heading{background:#fffdf6}
.gp-max-integrated{margin-top:14px;scroll-margin-top:85px}
.gp-max-integrated .panel{margin:0}
.gp-max-integrated form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0}
.gp-max-integrated form label{display:inline-flex;align-items:center;gap:6px;margin-right:5px}
.gp-max-integrated input[type=checkbox]{width:auto;min-height:0}
@media(max-width:800px){.gp-max-integrated form{align-items:stretch}.gp-max-integrated form .btn{width:auto}}


/* ==== Consolidated from auth-v36.css ==== */
.gp-auth-wrap{max-width:560px;margin:24px auto 70px}.gp-auth-card{padding:clamp(18px,3vw,34px)}.gp-auth-card h1{font-size:clamp(25px,3vw,34px);margin:0 0 8px}.gp-auth-card .form{gap:15px;margin-top:22px}.gp-auth-card input:not([type=checkbox]){width:100%;min-height:46px;padding:11px 13px;border:1px solid #ccd1d8;border-radius:9px;box-sizing:border-box;background:#fff}.gp-auth-card .btn{width:100%;min-height:46px}.gp-auth-card label{font-weight:600}.gp-auth-card .activity-options{display:flex;gap:15px;flex-wrap:wrap;margin-top:12px}.gp-auth-card .activity-options label{font-weight:500}.gp-auth-card hr{margin-top:24px}.gp-auth-card #gp-vkid{min-height:70px;max-width:100%;overflow:hidden}.gp-auth-card p{line-height:1.55}


/* ==== Consolidated from notice-center-v371.css ==== */
.gp-matches-count,.gp-badge-visible{display:inline-flex!important;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#efb500;color:#171717;font-size:11px;font-weight:800;vertical-align:middle;margin-left:7px;box-sizing:border-box}.gp-matches-count:not(.gp-badge-visible){display:none!important}.gp-ncenter{margin-top:18px}.gp-ncenter-tabs,.gp-ncenter-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.gp-ncenter button{font:inherit;font-weight:650;cursor:pointer;padding:9px 12px;border:1px solid #d9dfe5;border-radius:9px;background:#fff;color:#333}.gp-ncenter-tabs button.active{background:#ffe69c;border-color:#d5a100}.gp-ncenter-actions button.danger{color:#9f2525}.gp-ncenter-feed{display:grid;gap:8px}.gp-notice-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #e0e3e8;border-radius:10px}.gp-notice-item.is-new{background:#fff9e7;border-color:#e5bf55}.gp-notice-item.is-read{background:#f5f6f6;opacity:.8}.gp-notice-copy{min-width:0;flex:1}.gp-notice-copy a{display:block;overflow-wrap:anywhere;margin-top:5px;font-weight:650;color:inherit}.gp-notice-top{display:flex;align-items:center;gap:9px;font-size:12px;color:#696969}.gp-notice-top time{margin-left:auto}.gp-notice-dot{width:8px;height:8px;border-radius:50%;background:#d6a000}.is-read .gp-notice-dot{background:#b8bdc4}.gp-notice-controls{display:flex;gap:5px}.gp-ncenter .gp-notice-controls button{padding:7px 11px}.gp-notice-empty{padding:24px;text-align:center;color:#666}@media(max-width:620px){.gp-notice-item{align-items:flex-start}.gp-ncenter-tabs button{flex:1}.gp-notice-top{flex-wrap:wrap}.gp-notice-top time{margin-left:0}}

/* ==== v3.8: unified controls and cross-page appearance ==== */
:root{--gp-control-height:42px;--gp-radius:9px;--gp-border:#ccd3d9;--gp-focus:#e4ab00}
:where(.panel,.order-card,.tile,.sidebar,.gp-auth-card){border-radius:12px}
:where(.form,.gp-v33-rowform,.gp-server-filters,.gp-auth-card,.gp-hub,.gp-map-details) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), select,textarea),
:where(.panel,.gp-v33-order-inner) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea){
 box-sizing:border-box;min-width:0;max-width:100%;font:inherit;color:var(--ink);background:#fff;border:1px solid var(--gp-border);border-radius:var(--gp-radius);padding:10px 12px;outline:none;min-height:var(--gp-control-height);line-height:1.35;
}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input,select,textarea):focus-visible{border-color:var(--gp-focus);box-shadow:0 0 0 3px rgba(228,171,0,.18)}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input,select,textarea):disabled{background:#f0f0ec;cursor:not-allowed}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(label){min-width:0;overflow-wrap:anywhere}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(textarea){min-height:80px;resize:vertical}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input[type=checkbox],input[type=radio]){accent-color:#e4ab00;min-height:auto;width:auto}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input[type=file]){max-width:100%;min-width:0;box-sizing:border-box}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input[type=file])::file-selector-button{background:#e4ab00;color:#151515;border:1px solid #c39100;border-radius:7px;padding:9px 13px;font:inherit;font-weight:700;cursor:pointer;margin-right:10px}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input[type=file])::file-selector-button:hover{background:#f7c623}
:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(button,.btn){max-width:100%}
.page-heading h1{line-height:1.18;letter-spacing:-.02em}
@media(max-width:700px){:where(.panel,.form,.gp-auth-card,.gp-server-filters) :where(input,select,textarea){font-size:16px}}

/* Карточка заявки: ранее price-compare-v373.css */
.gp-v373-quote{display:grid;gap:6px;margin:16px 0;padding:16px;border:1px solid #e7d390;border-radius:12px;background:#fff9e5;color:#262626}.gp-v373-quote>span{font-size:12px;font-weight:650}.gp-v373-quote>strong{font-size:22px;line-height:1.2}.gp-v373-quote small{font-size:12px;line-height:1.55;color:#675632}.gp-v373-diff{border-top:1px solid #e5d6aa;padding-top:10px;font-size:12px;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.gp-v373-note{border:1px solid #e5e5e5;padding:12px 15px;border-radius:10px}


/* Карточка заявки: ранее price-compare-v374.css */
/* v3.7.4: Price presentation and payment editing */
.gp-v374-price-summary{display:flex;flex-direction:column;gap:8px;align-items:flex-end;min-width:210px;max-width:100%;text-align:right}
.gp-v374-price-summary .gp-v374-client,.gp-v374-price-summary .gp-v374-carrier{display:flex;flex-direction:column;gap:4px;max-width:100%}
.gp-v374-price-summary small{font-size:12px;color:#575757;line-height:1.35}
.gp-v374-price-summary .gp-v374-carrier{background:#fff7de;border:1px solid #e8cb6a;padding:9px 14px;border-radius:10px}
.gp-v374-price-summary .gp-v374-carrier strong{font-size:19px;color:#181818}
.gp-v33-rowform .gp-v374-vat-field{min-width:0}
@media(max-width:650px){.gp-v374-price-summary{align-items:flex-start;text-align:left;width:100%}.gp-v374-price-summary .gp-v374-carrier{width:100%;box-sizing:border-box}}


/* Карточка заявки: ранее cargo-photos.css */
.gp-cargo-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.gp-cargo-photos img{width:100%;height:130px;object-fit:cover;border-radius:9px;border:1px solid #ddd}


/* Карточка заявки: ранее order-v372.css */
.gp-v372-map{height:285px;min-height:225px;border-radius:12px;overflow:hidden;margin-top:16px}.gp-v372-payment{display:flex;gap:14px;flex-wrap:wrap;align-items:end;padding:14px;border:1px solid #e4e0d4;background:#fffdf5;border-radius:12px}.gp-v372-payment>label{flex:1 1 220px;min-width:0}.gp-v372-payment select{width:100%;min-height:42px;margin-top:8px;border:1px solid #cbd1da;border-radius:9px;padding:8px 10px;background:#fff}.gp-v372-payment .mini-note{flex:1 1 100%;margin:0}.gp-v372-payment [hidden]{display:none!important}.gp-payment-small{display:block;font-size:12px;color:#786016;line-height:1.6}.gp-v372-map .leaflet-container{width:100%;height:100%}@media(max-width:650px){.gp-v372-map{height:230px}}

/* Подвал: перенесено из существующего legal-footer.php */

.tkft{background:var(--brand2);color:#eaeaea;border-top:3px solid var(--brand);margin-top:36px;font-size:12px}.tkft-inner{max-width:1120px;margin:auto;padding:22px 18px 13px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:25px}.tkft b{color:#fff}.tkft-mark{color:var(--brand);font-weight:800;font-size:16px;letter-spacing:.02em}.tkft p{color:#bcbcbc;margin:5px 0;line-height:1.6}.tkft a{color:#e2e2e2;text-decoration:none}.tkft a:hover{text-decoration:underline;color:var(--brand)}.tkft-links{display:grid;gap:7px;margin-top:8px}.tkft-bottom{max-width:1120px;margin:0 auto;padding:11px 18px 16px;border-top:1px solid #383838;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:#a8a8a8}.tkft-cookie-btn{color:var(--brand);background:transparent;border:0;cursor:pointer;padding:0;font:inherit}@media(max-width:740px){.tkft-inner{grid-template-columns:1fr 1fr;gap:17px}.tkft-about{grid-column:1/-1}}


/* ЕДИНЫЙ окончательный стиль каталога грузов, карточек и подвала */
body:has(.gp-server-filters) .order-card{background:#fff;border:1px solid #deded8;border-radius:10px;padding:12px 14px;margin-bottom:9px;color:#171717;box-shadow:none}
body:has(.gp-server-filters) .order-card .order-foot{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body:has(.gp-server-filters) .order-card .price{font-size:16px;line-height:1.25;color:#171717}
body:has(.gp-server-filters) .order-card .order-meta{font-size:11px;margin:6px 0;line-height:1.35}
body:has(.gp-server-filters) .order-card .btn{flex:none}
.tkft{margin-top:16px!important;font-size:11px;line-height:1.4}
.tkft-inner{padding:12px 18px 9px;grid-template-columns:1.2fr 1.5fr 1fr;gap:15px}
.tkft-mark{font-size:13px}.tkft p{margin:3px 0;line-height:1.35}
.tkft-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 7px;
}

.tkft-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 24px;
    align-items: start;
}
.tkft-bottom{padding:7px 18px 9px}
@media(max-width:700px){.tkft-inner{grid-template-columns:1fr 1fr;gap:10px;padding:12px}.tkft-about{grid-column:1/-1}.tkft-bottom{padding:7px 12px}}
/* Карточка конкретной заявки — единый внешний вид до загрузки JS */
.gp-detail-compact>.page-heading{background:#fff;border:1px solid #e2ded3;border-radius:10px;padding:14px;margin:0 0 12px;gap:12px;align-items:flex-start}
.gp-detail-compact>.page-heading h1{font-size:clamp(18px,2.2vw,23px);line-height:1.25;margin:6px 0}
.gp-detail-compact>.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.gp-detail-compact>.split>.panel{background:white;border:1px solid #e2ded3;border-radius:10px;padding:15px;min-width:0}
.gp-detail-compact .gp-v374-price-summary{max-width:100%}
.gp-detail-compact .gp-detail-vehicles{border:1px solid #e3decd;background:#fffdf6;border-radius:8px;padding:10px;margin:10px 0}
.gp-detail-compact .gp-detail-vehicle{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #e8e2d3}
.gp-detail-compact .gp-detail-vehicle>div{display:grid;gap:3px;min-width:0}
.gp-detail-compact .gp-detail-vehicle span,.gp-detail-compact .gp-detail-vehicle small{font-size:11px;color:#666}
.gp-detail-compact .gp-detail-own{display:inline-block;font-size:10px;font-style:normal;background:#fff2c1;border-radius:5px;padding:2px 6px;color:#6f5100}
@media(max-width:780px){.gp-detail-compact>.page-heading{display:block;padding:12px}.gp-detail-compact>.split{grid-template-columns:1fr}.gp-detail-compact>.split>.panel{padding:12px}body:has(.gp-server-filters) .order-card .order-foot{align-items:flex-start}}
/* Управление базовой темой через /admin/appearance/. Значения переменных задаёт layout.php после CSS. */
.header,.nav.opened{background-color:var(--brand2)}
.header{border-bottom-color:var(--brand)}
.header .mark{background:var(--brand);color:var(--brand2)}
.header .brand-light,.header .btn.outline,.header .menu-toggle{color:var(--brand)!important}
.header .btn.outline{border-color:var(--brand)}
body{background:var(--bg)}
.btn:not(.outline):not(.danger):not(.light){background:var(--brand);border-color:var(--brand);color:#161616!important}
.btn:not(.outline):not(.danger):not(.light):hover{filter:brightness(1.06)}
.gp-copy-link{border-color:var(--brand)}
.admin-menu a.active,.admin-menu a:hover{background:var(--accent);border-color:var(--brand)}
.tkft,.footer{background:var(--brand2);border-top-color:var(--brand)}
.tkft-mark,.tkft-cookie-btn,.tkft a:hover{color:var(--brand)}
@media(max-width:800px){.header .nav{background:var(--brand2)}}


/* TK-ITG /admin/vkqueue — compact, responsive, grouped VK publishing queue */
.gp-vk-panel{min-width:0}.gp-vk-intro{display:flex;justify-content:space-between;align-items:start;gap:15px}.gp-vk-intro h2{margin:0 0 7px}.gp-vk-intro p{margin:0;max-width:660px;font-size:12px}.gp-vk-group{flex:none;color:#846000;font-weight:750;white-space:nowrap;font-size:12px}.gp-vk-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin-top:14px}.gp-vk-column{display:grid;gap:12px;min-width:0}.gp-vk-block{border:1px solid #e4e0d5;background:#fcfcfa;border-radius:9px;min-width:0;padding:10px}.gp-vk-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.gp-vk-block-head h3{font-size:13px;line-height:1.35;margin:0;font-weight:800}.gp-vk-number{display:inline-flex;justify-content:center;align-items:center;border-radius:999px;min-width:25px;height:25px;padding:0 7px;background:#f5e9b7;font-size:12px;font-weight:800}.gp-vk-cards{display:grid;gap:7px}.gp-vk-card{padding:9px;border:1px solid #e4e1d8;border-radius:8px;background:#fff;min-width:0}.gp-vk-card--published{background:#fffdf5}.gp-vk-card-choice{display:flex!important;align-items:flex-start;gap:9px;cursor:pointer;font-weight:normal!important}.gp-vk-card-choice input[type=checkbox]{flex:none;width:16px!important;height:16px;margin:2px 0 0;padding:0;min-height:0}.gp-vk-card-info{min-width:0;display:grid;gap:4px}.gp-vk-card-info strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}.gp-vk-card-info small{font-size:11px;color:#555;line-height:1.35;overflow-wrap:anywhere}.gp-vk-card-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;margin:8px 0 0 25px}.gp-vk-card-foot>a{color:#906600;font-weight:700;font-size:11px}.gp-vk-status{display:inline-block;border-radius:5px;padding:3px 7px;background:#eaf5ec;color:#2d6a41;font-size:10px;font-weight:750}.gp-vk-status--published{background:#f7ebc7;color:#785a0c}.gp-vk-empty{padding:12px;border-radius:7px;background:#f8f7f3;color:#79756b;font-size:11px}.gp-vk-submit{display:flex;align-items:flex-end;gap:12px;border-top:1px solid #e5e1d5;padding-top:13px;margin-top:14px}.gp-vk-submit>label{flex:1;min-width:0;font-size:12px}.gp-vk-submit-side{display:flex;align-items:center;gap:10px;flex:none}.gp-vk-submit-side small{white-space:nowrap;color:#666;font-size:11px}.gp-vk-submit-side .btn{max-width:none}.gp-vk-panel>.mini-note{line-height:1.5}@media(max-width:1100px){.gp-vk-submit{align-items:stretch;flex-direction:column}.gp-vk-submit-side{justify-content:space-between}}@media(max-width:820px){.gp-vk-columns{grid-template-columns:minmax(0,1fr)}.gp-vk-intro{flex-wrap:wrap}.gp-vk-block{padding:9px}}@media(max-width:440px){.gp-vk-submit-side{flex-wrap:wrap}.gp-vk-submit-side .btn{width:100%}.gp-vk-card-foot{margin-left:0}}

/* v4.0: убрать крупную повторяющуюся шапку в кабинете, сохранить семантический H1 */
.gp-accessible-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* После удаления баннера кабинет начинается непосредственно с содержания */
@media(min-width:801px){.dash{margin-top:0}}

/* === VK button + softer page background === */
.btn.vk-btn{background:#2787f5;border-color:#2787f5;color:#fff}
.btn.vk-btn:hover{background:#1f78e7;border-color:#1f78e7;color:#fff}
.btn.vk-btn:focus-visible{outline:3px solid rgba(39,135,245,.28);outline-offset:2px}
.head-actions .vk-btn{font-weight:700}

/* 2026-10-22: VK brand button. Must override the global yellow .btn:not(...) rule. */
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light),
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light):visited{
  background-color:#2787f5!important;
  border-color:#2787f5!important;
  color:#fff!important;
}
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light):hover{
  background-color:#1877e5!important;
  border-color:#1877e5!important;
  color:#fff!important;
}

/* 2026-10-22: slightly stronger neutral background, high-contrast VK header link. */
html,body{background-color:#e1e1df!important}
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light),
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light):visited{
  background:#0756a8!important;
  border-color:#0756a8!important;
  color:#fff!important;
}
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light):hover,
.header .head-actions a.btn.vk-btn:not(.outline):not(.danger):not(.light):focus-visible{
  background:#064586!important;
  border-color:#064586!important;
  color:#fff!important;
}