:root{--bg:#e5e7eb;--panel:#fff;--ink:#111827;--muted:#64748b;--line:#d7dde8;--nav:#0f172a;--accent:#2563eb;--accent2:#16a34a;--danger:#dc2626;--soft:#f8fafc;--shadow:0 18px 45px rgba(15,23,42,.12);--radius:24px;--max:1210px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:linear-gradient(135deg,#dbeafe 0,#f3f4f6 45%,#e2e8f0 100%)}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{width:min(var(--max),calc(100% - 32px));margin:18px auto 0;background:rgba(15,23,42,.96);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;color:#fff;position:sticky;top:12px;z-index:1000;backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-logo{width:68px;height:68px;border-radius:50%;background:#fff;display:grid;place-items:center;padding:4px;box-shadow:0 8px 18px rgba(0,0,0,.2);flex:0 0 auto}.brand-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.brand-text strong{font-size:18px;line-height:1.15;display:block}.brand-text span{font-size:13px;color:#cbd5e1;display:block;margin-top:4px}.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.main-nav a{padding:10px 12px;border-radius:14px;color:#e5e7eb;font-weight:650;font-size:14px}.main-nav a:hover{background:rgba(255,255,255,.12);color:#fff}.hamburger{display:none;background:#fff;color:#111827;border:0;border-radius:16px;width:48px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px}.hamburger span{width:22px;height:2px;background:#111827;display:block;border-radius:2px}.content{width:min(var(--max),calc(100% - 32px));margin:18px auto;flex:1}.footer{width:min(var(--max),calc(100% - 32px));margin:0 auto 18px;padding:16px 20px;border-radius:20px;background:rgba(255,255,255,.82);border:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:14px}.card{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;margin-bottom:18px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:center}.hero h1{font-size:clamp(30px,4vw,58px);line-height:1.02;margin:0 0 16px}.hero p{font-size:18px;color:#475569;line-height:1.55}.hero-logo{display:grid;place-items:center;background:radial-gradient(circle,#fff 0,#e2e8f0 78%);border-radius:32px;padding:28px;min-height:330px}.hero-logo img{width:min(330px,80%);filter:drop-shadow(0 22px 30px rgba(15,23,42,.22))}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.btn,button.btn{border:0;border-radius:16px;padding:12px 16px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:#111827;border:1px solid var(--line);min-height:46px}.btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-color:#1d4ed8}.btn.success{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;border-color:#15803d}.btn.danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-color:#dc2626}.btn.warning{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-color:#d97706}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.col-3{grid-column:span 3}.col-4{grid-column:span 4}.col-5{grid-column:span 5}.col-6{grid-column:span 6}.col-7{grid-column:span 7}.col-8{grid-column:span 8}.col-12{grid-column:span 12}.stat{padding:20px;border-radius:22px;background:var(--soft);border:1px solid var(--line)}.stat b{font-size:30px;display:block}.stat span{color:var(--muted)}.form{display:grid;gap:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field label{display:block;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:16px;background:#fff;padding:13px 14px;font-size:16px;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}.field input[readonly]{background:#f1f5f9;color:#64748b}.help{color:var(--muted);font-size:13px;margin-top:6px}.alert{padding:14px 16px;border-radius:16px;border:1px solid var(--line);background:#eff6ff;margin-bottom:14px}.alert.danger{background:#fef2f2;border-color:#fecaca}.alert.success{background:#f0fdf4;border-color:#bbf7d0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:20px;background:#fff}table{border-collapse:collapse;width:100%;min-width:860px}th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{background:#f8fafc;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#475569}tr:last-child td{border-bottom:0}.badge{display:inline-flex;border-radius:999px;padding:5px 9px;background:#e0f2fe;color:#0369a1;font-weight:800;font-size:12px}.profile{display:grid;grid-template-columns:160px 1fr;gap:22px}.avatar{width:160px;height:160px;border-radius:28px;background:#e2e8f0;object-fit:cover;border:1px solid var(--line)}.qr-box{display:grid;place-items:center;min-height:210px;background:#fff;border:1px dashed #94a3b8;border-radius:22px;padding:18px}.work-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.map{height:620px;border-radius:24px;overflow:hidden;border:1px solid var(--line);background:#dbeafe}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.filters input,.filters select{border:1px solid var(--line);border-radius:14px;padding:11px 12px;background:#fff}.kpi-title{font-size:14px;color:#64748b;font-weight:800;margin-bottom:8px}.empty{padding:30px;text-align:center;color:#64748b}.install-banner{display:none;position:fixed;left:16px;right:16px;bottom:16px;z-index:2000;background:#0f172a;color:#fff;border-radius:22px;padding:16px;box-shadow:var(--shadow);align-items:center;justify-content:space-between;gap:12px}.install-banner.show{display:flex}@media(max-width:920px){.topbar{align-items:flex-start}.hamburger{display:flex}.main-nav{display:none;position:absolute;left:0;right:0;top:86px;margin:0 0;background:#0f172a;border-radius:22px;padding:12px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.main-nav a{padding:13px 14px}.hero{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-12{grid-column:auto}.form-row{grid-template-columns:1fr}.work-actions{grid-template-columns:1fr 1fr}.profile{grid-template-columns:1fr}.avatar{width:130px;height:130px}.footer{flex-direction:column}.brand-text span{display:none}}@media(max-width:520px){.topbar,.content,.footer{width:calc(100% - 18px)}.topbar{margin-top:9px;top:6px;padding:10px}.brand-logo{width:54px;height:54px}.brand-text strong{font-size:14px}.card{padding:16px;border-radius:20px}.hero-logo{min-height:230px}.work-actions{grid-template-columns:1fr}.map{height:520px}.install-banner{left:8px;right:8px;bottom:8px}.btn{width:100%}}

/* Dashboard customer card */
.dashboard-layout{display:grid;grid-template-columns:360px 1fr;gap:20px;align-items:start}.account-card{background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:26px 22px;margin-bottom:18px;text-align:center;position:sticky;top:118px}.account-photo-wrap{width:132px;height:132px;margin:0 auto 14px;position:relative}.account-avatar{width:132px;height:132px;border-radius:50%;object-fit:cover;border:5px solid #16a34a;background:#e2e8f0;box-shadow:0 14px 28px rgba(15,23,42,.16)}.online-dot{position:absolute;right:9px;bottom:13px;width:20px;height:20px;border-radius:50%;background:#22c55e;border:4px solid #fff;box-shadow:0 4px 12px rgba(34,197,94,.45)}.account-card h1{font-size:24px;line-height:1.1;margin:8px 0 6px}.account-role{color:#475569;font-size:14px;font-weight:700;margin-bottom:16px}.account-icons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:10px 0 18px}.account-icons a,.account-icons span{width:34px;height:34px;border-radius:999px;border:1px solid var(--line);background:#f8fafc;display:grid;place-items:center;color:#2563eb;font-weight:900}.edit-profile-link{display:inline-flex;align-items:center;justify-content:center;min-width:130px;margin:0 auto 18px;padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:850;color:#0f172a}.edit-profile-link:hover{background:#eff6ff;border-color:#bfdbfe}.account-info-list{border-top:1px solid var(--line);margin-top:10px;padding-top:8px;text-align:left}.account-info-list>div{display:grid;grid-template-columns:130px 1fr;gap:10px;padding:13px 0;border-bottom:1px solid #edf2f7;align-items:start}.account-info-list span{font-size:13px;color:#64748b;font-weight:800}.account-info-list b{font-size:14px;color:#0f172a;font-weight:800;word-break:break-word}.pill-code{display:inline-flex;justify-content:center;align-items:center;width:max-content;max-width:100%;border-radius:999px;background:#fef3c7;border:1px solid #f59e0b;padding:5px 10px;letter-spacing:.04em}.referral-box{text-align:left;margin-top:18px;border:1px dashed #f59e0b;background:#fffbeb;border-radius:20px;padding:16px}.referral-box h3{margin:0 0 8px;font-size:16px}.referral-box p{margin:0 0 10px;color:#64748b;font-size:13px;line-height:1.45}.ref-stars{font-size:22px;letter-spacing:2px;color:#cbd5e1}.ref-stars .active{color:#f59e0b}.dashboard-main{min-width:0}.account-summary-card{display:flex;justify-content:space-between;gap:18px;align-items:center}.account-summary-card h2{margin-top:0}.account-summary-card p{margin:6px 0 0;color:#64748b}.summary-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.big-number{font-size:34px;font-weight:950;letter-spacing:.03em}.big-number.small{font-size:28px}@media(max-width:980px){.dashboard-layout{grid-template-columns:1fr}.account-card{position:relative;top:auto}.account-summary-card{display:block}.summary-actions{justify-content:flex-start;margin-top:14px}}@media(max-width:520px){.account-card{padding:20px 16px;border-radius:22px}.account-info-list>div{grid-template-columns:1fr;gap:4px}.account-photo-wrap,.account-avatar{width:118px;height:118px}.big-number{font-size:28px}.big-number.small{font-size:24px}}

/* Final dashboard layout like customer cabinet reference */
body{background:linear-gradient(135deg,#eef2f7 0,#f8fafc 50%,#e5e7eb 100%)}
.club-header{width:min(var(--max),calc(100% - 32px));margin:18px auto 0;background:rgba(15,23,42,.97);border:1px solid rgba(255,255,255,.12);border-radius:28px;box-shadow:var(--shadow);color:#fff;position:sticky;top:12px;z-index:1000;backdrop-filter:blur(16px);overflow:hidden}.club-header-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035)}.club-contact-chips{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.club-contact-chips span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.08);color:#e5e7eb;font-size:12px;font-weight:750}.club-logout{padding:8px 14px;border-radius:999px;background:#dc2626;color:#fff;font-weight:900;font-size:13px}.club-header-main{display:flex;align-items:center;gap:14px;padding:16px 18px 12px}.club-brand-logo{width:68px;height:68px;border-radius:50%;background:#fff;display:grid;place-items:center;padding:4px;box-shadow:0 8px 18px rgba(0,0,0,.2);flex:0 0 auto}.club-brand-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.club-brand-text{min-width:0;flex:1}.club-brand-text strong{font-size:19px;line-height:1.12;display:block}.club-brand-text span{font-size:13px;color:#cbd5e1;display:block;margin-top:5px}.club-nav{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:0 18px 16px}.club-nav a{padding:10px 13px;border-radius:14px;color:#e5e7eb;font-weight:800;font-size:14px}.club-nav a:hover{background:rgba(255,255,255,.12);color:#fff}.topbar{display:none}.content{margin-top:24px}.vakr-dashboard{min-height:70vh}.member-panel{display:grid;grid-template-columns:360px 1fr;gap:22px;align-items:start}.member-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow);padding:26px 22px;text-align:center;position:sticky;top:178px}.member-avatar-box{width:138px;height:138px;margin:0 auto 14px;position:relative}.member-avatar{width:138px;height:138px;border-radius:50%;object-fit:cover;background:#e2e8f0;border:5px solid #16a34a;box-shadow:0 14px 34px rgba(15,23,42,.18)}.member-online{position:absolute;right:9px;bottom:13px;width:20px;height:20px;border-radius:50%;background:#22c55e;border:4px solid #fff;box-shadow:0 4px 12px rgba(34,197,94,.45)}.member-card h1{font-size:25px;line-height:1.1;margin:8px 0 6px}.member-role{color:#475569;font-size:14px;font-weight:750;margin-bottom:14px}.member-icons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:8px 0 16px}.member-icons a,.member-icons span{width:34px;height:34px;border-radius:999px;border:1px solid var(--line);background:#f8fafc;display:grid;place-items:center;color:#2563eb;font-weight:900;box-shadow:0 3px 9px rgba(15,23,42,.04)}.member-edit-btn{min-width:132px;border-radius:999px;margin-right:8px}.member-status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:92px;min-height:42px;padding:8px 14px;border-radius:999px;border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d;font-weight:900}.member-info-list{border-top:1px solid var(--line);margin-top:18px;padding-top:8px;text-align:left}.member-info-list>div{display:grid;grid-template-columns:135px 1fr;gap:10px;padding:13px 0;border-bottom:1px solid #edf2f7;align-items:start}.member-info-list span{font-size:13px;color:#64748b;font-weight:850}.member-info-list b{font-size:14px;color:#0f172a;font-weight:850;word-break:break-word}.member-ref-box{text-align:left;margin-top:18px;border:1px dashed #f59e0b;background:#fffbeb;border-radius:20px;padding:16px}.member-ref-box h3{margin:0 0 8px;font-size:17px}.member-ref-box p{margin:0 0 10px;color:#64748b;font-size:13px;line-height:1.45}.member-content{min-width:0}.club-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:24px;margin-bottom:18px}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.section-head h2{margin:0 0 6px;font-size:22px}.section-head p{margin:0;color:#64748b;line-height:1.45}.client-passport{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.client-passport div{padding:15px;border-radius:18px;background:#f8fafc;border:1px solid var(--line)}.client-passport span{display:block;color:#64748b;font-size:13px;font-weight:850;margin-bottom:6px}.client-passport b{font-size:16px;word-break:break-word}.qr-row{display:grid;grid-template-columns:230px 1fr;gap:20px;align-items:center}.ref-link-box{padding:18px;border-radius:20px;background:#f8fafc;border:1px solid var(--line)}.ref-link-box span{display:block;color:#64748b;font-size:13px;font-weight:900;margin-bottom:8px}.ref-link-box b{display:block;word-break:break-all;font-size:16px;margin-bottom:10px}.ref-link-box small{color:#64748b;line-height:1.45}.compact-grid .club-card{margin-bottom:0}.modal-backdrop{position:fixed;inset:0;z-index:3000;display:none;align-items:flex-start;justify-content:center;padding:34px 16px;background:rgba(15,23,42,.58);backdrop-filter:blur(6px);overflow:auto}.modal-backdrop.open{display:flex}.profile-modal{width:min(960px,100%);background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 30px 80px rgba(15,23,42,.35);padding:24px}.modal-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:0 0 6px;font-size:25px}.modal-head p{margin:0;color:#64748b}.modal-close{width:44px;height:44px;border:0;border-radius:50%;background:#f1f5f9;color:#0f172a;font-size:30px;line-height:1;cursor:pointer}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:12px}.club-footer{align-items:stretch;padding:18px 20px}.footer-brand{display:flex;align-items:center;gap:12px;min-width:260px}.footer-brand img{width:54px;height:54px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid var(--line);padding:3px}.footer-brand b,.footer-brand span{display:block}.footer-brand span{color:#64748b;font-size:13px;margin-top:4px}.footer-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;flex:1}.footer-columns div{display:grid;gap:4px}.footer-columns b{color:#0f172a}.footer-columns span{color:#64748b;font-size:13px}.pill-code{display:inline-flex;justify-content:center;align-items:center;width:max-content;max-width:100%;border-radius:999px;background:#fef3c7;border:1px solid #f59e0b;padding:5px 10px;letter-spacing:.04em}.ref-stars{font-size:22px;letter-spacing:2px;color:#cbd5e1}.ref-stars .active{color:#f59e0b}@media(max-width:980px){.club-header-main{padding-right:12px}.hamburger{display:flex;margin-left:auto}.club-nav{display:none;position:absolute;left:12px;right:12px;top:136px;background:#0f172a;border-radius:20px;padding:12px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.club-nav.open{display:flex}.club-nav a{padding:13px 14px}.member-panel{grid-template-columns:1fr}.member-card{position:relative;top:auto}.section-head{display:block}.section-head .btn{margin-top:14px}.client-passport{grid-template-columns:1fr 1fr}.qr-row{grid-template-columns:1fr}.footer-columns{grid-template-columns:1fr}.club-footer{display:grid}.club-contact-chips span:nth-child(n+3){display:none}}@media(max-width:560px){.club-header,.content,.footer{width:calc(100% - 18px)}.club-header{margin-top:9px;top:6px;border-radius:22px}.club-header-top{padding:8px 10px}.club-header-main{padding:12px 10px}.club-brand-logo{width:54px;height:54px}.club-brand-text strong{font-size:14px}.club-brand-text span{display:none}.club-nav{top:111px}.member-card,.club-card{border-radius:22px;padding:18px}.member-info-list>div{grid-template-columns:1fr;gap:4px}.client-passport{grid-template-columns:1fr}.member-avatar-box,.member-avatar{width:118px;height:118px}.modal-backdrop{padding:12px 8px}.profile-modal{border-radius:22px;padding:18px}.modal-actions{display:grid}.modal-actions .btn{width:100%}.club-contact-chips span:nth-child(n+2){display:none}.club-logout{font-size:12px;padding:7px 10px}}

/* Dashboard corrections 2026-05: main card, compact client panel and referral modal */
.dashboard-main-card{background:rgba(255,255,255,.72);border:1px solid rgba(203,213,225,.9);border-radius:32px;box-shadow:var(--shadow);padding:22px;margin-bottom:22px}.dashboard-main-card .member-panel{display:grid;grid-template-columns:360px 1fr;gap:22px;align-items:start}.dashboard-main-card .member-card,.dashboard-main-card .club-card{box-shadow:none;background:rgba(255,255,255,.88)}.member-icons{gap:12px}.member-icons a{transition:transform .15s ease,background .15s ease}.member-icons a:hover{transform:translateY(-2px);background:#eff6ff}.pill-code-btn{border:1px solid #f59e0b;cursor:pointer;font:inherit;font-weight:900;color:#0f172a}.pill-code-btn:hover{background:#fde68a}.referral-share-modal{width:min(900px,100%)}.referral-modal-grid{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:center}.referral-qr-box{min-height:270px}.referral-share-content{display:grid;gap:14px}.share-label{font-weight:900;color:#475569}.share-input{width:100%;border:1px solid var(--line);border-radius:18px;padding:15px 16px;font-size:16px;background:#f8fafc}.share-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.share-btn{min-height:74px;border:1px solid var(--line);border-radius:18px;background:#fff;color:#0f172a;font-weight:900;display:grid;place-items:center;gap:6px;text-align:center;cursor:pointer}.share-btn span{display:block;font-size:13px}.share-btn:hover{background:#eff6ff;border-color:#bfdbfe}.member-content>.club-card:first-child{margin-top:0}@media(max-width:980px){.dashboard-main-card{padding:14px}.dashboard-main-card .member-panel{grid-template-columns:1fr}.referral-modal-grid{grid-template-columns:1fr}.share-actions{grid-template-columns:1fr 1fr}}@media(max-width:560px){.dashboard-main-card{padding:10px;border-radius:24px}.share-actions{grid-template-columns:1fr}.referral-qr-box{min-height:230px}}

/* VAKR dashboard visual corrections 2026-05-11d */
.club-header{background:rgba(243,244,246,.96)!important;border:1px solid rgba(203,213,225,.95)!important;color:#0f172a!important;box-shadow:0 18px 46px rgba(15,23,42,.14)!important;}
.club-header-top{background:rgba(255,255,255,.72)!important;border-bottom:1px solid rgba(203,213,225,.85)!important;}
.club-contact-chips span{background:#eef2f7!important;color:#334155!important;border:1px solid #e2e8f0!important;}
.club-contact-chips span:nth-child(2){background:#e5e7eb!important;color:#475569!important;}
.club-logout{background:#dc2626!important;color:#fff!important;}
.club-header-main{padding:18px 20px 12px!important;gap:20px!important;}
.club-brand-logo{width:104px!important;height:104px!important;padding:6px!important;box-shadow:0 10px 24px rgba(15,23,42,.16)!important;border:1px solid #dbe3ea!important;}
.club-brand-text strong{font-size:24px!important;color:#0f172a!important;line-height:1.15!important;}
.club-brand-text span{display:none!important;}
.club-nav{padding:2px 20px 18px!important;}
.club-nav a{color:#1f2937!important;background:transparent!important;}
.club-nav a:hover{background:#e2e8f0!important;color:#0f172a!important;}
.hamburger{background:#e5e7eb!important;border-color:#cbd5e1!important;}
.hamburger span{background:#334155!important;}
.member-avatar-box,.member-avatar{width:166px!important;height:166px!important;}
.member-online{right:13px!important;bottom:16px!important;}
.member-icons a{background:#f1f5f9!important;color:#2563eb!important;border-color:#e2e8f0!important;}
.install-banner{background:#f8fafc!important;color:#0f172a!important;border:1px solid #cbd5e1!important;box-shadow:0 22px 60px rgba(15,23,42,.22)!important;right:auto!important;max-width:620px!important;}
.install-banner-text span{color:#475569!important;}
.install-banner-actions{display:flex;align-items:center;gap:10px;}
.install-close{width:42px;height:42px;border-radius:50%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:28px;line-height:1;cursor:pointer;font-weight:700;}
.install-close:hover{background:#fee2e2;border-color:#fecaca;color:#991b1b;}
@media(max-width:980px){.club-nav{background:#f8fafc!important;border:1px solid #e2e8f0!important;top:158px!important}.club-brand-logo{width:86px!important;height:86px!important}.club-brand-text strong{font-size:19px!important}.member-avatar-box,.member-avatar{width:146px!important;height:146px!important}}
@media(max-width:560px){.club-brand-logo{width:74px!important;height:74px!important}.club-header-main{gap:12px!important}.club-brand-text strong{font-size:16px!important}.club-nav{top:127px!important}.install-banner{left:9px!important;right:9px!important;bottom:9px!important;max-width:none!important}.install-banner-actions{gap:7px}.install-close{width:38px;height:38px;font-size:26px}.member-avatar-box,.member-avatar{width:132px!important;height:132px!important}}

/* Исправление логотипа в шапке: без белого круга/подложки и крупнее */
.club-brand-logo{
    width:140px!important;
    height:140px!important;
    min-width:140px!important;
    background:transparent!important;
    border:0!important;
    padding:0!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.club-brand-logo img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    background:transparent!important;
    border:0!important;
    padding:0!important;
    box-shadow:none!important;
    border-radius:50%!important;
    display:block!important;
}
.club-header-main{
    min-height:156px!important;
    align-items:center!important;
}
@media(max-width:980px){
    .club-brand-logo{width:112px!important;height:112px!important;min-width:112px!important;}
    .club-header-main{min-height:126px!important;}
}
@media(max-width:560px){
    .club-brand-logo{width:88px!important;height:88px!important;min-width:88px!important;}
    .club-header-main{min-height:104px!important;}
}

/* Admin users page: roles, status, modals */
.users-admin-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.users-admin-head h1{margin:0 0 8px;font-size:32px}.users-admin-head p{margin:0;color:#64748b}.users-filter-card .filters input{min-width:280px}.users-table-wrap table{min-width:1180px}.users-admin-table th{white-space:nowrap}.users-admin-table td{vertical-align:middle}.customer-cell{display:flex;align-items:center;gap:10px;white-space:nowrap}.status-dot{width:14px;height:14px;border-radius:50%;display:inline-block;border:2px solid #fff;box-shadow:0 0 0 3px rgba(148,163,184,.22)}.status-dot.online{background:#16a34a;box-shadow:0 0 0 3px rgba(34,197,94,.18),0 0 18px rgba(34,197,94,.75)}.status-dot.offline{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.16),0 0 14px rgba(239,68,68,.55)}.btn.mini{min-height:34px;padding:8px 11px;border-radius:12px;font-size:13px}.inline-form{margin:0}.muted{color:#94a3b8}.referral-badge{background:#fef3c7;border:1px solid #f59e0b;color:#0f172a;letter-spacing:.04em}.users-modal{width:min(1080px,100%)}.roles-modal{width:min(680px,100%)}.user-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.user-info-grid>div{padding:14px 15px;border-radius:16px;background:#f8fafc;border:1px solid var(--line)}.user-info-grid span{display:block;font-size:12px;color:#64748b;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.user-info-grid b{font-size:15px;word-break:break-word}.is-hidden{display:none!important}.roles-checkbox-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.role-check{display:flex;align-items:center;gap:10px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#f8fafc;font-weight:900;cursor:pointer}.role-check input{width:20px;height:20px}.role-check:hover{background:#eff6ff;border-color:#bfdbfe}.user-edit-form{border-top:1px solid var(--line);padding-top:18px;margin-top:10px}@media(max-width:900px){.user-info-grid{grid-template-columns:1fr 1fr}.roles-checkbox-grid{grid-template-columns:1fr}}@media(max-width:560px){.users-filter-card .filters input{min-width:100%;width:100%}.user-info-grid{grid-template-columns:1fr}.users-admin-head h1{font-size:26px}}

/* Admin users final layout */
.users-admin-shell{width:min(var(--max),calc(100% - 32px));margin:24px auto;background:rgba(255,255,255,.72);border:1px solid rgba(203,213,225,.75);border-radius:34px;box-shadow:var(--shadow);padding:22px;overflow:hidden}.users-admin-headline{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.users-admin-headline h1{margin:0 0 8px;font-size:32px}.users-admin-headline p{margin:0;color:#64748b;font-weight:650}.users-live-filter{display:grid;grid-template-columns:1fr 240px 220px;gap:12px;background:#f8fafc;border:1px solid var(--line);border-radius:26px;padding:16px;margin-bottom:18px}.users-live-filter input,.users-live-filter select{width:100%;min-height:50px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:0 16px;font-weight:800;color:#0f172a}.users-table-card-inner{background:#fff;border:1px solid var(--line);border-radius:28px;padding:14px;box-shadow:0 12px 28px rgba(15,23,42,.08)}.users-table-wrap{border-radius:22px;overflow:auto}.users-table-wrap table{min-width:1160px}.customer-number-pill{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:8px 13px;border:1px solid var(--line);background:#f8fafc;box-shadow:0 5px 14px rgba(15,23,42,.06)}.customer-number-pill.online{background:#f0fdf4;border-color:#86efac;color:#14532d}.customer-number-pill.offline{background:#fef2f2;border-color:#fecaca;color:#7f1d1d}.customer-number-pill strong{font-size:16px}.status-dot{width:14px;height:14px;border-radius:999px;display:inline-block;border:2px solid #fff;flex:0 0 auto}.status-dot.online{background:#16a34a;box-shadow:0 0 0 3px rgba(34,197,94,.16),0 0 16px rgba(34,197,94,.75)}.status-dot.offline{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.15),0 0 14px rgba(239,68,68,.55)}.btn.neutral{background:#f1f5f9;color:#64748b;border-color:#e2e8f0;cursor:not-allowed}.alert.warning{background:#fffbeb;border:1px solid #f59e0b;color:#92400e;border-radius:16px;padding:12px 14px;margin-bottom:14px}.role-check.role-protected{background:#f1f5f9;color:#64748b}.user-edit-form[hidden],.user-info-view[hidden]{display:none!important}.password-control{display:flex;gap:10px;align-items:center}.password-control input{flex:1}.users-save-alert{margin:0 0 16px}.user-row-hidden{display:none!important}@media(max-width:900px){.users-admin-shell{width:calc(100% - 18px);padding:14px;border-radius:26px}.users-live-filter{grid-template-columns:1fr}.users-admin-headline h1{font-size:26px}.password-control{display:grid}}

/* Admin users table corrections 2026-05-11: full-width main card, live filter buttons, no Father-name column */
.content > .users-admin-shell{
    width:100%!important;
    max-width:none!important;
    margin:0 0 24px!important;
}
.users-admin-shell{overflow:visible!important;}
.users-live-filter{
    grid-template-columns:minmax(260px,1fr) 230px 210px 92px 130px!important;
    align-items:center!important;
}
.users-live-filter .btn{min-height:50px!important;border-radius:18px!important;white-space:nowrap!important;}
.users-table-card-inner{width:100%!important;}
.users-table-wrap{width:100%!important;overflow-x:auto!important;}
.users-table-wrap table{min-width:1040px!important;}
.users-admin-table th,.users-admin-table td{white-space:nowrap;}
.customer-number-pill.online{background:#ecfdf5!important;border-color:#22c55e!important;color:#14532d!important;box-shadow:0 0 0 4px rgba(34,197,94,.12)!important;}
.customer-number-pill.offline{background:#fff1f2!important;border-color:#ef4444!important;color:#7f1d1d!important;box-shadow:0 0 0 4px rgba(239,68,68,.10)!important;}
@media(max-width:1000px){.users-live-filter{grid-template-columns:1fr 1fr!important}.users-live-filter input{grid-column:1/-1}.users-table-wrap table{min-width:920px!important}}
@media(max-width:560px){.users-live-filter{grid-template-columns:1fr!important}.users-live-filter .btn{width:100%!important}.content > .users-admin-shell{margin-top:0!important}}

/* 20260511 avatar/photo and Yandex address modal fixes */
.member-avatar-trigger{border:0;background:transparent;padding:0;margin:0;border-radius:50%;cursor:pointer;display:block;line-height:0}
.member-avatar-trigger:focus-visible{outline:4px solid rgba(37,99,235,.25);outline-offset:4px}
.avatar-photo-modal{max-width:min(760px,calc(100vw - 28px))}
.avatar-photo-view{display:grid;place-items:center;background:#f8fafc;border:1px solid var(--line);border-radius:24px;padding:18px;min-height:260px}
.avatar-photo-view img{max-width:100%;max-height:72vh;border-radius:22px;object-fit:contain;box-shadow:0 18px 45px rgba(15,23,42,.18);background:#fff}
.modal-map-link{display:inline-flex;align-items:center;gap:8px;color:#1d4ed8;text-decoration:none;border-bottom:1px dashed rgba(37,99,235,.45)}
.modal-map-link:hover{color:#0f172a;border-bottom-color:#0f172a}

/* 20260512 workday/my-clients/worktime professional layout */
.work-shell{width:100%;max-width:none;margin:0 0 24px;background:rgba(255,255,255,.72);border:1px solid rgba(203,213,225,.85);border-radius:34px;box-shadow:var(--shadow);padding:22px;overflow:hidden}.work-hero-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid var(--line);border-radius:30px;padding:24px;margin-bottom:18px}.work-hero-card h1{font-size:34px;margin:0 0 8px}.work-hero-card p{margin:0;color:#64748b;font-weight:650;line-height:1.5}.work-actions-panel{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:10px;min-width:min(440px,100%)}.work-actions-panel form{margin:0}.work-actions-panel .btn{width:100%}.work-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f8fafc;border:1px solid var(--line);border-radius:26px;padding:14px;margin-bottom:18px}.work-tabs{display:flex;gap:8px;flex-wrap:wrap}.work-tabs a{padding:12px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:900}.work-tabs a.active{background:#2563eb;color:#fff;border-color:#1d4ed8}.work-date-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.work-date-form input,.worktime-filter input,.worktime-filter select{min-height:46px;border:1px solid var(--line);border-radius:15px;padding:0 12px;background:#fff;font-weight:800}.work-calendar-card,.work-panel{background:#fff;border:1px solid var(--line);border-radius:30px;padding:20px;margin-bottom:18px;box-shadow:0 12px 28px rgba(15,23,42,.08)}.work-calendar-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.work-calendar-title h2,.work-panel h2{margin:0;font-size:24px}.work-legend{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#64748b;font-weight:800}.work-legend span{width:18px;height:10px;border-radius:999px;display:inline-block}.lg-work{background:#22c55e}.lg-pause{background:#f59e0b}.lg-client{background:#2563eb}.calendar-scale{display:grid;grid-template-columns:repeat(9,1fr);font-size:12px;color:#64748b;font-weight:900;padding:0 220px 8px 150px}.calendar-scale span{text-align:center}.work-day-list{display:grid;gap:12px}.work-day-row{display:grid;grid-template-columns:150px 1fr 200px;gap:16px;align-items:center;border:1px solid #e2e8f0;background:#f8fafc;border-radius:22px;padding:14px}.work-day-row.today{border-color:#93c5fd;background:#eff6ff}.work-day-name strong{display:block;font-size:15px}.work-day-name span,.work-day-info span{color:#64748b;font-weight:750;font-size:13px}.work-day-info{text-align:right}.work-day-info b{display:block}.work-timeline{height:36px;border-radius:999px;background:repeating-linear-gradient(90deg,#e2e8f0 0,#e2e8f0 1px,#fff 1px,#fff calc(100% / 24));border:1px solid #dbe3ef;position:relative;overflow:hidden}.work-segment{position:absolute;top:6px;bottom:6px;border-radius:999px;background:linear-gradient(135deg,#16a34a,#22c55e);box-shadow:0 6px 16px rgba(22,163,74,.25)}.pause-segment{position:absolute;top:6px;bottom:6px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#fbbf24);box-shadow:0 6px 14px rgba(245,158,11,.25);z-index:2}.client-marker{position:absolute;top:2px;width:16px;height:32px;margin-left:-8px;border:0;border-radius:999px;background:linear-gradient(135deg,#2563eb,#60a5fa);box-shadow:0 0 0 4px rgba(37,99,235,.12);cursor:pointer;z-index:3}.client-marker:hover,.mini-client:hover{transform:scale(1.08)}.month-grid-head{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:10px;color:#64748b;font-weight:900;text-align:center}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.month-day{min-height:132px;border:1px solid var(--line);border-radius:22px;padding:12px;background:#f8fafc}.month-day.today{border-color:#93c5fd;background:#eff6ff}.muted-day{background:transparent;border:0}.month-date{font-weight:950;margin-bottom:14px}.month-small{font-size:12px;color:#64748b;font-weight:750;margin-top:10px}.mini-timeline{height:22px;border-radius:999px;background:#fff;border:1px solid #dbe3ef;position:relative;overflow:hidden}.mini-work,.mini-pause{position:absolute;top:4px;bottom:4px;border-radius:999px}.mini-work{background:#22c55e}.mini-pause{background:#f59e0b;z-index:2}.mini-client{position:absolute;top:2px;width:12px;height:18px;margin-left:-6px;border:0;border-radius:999px;background:#2563eb;z-index:3;cursor:pointer}.work-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.compact-table table{min-width:760px}.work-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.work-stat{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 8px 20px rgba(15,23,42,.06)}.work-stat span{display:block;color:#64748b;font-weight:800;margin-bottom:8px}.work-stat b{font-size:28px}.my-clients-filter{grid-template-columns:1fr 90px 130px!important;margin-bottom:16px}.worktime-filter{display:grid;grid-template-columns:150px 150px 220px auto;gap:10px;align-items:center}.user-info-address-card.is-clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.user-info-address-card.is-clickable:hover{transform:translateY(-1px);border-color:#93c5fd;box-shadow:0 10px 22px rgba(37,99,235,.10)}.user-info-address-card small{display:block;margin-top:6px;color:#2563eb;font-weight:850}.admin-worktime-shell .work-day-row{grid-template-columns:190px 1fr 230px}@media(max-width:1050px){.work-hero-card,.work-calendar-toolbar{flex-direction:column;align-items:stretch}.work-actions-panel{min-width:0;width:100%}.calendar-scale{padding:0 210px 8px 150px}.work-two-columns{grid-template-columns:1fr}.worktime-filter{grid-template-columns:1fr 1fr}.worktime-filter .btn{grid-column:1/-1}.month-grid,.month-grid-head{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.work-shell{padding:12px;border-radius:26px}.work-hero-card,.work-calendar-card,.work-panel{border-radius:24px;padding:16px}.work-actions-panel{grid-template-columns:1fr}.work-date-form .btn,.work-date-form input{width:100%}.work-day-row,.admin-worktime-shell .work-day-row{grid-template-columns:1fr;gap:10px}.work-day-info{text-align:left}.calendar-scale{display:none}.month-grid,.month-grid-head{grid-template-columns:1fr}.work-stats-row{grid-template-columns:1fr}.my-clients-filter{grid-template-columns:1fr!important}}

/* 20260512 legal pages, consent and cookie banner */
.legal-shell{width:100%;max-width:none;margin:0 0 24px;background:rgba(255,255,255,.78);border:1px solid rgba(203,213,225,.9);border-radius:34px;box-shadow:var(--shadow);padding:22px;overflow:hidden}.legal-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid var(--line);border-radius:30px;padding:26px;margin-bottom:18px}.legal-hero.compact{display:block}.legal-hero h1{font-size:36px;margin:0 0 8px}.legal-hero p{margin:0;color:#64748b;font-weight:700;line-height:1.55}.legal-hero img{width:150px;height:150px;object-fit:contain}.legal-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:#2563eb!important;font-weight:950;margin-bottom:8px!important}.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.legal-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:0 12px 28px rgba(15,23,42,.08)}.legal-card.wide{grid-column:1/-1}.legal-card h2{margin:0 0 14px;font-size:24px}.legal-card p,.legal-card li{color:#334155;font-weight:650;line-height:1.7}.legal-document h2{margin-top:24px}.legal-document h2:first-child{margin-top:0}.legal-table{width:100%;border-collapse:separate;border-spacing:0 10px}.legal-table th,.legal-table td{text-align:left;vertical-align:top;padding:14px 16px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#f8fafc}.legal-table th{width:260px;color:#475569;font-weight:950;border-left:1px solid #e2e8f0;border-radius:16px 0 0 16px}.legal-table td{border-right:1px solid #e2e8f0;border-radius:0 16px 16px 0;font-weight:750}.legal-links-list{display:grid;gap:8px;padding-left:18px}.legal-links-list a,.legal-card a{color:#1d4ed8;font-weight:900}.legal-footer-columns a{display:block;color:#e2e8f0;text-decoration:none;margin-top:6px;font-weight:700}.legal-footer-columns a:hover{text-decoration:underline}.legal-consent-box{background:#f8fafc;border:1px solid #dbe3ef;border-radius:22px;padding:16px;display:grid;gap:12px}.check-line{display:flex;align-items:flex-start;gap:10px;font-weight:750;color:#334155;line-height:1.5}.check-line input{margin-top:4px;min-width:18px;min-height:18px}.check-line a{color:#1d4ed8;font-weight:950}.cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:9999;background:#fff;border:1px solid #cbd5e1;border-radius:24px;box-shadow:0 18px 60px rgba(15,23,42,.2);padding:16px;display:none;grid-template-columns:1fr auto;gap:14px;align-items:center}.cookie-banner.show{display:grid}.cookie-banner b{display:block;margin-bottom:4px}.cookie-banner p{margin:0;color:#475569;font-weight:700;line-height:1.45}.cookie-banner-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn.outline{background:#fff;color:#0f172a;border:1px solid #cbd5e1}.btn.outline:hover{background:#f8fafc}@media(max-width:760px){.legal-shell{padding:12px;border-radius:26px}.legal-hero{flex-direction:column;align-items:flex-start;border-radius:24px;padding:18px}.legal-hero h1{font-size:28px}.legal-hero img{width:110px;height:110px}.legal-grid{grid-template-columns:1fr}.legal-table th,.legal-table td{display:block;width:auto;border-radius:16px;border:1px solid #e2e8f0}.legal-table td{margin-top:-10px;border-top:0}.cookie-banner{grid-template-columns:1fr;left:10px;right:10px;bottom:10px;border-radius:20px}.cookie-banner-actions .btn{width:100%}}

/* Mobile hamburger menu fix: menu must open above dashboard/content, not be clipped by header */
.club-header{
  overflow:visible !important;
  z-index:5000 !important;
}
.club-header-main,
.club-header-top{
  position:relative;
  z-index:5002;
}
.hamburger{
  position:relative;
  z-index:5004;
  cursor:pointer;
}
@media (max-width:980px){
  .club-header{
    position:sticky !important;
    overflow:visible !important;
  }
  .club-nav{
    display:none !important;
    position:absolute !important;
    left:14px !important;
    right:14px !important;
    top:calc(100% - 6px) !important;
    z-index:5003 !important;
    max-height:calc(100vh - 150px) !important;
    overflow:auto !important;
    background:rgba(248,250,252,.98) !important;
    border:1px solid #d7dde8 !important;
    border-radius:22px !important;
    box-shadow:0 28px 70px rgba(15,23,42,.28) !important;
    padding:10px !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:6px !important;
    backdrop-filter:blur(18px);
  }
  .club-nav.open,
  .club-nav.is-open{
    display:flex !important;
  }
  .club-nav a{
    display:flex !important;
    width:100% !important;
    min-height:46px !important;
    align-items:center !important;
    padding:13px 16px !important;
    border-radius:16px !important;
    background:#fff !important;
    border:1px solid #e2e8f0 !important;
    color:#111827 !important;
    font-size:16px !important;
    font-weight:900 !important;
  }
  .club-nav a:hover,
  .club-nav a:active{
    background:#e0f2fe !important;
    color:#0f172a !important;
  }
  body.menu-open .content,
  body.menu-open .footer,
  body.menu-open .club-footer{
    position:relative;
    z-index:1;
  }
}
@media (max-width:560px){
  .club-nav{
    left:10px !important;
    right:10px !important;
    top:calc(100% - 4px) !important;
    max-height:calc(100vh - 128px) !important;
  }
  .club-nav a{
    min-height:48px !important;
    font-size:17px !important;
  }
}

/* 20260512 workday timer/status improvements */
.work-actions-panel .btn[disabled]{opacity:.72;cursor:not-allowed;filter:saturate(.75)}
.work-actions-panel .btn{flex-direction:column;line-height:1.1;padding:12px 14px;min-height:58px}
.work-button-timer{display:inline-flex;margin-top:5px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.22);font-size:13px;font-weight:950;letter-spacing:.03em}
.work-day-name span{font-size:13px;color:#64748b;font-weight:900}
.work-calendar-title h2{line-height:1.25}
@media(max-width:760px){.work-actions-panel .btn{width:100%}.work-button-timer{font-size:12px}}

/* 20260512 stacked workday/referral panels, address toast and route map */
.work-stacked-panels{display:grid;grid-template-columns:1fr;gap:18px;margin-top:18px}
.work-panel-wide{width:100%;grid-column:1/-1}
.referrals-shell .work-panel{margin-bottom:18px}
.referral-top-panel,.referral-log-panel{display:block;width:100%}
.addr-toast{display:inline-flex;align-items:center;max-width:100%;border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:999px;padding:8px 12px;font-weight:900;line-height:1.25;text-align:left;cursor:pointer;box-shadow:0 6px 16px rgba(15,23,42,.06);white-space:normal}
.addr-toast:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8;transform:translateY(-1px)}
.addr-toast.muted{cursor:default;color:#94a3b8;background:#f1f5f9}
.user-info-card-wide{grid-column:1/-1}
.route-trigger{border:0;cursor:pointer;z-index:1}
.route-trigger:hover{filter:brightness(1.05);box-shadow:0 0 0 4px rgba(34,197,94,.18),0 8px 20px rgba(22,163,74,.28)}
.route-profile-modal{width:min(1120px,100%)}
.work-route-map{height:min(62vh,560px);min-height:360px;border:1px solid #dbe3ef;border-radius:24px;overflow:hidden;background:#f8fafc;margin:14px 0}
.route-point-list{display:grid;gap:8px;max-height:220px;overflow:auto;padding-right:4px}
.route-point-item{display:grid;grid-template-columns:140px 150px 1fr;gap:10px;align-items:start;padding:10px 12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px}
.route-point-item b{color:#0f172a}.route-point-item span{font-weight:900;color:#2563eb}.route-point-item small{font-weight:750;color:#475569;line-height:1.35}
@media(max-width:760px){.route-point-item{grid-template-columns:1fr}.work-route-map{min-height:300px;height:52vh}.addr-toast{border-radius:16px;width:100%}}

/* 20260512 modal and address layout final corrections */
.modal-backdrop.open,.route-modal.open,.point-map-modal.open{z-index:99999!important;}
.profile-modal.route-profile-modal{position:relative;z-index:100000;}
.addr-toast{max-width:460px;}
.dashboard-stack .club-card{grid-column:1/-1;}
.dashboard-stack{display:grid;grid-template-columns:1fr;gap:18px;}
.work-shell.wide-shell,.referrals-shell.wide-shell,.admin-worktime-shell.wide-shell{width:min(var(--max),calc(100% - 32px));margin-left:auto;margin-right:auto;}
@media(max-width:760px){.addr-toast{max-width:100%;}.work-shell.wide-shell,.referrals-shell.wide-shell,.admin-worktime-shell.wide-shell{width:calc(100% - 18px);}}

/* Address output correction: keep dashboard/work/referral tables inside the main card. */
.dashboard-stack .table-wrap,
.work-panel .table-wrap,
.referrals-shell .table-wrap,
.my-clients-shell .table-wrap{max-width:100%;overflow-x:auto;}
.dashboard-stack table{min-width:720px;}
.dashboard-stack th,.dashboard-stack td{padding:11px 12px;}
.dashboard-stack .addr-toast,
.work-panel .addr-toast,
.referrals-shell .addr-toast,
.my-clients-shell .addr-toast{max-width:360px;overflow-wrap:anywhere;}
@media(max-width:900px){
  .dashboard-stack table{min-width:680px;}
  .dashboard-stack .addr-toast,
  .work-panel .addr-toast,
  .referrals-shell .addr-toast,
  .my-clients-shell .addr-toast{max-width:100%;}
}

/* 20260512 final width + address/table corrections */
:root{--max:1320px;}
.content > .work-shell.wide-shell,
.content > .referrals-shell.wide-shell,
.content > .admin-worktime-shell.wide-shell,
.content > .my-clients-shell,
.content > .users-admin-shell,
.content > .legal-shell{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.work-shell.wide-shell,.referrals-shell.wide-shell,.admin-worktime-shell.wide-shell{width:100%!important;max-width:none!important;}
.dashboard-layout{width:100%!important;}
.addr-toast{max-width:100%!important;word-break:normal!important;overflow-wrap:break-word!important;}
.dashboard-stack table{min-width:0!important;width:100%!important;}
.dashboard-stack th,.dashboard-stack td{white-space:normal!important;}
@media(max-width:760px){
  :root{--max:100%;}
  .content > .work-shell.wide-shell,
  .content > .referrals-shell.wide-shell,
  .content > .admin-worktime-shell.wide-shell,
  .content > .my-clients-shell,
  .content > .users-admin-shell,
  .content > .legal-shell{width:100%!important;}
}

/* 20260513 mobile overflow fix: stack lower dashboard/work/referral/client tables inside viewport */
@media (max-width: 760px){
  html,body{max-width:100%;overflow-x:hidden!important;}
  .content{width:calc(100% - 10px)!important;margin-left:auto!important;margin-right:auto!important;overflow:hidden!important;}
  .card,.club-card,.work-shell,.work-panel,.referrals-shell,.my-clients-shell,.admin-worktime-shell,.users-admin-shell{max-width:100%!important;overflow:hidden!important;}
  .dashboard-layout{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;}
  .account-card{position:relative!important;top:auto!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important;}
  .dashboard-main,.dashboard-stack,.work-shell.wide-shell,.referrals-shell.wide-shell,.admin-worktime-shell.wide-shell,.my-clients-shell{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;}
  .dashboard-stack .table-wrap,
  .work-panel .table-wrap,
  .referrals-shell .table-wrap,
  .my-clients-shell .table-wrap,
  .admin-worktime-shell .table-wrap{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;border-radius:18px;}
  .dashboard-stack table,
  .work-panel table,
  .referrals-shell table,
  .my-clients-shell table,
  .admin-worktime-shell table{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;border-collapse:separate!important;border-spacing:0!important;}
  .dashboard-stack thead,
  .work-panel thead,
  .referrals-shell thead,
  .my-clients-shell thead,
  .admin-worktime-shell thead{display:none!important;}
  .dashboard-stack tbody,
  .work-panel tbody,
  .referrals-shell tbody,
  .my-clients-shell tbody,
  .admin-worktime-shell tbody{display:block!important;width:100%!important;}
  .dashboard-stack tr,
  .work-panel tr,
  .referrals-shell tr,
  .my-clients-shell tr,
  .admin-worktime-shell tr{display:block!important;width:100%!important;margin:0 0 10px!important;padding:10px!important;border:1px solid #dbe3ef!important;border-radius:18px!important;background:#fff!important;}
  .dashboard-stack td,
  .work-panel td,
  .referrals-shell td,
  .my-clients-shell td,
  .admin-worktime-shell td{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:7px 6px!important;border:0!important;border-bottom:1px solid #edf2f7!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
  .dashboard-stack td:last-child,
  .work-panel td:last-child,
  .referrals-shell td:last-child,
  .my-clients-shell td:last-child,
  .admin-worktime-shell td:last-child{border-bottom:0!important;}
  .addr-toast{display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;border-radius:16px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.25!important;}
  .account-info-list>div{grid-template-columns:1fr!important;gap:4px!important;}
  .install-banner{max-width:calc(100% - 12px)!important;left:6px!important;right:6px!important;}
}

/* 2026-05-14 header/menu polish: remove extra chips, solid header background, contacts last */
.club-header{
  background:#f8fafc !important;
  background-image:none !important;
  border:1px solid #d7dde8 !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
.club-header::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border-radius:inherit;
  background:#f8fafc;
  pointer-events:none;
}
.club-header-top,
.club-header-main,
.club-nav{
  position:relative;
  z-index:1;
  background:transparent !important;
}
.club-header-top{
  background:#f8fafc !important;
}
.club-contact-chips{
  overflow:hidden;
}
.club-contact-chips span{
  background:#eef2f7 !important;
  border:1px solid #d7dde8 !important;
  box-shadow:none !important;
}
.club-contact-chips span::before,
.club-contact-chips span::after{display:none!important;content:none!important;}
@media (min-width:981px){
  .club-nav{justify-content:flex-end!important;}
  .club-nav a[href="/contacts.php"]{margin-left:auto;}
}
@media (max-width:980px){
  .club-header{overflow:visible !important;}
  .club-header::before{box-shadow:0 18px 46px rgba(15,23,42,.14);}
  .club-nav{
    background:#f8fafc !important;
    z-index:6000 !important;
  }
  .club-nav a[href="/contacts.php"]{order:999;}
}

/* 2026-05-14 final header gap + compact footer polish */
:root{--header-solid:#f8fafc;}
body::before{
  content:"";
  position:fixed;
  left:0;
  right:0;
  top:0;
  height:28px;
  z-index:999;
  background:var(--header-solid);
  pointer-events:none;
}
.club-header{
  top:0 !important;
  margin-top:0 !important;
  background:var(--header-solid) !important;
  background-image:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  overflow:hidden !important;
  box-shadow:0 12px 30px rgba(15,23,42,.12) !important;
}
.club-header::before{
  background:var(--header-solid) !important;
  opacity:1 !important;
}
.club-header-top,
.club-header-main,
.club-nav{
  background:var(--header-solid) !important;
}
.club-header-top{border-bottom:1px solid #d7dde8 !important;}
.club-header + .content,
.content{margin-top:18px !important;}

/* Clean compact footer */
.footer.club-footer.compact-footer{
  display:grid !important;
  grid-template-columns:minmax(260px,1.2fr) minmax(260px,1fr);
  gap:14px 24px;
  align-items:center;
  padding:18px 22px !important;
  margin-top:22px !important;
  background:#f8fafc !important;
  border:1px solid #d7dde8 !important;
  border-radius:28px !important;
  box-shadow:0 12px 30px rgba(15,23,42,.08) !important;
  color:#334155 !important;
  overflow:hidden;
}
.compact-footer-brand{display:flex;align-items:center;gap:12px;min-width:0;}
.compact-footer-brand img{width:46px;height:46px;border-radius:50%;object-fit:contain;flex:0 0 auto;}
.compact-footer-brand b{display:block;font-size:15px;color:#0f172a;line-height:1.2;}
.compact-footer-brand span{display:block;margin-top:3px;font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.compact-footer-line{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;color:#475569;font-size:12px;font-weight:800;}
.compact-footer-line span{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;background:#eef2f7;border:1px solid #d7dde8;}
.compact-footer-links{grid-column:1/-1;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding-top:4px;}
.compact-footer-links a{display:inline-flex;align-items:center;min-height:32px;padding:7px 11px;border-radius:999px;background:#fff;border:1px solid #dbe3ef;color:#1e293b!important;font-size:12px;font-weight:900;text-decoration:none;}
.compact-footer-links a:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8!important;text-decoration:none;}
.compact-footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:750;}
.footer-brand,.footer-columns{display:none!important;}
.legal-footer-columns a{color:#1e293b!important;}

@media(max-width:980px){
  body::before{height:10px;}
  .club-header{top:0!important;overflow:visible!important;}
  .club-nav{background:var(--header-solid)!important;box-shadow:0 18px 45px rgba(15,23,42,.16)!important;}
}
@media(max-width:760px){
  .footer.club-footer.compact-footer{grid-template-columns:1fr;padding:14px!important;border-radius:22px!important;gap:12px;}
  .compact-footer-line{justify-content:flex-start;}
  .compact-footer-links{justify-content:flex-start;}
  .compact-footer-bottom{display:grid;gap:6px;}
}
@media(max-width:560px){
  .club-header{top:0!important;margin-top:0!important;}
  .content{margin-top:12px!important;}
}

/* 2026-05-14 final clean header surface + registration security fields */
body::before{display:none!important;content:none!important;}
.club-header,
.club-header::before,
.club-header-top,
.club-header-main,
.club-nav{
  background:#f8fafc!important;
  background-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.club-header{
  box-shadow:none!important;
  border:1px solid #d7dde8!important;
  overflow:hidden!important;
}
.club-header::before,
.club-header::after,
.club-header-top::before,
.club-header-top::after,
.club-header-main::before,
.club-header-main::after,
.club-nav::before,
.club-nav::after{
  box-shadow:none!important;
  background:#f8fafc!important;
}
.club-header + .content{margin-top:18px!important;}
.password-wrap{position:relative;display:flex;align-items:center;width:100%;}
.password-wrap input{padding-right:58px!important;}
.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:42px;height:38px;border:1px solid #d7dde8;border-radius:14px;background:#f8fafc;cursor:pointer;font-size:17px;display:grid;place-items:center;}
.password-eye:hover{background:#eff6ff;border-color:#93c5fd;}
.captcha-note{min-height:46px;border:1px solid #d7dde8;border-radius:16px;background:#f8fafc;padding:13px 14px;color:#475569;font-weight:800;display:flex;align-items:center;}
@media(max-width:980px){
  .club-header{overflow:visible!important;box-shadow:none!important;}
  .club-nav{box-shadow:0 18px 45px rgba(15,23,42,.14)!important;border:1px solid #d7dde8!important;}
}

/* 2026-05-14 final header flat surface + registration password strength + promoter client button */
.club-header{
  border-radius:0 0 26px 26px!important;
  background:#f8fafc!important;
  box-shadow:none!important;
  border:1px solid #d7dde8!important;
  border-top:0!important;
  overflow:hidden!important;
}
.club-header::before,.club-header::after,
.club-header-top::before,.club-header-top::after,
.club-header-main::before,.club-header-main::after,
.club-nav::before,.club-nav::after{display:none!important;content:none!important;}
.club-header-top,.club-header-main,.club-nav{background:#f8fafc!important;box-shadow:none!important;}
.club-header-main{border-top:0!important;}
.club-nav{border-top:0!important;}
.content{position:relative;z-index:1;}
.section-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;}
.password-strength{margin-top:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;font-size:12px;font-weight:900;color:#64748b;}
.password-strength div{border:1px solid #d7dde8;background:#f8fafc;border-radius:999px;padding:7px 10px;display:flex;align-items:center;gap:6px;}
.password-strength div::before{content:'○';font-weight:900;color:#94a3b8;}
.password-strength div.ok{background:#f0fdf4;border-color:#86efac;color:#166534;}
.password-strength div.ok::before{content:'✓';color:#16a34a;}
.password-strength div.bad{background:#fff7ed;border-color:#fed7aa;color:#9a3412;}
.password-strength.all-ok{filter:drop-shadow(0 0 12px rgba(34,197,94,.25));}
.field input.password-valid{border-color:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.15)!important;}
.field input.password-invalid{border-color:#f59e0b!important;}
@media(max-width:760px){.section-actions{justify-content:stretch}.section-actions .btn{width:100%;}.password-strength{grid-template-columns:1fr;}.club-header{border-radius:0 0 22px 22px!important;}}

/* 2026-05-14 Russian registration controls */
.custom-file{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:6px 8px;overflow:hidden;}
.custom-file input[type=file]{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none;}
.custom-file-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:900;cursor:pointer;white-space:nowrap;}
.custom-file-btn:hover{background:#dbeafe;}
.custom-file-name{font-weight:800;color:#64748b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
input[name="birthday"][type="text"]::placeholder{color:#94a3b8;font-weight:800;}
@media(max-width:560px){.custom-file{align-items:stretch;flex-direction:column}.custom-file-btn{width:100%;}.custom-file-name{white-space:normal;}}

/* 2026-05-14 final: modal above header and Russian datepicker */
.modal-backdrop,
.modal-backdrop.open,
.route-modal,
.route-modal.open,
.point-map-modal,
.point-map-modal.open{z-index:2147483000!important;}
.profile-modal{position:relative;z-index:2147483001!important;}
.club-header{z-index:900!important;}
.ru-date-wrap{display:flex;align-items:center;gap:8px;width:100%;}
.ru-date-wrap input{flex:1;min-width:0;}
.ru-date-btn{width:48px;min-width:48px;height:48px;border:1px solid var(--line);border-radius:16px;background:#f8fafc;cursor:pointer;font-size:20px;display:grid;place-items:center;}
.ru-date-btn:hover{background:#eff6ff;border-color:#bfdbfe;}
.ru-datepicker{position:absolute;width:318px;max-width:calc(100vw - 16px);background:#fff;border:1px solid #cbd5e1;border-radius:20px;box-shadow:0 24px 60px rgba(15,23,42,.28);padding:14px;z-index:2147483002;font-weight:800;color:#0f172a;}
.ru-datepicker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
.ru-datepicker-head button,.ru-datepicker-foot button{border:0;background:#eff6ff;color:#1d4ed8;border-radius:12px;min-width:38px;height:36px;font-weight:950;cursor:pointer;}
.ru-datepicker-days,.ru-datepicker-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center;}
.ru-datepicker-days span{font-size:12px;color:#64748b;padding:4px 0;}
.ru-datepicker-grid button{height:34px;border:1px solid transparent;background:#fff;border-radius:11px;cursor:pointer;font-weight:850;}
.ru-datepicker-grid button:hover{background:#eff6ff;border-color:#bfdbfe;}
.ru-datepicker-grid button.muted{color:#94a3b8;background:#f8fafc;}
.ru-datepicker-grid button.today{border-color:#2563eb;}
.ru-datepicker-grid button.selected{background:#2563eb;color:#fff;border-color:#1d4ed8;}
.ru-datepicker-foot{display:flex;justify-content:space-between;margin-top:12px;}
.ru-datepicker-foot button{padding:0 12px;}
@media(max-width:560px){.ru-date-wrap{gap:6px}.ru-date-btn{width:44px;min-width:44px;height:44px}.ru-datepicker{left:8px!important;right:8px!important;width:auto;}}

/* 2026-05-14 modal stacking fix: promoter modal must be above header/nav */
.content{z-index:auto!important;}
.club-header{z-index:900!important;}
.modal-backdrop,
.modal-backdrop.open,
.route-modal,
.route-modal.open,
.point-map-modal,
.point-map-modal.open{
  position:fixed!important;
  inset:0!important;
  z-index:2147483600!important;
}
.modal-backdrop.open{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:24px 16px!important;
  overflow:auto!important;
}
.profile-modal,
.profile-modal.route-profile-modal{
  position:relative!important;
  z-index:2147483601!important;
}
#promoterCreateClientModal.open .profile-modal{
  margin-top:0!important;
  max-height:calc(100vh - 48px)!important;
  overflow:auto!important;
}
@media(max-width:760px){
  .modal-backdrop.open{padding:10px 8px!important;}
  #promoterCreateClientModal.open .profile-modal{max-height:calc(100vh - 20px)!important;}
}

/* 2026-05-14: fixed non-editable customer number and robust RU datepicker */
.readonly-pill{min-height:46px;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid rgba(15,23,42,.12);border-radius:18px;background:#f8fafc;font-weight:900;color:#0f172a}
.readonly-pill small{font-weight:700;color:#64748b}
.ru-datepicker{position:absolute;width:320px;max-width:calc(100vw - 16px);background:#fff;border:1px solid rgba(15,23,42,.14);border-radius:18px;box-shadow:0 22px 60px rgba(15,23,42,.22);padding:14px;z-index:2147483000;color:#111827}
.ru-datepicker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ru-datepicker-head button,.ru-datepicker-foot button{border:0;background:#eef2ff;color:#0f172a;border-radius:12px;font-weight:900;padding:8px 10px;cursor:pointer}
.ru-datepicker-days,.ru-datepicker-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}
.ru-datepicker-days span{font-weight:900;color:#475569;font-size:13px;padding:4px 0}
.ru-datepicker-grid button{border:0;background:#f8fafc;border-radius:10px;min-height:34px;font-weight:800;cursor:pointer;color:#0f172a}
.ru-datepicker-grid button.muted{opacity:.45}
.ru-datepicker-grid button.today{outline:2px solid #2563eb}
.ru-datepicker-grid button.selected{background:#2563eb;color:#fff}
.ru-datepicker-foot{display:flex;justify-content:space-between;margin-top:10px}

/* 2026-05-14 final datepicker visibility fix */
.ru-datepicker{
  position:fixed!important;
  z-index:2147483646!important;
  width:320px;
  max-width:calc(100vw - 16px)!important;
  background:#fff!important;
  border:1px solid rgba(15,23,42,.16)!important;
  border-radius:18px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.32)!important;
  padding:14px!important;
  color:#111827!important;
}
.ru-date-wrap{position:relative;display:flex;gap:8px;align-items:center;width:100%;}
.ru-date-wrap input{flex:1;min-width:0;}
.ru-date-btn{position:relative!important;z-index:2!important;cursor:pointer!important;pointer-events:auto!important;}

/* 2026-05-14 final mobile hamburger: force menu above all content */
@media (max-width: 980px){
  .hamburger,
  button.hamburger,
  [data-menu-toggle]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    position:relative!important;
    z-index:2147482002!important;
    pointer-events:auto!important;
  }
  .club-header{
    overflow:visible!important;
    z-index:2147481000!important;
  }
  .club-nav[data-menu]{
    display:none!important;
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:112px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 130px)!important;
    overflow-y:auto!important;
    z-index:2147482001!important;
    background:#f8fafc!important;
    border:1px solid #cbd5e1!important;
    border-radius:22px!important;
    box-shadow:0 24px 70px rgba(15,23,42,.28)!important;
    padding:10px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:6px!important;
  }
  .club-nav[data-menu].open,
  .club-nav[data-menu].is-open,
  body.menu-open .club-nav[data-menu]{
    display:flex!important;
  }
  .club-nav[data-menu] a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:48px!important;
    padding:13px 16px!important;
    border-radius:16px!important;
    background:#fff!important;
    border:1px solid #e2e8f0!important;
    color:#0f172a!important;
    font-size:16px!important;
    font-weight:950!important;
    margin:0!important;
  }
  body.menu-open::before{
    content:'';
    position:fixed;
    inset:0;
    z-index:2147481999;
    background:rgba(15,23,42,.28);
    backdrop-filter:blur(2px);
  }
  body.menu-open .club-header{z-index:2147482000!important;}
}
@media (max-width:560px){
  .club-nav[data-menu]{top:96px!important;left:9px!important;right:9px!important;max-height:calc(100vh - 108px)!important;}
}

/* supervisor cabinet */
.work-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.inline-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.inline-filter input{height:44px;border:1px solid var(--border);border-radius:16px;padding:0 14px;background:#fff}
.supervisor-shell .work-panel h2{margin-top:0}
@media (max-width: 860px){.work-grid-two{grid-template-columns:1fr}.inline-filter{width:100%}.inline-filter input,.inline-filter .btn{width:100%}}

/* Dashboard work calendar + supervisor overview */
.section-head.compact { align-items: flex-start; gap: 16px; }
.small-tabs { margin: 10px 0 14px; }
.dash-calendar-list { display: grid; gap: 10px; }
.dash-calendar-row { display: grid; grid-template-columns: 150px minmax(220px,1fr) 170px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid rgba(17,24,39,.12); border-radius: 20px; background: rgba(255,255,255,.74); }
.dash-calendar-date { display: flex; flex-direction: column; gap: 3px; font-weight: 900; color: #111827; }
.dash-calendar-date span { font-weight: 700; color: #6b7280; font-size: .9rem; }
.dash-calendar-track { position: relative; min-height: 26px; border-radius: 999px; border: 1px solid rgba(17,24,39,.12); background: repeating-linear-gradient(90deg, rgba(17,24,39,.08) 0, rgba(17,24,39,.08) 1px, transparent 1px, transparent 4.16%); overflow: hidden; }
.dash-work-bar { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: #008a32; box-shadow: 0 5px 18px rgba(0,138,50,.25); }
.dash-calendar-meta { display: flex; flex-direction: column; gap: 3px; text-align: right; font-weight: 900; }
.dash-calendar-meta span { color: #6b7280; font-size: .88rem; font-weight: 800; }
.supervisor-calendar-panel { margin-top: 18px; }
.supervisor-timeline-day { border: 0; }
.supervisor-timeline-day > summary { list-style: none; cursor: pointer; }
.supervisor-timeline-day > summary::-webkit-details-marker { display: none; }
.supervisor-timeline-day .table-wrap { margin-top: 8px; }
.supervisor-shell .work-stats-row { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 720px) {
  .dash-calendar-row { grid-template-columns: 1fr; gap: 8px; }
  .dash-calendar-meta { text-align: left; }
  .dash-calendar-track { min-width: 100%; }
  .section-head.compact { display: grid; }
}

/* Company registration toggle - hard override */
.vakr-register-form .vakr-company-only{display:none!important;}
body.is-company-register .vakr-register-form .vakr-company-only{display:block!important;}
body.is-company-register .vakr-register-form .vakr-customer-only{display:none!important;}
.vakr-register-form .custom-file input[type=file]{position:absolute!important;left:-9999px!important;opacity:0!important;width:1px!important;height:1px!important;}

/* Dashboard calendar: month grid and year overview */
.dash-month-title{font-weight:950;font-size:1.15rem;margin:12px 0 14px;color:#111827}
.dash-month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:0 0 10px;color:#374151;font-weight:950;text-align:center}
.dash-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:stretch}
.dash-month-cell{min-height:112px;border:1px solid rgba(17,24,39,.14);border-radius:20px;background:rgba(255,255,255,.76);padding:12px;display:flex;flex-direction:column;gap:10px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.dash-month-cell.empty{opacity:.35;background:transparent;box-shadow:none;border-style:dashed}
.dash-month-cell>b{font-weight:950;color:#111827}
.dash-month-cell small{margin-top:auto;color:#4b5563;font-weight:850;font-size:.82rem}
.dash-month-track{position:relative;height:24px;border-radius:999px;border:1px solid rgba(17,24,39,.12);background:repeating-linear-gradient(90deg, rgba(17,24,39,.08) 0, rgba(17,24,39,.08) 1px, transparent 1px, transparent 8.33%);overflow:hidden}
.dash-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:12px}
.dash-year-card{display:flex;flex-direction:column;gap:8px;min-height:118px;padding:16px;border:1px solid rgba(17,24,39,.14);border-radius:22px;background:rgba(255,255,255,.78);text-decoration:none;color:#111827;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.dash-year-card:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(15,23,42,.1)}
.dash-year-card b{font-size:1.08rem;font-weight:950}
.dash-year-card span{font-weight:900;color:#2563eb}
.dash-year-card small{margin-top:auto;color:#4b5563;font-weight:850}
@media(max-width:980px){.dash-month-grid,.dash-month-weekdays{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-month-weekdays{display:none}.dash-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dash-month-grid,.dash-year-grid{grid-template-columns:1fr}.dash-month-cell{min-height:92px}}

/* FINAL dashboard calendar hard fix */
.vakr-dash-cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.vakr-dash-cal-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 16px}
.vakr-dash-cal-title{font-weight:950;font-size:1.12rem;margin:10px 0 14px;color:#111827}
.vakr-dash-weekdays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:10px;margin:0 0 10px;text-align:center;font-weight:950;color:#374151}
.vakr-dash-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;width:100%!important}
.vakr-dash-month-cell{display:flex!important;flex-direction:column!important;gap:9px!important;min-height:118px!important;padding:12px!important;border:1px solid rgba(17,24,39,.14)!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important;color:#111827!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important;overflow:hidden!important}
.vakr-dash-month-cell.empty{visibility:hidden;pointer-events:none}
.vakr-dash-month-cell:hover{box-shadow:0 16px 34px rgba(15,23,42,.10)!important;transform:translateY(-1px)}
.vakr-dash-month-day{font-weight:950;font-size:1.04rem}
.vakr-dash-month-track,.vakr-dash-list-track{position:relative;height:24px;border-radius:999px;border:1px solid rgba(17,24,39,.13);background:repeating-linear-gradient(90deg, rgba(17,24,39,.08) 0, rgba(17,24,39,.08) 1px, transparent 1px, transparent 8.33%);overflow:hidden}
.vakr-dash-work-bar{position:absolute;top:4px;bottom:4px;border-radius:999px;background:#0b8f35;min-width:8px}
.vakr-dash-client-dot{display:inline-block;width:9px;height:20px;border-radius:999px;background:#145cff;margin-left:4px;vertical-align:middle}
.vakr-dash-month-meta{margin-top:auto;color:#4b5563;font-weight:850;font-size:.82rem}
.vakr-dash-year-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;width:100%!important}
.vakr-dash-year-card{display:flex!important;flex-direction:column!important;gap:8px!important;min-height:120px!important;padding:16px!important;border:1px solid rgba(17,24,39,.14)!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important;color:#111827!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important}
.vakr-dash-year-card b{font-size:1.12rem;font-weight:950}.vakr-dash-year-card span{font-weight:900;color:#2563eb}.vakr-dash-year-card small{margin-top:auto;color:#4b5563;font-weight:850}
.vakr-dash-list{display:grid!important;gap:10px!important}
.vakr-dash-list-row{display:grid!important;grid-template-columns:150px minmax(240px,1fr) 170px!important;align-items:center!important;gap:14px!important;padding:12px 14px!important;border:1px solid rgba(17,24,39,.14)!important;border-radius:20px!important;background:rgba(255,255,255,.82)!important;color:#111827!important;text-decoration:none!important}
.vakr-dash-list-date{display:flex;flex-direction:column;gap:3px;font-weight:950}.vakr-dash-list-date span{font-weight:800;color:#6b7280}.vakr-dash-list-meta{text-align:right;font-weight:950}.vakr-dash-list-meta span{display:block;color:#6b7280;font-size:.88rem;font-weight:850}
@media(max-width:980px){.vakr-dash-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vakr-dash-weekdays{display:none!important}.vakr-dash-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vakr-dash-list-row{grid-template-columns:1fr!important}.vakr-dash-list-meta{text-align:left}}
@media(max-width:560px){.vakr-dash-month-grid,.vakr-dash-year-grid{grid-template-columns:1fr!important}.vakr-dash-month-cell{min-height:94px!important}}

/* 2026-05-15 role dashboard tables: same structure as clients, no separate My Clients navigation */
.role-dashboard-shell .work-hero-card{align-items:center;}
.role-dashboard-shell .table-wrap{max-width:100%;overflow-x:auto;}
.role-dashboard-shell table{width:100%;min-width:920px;}
.customer-number-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #dbe3ef;background:#f8fafc;border-radius:999px;padding:8px 12px;font-weight:950;color:#0f172a;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.customer-number-pill i{width:12px;height:12px;border-radius:50%;display:inline-block;background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.16)}
.customer-number-pill.online{border-color:#86efac;background:#f0fdf4;color:#166534}.customer-number-pill.online i{background:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.18)}
.customer-number-pill.offline{border-color:#fecaca;background:#fff1f2;color:#991b1b}.customer-number-pill.offline i{background:#dc2626;box-shadow:0 0 0 4px rgba(220,38,38,.16)}
.person-toast,.phone-toast,.count-toast,.date-map-toast{display:inline-flex;align-items:center;gap:9px;max-width:100%;min-height:40px;border:1px solid #dbe3ef;border-radius:999px;background:#f8fafc;color:#0f172a;padding:7px 12px;font-weight:900;text-decoration:none;cursor:pointer;box-shadow:0 7px 16px rgba(15,23,42,.05)}
.person-toast:hover,.phone-toast:hover,.count-toast:hover,.date-map-toast:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8;text-decoration:none;transform:translateY(-1px)}
.person-toast img{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#e2e8f0;flex:0 0 auto}.person-toast span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}.phone-toast.muted{cursor:default;color:#94a3b8}.count-toast strong{font-size:17px}.count-toast span,.date-map-toast span{font-size:12px;color:#64748b}.date-map-toast{flex-direction:column;align-items:flex-start;gap:1px;border-radius:18px}.date-map-toast strong{white-space:nowrap}.role-user-modal-card{width:min(980px,100%)}
.role-user-profile{display:flex;align-items:center;gap:14px;margin:12px 0 16px}.role-user-profile img{width:74px;height:74px;border-radius:50%;object-fit:cover;border:1px solid #dbe3ef;background:#f8fafc}.role-user-profile h3{margin:0;font-size:24px}.role-user-profile p{margin:4px 0 0;color:#64748b;font-weight:900}.role-user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.role-user-grid div{border:1px solid #dbe3ef;background:#f8fafc;border-radius:18px;padding:11px 13px;min-width:0}.role-user-grid span{display:block;text-transform:uppercase;font-size:12px;color:#64748b;font-weight:950;margin-bottom:4px}.role-user-grid b{display:block;color:#0f172a;overflow-wrap:anywhere}.role-map-modal-card{width:min(1180px,100%)}
@media(max-width:760px){.role-dashboard-shell table{min-width:0;display:block}.role-dashboard-shell thead{display:none}.role-dashboard-shell tbody{display:block}.role-dashboard-shell tr{display:block;margin:0 0 10px;padding:10px;border:1px solid #dbe3ef;border-radius:18px;background:#fff}.role-dashboard-shell td{display:block;width:100%;border:0;border-bottom:1px solid #edf2f7;padding:8px 6px}.role-dashboard-shell td:last-child{border-bottom:0}.person-toast,.phone-toast,.count-toast,.date-map-toast,.customer-number-pill{width:100%;justify-content:flex-start;border-radius:16px}.person-toast span{max-width:none;white-space:normal}.role-user-grid{grid-template-columns:1fr}.role-user-profile{align-items:flex-start}.role-user-profile h3{font-size:21px}}

/* 2026-05-15 FINAL: nur Abstand Footer/Haupt-DIV + Header/Nav-Farbe korrigieren */
:root{
  --vakr-card-surface:rgba(255,255,255,.72);
  --vakr-card-border:rgba(203,213,225,.85);
}

.club-header,
.club-header::before,
.club-header-top,
.club-header-main,
.club-nav{
  background:var(--vakr-card-surface)!important;
  background-image:none!important;
  border-color:var(--vakr-card-border)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.club-header{
  border:1px solid var(--vakr-card-border)!important;
  border-top:0!important;
}

.club-header-top{
  border-bottom:1px solid var(--vakr-card-border)!important;
}

.content{
  margin-top:18px!important;
  margin-bottom:18px!important;
}

.content > :last-child{
  margin-bottom:0!important;
}

.footer,
.footer.club-footer,
.footer.club-footer.compact-footer{
  margin-top:18px!important;
  margin-bottom:18px!important;
  background:var(--vakr-card-surface)!important;
  border-color:var(--vakr-card-border)!important;
}

@media(max-width:560px){
  .content{
    margin-top:12px!important;
    margin-bottom:12px!important;
  }
  .footer,
  .footer.club-footer,
  .footer.club-footer.compact-footer{
    margin-top:12px!important;
    margin-bottom:12px!important;
  }
}


/* VAKR_HEAD_COMPACT_LOGIN_ONLY_FIX_20260515_003 */
/* Только после входа: body получает класс .vakr-head-compact из head.inc.php.
   Большой header скрыт, маленькая навигация остаётся и выглядит как серые проектные DIV.
   Также уменьшаем расстояние между Haupt-DIV и footer только в этом режиме. */
body.vakr-head-compact .app-shell{
  min-height:auto!important;
  display:block!important;
  padding-top:8px!important;
}
body.vakr-head-compact .club-header{
  width:min(var(--max),calc(100% - 32px))!important;
  margin:0 auto 10px!important;
  padding:0!important;
  min-height:0!important;
  height:auto!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible!important;
  position:relative!important;
  top:auto!important;
  z-index:900!important;
}
body.vakr-head-compact .club-header::before,
body.vakr-head-compact .club-header::after{
  display:none!important;
  content:none!important;
}
body.vakr-head-compact .club-header-top,
body.vakr-head-compact .club-header-main{
  display:none!important;
}
body.vakr-head-compact .club-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-height:44px!important;
  padding:8px 10px!important;
  margin:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(203,213,225,.85)!important;
  border-radius:18px!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:901!important;
}
body.vakr-head-compact .club-nav a{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.66)!important;
  border:1px solid rgba(203,213,225,.82)!important;
  color:#1f2937!important;
  font-size:14px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
body.vakr-head-compact .club-nav a:hover{
  background:#eef2f7!important;
  color:#0f172a!important;
}
body.vakr-head-compact .content{
  flex:0 0 auto!important;
  margin-top:10px!important;
  margin-bottom:10px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body.vakr-head-compact .content > :last-child{
  margin-bottom:0!important;
}
body.vakr-head-compact .footer,
body.vakr-head-compact .footer.club-footer,
body.vakr-head-compact .footer.club-footer.compact-footer{
  margin-top:10px!important;
  margin-bottom:14px!important;
  background:rgba(255,255,255,.72)!important;
  border-color:rgba(203,213,225,.85)!important;
}
@media(max-width:760px){
  body.vakr-head-compact .app-shell{padding-top:6px!important;}
  body.vakr-head-compact .club-header{
    width:calc(100% - 16px)!important;
    margin:0 8px 8px!important;
  }
  body.vakr-head-compact .club-nav{
    border-radius:16px!important;
    padding:7px 8px!important;
    min-height:42px!important;
  }
  body.vakr-head-compact .club-nav a{
    min-height:32px!important;
    padding:6px 10px!important;
    font-size:14px!important;
  }
  body.vakr-head-compact .content{
    margin-top:8px!important;
    margin-bottom:8px!important;
  }
  body.vakr-head-compact .footer,
  body.vakr-head-compact .footer.club-footer,
  body.vakr-head-compact .footer.club-footer.compact-footer{
    margin-top:8px!important;
    margin-bottom:10px!important;
  }
}


/* VAKR_MOBILE_COMPACT_HAMBURGER_ONLY_20260516_005
   ONLY mobile hamburger repair for logged-in compact head.
   Do not change desktop compact logic above.
   Mobile: keep big logo/title/topbar hidden, show only hamburger button.
*/
@media (max-width:760px){
  body.vakr-head-compact .club-header{
    width:calc(100% - 16px)!important;
    margin:0 8px 8px!important;
    padding:0!important;
    min-height:0!important;
    height:auto!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    position:relative!important;
    top:auto!important;
    z-index:2147481000!important;
  }

  body.vakr-head-compact .club-header-top{
    display:none!important;
  }

  body.vakr-head-compact .club-header-main{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    min-height:46px!important;
    height:46px!important;
    padding:5px 8px!important;
    margin:0!important;
    background:rgba(255,255,255,.72)!important;
    border:1px solid rgba(203,213,225,.85)!important;
    border-radius:16px!important;
    box-shadow:none!important;
    overflow:visible!important;
    position:relative!important;
    z-index:2147481002!important;
  }

  body.vakr-head-compact .club-brand-logo,
  body.vakr-head-compact .club-brand-text,
  body.vakr-head-compact .club-logout,
  body.vakr-head-compact .club-contact-chips{
    display:none!important;
  }

  body.vakr-head-compact .hamburger,
  body.vakr-head-compact button.hamburger,
  body.vakr-head-compact [data-menu-toggle],
  body.vakr-head-compact .mobile-menu-toggle,
  body.vakr-head-compact .nav-toggle,
  body.vakr-head-compact .menu-toggle{
    display:flex!important;
    width:44px!important;
    height:38px!important;
    min-width:44px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    border:1px solid rgba(203,213,225,.95)!important;
    border-radius:14px!important;
    background:#f8fafc!important;
    color:#0f172a!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    position:relative!important;
    visibility:visible!important;
    opacity:1!important;
    z-index:2147481004!important;
  }

  body.vakr-head-compact .hamburger span,
  body.vakr-head-compact button.hamburger span,
  body.vakr-head-compact .mobile-menu-toggle span,
  body.vakr-head-compact .nav-toggle span,
  body.vakr-head-compact .menu-toggle span{
    display:block!important;
    width:22px!important;
    height:2px!important;
    border-radius:2px!important;
    background:#111827!important;
  }

  body.vakr-head-compact .club-nav,
  body.vakr-head-compact .club-nav[data-menu]{
    display:none!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:52px!important;
    width:100%!important;
    max-width:100%!important;
    max-height:calc(100vh - 62px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    white-space:normal!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:10px!important;
    margin:0!important;
    background:#f8fafc!important;
    border:1px solid #cbd5e1!important;
    border-radius:20px!important;
    box-shadow:0 24px 70px rgba(15,23,42,.28)!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
    z-index:2147481003!important;
  }

  body.vakr-head-compact .club-nav.open,
  body.vakr-head-compact .club-nav.is-open,
  body.vakr-head-compact.menu-open .club-nav,
  body.vakr-head-compact.menu-open .club-nav[data-menu],
  body.vakr-head-compact .club-header:has(.hamburger[aria-expanded="true"]) .club-nav,
  body.vakr-head-compact .club-header:has([data-menu-toggle][aria-expanded="true"]) .club-nav{
    display:flex!important;
  }

  body.vakr-head-compact .club-nav a,
  body.vakr-head-compact .club-nav[data-menu] a{
    display:flex!important;
    width:100%!important;
    min-height:46px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px 14px!important;
    margin:0!important;
    border-radius:16px!important;
    background:#fff!important;
    border:1px solid #e2e8f0!important;
    color:#0f172a!important;
    font-size:16px!important;
    font-weight:950!important;
    text-decoration:none!important;
    flex:0 0 auto!important;
  }

  body.vakr-head-compact .club-nav a:hover,
  body.vakr-head-compact .club-nav a:active{
    background:#eff6ff!important;
    border-color:#93c5fd!important;
    color:#1d4ed8!important;
  }
}

