*{box-sizing:border-box} [hidden]{display:none!important}
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#202e42;background:#f2f5f9;font-synthesis:none}
body{margin:0}button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;font-weight:600;border-radius:8px;padding:10px 14px;transition:background .15s}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #82baff;outline-offset:2px}a{color:#24609c;text-decoration:none}h1,h2,p{margin:0}h2{font-size:16px}button:hover:not(:disabled){filter:brightness(.96)}.primary{background:#235b92;color:white}.secondary{background:#edf2f8;color:#305679;border:1px solid #d5dfe9}.quiet{background:transparent;color:#5b6a7e;font-size:12px;padding:8px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.35px;color:#678097;margin-bottom:10px}.muted{color:#6a7789;font-size:13px;line-height:1.55}.small-text{font-size:11px}.error{color:#a13737;font-size:13px;min-height:20px}.brand-mark{width:58px;height:58px;background:#fff2;border:1px solid #ffffff30;border-radius:15px;display:grid;place-items:center;font-size:26px;font-weight:700;color:white;margin-bottom:48px}.brand-mark.small{width:36px;height:36px;border-radius:9px;background:#235b92;border:0;font-size:18px;margin:0}.login-wrap{display:grid;grid-template-columns:1.1fr 1fr;min-height:100dvh}.intro{background:#16395a;padding:9vh 10%;display:flex;flex-direction:column;justify-content:center;color:white}.intro .eyebrow{color:#a6c4dd}.intro h1{font-size:clamp(32px,4.3vw,65px);line-height:1.12;letter-spacing:-1.6px;margin:10px 0 26px}.intro>p:not(.eyebrow){max-width:385px;font-size:16px;line-height:1.7;color:#bcd0e3}.intro-steps{display:flex;gap:22px;font-size:11px;color:#bcd0e3;margin-top:50px;flex-wrap:wrap}.login-card{align-self:center;justify-self:center;width:min(400px,82%)}.login-card h2{font-size:28px;margin:10px 0}.login-card label{display:block;font-size:12px;font-weight:600;margin:25px 0 0}.login-card input{display:block;width:100%;margin-top:8px;padding:13px;border:1px solid #c9d4df;border-radius:8px;background:white}.login-card button{display:flex;justify-content:space-between;width:100%;margin:24px 0 16px;padding:14px}.login-note{font-size:11px;color:#8290a1;line-height:1.7;border-top:1px solid #dce3eb;margin-top:25px;padding-top:20px}.topbar{height:66px;background:white;border-bottom:1px solid #dce3ed;display:flex;align-items:center;gap:30px;padding:0 24px}.brand{display:flex;align-items:center;gap:10px;color:#243b51;font-weight:700;font-size:18px}.brand small{display:block;font-size:10px;font-weight:500;color:#7b899c;margin-top:2px}.top-meta{display:flex;align-items:center;gap:7px;color:#718195;font-size:11px;margin-left:auto}.status-dot{width:6px;height:6px;background:#3d9275;border-radius:50%}.project-tag{margin:0 14px;padding:5px 10px;border:1px solid #d8e1ec;border-radius:5px}.user-menu{display:flex;align-items:center;gap:12px;font-size:12px;border-left:1px solid #dce3ed;padding-left:18px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 24px 22px;gap:15px}.workspace-heading h1{font-size:23px;letter-spacing:-.4px}.workspace-heading .eyebrow{font-size:9px;margin-bottom:7px}.workspace-status{text-align:right}.workspace-status small{display:block;font-size:10px;color:#718195;margin-top:7px}.pill{display:inline-block;background:#e8eef5;color:#536b84;padding:6px 10px;border-radius:30px;font-size:11px;font-weight:600}.pill.on{background:#e4f2ed;color:#246f55}.desk{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;margin:0 24px 24px;position:relative;align-items:start}.panel{background:white;border:1px solid #d9e2ee;border-radius:12px;overflow:hidden;box-shadow:0 3px 9px #1f365307}.panel-heading{padding:18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e7edf4}.panel-heading p,.preview-toolbar p{font-size:11px;color:#7a899b;margin-top:5px}.language{font-size:10px;border:1px solid #dce3ed;padding:5px 6px;border-radius:4px;color:#718195}.chat-panel{display:flex;flex-direction:column;min-height:680px;max-height:calc(100dvh - 169px)}.chat-log{padding:18px;flex:1;min-height:160px;overflow-y:auto;scrollbar-width:thin}.welcome{padding:15px 0 28px}.welcome .welcome-icon{display:grid;place-items:center;width:32px;height:32px;background:#ebf3fb;color:#4078a9;border-radius:10px;margin-bottom:13px;font-weight:700}.welcome h3{font-size:14px;margin:0 0 10px}.welcome p{font-size:12px;line-height:1.7;color:#6e7d90}.suggestions{display:grid;gap:8px;margin-top:18px}.suggestions button{text-align:left;background:white;border:1px solid #dae4ef;font-size:11px;font-weight:500;color:#52718f;line-height:1.5}.message{font-size:12px;line-height:1.65;padding:12px;margin-bottom:12px;border-radius:9px;border:1px solid #e4ebf2;background:#f7f9fc;white-space:pre-wrap;overflow-wrap:anywhere}.message.user,.message.note{background:#edf4fc;border-color:#dae6f5}.message.system{background:#f5f8f5;font-size:11px;color:#60786c}.message small{display:block;margin-bottom:5px;font-size:10px;color:#7b8b9c}.message button{display:block;font-size:11px;margin-top:8px}.composer{border-top:1px solid #e4ebf2;padding:16px}.composer label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}.composer textarea{width:100%;resize:vertical;min-height:100px;max-height:220px;border:1px solid #cdd9e5;border-radius:8px;padding:11px;font-size:12px;line-height:1.65;color:#293e54;background:#fdfefe}.composer textarea::placeholder{color:#92a0af}.composer-count{display:flex;justify-content:space-between;font-size:9px;color:#94a0af;margin:6px 0 11px}.composer-actions{display:flex;gap:7px}.composer-actions button{font-size:11px;padding:10px 8px;flex:1}.composer-hint,.composer .small-text{margin-top:10px}.budget{padding:13px 16px;background:#f9fbfd;border-top:1px solid #e7edf4;font-size:10px;color:#7b8a9c}.budget summary{cursor:pointer}.budget summary span{float:right}.budget p{margin-top:9px;line-height:1.65}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;gap:10px}.preview-actions{display:flex;gap:7px}.preview-actions button{font-size:11px}.device-toolbar{padding:10px 16px;border-top:1px solid #e7edf4;border-bottom:1px solid #e7edf4;display:flex;align-items:center;gap:14px;background:#fbfcfe}.device-toolbar>span{font-size:10px;color:#8b97a5;flex:1}.segmented{display:flex;padding:3px;background:#edf1f6;border-radius:7px}.segmented button{background:none;color:#7b899b;font-size:10px;padding:6px 9px}.segmented .selected{background:white;color:#315b84;box-shadow:0 1px 4px #1c37521a}.frame-stage{height:calc(100dvh - 287px);min-height:525px;background:#e8edf3;display:flex;justify-content:center;overflow:auto;padding:14px}.frame-stage iframe{display:block;border:1px solid #c8d3df;width:100%;height:100%;background:white;border-radius:5px;min-height:495px}.frame-stage.phone iframe{width:390px;flex:none;max-width:100%}.preview-footer{padding:10px 16px;display:flex;justify-content:space-between;font-size:9px;color:#8a98a8;gap:10px;border-top:1px solid #e7edf4}.draft-bar{display:flex;align-items:center;gap:10px;background:#fff7e7;border-top:1px solid #efdfba;padding:12px 18px;font-size:12px}.draft-bar>div{flex:1}.draft-bar p{font-size:11px;color:#8a7451;margin-top:5px}.draft-bar button{font-size:11px}.notice{margin:0 24px 16px;padding:11px 15px;background:#fff4dc;color:#82632c;border:1px solid #eeddb7;border-radius:8px;font-size:12px}.history-panel{position:absolute;right:0;top:0;width:340px;max-height:100%;z-index:2;box-shadow:0 10px 35px #223b5633;overflow:auto}.version-card{padding:16px;border-bottom:1px solid #edf1f7;font-size:12px}.version-card p{margin:8px 0;color:#718196;font-size:11px;line-height:1.5;white-space:pre-wrap}.version-card small{font-size:9px;color:#8a99aa}.version-card button{display:block;margin-top:10px;font-size:11px}.mobile-tabs{display:none}
@media(min-width:1600px){.desk{grid-template-columns:380px minmax(0,1fr)}}
@media(max-width:1080px){.desk{grid-template-columns:300px minmax(0,1fr);gap:12px;margin:0 14px 14px}.workspace-heading{margin:22px 14px}.topbar{padding:0 14px}.top-meta{display:none}.user-menu{margin-left:auto}.device-toolbar>span{display:none}.preview-toolbar{padding:14px 10px}.preview-actions{gap:0}.preview-actions .quiet{display:none}.frame-stage{padding:7px}.workspace-heading h1{font-size:20px}.chat-panel{min-height:680px}}
@media(max-width:760px){.login-wrap{display:block}.intro{padding:30px 26px}.intro .brand-mark{margin-bottom:20px;width:42px;height:42px}.intro h1{font-size:34px}.intro h1 br{display:none}.intro h1 br:after{content:' '}.intro>p:not(.eyebrow){font-size:13px}.intro-steps{margin-top:20px;font-size:10px}.login-card{padding:34px 0;margin:auto;width:calc(100% - 48px)}.topbar{height:60px}.brand{font-size:15px}.brand small{font-size:9px}.user-menu{font-size:11px;padding-left:10px;gap:5px}.workspace-heading{align-items:flex-start;margin:18px 14px}.workspace-heading h1{font-size:19px;max-width:200px}.workspace-heading .eyebrow{font-size:8px;max-width:200px;line-height:1.6}.workspace-status small{font-size:8px}.pill{font-size:9px}.mobile-tabs{display:flex;margin:0 14px 12px;gap:5px;border-bottom:1px solid #d3deea}.mobile-tabs button{flex:1;background:none;color:#8290a1;border-radius:0;font-size:12px;padding:12px 5px}.mobile-tabs button.selected{color:#235b92;border-bottom:2px solid #235b92}.desk{display:block;margin:0 10px 12px}.desk[data-pane=preview] .chat-panel,.desk[data-pane=chat] .preview-panel,.desk[data-pane=history] .chat-panel,.desk[data-pane=history] .preview-panel{display:none}.desk[data-pane=chat] .chat-panel{min-height:calc(100dvh - 220px);max-height:none}.chat-log{max-height:50dvh}.preview-toolbar{padding:12px}.preview-toolbar h2{font-size:14px}.preview-actions button{font-size:10px}.device-toolbar{padding:7px 10px;justify-content:space-between}.device-toolbar a{font-size:10px}.frame-stage{height:calc(100dvh - 340px);min-height:500px;padding:0}.frame-stage iframe{min-height:500px;border:0;border-radius:0}.preview-footer{font-size:8px;padding:8px;flex-wrap:wrap}.draft-bar{flex-wrap:wrap;padding:12px}.draft-bar>div{flex:1 0 100%}.history-panel{position:static;width:100%;max-height:none;box-shadow:none}.notice{margin:0 14px 12px;font-size:11px}.composer textarea{font-size:16px}.composer-actions button{font-size:12px}.budget{font-size:11px}.message{font-size:13px}}

.access-panel{margin:0 24px 20px;max-width:760px}.access-form{padding:20px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.access-form>p,.access-actions{grid-column:1/-1}.access-form label{font-size:12px;font-weight:600}.access-form input{display:block;width:100%;margin-top:8px;border:1px solid #c9d4df;border-radius:8px;padding:12px}.access-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:760px){.access-panel{margin:0 10px 16px}.access-form{grid-template-columns:1fr}.access-form input{font-size:16px}.user-menu{flex-wrap:wrap;justify-content:flex-end;gap:0}.user-menu>span{display:none}.user-menu button{padding:7px 5px}}
