/* Museum classroom: variance 7, motion 5, density 4.
   Paper surfaces 22px, controls 12px, small status 999px.
   Layers: mobile action 20, toast 30; dialogs use the native top layer. */
:root{color-scheme:light;--bg:#f2f1e9;--surface:#fffef8;--soft:#e7e9df;--text:#142c3a;--muted:#596871;--line:#d2d7ce;--accent:#e2ed78;--on-accent:#142c3a;--ink:#142c3a;--canvas:#173646;--canvas-text:#fffef0;--coach:#e2ed78;--coach-text:#142c3a;--coach-muted:#405049;--shadow:6px 7px 0 #142c3a12;--icon-filter:invert(13%) sepia(16%) saturate(1670%) hue-rotate(157deg);--focus:#265d77;font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",sans-serif}
:root[data-theme="dark"]{color-scheme:dark;--bg:#0c202d;--surface:#152f3e;--soft:#213d49;--text:#f7f7e9;--muted:#b5c8ce;--line:#3f5c69;--coach:#213d49;--coach-text:#f7f7e9;--coach-muted:#c0d1d4;--shadow:6px 7px 0 #040f1644;--icon-filter:invert(97%) sepia(9%) saturate(340%) hue-rotate(7deg);--focus:#e2ed78}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;--bg:#0c202d;--surface:#152f3e;--soft:#213d49;--text:#f7f7e9;--muted:#b5c8ce;--line:#3f5c69;--coach:#213d49;--coach-text:#f7f7e9;--coach-muted:#c0d1d4;--shadow:6px 7px 0 #040f1644;--icon-filter:invert(97%) sepia(9%) saturate(340%) hue-rotate(7deg);--focus:#e2ed78}}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh;background:var(--bg);color:var(--text)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:default}button:not(:disabled):active{transform:translateY(2px)}a{color:inherit}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,[role="button"]:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.icon{width:21px;height:21px;flex:0 0 21px;filter:var(--icon-filter)}.skip{position:absolute;top:-100px;left:20px;background:var(--accent);color:var(--ink);padding:12px;z-index:40}.skip:focus{top:10px}
.site-header{max-width:1480px;margin:auto;height:78px;padding:0 46px;display:flex;align-items:center;gap:35px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-size:20px;font-weight:700;white-space:nowrap}.brand-mark{height:43px;width:43px;display:grid;place-items:center;background:var(--ink);color:var(--accent);border-radius:12px;font-size:25px;box-shadow:3px 3px 0 var(--accent)}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.16em;color:var(--muted);margin-top:6px}nav{margin-left:auto;display:flex;align-self:stretch;gap:30px}.nav-button{background:none;position:relative;padding:0 2px;font-size:13px;white-space:nowrap;color:var(--muted)}.nav-button.active{font-weight:700;color:var(--text)}.nav-button.active:after{content:"";position:absolute;left:0;right:0;height:4px;bottom:-1px;background:var(--text);border-radius:4px}#museum-count{display:inline-grid;place-items:center;min-width:22px;height:22px;background:var(--soft);color:var(--text);border-radius:50%;font-size:10px;margin-left:5px}.header-actions{display:flex;gap:18px;align-items:center}.plain-button,.text-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:none;padding:4px 0;font-size:13px;line-height:1.6}.plain-button{color:var(--muted)}.text-button{color:var(--text);font-weight:600}.icon-button{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.icon-button:hover{background:var(--soft)}
main{max-width:1372px;padding:24px 46px 0;margin:auto}.intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:center;margin-bottom:21px}.intro-text{position:relative;padding:7px 0}.eyebrow{display:inline-block;color:var(--text);font-size:12px;font-weight:600;border-left:3px solid var(--text);padding-left:10px;margin-bottom:15px}h1{font-size:clamp(40px,4.3vw,62px);letter-spacing:-.035em;line-height:1.13;font-weight:800}.headline-main,.headline-accent{display:block}.headline-accent{position:relative;width:max-content;max-width:100%;z-index:0}.headline-accent:before{content:"";position:absolute;z-index:-1;left:-4px;right:0;bottom:2px;height:32%;background:var(--accent);transform:rotate(-1.2deg);border-radius:2px}.intro-copy{font-size:13px;color:var(--muted);line-height:1.8;margin-top:15px}.intro-side{position:relative;min-height:225px;display:flex;align-items:center;justify-content:center}.intro-art{position:absolute;inset:-19px 5px 10px;pointer-events:none}.intro-art>img{width:100%;height:100%;object-fit:contain}.story-button{z-index:1;position:absolute;bottom:-4px;right:20px;display:flex;align-items:center;gap:8px;padding:10px 16px;background:var(--surface);border:1px solid var(--text);border-radius:999px;font-size:12px;white-space:nowrap;box-shadow:3px 3px 0 var(--line)}.story-button:hover{background:var(--accent);color:var(--ink)}.story-button:hover .icon{filter:invert(13%) sepia(16%) saturate(1670%) hue-rotate(157deg)}
.stepper{list-style:none;margin:0 0 20px;padding:0;display:flex;align-items:center;gap:25px;font-size:12px;color:var(--muted)}.stepper li{display:flex;align-items:center;gap:10px;white-space:nowrap}.stepper li+li:before{content:"";width:72px;height:1px;background:var(--line);margin-right:10px}.stepper li>span{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:10px}.stepper .current{font-weight:700;color:var(--text)}.stepper .current>span{background:var(--accent);color:var(--ink);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}.stepper .done>span{background:var(--text);color:var(--bg);border-color:var(--text)}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px;align-items:start}.workbench{min-width:0;background:var(--surface);padding:21px;border:1.5px solid var(--text);border-radius:22px;box-shadow:var(--shadow)}.bench-header{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:16px}.bench-header h2{font-size:18px;line-height:1.5;letter-spacing:-.02em;font-weight:700}.bench-header p{font-size:11px;color:var(--muted);line-height:1.7;margin-top:4px}.bench-status{display:flex;align-items:center;gap:6px;background:var(--soft);color:var(--text);border:1px solid var(--line);border-radius:999px;white-space:nowrap;font-size:10px;padding:7px 10px}.bench-status:before{content:"";height:5px;width:5px;border-radius:50%;background:currentColor}.workbench[data-state="result"] .bench-status{background:var(--accent);color:var(--ink);border-color:var(--accent)}.stage{position:relative;height:clamp(290px,37vh,390px);border-radius:14px;overflow:hidden;background:var(--canvas);border:1px solid var(--line)}.stage>div{position:absolute;inset:0}.preview-area,#result-area{width:100%;height:100%}.preview-area>img,#result-area>img,.comparison>img{width:100%;height:100%;object-fit:contain}.preview-area>img{background:#eeeedd}.empty-stage{display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;color:var(--canvas-text);padding:18px;text-align:center;background:radial-gradient(ellipse at 50% 60%,#285163 0%,#173646 70%)}.empty-stage:before{content:"";position:absolute;inset:15px;border:1px dashed #78949d66;border-radius:8px;pointer-events:none}.empty-stage:after{content:"";position:absolute;width:150px;height:35px;border:1px solid #78949d55;border-radius:50%;left:50%;top:63%;transform:translateX(-50%);pointer-events:none}.paper-symbol{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fffef0;width:74px;height:97px;border-radius:7px;border:1px solid #dfdecf;transform:rotate(-9deg);box-shadow:9px 9px 0 #e2ed78;transition:transform .3s cubic-bezier(.16,1,.3,1);margin-bottom:25px}.paper-symbol:before{content:"";position:absolute;inset:-5px 6px 5px -6px;border:1px solid #e0decf;border-radius:6px;background:#fcf4db;transform:rotate(-5deg);z-index:-1}.paper-symbol>img{height:31px;width:31px;filter:invert(13%) sepia(16%) saturate(1670%) hue-rotate(157deg)}.paper-symbol>i{display:block;width:30px;height:3px;background:#ccd5c4;border-radius:5px;margin-top:8px}.paper-symbol>i:last-child{width:22px;margin-top:5px;align-self:flex-start;margin-left:21px}.empty-stage:hover .paper-symbol{transform:translateY(-5px) rotate(-3deg)}.empty-stage h3{font-size:25px;font-weight:600;letter-spacing:.03em;position:relative;margin:0 0 10px}.empty-stage p{font-size:12px;line-height:1.8;color:#cad8d7}.empty-stage>span{font-size:11px;display:flex;align-items:center;gap:7px;margin-top:16px;color:var(--accent)}.empty-stage>span .icon{width:15px;height:15px;flex-basis:15px;filter:invert(88%) sepia(42%) saturate(470%) hue-rotate(22deg)}.stage.drag-over{outline:4px solid var(--accent);outline-offset:-6px}.stage.drag-over:after{content:"把照片放在修复台";position:absolute;inset:0;background:#e2ed78f2;color:var(--ink);display:grid;place-items:center;font-weight:700;font-size:24px;pointer-events:none}.preview-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;min-height:25px;font-size:10px;color:var(--muted)}.preview-caption .text-button{font-size:11px;text-decoration:underline;text-underline-offset:4px}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;padding:12px 19px;min-height:47px;font-size:13px;line-height:1.5;font-weight:700;white-space:nowrap;transition:transform .18s,background .18s,box-shadow .18s}.button:hover:not(:disabled){transform:translateY(-2px)}.primary{background:var(--accent);color:var(--ink);border-color:var(--ink);box-shadow:3px 3px 0 var(--ink)}.primary .icon{filter:invert(13%) sepia(16%) saturate(1670%) hue-rotate(157deg)}.primary:disabled{background:var(--soft);border-color:var(--line);color:var(--muted);box-shadow:none}.primary:disabled .icon{filter:var(--icon-filter);opacity:.7}.secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.secondary:hover:not(:disabled){border-color:var(--text)}.upload-actions,.result-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:13px}.upload-actions>span{flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.6;margin-top:1px}.result-actions .icon-button{margin-left:auto}.inline-error{font-size:12px;line-height:1.8;color:#873629;background:#fff0d9;padding:11px 13px;border-radius:9px;border-left:3px solid #873629;margin-top:11px}
.coach{background:var(--coach);color:var(--coach-text);border:1.5px solid var(--text);border-radius:22px;padding:24px 23px;box-shadow:var(--shadow);position:relative}.coach-symbol{height:55px;width:55px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--coach-text);border-radius:16px;transform:rotate(7deg);margin-bottom:20px;box-shadow:3px 3px 0 #142c3a18}.coach-symbol>img{width:27px;height:27px;filter:var(--icon-filter)}.coach h2{font-size:29px;font-weight:700;letter-spacing:-.04em;line-height:1.25;max-width:240px}.coach-copy{font-size:12px;line-height:1.9;color:var(--coach-muted);margin-top:15px}.selected-info{border-top:1px solid #53664540;padding-top:15px;margin-top:20px}.selected-info>span{font-size:10px;color:var(--coach-muted)}.selected-info>strong{display:block;font-size:15px;margin-top:5px;line-height:1.6}.selected-info>p{font-size:11px;color:var(--coach-muted);line-height:1.8;margin-top:5px}.care-list{display:grid;gap:11px;margin:21px 0 24px;font-size:11px;color:var(--coach-muted)}.care-list p{display:flex;align-items:center;gap:9px}.care-list span{width:17px;height:17px;display:grid;place-items:center;border:1px solid #142c3a66;border-radius:50%;font-size:10px;color:var(--coach-text)}.generate-button,.collect-button{width:100%;font-size:14px;min-height:50px;padding:12px 8px}.coach .generate-button:not(:disabled){background:var(--ink);color:#fffef0;border-color:var(--ink);box-shadow:3px 3px 0 #63743b60}.coach .generate-button:not(:disabled) .icon{filter:invert(98%) sepia(8%) saturate(240%) hue-rotate(4deg)}.coach .generate-button:disabled{color:var(--coach-text);border:1px solid #72845470;background:#142c3a12;opacity:.65}.coach .generate-button:disabled .icon{filter:var(--icon-filter)}.action-help{font-size:10px;color:var(--coach-muted);line-height:1.7;text-align:center;margin-top:12px}.collect-button{margin-top:12px;font-size:12px;background:var(--surface);color:var(--text)}.collect-button:disabled{opacity:.75}.reset-button{display:flex;margin:17px auto 0;font-size:11px;color:var(--coach-text)}.classroom-note{display:flex;justify-content:center;align-items:center;gap:13px;padding:22px 0 21px;font-size:11px;color:var(--muted)}.note-arrow{font-size:17px;color:var(--text)}.classroom-note p{margin-left:10px;padding-left:17px;border-left:1px solid var(--line)}footer{max-width:1480px;margin:auto;padding:17px 46px 22px;border-top:1px solid var(--line);display:flex;gap:22px;font-size:10px;color:var(--muted)}footer span:last-child{margin-left:auto}
.loading-overlay{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#173646ed;color:#fffef0;padding:25px;gap:10px;text-align:center}.loading-visual{width:200px;height:125px;position:relative;margin-bottom:5px}.restore-orbit{position:absolute;height:117px;width:117px;top:2px;left:54px;border:1px dashed #e2ed7866;border-radius:50%;animation:orbit-turn 12s linear infinite}.restore-orbit:before{content:"";position:absolute;top:9px;left:14px;width:8px;height:8px;background:var(--accent);border-radius:2px;transform:rotate(24deg)}.loading-mark{position:absolute;right:48px;top:29px;display:grid;place-items:center;width:61px;height:61px;background:var(--accent);border:1px solid #e2ed78;border-radius:18px;transform:rotate(7deg);box-shadow:0 12px 35px #081d3a80}.loading-mark>img{width:30px;height:30px;filter:invert(13%) sepia(16%) saturate(1670%) hue-rotate(157deg)}.loading-paper{position:absolute;top:32px;left:13px;width:58px;height:78px;background:#fffef8;border-radius:4px;padding:4px;transform:rotate(-13deg);box-shadow:0 6px 22px #081d3a55;animation:paper-lift 3s ease-in-out infinite}.loading-paper>img{width:100%;height:100%;object-fit:contain}.loading-overlay h3{font-size:24px;line-height:1.5;font-weight:600}.loading-overlay>p{font-size:12px;line-height:1.8;color:#d1dfdd;max-width:400px}.loading-overlay .plain-button{color:#e5eee1;font-size:11px;margin-top:2px}.loading-sequence{display:flex;gap:19px;list-style:none;padding:0;margin:9px 0 7px;font-size:10px;color:#a6c1c5}.loading-sequence li{display:flex;align-items:center;gap:6px}.loading-sequence li:before{content:"";height:6px;width:6px;border:1px solid currentColor;border-radius:50%}.loading-sequence li.active{color:var(--accent)}.loading-sequence li.active:before,.loading-sequence li.done:before{background:currentColor}.comparison{height:100%;width:100%}.comparison>img{position:absolute;inset:0}.comparison #compare-before{clip-path:inset(0 50% 0 0);background:#eeeedd}.compare-line{position:absolute;top:0;bottom:0;left:50%;width:2px;background:var(--accent);pointer-events:none;box-shadow:0 0 7px #142c3a77}.compare-line>b{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;display:grid;place-items:center;background:var(--accent);color:var(--ink);border-radius:50%;font-size:20px;font-weight:400;box-shadow:0 3px 10px #142c3a44}.comparison input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.comparison:focus-within{outline:4px solid var(--accent);outline-offset:-5px}.celebration{pointer-events:none;overflow:hidden}.celebration>i{position:absolute;top:5%;left:10%;width:9px;height:14px;background:var(--accent);border-radius:2px;animation:celebrate 1.3s cubic-bezier(.16,.8,.3,1) both;--fall:240px;--turn:190deg;--move:40px}.celebration>i:nth-child(2){left:25%;top:15%;--move:-50px;--fall:190px;--turn:-170deg;background:#fffef0;animation-delay:.08s}.celebration>i:nth-child(3){left:46%;--move:80px;--fall:170px;background:#8aadb3;animation-delay:.18s}.celebration>i:nth-child(4){left:63%;top:9%;--move:-70px;--fall:230px;--turn:-230deg;background:#fffef0;animation-delay:.12s}.celebration>i:nth-child(5){left:85%;top:17%;--move:25px;--fall:200px;animation-delay:.1s}.celebration>i:nth-child(6){left:16%;top:40%;--move:60px;--fall:210px;background:#8aadb3;animation-delay:.2s}.celebration>i:nth-child(7){left:75%;top:40%;--move:-50px;--fall:150px;animation-delay:.26s}.celebration>i:nth-child(8){left:56%;top:25%;--move:30px;--fall:240px;--turn:-220deg;background:#fffef0;animation-delay:.2s}@keyframes orbit-turn{to{transform:rotate(360deg)}}@keyframes paper-lift{0%,100%{transform:translateY(0) rotate(-13deg)}50%{transform:translateY(-6px) rotate(-7deg)}}@keyframes celebrate{0%{opacity:0;transform:translate(0,-10px) rotate(0)}20%{opacity:.95}100%{opacity:0;transform:translate(var(--move),var(--fall)) rotate(var(--turn))}}
.museum-heading{margin:18px 0 30px}.museum-heading h1{font-size:44px;line-height:1.3}.museum-heading>p:last-child{font-size:13px;line-height:1.8;color:var(--muted);margin-top:12px}.museum-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;min-height:440px}.museum-gallery:empty{display:none}.museum-item{background:var(--surface);border:1px solid var(--text);border-radius:18px;overflow:hidden;box-shadow:4px 5px 0 #142c3a12;align-self:start}.museum-item>button{display:block;width:100%;padding:0;background:none}.museum-item>button:hover img{transform:scale(1.03)}.museum-item img{width:100%;aspect-ratio:1;object-fit:cover;transition:transform .4s cubic-bezier(.16,1,.3,1)}.museum-item-body{padding:17px}.museum-item h2{font-size:16px;line-height:1.5;margin-bottom:8px}.museum-item p{font-size:11px;line-height:1.8;color:var(--muted)}.museum-item-actions{display:flex;justify-content:space-between;gap:10px;margin-top:17px}.museum-item-actions .text-button{font-size:10px}.museum-empty{min-height:450px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:16px;padding:30px}.museum-empty>img{height:70px;width:70px;filter:var(--icon-filter);opacity:.7}.museum-empty h2{font-size:25px}.museum-empty p{font-size:12px;color:var(--muted);line-height:1.8}.museum-empty .button{margin-top:8px}
dialog{width:min(590px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1.5px solid var(--text);border-radius:22px;background:var(--surface);color:var(--text);padding:27px;box-shadow:10px 13px 0 #142c3a33}dialog::backdrop{background:#0a2028ba;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.dialog-heading h2{font-size:22px}dialog>p{font-size:12px;color:var(--muted);line-height:1.9}.guide-steps{display:grid;gap:20px;margin:25px 0;padding-left:25px;font-size:13px}.guide-steps p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:6px}.teacher-detail{background:var(--soft);border-radius:14px;padding:18px}.teacher-detail h3{font-size:13px;margin-bottom:10px}.teacher-detail p{font-size:11px;color:var(--muted);line-height:1.9;margin:8px 0}.image-dialog{width:min(900px,calc(100% - 28px));padding:18px}.image-dialog>.icon-button{position:absolute;top:25px;right:25px}.image-dialog>img{max-height:72dvh;width:100%;object-fit:contain;border-radius:12px}.image-dialog>p{text-align:center;margin-top:13px}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);padding:13px 23px;background:var(--accent);color:var(--ink);border:1px solid var(--ink);border-radius:12px;max-width:calc(100vw - 32px);font-size:12px;line-height:1.8;text-align:center;box-shadow:4px 4px 0 #142c3a33;z-index:30}
@media (min-width:768px) and (max-height:800px){main{padding-top:18px}.intro-side{min-height:200px}.intro h1{font-size:49px}.intro-copy{margin-top:10px}.intro .eyebrow{margin-bottom:10px}.intro{margin-bottom:16px}.stepper{margin-bottom:16px}.stage{height:285px}.care-list{margin-top:17px;margin-bottom:20px}.coach{padding-top:20px;padding-bottom:20px}.coach-symbol{margin-bottom:16px}}
@media(max-width:1180px){.site-header{padding:0 28px;gap:25px}.brand{font-size:18px}nav{gap:24px}main{padding-left:28px;padding-right:28px}.intro{grid-template-columns:minmax(0,1fr) 270px}.intro h1{font-size:51px}.intro-side{min-height:205px}.workspace{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.coach{padding:22px 20px}.coach h2{font-size:26px}.stepper li+li:before{width:45px}.bench-status{font-size:9px;padding:6px 8px}footer{padding-left:28px;padding-right:28px}}
@media(max-width:1000px){.site-header{gap:20px}.header-actions{gap:10px}.guide-button{font-size:0;gap:0}nav{gap:20px}.intro{grid-template-columns:minmax(0,1fr) 230px}.intro h1{font-size:45px}.intro-art{inset:-5px -10px 15px}.intro-side{min-height:200px}.story-button{right:2px;font-size:11px;padding:9px 12px}.workspace{grid-template-columns:minmax(0,1fr) 245px;gap:16px}.workbench{padding:18px}.coach{padding:22px 18px}.coach h2{font-size:24px}.coach-copy{font-size:11px}.coach-symbol{width:45px;height:45px;margin-bottom:18px}.care-list{font-size:10px;gap:10px;margin:20px 0}.bench-header h2{font-size:16px}.bench-status{display:none}.stepper{gap:18px}.stepper li+li:before{width:30px;margin-right:5px}.museum-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.classroom-note{font-size:10px}}
@media(max-width:767px){.site-header{min-height:76px;height:auto;flex-wrap:wrap;padding:15px 20px 0;gap:12px}.brand{margin-right:auto;font-size:16px;gap:10px}.brand small{font-size:9px;letter-spacing:.11em}.brand-mark{height:37px;width:37px;font-size:23px}.header-actions{order:2;gap:8px}.icon-button{height:37px;width:37px;flex-basis:37px}.guide-button{padding:5px}.header-actions .icon{width:20px;height:20px;flex-basis:20px}nav{order:3;margin:10px 0 0;height:42px;flex-basis:100%;gap:28px}.nav-button{font-size:12px}main{padding:22px 18px 0}.intro{display:block;margin-bottom:21px}.intro-text{padding:0}.eyebrow{font-size:10px;margin-bottom:13px}.intro h1{font-size:39px;line-height:1.19;letter-spacing:-.045em}.intro-copy{font-size:11px;max-width:310px;line-height:1.9;margin-top:12px}.intro-side{display:block;min-height:39px;margin-top:12px}.intro-art{display:none}.story-button{position:static;display:inline-flex;font-size:10px;padding:8px 13px}.story-button .icon{width:16px;height:16px;flex-basis:16px}.stepper{font-size:9px;gap:8px;justify-content:space-between;margin-bottom:20px}.stepper li{gap:6px}.stepper li>span{width:19px;height:19px;font-size:9px}.stepper li+li:before{display:none}.stepper .current>span{box-shadow:1px 1px 0 var(--ink)}.workspace{display:flex;flex-direction:column;gap:19px}.workbench{width:100%;padding:16px;border-radius:19px;box-shadow:4px 5px 0 #142c3a12}.bench-header{margin-bottom:13px}.bench-header h2{font-size:15px}.bench-header p{font-size:10px}.stage{height:auto;aspect-ratio:1.08;border-radius:11px}.empty-stage{padding:19px 12px}.empty-stage:before{inset:10px}.empty-stage:after{display:none}.paper-symbol{height:79px;width:60px;margin-bottom:23px;box-shadow:7px 7px 0 var(--accent)}.paper-symbol>img{width:26px;height:26px}.paper-symbol>i{width:25px}.paper-symbol>i:last-child{margin-left:17px;width:18px}.empty-stage h3{font-size:20px;margin-bottom:9px;letter-spacing:0}.empty-stage p{font-size:10px;line-height:1.8}.empty-stage>span{font-size:10px;margin-top:13px}.preview-caption{font-size:9px;gap:6px;margin-top:9px}.preview-caption .text-button{font-size:10px}.upload-actions{gap:10px;margin-top:12px}.upload-actions .button{flex:1;font-size:12px;padding:11px 10px;min-height:45px}.upload-actions>span{font-size:9px}.result-actions{gap:8px;margin-top:12px}.result-actions .button{font-size:11px;padding:11px 9px;min-height:42px}.result-actions .icon{height:17px;width:17px;flex-basis:17px}.coach{width:100%;padding:20px 18px;border-radius:19px;box-shadow:4px 5px 0 #142c3a12;display:grid;grid-template-columns:1fr}.coach-symbol,.coach .care-list,.coach .selected-info{display:none!important}.coach h2{font-size:23px;max-width:none;line-height:1.4}.coach-copy{font-size:11px;line-height:1.85;margin-top:7px}.generate-button{margin-top:15px;font-size:14px;min-height:47px}.action-help{font-size:10px;margin-top:11px}.collect-button{font-size:12px}.reset-button{font-size:11px;margin-top:15px}.classroom-note{gap:10px;flex-wrap:wrap;padding:23px 0 21px;font-size:10px}.classroom-note p{flex-basis:100%;margin:2px 0 0;padding:0;border:0;text-align:center}footer{padding:16px 20px 22px;font-size:9px;gap:8px}footer span:nth-child(2){display:none}footer span:last-child{margin-left:auto}.loading-overlay{padding:20px 12px;gap:8px}.loading-visual{transform:scale(.85);height:105px;margin-bottom:0}.loading-overlay h3{font-size:19px}.loading-overlay>p{font-size:10px}.loading-sequence{font-size:9px;gap:14px;margin:7px 0}.loading-overlay .plain-button{font-size:10px}.museum-heading{margin:3px 0 23px}.museum-heading h1{font-size:30px}.museum-heading>p:last-child{font-size:11px}.museum-gallery{gap:12px}.museum-item{border-radius:15px}.museum-item-body{padding:12px}.museum-item h2{font-size:12px}.museum-item p{font-size:10px}.museum-item-actions{display:block;margin-top:9px}.museum-item-actions .text-button{font-size:9px;margin-right:9px}.museum-empty{min-height:420px;padding:25px 5px}.museum-empty h2{font-size:21px}.museum-empty p{font-size:11px}dialog{padding:22px;border-radius:19px}.dialog-heading h2{font-size:18px}.toast{font-size:11px;padding:12px 18px}}
@media(max-width:380px){.intro h1{font-size:35px}.brand{font-size:15px}.stepper{font-size:8px}.empty-stage h3{font-size:18px}.coach h2{font-size:21px}.loading-overlay h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.celebration{display:none!important}}
@media print{.site-header,.intro,.stepper,.coach,.upload-actions,.result-actions,.preview-caption,.classroom-note,footer{display:none}.workspace{display:block}.workbench{border:0;box-shadow:none;padding:0}.stage{height:auto;aspect-ratio:1;max-width:600px;margin:auto}body{background:#fffef8}}
:root{--headline-highlight:#e2ed78}:root[data-theme="dark"]{--headline-highlight:#325466}.headline-accent:before{background:var(--headline-highlight)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--headline-highlight:#325466}}
@media (min-width:768px) and (max-height:800px){.intro-side{min-height:170px}.intro h1{font-size:46px}.stage{height:240px}}
.coach h2>span{display:block}@media(max-width:767px){.coach h2>span{display:inline}}

