/* Original creative workshop. No fonts, images, embeds or remote dependencies. */
.creative-section{margin-top:52px;padding-top:48px;border-top:1px solid #dedbca}.creative-section h2{font-size:clamp(32px,4vw,46px);max-width:690px;letter-spacing:-1.1px}.creative-intro{font-size:15px;line-height:1.8;max-width:720px;margin:20px 0 28px}.creative-teaser{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;align-items:center;background:#e9eee2;border:1px solid #d7dfce;border-radius:22px;padding:36px}.creative-teaser h3{font-size:30px}.creative-teaser p{font-size:13px;line-height:1.8;margin:18px 0 24px}.creative-sample{height:235px;border:7px solid #fffdf3;outline:1px solid #d8d7be;border-radius:3px;background:radial-gradient(circle at 35% 25%,#fff,transparent 40%),#dce9ec;display:flex;justify-content:center;align-items:center;gap:15px;box-shadow:0 15px 25px #17443a17;transform:rotate(-3deg)}.creative-sample svg{width:70px;height:70px;fill:none;stroke:#2b6250;stroke-width:1.1;stroke-linejoin:round}.creative-sample svg:nth-child(2){width:50px;stroke:#b4863d;align-self:start;margin-top:40px}.creative-sample svg:nth-child(3){stroke:#b44751;width:55px;align-self:end;margin-bottom:40px}.creative-craft-title{font-size:29px;margin-top:48px}.creative-crafts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.creative-craft{background:#fffdf7;border:1px solid #e2dece;border-radius:16px;align-self:start;overflow:hidden}.creative-craft summary{display:flex;gap:16px;align-items:center;cursor:pointer;list-style:none;padding:24px}.creative-craft summary::-webkit-details-marker{display:none}.creative-craft summary:after{content:'+';font-size:24px;margin-left:auto;color:#9d383a}.creative-craft[open] summary:after{content:'−'}.creative-craft strong{font:24px/1.2 Georgia;display:block}.creative-craft small{display:block;font-size:12px;color:#687567;margin-top:9px}.creative-craft-number{font:italic 25px Georgia;color:#ad8a52}.creative-craft ol{padding:0 28px 24px 48px;margin:0;color:#506456;font-size:14px;line-height:1.8}.creative-craft li+li{margin-top:12px}
.creative-home{display:flex;align-items:center;gap:24px;border:1px solid #dce1cf;background:#eef1e6;border-radius:18px;padding:28px;margin-top:20px}.creative-home>svg{width:52px;height:52px;fill:none;stroke:#a35a41;stroke-width:1.2;flex-shrink:0}.creative-home>div{flex:1}.creative-home h3{font-size:26px;line-height:1.2}.creative-home p{font-size:13px;line-height:1.7;margin-top:8px;max-width:600px}.creative-home .button{max-width:250px;flex-shrink:0;white-space:normal}
.creative-quick{display:flex;justify-content:center;padding:12px 0 14px;border-top:1px solid #e7e1d2}.creative-quick .button{min-height:44px;gap:10px;font-size:13px;padding:10px 22px}.creative-quick svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}@media print{.creative-quick{display:none!important}}
/* Full card editor: the canvas stays visible while the tool panel scrolls. */
.card-editor{width:min(1400px,calc(100vw - 24px));max-width:1400px;height:min(960px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #d8d6c4;border-radius:20px;background:#fffaf1;color:#214f43;overflow:hidden}.card-editor[open]{display:flex;flex-direction:column}.card-editor::backdrop{background:#122e3bd9;backdrop-filter:blur(5px)}.card-editor .creative-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-shrink:0}.card-editor h2{font-size:clamp(25px,3vw,36px);letter-spacing:-.7px}.card-editor .creative-hint{font:13px/1.6 system-ui;margin:12px 0 16px;max-width:1000px}.card-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;flex:1;min-height:0}.card-sidebar{overflow:auto;min-width:0;overscroll-behavior:contain;scrollbar-gutter:stable;background:#f0f0e4;border:1px solid #dedfce;border-radius:14px;padding:12px}.card-panel-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;position:sticky;top:-12px;padding:8px 0;background:#f0f0e4;z-index:2}.card-panel-tabs button{font:11px/1.3 system-ui;padding:10px 3px;min-height:44px;border:1px solid #d2d9c8;border-radius:7px;background:#fffdf6;color:#315647;overflow-wrap:anywhere}.card-panel-tabs button[aria-selected=true]{background:#245b4b;color:white;border-color:#245b4b}.card-panel[hidden]{display:none!important}.card-panel h3,.card-colours h3,.card-inspector h3{font:21px/1.2 Georgia;margin:18px 0 12px}.card-editor label{display:block;font:600 12px/1.5 system-ui;margin:15px 0 7px}.card-editor select,.card-editor textarea{width:100%;border:1px solid #bdcbb7;background:#fffdf7;color:#214f43;border-radius:7px;font:14px/1.5 system-ui;padding:10px;min-width:0}.card-editor textarea{resize:vertical;min-height:95px}.card-editor input[type=range]{width:100%;height:32px;accent-color:#245b4b}.card-editor input[type=color]{width:100%;height:44px;border:1px solid #b5c4ad;background:#fffdf7;border-radius:7px;padding:4px}.card-small{font:12px/1.7 system-ui;color:#586e5e;margin:10px 0}.card-checkbox{display:flex!important;align-items:center;gap:10px;min-height:44px}.card-checkbox input{width:20px;height:20px;accent-color:#245b4b}.card-templates,.card-paper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card-templates button,.card-paper-grid button{min-width:0;padding:4px;border:1px solid #cbd4bd;border-radius:8px;background:#fffdf6;color:#315647;text-align:left}.card-templates canvas,.card-paper-grid canvas{display:block;width:100%;height:auto;border-radius:5px}.card-templates span,.card-paper-grid span{display:block;font:11px/1.4 system-ui;padding:7px 4px;overflow-wrap:anywhere}.card-paper-grid button[aria-pressed=true]{outline:2px solid #2b6350;outline-offset:1px}.card-stickers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.card-stickers button{touch-action:none;min-width:0;min-height:76px;border:1px solid #cbd4bd;border-radius:9px;background:#fffdf7;color:#396751;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px 3px;cursor:grab}.card-stickers button:active{cursor:grabbing}.card-stickers svg{pointer-events:none;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}.card-stickers span{pointer-events:none;font:10px/1.35 system-ui;text-align:center;overflow-wrap:anywhere}.card-colours,.card-inspector{border-top:1px solid #d4dcc8;margin-top:20px;padding-top:2px}.card-colours .creative-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.creative-palette button{min-height:44px;border:1px solid #8d9f89;border-radius:7px;background:var(--ink-colour)}.creative-palette button[aria-pressed=true]{box-shadow:inset 0 0 0 3px #fff8e8;outline:2px solid #245b4b;outline-offset:1px}.card-object-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.card-object-actions .button{font-size:11px;padding:8px;min-height:44px}.card-inspector output{font:12px system-ui;color:#61725e}.card-drawing{display:flex;flex-direction:column;align-items:center;min-width:0;min-height:0;gap:10px}.card-toolbar{display:flex;flex-wrap:wrap;gap:7px;align-self:stretch;justify-content:center;flex-shrink:0}.card-toolbar .button{font-size:12px;min-height:44px;padding:8px 13px}.card-toolbar .button[aria-pressed=true]{background:#245b4b;border-color:#245b4b;color:#fff}.card-board{position:relative;max-width:100%;flex-shrink:0;box-shadow:0 12px 30px #153f3520;border-radius:6px;background:#eef5f8}.card-board canvas{display:block;width:100%;height:auto;aspect-ratio:3/2;touch-action:none;border-radius:6px}.card-board .card-selection{position:absolute;inset:0;pointer-events:none}.card-board canvas[data-tool=select]{cursor:grab}.card-board canvas[data-tool=brush],.card-board canvas[data-tool=place]{cursor:crosshair}.card-footer{width:100%;flex-shrink:0}.card-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.card-actions .button{font-size:11px;line-height:1.4;min-height:44px;padding:9px 12px;max-width:220px}.card-actions .button.red{font-size:13px}.card-footer .creative-status{min-height:20px;font:12px/1.5 system-ui;color:#245b4b;margin:10px 0 0;text-align:center}.card-drag-ghost{position:fixed;z-index:100;pointer-events:none;width:56px;height:56px;filter:drop-shadow(0 3px 5px #0004);background:#fff9;border-radius:10px}.card-drag-ghost[hidden]{display:none!important}.card-drag-ghost svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.card-editor :focus-visible{outline:3px solid #b58939;outline-offset:3px}.card-editor .card-board:has(canvas:focus-visible){outline:3px solid #b58939;outline-offset:4px}.card-editor canvas:focus-visible{outline:none}
@media(max-width:1000px){.card-workspace{grid-template-columns:245px minmax(0,1fr);gap:16px}.card-editor{padding:18px}.card-toolbar .button{font-size:11px;padding:8px 10px}}
@media(max-width:750px){.card-editor{padding:12px;width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:14px}.card-editor .creative-dialog-heading{gap:10px;align-items:start}.card-editor h2{font-size:25px;max-width:75%;overflow-wrap:anywhere}.card-editor .creative-dialog-heading .button{font-size:12px;padding:9px 12px;min-height:44px}.card-editor .creative-hint{font-size:11px;line-height:1.5;margin:8px 0 10px}.card-workspace{display:flex;flex-direction:column;gap:12px}.card-drawing{order:0;flex-shrink:0;gap:7px}.card-sidebar{order:1;flex:1;min-height:120px;padding:10px;scrollbar-gutter:auto}.card-panel-tabs{top:-10px;padding:6px 0}.card-toolbar{flex-wrap:nowrap;gap:5px}.card-toolbar .button{font-size:10px;min-width:0;padding:7px;flex:1;overflow-wrap:anywhere}.card-actions{gap:5px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.card-actions .button{font-size:10px;max-width:100%;padding:6px;min-height:38px;overflow-wrap:anywhere}.card-actions .button.red{font-size:11px}.card-actions #creative-clear{grid-column:1/-1;min-height:30px;padding:5px}.card-footer .creative-status{font-size:11px;margin-top:4px;min-height:16px}.card-paper-grid,.card-templates{grid-template-columns:repeat(3,minmax(0,1fr))}.card-stickers{grid-template-columns:repeat(4,minmax(0,1fr))}.card-stickers button{min-height:73px}.card-colours .creative-palette{grid-template-columns:repeat(8,minmax(0,1fr))}.creative-palette button{min-height:36px}.card-object-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.card-object-actions .button{font-size:10px;overflow-wrap:anywhere}.card-sidebar input[type=range]{height:36px}}
@media(max-height:740px) and (max-width:750px){.card-editor .creative-hint{display:none}.card-editor h2{font-size:22px}.card-workspace{gap:8px}.card-toolbar .button{min-height:36px}.card-actions #creative-clear{display:none}.card-footer .creative-status{display:none}}
@media(prefers-reduced-motion:reduce){.creative-sample{transform:none}}
@media print{.card-editor,.creative-home,.creative-section,.creative-quick{display:none!important}}
.creative-teaser>div,.creative-home>div{min-width:0}@media(max-width:800px){.creative-home{flex-wrap:wrap;gap:16px;padding:22px}.creative-home>div{flex-basis:65%}.creative-home .button{margin-left:68px;max-width:calc(100% - 68px)}.creative-teaser{gap:24px;padding:24px}.creative-crafts{grid-template-columns:1fr}}@media(max-width:600px){.creative-teaser{grid-template-columns:1fr;padding:24px}.creative-sample{max-width:340px;width:95%;margin:10px auto 15px}.creative-home{display:grid;grid-template-columns:40px minmax(0,1fr)}.creative-home>svg{width:36px;height:36px}.creative-home .button{grid-column:1/-1;margin:0;max-width:100%;width:100%}.creative-home h3{font-size:24px}.card-colours .creative-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.creative-palette button,.card-actions .button{min-height:44px}}@media(max-height:740px) and (max-width:750px){.card-toolbar .button{min-height:44px}}
