.builder-window{height:100%;width:100%;background:white;border:1px solid #d5dce2;border-radius:20px;overflow:hidden;box-shadow:0 2px 5px #1e272d05,0 20px 70px -35px #1e272d40;display:flex;flex-direction:column;font-weight:400}.builder-chrome{height:46px;min-height:46px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;border-bottom:1px solid var(--line);background:#fdfefe}.vault-title{display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap}.chrome-divider{color:#b5bec6;margin:0 4px}.builder-tools{display:flex;align-items:center;gap:12px}.preview-label{font:8px/1.3 'Geist Mono',monospace;color:var(--muted);letter-spacing:.06em}.builder-tools .icon-button{width:28px;height:28px;font-size:23px;border-radius:5px}.builder-tools .icon-button[aria-pressed=true]{background:var(--blue-soft)}.reset-button{font-size:10px;color:var(--muted);padding:8px}.reset-button:hover{color:var(--ink)}.builder-panes{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(0,1.5fr);flex:1;min-height:0}.chat-pane{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#fff}.conversation{overflow-y:auto;padding:24px 24px 18px;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#dce1e5 transparent}.chat-message{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;margin-bottom:20px}.chat-message .assistant-mark{width:20px;height:20px;flex:none;margin-top:2px}.chat-message>div{min-width:0;width:100%}.chat-message p+p{margin-top:8px}.chat-message.user{justify-content:flex-end}.chat-message.user>div{max-width:88%;background:#f0f2f5;border-radius:12px 12px 3px 12px;padding:10px 13px;width:auto}.source-context{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;padding:8px 9px;font-size:10px;margin:0 0 18px;line-height:1.2;background:#fcfdfe}.source-context .icon{width:14px;height:14px}.source-context>span:last-child{margin-left:auto;color:var(--muted);font-size:9px}.app-suggestions{display:flex;flex-direction:column;gap:9px;margin-left:30px}.app-suggestion{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:1px solid var(--line);border-radius:10px;padding:13px 12px;min-height:68px;background:#fff}.app-suggestion:hover{border-color:#a6b0bc;background:#f9fafc}.app-suggestion>.icon{width:18px;height:18px;color:#617083}.app-suggestion>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.app-suggestion strong{font-weight:400;font-size:12px}.app-suggestion small{font-size:10px;line-height:1.4;color:var(--muted);max-width:220px}.suggestion-arrow{margin-left:auto;font-size:13px;color:var(--muted)}.refinement-choices{margin-left:30px;display:flex;flex-direction:column;gap:7px}.refinement-choices>.small-label{font-size:8px;margin-bottom:4px}.refinement-choices button{display:flex;align-items:center;gap:10px;text-align:left;font-size:11px;min-height:36px;padding:8px 10px;border:1px solid var(--line);border-radius:7px}.refinement-choices button>.icon{width:14px;height:14px}.refinement-choices button>span:last-child{margin-left:auto}.refinement-choices button:hover{background:var(--paper)}.change-app{font-size:10px;color:var(--muted);margin:18px 0 4px 30px;text-decoration:underline;text-underline-offset:4px}.building-status{display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;display:inline-block;background:var(--blue);border-radius:50%}.builder-composer{padding:14px 18px 12px;border-top:1px solid var(--line);background:white}.builder-composer label{font-size:9px;color:var(--muted);display:block;margin-bottom:7px}.composer-field{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:9px 9px 9px 12px}.composer-field:focus-within{border-color:#98a5bc}.composer-field textarea{flex:1;min-width:0;border:0;background:none;font-size:11px;line-height:1.5;resize:none;height:32px;padding:5px 0;outline:0}.composer-field button{width:30px;height:30px;border-radius:50%;background:var(--ink);color:white;display:flex;align-items:center;justify-content:center;flex:none}.composer-field button .icon{width:16px;height:16px;transform:rotate(-90deg)}.composer-note{font-size:8px;color:var(--muted);display:block;margin-top:8px;line-height:1.4}.preview-pane{background:#f0f3f7;min-width:0;min-height:0;overflow:hidden;position:relative}.preview-canvas{height:100%;padding:20px;display:flex;justify-content:center;align-items:stretch;overflow:auto}.preview-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;text-align:center;min-height:350px}.empty-content-stack{position:relative;width:210px;height:165px;margin-bottom:34px}.empty-content-stack img{position:absolute;top:10px;left:50%;width:100px;height:140px;object-fit:cover;border:5px solid white;border-radius:12px;box-shadow:0 4px 12px #1e272d15}.empty-content-stack img:first-child{transform:translateX(-100%) rotate(-12deg);top:14px}.empty-content-stack img:nth-child(2){transform:translateX(-50%);z-index:2}.empty-content-stack img:last-child{transform:translateX(0) rotate(12deg);top:14px}.app-kicker{font:8px/1.5 'Geist Mono',monospace;color:var(--muted);letter-spacing:.06em;display:block}.preview-empty h3{font-size:30px;font-weight:300;letter-spacing:-1px;margin:13px 0 12px;line-height:1.1}.preview-empty>p{font-size:12px;line-height:1.6;font-weight:300;color:var(--muted)}.preview-building{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;width:100%;font-size:12px;color:var(--muted)}.assembly-lines{display:flex;flex-direction:column;gap:7px;width:140px}.assembly-lines span{height:5px;background:#dfe5ee;border-radius:4px}.assembly-lines span:nth-child(2){width:70%}.assembly-lines span:nth-child(3){width:45%}.live-app{background:#fff;border:1px solid #d7dee6;border-radius:11px;overflow:hidden;width:100%;max-width:720px;display:flex;flex-direction:column;align-self:stretch;min-height:0;box-shadow:0 12px 24px -22px #1e272d25;--app-bg:#fff;--app-ink:#2a302e;--app-soft:#f6f7f3;--app-accent:#34463e;color:var(--app-ink)}.live-app.theme-lavender{--app-bg:#f5f2fc;--app-soft:#ece8f8;--app-accent:#5e5486;--app-ink:#302d3c}.live-app.phone-preview{max-width:320px;border-radius:24px}.app-window-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #0000000b;background:#fdfdfe;font-size:9px;color:#7a838a;flex:none;gap:12px;height:32px;min-height:32px}.window-lights{display:flex;gap:4px}.window-lights i{display:block;width:5px;height:5px;border-radius:50%;background:#dce0e4}.app-content{padding:24px;overflow-y:auto;background:var(--app-bg);flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#d7dce0 transparent}.app-bottom-bar{padding:8px 12px;font-size:8px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;border-top:1px solid #0000000b;background:var(--app-bg);min-height:28px;flex:none}.app-brand{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.02em;border-bottom:1px solid #00000010;padding-bottom:16px}.creator-monogram{font-size:15px;font-weight:400;letter-spacing:-1px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:var(--app-soft);border-radius:50%}.app-brand>.icon-button{margin-left:auto;width:24px;height:24px}.app-brand .icon{width:14px;height:14px}.guide-hero{margin:28px 0 22px}.guide-hero h3,.course-intro h3,.routine-quiz h3{font-size:clamp(25px,2.3vw,38px);font-weight:300;line-height:1.02;letter-spacing:-1.3px;margin:12px 0}.guide-hero p,.course-intro p,.routine-quiz>p{font-size:11px;line-height:1.6;max-width:320px;color:var(--muted);font-weight:300}.app-search{display:flex;align-items:center;gap:8px;border:1px solid #00000014;border-radius:7px;min-height:34px;padding:7px 10px;background:#ffffff80}.app-search .icon{width:13px;height:13px;color:#7a838a}.app-search input{width:100%;min-width:0;border:0;background:transparent;outline:0;font-size:10px}.app-categories{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 20px}.app-categories button{padding:6px 10px;border:1px solid #00000012;border-radius:999px;font-size:9px;min-height:28px;background:var(--app-bg)}.app-categories button[aria-pressed=true]{background:var(--app-accent);color:white;border-color:var(--app-accent)}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}.guide-card{text-align:left;padding:0;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.guide-card.featured{grid-column:1/-1}.guide-card img{width:100%;height:125px;object-fit:cover;border-radius:7px;margin-bottom:10px}.guide-card.featured img{height:205px;object-position:50% 50%}.guide-card strong{font-weight:400;font-size:15px;line-height:1.15;letter-spacing:-.2px;margin-top:6px}.card-more{font-size:8px;color:var(--muted);display:flex;justify-content:space-between;width:100%;margin-top:8px}.guide-card:hover strong{text-decoration:underline;text-underline-offset:3px}.guide-detail>img,.guide-detail>video{width:100%;max-height:300px;object-fit:cover;border-radius:8px;margin:18px 0}.preview-back{font-size:10px;color:var(--muted);padding:6px 0}.guide-detail h3{font-size:30px;font-weight:300;line-height:1.05;letter-spacing:-.8px;margin:12px 0}.guide-detail>p,.lesson-detail>p{font-size:12px;line-height:1.7;font-weight:300;color:var(--muted)}.source-link{font-size:9px;text-decoration:underline;text-underline-offset:4px;padding:8px 0;text-align:left;line-height:1.5}.guide-detail>.source-link{margin-top:16px}.beginner-tip{background:var(--app-soft);padding:14px;border-radius:8px;margin-top:18px;font-size:11px;line-height:1.6}.beginner-tip strong{font-weight:400}.beginner-tip p{margin-top:5px;color:var(--muted)}.course-progress{margin-left:auto;font-size:8px;color:var(--muted)}.course-intro{margin:26px 0 22px}.course-player{position:relative;overflow:hidden;border-radius:8px;background:#eceeea}.course-player video{width:100%;height:250px;object-fit:cover;object-position:50% 25%}.video-source-label{position:absolute;top:10px;left:10px;font:7px/1 'Geist Mono',monospace;background:#ffffffde;padding:6px 8px;border-radius:999px}.lesson-detail{margin:20px 0}.lesson-detail h4{font-size:20px;font-weight:300;letter-spacing:-.4px;margin:10px 0}.app-solid-button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;border-radius:7px;padding:9px 12px;font-size:10px;background:var(--app-accent);color:white;margin-top:16px}.app-solid-button>.icon{width:12px;height:12px}.lesson-list{border-top:1px solid #00000014}.lesson-list button{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #00000012;width:100%;font-size:10px;text-align:left}.lesson-list button>span:first-child{font:8px 'Geist Mono',monospace;color:var(--muted)}.lesson-list button>.icon{width:12px;height:12px;margin-left:auto}.lesson-list button[aria-current=step]{color:var(--app-accent)}.routine-quiz{margin-top:28px}.routine-quiz fieldset{margin:22px 0 0;padding:0;border:0}.routine-quiz legend{font-size:10px;margin-bottom:9px;color:var(--muted)}.quiz-options{display:flex;flex-wrap:wrap;gap:6px}.quiz-options button{border:1px solid #00000018;border-radius:7px;background:#ffffff90;padding:9px 10px;font-size:10px;min-height:36px}.quiz-options button[aria-pressed=true]{border-color:var(--app-accent);background:var(--app-soft);color:var(--app-accent)}.quiz-result{border:1px solid #00000010;border-radius:10px;overflow:hidden;margin-top:26px;background:var(--app-bg)}.quiz-result>img{width:100%;height:200px;object-fit:cover}.quiz-result>div{padding:16px}.quiz-result h4{font-size:23px;font-weight:300;letter-spacing:-.5px;line-height:1.05;margin:9px 0}.quiz-result p{font-size:11px;line-height:1.6;color:var(--muted);font-weight:300}.quiz-result .source-link{margin-top:10px}.no-results,.builder-empty-note{font-size:12px;line-height:1.6;color:var(--muted);padding:16px 0}.mobile-pane-tabs{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.builder-panes{grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr)}.conversation{padding:20px 16px 16px}.app-suggestion{padding:11px 10px;gap:8px}.app-suggestion small{font-size:9px}.preview-canvas{padding:14px}.app-content{padding:20px}.guide-hero h3,.course-intro h3,.routine-quiz h3{font-size:30px}.guide-card.featured img{height:170px}.guide-card img{height:100px}}
.live-app{container-type:inline-size}.guide-hero{display:grid;grid-template-columns:1.08fr 1fr;gap:20px;align-items:center;margin:22px 0}.guide-cover{width:100%;height:218px;object-fit:cover;border-radius:8px}.guide-hero h3{font-size:32px}.guide-hero-copy>p{font-size:11px;line-height:1.6;font-weight:300;color:var(--muted);margin-top:12px}.guide-grid>.guide-card.featured{grid-column:auto}.guide-grid>.guide-card.featured img{height:125px}
.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.save-story{font-size:10px;display:inline-flex;align-items:center;gap:6px;min-height:36px}.save-story .icon{width:14px;height:14px}.save-story[aria-pressed=true] .icon{fill:var(--app-accent);color:var(--app-accent)}.app-brand>.icon-button[aria-pressed=true]{background:var(--app-soft);color:var(--app-accent)}
.native-wrapper-mode{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.native-wrapper-mode .builder-panes{grid-template-columns:1fr;gap:18px;transition:grid-template-columns 260ms cubic-bezier(.44,0,.56,1)}.native-wrapper-mode.has-app .builder-panes{grid-template-columns:minmax(340px,.88fr) minmax(0,1.45fr)}.native-wrapper-mode .native-chat-pane{border:0;background:transparent;overflow:hidden;border-radius:20px}.native-chat-frame{border:0;width:100%;height:100%;display:block;background:transparent}.native-wrapper-mode .preview-pane{display:none;border:1px solid #d7dee6;border-radius:20px;overflow:hidden}.native-wrapper-mode.has-app .preview-pane{display:flex;flex-direction:column}.native-preview-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 16px;border-bottom:1px solid #d7dee6;background:#ffffffc0}.native-preview-toolbar .small-label{font-size:8px}.native-wrapper-mode .preview-canvas{flex:1;min-height:0;height:auto;padding:14px}.native-wrapper-mode .mobile-pane-tabs{display:none}
@media(max-width:1100px) and (min-width:701px){.native-wrapper-mode.has-app .builder-panes{grid-template-columns:minmax(290px,.9fr) minmax(0,1fr);gap:12px}.native-wrapper-mode .preview-canvas{padding:10px}}
@media(max-width:700px){.native-wrapper-mode .builder-panes,.native-wrapper-mode.has-app .builder-panes{display:block;transition:none}.native-wrapper-mode .chat-pane{display:block;height:100%;border-radius:20px}.native-wrapper-mode .preview-pane{height:100%;border-radius:14px}.native-wrapper-mode.has-app .mobile-pane-tabs{display:flex;border:1px solid var(--line);border-radius:10px;margin-bottom:10px}.native-wrapper-mode.has-app[data-mobile-pane=preview] .chat-pane{display:none}.native-wrapper-mode.has-app[data-mobile-pane=chat] .preview-pane{display:none}.native-wrapper-mode .preview-canvas{padding:10px}.native-preview-toolbar{min-height:40px;padding:0 12px}.native-preview-toolbar .builder-tools .icon-button,.native-preview-toolbar .reset-button{width:36px;height:36px;min-height:36px}}
@container(max-width:430px){.guide-hero{display:flex;flex-direction:column-reverse;align-items:stretch;gap:18px}.guide-cover{height:155px}.guide-hero h3{font-size:29px}.guide-hero-copy>p{font-size:11px}.guide-grid>.guide-card.featured img{height:110px}}
@media(max-width:700px){.builder-window{border-radius:14px}.builder-chrome{height:40px;min-height:40px;padding:0 12px}.vault-title{font-size:10px;gap:6px}.vault-title>img{width:15px;height:15px}.vault-title>.chrome-divider,.vault-title>.muted{display:none}.builder-tools{gap:8px}.preview-label{font-size:7px}.reset-button{font-size:9px;padding:6px}.builder-tools .icon-button{width:26px;height:26px}.mobile-pane-tabs{display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);padding:6px;gap:6px;height:38px;min-height:38px;background:white}.mobile-pane-tabs button{width:50%;padding:7px;border-radius:6px;font-size:10px}.mobile-pane-tabs button[aria-selected=true]{background:#eef1f6;color:#354258}.builder-panes{display:block;position:relative}.chat-pane,.preview-pane{height:100%;width:100%}.builder-window[data-mobile-pane=chat] .preview-pane,.builder-window[data-mobile-pane=preview] .chat-pane{display:none}.chat-pane{border-right:0}.conversation{padding:18px 18px 12px}.chat-message{font-size:12px;gap:9px;margin-bottom:16px}.source-context{font-size:9px;margin-bottom:12px}.source-context>span:last-child{font-size:8px}.app-suggestions{gap:7px;margin-left:29px}.app-suggestion{min-height:60px}.app-suggestion strong{font-size:11px}.app-suggestion small{font-size:9px}.builder-composer{padding:10px 14px}.composer-note{font-size:7px;margin-top:6px}.composer-field{padding:6px 6px 6px 10px}.composer-field textarea{height:28px;font-size:11px}.composer-field button{width:28px;height:28px}.preview-canvas{padding:12px}.preview-empty{min-height:250px}.empty-content-stack{transform:scale(.8);margin-bottom:10px;height:145px}.preview-empty h3{font-size:26px}.preview-empty>p{font-size:11px}.preview-empty>.app-kicker{font-size:7px}.app-content{padding:18px}.app-window-bar{height:28px;min-height:28px;font-size:8px}.app-bottom-bar{font-size:7px;min-height:23px;padding:6px 10px}.app-brand{padding-bottom:12px;font-size:8px}.guide-hero,.course-intro{margin:22px 0 18px}.guide-hero h3,.course-intro h3,.routine-quiz h3{font-size:29px;letter-spacing:-1px}.guide-hero p,.course-intro p,.routine-quiz>p{font-size:10px}.app-search input{font-size:9px}.app-categories{gap:5px;margin:12px 0 16px}.app-categories button{font-size:8px;padding:6px 8px}.guide-grid{gap:18px 12px}.guide-card.featured img{height:180px}.guide-card img{height:100px}.guide-card strong{font-size:13px}.guide-card .app-kicker{font-size:7px}.card-more{font-size:7px}.course-player video{height:240px}.lesson-detail h4{font-size:19px}.lesson-detail>p{font-size:11px}.guide-detail h3{font-size:28px}.guide-detail>p{font-size:11px}.quiz-options button{font-size:9px;min-height:36px;padding:8px 9px}.quiz-result>img{height:180px}.quiz-result h4{font-size:22px}.quiz-result p{font-size:10px}}
@media(max-width:700px){.builder-chrome{height:44px;min-height:44px}.builder-tools .preview-label{display:none}.builder-tools{gap:3px}.builder-tools .icon-button,.reset-button{width:40px;height:40px;min-height:40px}.mobile-pane-tabs{height:48px;min-height:48px;padding:2px}.mobile-pane-tabs button{min-height:44px}.refinement-choices button{min-height:44px}.change-app{min-height:44px;margin-top:8px}.app-categories button,.quiz-options button,.app-solid-button{min-height:44px}.preview-back,.source-link{min-height:44px;display:inline-flex;align-items:center}.lesson-list button{min-height:48px}.composer-field button{width:40px;height:40px}.app-brand>.icon-button{width:36px;height:36px}.guide-grid>.guide-card.featured img{height:100px}.app-search{min-height:40px}.forum-actions button{min-height:44px}.source-format button{min-height:44px}}
/* Keep screenshot and active-player geometry identical in the live examples. */
.guide-video-preview{position:relative;overflow:hidden;margin:18px 0;border-radius:8px}
.guide-video-preview>:is(img,video){display:block;width:100%;max-height:300px;object-fit:cover;margin:0}
.course-player>:is(img[data-video-src],video){width:100%;height:250px;object-fit:cover;object-position:50% 25%}
@media(max-width:700px){.course-player>:is(img[data-video-src],video){height:240px}}
