:root{
  --bg:#f6f6f3; --paper:#ffffff; --ink:#0b0d10; --muted:#71747b; --line:#e8e5df; --soft:#f0f0ec;
  --accent:#111216; --accent2:#d9b45f; --ok:#0b8f52; --bad:#c43b3b; --shadow:0 22px 70px rgba(8,10,14,.08);
  --radius:28px; --radius2:40px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.muted{color:var(--muted)}.center{text-align:center}.reveal{opacity:0;transform:translateY(12px);transition:.55s cubic-bezier(.2,.8,.2,1)}.reveal.show{opacity:1;transform:none}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,76px);position:sticky;top:0;z-index:50;background:rgba(246,246,243,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(232,229,223,.72)}
.brand{display:flex;align-items:center;gap:12px;font-weight:950;letter-spacing:-.04em;font-size:22px}.brand span{color:#888}.site-avatar{width:38px;height:38px;border-radius:14px;object-fit:cover;box-shadow:0 8px 26px rgba(0,0,0,.08)}.nav-menu{display:flex;gap:26px;color:#53565d;font-weight:760}.nav-menu a:hover{color:#000}.nav-right{display:flex;align-items:center;gap:12px}.btn,.auth button,.wizard .nav-btn,.wizard button[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;border:1px solid var(--accent);background:var(--accent);color:#fff;padding:0 20px;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.08);transition:.18s ease}.btn:hover,.auth button:hover,.wizard .nav-btn:hover,.wizard button[type=submit]:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(0,0,0,.12)}.btn.ghost,.btn.secondary{background:#fff;color:#111;border-color:var(--line);box-shadow:none}.btn.small{min-height:40px;padding:0 15px;font-size:14px}.profile{position:relative}.profile-toggle{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 12px 6px 6px;display:flex;align-items:center;gap:9px;font-weight:850;cursor:pointer}.avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#eee}.avatar.large{width:54px;height:54px}.profile-menu{display:none;position:absolute;right:0;top:54px;width:270px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:14px}.profile:hover .profile-menu{display:block}.profile-top{display:flex;gap:12px;align-items:center;padding:8px 8px 14px;border-bottom:1px solid var(--line);margin-bottom:6px}.profile-top small{display:block;color:var(--muted);max-width:160px;overflow:hidden;text-overflow:ellipsis}.profile-menu a{display:block;padding:12px 10px;border-radius:14px;font-weight:820}.profile-menu a:hover{background:var(--soft)}.profile-menu .danger{color:#b63535}
.hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:54px;align-items:center;min-height:calc(100vh - 76px);padding:clamp(52px,7vw,104px) clamp(22px,6vw,92px)}.eyebrow{display:inline-flex;color:#656970;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:950}.hero h1{font-size:clamp(56px,9vw,122px);line-height:.88;margin:18px 0 22px;letter-spacing:-.085em}.lead{font-size:clamp(18px,2.1vw,25px);line-height:1.45;color:#4b4f57;max-width:720px}.hero-points{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.hero-points span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-weight:860}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-note{margin-top:18px;color:#8c8f96;font-size:14px}.earth-panel{background:radial-gradient(circle at 50% 20%,#fff 0,#fbfbf8 38%,#eeeeea 100%);border:1px solid var(--line);border-radius:var(--radius2);padding:28px;box-shadow:var(--shadow);overflow:hidden}.earth-wrap{height:410px;display:grid;place-items:center;position:relative}.earth{width:min(310px,70vw);height:min(310px,70vw);border-radius:50%;position:relative;overflow:hidden;background:#08223d;box-shadow:inset -45px -28px 80px rgba(0,0,0,.46), inset 25px 20px 50px rgba(255,255,255,.12), 0 35px 90px rgba(11,36,66,.22);animation:earthFloat 6s ease-in-out infinite}.earth-map{position:absolute;inset:0;background-image:url('/static/img/earth-map.svg');background-size:190% 100%;background-repeat:repeat-x;opacity:.94;animation:earthMove 28s linear infinite;filter:contrast(1.05) saturate(.92)}.earth:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 35% 22%,rgba(255,255,255,.28),transparent 30%),linear-gradient(100deg,transparent 45%,rgba(0,0,0,.28));mix-blend-mode:screen}.route-bg{position:absolute;width:76%;height:1px;background:linear-gradient(90deg,transparent,rgba(217,180,95,.7),transparent);filter:blur(.1px);opacity:.55}.r1{transform:rotate(17deg);animation:linePulse 5s ease-in-out infinite}.r2{transform:rotate(-24deg);animation:linePulse 6s ease-in-out infinite reverse}.r3{transform:rotate(54deg);animation:linePulse 7s ease-in-out infinite}.stats,.network-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.stats div,.network-stats div{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;text-align:center}.stats b,.network-stats b{display:block;font-size:26px;letter-spacing:-.04em}.stats span,.network-stats span{color:var(--muted);font-weight:800;font-size:13px}
.section{padding:82px clamp(20px,6vw,92px)}.section-head{text-align:center;max-width:850px;margin:0 auto 36px}.section-head h2,.section-head h1{font-size:clamp(34px,5vw,68px);line-height:.96;letter-spacing:-.065em;margin:12px 0}.section-head p{color:var(--muted);font-size:18px;line-height:1.55}.value-grid,.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1180px;margin:0 auto}.value-grid div,.trust-grid div{background:#fff;border:1px solid var(--line);border-radius:30px;padding:28px;box-shadow:0 18px 56px rgba(8,10,14,.04)}.value-grid b,.trust-grid b{display:block;font-size:22px;letter-spacing:-.03em;margin-bottom:10px}.value-grid span,.trust-grid span{color:var(--muted);line-height:1.6}.plans-preview{background:#fff;border-block:1px solid var(--line)}.tariff-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-width:1120px;margin:0 auto 30px}.tariff-preview div{background:var(--bg);border:1px solid var(--line);border-radius:26px;padding:22px;text-align:center}.tariff-preview span{display:block;font-weight:950}.tariff-preview b{display:block;font-size:30px;margin:8px 0}.tariff-preview small{color:var(--muted)}.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:1120px;margin:0 auto}.status-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;display:flex;align-items:center;justify-content:space-between}.status-dot{width:10px;height:10px;border-radius:50%;background:#1fbf73;box-shadow:0 0 0 6px rgba(31,191,115,.1)}.support-card{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#111216;color:#fff;border-radius:42px;padding:40px;box-shadow:var(--shadow)}.support-card h2{font-size:clamp(32px,4vw,58px);margin:10px 0;letter-spacing:-.06em}.support-card p{color:#c9ccd2}.support-actions{display:flex;gap:12px;flex-wrap:wrap}.support-actions .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.2)}
.footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:34px clamp(18px,5vw,76px);border-top:1px solid var(--line);background:#fff}.footer-brand{display:flex;align-items:center;gap:10px;font-weight:950}.footer-brand img{width:34px;height:34px;border-radius:12px}.footer-links{display:flex;gap:22px;flex-wrap:wrap;color:var(--muted);font-weight:780}
.auth{width:min(470px,calc(100vw - 36px));margin:70px auto;background:#fff;border:1px solid var(--line);border-radius:36px;padding:34px;box-shadow:var(--shadow)}.auth h1{font-size:42px;line-height:.95;letter-spacing:-.055em;margin:0 0 10px}.auth label{display:block;color:#53565d;font-weight:850;margin:14px 0}.auth input{width:100%;height:50px;border:1px solid var(--line);border-radius:16px;padding:0 14px;outline:none;margin-top:8px;background:#fbfbf8}.auth button{width:100%;margin-top:10px}.alert-error{display:flex;gap:12px;background:#fff2f2;border:1px solid #ffdada;border-radius:18px;padding:14px;color:#7e2222;margin:16px 0}.alert-error span{font-size:22px;font-weight:950}.telegram-login{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;border-radius:999px;background:#eef8ff;border:1px solid #d9e8f5;color:#1688c7;font-weight:920;margin:16px 0}.or{text-align:center;color:var(--muted);font-weight:850}
.dashboard{padding:44px clamp(18px,5vw,76px) 78px}.dash-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:36px;padding:30px;box-shadow:var(--shadow);margin-bottom:18px}.dash-hero h1{font-size:clamp(34px,5vw,62px);letter-spacing:-.06em;margin:8px 0 6px}.dash-actions-top{display:flex;align-items:center;gap:18px}.telegram-support{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9e8f5;background:#eef8ff;color:#1688c7;border-radius:999px;min-height:46px;padding:0 18px;font-weight:920}.avatar-uploader{display:flex;align-items:center;gap:12px;background:var(--soft);border-radius:999px;padding:8px 12px 8px 8px}.avatar-uploader img{width:44px;height:44px;border-radius:50%;object-fit:cover}.avatar-uploader label{font-weight:900;cursor:pointer}.dash-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:34px;padding:26px;box-shadow:var(--shadow);margin-bottom:18px}.panel-head h2,.panel-row h2,.panel h2{font-size:34px;letter-spacing:-.05em;margin:6px 0 8px}.panel-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px}.account-aside{align-self:start}.account-aside h3{font-size:28px;margin:0 0 12px}.account-aside a{display:block;padding:12px 0;border-top:1px solid var(--line);font-weight:860}.mini-stat{display:flex;justify-content:space-between;align-items:center;background:var(--soft);border-radius:18px;padding:14px;margin:10px 0}.mini-stat b{font-size:26px}.mini-stat span{color:var(--muted);font-weight:800}
.wizard{margin-top:18px}.wizard-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}.wizard-progress span{height:8px;border-radius:999px;background:var(--soft)}.wizard-progress span.active{background:#111216}.wizard-step{display:none;animation:fade .22s ease}.wizard-step.active{display:block}.option-grid,.plan-grid,.vpn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.plan-card,.vpn-card{border:1px solid var(--line);background:#fbfbf8;border-radius:24px;padding:20px;text-align:left;cursor:pointer;min-height:110px}.plan-card.active,.vpn-card.active{background:#111216;color:#fff;border-color:#111216}.plan-card b,.vpn-card b{display:block;font-size:22px}.plan-card span,.vpn-card span{display:block;color:inherit;opacity:.65;margin-top:6px}.wizard input[type=text]{width:100%;height:54px;border:1px solid var(--line);border-radius:18px;background:#fbfbf8;padding:0 16px;outline:none}.wizard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.summary-card{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.summary-card div{background:var(--soft);border-radius:18px;padding:16px}.summary-card span{display:block;color:var(--muted);font-weight:800;font-size:13px}.summary-card b{display:block;font-size:20px;margin-top:4px}
.config-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.config-search{height:44px;border:1px solid var(--line);border-radius:999px;padding:0 16px;background:#fff;outline:none}.tabs{display:flex;gap:8px}.tab{border:1px solid var(--line);background:#fff;border-radius:999px;height:42px;padding:0 14px;font-weight:900;cursor:pointer}.tab.active{background:#111216;color:#fff;border-color:#111216}.config-groups{display:grid;gap:14px}.group-block{border:1px solid var(--line);border-radius:28px;background:#fafaf7;overflow:hidden}.group-block>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;font-weight:950;font-size:22px}.group-block>summary::-webkit-details-marker,.config>summary::-webkit-details-marker{display:none}.group-block>summary span{font-size:14px;color:#fff;background:#111216;border-radius:999px;padding:5px 10px}.compact-list{display:grid;gap:10px;padding:0 14px 14px}.config{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}.config summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px}.cfg-main{min-width:0}.cfg-main b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cfg-main small{display:block;color:var(--muted);margin-top:5px}.config summary>span{background:#ecf9f2;color:var(--ok);border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px}.config-body{border-top:1px solid var(--line);padding:18px}.inline-rename,.renew,.actions,.qr-wrap,.link-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.inline-rename input,.renew select,.link-row input{height:44px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:0 14px;outline:none}.inline-rename input,.link-row input{flex:1;min-width:220px}.inline-rename button,.renew button,.actions button,.link-row button{border:0;background:#111216;color:#fff;border-radius:999px;min-height:40px;padding:0 16px;font-weight:900;cursor:pointer}.qr.big-qr{width:320px;height:320px;max-width:100%;background:#fff;border:12px solid #fff;border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.08);image-rendering:auto}.qr-full-link{color:#111;text-decoration:underline;font-weight:850}.connection-master{background:#f6f6f2;border:1px solid var(--line);border-radius:22px;padding:16px;margin-top:12px}.device-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.device-tabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-weight:850;cursor:pointer}.device-tabs button.active{background:#111216;color:#fff;border-color:#111216}.device-guide{margin:0;color:var(--muted);line-height:1.5}.config pre{max-height:190px;overflow:auto;background:#0e1014;color:#edf1f7;border-radius:18px;padding:16px;font-size:12px}.empty{padding:22px;border:1px dashed #d8d3c5;border-radius:20px;color:var(--muted);background:#fff}.orders .order{display:grid;grid-template-columns:1.2fr 1fr 1.4fr .7fr .7fr;gap:12px;padding:14px 0;border-top:1px solid var(--line);align-items:center}.orders mark{background:#ecf9f2;color:var(--ok);border-radius:999px;padding:7px 10px;font-weight:900;text-align:center}.modal-ok{position:fixed;inset:0;background:rgba(8,9,11,.52);backdrop-filter:blur(10px);z-index:100;display:grid;place-items:center}.modal-ok>div{background:#fff;border-radius:34px;padding:36px;text-align:center;box-shadow:var(--shadow);width:min(430px,calc(100vw - 32px))}.ok-icon{width:58px;height:58px;border-radius:50%;background:#111216;color:#fff;display:grid;place-items:center;margin:0 auto 14px;font-size:28px;font-weight:950}.modal-ok b{font-size:26px}.modal-ok p{color:var(--muted);line-height:1.5}.modal-ok button{border:0;border-radius:999px;background:#111216;color:#fff;min-height:46px;padding:0 18px;font-weight:900;cursor:pointer}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.admin-stats div,.admin-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:26px}.admin-stats b{display:block;font-size:34px}.admin-stats span{color:var(--muted);font-weight:850}.guides{padding:70px clamp(18px,5vw,76px)}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.guide-section{background:#fff;border:1px solid var(--line);border-radius:30px;padding:24px;box-shadow:var(--shadow)}.guide-card{background:var(--soft);border-radius:22px;padding:18px;margin:12px 0}.guide-card ol{line-height:1.7;color:#444}
@keyframes earthMove{to{background-position-x:190%}}@keyframes earthFloat{50%{transform:translateY(-10px) rotate(-1deg)}}@keyframes linePulse{50%{opacity:.9;transform:translateY(-7px) rotate(var(--r,17deg))}}@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1050px){.hero,.dash-grid{grid-template-columns:1fr}.earth-wrap{height:350px}.value-grid,.trust-grid,.status-grid{grid-template-columns:repeat(2,1fr)}.tariff-preview{grid-template-columns:repeat(2,1fr)}.stats,.network-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.nav-menu{display:none}.hero{padding:42px 18px}.section,.dashboard,.guides{padding-left:18px;padding-right:18px}.dash-hero,.panel-row,.support-card,.footer{align-items:flex-start;flex-direction:column}.option-grid,.plan-grid,.vpn-grid,.summary-card,.value-grid,.trust-grid,.status-grid,.tariff-preview,.guide-grid,.admin-stats{grid-template-columns:1fr}.wizard-progress{grid-template-columns:repeat(5,1fr)}.orders .order{grid-template-columns:1fr}.config-tools,.config-search{width:100%}.earth{width:230px;height:230px}.qr.big-qr{width:260px;height:260px}.auth{padding:24px}}
.plan-card strong,.vpn-card strong{display:block;margin:10px 0 2px;font-size:30px;letter-spacing:-.04em}.vpn-card strong{font-size:20px}.nav-btn.ghost{background:#fff;color:#111;border-color:var(--line);box-shadow:none}pre{white-space:pre-wrap}.admin-page pre{background:#0e1014;color:#eef2f7;border-radius:18px;padding:14px;font-size:12px;overflow:auto}.wizard-step h3{font-size:32px;letter-spacing:-.045em;margin:8px 0 10px}.wizard-step .muted{line-height:1.55}.qr-wrap{align-items:flex-start}.qr-wrap small{max-width:280px;color:var(--muted);line-height:1.45}.qr-wrap small a{display:block;margin-top:7px}.status-card span{display:block;margin-top:4px}.config-body pre{white-space:pre-wrap;word-break:break-word}.choice{border:1px solid var(--line);background:#fbfbf8;border-radius:24px;padding:20px;text-align:left;cursor:pointer}.choice.active{background:#111216;color:#fff;border-color:#111216}
/* Premium v2: small glass, dark/light theme, banking cabinet */
body.dark{--bg:#0d0f12;--paper:#14171c;--ink:#f4f6f8;--muted:#a4abb7;--line:#272c35;--soft:#191d24;--accent:#f5f6f8;--accent2:#d9b45f;--shadow:0 22px 70px rgba(0,0,0,.34);background:radial-gradient(circle at 20% 0%,rgba(217,180,95,.08),transparent 30%),#0d0f12;color:var(--ink)}
body.dark .nav{background:rgba(13,15,18,.72);border-bottom-color:rgba(255,255,255,.08)}
body.dark .panel,body.dark .auth,body.dark .earth-panel,body.dark .value-grid div,body.dark .trust-grid div,body.dark .stats div,body.dark .network-stats div,body.dark .status-card,body.dark .dash-hero,body.dark .admin-stats div,body.dark .admin-card,body.dark .guide-section,body.dark .modal-ok>div{background:rgba(20,23,28,.74);border-color:rgba(255,255,255,.09);backdrop-filter:blur(16px)}
body.dark .btn.ghost,body.dark .btn.secondary,body.dark .profile-toggle,body.dark .profile-menu,body.dark input,body.dark select,body.dark .tab,body.dark .config,body.dark .group-block,body.dark .plan-card,body.dark .vpn-card,body.dark .choice{background:#151922;color:var(--ink);border-color:var(--line)}
body.dark .btn,body.dark .wizard button[type=submit],body.dark .auth button,body.dark .wizard .nav-btn,body.dark .inline-rename button,body.dark .renew button,body.dark .actions button,body.dark .link-row button{background:#f5f6f8;color:#0d0f12;border-color:#f5f6f8}.theme-toggle{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;min-height:42px;padding:0 14px;font-weight:900;cursor:pointer}.glass-lite{background:rgba(255,255,255,.72);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.35)}.brand b:before{content:'M';display:inline-grid;place-items:center;width:32px;height:32px;border-radius:12px;background:#111216;color:#fff;margin-right:9px;font-size:16px;letter-spacing:-.03em}.brand .site-avatar{display:none}.referral-panel{display:flex;align-items:center;justify-content:space-between;gap:22px}.referral-panel h2{font-size:34px;letter-spacing:-.05em;margin:8px 0}.promo-field{display:block;margin-top:16px;font-weight:850;color:var(--muted)}.promo-field input{display:block;width:100%;height:50px;margin-top:8px;border:1px solid var(--line);border-radius:18px;padding:0 14px;background:var(--paper);color:var(--ink);outline:none}.admin-table{display:grid;gap:8px;margin-top:16px}.admin-row{display:grid;grid-template-columns:.45fr 1.4fr .8fr .8fr 1.8fr;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}.admin-row.head{font-weight:950;background:transparent}.admin-row small{display:block;color:var(--muted);margin-top:4px}.admin-inline,.admin-actions,.admin-create{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-inline input,.admin-inline select,.admin-actions input,.admin-create input{height:38px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:0 10px;min-width:76px}.admin-inline button,.admin-actions button,.admin-actions a,.admin-create button,.admin-row form button{border:0;border-radius:999px;background:#111216;color:#fff;min-height:36px;padding:0 12px;font-weight:900;cursor:pointer}.danger-btn{background:#b63535!important;color:#fff!important}body.dark .admin-inline button,body.dark .admin-actions button,body.dark .admin-actions a,body.dark .admin-create button,body.dark .admin-row form button{background:#f5f6f8;color:#0d0f12}.dash-hero,.panel,.earth-panel{background:rgba(255,255,255,.82);backdrop-filter:blur(14px)}.configs-panel .config summary{min-height:66px}.config summary>span{font-size:11px;text-transform:uppercase;letter-spacing:.04em}.earth{background-image:radial-gradient(circle at 32% 24%,rgba(255,255,255,.24),transparent 24%);}.earth-panel{position:relative}.earth-panel:before{content:'';position:absolute;inset:18px;border-radius:34px;border:1px solid rgba(255,255,255,.38);pointer-events:none}
@media(max-width:900px){.admin-row{grid-template-columns:1fr}.referral-panel{flex-direction:column;align-items:flex-start}.admin-inline,.admin-actions,.admin-create{width:100%}.admin-inline input,.admin-inline select,.admin-actions input,.admin-create input{width:100%}}

/* Premium final polish: fixed theme switch, readable dark theme, compact bank-like cabinet */
.fixed-theme{position:relative;z-index:70;width:42px;height:42px;padding:0;display:inline-grid;place-items:center;background:var(--paper);box-shadow:0 10px 26px rgba(0,0,0,.07)}
body.dark .fixed-theme{background:#f5f6f8!important;color:#0d0f12!important;border-color:#f5f6f8!important}.theme-toggle{transition:.18s ease}.theme-toggle:hover{transform:translateY(-1px)}
body.dark .footer,body.dark .plans-preview{background:#101319;border-color:var(--line)}
body.dark .nav-menu a,body.dark .footer-links,body.dark .muted,body.dark .hero-note{color:#a4abb7}.hero .earth-panel{background:rgba(255,255,255,.74)}body.dark .hero .earth-panel{background:rgba(20,23,28,.74)}
.status-pill{display:inline-flex!important;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:950;letter-spacing:.04em;text-transform:uppercase;background:#eaf8f0;color:#087b47}.status-pill.expired{background:#fff3d8;color:#9b6900}.status-pill.disabled{background:#ffecec;color:#9e2626}body.dark .status-pill{background:rgba(32,190,113,.14);color:#5ff0a4}body.dark .status-pill.expired{background:rgba(217,180,95,.14);color:#f0ca74}body.dark .status-pill.disabled{background:rgba(196,59,59,.18);color:#ff8d8d}
.ref-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.ref-stats span{display:inline-flex;gap:5px;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-weight:850}.telegram-widget{display:flex;justify-content:center;margin:14px 0}.admin-check{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--muted);font-size:13px;font-weight:850}.admin-check input{width:auto;height:auto;min-width:0}.tariff-table .admin-row{grid-template-columns:.8fr 1.3fr .7fr .7fr 1fr}.admin-actions{gap:6px}.admin-actions form{margin:0}.config compact-config{overflow:hidden}body.dark .auth input::placeholder,body.dark input::placeholder{color:#7f8794}body.dark .lead,body.dark .section-head p{color:#bac1cc}body.dark .earth{box-shadow:inset -45px -28px 80px rgba(0,0,0,.58), inset 25px 20px 50px rgba(255,255,255,.08), 0 35px 90px rgba(0,0,0,.35)}
@media(max-width:760px){.nav-menu{display:none}.fixed-theme{position:fixed;right:16px;bottom:16px;box-shadow:0 16px 40px rgba(0,0,0,.18)}.dash-grid{grid-template-columns:1fr}.dash-hero{flex-direction:column;align-items:flex-start}.config-tools{width:100%}.admin-row{grid-template-columns:1fr}.tariff-table .admin-row{grid-template-columns:1fr}}


/* === Premium dark/hero refactor by ChatGPT === */
:root{--blue:#2563eb;--blue2:#60a5fa;--green:#34d399;--dark-bg:#080b10;--dark-card:#111722;--dark-card2:#151c28;--dark-line:#263244;--dark-text:#f7fafc;--dark-muted:#aeb8c7}
body{overflow-x:hidden}.nav{transition:background .2s ease,border-color .2s ease}.brand b:before{background:linear-gradient(135deg,#111827,#2563eb)!important;color:#fff!important;box-shadow:0 10px 28px rgba(37,99,235,.20)}.brand span{color:inherit}.btn.primary,.btn:not(.ghost):not(.secondary){background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 18px 38px rgba(37,99,235,.22)}.btn.primary:hover,.btn:not(.ghost):not(.secondary):hover{box-shadow:0 22px 46px rgba(37,99,235,.28)}
.hero-premium{position:relative;grid-template-columns:minmax(0,1fr) minmax(360px,.86fr);min-height:calc(100vh - 76px);isolation:isolate;overflow:hidden}.hero-premium:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 86% 26%,rgba(37,99,235,.18),transparent 32%),radial-gradient(circle at 18% 18%,rgba(96,165,250,.10),transparent 28%);z-index:-1}.hero-premium .hero-copy{max-width:760px}.hero-premium h1{font-size:clamp(48px,6.8vw,92px);line-height:1.02;margin:18px 0 20px;letter-spacing:-.075em}.hero-premium .lead{max-width:700px;font-size:clamp(18px,1.8vw,22px);color:#525966}.premium-pills{margin:30px 0 26px}.premium-pills span{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.74);border:1px solid rgba(17,24,39,.08);box-shadow:0 12px 28px rgba(15,23,42,.04);color:#111827;padding:12px 16px;border-radius:18px;font-size:14px}.hero-visual{min-height:520px;position:relative;display:grid;place-items:center}.hero-earth-glow{position:absolute;inset:auto -32% -12% 8%;height:92%;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(96,165,250,.45),rgba(37,99,235,.20) 28%,rgba(5,9,17,.95) 62%,transparent 69%),url('/static/img/earth-map.svg');background-size:cover;background-blend-mode:screen;filter:saturate(1.05) contrast(1.08);opacity:.86;animation:earthFloat 8s ease-in-out infinite}.premium-card{position:relative;width:min(100%,430px);border:1px solid rgba(255,255,255,.14);border-radius:28px;padding:24px;background:rgba(15,23,42,.68);box-shadow:0 28px 90px rgba(0,0,0,.34);backdrop-filter:blur(20px);color:#fff}.secure-line{display:inline-flex;align-items:center;gap:9px;border-radius:999px;background:rgba(52,211,153,.10);color:#8ff0bd;padding:10px 14px;font-weight:850;margin-bottom:24px}.secure-line i{width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 7px rgba(52,211,153,.10)}.server-row{display:flex;gap:16px;align-items:center;margin-bottom:24px}.server-row b{display:block;font-size:22px}.server-row span{display:block;color:#b8c2d2;margin-top:4px}.flag-de{width:48px;height:36px;border-radius:10px;background:linear-gradient(#111 0 33%,#dd2424 33% 66%,#ffd046 66%);box-shadow:0 12px 28px rgba(0,0,0,.25)}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(255,255,255,.035);overflow:hidden}.metrics-row div{padding:18px 14px}.metrics-row div+div{border-left:1px solid rgba(255,255,255,.08)}.metrics-row b{display:block;font-size:20px}.metrics-row span{display:block;color:#aeb8c7;margin-top:4px;font-size:13px}.signal-chart{height:70px;margin-top:20px;display:flex;gap:6px;align-items:flex-end;padding:0 4px}.signal-chart span{flex:1;border-radius:999px 999px 0 0;background:linear-gradient(180deg,var(--blue2),var(--blue));min-height:18px;opacity:.88;animation:barFlow 2.4s ease-in-out infinite}.signal-chart span:nth-child(2){height:34px;animation-delay:.1s}.signal-chart span:nth-child(3){height:24px;animation-delay:.2s}.signal-chart span:nth-child(4){height:46px;animation-delay:.3s}.signal-chart span:nth-child(5){height:28px;animation-delay:.4s}.signal-chart span:nth-child(6){height:52px;animation-delay:.5s}.signal-chart span:nth-child(7){height:33px;animation-delay:.6s}.signal-chart span:nth-child(8){height:58px;animation-delay:.7s}.signal-chart span:nth-child(9){height:36px;animation-delay:.8s}.connection-card small{display:block;color:#aeb8c7;margin-top:4px}.compact-cta{background:transparent!important;border-block:1px solid var(--line)}
.wizard-progress{position:relative;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0;margin:6px 0 28px;padding:16px 6px 4px;overflow:visible!important}.wizard-progress:before{content:'';position:absolute;left:28px;right:28px;top:33px;height:2px;background:var(--line);z-index:0}.wizard-progress span{position:relative;z-index:1;display:flex!important;flex-direction:column;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:850;text-align:center;background:transparent!important;border:0!important;padding:0!important}.wizard-progress span b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--paper);border:1px solid var(--line);color:var(--muted);font-size:12px}.wizard-progress span.active b{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.22)}.wizard-progress small{font-size:11px;line-height:1.1;white-space:nowrap}.wizard-step{animation:fade .24s ease}.plan-card,.vpn-card{border-radius:22px!important;box-shadow:none!important}.plan-card.active,.vpn-card.active,.choice.active{background:rgba(37,99,235,.08)!important;border-color:rgba(37,99,235,.35)!important;color:var(--ink)!important}.wizard .nav-btn,.wizard button[type=submit]{background:var(--blue);border-color:var(--blue);color:#fff}.wizard .nav-btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.empty-state-premium{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px dashed var(--line);background:linear-gradient(180deg,rgba(37,99,235,.04),transparent);border-radius:26px;padding:22px;margin:18px 0}.empty-state-premium .empty-icon{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:rgba(37,99,235,.10);color:var(--blue);font-size:28px;font-weight:950;flex:0 0 auto}.empty-state-premium b{display:block;font-size:20px;margin-bottom:5px}.empty-state-premium p{margin:0;color:var(--muted);line-height:1.5}.configs-panel .group-block{overflow:hidden}.compact-config summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}.cfg-main{min-width:0}.cfg-main b,.cfg-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders .order,.compact-config{transition:.18s ease}.compact-config:hover,.orders .order:hover{transform:translateY(-1px)}
body.dark{--bg:#070a0f!important;--paper:#101620!important;--ink:#f7fafc!important;--muted:#aeb8c7!important;--line:#263244!important;--soft:#121a25!important;--accent:#2563eb!important;--accent2:#60a5fa!important;--shadow:0 24px 80px rgba(0,0,0,.42)!important;background:radial-gradient(circle at 20% -10%,rgba(37,99,235,.20),transparent 32%),radial-gradient(circle at 88% 16%,rgba(96,165,250,.12),transparent 28%),#070a0f!important;color:var(--ink)!important}body.dark .nav{background:rgba(7,10,15,.80)!important;border-bottom-color:rgba(255,255,255,.08)!important}body.dark .nav-menu a,body.dark .footer-links a{color:#b9c2d0!important}body.dark .nav-menu a:hover{color:#fff!important}body.dark .lead,body.dark .hero-premium .lead,body.dark .section-head p,body.dark .hero-note,body.dark .muted{color:#aeb8c7!important}body.dark .eyebrow{color:#60a5fa!important}body.dark .hero-points span,body.dark .premium-pills span{background:#121a25!important;border-color:#263244!important;color:#eef4ff!important;box-shadow:none!important}body.dark .btn,body.dark .btn.primary,body.dark .wizard .nav-btn,body.dark .wizard button[type=submit],body.dark .auth button{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important;box-shadow:0 18px 42px rgba(37,99,235,.24)!important}body.dark .btn.ghost,body.dark .btn.secondary,body.dark .wizard .nav-btn.ghost,body.dark .nav-btn.ghost{background:#111722!important;color:#f7fafc!important;border-color:#2b3748!important;box-shadow:none!important}body.dark .panel,body.dark .auth,body.dark .earth-panel,body.dark .value-grid div,body.dark .trust-grid div,body.dark .stats div,body.dark .network-stats div,body.dark .status-card,body.dark .dash-hero,body.dark .admin-stats div,body.dark .admin-card,body.dark .guide-section,body.dark .modal-ok>div,body.dark .group-block,body.dark .config,body.dark .order{background:rgba(16,22,32,.78)!important;border-color:#263244!important;color:#f7fafc!important;backdrop-filter:blur(14px)}body.dark .footer,body.dark .plans-preview,body.dark .support-card{background:#0b1018!important;border-color:#263244!important;color:#f7fafc!important}body.dark input,body.dark select,body.dark textarea,body.dark .profile-toggle,body.dark .profile-menu,body.dark .tab,body.dark .choice,body.dark .plan-card,body.dark .vpn-card,body.dark .summary-card,body.dark .mini-stat,body.dark .avatar-uploader,body.dark .promo-field input,body.dark .link-row input{background:#0d131d!important;border-color:#263244!important;color:#f7fafc!important}body.dark input::placeholder{color:#768399!important}body.dark .tab.active{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}body.dark .plan-card.active,body.dark .vpn-card.active,body.dark .choice.active{background:rgba(37,99,235,.18)!important;border-color:#3b82f6!important;color:#f7fafc!important}body.dark .wizard-progress:before{background:#263244!important}body.dark .wizard-progress span b{background:#101620!important;border-color:#2b3748!important;color:#aeb8c7!important}body.dark .wizard-progress span.active b{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}body.dark .fixed-theme{background:#111722!important;color:#f7fafc!important;border-color:#2b3748!important}body.dark .brand b:before{background:linear-gradient(135deg,#1d4ed8,#60a5fa)!important}body.dark .empty-state-premium{background:rgba(37,99,235,.08)!important;border-color:#2b3748!important}body.dark .telegram-support,body.dark .telegram-login{background:rgba(37,99,235,.12)!important;color:#93c5fd!important;border-color:rgba(96,165,250,.28)!important}body.dark .support-actions .btn.ghost{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}.footer-brand img{display:none}
@keyframes barFlow{0%,100%{transform:scaleY(.72);opacity:.62}50%{transform:scaleY(1);opacity:1}}
@media(max-width:1050px){.hero-premium{grid-template-columns:1fr}.hero-visual{min-height:440px}.hero-earth-glow{inset:0 -18% -10% 14%;height:88%}.premium-card{margin-top:40px}}
@media(max-width:760px){.hero-premium{padding:36px 18px 58px;min-height:auto}.hero-premium h1{font-size:46px}.premium-pills span{width:100%;justify-content:flex-start}.hero-actions .btn{width:100%}.hero-visual{min-height:390px}.premium-card{width:100%;padding:20px}.metrics-row{grid-template-columns:1fr}.metrics-row div+div{border-left:0;border-top:1px solid rgba(255,255,255,.08)}.wizard-progress{padding-left:0;padding-right:0}.wizard-progress:before{left:18px;right:18px}.wizard-progress small{display:none}.empty-state-premium{align-items:flex-start;flex-direction:column}.fixed-theme{position:relative!important;right:auto!important;bottom:auto!important;top:auto!important}}

/* === WOW PREMIUM SAAS UPDATE === */
:root{
  --premium-bg:#f6f7fb;
  --premium-card:#ffffff;
  --premium-ink:#0c111d;
  --premium-muted:#657080;
  --premium-line:#e5e7ef;
  --premium-accent:#2563eb;
  --premium-accent-soft:#eff5ff;
  --premium-ok:#16a34a;
  --premium-warn:#d97706;
  --premium-bad:#dc2626;
  --premium-radius:28px;
}
body{background:var(--premium-bg);color:var(--premium-ink);}
.nav-wow{height:74px;background:rgba(246,247,251,.82);backdrop-filter:blur(22px);border-bottom:1px solid rgba(12,17,29,.08)}
.brand-wow b{letter-spacing:-.045em}.brand-wow span{color:var(--premium-accent)}
.nav-menu-wow a{font-size:14px;color:#566174}.nav-dashboard{min-height:44px;padding:0 18px;background:var(--premium-accent);border-color:var(--premium-accent)}
.btn{gap:10px}.btn .arrow{transition:.18s ease}.btn:hover .arrow{transform:translateX(4px)}
.fixed-theme{position:fixed;right:22px;bottom:22px;z-index:70;width:48px;height:48px;border-radius:50%;border:1px solid rgba(12,17,29,.1);background:#fff;color:#111;box-shadow:0 18px 44px rgba(15,23,42,.15);display:grid;place-items:center;cursor:pointer}.nav-right .fixed-theme{position:static;width:44px;height:44px;box-shadow:none}

.saas-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(390px,.88fr);gap:56px;align-items:center;min-height:calc(100vh - 74px);padding:clamp(58px,7vw,112px) clamp(22px,6vw,92px);position:relative;overflow:hidden}
.saas-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 76% 20%,rgba(37,99,235,.12),transparent 32%),radial-gradient(circle at 18% 10%,rgba(148,163,184,.16),transparent 26%);pointer-events:none}.saas-copy,.product-stack{position:relative;z-index:1}
.saas-copy h1{font-size:clamp(48px,7vw,96px);line-height:.92;letter-spacing:-.078em;margin:18px 0 24px;max-width:920px}.saas-copy .lead{font-size:clamp(18px,2vw,24px);max-width:760px;color:#4f5969}.hero-actions{margin-top:30px}.hero-actions .btn{min-width:210px}.compact-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:34px;max-width:760px}.compact-metrics div{background:rgba(255,255,255,.74);border:1px solid rgba(12,17,29,.08);border-radius:22px;padding:18px;box-shadow:0 16px 42px rgba(15,23,42,.05)}.compact-metrics b{display:block;font-size:20px;letter-spacing:-.035em}.compact-metrics span{color:var(--premium-muted);font-size:13px;font-weight:800}
.product-stack{min-height:480px;display:grid;place-items:center}.product-stack:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.22),rgba(37,99,235,.08) 35%,transparent 70%);filter:blur(12px)}
.premium-card-large{position:relative;width:min(440px,100%);background:rgba(255,255,255,.84);border:1px solid rgba(12,17,29,.09);border-radius:34px;padding:28px;box-shadow:0 36px 100px rgba(15,23,42,.16);backdrop-filter:blur(18px);animation:floatSoft 7s ease-in-out infinite}.card-topline,.secure-line{display:inline-flex;align-items:center;gap:9px;background:#f0fdf4;color:#15803d;border-radius:999px;padding:9px 13px;font-weight:900}.live-dot,.secure-line i{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 7px rgba(34,197,94,.12);display:inline-block}.route-main{display:flex;align-items:center;gap:16px;margin:28px 0}.server-badge{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(180deg,#111 0 33%,#dd1c1a 33% 66%,#ffce00 66%);color:#fff;font-weight:950}.route-main b{display:block;font-size:24px;letter-spacing:-.03em}.route-main span{display:block;color:var(--premium-muted);margin-top:4px}.clean-metrics{grid-template-columns:repeat(3,1fr);border:1px solid var(--premium-line);border-radius:22px;overflow:hidden;background:#f8fafc}.clean-metrics div{padding:18px;text-align:left}.clean-metrics div+div{border-left:1px solid var(--premium-line)}.clean-metrics b{font-size:22px}.clean-metrics span{font-size:13px;color:var(--premium-muted)}
.premium-graph{height:70px;display:flex;align-items:end;gap:6px;border-radius:20px;background:linear-gradient(180deg,#f8fbff,#f1f5ff);padding:14px;margin:18px 0}.premium-graph i{width:100%;border-radius:999px;background:linear-gradient(180deg,#60a5fa,#2563eb);height:34%;animation:barFlow 2.4s ease-in-out infinite}.premium-graph i:nth-child(2n){animation-delay:.2s;height:48%}.premium-graph i:nth-child(3n){animation-delay:.4s;height:62%}.premium-graph i:nth-child(5n){height:80%}.card-foot{display:flex;justify-content:space-between;color:var(--premium-muted);font-weight:850}.card-foot b{color:var(--premium-accent)}.mini-card{position:absolute;background:rgba(255,255,255,.82);border:1px solid rgba(12,17,29,.08);box-shadow:0 20px 64px rgba(15,23,42,.12);backdrop-filter:blur(14px);border-radius:24px;padding:18px}.mini-card b{display:block}.mini-card span{display:block;color:var(--premium-muted);font-size:13px}.fc1{left:0;top:48px}.fc2{right:0;bottom:60px}

.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1120px;margin:0 auto}.how-grid div{background:#fff;border:1px solid var(--premium-line);border-radius:30px;padding:28px;box-shadow:0 18px 56px rgba(15,23,42,.05);position:relative;overflow:hidden}.how-grid em{font-style:normal;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:16px;background:var(--premium-accent-soft);color:var(--premium-accent);font-weight:950;margin-bottom:22px}.how-grid b{display:block;font-size:22px;margin-bottom:10px}.how-grid span{color:var(--premium-muted);line-height:1.6}.premium-value-grid div i{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:16px;background:var(--premium-accent-soft);margin-bottom:18px;font-style:normal}.trust-shell{max-width:1180px;margin:0 auto;background:#0b1220;color:#fff;border-radius:40px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 28px 90px rgba(15,23,42,.18)}.trust-shell h2{font-size:clamp(32px,4.8vw,64px);line-height:.96;letter-spacing:-.06em;margin:12px 0}.trust-shell p{color:#b9c6d8;max-width:700px}.support-wow{background:#101827;background-image:radial-gradient(circle at 90% 20%,rgba(37,99,235,.25),transparent 30%)}
.status-wow .status-card,.network-card{transition:.22s ease}.status-wow .status-card:hover,.network-card:hover,.how-grid div:hover,.premium-value-grid div:hover,.config-bank-row:not(.head):hover{transform:translateY(-3px);box-shadow:0 24px 72px rgba(15,23,42,.08)}

.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.dashboard-wow{padding:32px clamp(18px,4vw,60px) 80px}.glass-lite{background:rgba(255,255,255,.78)!important;backdrop-filter:blur(18px);border:1px solid rgba(12,17,29,.08)!important;box-shadow:0 24px 84px rgba(15,23,42,.08)!important}.app-sidebar{position:sticky;top:96px;border-radius:30px;padding:20px}.sidebar-profile{text-align:center;padding:8px 8px 18px;border-bottom:1px solid var(--premium-line);margin-bottom:12px}.avatar-card{display:block;background:transparent!important;padding:0!important}.avatar-card img{width:82px!important;height:82px!important;border-radius:26px!important;object-fit:cover;margin:0 auto 10px}.avatar-card label{display:inline-flex;border:1px solid var(--premium-line);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;cursor:pointer}.sidebar-profile>b{display:block;margin-top:10px}.sidebar-profile>span{display:block;color:var(--premium-muted);font-size:13px;overflow:hidden;text-overflow:ellipsis}.sidebar-nav{display:grid;gap:6px}.sidebar-nav a{padding:12px 13px;border-radius:16px;font-weight:850;color:#4b5565}.sidebar-nav a:hover{background:var(--premium-accent-soft);color:var(--premium-accent)}.app-main{display:grid;gap:18px}.bank-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;border-radius:34px;padding:30px}.bank-hero h1{font-size:clamp(36px,5vw,66px);line-height:.95;letter-spacing:-.065em;margin:10px 0}.bank-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-width:360px}.bank-stats div{border:1px solid var(--premium-line);border-radius:22px;padding:18px;background:#fff}.bank-stats b{display:block;font-size:30px}.bank-stats span{color:var(--premium-muted);font-weight:850;font-size:13px}.notifications-stack{display:grid;gap:10px}.notice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:20px;background:#fff;border:1px solid var(--premium-line);box-shadow:0 12px 34px rgba(15,23,42,.04)}.notice b{white-space:nowrap}.notice span{color:var(--premium-muted);flex:1}.notice a{font-weight:900;color:var(--premium-accent)}.notice.warning{border-color:#fed7aa;background:#fff7ed}.notice.danger{border-color:#fecaca;background:#fef2f2}.notice.subtle{background:#f8fafc}.premium-wizard-panel,.banking-configs{border-radius:34px}.panel-head h2,.panel-row h2{font-size:clamp(30px,4vw,52px);line-height:.98;letter-spacing:-.055em;margin:7px 0}.wizard-progress{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:12px!important;position:relative!important;margin:24px 0 32px!important}.wizard-progress:before{content:""!important;position:absolute!important;left:6%!important;right:6%!important;top:20px!important;height:2px!important;background:#e5e7ef!important;z-index:0!important}.wizard-progress span{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;text-align:center!important;color:var(--premium-muted)!important}.wizard-progress span b{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:50%!important;background:#fff!important;border:1px solid var(--premium-line)!important;color:#64748b!important;font-size:13px!important;line-height:1!important}.wizard-progress span.active b{background:var(--premium-accent)!important;color:#fff!important;border-color:var(--premium-accent)!important}.wizard-progress small{font-size:12px!important;font-weight:850!important}.plan-card,.vpn-card{transition:.18s ease;text-align:left!important}.plan-card:hover,.vpn-card:hover{transform:translateY(-2px)}.plan-card.active,.vpn-card.active{outline:2px solid var(--premium-accent);outline-offset:2px}
.config-bank-table{display:grid;gap:8px}.config-bank-row{display:grid;grid-template-columns:1.5fr .85fr .9fr 1.1fr .8fr auto;align-items:center;gap:12px;background:#fff;border:1px solid var(--premium-line);border-radius:20px;padding:14px 16px;transition:.18s ease}.config-bank-row.head{background:transparent;border:0;color:var(--premium-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:950}.config-bank-row b{display:block}.config-bank-row small{display:block;color:var(--premium-muted);font-size:12px}.status-pill{display:inline-flex;border-radius:999px;padding:7px 10px;background:#e8fff4;color:#087443;border:1px solid #bbf7d0;font-size:12px;font-weight:950}.status-pill.expired{background:#fff1f2;color:#be123c;border-color:#fecdd3}.status-pill.disabled{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.status-pill.pending{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.empty-wow{border:1px dashed #cbd5e1!important;background:linear-gradient(135deg,#fff,#f8fbff)!important}.empty-icon{background:var(--premium-accent-soft)!important;color:var(--premium-accent)!important}.referral-wow{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,460px);gap:22px;align-items:center}.ref-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.ref-stats span{background:#f8fafc;border:1px solid var(--premium-line);border-radius:999px;padding:8px 12px}.link-row{display:flex;gap:10px;align-items:center}.link-row input{height:48px;border:1px solid var(--premium-line);border-radius:16px;padding:0 14px;background:#f8fafc;color:var(--premium-ink);min-width:0;flex:1}.link-row button,.copyBtn,.inline-rename button,.admin-row button,.admin-actions a{min-height:40px;border-radius:999px;border:1px solid var(--premium-line);background:#fff;color:#111;padding:0 14px;font-weight:900;cursor:pointer}.premium-dialog{border:0;border-radius:34px;padding:30px;width:min(920px,calc(100vw - 28px));box-shadow:0 40px 120px rgba(15,23,42,.28);background:#fff;color:#111}.premium-dialog::backdrop{background:rgba(3,7,18,.62);backdrop-filter:blur(8px)}.dialog-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border-radius:50%;border:1px solid var(--premium-line);background:#fff;cursor:pointer;font-size:24px}.dialog-head h2{font-size:44px;line-height:.98;letter-spacing:-.06em;margin:8px 0}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.copy-source{width:100%;height:120px;border:1px solid var(--premium-line);border-radius:18px;padding:14px;background:#f8fafc;color:#111;margin:12px 0;font-family:ui-monospace,monospace}.qr-device-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start;margin:18px 0}.qr-wrap{background:#f8fafc;border:1px solid var(--premium-line);border-radius:24px;padding:16px;text-align:center}.big-qr{width:260px!important;height:260px!important;image-rendering:pixelated;background:#fff;border-radius:12px}.device-first{background:#f8fafc;border:1px solid var(--premium-line);border-radius:24px;padding:18px}.device-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.device-tabs button{border:1px solid var(--premium-line);background:#fff;border-radius:999px;min-height:38px;padding:0 12px;font-weight:900;cursor:pointer}.device-tabs button.active{background:var(--premium-accent);border-color:var(--premium-accent);color:#fff}.premium-renew{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--premium-line);padding-top:18px}.premium-renew select,.inline-rename input{height:44px;border:1px solid var(--premium-line);border-radius:14px;padding:0 12px;background:#fff}.inline-rename{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.orders-wow .order,.order{border-radius:18px!important}.toast{position:fixed;left:50%;bottom:26px;z-index:200;transform:translate(-50%,20px);opacity:0;background:#101827;color:#fff;border-radius:999px;padding:12px 18px;font-weight:900;box-shadow:0 18px 50px rgba(0,0,0,.22);transition:.22s ease}.toast.show{opacity:1;transform:translate(-50%,0)}.creation-overlay{position:fixed;inset:0;background:rgba(3,7,18,.58);backdrop-filter:blur(8px);z-index:160;display:grid;place-items:center}.creation-overlay>div{background:#fff;border-radius:30px;padding:28px;display:grid;gap:8px;text-align:center;box-shadow:0 34px 120px rgba(0,0,0,.24)}.creation-overlay b{font-size:24px}.creation-overlay span{color:var(--premium-muted)}.creation-overlay i{height:4px;border-radius:999px;background:linear-gradient(90deg,var(--premium-accent),#93c5fd);animation:progressInd 1.2s ease infinite}.creation-steps{display:grid;gap:8px;margin:16px 0}.creation-steps span{background:#f8fafc;border:1px solid var(--premium-line);border-radius:999px;padding:10px 12px}.creation-steps .done:before{content:'✓ ';color:var(--premium-ok);font-weight:950}.modal-premium>div{border-radius:34px!important}.ok-icon.warning{background:#fff7ed!important;color:#d97706!important}.admin-crm{display:grid;gap:18px}.crm-hero{display:flex;justify-content:space-between;align-items:center;border-radius:34px;padding:32px}.crm-hero h1{font-size:clamp(38px,5vw,72px);line-height:.92;letter-spacing:-.07em;margin:10px 0}.crm-actions{display:flex;gap:10px}.crm-stats{grid-template-columns:repeat(4,1fr);margin:0}.crm-tabs{display:flex;gap:8px;flex-wrap:wrap;border-radius:24px;padding:12px}.crm-tabs a{padding:10px 14px;border-radius:999px;background:#f8fafc;font-weight:900}.crm-panel{border-radius:30px}.crm-form{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px}.crm-form input,.crm-form select,.admin-inline input,.admin-inline select,.admin-actions input{height:42px;border:1px solid var(--premium-line);border-radius:14px;padding:0 12px;background:#fff}.crm-table .admin-row{border-radius:18px}.network-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1120px;margin:0 auto}.network-card{background:#fff;border:1px solid var(--premium-line);border-radius:30px;padding:28px;box-shadow:0 18px 56px rgba(15,23,42,.05)}.network-card b{display:block;font-size:22px;margin-top:12px}.network-card p{font-size:34px;margin:12px 0 6px;letter-spacing:-.05em;font-weight:950}.network-card small{color:var(--premium-muted)}

body.dark{--premium-bg:#080c14;--premium-card:#0f1623;--premium-ink:#f8fafc;--premium-muted:#9aa8ba;--premium-line:#243044;--premium-accent:#3b82f6;--premium-accent-soft:rgba(59,130,246,.14);background:radial-gradient(circle at 22% -8%,rgba(59,130,246,.22),transparent 30%),radial-gradient(circle at 92% 4%,rgba(96,165,250,.13),transparent 24%),#080c14!important;color:#f8fafc!important}body.dark .nav-wow{background:rgba(8,12,20,.82)!important;border-bottom-color:rgba(255,255,255,.08)!important}body.dark .nav-menu-wow a,body.dark .muted,body.dark .lead,body.dark .hero-note,body.dark .section-head p{color:#9aa8ba!important}body.dark .nav-menu-wow a:hover{color:#fff!important}body.dark .brand span{color:#60a5fa!important}body.dark .glass-lite,body.dark .panel,body.dark .auth,body.dark .premium-card-large,body.dark .mini-card,body.dark .compact-metrics div,body.dark .how-grid div,body.dark .value-grid div,body.dark .trust-grid div,body.dark .status-card,body.dark .network-card,body.dark .config-bank-row:not(.head),body.dark .notice,body.dark .bank-stats div,body.dark .premium-dialog,body.dark .footer{background:rgba(15,22,35,.84)!important;border-color:#243044!important;color:#f8fafc!important;box-shadow:0 24px 86px rgba(0,0,0,.28)!important}body.dark .premium-card-large,body.dark .mini-card{backdrop-filter:blur(18px)}body.dark .compact-metrics span,body.dark .route-main span,body.dark .clean-metrics span,body.dark .mini-card span,body.dark .card-foot,body.dark .sidebar-profile>span,body.dark .config-bank-row small{color:#9aa8ba!important}body.dark .btn,body.dark .nav-dashboard,body.dark .wizard .nav-btn,body.dark .wizard button[type=submit],body.dark .auth button{background:#3b82f6!important;border-color:#3b82f6!important;color:#fff!important;box-shadow:0 18px 46px rgba(59,130,246,.2)!important}body.dark .btn.ghost,body.dark .btn.secondary,body.dark .copyBtn,body.dark .link-row button,body.dark .inline-rename button,body.dark .admin-row button,body.dark .admin-actions a,body.dark .device-tabs button,body.dark .profile-toggle,body.dark .fixed-theme{background:#121b2a!important;border-color:#2b3a52!important;color:#f8fafc!important;box-shadow:none!important}body.dark input,body.dark select,body.dark textarea,body.dark .link-row input,body.dark .copy-source,body.dark .premium-renew select,body.dark .inline-rename input,.dark .crm-form input,.dark .admin-inline input,.dark .admin-inline select,.dark .admin-actions input{background:#0b111d!important;border-color:#2b3a52!important;color:#f8fafc!important}body.dark input::placeholder{color:#66758a!important}body.dark .clean-metrics,body.dark .premium-graph,body.dark .qr-wrap,body.dark .device-first,body.dark .creation-steps span,body.dark .ref-stats span,body.dark .crm-tabs a{background:#0b111d!important;border-color:#243044!important;color:#f8fafc!important}body.dark .wizard-progress:before{background:#263244!important}body.dark .wizard-progress span b{background:#0f1623!important;border-color:#2b3a52!important;color:#9aa8ba!important}body.dark .wizard-progress span.active b{background:#3b82f6!important;color:#fff!important;border-color:#3b82f6!important}body.dark .trust-shell,body.dark .support-wow{background:#0b111d!important;border-color:#243044!important}body.dark .status-pill.active{background:rgba(34,197,94,.13);color:#86efac;border-color:rgba(34,197,94,.28)}body.dark .status-pill.expired{background:rgba(239,68,68,.12);color:#fca5a5;border-color:rgba(239,68,68,.26)}body.dark .notice.warning{background:rgba(245,158,11,.12)!important;border-color:rgba(245,158,11,.26)!important}body.dark .notice.danger{background:rgba(239,68,68,.12)!important;border-color:rgba(239,68,68,.26)!important}body.dark .premium-dialog::backdrop{background:rgba(0,0,0,.7)}body.dark .creation-overlay>div{background:#0f1623;color:#fff}body.dark .server-badge{color:#fff}body.dark .footer-brand span{color:#9aa8ba}.footer-brand span{color:var(--premium-muted);font-size:12px;margin-left:8px}.footer-brand img{display:block!important}

@keyframes floatSoft{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes progressInd{0%{transform:scaleX(.15);transform-origin:left}50%{transform:scaleX(1)}100%{transform:scaleX(.15);transform-origin:right}}
@media(max-width:1120px){.saas-hero{grid-template-columns:1fr}.product-stack{min-height:420px}.app-shell{grid-template-columns:1fr}.app-sidebar{position:relative;top:auto}.sidebar-nav{grid-template-columns:repeat(3,1fr)}.bank-hero{align-items:flex-start;flex-direction:column}.bank-stats{min-width:0;width:100%}.config-bank-row{grid-template-columns:1.4fr .8fr .9fr .9fr .8fr auto}.network-status-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.nav-menu-wow{display:none}.saas-hero{padding:38px 18px 62px}.saas-copy h1{font-size:44px}.compact-metrics{grid-template-columns:repeat(2,1fr)}.premium-card-large{padding:22px}.mini-card{display:none}.clean-metrics{grid-template-columns:1fr}.clean-metrics div+div{border-left:0;border-top:1px solid var(--premium-line)}.how-grid,.value-grid,.trust-grid,.status-grid,.network-status-grid{grid-template-columns:1fr!important}.trust-shell,.support-card,.referral-wow,.crm-hero{flex-direction:column;display:flex;align-items:flex-start}.app-main{gap:14px}.sidebar-nav{grid-template-columns:1fr}.bank-stats{grid-template-columns:1fr}.config-bank-row,.config-bank-row.head{grid-template-columns:1fr;gap:6px}.config-bank-row.head{display:none}.config-bank-row span:last-child{margin-top:8px}.qr-device-grid{grid-template-columns:1fr}.big-qr{width:100%!important;height:auto!important;max-width:300px}.wizard-progress small{display:none!important}.wizard-progress:before{top:20px!important}.crm-form{grid-template-columns:1fr}.crm-stats{grid-template-columns:repeat(2,1fr)}.notice{align-items:flex-start;flex-direction:column}.footer-wow{align-items:flex-start;flex-direction:column}.fixed-theme{width:44px;height:44px;right:16px;bottom:16px}}

/* === Premium UX fix: right hero block + no-reload device selector === */
.hero-cockpit{position:relative;min-height:520px;display:grid;place-items:center;isolation:isolate}
.hero-cockpit:before{content:"";position:absolute;inset:6% -8% 0 4%;border-radius:42px;background:radial-gradient(circle at 72% 28%,rgba(59,130,246,.28),transparent 28%),radial-gradient(circle at 26% 70%,rgba(20,184,166,.13),transparent 28%),linear-gradient(135deg,rgba(15,23,42,.06),rgba(255,255,255,.02));filter:blur(0);z-index:-2}
.hero-cockpit:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:conic-gradient(from 180deg,rgba(59,130,246,.0),rgba(59,130,246,.26),rgba(34,197,94,.18),rgba(59,130,246,.0));filter:blur(35px);opacity:.65;z-index:-1;animation:cockpitGlow 8s ease-in-out infinite}
.cockpit-card{width:min(100%,520px);padding:26px;border-radius:34px;background:rgba(255,255,255,.72);border:1px solid rgba(148,163,184,.22);box-shadow:0 34px 110px rgba(15,23,42,.12);backdrop-filter:blur(22px);overflow:hidden;position:relative}
.cockpit-card:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.52),transparent);transform:translateX(-100%);animation:sheen 6.5s ease-in-out infinite;pointer-events:none}
.cockpit-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.secure-pill{display:inline-flex;align-items:center;gap:9px;background:rgba(34,197,94,.10);color:#08733f;border:1px solid rgba(34,197,94,.18);border-radius:999px;padding:10px 14px;font-weight:900;font-size:14px}
.secure-pill i{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 7px rgba(34,197,94,.12)}
.cockpit-protocol{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:950}
.route-map-lite{height:250px;border-radius:28px;background:radial-gradient(circle at center,rgba(59,130,246,.14),transparent 46%),linear-gradient(180deg,#0b1220,#111827);position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.route-map-lite:before{content:"";position:absolute;inset:-1px;background-image:linear-gradient(rgba(148,163,184,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.11) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at center,#000 0 48%,transparent 82%);opacity:.7}
.node{position:absolute;width:108px;height:74px;border-radius:24px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);color:#fff;display:grid;align-content:center;justify-items:center;z-index:4;box-shadow:0 16px 40px rgba(0,0,0,.18);backdrop-filter:blur(10px)}
.node b{font-size:17px}.node span{font-size:12px;color:#aeb8c7;margin-top:3px}.node.home{left:34px;top:86px}.node.server{right:34px;top:86px;background:rgba(59,130,246,.18);border-color:rgba(96,165,250,.28)}
.route-line{position:absolute;left:142px;right:142px;top:121px;height:3px;background:linear-gradient(90deg,rgba(96,165,250,.2),#60a5fa,#22c55e,rgba(96,165,250,.2));border-radius:999px;z-index:2;box-shadow:0 0 20px rgba(96,165,250,.45);animation:routePulse 2.6s ease-in-out infinite}
.line-b{top:132px;opacity:.35;filter:blur(1px);animation-delay:.7s}
.pulse-ring{position:absolute;inset:58px 154px;border-radius:50%;border:1px solid rgba(96,165,250,.24);animation:ringScale 4s ease-in-out infinite;z-index:1}.pulse-ring.r2{animation-delay:1.3s;border-color:rgba(34,197,94,.22)}
.cockpit-status{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.cockpit-status div{border:1px solid var(--premium-line,#e5e7eb);border-radius:20px;padding:15px;background:rgba(255,255,255,.62)}
.cockpit-status span{display:block;color:var(--muted);font-size:12px;font-weight:850;margin-bottom:5px}.cockpit-status b{font-size:18px;letter-spacing:-.02em}
.cockpit-timeline{display:grid;gap:9px;margin-top:14px}.cockpit-timeline div{display:flex;align-items:center;gap:10px;border:1px solid var(--premium-line,#e5e7eb);border-radius:18px;padding:12px 14px;background:rgba(255,255,255,.48);font-weight:820}.cockpit-timeline i{width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;background:#22c55e;flex:0 0 auto}.cockpit-timeline .done i:before{content:"✓";font-size:12px;color:#fff;font-weight:950}.cockpit-timeline .active i{background:#3b82f6;box-shadow:0 0 0 6px rgba(59,130,246,.12)}

/* Device selector: readable cards instead of tiny pills */
.onboarding-device-card{border-radius:28px!important;padding:20px!important;overflow:hidden}.onboarding-device-card>.muted{margin:6px 0 12px!important}.device-card-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:16px 0!important}.device-card-tabs button{min-height:74px!important;border-radius:22px!important;padding:12px 10px!important;background:#fff!important;color:#111827!important;border:1px solid var(--premium-line,#e5e7eb)!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-weight:950!important;line-height:1!important;transition:.18s ease!important}.device-card-tabs button i{font-style:normal;font-size:22px;line-height:1}.device-card-tabs button span{display:block!important;color:inherit!important;font-size:13px!important;opacity:1!important}.device-card-tabs button:hover{transform:translateY(-2px);border-color:rgba(59,130,246,.38)!important;box-shadow:0 16px 34px rgba(15,23,42,.08)!important}.device-card-tabs button.active{background:#111827!important;color:#fff!important;border-color:#111827!important;box-shadow:0 16px 34px rgba(15,23,42,.16)!important}.device-guide{min-height:54px;padding:14px 16px;border-radius:18px;background:rgba(148,163,184,.10);border:1px solid rgba(148,163,184,.18);color:#4b5563!important}.compact-device-first .device-guide{font-size:14px}.creation-modal>div{width:min(620px,calc(100vw - 28px))!important;max-height:calc(100vh - 36px);overflow:auto;text-align:left!important}.creation-modal .ok-icon,.creation-modal>div>b,.creation-modal>div>p{text-align:center}.creation-modal .ok-icon{margin-left:auto;margin-right:auto}.creation-modal>div>button{display:flex;margin:18px auto 0}.creation-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-steps span{font-size:14px;text-align:left}.modal-ok{padding:18px}

/* Smoother no-reload feel */
.wizard-step{animation:stepFade .24s cubic-bezier(.2,.8,.2,1)!important}.wizard .next,.wizard .back,.device-tabs button,.copyBtn,.copyLinkBtn{user-select:none}.wizard-actions .nav-btn,.wizard-actions .btn{gap:8px}.wizard-actions .next:after{content:"→"}.wizard-actions .back:before{content:"←"}

body.dark .cockpit-card{background:rgba(15,22,35,.78)!important;border-color:#243044!important;color:#f8fafc!important;box-shadow:0 34px 110px rgba(0,0,0,.34)!important}body.dark .cockpit-protocol,body.dark .cockpit-status span{color:#9aa8ba!important}body.dark .cockpit-status div,body.dark .cockpit-timeline div{background:#0b111d!important;border-color:#243044!important;color:#f8fafc!important}body.dark .secure-pill{background:rgba(34,197,94,.12);color:#86efac;border-color:rgba(34,197,94,.25)}body.dark .device-card-tabs button{background:#121b2a!important;border-color:#2b3a52!important;color:#f8fafc!important}body.dark .device-card-tabs button.active{background:#3b82f6!important;border-color:#3b82f6!important;color:#fff!important}body.dark .device-guide{background:#0b111d!important;border-color:#243044!important;color:#cbd5e1!important}

@keyframes cockpitGlow{0%,100%{transform:translateY(0) scale(1);opacity:.54}50%{transform:translateY(-12px) scale(1.04);opacity:.78}}@keyframes sheen{0%,72%{transform:translateX(-120%)}100%{transform:translateX(120%)}}@keyframes routePulse{0%,100%{opacity:.58;transform:scaleX(.96)}50%{opacity:1;transform:scaleX(1)}}@keyframes ringScale{0%{transform:scale(.68);opacity:.75}80%,100%{transform:scale(1.28);opacity:0}}@keyframes stepFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:760px){.hero-cockpit{min-height:420px}.cockpit-card{padding:18px}.route-map-lite{height:220px}.node{width:92px;height:66px}.node.home{left:18px}.node.server{right:18px}.route-line{left:108px;right:108px}.cockpit-status{grid-template-columns:1fr}.device-card-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.creation-steps{grid-template-columns:1fr}.creation-modal>div{text-align:left!important}}

/* === Final premium product upgrade === */
.fit-grid,.compare-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.fit-grid>div,.compare-card{padding:22px;border-radius:26px;background:rgba(255,255,255,.68);border:1px solid var(--premium-line,#e5e7eb);box-shadow:0 18px 50px rgba(15,23,42,.05);transition:.18s ease}.fit-grid>div:hover,.compare-card:hover{transform:translateY(-3px);box-shadow:0 26px 70px rgba(15,23,42,.09)}.fit-grid b{display:block;font-size:18px;margin-bottom:8px}.fit-grid span,.compare-card p,.compare-card li{color:var(--muted)}.compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-card em{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef5ff;color:#2563eb;font-style:normal;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.compare-card h3{font-size:28px;margin:18px 0 10px}.compare-card ul{margin:18px 0 0;padding-left:18px;display:grid;gap:8px}.result-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border-radius:34px;background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,255,255,.54));border:1px solid var(--premium-line,#e5e7eb)}.result-card h2{margin:6px 0 10px;font-size:34px}.result-steps{display:grid;grid-template-columns:repeat(2,150px);gap:12px}.result-steps span{padding:16px;border-radius:20px;background:#111827;color:#fff;font-weight:950;text-align:center}.status-tabs{margin-left:8px}.admin-search{display:flex;gap:10px;margin:18px 0 20px}.admin-search input{flex:1;min-height:44px;border-radius:16px;border:1px solid var(--premium-line,#e5e7eb);padding:0 14px;background:var(--card,#fff);color:var(--text,#111827)}.admin-row a{color:inherit;font-weight:900;text-decoration:none}.admin-row a:hover{text-decoration:underline}.compact-actions{gap:6px!important}.compact-actions form{display:inline-flex}.compact-actions input[type=hidden]{display:none}.back-link{display:inline-flex;margin-bottom:12px;color:var(--muted);font-weight:850;text-decoration:none}.user-detail-hero{align-items:flex-end}.small-empty{padding:18px;border-radius:18px;background:rgba(148,163,184,.08);border:1px dashed rgba(148,163,184,.28)}.creation-overlay div{box-shadow:0 24px 80px rgba(15,23,42,.22)}body.dark .fit-grid>div,body.dark .compare-card,body.dark .result-card{background:rgba(18,27,42,.78)!important;border-color:#263448!important;color:#f8fafc!important;box-shadow:0 20px 70px rgba(0,0,0,.22)}body.dark .compare-card em{background:rgba(59,130,246,.18);color:#93c5fd}body.dark .result-steps span{background:#2563eb;color:#fff}body.dark .admin-search input{background:#0b111d;border-color:#243044;color:#f8fafc}body.dark .small-empty{background:#0b111d;border-color:#243044;color:#cbd5e1}
@media(max-width:960px){.fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-card{flex-direction:column;align-items:flex-start}.result-steps{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-search{flex-direction:column}}@media(max-width:640px){.fit-grid,.compare-grid{grid-template-columns:1fr}.result-card h2{font-size:28px}.result-steps{grid-template-columns:1fr}.status-tabs{margin-left:0;margin-top:8px}.config-tools{align-items:stretch!important}.tabs{flex-wrap:wrap}}


/* === MattVPN copy/brand integration update === */
.brand .site-avatar{display:block!important;width:42px!important;height:42px!important;border-radius:14px!important;object-fit:cover!important;box-shadow:0 10px 28px rgba(0,0,0,.16)!important;flex:0 0 auto!important}
.brand b:before{display:none!important}.brand-text{display:none!important}.brand-wordmark{display:block;height:38px;width:auto;max-width:168px;object-fit:contain;filter:drop-shadow(0 7px 18px rgba(0,0,0,.16))}.nav .brand{gap:10px}.footer-brand img{display:block!important;width:36px!important;height:36px!important;border-radius:13px!important;object-fit:cover!important}.footer-brand span{color:var(--muted);font-weight:800}.brand-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.brand-card-top img{height:50px;width:auto;max-width:210px;object-fit:contain}.brand-card-top span{color:var(--muted);font-weight:900;font-size:13px}.matt-tariffs div{transition:.18s ease}.matt-tariffs div:hover{transform:translateY(-3px);box-shadow:0 22px 66px rgba(15,23,42,.08)}.small-head{margin-top:28px!important}.small-head .btn{margin-top:14px}.support-actions{align-items:center}.support-actions .btn{white-space:nowrap}.cockpit-card .cockpit-status b{font-size:18px}.premium-value-grid i{font-style:normal;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:16px;background:rgba(217,180,95,.13);margin-bottom:16px;font-weight:950}body.dark .brand-card-top span{color:#aeb8c7!important}body.dark .brand-wordmark{filter:drop-shadow(0 10px 24px rgba(0,0,0,.45))}body.dark .premium-value-grid i{background:rgba(217,180,95,.14)}body.dark .matt-tariffs div{background:#101620!important;border-color:#263244!important;color:#f7fafc!important}.nav-dashboard{white-space:nowrap}@media(max-width:760px){.brand-wordmark{height:30px;max-width:126px}.brand .site-avatar{width:36px!important;height:36px!important}.brand-card-top{align-items:flex-start;flex-direction:column}.brand-card-top img{height:42px}.tariff-preview{grid-template-columns:1fr!important}.footer-brand{align-items:flex-start;flex-direction:column}.footer-links{gap:12px}}

/* MATT BLACK REDESIGN SAFE */
:root{
  --bg:#050608;
  --panel:#0b0f12;
  --panel2:#10161b;
  --text:#f5f7f8;
  --muted:#8c9aa5;
  --line:rgba(255,255,255,.08);
  --brand:#39ff88;
  --brand2:#00d46a;
  --danger:#ff4d4d;
}
html,body{background:#050608!important;color:var(--text)!important}
body{
  background:
    radial-gradient(circle at 20% 0%,rgba(57,255,136,.16),transparent 32%),
    radial-gradient(circle at 80% 20%,rgba(0,212,106,.12),transparent 28%),
    linear-gradient(180deg,#050608,#090d10 55%,#050608)!important;
}
.nav,.footer,.panel,.glass-lite,.cockpit-card,.compare-card,.status-card,.support-card,.news-card{
  background:rgba(9,13,16,.84)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  color:var(--text)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.45)!important;
  backdrop-filter:blur(18px);
}
.brand-wordmark{display:none!important}
.site-avatar,.footer-brand img,.brand-card-top img{
  border-radius:16px;
  box-shadow:0 0 28px rgba(57,255,136,.25);
}
.brand-text span,.eyebrow,.section-head span{color:var(--brand)!important}
.nav-menu a,.footer a,.muted,p,span,small{color:var(--muted)}
h1,h2,h3,b,strong{color:var(--text)}
.btn,.nav-btn,button{
  border-radius:16px!important;
  border:1px solid rgba(57,255,136,.22)!important;
}
.btn.primary,.btn:not(.ghost):not(.secondary),.nav-btn.next,.wizard-actions .btn{
  background:linear-gradient(135deg,var(--brand),var(--brand2))!important;
  color:#031007!important;
  font-weight:900!important;
  box-shadow:0 14px 40px rgba(57,255,136,.22)!important;
}
.btn.ghost,.btn.secondary,.nav-btn.ghost,.vpn-card,.plan-card,input,select,textarea{
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:var(--text)!important;
}
input::placeholder,textarea::placeholder{color:#6f7b84!important}
.vpn-card.active,.plan-card.active{
  border-color:rgba(57,255,136,.75)!important;
  box-shadow:0 0 0 1px rgba(57,255,136,.28),0 20px 70px rgba(57,255,136,.13)!important;
}
.status-dot,.secure-pill i{
  background:var(--brand)!important;
  box-shadow:0 0 18px var(--brand);
}
.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}
.news-card{
  padding:24px;
  border-radius:26px;
}
.news-card img{
  width:100%;
  max-height:240px;
  object-fit:cover;
  border-radius:20px;
  margin-bottom:18px;
}
.news-form textarea{
  min-height:120px;
  grid-column:1/-1;
}
.admin-row small{
  display:block;
  color:var(--muted);
  margin-top:4px;
}
@media(max-width:900px){
  .nav-menu{display:none!important}
  .app-shell{grid-template-columns:1fr!important}
}

/* ===== MATT VPN EXACT BLACK OVERRIDE ===== */
:root{
  --mh-bg:#020303;
  --mh-card:#101111;
  --mh-border:rgba(255,255,255,.12);
  --mh-text:#f7f7f7;
  --mh-muted:#8b8f98;
  --mh-green:#24f276;
}

html,body{
  margin:0!important;
  background:#020303!important;
  color:var(--mh-text)!important;
  overflow-x:hidden!important;
}

body:before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-2!important;
  background-image:radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px)!important;
  background-size:22px 22px!important;
  opacity:.15!important;
}

body:after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-3!important;
  background:
    radial-gradient(circle at 72% 12%,rgba(36,242,118,.15),transparent 30%),
    radial-gradient(circle at 15% 4%,rgba(255,255,255,.04),transparent 22%),
    #020303!important;
}

.app-shell,
.container,
.page,
main,
.content,
.saas-hero,
.section{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}

.nav-wow,
.nav{
  position:sticky!important;
  top:18px!important;
  z-index:100!important;
  width:min(1220px,calc(100% - 48px))!important;
  margin:18px auto 0!important;
  padding:14px 18px!important;
  border-radius:22px!important;
  background:rgba(16,17,18,.88)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  backdrop-filter:blur(22px)!important;
  box-shadow:0 24px 90px rgba(0,0,0,.5)!important;
}

.brand-wordmark{display:none!important}
.site-avatar{width:38px!important;height:38px!important;border-radius:12px!important;filter:drop-shadow(0 0 18px rgba(36,242,118,.4))!important}
.brand-text{font-size:20px!important;font-weight:900!important}
.brand-text span{color:var(--mh-green)!important}

.nav-menu-wow,
.nav-menu{
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:999px!important;
  padding:7px!important;
}

.nav-menu a,
.nav-menu-wow a{
  color:rgba(255,255,255,.62)!important;
  padding:9px 14px!important;
  border-radius:999px!important;
  transition:.25s ease!important;
}

.nav-menu a:hover,
.nav-menu-wow a:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}

.mh-page{
  width:100%!important;
}

.mh-hero{
  width:min(1220px,calc(100% - 48px))!important;
  margin:74px auto 0!important;
  min-height:650px!important;
  display:grid!important;
  grid-template-columns:1fr 520px!important;
  align-items:center!important;
  gap:54px!important;
  padding:64px!important;
  border-radius:30px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  position:relative!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 78% 38%,rgba(36,242,118,.18),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01))!important;
}

.mh-hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px)!important;
  background-size:24px 24px!important;
  opacity:.16!important;
}

.mh-hero:after{
  content:""!important;
  position:absolute!important;
  right:-150px!important;
  top:80px!important;
  width:620px!important;
  height:620px!important;
  border-radius:50%!important;
  border:1px solid rgba(36,242,118,.23)!important;
  box-shadow:inset 0 0 90px rgba(36,242,118,.1),0 0 80px rgba(36,242,118,.12)!important;
  animation:mh-spin 48s linear infinite!important;
}

.mh-hero-left,
.mh-float-zone{
  position:relative!important;
  z-index:2!important;
}

.mh-pill{
  display:inline-flex!important;
  padding:8px 14px!important;
  border-radius:999px!important;
  border:1px solid rgba(36,242,118,.25)!important;
  color:var(--mh-green)!important;
  background:rgba(36,242,118,.06)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
}

.mh-hero h1{
  margin:22px 0 20px!important;
  color:#fff!important;
  font-size:clamp(54px,7vw,88px)!important;
  line-height:.96!important;
  letter-spacing:-.075em!important;
  max-width:670px!important;
}

.mh-hero h1 span{
  color:rgba(255,255,255,.52)!important;
  font-style:normal!important;
}

.mh-hero p{
  max-width:620px!important;
  color:rgba(255,255,255,.56)!important;
  font-size:20px!important;
  line-height:1.55!important;
}

.mh-buttons{
  display:flex!important;
  gap:14px!important;
  margin-top:32px!important;
}

.mh-btn{
  min-height:52px!important;
  padding:0 24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  text-decoration:none!important;
  font-weight:900!important;
  transition:.25s ease!important;
}

.mh-btn:hover{
  transform:translateY(-2px)!important;
}

.mh-btn.white{
  background:#fff!important;
  color:#050505!important;
}

.mh-btn.dark{
  background:rgba(255,255,255,.035)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.14)!important;
}

.mh-mini-tags{
  display:flex!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  margin-top:28px!important;
}

.mh-mini-tags span{
  color:rgba(255,255,255,.55)!important;
  font-size:13px!important;
}

.mh-float-zone{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:18px!important;
}

.mh-card{
  min-height:148px!important;
  padding:26px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;
  border:1px solid rgba(255,255,255,.1)!important;
  box-shadow:0 30px 80px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(18px)!important;
  animation:mh-float 6s ease-in-out infinite!important;
}

.mh-card:nth-child(2){animation-delay:.5s!important}
.mh-card:nth-child(3){animation-delay:1s!important}
.mh-card:nth-child(4){animation-delay:1.5s!important}
.mh-card:nth-child(5){animation-delay:2s!important}
.mh-card:nth-child(6){animation-delay:2.5s!important}

.mh-card i{
  display:block!important;
  font-style:normal!important;
  color:var(--mh-green)!important;
  font-size:28px!important;
  margin-bottom:24px!important;
}

.mh-card b{
  display:block!important;
  color:#fff!important;
  font-size:23px!important;
  line-height:1.1!important;
}

.mh-card span{
  color:rgba(255,255,255,.45)!important;
  font-size:14px!important;
}

.mh-section{
  width:min(1220px,calc(100% - 48px))!important;
  margin:92px auto 0!important;
}

.mh-title{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  gap:18px!important;
  align-items:center!important;
  margin-bottom:42px!important;
  color:rgba(255,255,255,.55)!important;
  letter-spacing:.18em!important;
  font-size:17px!important;
}

.mh-title span{
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent)!important;
}

.mh-services,
.mh-prices,
.mh-news{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:24px!important;
}

.mh-services article,
.mh-prices article,
.mh-news article,
.mh-reviews article,
.mh-cta{
  background:linear-gradient(180deg,rgba(255,255,255,.068),rgba(255,255,255,.024))!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:22px!important;
  box-shadow:0 34px 100px rgba(0,0,0,.35)!important;
}

.mh-services article,
.mh-prices article{
  padding:28px!important;
}

.mh-icon{
  width:68px!important;
  height:68px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:18px!important;
  color:var(--mh-green)!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:inset 0 0 0 5px rgba(255,255,255,.035)!important;
  margin-bottom:22px!important;
}

.mh-services h3,
.mh-prices h3{
  color:#fff!important;
  font-size:26px!important;
  letter-spacing:-.04em!important;
  margin:0 0 14px!important;
}

.mh-services p,
.mh-prices p,
.mh-news p,
.mh-reviews p,
.mh-power p,
.mh-cta p{
  color:rgba(255,255,255,.55)!important;
  line-height:1.6!important;
}

.mh-services strong,
.mh-prices b{
  display:block!important;
  color:#fff!important;
  font-size:36px!important;
  margin:24px 0!important;
}

.mh-services strong small{
  color:rgba(255,255,255,.5)!important;
  font-size:15px!important;
}

.mh-services a,
.mh-prices a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  border-radius:13px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:850!important;
  margin:22px 0!important;
}

.mh-services ul{
  margin:0!important;
  padding:20px 0 0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
}

.mh-services li{
  color:rgba(255,255,255,.72)!important;
  padding:8px 0!important;
}

.mh-power{
  min-height:460px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  align-items:end!important;
  gap:60px!important;
  padding:70px 90px 20px!important;
  position:relative!important;
}

.mh-powered{
  position:absolute!important;
  left:50%!important;
  top:120px!important;
  transform:translateX(-50%)!important;
  padding:24px 34px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:rgba(255,255,255,.75)!important;
  letter-spacing:.16em!important;
  font-weight:900!important;
}

.mh-power-item{
  text-align:center!important;
}

.mh-power-item .mh-icon{
  margin:0 auto 22px!important;
}

.mh-prices .hot{
  border-color:rgba(36,242,118,.36)!important;
  box-shadow:0 30px 110px rgba(36,242,118,.11)!important;
}

.mh-prices small{
  color:var(--mh-green)!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}

.mh-reviews-head{
  display:flex!important;
  justify-content:space-between!important;
  gap:24px!important;
  align-items:end!important;
  margin-bottom:30px!important;
}

.mh-reviews-head h2{
  color:#fff!important;
  font-size:34px!important;
  letter-spacing:-.045em!important;
}

.mh-reviews-head p{
  color:var(--mh-green)!important;
}

.mh-reviews-head span{
  color:rgba(255,255,255,.45)!important;
}

.mh-reviews{
  overflow:hidden!important;
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)!important;
}

.mh-reviews-track{
  display:flex!important;
  gap:22px!important;
  width:max-content!important;
  animation:mh-reviews 42s linear infinite!important;
}

.mh-reviews:hover .mh-reviews-track{
  animation-play-state:paused!important;
}

.mh-reviews article{
  width:310px!important;
  min-height:210px!important;
  flex:0 0 auto!important;
  padding:24px!important;
}

.mh-reviews strong{
  display:block!important;
  color:var(--mh-green)!important;
  margin:16px 0!important;
}

.mh-news article{
  padding:18px!important;
}

.mh-news article div{
  height:130px!important;
  border-radius:16px!important;
  margin-bottom:18px!important;
  background:radial-gradient(circle at 50% 50%,rgba(36,242,118,.5),transparent 35%),linear-gradient(135deg,rgba(36,242,118,.16),rgba(255,255,255,.035))!important;
  border:1px solid rgba(36,242,118,.18)!important;
}

.mh-news a{
  color:var(--mh-green)!important;
  text-decoration:none!important;
  font-weight:850!important;
}

.mh-cta{
  width:min(1220px,calc(100% - 48px))!important;
  margin:100px auto 40px!important;
  padding:46px 70px!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  overflow:hidden!important;
}

.mh-cta h2{
  color:#fff!important;
  font-size:44px!important;
  letter-spacing:-.055em!important;
}

.mh-cta img{
  width:220px!important;
  filter:drop-shadow(0 0 55px rgba(36,242,118,.5))!important;
  animation:mh-float 6s ease-in-out infinite!important;
}

@keyframes mh-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}

@keyframes mh-spin{
  to{transform:rotate(360deg)}
}

@keyframes mh-reviews{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@media(max-width:1100px){
  .mh-hero{grid-template-columns:1fr!important;padding:42px!important}
  .mh-services,.mh-prices,.mh-news{grid-template-columns:1fr!important}
  .mh-power{grid-template-columns:1fr!important;padding:40px 20px!important}
  .mh-powered{display:none!important}
}

@media(max-width:720px){
  .mh-hero{width:calc(100% - 24px)!important;margin-top:34px!important;padding:28px!important}
  .mh-hero h1{font-size:46px!important}
  .mh-float-zone{grid-template-columns:1fr!important}
  .mh-section{width:calc(100% - 24px)!important}
  .mh-reviews-head{display:block!important}
  .mh-cta{width:calc(100% - 24px)!important;padding:28px!important;display:block!important}
  .mh-cta img{width:150px!important;margin-top:24px!important}
}

/* ===== MATT VPN FINAL BLACK POLISH ===== */

html, body {
  background: #000 !important;
  color: #fff !important;
}

body {
  background:
    radial-gradient(circle at 74% 12%, rgba(18, 255, 118, .10), transparent 26%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .025), transparent 24%),
    #000 !important;
}

body::after {
  background:
    radial-gradient(circle at 74% 14%, rgba(18, 255, 118, .10), transparent 28%),
    #000 !important;
}

.mh-hero {
  background:
    radial-gradient(circle at 82% 46%, rgba(18, 255, 118, .18), transparent 32%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .035), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.006)) !important;
  min-height: 610px !important;
  align-items: center !important;
}

.mh-hero h1 {
  font-size: clamp(58px, 6.2vw, 84px) !important;
  line-height: .94 !important;
  letter-spacing: -.08em !important;
  margin-bottom: 18px !important;
}

.mh-hero h1 span {
  color: rgba(255,255,255,.52) !important;
  display: inline !important;
}

.mh-hero p {
  font-size: 18px !important;
  max-width: 650px !important;
}

.mh-float-zone {
  align-self: center !important;
}

.mh-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    radial-gradient(circle at 70% 30%, rgba(18,255,118,.14), transparent 48%) !important;
  transform: translateZ(0) !important;
  transition:
    transform .45s cubic-bezier(.2,.9,.2,1),
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease !important;
}

.mh-card:hover {
  transform: translateY(-14px) scale(1.035) rotateX(2deg) rotateY(-2deg) !important;
  border-color: rgba(36,242,118,.45) !important;
  box-shadow:
    0 35px 100px rgba(0,0,0,.65),
    0 0 55px rgba(36,242,118,.16) !important;
}

.mh-card:hover i {
  transform: scale(1.18) rotate(-6deg) !important;
  filter: drop-shadow(0 0 14px rgba(36,242,118,.7)) !important;
}

.mh-card i {
  transition: transform .35s ease, filter .35s ease !important;
}

.mh-services article,
.mh-prices article,
.mh-news article,
.mh-reviews article,
.mh-cta,
.panel,
.glass-lite {
  background:
    linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.018)) !important;
  border-color: rgba(255,255,255,.105) !important;
}

.mh-services article,
.mh-prices article,
.mh-news article,
.mh-reviews article {
  position: relative !important;
  overflow: hidden !important;
  transition:
    transform .45s cubic-bezier(.2,.9,.2,1),
    border-color .35s ease,
    box-shadow .35s ease !important;
}

.mh-services article::before,
.mh-prices article::before,
.mh-news article::before,
.mh-reviews article::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(36,242,118,.18), transparent 34%) !important;
  opacity: 0 !important;
  transition: opacity .35s ease !important;
  pointer-events: none !important;
}

.mh-services article:hover,
.mh-prices article:hover,
.mh-news article:hover,
.mh-reviews article:hover {
  transform: translateY(-12px) scale(1.012) !important;
  border-color: rgba(36,242,118,.42) !important;
  box-shadow:
    0 34px 110px rgba(0,0,0,.7),
    0 0 45px rgba(36,242,118,.13) !important;
}

.mh-services article:hover::before,
.mh-prices article:hover::before,
.mh-news article:hover::before,
.mh-reviews article:hover::before {
  opacity: 1 !important;
}

.mh-services article > *,
.mh-prices article > *,
.mh-news article > *,
.mh-reviews article > * {
  position: relative !important;
  z-index: 1 !important;
}

.mh-icon {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.mh-services article:hover .mh-icon,
.mh-power-item:hover .mh-icon {
  transform: translateY(-4px) scale(1.08) rotate(-3deg) !important;
  border-color: rgba(36,242,118,.45) !important;
  box-shadow:
    inset 0 0 0 5px rgba(255,255,255,.035),
    0 0 34px rgba(36,242,118,.18) !important;
}

.mh-btn,
.mh-services a,
.mh-prices a,
.nav-menu a,
.nav-right a,
button,
.btn {
  position: relative !important;
  overflow: hidden !important;
  transition:
    transform .28s cubic-bezier(.2,.9,.2,1),
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease !important;
}

.mh-btn::after,
.mh-services a::after,
.mh-prices a::after,
.btn::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -80% !important;
  width: 55% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent) !important;
  transform: skewX(-18deg) !important;
  transition: left .65s ease !important;
  pointer-events: none !important;
}

.mh-btn:hover::after,
.mh-services a:hover::after,
.mh-prices a:hover::after,
.btn:hover::after {
  left: 130% !important;
}

.mh-btn:hover,
.mh-services a:hover,
.mh-prices a:hover,
.nav-right a:hover,
button:hover,
.btn:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 18px 45px rgba(0,0,0,.45),
    0 0 28px rgba(36,242,118,.15) !important;
}

.nav-wow,
.nav {
  background: rgba(8, 9, 10, .88) !important;
  border-color: rgba(255,255,255,.12) !important;
}

.nav-wow:hover,
.nav:hover {
  border-color: rgba(36,242,118,.22) !important;
  box-shadow:
    0 24px 90px rgba(0,0,0,.55),
    0 0 60px rgba(36,242,118,.08) !important;
}

.mh-power {
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.045), transparent 38%),
    radial-gradient(circle at 50% 20%, rgba(36,242,118,.08), transparent 32%) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
}

.mh-powered {
  box-shadow:
    0 30px 100px rgba(0,0,0,.5),
    0 0 35px rgba(36,242,118,.12) !important;
}

.mh-reviews-track {
  animation-duration: 55s !important;
}

.mh-reviews article:hover {
  transform: translateY(-8px) scale(1.02) !important;
}

.mh-news article div {
  background:
    radial-gradient(circle at 50% 50%, rgba(36,242,118,.42), transparent 35%),
    linear-gradient(135deg, rgba(36,242,118,.13), rgba(255,255,255,.025)) !important;
  transition: transform .4s ease, filter .4s ease !important;
}

.mh-news article:hover div {
  transform: scale(1.04) !important;
  filter: brightness(1.18) saturate(1.15) !important;
}

.mh-cta {
  background:
    radial-gradient(circle at 85% 50%, rgba(36,242,118,.22), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)) !important;
}

.mh-cta:hover img {
  transform: translateY(-8px) scale(1.04) !important;
}

.mh-cta img {
  transition: transform .45s ease !important;
}

/* плавное появление блоков */
.mh-section,
.mh-hero,
.mh-cta {
  animation: mhFadeUp .9s ease both !important;
}

.mh-section:nth-of-type(2) { animation-delay: .08s !important; }
.mh-section:nth-of-type(3) { animation-delay: .14s !important; }
.mh-section:nth-of-type(4) { animation-delay: .20s !important; }

/* вход / регистрация в стиле референса */
.auth-shell,
.login-shell,
.register-shell {
  background: #000 !important;
  color: #fff !important;
  min-height: 100vh !important;
}

.auth-shell::before,
.login-shell::before,
.register-shell::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 74% 20%, rgba(36,242,118,.10), transparent 30%),
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.035), transparent 22%),
    #000 !important;
  pointer-events: none !important;
  z-index: -2 !important;
}

