/* L05: scope the photographic composition to the homepage, retain Prism inside. */
.wordmark img{width:174px;height:auto}.footer-brand img{width:174px;height:auto}
.home-backdrop{display:none}.hero-short{display:none}
html.home-view body{background:#faf8f4}
.home-view .home-backdrop{display:block;position:absolute;inset:0 0 auto;height:1024px;pointer-events:none;background-position:50% 50%;background-size:cover;background-repeat:no-repeat;z-index:0;mask-image:linear-gradient(#000 0%,#000 68%,#0006 77%,transparent 89%)}
@media(min-width:768px){.home-view[data-hero-scene=milky-way] .home-backdrop{background-image:url('/assets/backgrounds/hero-milky-way.webp')}
.home-view[data-hero-scene=library] .home-backdrop{background-image:url('/assets/backgrounds/hero-library.webp')}
.home-view[data-hero-scene=classroom] .home-backdrop{background-image:url('/assets/backgrounds/hero-classroom.webp')}}
.home-view[data-hero-image=missing] .home-backdrop{background-image:linear-gradient(#101833 0%,#253958 60%,#faf8f4 100%)!important}
.home-view #main,.home-view .sitefooter{position:relative;z-index:1}
.home-view .topbar{position:relative;z-index:2;background:transparent;border:0;backdrop-filter:none;box-shadow:none}
.home-view .nav{max-width:1440px;min-height:76px;margin:auto;padding:12px 16px;gap:32px}
.home-view .navlinks{gap:18px;margin-left:auto;margin-right:auto}.home-view .navlink{font-size:15px;padding:9px 12px;border:0;background:transparent;color:inherit}
.home-view[data-hero-contrast=light] .topbar,.home-view[data-hero-contrast=light] .hero{color:#fff;--text:#fff;--muted:#fff;--blue:#fff}
.home-view[data-hero-contrast=dark] .topbar,.home-view[data-hero-contrast=dark] .hero{color:#111a39;--text:#111a39;--muted:#26334b;--blue:#111a39}
.home-view[data-hero-contrast=light] .topbar .brand-light{display:none!important}.home-view[data-hero-contrast=light] .topbar .brand-dark{display:block!important}
.home-view[data-hero-contrast=dark] .topbar .brand-light{display:block!important}.home-view[data-hero-contrast=dark] .topbar .brand-dark{display:none!important}
.home-view .topbar .iconbutton,.home-view .topbar #account-menu-toggle{background:transparent;color:inherit;border-color:transparent}
.home-view .topbar #account-link{display:inline-flex;background:transparent;color:inherit;border-color:currentColor;font-size:14px;padding-inline:18px}
.home-view #register-link{display:none}.home-view[data-session=guest] #account-menu-toggle span{display:none}
.home-view .account-menu,.home-view .theme-menu{color:var(--text);--text:#111a39;--surface:#fff;--muted:#4c566b;--blue:#244edc;--soft:#f3f5fd;--border:#d8dce5;background:#fff}
.home-view .hero{margin:17px auto 32px;padding:0 20px;text-align:center;max-width:1200px}
.home-view .hero .brand-tagline{font-size:24px;line-height:1.45;font-weight:400;letter-spacing:0;color:inherit;margin:0 0 10px}
.home-view .hero h1{min-height:0;font-size:clamp(44px,4.3vw,66px);line-height:1.12;letter-spacing:-2.5px;margin:0 0 14px;font-weight:700}
.home-view .hero .gradient-text{background:none;-webkit-text-fill-color:currentColor;color:#c8bcff}
.home-view[data-hero-contrast=dark] .hero .gradient-text{color:#5036bc}
.home-view .hero .hero-subtitle{font-size:25px;line-height:1.5;color:inherit;max-width:none;margin:0}
.home-view .creator{max-width:620px;margin:0 auto;padding:0;border:0;background:#fff;border-radius:26px;box-shadow:0 14px 55px #101a3330;--surface:#fff;--input:#fff;--text:#202b41;--muted:#536075;--border:#d8dce5;--blue:#244fe8;--soft:#f3f5fd;--danger:#ab182e;color:var(--text)}
.home-view .creator-inner{padding:24px 38px 16px;background:#fff;border-radius:26px}
.home-view .dropzone{padding:0 0 18px;margin-bottom:0;border:0;border-radius:14px;background:transparent}
.home-view .dropzone.drag{background:#eef2ff;outline:2px dashed #465de1;outline-offset:4px}
.home-view .uploadicon{width:60px;height:60px;color:#4281ef;margin:0 auto 10px}
.home-view .dropzone h2{font-size:28px;line-height:1.3;letter-spacing:-.7px;margin:0 0 9px}
.home-view .dropzone p{font-size:20px;line-height:1.4;color:#536075;margin:0 0 22px}
.home-view .dropbuttons{display:grid;grid-template-columns:1fr 1fr;justify-content:center;gap:12px}
.home-view .dropbuttons .button{font-size:17px;font-weight:400;min-height:50px;padding:10px 17px;border-radius:9px;border-color:#cbd1df;color:#25334d;background:#fff}
.home-view .dropbuttons .button svg{color:#3971e8}.home-view .dropbuttons #choose{background:#edf3ff;border-color:#bdcdec;color:#254fa7}
.home-view .file-list:empty{display:none}.home-view .compose-options{margin:0 0 22px;border:0;border-top:1px solid #d8dce5;border-bottom:1px solid #d8dce5;border-radius:0;background:transparent;padding:0}
.home-view .compose-options>summary{display:flex;align-items:center;gap:12px;min-height:50px;padding:12px 0;font-size:18px;font-weight:400;color:#27344b;list-style:none}
.home-view .compose-options>summary::-webkit-details-marker{display:none}.home-view .compose-options>summary:after{content:'';width:9px;height:9px;border-right:2px solid #536075;border-bottom:2px solid #536075;transform:rotate(45deg);margin-left:auto;margin-right:4px;flex:none}
.home-view .compose-options[open]>summary:after{transform:rotate(225deg)}.home-view .settings-glyph{width:24px;height:24px;color:#5c687d}
.home-view .creator .create-cta{min-height:52px;font-size:21px;border-radius:9px;background:linear-gradient(110deg,#2674ed,#8050ed);color:#fff;border:0;box-shadow:0 4px 10px #4357e329}
.home-view .create-cta>svg{display:none}.home-view .manual-link{font-size:18px;color:#48649c;margin:8px auto 0;min-height:44px}
.home-view .creator-support{max-width:620px;margin:16px auto 0;padding:0 12px;min-height:44px;color:#34435c;font-size:15px;text-align:center}
.home-view .support-disclosure{background:transparent;padding:0 8px;display:inline-block;text-align:left;max-width:100%}
.home-view .support-disclosure>summary{list-style:none;text-decoration:underline;min-height:44px;text-align:center;color:#1c2942;font-size:13px;padding:10px 2px}.home-view .support-disclosure>summary::-webkit-details-marker{display:none}.home-view .support-disclosure>p{font-size:14px;line-height:1.6;color:#34435c;background:#faf8f4;padding:10px 12px;margin:0}
.home-view .samples{max-width:1440px;margin:34px auto 0;padding:0 16px;--text:#202b41;--muted:#536075;--surface:#fff;--border:#dde1e8;--blue:#3554c7;--soft:#f0f3ff;color:var(--text)}
.home-view .section-heading{margin-bottom:20px}.home-view .section-heading h2{font-size:30px;letter-spacing:-1px}.home-view .section-heading a{font-size:17px}
.home-view .sitefooter{--text:#202b41;--muted:#536075;--border:#dde1e8;--blue:#3554c7;color:var(--muted)}.home-view .sitefooter .brand-light{display:block!important}.home-view .sitefooter .brand-dark{display:none!important}
.home-view :focus-visible{outline:3px solid #ffbf47;outline-offset:4px}
/* Admin previews are unsaved and isolated from the live homepage attributes. */
.appearance-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.appearance-choice{display:block;border:2px solid var(--border);border-radius:12px;padding:10px;cursor:pointer;min-width:0}.appearance-choice:has(input:checked){border-color:var(--blue)}.appearance-choice img{display:block;width:100%;height:auto;border-radius:7px;margin-bottom:8px}.appearance-choice input{width:auto;min-height:20px;display:inline;vertical-align:middle}.appearance-choice span{margin-left:6px;font-weight:700}
.appearance-preview{position:relative;min-height:390px;padding:22px;text-align:center;border-radius:14px;background:#172542 center/cover no-repeat;color:#fff;margin:18px 0;overflow:hidden}.appearance-preview[data-scene=milky-way]{background-image:url('/assets/backgrounds/hero-milky-way.webp')}.appearance-preview[data-scene=library]{background-image:url('/assets/backgrounds/hero-library.webp')}.appearance-preview[data-scene=classroom]{background-image:url('/assets/backgrounds/hero-classroom.webp');color:#111a39}.appearance-preview img{width:140px;height:auto;display:block;margin-bottom:22px}.appearance-preview h3{font-size:30px;margin:12px 0}.appearance-preview p{font-size:14px}.appearance-preview-card{background:#fff;color:#27344b;border-radius:14px;padding:24px 12px;max-width:340px;margin:24px auto 0}.appearance-preview-card strong{display:block;font-size:18px}.appearance-preview-card span{display:block;background:linear-gradient(110deg,#2674ed,#8050ed);color:#fff;border-radius:6px;padding:10px;margin-top:18px}.appearance-unsaved{font-size:14px;min-height:24px;color:var(--muted)}
@media(max-width:820px){
 .topbar{position:relative;z-index:2}
 .nav .theme-picker,.nav .account-picker{position:static}
 .nav .theme-menu,.nav .account-menu,.nav .navlinks.is-open{position:absolute;top:100%;max-height:calc(100dvh - 100% - 12px);overflow:auto}
 .nav .theme-menu,.nav .account-menu{right:12px;min-width:0;max-width:calc(100% - 24px)}
 .nav .theme-menu{width:210px}
 .nav .navlinks.is-open{left:12px;right:12px;width:auto;margin:0;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px #101a3329;padding:10px;background:var(--surface);z-index:5}
 .home-view .navlinks.is-open{color:#172542;--soft:#f3f5fd;--border:#d8dce5;background:#fff}
 .home-view .navlinks.is-open .active{color:#244edc}
}
@media(max-width:767px){
 .home-view .home-backdrop{height:800px}.home-view[data-hero-scene=milky-way] .home-backdrop{background-image:url('/assets/backgrounds/hero-milky-way-mobile.webp')}.home-view[data-hero-scene=library] .home-backdrop{background-image:url('/assets/backgrounds/hero-library-mobile.webp')}.home-view[data-hero-scene=classroom] .home-backdrop{background-image:url('/assets/backgrounds/hero-classroom-mobile.webp')}
 .home-view .nav{position:relative;min-height:64px;padding:10px 12px;gap:8px;flex-wrap:nowrap}.home-view .wordmark img{width:134px}.home-view .navactions{gap:2px}.home-view .topbar #account-link{padding:8px;font-size:11px;min-height:44px}.home-view .iconbutton,.home-view #account-menu-toggle{min-width:44px;min-height:44px;padding:6px}.home-view .navlink{font-size:14px}
 .home-view .hero{margin:15px auto 23px;padding:0 12px}.home-view .hero .brand-tagline{font-size:14px;line-height:1.5;margin:0 0 9px}.home-view .hero h1{min-height:0;font-size:clamp(26px,7.1vw,44px);line-height:1.16;letter-spacing:-1.1px;margin-bottom:10px}.home-view .hero .hero-subtitle{font-size:14px;line-height:1.5;max-width:100%}.hero-full{display:none}.hero-short{display:inline}
 .home-view .creator{margin:0 12px;max-width:none;border-radius:20px}.home-view .creator-inner{padding:20px 18px 14px;border-radius:20px}.home-view .dropzone{padding:0 0 18px}.home-view .uploadicon{width:43px;height:43px;margin-bottom:10px}.home-view .dropzone h2{font-size:20px;letter-spacing:-.7px;margin-bottom:7px}.home-view .dropzone p{font-size:14px;margin-bottom:16px}.home-view .dropbuttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.home-view .dropbuttons .button{min-height:44px;padding:9px 7px;font-size:12px;gap:7px;white-space:normal}.home-view .dropbuttons .button svg{width:18px;height:18px}.home-view .camera{grid-column:1/-1;justify-self:center;min-height:44px!important;padding:5px 12px!important;border:0!important}
 .home-view .compose-options{margin-bottom:16px}.home-view .compose-options>summary{min-height:50px;font-size:15px;padding-block:10px}.home-view .creator .create-cta{min-height:50px;font-size:17px;padding:10px}.home-view .manual-link{font-size:15px;min-height:44px;margin-top:5px}.home-view .creator-support{margin-top:10px;min-height:44px;padding-inline:12px}.home-view .support-disclosure>summary{font-size:12px}.home-view .samples{margin-top:28px;padding:0 16px}.home-view .section-heading{gap:8px;align-items:center}.home-view .section-heading h2{font-size:22px}.home-view .section-heading a{font-size:12px;margin-top:0}.appearance-choices{grid-template-columns:1fr}.appearance-choice img{max-width:320px}.appearance-preview{padding:16px;min-height:330px}.appearance-preview h3{font-size:24px}
}
@media(max-width:380px){.home-view .nav{flex-wrap:wrap}}
@media(max-width:359px){.home-view .wordmark img{width:112px;max-width:100%}.home-view .nav{gap:4px;padding-inline:8px;flex-wrap:wrap}.home-view .navactions{gap:0;flex-wrap:wrap;max-width:100%}.home-view .topbar #account-link{font-size:10px;padding-inline:6px}.home-view .creator-inner{padding-inline:12px}.home-view .dropzone h2{font-size:18px;overflow-wrap:anywhere}.home-view .dropbuttons{grid-template-columns:minmax(0,1fr)}.home-view .camera{grid-column:auto}.home-view .section-heading{flex-wrap:wrap}.home-view .hero h1{min-height:0;font-size:25px}.home-view .samplegrid{grid-template-columns:minmax(0,1fr)}.home-view .demo-card{min-width:0;overflow-wrap:anywhere}.home-view .creator input,.home-view .creator select,.home-view .creator textarea{max-width:100%;min-width:0}.home-view .compose-row{grid-template-columns:minmax(0,1fr)}.home-view .sitefooter{overflow-wrap:anywhere}}

.home-view[data-hero-scene=library] .home-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(#050a1b99 0,#050a1b99 300px,transparent 450px)}

.home-view .creator :focus-visible,.home-view .samples :focus-visible,.home-view .creator-support :focus-visible{outline-color:#244edc}

.home-view .compose-options>summary>.compose-label{min-width:0;flex:1;overflow-wrap:anywhere}
@media(max-width:359px){.home-view .footer-columns{grid-template-columns:minmax(0,1fr)}.home-view .demo-card{display:flex;flex-direction:column;align-items:stretch}.home-view .demo-card>a{width:100%;padding-right:0}.home-view .demo-card>.share-button{position:static;align-self:flex-end;margin:0 12px 12px}}
