:root{--ink:#101828;--ink-2:#344054;--muted:#667085;--muted-2:#98a2b3;--line:#e7eaf0;--panel:#fff;--bg:#f6f7fb;--navy:#101828;--navy-2:#172033;--brand:#6d5dfc;--brand-2:#8b5cf6;--cyan:#20c7d9;--green:#12b76a;--red:#f04438;--shadow:0 20px 60px rgba(16,24,40,.08);--shadow-sm:0 8px 25px rgba(16,24,40,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 15% -10%,#ebe9ff 0,transparent 28%),radial-gradient(circle at 100% 8%,#dcfbf7 0,transparent 24%),var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;line-height:1.55}a{color:inherit}.topbar{height:74px;background:rgba(255,255,255,.82);backdrop-filter:blur(22px);border-bottom:1px solid rgba(231,234,240,.92);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:90}.brand{font-family:Manrope,Inter,sans-serif;font-weight:800;font-size:19px;letter-spacing:-.35px;color:var(--ink);text-decoration:none;display:flex;gap:11px;align-items:center}.brand-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(145deg,#6d5dfc,#20c7d9);display:grid;place-items:center;color:#fff;box-shadow:0 10px 24px rgba(109,93,252,.28)}.top-actions{display:flex;align-items:center;gap:9px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);background:rgba(255,255,255,.9);border-radius:12px;display:grid;place-items:center;color:#596579;cursor:pointer;position:relative;transition:.2s;box-shadow:0 3px 10px rgba(16,24,40,.025)}.icon-btn:hover{transform:translateY(-1px);border-color:#d6dbe5;box-shadow:0 9px 22px rgba(16,24,40,.08);color:var(--brand)}.badge-dot{position:absolute;top:-4px;right:-4px;background:var(--red);color:#fff;font-size:9px;min-width:17px;height:17px;border-radius:20px;display:grid;place-items:center;border:2px solid #fff}.avatar{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;font-weight:800;font-size:11px;background:linear-gradient(145deg,#ede9fe,#dff8fb);color:#5146d8;overflow:hidden;border:1px solid #e2e5ee}.avatar img,.profile-avatar img{width:100%;height:100%;object-fit:cover}.avatar-link{text-decoration:none}.app-shell{display:grid;grid-template-columns:248px 1fr;min-height:calc(100vh - 74px)}.sidebar{background:linear-gradient(180deg,#111827 0%,#0f172a 100%);border-right:1px solid rgba(255,255,255,.06);padding:20px 14px;position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto}.sidebar:before{content:"";display:block;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent);margin:0 8px 18px}.side-label{font-size:9px;letter-spacing:1.55px;color:#7f8ba1;font-weight:800;padding:9px 12px}.side-item{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;color:#aab4c5;text-decoration:none;font-weight:700;margin-bottom:5px;border:1px solid transparent;transition:.2s}.side-item i{font-size:15px;width:18px;text-align:center}.side-item:hover{background:rgba(255,255,255,.06);color:#fff}.side-item.active{background:linear-gradient(90deg,rgba(109,93,252,.22),rgba(32,199,217,.08));color:#fff;border-color:rgba(139,92,246,.3);box-shadow:inset 3px 0 0 #8b5cf6}.side-item span{margin-left:auto;background:rgba(255,255,255,.08);color:#d9ddff;padding:2px 7px;border-radius:10px;font-size:9px}.logout{margin-top:26px;width:100%;background:none;border:0;cursor:pointer;font:inherit;text-align:left}.content{padding:34px 38px;max-width:1540px;width:100%;margin:auto}.welcome,.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:900;color:#7569df}.welcome h2,.page-heading h2{font-family:Manrope,Inter,sans-serif;font-size:31px;letter-spacing:-.9px;margin:5px 0 4px}.welcome p,.page-heading p,.muted{color:var(--muted);margin:0}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:12px;padding:11px 15px;font-weight:800;font-size:12px;text-decoration:none;display:inline-flex;gap:8px;align-items:center;justify-content:center;cursor:pointer;transition:.2s}.primary-btn{background:linear-gradient(135deg,#6758f6,#8b5cf6);color:#fff;box-shadow:0 12px 26px rgba(109,93,252,.24)}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(109,93,252,.3)}.secondary-btn{background:#fff;color:#344054;border:1px solid var(--line)}.secondary-btn:hover{border-color:#cfd5df;box-shadow:var(--shadow-sm);transform:translateY(-1px)}.danger-btn{background:#fff0ef;color:#d92d20}.compact{padding:9px 13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.stat-card,.panel,.profile-hero,.status-strip{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow)}.stat-card{padding:19px;position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-40px;top:-44px;background:linear-gradient(135deg,#f0edff,#e9fbfc)}.stat-card i{display:block;color:#6d5dfc;font-size:19px;margin-bottom:14px;position:relative;z-index:1}.stat-card b{font-family:Manrope;font-size:21px;display:block;position:relative;z-index:1}.stat-card small{color:#8b95a5;position:relative;z-index:1}.grid-two{display:grid;grid-template-columns:1.38fr 1fr;gap:16px}.panel{padding:21px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.panel h3{font-family:Manrope;font-size:15px;margin:0;letter-spacing:-.2px}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick-card{padding:16px;border:1px solid var(--line);border-radius:15px;text-decoration:none;color:var(--ink);background:linear-gradient(145deg,#fff,#fafbff);transition:.2s}.quick-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(16,24,40,.08);border-color:#d9d3ff}.quick-card i{font-size:18px;color:#6559e8;display:block;margin-bottom:10px}.quick-card b{display:block}.quick-card small{color:#8993a3}.security-box{padding:16px;background:linear-gradient(135deg,#f2fff8,#f7fbff);border:1px solid #d8eee2;border-radius:15px}.green{color:var(--green)}.status-strip{padding:16px 18px;margin-bottom:16px;display:flex;gap:16px;align-items:center;overflow:auto}.status-item{min-width:78px;text-align:center;text-decoration:none;color:var(--ink)}.status-ring{width:59px;height:59px;padding:2px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--cyan));margin:auto;display:grid;place-items:center;box-shadow:0 8px 20px rgba(109,93,252,.16)}.status-ring>div{width:53px;height:53px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden}.status-ring img{width:100%;height:100%;object-fit:cover}.status-item b{font-size:10px;display:block;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-shell{height:calc(100vh - 74px);display:grid;grid-template-columns:355px 1fr;max-width:1600px;margin:auto;background:rgba(255,255,255,.55)}.chat-list{background:rgba(255,255,255,.95);border-right:1px solid var(--line);padding:21px;overflow:auto}.chat-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.chat-list h2{font-family:Manrope;font-size:25px;margin:3px 0}.chat-tabs{display:flex;gap:5px;margin-bottom:12px}.chat-tabs button{border:0;background:#f2f4f8;padding:7px 10px;border-radius:9px;font-size:10px;font-weight:800;color:#7b8595}.chat-tabs button.active{background:#ece9ff;color:#574bd4}.search-wrap{height:43px;background:#f6f7fa;border:1px solid #edf0f5;border-radius:13px;display:flex;align-items:center;padding:0 12px;gap:8px;color:#949eae;margin-bottom:12px}.search-wrap input{border:0;outline:0;background:transparent;width:100%;font-size:12px}.chat-person{width:100%;display:flex;align-items:center;text-align:left;gap:11px;padding:12px;border:1px solid transparent;background:transparent;border-radius:14px;cursor:pointer;text-decoration:none;color:inherit}.chat-person:hover,.chat-person.active{background:#f6f4ff;border-color:#e8e3ff}.chat-person div{min-width:0}.chat-person b{font-size:12px}.chat-person p{font-size:10.5px;color:#8c96a5;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-person time{margin-left:auto;color:#a0a8b6;font-size:9px}.unread-count{background:#635bff;color:#fff;border-radius:99px;padding:2px 6px;font-size:9px;font-weight:800}.chat-main{display:grid;grid-template-rows:76px 1fr 78px;background:#f8fafc;min-width:0}.chat-head{background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 24px;gap:11px}.chat-head small{display:block;color:#8b95a3;font-size:10px;margin-top:2px}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:4px}.chat-tools{margin-left:auto;display:flex;gap:7px}.messages{padding:28px 5%;overflow:auto;background:radial-gradient(circle at 50% 0,#eef2ff 0,transparent 28%),#f8fafc}.date-pill{width:max-content;margin:0 auto 18px;background:#e9edf4;color:#7d8797;border-radius:20px;padding:5px 10px;font-size:9px;font-weight:700}.bubble-row{display:flex;margin:9px 0}.bubble-row.me{justify-content:flex-end}.bubble{max-width:min(620px,78%);padding:10px 13px;border-radius:16px;background:#fff;border:1px solid #e5e9f0;box-shadow:0 5px 18px rgba(15,23,42,.035);font-size:12px;position:relative}.bubble.outgoing{background:linear-gradient(135deg,#6758f6,#795df3);color:#fff;border-color:transparent}.bubble small{display:block;opacity:.62;text-align:right;font-size:8px;margin-top:5px}.media-bubble img{max-width:320px;max-height:280px;border-radius:10px;display:block}.media-bubble video{max-width:340px;border-radius:10px;display:block}.composer{margin:10px 20px 18px;background:#fff;border:1px solid #e1e7ef;border-radius:16px;padding:8px;display:flex;align-items:center;gap:6px;box-shadow:0 12px 30px rgba(15,23,42,.08)}.composer input{border:0;outline:0;flex:1;font-size:12px;padding:9px}.send-btn{width:39px;height:39px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;cursor:pointer}.profile-hero{padding:25px;display:flex;align-items:center;gap:17px;margin-bottom:16px}.profile-avatar{width:82px;height:82px;border-radius:24px;background:linear-gradient(145deg,var(--brand),var(--cyan));color:#fff;display:grid;place-items:center;font-family:Manrope;font-weight:800;font-size:23px;overflow:hidden;box-shadow:0 12px 28px rgba(109,93,252,.2)}.profile-hero h2{font-family:Manrope;margin:2px 0;font-size:25px}.profile-hero p{margin:0;color:#8a95a5}.profile-actions{margin-left:auto;display:flex;gap:8px}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.detail-grid div{background:#f8f9fc;border:1px solid #edf0f5;border-radius:13px;padding:13px}.detail-grid small{display:block;color:#9099a8;font-size:9px;margin-bottom:4px}.detail-grid b{font-size:11px}.grid-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid-form .full{grid-column:1/-1}.grid-form label{display:block;font-size:10px;font-weight:800;margin:0 0 6px;color:#475569}.grid-form input,.grid-form textarea,.grid-form select{width:100%;border:1px solid #dfe5ed;border-radius:11px;padding:11px 12px;outline:none;font-size:12px;background:#fff;color:var(--ink)}.grid-form input:focus,.grid-form textarea:focus,.grid-form select:focus{border-color:#9b91ed;box-shadow:0 0 0 4px #eeecff}.form-actions{display:flex;gap:8px}.settings-list{padding:4px 18px}.setting{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #eeeef2}.setting:last-child{border:0}.setting b{font-size:12px}.setting p{margin:3px 0 0;color:#8d92a2;font-size:11px}.switch{position:relative;width:40px;height:22px}.switch input{display:none}.switch span{position:absolute;inset:0;background:#dce1e8;border-radius:20px}.switch span:after{content:"";position:absolute;width:16px;height:16px;top:3px;left:3px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+span{background:var(--brand)}.switch input:checked+span:after{transform:translateX(18px)}.call-modal{position:fixed;inset:0;background:rgba(8,15,30,.72);backdrop-filter:blur(12px);z-index:100;display:grid;place-items:center;padding:20px}.call-modal.hidden{display:none}.call-card{width:min(480px,100%);background:#fff;border-radius:26px;padding:38px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.25)}.call-avatar{width:88px;height:88px;border-radius:50%;background:linear-gradient(145deg,var(--brand),var(--cyan));color:#fff;display:grid;place-items:center;font-family:Manrope;font-weight:800;font-size:24px;margin:0 auto 15px}.call-card h3{font-family:Manrope;font-size:20px}.call-card p{color:#8b90a0}.call-card video{max-width:100%;border-radius:15px;margin:8px}.auth-shell{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:40px;background:radial-gradient(circle at 50% 0,#eef0ff 0,transparent 42%)}.auth-card{width:min(500px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(231,234,240,.95);border-radius:28px;padding:35px;box-shadow:0 30px 90px rgba(16,24,40,.12)}.auth-card.wide{width:min(620px,100%)}.auth-icon{width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#efedff,#e1fbfd);color:#5c51d8;display:grid;place-items:center;font-size:20px;margin-bottom:18px;box-shadow:0 10px 25px rgba(109,93,252,.12)}.auth-card h1{font-family:Manrope;font-size:29px;letter-spacing:-.75px;margin:5px 0 6px}.auth-form{margin-top:22px}.auth-form label{font-size:10px;font-weight:800;display:block;margin:13px 0 6px}.auth-form input{width:100%;border:1px solid #dfe5ed;border-radius:12px;padding:12px 13px;outline:none;font-size:12px;background:#fff}.auth-form input:focus{border-color:#9b91ed;box-shadow:0 0 0 4px #eeecff}.auth-form .primary-btn{width:100%;margin-top:18px}.auth-foot{text-align:center;color:#8e93a1;font-size:11px;margin:18px 0 0}.auth-foot a{color:#5c51d8;font-weight:800;text-decoration:none}.stepper{display:flex;align-items:center;gap:8px;margin-bottom:24px}.stepper b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f1f3f7;color:#98a2b3;font-size:9px;font-weight:900}.stepper b.active{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;box-shadow:0 7px 18px rgba(109,93,252,.22)}.stepper i{height:1px;flex:1;background:#e7eaf0}.resend{margin-top:10px}.resend button{border:0;background:transparent;color:#5c51d8;font-weight:800;font-size:11px;cursor:pointer;padding:3px 0}.photo-picker{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.photo-drop{display:flex;align-items:center;gap:14px;padding:20px;border:1.5px dashed #cfd5e2;border-radius:18px;background:linear-gradient(145deg,#fbfcff,#f7f6ff);cursor:pointer;transition:.2s}.photo-drop:hover,.photo-drop.dragging{border-color:#8b7ff5;background:#f7f5ff;transform:translateY(-1px)}.preview-ring{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;background:#fff;border:1px solid #e7eaf0;color:#7b70e8;font-size:22px;overflow:hidden;flex:none}.preview-ring img{width:100%;height:100%;object-fit:cover}.upload-title{font-weight:800;font-size:12px}.upload-meta{font-size:10px;color:#8d96a5}.upload-action{margin-left:auto;border:1px solid #ddd9ff;background:#fff;color:#5e54d8;border-radius:10px;padding:8px 10px;font-size:10px;font-weight:800;white-space:nowrap}.photo-selected{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;border-radius:11px;background:#f1fff8;color:#087443;font-size:10px}.photo-selected.hidden{display:none}.photo-selected button{margin-left:auto;border:0;background:transparent;color:#667085;cursor:pointer}.photo-actions{display:flex;align-items:center;gap:14px;margin-top:16px}.premium-submit{margin-top:0!important}.skip-link{color:#667085;text-decoration:none;font-size:10px;font-weight:800}.secure-note{display:flex;gap:8px;align-items:flex-start;margin-top:16px;padding-top:14px;border-top:1px solid #edf0f5;color:#8a93a3;font-size:10px}.secure-note i{color:#12b76a}.toast-msg{position:fixed;top:88px;right:20px;z-index:200;background:#172033;color:#fff;padding:11px 15px;border-radius:12px;font-size:11px;box-shadow:0 15px 40px rgba(0,0,0,.18)}.toast-msg.success{background:#15803d}.toast-msg.error{background:#b91c1c}.empty-chat{display:grid;place-items:center;text-align:center;height:100%;padding:30px;color:#667085}.empty-icon{width:72px;height:72px;border-radius:22px;background:linear-gradient(145deg,#efedff,#e4fbfd);display:grid;place-items:center;color:#6659e8;font-size:26px;margin-bottom:15px}.mobile-nav{display:none}.call-actions{display:flex;justify-content:center;margin-top:14px}@media(max-width:1000px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:22px}.stats{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:repeat(2,1fr)}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:64px;background:rgba(17,24,39,.96);backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,.08);display:flex;z-index:80;justify-content:space-around;padding-top:7px}.mobile-nav a{color:#9aa6b8;text-decoration:none;text-align:center;font-size:9px;font-weight:800}.mobile-nav a:first-child{color:#fff}.mobile-nav i{display:block;font-size:17px;margin-bottom:2px}.chat-shell{grid-template-columns:1fr}.chat-list{display:none}.chat-main{height:calc(100vh - 74px)}body:has(.mobile-nav){padding-bottom:64px}}@media(max-width:650px){.topbar{padding:0 14px;height:64px}.welcome,.page-heading{align-items:flex-start;gap:14px;flex-direction:column}.welcome h2,.page-heading h2{font-size:24px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px}.grid-two{grid-template-columns:1fr}.quick-grid,.grid-form{grid-template-columns:1fr}.grid-form .full{grid-column:auto}.detail-grid{grid-template-columns:1fr 1fr}.profile-hero{align-items:flex-start;flex-wrap:wrap}.profile-actions{margin-left:0;width:100%}.profile-actions .primary-btn,.profile-actions .secondary-btn{flex:1}.chat-head{padding:0 13px}.chat-tools .icon-btn{width:34px;height:34px}.messages{padding:20px 12px}.bubble{max-width:86%}.composer{margin:8px 8px 12px}.auth-shell{padding:20px 13px}.auth-card{padding:25px;border-radius:22px}.auth-card h1{font-size:25px}.photo-drop{align-items:flex-start;flex-wrap:wrap}.upload-action{margin-left:76px;margin-top:-4px}.photo-actions{align-items:stretch;flex-direction:column}.photo-actions .primary-btn{width:100%}.content{padding:17px}.status-strip{padding:12px}}

/* AQShield premium authentication v4 */
.auth-page{min-height:calc(100vh - 74px);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr);background:#f5f7fb}
.auth-visual{position:relative;overflow:hidden;min-height:calc(100vh - 74px);background:#0b1020;color:#fff;padding:clamp(48px,7vw,100px);display:flex;flex-direction:column;justify-content:center}
.visual-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to bottom,black,transparent 90%)}
.visual-orb{position:absolute;border-radius:50%;filter:blur(8px);pointer-events:none}.orb-a{width:420px;height:420px;right:-120px;top:-110px;background:radial-gradient(circle,rgba(99,91,255,.6),transparent 68%)}.orb-b{width:420px;height:420px;left:-180px;bottom:-180px;background:radial-gradient(circle,rgba(20,184,166,.35),transparent 68%)}
.visual-content{position:relative;z-index:2;max-width:620px}.visual-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);backdrop-filter:blur(12px);border-radius:999px;color:#c9c5ff;font-size:10px;font-weight:900;letter-spacing:1.5px}.visual-content h1{font-family:Manrope,Inter,sans-serif;font-size:clamp(42px,5.2vw,76px);line-height:.98;letter-spacing:-3px;margin:24px 0 20px}.visual-content h1 em{font-style:normal;background:linear-gradient(90deg,#a99fff,#63e5df);-webkit-background-clip:text;background-clip:text;color:transparent}.visual-content>p{max-width:520px;color:#aeb7ca;font-size:16px;line-height:1.75}.visual-features{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.visual-features span{display:inline-flex;align-items:center;gap:8px;padding:11px 13px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);color:#dce1ed;font-size:11px;font-weight:800}.visual-features i{color:#8f84ff}.visual-status{position:absolute;z-index:2;bottom:28px;left:clamp(48px,7vw,100px);right:clamp(48px,7vw,100px);display:flex;align-items:center;gap:8px;color:#7f8aa0;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:1.4px}.visual-status b{margin-left:auto;color:#66738c}.live-dot{width:7px;height:7px;border-radius:50%;background:#35d49a;box-shadow:0 0 0 5px rgba(53,212,154,.1)}
.auth-panel{background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;padding:50px 7vw}.auth-panel-inner{width:min(500px,100%)}.single-auth{display:grid;grid-template-columns:1fr;place-items:center;padding:50px 20px}.standalone-panel{width:min(570px,100%);border:1px solid #e7ebf2;border-radius:30px;box-shadow:0 35px 100px rgba(16,24,40,.1)}.mobile-brand{display:none;align-items:center;gap:10px;font-family:Manrope;font-weight:900;font-size:19px;margin-bottom:38px}.auth-head .stepper{margin-bottom:30px}.premium-stepper{gap:9px}.premium-stepper span{width:30px;height:30px;border:1px solid #e3e7ef;border-radius:10px;display:grid;place-items:center;background:#fff;color:#98a2b3;font-size:9px;font-weight:900;box-shadow:0 4px 12px rgba(16,24,40,.04)}.premium-stepper span.done{background:#151b2d;color:#fff;border-color:#151b2d}.premium-stepper i{height:2px;background:#e9ecf2;border-radius:2px}.auth-head .eyebrow{display:block;margin-bottom:10px}.auth-head h2{font-family:Manrope;font-size:39px;line-height:1.08;letter-spacing:-1.6px;margin:0 0 10px;color:#0f172a}.auth-head>p{margin:0;color:#7b8799;font-size:13px;line-height:1.7}.premium-form{margin-top:28px}.premium-form label{color:#344054;font-size:10px;letter-spacing:.2px}.input-shell{position:relative;margin-bottom:16px}.input-shell>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8d98aa;font-size:14px}.input-shell input{padding-left:41px!important;padding-right:43px!important;height:49px;border-radius:14px!important;background:#fbfcfe!important}.input-shell input:focus{background:#fff!important}.input-action{position:absolute;right:6px;top:6px;width:37px;height:37px;border:0;border-radius:10px;background:transparent;color:#7b8798;cursor:pointer}.premium-btn{height:50px!important;border-radius:14px!important;font-size:12px!important;font-weight:900!important;box-shadow:0 14px 28px rgba(99,91,255,.22)}.field-note{display:flex;gap:8px;align-items:flex-start;padding:12px 13px;margin:2px 0 16px;background:#f7f8fc;border:1px solid #edf0f5;border-radius:12px;color:#8994a5;font-size:10px;line-height:1.55}.field-note i{color:#7368ec}.field-note strong{color:#5f6775}.auth-divider{display:flex;align-items:center;gap:10px;color:#a0a8b5;font-size:10px;margin:24px 0 12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#edf0f4;flex:1}.full-btn{width:100%;justify-content:center;height:46px!important}.security-line{display:flex;align-items:center;gap:8px;margin-top:20px;padding-top:17px;border-top:1px solid #eef1f5;color:#98a2b3;font-size:9px;line-height:1.5}.security-line i{color:#18a874}.premium-row{margin:2px 0 0}.premium-row a{font-weight:800;color:#6257df;text-decoration:none;font-size:10px}.check{display:flex!important;align-items:center;gap:7px!important;margin:0!important}.check input{width:14px!important;height:14px!important;accent-color:#635bff}.check span{font-size:10px}.inline-success{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid #b8efd9;background:#f1fff9;color:#087443;border-radius:12px;margin-top:20px;font-size:10px;line-height:1.5}.auth-icon.large{width:58px;height:58px;font-size:22px}.otp-shell input{width:100%;height:68px;border:1px solid #dfe5ed;border-radius:16px;text-align:center;font-size:28px;font-weight:900;letter-spacing:12px;color:#111827;outline:none}.otp-shell input:focus{border-color:#8176ef;box-shadow:0 0 0 5px #eeecff}.resend-row{display:flex;align-items:center;justify-content:space-between;margin-top:13px}.resend-row button{border:0;background:none;color:#6257df;font-weight:900;font-size:10px;cursor:pointer}.resend-row span{font-size:9px;color:#98a2b3}.login-preview{width:min(400px,100%);margin-top:34px;padding:15px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);backdrop-filter:blur(18px);border-radius:22px;box-shadow:0 30px 70px rgba(0,0,0,.25)}.preview-top{display:flex;align-items:center;gap:10px;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.08)}.preview-top>span:not(.preview-avatar){display:flex;flex-direction:column}.preview-top b{font-size:11px}.preview-top small{color:#7f8aa0;font-size:8px;margin-top:3px}.preview-top>i{margin-left:auto;color:#78849b}.preview-avatar{width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg, #464551, #2dad5f);display:grid;place-items:center;font-size:9px;font-weight:900}.preview-msg{width:max-content;max-width:78%;margin-top:14px;padding:9px 11px;border-radius:12px 12px 12px 3px;background:rgba(255,255,255,.09);font-size:9px;color:#dfe4ef}.preview-msg small{display:block;text-align:right;color:#8792a7;font-size:7px;margin-top:4px}.preview-msg.me{margin-left:auto;border-radius:12px 12px 3px 12px;background:linear-gradient(135deg, rgb(28 105 58), rgba(77, 178, 190, .55))}
@media(max-width:900px){.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{min-height:calc(100vh - 74px);padding:32px 20px}.mobile-brand{display:flex}.auth-head h2{font-size:34px}.single-auth{padding:24px 14px}.standalone-panel{box-shadow:0 20px 55px rgba(16,24,40,.08)}}
@media(max-width:560px){.auth-panel{padding:25px 15px}.auth-panel-inner{width:100%}.auth-head h2{font-size:29px}.auth-card{width:100%}.premium-stepper span{width:27px;height:27px}.otp-shell input{font-size:23px;letter-spacing:8px}.resend-row{align-items:flex-start;gap:8px;flex-direction:column}}


/* AQShield professional UI v8 — compact typography, refined navigation, responsive layouts */
:root{--brand:#6758f6;--brand-2:#8b5cf6;--cyan:#18bfd2;--navy:#0d1424;--navy-2:#121b2e;--bg:#f4f7fb;--line:#e3e8f0}
body{font-size:12px;line-height:1.5;color:#172033}
.topbar{height:66px;padding:0 24px}
.brand{font-size:17px;gap:9px}.brand-mark{width:34px;height:34px;border-radius:11px}
.top-actions{gap:7px}.icon-btn{width:36px;height:36px;border-radius:10px;font-size:12px}.avatar{width:36px;height:36px;border-radius:11px}
.app-shell{grid-template-columns:214px 1fr;min-height:calc(100vh - 66px)}
.sidebar{top:66px;height:calc(100vh - 66px);padding:16px 10px;background:linear-gradient(180deg,#0d1525 0%,#101a2d 100%)}
.sidebar:before{margin:0 7px 13px}.side-label{font-size:8px;padding:8px 10px;color:#73819a;letter-spacing:1.4px}.side-item{gap:9px;padding:9px 10px;border-radius:10px;font-size:11px;font-weight:700;margin-bottom:3px;color:#aeb9cb}.side-item i{font-size:13px;width:17px}.side-item.active{box-shadow:inset 2px 0 0 #8b5cf6}.logout{margin-top:18px}
.content{padding:27px 30px;max-width:1480px}.welcome,.page-heading{margin-bottom:19px}.welcome h2,.page-heading h2{font-size:27px;letter-spacing:-.7px}.welcome p,.page-heading p{font-size:11px}.eyebrow{font-size:8px;letter-spacing:1.55px}.primary-btn,.secondary-btn,.danger-btn{padding:9px 13px;border-radius:10px;font-size:11px}.panel,.profile-hero,.stat-card,.status-strip{border-radius:16px}.panel{padding:18px}.panel h3{font-size:14px}.stat-card{padding:16px}.stat-card i{font-size:17px;margin-bottom:10px}.stat-card b{font-size:18px}.stat-card small,.quick-card small{font-size:10px}.quick-card{padding:13px;border-radius:12px}.quick-card i{font-size:16px;margin-bottom:8px}.security-box{padding:13px;border-radius:12px;font-size:11px}.detail-grid{gap:10px}.detail-grid small{font-size:8px}.detail-grid b{font-size:11px}
.profile-hero{padding:19px;gap:14px}.profile-avatar{width:72px;height:72px;border-radius:20px;font-size:20px}.profile-hero h2{font-size:22px;margin:3px 0}.profile-hero p{font-size:11px}.profile-actions{gap:6px}
.grid-form{gap:11px}.grid-form label,.panel label{font-size:9px;font-weight:800;color:#475467;display:block;margin-bottom:5px}.grid-form input,.grid-form textarea,.auth-form input{font-size:11px}
.chat-shell{height:calc(100vh - 66px);grid-template-columns:320px 1fr}.chat-list{padding:17px;background:rgba(255,255,255,.96)}.chat-list h2{font-size:22px}.search-wrap{height:39px;border-radius:11px}.search-wrap input{font-size:11px}.chat-person{padding:10px;border-radius:11px}.chat-person b{font-size:11px}.chat-person p{font-size:9px}.chat-main{height:calc(100vh - 66px);grid-template-rows:66px 1fr 68px}.chat-head{padding:0 18px}.chat-head .avatar{width:34px;height:34px}.chat-head b{font-size:12px}.chat-head small{font-size:9px}.chat-tools .icon-btn{width:34px;height:34px}.messages{padding:22px 5%}.bubble{font-size:11px;padding:9px 11px;border-radius:13px}.composer{margin:8px 14px 12px;padding:6px;border-radius:13px}.composer input{font-size:11px}.chat-back{display:none;text-decoration:none;color:#667085;margin-right:1px}.chat-back i{font-size:16px}
.mobile-nav{height:60px;padding-top:6px}.mobile-nav a{font-size:8px}.mobile-nav i{font-size:16px}

/* Auth: desktop keeps the information/steps on the left and every form on the right. */
.auth-page{min-height:calc(100vh - 66px);grid-template-columns:minmax(0,1.02fr) minmax(500px,.98fr);background:#f4f7fb}
.auth-visual{min-height:calc(100vh - 66px);padding:clamp(36px,5vw,76px);background:linear-gradient(145deg,#0a1020 0%,#10192c 55%,#111a30 100%)}
.visual-content h1{font-size:clamp(38px,4.5vw,66px);letter-spacing:-2.6px;margin:20px 0 15px}.visual-content>p{font-size:13px;line-height:1.7;max-width:510px}.visual-features{margin-top:22px;gap:8px}.visual-features span{padding:9px 11px;font-size:10px}.visual-status{left:clamp(36px,5vw,76px);right:clamp(36px,5vw,76px);bottom:22px;font-size:8px}
.auth-panel{padding:38px clamp(32px,6vw,86px);background:rgba(255,255,255,.92);border-left:1px solid rgba(226,231,239,.8)}.auth-panel-inner{width:min(510px,100%)}.auth-head h2{font-size:31px;letter-spacing:-1.2px}.auth-head>p{font-size:11px;line-height:1.65}.premium-form{margin-top:22px}.premium-form label{font-size:9px}.input-shell{margin-bottom:13px}.input-shell input{height:45px!important;border-radius:11px!important}.input-shell>i{left:12px;font-size:12px}.input-action{width:33px;height:33px;right:5px;top:5px}.premium-btn{height:45px!important;border-radius:11px!important;font-size:11px!important}.field-note{padding:10px 11px;margin-bottom:13px;font-size:9px}.auth-divider{margin:18px 0 10px;font-size:9px}.full-btn{height:42px!important}.security-line{margin-top:15px;padding-top:13px;font-size:8px}.login-preview{margin-top:26px;width:min(360px,100%)}
.auth-step-list{display:flex;flex-direction:column;gap:7px;margin-top:25px;width:min(430px,100%)}.auth-step{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.045);border-radius:12px;color:#aab5c8}.auth-step>b{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);font-size:8px;color:#8896ac}.auth-step span{display:flex;flex-direction:column;min-width:0}.auth-step strong{font-size:10px;color:#dfe5ef}.auth-step small{font-size:8px;color:#75839a;margin-top:1px}.auth-step>i{margin-left:auto;color:#67748c;font-size:12px}.auth-step.done{background:rgba(99,91,255,.09);border-color:rgba(139,92,246,.18)}.auth-step.done>b,.auth-step.active>b{background:linear-gradient(135deg, #104e28, #20bfd0);border-color:transparent;color:#fff}.auth-step.done>i,.auth-step.active>i{color:#9c91ff}.auth-step.active{border-color:rgba(139,92,246,.3);box-shadow:0 10px 28px rgba(0,0,0,.12)}
.auth-step-page .auth-panel{align-items:center}.auth-step-page .auth-panel-inner{max-width:520px}.auth-step-page .grid-form{grid-template-columns:1fr 1fr}.auth-step-page .grid-form .full{grid-column:1/-1}.auth-step-page .otp-shell input{height:58px;font-size:24px;border-radius:13px;letter-spacing:9px}.resend-row{font-size:9px}.resend-row button{font-size:9px}.resend-row span{font-size:8px}
.photo-drop{border:1px dashed #cfd7e5!important;background:linear-gradient(145deg,#fbfcff,#f5f7fc)!important;border-radius:15px!important;padding:18px!important}.preview-ring{width:58px!important;height:58px!important}.upload-title{font-size:11px!important}.upload-meta{font-size:9px!important}.upload-action{font-size:9px!important}.secure-note{font-size:8px!important}

@media(max-width:1000px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:20px 18px 78px}.chat-shell{grid-template-columns:1fr}.chat-list{display:block}.chat-shell.has-conversation .chat-list{display:none}.chat-shell.has-conversation .chat-main{display:grid}.chat-shell.no-conversation .chat-main{display:none}.chat-back{display:block}.chat-main{height:calc(100vh - 126px)}.chat-tools .icon-btn:nth-child(3),.chat-tools .icon-btn:nth-child(4){display:none}.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{min-height:calc(100vh - 66px);padding:34px 22px;border-left:0}.mobile-brand{display:flex;margin-bottom:28px}.auth-head h2{font-size:29px}.auth-step-page .auth-panel{align-items:flex-start}.auth-step-page .auth-panel-inner{margin:auto}}
@media(max-width:620px){body{font-size:11px}.topbar{height:60px;padding:0 12px}.brand{font-size:15px}.brand-mark{width:31px;height:31px;border-radius:10px}.icon-btn{width:33px;height:33px}.avatar{width:33px;height:33px}.top-actions>a:first-child.icon-btn{display:none}.content{padding:16px 12px 76px}.welcome,.page-heading{margin-bottom:15px}.welcome h2,.page-heading h2{font-size:23px}.stats{grid-template-columns:1fr 1fr;gap:7px}.stat-card{padding:12px;border-radius:13px}.stat-card b{font-size:15px}.grid-two{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr 1fr}.panel{padding:14px;border-radius:13px}.profile-hero{padding:14px;border-radius:14px}.profile-avatar{width:60px;height:60px}.profile-hero h2{font-size:19px}.profile-actions{width:100%}.profile-actions .primary-btn,.profile-actions .secondary-btn{flex:1}.detail-grid{grid-template-columns:1fr 1fr}.chat-list{padding:13px}.chat-list h2{font-size:20px}.chat-main{height:calc(100vh - 120px)}.chat-head{padding:0 10px}.chat-tools{gap:4px}.messages{padding:17px 9px}.bubble{max-width:88%;font-size:10.5px}.composer{margin:6px 6px 9px}.composer .icon-btn{width:31px;height:31px}.auth-panel{padding:25px 14px}.auth-panel-inner{max-width:100%}.auth-head h2{font-size:26px}.auth-head>p{font-size:10px}.auth-step-page .grid-form{grid-template-columns:1fr}.auth-step-page .grid-form .full{grid-column:auto}.otp-shell input{height:54px!important;font-size:22px!important;letter-spacing:7px!important}.photo-drop{padding:14px!important}.mobile-nav{height:58px}}
@media(min-width:1001px){.mobile-nav{display:none!important}}

/* AQShield Pro UI v10 */
:root{--brand:#6657f5;--brand-2:#8a5cf6;--cyan:#19bfcf;--navy:#0c1425;--line:#e5e9f0;--bg:#f5f7fb}
body{font-size:12px;background:radial-gradient(circle at 8% 0,#ece9ff 0,transparent 24%),radial-gradient(circle at 96% 0,#defaf7 0,transparent 22%),#f5f7fb}
.topbar{height:64px;padding:0 22px}.brand{font-size:17px}.brand-mark{width:34px;height:34px;border-radius:11px}.icon-btn{width:36px;height:36px;border-radius:10px;font-size:12px}.avatar{width:36px;height:36px;border-radius:11px;font-size:10px}
.app-shell{grid-template-columns:190px 1fr;min-height:calc(100vh - 64px)}
.sidebar{top:64px;height:calc(100vh - 64px);padding:15px 10px}.side-brand{display:flex;align-items:center;gap:9px;padding:4px 9px 18px;color:#fff}.side-brand-mark{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#6b5df5,#18c4d4);font-size:12px}.side-brand b{display:block;font:800 13px Manrope}.side-brand small{display:block;font-size:7px;letter-spacing:1.1px;color:#7f8ca1;margin-top:1px}.side-label{font-size:8px;letter-spacing:1.4px;padding:8px 10px;color:#718099}.side-item{padding:9px 10px;border-radius:10px;gap:9px;font-size:11px;margin-bottom:3px}.side-item i{font-size:13px}.content{padding:25px 28px}.welcome h2,.page-heading h2{font-size:27px}.panel,.stat-card,.profile-hero,.status-strip{border-radius:15px}.panel{padding:17px}
.mobile-nav{height:58px}.mobile-nav a{font-size:8px}

.chat-app-shell{height:calc(100vh - 64px);min-height:0}.chat-content{min-width:0;height:100%;overflow:hidden}.chat-shell{height:100%;max-width:none;grid-template-columns:315px minmax(0,1fr);background:#f8fafc}.chat-list{padding:16px;background:rgba(255,255,255,.96)}.chat-list-head{margin-bottom:11px}.chat-list h2{font-size:21px}.chat-subtitle{font-size:9px;color:#9aa3b2}.chat-new-actions{display:flex;gap:5px}.chat-new-actions .icon-btn{width:32px;height:32px}.chat-search{height:38px;margin-bottom:7px}.chat-search input{font-size:11px}.filter-btn{border:0;background:transparent;color:#7c8493;cursor:pointer}.search-filters{display:none;gap:5px;padding:4px 0 8px;flex-wrap:wrap}.search-filters.show{display:flex}.filter-chip{border:1px solid #e4e7ee;background:#fff;color:#7b8493;border-radius:99px;padding:5px 9px;font-size:9px;font-weight:800;cursor:pointer}.filter-chip.active{background:#eceaff;border-color:#d9d3ff;color:#5d51dc}.user-results{margin-bottom:7px}.user-result,.group-result{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #eceef4;background:#fff;border-radius:11px;padding:8px;margin:4px 0;cursor:pointer}.user-result:hover,.group-result:hover{border-color:#d9d3ff;background:#faf9ff}.user-result span:nth-child(2),.group-result span:nth-child(2){min-width:0;flex:1}.user-result b,.group-result b{display:block;font-size:10px}.user-result small,.group-result small{display:block;color:#98a1b0;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-result>i,.group-result>i{color:#6c5cf2}.user-result .avatar,.group-result .avatar{width:30px;height:30px;border-radius:9px;flex:none}.search-loading,.search-empty{padding:12px;text-align:center;color:#8b94a3;font-size:9px}.search-empty i{display:block;font-size:18px;margin-bottom:4px}.search-empty small{display:block;font-size:8px}.chat-section-title{display:flex;justify-content:space-between;align-items:center;padding:9px 5px 5px;color:#99a2b0;font-size:8px;letter-spacing:1.1px;font-weight:900}.chat-section-title small{letter-spacing:0;font-size:8px}.chat-person{padding:9px;border-radius:11px;gap:9px}.chat-person b{font-size:10.5px}.chat-person p{font-size:8.5px}.chat-person .chat-avatar{width:33px;height:33px}.chat-person .chat-avatar i{font-size:13px}.chat-main{height:100%;grid-template-rows:62px 1fr 65px;position:relative}.chat-head{padding:0 16px;gap:9px}.chat-head .avatar{width:34px;height:34px}.chat-head-copy b{font-size:11px}.chat-head-copy small{display:block;font-size:8px;color:#8993a3}.chat-tools{margin-left:auto;display:flex;gap:5px}.chat-tools .icon-btn{width:32px;height:32px}.chat-back{display:none}.conversation-search-bar{position:absolute;top:62px;right:14px;left:14px;z-index:5;height:40px;background:#fff;border:1px solid #e4e8ef;border-radius:11px;display:flex;align-items:center;gap:8px;padding:0 10px;box-shadow:0 12px 30px rgba(16,24,40,.1)}.conversation-search-bar.hidden{display:none}.conversation-search-bar input{border:0;outline:0;flex:1;font-size:10px}.conversation-search-bar button{border:0;background:none;color:#8892a1}.messages{padding:20px 5%;background:linear-gradient(180deg,#f8fafc,#f5f8fc);}.bubble{font-size:10.5px;padding:8px 10px;border-radius:12px;box-shadow:0 2px 8px rgba(16,24,40,.04)}.bubble small{font-size:7px}.composer{margin:7px 12px 10px;padding:5px;border-radius:12px}.composer .icon-btn{width:31px;height:31px}.composer input{font-size:10px}.send-btn{width:32px;height:32px}.empty-chat{padding:24px}.empty-chat h2{font:700 22px Manrope;margin:6px 0}.empty-chat p{max-width:430px;font-size:10px}.empty-actions{display:flex;gap:8px;margin-top:12px}.premium-dialog{border:0;padding:0;background:transparent;width:min(520px,94vw)}.premium-dialog::backdrop{background:rgba(7,13,26,.6);backdrop-filter:blur(7px)}.dialog-card{background:#fff;border:1px solid #e6e9f0;border-radius:20px;padding:20px;box-shadow:0 30px 90px rgba(10,20,40,.25)}.dialog-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-head h3{font:800 18px Manrope;margin:3px 0}.dialog-head p{font-size:9px;color:#8993a3;margin:0}.dialog-field{margin-bottom:12px}.dialog-field label{display:block;font-size:9px;font-weight:900;margin-bottom:5px;color:#344054}.dialog-field label span{font-weight:500;color:#9aa3b1}.dialog-field input{width:100%;height:39px;border:1px solid #dfe4ec;border-radius:10px;padding:0 11px;font-size:10px;outline:none}.dialog-field input:focus{border-color:#9b91ed;box-shadow:0 0 0 3px #eeecff}.group-search{margin-bottom:6px}.group-results{max-height:170px;overflow:auto}.selected-members{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.selected-member{display:flex;align-items:center;gap:5px;border:1px solid #ddd8ff;background:#f7f5ff;border-radius:99px;padding:3px 7px 3px 3px;font-size:8px;color:#574bd0}.selected-member .avatar{width:23px;height:23px;border-radius:50%;font-size:7px}.selected-member i{font-size:10px}.full-btn{width:100%}

/* Auth: always keep the form on the right on desktop; compact OTP on every screen */
.auth-page{min-height:calc(100vh - 64px);grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr)}.auth-visual{min-height:calc(100vh - 64px);padding:clamp(35px,5vw,75px)}.auth-panel{min-height:calc(100vh - 64px);padding:35px clamp(25px,5vw,75px);align-items:center}.auth-panel-inner{width:min(490px,100%)}.auth-head h2{font-size:29px}.auth-head>p{font-size:10px}.premium-form{margin-top:18px}.input-shell input{height:43px!important;font-size:11px}.premium-btn{height:43px!important}.otp-shell{width:100%}.otp-shell input{height:58px!important;width:100%;font-size:24px!important;letter-spacing:7px!important;padding:0 8px!important}.resend-row{gap:10px}.resend-row button,.resend-row span{font-size:8.5px}

@media(max-width:1000px){
 .app-shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:18px 16px 72px}.chat-app-shell{height:calc(100vh - 60px);display:block}.chat-content{height:100%}.chat-shell{grid-template-columns:1fr;height:100%}.chat-list{display:block;height:100%}.chat-shell.has-conversation .chat-list{display:none}.chat-shell.has-conversation .chat-main{display:grid}.chat-shell.no-conversation .chat-main{display:none}.chat-back{display:block}.chat-main{height:100%;grid-template-rows:58px 1fr 62px}.chat-tools .call-btn{display:none}.chat-tools .icon-btn{width:31px;height:31px}.conversation-search-bar{top:58px}.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{min-height:calc(100vh - 60px);padding:30px 20px}.mobile-brand{display:flex;margin-bottom:25px}.auth-step-page .auth-panel{align-items:center}.auth-step-page .auth-panel-inner{margin:auto}
}
@media(max-width:560px){
 body{font-size:11px}.topbar{height:60px;padding:0 11px}.brand{font-size:15px}.brand-mark{width:31px;height:31px}.icon-btn{width:32px;height:32px}.avatar{width:32px;height:32px}.chat-app-shell{height:calc(100vh - 60px)}.chat-list{padding:11px}.chat-list h2{font-size:19px}.chat-subtitle{font-size:8px}.chat-person{padding:8px}.chat-person b{font-size:10px}.chat-person p{font-size:8px}.chat-main{grid-template-rows:55px 1fr 60px}.chat-head{padding:0 8px}.chat-head-copy{min-width:0}.chat-head-copy b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px;display:block}.chat-head-copy small{font-size:7px}.chat-tools .icon-btn{width:29px;height:29px}.messages{padding:13px 7px}.bubble{font-size:10px;max-width:89%;padding:7px 9px}.composer{margin:5px 5px 7px}.composer .icon-btn{width:29px;height:29px}.composer input{font-size:9px;min-width:0}.send-btn{width:29px;height:29px}.empty-chat h2{font-size:19px}.empty-chat p{font-size:9px}.empty-actions{flex-direction:column;width:100%;max-width:230px}.empty-actions .primary-btn,.empty-actions .secondary-btn{width:100%}.premium-dialog{width:96vw}.dialog-card{padding:15px;border-radius:16px}.dialog-head h3{font-size:16px}.group-results{max-height:135px}.auth-page{min-height:calc(100vh - 60px)}.auth-panel{min-height:calc(100vh - 60px);padding:20px 13px;align-items:flex-start}.auth-panel-inner{width:100%;max-width:100%}.mobile-brand{font-size:16px;margin-bottom:20px}.auth-head h2{font-size:24px}.auth-head>p{font-size:9px}.auth-step-page .auth-panel-inner{margin:auto}.otp-shell input{height:50px!important;font-size:20px!important;letter-spacing:5px!important;border-radius:11px!important}.resend-row{align-items:flex-start;flex-direction:column}.security-line{font-size:8px}
}


/* AQShield v11 responsive system + consistent navigation */
html,body{width:100%;max-width:100%;overflow-x:hidden}body{font-size:12px}.app-shell{grid-template-columns:220px minmax(0,1fr);min-height:calc(100dvh - 74px)}.sidebar{top:74px;height:calc(100dvh - 74px);padding:14px 10px}.side-brand{margin:0 5px 10px}.side-item{padding:9px 10px;font-size:11px;gap:9px;margin-bottom:3px}.side-item i{font-size:14px}.side-label{padding:7px 10px}.account-label{margin-top:10px!important}.content{padding:24px 28px}.settings-shell .content{min-width:0}.settings-content .page-heading{margin-bottom:14px}.settings-content .page-heading h2{font-size:26px}.security-box{padding:13px 15px}.security-panel{padding:15px}.security-panel .auth-form{margin-top:0}.security-panel .auth-form label{margin:8px 0 4px}.security-panel .auth-form input{height:40px;padding:9px 11px}.security-panel .auth-form .primary-btn{height:40px;margin-top:12px}.security-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.security-row h3{font-size:14px;margin:0 0 2px}.security-row .muted{font-size:10px}.security-row form{margin:0}.security-row .secondary-btn{white-space:nowrap;padding:8px 11px;font-size:10px}.auth-page{min-height:calc(100dvh - 74px);grid-template-columns:minmax(0,1fr) minmax(430px,.9fr);overflow:hidden}.auth-visual{min-height:calc(100dvh - 74px);padding:34px 6vw;overflow:hidden}.visual-content h1{font-size:clamp(38px,4.4vw,58px);line-height:.98}.auth-step-list{gap:7px}.auth-step{padding:8px 10px}.auth-panel{min-height:calc(100dvh - 74px);padding:28px clamp(22px,4vw,56px);overflow:auto}.auth-panel-inner{max-width:470px}.auth-head h2{font-size:27px}.auth-head>p{font-size:10px}.otp-shell input{height:50px!important;font-size:20px!important;letter-spacing:5px!important}.auth-form input{font-size:11px}.photo-drop{min-height:110px}.security-line{font-size:9px}.mobile-nav{display:none}
@media(max-width:1000px){.app-shell{display:block;min-height:calc(100dvh - 60px)}.sidebar{display:none}.content{padding:17px 15px 76px}.mobile-nav{display:flex}.auth-page{grid-template-columns:1fr;min-height:calc(100dvh - 60px);overflow:visible}.auth-visual{display:none}.auth-panel{min-height:calc(100dvh - 60px);padding:22px 16px 82px;overflow:visible}.auth-panel-inner{width:100%;max-width:520px}.chat-app-shell{height:calc(100dvh - 60px)}.chat-content,.chat-shell{height:100%}.chat-shell{grid-template-columns:1fr}.chat-list{min-height:100%;padding:12px}.chat-shell.has-conversation .chat-list{display:none}.chat-shell.has-conversation .chat-main{display:grid}.chat-shell.no-conversation .chat-main{display:none}.settings-content{padding-bottom:78px}.security-row{align-items:flex-start;flex-direction:column;gap:9px}.security-row form,.security-row .secondary-btn{width:100%}}
@media(max-width:560px){.topbar{height:60px;padding:0 10px}.app-shell{min-height:calc(100dvh - 60px)}.content{padding:14px 10px 74px}.welcome,.page-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:13px}.welcome h2,.page-heading h2{font-size:23px}.welcome p,.page-heading p{font-size:9px}.panel{padding:13px;border-radius:15px}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat-card{padding:12px}.stat-card b{font-size:14px}.stat-card small{font-size:8px}.grid-two{grid-template-columns:1fr;gap:9px}.quick-grid{grid-template-columns:1fr 1fr}.auth-page{min-height:calc(100dvh - 60px)}.auth-panel{min-height:calc(100dvh - 60px);padding:17px 12px 80px}.auth-head h2{font-size:22px}.auth-head>p{font-size:9px;line-height:1.5}.premium-form{margin-top:12px}.auth-form label{font-size:9px;margin:9px 0 4px}.auth-form input{height:39px!important;padding:9px 10px!important;font-size:10px!important;border-radius:10px}.otp-shell input{height:48px!important;font-size:19px!important;letter-spacing:4px!important}.primary-btn,.secondary-btn{font-size:10px;padding:9px 11px}.premium-btn{height:40px!important}.photo-drop{min-height:96px;padding:12px!important}.upload-title{font-size:10px}.upload-meta{font-size:8px}.upload-action{font-size:9px;margin-left:0!important;margin-top:4px!important}.photo-actions{gap:7px}.photo-actions .primary-btn{width:100%}.security-line{font-size:8px}.security-row h3{font-size:13px}.security-row .muted{font-size:9px}.security-panel .auth-form input{height:38px!important}.chat-list h2{font-size:18px}.chat-list-head{margin-bottom:9px}.search-wrap{height:38px}.chat-person{padding:8px}.chat-main{grid-template-rows:54px 1fr 58px}.messages{padding:11px 6px}.composer{margin:5px 4px 6px}.composer input{font-size:9px}.chat-tools .icon-btn{width:29px;height:29px}}
/* AQShield v12 realtime chat + responsive polish */
html,body{overflow-x:hidden}body{overscroll-behavior-x:none}.chat-app-shell{min-height:calc(100dvh - 74px);height:calc(100dvh - 74px);overflow:hidden}.chat-content,.chat-shell{min-height:0;height:100%}.chat-shell{grid-template-columns:minmax(250px,310px) minmax(0,1fr)}.chat-list{min-width:0;overflow:hidden}.chat-main{min-width:0;min-height:0;overflow:hidden}.messages{min-height:0;overflow-y:auto;overflow-x:hidden}.composer{min-width:0}.composer input{min-width:0}.chat-security-note{display:flex;align-items:center;gap:9px;padding:7px 14px;background:rgba(232,247,244,.78);border-bottom:1px solid #dcefe9;color:#3d6b63;font-size:9px}.chat-security-note i{color:#12a779;font-size:13px}.chat-security-note span{display:flex;flex-direction:column}.chat-security-note small{font-size:8px;color:#718b86}.typing-indicator{height:22px;padding:3px 15px;background:#f8fafc;color:#7b8798;font-size:8px;display:flex;align-items:center;gap:3px}.typing-indicator.hidden{display:none}.typing-indicator span{width:4px;height:4px;background:#8b5cf6;border-radius:50%;animation:aqpulse 1s infinite}.typing-indicator span:nth-child(2){animation-delay:.15s}.typing-indicator span:nth-child(3){animation-delay:.3s}.typing-indicator em{font-style:normal;margin-left:3px}.tick.read{color:#4f46e5;font-weight:800}.call-modal{position:fixed;inset:0;z-index:300;background:rgba(5,10,20,.72);display:grid;place-items:center;padding:20px}.call-modal.hidden{display:none}.call-card{width:min(430px,94vw);background:#fff;border-radius:24px;padding:24px;text-align:center;box-shadow:0 30px 100px rgba(0,0,0,.3)}.call-card video{width:100%;max-height:360px;background:#0b1220;border-radius:15px;object-fit:cover;margin-top:10px;display:none}.call-card #localVideo{max-height:150px}.call-avatar{width:70px;height:70px;border-radius:22px;margin:0 auto 12px;display:grid;place-items:center;background:linear-gradient(135deg,#6d5dfc,#20c7d9);color:#fff;font:800 22px Manrope}.call-actions{margin-top:16px}.danger-btn{width:48px;height:48px;border:0;border-radius:50%;background:#f04438;color:#fff}.call-history-panel{padding:0;overflow:hidden}.call-history-row{display:flex;align-items:center;gap:12px;padding:13px 16px;border-top:1px solid #edf0f4}.call-history-main{min-width:0;flex:1;display:flex;flex-direction:column}.call-history-main b{font-size:11px}.call-history-main small{font-size:8px;color:#8a94a4}.call-history-row time{font-size:8px;color:#98a2b3;white-space:nowrap}.call-empty{text-align:center;padding:50px 20px;color:#7c8797}.call-empty i{font-size:28px;color:#a7afbc}.call-empty h3{font:800 16px Manrope;margin:8px 0 3px;color:#344054}.call-empty p{font-size:9px}.status-item{border:0;background:none;cursor:pointer;font:inherit;color:inherit}.status-viewer{border:0;background:transparent;padding:0;width:min(430px,94vw);height:min(760px,90vh)}.status-viewer::backdrop{background:rgba(4,8,18,.82);backdrop-filter:blur(8px)}.status-viewer-card{height:100%;background:#080d18;border-radius:24px;position:relative;display:grid;place-items:center;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.45)}.status-viewer-close{position:absolute;right:12px;top:12px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff}.status-full-video,.status-full-image{width:100%;height:100%;object-fit:contain}.status-full-text{padding:40px;color:#fff;font:800 24px Manrope;text-align:center}
@media(max-width:1000px){.chat-app-shell{height:calc(100dvh - 60px);min-height:calc(100dvh - 60px);padding-bottom:0}.chat-shell{height:100%}.chat-main{height:100%;min-height:0}.messages{padding-bottom:8px}.chat-security-note{font-size:8px}.chat-security-note small{font-size:7px}}
@media(max-width:560px){.chat-shell{grid-template-columns:1fr}.chat-list{height:100%;overflow-y:auto}.chat-security-note{padding:6px 10px}.chat-security-note small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.typing-indicator{padding-left:10px}.call-card{padding:18px}.status-viewer{height:88vh;width:94vw}.status-full-text{font-size:20px;padding:25px}.calls-page{padding-bottom:72px}}
/* AQShield v13 chat layout fix: compact security notice + no message area displacement */
.chat-main{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important}
.chat-head{flex:0 0 76px}
.conversation-search-bar{flex:0 0 auto}
.chat-security-note{flex:0 0 auto;height:34px;min-height:34px;max-height:34px;padding:4px 12px!important;line-height:1.1;gap:7px;border-bottom:1px solid #dcefe9;box-sizing:border-box}
.chat-security-note i{font-size:11px!important;line-height:1}
.chat-security-note b{font-size:8px;line-height:1.05;display:block}
.chat-security-note small{font-size:7px!important;line-height:1.05;display:block;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.typing-indicator{flex:0 0 22px;height:22px;min-height:22px}
.messages{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important}
.composer{flex:0 0 auto!important;margin-bottom:10px}
.empty-chat{flex:1 1 auto;height:auto!important;min-height:0}
@media(max-width:1000px){.chat-head{flex-basis:54px}.chat-security-note{height:30px;min-height:30px;max-height:30px;padding:3px 9px!important}.chat-security-note b{font-size:7px}.chat-security-note small{font-size:6px!important}.typing-indicator{flex-basis:20px;height:20px;min-height:20px}.composer{margin-bottom:6px}}
@media(max-width:560px){.chat-security-note{height:28px;min-height:28px;max-height:28px;padding:3px 8px!important}.chat-security-note i{font-size:10px!important}.chat-security-note b{font-size:7px}.chat-security-note small{font-size:6px!important}.typing-indicator{flex-basis:18px;height:18px;min-height:18px}.chat-head{flex-basis:54px}.composer{margin:4px 4px 5px}}

/* AQShield v15 interaction + visual polish */
:root{--brand:#5b5cf0;--brand-2:#7c3aed;--cyan:#18b6c9;--green:#16a34a;--bg:#f5f7fb;--line:#e4e8f0}
body{font-size:12px;background:radial-gradient(circle at 12% -8%,#eeecff 0,transparent 30%),radial-gradient(circle at 100% 5%,#e2fbf8 0,transparent 26%),#f5f7fb}
.tick{font-weight:700;color:#98a2b3;letter-spacing:-1px}.tick.read{color:#16a34a!important;font-weight:900}
.chat-person .avatar,.chat-head .avatar{flex:0 0 auto}.chat-head-copy{min-width:0}.chat-head-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-head-copy small{font-size:9px}
.chat-security-note{background:linear-gradient(90deg,#f0fbf7,#f5fbff)!important;color:#47766b!important}
.chat-security-note b{font-weight:800}.chat-security-note small{color:#718b86!important}
.typing-indicator{background:#f7f9fc!important;color:#6b7280!important}
.typing-indicator span{background:#5b5cf0!important}
.profile-page .profile-hero{display:flex;align-items:center;gap:16px;padding:20px 22px;margin-bottom:16px}.profile-page .profile-hero h2{margin:3px 0;font-size:24px}.profile-avatar{width:76px;height:76px;border-radius:22px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#5b5cf0,#18b6c9);color:#fff;font:800 22px Manrope}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-details-panel{margin-top:16px}.avatar-preview{display:none;align-items:center;gap:10px;margin-top:9px}.avatar-preview.show{display:flex}.avatar-preview img{width:54px;height:54px;border-radius:15px;object-fit:cover;border:1px solid var(--line)}
.status-viewer{background:transparent!important}.status-viewer-card{background:#07101b!important}.status-full-video{background:#000;object-fit:contain}.status-full-video::-webkit-media-controls-panel{background:linear-gradient(transparent,#0009)}
.call-card{border:1px solid #e7e9f2}.call-history-row:hover{background:#fafbff}
@media(max-width:1000px){.profile-page .profile-hero{padding:15px}.profile-page .profile-hero h2{font-size:20px}.profile-avatar{width:62px;height:62px;border-radius:18px}.content{padding-bottom:78px!important}}
@media(max-width:560px){body{font-size:11px}.topbar{height:58px}.brand{font-size:16px}.brand-mark{width:34px;height:34px;border-radius:11px}.profile-page .profile-hero{gap:11px}.profile-page .profile-hero h2{font-size:18px}.profile-avatar{width:56px;height:56px;border-radius:16px}.profile-actions{display:flex;width:100%;gap:6px}.profile-actions>*{flex:1}.chat-head{padding:0 9px!important}.chat-head .avatar{width:34px;height:34px}.chat-head-copy b{font-size:11px}.chat-tools{gap:4px}.chat-tools .icon-btn{width:31px;height:31px}.bubble{font-size:11px;max-width:84%;padding:8px 10px}.bubble small{font-size:7px}.composer{padding:5px!important}.composer .icon-btn{width:30px;height:30px}.composer input{font-size:10px!important}.send-btn{width:32px;height:32px}.status-full-text{font-size:18px}}

/* AQShield v16 navigation/profile polish */
.chat-profile-link{display:inline-flex;text-decoration:none;color:inherit;flex:0 0 auto}.chat-profile-link:hover .avatar{box-shadow:0 0 0 3px rgba(109,93,252,.12)}
.public-profile-page .profile-hero{display:flex;align-items:center;gap:18px}.public-profile-page .profile-hero-copy{flex:1;min-width:0}.public-profile-page .profile-actions{margin-left:auto}.public-details{margin-top:16px}.public-details .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.public-profile-page .profile-hero{align-items:flex-start;flex-wrap:wrap}.public-profile-page .profile-actions{width:100%;margin-left:0}.public-profile-page .profile-actions>*{width:100%}.public-details .detail-grid{grid-template-columns:1fr}}

/* v17 live chat + message controls */
.danger-icon{color:#ef6b73!important}
.bubble{position:relative}
.message-more{position:absolute;right:6px;top:4px;border:0;background:rgba(0,0,0,.08);color:inherit;width:24px;height:24px;border-radius:8px;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s,background .15s;cursor:pointer;z-index:2}
.bubble:hover .message-more,.message-more:focus{opacity:1}
.message-more:hover{background:rgba(0,0,0,.14)}
.message-actions{position:absolute;right:6px;top:31px;z-index:10;display:flex;flex-direction:column;min-width:120px;padding:5px;border:1px solid var(--line,#e6e8ef);border-radius:10px;background:var(--surface,#fff);box-shadow:0 12px 28px rgba(0,0,0,.14)}
.message-actions.hidden{display:none}
.message-actions button{border:0;background:transparent;padding:8px 10px;text-align:left;border-radius:7px;color:inherit;cursor:pointer;font-size:12px}
.message-actions button:hover{background:rgba(0,0,0,.06)}
.message-actions .danger-text{color:#dc4f59}
@media(max-width:720px){
 .message-more{opacity:.75;width:22px;height:22px}
 .message-actions{right:3px;top:28px;min-width:112px}
 .chat-tools .danger-icon{display:flex}
}

/* v20 live typing + voice recording */
#recordBtn.recording{animation:aqRecordPulse 1s infinite;transform:scale(1.04)}
@keyframes aqRecordPulse{0%,100%{opacity:1}50%{opacity:.55}}

/* AQShield v22 media, emoji and voice UI */
.emoji-picker{position:absolute;bottom:52px;right:42px;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 18px 45px rgba(15,23,42,.16)}
.emoji-picker.hidden{display:none}.emoji-picker button{border:0;background:#f8fafc;border-radius:9px;width:30px;height:30px;font-size:18px;cursor:pointer}.composer{position:relative}.media-bubble{display:flex;flex-direction:column;gap:5px}.media-bubble img,.media-bubble video{display:block;max-width:min(360px,70vw);max-height:300px;border-radius:12px}.media-bubble audio{width:min(320px,65vw);height:38px}.media-download{display:inline-flex;align-items:center;gap:5px;font-size:8px;text-decoration:none;color:#5b4ed6;font-weight:800}.file-bubble{display:flex;flex-direction:column;gap:3px}.file-bubble .file-link{display:flex;align-items:center;gap:7px;text-decoration:none;color:inherit}.file-bubble>small{font-size:7px;color:#8993a3}.voice-bubble{min-width:220px}
@media(max-width:560px){.emoji-picker{right:35px;bottom:50px}.media-bubble img,.media-bubble video{max-width:72vw;max-height:240px}.voice-bubble{min-width:190px}.media-bubble audio{width:62vw}}

/* AQShield v23 premium messaging + contact approval */
:root{--aq-indigo:#4f46e5;--aq-violet:#7c3aed;--aq-cyan:#06b6d4;--aq-ink:#182033;--aq-muted:#667085}
.tick{color:#334155!important;font-weight:900;text-shadow:0 1px 1px rgba(15,23,42,.12);opacity:1}.tick.read{color:#111827!important;text-shadow:0 1px 1px rgba(15,23,42,.2)}
.contact-request-bar{padding:7px 10px;border-bottom:1px solid #e8ebf3}.contact-request-bar button{width:100%;border:1px solid #e3e6f0;background:linear-gradient(135deg,#fff,#f5f7ff);color:#334155;border-radius:12px;padding:8px 10px;font-size:10px;font-weight:800;text-align:left;cursor:pointer;transition:.2s}.contact-request-bar button:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(79,70,229,.1)}.contact-request-bar span{float:right;min-width:18px;height:18px;border-radius:9px;background:#4f46e5;color:#fff;text-align:center;line-height:18px;font-size:8px}.contact-requests{padding:7px 9px;background:#f8f9ff;border-bottom:1px solid #e7e9f1}.contact-requests.hidden{display:none}.contact-request{display:flex;align-items:center;gap:7px;padding:7px;border-radius:10px;background:#fff;border:1px solid #e7e9f0;margin-bottom:5px;animation:aqFadeUp .22s ease both}.contact-request>div{min-width:0;flex:1}.contact-request b,.contact-request small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-request b{font-size:10px;color:#1f2937}.contact-request small{font-size:8px;color:#7b8494}.contact-request button{border:0;width:27px;height:27px;border-radius:9px;cursor:pointer}.accept-request{background:#e8f8ef;color:#15803d}.reject-request{background:#fff0f1;color:#dc2626}.request-empty{padding:10px;text-align:center;font-size:9px;color:#8b94a5}.contact-state{font-size:8px;font-weight:800;color:#4f46e5;white-space:nowrap}.contact-state.pending{color:#a16207}.contact-state.accepted{color:#15803d}.user-result{transition:transform .16s,box-shadow .16s}.user-result:hover{transform:translateX(2px);box-shadow:0 8px 22px rgba(79,70,229,.08)}
.typing-indicator{animation:aqFadeUp .18s ease both}.typing-indicator span{animation:aqTypingDot 1.15s infinite}.typing-indicator span:nth-child(2){animation-delay:.15s}.typing-indicator span:nth-child(3){animation-delay:.3s}
#recordBtn.recording{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important;box-shadow:0 0 0 5px rgba(239,68,68,.12),0 8px 22px rgba(239,68,68,.2)}
@keyframes aqTypingDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}@keyframes aqFadeUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.chat-person,.user-result,.side-item,.icon-btn,.send-btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.chat-person:hover{transform:translateX(2px)}

/* AQShield v27 — unified premium green/light-green system + message/chat management */
:root{
 --brand:#16a34a;--brand-2:#22c55e;--cyan:#34d399;--green:#16a34a;--green-light:#ecfdf3;--green-soft:#f0fdf4;--green-line:#ccebd8;--red:#16a34a;
 --bg:#f3faf6;--line:#dcebe2;--shadow:0 20px 60px rgba(22,163,74,.09);--shadow-sm:0 8px 25px rgba(22,163,74,.07)
}
body{background:radial-gradient(circle at 12% -8%,#eafff2 0,transparent 30%),radial-gradient(circle at 100% 5%,#dcfce7 0,transparent 28%),#f3faf6}
.brand-mark,.status-ring,.call-avatar{background:linear-gradient(145deg,#15803d,#22c55e)!important}
.brand-mark{box-shadow:0 10px 24px rgba(22,163,74,.24)!important}
.primary-btn{background:linear-gradient(135deg,#15803d,#22c55e)!important;box-shadow:0 12px 26px rgba(22,163,74,.22)!important}
.primary-btn:hover{box-shadow:0 16px 30px rgba(22,163,74,.28)!important}
.icon-btn:hover{color:#15803d!important;border-color:#b9dfc8!important}
.eyebrow,.stat-card i,.quick-card i{color:#15803d!important}
.chat-person:hover,.chat-person.active{background:#effcf3!important;border-color:#ccebd8!important}
.unread-count{background:#16a34a!important}
.search-wrap{background:#f3faf6;border-color:#dcebe2}
.chat-tabs button.active{background:#dcfce7;color:#166534}
.messages{background:radial-gradient(circle at 50% 0,#e8f8ed 0,transparent 30%),#f5faf7}
.bubble.outgoing{background:linear-gradient(135deg,#15803d,#22c55e)!important}
.composer{border-color:#cfe8d8}
.send-btn{background:linear-gradient(135deg,#15803d,#22c55e)!important}
.tick.read{color:#16a34a!important}
.chat-security-note{background:linear-gradient(90deg,#ecfdf3,#f0fdf4)!important;border-color:#d5efdf!important;color:#166534!important}
.typing-indicator span{background:#22c55e!important}
.side-item.active{background:linear-gradient(90deg,rgba(34,197,94,.22),rgba(52,211,153,.08));border-color:rgba(34,197,94,.3);box-shadow:inset 3px 0 0 #22c55e}
.avatar{background:linear-gradient(145deg,#dcfce7,#d1fae5);color:#166534;border-color:#ccebd8}
/* Message controls are visible enough to discover, while remaining subtle. */
.message-more{opacity:.58;background:#ecfdf3;color:#166534;border:1px solid #d2eddd}
.bubble:hover .message-more,.message-more:focus,.message-more:hover{opacity:1;background:#dcfce7;color:#14532d}
.message-actions{border-color:#cfe8d8;background:#fff;box-shadow:0 14px 34px rgba(22,101,52,.14)}
.message-actions button:hover{background:#ecfdf3;color:#166534}
.danger-text{color:#15803d!important}
/* Premium green action dialogs */
.premium-dialog::backdrop{background:rgba(8,35,19,.46);backdrop-filter:blur(7px)}
.manage-dialog-card{width:min(560px,calc(100vw - 28px));padding:0;overflow:hidden;border:1px solid #ccebd8!important;background:linear-gradient(180deg,#fff 0%,#f7fdf9 100%)!important;box-shadow:0 30px 90px rgba(20,83,45,.22)!important;border-radius:24px!important}
.manage-dialog-head{padding:22px 22px 16px!important;border-bottom:1px solid #e2f1e7}
.green-eyebrow{color:#15803d!important}
.dialog-close-btn{width:34px;height:34px;border-radius:10px;background:#f0fdf4!important;border-color:#d5efdf!important;color:#166534!important}
.manage-option-grid{display:grid;gap:10px;padding:16px 20px}
.manage-option{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:12px;text-align:left;border:1px solid #cfe8d8;background:#f8fdf9;border-radius:16px;padding:13px;cursor:pointer;color:#173b25;transition:.2s;box-shadow:0 5px 18px rgba(22,163,74,.045)}
.manage-option:hover{transform:translateY(-1px);border-color:#9bd4ae;background:#effcf3;box-shadow:0 12px 28px rgba(22,163,74,.1)}
.manage-option-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#dcfce7,#bbf7d0);color:#15803d;font-size:17px}
.manage-option-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.manage-option-copy b{font-size:12px;color:#14532d}
.manage-option-copy small{font-size:9px;line-height:1.45;color:#64806d}
.manage-arrow{color:#6aaa7c;font-size:12px}
.manage-note{margin:0 20px 20px;padding:11px 13px;display:flex;gap:9px;align-items:flex-start;border:1px solid #d5efdf;background:#ecfdf3;border-radius:13px;color:#166534}
.manage-note>i{margin-top:2px}.manage-note span{display:flex;flex-direction:column;gap:2px}.manage-note b{font-size:9px}.manage-note small{font-size:8px;line-height:1.45;color:#5f7e69}
.selected-message-preview{margin:16px 20px 0;padding:11px 13px;border:1px solid #d5efdf;background:#f0fdf4;border-radius:14px;display:flex;gap:10px;align-items:center}
.selected-message-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#dcfce7;color:#15803d;flex:0 0 auto}
.selected-message-preview div{min-width:0;display:flex;flex-direction:column;gap:2px}.selected-message-preview b{font-size:10px;color:#14532d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-message-preview small{font-size:8px;color:#6a8672}
.manage-option.is-disabled,.manage-option:disabled{opacity:.48;cursor:not-allowed;transform:none!important;box-shadow:none!important}.manage-option:disabled:hover{background:#f8fdf9;border-color:#cfe8d8}
@media(max-width:560px){.manage-dialog-card{width:calc(100vw - 18px);border-radius:20px!important}.manage-dialog-head{padding:17px 16px 13px!important}.manage-option-grid{padding:12px 14px}.manage-option{grid-template-columns:36px minmax(0,1fr) 14px;padding:10px;gap:9px}.manage-option-icon{width:36px;height:36px;border-radius:11px;font-size:14px}.manage-option-copy b{font-size:10px}.manage-option-copy small{font-size:8px}.manage-note{margin:0 14px 14px}.selected-message-preview{margin:12px 14px 0}}

/* AQShield v28 final UI polish */
:root{--brand:#16a34a;--brand-2:#22c55e;--cyan:#34d399;--green:#16a34a;--green-light:#ecfdf3;--green-soft:#f0fdf4;--green-line:#ccebd8;--bg:#f3faf6;--line:#dcebe2}
.sidebar{background:linear-gradient(180deg,#14532d 0%,#166534 48%,#15803d 100%)!important;border-right:1px solid rgba(255,255,255,.13)!important;min-height:calc(100dvh - 74px);height:calc(100dvh - 74px);padding:22px 14px!important;box-shadow:12px 0 35px rgba(22,101,52,.10)}
.sidebar:before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent)!important}
.side-label{color:#bbf7d0!important}.side-item{color:#dcfce7!important}.side-item:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.side-item.active{background:linear-gradient(90deg,rgba(255,255,255,.19),rgba(187,247,208,.08))!important;border-color:rgba(187,247,208,.24)!important;box-shadow:inset 3px 0 0 #86efac,0 8px 22px rgba(0,0,0,.08)!important}.logout{color:#dcfce7!important}.side-brand{color:#fff}.side-brand small{color:#bbf7d0!important}
.chat-app-shell{min-height:calc(100dvh - 74px)!important}.chat-shell{min-height:calc(100dvh - 74px)!important}
.avatar.chat-avatar img,.chat-head .avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.bubble-row{position:relative;align-items:flex-start;gap:5px}.message-menu-wrap{position:relative;flex:0 0 auto;align-self:flex-start;margin-top:5px}.message-more{position:relative;right:auto;top:auto;width:28px;height:28px;border-radius:9px;opacity:.72!important;background:#fff!important;color:#166534!important;border:1px solid #ccebd8!important;box-shadow:0 4px 12px rgba(22,101,52,.08);display:grid;place-items:center;cursor:pointer;transition:.18s}.message-more:hover,.message-more:focus{opacity:1!important;transform:translateY(-1px);background:#ecfdf3!important;color:#14532d!important}.message-actions{position:absolute;top:32px;right:0;z-index:30;min-width:126px;padding:5px;border:1px solid #cfe8d8!important;border-radius:11px;background:#fff!important;box-shadow:0 14px 34px rgba(22,101,52,.16)!important}.bubble-row.me .message-actions{right:0}.message-actions button{padding:8px 10px!important;font-size:10px!important}.message-actions.hidden{display:none}
.message-action-card{width:min(430px,calc(100vw - 32px))!important;border-radius:20px!important}.message-action-card .manage-dialog-head{padding:17px 18px 12px!important}.message-action-card .manage-dialog-head h3{font-size:17px!important;margin:3px 0!important}.message-action-card .manage-dialog-head p{font-size:9px!important;line-height:1.45}.message-action-card .selected-message-preview{margin:12px 16px 0!important;padding:9px 11px!important}.message-action-card .manage-option-grid{padding:11px 16px!important;gap:8px!important}.message-action-card .manage-option{grid-template-columns:38px minmax(0,1fr) 15px;padding:10px!important;border-radius:13px!important}.message-action-card .manage-option-icon{width:38px;height:38px;border-radius:11px;font-size:15px}.message-action-card .manage-option-copy b{font-size:11px}.message-action-card .manage-option-copy small{font-size:8px;line-height:1.35}.message-action-card .manage-note{margin:0 16px 15px!important;padding:9px 11px!important}.message-action-card .manage-note b{font-size:8px}.message-action-card .manage-note small{font-size:7.5px}.message-action-card .dialog-close-btn{width:31px;height:31px}
@media(min-width:1001px){.sidebar{width:100%;overflow-y:auto;scrollbar-width:thin}.app-shell{grid-template-columns:260px minmax(0,1fr)!important}}
@media(max-width:560px){.message-action-card{width:calc(100vw - 24px)!important;border-radius:17px!important}.message-action-card .manage-dialog-head{padding:14px 14px 10px!important}.message-action-card .manage-option-grid{padding:9px 12px!important}.message-action-card .manage-option{grid-template-columns:34px minmax(0,1fr) 13px;padding:9px!important}.message-action-card .manage-option-icon{width:34px;height:34px}.message-action-card .manage-note{margin:0 12px 12px!important}.message-menu-wrap{margin-top:4px}.message-more{width:26px;height:26px}}

/* AQShield v29 — unified navigation, live notification center & animated dialogs */
.topbar.auth-topbar{position:sticky;top:0;z-index:1200;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #dcebe2!important;box-shadow:0 6px 24px rgba(22,101,52,.06);backdrop-filter:blur(16px)}
.auth-topbar .top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.mobile-top-brand{display:none;align-items:center;gap:9px;font:800 16px Manrope;color:#14532d}
.notification-wrap{position:relative;display:flex;align-items:center}
.notification-btn{position:relative;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.notification-btn:hover{transform:translateY(-2px);background:#ecfdf3!important;color:#15803d!important;box-shadow:0 8px 20px rgba(22,163,74,.14)}
.notification-btn:active{transform:scale(.94)}
.notification-btn .badge-dot{min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#16a34a!important;color:#fff;font:800 8px/17px Inter;display:none;place-items:center;border:2px solid #fff;box-shadow:0 3px 10px rgba(22,163,74,.25)}
.notification-panel{position:absolute;right:-4px;top:calc(100% + 12px);width:min(370px,calc(100vw - 28px));background:#fff;border:1px solid #cfe8d8;border-radius:18px;box-shadow:0 24px 60px rgba(20,83,45,.18);overflow:hidden;opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:opacity .22s ease,transform .22s ease,visibility .22s ease;z-index:1500}
.notification-panel.show{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.notification-panel:before{content:"";position:absolute;right:16px;top:-7px;width:14px;height:14px;background:#fff;border-left:1px solid #cfe8d8;border-top:1px solid #cfe8d8;transform:rotate(45deg)}
.notification-panel-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px 13px;background:linear-gradient(135deg,#f0fdf4,#fff);border-bottom:1px solid #e5f2e9}
.notification-panel-head>div{display:flex;flex-direction:column;gap:3px}.notification-panel-head .eyebrow{font-size:7px;color:#16a34a}.notification-panel-head b{font:800 15px Manrope;color:#14532d}
.notification-mark{border:0;background:#ecfdf3;color:#15803d;border:1px solid #ccebd8;border-radius:9px;padding:7px 9px;font:700 8px Inter;cursor:pointer;transition:.2s}.notification-mark:hover{background:#dcfce7;transform:translateY(-1px)}
.notification-list{max-height:330px;overflow:auto;padding:7px}
.notification-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 7px;align-items:start;gap:9px;text-align:left;border:0;background:#fff;border-radius:12px;padding:10px 9px;cursor:pointer;position:relative;transition:background .18s ease,transform .18s ease}.notification-item:hover{background:#f0fdf4;transform:translateX(2px)}.notification-item.unread{background:#f5fdf7}.notification-item+.notification-item{margin-top:3px}
.notification-item-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#ecfdf3;color:#16a34a;border:1px solid #ccebd8;font-size:13px}.notification-item.unread .notification-item-icon{background:linear-gradient(145deg,#dcfce7,#bbf7d0);box-shadow:0 5px 14px rgba(22,163,74,.12)}
.notification-item-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.notification-item-copy b{font:800 10px Manrope;color:#14532d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-item-copy small{font:500 9px Inter;color:#61766a;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notification-item-copy time{font:600 7px Inter;color:#94a99b;margin-top:2px}.notification-unread-dot{width:6px;height:6px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.10);margin-top:6px}
.notification-empty,.notification-loading{min-height:135px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;color:#789083;padding:18px}.notification-empty i{font-size:24px;color:#22c55e;margin-bottom:2px}.notification-empty b{font:800 11px Manrope;color:#14532d}.notification-empty span,.notification-loading span{font-size:8px}.notification-loading i{font-size:18px;color:#16a34a;animation:aqSpin .9s linear infinite}.notification-panel-foot{padding:9px 14px;border-top:1px solid #e5f2e9;background:#fbfefc;color:#819589;font:600 7px Inter}

/* One AQShield identity on authenticated desktop: sidebar owns the main brand. */
@media(min-width:1001px){.auth-topbar .top-actions{width:100%;justify-content:flex-end}.sidebar{position:sticky!important;top:74px!important;height:calc(100dvh - 74px)!important;min-height:calc(100dvh - 74px)!important;align-self:start}.app-shell{align-items:start}}
@media(max-width:1000px){.mobile-top-brand{display:flex}.auth-topbar .top-actions{margin-left:auto}.notification-panel{right:-8px}}

/* Compact, balanced Chat Management modal */
.chat-management-card{width:min(520px,calc(100vw - 36px))!important;border-radius:22px!important;overflow:hidden}.chat-management-card .manage-dialog-head{padding:18px 20px 14px!important;background:linear-gradient(135deg,#f0fdf4,#fff)}.chat-management-card .manage-dialog-head .eyebrow{display:flex;align-items:center;gap:5px}.chat-management-card .manage-dialog-head h3{font-size:19px!important;margin:4px 0!important}.chat-management-card .manage-dialog-head p{font-size:9px!important;line-height:1.45;max-width:430px}.chat-management-card .manage-option-grid{padding:12px 18px!important;gap:8px!important}.chat-management-card .manage-option{grid-template-columns:40px minmax(0,1fr) 15px;padding:10px 11px!important;min-height:61px;border-radius:14px!important}.chat-management-card .manage-option-icon{width:40px;height:40px;border-radius:12px;font-size:15px}.chat-management-card .manage-option-copy{gap:2px}.chat-management-card .manage-option-copy b{font-size:11px}.chat-management-card .manage-option-copy small{font-size:8px;line-height:1.35}.chat-management-card .manage-arrow{font-size:11px}.chat-management-card .manage-note{margin:0 18px 17px!important;padding:9px 11px!important}.chat-management-card .manage-note b{font-size:8px}.chat-management-card .manage-note small{font-size:7.5px;line-height:1.35}
.premium-dialog[open] .chat-management-card{animation:aqDialogIn .24s cubic-bezier(.2,.8,.2,1) both}.premium-dialog[open] .chat-management-card .manage-option{animation:aqOptionIn .28s ease both}.premium-dialog[open] .chat-management-card .manage-option:nth-child(2){animation-delay:.045s}.premium-dialog[open] .chat-management-card .manage-note{animation:aqFadeUp .3s ease .08s both}
.manage-option{transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease!important}.manage-option:hover{transform:translateY(-2px)!important;box-shadow:0 12px 25px rgba(22,101,52,.10)!important}.manage-option:hover .manage-option-icon{transform:scale(1.06) rotate(-2deg)}.manage-option-icon{transition:transform .22s ease,box-shadow .22s ease}
@keyframes aqDialogIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes aqOptionIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes aqFadeUp{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes aqSpin{to{transform:rotate(360deg)}}
@keyframes aqPulse{0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.22)}50%{box-shadow:0 0 0 6px rgba(34,197,94,0)}}
.notification-btn .badge-dot{animation:aqPulse 1.8s ease-in-out infinite}
.side-item{transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important}.side-item:hover{transform:translateX(2px)}.side-item i{transition:transform .2s ease}.side-item:hover i{transform:scale(1.08)}
@media(max-width:560px){.mobile-top-brand{font-size:14px}.notification-panel{width:calc(100vw - 20px);right:-5px}.notification-list{max-height:300px}.chat-management-card{width:calc(100vw - 24px)!important;border-radius:18px!important}.chat-management-card .manage-dialog-head{padding:15px 15px 11px!important}.chat-management-card .manage-dialog-head h3{font-size:16px!important}.chat-management-card .manage-option-grid{padding:9px 12px!important}.chat-management-card .manage-option{grid-template-columns:36px minmax(0,1fr) 13px;min-height:56px;padding:9px!important}.chat-management-card .manage-option-icon{width:36px;height:36px}.chat-management-card .manage-note{margin:0 12px 12px!important}}


/* AQShield v30 — WhatsApp-inspired navigation refresh */
.auth-nav-brand{display:flex!important;align-items:center;gap:10px;text-decoration:none!important;color:#14532d!important;font:800 17px Manrope;letter-spacing:-.25px;flex:0 0 auto}
.auth-nav-brand .brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#16a34a,#22c55e);color:#fff;box-shadow:0 7px 18px rgba(22,163,74,.20);transition:transform .2s ease,box-shadow .2s ease}
.auth-nav-brand:hover .brand-mark{transform:translateY(-1px) scale(1.03);box-shadow:0 10px 24px rgba(22,163,74,.25)}
.auth-topbar{height:74px!important;padding:0 28px!important}
.auth-topbar .top-actions{gap:9px!important}
.auth-topbar .icon-btn{width:39px;height:39px;border-radius:12px}
@media(min-width:1001px){
  .app-shell{grid-template-columns:286px minmax(0,1fr)!important;min-height:calc(100dvh - 74px)!important}
  .sidebar{width:286px!important;min-height:calc(100dvh - 74px)!important;height:calc(100dvh - 74px)!important;top:74px!important;position:sticky!important;overflow-y:auto!important;padding:22px 17px!important}
  .side-label{font-size:8px!important;letter-spacing:1.5px!important;padding:12px 12px 8px!important;color:#bbf7d0!important}
  .side-item{min-height:46px!important;padding:11px 13px!important;border-radius:13px!important;gap:12px!important;font-size:12px!important;font-weight:700!important;margin-bottom:5px!important}
  .side-item i{width:20px!important;font-size:16px!important;text-align:center}
  .side-item.active{box-shadow:inset 3px 0 0 #86efac,0 8px 22px rgba(0,0,0,.08)!important}
  .account-label{margin-top:9px}
  .logout{margin-top:7px!important;width:100%;border:0;cursor:pointer;text-align:left;background:transparent}
  .content{padding:28px 32px!important}
}
@media(max-width:1000px){
  .auth-topbar{height:64px!important;padding:0 16px!important}
  .auth-nav-brand{font-size:15px}
  .auth-nav-brand .brand-mark{width:34px;height:34px;border-radius:10px}
  .mobile-top-brand{display:none!important}
}
.side-item,.icon-btn,.avatar-link,.notification-item{transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important}
@media(prefers-reduced-motion:reduce){.side-item,.icon-btn,.avatar-link,.notification-item,.auth-nav-brand .brand-mark{transition:none!important;animation:none!important}}

/* AQShield v31 — fixed desktop navigation + independently scrollable sidebar + full responsive shell */
@media (min-width:1001px){
  html,body{min-height:100%;overflow-x:hidden}
  body{overflow-y:auto}
  .auth-topbar{position:sticky!important;top:0!important;z-index:120!important}
  .app-shell{grid-template-columns:286px minmax(0,1fr)!important;min-height:calc(100dvh - 74px)!important;align-items:stretch!important}
  .sidebar{
    position:fixed!important;left:0!important;top:74px!important;bottom:0!important;width:286px!important;height:auto!important;min-height:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;z-index:110!important;
    display:flex!important;flex-direction:column!important;
    padding:22px 17px 18px!important;
    scrollbar-width:thin;scrollbar-color:rgba(134,239,172,.35) transparent;
  }
  .sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:rgba(134,239,172,.28);border-radius:99px}
  .sidebar .logout{margin-top:auto!important;flex:0 0 auto}
  .sidebar .account-label{margin-top:18px!important}
  .app-shell>.content,.app-shell>.chat-content{min-width:0;width:100%;grid-column:2}
  .content{min-height:calc(100dvh - 74px);padding:30px 34px 44px!important}
  /* Normal pages scroll independently while the left navigation never moves. */
  .chat-app-shell{height:calc(100dvh - 74px)!important;min-height:calc(100dvh - 74px)!important;overflow:hidden!important}
  .chat-content{height:100%!important;min-height:0!important;overflow:hidden!important}
  .chat-shell{height:100%!important;min-height:0!important}
}

/* Desktop sidebar feels like a stable WhatsApp-style app rail. */
@media (min-width:1001px){
  .sidebar:after{content:"";display:block;flex:0 0 4px}
  .side-item{flex:0 0 auto}
  .side-item span{margin-left:0!important;background:transparent!important;padding:0!important;font-size:12px!important;color:inherit!important}
  .side-item i{flex:0 0 22px}
  .side-item:hover{transform:translateX(2px)}
}

/* Tablet: sidebar becomes a normal top/bottom app navigation without horizontal overflow. */
@media (min-width:701px) and (max-width:1000px){
  .topbar{position:sticky!important;top:0!important;z-index:120!important}
  .app-shell{display:block!important;min-height:calc(100dvh - 64px)!important}
  .sidebar{display:none!important}
  .content{width:100%;max-width:none;padding:22px 22px 86px!important}
  .chat-app-shell{height:calc(100dvh - 64px)!important;min-height:calc(100dvh - 64px)!important;overflow:hidden!important}
  .chat-content{height:100%!important;min-height:0!important}
  .chat-shell{height:100%!important;min-height:0!important}
}

/* Mobile: every area stays inside the viewport; only the active content scrolls. */
@media (max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{padding-bottom:0}
  .auth-topbar{height:60px!important;min-height:60px!important;position:sticky!important;top:0!important;z-index:150!important;padding:0 10px!important}
  .auth-nav-brand{font-size:15px!important;gap:8px!important}
  .auth-nav-brand .brand-mark{width:34px!important;height:34px!important;border-radius:10px!important}
  .top-actions{gap:5px!important}
  .top-actions .icon-btn{width:34px!important;height:34px!important;border-radius:10px!important}
  .top-actions .avatar{width:34px!important;height:34px!important;border-radius:10px!important}
  .app-shell{display:block!important;width:100%!important;min-height:calc(100dvh - 60px)!important;height:auto!important}
  .sidebar{display:none!important}
  .app-shell>.content,.app-shell>.chat-content{width:100%!important;max-width:none!important;min-width:0!important}
  .content{padding:14px 10px 78px!important;min-height:calc(100dvh - 60px)!important}
  .mobile-nav{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:60px!important;
    display:flex!important;align-items:stretch!important;justify-content:space-around!important;
    padding:5px 4px calc(4px + env(safe-area-inset-bottom))!important;
    background:rgba(20,83,45,.97)!important;backdrop-filter:blur(18px);z-index:200!important;
    border-top:1px solid rgba(255,255,255,.12)!important;box-shadow:0 -8px 30px rgba(15,23,42,.14)!important;
  }
  .mobile-nav a{flex:1;min-width:0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;color:#bbf7d0!important;font-size:8px!important;line-height:1.1}
  .mobile-nav a i{font-size:16px!important;margin-bottom:3px!important}
  .mobile-nav a:first-child,.mobile-nav a:hover{color:#fff!important}
  .chat-app-shell{height:calc(100dvh - 60px)!important;min-height:calc(100dvh - 60px)!important;overflow:hidden!important;padding-bottom:0!important}
  .chat-content,.chat-shell{height:100%!important;min-height:0!important;width:100%!important}
  .chat-shell{grid-template-columns:1fr!important}
  .chat-list{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px!important;-webkit-overflow-scrolling:touch}
  .chat-shell.has-conversation .chat-list{display:none!important}
  .chat-shell.has-conversation .chat-main{display:flex!important}
  .chat-shell.no-conversation .chat-list{display:block!important}
  .chat-shell.no-conversation .chat-main{display:none!important}
  .chat-main{height:100%!important;min-height:0!important;overflow:hidden!important}
  .chat-head{flex:0 0 54px!important;min-height:54px!important;padding:0 8px!important;gap:7px!important}
  .chat-head-copy{min-width:0;max-width:42vw}
  .chat-head-copy b{font-size:10px!important}
  .chat-head-copy small{font-size:7px!important}
  .chat-tools{gap:3px!important;flex-wrap:nowrap!important}
  .chat-tools .icon-btn{width:30px!important;height:30px!important;border-radius:9px!important}
  .chat-back{width:28px!important;height:28px!important;display:grid!important;place-items:center}
  .chat-security-note{flex:0 0 28px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
  .messages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 6px 8px!important;-webkit-overflow-scrolling:touch}
  .bubble{max-width:82%!important;font-size:10px!important;padding:8px 9px!important;border-radius:13px!important}
  .bubble small{font-size:7px!important}
  .composer{flex:0 0 auto!important;margin:4px 4px 5px!important;padding:5px!important;border-radius:14px!important;gap:4px!important}
  .composer .icon-btn,.send-btn{width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important}
  .composer input{font-size:9px!important;min-width:0!important}
  .media-bubble img,.media-bubble video{max-width:72vw!important;max-height:230px!important}
  .media-bubble audio{width:60vw!important}
  .emoji-picker{max-width:calc(100vw - 24px)!important;right:28px!important;bottom:48px!important}
  .notification-panel{max-width:calc(100vw - 16px)!important}
}

@media (max-width:380px){
  .auth-nav-brand span:last-child{display:none!important}
  .auth-topbar{padding:0 7px!important}
  .top-actions .icon-btn{width:32px!important;height:32px!important}
  .chat-head-copy{max-width:35vw}
  .chat-tools .icon-btn{width:27px!important;height:27px!important}
  .chat-tools .danger-icon{display:none!important}
  .bubble{max-width:85%!important}
  .mobile-nav a{font-size:7px!important}.mobile-nav a i{font-size:15px!important}
}

@media(prefers-reduced-motion:reduce){
  .sidebar,.side-item,.mobile-nav a,.chat-person,.icon-btn{scroll-behavior:auto!important;transition:none!important}
}


/* AQShield v32 — fixed navbar + independent page/sidebar scrolling */
@media (min-width:1001px){
  html,body{min-height:100%;overflow-x:hidden}
  body{overflow-y:auto}
  .auth-topbar{position:fixed!important;left:0!important;right:0!important;top:0!important;width:100%!important;height:74px!important;z-index:5000!important;overflow:visible!important}
  .app-shell{margin-top:74px!important;min-height:calc(100dvh - 74px)!important;grid-template-columns:286px minmax(0,1fr)!important;align-items:stretch!important}
  .sidebar{position:fixed!important;left:0!important;top:74px!important;bottom:0!important;width:286px!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:4000!important}
  .app-shell>.content,.app-shell>.chat-content{grid-column:2!important;min-width:0!important}
  .content{min-height:calc(100dvh - 74px)!important}
  .chat-app-shell{height:calc(100dvh - 74px)!important;min-height:calc(100dvh - 74px)!important;overflow:hidden!important}
  .chat-content{height:100%!important;min-height:0!important;overflow:hidden!important}
  .notification-wrap{position:relative!important;z-index:6000!important}
  .notification-panel{z-index:7000!important}
}

/* Tablet/mobile: navbar stays fixed; page content scrolls underneath it. */
@media (max-width:1000px){
  .auth-topbar{position:fixed!important;left:0!important;right:0!important;top:0!important;width:100%!important;z-index:5000!important;overflow:visible!important}
  .app-shell{margin-top:60px!important;min-height:calc(100dvh - 60px)!important}
  .content{min-height:calc(100dvh - 60px)!important}
  .notification-wrap{position:relative!important;z-index:6000!important}
  .notification-panel{z-index:7000!important}
}
@media (min-width:701px) and (max-width:1000px){
  .auth-topbar{height:64px!important}
  .app-shell{margin-top:64px!important;min-height:calc(100dvh - 64px)!important}
  .content{min-height:calc(100dvh - 64px)!important}
  .chat-app-shell{height:calc(100dvh - 64px)!important;min-height:calc(100dvh - 64px)!important}
}
@media (max-width:700px){
  .auth-topbar{height:60px!important;min-height:60px!important}
  .app-shell{margin-top:60px!important}
  .notification-panel{position:fixed!important;top:68px!important;right:8px!important;left:auto!important;width:min(370px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important}
  .notification-panel:before{right:18px!important}
}


/* AQShield v33 — compact typography, slimmer fixed sidebar, notification-to-chat */
body{font-size:11px!important}
@media (min-width:1001px){
  .app-shell{grid-template-columns:248px minmax(0,1fr)!important}
  .sidebar{width:248px!important;padding:12px 9px!important}
  .side-item{padding:8px 9px!important;font-size:10px!important;gap:8px!important;border-radius:10px!important}
  .side-item i{font-size:13px!important}
  .side-label{padding:6px 9px!important;font-size:8px!important}
  .side-brand{margin:0 4px 9px!important}
  .account-label{margin-top:8px!important}
  .content{font-size:11px!important}
  .page-heading h2,.welcome h2{font-size:21px!important}
  .panel h3{font-size:14px!important}
  .notification-panel{width:min(390px,calc(100vw - 24px))!important}
}
.notification-item{cursor:pointer!important;text-align:left!important;width:100%!important;border:0!important;background:transparent!important}
.notification-item:hover{background:#f4faf6!important;transform:translateY(-1px)}
.notification-item:focus-visible{outline:2px solid rgba(22,101,52,.28);outline-offset:-2px}
.notification-item-copy b{font-size:10px!important}
.notification-item-copy small{font-size:8.5px!important}
.notification-item-copy time{font-size:7px!important}
@media(max-width:1000px){
 body{font-size:10px!important}
 .app-shell{grid-template-columns:1fr!important}
 .sidebar{position:fixed!important;left:-100%!important;top:60px!important;bottom:0!important;width:min(270px,86vw)!important;z-index:4500!important;transition:left .22s ease!important}
 .mobile-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:5200!important}
 .content{padding-bottom:78px!important}
 .notification-panel{font-size:10px!important}
 .notification-item-copy b{font-size:9.5px!important}
 .notification-item-copy small{font-size:8px!important}
}
@media(max-width:560px){
 .auth-nav-brand{gap:7px!important}.auth-nav-brand .brand-mark{width:29px!important;height:29px!important}.auth-nav-brand span:last-child{font-size:13px!important}
 .top-actions{gap:5px!important}.top-actions .icon-btn{width:30px!important;height:30px!important}
 .content{padding-left:9px!important;padding-right:9px!important}
 .notification-panel{top:64px!important;right:6px!important;width:calc(100vw - 12px)!important}
 .notification-panel-head{padding:10px!important}.notification-list{max-height:min(62vh,430px)!important}
 .notification-item{padding:9px 10px!important}
}

/* AQShield v34 — slimmer width only, full-height sidebar + animated notification center */
@media (min-width:1001px){
  .app-shell{grid-template-columns:228px minmax(0,1fr)!important}
  .sidebar{width:228px!important;top:74px!important;bottom:0!important;height:auto!important;min-height:0!important;padding:12px 8px!important}
  .app-shell>.content,.app-shell>.chat-content{grid-column:2!important}
  .side-item{padding:8px 8px!important;font-size:10px!important;gap:8px!important}
  .side-item i{font-size:13px!important}
  .side-label{font-size:8px!important;padding:6px 8px!important}
}

.notification-panel{transform-origin:top right;opacity:0;transform:translateY(-8px) scale(.97);visibility:hidden;transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility .18s ease!important;box-shadow:0 22px 55px rgba(10,55,30,.18)!important;border:1px solid rgba(22,101,52,.12)!important}
.notification-panel.show{opacity:1!important;transform:translateY(0) scale(1)!important;visibility:visible!important}
.notification-item{position:relative;display:flex!important;align-items:center!important;gap:10px!important;padding:11px 12px!important;border-bottom:1px solid rgba(15,23,42,.055)!important;transition:background .18s ease,transform .18s ease,box-shadow .18s ease!important;animation:aqNotificationIn .28s ease both}
.notification-item:nth-child(2){animation-delay:.025s}.notification-item:nth-child(3){animation-delay:.05s}.notification-item:nth-child(4){animation-delay:.075s}.notification-item:nth-child(5){animation-delay:.1s}
.notification-item:hover{background:linear-gradient(90deg,#f2fbf5,#fff)!important;transform:translateX(3px)!important;box-shadow:inset 3px 0 0 #16a34a!important}
.notification-item.unread{background:linear-gradient(90deg,rgba(22,163,74,.07),rgba(255,255,255,.96))!important}
.notification-item-icon{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#e9f8ee!important;color:#15803d!important;transition:transform .2s ease,background .2s ease!important}
.notification-item:hover .notification-item-icon{transform:scale(1.08) rotate(-4deg)!important;background:#dcfce7!important}
.notification-unread-dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#16a34a!important;box-shadow:0 0 0 4px rgba(22,163,74,.1)!important;animation:aqNotifyPulse 1.8s infinite!important}
.notification-item-copy{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:2px!important}
.notification-item-copy b,.notification-item-copy small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@keyframes aqNotificationIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@keyframes aqNotifyPulse{0%,100%{box-shadow:0 0 0 3px rgba(22,163,74,.08)}50%{box-shadow:0 0 0 7px rgba(22,163,74,.02)}}
.notification-panel-head{animation:aqNotificationHead .3s ease both}
@keyframes aqNotificationHead{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.notification-btn:has(+ .notification-panel.show){animation:aqBellPop .28s ease}
@keyframes aqBellPop{50%{transform:scale(1.08) rotate(-5deg)}100%{transform:none}}
@media(max-width:700px){
 .notification-panel{transform-origin:top center!important}
 .notification-item{padding:10px!important}
}
\n/* AQShield v35 final polish: full-height navigation + notification clear + app-wide motion */
@keyframes aqPageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes aqRise{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes aqNavGlow{0%,100%{box-shadow:inset 3px 0 0 rgba(255,255,255,.12)}50%{box-shadow:inset 3px 0 0 #86efac,0 0 0 3px rgba(134,239,172,.04)}}
@keyframes aqBellRing{0%,100%{transform:rotate(0)}20%{transform:rotate(12deg)}40%{transform:rotate(-10deg)}60%{transform:rotate(7deg)}80%{transform:rotate(-4deg)}}
@keyframes aqShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
@keyframes aqPulseSoft{0%,100%{transform:scale(1);opacity:.75}50%{transform:scale(1.08);opacity:1}}

@media(min-width:1001px){
 html,body{min-height:100%;overflow-x:hidden}
 .topbar{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:9000}
 .app-shell{display:block!important;min-height:100dvh!important;padding-top:74px}
 .sidebar{position:fixed!important;left:0;top:74px;bottom:0;width:228px!important;height:calc(100dvh - 74px)!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:8000;padding:18px 10px!important}
 .app-shell>.content,.app-shell>.chat-content{margin-left:228px!important;width:calc(100% - 228px)!important;max-width:none!important;min-width:0}
 .content{animation:aqPageIn .42s ease both}
 .side-item{transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease!important}
 .side-item:hover{transform:translateX(3px)}
 .side-item.active{animation:aqNavGlow 2.8s ease-in-out infinite}
}

/* Make every main surface enter smoothly without changing layout. */
.panel,.stat-card,.quick-card,.profile-hero,.status-strip,.chat-person,.chat-main,.chat-list,.settings-card,.security-box{animation:aqRise .4s ease both}
.chat-person:nth-child(2){animation-delay:.03s}.chat-person:nth-child(3){animation-delay:.06s}.chat-person:nth-child(4){animation-delay:.09s}.chat-person:nth-child(5){animation-delay:.12s}
.notification-btn i{display:inline-block;transform-origin:50% 10%}
.notification-btn:hover i{animation:aqBellRing .55s ease}
.notification-item{animation:aqRise .28s ease both;transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important}
.notification-item:hover{transform:translateX(3px);box-shadow:0 7px 18px rgba(20,83,45,.08)}
.notification-unread-dot{animation:aqPulseSoft 1.5s ease-in-out infinite}
.notification-mark.is-busy{background:linear-gradient(90deg,#eefaf2,#fff,#eefaf2);background-size:200% 100%;animation:aqShimmer 1s linear infinite;pointer-events:none}
.notification-cleared{animation:aqRise .35s ease both}
.notification-cleared i{animation:aqPulseSoft .8s ease both}

/* Keep sidebar full-height even when the page itself is very tall. */
@media(min-width:1001px){.sidebar{scrollbar-width:thin;scrollbar-color:rgba(187,247,208,.35) transparent}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:rgba(187,247,208,.28);border-radius:99px}}

@media(max-width:1000px){
 .topbar{position:fixed!important;top:0;left:0;right:0;z-index:9000;height:60px}
 .app-shell{padding-top:60px!important}
 .content{animation:aqPageIn .35s ease both}
 .notification-item{animation-duration:.22s}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v36 — compact desktop shell + collapsible sidebar + mobile responsive */
@media (min-width:1001px){
  .app-shell{display:block!important;min-height:100dvh!important;padding-top:0!important;}
  .sidebar{transition:width .28s ease,transform .28s ease,padding .28s ease!important;}
  .app-shell>.content,.app-shell>.chat-content{transition:margin-left .28s ease,width .28s ease!important;}
  body.aq-sidebar-collapsed .sidebar{width:76px!important;padding-left:8px!important;padding-right:8px!important;}
  body.aq-sidebar-collapsed .app-shell>.content,body.aq-sidebar-collapsed .app-shell>.chat-content{margin-left:76px!important;width:calc(100% - 76px)!important;}
  body.aq-sidebar-collapsed .sidebar .side-label,body.aq-sidebar-collapsed .sidebar .side-text,body.aq-sidebar-collapsed .sidebar .user-meta,body.aq-sidebar-collapsed .sidebar .brand-text{display:none!important;}
  body.aq-sidebar-collapsed .sidebar .side-item{justify-content:center!important;padding-left:0!important;padding-right:0!important;}
  body.aq-sidebar-collapsed .sidebar .side-item i{margin:0!important;}
}
.aq-sidebar-toggle{cursor:pointer;}
@media(max-width:1000px){
  .app-shell{padding-top:60px!important;min-height:100dvh!important;}
  .sidebar{max-width:86vw;}
  .aq-sidebar-toggle{display:flex!important;}
  .content,.chat-content{width:100%!important;max-width:100%!important;min-width:0!important;}
  .chat-app-shell,.chat-shell,.chat-main{max-width:100%!important;min-width:0!important;}
  img,video{max-width:100%;}
}

/* v37 — Unified AQShield green authentication experience */
.auth-page{background:linear-gradient(135deg,#f0fdf4 0%,#f8fafc 48%,#ecfdf5 100%)!important}
.auth-visual{background:linear-gradient(145deg,#052e16 0%,#14532d 48%,#166534 100%)!important;color:#fff!important}
.auth-visual:after{background:radial-gradient(circle,rgba(74,222,128,.22),transparent 65%)!important}
.visual-grid{opacity:.18!important;background-image:linear-gradient(rgba(187,247,208,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(187,247,208,.16) 1px,transparent 1px)!important}
.visual-orb{background:rgba(74,222,128,.22)!important;box-shadow:0 0 90px rgba(34,197,94,.18)!important}
.visual-badge{background:rgba(187,247,208,.10)!important;border-color:rgba(187,247,208,.25)!important;color:#dcfce7!important}
.visual-content h1 em{color:#86efac!important}
.visual-status{color:#dcfce7!important}
.live-dot{background:#4ade80!important;box-shadow:0 0 0 5px rgba(74,222,128,.12)!important}
.auth-step{background:rgba(255,255,255,.06)!important;border-color:rgba(187,247,208,.13)!important}
.auth-step.active{background:rgba(134,239,172,.12)!important;border-color:rgba(134,239,172,.38)!important;box-shadow:inset 3px 0 #4ade80!important}
.auth-step.done{border-color:rgba(134,239,172,.24)!important}
.auth-step b{color:#bbf7d0!important}
.auth-step i{color:#86efac!important}
.auth-panel{background:rgba(255,255,255,.96)!important;border-left:1px solid #dcfce7!important}
.auth-panel-inner{filter:drop-shadow(0 14px 35px rgba(20,83,45,.035))}
.mobile-brand{color:#14532d!important;font-weight:900!important}
.mobile-brand .brand-mark{background:linear-gradient(145deg,#15803d,#22c55e)!important;box-shadow:0 10px 24px rgba(22,163,74,.22)!important;color:#fff!important}
.auth-head .eyebrow,.auth-head .stepper .done{color:#15803d!important}
.auth-head h2{color:#14532d!important}
.auth-head>p{color:#64748b!important}
.auth-head strong{color:#166534!important}
.premium-form label,.auth-form label{color:#365314!important}
.input-shell{background:#f7fdf8!important;border-color:#d1fae5!important;box-shadow:0 3px 12px rgba(22,101,52,.035)!important}
.input-shell:focus-within{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.12),0 8px 22px rgba(22,101,52,.07)!important}
.input-shell>i{color:#16a34a!important}
.input-shell input,.auth-form input,.auth-form select{color:#17351f!important}
.auth-form input::placeholder{color:#94a3a0!important}
.auth-form select{background:#f7fdf8!important;border-color:#d1fae5!important}
.auth-form select:focus,.auth-form input:focus{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.11)!important;outline:0}
.input-action{color:#15803d!important}
.primary-btn,.premium-btn,.premium-submit{background:linear-gradient(135deg,#15803d,#16a34a 55%,#22c55e)!important;box-shadow:0 12px 26px rgba(22,163,74,.22)!important}
.primary-btn:hover,.premium-btn:hover,.premium-submit:hover{box-shadow:0 16px 32px rgba(22,163,74,.28)!important}
.secondary-btn{background:#fff!important;color:#166534!important;border-color:#bbf7d0!important}
.secondary-btn:hover{border-color:#86efac!important;background:#f0fdf4!important;color:#14532d!important}
.auth-divider{color:#94a3a8!important}
.auth-divider:before,.auth-divider:after{background:#dcfce7!important}
.security-line,.secure-note{background:#f0fdf4!important;border-color:#bbf7d0!important;color:#3f6212!important}
.security-line i,.secure-note i{color:#16a34a!important}
.field-note{background:#f0fdf4!important;border-color:#bbf7d0!important;color:#4b6350!important}
.field-note i{color:#16a34a!important}
.inline-success{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#166534!important}
.inline-success i{color:#16a34a!important}
.otp-shell{background:#f7fdf8!important;border-color:#bbf7d0!important;box-shadow:0 5px 18px rgba(22,101,52,.05)!important}
.otp-shell:focus-within{border-color:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.11)!important}
.otp-shell input{color:#166534!important;background:transparent!important}
.resend-row button{color:#15803d!important}
.resend-row button:hover{color:#14532d!important}
.photo-drop{background:linear-gradient(145deg,#f0fdf4,#fff)!important;border-color:#86efac!important}
.photo-drop:hover,.photo-drop.dragging{border-color:#16a34a!important;background:#ecfdf3!important;box-shadow:0 15px 35px rgba(22,163,74,.11)!important}
.preview-ring{background:linear-gradient(145deg,#15803d,#4ade80)!important;box-shadow:0 10px 26px rgba(22,163,74,.2)!important}
.upload-title{color:#14532d!important}.upload-meta{color:#71806f!important}.upload-action{color:#15803d!important}
.photo-selected{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#166534!important}
.photo-selected>i{color:#16a34a!important}
.skip-link{color:#15803d!important}.skip-link:hover{color:#14532d!important}
.premium-stepper span{border-color:#bbf7d0!important;color:#64748b!important;background:#fff!important}.premium-stepper span.done{background:#15803d!important;border-color:#15803d!important;color:#fff!important}.premium-stepper i{background:#bbf7d0!important}
@media(max-width:1000px){
 .auth-page{background:linear-gradient(180deg,#f0fdf4 0%,#f8fafc 52%,#ecfdf5 100%)!important}
 .auth-panel{background:rgba(255,255,255,.97)!important;border-left:0!important}
 .auth-panel-inner{background:transparent!important}
}
@media(max-width:560px){
 .auth-panel{padding:16px 12px 82px!important}
 .mobile-brand .brand-mark{width:34px;height:34px;border-radius:11px}
 .auth-head h2{font-size:22px!important}
 .input-shell{border-radius:10px!important}
 .primary-btn,.secondary-btn{min-height:40px}
 .security-line,.secure-note{border-radius:11px!important}
 .photo-drop{border-radius:14px!important}
}

/* v38 — keep public/auth pages clear of the fixed 74px topbar */
.auth-page{
  padding-top:74px!important;
  box-sizing:border-box;
}
@media(max-width:1000px){
  .auth-page{padding-top:60px!important}
}

/* v39 — contact-only status visibility + custom audience UI */
.status-heading{align-items:flex-start}.status-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.status-audience-label{display:block;font-size:10px!important;color:#15803d;margin-top:3px}.status-empty{text-align:center;padding:50px 24px}.status-empty>i{font-size:38px;color:#16a34a}.status-empty h3{margin:12px 0 6px}.status-dialog::backdrop{background:rgba(2,44,20,.35);backdrop-filter:blur(6px)}.status-dialog{border:0;padding:0;background:transparent;width:min(620px,calc(100vw - 28px));max-height:90dvh}.status-dialog-card{margin:0;border:1px solid #dcfce7;border-radius:22px;box-shadow:0 30px 90px rgba(20,83,45,.18);overflow:hidden}.status-dialog-card .panel-head{padding:20px 22px;border-bottom:1px solid #ecfdf5}.status-dialog-card .panel-head h3{margin:3px 0}.status-dialog-card .panel-head p{margin:5px 0 0}.status-audience-summary{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4}.status-audience-summary>i{font-size:21px;color:#15803d}.status-audience-summary>div{display:grid;gap:2px;flex:1}.status-audience-summary b{color:#14532d}.status-audience-summary span{font-size:12px;color:#64748b}.audience-options{padding:18px 22px 8px;display:grid;gap:9px}.audience-option{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #dcfce7;border-radius:14px;background:#fff;cursor:pointer;transition:.2s ease}.audience-option:hover{border-color:#86efac;background:#f0fdf4;transform:translateY(-1px)}.audience-option input{accent-color:#16a34a;width:17px;height:17px}.audience-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#ecfdf3;color:#15803d}.audience-option span:nth-child(3){display:grid;gap:2px}.audience-option small{color:#718096}.audience-list{margin:8px 22px 18px;border:1px solid #e2f3e7;border-radius:16px;max-height:300px;overflow:auto;padding:6px;background:#fbfffc}.contact-check{display:flex;align-items:center;gap:11px;padding:10px;border-radius:12px;cursor:pointer;transition:.18s ease}.contact-check:hover{background:#f0fdf4}.contact-check input{accent-color:#16a34a;width:17px;height:17px}.contact-check .avatar{width:38px;height:38px;flex:0 0 38px}.contact-check .avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.contact-check-copy{display:grid;gap:2px;flex:1}.contact-check-copy small{font-size:11px;color:#94a3b8}.contact-check>i{color:#16a34a;opacity:0;transform:scale(.7);transition:.18s ease}.contact-check:has(input:checked){background:#ecfdf3}.contact-check:has(input:checked)>i{opacity:1;transform:scale(1)}.audience-list:not(.enabled) .contact-check{opacity:.55}.audience-list:not(.enabled){background:#f8fafc}.audience-empty{padding:28px 18px;text-align:center;display:grid;gap:6px;color:#64748b}.audience-empty i{font-size:30px;color:#16a34a}.audience-empty b{color:#14532d}.audience-actions{display:flex;justify-content:flex-end;gap:9px;padding:0 22px 20px}@media(max-width:700px){.status-heading{gap:14px}.status-head-actions{width:100%}.status-head-actions button{flex:1}.status-dialog{width:calc(100vw - 18px)}.status-dialog-card .panel-head{padding:16px}.audience-options{padding:14px 16px 7px}.audience-list{margin:8px 16px 15px}.audience-actions{padding:0 16px 16px}.status-audience-summary{align-items:flex-start}.status-audience-summary .secondary-btn{padding:8px 10px}}@media(max-width:460px){.status-head-actions{display:grid;grid-template-columns:1fr 1fr}.status-head-actions button{width:100%;font-size:12px}.status-audience-summary{flex-wrap:wrap}.status-audience-summary>div{min-width:calc(100% - 42px)}.status-audience-summary .secondary-btn{margin-left:42px}}
