@font-face{font-family:Noto;src:url('assets/NotoSans.ttf')}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f7f2;color:#243d35;font-family:Noto,Arial,sans-serif;font-size:18px}button,input,select{font:inherit}button,select,summary{cursor:pointer}button,a,input,select,summary{touch-action:manipulation}button{min-height:46px;border:1px solid #d9ded6;background:white;color:inherit;border-radius:9px;padding:9px 14px}button:hover{background:#eef3e9}button:disabled{opacity:.5;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ae651c;outline-offset:3px}header{max-width:1320px;margin:auto;padding:27px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dde2d8}.brand{text-decoration:none;font-size:30px;font-weight:bold;display:flex;align-items:center;gap:10px;letter-spacing:-1px}.logo{background:#2d5746;color:white;width:38px;height:42px;display:grid;place-items:center;border-radius:11px 11px 11px 2px}.brand-note{font-size:12px;color:#67786b;font-weight:normal;letter-spacing:0;border-left:1px solid #d0d8cc;padding-left:14px;margin-left:10px;max-width:125px}.help{font-size:14px;text-decoration:none}main{max-width:1240px;margin:auto;padding:52px 32px 0}.intro{margin-bottom:42px}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:1.8px;color:#647666}h1{font-size:54px;line-height:1.17;letter-spacing:-2px;margin:18px 0}h1 span{color:#648166}p{line-height:1.65}.intro p{color:#67756a;margin:18px 0;font-size:18px}.badges{display:flex;gap:22px;font-size:12px;color:#566b59}.badges span:before{content:'✓';margin-right:7px}.workspace{display:grid;grid-template-columns:365px minmax(0,1fr);gap:30px;align-items:start}.settings{border:1px solid #dde2d8;background:#fff;border-radius:16px;padding:25px}.panel-title{display:flex;gap:12px;align-items:center;margin-bottom:25px}.step{display:inline-grid;place-items:center;width:29px;height:29px;border:1px solid #b7c7ad;color:#496144;font-size:13px;border-radius:50%;flex-shrink:0}h2{font-size:21px;letter-spacing:-.5px;margin:0}fieldset{border:0;padding:0;margin:0 0 20px}legend,label:not(.check){display:block;font-size:14px;font-weight:bold;margin:0 0 9px}label:not(.check){margin-top:18px}.op-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.op-grid button{font-size:13px;text-align:left}.wide{grid-column:span 2}.op-grid button[aria-pressed=true],.tables button[aria-pressed=true]{background:#eaf0e4;border-color:#759068;color:#294a35}.tables{display:flex;gap:6px;flex-wrap:wrap}.tables button{min-width:43px;padding:7px}input:not([type=checkbox]),select{width:100%;min-height:46px;background:#fff;color:#243d35;border:1px solid #d5dcd1;border-radius:8px;padding:9px 10px;font-size:15px}.hint{font-size:12px;color:#6b756b;line-height:1.6;margin:8px 0 13px}.check{display:flex;align-items:center;gap:8px;font-size:13px;margin:18px 0;line-height:1.5}.check input{accent-color:#315c43;width:18px;height:18px;flex-shrink:0}.example{color:#777;font-size:11px;margin-left:auto}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}hr{border:0;border-top:1px solid #e4e8df;margin:23px 0}details{margin-top:24px;border-top:1px solid #e4e8df;padding-top:18px}summary{font-size:14px;min-height:44px}.new-set{width:100%;font-size:14px;margin-top:20px;background:#f5f7f1}.text-button{border:0;background:none;font-size:12px;width:100%;color:#6b756b;margin-top:5px}.preview-panel{min-width:0}.preview-head{display:flex;justify-content:space-between;align-items:center;margin:7px 0 23px;gap:10px}.preview-head h2{margin-top:7px;font-size:24px}.live{display:flex;align-items:center;gap:6px;font-size:11px;color:#667764}.live i{height:6px;width:6px;border-radius:50%;background:#748b54}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px}.tabs{display:flex;gap:4px;background:#e9ede3;padding:4px;border-radius:9px}.tabs button{border:0;background:transparent;font-size:13px;min-height:36px;padding:7px 17px}.tabs button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #233b3012}.variant-label{display:flex!important;align-items:center;gap:8px;font-size:12px!important;margin:0!important;font-weight:normal!important}.variant-label select{width:65px;min-height:38px;font-size:12px}#paper-stage{background:#e9ece3;border:1px solid #dce1d5;border-radius:12px;padding:28px;overflow:auto;max-height:800px}#paper{display:flex;flex-direction:column;gap:20px}.sheet{aspect-ratio:210/297;background:white;color:#262b27;padding:6% 6%;box-shadow:0 5px 15px #243a3010;position:relative;font-family:Noto,sans-serif;flex-shrink:0;container-type:inline-size}.sheet-kicker{font-size:9px;letter-spacing:1.2px;color:#788270;border-bottom:1px solid #dce0d7;padding-bottom:12px}.sheet h3{font-size:21px;margin:18px 0 8px;line-height:1.3;letter-spacing:-.5px}.sheet-meta{font-size:10px;color:#747b71;display:flex;justify-content:space-between;border-bottom:1px solid #e2e5df;padding:9px 0 14px;margin-bottom:16px}.sheet-instruction{font-size:10px;color:#73796e}.task-grid{display:grid;gap:0 12px}.task{white-space:nowrap;padding:10px 0;border-bottom:1px solid #edf0e8;color:#2f3930}.task small{font-size:9px;color:#93998c;margin-right:7px}.block-label{font-size:10px;color:#67765b;letter-spacing:.6px;margin:16px 0 4px}.sheet-footer{position:absolute;bottom:3%;left:6%;right:6%;display:flex;justify-content:space-between;color:#87907e;font-size:8px}.preview-foot{display:flex;justify-content:space-between;font-size:11px;color:#75806e;margin:12px 0 22px;gap:8px}.export{display:flex;gap:10px}.export button{font-size:14px}.export .primary{background:#315a43;color:white;border-color:#315a43;flex:1;min-height:52px}.export .primary:hover{background:#254834}.export-check{color:#62705f}#status{font-size:13px;min-height:22px;color:#385c3d}#error{padding:18px;background:#fff0df;color:#834916;border:1px solid #eac9a4;border-radius:9px;margin:12px 0;font-size:15px}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin:70px 0 35px;border-top:1px solid #dce2d5;padding-top:34px}.guide h3{font-size:17px}.guide p{font-size:14px;color:#6c7969}.note{background:#edf0e5;border-radius:12px;padding:24px 28px;margin-bottom:45px}.note strong{font-size:17px}.note p{font-size:13px;color:#697862;margin-bottom:0}footer{max-width:1176px;margin:auto;padding:25px 0 40px;border-top:1px solid #dce2d5;color:#74816e;font-size:11px}footer .brand{font-size:23px;color:#45613d}footer p{margin:12px 0} [hidden]{display:none!important}@media(min-width:1000px){.intro{position:relative}.intro .badges{position:absolute;right:0;bottom:10px;display:grid;gap:9px}}@media(max-width:850px){header{padding:20px}.brand-note{display:none}main{padding:32px 18px 0}h1{font-size:42px}.workspace{grid-template-columns:1fr}.settings{padding:22px}.preview-head{margin-top:10px}#paper-stage{max-height:none}.guide{gap:20px}.export{flex-wrap:wrap}.export .primary{min-width:100%}footer{padding:25px 20px}.badges{flex-wrap:wrap;gap:10px 18px}}@media(max-width:420px){h1{font-size:36px}.preview-head h2{font-size:21px}.live{display:none}#paper-stage{padding:12px}.sheet h3{font-size:16px}.sheet-meta{font-size:8px}.guide{grid-template-columns:1fr;margin-top:40px}.guide p{margin:5px 0}.guide h3{display:inline;margin-left:10px}.help{font-size:12px}.tabs button{padding:7px 11px}}@media print{body>*{display:none!important}body>#print-root{display:block!important}.sheet{width:210mm;height:297mm;break-after:page;box-shadow:none;padding:12mm;aspect-ratio:auto}.task{font-size:var(--print-font)!important}.sheet h3{font-size:22pt}.sheet-meta,.sheet-instruction{font-size:10pt}.task small,.block-label{font-size:10pt}.sheet-footer{font-size:8pt}@page{size:A4;margin:0}}

