*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f7f8fa}body{min-height:100vh}button,input{font:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:1.12fr .88fr}.visual{position:relative;overflow:hidden;padding:42px 7vw;background:#0b1220;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.visual:before{width:620px;height:620px;right:-280px;top:-180px;background:radial-gradient(circle,#25456e 0,rgba(37,69,110,.2) 38%,transparent 68%)}.visual:after,.visual:before{content:"";position:absolute;border-radius:50%}.visual:after{width:460px;height:460px;left:-250px;bottom:-230px;background:radial-gradient(circle,#12365b 0,transparent 68%)}.brand,.mobile-brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:750;letter-spacing:-.5px;position:relative;z-index:2}.logo{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#4f9cff,#2267d8);color:white;font-weight:900;box-shadow:0 8px 30px rgba(48,128,255,.25)}.visual-copy{position:relative;z-index:2;max-width:590px;margin:auto 0}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#5e9eff;margin:0 0 16px}.visual h1{font-size:clamp(42px,5vw,74px);line-height:.98;letter-spacing:-3.5px;margin:0 0 28px}.visual h1 em{font-style:normal;color:#64a5ff}.visual-copy>p:not(.eyebrow){font-size:17px;line-height:1.7;color:#aab7c9;max-width:520px}.stats{display:flex;gap:55px;position:relative;z-index:2}.stats div{display:flex;flex-direction:column;gap:5px}.stats strong{font-size:18px}.stats span{font-size:12px;color:#7f8da1}.panel{display:grid;place-items:center;background:#fbfcfd}.form-wrap{width:min(430px,calc(100% - 56px))}.mobile-brand{display:none}.welcome{margin-bottom:34px}.welcome h2{font-size:32px;letter-spacing:-1.4px;margin:0 0 9px}.welcome p:last-child{margin:0;color:#748096;font-size:14px}form{display:flex;flex-direction:column;gap:21px}label{font-size:13px;font-weight:700;color:#2a3445}.password input,label>input{width:100%;height:52px;margin-top:9px;border:1px solid #dfe4eb;border-radius:11px;background:#fff;padding:0 15px;font-size:14px;color:#111827;outline:none;transition:.18s;box-shadow:0 1px 2px rgba(16,24,40,.02)}.password:focus-within,label>input:focus{border-color:#4f8fe8;box-shadow:0 0 0 4px rgba(79,143,232,.11)}.password{height:52px;margin-top:9px;border:1px solid #dfe4eb;border-radius:11px;background:#fff;display:flex;align-items:center;transition:.18s;overflow:hidden}.password input{height:100%;margin:0;border:0;box-shadow:none}.password button{border:0;background:none;color:#5273a2;font-size:12px;font-weight:750;padding:0 14px;cursor:pointer}.row{display:flex;justify-content:space-between;align-items:center;margin-top:-4px}.row a{font-size:12px;color:#376fc1;font-weight:700;text-decoration:none}.submit{height:53px;border:0;border-radius:11px;background:#1f67c8;color:#fff;font-weight:800;font-size:14px;cursor:pointer;box-shadow:0 10px 25px rgba(31,103,200,.2);transition:.18s}.submit:hover{background:#195aad;transform:translateY(-1px)}.submit span{float:right;margin-right:14px;font-size:20px;line-height:14px}.security{text-align:center;color:#8a95a6;font-size:11px;margin:27px 0 0}.security span{color:#35a26c;font-size:8px;margin-right:5px}.error{background:#fff1f1;border:1px solid #ffd1d1;color:#b42318;border-radius:9px;padding:11px 13px;font-size:12px;font-weight:650}.submit:disabled{opacity:.7;cursor:wait;transform:none}@media(max-width:850px){.shell{grid-template-columns:1fr}.visual{display:none}.panel{min-height:100vh;padding:35px 0}.mobile-brand{display:flex;margin-bottom:50px}.form-wrap{width:min(430px,calc(100% - 40px))}}.dashboard{background:#f6f8fb}.dashboard,.sidebar{min-height:100vh;display:flex}.sidebar{width:248px;background:#0b1220;color:#d9e2ef;padding:24px 14px;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:30}.side-brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:21px;font-weight:800;padding:0 10px 28px}.side-brand .logo{width:35px;height:35px}.close-menu{display:none;margin-left:auto;border:0;background:transparent;color:#9aa9bd;font-size:28px}.company{display:flex;align-items:center;gap:10px;padding:10px;background:#151f30;border:1px solid #243147;border-radius:11px;margin-bottom:22px}.company-dot{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;background:#2875df;color:#fff;font-weight:800}.company div{display:flex;flex-direction:column;min-width:0;flex:1 1}.company b{font-size:12px;color:#fff}.company small{font-size:10px;color:#718198;margin-top:2px}.chevron{color:#728198}nav{display:flex;flex-direction:column;gap:4px}.side-bottom button,nav button{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#92a0b4;padding:11px 12px;border-radius:9px;text-align:left;font-size:13px;font-weight:650;cursor:pointer}.side-bottom button:hover,nav button:hover{background:#141f30;color:#fff}nav button.active{background:#1e5fb5;color:#fff;box-shadow:inset 3px 0 #64a5ff}.nav-icon{width:18px;text-align:center;font-size:15px}.side-bottom{margin-top:auto;padding-top:18px;border-top:1px solid #202b3c}.main-area{width:calc(100% - 248px);margin-left:248px;min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid #e6ebf1;display:flex;align-items:center;padding:0 38px;gap:18px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.top-title{display:flex;flex-direction:column;gap:3px;flex:1 1}.top-title span{font-weight:800;font-size:15px}.top-title small{font-size:11px;color:#8a95a6}.profile{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e7f0ff;color:#2364b8;font-size:12px;font-weight:800}.profile-text{display:flex;flex-direction:column}.profile-text b{font-size:12px}.profile-text small{font-size:10px;color:#8490a1}.profile-exit{border:0;background:transparent;color:#657287;font-size:11px;cursor:pointer;margin-left:8px}.menu-btn{display:none;border:0;background:#eef3fa;border-radius:9px;width:40px;height:40px;font-size:20px;color:#17345a}.dash-content{max-width:1350px;margin:auto;padding:42px 42px 70px}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.dash-content h1{font-size:34px;letter-spacing:-1.5px;margin:0 0 8px}.dash-content>.welcome-row p:not(.eyebrow){color:#718096;margin:0}.primary-action{background:#1f67c8;color:#fff;border:0;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px rgba(31,103,200,.18)}.cards{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:15px;gap:15px;margin-top:35px}.cards div{background:#fff;border:1px solid #e8ecf1;border-radius:13px;padding:20px;display:flex;flex-direction:column;gap:8px;box-shadow:0 2px 8px rgba(16,24,40,.025)}.cards span{font-size:11px;color:#758196;font-weight:650}.cards b{font-size:25px;letter-spacing:-.5px}.cards small{font-size:10px;color:#9aa5b5}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;grid-gap:15px;gap:15px;margin-top:15px}.panel-card{background:#fff;border:1px solid #e8ecf1;border-radius:13px;min-height:280px;padding:21px}.card-head{display:flex;justify-content:space-between;gap:10px}.card-head div{display:flex;flex-direction:column;gap:4px}.card-head b{font-size:13px}.card-head span{font-size:10px;color:#8a95a6}.card-head button{border:0;background:none;color:#3474c5;font-size:10px;font-weight:700}.empty{min-height:205px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#8995a6;gap:6px}.empty div{width:42px;height:42px;border-radius:50%;background:#eef4fc;display:grid;place-items:center;color:#3678c9;font-weight:800;margin-bottom:4px}.empty b{font-size:12px;color:#4b586b}.empty span{font-size:10px;max-width:280px;line-height:1.5}.quick{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:22px}.quick button{border:1px solid #e6ebf1;background:#fafbfd;border-radius:10px;padding:16px 10px;display:flex;align-items:center;gap:10px;color:#465469;cursor:pointer;font-size:11px;font-weight:700}.quick button:hover{border-color:#b9d1ef;background:#f3f8ff}.quick strong{width:28px;height:28px;border-radius:8px;background:#e7f0ff;color:#2670c7;display:grid;place-items:center;font-size:17px}.overlay{display:none}.dash-loading{display:grid;place-items:center;min-height:100vh}@media(max-width:1050px){.sidebar{width:220px}.main-area{width:calc(100% - 220px);margin-left:220px}.cards{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.topbar{padding:0 24px}.dash-content{padding:35px 24px}}@media(max-width:700px){.sidebar{width:280px;transform:translateX(-100%);transition:transform .22s ease;box-shadow:15px 0 35px rgba(0,0,0,.18)}.sidebar.open{transform:translateX(0)}.close-menu,.overlay{display:block}.overlay{position:fixed;inset:0;background:rgba(3,9,18,.5);border:0;z-index:20}.main-area{width:100%;margin-left:0}.topbar{height:68px;padding:0 15px;gap:12px}.menu-btn{display:block}.top-title span{font-size:14px}.profile-exit,.profile-text,.top-title small{display:none}.avatar{width:35px;height:35px}.dash-content{padding:27px 15px 45px}.welcome-row{align-items:flex-start;flex-direction:column}.dash-content h1{font-size:27px;letter-spacing:-1px}.primary-action{width:100%;height:43px}.cards{grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}.cards div{padding:16px 14px}.cards b{font-size:21px}.dashboard-grid{grid-template-columns:1fr;margin-top:10px}.panel-card{padding:16px;min-height:250px}.quick button{padding:13px 9px}.side-brand{padding-bottom:24px}}@media(max-width:380px){.cards{grid-template-columns:1fr}.quick{grid-template-columns:1fr 1fr}.dash-content h1{font-size:24px}}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.page-head h1{font-size:34px;letter-spacing:-1.5px;margin:0 0 8px}.page-head p:not(.eyebrow){color:#718096;margin:0}.filter-bar{display:flex;gap:10px;margin-bottom:15px}.filter-bar input,.filter-bar select{height:44px;border:1px solid #e1e7ef;background:#fff;border-radius:9px;padding:0 13px;outline:none}.filter-bar input{flex:1 1}.table-card{min-height:320px}.side-bottom a,.sidebar nav a{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#92a0b4;padding:11px 12px;border-radius:9px;text-align:left;font-size:13px;font-weight:650;cursor:pointer;text-decoration:none}.side-bottom a.active,.side-bottom a:hover,.sidebar nav a.active,.sidebar nav a:hover{background:#141f30;color:#fff}.sidebar nav a.active{background:#1e5fb5;box-shadow:inset 3px 0 #64a5ff}.card-head a{color:#3474c5;font-size:10px}.card-head a,.quick a{font-weight:700;text-decoration:none}.quick a{border:1px solid #e6ebf1;background:#fafbfd;border-radius:10px;padding:16px 10px;display:flex;align-items:center;gap:10px;color:#465469;cursor:pointer;font-size:11px}.quick a:hover{border-color:#b9d1ef;background:#f3f8ff}.report-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:15px;gap:15px}.report-grid .panel-card,.settings-grid .panel-card{min-height:180px}.report-grid p,.settings-grid p{color:#7b8798;font-size:12px}.report-placeholder{height:100px;margin-top:20px;border-radius:10px;background:#f6f9fd;display:grid;place-items:center;color:#3976bd;font-weight:800}.secondary-action{border:1px solid #dce3ec;background:#fff;color:#2868b7;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:750;cursor:pointer}@media(max-width:700px){.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:28px}.page-head .primary-action{width:100%}.filter-bar{flex-direction:column}.report-grid,.settings-grid{grid-template-columns:1fr}}.messages-layout{display:grid;grid-template-columns:320px 1fr;background:#fff;border:1px solid #e5eaf1;border-radius:14px;overflow:hidden;min-height:620px}.conversation-list{border-right:1px solid #e8edf3;background:#fbfcfe;padding:8px}.conversation-list button{width:100%;border:0;background:transparent;border-radius:10px;padding:12px;display:grid;grid-template-columns:40px 1fr auto;grid-gap:10px;gap:10px;align-items:center;text-align:left;cursor:pointer}.conversation-list button.active,.conversation-list button:hover{background:#edf5ff}.conversation-list button>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}.conversation-list b{font-size:12px}.conversation-list small{font-size:10px;color:#7b8798;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-list em{font-style:normal;background:#2671ca;color:#fff;border-radius:12px;min-width:20px;height:20px;padding:0 6px;display:grid;place-items:center;font-size:9px}.chat-avatar{width:38px;height:38px;border-radius:10px;background:#e5effc;color:#2368bd;display:grid;place-items:center;font-weight:800}.empty-chat{padding:30px 15px;text-align:center;color:#8793a5;font-size:11px}.chat-panel{min-width:0}.chat-head,.chat-panel{display:flex;flex-direction:column}.chat-head{height:66px;border-bottom:1px solid #e8edf3;padding:14px 20px;gap:4px}.chat-head b{font-size:13px}.chat-head small{font-size:10px;color:#8a95a6}.chat-messages{flex:1 1;padding:22px;overflow:auto;gap:10px;background:#f8fafc}.bubble,.chat-messages{display:flex;flex-direction:column}.bubble{align-self:flex-start;max-width:70%;gap:5px;background:#fff;border:1px solid #e5eaf1;padding:10px 12px;border-radius:4px 13px 13px 13px}.bubble.mine{align-self:flex-end;background:#246bc6;color:#fff;border-color:#246bc6;border-radius:13px 4px 13px 13px}.bubble span{font-size:12px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.bubble small{font-size:8px;opacity:.65}.chat-compose{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;padding:14px;border-top:1px solid #e8edf3;background:#fff}.chat-compose textarea{resize:none;height:48px;border:1px solid #dfe5ed;border-radius:9px;padding:9px 11px;outline:none}.chat-compose button{border:0;border-radius:9px;background:#1f67c8;color:#fff;font-weight:750;padding:0 18px;cursor:pointer}@media(max-width:760px){.messages-layout{grid-template-columns:1fr;min-height:700px}.conversation-list{border-right:0;border-bottom:1px solid #e8edf3;max-height:210px;overflow:auto}.chat-panel{min-height:480px}.bubble{max-width:85%}}:root{color-scheme:light;--app-bg:#f6f8fb;--surface:#fff;--surface-2:#f8fafc;--border:#e5eaf1;--text:#111827;--muted:#718096;--input:#fff;--hover:#edf5ff}html[data-theme=dark]{color-scheme:dark;--app-bg:#0d1420;--surface:#121c2a;--surface-2:#0f1825;--border:#253348;--text:#edf3fb;--muted:#93a3b8;--input:#162233;--hover:#192a40}html[data-theme=dark] .dashboard,html[data-theme=dark] body{background:var(--app-bg);color:var(--text)}html[data-theme=dark] .cards div,html[data-theme=dark] .chat-compose,html[data-theme=dark] .chat-head,html[data-theme=dark] .chat-panel,html[data-theme=dark] .messages-layout,html[data-theme=dark] .panel-card,html[data-theme=dark] .topbar{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .chat-messages,html[data-theme=dark] .conversation-list,html[data-theme=dark] .quick a,html[data-theme=dark] .report-placeholder{background:var(--surface-2);border-color:var(--border)}html[data-theme=dark] .cards b,html[data-theme=dark] .chat-head b,html[data-theme=dark] .conversation-list b,html[data-theme=dark] .dash-content h1,html[data-theme=dark] .panel-card b,html[data-theme=dark] .profile b,html[data-theme=dark] .top-title span{color:var(--text)}html[data-theme=dark] .chat-compose textarea,html[data-theme=dark] .filter-bar input,html[data-theme=dark] .filter-bar select,html[data-theme=dark] .secondary-action{background:var(--input);border-color:var(--border);color:var(--text)}html[data-theme=dark] .bubble{background:#172335;border-color:var(--border);color:var(--text)}html[data-theme=dark] .bubble.mine{background:#246bc6;color:#fff}.theme-toggle{width:38px;height:38px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);cursor:pointer;font-size:18px;display:grid;place-items:center}@media(max-width:700px){.theme-toggle{width:36px;height:36px}.page-head .secondary-action{width:100%;height:43px}.messages-layout{min-height:calc(100dvh - 190px)}.chat-messages{min-height:280px}.chat-compose{position:-webkit-sticky;position:sticky;bottom:0}.dash-content{padding-bottom:max(45px,env(safe-area-inset-bottom))}.topbar{padding-top:env(safe-area-inset-top);height:calc(68px + env(safe-area-inset-top))}.sidebar{padding-bottom:max(24px,env(safe-area-inset-bottom))}}.modal-back{position:fixed;inset:0;background:#07101fcc;z-index:80;display:grid;place-items:center;padding:18px}.modal-card{width:min(520px,100%);background:var(--surface,#fff);color:var(--text,#111827);border-radius:16px;padding:24px;box-shadow:0 30px 80px #0005;display:flex;flex-direction:column;gap:12px}.modal-card h2{margin:0 0 5px}.modal-card h3{font-size:12px;margin:8px 0 0;color:var(--muted)}.modal-card input,.modal-card select,.modal-card textarea{border:1px solid var(--border,#ddd);background:var(--input,#fff);color:var(--text);border-radius:9px;padding:11px 12px;min-width:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.modal-actions>button:first-child{border:1px solid var(--border);background:transparent;color:var(--text);border-radius:8px;padding:8px 14px}.data-list{display:flex;flex-direction:column}.data-row{display:grid;grid-template-columns:2fr 2fr 1fr 90px;grid-gap:12px;gap:12px;padding:14px;border-bottom:1px solid var(--border);align-items:center;font-size:11px}.data-row em{font-style:normal;color:#2c8b57}@media(max-width:650px){.form-grid{grid-template-columns:1fr}.data-row{grid-template-columns:1fr 1fr}.data-row span:first-of-type{grid-column:1/-1}.modal-card{max-height:92dvh;overflow:auto}}.role-list{display:flex;flex-direction:column;gap:8px;max-height:55vh;overflow:auto}.role-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--border);border-radius:10px;padding:11px}.role-row>div{display:flex;flex-direction:column;gap:3px}.role-row small{color:var(--muted)}.role-row select{min-width:190px}.success-note{padding:10px 13px;border:1px solid #2c8b5766;background:#2c8b5718;color:#5fd492;border-radius:9px;margin-bottom:14px}@media(max-width:650px){.role-row{align-items:stretch;flex-direction:column}.role-row select{width:100%}}