:root{--ink:#282a28;--muted:#898980;--cream:#f6f3ea;--red:#e84d42;--line:#deded4}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:ui-rounded,'Trebuchet MS',Arial,sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{opacity:.32;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #2876a8;outline-offset:3px}button{border:0;background:none}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}header{height:99px;padding:20px 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#faf8f1}.brand{display:flex;text-align:left;align-items:center;padding:0;gap:22px}.brand-type{font-size:21px;line-height:.9;font-weight:1000;letter-spacing:-1.1px;transform:rotate(-3deg)}.brand-type em{font-size:11px;letter-spacing:-1px}.red-dot{color:var(--red)}.brand-divider{height:38px;width:1px;background:var(--line)}.studio-name{font-size:24px;font-weight:900;letter-spacing:-1px}.studio-name span{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;font-weight:600}.top-actions{display:flex;align-items:center;gap:20px}.save-state{font-size:11px;color:#777c6f}.quiet,.primary{min-height:46px;display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:11px;padding:10px 15px;font-weight:700}.quiet{background:#eeeee5}.primary{background:var(--ink);color:#fff}.primary:hover{background:#444843}main{display:grid;grid-template-columns:142px minmax(0,1fr) 245px;min-height:calc(100dvh - 99px)}.tools{padding:28px 15px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column}.eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#898a80}.tools>.eyebrow{text-align:center;font-size:8px}.tool-list{display:grid;gap:8px;margin-top:20px}.tool{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 10px;border-radius:14px;min-height:76px;border:1px solid transparent}.tool svg{width:28px;height:28px}.tool span{font-size:12px;font-weight:700}.tool:hover{background:#eeeee4}.tool.selected{background:#fff;border-color:var(--ink);box-shadow:3px 3px 0 #deded1}.size-control{padding:23px 6px 0}.size-control label{font-size:11px}.size-control b{font-weight:700}input[type=range]{accent-color:var(--ink);width:100%;cursor:pointer;min-height:27px}.size-dots{display:flex;justify-content:space-between;align-items:center;padding:0 5px}.size-dots i{background:#777e70;width:3px;height:3px;border-radius:50%}.size-dots i:nth-child(2){width:7px;height:7px}.size-dots i:nth-child(3){width:12px;height:12px}.tool-divider{height:1px;background:var(--line);margin:23px 5px}.photo-tool{display:flex;align-items:center;flex-direction:column;gap:10px;font-size:11px;font-weight:700;padding:10px 0}.photo-tool small{font-size:9px;color:#878a80;font-weight:400}.photo-tool svg{color:#696e5c}.left-bottom{margin-top:auto;padding-top:30px}.pencil-only{font-size:10px;display:block}.pencil-only input{accent-color:var(--ink)}.pencil-only small{display:block;font-size:8px;margin:4px 0 10px 5px;color:var(--muted)}.help{display:flex;align-items:center;gap:8px;padding:14px 5px 0;font-size:20px}.help span{font-size:10px}.workspace{padding:29px 32px 22px;display:flex;flex-direction:column;min-width:0;background-image:radial-gradient(#d5d8ce 0.7px,transparent .7px);background-size:13px 13px}.art-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.art-header input{display:block;background:none;border:0;font-size:22px;font-weight:800;letter-spacing:-.6px;margin:6px 0 0;padding:0;width:230px;max-width:100%;color:var(--ink)}.undo-actions{display:flex;gap:5px;align-items:center}.icon-btn{display:grid;place-items:center;width:43px;height:44px;border-radius:10px}.icon-btn:hover{background:#e7e8de}.flipped{transform:scaleX(-1)}.new{margin-left:12px;font-size:12px;background:#fff8;min-height:40px;padding:8px 12px}.canvas-space{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}.paper{position:relative;width:100%;max-width:1100px;aspect-ratio:4/3;background:white;box-shadow:0 4px 20px #484d3410,0 0 0 1px #dbdbd2;isolation:isolate}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.canvas-welcome{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.canvas-welcome h1{font-size:clamp(18px,2.4vw,31px);letter-spacing:-1px;margin:18px 0 5px;transform:rotate(-2deg)}.canvas-welcome p{font-size:17px;margin:5px 0 17px;color:#858b7a}.canvas-welcome>span{font-size:11px;color:#989d91}.doodle{position:relative;width:120px;height:100px;transform:rotate(-9deg)}.paper-face{position:absolute;font:55px Georgia;width:71px;height:82px;background:#fffdf4;border:2px solid #303b2f;border-radius:4px;box-shadow:4px 5px 0 #efeee6;display:flex;align-items:center;justify-content:center;padding-top:7px;transform:rotate(-7deg)}.paper-face:before{content:'•  •';font:bold 21px Arial;position:absolute;top:18px;left:19px}.doodle-crayon{position:absolute;width:22px;height:78px;background:#ed6557;border:2px solid #333a30;right:15px;bottom:2px;transform:rotate(30deg);border-radius:2px}.doodle-crayon:before{content:'';position:absolute;top:-22px;left:-2px;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:20px solid #303b2f}.doodle-crayon:after{content:'〰';position:absolute;top:15px;left:0;color:#fff8;font-size:22px}.spark{position:absolute;right:-17px;top:-20px;font-size:29px;color:#e9b443}.canvas-footer{display:flex;justify-content:space-between;font-size:9px;color:#898e80;padding:16px 0 23px;gap:10px}.status-dot{display:inline-block;width:5px;height:5px;background:#899477;border-radius:50%;margin-right:5px}.palette-bar{display:flex;align-items:center;justify-content:center;gap:17px;padding:17px 20px;background:#fffdf8;border:1px solid #deded4;border-radius:15px;box-shadow:0 3px 0 #e7e7dc}.palette-bar>.eyebrow{font-size:7px;line-height:1.7;letter-spacing:1px}.colours{display:flex;align-items:center;gap:10px}.swatch{width:30px;height:30px;border-radius:50%;border:1px solid #0001;position:relative;padding:0}.swatch.active:after{content:'';position:absolute;inset:-5px;border:1.8px solid var(--ink);border-radius:50%}.swatch.active:before{content:'✓';color:white;text-shadow:0 1px 3px #333;font-size:16px}.custom-colour{width:30px;height:30px;border-radius:50%;background:conic-gradient(#f15c47,#edce50,#96bf85,#74b6d0,#b29ac6,#f15c47);position:relative;overflow:hidden;cursor:pointer;margin-left:4px;border:3px solid #fff;box-shadow:0 0 0 1px #d4d6cc}.custom-colour input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.custom-colour span{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;pointer-events:none;color:#fff}.layer-panel{background:#faf8f1;border-left:1px solid var(--line);padding:29px 20px 20px;display:flex;flex-direction:column}.layer-heading{display:flex;justify-content:space-between;align-items:center}.layer-heading h2{font-size:15px;margin:0;display:flex;align-items:center;gap:9px;letter-spacing:-.4px}.layer-heading svg{width:20px}.layer-heading>span{font-size:10px;color:var(--muted)}.layer-intro{font-size:10px;color:#898e80;margin:11px 0 24px}.add-layer{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:800;border:1px dashed #b5b9aa;border-radius:9px;padding:11px;width:100%;margin-bottom:14px;background:#f1f2e9}.add-layer svg{width:18px;height:18px}.layer-card{border:1px solid #e0e2d6;border-radius:10px;margin-bottom:9px;padding:10px;background:#fff;position:relative}.layer-card.active{border-color:#5c6952;box-shadow:2px 2px 0 #dce1d1}.layer-main{display:flex;align-items:center;gap:9px}.layer-select{display:flex;gap:10px;align-items:center;text-align:left;padding:0;flex:1;min-width:0}.layer-thumb{width:35px;height:35px;border:1px solid #ddd;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0/9px 9px;object-fit:contain;border-radius:4px}.layer-name{font-size:11px;font-weight:700}.small-icon{padding:4px;display:grid;place-items:center;min-width:28px;min-height:30px}.small-icon svg{width:16px;height:16px}.layer-card .hidden-layer{opacity:.35}.layer-settings{border-top:1px solid #eceee5;margin-top:10px;padding-top:9px}.layer-settings label{font-size:9px;color:#7a8271;display:block}.layer-settings input{height:20px;min-height:20px}.layer-order{display:flex;align-items:center;justify-content:space-between;font-size:10px}.layer-order button{min-width:30px;min-height:30px;background:#f2f3eb;border-radius:5px}.paper-base{display:flex;align-items:center;gap:10px;padding:14px 7px;font-size:11px;border-top:1px solid var(--line);margin-top:12px}.paper-base>span{font-size:28px;color:#aaa}.paper-base small{margin-left:auto;color:#a1a592;font-size:9px}.layer-tip{display:flex;gap:10px;border-radius:12px;background:#edf0e3;padding:13px 12px;margin-top:22px}.layer-tip>span{font-size:27px;color:#70815b}.layer-tip p{font-size:10px;line-height:1.8;margin:0;color:#7e8871}.layer-tip b{color:#46543b}.small-note{margin-top:auto;padding-top:26px;line-height:1.8;font-size:9px;color:#9a9e91}.photo-panel{border:1px solid #d7dfcb;background:#f0f3e9;border-radius:10px;padding:11px;margin-top:10px}.photo-panel[hidden]{display:none}.photo-title{display:flex;justify-content:space-between;align-items:center;font-size:11px}.photo-panel label{display:block;font-size:10px;margin-top:10px}.photo-panel label span{float:right}.photo-panel .full{width:100%;font-size:10px;min-height:34px;padding:4px;background:#e2e7d6}.full.moving{background:var(--ink);color:white}dialog{border:1px solid #cccfc1;border-radius:20px;padding:30px;color:var(--ink);background:#faf8f1;max-width:650px;width:calc(100% - 40px);max-height:85dvh;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#252a2499;backdrop-filter:blur(4px)}dialog h2{font-size:26px;letter-spacing:-1px;margin:0 0 12px}dialog p{line-height:1.7;color:#737b68;font-size:14px}dialog .dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}dialog input[type=text]{padding:12px;border:1px solid #b3bca6;border-radius:7px;width:100%}.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;max-height:55dvh;overflow:auto}.gallery-item{background:white;padding:9px;border:1px solid #ddd;border-radius:10px}.gallery-item img{width:100%;aspect-ratio:4/3;object-fit:contain;border:1px solid #eee}.gallery-item .gallery-title{font-size:12px;font-weight:bold;display:block;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.gallery-item>div{display:flex;justify-content:space-between;align-items:center}.gallery-item button{min-height:35px}.export-preview{width:100%;max-height:240px;object-fit:contain;background:white;border:1px solid #deded4}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;border-radius:10px;padding:13px 22px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:99;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.help-steps{display:grid;gap:10px}.help-steps>div{padding:12px;background:#ecefe3;border-radius:10px;line-height:1.5}.help-steps b{display:block;margin-bottom:3px}.mobile-layer-toggle{display:none}
@media(min-width:1500px){.workspace{padding-left:65px;padding-right:65px}}@media(max-width:1100px){header{padding:17px 20px}.top-actions{gap:10px}.save-state{display:none}main{grid-template-columns:105px minmax(0,1fr) 205px}.tools{padding:25px 10px 15px}.workspace{padding:25px 20px 18px}.layer-panel{padding:28px 13px 18px}.palette-bar{gap:14px;padding:17px 14px}.palette-bar>.eyebrow{display:none}.swatch{width:27px;height:27px}.colours{gap:11px}.art-header input{width:180px;font-size:20px}.new{margin-left:2px}.brand{gap:15px}.layer-heading h2{font-size:13px}}@media(max-width:800px){header{height:83px;padding:15px}.brand-type{font-size:17px}.studio-name{font-size:19px}.studio-name span{font-size:6px;letter-spacing:1px}.brand-divider{display:none}.top-actions .quiet span{display:none}.top-actions .quiet{padding:10px}.top-actions .primary{font-size:11px;padding:9px}.top-actions svg{width:19px}main{min-height:calc(100dvh - 83px);grid-template-columns:83px minmax(0,1fr) 175px}.workspace{padding:22px 14px 15px}.tools{padding:22px 6px 15px}.tools>.eyebrow{font-size:6px;letter-spacing:.6px}.tool{padding:12px 6px;min-height:67px}.tool svg{width:24px;height:24px}.tool span{font-size:10px}.layer-panel{padding:24px 10px}.layer-heading svg{display:none}.layer-heading h2{font-size:12px}.layer-intro{font-size:8px}.layer-tip{padding:10px 7px;gap:5px}.layer-tip p{font-size:9px}.canvas-footer{font-size:7px}.desktop-only{display:none}.art-header{flex-wrap:wrap;gap:14px}.undo-actions{margin-left:auto}.art-header input{font-size:19px;width:160px}.eyebrow{font-size:7px}.swatch{width:23px;height:23px}.colours{gap:9px;flex-wrap:wrap;justify-content:center}.palette-bar{gap:8px;padding:15px 10px}.custom-colour{width:25px;height:25px;flex-shrink:0}.canvas-welcome p{font-size:12px}.canvas-welcome>span{font-size:8px}.doodle{transform:scale(.75) rotate(-9deg);margin-bottom:-10px}.layer-card{padding:8px}.layer-thumb{width:26px;height:26px}.layer-name{font-size:10px}.layer-select{gap:6px}.pencil-only{font-size:9px}.pencil-only small{font-size:7px}.photo-tool small{font-size:7px}.help span{font-size:9px}}
@media(max-width:600px){header .studio-name span{display:none}.brand{gap:9px}.studio-name{font-size:16px}.top-actions{gap:5px}.top-actions .primary span{display:none}.top-actions .primary{padding:10px}.top-actions .quiet{background:none}.brand-type{font-size:15px}.tools{grid-column:1/-1;flex-direction:row;border-right:0;border-bottom:1px solid var(--line);padding:8px 10px;align-items:center;gap:10px}.tools>.eyebrow,.tool-divider,.size-dots,.left-bottom,.photo-tool small{display:none}.tool-list{display:flex;margin:0;gap:3px}.tool{padding:7px 8px;gap:4px;min-height:51px;border-radius:9px}.tool svg{width:21px;height:21px}.tool span{font-size:9px}.size-control{padding:0 5px;flex:1;max-width:150px}.size-control label{font-size:9px}.photo-tool{margin-left:auto;font-size:9px;gap:4px}.photo-tool svg{height:21px}.workspace{grid-column:1/-1;padding:17px 16px 20px;min-height:450px}.layer-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:20px}.layer-panel .layer-tip,.small-note{display:none}.layer-heading svg{display:block}.layer-heading h2{font-size:15px}.layer-intro{font-size:11px;margin:8px 0 16px}.layer-thumb{width:35px;height:35px}.layer-name{font-size:13px}.layer-settings label{font-size:12px}.layer-order button{min-height:38px;min-width:42px}.layer-panel .small-icon{min-width:38px;min-height:38px}.layer-settings input{min-height:35px}.layer-card{padding:12px}.canvas-footer{font-size:8px}.palette-bar{margin-top:0;gap:12px}.colours{gap:11px}.swatch{width:25px;height:25px}.art-header{margin-bottom:18px}.art-header input{font-size:21px}.canvas-welcome>span{font-size:9px}.canvas-welcome h1{font-size:23px}.doodle{transform:scale(.8) rotate(-9deg)}main{display:grid;grid-template-columns:1fr}.new{padding:6px 8px}.icon-btn{width:35px}.photo-panel label{font-size:12px}.photo-panel .full{font-size:12px}.photo-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(min-width:601px){.paper{width:min(100%,calc((100dvh - 330px)*1.333333));min-width:250px}.workspace{height:calc(100dvh - 99px);min-height:500px}.canvas-space{min-height:190px}.layer-panel{max-height:calc(100dvh - 99px);overflow:auto}.tools{max-height:calc(100dvh - 99px);overflow:auto}.layer-tip{margin-top:16px}.small-note{padding-top:18px}}
@media(min-width:601px) and (max-width:800px){.workspace{height:calc(100dvh - 83px)}.layer-panel,.tools{max-height:calc(100dvh - 83px)}}
/* Generous touch targets for little hands and iPad use. */
.swatch{width:44px;height:44px;flex-shrink:0}.colours{gap:9px;flex-wrap:wrap;justify-content:center}.custom-colour{width:44px;height:44px;flex-shrink:0}.small-icon{min-width:44px;min-height:44px}.layer-main{gap:4px}.layer-order button{min-width:40px;min-height:40px}.layer-settings input,.photo-panel input{min-height:35px}.palette-bar{padding:13px 17px}.layer-card{padding:8px}.layer-select{min-height:44px}.layer-main .small-icon{min-width:35px}.layer-order .small-icon{min-width:40px}.photo-panel .quiet{min-height:44px}
@media(min-width:601px) and (max-width:900px) and (orientation:portrait){main{grid-template-columns:100px minmax(0,1fr)}.layer-panel{grid-column:1/-1;max-height:none;border-left:0;border-top:1px solid var(--line);padding:22px 30px}.workspace{height:calc(100dvh - 99px)}.layer-panel .layer-tip,.layer-panel .small-note{display:none}.layer-panel .layer-intro{font-size:12px}.layer-heading h2{font-size:16px}.layer-heading svg{display:block}.layer-name{font-size:14px}.layer-thumb{width:40px;height:40px}.layer-panel .layer-settings label{font-size:12px}.layer-panel .small-icon{min-width:44px}.layer-panel .photo-panel label{font-size:12px}.tools{max-height:calc(100dvh - 99px)}}
@media(max-width:1100px){.palette-bar{gap:12px}.colours{gap:8px}}@media(max-width:600px){.palette-bar{padding:13px 12px}.colours{gap:8px}.swatch,.custom-colour{width:40px;height:40px}.canvas-footer{padding-bottom:17px}.photo-title{font-size:13px}}
.brand-logo{display:block;width:86px;height:67px;object-fit:contain;flex-shrink:0}
@media(max-width:800px){.brand-logo{width:65px;height:53px}}
@media(max-width:600px){.brand-logo{width:58px;height:48px}}
/* Blend the logo's white backing into the cream header without changing the artwork. */
.brand-logo{mix-blend-mode:multiply}
/* Keep Safari selection and touch-callout gestures away from the drawing surface. */
#paper,#drawing,.tools,.palette-bar,.layer-panel{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#drawing{touch-action:none;overscroll-behavior:contain}
/* Simple tools, and a little book that grows one page at a time. */
.fill-options{display:block;font-size:9px;line-height:1.5;margin:13px 4px 0;color:#737b68}.fill-options input{accent-color:var(--ink);vertical-align:middle}.book-mode-button{font-size:11px;min-height:44px;background:#e8eedb;padding:8px 13px}.art-header .undo-actions{flex-wrap:wrap;justify-content:flex-end}.book-bar{display:flex;align-items:center;gap:7px;background:#fffdf7;border:1px solid #dce1d1;border-radius:12px;padding:7px 10px;margin-bottom:16px}.book-bar[hidden],.caption-box[hidden]{display:none}.page-buttons{display:flex;gap:8px}.page-buttons button{min-width:44px;min-height:44px;border:1px solid #c5cdbc;border-radius:8px;background:#f4f6ed;font-weight:800;font-size:13px}.page-buttons .current-page{background:var(--ink);color:white;border-color:var(--ink)}.book-bar>span{font-size:10px;color:#77836b;margin-left:auto}.caption-box{display:block;font-size:11px;font-weight:700;margin:0 0 13px}.caption-box>span{font-weight:400;color:#8a917f}.caption-box textarea{display:block;resize:vertical;width:100%;min-height:54px;max-height:100px;margin-top:7px;padding:10px 12px;border:1px solid #ccd3c1;background:#fffdf9;border-radius:9px;color:var(--ink);font:14px/1.5 'Trebuchet MS',sans-serif;user-select:text;-webkit-user-select:text}.book-mode .canvas-footer{padding:9px 0 12px}.book-reading{display:block;width:100%;max-height:54dvh;object-fit:contain;background:white;border:1px solid #e0e2d8}.reader-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.reader-controls b{font-size:12px;color:#7c8671}.new-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.new-choice{display:flex;flex-direction:column;gap:9px;text-align:left;border:1.5px solid #a5b195;border-radius:12px;padding:24px 18px;min-height:120px;background:#edf2e4}.new-choice b{font-size:21px}.new-choice span{font-size:12px;color:#77826b}.new-choice:hover{background:#e1eacb}
@media(min-width:601px){.tool-list{gap:5px;margin-top:15px}.tool{padding:11px 7px;min-height:66px}.size-control{padding-top:15px}.tool-divider{margin-top:17px;margin-bottom:14px}.workspace.book-mode .paper{width:min(100%,calc((100dvh - 505px)*1.333333));min-width:230px}.workspace.book-mode .canvas-space{min-height:172px}}
@media(min-width:601px) and (max-width:1000px){.art-header input{width:155px}.book-mode-button{font-size:10px;padding:8px}.undo-actions{gap:1px}.new{margin-left:0}.book-bar{padding:6px;gap:2px}.page-buttons{gap:5px}.book-bar>span{display:none}}
@media(max-width:600px){.tools{flex-wrap:wrap;gap:7px}.tool-list{gap:2px}.tool{padding:7px;min-width:44px}.fill-options{margin:0 3px 0 auto;font-size:9px}.tools .size-control{order:3;width:60%;max-width:none;flex:1}.photo-tool{order:4;margin-left:0;flex-direction:row;gap:6px;padding:5px 8px}.tool-list{flex:1}.art-header{gap:10px}.art-header input{width:165px}.art-header .undo-actions{gap:2px}.art-header{align-items:flex-start}.book-mode-button{font-size:10px}.book-bar{gap:3px}.book-bar>span{font-size:9px}.page-buttons{gap:6px}.page-buttons button{min-width:43px}.book-bar .icon-btn{width:34px}.caption-box{margin-top:0}.caption-box textarea{font-size:16px}.workspace.book-mode{min-height:600px}.new-choices{grid-template-columns:1fr}.new-choice{min-height:92px;padding:18px}}


.fill-options{display:none}.tools:has([data-tool="fill"].selected) .fill-options{display:block}

/* Separate the question and answer on Safari; allow room for its keyboard. */
#modal{overflow-y:auto;overscroll-behavior:contain;max-height:85dvh;max-height:85svh;scroll-padding:24px}
#modal .grown-up-question{display:block;line-height:1.6;margin:22px 0 14px;padding:0;white-space:normal;font-size:18px;font-weight:700}
#modal #answer{display:block;position:static;margin:0 0 16px;padding:16px;min-height:56px;height:auto;line-height:1.5;font-size:18px;box-sizing:border-box}
#modal #gateError:empty{display:none}
@media(max-width:1024px){#modal{padding:28px 24px}#modal .dialog-actions{margin-top:20px;padding-bottom:8px}}

.shape-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:10px 12px;background:#faf8f1;border:1px solid var(--line);border-radius:13px}.shape-tools>span{font-size:9px;font-weight:800;letter-spacing:1px;margin-right:3px}.shape-tool{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:9px;font-size:11px;font-weight:700}.shape-tool:hover{background:#eeeee4}.shape-tool.selected{background:#ffdc40;border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}.shape-tools small{font-size:10px;color:#737b68;margin-left:auto}@media(max-width:600px){.shape-tools{gap:4px;padding:7px;margin-bottom:12px}.shape-tools>span,.shape-tools small{display:none}.shape-tool{flex:1;padding:7px 4px;font-size:10px;flex-direction:column;gap:3px}.shape-tool svg{width:21px;height:21px}}
