:root{color:#17345d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f3f7fc;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible{outline-offset:3px;outline:3px solid #71b5fa}.app-shell{min-height:100vh}.global-header{background:#fff;border-bottom:1px solid #dce6f2;justify-content:space-between;align-items:center;height:66px;padding:0 clamp(20px,3vw,48px);display:flex}.brand{color:#123b78;letter-spacing:-.025em;align-items:center;gap:12px;font-size:20px;font-weight:750;display:inline-flex}.brand-mark{color:#1476d1;flex:none;width:31px;height:31px}.header-context{color:#607895;letter-spacing:.02em;font-size:13px;font-weight:650}.header-actions{align-items:center;gap:16px;display:flex}.header-actions button,.auth-screen button{color:#135c9f;background:#eaf4ff;border:1px solid #bfd8ef;border-radius:8px;padding:9px 13px;font-size:13px;font-weight:750}.auth-screen{background:#fff;border:1px solid #dbe6f2;border-radius:14px;max-width:500px;margin:min(14vh,120px) auto 0;padding:34px;box-shadow:0 10px 30px #20446d0f}.auth-screen h1{color:#112d57;margin:0 0 12px;font-size:28px}.auth-screen p{color:#607895;line-height:1.55}.auth-screen button{color:#fff;background:#1774ca;border-color:#1774ca;margin-top:12px}.auth-error{margin:-10px 0 20px}.generation-error{color:#a4352d;font-weight:650}.workspace{max-width:1600px;margin:0 auto;padding:28px clamp(20px,2.4vw,42px) 40px}.workspace-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}.eyebrow{color:#3678bd;letter-spacing:.12em;margin:0 0 7px;font-size:11px;font-weight:800}.workspace-heading h1{color:#112d57;letter-spacing:-.04em;margin:0;font-size:clamp(26px,2.2vw,34px);font-weight:760;line-height:1.15}.workspace-subtitle{color:#6c809b;margin:7px 0 0;font-size:15px}.heading-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding-bottom:4px;display:flex}.preview-badge{color:#455f80;white-space:nowrap;background:#eaf1f8;border:1px solid #d7e3f0;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:650}.api-status{color:#607895;white-space:nowrap;align-items:center;gap:8px;font-size:12px;font-weight:650;display:inline-flex}.status-dot{background:#a9b8c9;border-radius:50%;width:8px;height:8px;display:inline-block}.api-status--connected{color:#247a50}.api-status--connected .status-dot{background:#2aa869}.api-status--unavailable{color:#a74d3e}.api-status--unavailable .status-dot{background:#d86450}.stage-progress{color:#8495ab;justify-content:flex-end;align-items:center;gap:12px;margin:-5px 2px 24px;display:flex}.stage-progress__item{white-space:nowrap;align-items:center;gap:8px;font-size:12px;font-weight:650;display:inline-flex}.stage-progress__item--current{color:#176bb7}.stage-progress__dot{background:#fff;border:3px solid #b6c4d5;border-radius:50%;width:13px;height:13px}.stage-progress__item--current .stage-progress__dot{background:#1774ca;border-color:#1774ca;box-shadow:0 0 0 4px #e5f2fe}.stage-progress__line{background:#c3d0de;width:38px;height:1px}.workspace-panels{grid-template-columns:minmax(320px,39fr) minmax(550px,61fr);align-items:stretch;gap:20px;display:grid}.panel{background:#fff;border:1px solid #dbe6f2;border-radius:13px;min-height:650px;box-shadow:0 10px 30px #20446d0b}.conversation-panel{flex-direction:column;display:flex;overflow:hidden}.panel-heading{padding:26px 27px 18px}.panel-heading h2{color:#142f5b;letter-spacing:-.035em;margin:0 0 5px;font-size:22px}.panel-heading p{color:#7b8da4;margin:0;font-size:14px}.conversation-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:60px 44px 48px;display:flex}.conversation-empty__symbol{background:#eaf4ff;border:1px solid #d9ebfd;border-radius:19px;place-items:center;width:68px;height:68px;display:grid}.conversation-empty__symbol .brand-mark{width:35px;height:35px}.conversation-empty h3{color:#22446c;letter-spacing:-.015em;margin:18px 0 7px;font-size:17px}.conversation-empty p{color:#8292a7;max-width:330px;margin:0;font-size:14px;line-height:1.6}.composer{border-top:1px solid #e6edf5;padding:16px 18px 17px}.composer label{color:#47617f;margin:0 0 9px 5px;font-size:12px;font-weight:700;display:block}.composer-field{background:#f8fbfe;border:1px solid #d6e2ef;border-radius:10px;align-items:end;gap:8px;padding:9px;display:flex}.composer textarea{resize:none;color:#7087a1;background:0 0;border:0;outline:0;flex:1;min-width:0;padding:7px 8px;font-size:13px;line-height:1.5}.composer textarea::placeholder{color:#8a9db2}.composer-field button{color:#fff;background:#b3cbe1;border:0;border-radius:8px;flex:none;width:39px;height:39px;font-size:23px;line-height:1}.composer-field button:not(:disabled){background:#1774ca}.composer p{color:#91a0b2;margin:10px 3px 0;font-size:11px}.composer .generation-error{color:#a4352d;font-weight:650}.review-panel{flex-direction:column;padding:0 22px 21px;display:flex}.review-tabs{border-bottom:1px solid #e1e9f2;align-items:stretch;gap:24px;min-height:61px;padding:0 10px;display:flex}.review-tab{color:#6d819d;white-space:nowrap;background:0 0;border:0;padding:3px 7px 0;font-size:13px;font-weight:700;position:relative}.review-tab--active{color:#1269ba}.review-tab--active:after{content:"";background:#1878cf;border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:0;right:0}.review-tab:hover:not(.review-tab--active){color:#254f7d}.review-heading{justify-content:space-between;align-items:center;gap:20px;padding:25px 0 20px;display:flex}.review-heading h2{color:#183966;letter-spacing:-.03em;margin:0;font-size:21px}.review-heading p:last-child{color:#7f91a8;margin:7px 0 0;font-size:13px}.approval-button{color:#91a3b8;background:#e8eef5;border:1px solid #d4e0ec;border-radius:8px;flex:none;min-height:43px;padding:0 17px;font-size:12px;font-weight:750}.review-body{background:linear-gradient(#fff,#fbfdff);border:1px solid #dce7f2;border-radius:10px;flex:1;min-height:410px;padding:27px}.review-body--diagram{place-items:center;display:grid}.baseline-result h3{margin:0 0 10px}.baseline-result h4{margin:25px 0 8px}.baseline-result p,.baseline-result li{color:#526d8b;font-size:14px;line-height:1.6}.baseline-result ul{padding-left:22px}.baseline-result .draft-note{color:#8b6671;margin-top:24px}.diagram-result{min-width:0}.diagram-result>p{color:#526d8b;margin:0 0 16px;font-size:13px}.diagram-result img{border:1px solid #e1e9f2;border-radius:8px;width:100%;height:auto;display:block}.diagram-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.diagram-actions a{color:#135c9f;background:#eaf4ff;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:700;text-decoration:none}.empty-state{text-align:center;flex-direction:column;align-items:center;max-width:420px;margin:16px auto 30px;display:flex}.empty-state h3{color:#244b76;letter-spacing:-.02em;margin:15px 0 7px;font-size:18px}.empty-state p{color:#7d91a9;margin:0;font-size:13px;line-height:1.6}.empty-icon{background:#edf6ff;border:1px solid #dcecfb;border-radius:17px;width:70px;height:70px;position:relative}.empty-icon--document{flex-direction:column;justify-content:center;gap:6px;padding:18px;display:flex}.empty-icon--document span{background:#6aa9e2;border-radius:4px;height:4px;display:block}.empty-icon--document span:last-child{width:58%}.empty-icon--diagram span{background:#fff;border:2px solid #69a9e3;border-radius:4px;width:21px;height:15px;display:block;position:absolute}.empty-icon--diagram span:first-child{top:13px;left:24px}.empty-icon--diagram span:nth-child(2){top:39px;left:11px}.empty-icon--diagram span:last-child{top:39px;right:10px}.empty-icon--diagram:before,.empty-icon--diagram:after{content:"";background:#9fc7eb;width:2px;height:15px;position:absolute;top:28px}.empty-icon--diagram:before{left:27px;transform:rotate(40deg)}.empty-icon--diagram:after{right:27px;transform:rotate(-40deg)}.baseline-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:31px;display:grid}.baseline-preview>div{background:#f8fbff;border:1px solid #e4edf5;border-radius:8px;min-height:90px;padding:16px 14px}.preview-line{background:#78b5ec;border-radius:3px;width:25px;height:3px;margin-bottom:12px;display:block}.baseline-preview strong{color:#31577e;font-size:11px;display:block}.baseline-preview p{color:#9aacbd;margin:5px 0 0;font-size:11px;line-height:1.45}.review-downloads{flex-wrap:wrap;gap:9px;padding-top:19px;display:flex}.review-downloads button{color:#a0b0c1;background:#f1f4f8;border:1px solid #dce5ee;border-radius:8px;padding:12px 14px;font-size:12px;font-weight:700}.review-downloads p{color:#91a2b6;flex-basis:100%;margin:3px 0 0;font-size:11px}@media (width<=1100px){.workspace-panels{grid-template-columns:minmax(290px,40fr) minmax(480px,60fr);gap:14px}.review-tabs{gap:9px}.review-panel{padding-left:17px;padding-right:17px}.baseline-preview{grid-template-columns:1fr}.baseline-preview>div{min-height:0}}@media (width<=800px){.workspace{padding-top:24px}.workspace-heading{flex-direction:column;align-items:start;gap:16px}.heading-status{justify-content:start}.stage-progress{justify-content:start;margin:0 0 15px;padding:7px 4px 9px;overflow-x:auto}.workspace-panels{grid-template-columns:1fr}.panel{min-height:0}.conversation-panel{min-height:460px}.conversation-empty{min-height:250px;padding:30px}.review-panel{min-height:570px}.baseline-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=540px){.global-header{height:60px}.brand{font-size:16px}.brand-mark{width:26px;height:26px}.header-context{display:none}.review-tabs{gap:1px;padding:0;overflow-x:auto}.review-tab{padding-inline:9px;font-size:12px}.review-heading{flex-direction:column;align-items:start}.review-body{padding:20px}.baseline-preview{grid-template-columns:1fr}}
