@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#17201f;background:#f6f4ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(35,102,93,.16),transparent 32rem),radial-gradient(circle at 80% 0%,rgba(142,60,47,.12),transparent 30rem),#f6f4ef}.auth-card{width:min(100%,420px);display:grid;gap:18px;padding:28px;border:1px solid #d4cbbc;border-radius:14px;background:#fffdf8;box-shadow:0 24px 70px #17201f1f}.auth-card h1,.auth-card p{margin:0}.auth-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#23665d;color:#fffefa}.auth-form{display:grid;gap:4px}.auth-logout{width:100%}.app-shell{display:grid;grid-template-columns:minmax(300px,360px) 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:18px;padding:20px;background:#ece7dc;border-right:1px solid #d1c9ba;overflow-y:auto}.brand-row,.panel-title,.section-title{display:flex;align-items:center;gap:10px}.brand-row h1,.brand-row p,.panel-title h2,.section-title h3,.workspace-header h2{margin:0}.brand-row h1{font-size:20px}.runtime-card{display:grid;gap:3px;padding:10px 12px;border:1px solid #bfd0c6;border-radius:8px;background:#f8fbf7}.runtime-card.mock{border-color:#d69b3d;background:#fff6df}.runtime-card span,.runtime-card strong,.runtime-card small{overflow-wrap:anywhere}.runtime-card span{color:#65706b;font-size:12px;font-weight:800;text-transform:uppercase}.runtime-card strong{color:#17201f}.runtime-card small,.brand-row p,.muted,.eyebrow,.job-row small,.project-button small{color:#65706b}.tool-panel,.project-list,.work-section{border:1px solid #d4cbbc;border-radius:8px;background:#fffdf8}.tool-panel,.project-list{padding:14px}.panel-title{margin-bottom:12px}.panel-title h2,.section-title h3{font-size:15px}label{display:grid;gap:6px;margin-bottom:12px;color:#39443f;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #c8c1b5;border-radius:6px;padding:10px 11px;background:#fffefa;color:#17201f}textarea{resize:vertical}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-row{display:flex;align-items:center;gap:8px;min-height:66px}.check-row input{width:auto}.field-hint{margin:-4px 0 8px;font-size:.85rem;line-height:1.4;color:var(--muted, #6b7280)}.strategy-field-hint{display:inline-flex;align-items:center;gap:6px}.strategy-info{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}.strategy-info-trigger{width:22px;height:22px;display:inline-grid;place-items:center;border:1px solid #c8c1b5;border-radius:999px;padding:0;background:#fffefa;color:#23665d}.strategy-info-trigger:hover,.strategy-info-trigger:focus-visible{border-color:#23665d;color:#17201f}.strategy-info-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:min(240px,calc(100vw - 32px));display:grid;gap:6px;padding:8px;border:1px solid #cfc6b7;border-radius:8px;background:#fffdf8;box-shadow:0 14px 38px #17201f2e;opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity .12s ease,transform .12s ease}.strategy-info:hover .strategy-info-popover,.strategy-info:focus-within .strategy-info-popover{opacity:1;transform:translateY(0)}.strategy-info-popover span{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;align-items:start;padding:5px 6px}.strategy-info-popover strong{color:#65706b;font-size:10px;font-weight:900;letter-spacing:0;text-transform:uppercase}.strategy-info-popover small{color:#17201f;font-size:12px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.primary-button,.icon-text-button,.icon-button,.project-button{border:1px solid transparent;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button{width:100%;padding:11px 12px;background:#23665d;color:#fff;font-weight:800}.primary-button:disabled,.icon-text-button:disabled,.icon-button:disabled{opacity:.6;cursor:not-allowed}.compact{width:auto;min-width:112px}.icon-button{width:32px;height:32px;margin-left:auto;background:#fffefa;border-color:#c8c1b5}.icon-text-button{min-height:34px;padding:7px 10px;background:#fffefa;border-color:#c8c1b5;color:#17201f;text-decoration:none;font-weight:700}.icon-text-button.accent{background:#8e3c2f;color:#fffefa;border-color:#8e3c2f}.icon-text-button.danger{background:#b42318;color:#fffefa;border-color:#b42318}.project-list{min-height:160px}.project-button{width:100%;margin-bottom:8px;padding:10px;display:grid;gap:6px;background:#fffefa;border-color:#d4cbbc;text-align:left}.project-button-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0}.project-button-main{display:grid;gap:2px;min-width:0}.project-button-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.project-cost-summary{flex:0 0 auto;max-width:128px;text-align:right;overflow-wrap:anywhere}.project-model-summary{display:block;font-size:11px;line-height:1.25;overflow-wrap:anywhere}.project-hover-popover{position:fixed;z-index:50;width:min(260px,calc(100vw - 16px));display:grid;gap:6px;padding:8px;border:1px solid #cfc6b7;border-radius:8px;background:#fffdf8;box-shadow:0 14px 38px #17201f2e;pointer-events:none}.project-hover-popover span{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;align-items:start;min-width:0;padding:5px 6px}.project-hover-popover strong,.project-hover-popover small{overflow-wrap:anywhere}.project-hover-popover strong{color:#65706b;font-size:10px;font-weight:900;letter-spacing:0;text-transform:uppercase}.project-hover-popover small{color:#17201f;font-size:12px;font-weight:800;line-height:1.25}.project-button.active{border-color:#23665d;box-shadow:inset 3px 0 #23665d}.workspace{padding:22px;overflow:auto}.mock-banner{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px;padding:13px 14px;border:1px solid #d69b3d;border-radius:8px;background:#fff6df;color:#5a3c05;line-height:1.45}.mock-banner strong{margin-right:4px}.workspace-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.eyebrow{margin:0 0 4px;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.workspace-header h2{font-size:28px}.status-pill{border-radius:999px;background:#e2eddf;color:#23665d;padding:8px 12px;font-weight:800}.metrics-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px;margin-bottom:10px}.metric{display:grid;gap:4px;border:1px solid #d4cbbc;border-radius:8px;padding:12px;background:#fffdf8}.metric span{color:#65706b;font-size:12px}.metric strong{font-size:21px}.progress-track{height:10px;border-radius:999px;overflow:hidden;background:#ded8ca;margin-bottom:18px}.progress-track div{height:100%;background:#d69b3d;transition:width .2s ease}.main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:16px;align-items:start}.work-section{padding:16px}.section-title{margin-bottom:14px;flex-wrap:wrap}.section-title .icon-text-button:first-of-type{margin-left:auto}.section-title .job-controls .icon-text-button:first-of-type{margin-left:0}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plan-grid h4,.chapter-list h4{margin:0 0 6px}.plan-grid p,.chapter-list p{margin:0;line-height:1.5}ul{padding-left:18px;margin:0}li{margin-bottom:5px}.chapter-list{display:grid;gap:8px;margin-top:14px}.plan-question-stepper{display:grid;gap:10px;margin-top:14px;padding:12px;border:1px solid #e2dbcf;border-radius:8px;background:#faf8f3}.question-stepper-header,.question-card-heading,.question-actions{display:flex;align-items:center;gap:8px}.question-stepper-header{justify-content:space-between}.question-stepper-header h4{margin:0;font-size:13px}.question-stepper-header span,.question-card-heading small,.question-state{color:#65706b;font-size:12px;font-weight:800}.question-steps{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}.question-step{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #c8c1b5;border-radius:999px;background:#fffefa;color:#65706b;font-size:12px;font-weight:900}.question-step.active{border-color:#23665d;color:#23665d;box-shadow:0 0 0 2px #cfe0d6}.question-step.answered{background:#e2eddf;color:#23665d}.question-step.skipped{background:#f6ead9;color:#8e3c2f}.question-card{display:grid;gap:10px}.question-card-heading{justify-content:space-between}.question-state{padding:3px 8px;border-radius:999px;background:#ebe6dc;text-transform:capitalize}.question-state.answered{background:#e2eddf;color:#23665d}.question-state.skipped{background:#f6ead9;color:#8e3c2f}.question-card p{margin:0;line-height:1.5}.answer-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.answer-option{min-height:44px;padding:10px;border:1px solid #d4cbbc;border-radius:6px;background:#fffefa;color:#17201f;font-weight:700;line-height:1.35;overflow-wrap:anywhere;text-align:left}.answer-option.selected{border-color:#23665d;background:#edf5ea;box-shadow:inset 3px 0 #23665d}.custom-answer{margin-bottom:0}.question-actions{flex-wrap:wrap}.question-actions .icon-text-button.accent{margin-left:auto}.chapter-list article{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:start;padding:10px;border:1px solid #e2dbcf;border-radius:6px;background:#fffefa}.chapter-list article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#e2eddf;color:#23665d;font-weight:900}.chapter-list small{color:#8e3c2f;font-weight:800}.revision-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:14px;align-items:stretch}.pipeline-stepper{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;padding:10px;border:1px solid #e2dbcf;border-radius:6px;background:#faf8f3}.pipeline-step{display:flex;align-items:flex-start;gap:6px;flex:1 1 140px;min-width:120px;padding-right:8px;border-right:1px solid #e8e2d6}.pipeline-step.last{border-right:none}.pipeline-step-body{display:flex;flex-direction:column;gap:2px;min-width:0}.pipeline-step-body strong{font-size:.82rem}.pipeline-step-body small{color:#6a6458;font-size:.72rem}.pipeline-icon.done{color:#2d6a4f}.pipeline-icon.failed{color:#b42318}.pipeline-icon.pending{color:#a39b8c}.pipeline-step.status-active .pipeline-step-body strong{color:#9a3412}.jobs-list{display:grid;gap:8px}.job-controls{display:inline-flex;flex-wrap:wrap;gap:8px;margin-left:auto}.job-strategy-summary{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:10px;border:1px solid #e2dbcf;border-radius:6px;background:#fffefa;color:#5c564c}.job-strategy-summary svg{flex:0 0 auto;color:#c96f2d}.job-strategy-summary div{display:grid;gap:2px;min-width:0}.job-strategy-summary span,.job-strategy-summary small{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#8b8376}.job-strategy-summary strong{font-size:.86rem;color:#2f2a23}.job-strategy-summary small{margin-left:auto;white-space:nowrap}.job-row{display:grid;gap:6px;padding:10px;border:1px solid #e2dbcf;border-radius:6px;background:#fffefa}.job-row-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.job-title{display:inline-flex;align-items:center;gap:6px;min-width:0}.job-page-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#2f2a23;color:#fffefa;font-size:.76rem;font-weight:800;line-height:1}.job-type{font-size:.82rem;font-weight:600;overflow:hidden;text-overflow:ellipsis}.job-status-pill{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 8px;border-radius:999px;background:#ebe6dc;color:#5c564c}.job-status-pill.status-active{background:#fde8d8;color:#9a3412}.job-status-pill.status-completed{background:#d8f3e5;color:#1b5e3b}.job-status-pill.status-failed{background:#fde2e2;color:#9b1c1c}.job-progress-bar{height:4px;border-radius:999px;background:#ebe6dc;overflow:hidden}.job-progress-bar>div{height:100%;background:linear-gradient(90deg,#c96f2d,#e89b4d);transition:width .35s ease}.job-message,.job-token-usage,.job-provider-duration,.job-timing{overflow-wrap:anywhere;color:#6a6458;font-size:.75rem}.job-token-usage,.job-provider-duration{font-weight:700}.job-steps{list-style:none;margin:6px 0 0;padding:8px 0 0;display:grid;gap:5px;border-top:1px dashed #e2dbcf}.job-steps.expanded{background:#faf8f3;margin-left:-4px;margin-right:-4px;padding:8px 8px 4px;border-radius:4px;border-top:none}.job-step{display:flex;align-items:center;gap:6px;font-size:.75rem;color:#6a6458}.job-step.status-active{color:#9a3412;font-weight:600}.job-step.status-done{color:#2d6a4f}.job-step.status-failed{color:#b42318}.prompt-panel,.plan-messages,.prompt-log article{border:1px solid #e2dbcf;border-radius:8px;background:#fffdf8}.prompt-panel{padding:12px 14px;margin-bottom:14px}.saved-prompt{margin:8px 0 0;white-space:pre-wrap;line-height:1.5}.plan-messages{padding:12px 14px;margin-top:12px}.plan-messages h4,.prompt-log h4{margin:0 0 8px;font-size:13px}.plan-messages ul,.prompt-log{margin:0;padding:0;list-style:none}.plan-messages li+li{margin-top:10px;padding-top:10px;border-top:1px solid #ece7dc}.plan-messages p{margin:4px 0 0;white-space:pre-wrap}.prompt-log{display:flex;flex-direction:column;gap:10px}.prompt-log article{padding:10px 12px}.prompt-log pre{margin:0;white-space:pre-wrap;font-size:12px;line-height:1.45;color:#3f4a47}.preview-grid{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.4fr) minmax(240px,.8fr) minmax(240px,.8fr);gap:16px;margin-top:16px}.markdown-preview{max-height:620px;overflow:auto;margin:0;padding:14px;border-radius:6px;background:#1f2523;color:#f6f4ef;white-space:pre-wrap;line-height:1.5}.image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}figure{margin:0;border:1px solid #e2dbcf;border-radius:6px;overflow:hidden;background:#fffefa}figure img{width:100%;aspect-ratio:4 / 3;object-fit:cover;display:block}.cover-preview img{aspect-ratio:3 / 4}.cover-placeholder{display:grid;place-items:center;min-height:320px;border:1px dashed #c8c1b5;border-radius:6px;background:#faf8f3;color:#65706b;text-align:center;padding:18px;line-height:1.4}figcaption{padding:8px;font-size:12px;font-weight:800}.empty-state,.error-banner{border-radius:8px;padding:16px;background:#fffdf8;border:1px solid #d4cbbc}.error-banner{margin-bottom:14px;color:#8e3c2f;border-color:#c28b7f}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:980px){.app-shell,.main-grid,.preview-grid{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #d1c9ba}}@media(max-width:620px){.workspace,.sidebar{padding:14px}.metrics-row,.plan-grid,.answer-options,.two-col,.revision-row{grid-template-columns:1fr}.workspace-header{display:grid}.question-actions .icon-text-button.accent{margin-left:0}}
