:root{--bg:#f5f7fb;--surface:#fff;--surface-soft:#f9fafc;--text:#152033;--muted:#667085;--line:#e5e9f0;--accent:#f97316;--accent-dark:#d85f0f;--danger:#b42318;--shadow:0 24px 70px #1520331a}*{box-sizing:border-box}html{background:var(--bg)}body{min-height:100vh;color:var(--text);background:radial-gradient(circle at 10% 10%, #f9731614, transparent 28rem), linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:Segoe UI,Tahoma,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.shell{width:min(1120px,100% - 32px);min-height:100vh;margin:0 auto}.shell--centered{place-items:center;padding:48px 0;display:grid}.auth-card{border:1px solid var(--line);width:min(100%,460px);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-radius:28px;padding:40px}.brand-mark{background:var(--accent);color:#fff;border-radius:18px;place-items:center;width:52px;height:52px;margin-bottom:24px;font-size:24px;font-weight:800;display:grid}.eyebrow{color:var(--accent-dark);letter-spacing:.16em;direction:ltr;unicode-bidi:isolate;margin:0 0 8px;font-family:Segoe UI,Arial,sans-serif;font-size:12px;font-weight:800}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.015em;font-weight:700}h1{margin-bottom:12px;font-size:clamp(28px,4vw,40px);line-height:1.35}h2{margin-bottom:12px;font-size:clamp(22px,3vw,32px);line-height:1.55}.muted{color:var(--muted);line-height:1.95}.auth-subtitle{font-size:14px;line-height:1.8}.login-form{gap:18px;margin-top:28px;display:grid}.login-form label{color:#344054;gap:8px;font-size:14px;font-weight:700;display:grid}.login-form input{width:100%;height:52px;color:var(--text);text-align:left;direction:ltr;background:#fff;border:1px solid #d7dde7;border-radius:14px;outline:none;padding:0 14px;transition:border-color .16s,box-shadow .16s}.login-form input:focus{border-color:var(--accent);box-shadow:0 0 0 4px #f973161f}.login-form button{background:var(--accent);color:#fff;border:0;border-radius:14px;min-height:52px;font-weight:800;transition:transform .16s,background .16s}.login-form button:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.login-form button:disabled{cursor:wait;opacity:.65}.form-error{color:var(--danger);background:#fef3f2;border:1px solid #fecdca;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.7}.security-note{color:#7b8494;margin:22px 0 0;font-size:12px;line-height:1.8}.portal-shell{padding:56px 0 72px}.portal-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:32px;display:flex}.header-actions{align-items:center;gap:10px;display:flex}.status-pill{color:#c2410c;direction:ltr;unicode-bidi:isolate;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;align-items:center;min-height:34px;padding:0 12px;font-family:Segoe UI,Arial,sans-serif;font-size:12px;font-weight:700;display:inline-flex}.status-pill--connected{color:#067647;background:#f0fdf4;border-color:#b7ebcd;gap:7px}.status-dot{background:#12b76a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #12b76a1f}.secondary-button{border:1px solid var(--line);color:#344054;background:#fff;border-radius:999px;justify-content:center;align-items:center;min-height:36px;padding:0 14px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.secondary-button:hover:not(:disabled){background:#f8fafc;border-color:#cfd5df}.secondary-button:disabled{cursor:wait;opacity:.6}.hero-panel{border:1px solid var(--line);background:var(--surface);border-radius:26px;padding:32px;box-shadow:0 18px 50px #1520330f}.hero-panel p:last-child{margin-bottom:0}.capability-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px;display:grid}.capability-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:20px;padding:24px}.capability-card h3{margin-bottom:10px;font-size:18px}.capability-card p{color:var(--muted);margin-bottom:0;font-size:14px;line-height:1.9}.chat-portal-shell{width:min(1440px,100% - 32px);padding:22px 0 28px}.chat-page-header{align-items:center;margin-bottom:12px}.chat-page-identity{align-items:center;gap:14px;min-width:0;display:flex}.chat-page-mark{color:#fff;background:linear-gradient(145deg,#f97316,#e95f0c);border-radius:15px;flex:none;place-items:center;width:46px;height:46px;font-family:Segoe UI,Arial,sans-serif;font-size:18px;font-weight:800;display:grid;box-shadow:0 10px 28px #f973162e}.chat-page-header h1{margin-bottom:2px;font-size:clamp(24px,3vw,34px)}.chat-page-header .eyebrow{letter-spacing:.08em;margin-bottom:3px;font-size:10px}.chat-page-user{margin-bottom:0;font-size:12px}.chat-page-actions{flex-wrap:wrap;justify-content:flex-end}.portal-quick-nav{z-index:50;color:#fff;background:#f97316;border:1px solid #f6b37e;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 17px;font-size:12px;font-weight:800;text-decoration:none;transition:transform .15s,box-shadow .15s;display:inline-flex;position:fixed;bottom:20px;left:20px;box-shadow:0 12px 30px #15203329}.portal-quick-nav:hover{transform:translateY(-1px);box-shadow:0 15px 34px #15203333}.portal-live-link{background:var(--accent);color:#fff;border-radius:12px;justify-content:center;align-items:center;min-height:44px;margin-top:18px;padding:0 18px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex}.portal-live-link:hover{background:var(--accent-dark)}@media (max-width:820px){.capability-grid{grid-template-columns:1fr 1fr}.chat-portal-shell{width:min(100% - 20px,1440px);padding-top:14px}.chat-page-header{gap:12px}}@media (max-width:620px){.shell{width:min(100% - 20px,1120px)}.auth-card,.hero-panel{border-radius:22px;padding:24px}.portal-header{display:block}.header-actions{margin-top:12px}.status-pill{margin-top:0}.capability-grid{grid-template-columns:1fr}.chat-portal-shell{width:calc(100% - 12px);padding:8px 0 12px}.chat-page-header{align-items:center;margin-bottom:8px;display:flex}.chat-page-identity{gap:10px}.chat-page-mark{border-radius:13px;width:40px;height:40px;font-size:15px}.chat-page-header h1{font-size:20px}.chat-page-header .eyebrow,.chat-page-user{display:none}.chat-page-actions{margin-top:0;margin-right:auto}.chat-page-actions .status-pill{display:none}.chat-page-actions .secondary-button{min-height:34px;padding:0 11px;font-size:10px}.portal-quick-nav{bottom:12px;left:12px}}
