:root{--navy:#101b3c;--navy2:#172650;--blue:#4169f5;--blue2:#5e7dfd;--purple:#8664e9;--ink:#192340;--muted:#7b849d;--line:#e9edf5;--bg:#f5f7fc;--white:#fff;--green:#1daf80;--orange:#f3a34c;--red:#e65d72;--shadow:0 24px 70px rgba(25,40,82,.12);--shadow-sm:0 8px 24px rgba(25,40,82,.07);--radius:20px;--font:'Cairo',system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:#f7f8fd;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(65,105,245,.25);outline-offset:2px}.hidden{display:none!important}.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.ambient{position:fixed;pointer-events:none;z-index:-1;filter:blur(2px)}.ambient-a{width:520px;height:520px;right:-240px;top:60px;background:radial-gradient(circle,rgba(106,119,255,.12),transparent 70%)}.ambient-b{width:500px;height:500px;left:-260px;top:600px;background:radial-gradient(circle,rgba(154,114,239,.10),transparent 70%)}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-mark{width:43px;height:43px;border-radius:15px;background:linear-gradient(145deg,#5c7aff,#344ed3);display:grid;place-items:center;color:#fff;font-size:19px;box-shadow:0 9px 20px rgba(65,105,245,.25);flex:none}.brand b{font-family:Inter,var(--font);font-size:14px;letter-spacing:.4px;color:var(--navy);display:block;white-space:nowrap}.brand em{font-style:normal;color:var(--blue)}.brand small{display:block;color:#9aa2b5;font:700 8px Inter,sans-serif;letter-spacing:1.4px;margin-top:4px}.btn{border:1px solid transparent;border-radius:12px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:800;font-size:13px;transition:.2s ease;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-primary{color:white;background:linear-gradient(130deg,#5073ff,#405be7);box-shadow:0 8px 18px rgba(65,105,245,.2)}.btn-primary:hover{box-shadow:0 12px 25px rgba(65,105,245,.3)}.btn-outline{color:var(--navy);border-color:#dce3f1;background:#fff}.btn-ghost{color:#52607d;background:transparent}.btn-light{background:#fff;color:var(--navy);box-shadow:0 8px 24px rgba(2,10,35,.13)}.btn-lg{padding:14px 23px;font-size:14px;border-radius:14px}.btn-wide{width:100%}.icon-btn{width:38px;height:38px;border:0;border-radius:11px;display:inline-grid;place-items:center;background:transparent;color:#7b86a0;transition:.2s}.icon-btn:hover{background:#f0f3fb;color:var(--blue)}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--blue);font-size:11px;font-weight:900;letter-spacing:.3px}.live-dot,.live-label i,.admin-live i,.connection-state i{width:7px;height:7px;border-radius:50%;background:#24bf91;box-shadow:0 0 0 4px rgba(36,191,145,.12);display:inline-block}.public-nav{width:min(1280px,calc(100% - 56px));margin:0 auto;height:94px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5}.public-nav nav{display:flex;align-items:center;gap:34px;color:#67718b;font-size:12px;font-weight:700}.public-nav nav a:hover,.footer-links a:hover{color:var(--blue)}.nav-actions{display:flex;align-items:center;gap:8px}.mobile-menu{display:none}.landing{overflow:hidden}.hero{min-height:555px;display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:48px;padding-top:18px;padding-bottom:48px}.hero-copy{padding-bottom:24px}.hero-copy h1{font-size:clamp(42px,5.2vw,68px);line-height:1.22;letter-spacing:-1.8px;color:var(--navy);margin:23px 0 18px;font-weight:900}.hero-copy h1 span,.section-head h2 span{background:linear-gradient(100deg,#5578ff,#9472e9);background-clip:text;-webkit-background-clip:text;color:transparent}.hero-copy>p{font-size:15px;line-height:2.05;color:#74809b;max-width:590px;margin:0}.hero-actions{display:flex;gap:12px;margin-top:27px;flex-wrap:wrap}.hero-trust{display:flex;gap:20px;flex-wrap:wrap;margin-top:30px;color:#8992a9;font-size:10px;font-weight:700}.hero-trust span{display:flex;gap:7px;align-items:center}.hero-trust i{color:#4d70f4}.hero-visual{min-height:460px;position:relative;display:grid;place-items:center}.hero-glow{position:absolute;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(95,113,248,.2),rgba(137,105,229,.09) 45%,transparent 70%)}.orbit{position:absolute;border:1px solid rgba(108,127,220,.15);border-radius:50%;transform:rotate(-24deg)}.orbit-one{width:520px;height:280px}.orbit-two{width:450px;height:360px;transform:rotate(44deg)}.device-card{width:min(340px,75vw);position:relative;z-index:2;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.9);border-radius:29px;box-shadow:0 35px 90px rgba(40,54,120,.22);padding:20px 19px 17px;transform:rotate(-4deg)}.device-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #edf0f7}.device-brand{display:flex;align-items:center;gap:8px;color:var(--navy);font:700 11px Inter,var(--font)}.mini-mark{width:25px;height:25px;border-radius:9px;background:#526ff2;color:white;display:grid;place-items:center}.device-dots{display:flex;gap:4px}.device-dots i{width:5px;height:5px;border-radius:50%;background:#dbe1ef}.preview-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 0 12px}.preview-heading small{color:#919bb1;font-size:9px}.preview-heading h3{font-size:17px;margin:1px 0;color:var(--navy)}.preview-add{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#edf1ff;color:#4e6bf1}.preview-search{height:32px;border-radius:9px;background:#f4f6fb;color:#a2aabd;font-size:9px;display:flex;align-items:center;gap:8px;padding:0 11px;margin-bottom:7px}.preview-chat{display:flex;align-items:center;gap:9px;padding:10px 1px;border-bottom:1px solid #f0f2f7}.avatar{width:37px;height:37px;border-radius:50%;display:inline-grid;place-items:center;font-weight:900;flex:none}.avatar-blue{background:#e7edff;color:#5575ef}.avatar-purple{background:#f0eaff;color:#936fe3}.avatar-mint{background:#e1f7f0;color:#35a881}.preview-chat-info{flex:1;min-width:0}.preview-chat-info b{display:block;font-size:10px;color:#313d5b}.preview-chat-info small{display:block;color:#9ca5b8;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-chat-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:#a5adbe;font-size:8px}.preview-chat-meta span{border-radius:20px;background:#5574f3;color:white;padding:1px 5px}.preview-message{display:flex;align-items:flex-start;gap:8px;padding-top:15px}.preview-message>.avatar{width:28px;height:28px;font-size:10px}.preview-message>div>small{font-size:8px;color:#8d98af}.bubble-demo{background:#f0f3fc;color:#445071;border-radius:3px 12px 12px 12px;padding:8px 10px;margin-top:4px;font-size:10px;min-width:130px}.bubble-demo span,.preview-reply span{display:block;text-align:left;color:#9aa5bc;font-size:7px;margin-top:3px}.bubble-demo span i,.preview-reply span i{color:#5575ef}.preview-reply{background:linear-gradient(110deg,#5577f5,#7d6de8);color:#fff;border-radius:12px 3px 12px 12px;padding:8px 11px;font-size:10px;width:max-content;max-width:80%;margin:7px 0 0 auto}.preview-reply span{color:#d6ddff}.floating-tag{position:absolute;z-index:3;background:#fff;padding:11px 15px;border-radius:13px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:9px;color:#66728e;font-size:10px;font-weight:800}.floating-tag i{color:var(--blue)}.tag-top{top:59px;right:0;transform:rotate(4deg)}.tag-bottom{bottom:62px;left:-4px;transform:rotate(3deg)}.floating-lock{position:absolute;bottom:107px;right:1px;width:51px;height:51px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(140deg,#8a70e9,#5b6df0);color:white;font-size:20px;box-shadow:0 15px 28px rgba(101,99,224,.25);z-index:3}.metrics-strip{border-block:1px solid #e9edf5;display:grid;grid-template-columns:repeat(4,1fr);padding:23px 0;margin-top:8px}.metrics-strip>div{display:flex;align-items:center;justify-content:center;gap:12px;border-left:1px solid #e8ebf3}.metrics-strip>div:last-child{border:0}.metrics-strip strong{font:800 22px Inter,var(--font);color:var(--navy)}.metrics-strip strong i{color:var(--blue)}.metrics-strip span{font-size:10px;color:#8c96ac}.section{padding-top:100px;padding-bottom:100px}.section-head{text-align:center;margin-bottom:45px}.section-head h2{font-size:clamp(28px,3vw,40px);margin:9px 0 7px;color:var(--navy);font-weight:900}.section-head p{color:#8993a9;font-size:13px;margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-card{background:#fff;border:1px solid #edf0f6;border-radius:20px;padding:25px 24px 28px;position:relative;overflow:hidden;transition:.25s;min-height:205px}.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-sm);border-color:#dce4ff}.feature-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:18px;margin-bottom:17px}.icon-blue{color:#4d70f4;background:#edf1ff}.icon-violet{color:#8b68e6;background:#f2edff}.icon-mint{color:#1ca77d;background:#e6f8f2}.icon-amber{color:#db963d;background:#fff5e7}.icon-rose{color:#d65c78;background:#fff0f4}.icon-dark{color:#4c5c83;background:#eef1f7}.feature-card h3{font-size:15px;margin:0 0 8px;color:var(--navy)}.feature-card p{font-size:11px;line-height:1.95;color:#8892a8;margin:0;max-width:320px}.feature-index{position:absolute;bottom:9px;left:17px;font:800 27px Inter;color:#f2f4f9}.how-section{background:#eef1fb;padding:83px 0}.how-inner .section-head{margin-bottom:38px}.align-right{text-align:right}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{background:#fff;border:1px solid #e9edf8;border-radius:18px;padding:24px;position:relative}.step>span{position:absolute;left:22px;top:18px;color:#d1d8eb;font:800 25px Inter}.step>i{color:#5574f3;font-size:21px;margin-bottom:16px}.step h3{font-size:15px;margin:0 0 5px;color:var(--navy)}.step p{font-size:11px;line-height:1.9;color:#8c96ac;margin:0}.cta-section{padding-top:85px;padding-bottom:85px}.cta-box{border-radius:25px;background:linear-gradient(115deg,#101d44,#243a79 58%,#584c9c);padding:45px 48px;color:#fff;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;gap:25px}.cta-box>*:not(.cta-orb){position:relative;z-index:2}.cta-box .eyebrow{color:#bac8ff}.cta-box h2{font-size:26px;margin:8px 0;color:white}.cta-box p{font-size:12px;color:#b7c2e5;margin:0}.cta-orb{position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.1);border-radius:50%;left:20%;top:-190px;box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.025)}.public-footer{background:#fff;border-top:1px solid #edf0f6}.footer-main{display:grid;grid-template-columns:1fr 1.3fr 1.4fr;align-items:center;gap:30px;padding:29px 0}.footer-main p{font-size:10px;color:#939cb0;line-height:1.9}.footer-links{display:flex;flex-wrap:wrap;gap:13px 18px;justify-content:flex-end;font-size:10px;color:#76819a;font-weight:700}.footer-bottom{border-top:1px solid #f0f2f7;padding:16px 0;display:flex;justify-content:space-between;color:#a1aabc;font-size:9px}.auth-layer,.modal-layer{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;padding:20px}.auth-layer.open,.modal-layer.open{display:flex}.auth-backdrop,.modal-backdrop{position:absolute;inset:0;background:rgba(9,17,42,.55);backdrop-filter:blur(7px)}.auth-panel{position:relative;width:min(510px,100%);max-height:min(92vh,900px);overflow:auto;background:#fff;border-radius:25px;padding:29px 34px 32px;box-shadow:0 35px 100px rgba(3,11,36,.3);animation:pop .25s ease}.modal-close{position:absolute;top:14px;left:14px;width:34px;height:34px;border:0;border-radius:10px;background:#f3f5fa;color:#6d7892}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:23px}.auth-brand b{font:800 12px Inter,var(--font);color:var(--navy)}.auth-brand em{font-style:normal;color:var(--blue)}.auth-brand small{display:block;color:#a0a8b9;font-size:9px;margin-top:3px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f3f9;padding:4px;border-radius:12px;margin-bottom:22px}.auth-tabs button{border:0;background:transparent;padding:9px;border-radius:9px;font-size:11px;font-weight:800;color:#8791a6}.auth-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 3px 10px rgba(25,40,82,.08)}.auth-intro h2{font-size:22px;margin:0 0 2px;color:var(--navy)}.auth-intro p{font-size:11px;color:#99a2b6;margin:0 0 18px}.auth-form label,.settings-form label,.install-form label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:800;color:#505d7a;margin-bottom:13px}.auth-form input,.auth-form select,.settings-form input,.settings-form select,.install-form input,.install-form select{width:100%;height:44px;border:1px solid #e5eaf3;border-radius:10px;background:#fff;padding:0 12px;color:#35415f;font-size:11px;outline:none;transition:.2s}.auth-form input:focus,.auth-form select:focus,.settings-form input:focus,.settings-form select:focus{border-color:#8ea3ff;box-shadow:0 0 0 3px rgba(75,108,242,.09)}.auth-form small,.install-form small{font-size:9px;color:#9ba5b8;font-weight:500}.input-wrap{position:relative}.input-wrap>i{position:absolute;right:13px;top:15px;color:#9ba5b9;font-size:13px}.input-wrap input{padding-right:38px}.toggle-pass{position:absolute;left:8px;top:6px;width:31px;height:31px;border:0;background:transparent;color:#98a1b5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid .full{grid-column:1/-1}.check-line{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-size:9px!important;font-weight:600!important}.check-line input{width:15px;height:15px;accent-color:var(--blue)}.check-line a{color:var(--blue)}.auth-note{font-size:9px;color:#939db1;text-align:center;margin:13px 0 0}.auth-note i{color:var(--blue);margin-left:4px}.form-feedback{font-size:10px;margin-top:10px;color:var(--red);min-height:15px}.toast-root{position:fixed;z-index:100;bottom:22px;left:22px;display:grid;gap:8px;max-width:min(360px,calc(100vw - 40px))}.toast{background:#17264d;color:white;border-radius:12px;padding:12px 15px;box-shadow:var(--shadow);font-size:11px;display:flex;align-items:center;gap:9px;animation:slidein .25s ease}.toast.success i{color:#42d5a4}.toast.error i{color:#ff879a}.toast.info i{color:#9eb5ff}
/* application shell */
.app-body{background:#f3f5fb;overflow:hidden}.app-shell{height:100dvh;min-height:520px;display:flex;position:relative}.sidebar{width:310px;flex:0 0 310px;background:#fff;border-left:1px solid #e9edf5;display:flex;flex-direction:column;z-index:20;min-height:0}.sidebar-top{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #f0f2f7}.sidebar-top .brand-mark{width:37px;height:37px;border-radius:13px;font-size:16px}.sidebar-top .brand b{font-size:12px}.sidebar-top .brand small{font-size:7px}.sidebar-close{display:none}.profile-mini{margin:16px 16px 13px;padding:10px 11px;border:1px solid #edf0f6;border-radius:13px;background:#fafbfe;display:flex;align-items:center;gap:10px;text-align:right}.profile-mini .avatar{width:34px;height:34px}.profile-mini>span:nth-child(2){flex:1;min-width:0}.profile-mini b{display:block;font-size:10px;color:#35415f}.profile-mini small{display:block;font:9px Inter,sans-serif;color:#9aa4b8;margin-top:3px}.profile-mini>i{font-size:12px;color:#9ca6bb}.sidebar-search{height:39px;margin:0 16px 16px;background:#f5f7fb;border:1px solid #eff1f7;border-radius:10px;display:flex;align-items:center;gap:9px;padding:0 11px;color:#a0a9bb}.sidebar-search i{font-size:12px}.sidebar-search input{border:0;outline:0;min-width:0;flex:1;background:transparent;font-size:10px;color:#4b5876}.sidebar-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 20px 8px;color:#6d7892;font-size:10px;font-weight:900}.sidebar-section-head .icon-btn{width:29px;height:29px;background:#edf1ff;color:#4e6ff4}.conversation-list{overflow:auto;flex:1;min-height:80px;padding:0 9px 12px}.conversation-item{display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:13px;cursor:pointer;transition:.18s;min-width:0}.conversation-item:hover{background:#f7f8fc}.conversation-item.active{background:#eff2ff}.conversation-item .avatar{width:41px;height:41px;font-size:13px}.conv-main{min-width:0;flex:1}.conv-title{display:flex;justify-content:space-between;gap:5px;align-items:center}.conv-title b{font-size:10px;color:#34415f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conv-title time{font-size:8px;color:#a0a8ba;white-space:nowrap}.conv-last{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:4px}.conv-last span{font-size:9px;color:#9aa4b7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unread-count{background:#5575f4;color:#fff!important;border-radius:20px;padding:2px 6px;font-size:8px!important;min-width:18px;text-align:center}.sidebar-bottom{border-top:1px solid #eff1f6;padding:9px 12px 12px;display:grid;gap:2px}.side-action{border:0;background:transparent;text-align:right;display:flex;align-items:center;gap:12px;padding:10px 11px;border-radius:10px;color:#75809a;font-size:10px;font-weight:700}.side-action:hover{background:#f4f6fc;color:var(--blue)}.side-action>i{width:17px;text-align:center;font-size:13px}.side-action span{flex:1}.side-badge{background:#ed5d75;color:#fff;border-radius:20px;min-width:18px;text-align:center;padding:1px 5px;font:700 8px Inter}.owner-link{color:#3d5ee9;background:#f2f4ff}.owner-link b{font:800 7px Inter;background:#dfe5ff;padding:4px 6px;border-radius:5px;color:#4d65d6;letter-spacing:.5px}.logout-action{color:#d65c72}.logout-action:hover{background:#fff2f4;color:#d94f6a}.main-panel{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}.app-header{height:77px;flex:none;background:rgba(255,255,255,.9);border-bottom:1px solid #e9edf5;display:flex;align-items:center;justify-content:space-between;padding:0 28px;backdrop-filter:blur(12px)}.header-start,.header-end{display:flex;align-items:center;gap:14px}.header-context .header-kicker{display:block;font-size:8px;color:#a0a9bb;font-weight:700}.header-context b{font-size:14px;color:#2e3b5b}.header-end{gap:15px}.connection-state{font-size:9px;color:#8c97ac;display:flex;align-items:center;gap:8px}.connection-state i{width:6px;height:6px}.avatar-header{border:0;background:#e8edff;color:#5273f4;width:34px;height:34px}.mobile-sidebar-open{display:none}.chat-workspace{flex:1;min-height:0;position:relative;display:flex;overflow:hidden}.chat-empty{margin:auto;text-align:center;padding:25px;max-width:460px}.empty-illustration{width:200px;height:175px;margin:0 auto 15px;position:relative;display:grid;place-items:center}.empty-orbit{position:absolute;width:156px;height:156px;border-radius:50%;border:1px dashed #d5dcf4;box-shadow:0 0 0 16px rgba(229,234,251,.3)}.empty-logo{width:88px;height:88px;background:linear-gradient(135deg,#6686ff,#795fe3);border-radius:28px;display:grid;place-items:center;color:white;font-size:34px;box-shadow:0 20px 35px rgba(83,105,223,.25);transform:rotate(-8deg)}.empty-float{position:absolute;background:#fff;box-shadow:var(--shadow-sm);width:39px;height:39px;display:grid;place-items:center;border-radius:13px;color:#5877f3}.float-one{top:15px;right:9px;transform:rotate(12deg)}.float-two{bottom:15px;right:25px;color:#26a880}.float-three{top:28px;left:8px;color:#9b72e3}.chat-empty h2{font-size:22px;color:var(--navy);margin:0 0 5px}.chat-empty>p{font-size:11px;color:#909bb0;margin:0 auto 18px;line-height:1.9}.empty-foot{font-size:9px;color:#a1aabd;margin-top:23px}.empty-foot i{color:#5e7cf3;margin-left:5px}.chat-panel{position:absolute;inset:0;display:flex;flex-direction:column;background:#f7f8fc;min-height:0}.chat-topbar{height:68px;flex:none;background:#fff;border-bottom:1px solid #e9edf5;display:flex;align-items:center;gap:11px;padding:0 23px}.chat-topbar .avatar{width:37px;height:37px;background:#edf1ff;color:#5877f1}.back-conversations{display:none}.chat-person{min-width:0;flex:1}.chat-person b{display:block;font-size:11px;color:#34415f}.chat-person small{display:block;font-size:9px;color:#9aa5b9;margin-top:3px}.chat-person small.online{color:#1ba77d}.chat-tools{display:flex;gap:5px}.messages-area{flex:1;overflow-y:auto;padding:23px 5vw 16px;scroll-behavior:smooth}.messages-inner{max-width:840px;margin:0 auto;display:flex;flex-direction:column;gap:10px}.date-divider{text-align:center;margin:7px 0 16px}.date-divider span{font-size:8px;color:#9ba5b8;background:#edf0f7;padding:5px 11px;border-radius:20px}.message-row{display:flex;max-width:78%;align-items:flex-end;gap:7px;position:relative}.message-row.mine{align-self:flex-start;flex-direction:row-reverse}.message-row.theirs{align-self:flex-end}.message-bubble{padding:10px 13px;border-radius:15px 15px 15px 4px;background:#fff;border:1px solid #edf0f6;color:#485471;box-shadow:0 3px 10px rgba(37,49,85,.025);min-width:75px;max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap;font-size:11px;line-height:1.9}.message-row.mine .message-bubble{background:linear-gradient(135deg,#5578f6,#6372ec);color:#fff;border:0;border-radius:15px 15px 4px 15px}.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:3px;font:8px Inter,var(--font);opacity:.65}.message-meta i{font-size:9px}.message-row.mine .message-meta i{color:#dbe5ff}.message-row.theirs .message-meta{color:#98a2b6}.message-attachment{display:block;max-width:min(290px,60vw);border-radius:10px;margin-bottom:4px}.attachment-link{display:flex;align-items:center;gap:9px;padding:9px;border-radius:9px;background:rgba(0,0,0,.06);color:inherit;text-decoration:none}.message-row.mine .attachment-link{background:rgba(255,255,255,.14)}.attachment-link i{font-size:20px}.attachment-link small{display:block;font-size:8px;opacity:.7}.message-row .msg-actions{opacity:0;transition:.15s;display:flex;gap:2px}.message-row:hover .msg-actions{opacity:1}.msg-actions button{border:0;background:#fff;color:#8792a9;border-radius:7px;padding:5px;font-size:9px}.reply-preview{background:#f0f3ff;border-right:3px solid var(--blue);padding:7px 12px;margin:0 24px;font-size:9px;color:#6f7b97}.message-composer{flex:none;display:flex;align-items:flex-end;gap:9px;margin:0 auto;width:min(920px,calc(100% - 50px));background:#fff;border:1px solid #e7ebf4;border-radius:16px;padding:8px 10px;box-shadow:0 7px 22px rgba(35,48,89,.05)}.attach-button{width:36px;height:36px;display:grid;place-items:center;color:#8a95ab;cursor:pointer;border-radius:10px;flex:none}.attach-button:hover{background:#f3f5fb;color:var(--blue)}.message-composer textarea{resize:none;flex:1;min-width:0;border:0;outline:0;background:transparent;padding:9px 2px 6px;max-height:120px;min-height:37px;font-size:11px;color:#45516f;line-height:1.7}.message-composer textarea::placeholder{color:#aab2c1}.send-button{width:37px;height:37px;border:0;border-radius:12px;background:linear-gradient(135deg,#5b7af6,#4a5fdd);color:white;flex:none;box-shadow:0 5px 12px rgba(74,95,221,.2)}.composer-hint{text-align:center;font-size:8px;color:#b0b8c7;padding:5px 0 8px;flex:none}.list-loading{color:#9aa4b8;text-align:center;font-size:10px;padding:22px}.spinner{width:14px;height:14px;display:inline-block;border:2px solid #e3e8f5;border-top-color:#5a77f0;border-radius:50%;animation:spin .7s linear infinite;vertical-align:middle;margin-left:5px}.app-view{flex:1;overflow:auto;padding:28px clamp(17px,3vw,42px) 45px;min-height:0}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.view-heading h1{font-size:24px;margin:2px 0 3px;color:var(--navy)}.view-heading p{font-size:10px;color:#939db1;margin:0}.requests-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.panel-card{background:#fff;border:1px solid #e9edf5;border-radius:17px;padding:18px 19px;box-shadow:0 4px 14px rgba(30,45,83,.025);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.panel-head h3{font-size:12px;color:#34415f;margin:0}.panel-head h3 i{color:#5978f3;margin-left:6px}.panel-head small{display:block;font-size:9px;color:#9da6b7;margin-top:3px}.count-pill{background:#eef2ff;color:#5472ee;border-radius:20px;padding:4px 9px;font:800 9px Inter}.request-list{display:grid;gap:8px}.request-row{display:flex;align-items:center;gap:9px;padding:9px;border-radius:10px;background:#f8f9fc}.request-row>div:nth-child(2){flex:1;min-width:0}.request-row b{display:block;font-size:10px;color:#42506f}.request-row small{display:block;font:8px Inter;color:#9aa4b6;margin-top:3px}.request-actions{display:flex;gap:4px}.mini-btn{border:0;border-radius:7px;padding:6px 8px;font-size:9px;font-weight:800;background:#eef2ff;color:#5574f1}.mini-btn.success{background:#e7f7f0;color:#1ba77d}.mini-btn.danger{background:#fff0f2;color:#db5f73}.empty-note{padding:16px;text-align:center;color:#a7afbf;font-size:9px}.contacts-card{margin-top:15px}.contacts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.contact-tile{border:1px solid #edf0f6;border-radius:12px;padding:12px;display:flex;align-items:center;gap:9px;min-width:0}.contact-tile>div{min-width:0;flex:1}.contact-tile b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contact-tile small{font:8px Inter;color:#a0a9ba;display:block;margin-top:4px}.notification-list{display:grid;gap:7px}.notification-row{display:flex;gap:11px;align-items:flex-start;padding:13px 10px;border-bottom:1px solid #f0f2f7}.notification-row:last-child{border:0}.notif-icon{width:35px;height:35px;border-radius:11px;background:#edf1ff;color:#5877f3;display:grid;place-items:center;flex:none}.notification-row>div:nth-child(2){flex:1}.notification-row b{font-size:10px;color:#3d4a68}.notification-row p{font-size:9px;color:#929cb0;margin:3px 0}.notification-row time{font:8px Inter;color:#acb4c3}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}.settings-form{display:grid;gap:4px}.settings-form label{font-size:9px}.settings-form input,.settings-form select{height:40px}.settings-form input:disabled{background:#f6f7fa;color:#9aa4b7}.copy-number{display:flex;gap:5px}.copy-number input{font-family:Inter,sans-serif;flex:1}.copy-number button{flex:none;border:1px solid #e5eaf3}.switch-row{display:flex!important;align-items:center;justify-content:space-between;flex-direction:row!important}.switch-row input{width:17px;height:17px;accent-color:var(--blue)}.admin-heading{margin-bottom:18px}.admin-live{font-size:9px;color:#75819b;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e9edf5;border-radius:20px;padding:8px 12px}.admin-live span{color:#a3acbd;font-family:Inter}.admin-tabs{display:flex;gap:6px;border-bottom:1px solid #e5eaf3;margin-bottom:18px;overflow-x:auto}.admin-tabs button{border:0;background:transparent;padding:11px 14px;color:#8792a8;font-size:10px;font-weight:800;white-space:nowrap;border-bottom:2px solid transparent}.admin-tabs button.active{color:#4e6ef1;border-bottom-color:#5373f4}.admin-tabs button i{margin-left:6px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:14px}.stat-card{padding:16px;border:1px solid #e9edf5;background:#fff;border-radius:15px;position:relative;overflow:hidden}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#929db3;font-size:9px;font-weight:700}.stat-icon{width:33px;height:33px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:#5575f4;font-size:13px}.stat-value{font:800 25px Inter,var(--font);color:#1e2b4b;margin-top:12px}.stat-foot{font-size:8px;color:#a0a9bb;margin-top:4px}.stat-skeleton{height:118px;background:linear-gradient(90deg,#eceff6,#f8f9fc,#eceff6);background-size:200% 100%;border-radius:15px;animation:shimmer 1.2s infinite}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:14px;margin-bottom:14px}.chart-card{min-height:282px}.chart-range{font-size:8px;color:#929db1;background:#f5f7fb;border-radius:8px;padding:6px 9px}.chart-legend{display:flex;gap:13px;flex-wrap:wrap;font-size:8px;color:#8f9ab0;margin-bottom:12px}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{width:7px;height:7px;border-radius:2px}.legend-blue{background:#5c7af4}.legend-purple{background:#9774e9}.legend-green{background:#28b68b}.trend-chart{height:185px;display:flex;align-items:flex-end;gap:7px;border-bottom:1px solid #edf0f6;padding:10px 0 0}.trend-day{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;min-width:0}.trend-bars{height:calc(100% - 18px);width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}.trend-bar{width:25%;max-width:12px;min-height:2px;border-radius:4px 4px 0 0;transition:height .5s}.trend-bar.blue{background:#5c7af4}.trend-bar.purple{background:#9774e9}.trend-bar.green{background:#28b68b}.trend-day small{font:7px Inter;color:#a8b0c0}.live-label{font-size:8px;color:#25a981;display:flex;align-items:center;gap:6px}.live-label i{width:6px;height:6px}.usage-list{display:grid;gap:15px;padding-top:5px}.usage-item>div:first-child{display:flex;justify-content:space-between;font-size:9px;color:#78849d;margin-bottom:7px}.usage-item b{font:700 10px Inter;color:#364362}.usage-track{height:6px;border-radius:10px;background:#f0f2f7;overflow:hidden}.usage-track span{height:100%;display:block;border-radius:10px;background:linear-gradient(90deg,#6685fb,#8b70e8)}.bottom-analytics{grid-template-columns:1.2fr 1fr}.table-wrap{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:500px;text-align:right}.data-table th{font-size:8px;color:#9aa4b7;font-weight:700;padding:10px 9px;background:#fafbfe;white-space:nowrap}.data-table td{padding:11px 9px;border-top:1px solid #f0f2f7;color:#56627d;font-size:9px;white-space:nowrap}.user-cell{display:flex;align-items:center;gap:8px}.user-cell .avatar{width:29px;height:29px;font-size:9px}.user-cell b{display:block;font-size:9px;color:#394765}.user-cell small{display:block;font:8px Inter;color:#a2aabc;margin-top:2px}.status-pill{padding:4px 7px;border-radius:20px;font-size:8px;font-weight:800}.status-pill.active{background:#e8f8f1;color:#18a276}.status-pill.suspended{background:#fff0f2;color:#d65a70}.role-pill{font-size:8px;color:#7563d3;background:#f2efff;border-radius:6px;padding:4px 6px}.activity-list{display:grid;gap:0}.activity-item{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid #f0f2f7}.activity-item:last-child{border:0}.activity-dot{width:7px;height:7px;border-radius:50%;background:#6380f5;margin-top:4px;box-shadow:0 0 0 4px #eff2ff}.activity-item>div{min-width:0}.activity-item b{font-size:9px;color:#52607d;display:block}.activity-item small{display:block;font:8px Inter;color:#a0a9ba;margin-top:3px}.text-btn{border:0;background:transparent;color:#5776f1;font-size:9px;font-weight:800}.table-search{display:flex;align-items:center;gap:7px;border:1px solid #e8edf5;border-radius:9px;padding:0 9px;height:34px;color:#a0aabc}.table-search input{width:220px;max-width:35vw;border:0;outline:0;font-size:9px}.admin-users-action{border:0;border-radius:7px;background:#eef2ff;color:#5573ef;padding:6px 8px;font-size:8px;font-weight:800}.admin-users-action.danger{background:#fff0f2;color:#d65c73}.admin-settings-form{grid-template-columns:repeat(2,1fr);gap:0 14px}.admin-settings-form button{align-self:end;margin-bottom:13px}.modal-card{position:relative;width:min(490px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:20px;padding:29px;box-shadow:0 30px 90px rgba(4,13,39,.3);animation:pop .2s ease}.modal-card h2{font-size:18px;color:var(--navy);margin:0 0 5px}.modal-card>div>p{font-size:10px;color:#98a2b5;margin:0 0 18px}.modal-card label{display:block;font-size:10px;color:#5c6883;font-weight:800;margin-bottom:12px}.modal-card input,.modal-card select,.modal-card textarea{width:100%;border:1px solid #e6ebf4;border-radius:10px;padding:10px 12px;font-size:11px;outline:0;margin-top:6px}.modal-card textarea{min-height:80px;resize:vertical}.modal-card .btn{margin-top:5px}.modal-contacts{display:grid;gap:6px;max-height:260px;overflow:auto;margin:10px 0}.modal-contact-choice{display:flex;align-items:center;gap:9px;border:1px solid #edf0f6;border-radius:10px;padding:9px}.modal-contact-choice input{width:16px;margin:0}.modal-contact-choice span{flex:1;font-size:10px}.sidebar-scrim{display:none}.install-body{min-height:100vh;background:radial-gradient(circle at 15% 15%,#263a7a 0,transparent 34%),linear-gradient(135deg,#101b3c,#202d58);display:grid;place-items:center;padding:25px}.install-wrap{width:min(670px,100%)}.install-brand{display:flex;justify-content:center;align-items:center;gap:12px;color:white;margin-bottom:20px}.install-brand .brand-mark{background:linear-gradient(145deg,#6687ff,#715ce1)}.install-brand b{display:block;font:800 13px Inter}.install-brand small{display:block;color:#9fadd8;font-size:9px;margin-top:4px}.install-card{background:#fff;border-radius:22px;padding:32px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.install-card h1{font-size:24px;color:var(--navy);margin:6px 0}.install-card>p{font-size:11px;color:#8f9ab0;line-height:1.8}.install-form h3{font-size:12px;color:#4f5d7b;border-bottom:1px solid #eff1f7;padding-bottom:9px;margin:22px 0 13px}.install-form h3 i{color:#5776f2;margin-left:7px}.install-form .form-grid{gap:0 12px}.install-form label{font-size:10px}.install-form button{margin-top:12px}.install-foot{text-align:center;color:#8391b7;font:9px Inter;margin-top:18px;letter-spacing:.5px}.alert{padding:11px 13px;border-radius:9px;font-size:10px;margin:12px 0}.alert-danger{background:#fff0f2;color:#c84c63}.success-mark{width:55px;height:55px;margin:0 auto 15px;border-radius:17px;background:#e7f8f1;color:#1da77b;display:grid;place-items:center;font-size:23px}.install-card:has(.success-mark){text-align:center}.owner-callout{background:#f3f6ff;border:1px solid #e3eaff;border-radius:13px;padding:14px;margin:17px 0;display:grid;gap:5px}.owner-callout small{font-size:9px;color:#8996b5}.owner-callout strong{font:800 16px Inter;color:#26365f}.tiny{font-size:8px!important}.muted{color:#a0a8b8!important}
body.dark{--ink:#e9edfa;--bg:#101729;background:#101729;color:#e9edfa}body.dark .sidebar,body.dark .app-header,body.dark .panel-card,body.dark .stat-card,body.dark .modal-card{background:#18233b;border-color:#293651}body.dark .app-body,body.dark .chat-panel,body.dark .messages-area{background:#111b30}body.dark .sidebar-top,body.dark .chat-topbar{border-color:#293651}body.dark .brand b,body.dark .header-context b,body.dark .view-heading h1,body.dark .panel-head h3,body.dark .stat-value,body.dark .chat-person b,body.dark .profile-mini b,body.dark .conv-title b,body.dark .message-bubble{color:#e8edfc}body.dark .profile-mini,body.dark .sidebar-search,body.dark .conversation-item.active,body.dark .request-row,body.dark .data-table th{background:#202d49;border-color:#2d3a55}body.dark .message-bubble,body.dark .message-composer,body.dark .modal-contacts .modal-contact-choice{background:#1b2942;border-color:#34415d;color:#e0e7fa}body.dark .app-view{background:#101729}body.dark .admin-tabs{border-color:#293651}body.dark .settings-form input,body.dark .settings-form select,body.dark .message-composer textarea{background:#1b2942;border-color:#34415d;color:#e4eafa}body.dark .conversation-item:hover,body.dark .side-action:hover{background:#202d49}body.dark .data-table td{border-color:#293651;color:#b8c3dc}body.dark .stat-skeleton{background:linear-gradient(90deg,#1c2941,#283753,#1c2941);background-size:200% 100%}body.dark .message-row.theirs .message-bubble{background:#1c2941;border-color:#2b3b5b}body.dark .empty-foot,body.dark .view-heading p{color:#8290ad}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes slidein{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}@keyframes shimmer{to{background-position:-200% 0}}
@media(max-width:1100px){.sidebar{width:285px;flex-basis:285px}.hero{gap:20px}.hero-copy h1{font-size:53px}.tag-top{right:-15px}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.public-nav nav{display:none}.public-nav{height:76px}.mobile-menu{display:inline-grid}.nav-actions{margin-right:auto;margin-left:10px}.hero{grid-template-columns:1fr;gap:0;padding-top:35px}.hero-copy{text-align:center}.hero-copy>p{margin-inline:auto}.hero-actions,.hero-trust{justify-content:center}.hero-visual{min-height:435px}.metrics-strip{grid-template-columns:repeat(2,1fr);gap:16px}.metrics-strip>div:nth-child(2){border:0}.metrics-strip>div{justify-content:flex-start;padding-right:12%}.feature-grid{grid-template-columns:repeat(2,1fr)}.footer-main{grid-template-columns:1fr 1fr}.footer-main p{grid-column:1/-1;grid-row:2}.footer-links{grid-column:2;grid-row:1}.sidebar{position:fixed;top:0;bottom:0;right:0;transform:translateX(105%);transition:transform .25s;box-shadow:-20px 0 50px rgba(20,32,68,.12);width:min(320px,87vw);z-index:35}.sidebar.open{transform:translateX(0)}.sidebar-close{display:grid}.sidebar-scrim.open{display:block;position:fixed;inset:0;background:rgba(10,20,45,.35);z-index:30}.mobile-sidebar-open{display:grid}.main-panel{width:100%}.app-header{padding:0 18px}.analytics-grid{grid-template-columns:1fr}.bottom-analytics{grid-template-columns:1fr}.contacts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.container{width:calc(100% - 32px)}.public-nav{width:calc(100% - 30px)}.public-nav>.brand .brand-mark{width:36px;height:36px}.public-nav>.brand b{font-size:11px}.public-nav>.brand small{font-size:6px}.nav-actions .btn-ghost{display:none}.nav-actions .btn{padding:9px 12px;font-size:10px}.hero{padding-top:30px}.hero-copy h1{font-size:42px;letter-spacing:-1px}.hero-copy>p{font-size:12px}.hero-actions{gap:8px}.hero-actions .btn{width:100%}.hero-trust{gap:10px;font-size:8px}.hero-visual{min-height:390px}.device-card{width:290px;padding:16px;transform:rotate(-3deg)}.hero-glow{width:310px;height:310px}.orbit-one{width:340px;height:220px}.orbit-two{width:320px;height:270px}.tag-top{top:43px;right:0}.tag-bottom{bottom:45px;left:0}.floating-tag{font-size:8px;padding:9px 11px}.floating-lock{right:0;bottom:100px}.metrics-strip{padding:18px 0;gap:13px}.metrics-strip>div{padding-right:5%;gap:8px}.metrics-strip strong{font-size:19px}.metrics-strip span{font-size:8px}.section{padding:68px 0}.section-head{margin-bottom:28px}.section-head h2{font-size:27px}.section-head p{font-size:10px}.feature-grid{grid-template-columns:1fr;gap:10px}.feature-card{min-height:0;padding:19px}.feature-icon{width:42px;height:42px;margin-bottom:12px}.feature-card h3{font-size:13px}.feature-card p{font-size:10px}.how-section{padding:62px 0}.steps-grid{grid-template-columns:1fr;gap:10px}.step{padding:19px}.cta-section{padding:60px 0}.cta-box{padding:27px 23px;align-items:flex-start;flex-direction:column}.cta-box h2{font-size:21px}.cta-box p{font-size:10px}.cta-box .btn{width:100%}.footer-main{grid-template-columns:1fr;gap:10px}.footer-links{grid-column:1;grid-row:auto;justify-content:flex-start}.footer-main p{grid-column:1;grid-row:auto;margin:5px 0}.footer-bottom{gap:8px;flex-direction:column;font-size:8px}.auth-layer{padding:10px}.auth-panel{padding:25px 20px;border-radius:19px;max-height:94vh}.auth-form .form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:1}.form-grid{grid-template-columns:1fr}.app-shell{min-height:480px}.app-header{height:64px;padding:0 13px}.header-context .header-kicker{font-size:7px}.header-context b{font-size:12px}.header-end{gap:5px}.connection-state{display:none}.chat-empty{padding:15px}.empty-illustration{transform:scale(.85);margin-top:-10px;margin-bottom:0}.chat-empty h2{font-size:19px}.chat-empty>p{font-size:10px}.chat-topbar{height:60px;padding:0 12px}.back-conversations{display:inline-grid}.chat-topbar .avatar{width:34px;height:34px}.chat-tools .icon-btn{width:32px}.messages-area{padding:16px 12px}.messages-inner{gap:8px}.message-row{max-width:92%}.message-bubble{font-size:10px;padding:8px 11px}.message-composer{width:calc(100% - 20px);padding:6px;gap:4px;border-radius:13px}.message-composer textarea{font-size:10px;min-height:35px}.send-button{width:35px;height:35px}.composer-hint{font-size:7px}.app-view{padding:19px 12px 30px}.view-heading{align-items:flex-start;flex-direction:column}.view-heading h1{font-size:20px}.view-heading p{font-size:9px}.view-heading .btn{width:100%}.requests-grid,.settings-grid{grid-template-columns:1fr;gap:10px}.panel-card{padding:14px}.contacts-grid{grid-template-columns:1fr}.admin-live{font-size:8px}.admin-tabs button{padding:10px 9px;font-size:9px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{padding:12px}.stat-value{font-size:21px}.stat-top{font-size:8px}.stat-icon{width:28px;height:28px}.chart-card{padding:13px}.trend-chart{gap:3px}.trend-bars{gap:1px}.trend-day small{font-size:6px}.chart-legend{gap:8px}.table-search{width:100%}.table-search input{max-width:none;width:100%}.panel-head:has(.table-search){align-items:flex-start;flex-direction:column}.admin-settings-form{grid-template-columns:1fr}.modal-layer{padding:10px}.modal-card{padding:24px 19px;width:100%}.install-card{padding:23px 18px}.install-form .form-grid{grid-template-columns:1fr}.install-card h1{font-size:21px}}
@media(max-width:360px){.hero-copy h1{font-size:36px}.hero-visual{min-height:350px}.device-card{width:265px}.floating-tag{font-size:7px}.sidebar{width:88vw}.stat-value{font-size:18px}.stats-grid{gap:6px}.stat-card{padding:10px}}
/* Public information pages and compact utility views */
.legal-main{padding-top:65px;padding-bottom:80px;min-height:72vh}.legal-main h1{font-size:clamp(30px,4vw,44px);color:var(--navy);margin:12px 0 8px}.legal-lead{font-size:13px;color:#8792a8;max-width:760px;line-height:2;margin:0 0 30px}.legal-content{max-width:850px;background:#fff;border:1px solid #e9edf5;border-radius:20px;padding:30px 34px;box-shadow:var(--shadow-sm)}.legal-content h2{font-size:15px;color:#28375e;margin:22px 0 8px}.legal-content h2:first-child{margin-top:0}.legal-content p,.legal-content li{font-size:11px;line-height:2.15;color:#75819b}.legal-content ul{padding-right:22px}.legal-content a{color:#4d6ff1;text-decoration:underline}.legal-cta{max-width:850px;margin-top:18px;border-radius:18px;background:linear-gradient(110deg,#17264f,#344b91);padding:22px 25px;color:#fff}.legal-cta h2{font-size:17px;margin:0 0 5px}.legal-cta p{font-size:10px;color:#c2ccef;margin:0 0 14px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.account-info{background:#f7f8fc;border:1px solid #edf0f6;border-radius:12px;padding:12px;display:grid;gap:9px;font-size:10px;color:#7e89a1;margin:15px 0}.account-info b{color:#42506d}.modal-help{font-size:9px;color:#98a2b5;line-height:1.8;margin:8px 0 15px}.nav-open{display:flex!important;position:absolute;top:68px;right:0;left:0;background:white;border:1px solid #e9edf5;border-radius:13px;padding:15px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch!important;gap:12px!important}.nav-open a{padding:4px}
@media(max-width:600px){.legal-main{padding-top:35px;padding-bottom:45px}.legal-content{padding:21px 18px}.legal-content p,.legal-content li{font-size:10px}.legal-cta{padding:20px}.heading-actions{width:100%}.heading-actions .btn{flex:1}}
.invite-code-display{font:900 24px Inter,monospace;letter-spacing:3px;text-align:center;background:#f2f5ff;color:#3552ce;padding:17px;border:1px dashed #9bacf9;border-radius:12px;margin:14px 0 16px}.invite-admin-card{margin-top:15px}

/* UQUICK 3.0 — adaptive dark design system and touch-first application layout */
:root[data-theme="dark"]{
  color-scheme:dark;
  --ink:#e8edf8;--muted:#9aa8c1;--line:#2a3854;--bg:#101a2e;--white:#17243b;
  --shadow:0 24px 70px rgba(0,0,0,.32);--shadow-sm:0 8px 24px rgba(0,0,0,.2);
}
:root[data-theme="dark"][data-palette="deep_black"]{
  --ink:#f1f3f8;--muted:#a4adbd;--line:#292d36;--bg:#080a0e;--white:#11151c;
}
:root[data-theme="dark"][data-palette="soft_dark"]{
  --ink:#e8e8ee;--muted:#aaaab6;--line:#34343f;--bg:#19191f;--white:#24242d;
}
html[data-theme="dark"] body.app-body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .app-shell,html[data-theme="dark"] .main-panel,html[data-theme="dark"] .chat-workspace,html[data-theme="dark"] .app-view{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .app-header,html[data-theme="dark"] .chat-topbar,
html[data-theme="dark"] .panel-card,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .message-composer,html[data-theme="dark"] .notification-row,
html[data-theme="dark"] .identity-preview,html[data-theme="dark"] .request-row,
html[data-theme="dark"] .contact-tile,html[data-theme="dark"] .install-card{background:var(--white);color:var(--ink);border-color:var(--line);box-shadow:var(--shadow-sm)}
html[data-theme="dark"] .sidebar{border-left-color:var(--line)}
html[data-theme="dark"] .sidebar-top,html[data-theme="dark"] .chat-topbar,html[data-theme="dark"] .app-header{border-color:var(--line)}
html[data-theme="dark"] .brand b,html[data-theme="dark"] .header-context b,html[data-theme="dark"] .view-heading h1,
html[data-theme="dark"] .panel-head h3,html[data-theme="dark"] .stat-value,html[data-theme="dark"] .chat-person b,
html[data-theme="dark"] .profile-mini b,html[data-theme="dark"] .conv-title b,html[data-theme="dark"] .message-bubble,
html[data-theme="dark"] .modal-card h2,html[data-theme="dark"] .legal-main h1,html[data-theme="dark"] .legal-content h2{color:var(--ink)}
html[data-theme="dark"] .profile-mini,html[data-theme="dark"] .sidebar-search,html[data-theme="dark"] .conversation-item.active,
html[data-theme="dark"] .conversation-item:hover,html[data-theme="dark"] .side-action:hover,
html[data-theme="dark"] .request-row,html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .date-divider span,html[data-theme="dark"] .account-info,
html[data-theme="dark"] .owner-callout,html[data-theme="dark"] .modal-help{background:color-mix(in srgb,var(--white) 72%,var(--bg));border-color:var(--line);color:var(--muted)}
html[data-theme="dark"] .conversation-item.active{background:rgba(84,111,236,.18);border:1px solid rgba(104,130,255,.2)}
html[data-theme="dark"] .chat-panel,html[data-theme="dark"] .messages-area{background:var(--bg)}
html[data-theme="dark"] .message-bubble,html[data-theme="dark"] .message-row.theirs .message-bubble{
  background:#202c43;border-color:#34435f;color:#edf2fc;box-shadow:0 5px 15px rgba(0,0,0,.12)
}
html[data-theme="dark"][data-palette="deep_black"] .message-bubble{background:#151922;border-color:#2b303b}
html[data-theme="dark"][data-palette="soft_dark"] .message-bubble{background:#2b2b35;border-color:#40404b}
html[data-theme="dark"] .message-row.mine .message-bubble{background:linear-gradient(140deg,#3554c7,#5342a8);border-color:rgba(145,158,255,.28);color:#fff}
html[data-theme="dark"] .message-composer{background:var(--white);border-color:var(--line)}
html[data-theme="dark"] .message-composer textarea,html[data-theme="dark"] input,html[data-theme="dark"] select,
html[data-theme="dark"] textarea,html[data-theme="dark"] .settings-form input,html[data-theme="dark"] .settings-form select,
html[data-theme="dark"] .table-search input,html[data-theme="dark"] .sidebar-search input{
  color:var(--ink);background:#111d32;border-color:var(--line)
}
html[data-theme="dark"][data-palette="deep_black"] input,html[data-theme="dark"][data-palette="deep_black"] select,
html[data-theme="dark"][data-palette="deep_black"] textarea{background:#0c0f15}
html[data-theme="dark"][data-palette="soft_dark"] input,html[data-theme="dark"][data-palette="soft_dark"] select,
html[data-theme="dark"][data-palette="soft_dark"] textarea{background:#1e1e26}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#75839d}
html[data-theme="dark"] .btn-outline,html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .mini-btn,
html[data-theme="dark"] .admin-tabs button,html[data-theme="dark"] .side-action,html[data-theme="dark"] .text-btn{
  background:transparent;color:var(--ink);border-color:var(--line)
}
html[data-theme="dark"] .icon-btn:hover,html[data-theme="dark"] .btn-outline:hover,
html[data-theme="dark"] .admin-tabs button:hover{background:rgba(105,130,210,.13)}
html[data-theme="dark"] .data-table th,html[data-theme="dark"] .data-table td{border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .data-table tr:hover td{background:rgba(120,140,185,.06)}
html[data-theme="dark"] .status-pill,html[data-theme="dark"] .count-pill,
html[data-theme="dark"] .unread-count{background:#273650;color:#c7d2eb}
html[data-theme="dark"] .status-pill.active{background:rgba(29,175,128,.16);color:#5cddb1}
html[data-theme="dark"] .status-pill.suspended{background:rgba(230,93,114,.16);color:#ff9aaa}
html[data-theme="dark"] .empty-note,html[data-theme="dark"] .settings-help,html[data-theme="dark"] .view-heading p,
html[data-theme="dark"] .panel-head small,html[data-theme="dark"] .legal-content p,
html[data-theme="dark"] .legal-content li{color:var(--muted)}
html[data-theme="dark"] .modal-backdrop{background:rgba(1,5,14,.78)}
html[data-theme="dark"] .message-highlight .message-bubble{outline:2px solid #e9bd63;box-shadow:0 0 0 7px rgba(233,189,99,.13)}
html[data-theme="dark"] .toast{background:#202d48;color:#f3f6ff;border:1px solid #3a4a69}
html[data-theme="dark"] .mobile-app-nav{background:rgba(18,29,48,.96);border-color:#2d3b56}
html[data-theme="dark"] .mobile-app-nav button{color:#aab8d2}
html[data-theme="dark"] .mobile-app-nav button.active{color:#93aaff;background:rgba(92,119,242,.16)}
html[data-theme="dark"] .legal-content{background:var(--white);border-color:var(--line)}
html[data-theme="dark"] .legal-cta{border:1px solid var(--line)}
html[data-theme="dark"] .theme-preview{border-color:var(--line)}
html[data-theme="dark"] .device-row{background:rgba(130,150,190,.07);border-color:var(--line)}
html[data-theme="dark"] .identity-preview{background:#111d32}
html[data-theme="dark"] .stat-skeleton{background:linear-gradient(90deg,#1b2941,#2a3b58,#1b2941);background-size:200% 100%}

/* Touch targets, deep-link highlight, device manager and install surfaces */
.app-shell{min-height:100dvh;min-width:0}
.main-panel{min-width:0;width:calc(100% - 310px)}
.chat-workspace,.chat-panel,.messages-area,.messages-inner{min-width:0}
.message-bubble{overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.message-attachment{max-width:min(100%,420px);height:auto;object-fit:contain}
.message-row{min-width:0}
.message-highlight .message-bubble{outline:2px solid #e6b858;box-shadow:0 0 0 7px rgba(230,184,88,.16);transition:box-shadow .25s,outline .25s}
.device-list{display:grid;gap:8px;margin-top:12px;min-width:0}
.device-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 12px;background:#f7f9fd;border:1px solid #e9edf5;border-radius:12px;min-width:0}
.device-row>div{min-width:0;flex:1}
.device-row b{display:block;font-size:10px;color:var(--ink);overflow-wrap:anywhere}
.device-row small{display:block;font-size:8px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}
.push-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.push-actions .btn{flex:1 1 180px;white-space:normal}
.danger-outline{color:#cb4d65!important;border-color:rgba(203,77,101,.35)!important}
.identity-preview{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #e9edf5;border-radius:15px;background:#f8faff;min-width:0}
.identity-preview img{width:72px;height:72px;object-fit:contain;border-radius:19px;flex:none}
.identity-preview b{display:block;font-size:16px;color:var(--ink)}
.identity-preview small{font-size:9px;color:var(--muted)}
.admin-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-settings-form .full{grid-column:1/-1}
.mute-options{display:grid;gap:8px}
.toast-root{pointer-events:none}
.toast-root .toast{pointer-events:auto}
.incoming-toast{max-width:min(420px,calc(100vw - 28px));width:100%;text-align:right;border:0;cursor:pointer;align-items:flex-start}
.toast-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.14);font-weight:900;flex:none}
.toast-copy{display:grid;gap:3px;min-width:0;flex:1}
.toast-copy b{font-size:10px}
.toast-copy>span{font-size:9px;line-height:1.6;overflow-wrap:anywhere}
.toast-copy small{font-size:8px;color:#c4cee4}
.toast-dismiss{font-size:10px;opacity:.65}
.notification-row{width:100%;text-align:right;border:1px solid #edf0f6;cursor:pointer;color:inherit;font-family:inherit}
.notification-copy{display:grid;gap:4px;min-width:0;flex:1}
.notification-copy span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.theme-preview-row{display:flex;gap:8px;flex-wrap:wrap;margin:7px 0 12px}
.theme-preview{padding:10px 15px;border:1px solid #e5eaf3;border-radius:11px;font-size:10px;font-weight:800}
.light-preview{background:#f8faff;color:#28375b}.dark-preview{background:#17243b;color:#eff3ff}.soft-preview{background:#282832;color:#ececf1}

/* Mobile app navigation and safe-area behavior */
.mobile-app-nav{display:none}
@media(max-width:850px){
  .main-panel{width:100%;padding-bottom:0}
  .app-shell{height:100dvh;min-height:100dvh;overflow:hidden}
  .mobile-app-nav{position:fixed;display:flex;z-index:29;bottom:0;left:0;right:0;justify-content:space-around;gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));min-height:62px;background:rgba(255,255,255,.97);border-top:1px solid #e7ebf3;box-shadow:0 -8px 28px rgba(27,42,78,.08);backdrop-filter:blur(18px)}
  .mobile-app-nav button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:11px;background:transparent;color:#7b88a2;font-size:9px;font-weight:800;padding:5px 2px;touch-action:manipulation}
  .mobile-app-nav button i{font-size:17px}
  .mobile-app-nav button.active{color:#4169f5;background:#eef2ff}
  .app-shell.chat-open .mobile-app-nav{display:none}
  .app-view{padding-bottom:calc(88px + env(safe-area-inset-bottom));overscroll-behavior:contain}
  .chat-empty{padding-bottom:calc(85px + env(safe-area-inset-bottom))}
  .chat-panel{bottom:0}
  .message-composer{padding-bottom:max(7px,env(safe-area-inset-bottom));}
  .toast-root{bottom:calc(72px + env(safe-area-inset-bottom));left:10px;right:10px;max-width:none}
}
@media(max-width:600px){
  .app-header{padding-inline:12px}
  .header-context{min-width:0}
  .header-context b{max-width:45vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .settings-grid{grid-template-columns:minmax(0,1fr)}
  .admin-settings-form{grid-template-columns:minmax(0,1fr)}
  .admin-settings-form .full{grid-column:auto}
  .push-actions .btn{flex-basis:100%;width:100%}
  .panel-card{min-width:0;overflow:hidden}
  .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .data-table{min-width:620px}
  .notification-row{gap:9px;padding:11px}
  .identity-preview img{width:58px;height:58px}
  .modal-card{max-height:calc(100dvh - 24px);padding:22px 17px}
  .message-row{max-width:94%}
  .message-bubble{max-width:calc(100vw - 66px)}
  .chat-tools{gap:1px}
  .chat-tools .icon-btn{width:31px;height:34px}
  .chat-person b{max-width:48vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .main-panel{min-height:0}
}
@media(max-width:390px){
  .app-header{height:60px;padding-inline:9px}
  .header-end{gap:2px}
  .header-end .icon-btn{width:34px;height:34px}
  .header-context .header-kicker{display:none}
  .chat-topbar{gap:6px;padding-inline:7px}
  .chat-tools .icon-btn{width:29px;height:32px}
  .chat-person b{max-width:39vw}
  .messages-area{padding-inline:8px}
  .message-composer{width:calc(100% - 12px)}
  .attach-button{width:30px}
  .send-button{width:33px;height:33px}
  .mobile-app-nav button{font-size:8px}
}
@media(max-width:340px){
  .sidebar{width:91vw}
  .chat-tools .icon-btn:nth-child(1){display:none}
  .chat-person b{max-width:35vw}
  .view-heading .btn{font-size:9px;padding:9px 10px}
  .stat-value{font-size:17px}
  .stats-grid{gap:6px}
  .stat-card{padding:9px}
  .mobile-app-nav{padding-inline:4px}
}
@media(hover:none){.btn:hover{transform:none}.conversation-item:hover{background:transparent}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Public-site theme: keep informational/SEO pages and the signed-out home in the same theme system. */
.public-theme-toggle{border:1px solid var(--line);background:rgba(255,255,255,.72);color:var(--navy);flex:none}
html[data-theme="dark"] body.public-body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .public-nav{background:transparent}
html[data-theme="dark"] .public-nav nav{color:var(--muted)}
html[data-theme="dark"] .public-nav .brand b,
html[data-theme="dark"] .hero-copy h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .metrics-strip strong,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .step h3,
html[data-theme="dark"] .legal-main h1{color:var(--ink)}
html[data-theme="dark"] .hero-copy>p,
html[data-theme="dark"] .hero-trust,
html[data-theme="dark"] .metrics-strip span,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .legal-lead,
html[data-theme="dark"] .legal-content p,
html[data-theme="dark"] .legal-content li{color:var(--muted)}
html[data-theme="dark"] .metrics-strip{border-color:var(--line)}
html[data-theme="dark"] .metrics-strip>div{border-color:var(--line)}
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .legal-content,
html[data-theme="dark"] .device-card{background:var(--white);border-color:var(--line);color:var(--ink);box-shadow:var(--shadow-sm)}
html[data-theme="dark"] .device-top,
html[data-theme="dark"] .preview-chat{border-color:var(--line)}
html[data-theme="dark"] .device-brand,
html[data-theme="dark"] .preview-heading h3,
html[data-theme="dark"] .preview-chat-info b{color:var(--ink)}
html[data-theme="dark"] .preview-search,
html[data-theme="dark"] .bubble-demo{background:#263550;color:#d9e2f3}
html[data-theme="dark"][data-palette="deep_black"] .preview-search,
html[data-theme="dark"][data-palette="deep_black"] .bubble-demo{background:#171c25}
html[data-theme="dark"][data-palette="soft_dark"] .preview-search,
html[data-theme="dark"][data-palette="soft_dark"] .bubble-demo{background:#343440}
html[data-theme="dark"] .how-section{background:color-mix(in srgb,var(--bg) 78%,var(--white));}
html[data-theme="dark"] .legal-content h2{color:var(--ink)}
html[data-theme="dark"] .legal-content a{color:#91aaff}
html[data-theme="dark"] .legal-cta{background:linear-gradient(110deg,#17264f,#263b73);border:1px solid var(--line)}
html[data-theme="dark"] .public-footer{background:var(--white);border-color:var(--line);color:var(--muted)}
html[data-theme="dark"] .public-footer a{color:var(--muted)}
html[data-theme="dark"] .public-theme-toggle{background:var(--white);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .auth-panel{background:var(--white);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .auth-intro h2{color:var(--ink)}
html[data-theme="dark"] .auth-intro p,
html[data-theme="dark"] .auth-note{color:var(--muted)}
html[data-theme="dark"] .auth-form label{color:var(--ink)}
html[data-theme="dark"] .auth-form input,
html[data-theme="dark"] .auth-form select{background:var(--bg);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .auth-tabs{background:var(--bg)}
html[data-theme="dark"] .auth-tabs button{color:var(--muted)}
html[data-theme="dark"] .auth-tabs button.active{background:var(--white);color:#9eb2ff}
html[data-theme="dark"] .nav-open{background:var(--white);border-color:var(--line)}
html[data-theme="dark"] .floating-tag{background:var(--white);color:var(--ink);border:1px solid var(--line)}
html[data-theme="dark"] .feature-index{color:rgba(150,165,205,.12)}
@media(max-width:600px){.public-theme-toggle{width:34px;height:34px}.nav-actions{gap:4px}}
@media(max-width:340px){.public-nav{width:calc(100% - 20px)}.public-nav>.brand{gap:6px}.public-nav>.brand .brand-mark{width:32px;height:32px}.public-nav>.brand b{font-size:10px}.nav-actions .btn{padding:8px 9px;font-size:9px}.nav-actions{gap:3px}.public-theme-toggle{width:31px;height:31px}}

html[data-theme="dark"] .public-body .brand small,
html[data-theme="dark"] .preview-heading small,
html[data-theme="dark"] .preview-chat-info small,
html[data-theme="dark"] .preview-chat-meta,
html[data-theme="dark"] .preview-message>div>small,
html[data-theme="dark"] .step>span,
html[data-theme="dark"] .step p,
html[data-theme="dark"] .footer-main p,
html[data-theme="dark"] .footer-links,
html[data-theme="dark"] .footer-bottom,
html[data-theme="dark"] .public-nav nav,
html[data-theme="dark"] .public-nav .btn-ghost{color:var(--muted)}
html[data-theme="dark"] .public-body .btn-outline{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .preview-add{background:#2b3a59;color:#aabaff}
html[data-theme="dark"][data-palette="deep_black"] .preview-add{background:#1a202b}
html[data-theme="dark"][data-palette="soft_dark"] .preview-add{background:#363642}
html[data-theme="dark"] .footer-bottom{border-color:var(--line)}