.auth-shell::after,
.login-shell::after,
.register-shell::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  opacity: .12 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.auth-card,
.auth-panel,
.login-card,
.register-card,
.auth-form,
.login-form,
.register-form {
  background:
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 26px !important;
  box-shadow:
    0 34px 110px rgba(0,0,0,.65),
    0 0 60px rgba(36,242,118,.06) !important;
  backdrop-filter: blur(18px) !important;
}

.auth-side,
.auth-left,
.login-left,
.register-left {
  background:
    radial-gradient(circle at 70% 30%, rgba(36,242,118,.14), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)) !important;
  border-right: 1px solid rgba(255,255,255,.08) !important;
}

input,
select,
textarea {
  background: rgba(255,255,255,.065) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  color: #fff !important;
  border-radius: 14px !important;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36,242,118,.5) !important;
  box-shadow: 0 0 0 4px rgba(36,242,118,.10), 0 0 30px rgba(36,242,118,.08) !important;
  transform: translateY(-1px) !important;
}

@keyframes mhFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width: 1100px) {
  .mh-hero {
    min-height: auto !important;
  }
}

@media(max-width: 720px) {
  .mh-hero h1 {
    font-size: 44px !important;
  }

  .mh-buttons {
    flex-direction: column !important;
  }

  .mh-btn {
    width: 100% !important;
  }
}

