/* ================================================================
   TaxiChi admin — design v2 (Nov 2026)
   Theme layer loaded after the legacy CSS. Graphite + taxi yellow.
   ================================================================ */
:root{
  --v2-ink:#111317;--v2-ink-2:#1B1E24;--v2-text:#111317;--v2-muted:#5B616E;--v2-faint:#8A909C;
  --v2-bg:#F4F5F7;--v2-card:#FFFFFF;--v2-line:#E6E8EC;--v2-line-2:#EEF0F3;--v2-soft:#F8F9FA;
  --v2-yellow:#FDBE03;--v2-yellow-soft:#FFF4D6;--v2-yellow-ink:#8A5A00;
  --v2-green:#1F7A45;--v2-green-soft:#E7F5EC;--v2-red:#B42318;--v2-red-soft:#FDECEA;--v2-blue:#1D4ED8;--v2-blue-soft:#E8EFFD;
  --v2-r:16px;--v2-r-sm:11px;
  --yellow:#FDBE03;--black:#111317;--muted:#5B616E;--green:#1F7A45;
}
body.v2{background:var(--v2-bg)!important;color:var(--v2-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;-webkit-font-smoothing:antialiased}
body.v2 h1,body.v2 h2,body.v2 h3{font-family:Manrope,Inter,sans-serif;letter-spacing:-.02em}
body.v2 .material-symbols-rounded{font-style:normal}

/* ---------- buttons & fields ---------- */
body.v2 button{font-family:inherit}
body.v2 button:hover,body.v2 .primary:hover,body.v2 .ghost:hover,body.v2 .danger:hover,body.v2 .success:hover{transform:none}
body.v2 .primary{background:var(--v2-yellow)!important;color:var(--v2-ink)!important;border:0!important;border-radius:var(--v2-r-sm)!important;font-weight:700!important;padding:0 20px;min-height:44px;cursor:pointer;box-shadow:none!important}
body.v2 .primary:hover{background:#F2B400!important}
body.v2 .ghost{background:#fff!important;color:var(--v2-ink)!important;border:1px solid #D9DCE2!important;border-radius:var(--v2-r-sm)!important;font-weight:600!important;padding:0 16px;min-height:40px;cursor:pointer;box-shadow:none!important}
body.v2 .ghost:hover{background:var(--v2-soft)!important}
body.v2 .danger{background:#fff!important;color:var(--v2-red)!important;border:1px solid #F3C4BE!important;border-radius:var(--v2-r-sm)!important;font-weight:600!important;padding:0 14px;min-height:38px;cursor:pointer;box-shadow:none!important}
body.v2 .danger:hover{background:var(--v2-red-soft)!important}
body.v2 .success{background:var(--v2-ink)!important;color:#fff!important;border:0!important;border-radius:var(--v2-r-sm)!important;font-weight:600!important;padding:0 14px;min-height:38px;cursor:pointer;box-shadow:none!important}
body.v2 input:not([type=checkbox]):not([type=radio]):not([type=file]),body.v2 select,body.v2 textarea{border:1px solid #D9DCE2!important;background:#fff!important;border-radius:var(--v2-r-sm)!important;color:var(--v2-text);font:500 14px/1.4 Inter,system-ui,sans-serif!important;outline:none!important;box-shadow:none!important}
body.v2 input:not([type=checkbox]):not([type=radio]):not([type=file]),body.v2 select{min-height:44px;padding:0 12px!important}
body.v2 textarea{padding:12px 14px!important}
body.v2 input:focus,body.v2 select:focus,body.v2 textarea:focus{border-color:var(--v2-ink)!important;box-shadow:0 0 0 3px rgba(253,190,3,.35)!important}
body.v2 input[type=checkbox]{accent-color:var(--v2-ink);width:17px;height:17px}
body.v2 .form-field{display:flex!important;flex-direction:column;gap:7px;font-size:13px!important;font-weight:600!important;color:var(--v2-text)!important;margin-bottom:12px}
body.v2 .form-field input,body.v2 .form-field textarea,body.v2 .form-field select{width:100%;margin:0!important}
body.v2 .check-field{display:flex!important;align-items:center;gap:10px;font-size:14px;font-weight:500}
body.v2 .form-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:6px}
body.v2 .form-actions .primary{flex:0 0 auto}

/* ---------- login ---------- */
body.v2 .login-page{min-height:100vh;display:flex!important;flex-wrap:wrap;padding:0!important;background:var(--v2-bg)!important;place-items:initial}
body.v2 .login-page[hidden]{display:none!important}
body.v2 .v2-login-brand{flex:1 1 480px;min-width:0;background:var(--v2-ink);color:#fff;padding:56px 64px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:48px;position:relative;overflow:hidden}
body.v2 .v2-login-brand:after{content:"";position:absolute;right:-120px;bottom:-120px;width:420px;height:420px;border-radius:50%;border:56px solid rgba(253,190,3,.08)}
body.v2 .v2-brand-row{display:flex;align-items:center;gap:14px;position:relative;z-index:1}
body.v2 .v2-brand-row b{display:block;font:800 20px Manrope,Inter,sans-serif}
body.v2 .v2-brand-row span{font-size:13px;color:#A3A9B5}
body.v2 .v2-brand-icon{width:44px;height:44px;border-radius:12px;display:block;object-fit:cover}
body.v2 .v2-login-pitch{max-width:470px;position:relative;z-index:1}
body.v2 .v2-login-pitch h2{font:800 40px/1.12 Manrope,Inter,sans-serif;margin:0 0 18px}
body.v2 .v2-login-pitch p{color:#C4C9D2;font-size:16px;line-height:1.6;margin:0 0 28px}
body.v2 .v2-login-pitch ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
body.v2 .v2-login-pitch li{display:flex;align-items:center;gap:12px;color:#E6E8EC;font-size:15px}
body.v2 .v2-login-pitch li i{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.07);display:grid;place-items:center;color:var(--v2-yellow);font-size:19px}
body.v2 .v2-login-brand>small{color:#8A909C;font-size:13px;position:relative;z-index:1}
body.v2 .v2-login-side{flex:1 1 440px;min-width:0;display:flex;align-items:center;justify-content:center;padding:48px 24px;box-sizing:border-box}
body.v2 .login-card{width:100%!important;max-width:400px;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;display:flex;flex-direction:column;gap:0}
body.v2 .login-card .brand-logo{display:none}
body.v2 .login-card h1{font:800 30px Manrope,Inter,sans-serif!important;margin:0 0 6px!important}
body.v2 .login-card>p{color:var(--v2-muted)!important;font-size:15px;margin:0 0 24px!important}
body.v2 .login-card label{display:flex;flex-direction:column;gap:8px;font-size:14px!important;font-weight:600!important;margin-bottom:16px}
body.v2 .v2-input{position:relative;display:block}
body.v2 .v2-input>i{position:absolute;left:13px;top:13px;font-size:20px;color:#6B7280;pointer-events:none}
body.v2 .login-card .v2-input input{width:100%;height:48px;margin:0!important;padding:0 48px 0 42px!important;box-sizing:border-box;font-size:15px!important}
body.v2 .v2-eye{position:absolute;right:2px;top:2px;width:44px;height:44px;min-height:44px;border:0;background:transparent;color:var(--v2-muted);cursor:pointer;display:grid;place-items:center;border-radius:10px}
body.v2 .login-card #loginButton{width:100%;height:52px;font-size:16px!important;margin-top:6px}
body.v2 .login-card .reset-password-button{align-self:center;border:0!important;background:transparent!important;color:var(--v2-ink)!important;font-weight:600;margin-top:10px;text-decoration:underline;text-underline-offset:3px}
body.v2 .login-card .error{color:var(--v2-red);font-size:14px;margin-top:8px;min-height:20px}
body.v2 .v2-login-note{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--v2-line);color:var(--v2-muted);font-size:13px;line-height:1.5;margin-top:10px}
body.v2 .v2-login-note i{font-size:18px}

/* ---------- shell ---------- */
body.v2 .app{grid-template-columns:248px minmax(0,1fr)!important;max-width:none!important}
body.v2 aside{width:248px!important;background:var(--v2-ink)!important;padding:20px 14px 16px!important;gap:18px;overflow-y:auto}
body.v2 .aside-brand{padding:2px 8px 4px!important;gap:12px!important}
body.v2 .brand-mark{width:40px!important;height:40px!important;border-radius:11px!important;box-shadow:none!important;background:var(--v2-yellow)!important}
body.v2 .brand-copy b{font:800 18px Manrope,Inter,sans-serif!important;color:#fff!important}
body.v2 .brand-copy span{background:transparent!important;padding:0!important;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;color:#A3A9B5!important}
body.v2 aside nav{display:flex;flex-direction:column;gap:2px}
body.v2 .v2-nav-group{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8A909C;padding:14px 12px 6px}
body.v2 .v2-nav-group:first-child{padding-top:4px}
body.v2 .nav{min-height:40px!important;padding:0 12px!important;gap:12px!important;border-radius:10px!important;background:transparent!important;color:#C4C9D2!important;box-shadow:none!important;display:flex;align-items:center;width:100%;text-align:left}
body.v2 .nav:hover{background:rgba(255,255,255,.05)!important;color:#fff!important}
body.v2 .nav.active{background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--v2-yellow)!important}
body.v2 .nav i.material-symbols-rounded{flex:0 0 20px;width:20px!important;height:20px!important;background:transparent!important;color:inherit!important;font-size:20px!important;box-shadow:none!important;border-radius:0!important}
body.v2 .nav.active i.material-symbols-rounded{color:var(--v2-yellow)!important;background:transparent!important}
body.v2 .nav span{font-size:14px!important;font-weight:500!important;flex:1}
body.v2 .nav.active span{font-weight:600!important}
body.v2 .v2-badge{font-style:normal;font-size:11px;font-weight:700;background:var(--v2-yellow);color:var(--v2-ink);border-radius:999px;padding:2px 7px;line-height:1.3}
body.v2 .v2-badge.live{background:rgba(46,204,113,.14);color:#7EE2A8}
body.v2 .v2-badge[hidden]{display:none}
body.v2 .aside-bottom{margin-top:auto;border:0!important;padding:12px!important;border-radius:12px;background:rgba(255,255,255,.05);display:flex;align-items:center;gap:12px;color:#fff}
body.v2 .v2-user-avatar{width:36px;height:36px;border-radius:50%;background:#2A2E36;color:var(--v2-yellow);display:grid;place-items:center;font-weight:700;flex:none}
body.v2 .v2-user-copy{display:flex;flex-direction:column;min-width:0;flex:1}
body.v2 .v2-user-copy b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.v2 .v2-user-copy>span{font-size:12px;color:#A3A9B5;display:flex!important;align-items:center;gap:6px}
body.v2 .aside-bottom .dot{width:7px;height:7px;margin:0!important;background:#2ECC71}
body.v2 .aside-bottom button#logout{width:36px;height:36px;min-height:36px;margin:0!important;padding:0;border-radius:9px;background:transparent!important;color:#C4C9D2!important;display:grid;place-items:center;font-size:0}
body.v2 .aside-bottom button#logout:after{content:none!important}
body.v2 .aside-bottom button#logout i{font-size:20px}
body.v2 .aside-bottom button#logout:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
body.v2 main{max-width:1480px!important;padding:28px 32px 48px!important}
body.v2 main>header{margin-bottom:22px!important;align-items:flex-end}
body.v2 main>header>div{display:flex;flex-direction:column;gap:4px}
body.v2 main>header h1{font:800 28px Manrope,Inter,sans-serif!important;margin:0!important}
body.v2 main>header p{color:var(--v2-muted)!important;font-size:14px!important;margin:0!important}
body.v2 #menu{display:none;border:0;background:transparent;min-height:40px;width:40px;padding:0;border-radius:10px}
body.v2 #refresh{display:none!important}

/* ---------- cards ---------- */
body.v2 .panel{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;border-radius:var(--v2-r)!important;box-shadow:none!important;padding:20px 22px!important;margin-bottom:16px}
body.v2 .panel-title{margin-bottom:16px!important;align-items:flex-start!important}
body.v2 .panel-title h2,body.v2 .panel h2{font:800 18px Manrope,Inter,sans-serif!important;margin:0}
body.v2 .panel-title span{font-size:13px!important;color:var(--v2-muted)!important;background:transparent!important;padding:0!important}
body.v2 .panel-title>div{display:flex;flex-direction:column;gap:4px}
body.v2 .panel-title .link-page,body.v2 .panel-title>button.link-page{color:var(--v2-ink)!important;font-weight:600!important;font-size:14px;background:transparent!important;border:0!important;min-height:auto;padding:0}
body.v2 .grid.two{gap:16px}
body.v2 .eyebrow{font-size:12px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase;color:var(--v2-muted)!important}

/* metrics */
body.v2 .metrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:14px!important;margin-bottom:16px!important}
body.v2 .metric{background:#fff!important;color:var(--v2-text)!important;border:1px solid var(--v2-line)!important;border-radius:var(--v2-r)!important;box-shadow:none!important;padding:18px 20px!important}
body.v2 .metric small{font-size:14px!important;font-weight:600!important;color:var(--v2-muted)!important}
body.v2 .metric strong{font:800 28px Manrope,Inter,sans-serif!important;letter-spacing:-.02em;margin-top:8px!important}
body.v2 .metric em{font-size:13px!important;color:var(--v2-muted)!important}
body.v2 .metric.dark{background:var(--v2-ink)!important;color:#fff!important;border-color:var(--v2-ink)!important}
body.v2 .metric.dark small,body.v2 .metric.dark em{color:#A3A9B5!important}
body.v2 .metric.yellow{background:var(--v2-yellow)!important;border-color:var(--v2-yellow)!important}
body.v2 .metric.yellow small,body.v2 .metric.yellow em{color:rgba(17,19,23,.72)!important}
body.v2 .clickable-metric{cursor:pointer}
body.v2 .clickable-metric:hover{border-color:#C4C9D2!important}

/* v2 stats */
body.v2 .v2-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:16px}
body.v2 .v2-stats:empty{display:none}
body.v2 .v2-stat{background:#fff;border:1px solid var(--v2-line);border-radius:var(--v2-r);padding:16px 18px;display:flex;align-items:center;gap:14px}
body.v2 .v2-stat small{display:block;font-size:13px;color:var(--v2-muted);font-weight:500}
body.v2 .v2-stat b{display:block;font:800 24px Manrope,Inter,sans-serif;letter-spacing:-.02em}
body.v2 .v2-stat em{display:block;font-style:normal;font-size:12px;color:var(--v2-muted);margin-top:2px}
body.v2 .v2-stat-icon{width:42px;height:42px;border-radius:12px;background:#F1F2F4;display:grid;place-items:center;flex:none}
body.v2 .v2-stat-icon i{font-size:20px}
body.v2 .v2-stat.green .v2-stat-icon{background:var(--v2-green-soft);color:var(--v2-green)}
body.v2 .v2-stat.yellow .v2-stat-icon{background:var(--v2-yellow-soft);color:var(--v2-yellow-ink)}
body.v2 .v2-stat.blue .v2-stat-icon{background:var(--v2-blue-soft);color:var(--v2-blue)}

/* activity / mini rows */
body.v2 .activity{gap:12px}
body.v2 .activity>div{background:var(--v2-soft)!important;border:0!important;border-radius:12px!important;padding:16px!important}
body.v2 .activity b{font:800 26px Manrope,Inter,sans-serif}
body.v2 .activity span{color:var(--v2-muted)}
body.v2 .mini-row{border-bottom:1px solid var(--v2-line-2)!important;padding:10px 0!important;gap:12px}
body.v2 .mini-row:last-child{border-bottom:0!important}
body.v2 .mini-row b{font-weight:600}
body.v2 .mini-row span{color:var(--v2-muted);font-size:13px}
body.v2 .mini-row .online,body.v2 .online{color:var(--v2-green)!important;font-weight:600}
body.v2 .avatar{width:36px;height:36px;border-radius:50%;background:#F1F2F4!important;color:var(--v2-ink)!important;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none;position:relative;overflow:visible}
body.v2 .avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
body.v2 .avatar.is-online:after{content:"";position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:#22A55B;border:2px solid #fff}
body.v2 .money{font-weight:700}
body.v2 .bar-row{gap:12px}
body.v2 .bar{background:#EEF0F3!important;border-radius:999px!important;height:8px!important;overflow:hidden}
body.v2 .bar i{background:var(--v2-ink)!important;border-radius:999px}

/* badges */
body.v2 .badge{font-size:12px!important;font-weight:600!important;border-radius:999px!important;padding:3px 10px!important;background:#F1F2F4!important;color:var(--v2-muted)!important;border:0!important;display:inline-block;white-space:nowrap}
body.v2 .badge.active,body.v2 .badge.paid{background:var(--v2-green-soft)!important;color:var(--v2-green)!important}
body.v2 .badge.pending{background:var(--v2-yellow-soft)!important;color:var(--v2-yellow-ink)!important}
body.v2 .badge.rejected,body.v2 .badge.expired{background:var(--v2-red-soft)!important;color:var(--v2-red)!important}
body.v2 .v2-pill{font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px;display:inline-block}
body.v2 .v2-pill.green{background:var(--v2-green-soft);color:var(--v2-green)}

/* tables */
body.v2 .v2-scroll{overflow-x:auto}
body.v2 .table-panel{padding:0!important;overflow:hidden}
body.v2 .table-panel>.panel-title,body.v2 .table-panel>.toolbar{padding:18px 20px 0!important}
body.v2 .table-panel>.panel-title{margin-bottom:14px!important}
body.v2 table{width:100%;border-collapse:collapse;font-size:14px}
body.v2 .table-panel table,body.v2 .v2-table{min-width:760px}
body.v2 th{background:var(--v2-soft)!important;color:var(--v2-muted)!important;font-size:12px!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.05em!important;text-align:left;padding:12px 16px!important;border:0!important;white-space:nowrap}
body.v2 td{padding:12px 16px!important;border:0!important;border-top:1px solid var(--v2-line-2)!important;vertical-align:middle}
body.v2 th:first-child,body.v2 td:first-child{padding-left:20px!important}
body.v2 th:last-child,body.v2 td:last-child{padding-right:20px!important}
body.v2 th.num,body.v2 td.num{text-align:right}
body.v2 td.muted,body.v2 .muted{color:var(--v2-muted)}
body.v2 tr.clickable{cursor:pointer}
body.v2 tr.clickable:hover td{background:#FAFAFB}
body.v2 td small,body.v2 .v2-sub{display:block;font-size:12px;color:#6B7280}
body.v2 .v2-person{display:flex;align-items:center;gap:12px}
body.v2 .v2-person b{display:block;font-weight:600}
body.v2 .v2-person small{display:block;font-size:12px;color:#6B7280}
body.v2 .v2-seen{font-size:13px;color:var(--v2-muted)}
body.v2 .v2-seen.on{color:var(--v2-green);font-weight:600}
body.v2 .v2-empty-cell{text-align:center;color:var(--v2-muted);padding:28px!important}
body.v2 .v2-rank{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;font-weight:800;font-size:13px;color:var(--v2-muted)}
body.v2 .v2-rank.r1{background:var(--v2-yellow);color:var(--v2-ink)}
body.v2 .v2-rank.r2{background:#E3E6EB;color:var(--v2-ink)}
body.v2 .v2-rank.r3{background:#F3DFC7;color:#7A4A12}
body.v2 .actions{display:flex;gap:8px;justify-content:flex-end}

/* empty states */
body.v2 .v2-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:34px 16px;color:var(--v2-muted)}
body.v2 .v2-empty i{font-size:30px;width:56px;height:56px;border-radius:16px;background:var(--v2-soft);display:grid;place-items:center;color:var(--v2-faint);margin-bottom:4px}
body.v2 .v2-empty b{color:var(--v2-text);font-size:15px}
body.v2 .v2-empty span{font-size:13px;max-width:360px}
body.v2 .v2-empty.small{padding:18px 8px}

/* ---------- toolbars & tabs ---------- */
body.v2 .toolbar{display:flex!important;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px!important}
body.v2 .v2-toolbar-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.v2 .toolbar input{width:260px!important;max-width:100%;margin:0!important;display:block}
body.v2 #usersCount{font-size:13px;color:var(--v2-muted)}
body.v2 .v2-seg{display:flex;gap:4px;padding:4px;background:var(--v2-bg);border-radius:11px;flex-wrap:wrap}
body.v2 .v2-seg button{min-height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--v2-muted);font:600 13px Inter,sans-serif;cursor:pointer;display:flex;align-items:center;gap:6px}
body.v2 .v2-seg button span{font-size:12px;color:var(--v2-faint)}
body.v2 .v2-seg button.active{background:#fff;color:var(--v2-ink);box-shadow:0 1px 2px rgba(17,19,23,.08)}
body.v2 .v2-tabs{display:flex;gap:24px;border-bottom:1px solid #E1E4E9;margin:-4px 0 18px;flex-wrap:wrap}
body.v2 .v2-tabs button{min-height:46px;padding:0 2px;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;background:transparent;color:var(--v2-muted);font:600 15px Inter,sans-serif;cursor:pointer;border-radius:0;display:flex;align-items:center;gap:8px}
body.v2 .v2-tabs button.active{color:var(--v2-ink);border-bottom-color:var(--v2-yellow)}
body.v2 .v2-pane[hidden]{display:none!important}
body.v2 .date-filter{display:flex!important;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}
body.v2 .date-filter label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--v2-muted)}
body.v2 .date-filter button{background:var(--v2-ink)!important;color:#fff!important;border:0!important}

/* access toolbar */
body.v2 .access-toolbar{background:#fff!important;border:1px solid var(--v2-line)!important;border-radius:var(--v2-r)!important;box-shadow:none!important;padding:16px 20px!important;margin-bottom:16px!important;gap:14px!important}
body.v2 .access-toolbar>div:first-child b{font-size:15px}
body.v2 .access-toolbar>div:first-child span{font-size:13px;color:var(--v2-muted)}
body.v2 .access-state-card{border-radius:12px!important;border:0!important;padding:10px 14px!important}
body.v2 .access-state-card.open{background:var(--v2-green-soft)!important;color:var(--v2-green)!important}
body.v2 .access-state-card.closed{background:var(--v2-red-soft)!important;color:var(--v2-red)!important}
body.v2 .access-state-card span{display:block;font-size:12px;opacity:.85}

/* ---------- map ---------- */
body.v2 .v2-map-layout{display:flex;gap:16px;flex-wrap:wrap}
body.v2 .v2-map-wrap{flex:3 1 560px;min-width:0;position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--v2-line);background:#E9ECEF}
body.v2 #driversMap{height:calc(100vh - 170px)!important;min-height:560px!important;border-radius:0!important;margin:0!important;z-index:1}
body.v2 .map-summary{position:absolute!important;left:16px;top:16px;z-index:500;background:rgba(17,19,23,.88)!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:14px 18px!important;display:flex!important;flex-direction:column;gap:2px;box-shadow:0 8px 24px rgba(0,0,0,.18)!important;margin:0!important}
body.v2 .map-summary small{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#A3A9B5}
body.v2 .map-summary b{font:800 32px Manrope,Inter,sans-serif;color:#fff}
body.v2 .map-summary span{font-size:12px;color:#C4C9D2}
body.v2 .v2-map-side{flex:1 1 260px;min-width:0}
body.v2 .v2-bar-item{display:flex;flex-direction:column;gap:6px;padding:8px 0}
body.v2 .v2-bar-item>div{display:flex;justify-content:space-between;font-size:14px}
body.v2 .v2-bar-item i{display:block;height:6px;border-radius:999px;background:#EEF0F3;overflow:hidden}
body.v2 .v2-bar-item u{display:block;height:100%;background:var(--v2-ink);border-radius:999px}
body.v2 .leaflet-container{font-family:Inter,system-ui,sans-serif}

/* ---------- subscriptions ---------- */
body.v2 .subscription-studio{display:block!important}
body.v2 .subscription-hero,body.v2 .payment-settings-panel{display:block!important}
body.v2 .subscription-studio>.v2-pane>.metrics,body.v2 .v2-pane .metrics{display:grid!important}
body.v2 #subscriptionMetrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
body.v2 #subscriptionMetrics:has(.v2-stat){display:grid;gap:14px}
body.v2 .subscription-hero{background:var(--v2-ink)!important;color:#fff!important;border:0!important;display:flex!important;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
body.v2 .subscription-hero .eyebrow{color:#A3A9B5!important}
body.v2 .subscription-hero h2{color:#fff!important;font-size:24px!important;margin:4px 0!important}
body.v2 .subscription-hero p{color:#C4C9D2;margin:0;max-width:560px}
body.v2 .payment-settings-grid{gap:4px 16px!important}
body.v2 .provider-box{background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;border-radius:14px!important;padding:16px 18px!important;margin:8px 0 14px!important;box-shadow:none!important}
body.v2 .provider-box[hidden]{display:none!important}
body.v2 .provider-box h3{font-size:15px;margin:0 0 4px}
body.v2 .provider-box p{color:var(--v2-muted);font-size:13px;margin:0 0 12px}
body.v2 .public-offer-panel textarea{min-height:420px!important;font:400 14px/1.6 Inter,sans-serif!important;background:#fff!important}
body.v2 .purchase-row,body.v2 .withdraw-row{border:0!important;border-bottom:1px solid var(--v2-line-2)!important;box-shadow:none!important;border-radius:0!important;background:transparent!important}

/* ---------- referrals ---------- */
body.v2 #v2RefNote{font-size:12px!important;color:var(--v2-faint)!important}

/* ---------- contest ---------- */
body.v2 .v2-contest-hero{background:var(--v2-ink);color:#fff;border-radius:18px;padding:26px 28px;display:flex;gap:24px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:16px;position:relative;overflow:hidden}
body.v2 .v2-contest-hero:empty{display:none}
body.v2 .v2-contest-hero:after{content:"";position:absolute;right:-60px;top:-80px;width:280px;height:280px;border-radius:50%;border:44px solid rgba(253,190,3,.1);pointer-events:none}
body.v2 .v2-hero-main{display:flex;flex-direction:column;gap:10px;position:relative;z-index:1}
body.v2 .v2-hero-tags{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:#A3A9B5}
body.v2 .v2-live{font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px;background:rgba(255,255,255,.1);color:#C4C9D2}
body.v2 .v2-live.on{background:rgba(46,204,113,.14);color:#7EE2A8}
body.v2 .v2-contest-hero h2{margin:0;font:800 30px Manrope,Inter,sans-serif}
body.v2 .v2-hero-nums{display:flex;gap:28px;flex-wrap:wrap}
body.v2 .v2-hero-nums small{display:block;font-size:12px;color:#A3A9B5}
body.v2 .v2-hero-nums b{font:800 22px Manrope,Inter,sans-serif}
body.v2 .v2-podium{display:flex;align-items:flex-end;gap:10px;position:relative;z-index:1}
body.v2 .v2-pod{width:104px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
body.v2 .v2-pod .avatar{width:44px;height:44px;background:#2A2E36!important;color:#fff!important}
body.v2 .v2-pod b{font-size:12px}
body.v2 .v2-pod small{font-size:11px;color:#A3A9B5}
body.v2 .v2-pod>div{width:100%;border-radius:10px 10px 4px 4px;color:var(--v2-ink);font:800 20px Manrope,Inter,sans-serif;padding-top:8px}
body.v2 .v2-pod.p1>div{height:96px;background:var(--v2-yellow)}
body.v2 .v2-pod.p2>div{height:70px;background:#C9CED6}
body.v2 .v2-pod.p3>div{height:54px;background:#E3B98A}
body.v2 .contest-studio{gap:16px!important}
body.v2 .contest-editor{background:#fff!important}
body.v2 .contest-editor-head h2{font-size:18px!important}
body.v2 .contest-editor-head p{color:var(--v2-muted);font-size:13px;margin:4px 0 0}
body.v2 .contest-scope{background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;border-radius:14px!important;box-shadow:none!important;padding:16px!important}
body.v2 .contest-city-field select{border:1px solid #D9DCE2!important;border-radius:var(--v2-r-sm)!important;height:44px;font-weight:600}
body.v2 .tariff-checks{gap:8px!important}
body.v2 .tariff-checks label{border:1px solid #D9DCE2!important;background:#fff!important;border-radius:999px!important;padding:8px 14px!important;font-size:13px;font-weight:600;color:#3A3F48;box-shadow:none!important;transform:none!important}
body.v2 .tariff-checks label:has(input:checked){background:var(--v2-ink)!important;color:#fff!important;border-color:var(--v2-ink)!important}
body.v2 .tariff-checks input{position:absolute;opacity:0;pointer-events:none}
body.v2 .prize-input{background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;border-radius:12px!important;box-shadow:none!important}
body.v2 .prize-input.gold{border-color:#F5D27A!important;background:#FFFBEF!important}
body.v2 .prize-input input{background:#fff!important}
body.v2 .contest-live{background:#fff!important;color:var(--v2-text)!important;border:1px solid var(--v2-line)!important;border-radius:var(--v2-r)!important;box-shadow:none!important}
body.v2 .live-badge{background:var(--v2-yellow-soft)!important;color:var(--v2-yellow-ink)!important;border-radius:999px;font-weight:700}
body.v2 .preview-prize{background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;color:var(--v2-text)!important;border-radius:12px!important}
body.v2 .leaderboard-heading h2{font-size:22px!important;margin:2px 0 0}
body.v2 .leaderboard-heading>span{color:var(--v2-muted);font-size:13px}
body.v2 .podium{display:none!important}
body.v2 .save-state{border-radius:999px!important;font-size:12px!important;font-weight:600!important}
body.v2 .contest-history-row{border:0!important;border-top:1px solid var(--v2-line-2)!important;border-radius:0!important;background:transparent!important;padding:14px 0!important;box-shadow:none!important}
body.v2 .contest-history-row:first-child{border-top:0!important}
body.v2 .history-winners span{background:var(--v2-soft)!important;border-radius:8px;color:var(--v2-text)!important}

/* ---------- chat ---------- */
body.v2 .chat-layout{gap:16px!important}
body.v2 .chat-row{border:0!important;border-top:1px solid var(--v2-line-2)!important;border-radius:0!important;padding:14px 0!important;background:transparent!important;gap:12px}
body.v2 .chat-row:first-child{border-top:0!important}
body.v2 .chat-row .message b{font-size:14px;font-weight:700}
body.v2 .chat-row .message span{font-size:12px;color:#6B7280}
body.v2 .chat-row .message p{background:var(--v2-soft);border:1px solid var(--v2-line);border-radius:4px 14px 14px 14px;padding:10px 14px;margin:6px 0 0;font-size:14px;line-height:1.5;display:inline-block;max-width:100%}
body.v2 .chat-row img{max-width:240px;border-radius:12px;margin-top:6px}
body.v2 .report-row.new-report .message p{border-color:#F3C4BE;background:#FFF8F7}
body.v2 .report-row .avatar{background:var(--v2-red-soft)!important;color:var(--v2-red)!important}

/* ---------- newsletter ---------- */
body.v2 .v2-news-layout{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start}
body.v2 .v2-news-layout>.newsletter-card{flex:3 1 480px;min-width:0;max-width:none!important;margin:0 0 16px}
body.v2 .newsletter-card #newsSend{align-self:flex-end;margin-top:4px}
body.v2 .newsletter-card{display:flex!important;flex-direction:column}
body.v2 .muted-note{color:var(--v2-muted)!important;font-size:12px!important;margin:10px 0 0!important}
body.v2 .v2-phone-preview{flex:2 1 300px;min-width:0;display:flex;flex-direction:column;gap:10px}
body.v2 .v2-caption{font-size:13px;font-weight:600;color:var(--v2-muted)}
body.v2 .v2-phone{background:var(--v2-ink);border-radius:30px;padding:14px;max-width:340px}
body.v2 .v2-phone-screen{background:var(--v2-bg);border-radius:20px;padding:16px;min-height:300px;display:flex;flex-direction:column;gap:12px}
body.v2 .v2-phone-title{font:800 18px Manrope,Inter,sans-serif}
body.v2 .v2-phone-card{background:#fff;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px;box-shadow:0 1px 2px rgba(17,19,23,.06)}
body.v2 .v2-phone-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#6B7280}
body.v2 .v2-phone-meta img{width:24px;height:24px;border-radius:7px}
body.v2 .v2-phone-card b{font-size:15px}
body.v2 .v2-phone-card p{margin:0;font-size:13px;line-height:1.5;color:#3A3F48;white-space:pre-line;word-break:break-word}
body.v2 .news-history-row{border:0!important;border-top:1px solid var(--v2-line-2)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:14px 0!important}
body.v2 .news-history-row:first-child{border-top:0!important}
body.v2 .news-history-row p{color:#3A3F48;font-size:14px}
body.v2 .news-history-row span{color:var(--v2-muted);font-size:13px}

/* ---------- partners / ads ---------- */
body.v2 .partners-admin-heading{display:flex!important;justify-content:flex-end;margin:0 0 14px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.v2 .partners-admin-heading>div:first-child{display:none}
body.v2 #partners .partner-heading-actions{display:flex;gap:10px}
body.v2 .partner-summary{gap:14px!important}
body.v2 .partner-summary>div{background:#fff!important;border:1px solid var(--v2-line)!important;border-radius:var(--v2-r)!important;box-shadow:none!important;color:var(--v2-text)!important}
body.v2 .partner-summary b{font:800 24px Manrope,Inter,sans-serif!important;color:var(--v2-text)!important}
body.v2 .partner-summary span{color:var(--v2-muted)!important}
body.v2 .partner-summary .active{border-color:#BFE6CD!important;background:#F6FCF8!important}
body.v2 .partner-toolbar{gap:10px!important}
body.v2 .partner-admin-grid>.panel{box-shadow:none!important;border:1px solid var(--v2-line)!important}
body.v2 .partner-admin-grid>.panel:first-child{background:#fff!important}
body.v2 .partner-admin-grid .panel-title span{background:#F1F2F4!important;color:var(--v2-muted)!important;padding:4px 10px!important;border-radius:999px}
body.v2 .partner-table-head{color:var(--v2-muted)!important;font-size:12px!important;font-weight:600;text-transform:uppercase;letter-spacing:.05em;background:var(--v2-soft)!important;border-radius:10px}
body.v2 .partner-table-row{border:0!important;border-top:1px solid var(--v2-line-2)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.v2 .partner-table-row img{border-radius:10px!important;background:#E9EBEF}
body.v2 .partner-category-pill{background:#F1F2F4!important;color:#3A3F48!important;border-radius:999px!important;font-weight:600}
body.v2 .partner-status.active{color:var(--v2-green)!important}
body.v2 .partner-row-actions button{border-radius:9px!important}
body.v2 .inactive-ad{opacity:.62}
body.v2 .ad-switch input:checked+i,body.v2 .contest-toggle input:checked+i{background:var(--v2-ink)!important}
body.v2 .ad-switch input:checked+i:after,body.v2 .contest-toggle input:checked+i:after{background:var(--v2-yellow)!important}
body.v2 .partner-editor{border-radius:18px!important}

/* ---------- system ---------- */
body.v2 .quality-card,body.v2 .prediction-row,body.v2 .quality-row{border:1px solid var(--v2-line)!important;border-radius:12px!important;box-shadow:none!important;background:#fff!important}
body.v2 .quality-grade{border-radius:8px!important}
body.v2 .quality-grade.good{background:var(--v2-green-soft)!important;color:var(--v2-green)!important}
body.v2 .quality-grade.ok{background:var(--v2-blue-soft)!important;color:var(--v2-blue)!important}
body.v2 .quality-grade.warn{background:var(--v2-yellow-soft)!important;color:var(--v2-yellow-ink)!important}
body.v2 .quality-grade.bad{background:var(--v2-red-soft)!important;color:var(--v2-red)!important}
body.v2 .notice{background:#fff!important}
body.v2 .notice ul{margin:12px 0 0;padding-left:20px;line-height:1.9;color:#3A3F48}
body.v2 .support-settings-panel{margin-top:0}

/* ---------- cabinet ---------- */
body.v2 .cabinet-hero{background:#fff!important;color:var(--v2-text)!important;border:1px solid var(--v2-line)!important;border-radius:var(--v2-r)!important;box-shadow:none!important;padding:20px 22px!important;margin-bottom:16px}
body.v2 .cabinet-hero h2{font-size:20px!important;margin:0 0 4px!important;color:var(--v2-text)!important}
body.v2 .cabinet-hero p{color:var(--v2-muted)!important;margin:0}
body.v2 #cabinetRoleBadge{background:var(--v2-yellow-soft)!important;color:var(--v2-yellow-ink)!important;border-radius:999px!important;font-weight:700;font-size:12px;padding:4px 12px!important}
body.v2 .v2-subhead{display:block;font-size:14px;margin:6px 0 8px}
body.v2 .cabinet-section-grid{gap:6px 12px!important}
body.v2 .cabinet-check{border:1px solid var(--v2-line)!important;background:#fff!important;border-radius:10px!important;padding:8px 10px!important;font-size:14px;font-weight:500;box-shadow:none!important}
body.v2 .cabinet-check:has(input:checked){border-color:var(--v2-ink)!important}
body.v2 .cabinet-user{border:0!important;border-top:1px solid var(--v2-line-2)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:12px 0!important}
body.v2 .cabinet-user:first-child{border-top:0!important}
body.v2 .cabinet-note{background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;color:var(--v2-muted)!important;border-radius:12px!important;font-size:13px;margin-top:14px}

/* ---------- modals & toast ---------- */
body.v2 .modal-backdrop,body.v2 .access-confirm-backdrop{background:rgba(17,19,23,.5)!important;backdrop-filter:blur(3px)}
body.v2 .driver-profile,body.v2 .access-confirm-card,body.v2 .ad-preview-modal{border-radius:18px!important;border:1px solid var(--v2-line)!important;box-shadow:0 24px 60px rgba(17,19,23,.2)!important}
body.v2 .modal-close{border-radius:10px!important;background:#F1F2F4!important;color:var(--v2-ink)!important;border:0!important}
body.v2 .profile-stat{background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;border-radius:12px!important;box-shadow:none!important}
body.v2 .profile-head .avatar{width:56px!important;height:56px!important;border-radius:50%!important;font-size:20px!important;background:var(--v2-yellow)!important}
body.v2 .order-card{border:1px solid var(--v2-line)!important;border-radius:12px!important;box-shadow:none!important}
body.v2 .access-confirm-icon{background:var(--v2-yellow)!important;color:var(--v2-ink)!important}
body.v2 #toast{background:var(--v2-ink)!important;color:#fff!important;border-radius:12px!important;font-weight:600}
body.v2 .page-loader-spinner{border-top-color:var(--v2-yellow)!important;border-right-color:var(--v2-ink)!important}

/* ---------- responsive ---------- */
@media (max-width:1050px){
  body.v2 .app{grid-template-columns:76px minmax(0,1fr)!important}
  body.v2 aside{width:76px!important;padding:16px 10px!important}
  body.v2 .brand-copy,body.v2 .v2-nav-group,body.v2 .nav span,body.v2 .nav .v2-badge,body.v2 .v2-user-copy,body.v2 .v2-user-avatar{display:none!important}
  body.v2 .aside-brand{justify-content:center;padding:0!important}
  body.v2 .nav{justify-content:center;padding:0!important}
  body.v2 .aside-bottom{justify-content:center;padding:8px!important}
  body.v2 main{padding:22px 20px 40px!important}
}
@media (max-width:760px){
  body.v2 .app{display:block!important}
  body.v2 aside{width:270px!important;transform:translateX(-100%);transition:transform .22s ease;z-index:1000}
  body.v2 .app.menu-open aside{transform:none}
  body.v2 .app.menu-open .brand-copy,body.v2 .app.menu-open .v2-nav-group,body.v2 .app.menu-open .nav span,body.v2 .app.menu-open .v2-user-copy,body.v2 .app.menu-open .v2-user-avatar{display:block!important}
  body.v2 .app.menu-open .nav{justify-content:flex-start;padding:0 12px!important}
  body.v2 #menu{display:grid!important;place-items:center}
  body.v2 main{padding:14px 12px 60px!important}
  body.v2 main>header{position:sticky;top:0;z-index:60;background:var(--v2-bg);padding:8px 0}
  body.v2 main>header>div{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
  body.v2 main>header p{width:100%}
  body.v2 main>header h1{font-size:22px!important}
  body.v2 .v2-login-brand{display:none}
  body.v2 .metrics,body.v2 .metrics.mini,body.v2 .v2-stats{grid-template-columns:1fr 1fr!important}
  body.v2 .v2-tabs{gap:16px;overflow-x:auto;flex-wrap:nowrap}
  body.v2 .v2-tabs button{white-space:nowrap;font-size:14px}
  body.v2 .toolbar input{width:100%!important}
  body.v2 .v2-contest-hero{padding:20px}
  body.v2 .v2-podium{display:none}
  body.v2 #driversMap{height:60vh!important;min-height:380px!important}
}

/* ---------- v3 polish ---------- */
body.v2 .nav,body.v2 .nav i{transition:none!important}
body.v2 #overview .metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.v2 #overview .grid.two{align-items:start}
body.v2 .activity{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.v2 .activity b{display:block}
body.v2 .chat-layout{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;max-width:none!important;width:100%!important;margin:0!important;align-items:start}
body.v2 .chat-panel{max-width:none!important;width:auto!important;margin:0!important;min-height:320px}
body.v2 .preview-prize b,body.v2 .preview-prize span,body.v2 .prize-preview b{color:var(--v2-text)!important}
body.v2 .contest-live h3{font:800 22px Manrope,Inter,sans-serif;margin:12px 0 4px}
body.v2 .contest-live p{color:var(--v2-muted);font-size:13px}
body.v2 .cabinet-hero{display:none!important}
body.v2 .prediction-row{padding:12px 16px!important;gap:12px}
body.v2 .prediction-row small,body.v2 .prediction-row span{color:var(--v2-muted)}
body.v2 .v2-map-side .panel{margin:0}
body.v2 .partner-table-row{padding:14px 8px!important;align-items:center}
body.v2 .partner-status{border-radius:999px!important;font-size:12px!important;font-weight:600!important}
body.v2 .partner-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.v2 .partner-summary>div{padding:16px 18px!important}
body.v2 .leaderboard-table-card td:first-child b,body.v2 .leaderboard-table-card td:first-child{font-weight:700}
@media (max-width:1050px){body.v2 #overview .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.v2 .chat-layout{grid-template-columns:1fr!important}}

/* ================= v4: stronger look ================= */
/* login fix */
body.v2 #adminLogin,body.v2 #adminPassword{padding:0 48px 0 44px!important;height:50px}

/* ---- page hero ---- */
body.v2 main>header{background:var(--v2-ink)!important;color:#fff;border-radius:20px;padding:22px 26px!important;margin-bottom:20px!important;display:flex!important;align-items:center!important;gap:18px;position:relative;overflow:hidden;justify-content:flex-start!important}
body.v2 main>header:before{content:"";position:absolute;right:-70px;top:-110px;width:300px;height:300px;border-radius:50%;border:46px solid rgba(253,190,3,.09);pointer-events:none}
body.v2 main>header:after{content:"";position:absolute;right:150px;bottom:-150px;width:220px;height:220px;border-radius:50%;border:30px solid rgba(255,255,255,.035);pointer-events:none}
body.v2 .v2-hero-ic{width:54px;height:54px;border-radius:16px;background:var(--v2-yellow);color:var(--v2-ink);display:grid;place-items:center;flex:none;position:relative;z-index:1}
body.v2 .v2-hero-ic i{font-size:28px}
body.v2 .v2-hero-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;position:relative;z-index:1}
body.v2 main>header h1{color:#fff!important;font:800 26px Manrope,Inter,sans-serif!important}
body.v2 #v2HeroDesc{color:#A3A9B5;font-size:14px}
body.v2 .v2-hero-meta{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;background:rgba(255,255,255,.07);border-radius:999px;padding:8px 14px;position:relative;z-index:1;flex:none}
body.v2 .v2-hero-meta p{color:#E6E8EC!important;font-size:13px!important;font-weight:500;white-space:nowrap}
body.v2 .v2-live-dot{width:8px;height:8px;border-radius:50%;background:#2ECC71;box-shadow:0 0 0 4px rgba(46,204,113,.18);flex:none}
body.v2 #menu{color:#fff}

/* ---- metric icons ---- */
body.v2 .metric{position:relative;padding-right:64px!important;min-height:112px}
body.v2 .metric:before{font-family:"Material Symbols Rounded";font-size:20px;line-height:1;position:absolute;right:16px;top:16px;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#F1F2F4;color:var(--v2-ink);content:"insights"}
body.v2 .metric.dark:before{background:rgba(255,255,255,.1);color:var(--v2-yellow)}
body.v2 .metric.yellow:before{background:rgba(17,19,23,.1);color:var(--v2-ink)}
body.v2 #metrics .metric:nth-child(1):before{content:"group"}
body.v2 #metrics .metric:nth-child(2):before{content:"sensors"}
body.v2 #metrics .metric:nth-child(3):before{content:"workspace_premium"}
body.v2 #metrics .metric:nth-child(4):before{content:"payments"}
body.v2 #metrics .metric:nth-child(5):before{content:"today"}
body.v2 #metrics .metric:nth-child(6):before{content:"date_range"}
body.v2 #metrics .metric:nth-child(7):before{content:"calendar_month"}
body.v2 #metrics .metric:nth-child(8):before{content:"account_balance_wallet"}
body.v2 #systemMetrics .metric:nth-child(1):before{content:"download"}
body.v2 #systemMetrics .metric:nth-child(2):before{content:"error"}
body.v2 #systemMetrics .metric:nth-child(3):before{content:"my_location"}
body.v2 #systemMetrics .metric:nth-child(4):before{content:"dns"}
body.v2 #systemMetrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.v2 .metric strong{font-size:30px!important}

/* ---- overview chart ---- */
body.v2 .v2-chart-head{display:flex;justify-content:space-between;align-items:baseline;margin:20px 0 10px}
body.v2 .v2-chart-head b{font-size:14px}
body.v2 .v2-chart-head span{font-size:12px;color:var(--v2-muted)}
body.v2 .v2-chart{display:flex;align-items:flex-end;gap:6px;height:170px;padding-bottom:22px;border-bottom:1px solid var(--v2-line)}
body.v2 .v2-bar{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;gap:4px}
body.v2 .v2-bar i{display:block;width:100%;max-width:30px;background:var(--v2-ink);border-radius:6px 6px 2px 2px}
body.v2 .v2-bar.today i{background:var(--v2-yellow)}
body.v2 .v2-bar em{font-style:normal;font-size:10px;color:var(--v2-muted)}
body.v2 .v2-bar span{position:absolute;bottom:-20px;font-size:11px;color:#6B7280}
body.v2 .activity>div{background:#fff!important;border:1px solid var(--v2-line)!important}

/* ---- users: access block ---- */
body.v2 .access-toolbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center!important;gap:16px!important;padding:18px 20px!important}
body.v2 .v2-access-ic{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#F1F2F4;color:var(--v2-ink)}
body.v2 .access-toolbar:has(.access-state-card.open) .v2-access-ic{background:var(--v2-green-soft);color:var(--v2-green)}
body.v2 .access-toolbar:has(.access-state-card.closed) .v2-access-ic{background:var(--v2-red-soft);color:var(--v2-red)}
body.v2 .v2-access-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
body.v2 .v2-access-copy b{font:800 16px Manrope,Inter,sans-serif}
body.v2 .v2-access-copy span{font-size:13px;color:var(--v2-muted);line-height:1.45}
body.v2 .access-state-card{border-radius:999px!important;padding:7px 14px 7px 12px!important;display:inline-flex!important;align-items:center;gap:8px;font-size:13px;white-space:nowrap;background:#F1F2F4!important;color:var(--v2-muted)!important;min-width:0!important;width:auto!important}
body.v2 .access-state-card:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
body.v2 .access-state-card b{font-weight:700}
body.v2 .access-state-card span{display:none!important}
body.v2 .access-toolbar #openFullAccessAll,body.v2 .access-toolbar #closeFreeAccessAll{display:none;min-height:44px;padding:0 18px;white-space:nowrap;width:auto!important}
body.v2 .access-toolbar:has(.access-state-card.open) #closeFreeAccessAll{display:inline-flex;align-items:center}
body.v2 .access-toolbar:has(.access-state-card.closed) #openFullAccessAll{display:inline-flex;align-items:center;background:var(--v2-yellow)!important;color:var(--v2-ink)!important;font-weight:700!important}

/* ---- map: dark ---- */
body.v2 .v2-map-wrap{background:#0E1116;border-color:#0E1116}
body.v2 #driversMap{height:calc(100vh - 215px)!important;background:#0E1116!important}
body.v2 #driversMap .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) saturate(.35) brightness(.92) contrast(.92)}
body.v2 #driversMap .leaflet-overlay-pane path{filter:drop-shadow(0 0 7px rgba(253,190,3,.9))}
body.v2 #driversMap .leaflet-control-zoom a{background:#1B1E24;color:#fff;border-color:#2A2E36}
body.v2 #driversMap .leaflet-control-attribution{background:rgba(14,17,22,.7);color:#8A909C}
body.v2 #driversMap .leaflet-control-attribution a{color:#C4C9D2}
body.v2 .map-summary{background:rgba(253,190,3,.96)!important;color:var(--v2-ink)!important;padding:16px 20px!important}
body.v2 .map-summary small{color:rgba(17,19,23,.7)}
body.v2 .map-summary b{color:var(--v2-ink);font-size:38px}
body.v2 .map-summary span{color:rgba(17,19,23,.75)}
body.v2 .v2-map-side .panel{background:var(--v2-ink)!important;border-color:var(--v2-ink)!important;color:#fff}
body.v2 .v2-map-side .panel h2{color:#fff}
body.v2 .v2-map-side .panel-title span{color:#A3A9B5!important}
body.v2 .v2-map-side .v2-bar-item i{background:rgba(255,255,255,.1)}
body.v2 .v2-map-side .v2-bar-item u{background:var(--v2-yellow)}
body.v2 .v2-map-side .v2-empty b{color:#fff}
body.v2 .v2-map-side .v2-empty span{color:#A3A9B5}
body.v2 .v2-map-side .v2-empty i{background:rgba(255,255,255,.08);color:var(--v2-yellow)}

/* ---- payment settings ---- */
body.v2 .v2-hidden-field{display:none!important}
body.v2 .v2-pay-summary{padding:20px 24px!important}
body.v2 .v2-pay-nums{display:flex;gap:30px;flex-wrap:wrap}
body.v2 .v2-pay-nums small{display:block;font-size:12px;color:#A3A9B5;margin-bottom:2px}
body.v2 .v2-pay-nums b{font:800 20px Manrope,Inter,sans-serif;color:#fff}
body.v2 .v2-providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
body.v2 .v2-providers button{position:relative;min-height:104px;border:1px solid #D9DCE2;border-radius:14px;background:#fff;padding:14px 16px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px;color:var(--v2-ink)}
body.v2 .v2-providers button i{font-size:24px;margin-bottom:4px}
body.v2 .v2-providers button b{font-size:15px}
body.v2 .v2-providers button span{font-size:12px;color:var(--v2-muted);line-height:1.4}
body.v2 .v2-providers button.active{border:2px solid var(--v2-ink);background:#FFFBEF;padding:13px 15px}
body.v2 .v2-providers button.active:after{content:"check";font-family:"Material Symbols Rounded";position:absolute;right:12px;top:12px;width:24px;height:24px;border-radius:50%;background:var(--v2-yellow);display:grid;place-items:center;font-size:16px}
body.v2 .payment-settings-panel .v2-subhead{margin:4px 0 10px;font:800 15px Manrope,Inter,sans-serif}
body.v2 .payment-settings-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px 14px!important}
body.v2 .provider-box .payment-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.v2 .payment-active-field{background:var(--v2-soft);border:1px solid var(--v2-line);border-radius:12px;padding:12px 14px;margin:6px 0 12px}

/* ---- contest ---- */
body.v2 .contest-studio{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;align-items:start}
body.v2 .contest-live{border:10px solid var(--v2-ink)!important;border-radius:42px!important;padding:44px 18px 22px!important;position:relative;background:var(--v2-bg)!important;min-height:440px}
body.v2 .contest-live:before{content:"";position:absolute;top:10px;left:50%;transform:translateX(-50%);width:92px;height:24px;border-radius:999px;background:var(--v2-ink)}
body.v2 .contest-live .live-badge{display:inline-block;padding:4px 10px;font-size:11px}
body.v2 .prize-preview{display:grid;gap:8px;margin-top:14px}
body.v2 .preview-prize{display:flex!important;align-items:center;gap:10px;padding:12px 14px!important;background:#fff!important}
body.v2 .preview-prize strong{font-size:0;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none}
body.v2 .preview-prize strong:after{font:800 14px Manrope,Inter,sans-serif;color:var(--v2-ink)}
body.v2 .preview-prize:nth-child(1) strong{background:var(--v2-yellow)}body.v2 .preview-prize:nth-child(1) strong:after{content:"1"}
body.v2 .preview-prize:nth-child(2) strong{background:#D5D9E0}body.v2 .preview-prize:nth-child(2) strong:after{content:"2"}
body.v2 .preview-prize:nth-child(3) strong{background:#E9C9A4}body.v2 .preview-prize:nth-child(3) strong:after{content:"3"}
body.v2 .preview-prize b{flex:1;font-size:14px}
body.v2 .preview-prize span{font-weight:800;font-size:14px}
body.v2 .prize-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.v2 .prize-input{display:flex!important;flex-direction:column;gap:8px;padding:12px!important}
body.v2 .prize-input b{font-size:13px}
body.v2 .prize-input.silver{border-color:#D5D9E0!important}
body.v2 .prize-input.bronze{border-color:#E9C9A4!important;background:#FFF9F2!important}
body.v2 .prize-input input{width:100%;font-weight:700!important}
body.v2 .contest-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:12px}
body.v2 .date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

/* ---- newsletter device ---- */
body.v2 .v2-phone-preview{flex:0 0 320px;align-items:center}
body.v2 .v2-device{width:300px;border:10px solid var(--v2-ink);border-radius:46px;background:var(--v2-ink);position:relative;box-shadow:0 24px 50px rgba(17,19,23,.18)}
body.v2 .v2-device-island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:92px;height:26px;border-radius:999px;background:var(--v2-ink);z-index:2}
body.v2 .v2-device-screen{background:var(--v2-bg);border-radius:36px;min-height:560px;padding:14px 14px 0;display:flex;flex-direction:column;gap:12px;overflow:hidden}
body.v2 .v2-device-status{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;padding:2px 10px 0}
body.v2 .v2-device-icons{display:flex;gap:3px}
body.v2 .v2-device-icons i{font-size:15px}
body.v2 .v2-device-appbar{display:flex;align-items:center;gap:10px;margin-top:18px}
body.v2 .v2-device-appbar img{width:34px;height:34px;border-radius:10px}
body.v2 .v2-device-appbar b{font:800 22px Manrope,Inter,sans-serif}
body.v2 .v2-new{background:var(--v2-yellow);color:var(--v2-ink);font-weight:700;border-radius:999px;padding:2px 8px;font-size:11px}
body.v2 .v2-phone-card.ghost{gap:8px;opacity:.7}
body.v2 .v2-phone-card.ghost span{display:block;height:9px;border-radius:999px;background:#E6E8EC}
body.v2 .v2-phone-card.ghost span:nth-child(1){width:55%;height:11px}
body.v2 .v2-phone-card.ghost span:nth-child(3){width:70%}
body.v2 .v2-device-tabbar{margin:auto -14px 0;background:#fff;border-top:1px solid var(--v2-line);display:flex;justify-content:space-around;padding:12px 0 16px;color:#9AA0AB}
body.v2 .v2-device-tabbar i{font-size:22px}
body.v2 .v2-device-tabbar i.on{color:var(--v2-ink)}

/* ---- ads: card grid ---- */
body.v2 .partner-admin-grid>.panel:last-child{background:transparent!important;border:0!important;padding:0!important}
body.v2 .partner-table-head{display:none!important}
body.v2 #partnerCards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
body.v2 .partner-table-row{display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important;padding:0!important;border:1px solid var(--v2-line)!important;border-radius:16px!important;background:#fff!important;overflow:hidden;position:relative}
body.v2 .partner-table-row img{width:100%!important;height:164px!important;object-fit:cover;border-radius:0!important;display:block}
body.v2 .partner-table-row .grow{padding:14px 16px 6px;display:flex;flex-direction:column;gap:4px;min-width:0}
body.v2 .partner-table-row .grow b{font:800 16px Manrope,Inter,sans-serif;white-space:normal}
body.v2 .partner-table-row .grow span{font-size:13px;color:var(--v2-muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
body.v2 .partner-table-row .partner-category-pill{position:absolute;left:12px;top:12px;background:#fff!important;color:var(--v2-ink)!important;padding:4px 10px!important;font-size:12px!important;display:inline-block!important;width:auto!important}
body.v2 .partner-table-row .partner-status{position:absolute;right:12px;top:12px;background:#fff!important;padding:4px 10px!important;display:inline-flex!important;align-items:center;gap:6px;width:auto!important;grid-column:auto!important}
body.v2 .partner-table-row .partner-status i{width:7px;height:7px;border-radius:50%;background:currentColor;display:block}
body.v2 .partner-status.inactive{color:var(--v2-muted)!important}
body.v2 .partner-table-row .partner-price{padding:2px 16px 14px;font-size:14px;font-weight:800;display:block!important}
body.v2 .partner-table-row .partner-row-actions{display:flex!important;flex-direction:row!important;gap:8px;padding:12px 16px;border-top:1px solid var(--v2-line-2);margin-top:auto;grid-column:auto!important;grid-row:auto!important}
body.v2 .partner-table-row .partner-row-actions button{flex:1;width:auto!important;height:38px!important;font-size:0!important;display:grid;place-items:center}
body.v2 .partner-table-row .partner-row-actions button:after{font:600 13px Inter,sans-serif}
body.v2 .partner-table-row .partner-row-actions .ghost:after{content:"Изменить"}
body.v2 .partner-table-row .partner-row-actions .danger:after{content:"Удалить"}

/* ---- system ---- */
body.v2 .prediction-row{display:grid!important;grid-template-columns:2fr 1fr .7fr 1fr 1fr 1fr 1.6fr;align-items:center;border:0!important;border-top:1px solid var(--v2-line-2)!important;border-radius:0!important;padding:12px 4px!important}
body.v2 .prediction-list .prediction-row:first-child{border-top:0!important}
body.v2 .prediction-row>div{display:flex;flex-direction:column;gap:2px;min-width:0}
body.v2 .prediction-row b{font-size:14px;font-weight:700}
body.v2 .prediction-row span{font-size:12px}
body.v2 .quality-daily{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
body.v2 .quality-card{padding:14px 16px!important}

/* ---- cabinet ---- */
body.v2 .v2-profile{background:var(--v2-ink);color:#fff;border-radius:18px;padding:22px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}
body.v2 .v2-profile:empty{display:none}
body.v2 .v2-profile-avatar{width:60px;height:60px;border-radius:50%;background:var(--v2-yellow);color:var(--v2-ink);display:grid;place-items:center;font:800 24px Manrope,Inter,sans-serif;flex:none}
body.v2 .v2-profile-copy{flex:1;min-width:200px;display:flex;flex-direction:column;gap:4px}
body.v2 .v2-profile-copy>div{display:flex;align-items:center;gap:10px}
body.v2 .v2-profile-copy b{font:800 20px Manrope,Inter,sans-serif}
body.v2 .v2-profile-copy em{font-style:normal;font-size:12px;font-weight:700;background:rgba(253,190,3,.16);color:var(--v2-yellow);border-radius:999px;padding:3px 10px}
body.v2 .v2-profile-copy>span{color:#A3A9B5;font-size:14px}
body.v2 .v2-profile-facts{display:flex;gap:28px}
body.v2 .v2-profile-facts small{display:block;font-size:12px;color:#A3A9B5}
body.v2 .v2-profile-facts b{font-size:15px}
body.v2 .cabinet-user{display:flex!important;align-items:center;gap:12px}
body.v2 .cabinet-user .grow{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
body.v2 .cabinet-user .grow b{font-weight:700}
body.v2 .cabinet-user .grow span{font-size:13px;color:var(--v2-muted)}
body.v2 .cabinet-user .grow small{font-size:12px;color:#6B7280}
body.v2 .cabinet-user.off{opacity:.6}
body.v2 .cabinet-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
body.v2 .cabinet-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
body.v2 .cabinet-check{display:flex!important;align-items:center;gap:8px}

@media (max-width:1050px){
  body.v2 .contest-studio{grid-template-columns:1fr!important}
  body.v2 .contest-live{max-width:340px}
  body.v2 .payment-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.v2 #systemMetrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.v2 .access-toolbar{grid-template-columns:auto minmax(0,1fr)!important}
  body.v2 .access-toolbar .access-state-card{justify-self:start;grid-column:1/-1}
  body.v2 .access-toolbar button{grid-column:1/-1}
  body.v2 .prediction-row{grid-template-columns:1fr 1fr!important}
}
@media (max-width:760px){
  body.v2 main>header{padding:16px!important;border-radius:16px;position:static!important;flex-wrap:wrap}
  body.v2 .v2-hero-ic{display:none}
  body.v2 .v2-hero-meta{display:none!important}
  body.v2 .v2-providers{grid-template-columns:1fr}
  body.v2 .v2-phone-preview{flex:1 1 100%}
  body.v2 .cabinet-form,body.v2 .cabinet-section-grid,body.v2 .prize-fields{grid-template-columns:1fr!important}
}

/* ================= v5: dialogs, switch, compact ads ================= */
/* close buttons: one look, icon exactly centred */
body.v2 .modal-close,body.v2 .partner-editor-close{position:absolute!important;right:16px!important;top:16px!important;width:36px!important;height:36px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:#F1F2F4!important;color:var(--v2-ink)!important;font-size:0!important;line-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;z-index:5;box-shadow:none!important}
body.v2 .modal-close:before,body.v2 .partner-editor-close:before{content:"close";font-family:"Material Symbols Rounded";font-size:20px;line-height:1;font-weight:400}
body.v2 .modal-close:hover,body.v2 .partner-editor-close:hover{background:var(--v2-ink)!important;color:#fff!important}

/* confirm dialog */
body.v2 .access-confirm-card{width:min(420px,100%)!important;border-radius:20px!important;padding:28px 26px 22px!important;border:0!important;text-align:center;box-shadow:0 30px 80px rgba(17,19,23,.28)!important}
body.v2 .access-confirm-icon{width:56px!important;height:56px!important;border-radius:16px!important;margin:0 auto 16px!important;background:var(--v2-green-soft)!important;color:var(--v2-green)!important;box-shadow:none!important;display:grid;place-items:center}
body.v2 .access-confirm-icon i{font-size:28px}
body.v2 .v2-tone-danger .access-confirm-icon{background:var(--v2-red-soft)!important;color:var(--v2-red)!important}
body.v2 .access-confirm-card h2{font:800 20px Manrope,Inter,sans-serif;margin:0 0 8px}
body.v2 .access-confirm-card p{font-size:14px;line-height:1.5;color:var(--v2-muted);margin:0}
body.v2 .v2-confirm-who{display:flex;align-items:center;gap:12px;text-align:left;background:var(--v2-soft);border:1px solid var(--v2-line);border-radius:12px;padding:10px 12px;margin-top:16px}
body.v2 .v2-confirm-who .avatar{width:38px;height:38px;border-radius:50%;flex:none}
body.v2 .v2-confirm-who div{display:flex;flex-direction:column;min-width:0}
body.v2 .v2-confirm-who b{font-size:14px}
body.v2 .v2-confirm-who span{font-size:12px;color:var(--v2-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.v2 .access-confirm-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px!important}
body.v2 .access-confirm-actions button{height:46px;border-radius:12px!important;border:0!important;font:600 14px Inter,sans-serif!important;padding:0 12px!important}
body.v2 .access-confirm-actions .ghost{background:#F1F2F4!important;color:var(--v2-ink)!important}
body.v2 .access-confirm-actions .success{background:var(--v2-ink)!important;color:#fff!important}
body.v2 .access-confirm-actions .danger{background:var(--v2-red)!important;color:#fff!important}

/* access switch */
body.v2 .access-toolbar #openFullAccessAll,body.v2 .access-toolbar #closeFreeAccessAll{display:none!important}
body.v2 .v2-switch{width:56px;height:32px;border-radius:999px;border:0;padding:0;background:#CDD1D8;position:relative;cursor:pointer;transition:background .18s;flex:none}
body.v2 .v2-switch i{position:absolute;left:3px;top:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(17,19,23,.25);transition:transform .18s}
body.v2 .access-toolbar:has(.access-state-card.open) .v2-switch{background:var(--v2-green)}
body.v2 .access-toolbar:has(.access-state-card.open) .v2-switch i{transform:translateX(24px)}
body.v2 .access-state-card.open{background:var(--v2-green-soft)!important;color:var(--v2-green)!important}
body.v2 .access-state-card.closed{background:var(--v2-red-soft)!important;color:var(--v2-red)!important}

/* driver window */
body.v2 .driver-profile{background:#fff!important;padding:26px!important;width:min(640px,100%)!important}
body.v2 .driver-profile.wide-modal{width:min(1040px,100%)!important}
body.v2 .profile-head{padding:0 48px 18px 0;margin-bottom:18px!important;border-bottom:1px solid var(--v2-line)}
body.v2 .profile-head h2{font:800 20px Manrope,Inter,sans-serif!important}
body.v2 .profile-head p{font-size:13px;margin:2px 0 6px!important}
body.v2 .profile-head span{display:inline-block;font-size:12px;font-weight:600;background:#F1F2F4;color:var(--v2-muted);border-radius:999px;padding:3px 10px}
body.v2 .profile-head span.online{background:var(--v2-green-soft);color:var(--v2-green)}
body.v2 .profile-access{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px!important}
body.v2 .profile-access button{height:46px;border-radius:12px!important;border:1px solid var(--v2-line)!important;font:600 14px Inter,sans-serif!important;padding:0!important;display:flex;align-items:center;justify-content:center;gap:8px}
body.v2 .profile-access button:before{font-family:"Material Symbols Rounded";font-size:20px;font-weight:400}
body.v2 .profile-access .success{background:var(--v2-ink)!important;color:#fff!important;border-color:var(--v2-ink)!important}
body.v2 .profile-access .success:before{content:"lock_open"}
body.v2 .profile-access .danger{background:#fff!important;color:var(--v2-red)!important}
body.v2 .profile-access .danger:before{content:"lock"}
body.v2 .driver-referral-editor{border:1px solid var(--v2-line)!important;border-radius:12px!important;background:var(--v2-soft)!important}
body.v2 .orders-title h3{font:800 16px Manrope,Inter,sans-serif}

/* ad editor */
body.v2 .partner-editor{padding:24px!important}
body.v2 .partner-editor .panel-title{margin:-24px -24px 20px!important;padding:20px 68px 16px 24px!important;border-radius:18px 18px 0 0!important}
body.v2 .partner-editor .panel-title h2{font:800 20px Manrope,Inter,sans-serif!important}
body.v2 .partner-editor .form-grid{border-radius:12px!important}
body.v2 .partner-editor .form-actions{position:sticky;bottom:-24px;background:#fff;margin:16px -24px -24px;padding:14px 24px;border-top:1px solid var(--v2-line);border-radius:0 0 18px 18px}

/* ad preview = phone */
body.v2 .ad-preview-modal{width:min(400px,100%)!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;max-height:none!important}
body.v2 .ad-preview-modal .preview-heading{display:none!important}
body.v2 .ad-preview-modal .modal-close{right:-48px!important;top:0!important;background:#fff!important}
body.v2 .preview-carousel{border:10px solid var(--v2-ink);border-radius:44px!important;background:#fff;height:min(760px,90vh);overflow-y:auto;overflow-x:hidden;box-shadow:0 30px 80px rgba(17,19,23,.4);scrollbar-width:none}
body.v2 .preview-carousel::-webkit-scrollbar{display:none}
body.v2 .admin-preview-gallery figure{aspect-ratio:4/3!important;height:auto!important}
body.v2 .admin-preview-content{padding:18px!important}
body.v2 .admin-preview-title h2{font:800 21px Manrope,Inter,sans-serif!important}
body.v2 .admin-preview-title strong{font-size:15px!important}
body.v2 .admin-preview-meta{grid-template-columns:1fr!important}
body.v2 .admin-preview-contacts{flex-wrap:wrap}
body.v2 .admin-preview-contacts button{flex:1}
@media (max-width:520px){body.v2 .ad-preview-modal .modal-close{right:14px!important;top:14px!important}}

/* ads page: compact */
body.v2 .partner-summary{display:flex!important;gap:8px!important;margin:0 0 12px!important}
body.v2 .partner-summary>div{display:flex!important;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:8px!important;padding:8px 14px!important;border-radius:999px!important}
body.v2 .partner-summary b{font:800 15px Manrope,Inter,sans-serif!important}
body.v2 .partner-summary span{font-size:13px!important}
body.v2 .partner-toolbar{padding:10px!important;margin-bottom:14px!important}
body.v2 #partnerCards{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px}
body.v2 .partner-table-row{border-radius:14px!important}
body.v2 .partner-table-row img{height:116px!important}
body.v2 .partner-table-row .grow{padding:10px 12px 2px}
body.v2 .partner-table-row .grow b{font-size:14px}
body.v2 .partner-table-row .grow span{font-size:12px;-webkit-line-clamp:1}
body.v2 .partner-table-row .partner-price{padding:2px 12px 10px;font-size:13px}
body.v2 .partner-table-row .partner-category-pill,body.v2 .partner-table-row .partner-status{top:8px;font-size:11px!important;padding:3px 8px!important}
body.v2 .partner-table-row .partner-category-pill{left:8px}
body.v2 .partner-table-row .partner-status{right:8px}
body.v2 .partner-table-row .partner-row-actions{padding:8px;gap:6px}
body.v2 .partner-table-row .partner-row-actions button{height:34px!important;border-radius:9px!important;border:1px solid var(--v2-line)!important;background:#fff!important;color:var(--v2-ink)!important;padding:0!important;flex:0 0 34px}
body.v2 .partner-table-row .partner-row-actions .v2-view{flex:1;font:600 13px Inter,sans-serif!important;background:var(--v2-ink)!important;color:#fff!important;border-color:var(--v2-ink)!important}
body.v2 .partner-table-row .partner-row-actions .ghost:after,body.v2 .partner-table-row .partner-row-actions .danger:after{font-family:"Material Symbols Rounded";font-size:18px;font-weight:400}
body.v2 .partner-table-row .partner-row-actions .ghost:after{content:"edit"}
body.v2 .partner-table-row .partner-row-actions .danger:after{content:"delete"}
body.v2 .partner-table-row .partner-row-actions .danger{color:var(--v2-red)!important}
body.v2 #driversMap{border:0!important;border-radius:0!important}
body.v2 .map-summary b span{font:inherit!important;color:inherit!important}
body.v2 .map-summary{border-radius:16px!important}
body.v2 .driver-profile .panel-title{padding-right:52px}

/* ================= v6: premium light theme ================= */
:root{--v2-ink:#17182F;--v2-ink-2:#22234A;--v2-text:#17182F;--v2-muted:#62657A;--v2-faint:#9498AD;--v2-bg:#F3F2FA;--v2-line:#ECEAF6;--v2-line-2:#F1F0F9;--v2-soft:#F8F7FD;--v2-violet:#A9A4F2;--v2-violet-soft:#EEEDFC;--v2-yellow:#FFC61A;--v2-yellow-soft:#FFF3CC;--v2-r:20px;--v2-r-sm:12px;--black:#17182F}
body.v2{background:linear-gradient(180deg,#F6F5FC 0%,#F1F0F9 100%) fixed!important}
/* cards */
body.v2 .panel,body.v2 .metric,body.v2 .v2-stat,body.v2 .access-toolbar,body.v2 .partner-toolbar,body.v2 .partner-table-row,body.v2 .v2-table-card,body.v2 .v2-providers button,body.v2 .quality-card{border:1px solid #fff!important;box-shadow:0 10px 30px rgba(70,64,140,.07),0 1px 2px rgba(70,64,140,.04)!important;border-radius:20px!important}
body.v2 .partner-admin-grid>.panel:last-child{box-shadow:none!important;border:0!important}
body.v2 .panel .panel,body.v2 .panel .v2-stat,body.v2 .activity>div{box-shadow:none!important;border:1px solid var(--v2-line)!important;border-radius:14px!important}
/* sidebar */
body.v2 aside{background:linear-gradient(180deg,#1C1D38 0%,#14152A 100%)!important;padding:22px 14px 16px!important}
body.v2 .v2-nav-group{text-transform:none!important;letter-spacing:0!important;font-size:12px!important;font-weight:500!important;color:#8587A6!important;padding:16px 12px 6px!important}
body.v2 .nav{min-height:42px!important;border-radius:12px!important;color:#D5D6E6!important}
body.v2 .nav.active{background:linear-gradient(90deg,#FFC61A,#FFD75A)!important;color:#17182F!important;box-shadow:0 8px 20px rgba(255,198,26,.28)!important}
body.v2 .nav.active i.material-symbols-rounded{color:#17182F!important}
body.v2 .nav.active span{font-weight:700!important}
body.v2 .aside-bottom{background:rgba(255,255,255,.06)!important;border-radius:14px!important}
/* header: light */
body.v2 main>header{background:transparent!important;color:var(--v2-text)!important;padding:4px 2px 0!important;margin-bottom:22px!important;border-radius:0!important;overflow:visible!important;align-items:center!important}
body.v2 main>header:before,body.v2 main>header:after{display:none!important}
body.v2 .v2-hero-ic,body.v2 .v2-hero-meta{display:none!important}
body.v2 main>header h1{color:var(--v2-text)!important;font:800 32px Manrope,Inter,sans-serif!important}
body.v2 #v2HeroDesc{color:var(--v2-muted)!important;font-size:15px}
body.v2 #menu{color:var(--v2-ink)!important}
body.v2 .v2-top{display:flex;align-items:center;gap:14px;flex:none}
body.v2 .v2-top-search{position:relative;width:300px}
body.v2 .v2-top-search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--v2-faint);pointer-events:none}
body.v2 .v2-top-search input{width:100%;height:46px!important;border-radius:14px!important;padding:0 14px 0 44px!important;border:1px solid #fff!important;box-shadow:0 6px 20px rgba(70,64,140,.07)!important}
body.v2 .v2-top-bell{position:relative;width:46px;height:46px;border-radius:14px;border:1px solid #fff;background:#fff;box-shadow:0 6px 20px rgba(70,64,140,.07);display:grid;place-items:center;cursor:pointer;color:var(--v2-ink)}
body.v2 .v2-top-bell em{position:absolute;right:-4px;top:-4px;min-width:18px;height:18px;border-radius:999px;background:var(--v2-yellow);color:var(--v2-ink);font:700 11px/18px Inter,sans-serif;text-align:center;padding:0 4px;font-style:normal}
body.v2 .v2-top-bell em:empty{display:none}
body.v2 .v2-top-user{display:flex;align-items:center;gap:10px;border:0;background:transparent;cursor:pointer;color:var(--v2-ink);font:600 15px Inter,sans-serif;padding:0}
body.v2 .v2-top-user span{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#FFC61A,#FFDD70);display:grid;place-items:center;font:800 17px Manrope,Inter,sans-serif}
body.v2 .v2-top-user small{display:block;font-size:12px;font-weight:500;color:var(--v2-muted);text-align:left}
/* metrics */
body.v2 .metric:before,body.v2 .v2-stat>i,body.v2 .v2-stat .v2-stat-ic{border-radius:14px!important}
body.v2 #metrics .metric:nth-child(1),body.v2 .metric.dark{background:linear-gradient(135deg,#FFF6D6 0%,#FFE9A6 100%)!important;color:var(--v2-ink)!important;border-color:#FFF3C4!important;box-shadow:0 12px 30px rgba(255,198,26,.22)!important}
body.v2 .metric.dark small,body.v2 .metric.dark em,body.v2 .metric.dark strong{color:var(--v2-ink)!important}
body.v2 .metric.dark:before{background:rgba(255,255,255,.7)!important;color:#C58A00!important}
body.v2 .metric.yellow{background:#fff!important}
body.v2 .metric.yellow:before{background:var(--v2-green-soft)!important;color:var(--v2-green)!important}
body.v2 #metrics .metric:nth-child(3):before{background:var(--v2-yellow-soft);color:#C58A00}
body.v2 #metrics .metric:nth-child(4):before,body.v2 #metrics .metric:nth-child(8):before{background:var(--v2-green-soft);color:var(--v2-green)}
body.v2 #metrics .metric:nth-child(n+5):nth-child(-n+7):before,body.v2 #systemMetrics .metric:before{background:var(--v2-violet-soft);color:#6C63E0}
/* chart */
body.v2 .v2-bar i{background:linear-gradient(180deg,#B7B2F7,#CFCBFA)!important;border-radius:8px 8px 3px 3px!important}
body.v2 .v2-bar.today i{background:linear-gradient(180deg,#FFC61A,#FFD75A)!important}
body.v2 .v2-chart{border-bottom-color:var(--v2-line)!important}
/* buttons */
body.v2 .primary{background:linear-gradient(90deg,#FFC61A,#FFD75A)!important;box-shadow:0 8px 18px rgba(255,198,26,.3)!important;border-radius:12px!important}
body.v2 .ghost{border-color:var(--v2-line)!important;border-radius:12px!important}
body.v2 input:not([type=checkbox]):not([type=radio]):not([type=file]),body.v2 select,body.v2 textarea{border-color:#E3E1F0!important;border-radius:12px!important}
body.v2 input:focus,body.v2 select:focus,body.v2 textarea:focus{border-color:#A9A4F2!important;box-shadow:0 0 0 3px rgba(169,164,242,.25)!important}
/* tabs & tables */
body.v2 .v2-tabs button.active{color:var(--v2-ink)!important}
body.v2 table thead th,body.v2 .v2-table-card thead th{background:#F8F7FD!important;color:#7A7D93!important}
body.v2 .v2-seg,body.v2 #v2UserTabs{background:#EEEDF8!important;border-radius:12px!important}
/* dark accents become deep navy with glow */
body.v2 .v2-contest-hero,body.v2 .v2-pay-summary,body.v2 .v2-profile{background:linear-gradient(135deg,#1C1D38 0%,#2A2B58 100%)!important;border-radius:22px!important;box-shadow:0 16px 40px rgba(28,29,56,.25)!important}
body.v2 .v2-map-side .panel{background:linear-gradient(180deg,#1C1D38,#14152A)!important;border-color:transparent!important}
body.v2 .v2-map-wrap{border-radius:22px!important;overflow:hidden;box-shadow:0 16px 40px rgba(28,29,56,.2)}
body.v2 .v2-device,body.v2 .contest-live,body.v2 .preview-carousel{border-color:#17182F!important}
body.v2 .v2-device{background:#17182F!important}
body.v2 .v2-providers button.active{border:2px solid var(--v2-yellow)!important;background:#FFFBEB!important}
body.v2 .access-confirm-card,body.v2 .driver-profile,body.v2 .partner-editor{border-radius:24px!important}
body.v2 .partner-editor .panel-title{border-radius:24px 24px 0 0!important}
body.v2 .partner-editor .form-actions{border-radius:0 0 24px 24px!important}
body.v2 .modal-backdrop,body.v2 .access-confirm-backdrop{background:rgba(23,24,47,.45)!important}
body.v2 .partner-summary>div{box-shadow:0 4px 14px rgba(70,64,140,.06);border-color:#fff!important}
body.v2 .v2-empty i{background:var(--v2-violet-soft)!important;color:#6C63E0!important;border-radius:16px!important}
@media (max-width:1050px){body.v2 .v2-top-search{display:none}}
@media (max-width:760px){body.v2 .v2-top-user b,body.v2 .v2-top-user small{display:none}}
body.v2 main>header>.v2-top{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;margin-left:auto}
body.v2 .v2-top .v2-top-search input:not([type=checkbox]):not([type=radio]):not([type=file]){padding:0 14px 0 44px!important;min-height:46px}
body.v2 .metric.yellow{border-color:#fff!important}
body.v2 .v2-top-user div{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}

/* ---- v7: access block centred with two-sided switch ---- */
body.v2 .access-toolbar{display:flex!important;flex-direction:column;align-items:center!important;text-align:center;gap:10px!important;padding:26px 24px 24px!important}
body.v2 .access-toolbar .v2-access-ic{width:52px;height:52px;border-radius:16px}
body.v2 .access-toolbar .v2-access-copy{align-items:center;max-width:560px}
body.v2 .access-toolbar .v2-access-copy b{font-size:18px}
body.v2 .access-toolbar .access-state-card{display:none!important}
body.v2 .v2-access-seg{position:relative;display:grid;grid-template-columns:1fr 1fr;width:min(360px,100%);padding:5px;border-radius:16px;background:#ECEAF6;margin-top:8px}
body.v2 .v2-access-seg:before{content:"";position:absolute;top:5px;bottom:5px;left:5px;width:calc(50% - 5px);border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(70,64,140,.15);transition:transform .22s ease,background .22s ease;opacity:0}
body.v2 .access-toolbar:has(.access-state-card.closed) .v2-access-seg:before{opacity:1;transform:none;background:#B42318}
body.v2 .access-toolbar:has(.access-state-card.open) .v2-access-seg:before{opacity:1;transform:translateX(100%);background:#1F7A45}
body.v2 .v2-access-seg button{position:relative;z-index:1;height:46px;border:0;background:transparent;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;font:700 15px Inter,sans-serif;color:var(--v2-muted);transition:color .2s}
body.v2 .v2-access-seg button i{font-size:20px}
body.v2 .access-toolbar:has(.access-state-card.closed) .v2-access-seg [data-acc=closed],body.v2 .access-toolbar:has(.access-state-card.open) .v2-access-seg [data-acc=open]{color:#fff;cursor:default}

/* ---- v8: compact access card ---- */
body.v2 .access-toolbar{display:flex!important;flex-direction:row!important;align-items:center!important;text-align:left;gap:16px!important;padding:16px 20px!important;transition:background .25s}
body.v2 .access-toolbar:has(.access-state-card.open){background:linear-gradient(90deg,#F1FAF4 0%,#fff 55%)!important}
body.v2 .access-toolbar:has(.access-state-card.closed){background:linear-gradient(90deg,#FDF1EF 0%,#fff 55%)!important}
body.v2 .access-toolbar .v2-access-ic{width:46px;height:46px;border-radius:14px;flex:none}
body.v2 .access-toolbar .v2-access-copy{align-items:flex-start;max-width:none;flex:1;min-width:0;gap:4px}
body.v2 .access-toolbar .v2-access-copy b{font-size:16px}
body.v2 .v2-acc-state{display:none!important;align-items:center;gap:8px;font-size:13px!important;font-weight:500;color:var(--v2-muted)!important}
body.v2 .v2-acc-state u{width:8px;height:8px;border-radius:50%;flex:none;text-decoration:none}
body.v2 .v2-acc-state.on u{background:#1F7A45;box-shadow:0 0 0 4px rgba(31,122,69,.15)}
body.v2 .v2-acc-state.off u{background:#B42318;box-shadow:0 0 0 4px rgba(180,35,24,.13)}
body.v2 .access-toolbar:has(.access-state-card.open) .v2-acc-state.on,body.v2 .access-toolbar:has(.access-state-card.closed) .v2-acc-state.off{display:flex!important}
body.v2 .v2-access-seg{width:248px;flex:none;padding:4px;border-radius:14px;background:#ECEAF6;margin:0}
body.v2 .v2-access-seg:before{top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:10px;background:#fff!important;box-shadow:0 2px 8px rgba(70,64,140,.18)}
body.v2 .v2-access-seg button{height:38px;border-radius:10px;font:600 14px Inter,sans-serif;gap:6px;color:#8587A6}
body.v2 .v2-access-seg button i{font-size:18px}
body.v2 .access-toolbar:has(.access-state-card.closed) .v2-access-seg [data-acc=closed]{color:#B42318}
body.v2 .access-toolbar:has(.access-state-card.open) .v2-access-seg [data-acc=open]{color:#1F7A45}
body.v2 .v2-access-seg button:hover{color:var(--v2-ink)}
@media (max-width:760px){body.v2 .access-toolbar{flex-wrap:wrap}body.v2 .v2-access-seg{width:100%}}

/* ---- v9: driver window ---- */
body.v2 .driver-profile{padding:0!important;width:min(680px,100%)!important;overflow:auto}
body.v2 .driver-profile.wide-modal{padding:26px!important}
body.v2 #driverProfileContent{padding:0 26px 26px}
body.v2 .v2-drv-head{display:flex!important;align-items:center;gap:18px;margin:0 -26px 20px!important;padding:26px 70px 22px 26px!important;border:0!important;background:linear-gradient(135deg,#1C1D38 0%,#2A2B58 100%);border-radius:24px 24px 0 0;color:#fff}
body.v2 .v2-drv-photo{width:72px;height:72px;border-radius:50%;flex:none;background:linear-gradient(135deg,#FFC61A,#FFDD70);display:grid;place-items:center;overflow:hidden;border:3px solid rgba(255,255,255,.18);font:800 28px Manrope,Inter,sans-serif;color:#17182F;position:relative}
body.v2 .v2-drv-photo.on{border-color:#2ECC71}
body.v2 .v2-drv-photo img{width:100%;height:100%;object-fit:cover}
body.v2 .v2-drv-id{min-width:0;flex:1}
body.v2 .v2-drv-head h2{color:#fff!important;font:800 22px Manrope,Inter,sans-serif!important;margin:0!important}
body.v2 .v2-drv-head p{color:#B9BBD6!important;font-size:14px!important;margin:3px 0 10px!important;overflow:hidden;text-overflow:ellipsis}
body.v2 .v2-drv-chips{display:flex;gap:8px;flex-wrap:wrap}
body.v2 .v2-drv-chips em{font-style:normal;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;padding:5px 11px 5px 8px;border-radius:999px;background:rgba(255,255,255,.1);color:#E4E5F3}
body.v2 .v2-drv-chips em i{font-size:16px}
body.v2 .v2-drv-chips em.city{background:#FFC61A;color:#17182F}
body.v2 .v2-drv-chips em.city.none{background:rgba(255,255,255,.1);color:#B9BBD6}
body.v2 .v2-drv-chips em.on{background:rgba(46,204,113,.18);color:#7BE3A6}
body.v2 .driver-profile>.modal-close{background:rgba(255,255,255,.12)!important;color:#fff!important}
body.v2 .driver-profile.wide-modal>.modal-close{background:#F1F2F4!important;color:var(--v2-ink)!important}
body.v2 .v2-drv-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 20px!important}
body.v2 .v2-drv-facts>div{background:var(--v2-soft);border:1px solid var(--v2-line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px;min-width:0}
body.v2 .v2-drv-facts i{font-size:18px;color:#6C63E0;margin-bottom:4px}
body.v2 .v2-drv-facts span{font-size:12px;color:var(--v2-muted)}
body.v2 .v2-drv-facts b{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.v2 .v2-drv-label{font:800 14px Manrope,Inter,sans-serif;margin:0 0 8px}
body.v2 .profile-access{margin:0 0 20px!important}
body.v2 .profile-access button{height:44px}
body.v2 .driver-referral-editor{display:grid!important;grid-template-columns:1fr auto!important;gap:8px 10px!important;padding:14px!important;margin:0 0 20px!important;align-items:end}
body.v2 .driver-referral-editor label{font:800 14px Manrope,Inter,sans-serif!important;display:grid;gap:8px}
body.v2 .driver-referral-editor small{grid-column:1/-1;font-size:12px;line-height:1.45;color:var(--v2-muted)!important}
body.v2 .driver-referral-editor button{height:44px;background:var(--v2-ink)!important;color:#fff!important;border:0!important;padding:0 18px!important}
@media (max-width:620px){body.v2 .v2-drv-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* ---- v10: ads page + ad form ---- */
body.v2 #partners.active-page{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:14px 16px;align-items:center}
body.v2 #partners .partner-summary{grid-column:1;grid-row:1;margin:0!important}
body.v2 #partners .partners-admin-heading{grid-column:2;grid-row:1;margin:0!important;background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
body.v2 #partners .partner-toolbar,body.v2 #partners .partner-admin-grid{grid-column:1/-1;margin:0!important}
body.v2 #partners .partner-admin-grid>.panel:last-child>.panel-title{display:none!important}
body.v2 #partnerCards{display:block!important}
body.v2 .v2-ad-group{margin-top:8px}
body.v2 .v2-ad-group+.v2-ad-group{margin-top:26px}
body.v2 .v2-ad-group-h{display:flex;align-items:center;gap:10px;margin:0 0 12px}
body.v2 .v2-ad-group-h b{font:800 18px Manrope,Inter,sans-serif}
body.v2 .v2-ad-group-h em{font-style:normal;font:700 12px Inter,sans-serif;background:#E6E4F5;color:#5B5E78;border-radius:999px;padding:3px 9px}
body.v2 .v2-ad-group-h:after{content:"";flex:1;height:1px;background:#E3E1F0}
body.v2 .v2-ad-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
body.v2 .partner-table-row .partner-category-pill{display:none!important}
body.v2 .partner-table-row img{height:130px!important}
body.v2 .partner-table-row .grow{padding:12px 14px 2px}
body.v2 .partner-table-row .grow b{font-size:15px}
body.v2 .partner-table-row .partner-price{margin:6px 14px 12px;padding:5px 10px!important;background:var(--v2-yellow-soft);border-radius:9px;display:inline-block!important;align-self:flex-start;font-size:13px}
body.v2 .partner-table-row.inactive-ad{opacity:.6}
/* form */
body.v2 .partner-editor:not(.category-mode){width:min(860px,calc(100% - 36px))!important;background:#F6F5FC!important}
body.v2 .partner-editor .panel-title{background:#fff!important}
body.v2 .partner-editor.category-mode .v2-ad-form{display:none!important}
body.v2 .v2-ad-form{display:grid;gap:14px}
body.v2 .v2-sec{background:#fff;border:1px solid #fff;border-radius:18px;padding:18px;box-shadow:0 6px 18px rgba(70,64,140,.06);display:grid;gap:14px}
body.v2 .v2-sec-h{display:flex;align-items:center;gap:12px}
body.v2 .v2-sec-h em{font-style:normal;width:30px;height:30px;border-radius:10px;background:var(--v2-ink);color:#FFC61A;display:grid;place-items:center;font:800 14px Manrope,Inter,sans-serif;flex:none}
body.v2 .v2-sec-h b{display:block;font:800 16px Manrope,Inter,sans-serif}
body.v2 .v2-sec-h span{display:block;font-size:13px;color:var(--v2-muted);margin-top:1px}
body.v2 .v2-row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.v2 .v2-row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.v2 .v2-ad-form .form-field{display:grid!important;gap:6px;font:600 13px Inter,sans-serif;color:var(--v2-ink);margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;width:auto!important}
body.v2 .v2-ad-form .form-field input:not([type=file]),body.v2 .v2-ad-form .form-field select,body.v2 .v2-ad-form .form-field textarea{width:100%;background:#fff!important;border:1px solid #E3E1F0!important;border-radius:12px!important}
body.v2 .v2-ad-form textarea{min-height:120px;padding:12px 14px!important}
body.v2 .v2-upload input[type=file]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
body.v2 .v2-upload-box{display:flex;flex-direction:column;align-items:center;gap:2px;padding:20px;border:1.5px dashed #BDB9EE;border-radius:14px;background:#F8F7FD;cursor:pointer;text-align:center}
body.v2 .v2-upload-box:hover{background:#EEEDFC}
body.v2 .v2-upload-box i{font-size:30px;color:#6C63E0}
body.v2 .v2-upload-box b{font-size:14px}
body.v2 .v2-upload-box small{font-size:12px;color:var(--v2-muted);font-weight:500}
body.v2 .v2-show{display:flex!important;align-items:center;gap:12px;background:#F1FAF4!important;border:1px solid #CFEBD9;border-radius:12px;padding:10px 14px!important;margin:0!important;align-self:end;min-height:44px;color:var(--v2-ink)!important}
body.v2 .v2-show input{width:20px;height:20px;accent-color:#1F7A45;flex:none}
body.v2 .v2-show b{display:block;font-size:14px;font-weight:700}
body.v2 .v2-show small{display:block;font-size:12px;color:var(--v2-muted);font-weight:500}
body.v2 .partner-editor .form-actions{background:#fff!important;display:flex!important;justify-content:flex-end;gap:10px}
body.v2 .partner-editor .form-actions #partnerReset{margin-right:auto}
@media (max-width:760px){body.v2 .v2-row2,body.v2 .v2-row3{grid-template-columns:1fr}body.v2 #partners.active-page{grid-template-columns:1fr}body.v2 #partners .partners-admin-heading{grid-column:1;grid-row:auto}}

/* ---- v11: ads board ---- */
body.v2 #partners.active-page{display:block!important}
body.v2 #partners .partners-admin-heading,body.v2 #partners .partner-summary,body.v2 #partners .partner-toolbar{display:none!important}
body.v2 .v2-ads-hero{display:flex;align-items:center;gap:18px;padding:22px 24px;border-radius:22px;background:linear-gradient(135deg,#1C1D38 0%,#2A2B58 100%);color:#fff;box-shadow:0 16px 40px rgba(28,29,56,.22);margin-bottom:16px;position:relative;overflow:hidden}
body.v2 .v2-ads-hero:after{content:"";position:absolute;right:-60px;top:-90px;width:260px;height:260px;border-radius:50%;border:40px solid rgba(255,198,26,.08);pointer-events:none}
body.v2 .v2-ads-hero-ic{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#FFC61A,#FFDD70);color:#17182F;display:grid;place-items:center;flex:none}
body.v2 .v2-ads-hero-ic i{font-size:30px}
body.v2 .v2-ads-hero-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
body.v2 .v2-ads-hero-copy small{font-size:13px;color:#B9BBD6}
body.v2 .v2-ads-hero-copy b{font:800 26px Manrope,Inter,sans-serif}
body.v2 .v2-ads-hero-copy span{font-size:13px;color:#D5D6E6;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.v2 .v2-ads-hero-copy span i{width:8px;height:8px;border-radius:50%;display:inline-block}
body.v2 .v2-ads-hero-copy span i.on{background:#2ECC71}
body.v2 .v2-ads-hero-copy span i.off{background:#8587A6;margin-left:12px}
body.v2 .v2-ads-hero-act{display:flex;gap:10px;position:relative;z-index:1;flex:none}
body.v2 .v2-ads-hero-act button{height:48px;border-radius:14px;border:0;padding:0 18px 0 14px;display:flex;align-items:center;gap:8px;font:700 15px Inter,sans-serif;cursor:pointer}
body.v2 #v2AdsCats{background:rgba(255,255,255,.1);color:#fff}
body.v2 #v2AdsCats:hover{background:rgba(255,255,255,.18)}
body.v2 #v2AdsAdd{background:linear-gradient(90deg,#FFC61A,#FFD75A);color:#17182F;box-shadow:0 8px 20px rgba(255,198,26,.35)}
body.v2 .v2-ads-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
body.v2 .v2-ads-chips{display:flex;gap:8px;flex-wrap:wrap;flex:1;min-width:0}
body.v2 .v2-ads-chips button{height:40px;border-radius:999px;border:1px solid #fff;background:#fff;box-shadow:0 4px 12px rgba(70,64,140,.06);padding:0 8px 0 16px;display:flex;align-items:center;gap:8px;font:600 14px Inter,sans-serif;color:var(--v2-ink);cursor:pointer}
body.v2 .v2-ads-chips button em{font-style:normal;font-size:12px;font-weight:700;min-width:24px;height:24px;border-radius:999px;background:#EEEDF8;color:#5B5E78;display:grid;place-items:center;padding:0 6px}
body.v2 .v2-ads-chips button.active{background:var(--v2-ink);color:#fff;border-color:var(--v2-ink)}
body.v2 .v2-ads-chips button.active em{background:#FFC61A;color:#17182F}
body.v2 .v2-ads-seg{display:flex;padding:4px;border-radius:12px;background:#E9E7F5;flex:none}
body.v2 .v2-ads-seg button{height:34px;padding:0 14px;border:0;border-radius:9px;background:transparent;font:600 13px Inter,sans-serif;color:#5B5E78;cursor:pointer}
body.v2 .v2-ads-seg button.active{background:#fff;color:var(--v2-ink);box-shadow:0 2px 6px rgba(70,64,140,.15)}
body.v2 .v2-ads-search{position:relative;width:230px;flex:none}
body.v2 .v2-ads-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:19px;color:var(--v2-faint);pointer-events:none}
body.v2 .v2-ads-bar .v2-ads-search input:not([type=checkbox]):not([type=radio]):not([type=file]){width:100%;min-height:42px;height:42px;padding:0 12px 0 38px!important;border:1px solid #fff!important;box-shadow:0 4px 12px rgba(70,64,140,.06)!important}
body.v2 #partners .partner-admin-grid>.panel:last-child{background:#fff!important;border:1px solid #fff!important;border-radius:20px!important;box-shadow:0 10px 30px rgba(70,64,140,.07)!important;padding:6px 0!important;overflow:hidden}
body.v2 #partnerCards{display:block!important}
body.v2 .v2-ad-row{display:grid;grid-template-columns:34px 92px minmax(180px,2.2fr) minmax(110px,1fr) minmax(90px,.8fr) minmax(120px,1fr) 96px auto;align-items:center;gap:14px;padding:12px 20px;border-top:1px solid var(--v2-line-2)}
body.v2 .v2-ad-row.head{border-top:0;padding:10px 20px;font:700 11px Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#8587A6}
body.v2 .v2-ad-row:not(.head):hover{background:#FAF9FE}
body.v2 .v2-ad-n{width:30px;height:30px;border-radius:9px;background:#EEEDF8;color:#5B5E78;display:grid;place-items:center;font:800 13px Manrope,Inter,sans-serif}
body.v2 .v2-ad-row img{width:92px;height:62px;object-fit:cover;border-radius:12px;background:#EEEDF8;display:block}
body.v2 .v2-ad-main{min-width:0;display:flex;flex-direction:column;gap:3px}
body.v2 .v2-ad-main b{font:800 15px Manrope,Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v2 .v2-ad-main span{font-size:13px;color:var(--v2-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v2 .v2-ad-cell{font-size:14px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis}
body.v2 .v2-ad-price{font-size:14px;font-weight:700}
body.v2 .v2-ad-price u{text-decoration:none;font-weight:500;color:var(--v2-faint)}
body.v2 .v2-ad-st{font-style:normal;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px}
body.v2 .v2-ad-st:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
body.v2 .v2-ad-st.on{background:var(--v2-green-soft);color:var(--v2-green)}
body.v2 .v2-ad-st.off{background:#EEEDF8;color:#6E7188}
body.v2 .v2-ad-row.off img,body.v2 .v2-ad-row.off .v2-ad-main{opacity:.55}
body.v2 .v2-ad-act{display:flex;gap:6px;justify-content:flex-end}
body.v2 .v2-ad-act button{height:36px;min-width:36px;border-radius:10px;border:1px solid var(--v2-line);background:#fff;color:var(--v2-ink);display:flex;align-items:center;justify-content:center;gap:6px;padding:0;cursor:pointer;font:600 13px Inter,sans-serif}
body.v2 .v2-ad-act button i{font-size:18px}
body.v2 .v2-ad-act .view{padding:0 12px 0 9px;background:var(--v2-ink);color:#fff;border-color:var(--v2-ink)}
body.v2 .v2-ad-act .del{color:var(--v2-red)}
body.v2 .v2-ad-act button:hover{border-color:#A9A4F2}
body.v2 .v2-ads-none{display:flex;flex-direction:column;align-items:center;gap:6px;padding:44px 20px;text-align:center}
body.v2 .v2-ads-none i{width:56px;height:56px;border-radius:16px;background:var(--v2-violet-soft);color:#6C63E0;display:grid;place-items:center;font-size:28px}
body.v2 .v2-ads-none span{font-size:13px;color:var(--v2-muted)}
@media (max-width:1150px){body.v2 .v2-ad-row{grid-template-columns:34px 76px minmax(0,1fr) 96px auto}body.v2 .v2-ad-row>.v2-ad-cell,body.v2 .v2-ad-row>.v2-ad-price,body.v2 .v2-ad-row.head{display:none}body.v2 .v2-ad-row img{width:76px;height:54px}body.v2 .v2-ad-act .view{font-size:0;padding:0}}
@media (max-width:760px){body.v2 .v2-ads-hero{flex-wrap:wrap}body.v2 .v2-ads-hero-act{width:100%}body.v2 .v2-ads-hero-act button{flex:1;justify-content:center}body.v2 .v2-ads-search{width:100%}}
body.v2 .v2-ad-row{grid-template-columns:92px minmax(0,1fr) 150px 100px 140px 96px 196px!important}
@media (max-width:1150px){body.v2 .v2-ad-row{grid-template-columns:76px minmax(0,1fr) 96px auto!important}}

/* ---- v12: profile window + yookassa only ---- */
body.v2 .aside-bottom{cursor:pointer}
body.v2 .aside-bottom:hover{background:rgba(255,255,255,.1)!important}
body.v2 .v2-top-user span.has-photo,body.v2 #v2UserAvatar.has-photo{padding:0;overflow:hidden;background:none}
body.v2 .v2-top-user span img,body.v2 #v2UserAvatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
body.v2 .v2-prof{position:relative;width:min(560px,100%);max-height:92vh;overflow:auto;background:#F6F5FC;border-radius:24px;box-shadow:0 30px 80px rgba(23,24,47,.35)}
body.v2 .v2-prof>.modal-close{background:rgba(255,255,255,.12)!important;color:#fff!important}
body.v2 .v2-prof-head{display:flex;align-items:center;gap:18px;padding:28px 70px 24px 26px;background:linear-gradient(135deg,#1C1D38 0%,#2A2B58 100%);color:#fff;border-radius:24px 24px 0 0}
body.v2 .v2-prof-photo{width:84px;height:84px;border-radius:50%;flex:none;background:linear-gradient(135deg,#FFC61A,#FFDD70);color:#17182F;display:grid;place-items:center;font:800 32px Manrope,Inter,sans-serif;overflow:hidden;border:3px solid rgba(255,255,255,.2)}
body.v2 .v2-prof-photo img{width:100%;height:100%;object-fit:cover}
body.v2 .v2-prof-id{min-width:0}
body.v2 .v2-prof-id h2{font:800 22px Manrope,Inter,sans-serif;color:#fff;margin:0}
body.v2 .v2-prof-id p{margin:3px 0 8px;color:#B9BBD6;font-size:14px}
body.v2 .v2-prof-id em{font-style:normal;font-size:12px;font-weight:700;background:rgba(255,198,26,.16);color:#FFC61A;border-radius:999px;padding:4px 10px}
body.v2 .v2-prof-body{padding:16px;display:grid;gap:14px}
body.v2 .v2-prof-body section{background:#fff;border-radius:18px;padding:18px;box-shadow:0 6px 18px rgba(70,64,140,.06);display:grid;gap:14px}
body.v2 .v2-prof-h{display:flex;align-items:center;gap:10px}
body.v2 .v2-prof-h i{width:34px;height:34px;border-radius:10px;background:var(--v2-violet-soft);color:#6C63E0;display:grid;place-items:center;font-size:20px}
body.v2 .v2-prof-h b{font:800 16px Manrope,Inter,sans-serif}
body.v2 .v2-prof .form-field{display:grid;gap:6px;font:600 13px Inter,sans-serif}
body.v2 .v2-prof .form-field input{width:100%}
body.v2 .v2-prof-photo-row{display:flex;gap:10px;flex-wrap:wrap}
body.v2 .v2-prof-btn{height:42px;border-radius:12px;border:0;padding:0 16px 0 12px;display:inline-flex;align-items:center;gap:8px;font:600 14px Inter,sans-serif;cursor:pointer;background:var(--v2-ink);color:#fff}
body.v2 .v2-prof-btn.ghost{background:#fff;color:var(--v2-ink);border:1px solid var(--v2-line);padding:0 16px}
body.v2 .v2-prof-btn input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
body.v2 .v2-prof-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.v2 .v2-prof-actions small{font-size:12px;color:var(--v2-muted)}
body.v2 .v2-prof-actions button{min-height:44px;padding:0 20px}
body.v2 .v2-prof-show{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--v2-muted);cursor:pointer}
body.v2 .v2-prof-show input{width:18px;height:18px;accent-color:#17182F}
body.v2 .provider-box.provider-manual,body.v2 .provider-box.provider-robokassa{display:none!important}
body.v2 .provider-box.provider-yookassa{display:block!important;background:var(--v2-soft)!important;border:1px solid var(--v2-line)!important;border-radius:16px!important;padding:18px!important}
body.v2 .v2-yoo-h{display:flex;align-items:center;gap:12px;margin-bottom:14px}
body.v2 .v2-yoo-h span{width:42px;height:42px;border-radius:12px;background:var(--v2-ink);color:#FFC61A;display:grid;place-items:center;flex:none}
body.v2 .v2-yoo-h h3{margin:0;font:800 16px Manrope,Inter,sans-serif}
body.v2 .v2-yoo-h p{margin:2px 0 0;font-size:13px;color:var(--v2-muted)}
body.v2 .provider-yookassa .form-field small{font-size:12px;font-weight:500;color:var(--v2-muted);line-height:1.4}
body.v2 .provider-yookassa .payment-settings-grid{gap:14px!important}
body.v2 #paymentSettingsState{display:none!important}
/* v14 заказы водителя */
body.v2 .v2-ord-sum{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 14px;margin:0 0 10px;border-radius:14px;background:#F6F5FB;font:500 13px Inter,sans-serif;color:#555}
body.v2 .v2-ord-sum b{color:#17182F;font-weight:800}
body.v2 .v2-ord-period{margin-right:8px;height:36px;border-radius:10px;border:1px solid #E3E2EE;padding:0 10px;font:600 13px Inter,sans-serif;background:#fff}
body.v2 .v2-ord-accepted .order-status{background:#FFF1B8!important;color:#8A6500!important}
body.v2 .v2-ord-missed .order-status{background:#F1F1F4!important;color:#777!important}
/* v15 доступ одной кнопкой */
body.v2 .profile-access.v2-acc-one{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;background:#F6F5FB}
body.v2 .v2-acc-one .v2-acc-state{display:flex;align-items:center;gap:8px;font:800 15px Inter,sans-serif}
body.v2 .v2-acc-one .v2-acc-state.on{color:#1F7A45}
body.v2 .v2-acc-one .v2-acc-state.off{color:#B3261E}
body.v2 .v2-acc-one button{min-width:160px;height:42px;border-radius:12px;font:800 14px Inter,sans-serif}
/* v16 Кыргызстан */
body.v2 .v2-kg-box{display:block!important;margin-top:14px}
body.v2 .v2-kg-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
body.v2 .v2-kg-actions span{font:600 13px Inter,sans-serif;color:#6B6B80}
/* v17 выбор страны и проверка кассы */
body.v2 .v2-region{position:relative;margin-right:10px}
body.v2 .v2-region-btn{display:flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:14px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff;font:800 14px Inter,sans-serif;cursor:pointer}
body.v2 .v2-region-menu{position:absolute;right:0;top:50px;z-index:30;min-width:260px;background:#fff;border-radius:16px;box-shadow:0 18px 40px rgba(20,20,60,.22);padding:6px}
body.v2 .v2-region-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;border:0;border-radius:12px;background:transparent;text-align:left;cursor:pointer}
body.v2 .v2-region-menu button:hover{background:#F4F3FA}
body.v2 .v2-region-menu b{font:800 14px Inter,sans-serif;color:#17182F}
body.v2 .v2-region-menu span{font:500 12px Inter,sans-serif;color:#6B6B80}
body.v2 .subscription-hero-actions{display:flex;align-items:center}
body.v2 .v2-cc{margin-top:12px;display:flex;flex-direction:column;gap:8px}
body.v2 .v2-cc>button{align-self:flex-start;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:12px;height:38px;padding:0 12px;font:700 13px Inter,sans-serif}
body.v2 .v2-cc-chips{display:flex;flex-wrap:wrap;gap:6px}
body.v2 .v2-cc-chips span{display:flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:600 12px Inter,sans-serif}
body.v2 .v2-cc em{font-style:normal;font-weight:900}
body.v2 .v2-cc em.ok{color:#7BE3A6}body.v2 .v2-cc em.bad{color:#FF8A80}body.v2 .v2-cc em.na{color:#ccc}
body.v2 .v2-cc p{margin:2px 0 0;font:700 13px Inter,sans-serif}body.v2 .v2-cc p.ok{color:#7BE3A6}body.v2 .v2-cc p.bad{color:#FFB4AB}
body.v2 .v2-cc-wait{color:#fff;font:600 13px Inter,sans-serif}
/* v18 аккуратная проверка кассы */
body.v2 .v2-cc{margin-top:16px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);gap:10px}
body.v2 .v2-cc>button{align-self:flex-start;height:36px;padding:0 14px;border-radius:999px;background:#FFC61A!important;color:#17182F!important;border:0!important;font:800 13px Inter,sans-serif}
body.v2 .v2-cc>button i{font-size:18px}
body.v2 .v2-cc-res:empty{display:none}
body.v2 .v2-cc-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
body.v2 .v2-cc-chips span{justify-content:flex-start;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.1);font:600 13px Inter,sans-serif}
body.v2 .v2-cc em{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:12px}
body.v2 .v2-cc em.ok{background:#1F7A45;color:#fff}body.v2 .v2-cc em.bad{background:#B3261E;color:#fff}body.v2 .v2-cc em.na{background:rgba(255,255,255,.2);color:#fff}
body.v2 .v2-cc p{padding:10px 12px;border-radius:12px;font:700 13px Inter,sans-serif}
body.v2 .v2-cc p.ok{background:rgba(31,122,69,.25);color:#B8F5CF}body.v2 .v2-cc p.bad{background:rgba(179,38,30,.25);color:#FFD2CC}
/* v20 страна в «Настройках Premium» */
body.v2 .payment-settings-panel[data-region=ru] .only-kg,body.v2 .payment-settings-panel[data-region=kg] .only-ru{display:none!important}
body.v2 .payment-settings-panel[data-region=kg] .provider-box.provider-yookassa{display:none!important}
body.v2 .payment-settings-panel[data-region=ru] .provider-box.v2-kg-box{display:none!important}
body.v2 .payment-settings-panel[data-region=kg] .provider-box.v2-kg-box{display:block!important}
body.v2 .v2-country-seg{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 16px}
body.v2 .v2-country-seg button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:12px 14px;border-radius:14px;border:1.5px solid var(--v2-line);background:#fff;cursor:pointer}
body.v2 .v2-country-seg button span{grid-row:1/3;font-size:24px}
body.v2 .v2-country-seg button b{font:800 15px Inter,sans-serif;color:#17182F}
body.v2 .v2-country-seg button small{font:500 12px Inter,sans-serif;color:var(--v2-muted)}
body.v2 .v2-country-seg button.on{border-color:#4F46E5;background:#EEF0FF;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
body.v2 .v2-pay-method{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border-radius:12px;background:var(--v2-soft);border:1px solid var(--v2-line);font:800 14px Inter,sans-serif;color:#17182F}
body.v2 .v2-pay-method i{font-size:20px;color:#4F46E5}
body.v2 .v2-kg-state{display:block;margin-top:8px;font:600 12px Inter,sans-serif;color:var(--v2-muted)}
/* v21: тёмная шапка оплаты — только страна, проверка кассы, сохранить */
body.v2 .v2-pay-summary #v2PaySummary,body.v2 .v2-pay-summary .v2-pay-nums{display:none!important}
body.v2 .v2-pay-summary{display:flex!important;flex-direction:column;gap:12px}
body.v2 .v2-pay-summary .subscription-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:flex-start;margin:0!important}
body.v2 .v2-pay-summary .v2-region{margin:0}
body.v2 .v2-cc-btn{display:flex;align-items:center;gap:6px;height:44px;padding:0 16px;border-radius:14px;border:0;background:#FFC61A;color:#17182F;font:800 14px Inter,sans-serif;cursor:pointer}
body.v2 .v2-cc-btn i{font-size:19px}
body.v2 .v2-pay-summary #paymentSettingsSaveTop{margin-left:auto;height:44px}
body.v2 .v2-cc{margin:0!important;padding:0!important;background:none!important;border:0!important}
body.v2 .v2-cc-res:not(:empty){padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);display:flex;flex-direction:column;gap:10px}
/* v24 открыть доступ на N дней */
body.v2 .v2-acc-state span{display:flex;flex-direction:column}
body.v2 .v2-acc-state small{font:500 12px Inter,sans-serif;color:var(--v2-muted);margin-top:2px}
body.v2 .v2-acc-btns{display:flex;gap:8px}
.v2-acc-modal{position:fixed;inset:0;z-index:9999;background:rgba(17,17,30,.45);display:grid;place-items:center;padding:16px}
.v2-acc-card{width:min(420px,100%);background:#fff;border-radius:22px;padding:20px;box-shadow:0 24px 60px rgba(20,20,60,.25);display:flex;flex-direction:column;gap:8px;font-family:Inter,sans-serif}
.v2-acc-head{display:flex;gap:12px;align-items:center;margin-bottom:6px}
.v2-acc-head i{width:44px;height:44px;border-radius:14px;background:#E8F6EC;color:#1F7A45;display:grid;place-items:center}
.v2-acc-head b{display:block;font-size:17px;color:#17182F}.v2-acc-head span{font-size:13px;color:#6B6B80}
.v2-acc-card label{font-size:12px;font-weight:700;color:#6B6B80;margin-top:6px}
.v2-acc-days{display:flex;gap:6px}
.v2-acc-days button{flex:1;height:40px;border-radius:12px;border:1.5px solid #E4E4EE;background:#fff;font:800 14px Inter,sans-serif;cursor:pointer}
.v2-acc-days button.on{border-color:#4F46E5;background:#EEF0FF;color:#4F46E5}
.v2-acc-days input{width:76px;height:40px;border-radius:12px;border:1.5px solid #E4E4EE;padding:0 10px;font:700 14px Inter,sans-serif}
.v2-acc-card input[type=date]{height:42px;border-radius:12px;border:1.5px solid #E4E4EE;padding:0 12px;font:600 14px Inter,sans-serif}
#v2AccPreview{margin:8px 0 2px;padding:10px 12px;border-radius:12px;background:#F4F3FA;font:700 13px Inter,sans-serif;color:#17182F}
.v2-acc-actions{display:flex;gap:8px;margin-top:6px}.v2-acc-actions button{flex:1;height:44px;border-radius:14px}
/* v25 конкурс */
body.v2 #v2ContestHero{display:none!important}
body.v2 .v2c-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;align-items:start}
@media(max-width:980px){body.v2 .v2c-grid{grid-template-columns:1fr}}
body.v2 .v2c-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
body.v2 .v2c-head h2{margin:2px 0}body.v2 .v2c-head p{margin:0;color:var(--v2-muted);font-size:13px}
body.v2 .v2c-badge{white-space:nowrap;padding:6px 12px;border-radius:999px;font:800 12px Inter,sans-serif}
body.v2 .v2c-badge.on{background:#E8F6EC;color:#1F7A45}body.v2 .v2c-badge.soon{background:#FFF3C4;color:#7A5A00}body.v2 .v2c-badge.off{background:#F1F1F5;color:#6B6B80}
body.v2 .v2c-lbl{font:800 13px Inter,sans-serif;color:#17182F;margin:14px 0 8px}body.v2 .v2c-lbl small{font-weight:500;color:var(--v2-muted);margin-left:6px}
body.v2 .v2c-chips{display:flex;flex-wrap:wrap;gap:6px}
body.v2 .v2c-chips button{height:34px;padding:0 12px;border-radius:999px;border:1.5px solid #E4E4EE;background:#fff;font:700 13px Inter,sans-serif;cursor:pointer}
body.v2 .v2c-chips button.on{background:#4F46E5;border-color:#4F46E5;color:#fff}
body.v2 .v2c-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
body.v2 .v2c-prize{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:#F7F7FB;margin-bottom:6px}
body.v2 .v2c-prize span{width:28px;text-align:center;font:900 15px Inter,sans-serif}body.v2 .v2c-prize b{width:70px;font-size:13px}
body.v2 .v2c-prize input{flex:1;height:38px;border-radius:10px;border:1px solid #E4E4EE;padding:0 10px}
body.v2 .v2c-prize.t0{background:#FFF6D6}body.v2 .v2c-prize.t1{background:#F1F1F4}body.v2 .v2c-prize.t2{background:#FBEBDD}
body.v2 .v2c-add{width:100%;height:40px;border-radius:12px;margin-top:2px}
body.v2 .v2c-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}
body.v2 .v2c-board h3{margin:0 0 10px}
body.v2 .v2c-row{display:grid;grid-template-columns:32px 1fr auto auto;gap:8px;align-items:center;padding:9px 10px;border-radius:12px;background:#F7F7FB;margin-bottom:6px}
body.v2 .v2c-row i{grid-column:2/5;font-style:normal;font-size:12px;color:#7A5A00}
body.v2 .v2c-row.m1{background:#FFF6D6}body.v2 .v2c-row.m2{background:#F1F1F4}body.v2 .v2c-row.m3{background:#FBEBDD}
body.v2 .v2c-row small{color:var(--v2-muted)}body.v2 .v2c-row em{font-style:normal;font-weight:900}
body.v2 .v2c-empty{color:var(--v2-muted)}
body.v2 .v2c-hist{display:flex;flex-direction:column;padding:8px 0;border-top:1px solid #EEE}body.v2 .v2c-hist small{color:var(--v2-muted)}
/* v27: загрузка — чистый белый экран и аккуратный кружок */
.page-loader,body.v2 .page-loader{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:opacity .25s ease,visibility .25s ease}
.page-loader-card,body.v2 .page-loader-card{min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.page-loader-card b,.page-loader-card small{display:none!important}
.page-loader-spinner,body.v2 .page-loader-spinner{width:44px!important;height:44px!important;border:3.5px solid #EFEFF3!important;border-top-color:#FFC928!important;border-right-color:#FFC928!important;border-radius:50%!important;animation:v2spin .8s linear infinite!important}
@keyframes v2spin{to{transform:rotate(360deg)}}
