:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;color:#202733;background:#f7f8fa;font-synthesis:none;--muted:#9299a6;--blue:#4266e8;--line:#eceef3;--green:#38846a}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #99acff;outline-offset:4px}a{color:inherit}.site-header{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:21px;letter-spacing:-.6px;font-weight:500}.brand b{font-weight:700}.brand-mark{background:#25334d;color:#fff;font-size:23px;font-weight:700;border-radius:10px;width:36px;height:36px;display:grid;place-content:center;position:relative;letter-spacing:-3px;padding-right:3px}.brand-mark>span{color:#b6c8ff;display:contents}.site-header nav{height:100%;display:flex;gap:42px}.nav-item{position:relative;border:0;background:none;color:#858c99;padding:0 4px;font-size:14px}.nav-item.active{color:#29334a;font-weight:600}.nav-item.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--blue);border-radius:4px 4px 0 0}#approval-count{background:#eef1fa;color:#60739e;font-size:11px;border-radius:5px;padding:2px 5px;margin-left:4px}.account{display:flex;align-items:center;gap:10px;background:none;border:0;font-size:13px;color:#636d7e}.avatar{width:29px;height:29px;background:#eee8dd;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#867554}.chevron{color:#a4a9b2;margin-left:7px}main{max-width:1400px;margin:auto;padding:45px 4.5% 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8c95a5;font-weight:600}.page-heading h1{font-size:30px;font-weight:600;letter-spacing:-1px;margin:12px 0 10px;line-height:1.4}.period{color:var(--blue);padding-left:4px}.page-heading p{font-size:13px;color:#8c94a1;margin:0}.button{border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:500;min-height:41px;padding:10px 18px;transition:background .18s,transform .18s}.button:hover{transform:translateY(-1px)}.button.dark{background:#28354d;color:#fff;box-shadow:0 3px 5px #202d4510}.button.dark:hover{background:#364764}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:#3559d9}.button.ghost{background:white;border-color:#e2e6ef;color:#687282}.button.danger{background:#fff6ef;border-color:#ecd8c6;color:#af733b}.workspace{min-height:610px;background:white;border:1px solid #e6e9ef;border-radius:13px;display:grid;grid-template-columns:272px minmax(0,1fr);box-shadow:0 4px 18px #28344b03;overflow:hidden}.story-sidebar{border-right:1px solid var(--line);padding:24px 16px;display:flex;flex-direction:column}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:0 8px;margin-bottom:18px}.sidebar-heading h2{font-size:14px;font-weight:600;margin:0}.sidebar-heading>span{font-size:11px;background:#f3f5f8;color:#8792a2;padding:3px 7px;border-radius:5px}.search-field{display:flex;gap:7px;align-items:center;background:#f6f7f9;border-radius:6px;color:#939aaa;padding:8px 10px;margin:0 5px}.search-field>span{font-size:19px;line-height:16px}.search-field input{width:100%;border:0;background:none;outline:0;font-size:12px;color:#4e5b70}.search-field input::placeholder{color:#a6adba}.filter-row{display:flex;align-items:center;justify-content:space-between;margin:15px 8px 19px;color:#9aa2af;font-size:10px}.filter-row select{border:0;background:none;color:#919aa7;font-size:11px;max-width:126px;padding:3px 0}.story-item{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;padding:17px 13px;margin-bottom:7px;position:relative;color:#2d3748}.story-item.selected{background:#f0f3fc;border-color:#e6ebfc}.story-item.selected:before{content:'';height:22px;width:3px;position:absolute;left:-1px;top:19px;background:var(--blue);border-radius:2px}.story-item:hover:not(.selected){background:#f8f9fb}.story-item-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.story-title{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.story-sub{font-size:10px;color:#929baa;margin-top:9px;display:flex;align-items:center;gap:9px}.story-sub .dot{height:3px;width:3px;background:#c1c7d1;border-radius:50%}.status{font-size:10px;white-space:nowrap;font-weight:400;padding:3px 6px;border-radius:4px;background:#f1f3f6;color:#9098a5}.status.review{color:#b28a4c;background:#fbf6e9}.status.done{color:var(--green);background:#edf6f1}.status.returned{color:#b9734b;background:#fff1e8}.sidebar-foot{margin-top:auto;padding:34px 7px 0;font-size:10px;display:flex;align-items:center;gap:7px;color:#a2a9b5}.live-dot{height:5px;width:5px;background:#9bb8ac;border-radius:50%}.story-workspace{padding:32px 36px 25px;min-width:0}.story-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.story-heading h2{font-size:25px;letter-spacing:-.6px;font-weight:600;margin:0 0 10px;overflow-wrap:anywhere}.story-meta{display:flex;align-items:center;gap:9px;font-size:10px;color:#a2a9b6}.project-label{background:#f0f2f7;padding:3px 6px;color:#7c879c;border-radius:4px;font-size:10px}.text-button{border:0;background:none;font-size:11px;color:#96a0b0;display:flex;align-items:center;gap:6px;padding:6px 0;white-space:nowrap}.text-button:hover{color:var(--blue)}.steps{display:flex;list-style:none;padding:0;margin:35px 0 0;position:relative}.steps li{flex:1;position:relative;min-width:0}.steps li:not(:last-child):after{content:'';position:absolute;height:1px;background:#e7eaf1;top:13px;left:calc(50% + 19px);right:calc(-50% + 19px)}.step{background:none;border:0;width:100%;display:flex;align-items:center;flex-direction:column;gap:10px;color:#a5adba;font-size:11px;padding:0;position:relative;z-index:1}.step-number{border-radius:50%;height:27px;width:27px;display:grid;place-items:center;border:1px solid #e7eaf0;background:#fff;font-size:10px}.step.active{color:var(--blue);font-weight:600}.step.active .step-number{border-color:var(--blue);background:var(--blue);color:white;box-shadow:0 0 0 4px #f0f3ff}.step.complete .step-number{background:#eff6f2;color:#649c80;border-color:#e4f0e9}.step:hover{color:#53689e}.stage{border-top:1px solid var(--line);margin-top:28px;padding:34px 4px 0;min-height:330px}.stage-label{font-size:10px;letter-spacing:1.8px;color:#9aa4b4;text-transform:uppercase}.stage h3{font-size:25px;line-height:1.5;margin:12px 0 9px;font-weight:550;letter-spacing:-.5px}.stage-description{font-size:12px;line-height:1.9;color:#9099a8;margin:0;max-width:460px}.stage-hero{margin-bottom:23px}.stage-actions{display:flex;align-items:center;gap:17px;margin-top:24px;flex-wrap:wrap}.stage-actions .button{min-width:146px}.inline-link{background:none;border:0;font-size:11px;color:#909aaa;padding:8px 0}.inline-link:hover{color:var(--blue)}.stage-illustration{width:49px;height:49px;border-radius:12px;background:#f0f3fb;display:grid;place-items:center;color:#6e83ba;margin:2px 0 20px}.stage-illustration svg{width:23px;height:23px;stroke-width:1.5}.workspace-foot{border-top:1px solid var(--line);margin-top:14px;padding-top:17px;display:flex;gap:8px;font-size:10px;color:#a0a9b8;align-items:center}.workspace-foot svg{width:13px;height:13px}.resource{margin-top:17px;max-width:500px;border:1px solid var(--line);border-radius:7px;padding:13px 15px;display:flex;align-items:center;gap:12px;text-decoration:none}.resource:hover{border-color:#c5d0f1}.resource svg{width:20px;height:20px;color:#6a83ba}.resource div{flex:1;min-width:0}.resource strong{font-size:12px;display:block;font-weight:500}.resource span{display:block;font-size:10px;color:#9ba4b2;margin-top:5px}.resource>span{font-size:16px}.help-panel{background:#f7f8fb;border:1px solid #eef0f5;border-radius:7px;padding:15px 17px;font-size:12px;line-height:1.9;color:#7b879b;margin-top:18px;max-width:560px}.help-panel strong{display:block;color:#576781;font-weight:500;margin-bottom:5px}.feedback{border-left:3px solid #d7a770;background:#fdf8f0;padding:12px 16px;border-radius:0 6px 6px 0;font-size:12px;color:#9e7b4e;line-height:1.8;margin:17px 0}.feedback strong{display:block;font-size:10px;margin-bottom:4px}.empty-state{padding:70px 25px;text-align:center;color:#9aa3b3;font-size:13px;line-height:2}.no-results{font-size:11px;text-align:center;color:#9ba5b4;padding:28px 0}.record{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.9;color:#647186}.record small{display:block;color:#a1a8b4;font-size:10px}.record strong{font-weight:500;color:#3d4960}.review-box{max-width:550px;margin-top:24px}.review-box textarea{min-height:80px}.review-box>label{font-size:11px;color:#7b879b;display:block;margin-bottom:7px}dialog{border:1px solid #e7ebf2;border-radius:15px;width:min(560px,calc(100% - 32px));padding:0;color:#263349;box-shadow:0 30px 100px #182c4d25;max-height:90dvh}dialog::backdrop{background:#1d2c4755;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:26px 30px 18px}.dialog-heading h2{font-size:22px;font-weight:550;margin:8px 0 0}.icon-button{height:30px;width:30px;font-size:24px;color:#99a1af;background:none;border:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 30px 25px;border-top:1px solid var(--line)}#dialog-body{padding:0 30px 25px;max-height:62dvh;overflow:auto}.field{margin-top:17px}.field label{font-size:12px;display:block;margin-bottom:8px;color:#616d81}.field input,.field textarea,.field select,.review-box textarea{width:100%;border:1px solid #e2e6ee;background:#fff;border-radius:7px;padding:11px 12px;color:#344056;font-size:12px;outline:0}.field input:focus,.field textarea:focus,.field select:focus,.review-box textarea:focus{border-color:#93a8ee;box-shadow:0 0 0 3px #4266e80b}.field textarea{min-height:90px;resize:vertical;line-height:1.8}.field input::placeholder,.field textarea::placeholder{color:#a9b0bd}.field small{display:block;font-size:10px;color:#9ba5b5;line-height:1.8;margin-top:7px}.dialog-help{background:#f6f8fc;border-radius:7px;padding:13px 15px;margin-top:13px;font-size:11px;color:#7b88a0;line-height:1.9}.dialog-help strong{font-weight:500;color:#596d92}.details-help{margin-top:16px;color:#8e9aad;font-size:11px;line-height:1.9}.details-help summary{cursor:pointer}.details-help>div{padding-top:8px}#toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,20px);background:#2d3b53;color:white;border-radius:8px;padding:12px 20px;box-shadow:0 5px 20px #21304c20;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;width:max-content;max-width:90%;line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){main{padding-top:57px}.workspace{min-height:650px}.stage{padding-top:43px;min-height:360px}.story-workspace{padding:38px 44px}}@media(max-width:1100px){.workspace{grid-template-columns:235px minmax(0,1fr)}.story-workspace{padding:27px 24px}.page-heading h1{font-size:27px}.site-header{padding:0 4%}.site-header nav{gap:24px}.account>span:not(.avatar){display:none}}@media(max-width:760px){.site-header{height:68px;padding:0 22px;gap:10px}.brand{font-size:18px;gap:8px}.brand-mark{height:31px;width:31px;font-size:21px}.site-header nav{gap:19px;margin-left:auto}.nav-item{font-size:12px;padding:0}.account{padding:0;margin-left:10px}.avatar{height:25px;width:25px}.account>span:not(.avatar){display:none}#approval-count{font-size:9px;padding:1px 4px;margin-left:2px}main{padding:30px 19px 0}.page-heading{align-items:flex-start;gap:8px;margin-bottom:25px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.page-heading h1{font-size:23px;margin-top:10px;letter-spacing:-.8px}.page-heading p{font-size:11px;max-width:215px;line-height:1.8}.page-heading>.button{min-height:34px;font-size:11px;padding:7px 10px;margin-top:27px;white-space:nowrap;gap:4px}.workspace{display:flex;flex-direction:column;min-height:0;border-radius:11px}.story-sidebar{padding:17px 16px 11px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-heading{margin-bottom:12px}.search-field{display:none}.filter-row{margin:0 7px 9px}#story-list{display:flex;overflow-x:auto;gap:7px;padding:3px 1px 6px;scrollbar-width:thin}.story-item{flex:0 0 185px;margin:0;padding:12px 10px;background:#fafbfc}.story-item.selected:before{height:17px;top:12px}.story-title{font-size:11px}.story-sub{font-size:9px;margin-top:6px}.status{font-size:9px;padding:2px 4px}.sidebar-foot{display:none}.story-workspace{padding:24px 19px 22px}.story-heading h2{font-size:23px}.story-meta{font-size:9px}.story-heading>.text-button{font-size:10px}.steps{margin-top:28px}.step{font-size:9px;gap:9px;white-space:nowrap}.step-number{height:23px;width:23px;font-size:9px}.steps li:not(:last-child):after{top:11px;left:calc(50% + 15px);right:calc(-50% + 15px)}.stage{margin-top:24px;padding:27px 0 0;min-height:290px}.stage-label{font-size:9px;letter-spacing:1.4px}.stage h3{font-size:23px}.stage-description{font-size:11px}.stage-illustration{height:43px;width:43px;margin-bottom:17px}.stage-actions{gap:14px;margin-top:22px}.stage-actions .button{min-height:43px}.workspace-foot{font-size:9px;line-height:1.8}.preview-label{margin-left:0;width:100%;font-size:9px}footer{gap:14px;padding-top:20px}footer button{margin-left:auto}.dialog-heading{padding:23px 22px 16px}#dialog-body{padding:0 22px 22px}.dialog-actions{padding:18px 22px 22px}.help-panel{font-size:11px;padding:12px 14px}.resource{padding:12px}.resource strong{font-size:11px}.stage-actions .button.primary:only-child{width:100%}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.text-button svg{width:14px;height:14px;flex-shrink:0}
.workspace-toolbar{display:flex;justify-content:flex-end;margin-bottom:18px}.workspace-toolbar .button{min-height:38px}@media(max-width:760px){.workspace-toolbar{margin-bottom:15px}.workspace-toolbar .button{min-height:36px;padding:8px 13px;font-size:12px}}
.project-picker{border:0;padding:0;margin:21px 0 0;min-width:0}.project-picker legend{font-size:12px;color:#616d81;padding:0;margin-bottom:10px}.project-picker legend span{font-size:10px;color:#9ba5b5;margin-left:8px}#project-options{display:flex;flex-wrap:wrap;gap:8px;max-height:180px;overflow:auto;padding:3px}.project-option{display:flex;align-items:center;gap:7px;border:1px solid #e2e6ee;border-radius:6px;padding:9px 12px;font-size:12px;color:#677489;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.project-option:has(input:checked){background:#f0f3ff;color:#4266e8;border-color:#aabcf8}.project-option input{accent-color:#4266e8;width:14px;height:14px;flex-shrink:0;margin:0}.project-option:focus-within{outline:2px solid #99acff;outline-offset:2px}.project-create{display:flex;gap:8px;margin-top:13px}.project-create input{flex:1;min-width:0;border:1px solid #e2e6ee;border-radius:7px;padding:10px 12px;font-size:12px;color:#344056;outline:0}.project-create input:focus{border-color:#93a8ee;box-shadow:0 0 0 3px #4266e80b}.project-create input::placeholder{color:#a9b0bd}.project-create button{white-space:nowrap;font-size:12px;min-height:38px;padding:8px 13px}.project-message{min-height:17px;margin:7px 0 0;color:#7c8ca8;font-size:10px;line-height:1.7}.story-sub>span:first-child{min-width:0;overflow-wrap:anywhere}.story-meta{flex-wrap:wrap}.project-label{overflow-wrap:anywhere;max-width:100%}
.custom-dropdown{position:relative;min-width:0}.dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:41px;border:1px solid #e2e6ee;border-radius:7px;background:#fff;padding:10px 12px;color:#526079;font-size:12px;text-align:left}.dropdown-trigger:hover{border-color:#b8c6e7;background:#fafbff}.dropdown-trigger[aria-expanded="true"]{border-color:#9db0ef;box-shadow:0 0 0 3px #4266e80b}.dropdown-trigger svg{height:14px;width:14px;flex-shrink:0;color:#8592a9;transition:transform .15s}.dropdown-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}.dropdown-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact .dropdown-trigger{min-height:31px;background:#f7f8fb;border-color:#edf0f5;padding:6px 10px;font-size:11px;max-width:155px}.compact .dropdown-trigger:hover{background:#eef2fa;border-color:#dce3f4}.filter-row{gap:10px}.filter-row>span{white-space:nowrap;font-size:10px}#project-filter-control{min-width:0;flex:1}.custom-dropdown>input[role="combobox"]{padding-right:43px}.custom-dropdown:has(input[role="combobox"])>.dropdown-trigger{position:absolute;right:1px;top:1px;bottom:1px;min-height:0;width:36px;border:0;padding:8px;background:transparent;box-shadow:none;justify-content:center}.dropdown-menu{position:fixed;margin:0;padding:6px;border:1px solid #e5eaf3;border-radius:10px;background:#fff;box-shadow:0 12px 36px #243c6420,0 2px 7px #243c6408;overflow:auto;overscroll-behavior:contain;color:#536079}.dropdown-menu::backdrop{background:transparent}.dropdown-option{border:0;border-radius:6px;background:transparent;width:100%;min-height:37px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#64728a;font-size:12px;line-height:1.5;text-align:left;overflow-wrap:anywhere}.dropdown-option:hover,.dropdown-option:focus-visible{background:#f4f6fb;color:#344767;outline:none}.dropdown-option[aria-selected="true"]{background:#eff3ff;color:#4266e8;font-weight:500}.dropdown-check{color:#4266e8;font-size:13px;min-width:12px;flex-shrink:0}.dropdown-empty{padding:12px;color:#9aa5b7;font-size:11px}.dropdown-menu:popover-open{animation:dropdown-in .12s ease-out}@keyframes dropdown-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.dropdown-option{min-height:44px}.compact .dropdown-trigger{min-height:34px}.dropdown-menu{border-radius:9px}}
.login-page{min-height:100dvh;background:#f6f7fa}.login-shell{max-width:460px;padding:65px 24px 30px;display:flex;flex-direction:column;align-items:center;gap:32px}.login-card{background:#fff;border:1px solid #e6eaf1;border-radius:15px;padding:35px 32px;width:100%;box-shadow:0 8px 30px #23304a04}.login-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#eff3ff;color:#4266e8;font-size:24px;margin-bottom:20px}.login-card h1{font-size:24px;font-weight:600;letter-spacing:-.5px;margin:0 0 10px}.login-card>p{font-size:12px;color:#8b95a6;line-height:1.9;margin-bottom:27px}.company-login{width:100%;text-decoration:none;min-height:45px;justify-content:space-between;padding:12px 16px}.login-foot{font-size:10px;color:#a1aab8}.login-error{padding:11px 13px;background:#fff5f0;color:#a45b3b!important;border-radius:7px;font-size:11px!important;margin:17px 0 0!important}.demo-entry{margin-top:25px;padding-top:20px;border-top:1px solid #edf0f4;font-size:11px;color:#929bac}.demo-entry summary{cursor:pointer}.demo-entry p{font-size:11px;line-height:1.8}.demo-buttons{display:flex;gap:8px}.demo-buttons .button{flex:1;font-size:11px;padding:10px}.demo-entry small{display:block;font-size:10px;line-height:1.9;margin-top:11px;color:#a4acb9}.notification-button{background:none;border:0;color:#73819b;font-size:20px;position:relative;margin-left:auto}.notification-button>span{position:absolute;top:-2px;right:-6px;font-size:9px;background:#4266e8;color:white;border-radius:10px;padding:2px 5px}.notification-button>span:empty{display:none}.site-header nav{margin-left:auto;margin-right:auto}.notification-item{display:block;text-align:left;width:100%;padding:16px 12px;border:0;border-bottom:1px solid #eceff5;background:white;border-radius:6px}.notification-item:hover{background:#f5f7fd}.notification-item strong{font-size:12px;font-weight:500;line-height:1.9;display:block;color:#69768d}.notification-item.unread strong{color:#344c86}.notification-item small{display:block;font-size:10px;color:#a0a9b7;margin-top:6px}.snapshot{border:1px solid #e8ecf4;border-radius:7px;padding:13px;margin-bottom:13px;font-size:11px;color:#71809a}.snapshot summary{cursor:pointer}.snapshot pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.9 inherit;color:#40516c;max-height:350px;overflow:auto}.snapshot small{font-size:9px;color:#a1aab9}.copy-fallback{width:100%;min-height:280px;border:1px solid #e3e8f2;border-radius:7px;padding:12px;font-size:12px;line-height:1.8}.dialog-actions .save-topic{margin-right:auto}.session-kind{font-size:10px;color:#8996aa}@media(max-width:760px){.login-shell{padding-top:45px}.login-card{padding:28px 24px}.site-header{gap:8px;padding-left:15px;padding-right:15px}.site-header nav{margin:0 0 0 auto;gap:14px}.notification-button{font-size:17px;margin-left:0;padding:4px}.account{margin-left:3px}.brand{font-size:16px;gap:6px}.brand-mark{height:28px;width:28px}.nav-item{font-size:11px}}
[hidden]{display:none!important}
.account-menu{padding:5px;border-radius:9px}.account-logout{width:100%;min-height:39px;display:flex;align-items:center;gap:10px;padding:10px 12px;background:transparent;border:0;border-radius:5px;color:#63718a;font-size:12px;text-align:left}.account-logout svg{width:17px;height:17px;flex-shrink:0}.account-logout:hover,.account-logout:focus-visible{background:#f4f6fb;color:#35496c;outline:none}.account-logout:disabled{opacity:.5}.account[aria-expanded="true"] .chevron{transform:rotate(180deg)}@media(max-width:760px){.account-logout{min-height:44px}}

/* Always-visible workflow guide above the workspace. */
main:not(.login-shell){padding-top:28px;padding-bottom:32px}
.workspace-toolbar{align-items:center;gap:24px;margin-bottom:20px}
.workspace-toolbar>.button{flex-shrink:0;min-height:42px;padding:10px 20px}
.quick-guide{flex:1;min-width:0;padding:20px 24px 16px;border:1px solid #e0e6f4;border-radius:13px;background:linear-gradient(115deg,#fff 0%,#f0f4ff 100%);box-shadow:0 3px 14px #28344b03}
.guide-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.guide-heading h1{margin:0;color:#293752;font-size:17px;font-weight:650;letter-spacing:.2px;line-height:1.5}
.guide-heading>span{padding:3px 8px;border-radius:5px;background:#e8edfc;color:#5b70aa;font-size:11px;white-space:nowrap}
.guide-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.guide-steps li{display:flex;align-items:flex-start;gap:9px;min-width:0}
.guide-number{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border:1px solid #dce4fb;border-radius:8px;background:#fff;color:#4266cf;font-size:11px;font-weight:650}
.guide-steps h2{margin:3px 0 5px;font-size:13px;font-weight:600;color:#354462;line-height:1.6}
.guide-steps p{margin:0;font-size:12px;line-height:1.8;color:#6c7991;overflow-wrap:anywhere}
@media(max-width:1100px){.workspace-toolbar{gap:16px}.quick-guide{padding:18px}.guide-steps{gap:12px}.guide-steps li{flex-direction:column;gap:3px}}
@media(max-width:760px){main:not(.login-shell){padding-top:20px}.workspace-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:14px}.quick-guide{flex-basis:100%;padding:18px}.guide-heading{flex-wrap:wrap;gap:8px;margin-bottom:16px}.guide-heading h1{font-size:16px}.guide-steps{grid-template-columns:1fr;gap:14px}.guide-steps li{flex-direction:row;gap:12px}.guide-steps h2{margin:1px 0 2px}.guide-steps p br{display:none}.guide-steps p br::after{content:' '}.guide-number{width:28px;height:28px}}

.guide-link{border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;text-decoration-color:#7f94c4;line-height:inherit}
.guide-link:hover{color:var(--blue);text-decoration-color:currentColor}
.workspace-tools{display:flex;justify-content:flex-end;margin-bottom:10px}
.story-workspace>.stage{border-top:0;margin-top:0;padding-top:12px}
.guide-dialog-intro{font-size:13px;line-height:1.9;color:#5d6d86;margin:0 0 16px}
.guide-destination{margin-top:20px;text-decoration:none}
.setup-steps{padding-left:24px;margin:0;color:#536882;font-size:13px;line-height:1.85}
.setup-steps li{padding-left:6px;margin-bottom:22px}
.setup-steps li::marker{color:var(--blue);font-weight:600}
.setup-steps h3{margin:0 0 7px;color:#30445f;font-size:14px;font-weight:600}
.setup-steps p{margin:6px 0}
.setup-steps a{color:#4266cf;text-underline-offset:3px}
.setup-command{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f5fc;border:1px solid #e3e9f5;border-radius:8px;padding:11px 13px;font-size:12px;color:#344b78;line-height:1.8;user-select:all;margin:10px 0}
@media(max-width:760px){.guide-link{min-height:30px}.setup-steps{padding-left:20px;font-size:12px}}

.topic-prompts{max-width:760px;margin-top:24px;border:1px solid #e6ebf5;background:#f8faff;border-radius:10px;padding:18px 20px}
.topic-prompts h4{margin:0 0 15px;font-size:13px;font-weight:600;color:#455b7b}
.topic-prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.topic-prompt-grid strong{font-size:12px;font-weight:600;color:#4d6387}
.topic-prompt-grid p{font-size:12px;line-height:1.9;color:#73819a;margin:7px 0 0}
.topic-prompt-note{font-size:11px;line-height:1.8;color:#8793a7;margin:14px 0 0}
@media(max-width:760px){.topic-prompt-grid{grid-template-columns:1fr;gap:16px}.topic-prompts{padding:16px}}

#dialog-body>.topic-prompts{margin-top:0;padding:16px}
#dialog-body .topic-prompt-grid{grid-template-columns:1fr;gap:12px}
#dialog-body .topic-prompts h4{line-height:1.7;margin-bottom:12px}
#dialog-body .topic-prompt-grid p{margin-top:3px}
.topic-details{margin:22px 0 0;max-width:720px;font-size:13px;line-height:1.9}
.topic-details>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;padding:13px 0;border-bottom:1px solid #edf0f5}
.topic-details dt{color:#8591a5}
.topic-details dd{margin:0;color:#405371;overflow-wrap:anywhere}
.topic-details .topic-description{white-space:pre-wrap}
.topic-details .not-filled{color:#98a2b3}
@media(max-width:760px){.topic-details>div{grid-template-columns:70px minmax(0,1fr);gap:10px}}

@media(max-width:480px){.project-create{flex-wrap:wrap}.project-create input{flex-basis:100%}}

.topic-reviewer-picker{border:1px solid #e2e7f1;border-radius:10px;padding:14px;margin:16px 0;min-width:0}
.topic-reviewer-picker legend{font-size:13px;font-weight:600;color:#405371;padding:0 5px}
.topic-reviewer-picker p,.topic-reviewer-picker small{font-size:12px;line-height:1.8;color:#758199;margin:0 0 10px;display:block}
.topic-reviewer-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:180px;overflow:auto;margin-bottom:10px}
.topic-reviewer-picker label{display:flex;gap:8px;align-items:center;padding:8px;background:#f7f9fd;border-radius:6px;font-size:13px;cursor:pointer;overflow-wrap:anywhere}
.topic-reviewer-picker input{width:16px;height:16px;flex-shrink:0;accent-color:#4266cf}
.topic-approval-progress{max-width:600px;background:#f7f9fd;border:1px solid #e6ebf5;border-radius:10px;padding:16px;margin-top:20px;font-size:13px;color:#536882}
.topic-approval-progress strong{font-weight:500;display:block;margin-bottom:12px;line-height:1.8}
.topic-approval-progress>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;border-top:1px solid #e6ebf5}
@media(max-width:480px){.topic-reviewer-picker>div{grid-template-columns:1fr}}

.story-submitter{display:flex;align-items:center;gap:9px;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid #e2e7f2}
.submitter-avatar{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:9px;background:#e5ebfb;color:#4d66a0;font-size:13px;font-weight:600}
.story-submitter>span:last-child{min-width:0}
.story-submitter small{display:block;font-size:10px;line-height:1.5;color:#8490a5}
.story-submitter strong{display:block;color:#344a70;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.approval-workspace .story-sidebar{background:#fafbfe}
.approval-panel{border:1px solid #e9dcbf;border-top:3px solid #c49a50;border-radius:10px;background:#fffcf5;padding:22px 24px;margin-bottom:16px}
.approval-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.approval-mode{color:#a57932;font-size:12px;font-weight:600}
.approval-panel-heading h2{margin:9px 0;font-size:23px;line-height:1.5;font-weight:600;color:#303f57;overflow-wrap:anywhere}
.approval-panel-heading p{margin:0;color:#78859b;font-size:12px;line-height:1.8}
.approval-panel-heading strong{color:#445b7d;font-weight:600}
.approval-task-status{flex-shrink:0;padding:5px 10px;border-radius:6px;font-size:11px;background:#f7ecd6;color:#9e772f}
.approval-panel .review-box{max-width:none;margin-top:20px}
.approval-panel .review-box>label{color:#566780;font-size:12px}
.approval-panel .review-box>label span{font-size:11px;margin-left:7px;color:#9b8562}
.approval-panel .review-box textarea{min-height:76px;resize:vertical;background:#fff}
.approval-panel .stage-actions{margin-top:14px;gap:12px}
.approval-workspace .stage-label{display:none}
.approval-workspace .stage h3{font-size:20px;margin-top:0}
@media(max-width:760px){.approval-panel{padding:18px 16px}.approval-panel-heading h2{font-size:20px}.approval-panel .stage-actions .button{min-width:0;flex:1}}

.review-box textarea::placeholder{color:#a9b0bd;opacity:1;font-weight:400}

.topic-reviewer-menu{padding:10px;overflow:hidden;box-sizing:border-box}
.topic-reviewer-menu input[type=search]{width:100%;box-sizing:border-box;border:1px solid #e0e6f1;border-radius:7px;padding:10px 12px;margin-bottom:8px;font-size:13px;outline-offset:1px}
.topic-reviewer-results{max-height:174px;overflow:auto;overscroll-behavior:contain}
.topic-reviewer-option{display:flex!important;align-items:center;gap:10px;padding:10px 9px;margin:0!important;border-radius:6px;font-size:13px!important;cursor:pointer;color:#405371}
.topic-reviewer-option:hover,.topic-reviewer-option:has(input:checked){background:#f0f4ff}
.topic-reviewer-option input{width:16px!important;height:16px;flex-shrink:0;accent-color:#4266e8;margin:0}
.reviewer-search-note{font-size:12px;line-height:1.7;color:#8591a5;margin:10px 9px}
#topic-reviewers-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.topic-reviewer-menu:popover-open{display:flex;flex-direction:column}.topic-reviewer-results{min-height:0;flex:1}.topic-reviewer-menu input[type=search]{flex-shrink:0}
.story-steps{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}
.story-step{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#718099;font-size:12px;line-height:1.5}
.story-step>span{font-size:10px;color:#9aa5b5}.story-step small{font-size:10px}
.story-step.complete{color:#526992}.story-step:hover:enabled{background:#f2f5fc;color:var(--blue)}
.story-step[aria-current="step"]{background:#eff3ff;border-color:#dce4ff;color:var(--blue);font-weight:600}
.story-step:disabled{opacity:.45;cursor:default}.story-step:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.stage-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f5f7fc;border:1px solid #e5eaf5;border-radius:8px;padding:11px 14px;margin-bottom:16px;color:#697b96;font-size:12px}
.workspace-tools{gap:18px}.workspace-tools>.text-button:first-child:not(:only-child){margin-right:auto}
.preview-draft{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:#536882;max-height:400px;overflow:auto}
@media(max-width:760px){.story-steps{gap:4px}.story-step{font-size:11px;padding:7px}.stage-preview{font-size:11px}}
#field-surveyText{min-height:160px}#field-researchText{min-height:120px}
.field-error{color:#bd3d3d;font-size:12px;line-height:1.7;margin:6px 0 0}.field input[aria-invalid="true"]{border-color:#cd5555}
.saved-materials{max-width:616px;margin-top:20px;border:1px solid #e5eaf3;border-radius:8px;overflow:hidden}
.saved-materials:empty{display:none}.material-detail{font-size:12px;color:#52627b;line-height:1.8;padding:13px 16px}
.material-detail+.material-detail{border-top:1px solid #edf0f6}.material-detail summary{cursor:pointer;font-weight:500}.material-detail .preview-draft{margin:12px 0 0;max-height:220px}
.material-edit{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:#fafbfe;border-top:1px solid #edf0f6;font-size:12px;color:#64748d}.material-edit:first-child{border-top:0}.material-edit small{margin-left:6px;font-size:11px;color:#8a96a8}.material-edit .text-button{color:var(--blue);padding:5px 0;min-height:30px}
.writing-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;max-width:616px;margin-top:24px}.writing-actions .button{min-height:44px;font-size:13px;padding:11px 20px}.writing-actions .button.ghost{color:#3f5272;border-color:#cdd6e5}.writing-actions .button.ghost:hover{background:#f5f7fc;border-color:#aabbd8}
@media(max-width:760px){.writing-actions{gap:10px}.writing-actions .button{flex:1 1 100%;width:100%}.material-detail{padding:12px 14px}.material-edit{padding:10px 14px}}
.pr-writer{max-width:100%;margin-bottom:24px}.pr-writer>.stage-description{max-width:760px;font-size:13px;line-height:1.9}.pr-generate-panel{margin-top:22px;border:1px solid #dfe6f3;background:#fafbff;border-radius:12px;padding:24px;max-width:760px}.pr-format-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:22px}.pr-format-list strong{font-size:14px;color:#304360}.pr-format-list p{font-size:12px;color:#7a879b;line-height:1.8;margin:8px 0 0}.pr-generate-panel .button{min-height:44px;min-width:176px}.pr-generate-panel button:disabled{opacity:.55;cursor:default}.pr-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px;align-items:start}.pr-option{min-width:0;border:1px solid #dfe5f0;border-radius:12px;background:#fff;padding:20px}.pr-option-heading{display:flex;flex-direction:column;gap:5px}.pr-option-heading>span{font-size:13px;font-weight:600;color:#4664b5}.pr-option-heading small{font-size:11px;color:#8b97aa}.pr-option h4{font-size:17px;color:#253650;line-height:1.55;margin:18px 0 14px;overflow-wrap:anywhere}.pr-option-body,.pr-full-body{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85;color:#45546c;margin:0}.pr-option-body{max-height:340px;overflow:auto;padding-right:8px;scrollbar-width:thin}.pr-option-tools{display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid #edf0f6;padding-top:12px;margin-top:16px}.pr-option-tools .text-button{color:#5772ad;font-size:11px;padding:5px 0}.pr-option .choose-pr{width:100%;margin-top:16px;min-height:42px;font-size:12px;padding:10px 12px}.pr-checks{font-size:11px;line-height:1.9;color:#8a6b41;background:#fcf8ef;border-radius:6px;padding:10px 12px;margin-top:14px}.pr-checks summary{cursor:pointer}.pr-checks ul{padding-left:18px;margin:8px 0 0}.codex-edit-help{font-size:12px;line-height:1.9;color:#8490a5;margin:16px 0 0;max-width:800px}.codex-edit-help .text-button{margin-left:8px;color:#5573b0}.generation-progress{display:flex;gap:12px;align-items:center;color:#4961a2;font-size:13px}.generation-progress strong{font-weight:500}.generation-progress p{font-size:12px;color:#8a96aa;margin:6px 0 0;line-height:1.8}.generation-spinner{width:20px;height:20px;flex-shrink:0;border:2px solid #dce3f8;border-top-color:#4a66de;border-radius:50%;animation:pr-spin 1s linear infinite}@keyframes pr-spin{to{transform:rotate(360deg)}}.generation-error{font-size:12px;color:#b45545;line-height:1.8;margin:0 0 16px}.pr-full-title{font-size:20px;line-height:1.6;margin:0 0 18px}.selected-pr-text{max-width:820px;border:1px solid #e1e7f1;border-radius:9px;padding:16px 18px;margin-top:20px;font-size:12px;color:#5a6c87}.selected-pr-text summary{cursor:pointer}.selected-pr-text pre{margin-top:16px;max-height:500px;overflow:auto}
@media(max-width:1100px){.pr-options{grid-template-columns:1fr}.pr-option-body{max-height:260px}}@media(max-width:760px){.pr-generate-panel{padding:18px}.pr-format-list{grid-template-columns:1fr;gap:18px}.pr-generate-panel .button{width:100%}.pr-option{padding:16px}.pr-option h4{font-size:16px}}
.pr-option.chosen-option{border-color:#7088ee;box-shadow:0 0 0 2px #edf1ff}.pr-project-selection{max-width:800px;border:1px solid #d9e2fc;border-radius:12px;background:#f9fbff;margin-top:22px;padding:22px}.pr-project-selection>h4{font-size:15px;color:#32466a;margin:0 0 18px}.pr-project-selection .field{max-width:340px}.pr-project-preview{background:#fff;border:1px solid #e2e8f4;border-radius:8px;padding:16px;margin:16px 0 20px}.pr-project-preview>strong{display:block;font-size:16px;line-height:1.6;color:#30415f;margin-bottom:12px}.pr-project-preview pre{max-height:260px;overflow:auto}.pr-project-selection>.button{min-height:44px}.pr-project-selection>.button:disabled{opacity:.45;cursor:default}@media(max-width:760px){.pr-project-selection{padding:16px}.pr-project-selection>.button{width:100%}}
