:root {
  --ink:#1c2941; --secondary:#46566f; --muted:#5d6b82; --blue:#3556eb;
  --blue-dark:#2945c5; --line:#dfe5ef; --canvas:#f6f8fc; --soft-blue:#edf2ff;
  --green:#17674f; --field-border:#7f8da5; --radius:12px;
  --font:"Avenir Next","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-family:var(--font); font-size:16px; line-height:1.65; color:var(--ink);
  background:var(--canvas); font-synthesis:none; text-rendering:optimizeLegibility;
  -webkit-text-size-adjust:100%;
}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}button,input,textarea,select{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}
button,a{touch-action:manipulation}img{max-width:100%}button:disabled{cursor:not-allowed;opacity:.48}
button[aria-busy=true]{cursor:wait;opacity:.65}button[aria-busy=true]:after{content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:turn .7s linear infinite}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #3556eb;outline-offset:3px}
::selection{background:#d6e0ff;color:#162f87}input,textarea{caret-color:var(--blue)}
@keyframes turn{to{transform:rotate(360deg)}}
h1,h2,h3{text-wrap:pretty}small{font-size:12px}time{font-variant-numeric:tabular-nums}
.icon{height:20px;width:20px;flex:none;vertical-align:middle}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap;transition:background .15s,transform .15s}
.button .icon{height:17px;width:17px}.button:active:not(:disabled){transform:translateY(1px)}
.button.primary{background:var(--blue);color:white;box-shadow:0 2px 3px #22389414}.button.primary:hover:not(:disabled){background:var(--blue-dark)}
.button.secondary{background:white;border-color:#aab6cb;color:var(--secondary)}.button.secondary:hover:not(:disabled){background:#eef2fa;border-color:#6d7e9c}
.button.small{font-size:14px;padding:9px 14px}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 0;border:0;background:none;font-size:13px;font-weight:600;color:var(--blue)}
.text-button .icon{height:16px;width:16px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.quiet{color:var(--muted)}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;border-radius:7px;background:none;color:var(--muted)}
.icon-button:hover{background:var(--soft-blue);color:var(--blue)}.icon-button .icon{height:19px;width:19px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:white;border-right:1px solid var(--line);padding:28px 16px 20px;display:flex;flex-direction:column;z-index:4}
.brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:750;letter-spacing:-.8px;white-space:nowrap;color:var(--ink)}
.brand img{width:33px;height:33px;border-radius:9px}.sidebar .brand{margin:0 7px 36px}
.workspace-label{font-size:12px;color:var(--muted);padding:0 15px;margin-bottom:12px}.sidebar nav{display:flex;flex-direction:column;gap:6px}
.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:8px;background:none;color:var(--secondary);font-size:14px;font-weight:600;text-align:left}
.nav-item:hover{background:#f2f5fa}.nav-item.active{background:var(--soft-blue);color:#2644bd}.nav-item .icon{width:19px;height:19px}
.nav-count{margin-left:auto;min-width:22px;border-radius:5px;background:#e9edf5;font-size:12px;font-variant-numeric:tabular-nums;text-align:center;padding:0 5px;color:var(--secondary)}
.nav-item.active .nav-count{background:#dbe4ff;color:#2644bd}.sidebar-bottom{margin-top:auto}
.small-note{display:flex;align-items:start;gap:9px;padding:24px 12px;border-bottom:1px solid var(--line);margin-bottom:8px;color:var(--muted);font-size:12px;line-height:1.9}
.tiny-spark{color:#5978d6;font-size:27px;line-height:1.5}.connection-link{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;padding:12px;border:0;background:none;font-size:12px;color:var(--secondary)}
.connection-link:hover{background:#f4f6fb}.connection-link .icon{width:14px;height:14px;margin-left:auto}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#748198;flex:none}.status-dot.green{background:#248464}
.local-user{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 8px 0;margin-top:8px}
.user-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#edf0f6;color:var(--secondary);font-size:12px}
.local-user strong{display:block;font-size:12px;font-weight:600}.local-user small{display:block;font-size:12px;color:var(--muted)}
.main-shell{margin-left:220px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px;padding:0 32px;border-bottom:1px solid var(--line);background:white}
.breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;color:var(--muted);font-size:13px}.breadcrumb .icon{height:17px;width:17px}
.breadcrumb-product{color:var(--secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb-sep{color:#8997ad}
#main-content{max-width:1440px;margin:auto;padding:28px 32px 32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.page-heading h1{font-size:30px;line-height:1.35;letter-spacing:-.7px;font-weight:700;margin-bottom:7px}.page-heading p{font-size:14px;color:var(--muted)}
.heading-note{font-size:12px;color:var(--muted);margin-bottom:8px}.heading-control select{width:190px;min-height:44px;border:1px solid #aab6cb;border-radius:8px;background:white;padding:9px 12px;font-size:14px;color:var(--secondary)}
.badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:3px 8px;font-size:12px;font-weight:600;line-height:1.6;white-space:nowrap}
.badge.demo{color:#755410;background:#fff2c8}.badge.live{color:#17674f;background:#e9f6f0}.badge.neutral{color:var(--secondary);background:#edf0f6}
.demo-banner{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid #dce4f5;border-radius:8px;background:#edf2fc;padding:3px 12px;font-size:13px;color:#4c5f86;margin-bottom:16px}
.demo-banner>.text-button{margin-left:auto;font-size:13px;white-space:nowrap;color:#2948bf}
.product-strip{display:grid;grid-template-columns:154px minmax(0,1fr) auto;align-items:center;gap:22px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:white}
.cover{display:block;width:100%;aspect-ratio:5/3;object-fit:cover;border-radius:8px}.product-strip>.cover{height:108px;aspect-ratio:auto}
.product-category{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:12px;color:var(--muted)}
.product-info h2{font-size:23px;line-height:1.4;margin-bottom:7px;font-weight:700;overflow-wrap:anywhere}
.product-info>p{max-width:590px;font-size:14px;line-height:1.8;color:var(--secondary)}
.product-author{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--muted)}
.mini-avatar{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#f0e5d3;color:#705b3a;font-size:12px}.light-dot{margin:0 2px}
.product-state{display:flex;align-items:flex-end;flex-direction:column;gap:6px;align-self:start;padding-top:2px}.product-state>.text-button{font-size:12px}
.flow-strip{display:flex;align-items:center;list-style:none;padding:0;margin:20px 0 24px}
.flow-strip li{position:relative;display:flex;align-items:center;gap:8px;flex:1;color:var(--muted);font-size:13px;white-space:nowrap}
.flow-strip li:not(:last-child):after{content:"";height:1px;min-width:12px;flex:1;background:#ccd7e8;margin:0 16px}
.step-icon{display:grid;place-items:center;width:28px;height:28px;flex:none;border:1px solid #ccd6e8;border-radius:50%;background:#f0f3f8;color:var(--muted)}
.step-icon .icon{width:14px;height:14px}.flow-strip li.done .step-icon{background:#e8efff;color:#3e5bb5;border-color:#c3d2f5}
.flow-strip li.current{color:#2948ba;font-weight:600}.flow-strip li.current .step-icon{background:var(--blue);border-color:var(--blue);color:white}
.flow-strip small{font-size:12px;color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums}
.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 334px;gap:24px;align-items:start}
.conversation-panel{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 14px}
.panel-heading h2{font-size:18px;font-weight:650}.panel-heading p{font-size:13px;color:var(--muted);margin-top:4px}.thread-mark{color:#647ca6}.thread-mark .icon{width:22px;height:22px}
.tabs{display:flex;gap:24px;padding:0 24px;border-bottom:1px solid var(--line)}
.tabs button{min-width:44px;justify-content:center;display:flex;align-items:center;gap:6px;min-height:48px;padding:10px 0;position:relative;border:0;background:none;color:var(--muted);font-size:14px;font-weight:500}
.tabs button:hover{color:var(--blue)}.tabs button.active{color:#2948bf;font-weight:650}.tabs button.active:after{content:"";height:3px;position:absolute;bottom:-1px;left:0;right:0;background:var(--blue);border-radius:2px 2px 0 0}
.tabs button>span{font-size:12px;border-radius:4px;background:#edf1f9;color:var(--secondary);min-width:20px;padding:0 5px;text-align:center}
.thread-content{padding:0}.current-question{padding:22px 24px 4px}.question-header{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}
.question-header .avatar{height:28px;width:28px;border-radius:8px}.question-header .avatar img{border-radius:8px}.question-number{margin-left:auto;font-variant-numeric:tabular-nums;color:#3c5485;background:#eef2fb;border-radius:5px;padding:2px 7px;white-space:nowrap}
.current-question h3{margin:14px 0 0;font-size:18px;line-height:1.8;font-weight:600;overflow-wrap:anywhere}
.reply-composer{padding:4px 24px 24px;margin:0;background:white}
.composer-label{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:8px}
.composer-label label{font-size:14px;font-weight:600}.composer-label label>span{display:inline-block;color:var(--muted);font-size:12px;font-weight:400;margin-left:9px;overflow-wrap:anywhere}
.composer-label .text-button{font-size:12px;flex:none}
.reply-composer textarea{display:block;width:100%;min-height:112px;padding:12px 14px;border:1px solid var(--field-border);border-radius:8px;background:#fff;color:var(--ink);font-size:16px;line-height:1.8;resize:vertical;scroll-margin-bottom:100px}
::placeholder{color:#67748c}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.composer-bottom>span{font-size:12px;color:var(--muted)}.composer-bottom .button{margin-left:auto}
.conversation-history{border-top:1px solid var(--line)}.conversation-history>summary{display:flex;align-items:center;gap:9px;min-height:56px;padding:14px 24px;font-size:14px;color:var(--secondary);font-weight:500;list-style:none;cursor:pointer}
.conversation-history>summary::-webkit-details-marker{display:none}.conversation-history>summary:hover{background:#f7f9fd}.conversation-history>summary>.icon{width:17px;height:17px}
.conversation-history>summary>span{font-size:12px;color:var(--muted)}.conversation-history>summary>.icon:last-child{margin-left:auto;transition:transform .15s}.conversation-history[open]>summary>.icon:last-child{transform:rotate(90deg)}
.conversation-history>div{border-top:1px solid var(--line);background:#fbfcff}
.question-group{position:relative;padding:22px 24px 0}.question-group:not(:last-child){border-bottom:1px solid var(--line)}
.thread-post{display:flex;gap:12px;position:relative;padding-bottom:22px}.avatar{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;font-size:13px;font-weight:500}
.avatar.editor{border-radius:10px;background:var(--blue)}.avatar.editor img{height:100%;width:100%;border-radius:10px}.avatar.author{background:#efe4d2;color:#715b38}
.post-content{min-width:0;flex:1}.post-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:24px}.post-meta strong{font-size:14px;font-weight:650}.post-meta time{margin-left:auto;color:var(--muted);font-size:12px}
.editor-label{font-size:12px;background:#eaf0ff;color:#3554ad;padding:1px 6px;border-radius:4px}.author-label{font-size:12px;background:#f4ecdf;color:#725d3b;padding:1px 6px;border-radius:4px}
.post-text{font-size:16px;line-height:1.95;color:var(--secondary);white-space:pre-wrap;overflow-wrap:anywhere}.thread-post .post-text{margin-top:8px}
.post-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:12px;font-variant-numeric:tabular-nums}
.post-actions>span,.post-actions>a{display:flex;align-items:center;gap:6px}.post-actions .icon{width:15px;height:15px}.post-actions .post-status{margin-left:auto;font-size:12px}
.post-actions>a{margin-left:auto;color:#3152b2;min-height:44px}.post-actions>a:hover{text-decoration:underline}
.reply-post{padding-left:20px}.reply-post:before{content:"";position:absolute;left:16px;top:-13px;height:29px;width:5px;border-left:1px solid #c5d0e2;border-bottom:1px solid #c5d0e2;border-radius:0 0 0 5px}
.reply-post .avatar{width:30px;height:30px;font-size:12px}.reflected-label{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:12px;color:#276e59}.reflected-label .icon{width:14px;height:14px}
.reply-result{display:flex;align-items:start;gap:10px;padding:16px 20px;margin:18px 20px 0;background:#eaf7f0;border:1px solid #c1dfcf;border-radius:8px;color:#1b624a}
.reply-result>.icon{margin-top:2px;width:18px;height:18px}.reply-result strong{display:block;font-size:14px;font-weight:600}.reply-result span{display:block;font-size:12px;margin-top:4px}
.reply-result>a{display:flex;align-items:center;gap:5px;margin-left:auto;min-height:44px;font-size:12px;color:#17573f;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.reply-result a .icon{height:14px;width:14px}
.publication-column{display:flex;flex-direction:column;gap:20px}.article-preview{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white}
.preview-label{display:flex;align-items:center;gap:8px;padding:14px 18px;font-size:13px;color:var(--secondary);font-weight:500}.preview-label .icon{width:17px;height:17px}
.version{margin-left:auto;background:#edf1f9;color:#4b628d;border-radius:5px;font-size:12px;font-variant-numeric:tabular-nums;padding:1px 6px}
.article-cover{border-radius:0;aspect-ratio:2.4;object-position:center 48%}.article-preview-body{padding:20px}.article-kicker{font-size:12px;color:#4c6390}
.article-preview h2{margin-top:8px;font-size:20px;font-weight:650;line-height:1.65;overflow-wrap:anywhere}.article-preview-body>p{font-size:14px;line-height:1.9;margin-top:12px;color:var(--secondary)}
.article-source{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin:16px 0}.article-source .icon{width:14px;height:14px}
.article-open{display:flex;justify-content:space-between;min-height:44px;padding:10px 12px;background:#eaf0ff;color:#2c4da8;font-size:14px}.article-open:hover{background:#dfe8ff}
.article-tools{display:flex;align-items:center;gap:6px;padding:6px 14px;border-top:1px solid var(--line)}.article-tools>.text-button{margin-right:auto;color:var(--secondary);font-size:13px}
.milestone-panel{padding:20px;background:#ecf1ff;border:1px solid #d5dff7;border-radius:var(--radius);color:#3f5687}
.milestone-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.milestone-title h3{font-size:15px;font-weight:600}.heart-disc{display:flex;color:#4764aa}.heart-disc .icon{width:18px;height:18px}
.soft-label{font-size:12px;margin-left:auto;color:#4f6590}.milestone-value{font-size:34px;line-height:1.2;font-weight:650;margin-top:20px;font-variant-numeric:tabular-nums}
.milestone-value>span{font-size:16px;font-weight:400;margin-left:7px;color:#53678e}.progress-track{height:6px;border-radius:6px;background:#ced9f5;overflow:hidden;margin:14px 0}
.progress-track>span{display:block;height:100%;border-radius:6px;background:#5475d8}.milestone-panel>p,.milestone-panel>small{font-size:12px;line-height:1.8;color:#465d8a}
.demo-action{display:flex;width:100%;margin-top:16px;border-color:#9aaedc;background:#fff;color:#365495;font-size:13px}.demo-action:hover{background:#e1eaff}
.outgoing-post{padding:24px;border-bottom:1px solid var(--line)}.outgoing-post:last-child{border-bottom:0}.outgoing-kind{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.outgoing-kind>.icon{width:17px;height:17px;color:#536f9f}.outgoing-kind strong{font-size:14px;font-weight:600}.outgoing-kind>.badge{margin-left:auto}
.activity-list{padding:24px}.activity-item{display:flex;align-items:start;gap:12px;padding-bottom:24px;position:relative}.activity-item:not(:last-child):after{content:"";position:absolute;left:14px;top:34px;bottom:6px;width:1px;background:#d7e0ee}
.activity-icon{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;background:#edf2fc;color:#47638f}.activity-icon .icon{width:15px;height:15px}
.activity-icon.milestone{background:#f7edf3;color:#90576f}.activity-icon.complete{background:#e9f6ef;color:#24674f}.activity-item strong{font-size:14px;font-weight:600}
.activity-item p{font-size:14px;line-height:1.85;color:var(--secondary);margin-top:5px;overflow-wrap:anywhere}.activity-item time{font-size:12px;color:var(--muted)}
.interview-done{display:flex;align-items:center;gap:12px;margin:24px;background:#eaf7f0;border:1px solid #bfdccc;border-radius:8px;padding:20px;color:#1c6149}
.interview-done strong{font-size:16px;font-weight:600}.interview-done p{font-size:14px;margin-top:5px}.paused-message,.live-wait{padding:24px;font-size:16px;color:var(--secondary);line-height:1.9}
.live-wait>.icon{width:18px;height:18px;margin-right:8px}.live-wait p{font-size:14px;margin:12px 0}
.app-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:auto;padding:12px 32px 28px;font-size:12px;color:var(--muted)}
.app-footer>span:first-child{font-size:13px;font-weight:600}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 24px}.filter-buttons{display:flex;gap:5px;flex-wrap:wrap}
.filter-buttons button{min-height:44px;border:1px solid transparent;border-radius:7px;background:none;padding:9px 12px;color:var(--secondary);font-size:14px}
.filter-buttons button:hover{background:#edf2fa}.filter-buttons button.active{background:#e6edff;color:#2c4ab8;border-color:#bdcef8;font-weight:600}
.search-label input{width:210px;min-height:44px;padding:10px 13px;border:1px solid var(--field-border);border-radius:8px;background:white;font-size:16px;color:var(--ink)}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.library-item{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:white}
.library-item[hidden]{display:none}.library-item>.cover{border-radius:0;aspect-ratio:1.8}.library-body{padding:22px}.library-body h2{font-size:21px;line-height:1.5;margin-bottom:10px}
.library-body>p{font-size:14px;line-height:1.85;color:var(--secondary);min-height:52px}.library-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:20px 0}
.library-body>.button{display:flex;width:100%;justify-content:space-between}.new-work-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;min-height:320px;padding:28px;border:1px dashed #8498bb;border-radius:var(--radius);background:#edf2fc;color:#47618c}
.new-work-tile:hover{background:#e4ecfc}.new-work-tile>.icon{width:30px;height:30px}.new-work-tile strong{font-size:16px;font-weight:500}.new-work-tile span{font-size:13px;text-align:center}
.generated-cover{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;overflow:hidden;padding:18px;text-align:center;background:#e0eafc;color:#365588}
.generated-cover.game{background:#e9e4f6;color:#67528e}.generated-cover.tool{background:#deeee7;color:#366e5a}.generated-cover.website{background:#e0ebf8;color:#365c89}
.generated-cover>span{display:grid;place-items:center;border:1px solid currentColor;border-radius:12px;width:48px;height:48px}.generated-cover strong{font-size:17px;font-weight:500;max-width:100%;overflow-wrap:anywhere}.generated-cover small{font-size:12px}
.article-library{border-top:1px solid var(--line);margin-top:28px}.article-row{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:center;gap:28px;border-bottom:1px solid var(--line);padding:28px 0}
.article-row h2{font-size:23px;line-height:1.6;margin:10px 0}.article-row h2 a:hover{color:var(--blue)}.article-row h2 a:visited{color:#6048a0}.article-row p{font-size:16px;color:var(--secondary)}
.article-row-actions{display:flex;gap:24px;margin-top:16px}.article-row-actions>.text-button{font-size:14px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;margin-top:28px}.settings-section{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:24px}
.settings-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.settings-section h2{font-size:20px;line-height:1.5;font-weight:600}
.settings-section p{font-size:16px;line-height:1.9;color:var(--secondary);margin:12px 0}.connection-steps{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0}
.connection-steps>span{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--secondary)}.connection-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eaf0ff;color:#3453a7;font-size:12px;font-weight:600}
.button-row{display:flex;gap:10px;flex-wrap:wrap}.autopilot-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:22px 0 14px;margin-top:24px}
.autopilot-bar strong{font-size:16px;font-weight:600}.autopilot-bar p{font-size:14px;margin:5px 0 0}.runner-details{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.runner-details .text-button{font-size:12px}.connected-account{display:flex;align-items:center;gap:8px;font-size:14px;color:#21684f;margin:16px 0}
.settings-section>label,form>label,.form-two>label,.resolve-form>label{display:flex;flex-direction:column;gap:8px;margin:22px 0;font-size:14px;font-weight:500;color:var(--secondary)}
.settings-section input,.settings-section select,form>label>input,form>label>textarea,.form-two>label>input,.form-two>label>select,.resolve-form>label>input{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--field-border);border-radius:7px;background:white;font-size:16px;line-height:1.6;color:var(--ink)}
form textarea{resize:vertical}.settings-section label>small,form label>small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.8}
.settings-footnote{font-size:13px;color:var(--muted);line-height:1.85;margin:20px 0}.compact{padding:24px}.compact>.button{width:100%;margin-top:12px;font-size:13px}
.compact .text-button{font-size:13px}.quiet-note{font-size:13px;line-height:1.9;color:var(--muted);padding:0 8px}
.error-callout,.form-error:not(:empty){border:1px solid #e1b4ad;border-radius:7px;padding:12px 14px;background:#fff1ef;color:#9a3b32;font-size:14px;line-height:1.8;margin:14px 0;overflow-wrap:anywhere}
.resolve-form{border-top:1px solid var(--line);padding-top:12px;margin-top:20px}.resolve-form p{white-space:pre-wrap;overflow-wrap:anywhere}
dialog{width:min(620px,calc(100vw - 32px));max-height:90dvh;padding:28px 30px 24px;border:1px solid #dce2ec;border-radius:16px;background:white;color:var(--ink);box-shadow:0 24px 72px #16234233}
dialog::backdrop{background:#17264070;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-heading h2{font-size:24px;line-height:1.5;letter-spacing:-.4px}
.modal-intro{font-size:14px;line-height:1.9;color:var(--muted);margin:10px 0 22px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
.form-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-two>label{margin:0}.mode-options{padding:0;border:0;margin:24px 0 0}.mode-options legend{font-size:14px;font-weight:500;color:var(--secondary);margin-bottom:10px}
.mode-options label{display:flex;align-items:flex-start;gap:10px;border:1px solid #a6b2c7;border-radius:8px;padding:14px;margin-top:10px;cursor:pointer}.mode-options label:hover{background:#f6f8fc}
.mode-options label:has(input:checked){border-color:#5c77d8;background:#f0f4ff}.mode-options input{width:18px;height:18px;accent-color:var(--blue);margin-top:3px;flex:none}
.mode-options strong{display:block;font-size:14px;font-weight:600;color:var(--secondary)}.mode-options small{display:block;font-size:12px;color:var(--muted);line-height:1.8;margin-top:4px}
.help-steps{padding-left:23px;font-size:16px;color:var(--secondary);line-height:1.95}.help-steps li{padding-bottom:12px}.help-steps code{font-size:14px;word-break:break-word}
.source-note{font-size:12px;color:var(--muted)}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;min-height:65vh;padding:32px;text-align:center}
.empty-state h1{font-size:26px}.empty-inline{padding:36px 24px;color:var(--muted);font-size:16px;line-height:1.9;text-align:center}
.loading-screen{padding:38vh 24px;text-align:center;color:var(--muted);font-size:16px}
#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,16px);max-width:calc(100vw - 32px);width:max-content;padding:14px 20px;border-radius:9px;background:#263e68;color:white;box-shadow:0 8px 24px #16234220;font-size:14px;line-height:1.8;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:20}
#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#9c3c35}
.public-page{background:white;min-height:100vh}.public-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 40px;border-bottom:1px solid var(--line)}
.public-article{max-width:800px;margin:auto;padding:44px 32px 72px}.public-demo{display:flex;align-items:center;gap:10px;border:1px solid #e4d9b5;border-radius:8px;padding:10px 12px;background:#fcf7e8;color:#705b29;font-size:12px;line-height:1.8;margin-bottom:32px}
.public-article>.article-kicker{font-size:13px;color:#3151b1;margin-bottom:14px}.public-article>h1{font-size:36px;line-height:1.6;letter-spacing:-1px;font-weight:650;overflow-wrap:anywhere;text-wrap:pretty}
.article-lead{font-size:17px;line-height:1.9;color:var(--secondary);margin-top:20px}.public-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:24px 0 28px}
.public-meta>.avatar{width:30px;height:30px;font-size:12px}.public-meta>span:last-child{margin-left:auto}.public-article>.cover{aspect-ratio:1.8;margin:28px 0 40px;border-radius:10px}
.public-section{border-bottom:1px solid var(--line);margin:36px 0;padding-bottom:28px}.public-section h2{font-size:21px;line-height:1.9;font-weight:600}.public-section h2>span{font-size:18px;color:#4e68b0;margin-right:10px}
.public-section blockquote{margin:20px 0 14px;padding:0 0 0 20px;border-left:3px solid #b7c8f1;font-size:17px;line-height:2.05;color:var(--secondary);white-space:pre-wrap;overflow-wrap:anywhere}
.quote-source{padding-left:23px;font-size:12px;color:var(--muted)}.quote-source a{color:#3153b6;text-decoration:underline;text-underline-offset:3px}.quote-source a:visited{color:#65449a}
.public-work{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;border:1px solid #d8e1f1;border-radius:12px;background:#f4f7fd}
.public-work>div>span{font-size:12px;color:var(--muted)}.public-work h2{font-size:24px;margin:6px 0 9px}.public-work p{font-size:14px;color:var(--secondary);line-height:1.85}.public-work .button{flex:none}
.public-end{text-align:center;font-size:14px;line-height:2;color:var(--muted);margin-top:40px}.public-end a{color:#3153b6;text-decoration:underline;text-underline-offset:4px}.public-end a:visited{color:#65449a}

@media(min-width:1600px){#main-content{padding:36px 40px}.topbar{padding:0 40px}.studio-grid{grid-template-columns:minmax(0,1fr) 360px;gap:28px}.product-strip{grid-template-columns:176px minmax(0,1fr) auto}.product-strip>.cover{height:112px}.current-question h3{font-size:20px}}
@media(max-width:1250px){.sidebar{width:194px;padding-left:12px;padding-right:12px}.sidebar .brand{font-size:19px;gap:7px}.sidebar .brand img{width:30px;height:30px}.main-shell{margin-left:194px}#main-content{padding:24px}.topbar{padding:0 24px}.studio-grid{grid-template-columns:minmax(0,1fr) 302px;gap:20px}.product-strip{grid-template-columns:130px minmax(0,1fr) auto;gap:16px}.product-info>p{font-size:14px}.product-strip>.cover{height:106px}.product-author>span:last-child,.product-author .light-dot{display:none}.flow-strip li{font-size:12px;gap:6px}.flow-strip li:not(:last-child):after{margin:0 10px}.flow-strip small{display:none}.settings-layout{grid-template-columns:minmax(0,1fr) 280px}.settings-section{padding:24px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.studio-grid{grid-template-columns:minmax(0,1fr)}.publication-column{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.article-cover{aspect-ratio:2.6}.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.quiet-note{grid-column:1/-1}.product-state>.badge{font-size:12px}.product-strip{grid-template-columns:134px minmax(0,1fr) auto}}
@media(max-width:900px){.sidebar{width:80px;padding:24px 8px 20px}.sidebar .brand{margin:0 auto 28px;width:33px}.sidebar .brand>span,.workspace-label,.small-note,.local-user>div,.connection-link>span:not(.status-dot),.connection-link>.icon{display:none}.nav-item{justify-content:center;flex-direction:column;gap:4px;min-height:60px;padding:8px 2px;font-size:12px}.nav-item>span{display:block;font-size:12px}.nav-item>.nav-count{display:none}.sidebar nav{gap:8px}.connection-link{justify-content:center;padding:16px 0}.local-user{justify-content:center;padding:16px 0 0}.main-shell{margin-left:80px}.product-strip{grid-template-columns:120px minmax(0,1fr);gap:14px}.product-strip>.cover{grid-row:1/3;height:118px}.product-state{grid-column:2;flex-direction:row;align-items:center;gap:16px;padding:0;margin-top:-4px}.product-info h2{font-size:22px}.product-author{margin-top:8px}.product-state>.text-button{min-height:44px}.settings-section p{font-size:16px}.article-row{grid-template-columns:180px minmax(0,1fr);gap:22px}.article-row h2{font-size:21px}}
@media(max-width:680px){
  .sidebar{position:relative;inset:auto;width:100%;height:68px;padding:16px;display:block;border-right:0;border-bottom:1px solid var(--line)}
  .sidebar .brand{width:auto;margin:0;font-size:20px;gap:7px}.sidebar .brand>span{display:block}.sidebar .brand img{width:31px;height:31px}
  .sidebar nav{position:fixed;bottom:0;left:0;right:0;display:flex;flex-direction:row;gap:0;justify-content:space-around;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #ced8e8;background:#fffffffa;z-index:10}
  .nav-item{flex:1;min-height:54px;width:auto;padding:7px 3px;gap:3px;border-radius:8px;font-size:12px}.nav-item>span{font-size:12px;line-height:1.4}.nav-item .icon{height:19px;width:19px}.sidebar-bottom{display:none}
  .main-shell{margin-left:0}.topbar{position:absolute;top:12px;right:16px;height:44px;padding:0;border:0;background:none;z-index:5}.breadcrumb{display:none}.topbar>.button{min-height:44px;padding:9px 12px;font-size:12px}.topbar>.button .icon{height:15px;width:15px}
  #main-content{padding:20px 16px 24px}.page-heading{gap:12px;margin-bottom:18px}.page-heading h1{font-size:26px;letter-spacing:-.6px;margin-bottom:5px}.page-heading p{font-size:14px;line-height:1.8}.studio-heading p{display:none}
  .heading-control select{max-width:142px;min-width:0;min-height:44px;font-size:13px;padding:8px 10px}.heading-note{font-size:12px}
  .demo-banner{gap:8px;min-height:46px;padding:2px 10px;font-size:12px;margin-bottom:14px}.demo-banner .badge{font-size:12px;padding:2px 6px}.demo-banner>.text-button{font-size:12px;gap:0}.demo-banner>span:nth-child(2){font-size:12px}
  .product-strip{grid-template-columns:88px minmax(0,1fr);gap:10px 14px;padding:14px}.product-strip>.cover{grid-row:1/3;height:112px;border-radius:6px;object-position:57% center}
  .product-info h2{font-size:21px;line-height:1.45;margin-bottom:5px}.product-category{font-size:12px;gap:6px;margin-bottom:5px}.product-category .badge{font-size:12px;padding:1px 5px}
  .product-info>p{font-size:14px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-author{display:none}.product-state{grid-column:1/-1;justify-content:space-between;gap:10px;margin-top:0}.product-state>.badge{font-size:12px}.product-state>.text-button{font-size:12px;min-height:44px;padding:6px 0}
  .flow-strip{display:none}.studio-grid{gap:20px;margin-top:18px}.panel-heading{padding:16px 18px 10px}.panel-heading h2{font-size:18px}.panel-heading p{display:none}.thread-mark .icon{width:20px;height:20px}
  .tabs{padding:0 18px;gap:20px}.tabs button{min-height:48px;font-size:14px}.tabs button>span{font-size:12px}
  .current-question{padding:18px 18px 2px}.question-header{font-size:12px;gap:7px}.question-header .avatar{height:26px;width:26px}.question-number{font-size:12px;padding:2px 6px}.current-question h3{font-size:17px;line-height:1.8;margin-top:12px}
  .reply-composer{padding:0 18px 18px}.composer-label{min-height:48px;gap:6px;margin-top:6px;align-items:center}.composer-label label{font-size:14px}.composer-label label>span{display:none}.composer-label .text-button{font-size:12px}
  .reply-composer textarea{font-size:16px;min-height:112px;padding:12px;line-height:1.8}.composer-bottom{gap:8px;margin-top:12px}.composer-bottom>span{font-size:12px}.composer-bottom>.button{width:100%;min-height:46px;font-size:14px}
  .conversation-history>summary{padding:14px 18px;font-size:14px;gap:8px}.conversation-history>summary .icon{width:16px;height:16px}.question-group{padding:20px 18px 0}.thread-post{gap:10px}.post-meta strong{font-size:13px}.post-meta time{font-size:12px}.editor-label,.author-label{font-size:12px}.post-text{font-size:16px;line-height:1.95}
  .post-actions{gap:16px;font-size:12px}.post-actions .post-status{width:100%;margin-left:0}.reflected-label{font-size:12px}.reply-post{padding-left:12px}.reply-post:before{left:14px;width:3px}.reply-post .avatar{width:26px;height:26px}
  .publication-column{display:flex;gap:18px}.article-preview,.milestone-panel{width:100%}.article-cover{aspect-ratio:2.2}.article-preview-body{padding:20px}.article-preview h2{font-size:21px}.article-preview-body>p{font-size:16px}.article-source{font-size:12px}.preview-label{font-size:14px;padding:14px 18px}.article-tools{padding:6px 14px}.article-tools>.text-button{font-size:14px}
  .milestone-panel{padding:20px}.milestone-title h3{font-size:16px}.soft-label{font-size:12px}.milestone-panel>p{font-size:14px}.demo-action{font-size:14px}.reply-result{margin:16px 16px 0;padding:12px;gap:8px;flex-wrap:wrap}.reply-result strong{font-size:14px}.reply-result>div{flex:1;min-width:0}.reply-result span{font-size:12px}.reply-result>a{margin-left:26px;min-height:44px;font-size:13px}
  .app-footer{padding:4px 16px calc(92px + env(safe-area-inset-bottom));font-size:12px;align-items:start;gap:12px}.app-footer>span:first-child{font-size:12px}#toast{bottom:calc(84px + env(safe-area-inset-bottom));font-size:14px;padding:12px 16px}
  .library-toolbar{flex-direction:column;align-items:stretch;gap:16px;margin:24px 0 20px}.filter-buttons{gap:3px}.filter-buttons button{font-size:13px;min-height:44px;padding:8px 10px}.search-label input{width:100%;font-size:16px}.library-grid{grid-template-columns:minmax(0,1fr);gap:20px}.library-item>.cover{aspect-ratio:2}.library-body{padding:20px}.library-body h2{font-size:23px}.library-body>p{font-size:16px;min-height:0}.library-meta{font-size:12px}.new-work-tile{min-height:220px;padding:24px}.new-work-tile strong{font-size:17px}.new-work-tile span{font-size:14px}
  .article-row{grid-template-columns:minmax(0,1fr);gap:16px;padding:24px 0}.article-row>.cover{max-height:190px;aspect-ratio:2}.article-row h2{font-size:22px}.article-row p{font-size:16px}.article-row-actions{gap:24px}.article-row-actions .text-button{font-size:14px}.article-row .product-category{gap:8px;flex-wrap:wrap}
  .settings-layout{margin-top:24px;gap:0}.settings-layout>aside{display:block}.settings-section{padding:20px;margin-bottom:20px}.settings-section h2{font-size:20px}.settings-section p{font-size:16px}.connection-steps{gap:12px;flex-direction:column;margin:20px 0}.connection-steps>span{font-size:14px}.button-row{gap:8px}.button-row>.button{font-size:13px}.autopilot-bar{align-items:start;flex-direction:column;gap:14px}.autopilot-bar>.button{width:100%;font-size:14px}.autopilot-bar p{font-size:14px}.runner-details{gap:12px;font-size:12px}.settings-section label>small{font-size:12px}.settings-footnote{font-size:13px}.quiet-note{font-size:13px;margin-bottom:20px}.compact>.button{font-size:14px}
  dialog{width:calc(100vw - 24px);max-height:92dvh;padding:22px 20px;border-radius:14px}.modal-heading h2{font-size:22px}.modal-intro{font-size:14px;margin-bottom:20px}.form-two{grid-template-columns:minmax(0,1fr);gap:20px}.modal-footer{gap:10px}.modal-footer>.button{font-size:13px;padding:10px 13px}.mode-options label{padding:13px;gap:8px}.mode-options strong{font-size:14px}.mode-options small{font-size:12px}.help-steps{font-size:16px;padding-left:20px}.help-steps code{font-size:14px}
  .public-header{padding:16px 20px;gap:12px}.public-header .brand{font-size:20px;gap:7px}.public-header .brand img{height:30px;width:30px}.public-header>.text-button{font-size:13px}.public-article{padding:28px 22px 56px}.public-demo{font-size:12px;gap:8px;align-items:start;margin-bottom:26px}.public-demo>.badge{flex:none;font-size:12px}.public-article>.article-kicker{font-size:13px}.public-article>h1{font-size:28px;line-height:1.65;letter-spacing:-.7px}.article-lead{font-size:16px;line-height:1.9}.public-meta{font-size:12px;gap:8px}.public-meta>span:last-child{width:100%;margin:4px 0 0 38px}.public-article>.cover{aspect-ratio:1.7;margin:24px 0 30px}.public-section{margin:28px 0;padding-bottom:24px}.public-section h2{font-size:19px;line-height:1.9}.public-section h2>span{font-size:17px}.public-section blockquote{font-size:16px;line-height:2;padding-left:16px}.quote-source{font-size:12px;padding-left:19px}.public-work{flex-direction:column;align-items:start;gap:20px;padding:22px}.public-work h2{font-size:24px}.public-work p{font-size:16px}.public-work .button{width:100%}.public-end{font-size:14px}
}
@media(max-width:360px){.sidebar .brand{font-size:18px;gap:6px}.sidebar .brand img{height:29px;width:29px}.topbar>.button{padding:9px 10px;font-size:12px}.topbar>.button .icon{width:14px;height:14px}.page-heading h1{font-size:24px}.heading-control select{max-width:128px;font-size:12px}.demo-banner>span:nth-child(2){font-size:12px}.demo-banner>.text-button{font-size:12px}.product-strip{grid-template-columns:74px minmax(0,1fr);gap:12px}.product-info h2{font-size:20px}.tabs{gap:16px}.tabs button{font-size:13px}.question-header>span:not(.avatar):not(.question-number){font-size:12px}.question-header .avatar{height:24px;width:24px}}
.comments-intro{padding:24px 24px 16px}.comments-intro h3{font-size:20px;line-height:1.6}.comments-intro p{font-size:14px;line-height:1.9;color:var(--secondary);margin-top:8px}
.comment-composer{padding:18px 24px 24px;background:#f7f9fd;border-block:1px solid var(--line)}.comment-form-title{display:flex;align-items:center;gap:12px;font-size:15px}.comment-examples{display:flex;flex-wrap:wrap;gap:6px 16px;margin:8px 0 12px}.comment-examples .text-button{font-size:13px}
.comment-composer .form-two{gap:12px}.comment-composer .form-two>label{font-size:13px}.comment-composer label>select{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--field-border);border-radius:7px;background:white;font-size:16px;color:var(--ink)}
.comment-list{padding:0 24px}.comment-card{padding:24px 0;border-bottom:1px solid var(--line);min-width:0}.comment-card:last-child{border-bottom:0}.comment-card-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.comment-card-meta time{margin-left:auto;font-size:12px;color:var(--muted)}.comment-original{margin-top:14px}
.comment-source{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:12px;color:#3153b6}.comment-flow-state{display:flex;align-items:flex-start;gap:8px;margin-top:16px;padding:11px 12px;border-radius:7px;background:#f0f4fc;color:#344f91;font-size:13px;line-height:1.8}.comment-flow-state .icon{flex:none;margin-top:3px}.comment-flow-state.complete{background:#edf7f1;color:#21684f}
.comment-author-answer{padding:14px 16px;margin:16px 0 0;border-left:3px solid #b7c8f1;background:#f8faff}.comment-author-answer>span{font-size:12px;color:var(--muted)}.comment-author-answer p{margin-top:6px}.comment-answer-form>label{margin:20px 0 12px}.comment-answer-form>.button{width:100%;font-size:14px}
.comment-answer-form .implementation-check{display:flex;flex-direction:row;gap:10px;align-items:flex-start;padding:12px;background:#f5f7fb;border-radius:7px;font-size:13px;font-weight:500;cursor:pointer}.implementation-check>input{width:20px;min-height:20px;height:20px;margin:2px 0 0;padding:0;accent-color:var(--blue);flex:none}.implementation-check small{display:block;font-size:12px;color:var(--muted);font-weight:400;line-height:1.8;margin-top:5px}
.comment-posts{margin-top:18px;border-top:1px solid var(--line)}.comment-posts summary{display:flex;align-items:center;gap:12px;min-height:48px;color:var(--secondary);font-size:13px;cursor:pointer;list-style:none}.comment-posts summary:before{content:'›';font-size:20px;transition:transform .15s}.comment-posts[open] summary:before{transform:rotate(90deg)}.comment-posts summary>span{margin-left:auto;color:var(--muted);font-size:12px}.comment-posts>div{padding:14px;border:1px solid var(--line);border-radius:8px;margin:8px 0}.comment-posts strong{font-size:13px;color:var(--secondary)}.comment-posts .post-text{font-size:14px;margin-top:8px}.comment-posts a{font-size:13px;display:inline-flex;align-items:center;min-height:44px;color:#3153b6}
.comments-notice{padding:0 24px 20px;color:var(--muted);font-size:14px;line-height:1.9}.comment-card>.source-note{line-height:1.9;margin-top:16px}.article-reader-context{padding:16px 18px;margin-top:20px;border-radius:8px;background:#f4f6fa;color:var(--secondary)}.article-reader-context>span{font-size:12px;color:var(--muted)}.article-reader-context>p{font-size:15px;margin-top:8px}.article-reader-context>a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#3153b6}
@media(max-width:680px){.tabs{gap:12px;padding-inline:16px}.tabs button{font-size:13px;gap:4px;white-space:nowrap}.tabs button>span{min-width:16px;padding:0 3px}.comments-intro{padding:20px 18px 16px}.comments-intro h3{font-size:19px}.comment-composer{padding:18px}.comment-composer .form-two{grid-template-columns:minmax(0,1fr)}.comment-composer .form-two>label{margin:6px 0}.comment-list{padding:0 18px}.comment-card-meta{gap:8px}.comment-card-meta time{font-size:12px}.comment-answer-form>.button{padding-inline:10px;font-size:13px}.comments-notice{padding-inline:18px}}
@media(max-width:360px){.tabs{gap:9px;padding-inline:12px}.tabs button{font-size:12px}.tabs button>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