/* ===== MATT VPN BEAUTIFUL BLACK AUTH ===== */

.matt-auth-page {
  position: relative !important;
  min-height: calc(100vh - 160px) !important;
  padding: 86px 24px 70px !important;
  background: #000 !important;
  overflow: hidden !important;
}

.matt-auth-bg {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 74% 22%, rgba(36,242,118,.16), transparent 28%),
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.045), transparent 22%),
    #000 !important;
}

.matt-auth-bg::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  opacity: .13 !important;
}

.matt-auth-bg::after {
  content: "" !important;
  position: absolute !important;
  right: -180px !important;
  top: 80px !important;
  width: 560px !important;
  height: 560px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(36,242,118,.22) !important;
  box-shadow: inset 0 0 90px rgba(36,242,118,.1), 0 0 80px rgba(36,242,118,.12) !important;
  animation: mattAuthSpin 46s linear infinite !important;
}

.matt-auth-shell {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, 100%) !important;
  min-height: 640px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.05fr .95fr !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.016)) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: 0 34px 120px rgba(0,0,0,.7), 0 0 80px rgba(36,242,118,.07) !important;
  backdrop-filter: blur(22px) !important;
  animation: mattAuthEnter .75s cubic-bezier(.2,.9,.2,1) both !important;
}

.matt-auth-side {
  position: relative !important;
  padding: 46px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background:
    radial-gradient(circle at 70% 36%, rgba(36,242,118,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)) !important;
  border-right: 1px solid rgba(255,255,255,.08) !important;
}

.matt-auth-side::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  opacity: .11 !important;
}

.matt-auth-side > * {
  position: relative !important;
  z-index: 1 !important;
}

.matt-auth-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 22px !important;
  font-weight: 950 !important;
}

.matt-auth-brand img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  filter: drop-shadow(0 0 22px rgba(36,242,118,.45)) !important;
}

.matt-auth-pill {
  display: inline-flex !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(36,242,118,.26) !important;
  color: #24f276 !important;
  background: rgba(36,242,118,.065) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
}

.matt-auth-copy h1 {
  margin: 24px 0 18px !important;
  color: #fff !important;
  font-size: clamp(46px, 5vw, 72px) !important;
  line-height: .96 !important;
  letter-spacing: -.07em !important;
}

.matt-auth-copy p {
  max-width: 520px !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.matt-auth-benefits {
  display: grid !important;
  gap: 14px !important;
}

.matt-auth-benefits div {
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  column-gap: 14px !important;
  padding: 16px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease !important;
}

.matt-auth-benefits div:hover {
  transform: translateX(8px) !important;
  border-color: rgba(36,242,118,.32) !important;
  box-shadow: 0 18px 50px rgba(36,242,118,.08) !important;
}

.matt-auth-benefits i {
  grid-row: 1 / span 2 !important;
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.06) !important;
  font-style: normal !important;
}

.matt-auth-benefits b {
  color: #fff !important;
}

.matt-auth-benefits small {
  color: rgba(255,255,255,.48) !important;
}

.matt-auth-card {
  align-self: center !important;
  justify-self: center !important;
  width: min(460px, calc(100% - 56px)) !important;
  padding: 38px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 80% 0%, rgba(36,242,118,.10), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.078), rgba(255,255,255,.025)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 34px 100px rgba(0,0,0,.55), 0 0 45px rgba(36,242,118,.08) !important;
  animation: mattCardFloat 6s ease-in-out infinite !important;
}

.matt-auth-card-head span {
  color: #24f276 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.matt-auth-card-head h2 {
  margin: 12px 0 10px !important;
  color: #fff !important;
  font-size: 38px !important;
  letter-spacing: -.055em !important;
}

.matt-auth-card-head p {
  color: rgba(255,255,255,.52) !important;
  line-height: 1.5 !important;
}

.matt-auth-form {
  display: grid !important;
  gap: 18px !important;
  margin-top: 28px !important;
}

.matt-auth-form label {
  display: grid !important;
  gap: 9px !important;
}

.matt-auth-form label > span {
  color: rgba(255,255,255,.82) !important;
  font-weight: 800 !important;
}

.matt-input-wrap {
  display: grid !important;
  grid-template-columns: 46px 1fr !important;
  align-items: center !important;
  min-height: 58px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  overflow: hidden !important;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease !important;
}

.matt-input-wrap:focus-within {
  transform: translateY(-2px) !important;
  border-color: rgba(36,242,118,.55) !important;
  box-shadow: 0 0 0 4px rgba(36,242,118,.10), 0 0 36px rgba(36,242,118,.10) !important;
}

.matt-input-wrap i {
  display: grid !important;
  place-items: center !important;
  color: #24f276 !important;
  font-style: normal !important;
  opacity: .95 !important;
}

.matt-input-wrap input {
  width: 100% !important;
  height: 58px !important;
  padding: 0 16px 0 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

.matt-input-wrap input::placeholder {
  color: rgba(255,255,255,.32) !important;
}

.matt-auth-submit {
  position: relative !important;
  margin-top: 8px !important;
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #24f276, #0dbf5c) !important;
  color: #021109 !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  overflow: hidden !important;
  box-shadow: 0 18px 45px rgba(36,242,118,.22) !important;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease !important;
}

.matt-auth-submit::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -80% !important;
  width: 55% !important;
  height: 100% !important;
  transform: skewX(-18deg) !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent) !important;
  transition: left .65s ease !important;
}

.matt-auth-submit:hover {
  transform: translateY(-3px) scale(1.01) !important;
  filter: brightness(1.06) !important;
  box-shadow: 0 22px 65px rgba(36,242,118,.30) !important;
}

.matt-auth-submit:hover::before {
  left: 130% !important;
}

.matt-auth-submit em {
  font-style: normal !important;
  margin-left: 8px !important;
}

.matt-auth-bottom {
  margin-top: 22px !important;
  text-align: center !important;
  color: rgba(255,255,255,.46) !important;
}

.matt-auth-bottom a {
  color: #24f276 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.matt-auth-error {
  margin-top: 18px !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  background: rgba(255,77,77,.12) !important;
  border: 1px solid rgba(255,77,77,.25) !important;
  color: #ffb4b4 !important;
}

/* Убираем старые белые auth-стили */
.login-card,
.register-card,
.auth-card,
.auth-form,
.login-form,
.register-form {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Убираем кнопку темы окончательно */
[data-theme-toggle],
.theme-toggle,
.themeToggle,
#themeToggle,
button[aria-label*="тем"],
button[aria-label*="Theme"] {
  display: none !important;
}

@keyframes mattAuthSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mattAuthEnter {
  from {
    opacity: 0;
    transform: translateY(26px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mattCardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media(max-width: 950px) {
  .matt-auth-shell {
    grid-template-columns: 1fr !important;
  }

  .matt-auth-side {
    min-height: 460px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }

  .matt-auth-card {
    margin: 42px 0 !important;
  }
}

@media(max-width: 620px) {
  .matt-auth-page {
    padding: 36px 14px !important;
  }

  .matt-auth-side {
    padding: 28px !important;
  }

  .matt-auth-copy h1 {
    font-size: 42px !important;
  }

  .matt-auth-card {
    width: calc(100% - 28px) !important;
    padding: 26px !important;
  }
}

/* ===== MATT VPN LOGIN / REGISTER LOADING ===== */

.matt-auth-loading {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(36,242,118,.16), transparent 28%),
    radial-gradient(circle at 75% 18%, rgba(36,242,118,.12), transparent 24%),
    rgba(0,0,0,.92) !important;
  backdrop-filter: blur(18px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .28s ease !important;
}

.matt-auth-loading.active {
  opacity: 1 !important;
  pointer-events: all !important;
}

.matt-auth-loading::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  opacity: .12 !important;
}

.matt-auth-loader-card {
  position: relative !important;
  width: min(420px, calc(100% - 34px)) !important;
  padding: 38px 34px !important;
  border-radius: 30px !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(36,242,118,.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    0 34px 120px rgba(0,0,0,.75),
    0 0 90px rgba(36,242,118,.12) !important;
  overflow: hidden !important;
  transform: translateY(18px) scale(.96) !important;
  transition: transform .32s cubic-bezier(.2,.9,.2,1) !important;
}

.matt-auth-loading.active .matt-auth-loader-card {
  transform: translateY(0) scale(1) !important;
}

.matt-auth-loader-logo {
  width: 76px !important;
  height: 76px !important;
  margin: 0 auto 22px !important;
  border-radius: 24px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(36,242,118,.08) !important;
  border: 1px solid rgba(36,242,118,.22) !important;
  box-shadow:
    inset 0 0 0 6px rgba(255,255,255,.025),
    0 0 55px rgba(36,242,118,.28) !important;
  animation: mattLoaderPulse 1.45s ease-in-out infinite !important;
}

.matt-auth-loader-logo img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  filter: drop-shadow(0 0 20px rgba(36,242,118,.55)) !important;
}

.matt-auth-loader-card h3 {
  margin: 0 0 9px !important;
  color: #fff !important;
  font-size: 26px !important;
  letter-spacing: -.04em !important;
}

.matt-auth-loader-card p {
  margin: 0 0 24px !important;
  color: rgba(255,255,255,.54) !important;
}

.matt-auth-loader-bar {
  height: 8px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}

.matt-auth-loader-bar span {
  display: block !important;
  height: 100% !important;
  width: 45% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #24f276, #0dbf5c, #baffd2) !important;
  box-shadow: 0 0 24px rgba(36,242,118,.45) !important;
  animation: mattLoaderMove 1.05s ease-in-out infinite !important;
}

.matt-auth-loader-steps {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

s ease-in-out infinite !important;
}

.matt-auth-loader-steps {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.matt-auth-loader-steps i {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.25) !important;
  animation: mattLoaderDot 1.2s ease-in-out infinite !important;
}

.matt-auth-loader-steps i:nth-child(2) {
  animation-delay: .18s !important;
}

.matt-auth-loader-steps i:nth-child(3) {
  animation-delay: .36s !important;
}

.matt-auth-submit.loading {
  pointer-events: none !important;
  filter: grayscale(.1) brightness(.92) !important;
}

@keyframes mattLoaderPulse {
  0%,100% {
    transform: scale(1);
    box-shadow:
      inset 0 0 0 6px rgba(255,255,255,.025),
      0 0 45px rgba(36,242,118,.22);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      inset 0 0 0 6px rgba(255,255,255,.035),
      0 0 80px rgba(36,242,118,.42);
  }
}

@keyframes mattLoaderMove {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes mattLoaderDot {
  0%,100% {
    opacity: .25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px);
    background: #24f276;
  }
}

/* ===== MattVPN Logout Buttons ===== */

.matt-dashboard-logout {
  width: min(1220px, calc(100% - 48px)) !important;
  margin: 34px auto -12px !important;
  display: flex !important;
  justify-content: flex-end !important;
  position: relative !important;
  z-index: 5 !important;
}

.matt-dashboard-logout a,
.matt-nav-logout,
.matt-nav-login {
  min-height: 46px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  color: #fff !important;
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.35) !important;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease !important;
}

.matt-dashboard-logout a:hover,
.matt-nav-logout:hover,
.matt-nav-login:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(36,242,118,.38) !important;
  background: rgba(36,242,118,.08) !important;
  box-shadow:
    0 18px 55px rgba(0,0,0,.45),
    0 0 30px rgba(36,242,118,.14) !important;
}

.matt-nav-logout {
  color: #ffb4b4 !important;
  border-color: rgba(255,90,90,.22) !important;
}

.matt-nav-logout:hover {
  color: #fff !important;
  border-color: rgba(255,90,90,.42) !important;
  background: rgba(255,90,90,.10) !important;
}

@media(max-width:720px) {
  .matt-dashboard-logout {
    width: calc(100% - 24px) !important;
    margin-top: 24px !important;
  }

  .matt-dashboard-logout a {
    width: 100% !important;
  }
}

/* ===== MattVPN Dashboard White Fixes ===== */

.dashboard,
.dashboard * {
  box-sizing: border-box !important;
}

/* Убираем белые уведомления / Telegram-плашки / empty-state */
.dashboard .notice,
.dashboard .alert,
.dashboard .telegram,
.dashboard .telegram-box,
.dashboard .telegram-card,
.dashboard .tg-box,
.dashboard .tg-connected,
.dashboard .empty-state,
.dashboard .empty-state-premium,
.dashboard .empty,
.dashboard .config-empty,
.dashboard .referral-card,
.dashboard .panel-row,
.dashboard .order,
.dashboard .config-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  color: #fff !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.45) !important;
}

/* Если белый блок был без класса, но внутри dashboard */
.dashboard section > div,
.dashboard .panel > div {
  border-color: rgba(255,255,255,.10) !important;
}

/* Верхние белые счётчики */
.dashboard .stats div,
.dashboard .stat,
.dashboard .stat-card,
.dashboard .metric,
.dashboard .metric-card,
.dashboard .hero-stat,
.dashboard .counter,
.dashboard .summary-card > div {
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.022)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 75px rgba(0,0,0,.42) !important;
}

.dashboard .stats div b,
.dashboard .stat b,
.dashboard .metric b,
.dashboard .hero-stat b,
.dashboard .counter b {
  color: #fff !important;
}

.dashboard .stats div span,
.dashboard .stat span,
.dashboard .metric span,
.dashboard .hero-stat span,
.dashboard .counter span {
  color: rgba(255,255,255,.55) !important;
}

/* Белые фильтры и кнопки */
.dashboard .tab,
.dashboard .filter,
.dashboard .filter-btn,
.dashboard .status-filter,
.dashboard .copyLinkBtn,
.dashboard button:not(.matt-auth-submit),
.dashboard select,
.dashboard input {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.dashboard .tab.active,
.dashboard .filter.active,
.dashboard .filter-btn.active,
.dashboard button.active,
.dashboard .plan-card.active,
.dashboard .vpn-card.active {
  background: rgba(36,242,118,.10) !important;
  border-color: rgba(36,242,118,.55) !important;
  color: #fff !important;
  box-shadow:
    0 0 0 1px rgba(36,242,118,.18),
    0 0 45px rgba(36,242,118,.13) !important;
}

/* Убираем синюю обводку тарифа */
.dashboard .plan-card,
.dashboard .vpn-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  transition:
    transform .32s cubic-bezier(.2,.9,.2,1),
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease !important;
}

