@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');
:root{--bg:#f3f6fb;--surface:#fff;--surface-2:#f8fafc;--ink:#0f172a;--muted:#64748b;--line:#dfe7f1;--primary:#2563eb;--primary2:#7c3aed;--cyan:#06b6d4;--green:#10b981;--yellow:#f59e0b;--red:#ef4444;--shadow:0 18px 45px rgba(15,23,42,.08);--radius:24px;--sidebar:294px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 15% 0,#e0f2fe 0,transparent 28%),radial-gradient(circle at 90% 10%,#ede9fe 0,transparent 26%),var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}.muted{color:var(--muted)}.tiny{font-size:12px}.boot{min-height:100vh;display:grid;place-content:center;text-align:center;gap:12px}.boot img{width:88px;height:88px;border-radius:24px;box-shadow:0 22px 60px rgba(37,99,235,.24);margin:auto}.boot strong{font-family:Space Grotesk;font-size:26px}.boot span{color:var(--muted)}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;padding:34px;gap:28px}.auth-brand{background:linear-gradient(145deg,#07111f,#0f2f52 52%,#312e81);border-radius:34px;padding:48px;color:white;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100vh - 68px);box-shadow:0 30px 80px rgba(15,23,42,.24)}.auth-brand:before,.auth-brand:after{content:"";position:absolute;border-radius:50%;filter:blur(3px);opacity:.55}.auth-brand:before{width:390px;height:390px;background:radial-gradient(circle,#22d3ee55,transparent 68%);right:-120px;top:-110px}.auth-brand:after{width:330px;height:330px;background:radial-gradient(circle,#a78bfa55,transparent 68%);left:-120px;bottom:-100px}.brand-lockup{position:relative;z-index:1;display:flex;align-items:center;gap:16px}.brand-lockup img{width:74px;height:74px;border-radius:22px}.brand-lockup h1{font-family:Space Grotesk;margin:0;font-size:28px}.brand-lockup p{margin:5px 0 0;color:#cbd5e1}.auth-copy{position:relative;z-index:1;max-width:650px}.auth-copy .eyebrow{display:inline-flex;padding:8px 12px;border:1px solid #ffffff30;border-radius:999px;background:#ffffff12;font-weight:700;font-size:12px;letter-spacing:.12em}.auth-copy h2{font-family:Space Grotesk;font-size:clamp(40px,6vw,76px);line-height:1.02;margin:20px 0}.auth-copy p{font-size:18px;color:#cbd5e1;line-height:1.8}.auth-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;z-index:1}.auth-benefit{background:#ffffff10;border:1px solid #ffffff18;padding:18px;border-radius:20px}.auth-benefit b{display:block;margin-bottom:6px}.auth-benefit span{color:#cbd5e1;font-size:13px}.auth-panel{display:grid;place-items:center}.auth-card{width:min(100%,580px);background:#ffffffdc;backdrop-filter:blur(18px);border:1px solid #fff;border-radius:32px;padding:34px;box-shadow:var(--shadow)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#eef2f7;border-radius:16px;padding:5px;margin-bottom:28px}.auth-tab{border:0;background:transparent;padding:12px;border-radius:12px;font-weight:800;color:var(--muted)}.auth-tab.active{background:white;color:var(--ink);box-shadow:0 8px 20px #0f172a12}.auth-card h3{font-family:Space Grotesk;font-size:34px;margin:0 0 8px}.auth-card>p{color:var(--muted);margin:0 0 28px}.field{display:grid;gap:8px;margin-bottom:18px}.field label{font-weight:700;color:#334155}.input-wrap{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:0 15px;transition:.2s}.input-wrap:focus-within{border-color:#60a5fa;box-shadow:0 0 0 4px #dbeafe}.input-wrap input,.input-wrap textarea,.input-wrap select{width:100%;border:0;outline:0;background:transparent;padding:15px 0;color:var(--ink)}.input-wrap textarea{min-height:110px;resize:vertical}.btn{border:0;border-radius:15px;padding:13px 18px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:9px;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 14px 28px #4f46e533}.btn-cyan{color:white;background:linear-gradient(135deg,#0891b2,#2563eb)}.btn-success{background:#dcfce7;color:#047857}.btn-danger{background:#fee2e2;color:#b91c1c}.btn-ghost{background:#f1f5f9;color:#334155}.btn-outline{background:white;border:1px solid var(--line);color:#334155}.btn-block{width:100%}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin:20px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.google-btn{width:100%;background:white;border:1px solid var(--line);border-radius:15px;padding:13px;font-weight:800}.notice{padding:14px 16px;border-radius:16px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;font-size:13px;line-height:1.6}
.shell{min-height:100vh}.topbar{height:82px;position:sticky;top:0;z-index:40;background:#ffffffd9;backdrop-filter:blur(18px);border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 24px 0 calc(var(--sidebar) + 28px)}.topbar-left{display:flex;align-items:center;gap:12px}.menu-btn{display:none;width:46px;height:46px;border:1px solid var(--line);background:white;border-radius:15px;font-size:20px}.top-title{font-family:Space Grotesk;font-size:20px}.top-sub{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:46px;height:46px;border:1px solid var(--line);border-radius:15px;background:#fff;display:grid;place-items:center;position:relative}.count-dot{position:absolute;right:-4px;top:-6px;background:var(--red);color:white;border:3px solid white;border-radius:999px;min-width:23px;height:23px;padding:0 5px;font-size:11px;display:grid;place-items:center;font-weight:800}.avatar-btn{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:white;border-radius:999px;padding:5px 7px 5px 13px;font-weight:800}.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#e2e8f0}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#07111f;color:white;padding:22px 18px;z-index:50;display:flex;flex-direction:column;border-right:1px solid #ffffff12;overflow-y:auto}.side-brand{display:flex;align-items:center;gap:13px;padding:2px 8px 22px}.side-brand img{width:54px;height:54px;border-radius:17px}.side-brand strong{font-family:Space Grotesk;font-size:19px}.side-brand small{display:block;color:#94a3b8;margin-top:3px}.user-card{background:linear-gradient(145deg,#0f2742,#182948);border:1px solid #ffffff14;border-radius:20px;padding:16px;display:flex;align-items:center;gap:12px;margin-bottom:18px}.user-card img{width:48px;height:48px;border-radius:16px;object-fit:cover}.user-card b{display:block}.role-chip{display:inline-flex;margin-top:5px;padding:4px 8px;border-radius:999px;background:#22d3ee20;color:#67e8f9;font-size:10px;font-weight:800}.side-label{font-size:11px;letter-spacing:.15em;color:#64748b;font-weight:800;padding:10px 12px}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;color:#cbd5e1;font-weight:700;font-size:14px}.nav a:hover,.nav a.active{background:linear-gradient(135deg,#2563eb33,#7c3aed33);color:white}.nav-icon{width:24px;text-align:center;font-size:18px}.side-upgrade{margin-top:18px;padding:18px;border-radius:20px;background:linear-gradient(135deg,#0e7490,#4338ca);position:relative;overflow:hidden}.side-upgrade b{font-size:17px}.side-upgrade p{font-size:12px;color:#dbeafe;line-height:1.6}.side-footer{margin-top:auto;padding-top:18px;display:grid;gap:10px}.content{margin-left:var(--sidebar);padding:28px;max-width:1500px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-head h1{font-family:Space Grotesk;font-size:34px;margin:0}.page-head p{color:var(--muted);margin:6px 0 0}.grid{display:grid;gap:18px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:#ffffffdf;border:1px solid #fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;position:relative}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.card-title h2,.card-title h3{font-family:Space Grotesk;margin:0}.hero{background:linear-gradient(135deg,#07111f 0%,#0c3155 55%,#4338ca 100%);color:white;min-height:250px;overflow:hidden;padding:30px}.hero:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,#22d3ee55,transparent 68%);right:-80px;top:-110px}.hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#a78bfa55,transparent 68%);left:40%;bottom:-160px}.hero-content{position:relative;z-index:1;max-width:700px}.eyebrow{display:inline-flex;padding:7px 10px;border-radius:999px;background:#ffffff14;border:1px solid #ffffff20;font-size:11px;font-weight:800;letter-spacing:.14em}.hero h1{font-family:Space Grotesk;font-size:clamp(34px,5vw,62px);margin:18px 0 12px;line-height:1.05}.typewriter{display:inline-block;min-width:1ch;white-space:nowrap}.typewriter:after{content:"";display:inline-block;width:3px;height:.9em;background:#67e8f9;margin-left:5px;vertical-align:-.08em;animation:blink .8s steps(1) infinite}.hero p{color:#cbd5e1;font-size:16px;line-height:1.7}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.ticker{display:flex;gap:12px;overflow:hidden;margin-bottom:18px}.ticker-item{min-width:max-content;background:white;border:1px solid var(--line);border-radius:999px;padding:10px 15px;box-shadow:0 8px 20px #0f172a0a;font-size:13px}.stat{display:flex;align-items:center;gap:16px}.stat-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#ede9fe);font-size:24px}.stat strong{font-family:Space Grotesk;font-size:28px}.stat span{display:block;color:var(--muted);font-size:13px}.pulse{width:9px;height:9px;border-radius:50%;background:var(--green);display:inline-block;box-shadow:0 0 0 0 #10b98166;animation:pulse 1.8s infinite}.progress{height:9px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--cyan),var(--primary2));border-radius:inherit}.role-banner{background:linear-gradient(90deg,#ecfeff,#eef2ff);border:1px solid #c7d2fe;display:flex;align-items:center;justify-content:space-between;gap:16px}.role-banner .lock{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,var(--cyan),var(--primary2));display:grid;place-items:center;color:white;font-size:24px}.role-banner-main{display:flex;align-items:center;gap:15px}.role-banner h3{margin:0}.role-banner p{margin:4px 0 0;color:var(--muted)}.target-list{display:grid;gap:10px}.target{padding:14px;border-radius:16px;background:#f8fafc;border:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.target.online{background:#ecfdf5;border-color:#bbf7d0}.target.offline{background:#fef2f2;border-color:#fecaca}.target-info{display:flex;align-items:center;gap:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .full{grid-column:1/-1}.product-select{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.select-card{border:1px solid var(--line);border-radius:18px;padding:16px;background:#f8fafc;cursor:pointer;transition:.2s}.select-card.active{border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 4px #dbeafe}.select-card b{display:block;margin-bottom:5px}.select-card span{font-size:12px;color:var(--muted)}.panel-card{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center}.panel-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#cffafe,#ddd6fe);display:grid;place-items:center;font-size:25px}.panel-card h3{margin:0 0 4px}.panel-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;font-size:11px;color:#475569}.chip.green{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.chip.red{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.chip.blue{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.chip.purple{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}.panel-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.empty{text-align:center;padding:60px 20px}.empty .ghost{font-size:72px;opacity:.35}.empty h2{font-family:Space Grotesk}.search-row{display:flex;gap:12px;margin-bottom:18px}.search-row .input-wrap{flex:1;background:white}.user-list{display:grid;gap:10px}.user-row{display:flex;align-items:center;gap:13px;background:white;border:1px solid var(--line);padding:13px;border-radius:18px}.user-row img{width:48px;height:48px;border-radius:16px;object-fit:cover}.user-row .grow{flex:1}.chat-layout{display:grid;grid-template-columns:1fr;min-height:680px}.chat-box{display:flex;flex-direction:column;height:680px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:white}.chat-head{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px}.message{display:flex;gap:10px;max-width:75%}.message.mine{margin-left:auto;flex-direction:row-reverse}.message img{width:38px;height:38px;border-radius:13px}.bubble{background:#f1f5f9;border-radius:6px 18px 18px 18px;padding:11px 14px}.mine .bubble{background:linear-gradient(135deg,#dbeafe,#ede9fe);border-radius:18px 6px 18px 18px}.bubble p{margin:0;white-space:pre-wrap}.bubble small{display:block;color:var(--muted);margin-top:6px}.chat-compose{display:flex;gap:10px;padding:14px;border-top:1px solid var(--line)}.chat-compose .input-wrap{flex:1}.activity-tabs{display:flex;gap:6px;overflow-x:auto;background:white;border:1px solid var(--line);border-radius:18px;padding:6px;margin-bottom:18px}.activity-tab{border:0;background:transparent;padding:10px 14px;border-radius:13px;font-weight:800;white-space:nowrap;color:var(--muted)}.activity-tab.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:white}.activity-item{display:flex;gap:13px}.activity-item .avatar{width:50px;height:50px;border-radius:17px}.activity-item h3{margin:0}.activity-item p{margin:5px 0;color:var(--muted)}.rating-big{font-family:Space Grotesk;font-size:72px;background:linear-gradient(135deg,#f59e0b,#ef4444);-webkit-background-clip:text;color:transparent}.stars{font-size:28px;color:#f59e0b;letter-spacing:3px}.star-picker{display:flex;gap:8px}.star-picker button{border:0;background:transparent;color:#cbd5e1;font-size:36px}.star-picker button.active{color:#f59e0b}.plans{display:grid;gap:14px}.plan-card{border:1px solid var(--line);border-radius:20px;padding:18px;cursor:pointer;position:relative}.plan-card.selected{border-color:#60a5fa;background:linear-gradient(135deg,#eff6ff,#f5f3ff);box-shadow:0 0 0 4px #dbeafe}.plan-card .badge{position:absolute;right:14px;top:-10px}.price{font-family:Space Grotesk;font-size:30px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:linear-gradient(135deg,#06b6d4,#7c3aed);color:white;font-size:10px;font-weight:800}.promo-card{overflow:hidden}.promo-image{width:100%;max-height:260px;object-fit:cover;border-radius:18px;margin-bottom:16px}.promo-code{border:1px dashed #60a5fa;border-radius:16px;padding:14px;display:flex;justify-content:space-between;align-items:center;font-family:Space Grotesk;color:#1d4ed8}.notification-item.unread{border-left:4px solid var(--primary)}.notification-item h3{margin:0 0 8px}.notification-actions{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.warranty-images{display:flex;gap:10px;flex-wrap:wrap}.warranty-images img{width:80px;height:80px;border-radius:12px;object-fit:cover}.upload-box{border:2px dashed #cbd5e1;border-radius:18px;padding:28px;text-align:center;background:#f8fafc}.payment-modal{width:min(94vw,520px)}.qr{width:min(100%,330px);display:block;margin:14px auto;border-radius:18px}.modal-backdrop{position:fixed;inset:0;background:#020617aa;z-index:100;display:grid;place-items:center;padding:18px}.modal{background:white;border-radius:26px;padding:24px;max-height:92vh;overflow-y:auto;box-shadow:0 30px 100px #02061766}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{margin:0;font-family:Space Grotesk}.close-btn{border:0;background:#f1f5f9;width:40px;height:40px;border-radius:13px}.ad-popup{width:min(92vw,560px)}.ad-popup img{width:100%;max-height:300px;object-fit:cover;border-radius:18px}.toast-root{position:fixed;right:18px;bottom:18px;z-index:200;display:grid;gap:10px}.toast{min-width:280px;max-width:420px;background:#0f172a;color:white;padding:14px 16px;border-radius:16px;box-shadow:0 18px 60px #02061755;animation:toastIn .25s ease}.toast.success{background:#065f46}.toast.error{background:#991b1b}.toast.warning{background:#92400e}.skeleton{background:linear-gradient(90deg,#e2e8f0 25%,#f8fafc 45%,#e2e8f0 65%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:12px;min-height:18px}.reveal{opacity:0;transform:translateY(14px);transition:.5s}.reveal.visible{opacity:1;transform:none}.glow-card{transition:.2s}.glow-card:hover{box-shadow:0 22px 55px rgba(37,99,235,.14);transform:translateY(-2px)}.timeline{display:grid;gap:13px}.timeline-row{display:grid;grid-template-columns:26px 1fr;gap:10px}.timeline-dot{width:22px;height:22px;border-radius:50%;background:#e2e8f0;display:grid;place-items:center;font-size:11px}.timeline-row.done .timeline-dot{background:#dcfce7;color:#047857}.timeline-row.active .timeline-dot{background:#dbeafe;color:#1d4ed8;box-shadow:0 0 0 6px #dbeafe88}.mini-terminal{background:#07111f;color:#7dd3fc;border-radius:18px;padding:16px;font-family:ui-monospace,monospace;font-size:12px;min-height:128px}.mini-terminal div{margin:6px 0}.mobile-nav{display:none}
.admin-layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.admin-side{background:#07111f;color:white;padding:22px;position:sticky;top:0;height:100vh;overflow:auto}.admin-main{padding:28px}.admin-nav{display:grid;gap:6px;margin-top:24px}.admin-nav button{border:0;background:transparent;color:#cbd5e1;text-align:left;padding:12px;border-radius:13px;font-weight:700}.admin-nav button.active{background:#2563eb33;color:white}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.table th{font-size:11px;letter-spacing:.1em;color:var(--muted)}
@keyframes blink{50%{opacity:0}}@keyframes pulse{70%{box-shadow:0 0 0 10px #10b98100}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes toastIn{from{opacity:0;transform:translateY(10px)}}
@media(max-width:1050px){:root{--sidebar:270px}.grid-4{grid-template-columns:repeat(2,1fr)}.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:500px}.admin-layout{grid-template-columns:1fr}.admin-side{height:auto;position:relative}.admin-nav{grid-template-columns:repeat(4,1fr);overflow-x:auto}.admin-nav button{white-space:nowrap}}
@media(max-width:780px){body{padding-bottom:74px}.auth-shell{padding:0;display:block}.auth-brand{border-radius:0;min-height:340px;padding:28px 22px}.auth-copy h2{font-size:42px}.auth-copy p{font-size:14px}.auth-benefits{display:none}.auth-panel{padding:18px;margin-top:-34px;position:relative;z-index:2}.auth-card{padding:24px;border-radius:26px}.sidebar{transform:translateX(-102%);transition:.25s;width:min(88vw,330px)}.sidebar.open{transform:none}.topbar{padding:0 14px;height:72px}.menu-btn{display:block}.avatar-btn span{display:none}.content{margin-left:0;padding:18px 14px}.page-head{align-items:flex-start}.page-head h1{font-size:28px}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.hero{padding:24px;min-height:280px}.hero h1{font-size:39px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.product-select{grid-template-columns:1fr}.role-banner{align-items:flex-start;flex-direction:column}.panel-card{grid-template-columns:auto 1fr}.panel-actions{grid-column:1/-1;justify-content:flex-start}.message{max-width:88%}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:45;left:0;right:0;bottom:0;background:#ffffffee;backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:7px 6px max(7px,env(safe-area-inset-bottom))}.mobile-nav a{text-align:center;color:var(--muted);font-size:10px;font-weight:700}.mobile-nav a span{display:block;font-size:20px;margin-bottom:2px}.mobile-nav a.active{color:var(--primary)}.toast-root{left:12px;right:12px;bottom:86px}.toast{min-width:0}.top-title{font-size:16px}.top-sub{display:none}.ticker{margin-left:-14px;margin-right:-14px;padding:0 14px}.admin-main{padding:16px}.admin-nav{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max-content}.table th,.table td{padding:10px 8px}.search-row{flex-direction:column}}

/* V1.1 UI Sync — compact mobile dashboard, safe typewriter, no bottom navigation */
html,body{overflow-x:hidden}
.mobile-nav{display:none!important}
.dashboard-page{display:grid;gap:18px;min-width:0}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 2px 0;min-width:0}
.dashboard-heading-copy{min-width:0;max-width:760px}
.dashboard-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.14em}
.dashboard-heading p{margin:4px 0 0;color:var(--muted);line-height:1.6}
.dashboard-system{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-size:12px;font-weight:800;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.safe-typewriter{font-family:Space Grotesk;margin:8px 0 0;font-size:clamp(28px,4vw,44px);line-height:1.12;display:grid;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.safe-typewriter:before{content:attr(data-reserve);visibility:hidden;grid-area:1/1;white-space:normal;overflow-wrap:anywhere}
.typewriter-safe{grid-area:1/1;white-space:normal;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.typewriter-safe:after{content:"";display:inline-block;width:3px;height:.9em;background:var(--cyan);margin-left:4px;vertical-align:-.08em;animation:blink .8s steps(1) infinite}
.dashboard-role{margin:0}
.dashboard-role .role-banner-main{min-width:0}
.dashboard-role .role-banner-main>div:last-child{min-width:0}
.dashboard-role h3,.dashboard-role p{overflow-wrap:anywhere}
.compact-upgrade{padding:11px 18px;white-space:nowrap}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.dashboard-stat-placeholder{height:128px}
.dashboard-stat{min-height:128px;display:grid;place-items:center;text-align:center;gap:4px;padding:20px 14px}
.dashboard-stat-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#e0f2fe,#ede9fe);color:var(--primary);font-size:22px}
.dashboard-stat strong{font-family:Space Grotesk;font-size:32px;line-height:1}
.dashboard-stat span{color:var(--muted);font-size:14px}
.server-status-card{padding:22px}
.server-status-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.server-status-head>div{display:flex;align-items:center;gap:10px;font-size:18px}
.server-status-icon{color:var(--primary)}
.target-state{font-size:13px;color:var(--muted);white-space:nowrap}
.server-upgrade-btn{margin-top:14px}
.server-update{text-align:center;margin-top:12px}
.create-panel-card{padding:30px}
.create-panel-head{text-align:center;margin-bottom:28px}
.create-panel-head h2{font-family:Space Grotesk;font-size:32px;margin:0 0 8px}
.create-panel-head p{margin:0;color:var(--muted)}
.create-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}
.create-form-grid .field{margin:0;min-width:0}
.create-form-grid .full{grid-column:1/-1}
.create-form-grid .input-wrap{min-width:0}
.create-form-grid select,.create-form-grid input{min-width:0}
.deploy-button{margin-top:4px;padding:16px}
@media(max-width:780px){
  body{padding-bottom:0}
  .topbar{height:84px;padding:0 16px;gap:10px}
  .topbar-left{min-width:0;gap:10px}
  .top-title{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
  .menu-btn{width:58px;height:58px;border-radius:20px;flex:0 0 auto}
  .top-actions{gap:8px;flex:0 0 auto}
  .icon-btn{width:52px;height:52px;border-radius:18px}
  .avatar-btn{width:58px;height:58px;padding:4px;border-radius:22px;justify-content:center}
  .avatar-btn .avatar{width:48px;height:48px}
  .content{padding:16px 20px 34px}
  .dashboard-page{gap:16px}
  .dashboard-heading{align-items:flex-start;padding-top:2px}
  .dashboard-heading p{font-size:14px}
  .dashboard-system{display:none}
  .safe-typewriter{font-size:30px;line-height:1.12}
  .ticker{margin-left:-20px;margin-right:-20px;padding:0 20px}
  .dashboard-role{padding:18px;display:flex;align-items:center;flex-direction:row}
  .dashboard-role .lock{width:50px;height:50px;border-radius:16px;flex:0 0 auto}
  .dashboard-role h3{font-size:18px}
  .dashboard-role p{font-size:12px;line-height:1.55}
  .compact-upgrade{padding:10px 13px;font-size:13px}
  .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .dashboard-stat{min-height:150px;border-radius:22px;padding:18px 8px}
  .dashboard-stat-placeholder{height:150px}
  .dashboard-stat-icon{width:54px;height:54px}
  .dashboard-stat strong{font-size:31px}
  .server-status-card{padding:20px;border-radius:23px}
  .target{padding:13px 14px}
  .target-info{min-width:0}
  .target-info>div{min-width:0}
  .target-info b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:54vw}
  .server-upgrade-btn{font-size:13px;padding:13px 10px}
  .create-panel-card{padding:28px 20px;border-radius:24px}
  .create-panel-head h2{font-size:28px}
  .create-panel-head p{font-size:14px;line-height:1.55}
  .create-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .create-form-grid .full{grid-column:1/-1}
  .create-form-grid label{font-size:14px}
  .create-form-grid .input-wrap{padding:0 13px}
  .create-form-grid .input-wrap input,.create-form-grid .input-wrap select{font-size:15px}
  .toast-root{bottom:18px}
}
@media(max-width:390px){
  .content{padding-left:14px;padding-right:14px}
  .ticker{margin-left:-14px;margin-right:-14px;padding:0 14px}
  .dashboard-role{align-items:flex-start}
  .compact-upgrade{padding:9px 11px}
  .dashboard-stat{min-height:142px}
  .safe-typewriter{font-size:27px}
  .create-form-grid{gap:14px 9px}
}

/* V1.5.0 — Buyer Comfort Suite */
.buyer-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.buyer-overview-placeholder{min-height:150px}.buyer-personal-card{display:flex;gap:15px;align-items:flex-start;min-width:0;padding:20px}.buyer-card-icon{width:48px;height:48px;flex:0 0 48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#dbeafe,#ede9fe);color:#2563eb;font-size:21px;font-weight:900}.buyer-personal-card>div{min-width:0}.buyer-personal-card small,.buyer-personal-card h3,.buyer-personal-card p{display:block;margin:0}.buyer-personal-card small{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.buyer-personal-card h3{font-size:18px;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.buyer-personal-card p{color:var(--muted);font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-action{border:0;background:transparent;color:#2563eb;padding:8px 0 0;font-weight:800;cursor:pointer}.buyer-recommendation{grid-column:1/-1;display:flex;gap:14px;align-items:center;padding:18px 20px;background:linear-gradient(115deg,#eef6ff,#f5f3ff)}.buyer-recommendation>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#fff;color:#7c3aed;font-size:22px;box-shadow:0 8px 20px #4f46e51a}.buyer-recommendation p{margin:4px 0 0;color:var(--muted)}
.deploy-modal{max-width:560px}.deploy-progress{display:grid;gap:10px;margin-top:18px}.deploy-step{display:grid;grid-template-columns:44px 1fr;gap:13px;align-items:center;padding:14px;border:1px solid #e4eaf3;border-radius:17px;background:#fbfdff;opacity:.6;transition:.25s}.deploy-step>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#edf2f8;color:#64748b;font-weight:900}.deploy-step b,.deploy-step small{display:block}.deploy-step small{color:var(--muted);margin-top:4px}.deploy-step.active{opacity:1;border-color:#bfdbfe;background:#f4f8ff;box-shadow:0 10px 25px #2563eb12}.deploy-step.active>span{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;animation:pulseSoft 1.2s infinite}.deploy-step.done{opacity:1;border-color:#bbf7d0;background:#f0fdf4}.deploy-step.done>span{background:#10b981;color:#fff}.deploy-step.done>span{font-size:0}.deploy-step.done>span:after{content:'✓';font-size:18px}.deploy-step.failed{opacity:1;border-color:#fecaca;background:#fff1f2}.deploy-step.failed>span{background:#ef4444;color:#fff}.deploy-step.failed>span{font-size:0}.deploy-step.failed>span:after{content:'!';font-size:18px}@keyframes pulseSoft{50%{transform:scale(1.06);box-shadow:0 0 0 7px #2563eb18}}
.panel-control-list{gap:16px}.panel-control-placeholder{min-height:320px}.panel-control-card{padding:20px;display:block}.panel-control-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-identity{display:flex;align-items:center;gap:13px;min-width:0}.panel-identity>div:last-child{min-width:0}.panel-identity h3,.panel-identity p{margin:0}.panel-identity h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-identity p{color:var(--muted);font-size:12px;margin-top:4px}.panel-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.panel-resource-grid>div{border:1px solid #e4eaf3;background:#f8fbff;border-radius:15px;padding:13px;min-width:0}.panel-resource-grid span,.panel-resource-grid b{display:block}.panel-resource-grid span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.panel-resource-grid b{margin-top:5px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-resource-grid i{height:6px;border-radius:99px;background:#e6edf7;display:block;overflow:hidden;margin-top:10px}.panel-resource-grid em{height:100%;width:0;display:block;background:linear-gradient(90deg,#2563eb,#7c3aed);border-radius:inherit;transition:.5s}.panel-limit-row{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:11px}.panel-limit-row span{padding:7px 10px;border:1px solid #e4eaf3;border-radius:999px;background:#fff}.panel-power-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}.power{border:0;border-radius:13px;padding:11px 12px;font-weight:850;cursor:pointer;transition:.2s}.power:hover:not(:disabled){transform:translateY(-1px)}.power:disabled{opacity:.4;cursor:not-allowed}.power.start{background:#dcfce7;color:#047857}.power.restart{background:#e0e7ff;color:#4338ca}.power.stop{background:#fee2e2;color:#b91c1c}.notice.compact{padding:11px 13px;font-size:11px;margin:0 0 14px}.notice code{background:#fff;border:1px solid #dbe3ef;border-radius:6px;padding:2px 5px}.anime-empty{padding:34px;text-align:center}.anime-empty img{width:112px;height:112px;border-radius:30px;object-fit:cover;object-position:52% 38%;box-shadow:0 14px 36px #4f46e526;margin-bottom:15px}.anime-empty h2{margin:0 0 7px}.anime-empty .btn{margin-top:13px}
.support-smart-grid{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(360px,1.2fr);gap:18px;align-items:start}.smart-ticket{padding:22px}.smart-ticket textarea{min-height:125px;resize:vertical}.support-chat{height:720px;min-height:620px}.support-subject{display:block;font-size:11px;color:#2563eb;font-weight:800;margin-top:3px}.support-reference{font-size:10px;color:#64748b;margin-top:7px;padding:6px 8px;background:#f1f5f9;border-radius:8px}.support-chat .messages .anime-empty{box-shadow:none;border:0;background:transparent}.support-chat .messages .anime-empty img{width:90px;height:90px}
.billing-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.billing-placeholder{min-height:105px}.billing-stat{display:flex;align-items:center;gap:14px;padding:18px}.billing-stat>span{width:48px;height:48px;flex:0 0 48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#dbeafe,#ede9fe);color:#2563eb;font-weight:900}.billing-stat small,.billing-stat b{display:block}.billing-stat small{color:var(--muted);font-size:11px}.billing-stat b{font-size:20px;margin-top:5px}.billing-list{display:grid;gap:10px;margin-top:15px}.billing-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;gap:13px;align-items:center;border:1px solid #e4eaf3;border-radius:17px;padding:14px;background:#fbfdff}.billing-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#e0f2fe,#ede9fe);color:#2563eb;font-size:19px;font-weight:900}.billing-main{min-width:0}.billing-main>div{display:flex;align-items:center;gap:8px;min-width:0}.billing-main b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.billing-main small{display:block;color:var(--muted);margin-top:5px}.billing-row>strong{white-space:nowrap}.billing-actions{display:flex;gap:7px}.billing-actions .btn{padding:9px 11px;font-size:11px}
.renewal-placeholder{min-height:180px}.renewal-hero{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:17px;align-items:center;padding:24px;background:linear-gradient(115deg,#fff,#eef6ff)}.renewal-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:27px;box-shadow:0 14px 35px #4f46e52b}.renewal-hero h2,.renewal-hero p{margin:0}.renewal-hero h2{margin-top:7px}.renewal-hero p{color:var(--muted);margin-top:5px}.renewal-list{display:grid;gap:10px;margin-top:15px}.renewal-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px;border:1px solid #e4eaf3;border-radius:16px;background:#fbfdff}.renewal-list b,.renewal-list small{display:block}.renewal-list small{color:var(--muted);margin-top:4px}.renewal-tip{display:flex;gap:14px;align-items:center;background:linear-gradient(115deg,#fff7ed,#fff)}.renewal-tip>span{font-size:28px}.renewal-tip p{margin:4px 0 0;color:var(--muted)}
.btn,.power,.text-action,.dashboard-quick-actions button{position:relative;overflow:hidden}.btn:active,.power:active,.dashboard-quick-actions button:active{transform:scale(.98)}
@media(max-width:980px){.buyer-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.support-smart-grid{grid-template-columns:1fr}.support-chat{height:660px}.billing-row{grid-template-columns:44px minmax(0,1fr) auto}.billing-actions{grid-column:2/-1}.renewal-hero{grid-template-columns:56px minmax(0,1fr)}.renewal-hero>.btn{grid-column:1/-1}}
@media(max-width:780px){.buyer-overview-grid{grid-template-columns:1fr}.buyer-recommendation{grid-column:auto}.panel-resource-grid{gap:7px}.panel-resource-grid>div{padding:10px}.panel-resource-grid b{font-size:14px}.panel-power-actions{gap:7px}.power{padding:10px 6px;font-size:11px}.billing-summary{grid-template-columns:1fr}.billing-row{grid-template-columns:42px minmax(0,1fr)}.billing-row>strong{grid-column:2}.billing-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr)}.billing-actions .btn{text-align:center}.renewal-list article{grid-template-columns:minmax(0,1fr) auto}.renewal-list article .btn{grid-column:1/-1}.support-smart-grid{gap:14px}.support-chat{height:620px}.anime-empty{padding:25px}}
@media(max-width:390px){.panel-resource-grid{grid-template-columns:1fr}.panel-limit-row span{font-size:9px}.buyer-personal-card{padding:16px}.buyer-card-icon{width:42px;height:42px;flex-basis:42px}.renewal-hero{padding:18px}.billing-stat{padding:15px}}

/* V1.5.2 — Role Tax Guard */
.role-tax-banner{margin:16px 0 20px;padding:18px 20px;border-radius:24px;display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:1px solid #c7d2fe;box-shadow:0 16px 40px rgba(37,99,235,.10)}
.role-tax-banner.overdue{background:linear-gradient(135deg,#fff1f2,#fff7ed);border-color:#fda4af;box-shadow:0 16px 40px rgba(225,29,72,.14)}
.role-tax-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;flex:0 0 auto;font-size:25px;color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed)}
.role-tax-banner.overdue .role-tax-icon{background:linear-gradient(135deg,#e11d48,#f97316)}
.role-tax-banner>div:nth-child(2){flex:1;min-width:0}.role-tax-banner span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#4f46e5}.role-tax-banner.overdue span{color:#be123c}.role-tax-banner h3{font-size:18px;margin:3px 0 4px;color:#0f172a}.role-tax-banner p{margin:0;color:#64748b;font-size:14px}
.role-tax-hero{padding:28px;border-radius:30px;background:linear-gradient(135deg,#0f2b57,#273aa7 62%,#6d28d9);color:#fff;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;box-shadow:0 24px 65px rgba(37,99,235,.25);margin-bottom:20px;position:relative;overflow:hidden}
.role-tax-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-90px;background:rgba(255,255,255,.12);filter:blur(2px)}
.role-tax-hero.overdue{background:linear-gradient(135deg,#7f1d1d,#be123c 58%,#f97316);box-shadow:0 24px 65px rgba(190,18,60,.28)}
.tax-hero-copy{position:relative;z-index:1}.role-tax-hero h2{font-size:30px;margin:12px 0 8px}.role-tax-hero p{max-width:650px;color:rgba(255,255,255,.82);line-height:1.65}.tax-amount{font-size:43px;font-weight:950;margin:22px 0 14px}.tax-meta{display:flex;flex-wrap:wrap;gap:10px}.tax-meta span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.13);font-size:13px}.tax-pay-button{position:relative;z-index:1;min-width:190px;box-shadow:0 12px 30px rgba(15,23,42,.18)}
.role-tax-exempt{text-align:center;padding:46px 24px}.tax-shield{width:86px;height:86px;border-radius:28px;margin:0 auto 18px;display:grid;place-items:center;font-size:40px;color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 16px 36px rgba(79,70,229,.28)}.role-tax-exempt h2{font-size:27px;margin:14px 0 9px}.role-tax-exempt p{color:#64748b;margin-bottom:20px}
.tax-rule-card{margin-bottom:20px}.tax-history{display:grid;gap:10px}.tax-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:15px;border:1px solid #e2e8f0;background:#f8fbff;border-radius:17px}.tax-history-row div{min-width:0}.tax-history-row b,.tax-history-row small{display:block}.tax-history-row small{color:#64748b;margin-top:4px}.tax-history-row strong{white-space:nowrap;color:#1d4ed8}
@media(max-width:720px){.role-tax-banner{align-items:flex-start;flex-wrap:wrap}.role-tax-banner .btn{width:100%}.role-tax-hero{padding:23px;display:block}.role-tax-hero h2{font-size:25px}.tax-amount{font-size:36px}.tax-pay-button{width:100%;margin-top:22px}.tax-history-row{grid-template-columns:1fr auto}.tax-history-row .chip{grid-column:1/-1;justify-self:start}}

/* V1.5.3 — stable loading state */
.dashboard-load-error{grid-column:1/-1;min-height:150px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;text-align:center}.dashboard-load-error strong{font-size:32px;color:var(--red)}
