.demo-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:40px;align-items:center}.demo-heading .jitu-button{margin-top:12px}.demo-heading .demo-muted{font-size:13px;line-height:1.7}.demo-sample{min-width:0;text-align:center}.demo-play,.demo-sample video{width:100%;max-height:440px;aspect-ratio:9/16;border-radius:20px;background:#101218;object-fit:contain}.demo-play{position:relative;display:block;overflow:hidden;padding:0;border:1px solid var(--border);cursor:pointer}.demo-play img{width:100%;height:100%;object-fit:contain}.demo-play span{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:95%;padding:12px 18px;border-radius:28px;background:#111e;color:white}.demo-sample>p{margin-top:12px;font-size:13px}.demo-planner{scroll-margin-top:90px;border:1px solid var(--border);border-radius:22px;padding:28px;background:var(--card)}.demo-choices,.demo-steps{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.demo-choices button,.demo-steps button{min-height:44px;border:1px solid var(--border);border-radius:12px;padding:10px 16px;background:var(--background);cursor:pointer}.demo-choices button[aria-pressed=true],.demo-steps button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.demo-plan-result h3{font-size:22px;font-weight:600;margin:22px 0 10px}.demo-plan-result>p{line-height:1.8}.demo-story{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;padding:0;list-style:none;color:var(--muted-foreground);font-size:14px}.demo-story li:not(:last-child):after{content:" →";margin-left:12px}.demo-process summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--muted-foreground)}.demo-process{margin-bottom:14px}.demo-story li{line-height:1.8;min-width:0}.demo-story span{display:block;font-size:12px;color:var(--muted-foreground);margin-bottom:4px}.demo-step-content{line-height:1.8;margin-bottom:16px}.demo-handoff{border:1px solid var(--border);border-radius:22px;background:var(--card)}.demo-handoff .mentor-contact{border:0;background:none;scroll-margin-top:90px}.demo-handoff-actions{padding:0 24px 24px}.demo-handoff-actions details,.demo-handoff-actions>p{margin:12px 0;line-height:1.8}.demo-handoff-actions summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.demo-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.demo-handoff-actions textarea{display:block;width:100%;min-height:110px;padding:12px;margin-top:8px;border:1px solid var(--border);border-radius:10px}.demo-next{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:1072px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:0 8px 24px #0002}.demo-shell .demo-main{padding-bottom:140px}.demo-next span{font-size:14px;min-width:0}.demo-shell a:focus-visible,.demo-shell button:focus-visible,.demo-shell summary:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.demo-shell .jitu-button{min-height:44px;text-align:center;white-space:normal}@media(max-width:650px){.demo-hero{grid-template-columns:minmax(0,1fr);gap:24px}.demo-heading h1{font-size:30px}.demo-sample{width:100%;max-width:280px;justify-self:center}.demo-planner{padding:20px 16px}.demo-story{grid-template-columns:1fr;gap:12px}.demo-steps{gap:6px}.demo-steps button{flex:1;padding:10px 6px;font-size:13px}.demo-next{bottom:8px;padding:10px}.demo-next .jitu-button{flex-shrink:0;max-width:60%}.demo-handoff-actions{padding:0 18px 18px}.demo-choices button{flex:1 0 40%}}.demo-workspace{min-width:0}.demo-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.demo-workspace-head h1{font-size:24px;font-weight:650}.demo-workspace-head span{font-size:13px;color:var(--muted-foreground)}.demo-workspace-head a{color:#edb3ff}.demo-workspace-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.demo-workspace-tabs :is(a,button){padding:10px 16px;min-height:44px;border-radius:12px;background:var(--card);border:1px solid var(--border)}.demo-workspace-tabs [aria-current],.demo-workspace-tabs [aria-pressed=true]{border-color:#b84cd0;background:#55236b}.demo-workspace-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.demo-workspace-columns>section{min-width:0;padding:24px;background:var(--card);border:1px solid var(--border);border-radius:18px}.demo-workspace-editor label{display:grid;gap:10px;margin-bottom:18px}.demo-workspace-editor :is(input,textarea,select){width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--background)}.demo-workspace-editor fieldset{min-width:0;display:grid;gap:12px}.demo-workspace-editor p{font-size:14px;color:var(--muted-foreground);margin-bottom:16px}.demo-workspace button:disabled{cursor:not-allowed;opacity:.55}.demo-upload-placeholder{min-height:160px;display:grid;place-items:center;border:1px dashed var(--border);border-radius:12px;color:var(--muted-foreground);width:100%}.demo-workspace-example :is(img,video){display:block;width:100%;height:420px;object-fit:contain;margin-top:16px;background:#09090b;border-radius:12px}.demo-example-grid,.demo-tool-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.demo-tool-cards a{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px;background:var(--card);border:1px solid var(--border);border-radius:16px}.demo-example-grid img{width:100%;height:260px;object-fit:contain}.demo-example-grid figcaption{padding:12px}.demo-workspace-actions{margin-bottom:16px}.demo-portrait-detail button,.demo-workspace-actions button{min-height:44px;padding:10px 18px;border:1px solid var(--border);border-radius:10px;margin-right:10px}.demo-portrait-detail{width:calc(100vw - 32px);max-width:860px;max-height:calc(100dvh - 100px);padding:24px;background:var(--card);border:1px solid var(--border);border-radius:20px;display:flex;gap:24px;overflow:auto}.demo-portrait-detail img{width:60%;min-width:0;object-fit:contain}.demo-portrait-detail p{margin:16px 0}.demo-portrait-detail>div{min-width:0}@media(max-width:650px){.demo-workspace-columns{grid-template-columns:minmax(0,1fr)}.demo-workspace-columns>section{padding:16px}.demo-example-grid,.demo-tool-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-tool-cards a{padding:16px}.demo-workspace-example :is(img,video){height:340px}.demo-portrait-detail{flex-direction:column}.demo-portrait-detail img{width:100%;height:60%}}