.flow-progress{display:flex;gap:5px;overflow-x:auto;padding:10px 14px;flex:none;border-bottom:1px solid #e5e9ec;scrollbar-width:thin}.flow-progress button{border:0;border-radius:8px;padding:8px;font-size:11px;white-space:nowrap;background:#f6f7f8;color:#8b929a;display:flex;gap:5px;align-items:center}.flow-progress button span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#edf0f1;font-size:10px}.flow-progress button.done{color:#387d62}.flow-progress button.active{background:#eaf5ef;color:#1b6047}.flow-progress button.active span{background:#26765e;color:#fff}.flow-progress button:disabled{opacity:1;cursor:default}.flow-intro{padding:35px 0}.flow-intro h2{font-size:23px;line-height:1.7}.flow-intro p{font-size:13px;color:#758079;line-height:1.9}.flow-assistant{padding:16px 0;font-size:14px;line-height:1.9;white-space:pre-wrap}.flow-assistant small{font-size:11px;color:#718477}.flow-assistant p{margin:7px 0;white-space:pre-wrap}.flow-notice{border:1px solid #dfe7e2;padding:15px 18px;background:#f6faf7;border-radius:12px;line-height:1.8;font-size:12px;margin:20px 0}.flow-notice button{font-size:12px;margin-top:8px}.flow-notice p{margin:4px 0}.flow-running{display:flex;gap:12px;align-items:flex-start}.flow-spinner{width:16px;height:16px;border:2px solid #c5dad0;border-top-color:#26765e;border-radius:50%;animation:flow-spin 1s linear infinite;flex:none;margin-top:5px}@keyframes flow-spin{to{transform:rotate(360deg)}}.flow-choice-heading{font-size:14px;margin-bottom:14px}.flow-choice-heading p{font-size:12px;color:#79817b}.flow-option em{font-size:10px;padding:2px 5px;background:#edf7f1;color:#327452;margin-left:7px;font-style:normal;border-radius:5px}.flow-controls{display:flex;gap:8px;flex-wrap:wrap;padding:7px 0 0}.flow-controls button{font-size:11px;border:0;background:transparent;padding:5px;color:#6d7f72}.flow-controls button:last-child{margin-left:auto}.flow-warning{background:#fff4e7;color:#945222!important;border-radius:8px;padding:12px}.flow-device-code{display:block;font-size:24px;letter-spacing:3px;background:#f0f5f2;padding:15px;margin:12px 0}.flow-workspace .cx-composer textarea{font-size:14px}.flow-workspace .cx-composer-bottom small{font-size:11px;color:#818a84}.flow-workspace .cx-chat-header h1{font-size:15px}#flow-error{font-size:12px;color:#a7473a;line-height:1.7;margin:6px 0}#flow-error:empty{display:none}#flow-enter{font-size:11px!important;white-space:nowrap}#flow-login-content{padding:14px 0;line-height:1.8}#flow-login-content .cx-primary{padding:10px 15px}#flow-workspace .cx-preview-tabs{gap:12px}#flow-login{max-width:540px;width:calc(100% - 30px)}
@media(max-width:760px){.flow-workspace .cx-chat-header{gap:6px}.flow-workspace .cx-chat-header h1{font-size:14px}.flow-workspace .cx-chat-header>button{font-size:10px;padding:7px}.flow-workspace .cx-composer textarea{font-size:16px}.flow-progress{padding:7px 10px;gap:3px}.flow-progress button{font-size:10px;padding:6px}.flow-controls button{font-size:10px}.flow-workspace .cx-composer-note{padding-left:0}.flow-workspace .cx-preview-tabs{gap:18px}.flow-workspace .cx-preview-tabs button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.flow-spinner{animation:none}}
/* Primary author journey: one question, one composer and one cumulative preview. */
.flow-simple .cx-chat-header{min-height:70px;padding:16px 26px;position:relative;z-index:4}
.flow-simple .cx-chat-header h1{font-size:18px;margin:0;font-weight:650}
.flow-simple .flow-stage{display:flex;align-items:center;justify-content:space-between;padding:11px 26px;gap:10px;font-size:12px;background:#fafbfc;color:#69726c}
.flow-simple .flow-stage small{color:#919b94;font-size:11px;white-space:nowrap}
.flow-tools{position:relative;flex:none}
.flow-tools>summary{list-style:none;cursor:pointer;font-size:25px;line-height:28px;text-align:center;border:1px solid #e2e5e7;border-radius:10px;width:34px;height:32px;background:#fff}
.flow-tools>summary::-webkit-details-marker{display:none}
.flow-tool-menu{position:absolute;right:0;top:38px;width:218px;max-height:65vh;overflow-y:auto;background:#fff;box-shadow:0 8px 30px #202b3320;border:1px solid #e1e6e4;border-radius:12px;padding:9px;z-index:12}
.flow-simple .flow-tool-menu button{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:transparent;padding:10px;font-size:12px;line-height:1.5;white-space:normal}
.flow-tool-menu button:hover{background:#f0f6f3}
.flow-tool-menu label{font-size:12px;padding:10px;margin:0}
.flow-tool-menu select{margin-top:6px}
.flow-tool-menu details summary{padding:10px;cursor:pointer;font-size:12px}
.flow-simple .flow-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.flow-simple .flow-option{min-height:104px;align-items:flex-start;padding:14px 12px;gap:9px;border-radius:12px}
.flow-simple .flow-option strong{font-size:13px;font-weight:600;line-height:1.6;display:block}
.flow-simple .flow-option p{margin-top:6px;font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}
.flow-simple .flow-option>span{border-radius:50%;background:#f0f3f1;color:#728579;flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;font-size:11px}
.flow-simple .flow-choice-heading{font-size:14px;line-height:1.7;margin:18px 0 5px}
.flow-simple .cx-chat-scroll{position:relative;padding:20px 28px}
.flow-simple .flow-assistant{padding:12px 0;font-size:14px;line-height:1.8}
.flow-simple .flow-assistant p{margin-bottom:0}
.flow-simple .flow-history{font-size:11px;margin-bottom:16px;border-bottom:1px solid #edf0ee;padding-bottom:11px;color:#7f8981}
.flow-history>summary{cursor:pointer;padding:6px 0}
.flow-history[open]{max-height:40vh;overflow:auto}
.flow-simple .flow-intro{padding:32px 0}
.flow-simple .flow-intro h2{font-size:25px;margin-bottom:12px;line-height:1.6}
.flow-simple .flow-intro p{font-size:14px;line-height:1.9}
.flow-simple .cx-composer-wrap{padding:12px 24px 20px}
.flow-simple .cx-composer{border-radius:17px;padding:13px 15px 10px}
.flow-simple .cx-composer textarea{font-size:14px;min-height:50px;height:55px}
.flow-simple .cx-composer-bottom{margin-top:7px}
.flow-simple .cx-composer-bottom small{font-size:10px;line-height:1.6;color:#939b95}
.flow-simple .cx-preview>header{min-height:70px;padding:16px 26px}
.flow-simple .cx-preview>header h2{font-size:16px;margin:0}
.flow-simple .cx-preview-scroll{padding:24px}
.flow-simple .flow-preview-block{margin-bottom:14px;background:#fff;border:1px solid #e5e9e7;border-radius:12px;overflow:hidden}
.flow-preview-block>summary{padding:15px 20px;cursor:pointer;font-size:13px;line-height:1.6;font-weight:600;color:#42574b;list-style-position:inside}
.flow-preview-block .cx-paper{border:0;box-shadow:none;margin:0;border-radius:0;padding:10px 24px 25px}
.flow-preview-block .cx-paper>small{display:none}
.flow-preview-block .cx-paper h2{font-size:19px;margin-top:8px;line-height:1.65}
.flow-preview-block .cx-text-block{margin:17px 0}
.flow-preview-block .cx-paper p{font-size:13px;line-height:1.9}
.flow-simple-layout .topbar>div:first-child>small,.flow-simple-layout .topbar [data-tab=reader]{display:none}
.flow-simple-layout .topbar .projectname{max-width:min(52vw,680px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-simple-layout .topbar #save-status{font-size:10px;padding:5px 8px;background:transparent;color:#84988a}
.flow-simple-layout .sidebar .brand{font-size:23px;line-height:1.4;padding-bottom:30px}
.flow-simple-layout .sidebar .brand span{font-size:9px;letter-spacing:2px}
.flow-simple-layout #flow-extra-nav>summary{font-size:12px;cursor:pointer;padding:14px 12px;color:#88958c;margin-top:12px}
.flow-simple-layout #flow-extra-nav>div{display:flex;flex-direction:column;gap:5px}
.flow-simple-layout #flow-extra-nav button{font-size:12px}
.flow-simple-layout .sidebar .foot>.divider,.flow-simple-layout .sidebar .foot>small,.flow-simple-layout .sidebar .foot>p{display:none}
.flow-simple-layout .sidebar .foot button{font-size:11px}
@media(min-width:1500px){.flow-simple .cx-chat-scroll{padding-left:38px;padding-right:38px}}
@media(max-width:760px){.flow-simple .cx-chat-header,.flow-simple .cx-preview>header{min-height:56px;padding:12px 16px}.flow-simple .flow-stage{padding:9px 16px}.flow-simple .cx-chat-scroll{padding:15px 16px}.flow-simple .flow-option{padding:11px 9px;gap:6px;min-height:116px}.flow-simple .flow-option strong{font-size:12px}.flow-simple .flow-option p{font-size:11px}.flow-simple .cx-composer-wrap{padding:10px 14px 15px}.flow-simple .cx-composer textarea{font-size:16px}.flow-simple .cx-preview-scroll{padding:16px}.flow-simple .flow-preview-block>summary{padding:14px}.flow-simple .flow-preview-block .cx-paper{padding:5px 17px 20px}.flow-simple-layout .topbar #save-status{display:none}.flow-simple-layout .topbar .projectname{max-width:49vw;font-size:12px}}
@media(max-width:350px){.flow-simple .flow-choice-grid{grid-template-columns:1fr}}

.flow-simple .cx-turn{margin-bottom:14px}
.flow-simple .flow-assistant{padding:6px 0}
