:root{--bg:#070a12;--bg2:#0b1020;--panel:rgba(16,23,42,.72);--panel2:rgba(255,255,255,.045);--line:rgba(255,255,255,.09);--text:#f6f8ff;--muted:#8e9ab7;--blue:#33b8ff;--violet:#745cff;--green:#43d7a2;--red:#ff6f7d;--amber:#ffbf5b;--shadow:0 24px 80px rgba(0,0,0,.35);--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 20% -10%,rgba(47,87,255,.18),transparent 30%),radial-gradient(circle at 90% 0,rgba(118,60,255,.16),transparent 25%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1220px,calc(100% - 40px));margin:auto}.glass{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.028));border:1px solid var(--line);backdrop-filter:blur(24px);box-shadow:var(--shadow)}.topbar{position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(7,10,18,.72);backdrop-filter:blur(22px)}.topbar .inner{height:74px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:20px;letter-spacing:-.4px}.brand-mark{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,var(--blue),var(--violet));box-shadow:0 10px 34px rgba(75,91,255,.42);display:grid;place-items:center;font-weight:900}.nav{display:flex;gap:28px;color:#b5bfd7}.nav a:hover{color:white}.actions,.row{display:flex;align-items:center;gap:12px}.btn{border:1px solid var(--line);color:var(--text);background:rgba(255,255,255,.045);border-radius:14px;padding:12px 18px;font-weight:700;transition:.2s}.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.18)}.btn.primary{border:0;background:linear-gradient(105deg,#22c7ff,#735bff);box-shadow:0 10px 34px rgba(71,100,255,.32)}.btn.ghost{background:transparent}.btn.danger{color:#ffc0c6;border-color:rgba(255,99,120,.22)}.btn.small{padding:8px 12px;border-radius:11px;font-size:13px}.badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;border:1px solid rgba(74,166,255,.25);background:rgba(52,126,255,.09);color:#b7d8ff;font-size:12px}.dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 16px rgba(67,215,162,.8)}.hero{padding:95px 0 85px}.hero-grid{display:grid;grid-template-columns:1fr 1.06fr;gap:64px;align-items:center}.hero h1{font-size:clamp(50px,6vw,78px);line-height:.98;letter-spacing:-3.5px;margin:20px 0 24px;max-width:690px}.hero h1 span{background:linear-gradient(90deg,#fff 20%,#94cfff 58%,#a28dff);-webkit-background-clip:text;color:transparent}.lead{font-size:20px;line-height:1.6;color:#b1bdd7;max-width:620px}.hero-cta{display:flex;gap:12px;margin:30px 0 24px}.trust{display:flex;gap:22px;flex-wrap:wrap;color:#95a2bf;font-size:13px}.trust span:before{content:'✓';color:#5fd9ff;margin-right:7px}.dashboard-preview{border-radius:28px;padding:16px;position:relative;overflow:hidden}.dashboard-preview:before{content:'';position:absolute;inset:-20% -10% auto auto;width:260px;height:260px;background:radial-gradient(circle,rgba(85,85,255,.28),transparent 68%)}.preview-shell{border-radius:20px;background:#0a1020;border:1px solid rgba(255,255,255,.06);display:grid;grid-template-columns:150px 1fr;min-height:480px;overflow:hidden}.preview-side{padding:22px 14px;border-right:1px solid var(--line);background:rgba(255,255,255,.018)}.mini-logo{font-weight:800;margin-bottom:25px}.mini-nav{display:grid;gap:7px}.mini-nav div{padding:10px 11px;border-radius:10px;color:#7f8dad;font-size:12px}.mini-nav .active{color:white;background:rgba(75,137,255,.11)}.preview-main{padding:24px}.preview-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.mini-card{padding:15px;border:1px solid var(--line);background:var(--panel2);border-radius:14px}.mini-card b{font-size:24px;display:block;margin-top:8px}.preview-chat{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chatlist,.agent-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:rgba(255,255,255,.025)}.fake-chat{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.05)}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#40c3ff,#7057ff);display:grid;place-items:center;font-weight:800;flex:0 0 auto}.section{padding:95px 0}.section-title{font-size:40px;letter-spacing:-1.6px;margin:0 0 12px}.section-sub{color:var(--muted);font-size:17px;max-width:660px;line-height:1.6}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:38px}.step{padding:24px;border-radius:20px}.num{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#267cff,#7059ff);font-weight:800;margin-bottom:24px}.step h3,.feature h3{margin:0 0 8px;font-size:18px}.step p,.feature p,.muted{color:var(--muted);line-height:1.55}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:38px}.feature{padding:25px;border-radius:20px;min-height:170px}.icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,rgba(34,199,255,.18),rgba(117,91,255,.2));border:1px solid rgba(101,134,255,.18);display:grid;place-items:center;margin-bottom:25px;font-size:20px}.integrations{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:34px}.integration-card{padding:21px;border-radius:18px;display:flex;gap:14px;align-items:center}.integration-logo{width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,.07);display:grid;place-items:center;font-weight:900}.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:38px}.price{padding:28px;border-radius:23px}.price.popular{border-color:rgba(78,150,255,.45);box-shadow:0 20px 70px rgba(58,83,255,.18)}.price .amount{font-size:38px;font-weight:850;letter-spacing:-1px}.list{display:grid;gap:11px;margin:22px 0 26px;color:#b9c3da}.list div:before{content:'✓';color:#5cd1ff;margin-right:10px}.cta{padding:45px;border-radius:28px;display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(120deg,rgba(36,96,255,.19),rgba(102,66,255,.11)),rgba(255,255,255,.03)}.footer{padding:45px 0 60px;color:#7f8ca8}.footer .container{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
/* auth */.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-art{padding:70px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 15% 20%,rgba(50,101,255,.26),transparent 35%),radial-gradient(circle at 80% 70%,rgba(117,69,255,.18),transparent 30%)}.auth-art h1{font-size:60px;letter-spacing:-2.5px;line-height:1.03;max-width:620px}.auth-panel{display:grid;place-items:center;padding:34px}.auth-card{width:min(470px,100%);padding:34px;border-radius:26px}.auth-card h2{font-size:30px;margin:0 0 8px}.field{display:grid;gap:8px;margin:16px 0}.field label{font-size:13px;color:#9ca8c2}.input,textarea,select{width:100%;border:1px solid var(--line);background:rgba(255,255,255,.045);color:white;padding:13px 14px;border-radius:13px;outline:none}.input:focus,textarea:focus,select:focus{border-color:rgba(64,176,255,.48);box-shadow:0 0 0 3px rgba(44,135,255,.08)}textarea{min-height:120px;resize:vertical}.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sep{display:flex;align-items:center;gap:12px;color:#6f7c99;margin:20px 0}.sep:before,.sep:after{content:'';height:1px;flex:1;background:var(--line)}
/* app */.app-body{overflow:hidden}.app-shell{display:grid;grid-template-columns:250px 1fr;height:100vh}.sidebar{border-right:1px solid var(--line);padding:20px 16px;background:rgba(8,12,23,.86);backdrop-filter:blur(24px);display:flex;flex-direction:column}.sidebar .brand{padding:5px 8px 24px}.side-nav{display:grid;gap:5px}.side-nav button{border:0;background:transparent;color:#8d99b5;text-align:left;padding:12px 13px;border-radius:12px;display:flex;align-items:center;gap:11px}.side-nav button:hover,.side-nav button.active{background:rgba(82,126,255,.11);color:white}.side-bottom{margin-top:auto;display:grid;gap:8px}.workspace-pill{padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}.app-main{display:grid;grid-template-rows:72px 1fr;min-width:0}.app-header{border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:rgba(7,10,18,.65);backdrop-filter:blur(20px)}.app-content{overflow:auto;padding:28px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head h1{font-size:32px;margin:0 0 7px;letter-spacing:-1px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{padding:20px;border-radius:18px}.stat .value{font-size:31px;font-weight:800;margin:8px 0 2px}.stat .label{color:#92a0bc;font-size:13px}.two-col{display:grid;grid-template-columns:1.4fr .9fr;gap:16px;margin-top:16px}.panel{border-radius:20px;padding:22px}.panel h3{margin:0 0 17px}.conversation-row{display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:center;padding:13px;border-radius:13px}.conversation-row:hover{background:rgba(255,255,255,.035)}.provider{font-size:11px;text-transform:uppercase;color:#73cfff}.inbox{height:calc(100vh - 128px);display:grid;grid-template-columns:330px minmax(360px,1fr) 300px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:rgba(255,255,255,.018)}.inbox-list{border-right:1px solid var(--line);overflow:auto}.inbox-title{padding:18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#0b0f1a;z-index:2}.conv-item{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.04);cursor:pointer}.conv-item:hover,.conv-item.active{background:rgba(75,120,255,.085)}.conv-line{display:flex;justify-content:space-between;gap:10px}.chat-pane{display:grid;grid-template-rows:66px 1fr auto;min-width:0}.chat-head{padding:0 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.messages{overflow:auto;padding:22px;display:flex;flex-direction:column;gap:11px}.bubble{max-width:72%;padding:12px 14px;border-radius:16px;line-height:1.45;white-space:pre-wrap}.bubble.in{align-self:flex-start;background:rgba(255,255,255,.07);border:1px solid var(--line)}.bubble.out{align-self:flex-end;background:linear-gradient(135deg,rgba(35,152,255,.25),rgba(106,76,255,.23));border:1px solid rgba(92,129,255,.23)}.bubble small{display:block;color:#7f8dab;margin-top:6px}.composer{padding:14px;border-top:1px solid var(--line);display:flex;gap:10px}.composer textarea{min-height:48px;max-height:140px}.customer-pane{border-left:1px solid var(--line);padding:20px;overflow:auto}.kv{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05)}.kv small{color:#7f8daa;display:block;margin-bottom:4px}.lead-card{margin-top:18px;border-radius:16px;padding:16px;background:rgba(255,183,71,.07);border:1px solid rgba(255,183,71,.15)}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.channel{padding:22px;border-radius:20px}.channel-head{display:flex;justify-content:space-between;align-items:center}.status{font-size:12px;padding:6px 9px;border-radius:999px}.status.connected{color:#79e6be;background:rgba(67,215,162,.09)}.status.error{color:#ff98a3;background:rgba(255,91,111,.09)}.status.disconnected{color:#a4aec5;background:rgba(255,255,255,.05)}.modal{position:fixed;inset:0;background:rgba(0,0,0,.62);display:none;place-items:center;padding:20px;z-index:100}.modal.open{display:grid}.modal-card{width:min(620px,100%);max-height:88vh;overflow:auto;border-radius:24px;padding:25px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.toast-wrap{position:fixed;right:20px;bottom:20px;display:grid;gap:10px;z-index:150}.toast{width:min(390px,calc(100vw - 40px));padding:14px 16px;border-radius:14px;background:#101727;border:1px solid var(--line);box-shadow:var(--shadow)}.mobile-nav{display:none}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px}.table{width:100%;border-collapse:collapse;min-width:800px}.table th,.table td{text-align:left;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.05)}.table th{font-size:12px;color:#7f8baa;text-transform:uppercase;letter-spacing:.4px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.tab{padding:9px 12px;border-radius:11px;border:1px solid var(--line);background:rgba(255,255,255,.03);color:#9ba7c0}.tab.active{color:white;background:rgba(67,124,255,.12);border-color:rgba(67,124,255,.22)}.empty{padding:55px 25px;text-align:center;color:#7d8aa8}.onboarding{max-width:820px;margin:auto}.progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0 28px}.progress span{height:4px;border-radius:999px;background:rgba(255,255,255,.08)}.progress span.active{background:linear-gradient(90deg,var(--blue),var(--violet))}.onboard-card{padding:30px;border-radius:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.full{grid-column:1/-1}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.admin-main{padding:28px;min-width:0}.admin-sidebar{position:sticky;top:0;height:100vh}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.setting{padding:18px;border-radius:16px}.code-note{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:rgba(0,0,0,.22);padding:10px 12px;border-radius:10px;color:#b7c7e9;font-size:12px;word-break:break-all}
@media(max-width:980px){.nav{display:none}.hero-grid{grid-template-columns:1fr}.hero{padding-top:70px}.hero h1{font-size:58px}.steps,.features,.integrations,.price-grid{grid-template-columns:1fr 1fr}.auth-shell{grid-template-columns:1fr}.auth-art{display:none}.app-shell{grid-template-columns:1fr}.sidebar{display:none}.app-main{grid-template-rows:66px 1fr 66px}.app-content{padding:18px 16px 26px}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);background:#0a0e18}.mobile-nav button{border:0;background:transparent;color:#7d89a6;font-size:11px}.mobile-nav button.active{color:white}.stat-grid{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}.inbox{grid-template-columns:320px 1fr;height:calc(100vh - 170px)}.customer-pane{display:none}.cards-grid{grid-template-columns:1fr 1fr}.admin-shell{grid-template-columns:1fr}.admin-sidebar{display:none}.settings-grid{grid-template-columns:1fr}.app-header{padding:0 16px}}
@media(max-width:640px){.container{width:min(100% - 28px,1220px)}.topbar .inner{height:66px}.topbar .actions .btn.ghost{display:none}.hero{padding:58px 0}.hero h1{font-size:44px;letter-spacing:-2px}.lead{font-size:17px}.hero-cta{flex-direction:column}.preview-shell{grid-template-columns:1fr;min-height:auto}.preview-side{display:none}.preview-main{padding:16px}.preview-kpis{grid-template-columns:1fr 1fr}.preview-chat{grid-template-columns:1fr}.section{padding:68px 0}.section-title{font-size:32px}.steps,.features,.integrations,.price-grid{grid-template-columns:1fr}.cta{padding:28px;align-items:flex-start;flex-direction:column}.auth-panel{padding:18px}.auth-card{padding:24px}.social-grid{grid-template-columns:1fr}.app-content{padding:14px 12px 22px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:15px}.stat .value{font-size:25px}.page-head{align-items:flex-start;flex-direction:column}.inbox{display:block;height:calc(100vh - 160px);border-radius:15px}.inbox-list{height:100%;border-right:0}.chat-pane{display:none;height:100%}.inbox.chat-open .inbox-list{display:none}.inbox.chat-open .chat-pane{display:grid}.bubble{max-width:88%}.cards-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.onboard-card{padding:20px}.app-header .search-hide{display:none}}

/* v1.0.2 UI / forms / onboarding / authenticated header */
.svg-sprite{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;pointer-events:none}.ui-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.btn .ui-icon{width:17px;height:17px}.icon-label{display:inline-flex;align-items:center;gap:9px}.icon-btn{width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.04);color:#dbe6fb;display:grid;place-items:center;position:relative;transition:.2s}.icon-btn:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.16)}.notif-count{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#4c78ff;color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center}.notif-count:empty{display:none}
.side-nav button .ui-icon{width:18px;height:18px;color:#7686a8}.side-nav button:hover .ui-icon,.side-nav button.active .ui-icon{color:#8fcfff}.side-nav button span:not(#unreadBadge){min-width:0}.mobile-nav button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px}.mobile-nav .ui-icon{width:19px;height:19px}

/* Forms: consistent readable dark controls on all pages and native dropdowns */
input,textarea,select,.input{color:#f7f9ff!important;background-color:#111722!important;border-color:rgba(255,255,255,.12)!important;caret-color:#73cfff}.input,textarea,select{min-width:0;line-height:1.45}input::placeholder,textarea::placeholder,.input::placeholder{color:#75829e!important;opacity:1!important}.field label{color:#b7c1d7!important;font-weight:650;letter-spacing:.01em}.field{min-width:0}.field input,.field textarea,.field select{display:block;width:100%}select{color-scheme:dark;appearance:auto}select option,select optgroup{background:#111722!important;color:#f7f9ff!important}select option:checked{background:#286fd7!important;color:#fff!important}input[type="checkbox"],input[type="radio"]{accent-color:#4aaeff}.modal{background:rgba(2,5,12,.76);backdrop-filter:blur(5px)}.modal-card{background:linear-gradient(180deg,rgba(18,24,36,.985),rgba(10,14,23,.985))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 30px 100px rgba(0,0,0,.58)!important}.modal-card h2,.modal-card h3{color:#f7f9ff}.modal-card .muted{color:#9ba8c3}.modal-card textarea{min-height:160px}.modal-actions{padding-top:4px}.auth-card{background:linear-gradient(180deg,rgba(20,25,39,.94),rgba(12,16,27,.94))}.auth-card .input{min-height:48px}.setting{min-width:0}.settings-grid .input{width:100%}.table input,.table select{min-width:120px}

/* Onboarding must always occupy the full application canvas */
.app-shell.onboarding-mode{grid-template-columns:minmax(0,1fr)!important;width:100vw;min-height:100vh;height:100vh}.app-shell.onboarding-mode .sidebar,.app-shell.onboarding-mode .mobile-nav{display:none!important}.app-shell.onboarding-mode .app-main{grid-column:1!important;width:100%!important;min-width:0!important;grid-template-rows:72px minmax(0,1fr)!important}.app-shell.onboarding-mode .app-header{width:100%;padding-inline:clamp(20px,4vw,56px)}.app-shell.onboarding-mode .app-header>.row:last-child{display:none}.app-shell.onboarding-mode .app-content{width:100%;padding:46px clamp(20px,5vw,72px) 72px;overflow:auto;display:block}.app-shell.onboarding-mode .onboarding{width:min(980px,100%);max-width:980px;margin:0 auto}.app-shell.onboarding-mode .onboarding .page-head{margin-bottom:18px}.app-shell.onboarding-mode .onboarding .page-head h1{font-size:clamp(34px,4vw,48px);line-height:1.04;letter-spacing:-1.6px;max-width:720px}.app-shell.onboarding-mode .onboard-card{padding:clamp(22px,3vw,36px);width:100%}.app-shell.onboarding-mode .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 20px}.app-shell.onboarding-mode textarea{min-height:132px}.app-shell.onboarding-mode .progress{max-width:420px}.onboarding .field{margin:0}.onboarding .inline-actions{margin-top:22px!important}

/* Public authenticated profile */
.profile-wrap{position:relative}.profile-trigger{min-height:46px;max-width:290px;display:flex;align-items:center;gap:10px;padding:6px 10px 6px 7px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:rgba(255,255,255,.045);color:#f7f9ff;cursor:pointer;transition:.2s}.profile-trigger:hover,.profile-wrap.open .profile-trigger{border-color:rgba(87,158,255,.34);background:rgba(255,255,255,.075)}.profile-avatar{width:34px;height:34px;border-radius:11px;overflow:hidden;background:linear-gradient(135deg,#31bfff,#745cff);display:grid;place-items:center;color:#fff;font-weight:850;flex:0 0 auto}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.2}.profile-copy strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.profile-copy small{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8390aa;font-size:10px;margin-top:3px}.profile-chevron{width:15px;height:15px;color:#7887a5;transition:transform .2s}.profile-wrap.open .profile-chevron{transform:rotate(180deg)}.profile-menu{position:absolute;right:0;top:calc(100% + 10px);width:230px;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(12,17,29,.98);box-shadow:0 22px 70px rgba(0,0,0,.5);backdrop-filter:blur(20px);display:none;z-index:80}.profile-wrap.open .profile-menu{display:block}.profile-menu a,.profile-menu button{width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;border:0;border-radius:11px;color:#dfe7f7;background:transparent;text-align:left;font-weight:650;cursor:pointer}.profile-menu a:hover,.profile-menu button:hover{background:rgba(255,255,255,.055)}.profile-menu .ui-icon{color:#86a8e8}.profile-sep{height:1px;background:rgba(255,255,255,.075);margin:6px 4px}.topbar .actions .btn{display:inline-flex;align-items:center;gap:8px}

/* Public landing polish */
.trust span{display:inline-flex;align-items:center;gap:8px}.trust span:before{content:''!important;width:7px;height:7px;border-radius:50%;background:#45c9ff;box-shadow:0 0 14px rgba(69,201,255,.45);margin:0!important}.feature .icon .ui-icon{width:22px;height:22px}.hero .btn,.cta .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.dashboard-preview{isolation:isolate}.preview-main{min-width:0}

/* Better app/admin responsive constraints */
.app-main,.admin-main{min-width:0}.app-content>*{max-width:100%}.panel,.stat,.channel,.price,.feature,.step{min-width:0}.row{min-width:0}.page-head>div{min-width:0}.table-wrap{max-width:100%;background:rgba(255,255,255,.012)}.admin-main{overflow-x:hidden}.admin-shell{width:100%;max-width:100vw}.composer textarea{color:#f7f9ff!important;background:#111722!important}.chat-head select{max-width:220px}.kv{color:#edf2ff}

@media(max-width:980px){.app-shell.onboarding-mode .app-main{grid-template-rows:66px minmax(0,1fr)!important}.app-shell.onboarding-mode .app-content{padding:32px 22px 60px}.profile-copy small{display:none}.profile-copy strong{max-width:110px}.profile-trigger{max-width:200px}.admin-main{padding:20px 16px}}
@media(max-width:700px){.app-shell.onboarding-mode .form-grid{grid-template-columns:1fr}.app-shell.onboarding-mode .full{grid-column:auto}.app-shell.onboarding-mode .onboard-card{padding:20px}.app-shell.onboarding-mode .app-content{padding:24px 14px 44px}.onboarding .inline-actions .btn{width:100%}.profile-copy{display:none}.profile-trigger{padding:6px}.profile-chevron{display:none}.profile-menu{right:-4px}.topbar .actions{gap:7px}.topbar .actions .btn.primary{padding-inline:12px}.modal{padding:10px}.modal-card{padding:20px;border-radius:20px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1;min-width:110px}.field{margin:13px 0}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}}
.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.meta-chip{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;border:1px solid rgba(122,146,196,.16);background:rgba(255,255,255,.04);color:#91a1bf;font-size:10px;font-weight:750;line-height:1.2}.meta-chip.lead{color:#86d6ff;border-color:rgba(68,169,255,.2);background:rgba(68,169,255,.08)}.meta-chip.unread{color:#fff;background:#356dff;border-color:#356dff;min-width:20px;justify-content:center}
html{color-scheme:dark}.back-icon{transform:rotate(180deg)}


/* v1.0.3 — robust onboarding scrolling
   The regular app uses an internal scroll container. During first-run onboarding
   we deliberately switch to document scrolling so long forms can never be clipped. */
body.app-body.onboarding-page{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  min-height:100dvh;
  overscroll-behavior-y:auto;
}
body.app-body.onboarding-page .app-shell.onboarding-mode{
  width:100%!important;
  height:auto!important;
  min-height:100dvh!important;
  overflow:visible!important;
  display:block!important;
}
body.app-body.onboarding-page .app-shell.onboarding-mode .app-main{
  width:100%!important;
  height:auto!important;
  min-height:100dvh!important;
  overflow:visible!important;
  display:block!important;
}
body.app-body.onboarding-page .app-shell.onboarding-mode .app-header{
  position:sticky;
  top:0;
  z-index:45;
  min-height:72px;
  height:72px;
  background:rgba(7,10,18,.9);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
body.app-body.onboarding-page .app-shell.onboarding-mode .app-content{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  padding-bottom:max(120px,calc(80px + env(safe-area-inset-bottom)))!important;
}
body.app-body.onboarding-page .onboarding{
  min-height:0;
}
body.app-body.onboarding-page .onboard-card{
  margin-bottom:24px;
}
/* Also harden all normal app scroll containers. */
.app-shell,.app-main,.app-content{min-height:0}
.app-main{overflow:hidden}
.app-content{
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  scrollbar-gutter:stable;
}
@media(max-width:700px){
  body.app-body.onboarding-page .app-shell.onboarding-mode .app-header{
    min-height:66px;
    height:66px;
  }
  body.app-body.onboarding-page .app-shell.onboarding-mode .app-content{
    padding-bottom:max(96px,calc(64px + env(safe-area-inset-bottom)))!important;
  }
}

/* Ruumess 1.1.0 — Inbox reliability, billing and finance administration */
.badge-count{display:inline-flex!important;min-width:20px;height:20px;padding:0 6px;border-radius:999px;align-items:center;justify-content:center;background:#356dff;color:#fff;font-size:10px;font-weight:800;margin-left:auto}
.ai-draft{margin:14px 0 18px auto;width:min(680px,88%);padding:16px 18px;border:1px solid rgba(89,148,255,.24)!important;background:linear-gradient(135deg,rgba(32,89,176,.13),rgba(101,73,210,.12))!important;border-radius:18px}.ai-draft .inline-actions{margin-top:12px}.chat-head .row{flex-wrap:wrap}.chat-head select{min-width:210px}.notification-item{display:block;padding:13px 12px;margin:8px 0;border-radius:13px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);color:#eef3ff;text-decoration:none;transition:.18s}.notification-item:hover{background:rgba(255,255,255,.055);border-color:rgba(91,152,255,.25)}.notification-item.unread{box-shadow:inset 3px 0 0 #4b8cff;background:rgba(75,140,255,.055)}
.billing-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.plan-card{position:relative;padding:24px;display:flex;flex-direction:column;min-height:360px}.plan-card.popular{border-color:rgba(89,125,255,.44)!important;box-shadow:0 24px 70px rgba(49,78,180,.14),inset 0 1px 0 rgba(255,255,255,.05)}.plan-card>.badge{position:absolute;right:18px;top:18px}.plan-card h3{font-size:22px;margin:0 0 10px}.plan-price{font-size:34px;font-weight:850;letter-spacing:-1px;margin:18px 0}.plan-price small{font-size:12px;color:#8491ad;font-weight:600;letter-spacing:0}.plan-card .list{margin:4px 0 22px;flex:1}.plan-card .list>div{position:relative;padding-left:18px}.plan-card .list>div:before{content:'';position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:999px;background:#49b8ff;box-shadow:0 0 12px rgba(73,184,255,.4)}.payment-list{margin-top:14px}.payment-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-top:1px solid rgba(255,255,255,.065)}.payment-row:first-child{border-top:0}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}
.admin-plan-grid{grid-template-columns:repeat(3,minmax(260px,1fr))}.admin-stats .money{font-size:clamp(22px,2.2vw,34px)}.settings-section h3{margin-bottom:5px}.setting label{display:block;color:#c8d2e6;font-size:12px;font-weight:750;margin-bottom:7px}.setting-hint{display:block;margin-top:7px;line-height:1.45}.status.connecting{color:#c6b1ff;border-color:rgba(139,112,255,.22);background:rgba(110,80,255,.08)}
@media(max-width:1100px){.plan-grid,.admin-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-summary{align-items:flex-start}}
@media(max-width:700px){.plan-grid,.admin-plan-grid{grid-template-columns:1fr}.billing-summary{flex-direction:column}.plan-card{min-height:0}.plan-price{font-size:30px}.chat-head .row{width:100%}.chat-head select{width:100%!important;max-width:none}.ai-draft{width:100%}.payment-row{align-items:flex-start;flex-direction:column;gap:8px}}

/* 1.1.0 admin navigation: keep the growing super-admin usable on shorter screens */
.admin-sidebar{overflow:hidden}.admin-sidebar .side-nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}.admin-sidebar .side-nav::-webkit-scrollbar{width:6px}.admin-sidebar .side-nav::-webkit-scrollbar-thumb{background:rgba(132,151,190,.22);border-radius:999px}
.mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.mobile-more-item{min-height:74px;justify-content:flex-start;gap:10px}.mobile-more-item .ui-icon{width:20px;height:20px}@media(max-width:520px){.mobile-more-grid{grid-template-columns:1fr}}
/* v1.1.1 realtime badges */
.mobile-mini-badge{position:absolute;top:5px;right:18%;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#356dff;color:#fff;font-size:9px;font-weight:800;display:flex;align-items:center;justify-content:center}.mobile-mini-badge:empty,.mobile-mini-badge[hidden]{display:none!important}.mobile-nav button{position:relative}.side-nav .badge-count{margin-left:auto}.realtime-state{font-size:11px;color:#7f8baa}.realtime-state.online{color:#77dfb9}.realtime-state.offline{color:#ff9ca6}

/* Ruumess AI 1.2.0 — adaptive application shell, mobile UX, analytics, settings */
:root{--safe-bottom:env(safe-area-inset-bottom,0px);--app-vh:100dvh}
html,body.app-body{height:100%;min-height:100%;max-width:100%;overflow:hidden}
body.app-body{overscroll-behavior:none}
.app-shell{height:var(--app-vh,100dvh);min-height:0}
.app-main{grid-template-rows:72px minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
.app-content{height:100%;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:max(28px,var(--safe-bottom))}
.app-content.page-conversations{overflow:hidden!important;padding-bottom:28px}
.app-content.page-conversations .inbox{height:100%;min-height:0;max-height:none}
.inbox-list,.chat-pane,.messages,.customer-pane{min-height:0}
.messages{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mobile-nav{padding-bottom:var(--safe-bottom);min-height:66px}
.mobile-nav button{min-width:0;position:relative}
.mobile-nav button span:not(.mobile-mini-badge){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.entitlement-strip{margin:-8px 0 16px;padding:14px 16px;border-radius:17px;display:grid;grid-template-columns:minmax(140px,.7fr) 1fr 1.2fr auto;gap:18px;align-items:center}.entitlement-strip>div:first-child{display:grid;gap:2px}.usage-line{display:grid;gap:7px;font-size:12px;color:#aeb9d2}.usage-track{height:5px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}.usage-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#35c7ff,#735cff)}
.analytics-panel{margin-top:16px}.analytics-two{grid-template-columns:1fr 1fr}.chart-legend{display:flex;gap:14px;flex-wrap:wrap;color:#8f9bb7;font-size:11px}.chart-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:3px;margin-right:5px}.chart-legend .m:before{background:#49bdff}.chart-legend .c:before{background:#7e69ff}.chart-legend .l:before{background:#4ed7a5}.mini-chart{height:230px;display:flex;align-items:stretch;gap:7px;padding-top:24px;overflow-x:auto}.chart-col{min-width:28px;flex:1;display:grid;grid-template-rows:1fr auto;gap:8px;text-align:center}.chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:2px;min-height:170px}.chart-bars i{display:block;width:7px;border-radius:5px 5px 2px 2px;min-height:3px}.chart-bars .m{background:#49bdff}.chart-bars .c{background:#7e69ff}.chart-bars .l{background:#4ed7a5}.chart-col small{color:#6f7c99;font-size:9px}.provider-line{display:grid;grid-template-columns:90px 1fr 38px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}.provider-line>div{height:7px;background:rgba(255,255,255,.06);border-radius:999px;overflow:hidden}.provider-line i{display:block;height:100%;background:linear-gradient(90deg,#38bdff,#725fff);border-radius:inherit}.metric-list{display:grid}.metric-list>div,.security-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.06)}.upgrade-card{margin-top:16px;display:flex;align-items:center;gap:20px;justify-content:space-between}.upgrade-card p{flex:1}

.settings-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;margin-bottom:16px;scrollbar-width:none}.settings-tabs::-webkit-scrollbar{display:none}.settings-tabs .tab{white-space:nowrap}.settings-pane{display:none}.settings-pane.active{display:block}.settings-card{max-width:1050px}.settings-title{justify-content:space-between;align-items:flex-start}.notif-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.notif-channel{padding:18px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)}.notif-channel p{min-height:44px}.switch-row{display:flex;align-items:center;gap:8px;margin-top:10px;color:#bac4d8}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}.event-toggle{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:13px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.022)}.event-toggle input,.switch-row input,.entitlement-checks input{accent-color:#5d77ff}.quiet-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:520px}.feature-lock{margin:14px 0;padding:13px 14px;border-radius:14px;background:rgba(255,183,71,.07);border:1px solid rgba(255,183,71,.14);display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-notify-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-notify-grid>.panel:last-child{grid-column:1/-1}.smart-event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0 20px}.smart-event-list>div{padding:14px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);display:grid;gap:5px}.smart-event-list span{color:#8996b2;font-size:12px}.entitlement-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.entitlement-checks label{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.025)}

.mobile-bottom-sheet{align-self:end;width:100%!important;max-width:640px!important;max-height:min(78dvh,760px)!important;border-radius:26px 26px 0 0!important;padding:18px 18px calc(18px + var(--safe-bottom))!important;animation:sheetUp .22s ease-out}.modal:has(.mobile-bottom-sheet){place-items:end center;padding:0!important}.mobile-sheet-head{display:flex;align-items:center;justify-content:space-between}.mobile-sheet-head h2{margin:2px 0 0}.sheet-plan{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;margin:16px 0;border-radius:14px;background:linear-gradient(100deg,rgba(43,132,255,.12),rgba(116,82,255,.1));border:1px solid rgba(83,124,255,.18)}.sheet-plan>div{display:grid;gap:2px}.mobile-more-grid{grid-template-columns:1fr 1fr!important}.mobile-more-item{display:flex!important;border:1px solid rgba(255,255,255,.075)!important;background:rgba(255,255,255,.028)!important;border-radius:15px!important;padding:16px!important;min-height:82px!important;color:#eef2ff!important;text-align:left!important;align-items:center!important;justify-content:flex-start!important}.mobile-more-item span{display:grid;gap:3px}.mobile-more-item small{font-size:11px;color:#7f8daa;font-weight:500}.mobile-more-item .ui-icon{color:#78c8ff;flex:0 0 auto}@keyframes sheetUp{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}

@media(max-width:1100px){.entitlement-strip{grid-template-columns:1fr 1fr}.entitlement-strip .btn{justify-self:start}.notif-channel-grid{grid-template-columns:1fr 1fr}.admin-notify-grid{grid-template-columns:1fr}.admin-notify-grid>.panel:last-child{grid-column:auto}}
@media(max-width:980px){
  .app-shell{height:var(--app-vh,100dvh)}.app-main{grid-template-rows:66px minmax(0,1fr) calc(64px + var(--safe-bottom))}.app-content{padding:18px 16px max(18px,var(--safe-bottom))}.app-content.page-conversations{padding:12px}.mobile-nav{height:calc(64px + var(--safe-bottom));padding-bottom:var(--safe-bottom);position:relative;z-index:25;box-shadow:0 -14px 40px rgba(0,0,0,.22)}.mobile-nav button{padding:6px 2px max(6px,calc(4px + var(--safe-bottom)/3));gap:3px}.mobile-nav .ui-icon{width:20px;height:20px}.app-header{min-height:66px;padding:0 16px;position:relative;z-index:30}.app-header>.row:last-child{gap:8px}.app-header .btn.small{padding:8px 11px}.entitlement-strip{grid-template-columns:1fr 1fr;margin-top:0}.analytics-two{grid-template-columns:1fr}.notif-channel-grid{grid-template-columns:1fr}.event-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  html,body.app-body{overflow:hidden}.app-shell{height:var(--app-vh,100dvh);min-height:0}.app-main{grid-template-rows:58px minmax(0,1fr) calc(62px + var(--safe-bottom))}.app-header{height:58px;min-height:58px;padding:0 14px}.app-header #headerSub{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header #adminBtn{font-size:11px;padding:7px 9px}.app-header .avatar{width:34px;height:34px}.app-content{padding:12px 12px 16px}.app-content.page-dashboard,.app-content.page-analytics,.app-content.page-settings,.app-content.page-billing,.app-content.page-channels,.app-content.page-agent,.app-content.page-leads{padding-bottom:22px}.page-head{margin-bottom:16px;gap:12px}.page-head h1{font-size:27px}.page-head .btn.primary{width:auto}.stat-grid{grid-template-columns:1fr 1fr}.stat{min-height:105px}.stat .label{font-size:12px}.stat .value{font-size:28px}.entitlement-strip{grid-template-columns:1fr;margin:-2px 0 12px;padding:13px}.entitlement-strip .usage-line{display:none}.two-col{margin-top:12px}.panel{padding:17px}.conversation-row{grid-template-columns:36px minmax(0,1fr) auto;padding:12px 7px}.conversation-row .avatar{width:34px;height:34px}.conversation-row .muted{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.app-content.page-conversations{padding:0;background:#080c15}.inbox{height:100%!important;border:0!important;border-radius:0!important}.inbox-title{padding:14px 16px}.conv-item{padding:14px 15px}.chat-head{height:auto;min-height:60px;padding:9px 12px;gap:8px;align-items:flex-start}.chat-head>.row{justify-content:flex-end}.chat-head select{font-size:12px!important;padding:8px!important}.messages{padding:14px 12px 18px}.bubble{max-width:91%;padding:11px 12px}.composer{padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));gap:8px;background:#0b101c}.composer textarea{min-height:44px;max-height:100px;padding:11px}.composer .btn{padding-inline:14px}.mobile-nav{height:calc(62px + var(--safe-bottom))}.mobile-nav button{font-size:10px}.mobile-mini-badge{top:4px;right:22%;box-shadow:0 0 0 2px #0a0e18}.settings-tabs{position:sticky;top:-12px;z-index:5;background:linear-gradient(#090d17 70%,transparent);padding:10px 0 12px;margin:-10px 0 4px}.settings-card{padding:16px}.form-grid,.quiet-grid{grid-template-columns:1fr}.event-grid{grid-template-columns:1fr}.notif-channel-grid{grid-template-columns:1fr}.feature-lock{align-items:flex-start;flex-direction:column}.analytics-stats{grid-template-columns:1fr 1fr}.analytics-stats .stat{min-height:100px}.mini-chart{height:185px;gap:4px}.chart-col{min-width:25px}.chart-bars{min-height:130px}.chart-legend{display:none}.upgrade-card{align-items:flex-start;flex-direction:column}.provider-line{grid-template-columns:70px 1fr 30px}.billing-summary{margin-bottom:12px}.plan-grid{gap:12px}.plan-card{padding:18px}.payment-row{word-break:break-word}.mobile-more-grid{grid-template-columns:1fr!important}.admin-notify-grid,.smart-event-list,.entitlement-checks{grid-template-columns:1fr}
}
@media(max-width:390px){.app-header #adminBtn{display:none!important}.stat-grid,.analytics-stats{grid-template-columns:1fr 1fr}.stat{padding:13px}.stat .value{font-size:25px}.mobile-nav button span:not(.mobile-mini-badge){font-size:9px}.page-head h1{font-size:25px}}
.admin-mobile-nav{display:none}
@media(max-width:980px){body:has(.admin-shell){padding-bottom:calc(62px + var(--safe-bottom));overflow-x:hidden}.admin-main{padding:18px 14px 26px}.admin-main>.page-head{align-items:flex-start;padding-right:0}.admin-main>.page-head h1{font-size:28px}.admin-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;height:calc(62px + var(--safe-bottom));padding-bottom:var(--safe-bottom);z-index:90;background:rgba(8,12,22,.96);backdrop-filter:blur(22px);border-top:1px solid rgba(255,255,255,.08)}.admin-mobile-nav button{border:0;background:transparent;color:#8290ad;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px}.admin-mobile-nav button .ui-icon{width:19px;height:19px}.admin-mobile-nav button:active{color:#fff}.admin-main .stat-grid{grid-template-columns:1fr 1fr}.table-wrap{border-radius:14px}.admin-main .page-head>.btn{padding:9px 12px}.admin-main .page-head>.btn span{display:none}}
@media(max-width:520px){.admin-main{padding:14px 10px 22px}.admin-main .stat-grid{grid-template-columns:1fr 1fr;gap:9px}.admin-main .stat{padding:14px}.admin-main .stat .value{font-size:24px}.admin-main .two-col{grid-template-columns:1fr}.admin-plan-grid{grid-template-columns:1fr!important}}


/* Ruumess AI 1.2.2 — Super Admin scroll reliability */
html:has(body.admin-body){height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:auto!important}
body.admin-body{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;background-attachment:fixed}
body.admin-body .admin-shell{height:auto!important;min-height:100dvh!important;max-height:none!important;align-items:start;overflow:visible!important}
body.admin-body .admin-main{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow-x:hidden!important;overflow-y:visible!important;touch-action:pan-y;padding-bottom:max(48px,calc(28px + env(safe-area-inset-bottom,0px)))}
body.admin-body .admin-sidebar{height:100dvh!important;max-height:100dvh!important;position:sticky!important;top:0!important;overflow:hidden!important}
body.admin-body .admin-sidebar .side-nav{min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
body.admin-body #adminContent{min-height:0;overflow:visible!important}
@media(max-width:980px){
  html:has(body.admin-body),body.admin-body{height:auto!important;min-height:100%!important;overflow-y:auto!important}
  body.admin-body{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))!important}
  body.admin-body .admin-shell{display:block!important;height:auto!important;min-height:100%!important}
  body.admin-body .admin-main{height:auto!important;min-height:100dvh!important;overflow:visible!important;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
}

/* Ruumess AI 1.3.0 — UX/UI, accessibility and responsive hardening */
:root{--ease-out:cubic-bezier(.2,.8,.2,1);--focus:#65bfff;--surface-hover:rgba(255,255,255,.055)}
html{scroll-behavior:smooth;scrollbar-gutter:stable}
body{overflow-wrap:anywhere}
button,a,input,textarea,select{font:inherit}
.btn,.icon-btn,.panel,.glass,.stat,.price,.feature,.step,.conv-item,.mobile-more-item,.profile-trigger{transition:transform .18s var(--ease-out),border-color .18s ease,background-color .18s ease,box-shadow .18s ease,opacity .18s ease}
.btn:focus-visible,.icon-btn:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible{outline:2px solid var(--focus)!important;outline-offset:2px!important}
.input,textarea,select{max-width:100%;min-width:0}
textarea{resize:vertical}
.table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.table{min-width:760px}
.modal{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom))}
.modal-card{max-height:calc(100dvh - 36px);overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.admin-check{margin:13px 0;gap:9px}
.integration-error{max-width:340px;color:#ff9ca6;white-space:normal}
.error-page{min-height:100dvh;display:grid;place-items:center;padding:24px}.error-page .panel{max-width:620px;text-align:center}.error-code{font-size:72px;font-weight:850;line-height:1;background:linear-gradient(90deg,#37bdff,#8061ff);-webkit-background-clip:text;color:transparent}
.seo-hero{padding-bottom:56px}.seo-copy{padding-top:0}.seo-copy .panel{max-width:980px;margin:auto}.seo-text{font-size:17px;line-height:1.75}.seo-text h2{margin:0 0 12px;font-size:28px}.seo-text h2:not(:first-child){margin-top:28px}
.faq-grid{display:grid;gap:12px;max-width:900px;margin:28px auto 0}.faq-grid details{padding:18px 20px}.faq-grid summary{cursor:pointer;font-weight:750;list-style:none}.faq-grid summary::-webkit-details-marker{display:none}.faq-grid p{color:#9da8c1;line-height:1.7;margin:12px 0 0}
.footer-links{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.footer-links a{color:#95a1bc;text-decoration:none}.footer-links a:hover{color:#fff}
.admin-main{min-width:0}.admin-main #adminContent{min-width:0}.admin-main .settings-grid,.admin-main .form-grid{min-width:0}.admin-main .settings-section{overflow:hidden}
.admin-main .panel,.app-content .panel{max-width:100%}
.admin-main code{white-space:pre-wrap;word-break:break-word}

@media (hover:hover) and (pointer:fine){
 .btn:hover,.icon-btn:hover,.mobile-more-item:hover{transform:translateY(-1px)}
 .panel.glass:hover,.stat.glass:hover,.price.glass:hover,.feature.glass:hover,.step.glass:hover{border-color:rgba(110,145,255,.17)}
 .price.glass:hover,.feature.glass:hover,.step.glass:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(0,0,0,.18)}
}
@media(max-width:980px){
 body.admin-body .admin-sidebar{display:none!important}
 body.admin-body .admin-shell{display:block!important;width:100%!important;max-width:100vw!important}
 body.admin-body .admin-main{width:100%!important;max-width:100vw!important;padding-inline:14px!important}
 body.admin-body .page-head{display:flex!important;gap:12px!important;flex-wrap:wrap!important}
 body.admin-body .table-wrap{margin-inline:0!important}
 body.admin-body .modal-card{width:min(100%,680px)!important}
 .admin-mobile-nav{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
 .settings-tabs{overflow-x:auto;scrollbar-width:none;white-space:nowrap}.settings-tabs::-webkit-scrollbar{display:none}.settings-tabs .btn{flex:0 0 auto}
}
@media(max-width:640px){
 html,body{max-width:100%;overflow-x:hidden}
 .modal{padding:0!important;align-items:flex-end!important}.modal-card{width:100%!important;max-width:none!important;max-height:88dvh!important;border-radius:24px 24px 0 0!important;padding:20px 16px calc(20px + env(safe-area-inset-bottom))!important}
 .modal-actions{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));z-index:2;background:linear-gradient(180deg,rgba(12,17,29,.2),#0c111d 26%);padding:18px 0 max(2px,env(safe-area-inset-bottom));margin-bottom:calc(-1 * env(safe-area-inset-bottom));flex-wrap:wrap}
 .modal-actions .btn{flex:1 1 auto;min-height:44px}
 body.admin-body .admin-main{padding:12px 10px calc(92px + env(safe-area-inset-bottom))!important}
 body.admin-body .admin-main>.page-head h1{font-size:26px!important}.admin-main .stat-grid{grid-template-columns:1fr 1fr!important}
 .admin-main .form-grid,.admin-main .settings-grid{grid-template-columns:1fr!important}.admin-main .field.full{grid-column:auto!important}
 .admin-main .table{min-width:680px}
 .seo-hero{padding-top:92px}.seo-text{font-size:16px}.seo-text h2{font-size:23px}
 .footer .container{align-items:flex-start;gap:18px;flex-direction:column}.footer-links{gap:12px 16px}
}
@media(max-width:390px){.admin-main .stat-grid{grid-template-columns:1fr!important}.modal-actions .btn.danger{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Ruumess AI 1.3.1 — public-page scroll hardening */
body.public-body{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;-webkit-overflow-scrolling:touch;touch-action:pan-y}
body.public-body main{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.public-body .topbar{position:sticky;top:0}
@media(max-width:640px){body.public-body{min-height:100svh!important}.public-body .hero{padding-top:72px}.public-body .container{width:min(100% - 28px,1220px)}}


/* Ruumess AI 1.3.2 — public scroll + MAX binding UX */
html.public-html{height:auto!important;min-height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;scrollbar-gutter:stable}
html.public-html body.public-body{height:auto!important;min-height:100vh!important;min-height:100dvh!important;max-height:none!important;overflow-x:hidden!important;overflow-y:visible!important;position:static!important;touch-action:pan-y!important}
html.public-html body.public-body main,html.public-html body.public-body footer{height:auto!important;max-height:none!important;overflow:visible!important}
.bind-steps{display:grid;gap:9px;margin:16px 0}.bind-steps>div{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025)}.bind-steps b{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(57,176,255,.12);color:#8bd7ff;font-size:12px;flex:0 0 auto}.bind-steps span{color:#dce5f7}.max-code-block{margin-top:16px;padding:14px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)}
@media(max-width:640px){html.public-html,html.public-html body.public-body{min-height:100svh!important}.bind-steps>div{align-items:flex-start}.max-code-block .code-note{font-size:15px!important}}
