@font-face{font-family:Studio;src:local("Trebuchet MS")}*{box-sizing:border-box}html{color:#254945;background:#fbf7ec;font-family:Studio,"Trebuchet MS",system-ui,sans-serif}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d87751;outline-offset:4px}button:disabled{opacity:.3;cursor:default}svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,p{margin:0}h1,h2{font-family:Georgia,serif;font-weight:500;letter-spacing:-.035em}a{color:inherit;text-decoration:none}.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:23px;letter-spacing:-.8px;line-height:1}.brand em{font-style:normal;display:block;font-family:Georgia,serif;font-size:18px;font-weight:500;letter-spacing:0;margin-top:4px}.brand-mark{display:grid;place-items:center;background:#26746d;color:#ffe1a1;width:45px;height:47px;border-radius:15px 15px 18px 8px;transform:rotate(-6deg)}.brand-mark svg{width:30px;height:30px}.prototype{font-size:11px;letter-spacing:1.4px;color:#7b8174;font-weight:bold}.studio-home{max-width:1300px;margin:auto;padding:0 42px 18px}.home-header{height:94px;display:flex;justify-content:space-between;align-items:center}.welcome{text-align:center;padding:13px 0 26px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:bold;color:#b86543}.welcome h1{font-size:clamp(30px,4vw,49px);margin:11px 0}.welcome p{color:#6f7f73;font-size:17px}.room{position:relative;overflow:hidden;border-radius:32px;box-shadow:0 16px 40px #6149231a;border:6px solid #fffaf0;background:#dcb474}.room>img{display:block;width:100%;height:auto;max-height:68vh;object-fit:cover;object-position:center 54%}.station-controls{position:absolute;bottom:6%;left:5%;right:5%;display:flex;justify-content:space-between;gap:30px}.station{background:#fff9e9f5;border:3px solid #ffebb2;border-radius:24px;min-height:86px;padding:14px 22px;display:flex;align-items:center;gap:15px;box-shadow:0 6px 0 #bc7c3b66,0 12px 20px #463a3d22;text-align:left;transition:transform .16s}.station:hover{transform:translateY(-3px)}.station strong{display:block;font-size:23px}.station small{display:block;font-size:13px;color:#7c7d6b;margin-top:5px}.station>svg{width:38px;height:38px;stroke:#b67642}.paint-station{border-color:#cce0cc}.paint-station>svg{stroke:#42847b}.home-footer{padding:24px 0 5px;text-align:center;color:#6e7f72;font-size:16px}.home-footer span{display:block;font-size:12px;margin-top:9px;color:#90988c}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid #294a3c12}.icon-label{display:flex;align-items:center;gap:9px;min-height:46px;padding:8px 14px;border:1px solid #dcdccc;border-radius:15px;background:#fffdf5;font-weight:bold}.library{max-width:1080px;margin:0 auto;padding:45px 32px}.section-heading{text-align:center}.section-heading h1{font-size:42px;margin:10px 0 12px}.section-heading p{color:#728173}.book-shelf{display:flex;gap:34px;justify-content:center;align-items:stretch;padding:50px 24px 24px;border-bottom:17px solid #c48f58;box-shadow:0 10px 0 #e4c69f;max-width:950px;margin:auto}.book{position:relative;width:240px;background:var(--book);border-radius:8px 20px 20px 8px;padding:18px 16px 22px 27px;box-shadow:5px 7px 0 #aa815633,inset 6px 0 0 #0001;transform:rotate(-2deg);transition:transform .15s;border:2px solid #ffffff6b}.book:nth-child(2){transform:rotate(2deg)}.book:hover{transform:translateY(-7px)}.book-binding{position:absolute;left:12px;top:0;bottom:0;border-left:2px solid #fff3}.book-picture{display:block;background:#fffcf4;border:5px solid #fff4;border-radius:50% 50% 14px 14px;overflow:hidden;margin:0 0 19px}.book-picture svg{width:100%;height:auto;display:block}.book strong{font-family:Georgia,serif;font-size:23px;display:block;color:#273e39}.book small{display:block;margin-top:11px;font-size:13px;opacity:.8}.quiet-note{text-align:center;margin:32px;color:#7c8777;font-size:14px}.page-shelf{display:flex;justify-content:center;padding:35px 0}.page-card{width:360px;padding:12px;background:#fffdf5;border:1px solid #dcd8c6;border-radius:20px;box-shadow:0 8px 0 #d3c5ac33}.page-preview{display:block;border:1px solid #e3dfd0;border-radius:12px;overflow:hidden}.page-preview svg{display:block;width:100%;height:auto}.page-title{display:flex;padding:18px 10px 10px;align-items:center;justify-content:space-between;gap:10px}.page-title strong{font-size:17px}.page-title small{color:#26746d;font-weight:bold}.editor{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#f2eddf}.editor .topbar{height:70px;flex-shrink:0;background:#fffcf2}.editor .brand{font-size:19px}.editor .brand em{font-size:15px}.editor .brand-mark{width:36px;height:38px}.editor .brand-mark svg{width:25px;height:25px}.workspace{padding:15px 26px 12px;min-height:0;flex:1;display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:50px minmax(0,1fr) 66px 44px;gap:10px 22px;max-width:1500px;width:100%;margin:auto}.editor-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.editor-heading h1{font-size:25px}.editor-heading p{font-size:13px;margin-top:4px;color:#748272}.help{border:1px solid #d7d6c4;width:42px;height:42px;border-radius:50%;font-size:23px;background:#fffbef}.toolbox{grid-row:2/5;display:flex;align-items:center;flex-direction:column;gap:12px;border-radius:23px;background:#fffbef;padding:12px 10px;box-shadow:0 3px 0 #d3c4a433}.tool{border:2px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:76px;min-height:72px;border-radius:17px;background:#efeddf;font-size:14px;font-weight:bold}.tool[aria-pressed=true]{border-color:#26746d;background:#d5e7db;color:#225f58}.tool svg{width:30px;height:30px}.size-control{display:flex;align-items:center;flex-direction:column;gap:10px;padding:12px 0;width:100%}.size-control.inactive{opacity:.5}.size-control label{font-size:12px;white-space:nowrap}.size-control input{width:76px;accent-color:#26746d;height:24px}.size-sample{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid #e7e3d3;border-radius:50%}.size-sample:after{content:'';width:var(--dot-size);height:var(--dot-size);background:currentColor;border-radius:50%;max-width:32px;max-height:32px}.history-tools{display:flex;flex-direction:column;gap:8px}.history-tools button,.reset{width:62px;min-height:46px;border-radius:14px;background:#f1eddf;display:grid;place-items:center}.reset{font-size:12px;gap:3px;padding:6px}.reset svg{width:23px;height:23px}.paper-space{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center}.paper{position:relative;background:white;box-shadow:0 6px 24px #3b48301f;border-radius:8px;overflow:hidden;height:100%;max-width:100%;aspect-ratio:8/7}.paper canvas{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}.palette{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:6px 14px;background:#fffbef;border-radius:20px;max-width:850px;width:100%;justify-self:center}.swatch{height:44px;width:44px;flex-shrink:0;border:2px solid transparent;border-radius:50%;padding:4px}.swatch>span{display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch);border:1px solid #00000012;box-shadow:inset 0 -3px 0 #0000000c}.swatch[aria-pressed=true]{border-color:#2d635c;background:#fff}.swatch[aria-pressed=true]>span:after{content:'✓';color:#fff;text-shadow:0 1px 3px #0008;line-height:31px;display:block;font-weight:bold}.swatch[data-color="#ffffff"][aria-pressed=true]>span:after{color:#254945;text-shadow:none}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.assist{display:flex;align-items:center;gap:8px;font-size:13px;min-height:42px;font-weight:bold}.assist svg{width:22px;height:22px}.switch{width:33px;height:20px;background:#b7bcad;border-radius:20px;position:relative}.switch:after{content:'';position:absolute;width:14px;height:14px;background:white;border-radius:50%;left:3px;top:3px}.assist[aria-pressed=true] .switch{background:#26746d}.assist[aria-pressed=true] .switch:after{left:16px}.session-note{color:#808977}.free-note{color:#647d6c}.art-dialog{border:1px solid #ded6be;border-radius:28px;padding:32px;max-width:440px;width:calc(100% - 36px);color:#254945;background:#fffcf2;text-align:center;box-shadow:0 20px 80px #1233}.art-dialog::backdrop{background:#243e3b66;backdrop-filter:blur(4px)}.art-dialog h2{font-size:33px;margin:10px 0 16px}.art-dialog p{font-size:16px;line-height:1.5;color:#6f7d6e}.dialog-picture{display:grid;place-items:center;margin:auto;width:64px;height:64px;border-radius:23px;background:#dce8d7;color:#26746d}.dialog-picture svg{width:36px;height:36px}.dialog-actions{display:flex;gap:10px;margin-top:24px}.primary,.secondary{min-height:49px;padding:12px 20px;border-radius:15px;font-weight:bold;background:#26746d;color:white}.secondary{background:#edeadb;color:#254945}.tip-row{display:flex;align-items:center;text-align:left;gap:15px;margin:17px 0}.tip-row svg{flex-shrink:0}.art-dialog .primary{margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1500px){.room>img{max-height:700px}}@media(max-width:700px){.studio-home{padding:0 16px 16px}.home-header{height:82px}.brand{font-size:22px}.prototype{font-size:9px;letter-spacing:.8px}.welcome{padding:17px 0 23px}.welcome h1{font-size:32px;max-width:300px;margin:12px auto}.welcome p{font-size:15px}.eyebrow{font-size:9px;letter-spacing:1.5px}.room{border-radius:25px;border-width:4px}.room>img{max-height:none;object-fit:contain}.station-controls{position:static;padding:12px;gap:12px;display:flex;flex-direction:column;background:linear-gradient(#e7bc80,#dbad72)}.station{min-height:74px;border-radius:19px;width:100%;padding:10px 15px;gap:15px}.station strong{font-size:21px}.station small{font-size:12px}.station>svg{width:32px;height:32px}.home-footer{padding-top:19px;font-size:14px}.home-footer span{font-size:11px}.topbar{height:76px;padding:0 16px}.topbar .prototype{display:none}.topbar .brand{font-size:19px}.topbar .brand em{font-size:15px}.library{padding:30px 18px}.section-heading h1{font-size:32px}.book-shelf{gap:14px;flex-wrap:wrap;padding:30px 4px 15px;border-bottom-width:12px}.book{width:calc(50% - 8px);padding:15px 10px 18px 18px}.book strong{font-size:18px}.book small{font-size:11px}.book-picture{margin-bottom:12px}.book:nth-child(3){width:55%;margin-top:13px}.quiet-note{font-size:13px;margin:26px 10px}.page-card{max-width:100%}.editor .topbar{height:60px;padding:0 12px}.editor .back{padding:6px 10px;font-size:13px;min-height:42px}.editor .brand{font-size:16px;gap:7px}.editor .brand em{font-size:13px}.editor .brand-mark{height:33px;width:31px}.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:45px 62px minmax(0,1fr) 102px 42px;padding:8px 12px 8px;gap:8px}.editor-heading{grid-column:1}.editor-heading h1{font-size:21px}.editor-heading p{font-size:11px}.help{width:36px;height:36px;font-size:20px}.toolbox{grid-row:2;grid-column:1;flex-direction:row;padding:5px 7px;border-radius:17px;gap:6px;justify-content:space-between}.tool{width:54px;min-height:50px;flex-shrink:0;gap:0;border-radius:12px;font-size:10px}.tool svg{width:25px;height:25px}.size-control{padding:0;max-width:70px;gap:0}.size-control label{font-size:9px}.size-control input{width:65px;height:30px}.size-sample{display:none}.history-tools{flex-direction:row;gap:2px}.history-tools button{width:40px;min-height:44px;background:transparent}.history-tools svg{width:23px;height:23px}.reset{width:40px;min-height:48px;background:transparent;gap:0;padding:2px;font-size:9px}.reset svg{width:22px;height:22px}.palette{grid-row:4;padding:3px 6px;border-radius:17px;gap:1px 5px;max-width:430px;align-content:center}.swatch{width:43px;height:43px}.editor-footer{grid-row:5;gap:6px}.assist{font-size:11px;gap:5px}.assist svg{width:19px}.session-note{font-size:9px;max-width:84px;text-align:right;line-height:1.3}.paper{border-radius:5px}.free-note{font-size:11px}}
@media(max-width:380px){.swatch{width:40px;height:40px}.palette{gap:0 3px}.toolbox{gap:2px}.tool{width:48px}.history-tools button{width:35px}.size-control{max-width:58px}.size-control input{width:55px}}
@media(max-height:550px) and (min-width:600px){.editor .topbar{height:48px;padding:0 18px}.workspace{padding:6px 12px;grid-template-columns:74px minmax(0,1fr) 92px;grid-template-rows:32px minmax(0,1fr) 32px;gap:5px 10px}.editor-heading{grid-column:1/-1}.editor-heading h1{font-size:20px}.editor-heading p{display:none}.toolbox{grid-column:1;grid-row:2/4;gap:5px;padding:6px 4px}.tool{width:58px;min-height:48px;font-size:11px;gap:0}.tool svg{width:22px;height:22px}.size-control{padding:0;gap:0}.size-control label{font-size:10px}.size-control input{width:55px}.size-sample{display:none}.history-tools{flex-direction:row;gap:0}.history-tools button{width:32px;min-height:34px}.history-tools svg{width:21px}.reset{min-height:32px;display:flex;align-items:center;justify-content:center;gap:3px;width:60px}.palette{grid-column:3;grid-row:2/4;gap:0;padding:4px;align-content:center}.swatch{width:39px;height:39px}.editor-footer{grid-column:2;grid-row:3}.session-note{font-size:10px}.paper-space{grid-column:2;grid-row:2}.help{width:30px;height:30px}.assist{font-size:11px;min-height:30px}.editor .brand-mark{height:30px;width:30px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* A single measured paper aspect ratio is shared by artwork, region picking and input. */
.paper{flex-shrink:0}body:has(.editor){overflow:hidden;height:100dvh}
@media(max-width:700px){.history-tools button,.reset{min-width:44px}.size-control{min-width:48px;max-width:62px}.size-control input{width:55px}.toolbox{gap:3px}.palette{gap:1px 5px}}
@media(max-width:380px){.tool{width:44px}.toolbox{padding-left:4px;padding-right:4px;gap:1px}.size-control{max-width:50px}.size-control input{width:48px}}

.sr-only{top:0;left:0}
@media(max-width:700px) and (min-height:551px){.palette{display:grid;grid-template-columns:repeat(6,44px);grid-template-rows:44px 44px;column-gap:10px;row-gap:0;align-content:center;justify-content:center}.swatch{width:44px;height:44px}}
@media(max-width:380px) and (min-height:551px){.palette{column-gap:3px}}

@media(min-width:701px) and (max-width:950px) and (min-height:551px){.workspace{grid-template-rows:50px minmax(0,1fr) 102px 44px}.palette{display:grid;grid-template-columns:repeat(6,44px);grid-template-rows:44px 44px;gap:0 16px;align-content:center;justify-content:center;padding:6px}.swatch{width:44px;height:44px}}

/* Phase 1 creative workspace: one engine, two tool densities. */
.settings-button{width:46px;height:46px;display:grid;place-items:center;border:1px solid #d8dccb;border-radius:16px;background:#fffbef}.settings-button svg{width:25px;height:25px}.heading-actions{display:flex;align-items:center;gap:12px}.mode-pill{display:flex;align-items:center;gap:7px;padding:8px 13px;background:#e2eadb;border-radius:22px;font-size:13px;min-height:44px}.mode-pill svg{width:22px;height:22px}.workspace{grid-template-columns:144px minmax(0,1fr);grid-template-rows:50px minmax(0,1fr) 105px 48px 18px;gap:9px 20px}.toolbox{grid-column:1;grid-row:2/6;justify-content:flex-start;gap:17px;padding:12px 8px}.creative-tools{display:grid;grid-template-columns:repeat(2,60px);gap:7px}.tool{width:60px;min-height:70px;font-size:12px}.tool svg{width:29px;height:29px}.size-control{max-width:none;min-width:0;padding:8px 0;gap:8px}.size-control input{width:106px}.palette{display:flex;grid-row:3;grid-column:2;padding:6px 14px;gap:12px;justify-content:center;max-width:850px}.swatches{display:grid;grid-template-columns:repeat(6,44px);grid-template-rows:repeat(2,44px);gap:0 12px;justify-content:center}.swatch{width:44px;height:44px}.swatch[hidden]{display:none}.palette-bank{max-width:80px;min-height:46px;padding:6px 10px;border:1px solid #d4dccd;border-radius:13px;font-size:12px;background:#e8edde;font-weight:bold}.editor-footer{grid-column:2;grid-row:4;justify-content:space-between}.history-tools{flex-direction:row;gap:6px}.history-tools button{width:46px;min-width:44px;min-height:44px}.reset{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;width:auto;min-width:65px;min-height:44px;font-size:12px}.save-status{grid-row:5;grid-column:2;text-align:center;color:#6d7f6c;font-size:11px;line-height:18px}.assist{font-size:13px}.setting-row{display:flex;align-items:center;gap:12px;padding:12px 3px;border-top:1px solid #e2ddcd}.setting-row input{margin-left:auto;accent-color:#26746d;width:23px;height:23px}.setting-note{font-size:12px!important;margin:10px 0!important}.artist-options{display:flex;gap:10px;margin:22px 0}.artist-options label{flex:1;position:relative}.artist-options input{position:absolute;top:10px;left:10px;accent-color:#26746d}.artist-options label>span{display:flex;flex-direction:column;gap:6px;align-items:center;border:2px solid #e2dfcf;border-radius:20px;padding:18px 8px 12px}.artist-options input:checked+span{border-color:#26746d;background:#e6eedf}.artist-options strong{font-size:16px}.artist-options small{font-size:10px;color:#70816c}.artist-options svg{width:38px;height:38px}.page-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.page-card{width:100%;min-width:0}.page-title{flex-direction:column;align-items:flex-start}.page-title strong{font-size:16px}.book-shelf{flex-wrap:wrap}.book{width:220px}.book:nth-child(3){width:220px}.book strong{font-size:21px}.book small{font-size:12px}
@media(max-width:700px) and (min-height:551px){.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:44px 58px minmax(0,1fr) 104px 48px 18px;padding:8px 10px;gap:6px}.editor-heading{grid-column:1;grid-row:1}.editor-heading h1{font-size:18px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-heading p{font-size:10px}.heading-actions{gap:5px}.mode-pill{padding:5px 8px;gap:3px;min-height:36px}.mode-pill span{max-width:55px;font-size:9px;line-height:1.1}.mode-pill svg{width:19px}.help{width:34px;height:34px}.toolbox{grid-row:2;grid-column:1;display:flex;flex-direction:row;justify-content:center;gap:0;padding:3px 5px}.creative-tools{display:flex;justify-content:space-around;width:100%;gap:3px}.tool{width:51px;min-width:44px;min-height:49px;gap:0;font-size:10px}.tool svg{width:25px;height:25px}.toolbox .size-control{display:none}.paper-space{grid-column:1;grid-row:3}.palette{grid-column:1;grid-row:4;display:flex;padding:4px 7px;gap:5px;border-radius:18px;justify-content:center}.swatches{grid-template-columns:repeat(6,44px);grid-template-rows:44px 44px;gap:0 3px}.palette-bank{font-size:10px;max-width:47px;min-height:56px;padding:4px}.editor[data-mode=creative] .swatches{grid-template-columns:repeat(6,40px);gap:0 1px}.editor[data-mode=creative] .swatch{width:40px;height:44px}.editor-footer{grid-column:1;grid-row:5;gap:5px}.history-tools{gap:2px}.history-tools button{width:44px;min-height:44px}.assist{font-size:10px;gap:4px}.assist svg{display:none}.reset{min-width:44px;min-height:44px;padding:4px;gap:3px;font-size:10px}.reset span{display:none}.save-status{grid-column:1;grid-row:6;font-size:10px}.page-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library{padding-left:14px;padding-right:14px}.page-card{padding:7px;border-radius:15px}.page-title{padding:10px 3px 5px;gap:4px}.page-title strong{font-size:13px}.page-title small{font-size:11px}.book,.book:nth-child(3){width:calc(50% - 9px)}.book strong{font-size:17px}.book small{font-size:10px}}
@media(max-width:380px) and (min-height:551px){.tool{width:44px}.creative-tools{gap:1px}.editor[data-mode=creative] .swatches{grid-template-columns:repeat(6,35px);gap:0}.editor[data-mode=creative] .swatch{width:35px}.swatches{gap:0;grid-template-columns:repeat(6,44px)}.editor-heading h1{max-width:155px}.mode-pill span{max-width:48px}.assist .switch{width:29px}.assist[aria-pressed=true] .switch:after{left:12px}}
@media(max-height:550px) and (min-width:600px){.workspace{grid-template-columns:126px minmax(0,1fr) 142px;grid-template-rows:32px minmax(0,1fr) 44px 16px;gap:4px 9px;padding:5px 10px}.editor-heading{grid-column:1/-1;grid-row:1}.editor-heading h1{font-size:18px}.mode-pill{min-height:28px;padding:2px 9px}.mode-pill svg{width:18px;height:18px}.toolbox{grid-row:2/5;grid-column:1;flex-direction:column;padding:5px;gap:5px}.creative-tools{grid-template-columns:repeat(2,52px);gap:4px}.tool{width:52px;min-height:49px;font-size:10px}.tool svg{width:23px;height:23px}.toolbox .size-control{padding:0;gap:0}.size-control input{width:90px}.paper-space{grid-column:2;grid-row:2}.palette{grid-column:3;grid-row:2/5;flex-direction:column;padding:5px;gap:4px}.swatches{grid-template-columns:repeat(3,40px);grid-template-rows:repeat(4,40px);gap:1px}.swatch{width:40px;height:40px}.palette-bank{font-size:11px;min-height:28px;max-width:120px;padding:3px 8px}.editor-footer{grid-column:2;grid-row:3}.save-status{grid-column:2;grid-row:4;font-size:9px}.reset{min-width:40px;padding:4px}.reset span{display:none}.assist{font-size:10px}.assist svg{display:none}.history-tools button{width:36px;min-width:36px;min-height:36px}.heading-actions .help{width:29px;height:29px}.editor .topbar .brand{font-size:17px}}

.brush-choices{display:flex;justify-content:space-around;margin:25px 0;gap:8px}.brush-choices button{width:62px;height:62px;border-radius:16px;background:#e2eadb;display:grid;place-items:center}.brush-choices span{display:block;background:#26746d;border-radius:50%}

@media(min-width:1000px) and (min-height:551px){.workspace{grid-template-rows:50px minmax(0,1fr) 66px 48px 18px}.swatches{grid-template-columns:repeat(12,44px);grid-template-rows:44px;gap:0 5px}.palette{padding:6px 10px;gap:10px}}

/* Creative expansion uses the existing room, shelves and paper proportions. */
.new-corners{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:linear-gradient(#dbb07b,#cca16b);padding:20px 28px 27px;border-top:5px solid #e7bf8b}.creative-corner{display:flex;align-items:center;gap:17px;background:#fffaeafa;border:3px solid #f6dda7;border-radius:22px;padding:11px 18px;box-shadow:0 6px 0 #95633744;text-align:left;min-height:125px}.creative-corner strong{display:block;font:500 28px Georgia,serif}.creative-corner small{display:block;font-size:13px;margin-top:7px;color:#70816e}.corner-picture{width:135px;flex-shrink:0}.corner-picture svg{width:100%;height:auto;display:block;stroke-width:2}.glow-corner{border-color:#bdb4dd}.gallery-corner{border-color:#eac282}.room>.station-controls{bottom:calc(6% + 165px)}.room>img{max-height:65vh}.new-corners+footer{margin-top:20px}
.creative-drawers{display:flex;flex-direction:column;gap:9px;margin-top:4px;width:100%}.creative-drawers button{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:13px;min-height:48px;background:#eee6da;border:1px solid #d9d6c3;font-size:12px;font-weight:bold;padding:6px}.creative-drawers svg{width:21px;height:21px;flex-shrink:0}.paper-space{position:relative}.parent-export{display:flex;flex-direction:column;align-items:center;justify-content:center;width:67px;min-height:46px;border-radius:13px;background:#eff0e1;border:1px solid #d5decd;font-size:9px;gap:1px}.parent-export svg{width:22px;height:22px}.editor .topbar{gap:12px}.editor .topbar .brand{margin-left:auto;margin-right:auto}.wide-dialog{max-width:660px;max-height:88dvh;overflow-y:auto;padding:25px}.effect-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.effect-grid button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:11px 6px;background:#f0eddf;border-radius:17px;font-size:13px}.effect-picture{display:grid;place-items:center;width:64px;height:56px;font-size:36px;background:#dfece6;border-radius:15px;color:#7b69b9}.effect-glitter{background:radial-gradient(circle,#fff8cc 1px,transparent 2px) 0 0/8px 9px,#d6bbe8}.effect-rainbow,.effect-rainbow-glow{background:linear-gradient(130deg,#f5b2bf,#fce4a1,#bde1b1,#b1d8ef,#d5bce9)}.effect-neon,.effect-glow-pencil,.effect-sparkle,.effect-glow-stamp{background:#172039;color:#9de7e6}.pattern-options{display:flex;flex-direction:column;gap:11px}.shape-row{display:flex;gap:7px;justify-content:center;margin-bottom:12px;flex-wrap:wrap}.shape-row button{display:flex;flex-direction:column;align-items:center;min-width:65px;min-height:62px;border-radius:13px;background:#efe9de;padding:7px;color:#846f9d}.shape-row span{font-size:28px}.shape-row small{font-size:10px;color:#486a61;text-transform:capitalize;margin-top:4px}.custom-color{display:flex;align-items:center;justify-content:center;gap:16px;border:1px solid #ddd8c8;border-radius:15px;padding:8px;margin:15px 0;font-weight:bold}.custom-color input{width:66px;height:44px;padding:3px;border:0;border-radius:9px;background:#e3e9dc}.sticker-categories,.gallery-filters{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:20px 0}.sticker-categories button,.gallery-filters a{border-radius:20px;background:#eee9db;padding:11px 16px;font-size:13px;min-height:44px}.sticker-categories [aria-pressed=true],.gallery-filters [aria-current=page]{background:#26746d;color:white}.sticker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:8px 0 18px}.sticker-grid button{background:#f3eddf;border-radius:17px;display:flex;flex-direction:column;align-items:center;padding:8px;font-size:12px;font-weight:bold;min-height:125px}.sticker-grid img{display:block;max-width:100%;width:94px;height:94px;object-fit:contain}.sticker-grid span{margin:5px 0}.decoration-controls{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:6px;background:#fffaeeed;border:1px solid #bdd2c0;border-radius:15px;padding:6px;box-shadow:0 4px 15px #27493920;max-width:100%;z-index:2}.decoration-controls[hidden]{display:none}.decoration-controls label{display:flex;align-items:center;gap:5px;font-size:11px}.decoration-controls input{width:90px;accent-color:#26746d}.decoration-controls button{min-width:40px;min-height:40px;border-radius:12px;background:#e5eddf;display:grid;place-items:center;font-size:23px}.decoration-controls svg{width:20px;height:20px}.sticker-hint{font-size:11px;max-width:60px;line-height:1.2;padding:0 5px}.background-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:15px 0}.background-choices button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:6px}.background-choices span{display:grid;place-items:center;width:70px;height:45px;background:var(--background);border-radius:10px;color:#ddd8ff;font-size:28px}.background-choices small{font-size:10px}.editor[data-kind=glow]{background:#dedbeb}.editor[data-kind=glow] .paper{box-shadow:0 0 25px #8575c64d}.editor[data-kind=glow] .tool[aria-pressed=true]{background:#e2d8f2;border-color:#8f71b5;color:#725796}
.parent-dialog{max-width:500px}.parent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.parent-actions button{min-height:54px;padding:10px;border-radius:14px;background:#e7edde;border:1px solid #d2dcc8;font-weight:bold;font-size:14px}.export-status{font-size:13px;line-height:1.5;margin:13px 0}.export-status a{text-decoration:underline;color:#26746d}.ink-note{font-size:12px!important}.personal-gallery{max-width:1160px;margin:0 auto;padding:35px 25px 50px}.personal-gallery .section-heading h1{font-size:45px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 26px;margin-top:30px;padding:30px 12px;background:linear-gradient(transparent 90%,#d6ac77 90%,#c1915e 95%,transparent 95%) 0 0/100% 390px}.artwork-frame{background:#c79660;border:8px solid #c79660;border-radius:8px;box-shadow:0 5px 0 #9c744777,0 10px 20px #785c3a18;min-width:0}.framed-picture{display:block;width:100%;background:#fffcf2;aspect-ratio:8/7;padding:0;box-shadow:inset 0 0 0 4px #f9e9c8;overflow:hidden}.framed-picture img{width:100%;height:100%;object-fit:contain;display:block}.preparing-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;height:100%;font-size:12px;color:#82907b}.preparing-art svg{width:46px;height:46px}.artwork-caption{padding:12px 8px;background:#fff6df;min-height:63px}.artwork-caption strong{display:block;font-size:16px}.artwork-caption small{display:block;font-size:11px;margin-top:4px;color:#7a866e}.gallery-card-tools{display:flex;justify-content:space-between;gap:5px;background:#fff6df;padding:7px}.gallery-card-tools button{border:1px solid #e2dbc7;background:#f0eddf;border-radius:11px;min-height:43px;min-width:40px;padding:6px 9px;font-size:11px;font-weight:bold}.gallery-card-tools svg{width:22px;height:22px}.gallery-privacy{text-align:center;font-size:13px;color:#71816c;margin:30px 0 0}.empty-gallery{text-align:center;padding:55px 15px}.empty-gallery>svg{width:70px;height:70px;color:#b9a4d0}.empty-gallery h2{font-size:32px;margin:15px 0}.empty-gallery p{margin-bottom:30px;color:#75856f}.empty-gallery .primary{display:inline-block}.gallery-notice{max-width:600px;margin:100px auto;text-align:center;padding:25px}.gallery-notice h1{font-size:40px}.gallery-notice p{margin:25px 0;line-height:1.5}.gallery-notice a{display:inline-block}.gallery-message{text-align:center;color:#8d644d;margin:16px}
@media(max-width:700px) and (min-height:551px){.editor .topbar{gap:5px;padding:0 10px}.editor .topbar .brand{font-size:14px;gap:5px}.editor .topbar .brand em{font-size:11px}.editor .brand-mark{width:29px;height:31px}.editor .settings-button{width:38px;min-width:38px;height:44px}.parent-export{width:51px;min-width:51px;font-size:8px;min-height:44px}.editor .topbar .back{font-size:12px;padding:6px 8px}.editor .topbar .back svg{width:22px}.workspace{grid-template-rows:44px 110px minmax(0,1fr) 104px 48px 18px}.toolbox{flex-direction:column;gap:4px;justify-content:flex-start;padding:4px 6px}.creative-drawers{flex-direction:row;gap:8px;margin-top:0}.creative-drawers button{flex:1;min-height:43px;font-size:11px;gap:5px;padding:3px}.creative-drawers svg{width:18px;height:18px}.wide-dialog{padding:20px 14px;max-height:90dvh}.wide-dialog h2{font-size:29px}.wide-dialog p{font-size:13px}.effect-grid{gap:6px;margin:18px 0;grid-template-columns:repeat(2,1fr)}.effect-grid button{flex-direction:row;gap:10px;padding:7px;font-size:12px}.effect-picture{width:44px;height:44px;font-size:26px}.shape-row{gap:4px}.shape-row button{min-width:44px;min-height:54px;padding:5px}.shape-row span{font-size:23px}.shape-row small{font-size:9px}.sticker-grid{gap:8px}.sticker-grid button{padding:5px;min-height:104px;font-size:10px}.sticker-grid img{width:74px;height:74px}.sticker-categories{gap:4px;margin:15px 0}.sticker-categories button{padding:8px 10px;font-size:11px;min-height:40px}.decoration-controls{padding:4px;gap:3px;bottom:3px;width:max-content;max-width:100%}.decoration-controls input{width:65px}.decoration-controls button{min-width:35px;min-height:40px}.sticker-hint{font-size:9px;max-width:40px}.decoration-controls label{font-size:9px}.parent-actions{gap:8px}.parent-actions button{font-size:12px}.background-choices{gap:2px}.background-choices span{width:53px;height:40px}.background-choices small{font-size:9px}.new-corners{gap:12px;padding:14px 12px 21px;grid-template-columns:1fr}.creative-corner{padding:9px 13px;min-height:90px;gap:13px;border-radius:20px}.creative-corner strong{font-size:23px}.creative-corner small{font-size:11px}.corner-picture{width:89px}.room>.station-controls{position:static}.personal-gallery{padding:25px 12px 40px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;padding:15px 0;background:none}.artwork-frame{border-width:5px}.artwork-caption{min-height:61px;padding:8px 6px}.artwork-caption strong{font-size:12px}.artwork-caption small{font-size:10px}.gallery-card-tools{flex-wrap:wrap;gap:4px;padding:5px}.gallery-card-tools button:first-child{width:100%;font-size:11px}.gallery-card-tools button{flex:1;min-height:40px}.gallery-filters{gap:5px;margin:18px 0}.gallery-filters a{padding:9px 11px;font-size:11px}.gallery-privacy{font-size:11px}.personal-gallery .section-heading h1{font-size:36px}}
@media(max-height:550px) and (min-width:600px){.creative-drawers{gap:4px}.creative-drawers button{min-height:30px;font-size:9px;padding:2px;gap:4px}.creative-drawers svg{width:16px;height:16px}.toolbox{gap:3px}.creative-tools .tool{min-height:44px}.toolbox .size-control input{height:20px}.toolbox .size-control label{font-size:9px}.parent-export{flex-direction:row;width:94px;font-size:10px;min-height:36px}.wide-dialog{max-height:92dvh;padding:18px;max-width:640px}.effect-grid{margin:12px 0}.effect-picture{height:40px;font-size:24px}.shape-row{margin:0}.background-choices{margin:8px 0}.new-corners{padding:14px;gap:15px}.creative-corner{min-height:95px}.corner-picture{width:90px}.creative-corner strong{font-size:23px}}
@media(max-width:380px) and (min-height:551px){.editor .topbar .brand{font-size:12px;gap:3px}.editor .topbar .brand em{font-size:10px}.editor .topbar .back{padding:6px;font-size:11px}.editor .brand-mark{width:25px;height:28px}.parent-export{min-width:46px;width:46px;font-size:8px}.editor .settings-button{min-width:34px;width:34px}.decoration-controls input{width:48px}}

.large-shapes{gap:13px;margin:30px 0}.large-shapes button{min-width:82px;min-height:90px}.large-shapes span{font-size:40px}.large-shapes small{font-size:12px}

.large-shapes img{display:block;width:60px;height:60px}.large-shapes span{line-height:1}.large-shapes button{padding:9px}.effect-picture img{width:44px;height:44px}

@media(min-width:701px){.effect-grid{grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}}

/* Phase 3: creative adventures keep the existing room and measured paper. */
.learn-corner{background:#fff3d8}.sticker-corner{background:#eee6f2}.activity-shelf canvas{width:100%;height:100%;display:block}.activity-shelf .page-preview{aspect-ratio:8/7}.activity-shelf .page-preview svg{width:100%;height:100%}.bring-life{background:#eee1f6;color:#664f85;border:1px solid #c5afd6;border-radius:18px;min-height:44px;padding:8px 13px;font-weight:700;white-space:nowrap}.animation-dialog{width:min(790px,94vw);max-width:790px;max-height:95dvh;padding:20px}.animation-dialog canvas{width:100%;height:auto;max-height:62dvh;object-fit:contain;background:white;border:8px solid #e0c292;border-radius:16px}.animation-dialog h2{font-size:29px;margin:0 0 5px}.animation-dialog p{margin:5px 0 12px}.animation-dialog small{display:block;font-size:11px;line-height:1.4;color:#72816b;margin-top:10px}.animation-dialog .dialog-actions{margin-top:13px}.editor[data-kind=learn] .editor-heading{flex-wrap:wrap;align-content:start;gap:6px}.lesson-controls{display:flex;align-items:center;gap:6px;width:100%;padding:4px 8px;background:#fff9e9;border:1px solid #ded9bc;border-radius:16px}.lesson-label{flex:1;min-width:0}.lesson-label strong{display:block;font-size:13px}.lesson-label small{font-size:10px;color:#71806c}.lesson-controls button{min-width:44px;min-height:44px;border:1px solid #d9dcc9;border-radius:12px;background:#e9eddf;font-size:23px}.lesson-controls button[aria-pressed=true]{background:#cbe1d4;border-color:#548f80}.editor[data-kind=learn] .workspace{grid-template-rows:112px minmax(0,1fr) 105px 48px 18px}.decoration-controls{flex-wrap:wrap;max-width:100%;justify-content:center}.sticker-categories{flex-wrap:wrap}.gallery-card-tools{flex-wrap:wrap}.gallery-card-tools [data-play-art]{background:#eadcf4;color:#6c4f89}.new-corners{grid-template-columns:repeat(2,minmax(0,1fr))}.creative-corner{min-width:0}.creative-corner>span:last-child{min-width:0}.creative-corner strong{font-size:25px}
@media(max-width:700px) and (min-height:551px){.heading-actions{gap:5px}.bring-life{padding:6px 9px;font-size:11px;min-height:40px}.editor:has(.bring-life) .editor-heading p{display:none}.editor:has(.bring-life) .editor-heading h1{font-size:20px}.editor:has(.bring-life) .mode-pill{padding:6px}.editor:has(.bring-life) .mode-pill span{display:none}.editor[data-kind=learn] .workspace{grid-template-rows:110px 110px minmax(0,1fr) 104px 48px 18px}.lesson-label strong{font-size:11px}.lesson-controls{padding:3px;gap:3px}.lesson-controls button{min-width:38px;min-height:42px}.lesson-label small{font-size:9px}.new-corners{grid-template-columns:1fr}.creative-corner strong{font-size:23px}.decoration-controls{max-width:100%;width:100%;gap:3px}.decoration-controls button{min-width:39px}.animation-dialog{padding:14px}.animation-dialog h2{font-size:23px}.animation-dialog p{font-size:12px}.animation-dialog canvas{max-height:58dvh}.animation-dialog .dialog-actions{gap:6px}.animation-dialog .dialog-actions button{padding:12px 8px;font-size:12px}}
@media(max-height:550px) and (min-width:600px){.editor[data-kind=learn] .workspace{grid-template-rows:100px minmax(0,1fr) 44px 40px 16px}.lesson-controls{max-width:650px;min-height:40px}.lesson-controls button{min-height:32px;min-width:36px}.animation-dialog h2{font-size:20px}.animation-dialog p,.animation-dialog small{display:none}.animation-dialog canvas{max-height:65dvh}.animation-dialog .dialog-actions{margin-top:4px}.animation-dialog .dialog-actions button{min-height:34px;padding:7px 15px}}

.room>.station-controls{position:static;padding:18px 24px 5px}.room .station-controls .station{flex:1}

@media(max-width:700px) and (max-height:650px) and (orientation:portrait){
 .editor .topbar{height:50px}.editor{height:100dvh}.editor .workspace{height:calc(100dvh - 50px);grid-template-rows:38px 98px minmax(0,1fr) 52px 44px 16px;gap:4px;padding:4px 8px}.editor[data-kind=learn] .workspace{grid-template-rows:84px 98px minmax(0,1fr) 52px 44px 16px}.editor-heading p{display:none}.editor-heading h1{font-size:20px}.editor .mode-pill span{display:none}.editor .mode-pill{padding:6px;min-height:38px}.editor .help{height:38px;min-height:38px;width:38px}.lesson-label strong{font-size:10px}.lesson-controls{padding:2px}.lesson-controls button{min-width:36px;min-height:40px}.toolbox{padding:3px;gap:2px}.creative-tools .tool{min-height:46px}.creative-tools .tool svg{height:23px}.creative-drawers button{min-height:42px}.palette{display:flex;min-width:0;height:52px;padding:3px 5px;gap:5px}.swatches{display:flex;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:1px;min-width:0}.swatch{flex:0 0 43px;width:43px;height:44px}.palette-bank{flex:0 0 47px;min-height:42px;font-size:9px;padding:2px}.editor-footer{min-height:44px}.save-status{line-height:16px;font-size:10px}.lesson-controls{border-radius:12px}.bring-life{font-size:10px;min-height:38px}
}

@media(max-width:700px) and (max-height:650px) and (orientation:portrait){.editor .palette{flex-wrap:nowrap;align-items:center}.editor .swatches{flex:1 1 0;width:0;max-width:100%;min-width:0}.editor .palette-bank{flex:0 0 47px}}
@media(max-height:550px) and (min-width:600px){.editor[data-kind=learn] .workspace{grid-template-rows:76px minmax(0,1fr) 44px 16px}.editor[data-kind=learn] .editor-heading{gap:2px}.lesson-controls{min-height:38px}.lesson-label strong{font-size:11px}.lesson-controls button{min-height:32px}.toolbox{overflow-y:auto;overscroll-behavior:contain}.animation-dialog canvas{max-height:62dvh}}

@media(max-height:550px) and (min-width:600px){.toolbox{overflow-x:hidden;scrollbar-width:thin}.toolbox .creative-tools{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.toolbox .tool{width:100%;min-width:0}.toolbox .creative-drawers{width:100%;min-width:0}.toolbox .size-control input{max-width:100%}}

/* Phase 4: clearer family information, touch targets and safe-area spacing. */
:root{--studio-header:86px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}body{padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.editor{height:calc(100dvh - var(--safe-top) - var(--safe-bottom));min-height:0}.editor .topbar{height:var(--studio-header)}.editor .workspace{height:calc(100dvh - var(--studio-header) - var(--safe-top) - var(--safe-bottom))}.home-actions{display:flex;gap:10px;align-items:center}.playground-return{display:flex;align-items:center;gap:7px;min-height:46px;padding:8px 13px;background:#fff9e9;border:1px solid #d6dbc9;border-radius:15px;font-size:13px;font-weight:bold}.playground-return svg{width:23px;height:23px}.parent-info-link{display:block;margin:15px auto 0;padding:8px 12px;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px;color:#426c62}.beta-badge{display:table;margin:12px auto 0;padding:4px 10px;border:1px solid #cfb984;border-radius:12px;background:#fff0c8;color:#7f5d22;font-size:11px;letter-spacing:1px;font-weight:bold}.parent-dialog p{font-size:15px;line-height:1.6;margin:15px 0}.creative-corner small{font-size:12px}.sticker-categories button{min-height:44px}.decoration-controls button{min-width:44px;min-height:44px}.editor .save-status{color:#526849}.gallery-privacy{color:#526849}.mode-pill,.parent-export,.settings-button{touch-action:manipulation}
@media(max-width:700px) and (min-height:551px){:root{--studio-header:60px}.home-actions{gap:6px}.playground-return{padding:8px 10px}.playground-return span{display:none}.creative-corner small{font-size:12px}.parent-dialog p{font-size:14px;line-height:1.5}.decoration-controls{padding:4px}.sticker-hint{display:none}}
@media(max-height:550px) and (min-width:600px){:root{--studio-header:48px}}
@media(max-width:700px) and (max-height:650px) and (orientation:portrait){:root{--studio-header:50px}.editor .workspace{height:calc(100dvh - var(--studio-header) - var(--safe-top) - var(--safe-bottom))}}
.privacy-page{max-width:760px;margin:40px auto;padding:20px 24px 50px;font-size:17px;line-height:1.7}.privacy-page h1{font-size:42px;margin:20px 0}.privacy-page h2{font-size:28px;margin:30px 0 10px}.privacy-page p{margin:16px 0}.privacy-page .primary{display:inline-block}.privacy-page .eyebrow{margin-top:30px}
/* Keep all station choices close to the room on common laptop screens. */
@media(min-width:900px){.home-header{height:78px}.welcome{padding:4px 0 18px}.welcome h1{font-size:40px;margin:8px 0}.beta-badge{margin-top:7px}.room>img{max-height:28vh}.room>.station-controls{padding:12px 20px 2px;gap:16px}.station{min-height:72px;padding:10px 18px}.station strong{font-size:21px}.new-corners{gap:10px;padding:12px 20px 18px}.creative-corner{min-height:82px;padding:10px 15px}.creative-corner .corner-picture{max-width:100px}.creative-corner strong{font-size:21px}.home-footer{padding-top:16px}}
