:root{--paper:#f8f6ef;--ink:#244e42;--muted:#667568;--line:#d9dfd1;--green:#244e42;--soft:#edf1e5;--coral:#e4a187;--gold:#efd192;--white:#fffefa;--radius:20px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #cf7a52;outline-offset:3px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.site-header{max-width:1240px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;margin:auto}.brand{font-size:23px;font-weight:750;letter-spacing:-1px;text-decoration:none;display:inline-flex;align-items:center}.brand-symbol{display:grid;place-items:center;width:34px;height:38px;border-radius:11px 11px 15px 15px;background:var(--green);color:var(--paper);font-family:Georgia,serif;font-size:29px;margin-right:11px;transform:rotate(-7deg)}.brand-domain{font-weight:400;color:#687f62}.header-link{font-size:14px;font-weight:bold;text-decoration:none;padding:11px 0}.header-link span{margin-left:12px}.hero{max-width:1160px;margin:32px auto 68px;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;padding:0 32px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.2px;margin:0 0 18px;color:#60745a}.hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(38px,5.2vw,66px);line-height:1.07;letter-spacing:-2.6px;margin:0 0 25px}.hero h1 em{font-weight:400;color:#687e4b}.hero-description{max-width:490px;font-size:16px;line-height:1.7;color:#5e6c61;margin:0 0 25px}.hero-notes{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:11px;color:#5e705a}.hero-notes span:before{content:'✓';margin-right:7px;color:#6c7e51}.hero-art{position:relative;height:340px;display:grid;place-items:center}.wander-line{position:absolute;width:100%;height:100%;inset:0}.sample-paper{background:var(--white);width:235px;transform:rotate(-6deg);padding:22px 25px 15px;box-shadow:0 12px 35px #3f583015;border:1px solid #e8e8da;border-radius:3px;position:relative}.sample-top{font-size:9px;display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid #a6b69b}.sample-top b{display:grid;place-items:center;background:var(--green);color:white;border-radius:100%;width:29px;height:29px;font-size:15px}.sample-category{display:block;font-size:7px;letter-spacing:1px;margin-top:18px}.sample-paper p{font-family:Georgia,serif;font-size:23px;line-height:1.2;margin:9px 0 20px}.sample-answer{display:flex;align-items:center;font-size:9px;gap:9px;margin:10px 0}.sample-answer b{width:20px;height:20px;display:grid;place-items:center;border:1px solid #acb7a5;border-radius:4px}.sample-footer{display:block;border-top:1px solid #e0e5d9;margin-top:23px;padding-top:8px;font-size:7px}.art-sticker{position:absolute;right:2px;bottom:14px;background:var(--gold);width:114px;height:114px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;text-align:center;transform:rotate(9deg);font-size:12px;line-height:1.4}.art-sticker em{font-family:Georgia,serif;font-size:20px}.creator{max-width:1240px;margin:auto;padding:0 32px;scroll-margin-top:20px}.creator-heading{border-top:1px solid var(--line);padding-top:35px;margin-bottom:28px;display:flex;gap:20px;justify-content:space-between;align-items:flex-end}.creator-heading .eyebrow{margin-bottom:10px}.creator-heading h2{font-family:Georgia,serif;font-size:33px;font-weight:400;letter-spacing:-.8px;margin:0}.save-note{font-size:11px;max-width:190px;text-align:right;line-height:1.6;color:var(--muted)}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}.settings{display:grid;gap:18px}.panel{background:#fffefa;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.panel h3,.editor-toolbar h3{display:flex;gap:10px;align-items:center;font-size:15px;font-weight:600;margin:0 0 25px}.step-number{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;background:#e8eddf;font-size:11px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin-bottom:18px}.field input,.field select,.field textarea,.question-editor input[type=text],.question-editor textarea,.question-editor select{width:100%;min-width:0;border:1px solid #ccd6c5;border-radius:9px;background:#fffefa;color:var(--ink);padding:12px 11px;font-weight:400;line-height:1.4;font-size:14px;transition:border-color .15s}.field input:focus,.field textarea:focus{border-color:var(--green)}textarea{resize:vertical;min-height:90px}.field-help{font-size:11px;line-height:1.6;color:var(--muted);margin:-4px 0 16px}.bank-details{border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.bank-details summary{font-size:12px;font-weight:600;cursor:pointer;line-height:1.6}.bank-details p{font-size:11px;line-height:1.6;color:var(--muted)}.two-fields{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;margin-top:18px}.button{background:var(--green);color:white;border:1px solid var(--green);border-radius:10px;padding:13px 17px;min-height:44px;font-size:13px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:10px;text-decoration:none}.button:hover{background:#355e4e}.button.secondary{background:transparent;color:var(--ink);border-color:#c8d3bf}.button.secondary:hover{background:var(--soft)}.button.small{padding:8px 12px;font-size:11px;min-height:36px}.button.full{width:100%;margin-bottom:9px}.check-row{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.4;min-height:36px;cursor:pointer}.check-row input{width:17px;height:17px;accent-color:var(--green)}.copies-field{display:grid;grid-template-columns:1fr 65px;align-items:center;margin:14px 0 23px;font-size:11px}.editor-area{min-width:0}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:4px 0 0}.editor-toolbar h3{margin:0}.view-switch{padding:4px;background:#e8ecdf;border-radius:10px;display:flex;gap:3px}.view-switch button{border:0;background:transparent;border-radius:7px;font-size:11px;padding:9px 12px;color:var(--muted)}.view-switch button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 4px #264b3910}.round-summary{font-size:11px;color:var(--muted);margin:15px 0 20px}.status{font-size:13px;line-height:1.5;color:#405f37;background:#e9efdf;border-radius:10px;padding:12px 16px;margin-bottom:16px}.status:empty{display:none}.status.is-error{color:#8e3d2e;background:#f8e6dc}.station-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:20px}.station-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px;padding-bottom:17px;border-bottom:1px solid #e6eade}.station-head h3,.station-head h4{font-size:15px;margin:0}.station-number{display:inline-grid;place-items:center;background:var(--gold);width:30px;height:30px;border-radius:50%;margin-right:10px;font-size:13px}.icon-button,.remove-station{display:inline-grid;place-items:center;border:1px solid transparent;background:transparent;color:#7a806e;border-radius:8px;min-width:36px;min-height:36px;font-size:13px;padding:7px}.icon-button:hover,.remove-station:hover{background:#f6e8de;color:#963e24}.question-editor+.question-editor{border-top:1px dashed #becbb6;margin-top:24px;padding-top:24px}.question-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:#75885f;margin:0 0 14px}.options-editor{display:grid;gap:10px;margin-bottom:20px}.answer-option{display:flex;gap:10px;align-items:center}.answer-option input[type=text]{flex:1;min-width:0}.correct-choice{display:flex;align-items:center;gap:7px;background:#edf1e6;border:1px solid #d7e0cd;border-radius:9px;padding:10px;min-height:44px;cursor:pointer;font-size:14px;flex:none}.correct-choice input{accent-color:var(--green);width:17px;height:17px;margin:0}.answer-option:has(input[type=radio]:checked) .correct-choice{background:#dce9cf;border-color:#86a66a}.image-controls{border-top:1px solid #edf0e7;padding-top:17px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:11px}.image-controls label{font-size:11px}.image-controls select{max-width:175px;padding:9px!important;font-size:12px!important}.image-preview{display:flex;align-items:center;justify-content:center;margin:12px 0 0;border-radius:12px;background:#f5f5ee;overflow:hidden}.image-preview:empty{display:none}.image-preview svg{width:110px;height:110px;padding:12px}.image-preview img{display:block;max-width:100%;max-height:190px;object-fit:contain}.source-note{font-size:10px;color:var(--muted);line-height:1.6;margin-top:15px}.source-note a{text-underline-offset:3px}.add-button{width:100%;border:1px dashed #aabca0;background:transparent;color:var(--ink);padding:18px}.add-button:hover{background:#eaf0e1}.add-button span{font-size:21px}.preview-help{font-size:12px;color:var(--muted)}#preview-frame{display:block;width:100%;height:900px;border:1px solid var(--line);border-radius:12px;background:#eaece4}.how-it-works{max-width:1176px;display:grid;grid-template-columns:repeat(3,1fr);gap:50px;margin:80px auto 60px;padding:35px 0 0;border-top:1px solid var(--line)}.how-it-works>div>span{font-family:Georgia,serif;font-size:29px;color:#a5b18d}.how-it-works h3{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:15px 0 10px}.how-it-works p{font-size:12px;line-height:1.8;color:var(--muted);max-width:290px}.site-footer{max-width:1240px;padding:30px 32px 45px;margin:auto;border-top:1px solid var(--line);display:flex;gap:25px;align-items:center;flex-wrap:wrap}.site-footer .brand{font-size:18px}.site-footer p{font-size:11px;color:var(--muted)}.site-footer details{margin-left:auto;max-width:400px;font-size:11px}.site-footer summary{cursor:pointer;color:var(--muted)}.site-footer details p{line-height:1.7}dialog{width:min(940px,calc(100% - 28px));max-height:95dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:25px;color:var(--ink)}dialog::backdrop{background:#173f32a8;backdrop-filter:blur(3px)}.draw-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.draw-heading .eyebrow{margin-bottom:8px}.draw-heading h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:0}.draw-heading .icon-button{font-size:26px}.paint-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:15px}.paint-tools label{display:flex;gap:7px;align-items:center;font-size:12px}.paint-tools input[type=color]{width:38px;height:36px;border:1px solid var(--line);border-radius:7px;background:var(--white);padding:3px}.paint-tools input[type=range]{width:85px;accent-color:var(--green)}.paint-tools .active{background:var(--green);color:white}#paint-canvas{width:100%;height:auto;display:block;background:white;border:1px solid #c7d2bf;border-radius:12px;touch-action:none;cursor:crosshair}.draw-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.draw-bottom p{font-size:11px;line-height:1.5;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1000px){.settings{position:sticky;top:20px}}@media(max-width:1000px){.workspace{grid-template-columns:260px minmax(0,1fr);gap:20px}.panel{padding:20px}.hero{gap:15px}.hero-art{transform:scale(.9)}.how-it-works{margin-left:32px;margin-right:32px}.editor-toolbar{flex-wrap:wrap;gap:12px}.station-card{padding:20px}}
@media(max-width:740px){.site-header{padding:21px 20px}.brand{font-size:20px}.hero{grid-template-columns:1fr;padding:0 22px;margin:25px auto 40px;gap:15px}.hero h1{font-size:46px;letter-spacing:-1.8px}.hero-description{font-size:14px;max-width:480px}.hero-art{height:285px;max-width:350px;justify-self:center;width:100%;transform:scale(.9);margin:-12px 0}.hero-notes{gap:9px 13px;font-size:10px}.creator{padding:0 18px}.creator-heading{align-items:flex-start;padding-top:25px}.creator-heading h2{font-size:29px}.save-note{max-width:120px;font-size:10px}.workspace{grid-template-columns:1fr}.settings{display:contents}.panel:first-child{grid-column:1;grid-row:1}.output-panel{grid-column:1;grid-row:3}.editor-area{grid-column:1;grid-row:2}.panel{padding:20px}.panel h3{margin-bottom:20px}.bank-details{margin-top:15px}.editor-toolbar{flex-wrap:nowrap}.editor-toolbar h3{font-size:13px}.view-switch button{padding:9px;font-size:10px}.station-card{padding:18px}.station-head{margin-bottom:18px}.question-editor input[type=text],.question-editor textarea,.question-editor select,.field input,.field select{font-size:16px}.image-controls{gap:8px}.image-controls .button{min-height:40px}.how-it-works{grid-template-columns:1fr;gap:20px;margin:45px 22px}.how-it-works>div{display:grid;grid-template-columns:40px 1fr;gap:0 12px}.how-it-works>div>span{grid-row:1/3}.how-it-works h3{margin:0 0 5px}.how-it-works p{margin:0;max-width:none}.site-footer{padding:25px 22px;gap:7px 20px}.site-footer details{margin-left:0;width:100%;max-width:none;margin-top:10px}.draw-heading h2{font-size:25px}dialog{padding:18px}.draw-bottom{align-items:flex-end}.draw-bottom p{max-width:160px}.paint-tools{gap:8px}#preview-frame{height:690px}}
@media(max-width:380px){.hero h1{font-size:41px}.save-note{display:none}.editor-toolbar{flex-wrap:wrap}.answer-option{gap:7px}.correct-choice{padding:8px;gap:5px}.station-card{padding:15px}.draw-bottom{flex-wrap:wrap}.draw-bottom p{max-width:none}.paint-tools .button.small{padding:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.station-head h2{font-size:15px;margin:0}.question-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.question-label h3{font:inherit;margin:0}.question-label .button{letter-spacing:0;text-transform:none}.options-editor{border:0;padding:0;min-width:0}.options-editor legend{font-size:12px;font-weight:600;margin-bottom:12px;padding:0}.options-editor legend span{font-weight:400;color:var(--muted);font-size:11px}.image-controls .field{margin-bottom:0}.image-controls .field select{max-width:165px}
.guide-links{max-width:1240px;margin:0 auto 64px;padding:0 32px}.guide-links h2{font:400 30px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.6px;margin:0 0 12px}.guide-links>p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 24px}.guide-links nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.guide-links nav a{display:flex;align-items:center;min-width:0;min-height:84px;padding:20px 22px;background:var(--white);border:1px solid var(--line);border-radius:14px;font-size:13px;font-weight:600;line-height:1.6;text-decoration:none;text-wrap:pretty;overflow-wrap:anywhere}.guide-links nav a:hover{background:var(--soft);border-color:#aabca0}.footer-links{display:flex;flex-wrap:wrap;gap:4px 22px;align-items:center;margin-left:auto;min-width:0}.footer-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;font-size:11px;line-height:1.5;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a7b59e;overflow-wrap:anywhere}.footer-links a:hover{text-decoration-color:var(--ink)}
@media(max-width:740px){.guide-links{padding:0 22px;margin-bottom:42px}.guide-links h2{font-size:27px}.guide-links nav{grid-template-columns:1fr;gap:10px}.guide-links nav a{min-height:66px;padding:16px 18px}.footer-links{width:100%;margin:7px 0 0;gap:2px 18px}}

/* Reflow controls instead of clipping them in narrow or zoomed windows. */
.site-header,.editor-toolbar,.station-head,.question-label{flex-wrap:wrap}
.site-header{gap:12px 20px}
.site-header .header-link{margin-left:auto;min-height:44px;display:inline-flex;align-items:center}
.workspace>*,.settings>*,.hero>*,.creator-heading>*,.editor-toolbar>*,.station-head>*,.question-label>*,.draw-heading>*,.draw-bottom>*{min-width:0}
.settings{position:static}
.status,.source-note,.preview-help,.draw-heading h2,.draw-bottom p,.creator-heading h2{overflow-wrap:anywhere}
.button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
.view-switch{flex-wrap:wrap;max-width:100%}
.view-switch button{min-height:44px}
.check-row input{flex:none}
.image-controls .field{max-width:100%}
.preview-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 12px}
.preview-toolbar .preview-help{flex:1 1 220px;margin:0;line-height:1.6}
.preview-scale{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;max-width:100%}
.preview-scale select{font:inherit;font-size:16px;max-width:100%;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink)}
#preview-frame{height:clamp(240px,74dvh,1000px)}
dialog{max-height:calc(100dvh - 24px);overscroll-behavior:contain}
#draw-dialog{padding:clamp(12px,2vw,24px)}
.draw-heading{gap:12px;margin-bottom:12px;align-items:flex-start}
.draw-heading .icon-button{flex:none;min-width:44px;min-height:44px}
.paint-tools{gap:8px;margin-bottom:12px}
.draft-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:240px}
.draft-tools .save-note{display:block;max-width:none;margin:0}
@media(max-width:480px){.draft-tools{align-items:flex-start;max-width:none;width:100%}}
.paint-tools .button.small,.image-controls .button{min-height:44px}
.paint-tools .button[aria-pressed]{background:transparent;color:var(--ink);border-color:#c8d3bf}
.paint-tools .button[aria-pressed]:hover{background:var(--soft)}
.paint-tools .button[aria-pressed=true],.paint-tools .button[aria-pressed=true]:hover{background:var(--green);color:white;border-color:var(--green)}
.paint-tools input[type=color]{height:44px;width:44px}
.paint-tools input[type=range]{min-height:44px}
#paint-canvas{width:min(100%,max(180px,calc(150dvh - 360px)));height:auto;margin-inline:auto}
/* Both tools use a black-and-white marker, independent of OS cursor and paint colour. */
#paint-canvas{cursor:url("./paint-cursor.svg") 16 16,crosshair}
.theme-start:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);gap:24px;padding:24px;margin-bottom:24px;border:1px solid #a5b596;border-radius:18px;background:#edf2e7;color:#244e42}
.theme-start h3{font-family:Georgia,serif;font-size:clamp(22px,3vw,30px);line-height:1.2;margin:8px 0 12px}
.theme-start p{line-height:1.6;margin-bottom:0;max-width:60ch}
.theme-start-actions{display:grid;gap:10px;min-width:0}
.theme-start-actions .field{margin:0}
.theme-start-actions .button{white-space:normal;min-height:44px}
@media(max-width:740px){.theme-start:not([hidden]){grid-template-columns:minmax(0,1fr);padding:18px;gap:18px}}
.draw-bottom{flex-wrap:wrap;margin-top:12px}
.draw-bottom p{flex:1 1 160px;max-width:none;margin:0}
.draw-bottom .button{flex-shrink:0}
@media(max-width:740px){
  .image-controls select{font-size:16px!important}
  .hero h1{font-size:clamp(32px,10.8vw,46px)}
  .sample-paper{max-width:calc(100% - 24px)}
  .editor-toolbar{flex-wrap:wrap}
  .question-label .button{min-height:44px}
}
@media(max-width:480px){
  .creator-heading{flex-wrap:wrap}
  .save-note{display:block;max-width:none;text-align:left}
  .question-label{align-items:flex-start;gap:8px}
  .question-label .button{font-size:12px}
  .draw-heading h2{font-size:clamp(20px,6vw,25px)}
}
@media(pointer:coarse){
  .field input,.field select,.field textarea,.question-editor input[type=text],.question-editor textarea,.question-editor select,.image-controls select{font-size:16px!important}
  .button.small,.icon-button,.remove-station{min-width:44px;min-height:44px}
}