/* Comfortable controls and readable mobile labels */
legend,label:not(.check){font-size:16px}.op-grid button{font-size:15px}input:not([type=checkbox]),select{font-size:16px}.check{font-size:15px}.export button{font-size:16px}.settings .hint{font-size:13px}#paper-stage.zoom .sheet{min-width:650px}.content{max-width:820px;margin:50px auto;padding:0 24px}.content h1{font-size:38px}.content p,.content li{line-height:1.8}.skill-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;list-style:none;padding:0}.skill-list a{display:block;border:1px solid #d5dece;padding:20px;border-radius:10px;text-decoration:none;background:white}.example-box{padding:24px;background:white;border:1px solid #d5dece;border-radius:12px;font-size:24px}@media(max-width:600px){.skill-list{grid-template-columns:1fr}}
#print-root{display:none}.sheet-meta span:first-child{max-width:74%;overflow-wrap:anywhere}.zoom-control{font-size:13px;margin-bottom:12px}
.sheet-meta{flex-wrap:wrap;gap:4px}.sheet-meta span:nth-child(3){flex-basis:100%}

/* A4 coordinates scale together, including headings, metadata and numbering. */
.sheet{padding:0;container-type:inline-size;overflow:hidden;line-height:1.2}
.sheet .sheet-kicker{margin:0;padding:0 0 1.9cqw;letter-spacing:.12cqw;border-bottom:1px solid #dce0d7;line-height:1.2}
.sheet .sheet-title{margin:0;letter-spacing:0;line-height:1.2;font-weight:400}
.sheet .sheet-name,.sheet .sheet-variant,.sheet .sheet-date,.sheet .sheet-instruction{margin:0;padding:0;color:#50584d;line-height:1.2}
.sheet .block-label{margin:0;letter-spacing:0;line-height:1.2}
.sheet .task{padding:0;margin:0;line-height:1.2;font-weight:400;border-bottom:1px solid #e1e5dc}
.sheet .task-number,.sheet .task-expression{position:absolute;display:block;margin:0;line-height:1.2;white-space:nowrap}
.sheet .task-number{left:0;color:#747d6e}
.sheet .sheet-footer-left,.sheet .sheet-footer-right{color:#747d6e;line-height:1.2}
.preview-toolbar{flex-wrap:wrap}.variant-label{margin-left:auto!important}
.tabs button{min-height:44px;font-size:15px}.tables button{min-width:44px;min-height:44px}
.zoom-control,.help,.text-button{min-height:44px}.help{display:inline-flex;align-items:center}
.sheet-name{white-space:nowrap}#preview-title:focus{outline:3px solid #ae651c;outline-offset:4px}
@media(max-width:420px){.example{display:none}.preview-foot{flex-wrap:wrap}.two{gap:8px}.brand{font-size:26px}.preview-toolbar{gap:10px}.export button{min-height:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{scroll-behavior:auto!important}}
@media print{.sheet{padding:0;container-type:inline-size;overflow:hidden;width:210mm;height:297mm;break-after:page;break-inside:avoid}.sheet:last-child{break-after:auto}.sheet .task{font-size:inherit!important}.sheet .task-expression{font-size:var(--task-font,inherit)}#print-root{margin:0}html,body{margin:0;padding:0;background:white}}
@font-face{font-family:NotoMath;src:url('assets/NotoSansMath.ttf')}.sheet .task-expression{font-family:NotoMath,Noto,sans-serif;font-weight:400}
@media print{.sheet .task{font-size:var(--print-font)!important}}
.template-panel{margin:0 0 22px;padding:14px;background:#f5f7f0;border:1px solid #dce2d4;border-radius:10px}.template-panel summary,.edit-panel summary{font-size:16px}.template-row{display:flex;gap:8px;flex-wrap:wrap;padding:14px 0;border-top:1px solid #dce2d4}.template-row strong{width:100%;font-size:15px;overflow-wrap:anywhere}.template-row button,.edit-actions button{font-size:14px;min-height:44px}.edit-panel{margin:0 0 16px;padding:12px 15px;background:#eef2e8;border:1px solid #dce2d4;border-radius:10px}.edit-actions{display:flex;gap:8px;flex-wrap:wrap}#template-status,#edit-status{font-size:14px;line-height:1.6}.export-options{margin-top:18px;padding:16px;border:1px solid #dce2d4;border-radius:10px;background:white}.export-options label:first-child{margin-top:0}.sheet .key-entry{font-family:NotoMath,Noto,sans-serif;white-space:nowrap;line-height:1.2}.template-panel input{min-width:0}#replace-example{overflow-wrap:anywhere}
.lesson-plan{background:#fff;border:1px solid #d5decf;border-left:4px solid #648166;border-radius:10px;padding:18px 20px;margin:0 0 18px;font-size:15px;line-height:1.65}.lesson-plan ol{padding-left:22px}.lesson-plan li{margin:8px 0}.lesson-plan p{margin:12px 0 0}.task-art svg{display:block;width:100%;height:auto}.sheet .stage-instruction{margin:0;padding:0;line-height:1.25;color:#56634e}.sheet .sheet-instruction{white-space:normal}.lesson-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lesson-card{background:white;border:1px solid #d7dfcf;padding:20px;border-radius:12px}.lesson-card h2{margin:0 0 12px;font-size:23px}.lesson-card svg{width:100%;max-width:330px;height:auto}.sample-stage{margin:22px 0;padding:18px;background:white;border:1px solid #d7dfcf;border-radius:10px}.sample-stage svg{max-width:450px;width:100%;display:block;margin:16px 0}.sample-expression{font-family:NotoMath,Noto,sans-serif;font-size:26px}@media(max-width:650px){.lesson-samples{grid-template-columns:1fr}.lesson-plan{padding:15px;font-size:15px}}

/* Simple first visit and narrow screen controls. */
.quick-start{margin:0 0 24px;padding:20px;border:1px solid #d9dfd4;border-radius:16px;background:#edf1e8}.quick-start strong{font-size:20px}.quick-start p{margin:8px 0 14px;line-height:1.5}.quick-start>div{display:flex;flex-wrap:wrap;gap:10px}.quick-start button{min-height:44px;padding:12px 16px;border:1px solid #8c9e8e;border-radius:9px;background:#fff;color:#214d40;font:inherit;cursor:pointer}.quick-start button:focus-visible{outline:3px solid #54725b;outline-offset:3px}.production-contact{overflow-wrap:anywhere}input,select,textarea{max-width:100%}@media(max-width:600px){.quick-start{padding:16px}.quick-start>div>button{flex:1 1 140px}.intro{padding-top:24px;padding-bottom:20px}.intro h1{font-size:clamp(28px,8vw,38px)}input,select,textarea{font-size:16px!important}}
