.dialog.animation-dialog{width:min(94vw,900px);max-height:96dvh}.animation-screen{gap:8px;display:grid}.animation-screen>canvas{width:min(100%,65dvh);height:auto;box-shadow:0 0 0 1px var(--edge);border-radius:4px;margin:0 auto;display:block}.animation-tools,.animation-settings{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.animation-settings{justify-content:space-between}.animation-tools [aria-disabled=true]{opacity:.58}.animation-position{min-width:7.5rem;font-weight:700}.animation-progress{align-items:center;gap:12px;display:flex}.animation-progress:has(>progress[hidden]){display:none}.animation-warning{color:#533810;background:#fff0ce;border:1px solid #bd8a36;border-radius:10px;margin:0;padding:8px 12px}.writing-keyboard{background:var(--panel);color:var(--ink);border:1px solid var(--edge);z-index:4;border-radius:12px;flex-direction:column;gap:2px;padding:4px;display:flex}.writing-key-row{flex-wrap:wrap;justify-content:center;gap:2px;display:flex}.writing-keyboard button{min-width:48px;height:48px;min-height:48px;font-size:1rem}.writing-keyboard .writing-key{flex:1 0 64px;height:auto;font-size:.85rem;line-height:1.1}.writing-keyboard .icon{width:20px;height:20px}.stage .writing-keyboard{width:min(98vw,740px);position:fixed;bottom:6px;left:50%;transform:translate(-50%)}.stage .writing-keyboard-top{top:6px;bottom:auto}.stage:has(.writing-keyboard) .label-field{max-height:min(23dvh,70%);overflow-y:auto!important}.dialog>.writing-keyboard{margin-top:8px}.writing-dialog:has(>.writing-keyboard) .book-writing{resize:none;height:clamp(96px,88dvh - 470px,360px);min-height:96px}.class-presentation:has(.writing-keyboard){grid-template-rows:auto minmax(0,1fr) 56px auto}@media (width<=629px){.writing-key-row:not(.writing-commands) button{width:48px;padding-inline:0}.writing-commands .writing-key{flex-direction:column;gap:2px;padding:2px;font-size:.68rem}.uppercase .writing-commands [data-focus=caps]{font-size:.6rem}}.dialog.writing-dialog{width:min(92vw,750px)}.book-writing{resize:vertical;min-height:min(42dvh,360px);padding:9px 13px;font-size:1.25rem;font-weight:400}.book-writing-warning{background:#fff0ce;border:1px solid #bd8a36;border-radius:10px;margin:0;padding:8px 12px}.writing-strip{width:min(100%, var(--sheet-width,100%));justify-content:center;justify-self:center;align-items:stretch;gap:4px;display:flex}.writing-strip.collapsed{flex:none;width:auto}.writing-strip button{min-height:48px}.writing-preview{text-align:start;flex:1;justify-content:flex-start;min-width:0;overflow:hidden}.writing-preview .button-label{-webkit-line-clamp:2;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.writing-preview.writing-invitation{color:var(--muted)}.writing-toggle{padding-inline:6px}.dialog.book-dialog{width:min(96vw,1110px);max-height:94dvh}.book-reader{gap:10px;display:grid}.book-dialog .book-reader{grid-template-rows:minmax(0,1fr) 56px;height:min(78dvh,740px)}.book-dialog .book-spread{grid-template-rows:minmax(0,1fr);height:100%;min-height:0}.book-dialog .book-illustration{container-type:size}.book-dialog .book-illustration :is(img,canvas){width:min(100cqw,133.33cqh)}.book-display{min-width:0;min-height:0}.book-spread{border:1px solid var(--edge);background:#fffdf6;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:min(50dvh,420px);display:grid;overflow:hidden}.book-illustration{background:#eaddca;place-items:center;min-width:0;padding:clamp(12px,2.4vw,28px);display:grid}.book-illustration :is(img,canvas){aspect-ratio:4/3;grid-area:1/1}.book-illustration :is(img,canvas),.book-presentation-animation canvas{background:#fff;width:100%;max-width:100%;height:auto;display:block}.book-copy,.book-cover-details{overflow-wrap:normal;padding:clamp(16px,3vw,44px);overflow:auto}.book-copy{max-height:60dvh;font-size:clamp(1.2rem,2.3vw,1.8rem)}.book-copy p{white-space:pre-wrap;margin:0}.book-cover-details{align-content:center}.book-cover-details h1{margin:0 0 .35em;font-size:clamp(1.8rem,4.8vw,4rem);line-height:1.12}.book-author{margin:0 0 .65em;font-size:1.4em}.book-audience p{margin:0}.book-navigation{justify-content:space-between;align-items:center;gap:8px;display:flex}.book-navigation button{min-width:114px}.book-position{text-align:center;font-weight:700}.book-navigation [aria-disabled=true]{opacity:.58}.dialog.presentation-dialog{border:0;border-radius:0;width:100vw;max-width:100vw;max-height:100dvh;padding:0}.presentation-dialog>.dialog-head{display:none}.class-presentation{--dark:#222323;color:#fffcf6;background:var(--dark);grid-template-rows:auto minmax(0,1fr) 56px;height:100dvh;padding:clamp(12px,2vw,30px)}.class-presentation button{color:var(--ink)}.class-presentation .book-spread{background:0 0;border:0;gap:clamp(12px,3vw,42px);height:100%;min-height:0;overflow:visible}.class-presentation .book-illustration{background:0 0;padding:0;container-type:size}.class-presentation .book-illustration :is(img,canvas){width:min(100cqw,133.33cqh)}.class-presentation .book-cover-details,.class-presentation .book-copy{align-content:safe center;max-height:none;padding:0;font-size:clamp(1.5rem,4vw,4rem);line-height:1.35}.class-presentation .book-cover-details h1{font-size:clamp(2.2rem,6vw,6rem)}.class-presentation .book-audience{font-size:.65em}.book-presentation-bar{align-items:center;gap:10px;display:flex}.book-presentation-bar h2{margin:0 auto 0 0;font-size:clamp(1rem,2vw,1.6rem)}.book-presentation-animation{place-items:center;height:100%;display:grid;container-type:size}.book-presentation-animation canvas{width:min(100cqw,133.33cqh)}@media (width<=660px){.book-spread{grid-template-columns:1fr;min-height:0}.book-illustration :is(img,canvas){width:min(100%,55dvh)}.book-copy{max-height:33dvh}.book-dialog .book-spread:not(.book-cover),.class-presentation .book-spread{grid-template-rows:minmax(0,1fr) minmax(0,.65fr)}.class-presentation .book-cover-details,.class-presentation .book-copy{padding-inline:6px}.book-navigation button{min-width:56px}}.book-spread.book-cover{grid-template:1fr/minmax(0,1fr)}.book-cover .book-cover-details{text-align:center;width:min(100%,740px);margin-inline:auto}.book-cover-details h1{text-wrap:balance}.book-class{margin:.65em 0;font-size:.65em}.slide-work{margin-bottom:.75em;font-size:.65em}.slide-work h3{margin:0;line-height:1.1}.slide-speeds{flex-wrap:wrap;gap:4px;display:flex}.book-presentation-bar{flex-wrap:wrap}.book-navigation>div{text-align:center;max-height:100%;overflow:auto}.book-boundary:not(:empty){font-size:.875rem;display:block}.credits-list{gap:16px;display:grid}.credits-list h3,.credits-list p{margin:0 0 6px}.credits-list summary{cursor:pointer;align-content:center;min-height:56px;display:list-item}.credits-list pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;font-size:.8rem}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-latin-ext-400-normal-D580Nkki.woff2)format("woff2"),url(./andika-latin-ext-400-normal-NXfvB_tZ.woff)format("woff")}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-latin-ext-700-normal-Ch3SGZaH.woff2)format("woff2"),url(./andika-latin-ext-700-normal-DBt0PRsd.woff)format("woff")}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-latin-400-normal-BTFTIZb-.woff2)format("woff2"),url(./andika-latin-400-normal-BK42By1L.woff)format("woff")}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-latin-700-normal-Dk95f5lc.woff2)format("woff2"),url(./andika-latin-700-normal-CAUSQC6x.woff)format("woff")}@font-face{font-family:Playwrite PT;font-style:normal;font-display:swap;font-weight:400;src:url(./playwrite-pt-latin-400-normal-JudIVFXd.woff2)format("woff2"),url(./playwrite-pt-latin-400-normal-Cc0YUG3e.woff)format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:600;src:url(./fredoka-latin-ext-600-normal-GoyidTAB.woff2)format("woff2"),url(./fredoka-latin-ext-600-normal-BExgZzUO.woff)format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:600;src:url(./fredoka-latin-600-normal-C4zohCW5.woff2)format("woff2"),url(./fredoka-latin-600-normal-CcrEjrB4.woff)format("woff")}@font-face{font-family:Courier Prime;font-style:normal;font-display:swap;font-weight:400;src:url(./courier-prime-latin-ext-400-normal-B-EsvyE4.woff2)format("woff2"),url(./courier-prime-latin-ext-400-normal-CKOCNFvK.woff)format("woff")}@font-face{font-family:Courier Prime;font-style:normal;font-display:swap;font-weight:400;src:url(./courier-prime-latin-400-normal-BbyBr73r.woff2)format("woff2"),url(./courier-prime-latin-400-normal-BAlbUm6l.woff)format("woff")}.dialog.dialog-wide{width:min(96vw,1120px);max-height:92dvh;padding-bottom:0}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.pingo-note{background:var(--note,#f2e8d8);color:var(--ink);border-radius:14px;align-items:center;gap:10px;margin:0;padding:8px 12px;font-size:1rem;display:flex}.pingo-note .icon{width:42px;height:42px}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.big-action{min-height:64px;padding-inline:22px;font-size:1.05rem}.big-action .icon{width:36px;height:36px}.new-work{gap:14px;display:grid}.new-step{gap:8px;display:grid}.step-title{align-items:center;gap:8px;margin:0;font-size:1.08rem;display:flex}.paper-colors{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;display:grid}.paper-swatch{flex-direction:column;gap:4px;min-height:72px;padding:6px 2px;font-size:.78rem}.paper-chip{background-color:var(--paper);border:1px solid #32251b55;border-radius:6px;width:44px;height:30px;display:block}.paper-swatch[aria-pressed=true] .paper-chip{border:3px solid var(--selected-edge);border-radius:50%;width:34px;height:34px}.model-group{gap:4px;display:grid}.model-group>h4{margin:4px 0}.model-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px;display:grid}.model-choice{text-align:center;overflow-wrap:anywhere;flex-direction:column;gap:6px;min-height:150px;padding:8px 6px;font-size:.86rem}.model-thumb{aspect-ratio:4/3;border-radius:4px;width:100%;max-width:176px;height:auto;display:block;box-shadow:0 0 0 1px #cbbbaf}.model-choice[aria-pressed=true] .model-thumb{box-shadow:0 0 0 4px var(--selected-edge)}.gallery-dialog{gap:10px;padding-bottom:14px;display:grid}.gallery-toolbar{flex-wrap:wrap;gap:8px;display:flex}.gallery-notices{gap:6px;display:grid}.gallery-notices:empty{display:none}.gallery-notice{color:#533810;background:#fff0ce;border:1px solid #bd8a36;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:6px 6px 6px 14px;display:flex}.gallery-dialog .gallery{grid-template-columns:repeat(auto-fill,minmax(208px,1fr));gap:12px;padding:4px;display:grid}.gallery-card{background:var(--button);border:1px solid var(--edge);border-radius:16px;grid-template-rows:auto auto;gap:6px;padding:8px;display:grid}.gallery-open{text-align:start;box-shadow:none;border-radius:12px;place-items:start stretch;gap:4px;padding:6px;font-size:1rem;display:grid}.gallery-thumb{aspect-ratio:4/3;object-fit:cover;border:1px solid var(--edge);background:#fff;border-radius:6px;width:100%;display:block}.gallery-name{text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;overflow:hidden}.gallery-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:6px;min-height:26px;font-weight:400;display:flex}.gallery-author{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gallery-pages{color:var(--ink);align-items:center;gap:2px;font-weight:700;display:inline-flex}.gallery-pages .icon{width:24px;height:24px}.gallery-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.gallery-actions button{flex:auto;padding-inline:6px;font-size:.8rem}.gallery-actions .icon{width:24px;height:24px}.gallery-card.confirming{background:#fff6df;border-color:#bd8a36}.confirm-text{color:#533810;flex:1 0 100%;font-weight:700}button.warning{color:#533810;background:#fff0ce;border-color:#bd8a36}.gallery-empty{text-align:center;grid-column:1/-1;justify-items:center;gap:10px;padding:24px 10px 30px;display:grid}.gallery-empty .icon{width:110px;height:110px}.gallery-empty p{max-width:30ch;margin:0;font-size:1.15rem}.audience-field{gap:6px;display:grid}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border-radius:28px;padding-inline:16px;font-weight:700}.gallery-open{min-width:0;position:relative}.gallery-slide-order{top:10px;text-align:center;border:2px solid var(--selected-edge);background:var(--selected);min-width:2rem;color:var(--ink);border-radius:50%;padding:5px;position:absolute;inset-inline-start:10px}.help-sheet{gap:10px;padding-bottom:16px;display:grid}.help-sheet h3{margin:6px 0 0;font-size:1.05rem}.help-hello{background:var(--note,#f2e8d8);border-radius:14px;align-items:center;gap:12px;padding:8px 12px;display:flex}.help-hello .icon{width:56px;height:56px}.help-hello p{flex:1;margin:0;font-size:1.08rem}.help-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.help-card{border:1px solid var(--edge);background:var(--button);border-radius:14px;grid-template-rows:auto auto;grid-template-columns:48px 1fr;align-items:center;column-gap:10px;padding:8px 10px;display:grid}.help-card .icon{grid-row:span 2;width:48px;height:48px}.help-card span{color:var(--muted);font-size:.88rem}.help-more summary{cursor:pointer;align-items:center;gap:8px;min-height:56px;font-weight:700;display:flex}.help-keys{grid-template-columns:auto 1fr;align-items:center;gap:6px 14px;margin:4px 0 0;display:grid}.help-keys dd{margin:0}kbd{text-align:center;border:1px solid var(--edge);min-width:2em;font:inherit;background:#fff;border-bottom-width:3px;border-radius:7px;padding:2px 7px;font-weight:700;display:inline-block}.label-layer{pointer-events:none;--k:.5;position:absolute;inset:0;overflow:clip}.label-item{min-width:48px;min-height:48px;box-shadow:none;pointer-events:none;background:0 0;border:0;border-radius:10px;padding:0;position:absolute;transform:translate(-50%,-50%)}.label-item[aria-pressed=true],.label-item[aria-pressed=true]:hover{box-shadow:none;background:0 0;border:0}.label-item:focus-visible{outline:none}.label-outline{border:3px solid var(--focus);pointer-events:none;border-radius:12px;position:absolute;box-shadow:0 0 0 2px #fff,inset 0 0 0 2px #fff}.label-handle{pointer-events:none;border:4px solid var(--focus);background:#ffffff59;border-radius:50%;width:48px;height:48px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 3px #fff,0 2px 6px #0004}.label-handle:after{content:"";background:var(--focus);border-radius:50%;position:absolute;inset:14px}.label-field{resize:none;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;pointer-events:auto;-webkit-user-select:text;user-select:text;touch-action:auto;cursor:text;outline:3px dashed var(--focus);outline-offset:4px;font-kerning:normal;background:0 0;border:0;border-radius:4px;min-width:0;min-height:0;margin:0;padding:0;position:absolute;overflow:hidden}.label-field:focus-visible{outline:3px dashed var(--focus);outline-offset:4px}.label-bar{pointer-events:auto;cursor:default;background:var(--panel);border:1px solid var(--edge);width:max-content;max-width:calc(100% - 8px);box-shadow:0 3px 0 var(--lift), 0 6px 16px #46352233;border-radius:16px;flex-wrap:wrap;gap:6px;padding:6px;display:flex;position:absolute}.label-bar .bar-button{white-space:normal;min-width:48px;min-height:48px;padding:4px 12px 4px 8px}.label-bar .bar-button .icon{width:30px;height:30px}.high-contrast .label-bar{border-color:var(--edge)}.label-bar-docked{max-width:100%;box-shadow:none;flex:none;position:static}.label-bar-docked .bar-button{flex-direction:column;flex:40%;gap:2px;padding:3px;font-size:.75rem}.label-bar-docked .bar-button .icon{width:22px;height:22px}.label-fit-warning{color:#533810;background:#fff0ce;border-radius:6px;flex-basis:100%;max-width:28ch;margin:0;padding:3px 6px;font-size:.82rem}@media (width<=540px){.label-field,.label-field:focus-visible{outline-offset:0}}.move-options{gap:10px;display:grid}.move-options .option-title{margin:0}.move-options .move-actions{border-top:1px solid var(--edge);padding-top:10px}.move-options .choice{min-height:65px}.move-options .choice .icon{width:30px;height:30px}.stamp-panel,.stamp-transforms{gap:8px;display:grid}.stamp-panel button{min-width:48px;min-height:var(--target)}.stamp-library-header,.stamp-categories-button{width:100%}.stamp-categories-button{justify-content:flex-start}.stamp-category-name{color:var(--muted);margin:0;font-size:.87rem}.stamp-gallery{padding:3px}.stamp-gallery .stamp-tile{min-height:78px;line-height:1.15}.stamp-thumbnail{object-fit:contain;pointer-events:none;width:auto;max-width:100%;height:40px}.stamp-categories{padding:3px}.stamp-categories .stamp-category{min-height:66px;line-height:1.15}.stamp-category-image{object-fit:contain;max-width:100%;height:28px}.stamp-empty{margin:4px 0;font-size:.86rem}.stamp-transforms{border-top:1px solid var(--edge);padding-top:8px}.stamp-transforms .option-title{margin:0}.stamp-sizes{grid-template-columns:repeat(5,minmax(48px,1fr));gap:1px;display:grid}.stamp-sizes .stamp-size{min-height:max(52px, var(--target));flex-direction:column;gap:0;padding:0}.stamp-size .icon{width:28px;height:28px}.stamp-size .button-label{letter-spacing:-.02em;font-size:.58rem}.stamp-transform .icon{width:23px;height:23px}.stamp-angle-title{justify-content:space-between;display:flex}.stamp-angle-value{font-variant-numeric:tabular-nums}.stamp-angle-slider{accent-color:#23578d;width:100%;min-height:48px;margin:0}.stamp-transforms{border-top:0;gap:4px;padding:2px 3px}.stamp-sizes .stamp-size{min-height:var(--target)}.stamp-angle-title{min-height:0}.stamp-library-header{padding-inline:3px}.stamp-actions{grid-template-columns:repeat(2,minmax(48px,1fr));gap:4px;display:grid}.stamp-actions .stamp-transform{flex-direction:column;gap:2px;padding:2px;font-size:.75rem;line-height:1.1}@media (orientation:portrait),(width<=800px){.stamp-actions{grid-template-columns:repeat(4,minmax(48px,1fr))}.stamp-actions .stamp-transform{font-size:.66rem}}@media (width<=540px){.stamp-actions .stamp-transform{font-size:.62rem}}@media (orientation:portrait),(width<=800px){.options-fixed:has(.stamp-transforms){grid-template-columns:minmax(0,1fr) max-content;align-items:center;display:grid}.options-fixed .stamp-transforms{display:contents}.options-fixed .stamp-sizes{grid-area:1/1}.options-fixed .stamp-library-header{grid-area:1/2}.options-fixed .stamp-actions{grid-area:2/1}.options-fixed .stamp-angle{grid-area:2/2}.options-fixed .stamp-transforms .option-title{display:none}.options-fixed .stamp-angle-slider{min-width:90px}.stamp-categories-button{padding-inline:5px}.options-scroll .stamp-category-name{display:none}.options-scroll .stamp-gallery .stamp-tile{min-height:56px}.stamp-thumbnail{height:27px}}@media (orientation:portrait) and (width>=700px){.options-fixed:has(.stamp-transforms){grid-template-columns:245px minmax(0,1fr) 95px auto}.options-fixed .stamp-actions{grid-area:1/2}.options-fixed .stamp-angle{grid-area:1/3}.options-fixed .stamp-library-header{grid-area:1/4}.options-fixed:has(.stamp-transforms):not(:has(.stamp-actions)){grid-template-columns:245px auto}}@media (width<=540px){.options-fixed:has(.stamp-transforms){grid-template-columns:minmax(0,1fr) 88px}.stamp-categories-button{flex-direction:column;gap:2px;padding-inline:2px;font-size:.7rem}.stamp-categories-button .icon{width:21px;height:21px}.options-fixed .stamp-angle-slider{min-width:0}.options-scroll .stamp-gallery{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}}@media (orientation:landscape) and (width>=801px){.stamp-actions{grid-template-columns:repeat(4,minmax(48px,1fr))}.stamp-actions .stamp-transform{font-size:.65rem}.uppercase .stamp-actions .stamp-transform{font-size:.57rem}.stamp-angle{grid-template-columns:max-content minmax(48px,1fr);align-items:center;gap:6px;display:grid}.stamp-angle-title{flex-direction:column}.stamp-gallery .stamp-tile{min-height:68px}.stamp-thumbnail{height:34px}}.class-comments{height:100%;padding:5px;overflow:auto}.class-comments h2{margin:0 0 12px;font-size:clamp(1.5rem,3.5vw,3rem)}.class-comments-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.class-comment-form,.class-comments-list{align-content:start;gap:8px;display:grid}.class-comment-form label{color:var(--ink);font-size:1rem}.class-comment-form label span{color:#fffdf6}.class-comment-form textarea{resize:vertical;min-height:110px}.class-comment-types{flex-wrap:wrap;gap:8px;display:flex}.class-comment,.class-comment-notice{color:var(--ink);background:var(--panel);overflow-wrap:anywhere;border-radius:12px;padding:8px 12px}.class-comment header{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.class-comment header button{margin-inline-start:auto}.class-comment p{white-space:pre-wrap;margin:8px 0;font-size:1.15rem}.class-comment-notice{background:#fff0ce;border:1px solid #bd8a36;align-items:center;gap:10px;margin-bottom:8px;display:flex}@media (width<=660px){.class-comments-grid{grid-template-columns:1fr}}.class-comment-validation{color:#533810;background:#fff0ce;border-radius:8px;margin:0;padding:8px}.child-settings{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;display:grid}.big-toggle{flex-direction:column;gap:6px;min-height:96px;font-size:.95rem}.big-toggle .icon{width:44px;height:44px}.dialog-actions.spread{justify-content:space-between}.high-contrast{--ink:#120d09;--muted:#2b211a;--edge:#3d3129;--panel:#fff;--button:#fff;--selected:#bdf0d6;--selected-edge:#0b3b2b;--focus:#0a2f80;--lift:#3d3129;--note:#f3f0ea;color:var(--ink)}html.high-contrast body{background:#efe8dc}.high-contrast button{border-width:2px;border-color:var(--edge)}.high-contrast button[aria-pressed=true]{box-shadow:inset 0 0 0 3px var(--selected-edge)}.high-contrast :focus-visible{outline:4px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 7px #fff}.high-contrast .tool{padding-inline:0}.high-contrast .help{border:2px solid var(--edge);background:#fff}.high-contrast .panel,.high-contrast .workbar,.high-contrast .footer,.high-contrast .dialog,.high-contrast .gallery-card{border:2px solid var(--edge)}.high-contrast .paint-chip,.high-contrast .paper-chip{border:2px solid var(--ink)}.high-contrast .toast,.high-contrast .gallery-notice{color:#2e1e05;background:#fff3d6;border:2px solid #7a5310}.high-contrast .sheet{box-shadow:0 0 0 2px var(--ink), 0 4px 0 #bcae9f}.high-contrast .gallery-meta,.high-contrast .work-field>span,.high-contrast .option-title,.high-contrast .choice-group,.high-contrast .panel-title{color:var(--ink)}.high-contrast .model-thumb,.high-contrast .gallery-thumb{box-shadow:0 0 0 2px var(--ink)}html.large-cursor,html.large-cursor button,html.large-cursor input,html.large-cursor select,html.large-cursor label{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M6 4v32l9-8 6 13 7-3-6-13h12Z' fill='%23fff' stroke='%23120d09' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4,auto}html.uppercase body,html.uppercase :is(button,input,textarea,select,dialog){text-transform:uppercase}.uppercase :is(.authored-text,[data-writing-input]){text-transform:none}.uppercase [data-writing-input]::placeholder{text-transform:uppercase}html.left-handed .toasts{left:14px;right:auto}@media (prefers-reduced-motion:reduce){.hold-button:after{transition:none}}.hold-button{--hold:0;position:relative;overflow:hidden}.hold-button:after{content:"";width:100%;height:6px;transform:scaleX(var(--hold));transform-origin:0;background:var(--selected-edge);position:absolute;bottom:0;left:0}.gate-question{margin:0;font-size:1.3rem}.gate-message{color:#533810;min-height:1.3em;margin:0;font-weight:700}.teacher-panel{gap:14px;padding-bottom:16px;display:grid}.privacy-note{background:var(--selected);border:1px solid var(--selected-edge);border-radius:12px;align-items:center;gap:10px;margin:0;padding:10px 12px;display:flex}.privacy-note .icon{width:36px;height:36px}.teacher-section{gap:8px;display:grid}.teacher-section h3{margin:0;font-size:1.05rem}.teacher-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.teacher-label{min-width:90px;color:var(--muted);font-weight:700}.segmented{flex-wrap:wrap;gap:8px;display:flex}.segmented button{min-width:110px}.teacher-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;display:grid}.setting-name{align-items:center;gap:8px;display:inline-flex}.setting-name .icon{width:28px;height:28px}.setting input[type=checkbox]{width:28px;height:28px;min-height:28px}.storage-line{margin:0}.dialog-actions.start{justify-content:flex-start}.danger-zone{justify-items:start;gap:8px;display:grid}.danger-zone p{margin:0}@layer base{:root{color:#352b23;font-synthesis:none;--ink:#352b23;--muted:#6d5b4f;--edge:#dcccbc;--panel:#fff9ed;--button:#fffdf8;--selected:#ddf1e6;--selected-edge:#286c56;--focus:#23578d;--lift:#e6d8c8;accent-color:#286c56;background:#f6eddf;font-family:Andika,sans-serif}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit;min-height:var(--target,56px)}button{border:1px solid var(--edge);background:var(--button);box-shadow:0 2px var(--lift);cursor:pointer;min-width:var(--target,56px);touch-action:manipulation;border-radius:13px;justify-content:center;align-items:center;gap:5px;padding:4px 10px;font-size:.86rem;font-weight:700;line-height:1.1;display:inline-flex}button:hover:not(:disabled){background:#fff4dc;border-color:#947a65}button:active:not(:disabled){box-shadow:0 1px var(--lift);transform:translateY(1px)}button[aria-pressed=true],button[aria-pressed=true]:hover{background:var(--selected);box-shadow:inset 0 0 0 2px var(--selected-edge);border-color:var(--selected-edge);border-radius:8px}button:is(:disabled,[aria-disabled=true]){cursor:default;opacity:.58;box-shadow:none}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.icon{flex:none;place-items:center;width:30px;height:30px;display:inline-grid}.icon svg{width:100%;height:100%;display:block}input:not([type=checkbox]),select,textarea{border:1px solid var(--edge);background:var(--button);border-radius:10px;width:100%;padding:4px 9px}.work-field{gap:1px;min-width:0;font-size:.77rem;font-weight:700;display:grid}.work-field>span{color:var(--muted);margin-inline:4px}.dialog{border:1px solid var(--edge);background:var(--panel);width:min(92vw,580px);max-height:88dvh;color:var(--ink);border-radius:18px;padding:14px;overflow:auto;box-shadow:0 5px #2d22182a}.dialog::backdrop{background:#352b2380}.dialog-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.dialog-head h2{margin:0;font-size:1.3rem}.dialog-stack{gap:10px;display:grid}.dialog-stack .work-field>span{font-size:.88rem}.setting{border:1px solid var(--edge);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:56px;padding:3px 10px;display:flex}.setting input{width:25px;margin:0}.setting select{width:auto}.primary{border-color:var(--selected-edge);background:var(--selected)}.toasts{bottom:calc(var(--target,48px) * 2 + 18px);z-index:2;gap:8px;max-width:calc(100vw - 28px);display:grid;position:fixed;right:14px}.toast,.startup-error{color:#533810;background:#fff0ce;border:1px solid #bd8a36;border-radius:12px;align-items:center;gap:8px;padding:9px 12px;display:flex;box-shadow:0 2px #9a731a44}.success-message{color:var(--ink);background:var(--button);border:1px solid var(--edge);border-radius:8px;padding:2px 7px;font-size:.85rem}.help-copy .success-message{max-width:100%;max-height:100%;position:absolute;inset-inline-start:0;overflow:auto}.help-copy:has(.success-message) .hint{visibility:hidden}.dialog-head:has(.success-message){flex-wrap:wrap}.dialog-head .success-message{flex-basis:100%}.save-recovery{flex-wrap:wrap}.startup-error{justify-self:center}@media print{body{background:#fff}body>:not(.print-only){display:none!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.print-only{display:none}@media print{.print-only{display:block}}}.sheet{width:min(100cqw, (100cqh - var(--strip-space,0px)) * 4 / 3);aspect-ratio:4/3;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;overscroll-behavior:contain;background:#fff;border-radius:2px;flex:none;position:relative;box-shadow:0 0 0 1px #cbbbaf,0 4px #e4d7c8,0 7px 20px #46352222}.sheet canvas{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.sheet .onion{opacity:.25}.sheet.picking{cursor:copy}.sheet.large-cursor{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='13' stroke='white' stroke-width='6' fill='none'/%3E%3Ccircle cx='20' cy='20' r='13' stroke='%2323578d' stroke-width='3' fill='none'/%3E%3C/svg%3E") 20 20,crosshair}.keyboard-cursor{pointer-events:none;border:2px solid #23578d;border-radius:50%;width:23px;height:23px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fff}#app{--target:48px;--tool-width:clamp(124px, 10.5vw, 184px);--option-width:clamp(252px, 20vw, 322px);--strip-space:0px;grid-template-rows:auto minmax(0,1fr) auto;gap:6px;height:100dvh;padding:6px;display:grid}.panel,.workbar,.footer{background:var(--panel);border:1px solid var(--edge);border-radius:16px}.workbar{grid-template-columns:auto minmax(168px,.43fr) minmax(0,2fr) auto;align-items:center;gap:8px;min-width:0;padding:2px 6px;display:grid}.brand{color:#25473c;align-items:center;gap:4px;font-size:1.25rem;font-weight:700;line-height:1;display:flex}.brand .icon{width:34px;height:34px}.class-name{text-overflow:ellipsis;white-space:nowrap;max-width:13ch;color:var(--muted);margin-top:4px;font-size:.68rem;display:block;overflow:hidden}.class-name:empty{display:none}.work-card{white-space:nowrap;justify-content:flex-start;min-width:0;padding-inline:6px;overflow:hidden}.work-card .icon{width:24px;height:24px}.work-title,.work-author{text-overflow:ellipsis;overflow:hidden}.work-title{text-align:start}.work-author{max-width:38%;color:var(--muted);flex-shrink:0;font-weight:400}.feature-actions,.preferences{gap:6px;display:flex}.feature-actions button,.preferences button{white-space:nowrap;flex-direction:column;gap:4px;padding-inline:5px;font-size:.75rem}.feature-actions .icon,.preferences .icon{width:24px;height:24px}.workspace{grid-template-columns:var(--tool-width) minmax(0, 1fr) var(--option-width);grid-template-areas:"tools stage options";gap:6px;min-height:0;display:grid}.workspace>*{min-width:0;min-height:0}.left-handed .workspace{grid-template-columns:var(--option-width) minmax(0, 1fr) var(--tool-width);grid-template-areas:"options stage tools"}.workbar,.tools,.options,.options-fixed,.footer{position:relative}.tools{scrollbar-width:thin;flex-direction:column;grid-area:tools;gap:8px;padding:4px;display:flex;overflow:auto}.tool-grid,.file-actions,.history-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.tool-deck{display:contents}.file-actions{margin-top:auto}.print-file{display:contents}.tools button{letter-spacing:-.03em;flex-direction:column;gap:4px;padding:2px 1px;font-size:clamp(.61rem,.82vw,.72rem)}.button-label{overflow-wrap:normal;min-width:0;max-width:100%}.tools .tool,.history-actions button{min-height:60px}.tools .tool .icon{width:30px;height:30px}.uppercase .tools button{font-size:clamp(.56rem,.75vw,.65rem)}.file-actions .icon{width:22px;height:22px}.simple-desk .tools .tool{min-height:68px}.stage{grid-area:stage;padding:2px;display:grid;position:relative}.sheet-area{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;container-type:size}#app.writing-visible{--strip-space:48px;row-gap:2px}.writing-visible .stage{padding-block:0}.writing-visible .footer{gap:0;padding-block:0}.options{flex-direction:column;grid-area:options;gap:4px;padding:2px;display:flex}.options-fixed:empty{display:none}.options-scroll{scrollbar-width:thin;min-height:0;padding:4px;overflow:auto}.option-section{margin-bottom:8px}.option-section:last-child{margin-bottom:2px}.option-title{color:var(--muted);margin:2px 3px 4px;font-size:.78rem}.size-choices,.choice-grid{gap:5px;display:grid}.size-choices{grid-auto-columns:minmax(48px,1fr);grid-auto-flow:column;gap:1px}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{flex-direction:column;min-height:56px;padding:4px;font-size:.8rem;display:flex}.simple-desk .choice{min-height:64px}.choice-preview{pointer-events:none;object-fit:contain;width:min(100%,74px);height:26px}.size-choice{flex-direction:column;gap:3px;padding:1px}.size-choice .button-label{letter-spacing:-.02em;font-size:.58rem}.size-choice .icon{width:26px;height:26px}.option-toggle{width:100%}.option-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:3px;display:grid}.option-categories>:last-child:nth-child(odd){grid-column:1/-1}.option-categories button{padding-inline:7px;font-size:.75rem}.option-categories .icon{width:21px;height:21px}.options-empty{color:var(--muted);margin:8px}.scroll-controls{grid-template-columns:repeat(2,1fr);gap:5px;margin-top:auto;padding:2px;display:grid}.scroll-controls .icon{width:22px;height:22px}.footer{gap:2px;padding:2px 4px;display:grid}.color-row{grid-template-columns:minmax(0,1fr) auto;gap:3px;display:grid;position:relative}.palette-controls{gap:3px;padding:2px;display:flex}.palette-controls button{min-width:64px}.palette{scrollbar-width:none;grid-template-columns:repeat(18,minmax(66px,1fr));grid-auto-columns:minmax(48px,1fr);grid-auto-flow:column;gap:3px;padding:2px;display:grid;overflow-x:auto}.swatch,.palette-action{letter-spacing:-.015em;flex-direction:column;gap:2px;padding:2px 1px;font-size:.64rem}.paint-chip{background-color:var(--swatch);border:1px solid #32251b38;border-radius:6px;width:min(75%,63px);height:22px}.swatch[aria-pressed=true] .paint-chip{border-radius:50% 44% 47% 40%}.palette-action .icon{width:22px;height:22px}.palette-action[style] .icon{background:var(--custom-color);border-radius:50%}.help{background:#f2e8d8;border-radius:10px;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:6px;padding-inline:4px;display:grid}.help-copy{align-items:center;min-width:0;height:48px;display:flex;position:relative}.hint{max-height:100%;margin:0;font-size:.88rem;line-height:1.2;overflow:auto}.help>button .icon{width:24px;height:24px}@media (width>=1450px) and (height>=850px){#app{--target:56px;gap:8px;padding:9px}.workspace{gap:8px}.size-choices{grid-auto-columns:minmax(56px,1fr)}}@media (orientation:portrait),(width<=800px){#app{grid-template-rows:auto 1fr auto;height:auto;min-height:100dvh}.workbar{grid-template-columns:auto minmax(0,1fr) auto;row-gap:4px}.page-strip-component{grid-area:2/1/auto/-1}.workspace,.left-handed .workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage""tools""options";align-content:start}.sheet-area{height:calc(min(75vw - 12px, 55dvh) + var(--strip-space))}.tools{z-index:1;flex-direction:row;align-items:center;gap:4px;position:sticky;top:0;overflow:hidden}.tool-deck{gap:6px;min-width:0;padding:2px;display:flex;overflow-x:auto}.tool-deck,.feature-actions,.options-scroll{scrollbar-width:none}.tools .file-actions button{min-width:50px}.history-actions{border-inline-start:1px solid var(--edge);padding-inline-start:4px}.tool-grid,.history-actions,.file-actions{flex:none;margin:0;display:flex}.tools button{min-width:66px}.tools .tool,.history-actions button{min-height:56px}.simple-desk .tools .tool{min-height:60px}.history-actions button{min-width:52px}.options-scroll{align-items:start;gap:8px;max-height:132px;padding-block:2px;display:flex}.options-fixed .option-title,.options-scroll .choice-group{display:none}.options-scroll>.option-section:has(.choice-block)>.option-title{display:none}.options-scroll>.option-section{flex:none;margin:0}.options-scroll .choice-grid{grid-template:repeat(2,minmax(56px,auto))/none;grid-auto-columns:minmax(76px,max-content);grid-auto-flow:column}.options-scroll .choice{min-height:56px}.options-scroll .choice-preview{height:22px}.options-scroll:has(.move-options){max-height:none}.options-scroll .move-options{align-items:start;gap:8px;display:flex}.options-scroll .move-options>.option-title{display:none}.options-scroll .move-options .choice-grid{grid-template:repeat(2,minmax(56px,auto))/none;grid-auto-columns:minmax(84px,max-content);grid-auto-flow:column}.options-scroll .move-options .move-actions{border-top:0;border-inline-start:1px solid var(--edge);padding-top:0;padding-inline-start:8px}.options-scroll .move-options>button{flex-direction:column;align-self:stretch;padding-inline:10px}.options-scroll .move-options .choice{min-height:56px}.options-scroll:has(.stamp-panel){max-height:180px;display:block}.options-scroll .stamp-panel .choice-grid{grid-template:none / repeat(auto-fit, minmax(112px, 1fr));grid-auto-flow:row}.options-fixed{flex-wrap:wrap;align-items:center;display:flex}.options-fixed .option-categories{scrollbar-width:none;flex:1 1 0;grid-template-columns:none;grid-auto-columns:max-content;grid-auto-flow:column;min-width:0;overflow-x:auto}.options-fixed .option-categories>:last-child:nth-child(odd){grid-column:auto}.options-fixed .option-section{margin:0}.options-fixed .size-choices{width:245px}.scroll-controls{display:none}}@media (width<=540px){#app{padding-block:2px}.workbar{grid-template-columns:auto minmax(0,1fr);row-gap:2px;padding-block:0}.sheet-area{height:calc(min(75vw - 12px, 30dvh) + var(--strip-space))}.feature-actions{grid-area:3/1/auto/-1;overflow-x:auto}.feature-actions button{flex:1 0 auto}.page-strip-scroller>button{display:none}.help{grid-template-columns:30px minmax(0,1fr) auto}.preferences{grid-column:2/-1;justify-content:flex-end}.workspace,.left-handed .workspace{grid-template-areas:"stage""tools""colors""options";row-gap:2px}.workspace>.color-row{background:var(--panel);border:1px solid var(--edge);border-radius:14px;grid-area:colors}.tools{grid-template-columns:minmax(0,1fr) auto;padding-block:2px;display:grid}.tool-deck{grid-area:2/1/auto/-1}.history-actions{grid-area:1/2}.file-actions{grid-area:1/1}}.choice-block+.choice-block{margin-top:8px}@media (orientation:portrait),(width<=800px){.options-scroll>.option-section:has(.choice-block){align-items:start;gap:8px;display:flex}.choice-block+.choice-block{margin:0}}@media (width>=801px) and (width<=1120px) and (orientation:landscape){.workbar{grid-template-columns:auto minmax(168px,.32fr) minmax(280px,2fr) minmax(0,max-content)}.brand{font-size:1.1rem}.brand .icon{width:28px;height:28px}.work-card .icon{width:21px;height:21px}.feature-actions{scrollbar-width:none;gap:4px;overflow-x:auto}.feature-actions>button{flex:none;padding-inline:4px;font-size:.7rem}.page-strip-scroller>button{display:none}.palette{gap:1px}}@media (width>=1450px) and (height>=850px){.help{--target:48px}}@media (width<=1120px){.option-categories button{padding-inline:4px}.option-categories{gap:3px}}@media (orientation:portrait) and (width>=700px){.workbar{grid-template-columns:auto minmax(168px,.45fr) minmax(276px,1fr) minmax(0,1.12fr)}.brand{font-size:1.1rem}.brand .icon{width:28px;height:28px}.page-strip-component{grid-area:auto}.page-strip-scroller>button{display:none}.feature-actions{scrollbar-width:none;gap:3px;padding:2px;overflow-x:auto}.feature-actions button{flex:none;padding-inline:3px;font-size:.69rem}.options-scroll:has(.stamp-panel){max-height:133px}.stamp-gallery .stamp-tile{min-height:56px}}@media (width>=1450px) and (height>=850px) and (orientation:landscape){#app{padding-block:6px}.footer .help{font-size:.8rem}}@media (orientation:portrait) and (width>=700px){.palette{scrollbar-width:none}.help .hint{font-size:.8rem}#app:not(.writing-visible) .workspace{gap:3px}}@media (width>=1121px) and (width<=1310px) and (orientation:landscape){.page-strip-scroller>button{display:none}}@media (width>=801px) and (orientation:landscape){#app{row-gap:2px;padding-block:2px}.workbar,.stage,.footer{padding-block:0}}@media (orientation:portrait) and (width>=700px){#app:not(.writing-visible) .footer{padding-block:0}#app:not(.writing-visible){row-gap:2px}#app:not(.writing-visible) .stage{padding-block:0}}.scroll-more{z-index:1;pointer-events:none;place-items:center end;display:grid;position:absolute}.scroll-more-x{width:46px}.scroll-more-y{place-items:end center;height:42px}.scroll-more-x.scroll-more-end{background:linear-gradient(90deg, transparent, var(--panel) 68%)}.scroll-more-x.scroll-more-start{background:linear-gradient(270deg, transparent, var(--panel) 68%);place-items:center start}.scroll-more-y.scroll-more-end{background:linear-gradient(180deg, transparent, var(--panel) 72%)}.scroll-more-y.scroll-more-start{background:linear-gradient(0deg, transparent, var(--panel) 72%);place-items:start center}.scroll-more:after{content:"";background:var(--button) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23352b23' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;width:26px;height:26px;box-shadow:0 0 0 1px var(--edge), 0 2px var(--lift);border-radius:50%;margin:2px}.scroll-more-x.scroll-more-start:after{transform:scaleX(-1)}.scroll-more-y.scroll-more-end:after{transform:rotate(90deg)}.scroll-more-y.scroll-more-start:after{transform:rotate(-90deg)}.writing-strip:not(.collapsed){flex:none;height:48px}@media (orientation:portrait) and (width>=700px){.brand{flex-direction:column;gap:0;font-size:.8rem}.brand .icon{width:26px;height:26px}.workbar{column-gap:6px;padding-inline:4px}.options{grid-template-columns:max-content minmax(0,1fr);align-items:center;column-gap:6px;padding:3px;display:grid}:is(.options-fixed,.options-fixed:has(.stamp-transforms)){grid-area:1/1;grid-template-columns:245px;grid-auto-columns:max-content;grid-auto-flow:row;align-items:center;gap:4px;padding:0;display:grid}.options-fixed>.option-section:not(.toggle-section){grid-area:1/1}.options-fixed>.toggle-section{grid-area:1/2}.options-fixed>.toggle-section:last-child{grid-row:1/span 2}.options-fixed>.toggle-section .option-toggle{min-height:100px}.options-fixed>.option-categories{scrollbar-width:none;grid-area:2/1;padding:0;overflow-x:auto}.options-fixed .option-categories{grid-auto-columns:minmax(max-content,1fr);grid-auto-flow:column;display:grid}.uppercase .options-fixed .option-categories button{letter-spacing:-.02em;font-size:.62rem}.options-fixed .stamp-categories-button{flex-direction:column;justify-content:center;gap:2px;font-size:.75rem}.options-fixed .stamp-categories-button .icon{width:22px;height:22px}.uppercase .options-fixed .stamp-actions .stamp-transform{letter-spacing:-.02em;font-size:.57rem}.options-fixed .option-categories button{flex-direction:column;gap:2px;padding:2px 3px;font-size:.7rem}.options-fixed .option-categories .icon{width:20px;height:20px}.options-fixed .toggle-section .option-toggle{flex-direction:column;gap:2px;padding-inline:6px;font-size:.72rem}.options-fixed .stamp-sizes{grid-area:1/1}.options-fixed .stamp-actions{grid-area:2/1}.options-fixed .stamp-angle{grid-area:1/2;width:120px}.options-fixed .stamp-library-header{grid-area:2/2;width:120px}.options-fixed:has(.stamp-transforms):not(:has(.stamp-actions)) .stamp-library-header{grid-area:2/1}.options-scroll{grid-area:1/2;max-height:none}.options:has(.options-fixed:empty) .options-scroll{grid-column:1/-1}.options-scroll:has(.stamp-panel){max-height:none;display:flex}.options-scroll .stamp-panel .choice-grid{grid-template:repeat(2,max-content)/none;grid-auto-columns:minmax(96px,max-content);grid-auto-flow:column;align-content:start}.options-scroll .stamp-panel{flex:none}.options-scroll .stamp-panel .button-label{white-space:nowrap}.options-scroll .stamp-gallery .stamp-tile{padding-block:3px}.sheet-area{height:calc(min(75vw - 20px, 55dvh) + var(--strip-space))}#app .workspace{gap:4px}.tools{padding:2px 3px}.tool-deck{padding:1px}.options-scroll{padding-block:1px}.options-scroll .choice{gap:3px;padding-block:2px}.simple-desk .tools .tool{min-height:58px}#app{padding-bottom:4px}}@media (orientation:portrait) and (width>=700px) and (height>=1150px){.sheet-area{height:calc(55dvh + var(--strip-space))}.options-scroll .choice-grid,.options-scroll .move-options .choice-grid{grid-template-rows:repeat(3,minmax(56px,auto))}.options-scroll .stamp-panel .choice-grid{grid-template-rows:repeat(3,max-content)}}.dialog-more{z-index:3;pointer-events:none;height:0;margin:0;position:sticky;bottom:-14px}.dialog-wide>.dialog-more{bottom:0}.dialog-more:before{content:"";background:linear-gradient(180deg, transparent, var(--panel) 72%);height:44px;position:absolute;inset:auto -14px 0}.dialog-more:after{content:"";background:var(--button) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23352b23' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;width:26px;height:26px;box-shadow:0 0 0 1px var(--edge), 0 -2px var(--lift);border-radius:50%;position:absolute;bottom:6px;left:calc(50% - 13px);transform:rotate(90deg)}.dialog.dialog-with-footer[open]{grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.dialog-scroll{min-height:0;padding:5px 5px 12px;overflow:auto}.dialog-footer{border-top:1px solid var(--edge);padding:10px 0 14px}.dialog-notices:empty,.dialog-action-notice:empty{display:none}.class-presentation>.dialog-notices{z-index:3;position:absolute;inset:auto 16px 76px}.help-hello:has(.dialog-action-notice:not(:empty)){flex-wrap:wrap}.help-hello .dialog-action-notice{flex-basis:100%}.preview-dark{background:#514236;border-radius:6px}.spacing-section .choice-grid{grid-template-columns:repeat(3,minmax(48px,1fr))}.spacing-section .choice{min-height:48px;font-size:.72rem}.spacing-section .icon{width:22px;height:22px}@media (orientation:portrait){.options-scroll .spacing-section .choice-grid{grid-template:repeat(2,minmax(56px,auto))/none}}.dialog.print-work-dialog{width:min(96vw,880px);max-height:95dvh}.print-work-screen{gap:10px;display:grid}.print-work-options,.print-work-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.print-work-options{justify-content:space-between}.print-work-loading{margin:0}.print-work-preview{border:1px solid var(--edge);background:#eaddca;border-radius:10px;height:min(63dvh,520px);padding:10px;overflow:auto}.print-work-sheet{color:#222;overflow-wrap:normal;background:#fff;flex-direction:column;margin:0 auto;padding:4%;display:flex}.print-work-preview .print-work-sheet{width:min(100%,42dvh);min-height:min(58dvh,72vw);font-size:.82rem;box-shadow:0 2px 6px #352b2330;container-type:inline-size}.print-work-preview[data-orientation=landscape] .print-work-sheet{width:min(100%,76dvh);min-height:min(54dvh,60vw)}.print-work-preview .print-work-sheet+.print-work-sheet{margin-block-start:12px}.print-work-sheet img{object-fit:contain;width:100%;max-height:42dvh;display:block}.print-work-preview[data-orientation=landscape] .print-work-sheet img{max-height:min(34dvh,45vw)}.print-work-credit{font-size:.82rem}.print-work-copy{white-space:pre-wrap;margin:8px 0}.print-work-cover .book-cover-details{text-align:center;padding:0 0 9px;overflow:visible}.print-work-cover .book-cover-details h1{font-size:8cqw}.print-work-cover .book-cover-details .book-author{font-size:4.5cqw}.print-work-sheet.print-work-cover{justify-content:center}@page garatuja-portrait{size:A4 portrait;margin:13mm}@page garatuja-landscape{size:A4 landscape;margin:13mm}@media print{.print-work-portrait{page:garatuja-portrait}.print-work-landscape{page:garatuja-landscape}.print-work .print-work-sheet{padding:0;display:block}.print-work .print-work-cover{place-items:center;min-height:270mm;display:grid}.print-work .print-work-cover h1{font-size:36pt}.print-work .print-work-cover .book-author{font-size:20pt}.print-work-landscape .print-work-cover{min-height:183mm}.print-work .print-work-sheet+.print-work-sheet{break-before:page}.print-work .print-work-sheet img{break-inside:avoid;max-height:142mm}.print-work-landscape .print-work-sheet img{max-height:104mm}.print-work .print-work-copy{font-size:var(--print-text-size,13pt);orphans:2;widows:2;margin:5mm 0 2mm;line-height:1.3}}.page-strip-component,.page-strip-scroller,.page-strip-controls,.page-strip{align-items:center;gap:5px;min-width:0;display:flex}.page-strip-scroller{flex:1;position:relative;overflow:hidden}.page-strip-scroller>button,.page-strip-controls>button{flex-direction:column;flex:none;padding:3px 5px;font-size:.75rem}.page-strip-scroller>button{width:var(--target);padding-inline:2px;font-size:.69rem}.page-strip-scroller>button:disabled{opacity:.54}.page-strip-component .icon{width:26px;height:26px}.page-strip{scrollbar-width:none;flex:1;padding:3px;position:relative;overflow-x:auto}.page-strip .page{flex:none;gap:4px;min-width:72px;padding:2px 3px;position:relative}.page-strip .page img{border:1px solid var(--edge);object-fit:cover;pointer-events:none;border-radius:3px;width:64px;height:48px}.page-strip .page[data-drop]{outline:3px dashed var(--focus);outline-offset:-2px}.page-ghost-tags{pointer-events:none;justify-content:space-between;align-items:start;gap:8px;padding:7px;display:flex;position:absolute;inset:0}.page-ghost-tags span{color:#332b25;background:#fffdf8;border:2px solid #45637a;border-radius:8px;padding:3px 9px;font-size:.8rem;font-weight:700}.page-ghost-next{margin-left:auto;border-style:dashed!important;border-color:#684aad!important}.page-arrangement{background:var(--panel);width:min(330px,100vw - 16px);color:var(--ink);border:1px solid var(--edge);border-radius:13px;margin:0;padding:8px;position:fixed;inset:auto;box-shadow:0 4px 14px #352b2330}.page-arrangement-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.page-strip .page .button-label{background:var(--panel);border:1px solid var(--edge);border-radius:4px;padding:2px 4px;font-size:.7rem;position:absolute;inset:auto 4px 4px auto}.page-text-mark{inset-inline-start:2px;background:var(--button);border-radius:4px;position:absolute;top:2px}.page-text-mark .icon{width:16px;height:16px}@media (orientation:portrait),(width<=540px),(width>=801px) and (width<=1120px) and (orientation:landscape){.page-strip-controls{gap:3px}.page-strip-controls>button{letter-spacing:-.015em;width:62px;padding-inline:1px;font-size:.65rem}.uppercase .page-strip-controls>button{font-size:.58rem}.page-strip-controls .icon{width:22px;height:22px}}@media (width>=1311px) and (orientation:landscape){.page-strip-scroller>.scroll-more{display:none}}.color-mixer{gap:8px;display:grid}.mix-group h3{margin:0 0 4px;font-size:.95rem}.mix-row{flex-wrap:wrap;gap:4px;display:flex}.mix-swatch{flex:1 0 48px;min-height:48px;padding:4px;position:relative}.mix-swatch .button-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.mix-chip{border-radius:9px;width:100%;min-width:34px;height:34px;display:block}.mix-chip,.mix-puddle-sample{background:var(--mix-color);border:1px solid var(--edge)}.mix-swatch[aria-pressed=true] .mix-chip{border-width:3px;border-radius:50%}.mix-amount{background:var(--panel);border-radius:6px;min-width:1.2em;position:absolute;inset:auto 1px 0 auto}.mix-amount:empty{display:none}.mix-puddle{justify-items:center;gap:3px;padding:5px;font-weight:700;display:grid}.mix-puddle-sample{border-radius:59% 41% 60% 40%/55% 62% 38% 45%;width:min(210px,85%);height:64px}
