:root{color:#1e293b;font-synthesis:none;text-rendering:optimizelegibility;background:#f7f9fc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0}.login-screen{background:linear-gradient(135deg,#10233ff0,#173f7ae0),#10233f;place-items:center;min-height:100vh;padding:28px;display:grid}.login-panel{background:#fff;border:1px solid #ffffff29;border-radius:8px;grid-template-columns:minmax(260px,.86fr) minmax(320px,1fr);width:min(900px,100%);display:grid;overflow:hidden;box-shadow:0 22px 70px #0003}.login-brand{color:#fff;background:#10233f;align-items:flex-start;gap:14px;padding:42px;display:flex}.login-mark{background:#1f6feb;border-radius:8px;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.login-brand strong,.login-brand span{display:block}.login-brand strong{font-size:24px;line-height:1.2}.login-brand span{color:#ffffffad;max-width:270px;margin-top:12px;font-size:14px;line-height:1.55}.login-form{flex-direction:column;gap:16px;padding:42px;display:flex}.login-form h1{color:#10233f;margin:0;font-size:26px;line-height:1.2}.login-form p{color:#687a8d;margin:7px 0 0;font-size:13px}.login-field{flex-direction:column;gap:7px;display:flex}.login-field span{color:#173f7a;font-size:12px;font-weight:800}.login-field div{color:#6b7f92;border:1px solid #d5deea;border-radius:7px;align-items:center;gap:10px;min-height:44px;padding:0 12px;display:flex}.login-field div:focus-within{border-color:#1f6feb;box-shadow:0 0 0 3px #1f6feb1f}.login-field input{color:#1e293b;border:0;outline:0;width:100%;font-size:14px}.forgot-button{color:#1f6feb;cursor:pointer;background:0 0;align-self:flex-end;padding:0;font-size:13px;font-weight:800}.login-notice{background:#eef5ff;border-radius:7px;padding:10px 12px;font-weight:700;color:#173f7a!important;margin:0!important}.login-button,.google-button{cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:800;display:inline-flex}.login-button{color:#fff;background:#1f6feb}.google-button{color:#1e293b;background:#fff;border:1px solid #d5deea}.google-button span{color:#1f6feb;background:#fff;border-radius:999px;place-items:center;width:22px;height:22px;font-weight:900;display:grid}.login-divider{color:#7b8da0;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;display:grid}.login-divider span{background:#dbe4ef;height:1px}.login-divider small{font-size:12px;font-weight:800}.app-shell{background:#f7f9fc;min-height:100vh}.topbar{z-index:10;color:#fff;background:#10233f;justify-content:space-between;align-items:center;gap:20px;height:64px;padding:0 32px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;min-width:260px;display:flex}.brand-mark{background:#1f6feb;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.brand strong,.brand span{display:block}.brand strong{font-size:14px}.brand span{color:#ffffff94;margin-top:2px;font-size:12px}.agent-toggle{background:#ffffff1a;border-radius:8px;gap:4px;padding:4px;display:flex}.agent-toggle button{color:#ffffffa8;cursor:pointer;background:0 0;border-radius:6px;min-height:34px;padding:0 16px}.agent-toggle button.active{color:#0f2a5e;background:#fff;font-weight:700}.user-menu{min-width:180px;position:relative}.user-pill{color:#ffffffb8;cursor:pointer;background:0 0;justify-content:flex-end;align-items:center;gap:8px;width:100%;min-height:36px;font-size:13px;display:flex}.user-pill span{color:#fff;background:#193b68;border:1px solid #315a8f;border-radius:999px;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.user-dropdown{background:#fff;border:1px solid #dbe4ef;border-radius:8px;flex-direction:column;gap:3px;width:210px;padding:6px;display:flex;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 16px 40px #0f2a5e2e}.user-dropdown button{color:#34516b;cursor:pointer;text-align:left;background:0 0;border-radius:6px;align-items:center;gap:9px;min-height:34px;padding:0 9px;font-size:13px;display:flex}.user-dropdown button:hover{color:#173f7a;background:#eef5ff}.workspace{gap:30px;width:min(1180px,100% - 48px);margin:0 auto;padding:32px 0;display:flex}.sidebar{flex-direction:column;flex:0 0 232px;gap:6px;width:232px;display:flex}.eyebrow,.section-label{color:#51708d;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.eyebrow{margin:0 0 8px 12px}.sidebar-section{margin-top:18px}.tool-button{color:#496174;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 12px;display:flex}.tool-button.active{color:#173f7a;background:#eef5ff;border-color:#c8ddff}.tool-icon{color:#34516b;background:#edf2f7;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.tool-button.active .tool-icon{color:#fff;background:#1f6feb}.tool-button strong,.tool-button small{display:block}.tool-button strong{font-size:13px}.tool-button small{color:#7b8da0;margin-top:2px;font-size:11px}.main-panel{flex-direction:column;flex:1;gap:22px;min-width:0;display:flex}.agent-banner{color:#fff;background:#173f7a;border-radius:8px;align-items:center;gap:11px;min-height:46px;padding:0 18px;font-size:13px;font-weight:700;display:flex}.agent-dot{background:#9dc2ff;border-radius:999px;width:8px;height:8px}.agent-banner-subtitle{color:#ffffff9e;font-weight:500}.work-grid{grid-template-columns:minmax(0,1fr);gap:22px;display:grid}.work-grid.has-output{grid-template-columns:minmax(0,1fr)}.panel,.output-panel{border:1px solid #dbe4ef;border-radius:8px}.panel{background:#fff;padding:24px}.output-panel{background:#eef5ff;padding:22px}.output-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.output-header p{color:#10233f;margin:0;font-size:13px;font-weight:800}.output-header span{color:#fff;background:#173f7a;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.input-form{flex-direction:column;gap:22px;display:flex}.input-form h1{color:#10233f;margin:0;font-size:20px;line-height:1.2}.input-form p{color:#687a8d;margin:6px 0 0;font-size:13px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field.wide{grid-column:1/-1}.field span{color:#173f7a;font-size:12px;font-weight:700}.field input,.field select,.field textarea{color:#1e293b;background:#fff;border:1px solid #d5deea;border-radius:7px;outline:none;width:100%;padding:10px 12px;font-size:13px}.field textarea{resize:vertical;min-height:104px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#1f6feb;box-shadow:0 0 0 3px #1f6feb1f}.primary-button,.copy-button,.secondary-button{cursor:pointer;justify-content:center;align-items:center;gap:8px;display:inline-flex}.primary-button{color:#fff;background:#1f6feb;border-radius:7px;align-self:flex-start;min-height:40px;padding:0 18px;font-size:13px;font-weight:800}.primary-button:disabled{cursor:wait;background:#9dc2ff}.secondary-button{color:#173f7a;background:#fff;border:1px solid #c8ddff;border-radius:7px;min-height:36px;padding:0 13px;font-size:13px;font-weight:800}.output-loading{color:#687a8d;align-content:center;place-items:center;gap:14px;min-height:300px;font-size:13px;display:grid}.spinner{border:3px solid #c8ddff;border-top-color:#1f6feb;border-radius:999px;width:38px;height:38px;animation:.8s linear infinite spin}.output-stack{flex-direction:column;gap:14px;display:flex}.output-card,.fit-card,.metric-card{background:#fff;border:1px solid #dbe4ef;border-radius:8px}.output-card{padding:16px}.output-card.highlighted{background:#f6f9ff;border-color:#b7d2ff}.output-card p,.output-card li{color:#496174;font-size:13px;line-height:1.65}.output-card p{margin:8px 0 0}.output-card ul{flex-direction:column;gap:7px;margin:10px 0 0;padding-left:18px;display:flex}.card-title-row{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.card-title-row>div{color:#173f7a;align-items:center;gap:8px;font-size:13px;display:flex}.copy-button{color:#496174;background:#fff;border:1px solid #c8ddff;border-radius:6px;min-height:30px;padding:0 10px;font-size:12px;font-weight:700}.preline{white-space:pre-line}.subject-line{background:#eef5ff;border-radius:6px;padding:8px 10px;color:#173f7a!important}.fit-card{color:#1f6feb;background:#f6f9ff;border-color:#b7d2ff;align-items:center;gap:12px;padding:15px 16px;display:flex}.fit-card strong,.fit-card span{display:block}.fit-card strong{font-size:18px}.fit-card span{color:#687a8d;margin-top:2px;font-size:12px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.metric-card{background:#f6f9ff;padding:13px}.metric-card span,.metric-card strong{display:block}.metric-card span{color:#687a8d;font-size:11px}.metric-card strong{color:#173f7a;margin-top:5px;font-size:14px}.score-row{grid-template-columns:112px 1fr 28px;align-items:center;gap:10px;margin-top:12px;display:grid}.score-row span{color:#496174;font-size:12px}.score-row strong{color:#10233f;font-size:13px}.score-track{background:#dceafe;border-radius:999px;height:7px;overflow:hidden}.score-fill{border-radius:inherit;background:#1f6feb;height:100%}.empty-state{background:#fff;border:1px dashed #b7d2ff;border-radius:8px;align-items:center;gap:14px;padding:18px;display:flex}.empty-state>div:first-child{color:#1f6feb;background:#eef5ff;border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.empty-state strong{color:#173f7a;font-size:13px}.empty-state p{color:#687a8d;margin:3px 0 0;font-size:12px}.error-state{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px}.error-state strong{color:#b91c1c;font-size:13px}.error-state p{color:#dc2626;margin:4px 0 0;font-size:12px}.history-panel,.account-panel{background:#fff;border:1px solid #dbe4ef;border-radius:8px}.history-panel{padding:22px}.history-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.history-header h1,.account-panel h2{color:#10233f;margin:0;font-size:20px;line-height:1.2}.history-header p{color:#687a8d;margin:6px 0 0;font-size:13px}.history-list{gap:10px;display:grid}.history-item{cursor:pointer;text-align:left;background:#fff;border:1px solid #dbe4ef;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 12px;display:flex}.history-item:hover{background:#f6f9ff;border-color:#b7d2ff}.history-icon{color:#1f6feb;background:#eef5ff;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.history-content strong,.history-content small{display:block}.history-content strong{color:#173f7a;font-size:14px}.history-content small{color:#687a8d;margin-top:4px;font-size:12px}.history-empty,.history-error{border-radius:8px;align-items:center;gap:10px;padding:16px;font-size:13px;display:flex}.history-empty{color:#687a8d;background:#f6f9ff}.history-error{color:#b91c1c;background:#fef2f2}.account-panel{padding:18px}.account-lines{gap:10px;margin-top:14px;display:grid}.account-lines div{gap:4px;display:grid}.account-lines span{color:#687a8d;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.account-lines strong{color:#173f7a;overflow-wrap:anywhere;font-size:13px}.role-badge{color:#cfe2ff;letter-spacing:.05em;text-transform:uppercase;background:#4d8eff2e;border:1px solid #4d8eff;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:800}.members-panel section{margin-top:22px}.members-panel h2{color:#10233f;margin:0;font-size:20px}.members-panel h3{color:#173f7a;text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px;font-size:14px}.members-panel p.hint{color:#687a8d;margin:4px 0 0;font-size:13px}.members-table{border-collapse:collapse;width:100%;font-size:13px}.members-table th{text-align:left;color:#687a8d;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #dbe4ef;padding:8px 10px;font-size:11px;font-weight:800}.members-table td{color:#173f7a;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:10px}.members-table tr:last-child td{border-bottom:none}.pill{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:700;display:inline-block}.pill.role-admin{color:#1f4fa8;background:#eaf1ff}.pill.role-member{color:#51647a;background:#eef2f7}.pill.status-active{color:#1d8a4b;background:#e8f8ee}.pill.status-pending{color:#b4790c;background:#fff7e6}.pill.status-rejected{color:#c23a3a;background:#fdeaea}.members-actions{flex-wrap:wrap;gap:6px;display:flex}.members-actions button,.members-actions select{color:#173f7a;cursor:pointer;background:#fff;border:1px solid #dbe4ef;border-radius:6px;padding:5px 9px;font-size:12px}.members-actions button.danger{color:#c23a3a;border-color:#f3c8c8}.members-actions button:hover{background:#f6f9ff;border-color:#b7d2ff}.invite-form,.create-user-form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.invite-form input,.invite-form select,.create-user-form input,.create-user-form select{color:#173f7a;border:1px solid #dbe4ef;border-radius:6px;min-width:160px;padding:7px 10px;font-size:13px}.invite-form button,.create-user-form button{color:#fff;cursor:pointer;background:#1f5fd8;border:none;border-radius:6px;padding:8px 14px;font-size:13px;font-weight:600}.invite-form button:hover,.create-user-form button:hover{background:#184fb4}.invite-code-box{color:#173f7a;background:#f6f9ff;border:1px dashed #4d8eff;border-radius:8px;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;font-size:13px;display:flex}.invite-code-box code{letter-spacing:.03em;font-weight:700}.members-empty{color:#687a8d;padding:10px 0;font-size:13px}.members-banner{border-radius:8px;margin:0 0 12px;padding:10px 12px;font-size:13px}.members-banner.success{color:#1d8a4b;background:#e8f8ee}.members-banner.error{color:#c23a3a;background:#fdeaea}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=920px){.login-panel{grid-template-columns:1fr}.login-brand,.login-form{padding:28px}.topbar{flex-wrap:wrap;height:auto;padding:14px 18px}.brand,.user-pill{min-width:0}.workspace{flex-direction:column;width:min(100% - 28px,720px);padding:22px 0}.sidebar{flex-basis:auto;width:100%}.work-grid.has-output{grid-template-columns:1fr}}@media (width<=640px){.login-screen{padding:14px}.login-brand,.login-form{padding:22px}.login-brand strong{font-size:21px}.agent-toggle,.user-menu,.user-pill{width:100%}.agent-toggle button{flex:1}.user-pill{justify-content:flex-start}.field-grid,.metric-grid{grid-template-columns:1fr}.panel,.output-panel{padding:18px}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.85;transform:scale(.97)}}.dedicated-page{background:#f7f9fc;min-height:calc(100vh - 64px);padding:40px 32px}.dedicated-page-inner{flex-direction:column;gap:28px;max-width:860px;margin:0 auto;display:flex}.back-button{color:#496174;cursor:pointer;background:0 0;border:none;align-items:center;gap:7px;width:fit-content;padding:0;font-size:13px;font-weight:600;transition:color .15s;display:inline-flex}.back-button:hover{color:#173f7a}.page-header{align-items:center;gap:20px;display:flex}.page-avatar{color:#fff;background:#193b68;border-radius:999px;flex:0 0 52px;place-items:center;width:52px;height:52px;font-size:20px;font-weight:700;display:grid}.page-title{color:#10233f;margin:0;font-size:24px;font-weight:700;line-height:1.2}.page-subtitle{color:#687a8d;margin:5px 0 0;font-size:13px}.profile-card{background:#fff;border:1px solid #dbe4ef;border-radius:10px;flex-direction:column;gap:0;display:flex;overflow:hidden}.profile-field{border-bottom:1px solid #f0f4f9;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;display:flex}.profile-field:last-child{border-bottom:none}.profile-field-label{color:#687a8d;align-items:center;gap:7px;min-width:120px;font-size:13px;display:flex}.profile-field-value{color:#10233f;text-align:right;font-size:14px;font-weight:600}.dropdown-backdrop{z-index:9;position:fixed;inset:0}.user-dropdown{z-index:10}.dropdown-divider{background:#dbe4ef;height:1px;margin:3px 6px}.signout-button{color:#b91c1c!important}.signout-button:hover{color:#b91c1c!important;background:#fef2f2!important}.dedicated-page-inner .account-panel{background:0 0;border:none;padding:0}.dedicated-page-inner .members-panel h2,.dedicated-page-inner .members-panel>.hint:first-of-type{display:none}.dedicated-page-inner .members-panel section{background:#fff;border:1px solid #dbe4ef;border-radius:10px;padding:20px 22px}.dedicated-page-inner .members-panel section+section{margin-top:16px}.dedicated-page-inner .members-panel section h3{color:#10233f;margin:0 0 14px;font-size:15px;font-weight:700}