.dashboard .plan-card:hover,
.dashboard .vpn-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(36,242,118,.38) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.55),
    0 0 34px rgba(36,242,118,.12) !important;
}

.dashboard .plan-card.active,
.dashboard .vpn-card.active {
  outline: none !important;
  border-color: rgba(36,242,118,.70) !important;
  background:
    radial-gradient(circle at 70% 20%, rgba(36,242,118,.15), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.022)) !important;
}

/* Белая пустая карточка "у вас пока нет VPN" */
.dashboard .empty-state-premium {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 24px 28px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 82% 40%, rgba(36,242,118,.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) !important;
  border: 1px dashed rgba(36,242,118,.25) !important;
}

.dashboard .empty-state-premium b,
.dashboard .empty-state-premium h3 {
  color: #fff !important;
}

.dashboard .empty-state-premium p,
.dashboard .empty-state-premium span {
  color: rgba(255,255,255,.55) !important;
}

.dashboard .empty-icon {
  background: rgba(36,242,118,.10) !important;
  color: #24f276 !important;
  border: 1px solid rgba(36,242,118,.25) !important;
  box-shadow: 0 0 30px rgba(36,242,118,.12) !important;
}

/* Telegram-плашка */
.dashboard a[href*="t.me"],
.dashboard a[href*="telegram"] {
  color: #24f276 !important;
  font-weight: 900 !important;
}

/* Белые маленькие pill-элементы */
.dashboard mark,
.dashboard .pill,
.dashboard .badge,
.dashboard .chip,
.dashboard small.badge {
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

/* Кнопка создать VPN */
.dashboard a[href="#buy"],
.dashboard a[href="#new"],
.dashboard a[href="#configs"],
.dashboard .create-vpn,
.dashboard .new-vpn {
  background: linear-gradient(135deg, #24f276, #0dbf5c) !important;
  color: #021109 !important;
  border: 0 !important;
  box-shadow: 0 18px 45px rgba(36,242,118,.24) !important;
}

/* Поля поиска */
.dashboard input[type="search"],
.dashboard input[placeholder*="Поиск"],
.dashboard input[placeholder*="поиск"] {
  background: rgba(255,255,255,.055) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.13) !important;
}

/* Глобально для dashboard убираем белые поверхности */
.dashboard [style*="background:white"],
.dashboard [style*="background: white"],
.dashboard [style*="background-color:white"],
.dashboard [style*="background-color: white"],
.dashboard [style*="#fff"],
.dashboard [style*="#ffffff"] {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  color: #fff !important;
}

/* Скрыть старый WG-фильтр визуально, если он остался */
.dashboard button[data-filter="wireguard"],
.dashboard .tab[data-filter="wireguard"] {
  display: none !important;
}


/* ===== MattVPN Bot-like Guides ===== */

.matt-guides-page {
  width: min(1220px, calc(100% - 48px)) !important;
  margin: 72px auto 80px !important;
}

.matt-guides-hero {
  position: relative !important;
  overflow: hidden !important;
  padding: 64px !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 78% 36%, rgba(36,242,118,.16), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: 0 34px 110px rgba(0,0,0,.55) !important;
}

.matt-guides-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  opacity: .12 !important;
}

.matt-guides-hero > * {
  position: relative !important;
  z-index: 1 !important;
}

.matt-guides-kicker {
  display: inline-flex !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  color: #24f276 !important;
  background: rgba(36,242,118,.07) !important;
  border: 1px solid rgba(36,242,118,.24) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
}

.matt-guides-hero h1 {
  margin: 22px 0 16px !important;
  color: #fff !important;
  font-size: clamp(46px, 6vw, 76px) !important;
  line-height: .95 !important;
  letter-spacing: -.07em !important;
}

.matt-guides-hero p {
  max-width: 760px !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.matt-protocol-grid,
.matt-device-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  margin-top: 28px !important;
}

.matt-device-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

.matt-protocol-card,
.matt-device-card,
.matt-guide-help {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 74% 16%, rgba(36,242,118,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.45) !important;
  color: #fff !important;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), border-color .28s ease, box-shadow .28s ease !important;
}

.matt-protocol-card {
  padding: 32px !important;
}

.matt-device-card {
  padding: 28px !important;
}

.matt-protocol-card:hover,
.matt-device-card:hover {
  transform: translateY(-10px) scale(1.01) !important;
  border-color: rgba(36,242,118,.38) !important;
  box-shadow:
    0 34px 110px rgba(0,0,0,.6),
    0 0 45px rgba(36,242,118,.12) !important;
}

.matt-protocol-icon,
.matt-device-head i {
  width: 62px !important;
  height: 62px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 18px !important;
  color: #24f276 !important;
  background: rgba(36,242,118,.08) !important;
  border: 1px solid rgba(36,242,118,.22) !important;
  box-shadow: 0 0 32px rgba(36,242,118,.10) !important;
  font-style: normal !important;
}

.matt-protocol-card span,
.matt-guide-title span {
  color: #24f276 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.matt-protocol-card h2,
.matt-guide-title h2,
.matt-guide-help h2 {
  color: #fff !important;
  font-size: 38px !important;
  letter-spacing: -.055em !important;
  margin: 14px 0 12px !important;
}

.matt-protocol-card p,
.matt-guide-title p,
.matt-device-card p,
.matt-guide-help p,
.matt-device-card li {
  color: rgba(255,255,255,.58) !important;
  line-height: 1.6 !important;
}

.matt-guide-btn,
.matt-app-link,
.matt-guide-help a {
  min-height: 48px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  color: #021109 !important;
  background: linear-gradient(135deg, #24f276, #0dbf5c) !important;
  box-shadow: 0 18px 45px rgba(36,242,118,.22) !important;
  margin-top: 18px !important;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease !important;
}

.matt-guide-btn:hover,
.matt-app-link:hover,
.matt-guide-help a:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.06) !important;
  box-shadow: 0 22px 60px rgba(36,242,118,.30) !important;
}

.matt-guide-section {
  margin-top: 86px !important;
}

.matt-guide-title {
  margin-bottom: 28px !important;
}

.matt-device-head {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 22px !important;
}

.matt-device-head b {
  display: block !important;
  color: #fff !important;
  font-size: 22px !important;
}

.matt-device-head span {
  color: rgba(255,255,255,.45) !important;
}

.matt-device-card ol {
  margin: 22px 0 0 !important;
  padding-left: 20px !important;
}

.matt-device-card li {
  padding: 7px 0 !important;
}

.matt-device-card b {
  color: #fff !important;
}

.matt-guide-help {
  margin-top: 90px !important;
  padding: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.matt-guide-help span {
  color: #24f276 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

@media(max-width: 980px) {
  .matt-protocol-grid,
  .matt-device-grid {
    grid-template-columns: 1fr !important;
  }

  .matt-guide-help {
    display: block !important;
  }
}

@media(max-width: 620px) {
  .matt-guides-page {
    width: calc(100% - 24px) !important;
    margin-top: 36px !important;
  }

  .matt-guides-hero {
    padding: 28px !important;
  }

  .matt-guides-hero h1 {
    font-size: 42px !important;
  }
}


/* ===== MattVPN LK CLEAN FIX ===== */

/* База */
html, body {
  background: #030303 !important;
  color: #fff !important;
}

body {
  overflow-x: hidden;
}

/* Красивый базовый фон */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(26, 255, 136, 0.11), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(26, 255, 136, 0.06), transparent 26%),
    linear-gradient(180deg, #030303 0%, #020202 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
}

/* Общие панели */
.panel,
.glass-lite,
.dashboard .panel,
.dashboard .glass-lite,
.dashboard .order,
.dashboard .config-card,
.dashboard .empty-state,
.dashboard .empty-state-premium,
.dashboard .referral-card,
.dashboard .promo-card,
.dashboard .metric-card,
.dashboard .stats-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow:
    0 24px 80px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,255,255,.02) inset !important;
  border-radius: 26px !important;
  color: #fff !important;
}

/* Убираем белые косяки */
.dashboard * {
  box-shadow: none;
}

.dashboard .panel,
.dashboard .glass-lite,
.dashboard .order,
.dashboard .config-card,
.dashboard .empty-state,
.dashboard .empty-state-premium,
.dashboard .referral-card,
.dashboard .promo-card,
.dashboard .metric-card,
.dashboard .stats-card {
  box-shadow:
    0 24px 80px rgba(0,0,0,.46),
    0 0 40px rgba(0,255,140,.05) !important;
}

.dashboard [style*="background:#fff"],
.dashboard [style*="background: #fff"],
.dashboard [style*="background-color:#fff"],
.dashboard [style*="background-color: #fff"],
.dashboard [style*="background:white"],
.dashboard [style*="background: white"],
.dashboard [style*="background-color:white"],
.dashboard [style*="background-color: white"] {
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.08) !important;
}

/* Сайдбар ЛК */
.dashboard aside,
.dashboard .sidebar,
.dashboard .dashboard-sidebar,
.dashboard .profile-sidebar,
.dashboard .cabinet-sidebar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 28px !important;
  box-shadow:
    0 24px 80px rgba(0,0,0,.48),
    0 0 40px rgba(0,255,140,.05) !important;
}

.dashboard aside a,
.dashboard .sidebar a,
.dashboard .dashboard-sidebar a,
.dashboard .profile-sidebar a,
.dashboard .cabinet-sidebar a {
  color: rgba(255,255,255,.76) !important;
}

.dashboard aside a:hover,
.dashboard .sidebar a:hover,
.dashboard .dashboard-sidebar a:hover,
.dashboard .profile-sidebar a:hover,
.dashboard .cabinet-sidebar a:hover {
  color: #19f57c !important;
}

.dashboard aside .active,
.dashboard .sidebar .active,
.dashboard .dashboard-sidebar .active,
.dashboard .profile-sidebar .active,
.dashboard .cabinet-sidebar .active,
.dashboard .menu .active {
  background: linear-gradient(90deg, rgba(28,255,124,.92), rgba(13,211,96,.92)) !important;
  color: #041108 !important;
  border-radius: 18px !important;
  font-weight: 700 !important;
}

/* Заголовок ЛК */
.dashboard h1,
.dashboard h2,
.dashboard h3 {
  color: #fff !important;
}

.dashboard p,
.dashboard .muted,
.dashboard small,
.dashboard span {
  color: rgba(255,255,255,.68);
}

/* Стат карточки справа сверху */
.dashboard .compact-metrics > div,
.dashboard .hero-metrics > div,
.dashboard .stats > div,
.dashboard .summary-card,
.dashboard .metric-card,
.dashboard .stat-card,
.dashboard .mini-stat {
  background:
    radial-gradient(circle at 65% 25%, rgba(0,255,132,.12), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #fff !important;
  border-radius: 24px !important;
}

.dashboard .compact-metrics > div b,
.dashboard .hero-metrics > div b,
.dashboard .stats > div b,
.dashboard .summary-card b,
.dashboard .metric-card b,
.dashboard .stat-card b,
.dashboard .mini-stat b {
  color: #fff !important;
}

.dashboard .compact-metrics > div span,
.dashboard .hero-metrics > div span,
.dashboard .stats > div span,
.dashboard .summary-card span,
.dashboard .metric-card span,
.dashboard .stat-card span,
.dashboard .mini-stat span {
  color: rgba(255,255,255,.55) !important;
}

/* Кнопки */
.btn,
button,
input[type="submit"],
a.btn {
  border-radius: 18px !important;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease !important;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
a.btn:hover {
  transform: translateY(-2px);
}

.btn.primary,
.btn.green,
button.primary,
button.green,
a.btn.primary,
a.btn.green {
  background: linear-gradient(90deg, #1eff7a, #0fd261) !important;
  color: #041108 !important;
  border: 1px solid rgba(30,255,122,.72) !important;
  box-shadow: 0 10px 30px rgba(17, 255, 107, .22) !important;
  font-weight: 700 !important;
}

.btn.ghost,
button.ghost,
a.btn.ghost {
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}

/* Инпуты */
input,
select,
textarea {
  background: rgba(255,255,255,.045) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,.36) !important;
}

/* Блок Telegram */
.dashboard .telegram-banner,
.dashboard .telegram-row,
.dashboard .telegram-strip {
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), rgba(0,255,136,.08), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 20px !important;
}

/* Мастер покупки */
.dashboard .stepper,
.dashboard .step-row,
.dashboard .wizard-steps {
  color: rgba(255,255,255,.8) !important;
}

.dashboard .step,
.dashboard .step-circle {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.12) !important;
}

.dashboard .step.active,
.dashboard .step-circle.active {
  background: linear-gradient(90deg, #2f72ff, #62a3ff) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(55,120,255,.18) !important;
}

/* Тарифные карточки */
.dashboard .tariff-card,
.dashboard .price-card,
.dashboard .plan-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.014)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 24px !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}

.dashboard .tariff-card:hover,
.dashboard .price-card:hover,
.dashboard .plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23,255,124,.42) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.52),
    0 0 40px rgba(23,255,124,.10) !important;
}

/* Фильтры */
.dashboard .tab,
.dashboard .filter-btn,
.dashboard .status-filter {
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
  border-radius: 15px !important;
}

.dashboard .tab.active,
.dashboard .filter-btn.active,
.dashboard .status-filter.active {
  background: rgba(22,255,122,.11) !important;
  border-color: rgba(22,255,122,.48) !important;
  box-shadow: 0 0 28px rgba(22,255,122,.08) !important;
}

/* Кнопка выхода */
a[href="/logout"],
.logout-btn {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
  border-radius: 18px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
}

/* Мобильная адаптация */
@media (max-width: 1100px) {
  .dashboard aside,
  .dashboard .sidebar,
  .dashboard .dashboard-sidebar,
  .dashboard .profile-sidebar,
  .dashboard .cabinet-sidebar {
    position: static !important;
    width: 100% !important;
    margin-bottom: 18px !important;
  }
}


/* ===== MattVPN SITE FX ===== */

.matt-fx-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.matt-fx-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
}

.matt-fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .16;
  will-change: transform;
}

.matt-fx-orb.orb-a {
  width: 420px;
  height: 420px;
  left: 8%;
  top: 18%;
  background: radial-gradient(circle, rgba(25,245,124,.34), transparent 68%);
  animation: mattOrbA 14s ease-in-out infinite alternate;
}

.matt-fx-orb.orb-b {
  width: 560px;
  height: 560px;
  right: 7%;
  top: 8%;
  background: radial-gradient(circle, rgba(18,153,255,.14), transparent 68%);
  animation: mattOrbB 18s ease-in-out infinite alternate;
}

.matt-fx-orb.orb-c {
  width: 420px;
  height: 420px;
  right: 14%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(25,245,124,.22), transparent 68%);
  animation: mattOrbC 16s ease-in-out infinite alternate;
}

.matt-fx-spotlight {
  position: fixed;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(25,245,124,.18), rgba(25,245,124,.05) 32%, transparent 68%);
  filter: blur(24px);
  opacity: .26;
  transition: opacity .22s ease;
}

body:hover .matt-fx-spotlight {
  opacity: .34;
}

@keyframes mattOrbA {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(60px,-30px,0) scale(1.12); }
}

@keyframes mattOrbB {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-70px,40px,0) scale(1.08); }
}

@keyframes mattOrbC {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-40px,-50px,0) scale(1.10); }
}

/* Чуть более живой hover по главным карточкам */
.panel:hover,
.glass-lite:hover,
.dashboard .panel:hover,
.dashboard .config-card:hover,
.dashboard .order:hover,
.dashboard .empty-state-premium:hover {
  transform: translateY(-4px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-color: rgba(25,245,124,.22) !important;
}

/* На мобиле без тяжёлого spotlight */
@media (max-width: 900px) {
  .matt-fx-spotlight {
    display: none;
  }
}


/* ============================================================
   MATTVPN FINAL DARK DASHBOARD FIX — 2026-08-07
   ============================================================ */

.dashboard,
.dashboard-wow,
.admin-crm {
    --mv-bg: #050706;
    --mv-card: #0b0e0c;
    --mv-card2: #101412;
    --mv-line: rgba(255,255,255,.09);
    --mv-line-hover: rgba(54,245,138,.25);
    --mv-text: #f5f7f6;
    --mv-muted: #8d9891;
    --mv-green: #36f58a;
    --mv-green-soft: rgba(54,245,138,.09);
}

/* Главный hero ЛК */

.dashboard .bank-hero,
.dashboard .dash-hero,
.dashboard .glass-lite,
.dashboard .panel {
    background:
        linear-gradient(
          180deg,
          rgba(255,255,255,.035),
          rgba(255,255,255,.014)
        ) !important;

    border: 1px solid var(--mv-line) !important;
    color: var(--mv-text) !important;
    box-shadow:
        0 24px 70px rgba(0,0,0,.20) !important;
}

/* ТЕ САМЫЕ БЕЛЫЕ 3 КАРТОЧКИ СПРАВА */

.dashboard .bank-stats div,
.dashboard .stats div,
.dashboard .network-stats div {
    background:
        linear-gradient(
          180deg,
          #101412 0%,
          #0a0d0b 100%
        ) !important;

    border:1px solid var(--mv-line) !important;
    color:var(--mv-text) !important;
    box-shadow:none !important;
}

.dashboard .bank-stats div:hover {
    border-color:var(--mv-line-hover) !important;
    transform:translateY(-1px);
}

.dashboard .bank-stats b,
.dashboard .stats b,
.dashboard .network-stats b {
    color:#fff !important;
}

.dashboard .bank-stats span,
.dashboard .stats span,
.dashboard .network-stats span {
    color:var(--mv-muted) !important;
}

/* Рефералка */

.dashboard .referral-wow {
    background:
        linear-gradient(
          180deg,
          rgba(255,255,255,.03),
          rgba(255,255,255,.012)
        ) !important;

    border:1px solid var(--mv-line) !important;
}

.dashboard .ref-stats span {
    background:#0d110f !important;
    color:#aeb8b2 !important;
    border:1px solid var(--mv-line) !important;
}

.dashboard .link-row input {
    background:#0a0d0b !important;
    color:#f7f9f8 !important;
    border:1px solid var(--mv-line) !important;
    box-shadow:none !important;
}

.dashboard .link-row input:focus {
    border-color:rgba(54,245,138,.38) !important;
    outline:none !important;
}

.dashboard .link-row button,
.dashboard .copyBtn {
    background:#111512 !important;
    color:#f5f7f6 !important;
    border:1px solid rgba(255,255,255,.11) !important;
    box-shadow:none !important;
}

.dashboard .link-row button:hover,
.dashboard .copyBtn:hover {
    background:#171c18 !important;
    border-color:rgba(54,245,138,.28) !important;
}

/* Конфиги */

.dashboard .config-bank-row:not(.head),
.dashboard .config,
.dashboard .group-block {
    background:#0b0f0c !important;
    color:var(--mv-text) !important;
    border-color:var(--mv-line) !important;
    box-shadow:none !important;
}

.dashboard .config-bank-row:not(.head):hover {
    background:#101511 !important;
    border-color:rgba(54,245,138,.22) !important;
}

.dashboard .config-bank-row.head {
    color:var(--mv-muted) !important;
}

.dashboard .config-bank-row small,
.dashboard .cfg-main small,
.dashboard .muted {
    color:var(--mv-muted) !important;
}

/* Белые кнопки */

.dashboard .btn.ghost,
.dashboard .btn.secondary,
.dashboard .device-tabs button,
.dashboard .device-card-tabs button,
.dashboard .inline-rename button,
.dashboard .premium-renew button,
.dashboard .dialog-close {
    background:#111512 !important;
    color:#f5f7f6 !important;
    border-color:var(--mv-line) !important;
    box-shadow:none !important;
}

.dashboard .btn:not(.ghost):not(.secondary) {
    border-color:transparent !important;
}

/* inputs */

.dashboard input,
.dashboard select,
.dashboard textarea,
.dashboard .inline-rename input,
.dashboard .premium-renew select,
.dashboard .copy-source {
    background:#090c0a !important;
    color:#f5f7f6 !important;
    border-color:var(--mv-line) !important;
}

.dashboard input::placeholder,
.dashboard textarea::placeholder {
    color:#657069 !important;
}

/* Устройства */

.dashboard .device-first,
.dashboard .onboarding-device-card,
.dashboard .device-guide,
.dashboard .connection-master {
    background:#0b0f0c !important;
    border-color:var(--mv-line) !important;
    color:#aeb8b2 !important;
}

.dashboard .device-card-tabs button.active,
.dashboard .device-tabs button.active {
    background:var(--mv-green) !important;
    border-color:var(--mv-green) !important;
    color:#031109 !important;
}

/* QR — сам QR обязан оставаться белым для нормального сканирования */

.dashboard .qr-wrap {
    background:#0a0d0b !important;
    border-color:var(--mv-line) !important;
}

.dashboard img.big-qr,
.dashboard .qr.big-qr {
    background:#fff !important;
}

/* уведомления */

.dashboard .notice {
    background:#0c100d !important;
    color:#f5f7f6 !important;
    border-color:var(--mv-line) !important;
    box-shadow:none !important;
}

.dashboard .notice.subtle {
    background:#0c100d !important;
}

.dashboard .notice.warning {
    background:rgba(245,158,11,.07) !important;
    border-color:rgba(245,158,11,.20) !important;
}

.dashboard .notice.danger {
    background:rgba(239,68,68,.07) !important;
    border-color:rgba(239,68,68,.20) !important;
}

/* empty state */

.dashboard .empty,
.dashboard .empty-wow,
.dashboard .empty-state-premium {
    background:#0a0e0b !important;
    color:var(--mv-muted) !important;
    border-color:rgba(255,255,255,.12) !important;
}

/* Модалки */

.dashboard .premium-dialog,
.dashboard .modal-ok > div,
.dashboard .creation-overlay > div {
    background:#0b0f0c !important;
    color:#f5f7f6 !important;
    border:1px solid var(--mv-line) !important;
}

/* ============================================================
   ADMIN DARK
   ============================================================ */

.admin-crm .crm-hero,
.admin-crm .panel,
.admin-crm .glass-lite,
.admin-crm .admin-card,
.admin-crm .admin-stats > div {
    background:
        linear-gradient(
          180deg,
          #101412,
          #0a0d0b
        ) !important;

    border:1px solid var(--mv-line) !important;
    color:#f5f7f6 !important;
    box-shadow:none !important;
}

.admin-crm .crm-tabs {
    background:#090c0a !important;
    border:1px solid var(--mv-line) !important;
}

.admin-crm .crm-tabs a {
    background:#101512 !important;
    color:#aab4ae !important;
    border:1px solid transparent !important;
}

.admin-crm .crm-tabs a:hover {
    color:#fff !important;
    border-color:rgba(54,245,138,.25) !important;
}

.admin-crm input,
.admin-crm select,
.admin-crm textarea,
.admin-crm .crm-form input,
.admin-crm .crm-form select,
.admin-crm .admin-inline input,
.admin-crm .admin-inline select,
.admin-crm .admin-actions input {
    background:#080b09 !important;
    color:#f5f7f6 !important;
    border-color:var(--mv-line) !important;
}

.admin-crm textarea {
    min-height:110px;
    resize:vertical;
}

.admin-crm input::placeholder,
.admin-crm textarea::placeholder {
    color:#667069 !important;
}

.admin-crm button,
.admin-crm .admin-actions a,
.admin-crm .btn.ghost {
    background:#111512 !important;
    color:#f5f7f6 !important;
    border:1px solid var(--mv-line) !important;
    box-shadow:none !important;
}

.admin-crm .btn:not(.ghost) {
    background:var(--mv-green) !important;
    color:#031109 !important;
    border-color:var(--mv-green) !important;
}

.admin-crm .admin-row {
    border-color:rgba(255,255,255,.07) !important;
    color:#dfe5e1 !important;
}

/* Зелёный accent */

.dashboard .eyebrow,
.admin-crm .eyebrow {
    color:var(--mv-green) !important;
}

.dashboard .status-pill.active {
    background:rgba(54,245,138,.10) !important;
    color:#6bffa8 !important;
    border-color:rgba(54,245,138,.20) !important;
}

/* Принудительно уничтожаем inline белые фоны в ЛК */

.dashboard [style*="background:white"],
.dashboard [style*="background: white"],
.dashboard [style*="background:#fff"],
.dashboard [style*="background: #fff"],
.dashboard [style*="background-color:white"],
.dashboard [style*="background-color: white"],
.dashboard [style*="background-color:#fff"],
.dashboard [style*="background-color: #fff"] {
    background:#0d110f !important;
    color:#f5f7f6 !important;
}

/* Но QR не трогаем */

.dashboard img.big-qr,
.dashboard .qr.big-qr {
    background:#fff !important;
    border-color:#fff !important;
}

/* mobile */

@media(max-width:900px) {

    .dashboard .bank-hero {
        align-items:flex-start !important;
        flex-direction:column !important;
    }

    .dashboard .bank-stats {
        width:100% !important;
        min-width:0 !important;
    }
}

@media(max-width:620px) {

    .dashboard .bank-stats {
        grid-template-columns:1fr !important;
    }

    .dashboard .referral-wow {
        grid-template-columns:1fr !important;
    }

    .dashboard .link-row {
        align-items:stretch !important;
        flex-direction:column !important;
    }

    .dashboard .link-row button {
        width:100% !important;
    }
}



/* ============================================================
   MATTVPN ADMIN FINAL BLACK FIX
   ============================================================ */

.admin-crm {
    --adm-bg:#050806;
    --adm-card:#0a0e0b;
    --adm-card2:#0e1410;
    --adm-card3:#121914;

    --adm-line:rgba(255,255,255,.085);
    --adm-line2:rgba(255,255,255,.13);

    --adm-text:#f5f7f6;
    --adm-muted:#8c9890;

    --adm-green:#31f58a;
    --adm-green-soft:rgba(49,245,138,.10);
}

/* ------------------------------------------------------------
   ОСНОВНЫЕ ПАНЕЛИ
   ------------------------------------------------------------ */

.admin-crm .panel,
.admin-crm .crm-panel,
.admin-crm .crm-hero,
.admin-crm .glass-lite,
.admin-crm .admin-card,
.admin-crm .admin-stats > div {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.032),
            rgba(255,255,255,.012)
        ) !important;

    border:1px solid var(--adm-line) !important;
    color:var(--adm-text) !important;
    box-shadow:none !important;
}

/* ------------------------------------------------------------
   ГЛАВНЫЙ КОСЯК — БЕЛЫЕ СТРОКИ
   ------------------------------------------------------------ */

.admin-crm .admin-table {
    background:transparent !important;
}

.admin-crm .crm-table {
    display:grid;
    gap:8px;
}

/* ВСЕ обычные строки */

.admin-crm .admin-row:not(.head),
.admin-crm .crm-table .admin-row:not(.head) {
    background:
        linear-gradient(
            180deg,
            #0e1310 0%,
            #090d0a 100%
        ) !important;

    color:#e9eeeb !important;

    border:1px solid var(--adm-line) !important;

    border-radius:18px !important;

    box-shadow:none !important;

    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease !important;
}

.admin-crm .admin-row:not(.head):hover,
.admin-crm .crm-table .admin-row:not(.head):hover {
    background:
        linear-gradient(
            180deg,
            #121914,
            #0c110d
        ) !important;

    border-color:rgba(49,245,138,.20) !important;
}

/* Заголовки таблиц */

.admin-crm .admin-row.head,
.admin-crm .crm-table .admin-row.head {
    background:#090d0a !important;

    color:#9da8a1 !important;

    border:1px solid var(--adm-line) !important;

    border-radius:18px !important;

    box-shadow:none !important;
}

/* ------------------------------------------------------------
   ТЕКСТ В СТРОКАХ
   ------------------------------------------------------------ */

.admin-crm .admin-row span,
.admin-crm .admin-row b,
.admin-crm .admin-row strong {
    color:#edf2ef !important;
}

.admin-crm .admin-row.head span,
.admin-crm .admin-row.head b,
.admin-crm .admin-row.head strong {
    color:#9ba69f !important;
}

.admin-crm .admin-row small {
    color:#76827a !important;
}

.admin-crm .admin-row a {
    color:#b9c5bd !important;
}

.admin-crm .admin-row a:hover {
    color:var(--adm-green) !important;
}

/* ------------------------------------------------------------
   INPUT / SELECT / TEXTAREA
   ------------------------------------------------------------ */

.admin-crm input,
.admin-crm select,
.admin-crm textarea,

.admin-crm .crm-form input,
.admin-crm .crm-form select,
.admin-crm .crm-form textarea,

.admin-crm .admin-inline input,
.admin-crm .admin-inline select,

.admin-crm .admin-actions input,
.admin-crm .admin-actions select,

.admin-crm .admin-search input {
    background:#070b08 !important;

    color:#f1f5f2 !important;

    border:1px solid var(--adm-line2) !important;

    box-shadow:none !important;

    outline:none !important;

    transition:
        border-color .15s ease,
        background .15s ease !important;
}

.admin-crm input:focus,
.admin-crm select:focus,
.admin-crm textarea:focus {
    background:#0a0f0b !important;

    border-color:rgba(49,245,138,.38) !important;
}

.admin-crm input::placeholder,
.admin-crm textarea::placeholder {
    color:#5f6963 !important;
}

.admin-crm select option {
    background:#090d0a !important;
    color:#f5f7f6 !important;
}

/* ------------------------------------------------------------
   CHECKBOX — УБИРАЕМ БЕЛУЮ ПЛАШКУ
   ------------------------------------------------------------ */

.admin-crm .admin-check {
    min-height:42px;

    display:flex !important;
    align-items:center !important;
    gap:9px !important;

    padding:0 13px !important;

    background:#090d0a !important;

    color:#9da8a1 !important;

    border:1px solid var(--adm-line) !important;

    border-radius:14px !important;

    font-weight:800 !important;
}

.admin-crm .admin-check input[type="checkbox"] {
    appearance:none;
    -webkit-appearance:none;

    width:17px !important;
    height:17px !important;

    min-width:17px !important;

    margin:0 !important;
    padding:0 !important;

    border-radius:5px !important;

    border:1px solid rgba(255,255,255,.22) !important;

    background:#050806 !important;

    position:relative;

    cursor:pointer;
}

.admin-crm .admin-check input[type="checkbox"]:checked {
    background:var(--adm-green) !important;
    border-color:var(--adm-green) !important;
}

.admin-crm .admin-check input[type="checkbox"]:checked::after {
    content:"✓";

    position:absolute;
    inset:0;

    display:grid;
    place-items:center;

    color:#041009;

    font-size:12px;
    font-weight:1000;
}

/* ------------------------------------------------------------
   КНОПКИ
   ------------------------------------------------------------ */

.admin-crm button,
.admin-crm .admin-actions a,
.admin-crm .admin-inline button,
.admin-crm .crm-table button {

    min-height:38px;

    background:#111713 !important;

    color:#eef3f0 !important;

    border:1px solid var(--adm-line2) !important;

    border-radius:999px !important;

    box-shadow:none !important;

    font-weight:850 !important;

    cursor:pointer !important;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease !important;
}

.admin-crm button:hover,
.admin-crm .admin-actions a:hover,
.admin-crm .admin-inline button:hover,
.admin-crm .crm-table button:hover {

    background:#172019 !important;

    border-color:rgba(49,245,138,.27) !important;

    color:#fff !important;

    transform:translateY(-1px);
}

/* Главные зелёные кнопки */

.admin-crm .crm-form > button:last-child,
.admin-crm .admin-search .btn:not(.ghost),
.admin-crm button.btn.primary,
.admin-crm .btn.primary {

    background:var(--adm-green) !important;

    border-color:var(--adm-green) !important;

    color:#031009 !important;

    font-weight:950 !important;
}

.admin-crm .crm-form > button:last-child:hover,
.admin-crm .admin-search .btn:not(.ghost):hover {

    background:#65ffa6 !important;

    color:#031009 !important;
}

/* Опасные действия */

.admin-crm .danger-btn {
    background:rgba(239,68,68,.09) !important;

    color:#ff9c9c !important;

    border-color:rgba(239,68,68,.20) !important;
}

.admin-crm .danger-btn:hover {
    background:rgba(239,68,68,.15) !important;

    border-color:rgba(239,68,68,.36) !important;
}

/* ------------------------------------------------------------
   ФОРМА ПОЛЬЗОВАТЕЛЯ ВНУТРИ СТРОКИ
   ------------------------------------------------------------ */

.admin-crm .admin-inline {
    display:flex !important;

    align-items:center !important;

    gap:7px !important;

    flex-wrap:wrap !important;

    background:transparent !important;
}

.admin-crm .admin-inline select {
    min-width:110px;
}

.admin-crm .admin-inline input[name="config_name"] {
    min-width:150px;
}

.admin-crm .admin-inline input[name="days"] {
    width:86px;
}

/* ------------------------------------------------------------
   ACTIONS
   ------------------------------------------------------------ */

.admin-crm .admin-actions {
    display:flex !important;

    align-items:center !important;

    gap:7px !important;

    flex-wrap:wrap !important;
}

/* ------------------------------------------------------------
   PROMO / TARIFF FORMS
   ------------------------------------------------------------ */

.admin-crm .crm-form {
    gap:10px !important;
}

.admin-crm .crm-form input,
.admin-crm .crm-form select,
.admin-crm .crm-form button,
.admin-crm .crm-form .admin-check {
    min-height:42px !important;
}

/* ------------------------------------------------------------
   НОВОСТИ
   ------------------------------------------------------------ */

.admin-crm .news-form textarea {
    background:#070b08 !important;

    color:#f1f5f2 !important;

    border:1px solid var(--adm-line) !important;

    min-height:120px !important;

    resize:vertical;
}

/* ------------------------------------------------------------
   СТАТИСТИКА
   ------------------------------------------------------------ */

.admin-crm .admin-stats > div {
    background:
        linear-gradient(
            180deg,
            #101612,
            #090d0a
        ) !important;
}

.admin-crm .admin-stats b {
    color:#fff !important;
}

.admin-crm .admin-stats span {
    color:#818d85 !important;
}

/* ------------------------------------------------------------
   CRM TABS
   ------------------------------------------------------------ */

.admin-crm .crm-tabs {
    background:#070b08 !important;

    border:1px solid var(--adm-line) !important;

    box-shadow:none !important;
}

.admin-crm .crm-tabs a {
    background:#0e1410 !important;

    color:#929e96 !important;

    border:1px solid transparent !important;
}

.admin-crm .crm-tabs a:hover {
    background:#131b15 !important;

    border-color:rgba(49,245,138,.20) !important;

    color:#fff !important;
}

/* ------------------------------------------------------------
   ADMIN SEARCH
   ------------------------------------------------------------ */

.admin-crm .admin-search {
    display:flex !important;

    align-items:center !important;

    gap:8px !important;
}

.admin-crm .admin-search input {
    flex:1 !important;
}

/* ------------------------------------------------------------
   FORCE FIX — никакого #fff в таблицах админки
   ------------------------------------------------------------ */

.admin-crm .crm-table [style*="background:#fff"],
.admin-crm .crm-table [style*="background: #fff"],
.admin-crm .crm-table [style*="background:white"],
.admin-crm .crm-table [style*="background: white"] {

    background:#0c110d !important;

    color:#f5f7f6 !important;
}

/* ------------------------------------------------------------
   CARD USER PAGE
   ------------------------------------------------------------ */

.dashboard.admin-crm .admin-row:not(.head) {
    background:#0b0f0c !important;
}

