:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e9edf5;background:#10141b;font-synthesis:none;text-rendering:optimizeLegibility;font-smooth:always;--panel:#171d27;--panel2:#1c2430;--line:#293342;--muted:#8f9bad;--accent:#d8a85c;--accent2:#f0c77f}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#10141b}button,input,textarea,select{font:inherit}button{cursor:pointer}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 10%,#263143 0,transparent 55%),#10141b}.login-card{width:min(100%,420px);padding:42px;background:#171d27;border:1px solid #303b4b;border-radius:20px;box-shadow:0 24px 80px #0006;text-align:center}.brand-mark{width:66px;height:66px;margin:0 auto 20px;display:grid;place-items:center;border-radius:19px;background:#30291f;color:var(--accent2);border:1px solid #66502e}.brand-mark.small{width:40px;height:40px;margin:0;border-radius:12px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--accent);text-transform:uppercase}.login-card h1{font:800 34px Inter,system-ui,sans-serif;margin:9px 0 0;letter-spacing:5px}.muted,.login-card p{color:var(--muted)}.login-card form{margin-top:30px;text-align:left}.login-card label,.form-grid label{display:flex;flex-direction:column;gap:8px;color:#b9c3d1;font-size:12px;margin-bottom:16px}input,textarea,select{width:100%;background:#10151d;border:1px solid #354153;border-radius:9px;color:#f3f5f8;padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent)}.primary{border:0;border-radius:9px;background:var(--accent);color:#20180d;font-weight:700;padding:12px 17px}.primary:hover{background:var(--accent2)}.wide{width:100%;margin-top:8px}.text-button{background:none;border:0;color:var(--muted);padding:12px}.secure-note{display:flex;justify-content:center;align-items:center;gap:7px;color:#8290a2;font-size:11px;margin-top:27px}.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;background:#141a23;border-right:1px solid #27313f;padding:24px 16px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 38px}.brand b{font:800 17px Inter,system-ui,sans-serif;letter-spacing:2px}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#69778a;font-weight:700;padding:0 12px 10px}.nav-label.space{margin-top:30px}.nav{width:100%;display:flex;align-items:center;gap:12px;text-align:left;color:#9ba8b9;background:transparent;border:0;border-radius:9px;padding:12px;margin:2px 0;font-size:13px}.nav:hover,.nav.active{background:#252d39;color:#f2d39d}.sidebar-bottom{margin-top:auto}.user-chip{display:flex;align-items:center;gap:10px;padding:12px 6px 0;border-top:1px solid #293342}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#443725;color:#f3cc8b;font-weight:700}.user-meta{flex:1;min-width:0}.user-meta b,.user-meta small{display:block}.user-meta b{font-size:12px}.user-meta small{font-size:10px;color:var(--muted);margin-top:3px}.icon-button{border:0;background:none;color:var(--muted);padding:7px}.main{flex:1;min-width:0;padding:0 42px 40px;max-width:1500px;margin:0 auto}.topbar{height:105px;border-bottom:1px solid #26303c;display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.topbar h2{font:700 22px Inter,system-ui,sans-serif;margin:6px 0}.top-status{font-size:11px;color:#aab5c3;display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;background:#5dbb86;border-radius:50%;box-shadow:0 0 10px #5dbb8677}.welcome{background:linear-gradient(110deg,#202b3a,#1b222d);border:1px solid #354153;border-radius:16px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;color:#d5b47d}.welcome h1{font:700 25px Inter,system-ui,sans-serif;color:#f1f3f6;margin:12px 0 7px}.welcome p{color:#9eabbc;margin:0;font-size:13px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:34px 0 16px}.section-heading h3,.panel h3{font:700 16px Inter,system-ui,sans-serif;margin:0 0 5px}.section-heading p{font-size:12px;margin:0}.secondary{background:#222b37;border:1px solid #354153;color:#c5ced9;border-radius:8px;padding:9px 13px;font-size:12px}.assistant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:15px}.assistant-card{text-align:left;position:relative;padding:21px;background:#171e28;border:1px solid #2d3949;border-radius:13px;color:#eef1f5;transition:.2s}.assistant-card:hover{transform:translateY(-2px);border-color:#9e7847;background:#1c2531}.assistant-avatar{width:42px;height:42px;border-radius:12px;background:#30291f;color:var(--accent2);display:grid;place-items:center}.assistant-card h3{font:700 14px Inter,system-ui,sans-serif;margin:17px 0 7px}.assistant-card p{font-size:12px;color:#93a0b1;line-height:1.6;min-height:38px}.card-arrow{position:absolute;right:20px;top:22px;color:#8793a3}.card-action{display:flex;align-items:center;gap:7px;color:#d7b77f;font-size:11px;margin-top:18px}.empty{grid-column:1/-1;border:1px dashed #3a4657;border-radius:12px;padding:45px;display:flex;align-items:center;flex-direction:column;gap:10px;color:#a9b4c3;text-align:center}.empty span{font-size:12px;color:var(--muted)}.footer-note{display:flex;gap:8px;align-items:center;color:#718094;font-size:11px;margin-top:40px}.chat-layout{max-width:900px;margin:0 auto;border:1px solid #2d3949;border-radius:14px;background:#151b24;overflow:hidden;display:flex;flex-direction:column;height:min(72vh,760px)}.chat-head{display:flex;align-items:center;gap:13px;padding:16px 20px;border-bottom:1px solid #2d3949}.chat-head b{font-size:13px}.chat-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.secure-pill{margin-left:auto;color:#8da998;border:1px solid #315341;border-radius:20px;padding:6px 9px;font-size:10px;display:flex;gap:6px;align-items:center}.messages{flex:1;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:19px}.chat-empty{margin:auto;text-align:center;color:#b7c1ce}.chat-empty h3{font:700 17px Inter,system-ui,sans-serif;margin:14px 0 5px}.chat-empty p{font-size:12px;color:var(--muted)}.assistant-avatar.large{width:54px;height:54px;margin:auto}.message{max-width:78%}.message.user{align-self:flex-end}.message-label{font-size:10px;color:#8c9aad;margin:0 0 6px 4px}.message.user .message-label{text-align:right}.bubble{background:#222c39;border:1px solid #344154;border-radius:4px 13px 13px;padding:12px 15px;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.message.user .bubble{background:#3b3022;border-color:#6c5332;border-radius:13px 4px 13px 13px}.typing{color:#c8ad7f}.composer{display:flex;gap:10px;padding:14px;border-top:1px solid #2d3949}.composer textarea{resize:none}.send{align-self:flex-end;height:43px;width:45px;display:grid;place-items:center}.send:disabled{opacity:.45;cursor:not-allowed}.back{align-self:flex-start;padding:0 18px 14px}.panel{background:#171e28;border:1px solid #303d4d;border-radius:13px;padding:24px;margin-bottom:20px}.panel>p{font-size:12px;color:var(--muted)}.table-wrap{overflow:auto;margin:20px 0}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{color:#8795a8;font-size:10px;text-transform:uppercase;letter-spacing:1px}td,th{padding:12px;border-bottom:1px solid #2a3543}td small{display:block;color:var(--muted);margin-top:4px}.small-btn{padding:6px 9px}.form-title{margin:28px 0 15px!important}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;margin-top:20px}.form-grid .full{grid-column:1/-1}.form-grid button{justify-self:start}.hint{display:flex;gap:8px;align-items:center;color:#91a998;font-size:11px;margin-top:20px}.alert,.notice{padding:11px 13px;border-radius:8px;font-size:12px;margin:12px 0;background:#422b2a;border:1px solid #74423d;color:#ffc1b8}.notice{background:#263b32;border-color:#3b694f;color:#b4e2c4}.global-alert{display:flex;justify-content:space-between}.global-alert button,.notice button{background:none;border:0;color:inherit}.panel pre{white-space:pre-wrap;background:#10151d;padding:14px;border-radius:8px;line-height:1.8;color:#f0cf91}@media(max-width:760px){.sidebar{width:65px;padding:18px 8px}.brand{padding:0 4px 30px}.brand>div:last-child,.nav-label,.nav{font-size:0}.nav{justify-content:center;padding:13px}.nav svg{width:19px;height:19px}.sidebar-bottom .user-meta,.icon-button{display:none}.user-chip{justify-content:center}.main{padding:0 16px 28px}.topbar{height:85px}.top-status{display:none}.welcome{padding:23px}.welcome h1{font-size:20px}.welcome>svg{width:45px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.login-card{padding:30px 22px}.chat-layout{height:75vh}.message{max-width:92%}}.menu-toggle,.mobile-close,.mobile-logout,.mobile-nav,.mobile-scrim,.chat-minimize,.restore-chat{display:none}.topbar-title{min-width:0}.home-app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.home-app-card{min-width:0;display:flex;align-items:center;gap:14px;position:relative;padding:20px;background:#171e28;border:1px solid #2d3949;border-radius:14px;color:#eef1f5;text-decoration:none;transition:border-color .18s,transform .18s,background .18s}.home-app-card:hover{transform:translateY(-2px);border-color:#9e7847;background:#1c2531}.home-app-icon{width:52px;height:52px;flex:0 0 52px;border-radius:14px;display:grid;place-items:center;background:#30291f;color:var(--accent2)}.home-app-copy{min-width:0;padding-right:18px}.home-app-copy h3{font-size:14px;margin:5px 0}.home-app-copy p{font-size:11px;line-height:1.45;color:var(--muted);margin:0}.app-category{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:var(--accent)}.app-external{position:absolute;right:15px;top:15px;color:#8592a3}.chat-minimize{margin-left:8px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #354153;border-radius:10px;background:#222b37;color:#d6deea}.restore-chat{position:fixed;z-index:30;right:24px;bottom:24px;display:flex;align-items:center;gap:11px;padding:14px 18px;border:1px solid #8e7045;border-radius:999px;background:#252b35;color:#f2d39d;box-shadow:0 10px 35px #0008}.restore-dot{width:8px;height:8px;border-radius:50%;background:#65c58c}@media(max-width:760px){.app-shell{display:block;min-height:100dvh}.sidebar{position:fixed;z-index:60;inset:0 auto 0 0;width:min(82vw,310px);padding:22px 18px 18px;transform:translate(-105%);transition:transform .22s ease;box-shadow:18px 0 50px #0008}.sidebar.mobile-open{transform:translate(0)}.sidebar .brand{padding:0 4px 34px}.sidebar .brand>div:last-of-type{display:block}.sidebar .nav-label{font-size:9px;display:block}.sidebar .nav{font-size:14px;justify-content:flex-start;gap:14px;padding:14px 13px;min-height:48px}.sidebar .nav svg{width:21px;height:21px;flex:0 0 21px}.sidebar .sidebar-bottom .user-meta{display:block}.sidebar .icon-button{display:grid;place-items:center}.mobile-close{display:grid;margin-left:auto;width:40px;height:40px;place-items:center;border:1px solid #354153;border-radius:10px;background:#222b37;color:#dce3ec}.mobile-scrim{display:block;position:fixed;z-index:55;top:0;right:0;bottom:0;left:0;border:0;background:#0009}.main{padding:0 16px calc(90px + env(safe-area-inset-bottom));max-width:none;width:100%}.topbar{height:76px;min-height:76px;gap:12px;margin-bottom:22px}.menu-toggle,.mobile-logout{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border:1px solid #354153;border-radius:11px;background:#1c2430;color:#e7edf5}.menu-toggle svg,.mobile-logout svg{width:21px;height:21px}.topbar-title{flex:1}.topbar .eyebrow{font-size:9px;letter-spacing:1.5px}.topbar h2{font-size:19px;margin:4px 0}.top-status{display:none}.welcome{padding:22px 20px;gap:12px}.welcome h1{font-size:20px;line-height:1.25}.welcome p{font-size:12px;line-height:1.5}.welcome>svg{width:38px;min-width:38px}.section-heading{margin:27px 0 14px;gap:10px}.section-heading h3{font-size:15px}.section-heading p{font-size:11px;line-height:1.4}.home-app-grid,.assistant-grid{grid-template-columns:1fr;gap:11px}.home-app-card{padding:16px}.home-app-icon{width:48px;height:48px;flex-basis:48px}.assistant-card{padding:18px}.mobile-nav{position:fixed;z-index:40;inset:auto 0 0;display:flex;justify-content:space-around;gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#141a23;border-top:1px solid #2b3543}.mobile-nav button{flex:1;min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:10px;background:transparent;color:#8996a8;font-size:10px}.mobile-nav button svg{width:22px;height:22px}.mobile-nav button.active{color:#f0c77f;background:#252d39}.chat-open .main{padding:0}.chat-open .topbar,.chat-open .mobile-nav{display:none}.chat-open .global-alert,.chat-open .notice{margin:0;border-radius:0}.chat-layout{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;max-width:none;margin:0;border:0;border-radius:0;display:flex;overflow:hidden;background:#111720;padding-bottom:env(safe-area-inset-bottom)}.chat-head{flex:0 0 auto;min-height:70px;padding:10px 13px;gap:10px;padding-top:max(10px,env(safe-area-inset-top))}.chat-head>div:nth-child(2){min-width:0;flex:1}.chat-head p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}.secure-pill{margin-left:0;padding:5px 7px;font-size:9px;white-space:nowrap}.chat-minimize{flex:0 0 40px;margin-left:0}.messages{min-height:0;padding:17px 14px;gap:16px;overscroll-behavior:contain}.message{max-width:90%}.bubble{font-size:14px;padding:11px 13px}.composer{flex:0 0 auto;align-items:flex-end;padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;background:#151c26}.composer textarea{min-height:46px;max-height:140px;padding:12px;font-size:16px}.send{height:46px;width:48px;flex:0 0 48px}.chat-layout .back{display:none}.restore-chat{right:14px;bottom:calc(78px + env(safe-area-inset-bottom));padding:12px 15px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.panel{padding:18px}}@media(min-width:761px){.chat-layout{height:calc(100vh - 190px);min-height:480px}}