.dashboard.admin-crm .admin-row.head {
    background:#080c09 !important;
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media(max-width:1000px) {

    .admin-crm .crm-form {
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }

    .admin-crm .admin-row:not(.head) {
        overflow-x:auto;
    }
}

@media(max-width:700px) {

    .admin-crm .crm-form {
        grid-template-columns:1fr !important;
    }

    .admin-crm .admin-search {
        flex-wrap:wrap !important;
    }

    .admin-crm .admin-search input {
        width:100% !important;
        flex-basis:100% !important;
    }

    .admin-crm .crm-stats {
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }
}



/* =========================================================
   MATTVPN — VPN READY MODAL FINAL FIX
   ========================================================= */

.creation-modal,
.modal-ok.creation-modal {
    --ready-bg:#080c09;
    --ready-card:#0b100c;
    --ready-card2:#101612;
    --ready-line:rgba(255,255,255,.09);
    --ready-line2:rgba(255,255,255,.14);
    --ready-text:#f5f7f6;
    --ready-muted:#929d96;
    --ready-green:#31f58a;
}

/* Главное окно */

.creation-modal > div,
.modal-ok.creation-modal > div {
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(49,245,138,.045),
            transparent 30%
        ),
        #080c09 !important;

    border:1px solid rgba(255,255,255,.10) !important;
    color:var(--ready-text) !important;

    box-shadow:
        0 36px 110px rgba(0,0,0,.55) !important;
}

/* Большая галочка */

.creation-modal .ok-icon {
    width:54px !important;
    height:54px !important;

    background:#101411 !important;

    border:1px solid rgba(255,255,255,.06) !important;

    color:#f6f8f7 !important;

    box-shadow:none !important;
}

/* Заголовок */

.creation-modal > div > b {
    color:#f7f9f8 !important;
    font-size:24px !important;
    letter-spacing:-.025em;
}

/* Подзаголовок */

.creation-modal > div > p {
    color:#9ba59f !important;
}

/* ---------------------------------------------------------
   ГЛАВНЫЙ ФИКС — БЕЛЫЕ ПЛАШКИ ШАГОВ
   --------------------------------------------------------- */

.creation-modal .creation-steps {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
}

.creation-modal .creation-steps span {
    position:relative;

    display:flex !important;
    align-items:center !important;

    min-height:38px !important;

    padding:9px 13px !important;

    background:#0d120e !important;

    border:1px solid rgba(255,255,255,.085) !important;

    border-radius:999px !important;

    color:#aeb8b2 !important;

    font-size:13px !important;
    font-weight:750 !important;

    box-shadow:none !important;
}

/* убираем старую ✓ из CSS */

.creation-modal .creation-steps .done::before {
    content:"✓" !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin-right:7px !important;

    color:var(--ready-green) !important;

    font-weight:1000 !important;
}

/* ---------------------------------------------------------
   БЛОК ВЫБОРА УСТРОЙСТВА
   --------------------------------------------------------- */

.creation-modal .onboarding-device-card,
.creation-modal .device-first {
    background:
        linear-gradient(
            180deg,
            #0b100c,
            #080c09
        ) !important;

    border:1px solid rgba(255,255,255,.09) !important;

    color:#f5f7f6 !important;

    box-shadow:none !important;
}

.creation-modal .onboarding-device-card h3,
.creation-modal .device-first h3 {
    color:#f7f9f8 !important;
}

.creation-modal .onboarding-device-card .muted,
.creation-modal .device-first .muted {
    color:#818c85 !important;
}

/* Карточки устройств */

.creation-modal .device-card-tabs button,
.creation-modal .device-tabs button {
    background:#0c110d !important;

    color:#e7ece9 !important;

    border:1px solid rgba(255,255,255,.10) !important;

    box-shadow:none !important;

    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease !important;
}

.creation-modal .device-card-tabs button:hover,
.creation-modal .device-tabs button:hover {
    background:#121914 !important;

    border-color:rgba(49,245,138,.25) !important;

    transform:translateY(-1px) !important;
}

/* Выбранное устройство */

.creation-modal .device-card-tabs button.active,
.creation-modal .device-tabs button.active {
    background:var(--ready-green) !important;

    border-color:var(--ready-green) !important;

    color:#031009 !important;

    box-shadow:
        0 12px 30px rgba(49,245,138,.10) !important;
}

.creation-modal .device-card-tabs button.active span,
.creation-modal .device-tabs button.active span {
    color:#031009 !important;
}

/* Инструкция */

.creation-modal .device-guide {
    background:#090d0a !important;

    color:#9ca7a0 !important;

    border:1px solid rgba(255,255,255,.09) !important;

    border-radius:17px !important;

    line-height:1.55 !important;
}

/* Кнопка открыть кабинет */

.creation-modal > div > button {
    background:#111713 !important;

    color:#f5f7f6 !important;

    border:1px solid rgba(255,255,255,.14) !important;

    border-radius:999px !important;

    min-height:43px !important;

    padding:0 18px !important;

    font-weight:900 !important;

    box-shadow:none !important;

    transition:.16s ease !important;
}

.creation-modal > div > button:hover {
    background:#172019 !important;

    border-color:rgba(49,245,138,.28) !important;

    transform:translateY(-1px);
}


/* Mobile */

@media(max-width:620px) {

    .creation-modal .creation-steps {
        grid-template-columns:1fr !important;
    }

    .creation-modal .device-card-tabs {
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }
}

/* ===== MattVPN SUPPORT CRM 2026-08-29 ===== */
.support-page{width:min(1220px,calc(100% - 48px));margin:58px auto 100px!important;padding:0!important;color:#f5f7f7}.support-page h1,.support-page h2,.support-page p{margin-top:0}.support-page h1{font-size:clamp(38px,5.5vw,72px);line-height:.96;letter-spacing:-.06em;margin:10px 0 14px}.support-page h2{font-size:24px;letter-spacing:-.035em;margin:6px 0}.support-page .eyebrow{color:#7f8786}.support-page .muted{color:#858c8b!important}
.support-hero,.support-admin-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:38px 42px;border:1px solid rgba(255,255,255,.1);border-radius:30px;background:radial-gradient(circle at 85% 10%,rgba(36,242,118,.12),transparent 32%),rgba(255,255,255,.025);box-shadow:0 30px 80px rgba(0,0,0,.28)}.support-hero>div:first-child{max-width:680px}.support-hero p,.support-admin-hero p{color:#89908f;font-size:17px;line-height:1.55;margin-bottom:0}.support-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;min-width:430px}.support-metrics div,.support-admin-stats>*{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);border-radius:20px;padding:18px 20px}.support-metrics b,.support-admin-stats b{display:block;font-size:25px;letter-spacing:-.04em;color:#fff}.support-metrics span,.support-admin-stats span{color:#7f8786;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.support-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;margin-top:18px}.support-card{border:1px solid rgba(255,255,255,.095);background:rgba(15,17,17,.86);border-radius:26px;padding:26px;box-shadow:0 22px 70px rgba(0,0,0,.22);backdrop-filter:blur(14px)}.support-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.support-pill,.support-count,.support-assigned{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.1);font-size:12px;font-style:normal;font-weight:850;color:#b9c0bf;background:rgba(255,255,255,.04)}.support-pill.green{color:#28ef78;background:rgba(36,242,118,.07);border-color:rgba(36,242,118,.22)}
.support-form{display:grid;gap:14px}.support-form label{display:grid;gap:7px;color:#9ca2a1;font-size:13px;font-weight:800}.support-form input,.support-form select,.support-form textarea,.support-compose textarea,.support-filters input,.support-filters select,.support-state-form select,.support-note-form textarea{width:100%;border:1px solid rgba(255,255,255,.1);background:#080909;color:#f7f7f7;border-radius:16px;padding:13px 14px;outline:none;transition:.18s ease}.support-form input:focus,.support-form select:focus,.support-form textarea:focus,.support-compose textarea:focus,.support-filters input:focus,.support-filters select:focus,.support-note-form textarea:focus{border-color:rgba(36,242,118,.48);box-shadow:0 0 0 3px rgba(36,242,118,.08)}.support-form textarea{min-height:155px;resize:vertical}.support-form select,.support-filters select,.support-state-form select{color-scheme:dark}.support-file-label span{font-weight:600;color:#656c6b}.support-file-label input{padding:10px}.support-submit{width:100%;margin-top:4px;background:#24f276!important;border-color:#24f276!important;color:#021208!important;box-shadow:0 12px 32px rgba(36,242,118,.15)!important}
.support-ticket-list{display:grid;gap:9px}.support-ticket-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px;border-radius:18px;border:1px solid rgba(255,255,255,.065);background:#0a0b0b;transition:.18s ease}.support-ticket-row:hover,.support-admin-row:not(.head):hover{transform:translateY(-1px);border-color:rgba(36,242,118,.22);background:#0d1010}.support-ticket-row.unread{border-color:rgba(36,242,118,.2);background:linear-gradient(90deg,rgba(36,242,118,.07),#0a0b0b 36%)}.support-ticket-icon{height:48px;border-radius:14px;background:rgba(255,255,255,.055);display:grid;place-items:center;font-size:12px;font-weight:900;color:#8f9695}.support-ticket-main{min-width:0}.support-ticket-main b{display:block;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-ticket-main>span{display:block;color:#737a79;font-size:12px;margin-top:5px}.support-ticket-title{display:flex;align-items:center;gap:8px;min-width:0}.support-new-dot{min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#24f276;color:#021108;font-size:11px;font-weight:950}.support-status,.support-priority{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;font-style:normal;border:1px solid rgba(255,255,255,.1)}.status-open{color:#24f276;background:rgba(36,242,118,.08);border-color:rgba(36,242,118,.22)}.status-in_progress{color:#73a9ff;background:rgba(69,135,255,.09);border-color:rgba(69,135,255,.22)}.status-waiting_user{color:#f0c15c;background:rgba(240,193,92,.08);border-color:rgba(240,193,92,.22)}.status-closed{color:#89908f;background:rgba(255,255,255,.035)}.priority-normal{color:#8e9695}.priority-high{color:#f0c15c;background:rgba(240,193,92,.07);border-color:rgba(240,193,92,.2)}.priority-critical{color:#ff7474;background:rgba(255,83,83,.08);border-color:rgba(255,83,83,.22)}.support-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#686f6e}.support-empty b{color:#adb3b2;margin-bottom:6px}
.support-ticket-top{margin-bottom:18px}.support-back{display:inline-flex;color:#858d8c;font-size:13px;font-weight:850;margin-bottom:18px}.support-back:hover{color:#24f276}.support-ticket-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:32px 36px;border-radius:27px;border:1px solid rgba(255,255,255,.09);background:radial-gradient(circle at 92% 30%,rgba(36,242,118,.1),transparent 28%),rgba(255,255,255,.025)}.support-ticket-heading h1{font-size:clamp(32px,4vw,52px);margin:7px 0 8px}.support-ticket-heading p{margin:0;color:#7c8382}.support-ticket-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.support-chat-shell,.support-chat-card{max-width:900px;margin:0 auto}.support-chat{display:flex;flex-direction:column;gap:12px;max-height:650px;overflow:auto;padding:24px;border:1px solid rgba(255,255,255,.085);border-radius:26px 26px 0 0;background:#070808;scrollbar-width:thin}.support-message{width:min(76%,690px);padding:14px 16px;border:1px solid rgba(255,255,255,.085);border-radius:18px;background:#101212;align-self:flex-start}.support-message.user{align-self:flex-end;background:rgba(36,242,118,.075);border-color:rgba(36,242,118,.16)}.support-message-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:11px}.support-message-meta b{color:#cfd5d4}.support-message-meta span{color:#656c6b}.support-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;color:#e9eceb}.support-attachment{display:inline-flex;margin-top:10px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.06);color:#aab1b0;font-size:12px;font-weight:800}.support-attachment:hover{color:#24f276}.support-compose{padding:16px;border:1px solid rgba(255,255,255,.085);border-top:0;border-radius:0 0 26px 26px;background:#0e1010}.support-compose textarea{min-height:100px;resize:vertical}.support-compose-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.support-compose-actions .btn{margin-left:auto}.support-attach-btn{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border-radius:999px;border:1px solid rgba(255,255,255,.1);color:#a5acab;font-size:12px;font-weight:900;cursor:pointer}.support-attach-btn input{display:none}.support-close-form{text-align:center;margin-top:14px}.support-close-form button{border:0;background:transparent;color:#686f6e;font-weight:800;cursor:pointer}.support-close-form button:hover{color:#ff7777}.support-closed-box{margin-top:14px;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:rgba(255,255,255,.025)}.support-closed-box b{display:block}.support-closed-box span{color:#767d7c;font-size:13px}.support-rating{display:flex;gap:5px}.support-rating button{border:1px solid rgba(255,255,255,.1);background:#0c0d0d;color:#f0c15c;border-radius:10px;padding:8px 10px;cursor:pointer}.support-rating button:hover{border-color:#f0c15c}
.support-admin-hero{align-items:center}.support-admin-actions{display:flex;gap:10px}.support-admin-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:14px 0 18px}.support-admin-stats>*{display:block}.support-admin-stats a:hover{border-color:rgba(36,242,118,.25)}.support-queue-card{padding:18px}.support-filters{display:grid;grid-template-columns:minmax(260px,1.7fr) minmax(150px,.65fr) minmax(150px,.65fr) auto auto;gap:9px;margin-bottom:15px}.support-filters input,.support-filters select{min-height:43px;padding:0 13px}.support-admin-list{display:grid}.support-admin-row{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(170px,.9fr) minmax(200px,1.35fr) minmax(150px,.8fr) 120px;gap:16px;align-items:center;padding:14px 12px;border-top:1px solid rgba(255,255,255,.06);transition:.16s ease}.support-admin-row.head{border-top:0;color:#626968;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:.08em}.support-admin-row:not(.head){border-radius:15px}.support-admin-row b{display:block;color:#e9eceb;font-size:13px}.support-admin-row small{display:block;color:#6c7372;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.support-admin-row em{display:inline-flex;color:#24f276;font-size:10px;font-style:normal;font-weight:900;margin:5px 0 0 5px}.support-admin-row.unread{background:rgba(36,242,118,.035)}.support-last-message{color:#8a9190;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.support-admin-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:18px}.support-admin-main{display:grid;gap:18px}.support-admin-sidebar{display:grid;gap:18px;align-content:start;position:sticky;top:112px;height:max-content}.support-admin-controls{padding:20px 22px}.support-control-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.support-state-form{display:flex;gap:8px;flex:1;justify-content:flex-end}.support-state-form select{width:auto;min-width:145px;padding:9px 11px}.support-state-form button{border:1px solid rgba(255,255,255,.12);background:#151717;color:#fff;border-radius:12px;padding:9px 13px;font-weight:850;cursor:pointer}.support-chat-card{max-width:none;margin:0}.admin-chat{max-height:720px;border-radius:20px 20px 0 0}.admin-compose{border-radius:0 0 20px 20px}.support-waiting{display:flex;align-items:center;gap:7px;color:#858c8b;font-size:12px;font-weight:800}.support-waiting input{accent-color:#24f276}.support-note-form{display:grid;grid-template-columns:1fr auto;gap:10px}.support-note-form textarea{min-height:80px;resize:vertical}.support-notes{display:grid;gap:8px;margin-top:14px}.support-notes>div{padding:12px 14px;border-radius:15px;background:#0a0b0b;border:1px solid rgba(255,255,255,.06)}.support-notes b{font-size:12px}.support-notes span{float:right;color:#626968;font-size:11px}.support-notes p{white-space:pre-wrap;margin:8px 0 0;color:#a5acab;line-height:1.5;font-size:13px}.support-client-head{display:flex;align-items:center;gap:12px;margin:14px 0 18px}.support-client-avatar{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:rgba(36,242,118,.09);border:1px solid rgba(36,242,118,.2);color:#24f276;font-size:20px;font-weight:950}.support-client-head h2{font-size:19px;margin:0 0 3px}.support-client-head p{margin:0;color:#6e7574;font-size:12px}.support-client-data{display:grid;gap:0;margin:0 0 16px}.support-client-data>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.06);font-size:12px}.support-client-data dt{color:#6d7473}.support-client-data dd{margin:0;color:#c7cccb;text-align:right;overflow-wrap:anywhere}.support-full{width:100%}.support-mini-list{display:grid;gap:8px}.support-mini-list>div{padding:11px 12px;border-radius:14px;background:#090a0a;border:1px solid rgba(255,255,255,.055)}.support-mini-list b,.support-mini-list span,.support-mini-list small{display:block}.support-mini-list b{font-size:12px}.support-mini-list span{color:#818887;font-size:11px;margin-top:4px}.support-mini-list small{color:#575e5d;font-size:10px;margin-top:3px}
@media(max-width:1050px){.support-layout,.support-admin-detail-grid{grid-template-columns:1fr}.support-admin-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.support-admin-stats{grid-template-columns:repeat(3,1fr)}.support-admin-row{grid-template-columns:110px minmax(140px,1fr) minmax(150px,1fr) 130px}.support-admin-row>*:last-child{display:none}.support-filters{grid-template-columns:1fr 1fr 1fr}.support-filters .btn{width:100%}.support-hero{align-items:stretch;flex-direction:column}.support-metrics{min-width:0}}
@media(max-width:720px){.support-page{width:min(100% - 24px,1220px);margin-top:34px!important}.support-hero,.support-admin-hero,.support-ticket-heading{padding:24px;border-radius:22px;flex-direction:column;align-items:flex-start}.support-metrics{width:100%;grid-template-columns:1fr}.support-card{padding:18px;border-radius:20px}.support-ticket-row{grid-template-columns:48px 1fr}.support-ticket-row>.support-status{grid-column:2;justify-self:start}.support-message{width:92%}.support-compose-actions{flex-wrap:wrap}.support-compose-actions .btn{width:100%;margin-left:0}.support-admin-stats{grid-template-columns:repeat(2,1fr)}.support-filters{grid-template-columns:1fr}.support-admin-row.head{display:none}.support-admin-row{grid-template-columns:1fr;gap:7px;padding:14px;margin-bottom:8px;border:1px solid rgba(255,255,255,.06)}.support-admin-row>*:last-child{display:block}.support-admin-sidebar{grid-template-columns:1fr}.support-control-row,.support-state-form{flex-direction:column;align-items:stretch}.support-state-form select{width:100%}.support-note-form{grid-template-columns:1fr}.support-closed-box{flex-direction:column;align-items:flex-start}.support-rating{flex-wrap:wrap}}
/* ===== /MattVPN SUPPORT CRM ===== */

/* ===== MATTVPN APP UI V3 ===== */
:root{--mv3-bg:#050706;--mv3-card:#0a0e0c;--mv3-card2:#0d1210;--mv3-card3:#111714;--mv3-line:rgba(255,255,255,.085);--mv3-line2:rgba(255,255,255,.14);--mv3-text:#f3f7f4;--mv3-muted:#849189;--mv3-green:#27ef7e;--mv3-green2:#10cf66;--mv3-green-soft:rgba(39,239,126,.10);--mv3-red:#ff6b6b;--mv3-amber:#f7b955;--mv3-blue:#6ea8ff}
.matt-app-mode{background:#050706!important;color:var(--mv3-text)!important;min-height:100vh}.matt-app-mode>.nav,.matt-app-mode>.footer{display:none!important}.matt-app-mode>main{min-height:100vh!important;padding:0!important;margin:0!important}.matt-app-mode .matt-fx-layer,.matt-app-mode .matt-fx-spotlight{opacity:.38!important}
.dashboard.mv3-app{width:min(1560px,calc(100% - 32px))!important;margin:0 auto!important;padding:18px 0 42px!important;display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;color:var(--mv3-text)!important}
.mv3-sidebar{position:sticky;top:18px;height:calc(100vh - 36px);min-height:680px;padding:14px;background:linear-gradient(180deg,rgba(13,18,15,.98),rgba(7,10,8,.98));border:1px solid var(--mv3-line);border-radius:24px;display:flex;flex-direction:column;box-shadow:0 26px 80px rgba(0,0,0,.30);overflow:hidden}.mv3-brand{height:54px;display:flex;align-items:center;gap:11px;padding:6px 8px;color:#fff!important}.mv3-brand img{width:38px;height:38px;border-radius:12px;object-fit:cover;box-shadow:0 0 24px rgba(39,239,126,.20)}.mv3-brand>span{display:grid!important;gap:0}.mv3-brand b{font-size:15px!important;letter-spacing:-.02em;color:#fff!important}.mv3-brand small{font-size:10px!important;color:#65726b!important;font-weight:700}
.mv3-user-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;margin:10px 0 14px;padding:11px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);border-radius:17px}.mv3-user-card>div{min-width:0}.mv3-user-card b{display:block;color:#f5f8f6!important;font-size:12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv3-user-card span{display:block!important;color:#707d75!important;font-size:10px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv3-avatar-upload{position:relative;width:44px;height:44px;margin:0!important}.mv3-avatar-upload img{width:44px;height:44px;border-radius:13px;object-fit:cover;border:1px solid rgba(255,255,255,.08)}.mv3-avatar-upload label{position:absolute;right:-3px;bottom:-3px;width:18px;height:18px;border-radius:7px;display:grid;place-items:center;background:var(--mv3-green);color:#031108;font-size:10px;font-weight:900;cursor:pointer;border:2px solid #0a0e0c}
.mv3-nav{display:grid;gap:4px}.mv3-nav a{min-height:43px;padding:0 10px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:7px;border:1px solid transparent;border-radius:13px;color:#8e9a93!important;font-size:12px;font-weight:800;transition:.18s ease}.mv3-nav a i{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.035);color:#7f8c84;font-style:normal;font-size:12px}.mv3-nav a em{min-width:22px;height:20px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.05);color:#8e9a93;font-style:normal;font-size:9px}.mv3-nav a:hover{background:rgba(255,255,255,.035);color:#fff!important;border-color:rgba(255,255,255,.06);transform:none!important}.mv3-nav a.active{background:var(--mv3-green-soft);border-color:rgba(39,239,126,.16);color:#dfffee!important}.mv3-nav a.active i{background:rgba(39,239,126,.13);color:var(--mv3-green)}.mv3-sidebar-bottom{margin-top:auto;padding-top:12px;border-top:1px solid rgba(255,255,255,.06);display:grid;grid-template-columns:1fr 1fr;gap:7px}.mv3-sidebar-bottom a{height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055);color:#87948c!important;font-size:10px;font-weight:800}.mv3-sidebar-bottom a.danger{color:#ff8b8b!important}
.mv3-main{min-width:0;display:grid;gap:14px}.mv3-topbar{padding:22px 24px;border:1px solid var(--mv3-line);background:linear-gradient(135deg,rgba(16,23,19,.94),rgba(9,13,11,.96));border-radius:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 24px 70px rgba(0,0,0,.22)}.mv3-kicker{display:block!important;margin-bottom:6px!important;color:var(--mv3-green)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase!important}.mv3-topbar h1{margin:0 0 6px!important;font-size:clamp(25px,2.5vw,36px)!important;line-height:1.05!important;letter-spacing:-.045em!important;color:#fff!important}.mv3-topbar p{margin:0!important;color:#7e8b83!important;font-size:12px!important;line-height:1.5!important}.mv3-top-actions{display:flex;gap:8px;flex:0 0 auto}.mv3-btn,.msp3-btn{min-height:42px!important;padding:0 15px!important;border:1px solid rgba(39,239,126,.34)!important;border-radius:13px!important;background:linear-gradient(135deg,var(--mv3-green),var(--mv3-green2))!important;color:#031108!important;font-size:11px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-shadow:0 10px 28px rgba(39,239,126,.13)!important;cursor:pointer!important;white-space:nowrap}.mv3-btn:hover,.msp3-btn:hover{transform:translateY(-1px)!important}.mv3-btn.secondary,.msp3-btn.secondary{background:#101512!important;border-color:rgba(255,255,255,.10)!important;color:#e6ece8!important;box-shadow:none!important}.mv3-btn.danger,.msp3-btn.danger{background:rgba(255,107,107,.08)!important;border-color:rgba(255,107,107,.24)!important;color:#ff9999!important;box-shadow:none!important}.mv3-btn.full,.msp3-btn.full{width:100%}.msp3-btn.small{min-height:38px!important;padding:0 12px!important}
.mv3-notifications{display:grid;gap:8px}.mv3-notice{min-height:52px;padding:10px 13px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:11px;align-items:center;background:#0b100d;border:1px solid var(--mv3-line);border-radius:15px}.mv3-notice-dot{width:7px;height:7px;border-radius:50%;background:var(--mv3-green)}.mv3-notice>div{display:grid;gap:2px}.mv3-notice b{font-size:11px!important;color:#e9efeb!important}.mv3-notice>div span{font-size:10px!important;color:#78857d!important}.mv3-notice>a{font-size:10px;color:var(--mv3-green)!important;font-weight:900}.mv3-notice.warning .mv3-notice-dot{background:var(--mv3-amber)}.mv3-notice.danger .mv3-notice-dot{background:var(--mv3-red)}
.mv3-overview-grid{display:grid;grid-template-columns:1.7fr repeat(3,minmax(0,.8fr));gap:10px}.mv3-overview-card,.mv3-stat-card{min-height:142px;padding:18px;border-radius:20px;background:#0a0f0c;border:1px solid var(--mv3-line);position:relative;overflow:hidden}.mv3-overview-card.primary{background:radial-gradient(circle at 88% 10%,rgba(39,239,126,.14),transparent 38%),linear-gradient(145deg,#101713,#090d0b)}.mv3-card-label,.mv3-stat-card>span{display:block!important;color:#75827a!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.12em!important;font-weight:900!important}.mv3-overview-value{display:flex;align-items:baseline;gap:8px;margin:10px 0 3px}.mv3-overview-value strong{font-size:42px!important;line-height:1!important;color:#fff!important;letter-spacing:-.06em}.mv3-overview-value span{color:#9ba79f!important;font-size:12px!important}.mv3-overview-card p{margin:0 0 11px!important;color:#748078!important;font-size:10px!important}.mv3-overview-card a,.mv3-stat-card a{color:var(--mv3-green)!important;font-size:10px;font-weight:900}.mv3-stat-card strong{display:block;margin:13px 0 5px;font-size:31px!important;line-height:1!important;color:#fff!important;letter-spacing:-.05em}.mv3-stat-card small{display:block;color:#68746d!important;font-size:9px!important}.mv3-stat-card.support strong{color:var(--mv3-green)!important}.mv3-stat-card.support a{position:absolute;bottom:17px;left:18px}
.mv3-section{padding:20px;background:linear-gradient(180deg,rgba(12,17,14,.96),rgba(8,12,10,.96));border:1px solid var(--mv3-line);border-radius:22px;box-shadow:none}.mv3-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.mv3-section-head.simple{margin-bottom:14px}.mv3-section-head h2{margin:0 0 4px!important;font-size:23px!important;letter-spacing:-.035em!important;color:#f6f9f7!important}.mv3-section-head p{margin:0!important;color:#738078!important;font-size:10px!important;line-height:1.5!important;max-width:650px}.mv3-config-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.mv3-search{height:38px;width:210px;display:flex;align-items:center;gap:7px;padding:0 10px;background:#080c0a;border:1px solid var(--mv3-line);border-radius:12px}.mv3-search>span{color:#647168!important}.mv3-search input{width:100%!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#e8eeea!important;font-size:10px!important;outline:none!important}.mv3-filter-tabs{display:flex!important;gap:4px!important;padding:3px!important;background:#080c0a!important;border:1px solid var(--mv3-line)!important;border-radius:12px!important}.mv3-filter-tabs button{min-height:30px!important;padding:0 9px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#76827a!important;font-size:9px!important;font-weight:850!important;box-shadow:none!important}.mv3-filter-tabs button.active{background:#151c17!important;color:#e9efeb!important}.mv3-filter-tabs .tab.active{box-shadow:inset 0 0 0 1px rgba(39,239,126,.14)!important;color:#dffff0!important}.mv3-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mv3-config-card{padding:14px;border:1px solid rgba(255,255,255,.07);background:#080c0a;border-radius:16px;display:grid;gap:13px!important;transition:.18s ease}.mv3-config-card:hover{border-color:rgba(39,239,126,.20);background:#0b100d;transform:translateY(-1px)}.mv3-config-top{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center}.mv3-proto-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(110,168,255,.09);border:1px solid rgba(110,168,255,.17);color:#9cc3ff!important;font-weight:950;font-size:14px}.mv3-proto-icon.amnezia{background:rgba(39,239,126,.08);border-color:rgba(39,239,126,.18);color:#66f5a2!important}.mv3-config-title{min-width:0}.mv3-config-title b{display:block;color:#f1f5f2!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv3-config-title span{display:block!important;margin-top:2px;color:#647168!important;font-size:9px!important}.mv3-state,.msp3-status,.msp3-priority{min-height:25px;padding:0 8px;border-radius:999px;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:#8e9a93!important;font-size:8px!important;font-weight:900!important;font-style:normal!important;white-space:nowrap}.mv3-state.state-active,.msp3-status.s-in_progress,.msp3-status.s-waiting_user{background:rgba(39,239,126,.07);border-color:rgba(39,239,126,.17);color:#6af5a4!important}.mv3-state.state-expired,.msp3-status.s-closed{background:rgba(255,255,255,.035);color:#77837b!important}.mv3-state.state-api_error,.msp3-priority.p-high{background:rgba(247,185,85,.08);border-color:rgba(247,185,85,.18);color:#f3c777!important}.msp3-status.s-open,.msp3-priority.p-critical{background:rgba(255,107,107,.08);border-color:rgba(255,107,107,.18);color:#ff9494!important}.mv3-config-meta{display:grid;grid-template-columns:1fr 1.5fr;gap:8px}.mv3-config-meta>div{padding:9px 10px;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.05);border-radius:11px;min-width:0}.mv3-config-meta span{display:block!important;color:#606d65!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.08em!important}.mv3-config-meta b{display:block;margin-top:3px;color:#bdc8c1!important;font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv3-config-actions{display:flex;gap:7px}.mv3-config-actions .mv3-btn{min-height:35px!important;flex:1}.mv3-icon-btn,.msp3-icon-btn{width:36px;height:36px;border-radius:11px!important;display:grid!important;place-items:center!important;background:#101512!important;color:#95a299!important;border:1px solid var(--mv3-line)!important;box-shadow:none!important;font-size:12px!important}.mv3-empty{min-height:110px;padding:18px;border:1px dashed rgba(255,255,255,.10);background:#080c0a;border-radius:16px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center}.mv3-empty.compact{grid-template-columns:36px minmax(0,1fr);min-height:84px}.mv3-empty-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(39,239,126,.07);color:var(--mv3-green)!important;font-size:16px}.mv3-empty b{font-size:11px!important;color:#dce4df!important}.mv3-empty p{margin:3px 0 0!important;font-size:9px!important;color:#68746d!important}
.mv3-wizard{margin:0!important;padding:0!important;background:transparent!important;border:0!important}.mv3-wizard-progress{margin:0 0 14px!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important}.mv3-wizard-progress:before{display:none!important}.mv3-wizard-progress span{min-height:46px;padding:7px 9px;display:grid!important;grid-template-columns:24px 1fr;align-items:center;gap:7px;background:#080c0a;border:1px solid var(--mv3-line);border-radius:12px;color:#6d7971!important}.mv3-wizard-progress span b{width:24px!important;height:24px!important;display:grid!important;place-items:center!important;margin:0!important;border-radius:8px!important;background:#111713!important;border:1px solid rgba(255,255,255,.07)!important;color:#758178!important;font-size:9px!important}.mv3-wizard-progress span small{color:#77837b!important;font-size:9px!important;font-weight:800!important}.mv3-wizard-progress span.active{border-color:rgba(39,239,126,.18);background:rgba(39,239,126,.035)}.mv3-wizard-progress span.active b{background:var(--mv3-green)!important;border-color:var(--mv3-green)!important;color:#031108!important}.mv3-wizard-progress span.active small{color:#cfe9d9!important}.mv3-wizard-body{min-height:330px;padding:18px;background:#080c0a;border:1px solid rgba(255,255,255,.06);border-radius:16px}.mv3-step-head>span{display:block!important;color:var(--mv3-green)!important;font-size:8px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.1em!important}.mv3-step-head h3{margin:5px 0 4px!important;font-size:22px!important;color:#f3f7f4!important;letter-spacing:-.035em!important}.mv3-step-head p{margin:0 0 16px!important;color:#707d75!important;font-size:10px!important}.mv3-plan-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}.mv3-plan{min-height:126px!important;padding:12px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:14px!important;background:#0b100d!important;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;position:relative!important;box-shadow:none!important;transform:none!important;color:#fff!important}.mv3-plan:hover{border-color:rgba(39,239,126,.20)!important;transform:translateY(-1px)!important}.mv3-plan.active{background:rgba(39,239,126,.055)!important;border-color:rgba(39,239,126,.32)!important}.mv3-plan-name{display:flex!important;align-items:center!important;gap:5px!important;color:#a9b5ad!important;font-size:9px!important;font-weight:850!important}.mv3-plan-name em{font-size:7px;font-style:normal;padding:3px 5px;border-radius:999px;background:rgba(39,239,126,.12);color:#67f4a1}.mv3-plan strong{margin-top:auto!important;font-size:22px!important;color:#fff!important;letter-spacing:-.04em}.mv3-plan small{color:#657168!important;font-size:8px!important}.mv3-plan>i{position:absolute;right:10px;top:10px;width:18px;height:18px;border-radius:7px;display:grid;place-items:center;background:#111713;color:#445049;font-size:8px;font-style:normal}.mv3-plan.active>i{background:var(--mv3-green);color:#031108}.mv3-vpn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.mv3-vpn{min-height:150px!important;padding:16px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 24px!important;gap:12px!important;text-align:left!important;align-items:start!important;border-radius:15px!important;background:#0b100d!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:none!important;color:#fff!important;position:relative}.mv3-vpn.active{border-color:rgba(39,239,126,.30)!important;background:rgba(39,239,126,.05)!important}.mv3-vpn-icon{width:44px;height:44px;border-radius:13px;display:grid!important;place-items:center;background:rgba(39,239,126,.07);border:1px solid rgba(39,239,126,.15);color:var(--mv3-green)!important;font-size:15px!important;font-weight:950!important}.mv3-vpn b{display:block!important;font-size:14px!important;color:#f2f6f3!important}.mv3-vpn strong{display:inline-flex!important;margin:5px 0!important;padding:3px 6px!important;border-radius:999px!important;background:rgba(39,239,126,.08)!important;color:#67f4a1!important;font-size:7px!important}.mv3-vpn p{margin:0!important;color:#6e7a72!important;font-size:9px!important;line-height:1.45!important}.mv3-vpn>i{width:21px;height:21px;border-radius:8px;display:grid;place-items:center;background:#111713;color:#465149;font-style:normal;font-size:8px}.mv3-vpn.active>i{background:var(--mv3-green);color:#031108}.mv3-name-field,.mv3-promo{display:grid;gap:6px;max-width:600px}.mv3-name-field>span,.mv3-promo>span{color:#909c94!important;font-size:9px!important;font-weight:850!important}.mv3-name-field input,.mv3-promo input{width:100%!important;height:48px!important;padding:0 13px!important;background:#0b100d!important;border:1px solid var(--mv3-line)!important;border-radius:13px!important;color:#f1f5f2!important;font-size:11px!important}.mv3-name-field small,.mv3-promo small{color:#616d65!important;font-size:8px!important}.mv3-summary{display:grid!important;grid-template-columns:1fr 1fr 1.3fr!important;gap:7px!important;padding:0!important;background:transparent!important;border:0!important}.mv3-summary>div{padding:14px;background:#0b100d;border:1px solid rgba(255,255,255,.07);border-radius:13px}.mv3-summary span{display:block!important;color:#657168!important;font-size:8px!important}.mv3-summary b{display:block;margin-top:4px;color:#edf3ef!important;font-size:13px!important}.mv3-summary .total{background:rgba(39,239,126,.045);border-color:rgba(39,239,126,.18)}.mv3-summary .total b{color:var(--mv3-green)!important;font-size:18px!important}.mv3-promo{margin-top:11px}.mv3-wizard .wizard-actions{margin-top:18px!important}.mv3-wizard .wizard-actions button{min-height:40px!important;font-size:10px!important}.mv3-wizard .wizard-actions .ghost{background:#101512!important;border-color:var(--mv3-line)!important;color:#dce4df!important;box-shadow:none!important}
.mv3-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mv3-ref-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}.mv3-ref-stats>div{padding:12px;background:#080c0a;border:1px solid rgba(255,255,255,.06);border-radius:12px}.mv3-ref-stats span{display:block!important;color:#66736a!important;font-size:8px!important;text-transform:uppercase!important}.mv3-ref-stats b{display:block;margin-top:4px;color:#fff!important;font-size:18px!important}.mv3-ref-link{display:flex!important;gap:7px!important}.mv3-ref-link input{flex:1!important;min-width:0!important;height:39px!important;padding:0 11px!important;border-radius:11px!important;background:#080c0a!important;border:1px solid var(--mv3-line)!important;color:#87938b!important;font-size:9px!important}.mv3-ref-link button{height:39px!important;padding:0 12px!important;border-radius:11px!important;background:#111713!important;border:1px solid var(--mv3-line)!important;color:#dbe3de!important;font-size:9px!important;font-weight:900!important;box-shadow:none!important}.mv3-channel-list{display:grid;gap:7px}.mv3-channel-list>div{min-height:59px;padding:9px 10px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;background:#080c0a;border:1px solid rgba(255,255,255,.06);border-radius:13px}.mv3-channel-icon{width:36px;height:36px;border-radius:11px;display:grid!important;place-items:center;background:rgba(39,239,126,.06);color:var(--mv3-green)!important}.mv3-channel-list b{display:block!important;font-size:10px!important;color:#dce4df!important}.mv3-channel-list small{display:block!important;margin-top:2px;color:#657168!important;font-size:8px!important}.mv3-channel-list a{color:var(--mv3-green)!important;font-size:9px;font-weight:900}.mv3-orders{overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:14px}.mv3-order{min-height:50px;padding:8px 12px;display:grid;grid-template-columns:1fr .8fr 1.2fr .6fr .8fr;gap:10px;align-items:center;background:#080c0a;border-top:1px solid rgba(255,255,255,.05);font-size:9px;color:#8d9991}.mv3-order:first-child{border-top:0}.mv3-order.head{min-height:36px;background:#0b100d;color:#5e6a62;font-size:8px;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.mv3-order b{color:#dfe6e2!important;font-size:9px!important}.mv3-pay-state{display:inline-flex;padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.04);color:#8f9b93;font-size:8px;border:1px solid rgba(255,255,255,.06)}.mv3-pay-state.paid{background:rgba(39,239,126,.07);border-color:rgba(39,239,126,.14);color:#69f4a3}
.mv3-dialog{width:min(1000px,calc(100vw - 30px))!important;max-width:none!important;max-height:calc(100vh - 28px)!important;margin:auto!important;padding:0!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:22px!important;background:#070a08!important;color:#f3f7f4!important;box-shadow:0 40px 140px rgba(0,0,0,.65)!important;overflow:hidden!important}.mv3-dialog::backdrop{background:rgba(0,0,0,.76)!important;backdrop-filter:blur(7px)}.mv3-dialog-shell{max-height:calc(100vh - 30px);overflow:auto;padding:18px}.mv3-dialog-close{position:absolute!important;right:13px!important;top:13px!important;z-index:3!important;width:34px!important;height:34px!important;border-radius:11px!important;background:#101512!important;border:1px solid var(--mv3-line)!important;color:#a4afa8!important;font-size:18px!important;box-shadow:none!important}.mv3-dialog-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:2px 45px 16px 0;border-bottom:1px solid rgba(255,255,255,.06)}.mv3-dialog-head .mv3-proto-icon{width:44px;height:44px}.mv3-dialog-head h2{margin:2px 0!important;color:#fff!important;font-size:21px!important;letter-spacing:-.035em!important}.mv3-dialog-head p{margin:0!important;color:#68756d!important;font-size:9px!important}.mv3-dialog-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:10px;margin-top:10px}.mv3-dialog-main,.mv3-dialog-side{display:grid;gap:10px;align-content:start}.mv3-dialog-card{padding:14px;background:#0a0e0c;border:1px solid rgba(255,255,255,.065);border-radius:15px}.mv3-dialog-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:11px}.mv3-dialog-card-head span,.mv3-side-label{display:block!important;color:#5f6c64!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-weight:900!important}.mv3-dialog-card-head h3{margin:3px 0 0!important;color:#edf3ef!important;font-size:14px!important}.mv3-dialog-card-head small{color:#7a867e!important;font-size:8px!important}.mv3-qr-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px;align-items:center}.mv3-qr{display:grid;justify-items:center;gap:6px;padding:9px;background:#060806;border:1px solid rgba(255,255,255,.06);border-radius:14px}.mv3-qr img{width:190px!important;height:190px!important;max-width:100%!important;background:#fff!important;border-radius:10px!important}.mv3-qr a{font-size:8px;color:#7b877f!important;font-weight:800}.mv3-quick-actions{display:grid;gap:7px;align-content:center}.mv3-quick-actions .mv3-btn{width:100%}.mv3-quick-actions p,.mv3-help-card p,.mv3-subscription p{margin:2px 0!important;color:#67736b!important;font-size:9px!important;line-height:1.5!important}.mv3-raw{margin-top:10px;border-top:1px solid rgba(255,255,255,.055);padding-top:9px}.mv3-raw summary{cursor:pointer;color:#8b978f;font-size:9px;font-weight:850}.mv3-raw textarea{width:100%!important;height:120px!important;margin-top:8px!important;padding:10px!important;background:#050706!important;border:1px solid var(--mv3-line)!important;border-radius:11px!important;color:#859189!important;font:8px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace!important;resize:vertical}.mv3-subscription>span{display:block!important;color:#66736a!important;font-size:8px!important;margin-bottom:6px}.mv3-subscription .link-row{display:flex!important;gap:6px!important}.mv3-subscription input{flex:1!important;min-width:0!important;height:40px!important;padding:0 10px!important;background:#050706!important;border:1px solid var(--mv3-line)!important;border-radius:10px!important;color:#8e9a92!important;font-size:8px!important}.mv3-subscription button{height:40px!important;padding:0 11px!important;border-radius:10px!important;background:#111713!important;border:1px solid var(--mv3-line)!important;color:#e0e8e3!important;font-size:8px!important;box-shadow:none!important}.mv3-qr-layout.vless{margin-top:10px}.mv3-device-master{padding:0!important;background:transparent!important;border:0!important}.mv3-device-master .device-tabs{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin:0 0 8px!important}.mv3-device-master .device-tabs button{min-height:48px!important;padding:5px!important;border-radius:11px!important;background:#080c0a!important;border:1px solid var(--mv3-line)!important;color:#8e9a92!important;display:grid!important;place-items:center!important;gap:1px!important;font-size:8px!important;box-shadow:none!important}.mv3-device-master .device-tabs button i{font-size:13px!important;font-style:normal}.mv3-device-master .device-tabs button.active{background:rgba(39,239,126,.08)!important;border-color:rgba(39,239,126,.22)!important;color:#dfffee!important}.mv3-device-master .device-guide{min-height:52px!important;margin:0!important;padding:10px!important;border-radius:11px!important;background:#080c0a!important;border:1px solid rgba(255,255,255,.055)!important;color:#87938b!important;font-size:9px!important;line-height:1.5!important}.mv3-rename{display:grid!important;grid-template-columns:1fr auto!important;gap:6px!important;margin:7px 0 0!important}.mv3-rename input{min-width:0!important;height:39px!important;padding:0 9px!important;background:#070a08!important;border:1px solid var(--mv3-line)!important;border-radius:10px!important;color:#e5ece7!important;font-size:9px!important}.mv3-rename button{min-height:39px!important;padding:0 10px!important;border-radius:10px!important;background:#111713!important;border:1px solid var(--mv3-line)!important;color:#dce4df!important;font-size:8px!important;box-shadow:none!important}.mv3-renew{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin:7px 0 5px!important;padding:0!important;border:0!important}.mv3-renew select{width:100%!important;height:39px!important;padding:0 9px!important;background:#070a08!important;border:1px solid var(--mv3-line)!important;border-radius:10px!important;color:#e3eae5!important;font-size:9px!important}.mv3-dialog-card>small{color:#606d65!important;font-size:8px!important}.mv3-help-card .mv3-btn{width:100%;margin-top:8px}
/* Support / CRM */
.msp3-app{min-height:100vh;color:var(--mv3-text);background:radial-gradient(circle at 12% -10%,rgba(39,239,126,.08),transparent 28%),#050706}.msp3-topbar{height:66px;padding:0 max(18px,calc((100vw - 1500px)/2));display:flex;align-items:center;gap:24px;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(6,9,7,.88);backdrop-filter:blur(16px);position:sticky;top:0;z-index:30}.msp3-brand{display:flex;align-items:center;gap:8px;min-width:max-content;color:#fff!important}.msp3-brand img{width:32px;height:32px;border-radius:10px;object-fit:cover}.msp3-brand b{font-size:13px!important;color:#fff!important}.msp3-brand span{padding-left:8px;border-left:1px solid rgba(255,255,255,.09);color:#68756d!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.09em!important}.msp3-topbar nav{display:flex;align-items:center;gap:3px}.msp3-topbar nav a{padding:8px 10px;border-radius:10px;color:#748078!important;font-size:10px;font-weight:850}.msp3-topbar nav a:hover,.msp3-topbar nav a.active{background:#101512;color:#e8eeea!important;transform:none!important}.msp3-topbar nav a.active{color:#caffdf!important}.msp3-user{margin-left:auto;padding:7px 10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;color:#7d8981;font-size:9px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msp3-wrap{width:min(1480px,calc(100% - 32px));margin:0 auto;padding:30px 0 50px}.msp3-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.msp3-heading.compact{align-items:center}.msp3-heading h1{margin:4px 0 6px!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.02!important;letter-spacing:-.05em!important;color:#f5f8f6!important}.msp3-heading p{margin:0!important;max-width:760px;color:#728078!important;font-size:11px!important;line-height:1.55!important}.msp3-kicker{display:block!important;color:var(--mv3-green)!important;font-size:8px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.14em!important}.msp3-back{display:block;margin-bottom:9px;color:#79867e!important;font-size:9px;font-weight:850}.msp3-badges{display:flex;gap:6px}.msp3-home-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:12px;align-items:start}.msp3-inbox,.msp3-compose-card,.msp3-chat-card,.msp3-ticket-info,.msp3-queue-card,.msp3-operator-bar,.msp3-side-card{background:#0a0e0c;border:1px solid var(--mv3-line);border-radius:18px}.msp3-inbox{padding:12px;position:sticky;top:78px;max-height:calc(100vh - 100px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.msp3-inbox-head{padding:7px 7px 12px;border-bottom:1px solid rgba(255,255,255,.06)}.msp3-inbox-head>div:first-child{display:flex;justify-content:space-between;align-items:center}.msp3-inbox-head span{color:#89958d!important;font-size:10px!important;font-weight:850}.msp3-inbox-head strong{color:#fff!important;font-size:15px!important}.msp3-mini-metrics{display:flex!important;gap:8px!important;margin-top:7px!important}.msp3-mini-metrics span{padding:5px 7px;border-radius:8px;background:#080c0a;color:#68756d!important;font-size:8px!important}.msp3-mini-metrics b{color:#dce4df!important}.msp3-ticket-list{overflow:auto;padding:6px 0 0;display:grid;gap:5px;align-content:start}.msp3-ticket{padding:10px;border:1px solid transparent;border-radius:12px;background:#080c0a;display:grid;gap:5px;transition:.15s ease}.msp3-ticket:hover{border-color:rgba(255,255,255,.09);background:#0c110e;transform:none!important}.msp3-ticket.unread{border-color:rgba(39,239,126,.16);background:rgba(39,239,126,.035)}.msp3-ticket-row{display:flex;justify-content:space-between;gap:8px}.msp3-ticket-row b{font-size:10px!important;color:#dce4df!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msp3-ticket-row em{min-width:19px;height:19px;display:grid;place-items:center;border-radius:7px;background:var(--mv3-green);color:#031108;font-size:8px;font-style:normal;font-weight:950}.msp3-ticket p{margin:0!important;color:#616e66!important;font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msp3-ticket>div:last-child{display:flex;justify-content:space-between;align-items:center;gap:8px}.msp3-ticket time{color:#58645d;font-size:7px}.msp3-empty{min-height:130px;padding:18px;display:grid;place-items:center;text-align:center;align-content:center;gap:5px;color:#69766e}.msp3-empty>span{width:34px;height:34px;display:grid!important;place-items:center;border-radius:11px;background:rgba(39,239,126,.06);color:var(--mv3-green)!important}.msp3-empty b{color:#aeb9b2!important;font-size:10px!important}.msp3-empty p{margin:0!important;color:#5e6b63!important;font-size:8px!important}.msp3-compose-card{padding:20px}.msp3-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.msp3-card-head h2{margin:4px 0 4px!important;color:#f1f5f2!important;font-size:25px!important;letter-spacing:-.04em!important}.msp3-card-head p{margin:0!important;color:#6f7c74!important;font-size:10px!important}.msp3-plus{width:42px;height:42px;border-radius:13px;display:grid!important;place-items:center;background:rgba(39,239,126,.07);border:1px solid rgba(39,239,126,.14);color:var(--mv3-green)!important;font-size:20px!important}.msp3-form{display:grid;gap:10px}.msp3-form label:not(.msp3-file){display:grid;gap:5px}.msp3-form label>span{color:#7e8b83!important;font-size:9px!important;font-weight:850!important}.msp3-field-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.msp3-form input,.msp3-form select,.msp3-form textarea,.msp3-state-form select,.msp3-filters input,.msp3-filters select{width:100%!important;background:#070a08!important;border:1px solid var(--mv3-line)!important;color:#e4ebe6!important;border-radius:11px!important;outline:none!important;box-shadow:none!important}.msp3-form input,.msp3-form select{height:42px!important;padding:0 11px!important;font-size:10px!important}.msp3-form textarea{min-height:180px!important;padding:11px!important;font-size:10px!important;line-height:1.55!important;resize:vertical}.msp3-form-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.msp3-file{min-height:44px;padding:7px 9px;display:flex!important;align-items:center;gap:8px;border:1px dashed rgba(255,255,255,.12);border-radius:11px;background:#080c0a;cursor:pointer;min-width:240px}.msp3-file input{display:none!important}.msp3-file-icon{width:29px;height:29px;border-radius:9px;display:grid!important;place-items:center;background:#111713;color:#89968e!important}.msp3-file b{display:block!important;color:#b8c2bc!important;font-size:9px!important}.msp3-file small{display:block!important;color:#59665e!important;font-size:7px!important}.msp3-file.compact{min-width:0;min-height:38px;padding:5px 8px;border-style:solid}.msp3-help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06)}.msp3-help-grid>a{min-height:58px;padding:9px;display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;background:#080c0a;border:1px solid rgba(255,255,255,.05);border-radius:11px}.msp3-help-grid>a>span{width:30px;height:30px;border-radius:9px;display:grid!important;place-items:center;background:#111713;color:#91a097!important}.msp3-help-grid b{display:block!important;color:#b9c3bd!important;font-size:9px!important}.msp3-help-grid small{display:block!important;color:#5e6b63!important;font-size:7px!important}.msp3-help-grid i{font-style:normal;color:#617067}
.msp3-ticket-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;align-items:start}.msp3-ticket-info{padding:12px;position:sticky;top:78px;display:grid;gap:10px}.msp3-info-card{padding:12px;border-radius:12px;background:#080c0a;border:1px solid rgba(255,255,255,.05)}.msp3-info-card strong{display:block;margin:5px 0;color:#e3eae5!important;font-size:15px!important}.msp3-info-card p{margin:0!important;color:#66736a!important;font-size:8px!important;line-height:1.45!important}.msp3-ticket-dl{margin:0}.msp3-ticket-dl>div{display:flex;justify-content:space-between;gap:10px;padding:8px 2px;border-top:1px solid rgba(255,255,255,.055)}.msp3-ticket-dl dt{color:#66736a;font-size:8px}.msp3-ticket-dl dd{margin:0;color:#adb8b1;font-size:8px;text-align:right}.msp3-rating-box{padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:#080c0a;display:grid;gap:7px}.msp3-rating-box b{font-size:9px!important;color:#c6d0ca!important}.msp3-rating-box>span{color:#66736a!important;font-size:8px!important}.msp3-rating{display:flex;gap:4px}.msp3-rating button{min-height:29px!important;padding:0 6px!important;border-radius:8px!important;background:#101512!important;border:1px solid var(--mv3-line)!important;color:#d8e0db!important;font-size:7px!important;box-shadow:none!important}.msp3-chat-card{overflow:hidden;display:grid;grid-template-rows:auto minmax(360px,1fr) auto;min-height:650px}.msp3-chat-head{height:52px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.06);background:#0b100d}.msp3-chat-head>div{display:flex;align-items:center;gap:7px}.msp3-live{width:7px;height:7px;border-radius:50%;background:var(--mv3-green);box-shadow:0 0 0 5px rgba(39,239,126,.06)}.msp3-chat-head b{font-size:10px!important;color:#dce4df!important}.msp3-chat-head>span{color:#5e6b63!important;font-size:8px!important}.msp3-chat{padding:16px;overflow:auto;max-height:calc(100vh - 245px);display:flex;flex-direction:column;gap:9px;background:#070a08}.msp3-message{width:min(76%,760px);padding:10px 11px;border-radius:13px;border:1px solid rgba(255,255,255,.06);background:#0c110e}.msp3-message.user,.msp3-message.support{align-self:flex-end;background:rgba(39,239,126,.045);border-color:rgba(39,239,126,.12)}.msp3-message.support,.msp3-message.client{align-self:flex-start}.msp3-msg-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px}.msp3-msg-meta b{color:#aeb9b2!important;font-size:8px!important}.msp3-msg-meta time{color:#526057;font-size:7px}.msp3-msg-text{color:#d1dad4;font-size:10px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.msp3-attachment{display:inline-flex;margin-top:8px;padding:6px 8px;border-radius:8px;background:#111713;color:#8fa098!important;font-size:8px;font-weight:850}.msp3-composer{padding:11px;border-top:1px solid rgba(255,255,255,.06);background:#0a0e0c}.msp3-composer textarea{width:100%!important;min-height:74px!important;max-height:160px!important;padding:10px!important;background:#070a08!important;border:1px solid var(--mv3-line)!important;border-radius:11px!important;color:#e1e8e3!important;font-size:10px!important;resize:vertical}.msp3-composer>div{display:flex;align-items:center;gap:7px;margin-top:7px}.msp3-composer .msp3-btn{margin-left:auto}.msp3-chat-closed{padding:12px;border-top:1px solid rgba(255,255,255,.06);background:#0a0e0c;color:#748078;font-size:9px}
.msp3-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-bottom:12px}.msp3-stats>a,.msp3-stats>div{min-height:98px;padding:13px;background:#0a0e0c;border:1px solid var(--mv3-line);border-radius:14px;display:grid;align-content:start}.msp3-stats>a:hover{border-color:rgba(39,239,126,.16);transform:none!important}.msp3-stats .hot{background:rgba(255,107,107,.035);border-color:rgba(255,107,107,.12)}.msp3-stats span{color:#68756d!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:900!important}.msp3-stats strong{margin-top:8px;color:#fff!important;font-size:24px!important;line-height:1}.msp3-stats small{margin-top:5px;color:#58655d!important;font-size:7px!important}.msp3-queue-card{overflow:hidden}.msp3-filters{padding:10px;display:grid;grid-template-columns:minmax(240px,1fr) 150px 150px auto 36px;gap:6px;border-bottom:1px solid rgba(255,255,255,.06)}.msp3-search{height:38px;padding:0 10px;display:flex;align-items:center;gap:7px;background:#070a08;border:1px solid var(--mv3-line);border-radius:10px}.msp3-search>span{color:#5d6a62!important}.msp3-search input{height:auto!important;padding:0!important;border:0!important;background:transparent!important;font-size:9px!important}.msp3-filters select{height:38px!important;padding:0 9px!important;font-size:9px!important}.msp3-filters .msp3-btn{min-height:38px!important}.msp3-queue{overflow:auto;max-height:calc(100vh - 285px);min-height:360px}.msp3-queue-row{min-height:68px;padding:9px 12px;display:grid;grid-template-columns:125px 210px minmax(240px,1fr) 190px 150px;gap:12px;align-items:center;border-top:1px solid rgba(255,255,255,.05);color:#829087}.msp3-queue-row.head{min-height:36px;position:sticky;top:0;z-index:2;background:#0b100d;color:#58655d;font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;border-top:0}.msp3-queue-row:not(.head):hover{background:#0c110e;transform:none!important}.msp3-queue-row.unread{background:rgba(39,239,126,.027);box-shadow:inset 3px 0 0 var(--mv3-green)}.msp3-queue-row b{display:block;color:#dce4df!important;font-size:9px!important}.msp3-queue-row small{display:block;margin-top:2px;color:#5d6a62!important;font-size:7px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msp3-queue-row .preview{font-size:8px;line-height:1.4;color:#748078!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msp3-queue-row .state{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.msp3-queue-row .state em{min-width:19px;height:19px;padding:0 5px;border-radius:7px;display:grid;place-items:center;background:var(--mv3-green);color:#031108;font-style:normal;font-size:7px;font-weight:950}.msp3-queue-row .date{display:flex;justify-content:space-between;align-items:center;color:#5e6b63!important;font-size:7px}.msp3-queue-row .date i{font-style:normal;color:#77857c;font-size:12px}
.msp3-operator-bar{padding:10px 12px;margin-bottom:10px;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:9px;align-items:end}.msp3-assignee{display:grid;gap:2px}.msp3-assignee span,.msp3-state-form label>span{color:#5f6c64!important;font-size:7px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:900!important}.msp3-assignee b{color:#c4cec8!important;font-size:9px!important}.msp3-state-form{display:flex;gap:6px;align-items:end}.msp3-state-form label{display:grid;gap:4px}.msp3-state-form select{height:38px!important;min-width:130px!important;padding:0 8px!important;font-size:9px!important}.msp3-admin-ticket-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:10px;align-items:start}.msp3-admin-ticket-grid .msp3-chat-card{min-height:680px}.msp3-admin-side{display:grid;gap:10px;align-content:start;max-height:calc(100vh - 185px);overflow:auto;padding-right:2px}.msp3-side-card{padding:12px}.msp3-client-head{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;align-items:center;margin:8px 0 12px}.msp3-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(39,239,126,.06);border:1px solid rgba(39,239,126,.14);color:var(--mv3-green);font-size:15px;font-weight:950}.msp3-client-head h2{margin:0 0 2px!important;color:#e7ede9!important;font-size:13px!important;overflow-wrap:anywhere}.msp3-client-head p{margin:0!important;color:#637067!important;font-size:8px!important;overflow-wrap:anywhere}.msp3-side-card dl{margin:0 0 10px}.msp3-side-card dl>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid rgba(255,255,255,.05)}.msp3-side-card dt{color:#5e6b63;font-size:7px}.msp3-side-card dd{margin:0;color:#a6b1aa;font-size:7px;text-align:right;overflow-wrap:anywhere}.msp3-side-title{display:grid;grid-template-columns:1fr auto;align-items:end;margin-bottom:8px}.msp3-side-title .msp3-kicker{grid-column:1/-1}.msp3-side-title>b{font-size:11px!important;color:#dce4df!important}.msp3-side-title em{font-style:normal;color:#6d7971;font-size:8px}.msp3-mini-list{display:grid;gap:5px}.msp3-mini-list article{padding:8px;border-radius:10px;background:#080c0a;border:1px solid rgba(255,255,255,.045);display:flex;justify-content:space-between;gap:8px}.msp3-mini-list article>div{min-width:0}.msp3-mini-list b{display:block;color:#b8c2bc!important;font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msp3-mini-list span{display:block!important;margin-top:2px;color:#5b6860!important;font-size:7px!important}.msp3-mini-list small{color:#68756d!important;font-size:7px!important;white-space:nowrap}.msp3-mini-list>p,.msp3-note-list>p{margin:0!important;color:#5f6c64!important;font-size:8px!important}.msp3-side-card.notes form{display:grid;gap:6px}.msp3-side-card.notes textarea{width:100%!important;min-height:76px!important;padding:8px!important;background:#070a08!important;border:1px solid var(--mv3-line)!important;border-radius:10px!important;color:#dce4df!important;font-size:8px!important;resize:vertical}.msp3-note-list{display:grid;gap:5px;margin-top:8px}.msp3-note-list article{padding:8px;background:#080c0a;border:1px solid rgba(255,255,255,.045);border-radius:10px}.msp3-note-list article>div{display:flex;justify-content:space-between;gap:8px}.msp3-note-list b{font-size:7px!important;color:#aeb9b2!important}.msp3-note-list time{font-size:6px;color:#526057}.msp3-note-list p{margin:5px 0 0!important;color:#7a877f!important;font-size:8px!important;line-height:1.45!important;white-space:pre-wrap}.msp3-wait{display:flex!important;align-items:center!important;gap:5px!important;color:#6c7970!important;font-size:8px!important}.msp3-wait input{accent-color:var(--mv3-green)}
@media(max-width:1250px){.dashboard.mv3-app{grid-template-columns:220px minmax(0,1fr)!important}.mv3-overview-grid{grid-template-columns:1.4fr repeat(3,1fr)}.mv3-plan-grid{grid-template-columns:repeat(3,1fr)!important}.msp3-admin-ticket-grid{grid-template-columns:minmax(0,1fr) 300px}.msp3-queue-row{grid-template-columns:110px 180px minmax(200px,1fr) 170px 130px}}
@media(max-width:1000px){.dashboard.mv3-app{grid-template-columns:1fr!important;width:min(100% - 22px,1100px)!important}.mv3-sidebar{position:static;height:auto;min-height:0;padding:10px}.mv3-user-card{display:none}.mv3-nav{display:flex;overflow:auto;padding-bottom:2px}.mv3-nav a{min-width:max-content;grid-template-columns:26px auto;padding-right:12px}.mv3-nav a em{display:none}.mv3-sidebar-bottom{display:none}.mv3-main{gap:10px}.mv3-overview-grid{grid-template-columns:repeat(2,1fr)}.mv3-overview-card.primary{grid-column:1/-1}.mv3-config-grid{grid-template-columns:1fr}.mv3-split{grid-template-columns:1fr}.mv3-dialog-grid{grid-template-columns:1fr}.mv3-dialog-side{grid-template-columns:repeat(3,1fr)}.msp3-home-grid,.msp3-ticket-layout{grid-template-columns:1fr}.msp3-inbox,.msp3-ticket-info{position:static;max-height:none}.msp3-ticket-list{max-height:320px}.msp3-stats{grid-template-columns:repeat(3,1fr)}.msp3-admin-ticket-grid{grid-template-columns:1fr}.msp3-admin-side{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.msp3-side-card.client-card{grid-row:span 2}.msp3-queue-row{grid-template-columns:100px 170px minmax(180px,1fr) 160px}.msp3-queue-row .date{display:none}.msp3-queue-row.head span:last-child{display:none}.msp3-operator-bar{grid-template-columns:1fr auto}.msp3-state-form{grid-column:1/-1}.msp3-topbar{padding:0 16px}.msp3-topbar nav{overflow:auto}.msp3-user{display:none}}
@media(max-width:720px){.dashboard.mv3-app{width:100%!important;padding:0!important;gap:0!important}.mv3-sidebar{border-radius:0;border-inline:0;border-top:0}.mv3-brand{display:none}.mv3-nav a{min-height:40px;font-size:10px}.mv3-topbar{border-radius:0;border-inline:0;padding:18px;align-items:flex-start;flex-direction:column}.mv3-top-actions{width:100%}.mv3-top-actions .mv3-btn{flex:1}.mv3-main{gap:8px}.mv3-overview-grid{padding:0 8px;grid-template-columns:1fr 1fr}.mv3-overview-card.primary{grid-column:1/-1}.mv3-stat-card{min-height:120px}.mv3-section{border-radius:16px;border-inline:0;padding:14px}.mv3-section-head{flex-direction:column}.mv3-config-tools{width:100%;justify-content:flex-start}.mv3-search{width:100%}.mv3-filter-tabs{max-width:100%;overflow:auto}.mv3-plan-grid{grid-template-columns:1fr 1fr!important}.mv3-vpn-grid{grid-template-columns:1fr!important}.mv3-summary{grid-template-columns:1fr!important}.mv3-ref-link{flex-direction:column}.mv3-ref-link button{width:100%}.mv3-order.head{display:none}.mv3-order{grid-template-columns:1fr 1fr;gap:5px}.mv3-order span:nth-child(3){grid-column:1/-1}.mv3-dialog{width:100%!important;max-height:100vh!important;border-radius:0!important;border:0!important}.mv3-dialog-shell{max-height:100vh;padding:13px}.mv3-dialog-grid{grid-template-columns:1fr}.mv3-dialog-side{grid-template-columns:1fr}.mv3-qr-layout{grid-template-columns:1fr}.mv3-qr img{width:210px!important;height:210px!important}.mv3-device-master .device-tabs{grid-template-columns:repeat(2,1fr)!important}.msp3-topbar{height:58px;gap:10px}.msp3-brand span{display:none!important}.msp3-topbar nav a{font-size:9px;padding:7px}.msp3-wrap{width:min(100% - 18px,720px);padding:18px 0 36px}.msp3-heading{align-items:flex-start;flex-direction:column}.msp3-heading h1{font-size:29px!important}.msp3-field-row{grid-template-columns:1fr}.msp3-form-bottom{align-items:stretch;flex-direction:column}.msp3-file{min-width:0;width:100%}.msp3-form-bottom .msp3-btn{width:100%}.msp3-help-grid{grid-template-columns:1fr}.msp3-ticket-layout{grid-template-columns:1fr}.msp3-message{width:92%}.msp3-chat{max-height:55vh}.msp3-stats{grid-template-columns:repeat(2,1fr)}.msp3-filters{grid-template-columns:1fr 1fr}.msp3-search{grid-column:1/-1}.msp3-filters select{width:100%}.msp3-queue-row.head{display:none}.msp3-queue{max-height:none}.msp3-queue-row{min-height:0;padding:11px;grid-template-columns:1fr auto;gap:6px}.msp3-queue-row .client,.msp3-queue-row .preview{grid-column:1/-1}.msp3-queue-row .state{grid-column:2;grid-row:1}.msp3-queue-row .date{display:none}.msp3-admin-side{grid-template-columns:1fr}.msp3-side-card.client-card{grid-row:auto}.msp3-operator-bar{grid-template-columns:1fr}.msp3-state-form{flex-direction:column;align-items:stretch}.msp3-state-form label,.msp3-state-form select{width:100%!important}.msp3-composer>div{flex-wrap:wrap}.msp3-composer .msp3-btn{width:100%;margin-left:0}.msp3-wait{order:3;width:100%}}
/* ===== /MATTVPN APP UI V3 ===== */



/* === MattVPN COMPACT UI V4 === */
.mv4-app{display:grid;grid-template-columns:252px minmax(0,1fr);gap:18px;max-width:1580px;margin:0 auto;padding:26px 18px 54px;align-items:start}
.mv4-sidebar,.mv4-card,.mv4-stat-card,.mv4-workspace-tabs,.msp3-topbar,.msp3-inbox,.msp3-compose-card,.msp3-queue-card{background:rgba(8,12,15,.82);border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 80px rgba(0,0,0,.36);backdrop-filter:blur(18px)}
.mv4-sidebar{position:sticky;top:90px;border-radius:28px;padding:18px;display:flex;flex-direction:column;gap:16px;min-height:calc(100vh - 120px)}
.mv4-brand{display:flex;align-items:center;gap:12px;padding:8px 6px 2px}.mv4-brand img{width:44px;height:44px;border-radius:14px;box-shadow:0 0 24px rgba(57,255,136,.18)}.mv4-brand span{display:flex;flex-direction:column}.mv4-brand b{font-size:24px;line-height:1}.mv4-brand small{color:#96a2ad;font-weight:700}
.mv4-user-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:22px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-user-card b{display:block;font-size:16px}.mv4-user-card span{display:block;color:#87939d;font-size:13px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.mv4-avatar-upload{position:relative;flex:0 0 auto}.mv4-avatar-upload img{width:58px;height:58px;border-radius:16px;object-fit:cover}.mv4-avatar-upload label{position:absolute;right:-2px;bottom:-2px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#39ff88,#00d46a);color:#04130a;font-weight:900;cursor:pointer;border:2px solid #071015}
.mv4-nav-group{display:grid;gap:8px}.mv4-nav-btn,.mv4-nav-link,.mv4-sidebar-bottom a{display:flex;align-items:center;gap:10px;border:none;text-decoration:none;background:transparent;color:#f5f7f8;padding:12px 14px;border-radius:16px;font-weight:800;cursor:pointer;text-align:left}.mv4-nav-btn i,.mv4-nav-link i{width:22px;height:22px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.05);font-style:normal;font-weight:900;color:#b8c2cb}.mv4-nav-btn em{margin-left:auto;font-style:normal;background:rgba(57,255,136,.12);border:1px solid rgba(57,255,136,.2);color:#75ffad;min-width:24px;padding:1px 8px;border-radius:999px;text-align:center;font-size:12px}.mv4-nav-btn.active,.mv4-nav-btn:hover,.mv4-nav-link:hover{background:linear-gradient(135deg,rgba(57,255,136,.20),rgba(0,212,106,.11));border:1px solid rgba(57,255,136,.18)}
.mv4-sidebar-bottom{margin-top:auto;display:flex;gap:8px}.mv4-sidebar-bottom a{flex:1;justify-content:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-sidebar-bottom .danger{color:#ff9696}
.mv4-main{display:grid;gap:18px}
.mv4-topbar,.mv4-card{border-radius:28px;padding:24px}.mv4-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:linear-gradient(135deg,rgba(57,255,136,.10),rgba(255,255,255,.03) 35%,rgba(57,255,136,.06));border:1px solid rgba(57,255,136,.12)}.mv4-kicker{display:inline-block;color:#48ff95;font-size:12px;font-weight:950;letter-spacing:.18em;text-transform:uppercase;margin-bottom:10px}.mv4-topbar h1{margin:0 0 8px;font-size:clamp(32px,4vw,58px);line-height:.95;letter-spacing:-.05em}.mv4-topbar p{margin:0;color:#93a0ab;max-width:760px}.mv4-top-actions{display:flex;gap:10px;flex-wrap:wrap}
.mv4-btn,.mv4-icon-btn,.mv4-inline-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:16px;border:1px solid rgba(57,255,136,.22);background:linear-gradient(135deg,#39ff88,#00d46a);color:#04130a;padding:0 18px;font-weight:900;cursor:pointer;box-shadow:0 12px 32px rgba(57,255,136,.18);text-decoration:none}.mv4-btn.secondary,.mv4-icon-btn,.mv4-inline-link{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.10);color:#f5f7f8;box-shadow:none}.mv4-inline-link{padding:0 14px;font-size:14px;white-space:nowrap}
.mv4-notifications{display:grid;gap:10px}.mv4-notice{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-notice b{display:block}.mv4-notice span{color:#93a0ab}.mv4-notice a{margin-left:auto;color:#75ffad;font-weight:900;white-space:nowrap}.mv4-notice-dot{width:10px;height:10px;border-radius:50%;background:#39ff88;box-shadow:0 0 18px rgba(57,255,136,.8);margin-top:6px}
.mv4-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.mv4-stat-card{padding:20px 22px;border-radius:26px;display:flex;flex-direction:column;gap:8px}.mv4-stat-card.primary{background:linear-gradient(135deg,rgba(57,255,136,.18),rgba(255,255,255,.04) 45%,rgba(57,255,136,.08))}.mv4-stat-card span{color:#9aacb7;font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:900}.mv4-stat-card strong{font-size:52px;line-height:.9;letter-spacing:-.05em}.mv4-stat-card small{color:#8996a1}.mv4-stat-card.support strong{color:#46ff95}
.mv4-workspace-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:22px;position:sticky;top:88px;z-index:8}.mv4-workspace-tabs button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#d8e0e7;padding:12px 16px;border-radius:14px;font-weight:850;cursor:pointer}.mv4-workspace-tabs button.active{background:linear-gradient(135deg,rgba(57,255,136,.18),rgba(57,255,136,.08));border-color:rgba(57,255,136,.28);color:#fff}
.mv4-panel{display:none}.mv4-panel.active{display:block;animation:mv4Fade .22s ease}
.mv4-overview-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:18px}.mv4-overview-grid>.mv4-card{min-width:0}.mv4-overview-payments,.mv4-overview-ref{grid-column:span 1}.mv4-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}.mv4-card-head.row{align-items:center}.mv4-card-head h2{margin:0 0 6px;font-size:40px;line-height:.95;letter-spacing:-.05em}.mv4-card-head p{margin:0;color:#93a0ab}.mv4-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv4-quick{display:flex;gap:14px;align-items:center;border-radius:20px;padding:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#f5f7f8;text-decoration:none;cursor:pointer}.mv4-quick i,.mv4-channel-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(57,255,136,.24),rgba(57,255,136,.10));color:#64ffab;font-style:normal;font-size:20px;font-weight:900}.mv4-quick b{display:block;font-size:18px}.mv4-quick small{display:block;color:#91a0ac;margin-top:3px}
.mv4-channel-list{display:grid;gap:12px}.mv4-channel-item{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-channel-item b{display:block}.mv4-channel-item small{display:block;color:#93a0ab}.mv4-channel-item a{margin-left:auto;color:#75ffad;font-weight:900;text-decoration:none;white-space:nowrap}
.mv4-mini-orders{display:grid;gap:12px}.mv4-mini-order{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-mini-order span{display:block;color:#8fa0ab;font-size:13px}.mv4-mini-order b{display:block;font-size:18px;margin:4px 0}.mv4-mini-order small{color:#95a3ad}
.mv4-ref-stats{display:flex;gap:12px;flex-wrap:wrap}.mv4-ref-stats>div{flex:1;min-width:130px;padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-ref-stats span{display:block;color:#93a0ab}.mv4-ref-stats b{display:block;font-size:28px;margin-top:4px}.mv4-ref-stats.big b{font-size:34px}
.mv4-config-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.mv4-search{display:flex;align-items:center;gap:8px;min-width:290px;flex:1;padding:0 14px;height:46px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-search input{width:100%;background:transparent;border:none;outline:none;color:#f5f7f8}.mv4-filter-tabs{display:flex;gap:8px;flex-wrap:wrap}.mv4-filter-tabs button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#e8eef2;border-radius:14px;padding:11px 14px;font-weight:800}.mv4-filter-tabs button.active{border-color:rgba(57,255,136,.3);background:linear-gradient(135deg,rgba(57,255,136,.18),rgba(57,255,136,.08));color:#fff}
.mv4-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:60vh;overflow:auto;padding-right:4px}.mv4-config-card{display:grid;gap:12px;padding:18px;border-radius:22px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-config-top{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.mv4-proto-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:950;background:linear-gradient(135deg,rgba(57,255,136,.22),rgba(255,255,255,.06));color:#6cffae}.mv4-config-title b{display:block;font-size:20px;line-height:1}.mv4-config-title span{display:block;color:#93a0ab;margin-top:4px}.mv4-config-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mv4-config-meta div{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.03)}.mv4-config-meta span{display:block;color:#8ea0ab;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.mv4-config-meta b{display:block;margin-top:6px;font-size:15px}.mv4-config-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}.mv4-icon-btn{width:46px;padding:0;font-size:18px}.mv4-state,.mv3-state{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.state-active{color:#7dffb3;border-color:rgba(57,255,136,.22);background:rgba(57,255,136,.10)}.state-expired{color:#ffadad;border-color:rgba(255,77,77,.24);background:rgba(255,77,77,.09)}.state-api_error{color:#ffd56f;border-color:rgba(255,205,96,.22);background:rgba(255,205,96,.10)}
.mv4-orders{display:grid;gap:10px;max-height:65vh;overflow:auto;padding-right:4px}.mv4-order{display:grid;grid-template-columns:1.1fr .9fr 1.2fr .55fr .9fr;gap:12px;align-items:center;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.mv4-order.head{position:sticky;top:0;z-index:1;background:rgba(10,16,20,.96)}.mv4-order span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv4-pay-state{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);color:#eaf0f4}.mv4-pay-state.paid{background:rgba(57,255,136,.10);border-color:rgba(57,255,136,.18);color:#7dffb3}.mv4-pay-state.pending{background:rgba(255,205,96,.10);border-color:rgba(255,205,96,.18);color:#ffd56f}
.mv4-ref-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.mv4-ref-link input{flex:1;min-width:0}.mv4-help-grid{display:grid;gap:12px}.mv4-help-grid a{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#f5f7f8;text-decoration:none}.mv4-help-grid i{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(57,255,136,.24),rgba(57,255,136,.10));color:#64ffab;font-style:normal;font-size:20px;font-weight:900}.mv4-help-grid b{display:block}.mv4-help-grid small{display:block;color:#93a0ab}
.mv4-empty{display:flex;align-items:center;gap:16px;padding:22px;border-radius:22px;background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.12)}.mv4-empty.compact{padding:16px}.mv4-empty-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(57,255,136,.12);border:1px solid rgba(57,255,136,.18);color:#75ffad;font-size:24px;font-weight:900}
.msp3-wrap{max-width:1480px;margin:0 auto;padding:18px}.msp3-home-grid{grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr);align-items:start}.msp3-inbox,.msp3-compose-card,.msp3-queue-card{border-radius:26px}.msp3-ticket-list{max-height:68vh;overflow:auto;padding-right:4px}.msp3-queue{max-height:70vh;overflow:auto;padding-right:4px}.msp3-heading h1{font-size:clamp(34px,4vw,56px);line-height:.96}.msp3-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.msp3-stats>*{min-height:124px}.msp3-filters{position:sticky;top:88px;z-index:6;background:rgba(8,12,15,.72);backdrop-filter:blur(14px);border-radius:18px;padding:8px}
@media(max-width:1280px){.mv4-app{grid-template-columns:1fr}.mv4-sidebar{position:static;min-height:auto}.mv4-stats-grid,.mv4-overview-grid,.mv4-ref-grid{grid-template-columns:1fr 1fr}.msp3-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1040px){.mv4-stats-grid,.mv4-overview-grid,.mv4-ref-grid,.mv4-config-grid{grid-template-columns:1fr}.mv4-order{grid-template-columns:1fr 1fr}.mv4-order span:nth-child(3),.mv4-order span:nth-child(4),.mv4-order span:nth-child(5){white-space:normal}.msp3-home-grid{grid-template-columns:1fr}.msp3-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mv4-app{padding:12px 12px 42px}.mv4-topbar,.mv4-card,.mv4-sidebar{padding:16px;border-radius:22px}.mv4-topbar{flex-direction:column}.mv4-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mv4-workspace-tabs{top:74px}.mv4-quick-grid{grid-template-columns:1fr}.mv4-config-meta,.mv4-ref-stats{grid-template-columns:1fr}.mv4-config-top{grid-template-columns:auto 1fr}.mv4-state{grid-column:1/-1;justify-self:start}.mv4-config-actions{justify-content:stretch}.mv4-config-actions .mv4-btn,.mv4-config-actions .mv4-icon-btn{flex:1}.mv4-order{grid-template-columns:1fr}.mv4-workspace-tabs button{flex:1}.mv4-sidebar-bottom{flex-direction:column}.msp3-stats{grid-template-columns:1fr}.msp3-topbar{flex-wrap:wrap;gap:12px}.msp3-topbar nav{order:3;width:100%;overflow:auto}}
@keyframes mv4Fade{from{opacity:.0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* === MattVPN VISUAL POLISH V5 START === */
:root{
  --mv5-bg:#05080b;
  --mv5-panel:rgba(8,12,15,.78);
  --mv5-panel-2:rgba(14,21,27,.82);
  --mv5-line:rgba(255,255,255,.09);
  --mv5-line-strong:rgba(57,255,136,.18);
  --mv5-text:#f4f7f9;
  --mv5-muted:#9aa8b3;
  --mv5-green:#39ff88;
  --mv5-green-2:#00d46a;
}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 18% 12%, rgba(57,255,136,.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(57,255,136,.07), transparent 26%),
    linear-gradient(180deg, #05080b 0%, #05090c 100%);
  color:var(--mv5-text);
}
body.matt-app-mode .footer{display:none}
body::-webkit-scrollbar,.mv4-config-grid::-webkit-scrollbar,.mv4-orders::-webkit-scrollbar,.mv4-mini-orders::-webkit-scrollbar,.msp3-ticket-list::-webkit-scrollbar,.msp3-queue::-webkit-scrollbar{width:10px;height:10px}
body::-webkit-scrollbar-thumb,.mv4-config-grid::-webkit-scrollbar-thumb,.mv4-orders::-webkit-scrollbar-thumb,.mv4-mini-orders::-webkit-scrollbar-thumb,.msp3-ticket-list::-webkit-scrollbar-thumb,.msp3-queue::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
body::-webkit-scrollbar-track,.mv4-config-grid::-webkit-scrollbar-track,.mv4-orders::-webkit-scrollbar-track,.mv4-mini-orders::-webkit-scrollbar-track,.msp3-ticket-list::-webkit-scrollbar-track,.msp3-queue::-webkit-scrollbar-track{background:transparent}

/* top nav */
.nav.nav-wow{
  position:sticky;top:10px;z-index:60;
  max-width:1280px;
  margin:10px auto 0;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(10,14,18,.78);
  backdrop-filter:blur(18px);
  box-shadow:0 12px 40px rgba(0,0,0,.28);
}
.brand-wow .brand-text{font-size:20px}
.nav-menu-wow a{
  color:#d7e0e7;
  font-weight:800;
  border-radius:12px;
  padding:10px 14px;
  transition:.18s ease;
}
.nav-menu-wow a:hover{
  background:rgba(255,255,255,.05);
  color:#fff;
}
.nav-dashboard{
  min-height:48px;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(57,255,136,.18);
}

/* home page */
.mh-page{
  max-width:1280px;
  margin:0 auto;
  padding:32px 18px 84px;
}
.mh-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:28px;
  align-items:center;
  min-height:640px;
  padding:42px 46px;
  border-radius:34px;
  border:1px solid var(--mv5-line);
  background:
    radial-gradient(circle at 74% 36%, rgba(57,255,136,.12), transparent 34%),
    radial-gradient(circle at 84% 52%, rgba(57,255,136,.09), transparent 26%),
    linear-gradient(135deg, rgba(12,17,21,.94), rgba(7,10,13,.9));
  box-shadow:0 26px 84px rgba(0,0,0,.38);
}
.mh-hero:after{
  content:"";
  position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:18px 18px;
  opacity:.18;
  pointer-events:none;
}
.mh-hero-left,.mh-float-zone{position:relative;z-index:1}
.mh-pill{
  display:inline-flex;align-items:center;gap:8px;
  min-height:42px;padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(57,255,136,.26);
  background:rgba(57,255,136,.08);
  color:#5cff9f;
  font-weight:900;
  letter-spacing:.12em;
}
.mh-hero h1{
  margin:20px 0 16px;
  font-size:clamp(56px,7vw,98px);
  line-height:.92;
  letter-spacing:-.06em;
  max-width:760px;
}
.mh-hero h1 span{color:#7fe2a8;opacity:.55}
.mh-hero p{
  max-width:620px;
  font-size:20px;
  line-height:1.62;
  color:#9ca8b1;
}
.mh-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.mh-btn{
  min-height:54px;
  padding:0 24px;
  border-radius:18px;
  font-weight:900;
  box-shadow:none;
}
.mh-btn.white{
  background:linear-gradient(135deg,#ffffff,#dfe6ea);
  color:#0b1115;
}
.mh-btn.dark{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.mh-mini-tags{display:flex;gap:16px;flex-wrap:wrap;margin-top:22px}
.mh-mini-tags span{color:#9ba9b3;font-weight:700}
.mh-float-zone{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.mh-card{
  min-height:138px;
  padding:22px 20px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(135deg, rgba(255,255,255,.05), rgba(57,255,136,.10));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mh-card:hover,.mh-services article:hover,.mh-prices article:hover,.mh-news article:hover,.mh-reviews article:hover{
  transform:translateY(-3px);
  border-color:rgba(57,255,136,.22);
  box-shadow:0 20px 50px rgba(0,0,0,.26);
}
.mh-card i{font-style:normal;font-size:24px}
.mh-card b{display:block;margin:18px 0 8px;font-size:38px;line-height:.96;letter-spacing:-.04em}
.mh-card span{display:block;color:#9baaB4;font-weight:700}
.mh-section{margin-top:60px}
.mh-title{margin-bottom:22px}
.mh-title b{font-size:18px;letter-spacing:.28em}
.mh-services{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.mh-services article,.mh-prices article,.mh-news article,.mh-reviews article{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(10,14,18,.84), rgba(14,21,27,.78));
  box-shadow:0 18px 54px rgba(0,0,0,.24);
}
.mh-services article{padding:24px}
.mh-services article h3{font-size:32px;line-height:.96;letter-spacing:-.04em;margin:10px 0}
.mh-services article p, .mh-services article li{color:#9eaab3}
.mh-services article strong{font-size:34px;letter-spacing:-.04em}
.mh-services article a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:0 18px;border-radius:15px;
  background:linear-gradient(135deg,#39ff88,#00d46a);color:#04130a;font-weight:900;margin:16px 0 14px;
}

/* dashboard / cabinet */
.mv4-app{
  max-width:1440px;
  margin:0 auto;
  padding:18px 18px 38px;
  gap:16px;
  grid-template-columns:220px minmax(0,1fr);
}
.mv4-sidebar,.mv4-card,.mv4-stat-card,.mv4-workspace-tabs,.msp3-topbar,.msp3-inbox,.msp3-compose-card,.msp3-queue-card{
  background:linear-gradient(180deg, rgba(10,14,18,.90), rgba(8,12,15,.82));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 22px 70px rgba(0,0,0,.34);
  backdrop-filter:blur(18px);
}
.mv4-sidebar{
  top:82px;
  padding:14px;
  border-radius:28px;
  gap:14px;
  min-height:calc(100vh - 104px);
}
.mv4-brand img{width:42px;height:42px}
.mv4-brand b{font-size:20px}
.mv4-user-card{
  padding:10px;
  border-radius:20px;
}
.mv4-avatar-upload img{width:54px;height:54px}
.mv4-nav-group{gap:7px}
.mv4-nav-btn,.mv4-nav-link,.mv4-sidebar-bottom a{
  min-height:46px;
  border:1px solid rgba(255,255,255,.06);
}
.mv4-nav-btn i,.mv4-nav-link i{
  width:24px;height:24px;border-radius:9px;
}
.mv4-main{gap:16px}
.mv4-topbar,.mv4-card{padding:22px;border-radius:30px}
.mv4-topbar{
  gap:16px;
  background:
    radial-gradient(circle at 82% 42%, rgba(57,255,136,.12), transparent 30%),
    linear-gradient(135deg,rgba(57,255,136,.08),rgba(255,255,255,.03) 34%,rgba(57,255,136,.04));
}
.mv4-topbar h1{
  font-size:clamp(30px,4vw,54px);
  line-height:.94;
  margin-bottom:10px;
}
.mv4-topbar p{font-size:15px;line-height:1.58}
.mv4-top-actions .mv4-btn{min-width:146px}
.mv4-stats-grid{gap:14px;grid-template-columns:repeat(4,minmax(0,1fr))}
.mv4-stat-card{
  padding:18px 20px;
  border-radius:24px;
  min-height:136px;
}
.mv4-stat-card strong{font-size:46px}
.mv4-workspace-tabs{
  top:78px;
  gap:8px;
  padding:8px;
  border-radius:20px;
  overflow:auto;
  flex-wrap:nowrap;
}
.mv4-workspace-tabs button{
  white-space:nowrap;
  min-height:44px;
  padding:0 15px;
}
.mv4-overview-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;align-items:start}
.mv4-card-head{margin-bottom:14px}
.mv4-card-head h2{font-size:clamp(28px,2.8vw,44px)}
.mv4-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mv4-quick{
  padding:16px;
  border-radius:18px;
}
.mv4-quick b{font-size:17px}
.mv4-quick small{font-size:13px}
.mv4-quick i,.mv4-channel-icon,.mv4-help-grid i{width:40px;height:40px;border-radius:13px}
.mv4-channel-item,.mv4-mini-order,.mv4-help-grid a,.mv4-ref-stats>div{
  border-radius:18px;
}
.mv4-mini-orders{max-height:335px;overflow:auto;padding-right:4px}
.mv4-config-toolbar{gap:8px}
.mv4-search{
  min-height:46px;
  min-width:250px;
}
.mv4-config-grid{
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:12px;
  max-height:58vh;
  overflow:auto;
  padding-right:4px;
}
.mv4-config-card{padding:16px;border-radius:22px}
.mv4-config-title b{font-size:19px}
.mv4-config-meta div{padding:11px 13px;border-radius:15px}
.mv4-config-actions .mv4-btn,.mv4-config-actions .mv4-icon-btn{min-height:44px}
.mv4-orders{max-height:58vh;overflow:auto;padding-right:4px}
.mv4-order{
  grid-template-columns:1fr .85fr 1.2fr .5fr .8fr;
  gap:10px;
  border-radius:16px;
  padding:13px 14px;
}
.mv4-order.head{
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(9,14,18,.96);
}
.mv4-ref-grid{grid-template-columns:1fr 1fr;gap:16px}
.mv4-empty{padding:20px;border-radius:20px}
.premium-dialog.mv3-dialog::backdrop{background:rgba(0,0,0,.68)}
.mv3-dialog-shell{
  max-width:1180px;
  width:min(1180px, calc(100vw - 26px));
  border-radius:28px;
}
.mv3-dialog-grid{gap:16px}
.mv3-dialog-card{
  border-radius:22px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.mv3-btn{
  min-height:46px;
  border-radius:15px;
}
.mv3-qr img.big-qr{max-width:220px}

/* support pages */
.msp3-wrap{
  max-width:1440px;
  margin:0 auto;
  padding:18px 18px 38px;
}
.msp3-topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:22px 24px;
  border-radius:30px;
  margin-bottom:16px;
  background:
    radial-gradient(circle at 82% 42%, rgba(57,255,136,.12), transparent 30%),
    linear-gradient(135deg,rgba(57,255,136,.08),rgba(255,255,255,.03) 34%,rgba(57,255,136,.04));
}
.msp3-heading h1{
  font-size:clamp(32px,4vw,54px);
  line-height:.95;
  margin:0 0 8px;
}
.msp3-heading p{margin:0;color:var(--mv5-muted);line-height:1.6}
.msp3-topbar nav,.msp3-topbar .msp3-actions{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
}
.msp3-topbar nav a,.msp3-topbar button,.msp3-wrap .btn{
  min-height:44px;
  padding:0 16px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-weight:850;
}
.msp3-topbar .primary,.msp3-wrap .btn-primary,.msp3-wrap .primary-btn,.msp3-wrap button[type="submit"]{
  background:linear-gradient(135deg,#39ff88,#00d46a);
  color:#04130a;
  border-color:rgba(57,255,136,.22);
}
.msp3-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.msp3-stats > *{
  min-height:128px;
  padding:18px 18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(10,14,18,.86), rgba(8,12,15,.78));
  box-shadow:0 16px 46px rgba(0,0,0,.24);
}
.msp3-home-grid{
  display:grid;
  grid-template-columns:420px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.msp3-inbox,.msp3-compose-card,.msp3-queue-card{
  padding:18px;
  border-radius:28px;
  overflow:hidden;
}
.msp3-inbox h2,.msp3-compose-card h2,.msp3-queue-card h2{
  margin:0 0 10px;
  font-size:40px;
  line-height:.96;
  letter-spacing:-.05em;
}
.msp3-ticket-list,.msp3-queue{
  max-height:66vh;
  overflow:auto;
  padding-right:4px;
}
.msp3-filters{
  position:sticky;
  top:78px;
  z-index:7;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:10px;
  margin-bottom:12px;
  border-radius:18px;
  background:rgba(9,13,17,.78);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
}
.msp3-wrap input,.msp3-wrap select,.msp3-wrap textarea{
  width:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#f5f7f8;
  border-radius:15px;
  outline:none;
}
.msp3-wrap input,.msp3-wrap select{min-height:46px;padding:0 14px}
.msp3-wrap textarea{min-height:220px;padding:14px}
.msp3-compose-card .quick-links,.msp3-compose-card .msp3-actions-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.msp3-compose-card .quick-links a,.msp3-compose-card .msp3-actions-grid a{
  display:grid;
  grid-template-columns:36px 1fr auto;
  gap:10px;
  align-items:center;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  text-decoration:none;
}
.msp3-ticket-item,.msp3-queue-item,.msp3-thread-item,.msp3-row{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.msp3-thread{
  max-height:56vh;
  overflow:auto;
  padding-right:4px;
}

/* responsive */
@media (max-width: 1280px){
  .mh-services{grid-template-columns:1fr 1fr}
  .mh-hero{grid-template-columns:1fr;min-height:auto}
  .mv4-app{grid-template-columns:1fr}
  .mv4-sidebar{position:static;min-height:auto}
  .mv4-stats-grid,.mv4-overview-grid,.mv4-ref-grid,.msp3-stats{grid-template-columns:1fr 1fr}
  .msp3-home-grid{grid-template-columns:1fr}
}
@media (max-width: 900px){
  .nav.nav-wow{margin:8px 10px 0}
  .mh-page,.mv4-app,.msp3-wrap{padding-left:12px;padding-right:12px}
  .mh-services,.mv4-stats-grid,.mv4-overview-grid,.mv4-ref-grid,.msp3-stats{grid-template-columns:1fr}
  .mv4-config-grid{grid-template-columns:1fr}
  .msp3-compose-card .quick-links,.msp3-compose-card .msp3-actions-grid{grid-template-columns:1fr}
  .mv4-order{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .mh-hero{padding:26px 22px;border-radius:24px}
  .mh-hero h1{font-size:clamp(38px,13vw,64px)}
  .mh-hero p{font-size:16px}
  .mh-float-zone{grid-template-columns:1fr}
  .mh-services{grid-template-columns:1fr}
  .mv4-topbar,.mv4-card,.mv4-sidebar,.msp3-topbar,.msp3-inbox,.msp3-compose-card,.msp3-queue-card{padding:16px;border-radius:22px}
  .mv4-topbar{flex-direction:column}
  .mv4-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mv4-workspace-tabs{top:70px}
  .mv4-workspace-tabs button{flex:1}
  .mv4-quick-grid{grid-template-columns:1fr}
  .mv4-config-top{grid-template-columns:auto 1fr}
  .mv4-state{grid-column:1/-1;justify-self:start}
  .msp3-topbar{flex-direction:column}
  .msp3-filters{top:70px}
}
/* === MattVPN VISUAL POLISH V5 END === */

/* ===== MATTVPN SUPPORT UI V6 ===== */
.ms6-app{min-height:100vh;background:radial-gradient(circle at 15% -8%,rgba(57,255,136,.08),transparent 26%),#050807;color:#f5f8f6;padding:16px 18px 38px}
.ms6-topbar{width:min(1380px,100%);min-height:68px;margin:0 auto 16px;padding:10px 14px;display:flex;align-items:center;gap:16px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:rgba(9,14,11,.84);backdrop-filter:blur(18px);box-shadow:0 18px 55px rgba(0,0,0,.28)}
.ms6-brand{display:flex;align-items:center;gap:10px;color:#fff!important;min-width:max-content}.ms6-brand img{width:40px;height:40px;border-radius:13px;object-fit:cover;box-shadow:0 0 24px rgba(57,255,136,.18)}.ms6-brand div{display:flex;flex-direction:column}.ms6-brand b{font-size:15px!important;color:#fff!important;line-height:1.1}.ms6-brand span{font-size:9px!important;color:#6f8075!important;text-transform:uppercase;letter-spacing:.12em;font-weight:850}
.ms6-nav{display:flex;align-items:center;gap:5px;overflow:auto}.ms6-nav a{padding:10px 13px;border-radius:12px;color:#8d9b92!important;font-size:11px!important;font-weight:850!important;white-space:nowrap}.ms6-nav a:hover,.ms6-nav a.active{background:rgba(255,255,255,.05);color:#eff6f1!important;transform:none!important}.ms6-nav a.active{box-shadow:inset 0 0 0 1px rgba(57,255,136,.12);color:#bfffd9!important}
.ms6-user{margin-left:auto;display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:13px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);min-width:max-content}.ms6-user b{display:block;font-size:10px!important;color:#dfe7e2!important}.ms6-user small{display:block;font-size:8px!important;color:#647168!important}.ms6-online{width:8px;height:8px;border-radius:50%;background:#39ff88;box-shadow:0 0 12px rgba(57,255,136,.85)}
.ms6-shell{width:min(1380px,100%);margin:0 auto;display:grid;gap:16px}
.ms6-hero,.ms6-ticket-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px;border:1px solid rgba(255,255,255,.08);border-radius:26px;background:radial-gradient(circle at 85% 35%,rgba(57,255,136,.11),transparent 28%),linear-gradient(135deg,#0d1510,#080d0a 55%,#0a100c);box-shadow:0 20px 64px rgba(0,0,0,.25)}
.ms6-kicker{display:block!important;margin-bottom:6px!important;color:#39ff88!important;font-size:9px!important;font-weight:950!important;letter-spacing:.16em!important;text-transform:uppercase!important}
.ms6-hero h1,.ms6-ticket-hero h1{margin:0 0 7px!important;font-size:clamp(30px,3.2vw,46px)!important;line-height:.98!important;letter-spacing:-.05em!important;color:#fff!important}.ms6-hero p,.ms6-ticket-hero p{margin:0!important;max-width:790px;color:#829087!important;font-size:12px!important;line-height:1.6!important}
.ms6-hero-actions{display:flex;align-items:center;gap:9px}.ms6-hero-stat{min-width:110px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}.ms6-hero-stat span{display:block!important;color:#718078!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-weight:900!important}.ms6-hero-stat strong{display:block;font-size:24px!important;line-height:1!important;color:#fff!important;margin-top:5px}
.ms6-btn{min-height:44px!important;padding:0 16px!important;border:1px solid rgba(57,255,136,.28)!important;border-radius:14px!important;background:linear-gradient(135deg,#39ff88,#12d66f)!important;color:#031108!important;font-size:11px!important;font-weight:950!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-shadow:0 10px 28px rgba(57,255,136,.13)!important;cursor:pointer!important;white-space:nowrap}.ms6-btn.secondary{background:#101612!important;border-color:rgba(255,255,255,.10)!important;color:#e8eeea!important;box-shadow:none!important}.ms6-btn.danger{background:rgba(255,107,107,.08)!important;border-color:rgba(255,107,107,.24)!important;color:#ff9b9b!important;box-shadow:none!important}.ms6-btn.full{width:100%}
.ms6-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;align-items:stretch}
.ms6-inbox,.ms6-compose,.ms6-ticket-side,.ms6-chat-card{border:1px solid rgba(255,255,255,.08);border-radius:26px;background:linear-gradient(180deg,#0a0f0c,#080c09);box-shadow:0 20px 64px rgba(0,0,0,.22)}
.ms6-inbox{padding:14px;display:grid;grid-template-rows:auto minmax(0,1fr);min-height:600px;max-height:calc(100vh - 180px);position:sticky;top:16px;overflow:hidden}
.ms6-inbox-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:7px 7px 13px;border-bottom:1px solid rgba(255,255,255,.06)}.ms6-inbox-head h2{margin:0!important;font-size:22px!important;letter-spacing:-.035em!important;color:#fff!important}.ms6-count{min-width:34px;height:34px;padding:0 9px;border-radius:11px;display:grid!important;place-items:center;background:rgba(57,255,136,.08);border:1px solid rgba(57,255,136,.16);color:#76ffae!important;font-size:12px!important;font-weight:950!important}
.ms6-ticket-list{overflow:auto;padding:8px 1px 0;display:grid;gap:7px;align-content:start}.ms6-ticket{padding:12px;border:1px solid rgba(255,255,255,.045);border-radius:15px;background:#080d0a;display:grid;gap:6px;transition:.16s ease}.ms6-ticket:hover{background:#0d1510;border-color:rgba(255,255,255,.10);transform:none!important}.ms6-ticket.unread{background:rgba(57,255,136,.04);border-color:rgba(57,255,136,.16)}.ms6-ticket-top,.ms6-ticket-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.ms6-ticket-top span{color:#708078!important;font-size:9px!important;font-weight:900!important}.ms6-ticket time{color:#59675f;font-size:8px}.ms6-ticket>b{color:#dfe8e2!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ms6-ticket p{margin:0!important;color:#66756c!important;font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ms6-ticket-bottom em,.ms6-ticket-bottom i{font-size:8px!important;font-style:normal;color:#65746b!important}.ms6-ticket-bottom em{color:#78ffae!important;font-weight:900!important}
.ms6-status,.ms6-priority{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:25px;padding:0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:#a8b3ac!important;font-size:8px!important;font-weight:900!important}.ms6-status.s-open{color:#7dffb1!important;border-color:rgba(57,255,136,.18);background:rgba(57,255,136,.07)}.ms6-status.s-in_progress{color:#a7d2ff!important;border-color:rgba(110,168,255,.18);background:rgba(110,168,255,.06)}.ms6-status.s-waiting_user{color:#ffd58a!important;border-color:rgba(247,185,85,.18);background:rgba(247,185,85,.06)}.ms6-status.s-closed{color:#849087!important}
.ms6-empty{min-height:160px;display:grid;place-items:center;align-content:center;text-align:center;gap:7px;color:#647168}.ms6-empty-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(57,255,136,.08);border:1px solid rgba(57,255,136,.14);color:#57fb9a;font-size:18px}.ms6-empty b{color:#aeb9b2!important;font-size:12px!important}.ms6-empty p{margin:0!important;color:#5d6b62!important;font-size:9px!important}
.ms6-compose{padding:22px;min-height:600px;display:flex;flex-direction:column}.ms6-compose-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:17px}.ms6-compose-head h2{margin:1px 0 5px!important;color:#f5f8f6!important;font-size:28px!important;letter-spacing:-.045em!important}.ms6-compose-head p{margin:0!important;max-width:720px;color:#738078!important;font-size:10px!important;line-height:1.55!important}.ms6-support-badge{display:flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border-radius:999px;background:rgba(57,255,136,.05);border:1px solid rgba(57,255,136,.13);color:#a7efc2;font-size:9px;font-weight:850;white-space:nowrap}.ms6-support-badge span{width:7px;height:7px;border-radius:50%;background:#39ff88;box-shadow:0 0 10px rgba(57,255,136,.8)}
.ms6-form{display:grid;gap:12px}.ms6-field{display:grid;gap:6px}.ms6-field>span{color:#819087!important;font-size:9px!important;font-weight:850!important}.ms6-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ms6-field input,.ms6-field select,.ms6-field textarea,.ms6-composer textarea{width:100%!important;background:#070b08!important;border:1px solid rgba(255,255,255,.09)!important;color:#e9efeb!important;border-radius:13px!important;outline:none!important;box-shadow:none!important;transition:border-color .15s ease,background .15s ease}.ms6-field input,.ms6-field select{height:44px!important;padding:0 12px!important;font-size:11px!important}.ms6-field textarea{min-height:210px!important;max-height:320px!important;padding:13px!important;font-size:11px!important;line-height:1.55!important;resize:vertical}.ms6-field input:focus,.ms6-field select:focus,.ms6-field textarea:focus,.ms6-composer textarea:focus{border-color:rgba(57,255,136,.28)!important;background:#09100b!important}.ms6-field input::placeholder,.ms6-field textarea::placeholder,.ms6-composer textarea::placeholder{color:#4f5c54!important}
.ms6-form-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}.ms6-file{min-height:50px;padding:7px 10px;display:flex;align-items:center;gap:9px;border:1px dashed rgba(255,255,255,.12);border-radius:13px;background:#080d0a;cursor:pointer;min-width:280px}.ms6-file input{display:none!important}.ms6-file-icon{width:32px;height:32px;border-radius:10px;display:grid!important;place-items:center;background:#111914;color:#98a69d!important;font-size:14px!important}.ms6-file b{display:block!important;color:#c2cbc5!important;font-size:10px!important}.ms6-file small{display:block!important;color:#627067!important;font-size:8px!important}.ms6-file.compact{min-width:0;min-height:42px;padding:5px 8px;border-style:solid}
.ms6-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.06)}.ms6-links>a{min-height:66px;padding:10px;display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;background:#080d0a;border:1px solid rgba(255,255,255,.055);border-radius:13px;color:inherit!important}.ms6-links>a:hover{background:#0c130e;border-color:rgba(57,255,136,.12);transform:none!important}.ms6-link-icon{width:34px;height:34px;border-radius:10px;display:grid!important;place-items:center;background:#111914;color:#9bab9f!important;font-size:13px!important}.ms6-links b{display:block!important;color:#c6d0c9!important;font-size:10px!important}.ms6-links small{display:block!important;color:#617067!important;font-size:8px!important}.ms6-links i{font-style:normal;color:#69796f}
.ms6-back{display:block!important;margin-bottom:8px;color:#7a887f!important;font-size:9px!important;font-weight:850!important}.ms6-ticket-badges{display:flex;gap:7px;align-items:center}.ms6-ticket-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}.ms6-ticket-side{padding:14px;display:grid;gap:10px;position:sticky;top:16px}.ms6-side-card{padding:15px;border-radius:16px;background:#080d0a;border:1px solid rgba(255,255,255,.055)}.ms6-side-card h3{margin:0 0 6px!important;font-size:20px!important;color:#fff!important}.ms6-side-card p{margin:0!important;color:#6d7a72!important;font-size:10px!important;line-height:1.5!important}.ms6-ticket-dl{margin:0;display:grid;gap:6px}.ms6-ticket-dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:12px;background:#080d0a}.ms6-ticket-dl dt{color:#65726a;font-size:9px}.ms6-ticket-dl dd{margin:0;color:#aeb9b2;font-size:9px;font-weight:850;text-align:right}.ms6-rating-box{padding:12px;border-radius:14px;background:#080d0a;border:1px solid rgba(255,255,255,.055)}.ms6-rating-box>b,.ms6-rating-box>span{display:block!important}.ms6-rating-box>b{font-size:10px!important}.ms6-rating-box>span{margin-top:4px;color:#748178!important;font-size:9px!important}.ms6-rating{display:flex;gap:4px;margin-top:8px}.ms6-rating button{padding:5px 7px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#111914;color:#d9e4dd;font-size:8px;cursor:pointer}
.ms6-chat-card{overflow:hidden}.ms6-chat-head{height:54px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.06)}.ms6-chat-head>div{display:flex;align-items:center;gap:8px}.ms6-chat-head b{font-size:11px!important}.ms6-chat-head>span{color:#67746c!important;font-size:8px!important}.ms6-live{width:8px;height:8px;border-radius:50%;background:#39ff88;box-shadow:0 0 12px rgba(57,255,136,.8)}.ms6-chat{height:min(56vh,560px);min-height:380px;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.ms6-message{width:min(76%,720px);padding:11px 13px;border-radius:15px;background:#101713;border:1px solid rgba(255,255,255,.06)}.ms6-message.user{align-self:flex-end;background:rgba(57,255,136,.07);border-color:rgba(57,255,136,.12)}.ms6-message.support{align-self:flex-start}.ms6-msg-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px}.ms6-msg-meta b{font-size:9px!important;color:#bfcac3!important}.ms6-msg-meta time{font-size:7px;color:#5f6c64}.ms6-msg-text{white-space:pre-wrap;color:#aeb9b2!important;font-size:10px!important;line-height:1.55!important}.ms6-attachment{display:inline-flex!important;margin-top:7px;padding:6px 8px;border-radius:8px;background:#080d0a;color:#78ffae!important;font-size:8px!important}.ms6-composer{padding:12px;border-top:1px solid rgba(255,255,255,.06);display:grid;gap:8px}.ms6-composer textarea{min-height:78px!important;max-height:150px!important;padding:10px!important;resize:vertical;font-size:10px!important}.ms6-composer>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.ms6-chat-closed{padding:14px;border-top:1px solid rgba(255,255,255,.06);color:#77847c;font-size:9px;text-align:center}
@media(max-width:980px){.ms6-layout{grid-template-columns:1fr}.ms6-inbox{position:static;min-height:auto;max-height:none}.ms6-ticket-list{max-height:300px}.ms6-ticket-layout{grid-template-columns:1fr}.ms6-ticket-side{position:static}.ms6-hero{align-items:flex-start;flex-direction:column}.ms6-hero-actions{width:100%;flex-wrap:wrap}.ms6-hero-stat{flex:1}.ms6-hero-actions .ms6-btn{flex:1}.ms6-user{display:none}}
@media(max-width:720px){.ms6-app{padding:8px}.ms6-topbar{border-radius:16px;gap:8px;min-height:60px}.ms6-brand div{display:none}.ms6-nav{width:100%}.ms6-nav a{font-size:9px!important;padding:8px 9px}.ms6-shell{gap:10px}.ms6-hero,.ms6-ticket-hero,.ms6-compose,.ms6-inbox,.ms6-ticket-side{padding:15px;border-radius:18px}.ms6-hero h1,.ms6-ticket-hero h1{font-size:30px!important}.ms6-field-row{grid-template-columns:1fr}.ms6-form-bottom{flex-direction:column;align-items:stretch}.ms6-file{min-width:0;width:100%}.ms6-form-bottom .ms6-btn{width:100%}.ms6-links{grid-template-columns:1fr}.ms6-compose{min-height:auto}.ms6-message{width:92%}.ms6-chat{min-height:340px;height:50vh}.ms6-ticket-hero{align-items:flex-start;flex-direction:column}}
/* ===== /MATTVPN SUPPORT UI V6 ===== */

/* ===== MATTVPN ADMIN SUPPORT V7 ===== */
.ma7-app{
  min-height:100vh;
  background:radial-gradient(circle at 12% -8%,rgba(57,255,136,.08),transparent 28%),#050807;
  color:#f3f6f4;
  padding:16px 18px 38px;
}
.ma7-shell{width:min(1440px,100%);margin:0 auto;display:grid;gap:16px}
.ma7-topbar,.ma7-hero,.ma7-toolbar,.ma7-queue-card,.ma7-chat-card,.ma7-side-card{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(10,14,18,.92),rgba(8,12,15,.86));
  box-shadow:0 22px 70px rgba(0,0,0,.30);
  backdrop-filter:blur(16px);
}
.ma7-topbar{
  width:min(1440px,100%);
  margin:0 auto 16px;
  min-height:72px;
  padding:12px 16px;
  border-radius:24px;
  display:flex;
  align-items:center;
  gap:16px;
}
.ma7-brand{display:flex;align-items:center;gap:10px;color:#fff!important;min-width:max-content}
.ma7-brand img{width:40px;height:40px;border-radius:12px;object-fit:cover;box-shadow:0 0 24px rgba(57,255,136,.16)}
.ma7-brand div{display:flex;flex-direction:column}
.ma7-brand b{font-size:16px!important;line-height:1.05;color:#fff!important}
.ma7-brand span{font-size:10px!important;letter-spacing:.14em;text-transform:uppercase;color:#698072!important;font-weight:900}
.ma7-nav{display:flex;align-items:center;gap:6px;overflow:auto}
.ma7-nav a{
  min-height:42px;padding:0 14px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  white-space:nowrap;color:#95a39b!important;font-size:12px!important;font-weight:850!important
}
.ma7-nav a:hover,.ma7-nav a.active{background:rgba(255,255,255,.05);color:#f4f7f5!important}
.ma7-nav a.active{box-shadow:inset 0 0 0 1px rgba(57,255,136,.16);color:#bfffd8!important}
.ma7-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.ma7-btn{
  min-height:44px;padding:0 16px;border-radius:14px;border:1px solid rgba(57,255,136,.22);
  background:linear-gradient(135deg,#39ff88,#11d76f);color:#031008;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-weight:900!important;font-size:12px!important;white-space:nowrap;
  box-shadow:0 10px 28px rgba(57,255,136,.13)
}
.ma7-btn.ghost{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
  color:#ecf4ef;
  box-shadow:none;
}
.ma7-btn.square{width:44px;padding:0}
.ma7-btn.full{width:100%}
.ma7-kicker{
  display:block!important;margin-bottom:6px;color:#39ff88!important;font-size:10px!important;
  text-transform:uppercase;letter-spacing:.16em;font-weight:950!important
}
.ma7-hero{
  border-radius:28px;
  padding:24px 26px;
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  background:
    radial-gradient(circle at 86% 34%, rgba(57,255,136,.12), transparent 28%),
    linear-gradient(135deg,#0d1510,#080d0a 55%,#0a100c);
}
.ma7-hero.ticket{align-items:flex-start}
.ma7-hero h1{margin:0 0 8px!important;font-size:clamp(34px,4vw,54px)!important;line-height:.96!important;letter-spacing:-.05em!important;color:#fff!important}
.ma7-hero p{margin:0!important;max-width:820px;color:#809087!important;font-size:13px!important;line-height:1.6!important}
.ma7-hero-side{display:flex;gap:10px}
.ma7-mini-card{
  min-width:130px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08)
}
.ma7-mini-card span{display:block;color:#718078!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.ma7-mini-card b{display:block;margin-top:6px;color:#fff!important;font-size:28px!important;line-height:1}
.ma7-stats{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
}
.ma7-stat{
  min-height:130px;padding:18px 20px;border-radius:22px;border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(10,14,18,.90),rgba(8,12,15,.82));
  box-shadow:0 16px 46px rgba(0,0,0,.24)
}
.ma7-stat.hot{border-color:rgba(57,255,136,.22);box-shadow:0 16px 46px rgba(57,255,136,.06)}
.ma7-stat span{display:block;color:#728079!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.ma7-stat strong{display:block;margin:8px 0 6px;font-size:44px!important;line-height:1;color:#fff!important}
.ma7-stat small{display:block;color:#7c8a82!important;font-size:11px!important}
.ma7-queue-card{border-radius:28px;padding:16px}
.ma7-filterbar{
  display:grid;grid-template-columns:minmax(320px,1fr) 220px 220px auto auto;gap:10px;
  padding:10px;border-radius:18px;background:rgba(8,12,15,.82);
  border:1px solid rgba(255,255,255,.08);position:sticky;top:16px;z-index:5
}
.ma7-search{
  min-height:46px;padding:0 12px;display:flex;align-items:center;gap:10px;
  border-radius:14px;background:#0a0f0c;border:1px solid rgba(255,255,255,.08)
}
.ma7-search span{color:#7e8c83}
.ma7-filterbar input,.ma7-filterbar select,.ma7-state-form select,.ma7-composer textarea,.ma7-note-form textarea{
  width:100%;background:#0a0f0c;border:1px solid rgba(255,255,255,.08);color:#eef4f0;
  border-radius:14px;outline:none;box-shadow:none
}
.ma7-filterbar input{border:0;background:transparent;height:44px;padding:0;font-size:12px!important}
.ma7-filterbar select,.ma7-state-form select{min-height:46px;padding:0 12px;font-size:12px!important}
.ma7-queue-head,.ma7-row{
  display:grid;grid-template-columns:170px 230px minmax(260px,1fr) 220px 150px;gap:14px;align-items:center
}
.ma7-queue-head{
  min-height:42px;padding:0 12px;margin-top:14px;border-radius:14px;background:rgba(255,255,255,.03);
  color:#66736b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em
}
.ma7-queue-list{display:grid;gap:8px;margin-top:10px;max-height:62vh;overflow:auto;padding-right:4px}
.ma7-row{
  padding:14px 12px;border-radius:16px;border:1px solid rgba(255,255,255,.06);
  background:#0a0f0c;color:#b8c2bc;transition:.16s ease
}
.ma7-row:hover{border-color:rgba(255,255,255,.11);background:#0d1510}
.ma7-row.unread{border-color:rgba(57,255,136,.16);background:rgba(57,255,136,.04)}
.ma7-row .cell{min-width:0}
.ma7-row .ticket b,.ma7-row .client b,.ma7-row .date b{display:block;color:#eff5f1!important;font-size:13px!important}
.ma7-row .ticket small,.ma7-row .client small,.ma7-row .date small{display:block;margin-top:4px;color:#748178!important;font-size:11px!important}
.ma7-row .preview{
  color:#98a59e;font-size:12px!important;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ma7-row .state{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ma7-badge{
  display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;
  border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);
  color:#b3beb8;font-size:10px!important;font-weight:900!important
}
.ma7-badge.status.s-open{color:#83ffb7;border-color:rgba(57,255,136,.18);background:rgba(57,255,136,.08)}
.ma7-badge.status.s-in_progress{color:#b5d2ff;border-color:rgba(125,170,255,.18);background:rgba(125,170,255,.08)}
.ma7-badge.status.s-waiting_user{color:#ffe2a4;border-color:rgba(255,205,120,.18);background:rgba(255,205,120,.08)}
.ma7-badge.status.s-closed{color:#c2ccd0;border-color:rgba(255,255,255,.12)}
.ma7-badge.priority.p-high{color:#ffb3b3;border-color:rgba(255,105,105,.20);background:rgba(255,105,105,.08)}
.ma7-badge.priority.p-urgent{color:#ffd7b0;border-color:rgba(255,153,64,.20);background:rgba(255,153,64,.08)}
.ma7-row em{
  min-width:24px;height:24px;border-radius:8px;display:grid;place-items:center;
  background:#39ff88;color:#031108;font-size:10px;font-style:normal;font-weight:950
}
.ma7-empty{
  min-height:180px;display:grid;place-items:center;align-content:center;text-align:center;gap:7px;color:#657169
}
.ma7-empty-icon{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  background:rgba(57,255,136,.08);border:1px solid rgba(57,255,136,.16);color:#63ff9e;font-size:18px
}
.ma7-empty b{color:#c5cfca!important;font-size:14px!important}
.ma7-empty p{margin:0!important;color:#6a7670!important;font-size:12px!important}

.ma7-toolbar{
  border-radius:24px;padding:14px 16px;display:grid;
  grid-template-columns:minmax(250px,1fr) auto minmax(460px,auto);gap:12px;align-items:end
}
.ma7-assignee{padding:12px 14px;border-radius:16px;background:#0a0f0c;border:1px solid rgba(255,255,255,.06)}
.ma7-assignee span{display:block;color:#708078!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.ma7-assignee b{display:block;margin-top:6px;color:#f0f5f2!important;font-size:15px!important}
.ma7-state-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
.ma7-state-form label{display:grid;gap:6px}
.ma7-state-form label span{color:#809088!important;font-size:10px!important;font-weight:850}

.ma7-ticket-layout{display:grid;grid-template-columns:minmax(0,1.35fr) 380px;gap:16px;align-items:start}
.ma7-chat-card{border-radius:28px;overflow:hidden;display:grid;grid-template-rows:auto minmax(420px,1fr) auto}
.ma7-chat-head{
  min-height:56px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;
  border-bottom:1px solid rgba(255,255,255,.06);background:#0b100d
}
.ma7-chat-head>div{display:flex;align-items:center;gap:8px}
.ma7-chat-head b{font-size:13px!important;color:#edf3ef!important}
.ma7-chat-head>span{color:#6f7c74!important;font-size:11px!important}
.ma7-live{width:8px;height:8px;border-radius:50%;background:#39ff88;box-shadow:0 0 12px rgba(57,255,136,.8)}
.ma7-chat{
  max-height:62vh;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:10px;background:#070a08
}
.ma7-message{
  width:min(78%,760px);padding:12px 13px;border-radius:16px;border:1px solid rgba(255,255,255,.08);
  background:#0c110e
}
.ma7-message.client{align-self:flex-start}
.ma7-message.support{align-self:flex-end;background:rgba(57,255,136,.05);border-color:rgba(57,255,136,.14)}
.ma7-msg-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}
.ma7-msg-meta b{font-size:12px!important;color:#eef4f0!important}
.ma7-msg-meta time{color:#6f7c74!important;font-size:10px!important}
.ma7-msg-text{white-space:pre-wrap;color:#bfc9c4;font-size:13px!important;line-height:1.58}
.ma7-attachment{
  margin-top:8px;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border-radius:10px;
  background:#111713;border:1px solid rgba(255,255,255,.08);color:#dfe7e2!important;font-size:11px!important;font-weight:800
}
.ma7-composer{padding:14px;border-top:1px solid rgba(255,255,255,.06);background:#0a0f0c;display:grid;gap:10px}
.ma7-composer textarea{
  min-height:130px;padding:12px 13px;font-size:13px!important;line-height:1.58;resize:vertical
}
.ma7-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ma7-file{
  min-height:42px;padding:0 10px;border-radius:12px;border:1px dashed rgba(255,255,255,.12);
  background:#0f1511;display:flex;align-items:center;gap:8px;cursor:pointer
}
.ma7-file input{display:none!important}
.ma7-file span{
  width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#131a15;color:#a8b3ac
}
.ma7-file small{color:#c5cfca;font-size:11px!important}
.ma7-wait{display:flex;align-items:center;gap:8px;color:#aeb9b2;font-size:12px!important}
.ma7-wait input{accent-color:#39ff88}
.ma7-side{display:grid;gap:16px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto;padding-right:4px}
.ma7-side-card{border-radius:24px;padding:16px}
.ma7-client-head{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.ma7-avatar{
  width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  background:rgba(57,255,136,.08);border:1px solid rgba(57,255,136,.18);color:#7bffb2;font-size:22px;font-weight:900
}
.ma7-client-head h2{margin:0 0 4px!important;font-size:20px!important;color:#fff!important}
.ma7-client-head p{margin:0!important;color:#7b887f!important;font-size:12px!important}
.ma7-dl{margin:0;display:grid;gap:8px}
.ma7-dl div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid rgba(255,255,255,.06)}
.ma7-dl dt{color:#6f7c74;font-size:11px!important}
.ma7-dl dd{margin:0;color:#d7dfda;font-size:11px!important;text-align:right}
.ma7-side-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.ma7-side-head b{font-size:16px!important;color:#edf4ef!important}
.ma7-side-head em{font-style:normal;color:#7d8a82;font-size:12px!important}
.ma7-mini-list{display:grid;gap:8px}
.ma7-mini-list article{
  padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.06);background:#0a0f0c
}
.ma7-mini-list article div{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.ma7-mini-list b{display:block;color:#eef4f0!important;font-size:12px!important}
.ma7-mini-list span,.ma7-mini-list small,.ma7-mini-list p{color:#829088!important;font-size:11px!important;line-height:1.45}
.ma7-note-form{display:grid;gap:10px;margin-bottom:10px}
.ma7-note-form textarea{
  min-height:110px;padding:12px 13px;font-size:12px!important;line-height:1.55;resize:vertical
}
.ma7-ticket-badges{display:flex;gap:8px;flex-wrap:wrap}

@media (max-width: 1280px){
  .ma7-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ma7-filterbar{grid-template-columns:1fr 1fr 1fr auto auto}
  .ma7-queue-head,.ma7-row{grid-template-columns:150px 200px minmax(180px,1fr) 190px 130px}
  .ma7-ticket-layout{grid-template-columns:1fr}
  .ma7-side{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 900px){
  .ma7-topbar,.ma7-hero,.ma7-toolbar,.ma7-queue-card,.ma7-chat-card,.ma7-side-card{border-radius:20px}
  .ma7-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma7-filterbar{grid-template-columns:1fr 1fr}
  .ma7-search{grid-column:1/-1}
  .ma7-filterbar .ma7-btn{width:100%}
  .ma7-queue-head{display:none}
  .ma7-queue-list{max-height:none}
  .ma7-row{grid-template-columns:1fr auto;gap:8px}
  .ma7-row .client,.ma7-row .preview{grid-column:1/-1}
  .ma7-row .state{grid-column:2;grid-row:1}
  .ma7-row .date{display:none}
  .ma7-toolbar{grid-template-columns:1fr}
  .ma7-state-form{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .ma7-app{padding:8px}
  .ma7-topbar{padding:10px 12px;gap:10px;flex-wrap:wrap}
  .ma7-brand div{display:none}
  .ma7-nav{width:100%;order:3}
  .ma7-actions{margin-left:0;width:100%}
  .ma7-actions .ma7-btn{flex:1}
  .ma7-hero{padding:18px;flex-direction:column;align-items:flex-start}
  .ma7-hero-side{width:100%}
  .ma7-mini-card{flex:1}
  .ma7-stats{grid-template-columns:1fr}
  .ma7-side{grid-template-columns:1fr}
  .ma7-message{width:92%}
  .ma7-composer-bottom{align-items:stretch;flex-direction:column}
  .ma7-composer-bottom .ma7-btn,.ma7-file{width:100%}
}
/* ===== /MATTVPN ADMIN SUPPORT V7 ===== */

/* ===== MATTVPN TELEGRAM MINI APP V1 ===== */
html.matt-telegram-webapp,
html.matt-telegram-webapp body{background:#050807!important}
html.matt-telegram-webapp body{min-height:var(--tg-app-height,100vh)!important}
html.matt-telegram-webapp .nav,
html.matt-telegram-webapp .nav-wow,
html.matt-telegram-webapp .footer{display:none!important}
html.matt-telegram-webapp .ms6-app{
  min-height:var(--tg-app-height,100vh)!important;
  padding:8px 8px max(12px,env(safe-area-inset-bottom))!important
}
html.matt-telegram-webapp .ms6-topbar{
  margin-bottom:8px!important;min-height:56px!important;border-radius:16px!important
}
html.matt-telegram-webapp .ms6-topbar .ms6-nav{display:none!important}
html.matt-telegram-webapp .ms6-topbar .ms6-user{margin-left:auto!important}
html.matt-telegram-webapp .ms6-shell{gap:8px!important}
html.matt-telegram-webapp .ms6-hero,
html.matt-telegram-webapp .ms6-ticket-hero{
  border-radius:18px!important;padding:15px!important
}
html.matt-telegram-webapp .ms6-hero h1,
html.matt-telegram-webapp .ms6-ticket-hero{font-size:28px!important}
html.matt-telegram-webapp .ms6-hero p,
html.matt-telegram-webapp .ms6-ticket-hero p{font-size:10px!important}
html.matt-telegram-webapp .ms6-layout{grid-template-columns:1fr!important;gap:8px!important}
html.matt-telegram-webapp .ms6-inbox{
  position:static!important;min-height:auto!important;max-height:none!important;border-radius:18px!important
}
html.matt-telegram-webapp .ms6-ticket-list{max-height:245px!important}
html.matt-telegram-webapp .ms6-compose{
  min-height:auto!important;padding:15px!important;border-radius:18px!important
}
html.matt-telegram-webapp .ms6-support-badge{display:none!important}
html.matt-telegram-webapp .ms6-field-row{grid-template-columns:1fr!important}
html.matt-telegram-webapp .ms6-field textarea{min-height:145px!important}
html.matt-telegram-webapp .ms6-links{grid-template-columns:1fr!important;margin-top:12px!important}
html.matt-telegram-webapp .ms6-ticket-layout{grid-template-columns:1fr!important;gap:8px!important}
html.matt-telegram-webapp .ms6-ticket-side{position:static!important;border-radius:18px!important}
html.matt-telegram-webapp .ms6-chat-card{border-radius:18px!important}
html.matt-telegram-webapp .ms6-chat{
  height:calc(var(--tg-app-height,100vh) - 330px)!important;
  min-height:310px!important;max-height:58vh!important
}
html.matt-telegram-webapp .ms6-message{width:88%!important}
@media(max-width:720px){
  html.matt-telegram-webapp .ms6-user{display:flex!important}
  html.matt-telegram-webapp .ms6-brand div{display:flex!important}
  html.matt-telegram-webapp .ms6-hero-actions{display:none!important}
}
/* ===== /MATTVPN TELEGRAM MINI APP V1 ===== */

/* ===== MATTVPN SITE VISUAL FIX V8 ===== */

/* NETWORK */
.network-page{
  width:min(1180px, calc(100% - 28px))!important;
  min-height:calc(100vh - 220px)!important;
  margin:0 auto!important;
  padding:34px 0 64px!important;
}
.network-page .section-head{
  max-width:760px!important;
  margin:0 auto 28px!important;
  text-align:center!important;
}
.network-page .section-head span{
  color:#39ff88!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  font-size:11px!important;
}
.network-page .section-head h1{
  margin:8px 0 10px!important;
  color:#f4f7f5!important;
  font-size:clamp(40px,6vw,68px)!important;
  letter-spacing:-.055em!important;
  line-height:.95!important;
}
.network-page .section-head p{
  color:#8c9a92!important;
  font-size:15px!important;
  line-height:1.55!important;
}
.network-status-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  max-width:none!important;
  width:100%!important;
  margin:0!important;
}
.network-card{
  position:relative!important;
  min-height:205px!important;
  padding:22px!important;
  overflow:hidden!important;
  border-radius:24px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:radial-gradient(circle at 85% 18%,rgba(57,255,136,.11),transparent 36%),linear-gradient(160deg,#0d1510,#080d0a)!important;
  color:#f5f8f6!important;
  box-shadow:0 18px 50px rgba(0,0,0,.26)!important;
}
.network-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(57,255,136,.20)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.32)!important;
}
.network-card .live-dot{
  display:block!important;
  width:10px!important;
  height:10px!important;
  margin:0 0 18px!important;
  border-radius:50%!important;
  background:#39ff88!important;
  box-shadow:0 0 0 7px rgba(57,255,136,.08),0 0 18px rgba(57,255,136,.55)!important;
}
.network-card b{
  display:block!important;
  min-height:48px!important;
  margin:0!important;
  color:#f3f7f4!important;
  font-size:18px!important;
  line-height:1.25!important;
  letter-spacing:-.02em!important;
}
.network-card p{
  margin:13px 0 8px!important;
  color:#fff!important;
  font-size:34px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.045em!important;
}
.network-card small{
  display:block!important;
  color:#829087!important;
  font-size:11px!important;
  font-weight:700!important;
}

/* SETTINGS */
.settings-card.auth.auth-pro{
  width:min(540px, calc(100vw - 28px))!important;
  margin:54px auto 90px!important;
  padding:28px!important;
  border-radius:28px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:radial-gradient(circle at 90% 5%,rgba(57,255,136,.09),transparent 30%),linear-gradient(165deg,#0d1510,#080d0a)!important;
  color:#f5f8f6!important;
  box-shadow:0 26px 80px rgba(0,0,0,.34)!important;
}
.settings-card h1{
  margin:0 0 22px!important;
  color:#fff!important;
  font-size:36px!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
}
.settings-card form{
  display:grid!important;
  gap:14px!important;
}
.settings-card label{
  margin:0!important;
  color:#b6c1ba!important;
  font-size:12px!important;
  font-weight:850!important;
}
.settings-card input{
  width:100%!important;
  height:50px!important;
  margin-top:8px!important;
  padding:0 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:#070b08!important;
  color:#f5f8f6!important;
  outline:none!important;
}
.settings-card input:focus{
  border-color:rgba(57,255,136,.35)!important;
  box-shadow:0 0 0 3px rgba(57,255,136,.06)!important;
}
.settings-card button{
  width:100%!important;
  min-height:48px!important;
  margin-top:4px!important;
  border-radius:14px!important;
  border:1px solid rgba(57,255,136,.24)!important;
  background:linear-gradient(135deg,#39ff88,#0fd46d)!important;
  color:#031108!important;
  font-weight:950!important;
  box-shadow:0 12px 32px rgba(57,255,136,.12)!important;
}
.settings-card .muted,
.settings-card .center{
  margin:16px 0 0!important;
  text-align:center!important;
}
.settings-card a{
  color:#8e9b93!important;
  font-size:12px!important;
  font-weight:800!important;
}
.settings-card a:hover{color:#c5d0c9!important}
.settings-card .success{
  padding:10px 12px!important;
  border-radius:12px!important;
  border:1px solid rgba(57,255,136,.16)!important;
  background:rgba(57,255,136,.06)!important;
  color:#8affb4!important;
}

/* DASHBOARD SIDEBAR */
.mv4-app{grid-template-columns:226px minmax(0,1fr)!important}
.mv4-sidebar{
  width:226px!important;
  min-width:226px!important;
  padding:13px!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.mv4-brand{padding:3px 4px 8px!important}
.mv4-brand img{width:38px!important;height:38px!important}
.mv4-brand b{font-size:17px!important}
.mv4-user-card{padding:9px!important;border-radius:17px!important}
.mv4-user-card img,.mv4-avatar-upload img{
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
}
.mv4-nav-group{gap:6px!important}
.mv4-nav-btn,.mv4-nav-link{
  min-height:42px!important;
  padding:0 10px!important;
  border-radius:13px!important;
  font-size:12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.mv4-nav-btn i,.mv4-nav-link i{
  width:25px!important;
  min-width:25px!important;
  height:25px!important;
  border-radius:8px!important;
}
.mv4-sidebar-bottom{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  width:100%!important;
  margin-top:auto!important;
}
.mv4-sidebar-bottom a{
  width:100%!important;
  min-width:0!important;
  min-height:40px!important;
  padding:0 10px!important;
  border-radius:12px!important;
  justify-content:center!important;
  overflow:hidden!important;
}

/* fallback for older dashboard sidebar */
.app-shell{grid-template-columns:226px minmax(0,1fr)!important}
.app-sidebar{
  width:226px!important;
  min-width:226px!important;
  padding:14px!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.app-sidebar .sidebar-nav{gap:6px!important}
.app-sidebar .sidebar-nav a{
  padding:10px 11px!important;
  border-radius:13px!important;
  font-size:12px!important;
}

@media(max-width:1180px){
  .network-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mv4-app,.app-shell{grid-template-columns:1fr!important}
  .mv4-sidebar,.app-sidebar{
    width:100%!important;
    min-width:0!important;
    position:static!important;
  }
  .mv4-sidebar-bottom{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .network-page{
    width:min(100% - 20px,1180px)!important;
    padding-top:20px!important;
  }
  .network-status-grid{grid-template-columns:1fr!important}
  .network-card{min-height:170px!important}
  .settings-card.auth.auth-pro{
    margin:24px auto 50px!important;
    padding:20px!important;
    border-radius:22px!important;
  }
  .settings-card h1{font-size:30px!important}
}
/* ===== /MATTVPN SITE VISUAL FIX V8 ===== */

/* ===== MATTVPN NEWS PAGE FIX V9 ===== */

.news-page{
  width:min(1180px, calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:26px 0 72px!important;
  min-height:calc(100vh - 210px)!important;
}

.news-page .section-head{
  width:min(780px,100%)!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}

.news-page .section-head > span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto 8px!important;
  color:#39ff88!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

.news-page .section-head h2,
.news-page .section-head h1{
  margin:0 0 10px!important;
  color:#f4f7f5!important;
  font-size:clamp(42px,6vw,68px)!important;
  line-height:.96!important;
  letter-spacing:-.055em!important;
}

.news-page .section-head p{
  max-width:700px!important;
  margin:0 auto!important;
  color:#84928a!important;
  font-size:15px!important;
  line-height:1.6!important;
}

.news-page .news-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  max-width:1120px!important;
  margin:0 auto!important;
  align-items:stretch!important;
}

/* Самое главное: старый empty-state растягивался на всю ширину
   и разбрасывал иконку и текст по разным краям страницы. */
.news-page .news-grid > .empty-state-premium{
  grid-column:1 / -1!important;
  width:min(620px,100%)!important;
  min-height:210px!important;
  margin:18px auto 0!important;
  padding:30px!important;

  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;

  text-align:center!important;

  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(57,255,136,.10),transparent 42%),
    linear-gradient(160deg,#0d1510,#080d0a)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.26)!important;
}

.news-page .empty-state-premium .empty-icon{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  margin:0!important;

  display:grid!important;
  place-items:center!important;

  border:1px solid rgba(57,255,136,.17)!important;
  border-radius:18px!important;
  background:rgba(57,255,136,.07)!important;
  color:#83ffb4!important;

  font-size:25px!important;
  line-height:1!important;
  box-shadow:none!important;
}

.news-page .empty-state-premium > div:last-child{
  display:block!important;
  width:100%!important;
  max-width:460px!important;
  margin:0 auto!important;
  text-align:center!important;
}

.news-page .empty-state-premium b{
  display:block!important;
  margin:0 0 7px!important;
  color:#f4f7f5!important;
  font-size:20px!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
}

.news-page .empty-state-premium p{
  margin:0!important;
  color:#7f8d85!important;
  font-size:13px!important;
  line-height:1.55!important;
}

/* Нормальные карточки, когда новости появятся */
.news-page .news-card{
  overflow:hidden!important;
  min-height:280px!important;
  padding:0 0 22px!important;

  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:26px!important;
  background:linear-gradient(160deg,#0d1510,#080d0a)!important;
  color:#f4f7f5!important;
  box-shadow:0 20px 60px rgba(0,0,0,.24)!important;
}

.news-page .news-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(57,255,136,.18)!important;
}

.news-page .news-card img{
  display:block!important;
  width:100%!important;
  height:170px!important;
  object-fit:cover!important;
  margin:0 0 18px!important;
  border-radius:0!important;
}

.news-page .news-card > :not(img){
  margin-left:22px!important;
  margin-right:22px!important;
}

.news-page .news-card .eyebrow{
  color:#39ff88!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}

.news-page .news-card h3{
  margin-top:8px!important;
  margin-bottom:9px!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1.15!important;
  letter-spacing:-.03em!important;
}

.news-page .news-card p{
  margin-top:0!important;
  color:#87958d!important;
  font-size:13px!important;
  line-height:1.6!important;
  white-space:pre-line!important;
}

@media(max-width:900px){
  .news-page .news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .news-page{
    width:calc(100% - 20px)!important;
    padding-top:20px!important;
  }

  .news-page .section-head{
    margin-bottom:24px!important;
  }

  .news-page .news-grid{
    grid-template-columns:1fr!important;
  }

  .news-page .news-grid > .empty-state-premium{
    min-height:185px!important;
    padding:24px 18px!important;
    border-radius:22px!important;
  }
}

/* ===== /MATTVPN NEWS PAGE FIX V9 ===== */

/* ===== MATTVPN SUPPORT IMAGE PREVIEW V5 ===== */

.support-image-attachment{
  width:min(430px,100%);
  margin-top:10px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(0,0,0,.18);
}

.support-image-open{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:#070a08;
  cursor:zoom-in;
}

.support-image-open img{
  display:block;
  width:100%;
  max-height:360px;
  object-fit:contain;
  background:#070a08;
}

.support-image-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  color:#94a099;
  font-size:10px;
}

.support-image-caption span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.support-image-caption a{
  flex:0 0 auto;
  color:#61f59a!important;
  font-weight:850;
  text-decoration:none;
}

.support-lightbox{
  position:fixed;
  z-index:999999;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.92);
  backdrop-filter:blur(10px);
}

.support-lightbox.show{
  display:flex;
}

.support-lightbox img{
  display:block;
  max-width:min(1100px,96vw);
  max-height:92vh;
  object-fit:contain;
  border-radius:12px;
}

.support-lightbox-close{
  position:absolute;
  top:max(12px,env(safe-area-inset-top));
  right:max(12px,env(safe-area-inset-right));
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  background:rgba(15,18,16,.88);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

@media(max-width:700px){
  .support-image-attachment{
    width:100%;
  }

  .support-image-open img{
    max-height:300px;
  }
}

/* ===== /MATTVPN SUPPORT IMAGE PREVIEW V5 ===== */


/* ===== MATTVPN SUPPORT COMPOSER PREVIEW V6 ===== */

.support-compose-preview{
  display:none;
  margin:10px 0 2px;
  width:min(420px,100%);
}

.support-compose-preview.show{
  display:block;
}

.support-compose-preview-card{
  position:relative;
  display:grid;
  grid-template-columns:74px minmax(0,1fr) 32px;
  align-items:center;
  gap:11px;
  padding:9px;
  border:1px solid rgba(57,255,136,.16);
  border-radius:16px;
  background:
    linear-gradient(145deg,rgba(57,255,136,.055),rgba(255,255,255,.02));
}

.support-compose-preview-thumb{
  width:74px;
  height:64px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.07);
  background:#070b08;
}

.support-compose-preview-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.support-compose-preview-fileicon{
  font-size:24px;
  opacity:.8;
}

.support-compose-preview-info{
  min-width:0;
}

.support-compose-preview-info b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f3f7f4;
  font-size:11px;
  line-height:1.35;
}

.support-compose-preview-info span{
  display:block;
  margin-top:4px;
  color:#74827a;
  font-size:9px;
}

.support-compose-preview-remove{
  width:30px;
  height:30px;
  min-height:30px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.04)!important;
  color:#9aa69f!important;
  font-size:17px!important;
  line-height:1!important;
  cursor:pointer;
}

.support-compose-preview-remove:hover{
  border-color:rgba(255,90,90,.18)!important;
  background:rgba(255,90,90,.07)!important;
  color:#ff9b9b!important;
}

.support-attach-btn.has-file{
  border-color:rgba(57,255,136,.28)!important;
  background:rgba(57,255,136,.08)!important;
  color:#79ffab!important;
}

@media(max-width:700px){
  .support-compose-preview{
    width:100%;
  }

  .support-compose-preview-card{
    grid-template-columns:64px minmax(0,1fr) 32px;
  }

  .support-compose-preview-thumb{
    width:64px;
    height:58px;
  }
}

/* ===== /MATTVPN SUPPORT COMPOSER PREVIEW V6 ===== */
