@font-face{font-family:Studio;src:local('Arial')}*{box-sizing:border-box}body{margin:0;background:#f4f5f6;color:#20242a;font-family:Studio,Arial,Helvetica,sans-serif;font-size:14px;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #e94b35;outline-offset:3px}button{transition:background .15s,color .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}.topbar{height:83px;border-bottom:1px solid #dce0e4;display:flex;align-items:center;padding:0 4%;gap:25px;background:#fbfbfc}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:24px;letter-spacing:-1.2px;text-decoration:none;color:inherit}.branddot{color:#e94b35}.brandmark{position:relative;display:block;color:white;background:#e94b35;width:36px;height:36px;border-radius:9px;font-size:27px;font-weight:800;line-height:39px;padding-left:8px}.brandmark span{position:absolute;font-size:16px;right:6px;bottom:-3px}.top-divider{height:23px;width:1px;background:#d4d8de}.studio-tag{font-size:10px;letter-spacing:1.4px;font-weight:700;color:#6a737f}.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.save-status{font-size:11px;color:#66717c}.save-status:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#439b71;margin-right:6px}.primary{background:#e94b35;color:white;padding:12px 19px;border-radius:7px;font-weight:700;font-size:12px;display:inline-flex;justify-content:center;gap:22px;align-items:center}.primary:hover{background:#d83b26}.quiet{font-size:12px;font-weight:600;padding:10px 0}.quiet span{margin-left:7px}.outline{border:1px solid #d8dce0;background:white;border-radius:6px;padding:12px 8px;font-size:11px;font-weight:700}.wide{width:100%}.large{padding:17px 20px;font-size:14px}.text-button{font-size:11px;font-weight:600;color:#59636e;padding:9px 0;text-align:left}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#747d89;margin:0 0 13px}.small{font-size:9px;letter-spacing:1.4px}main{max-width:1600px;padding:0 4%;margin:0 auto}.intro{padding:38px 0 31px;display:flex;justify-content:space-between;align-items:center;gap:25px}h1{font-size:clamp(36px,3.5vw,54px);letter-spacing:-2.4px;margin:0;font-weight:700;line-height:1.1}h1 span,h2>span:not(.count){color:#e94b35}.intro-copy{color:#6a737f;font-size:13px;margin:12px 0 0}.project-name{width:240px;display:flex;flex-direction:column;gap:8px}.project-name label,.field-label{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#707a86}.project-name input{border:0;border-bottom:1px solid #b9c0c8;background:transparent;font-weight:600;font-size:19px;padding:4px 0 9px;color:#262c33;border-radius:0;min-width:0}.name-hint{font-size:10px;color:#79838e}.workspace{display:grid;grid-template-columns:220px minmax(300px,1fr) 242px;gap:16px;align-items:stretch}.panel{background:white;border:1px solid #dce0e4;border-radius:10px;overflow:hidden}.alphabet-panel{padding:21px 16px;display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}h2{font-size:14px;letter-spacing:-.25px;margin:0;font-weight:700}.count{font-size:10px;font-weight:600;color:#737d89}.progress{height:3px;border-radius:3px;background:#edf0f2;margin-bottom:18px}.progress>div{height:100%;border-radius:3px;background:#e94b35;transition:width .2s}.tabs{display:flex;background:#f1f3f5;border-radius:6px;padding:3px;margin-bottom:14px}.tabs button{font-size:11px;border-radius:4px;flex:1;height:32px;font-weight:600;color:#6b7581}.tabs .active{background:white;color:#222b35;box-shadow:0 1px 4px #00000012}.glyph-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.glyph-button{position:relative;border:1px solid #e3e6ea;border-radius:6px;aspect-ratio:1;font-size:21px;font-weight:500;background:#fbfcfd;overflow:hidden}.glyph-button.active{border-color:#e94b35;background:#fff3f0;color:#d7412c;box-shadow:0 0 0 1px #e94b35}.glyph-button.done:after{content:'';position:absolute;background:#e94b35;width:5px;height:5px;border-radius:50%;right:5px;bottom:5px}.glyph-button svg{width:100%;height:100%;position:absolute;inset:0}.alphabet-footer{display:flex;font-size:10px;line-height:1.5;color:#7a838e;gap:6px;margin:19px 0}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#e94b35;flex-shrink:0;margin-top:4px}.project-actions{margin-top:auto;padding-top:20px;display:flex;justify-content:space-between;border-top:1px solid #eceff1;gap:10px}.project-actions button{font-size:10px}.new-project{text-align:left;font-size:11px;color:#697581;padding:8px 0}.editor-panel{display:flex;flex-direction:column;min-width:0}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 17px;gap:12px;border-bottom:1px solid #e6e9ec}.editor-header .eyebrow{display:block;margin-bottom:7px}.editor-header h2{font-size:16px}.editor-header h2 span{font-size:9px;letter-spacing:.3px;margin-left:12px;color:#818a95;font-weight:500}.history{display:flex;gap:5px;align-items:center}.history button{font-size:22px;width:32px;height:32px;border-radius:5px;background:#f4f5f7}.history button.clear{font-size:11px;width:auto;padding:0 11px;background:transparent;border:1px solid #e1e4e8;margin-left:5px}.canvas-wrap{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:260px;background:#fff;overflow:hidden}.canvas-wrap svg{display:block;width:100%;max-height:550px;aspect-ratio:1;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}.canvas-wrap #guides line{stroke:#dde2e7;stroke-width:1;stroke-dasharray:5 5}.canvas-wrap #guides line.baseline{stroke:#eda193;stroke-dasharray:none;stroke-width:1.4}.canvas-wrap #guides text{fill:#97a0aa;font-family:Arial;font-size:8px;letter-spacing:1.3px;user-select:none}.canvas-wrap #guides .baseline-text{fill:#c98376}.canvas-wrap #guides .sideguide{stroke:#e3e6e9}.canvas-hint{pointer-events:none;position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px;white-space:nowrap;color:#9aa2ac;font-size:12px}.hint-scribble{font-family:Georgia,serif;font-size:85px;font-style:italic;letter-spacing:-7px;color:#d6dbe0;line-height:1}.canvas-hint small{font-size:10px;color:#a6adb5}.canvas-footer{display:flex;align-items:center;gap:15px;border-top:1px solid #e6e9ec;padding:12px 20px;font-size:10px;color:#77818e;min-height:54px}.checkbox{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.5;color:#626d7a;cursor:pointer}.checkbox input{accent-color:#e94b35;width:13px;height:13px;flex-shrink:0;margin:0}.next-letter{margin-left:auto;font-size:11px;font-weight:700;white-space:nowrap;color:#353f4b;padding:6px}.next-letter span{margin-left:9px}.tools-panel{padding:21px 18px;min-width:0}.tool-tag{color:#949ca6;font-size:8px;letter-spacing:1px}.tool-selector{display:flex;gap:6px;margin-bottom:25px}.tool-selector button{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:9px;height:64px;border:1px solid #e4e7eb;border-radius:6px;padding:10px 5px;color:#7d8792}.tool-selector button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-selector button.active{background:#202833;color:white;border-color:#202833}.range-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#616c79;margin-bottom:12px}.range-label output{font-size:10px;color:#7b8692}input[type=range]{width:100%;height:4px;background:#e4e7eb;accent-color:#e94b35;cursor:pointer;margin:0 0 10px;display:block}input[type=range]::-webkit-slider-thumb{height:12px;width:12px}.stroke-sample{height:33px;display:flex;align-items:center;margin-bottom:8px}.stroke-sample span{display:block;width:100%;height:12px;background:#252b34;border-radius:50px}.tool-divider{height:1px;background:#e8ebee;margin:17px 0}.tool-caption{font-size:10px;line-height:1.6;color:#7f8893;margin:4px 0 0}.field-label{display:block;margin-bottom:10px}select{display:block;width:100%;font-size:12px;padding:10px;border:1px solid #d9dee3;border-radius:5px;color:#404b58;background:#fafbfc;margin-bottom:10px}.fallback-label{margin-top:9px;font-size:10px}.font-settings{border-top:1px solid #e6e9ec;padding-top:16px;margin-top:17px}.font-settings summary{cursor:pointer;display:flex;justify-content:space-between;font-size:11px;font-weight:600;list-style:none;margin-bottom:5px}.font-settings[open] summary{margin-bottom:18px}.font-settings .range-label{margin-top:18px}.preview-panel{margin-top:18px;padding:24px 27px 16px;transition:background .2s,color .2s}.preview-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.preview-header .eyebrow{margin-bottom:7px}.preview-header h2{font-size:23px;letter-spacing:-.9px}.preview-actions{display:flex;align-items:center;gap:17px}.preview-actions label{font-size:10px;color:#7f8893;white-space:nowrap}.preview-actions output{margin-left:7px;color:#343f4b}.preview-actions input{width:90px;margin:0}.invert{width:31px;height:31px;border-radius:5px;border:1px solid #dce1e6;font-size:13px;letter-spacing:-1px}#preview-text{width:100%;background:none;border:0;resize:vertical;min-height:130px;padding:25px 0 5px;line-height:1.45;font-family:FontBuilderLive,Arial,sans-serif;font-size:52px;color:inherit;outline:none}#preview-text:focus{box-shadow:inset 0 -1px #e94b35}.preview-bottom{display:flex;justify-content:space-between;align-items:center;color:#788491;font-size:10px}.preview-bottom .status-dot{margin-right:7px;vertical-align:middle;margin-top:0}.preview-panel.dark{background:#202833;color:#fff;border-color:#202833}.preview-panel.dark .invert{color:white;border-color:#687381}.preview-panel.dark output{color:#fff}.footer{display:flex;justify-content:space-between;font-size:10px;color:#7c8692;padding:22px 0 28px;gap:15px}.footer i{font-style:normal;margin:0 9px;color:#a2aab3}dialog{max-width:550px;width:calc(100% - 32px);max-height:90dvh;border:1px solid #d9dfe5;background:#fff;padding:28px;border-radius:14px;box-shadow:0 18px 80px #17223533;color:#26303b}dialog::backdrop{background:#17202e66;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:20px}.dialog-top .eyebrow{margin:0;font-size:9px}.close{font-size:25px;color:#7a8694;min-height:32px;min-width:32px}dialog h2{font-size:33px;letter-spacing:-1.5px;line-height:1.15;margin-bottom:14px}dialog p{font-size:13px;color:#75818e;line-height:1.7}.export-specimen{padding:25px 12px;text-align:center;background:#f3f5f7;font:52px FontBuilderLive,Arial,sans-serif;border-radius:8px;margin:22px 0 0;overflow-wrap:anywhere}.export-details{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#85909c;padding:15px 0 22px}.dialog-note{font-size:11px!important;text-align:center}.install-tabs{display:flex;padding:4px;background:#f0f3f5;border-radius:7px;gap:3px;margin:22px 0}.install-tabs button{padding:10px 7px;font-size:11px;flex:1;border-radius:5px;white-space:nowrap}.install-tabs .active{background:white;box-shadow:0 1px 4px #00000015;color:#d7412c}.install-step{display:flex;gap:15px;margin:20px 0}.install-step>span{background:#fff0ec;color:#d7412c;border-radius:50%;font-size:12px;display:flex;justify-content:center;align-items:center;width:28px;height:28px;flex-shrink:0}.install-step h3{font-size:13px;margin:4px 0 7px}.install-step p{margin:0;font-size:12px}.install-note{font-size:11px;line-height:1.7;background:#f1f4f6;border:1px solid #e2e7ec;padding:14px;border-radius:7px;color:#5e6b79}.install-source{color:#d7412c;font-size:11px}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.confirm-actions .outline{padding:12px 20px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#202833;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 4px 20px #00000022;opacity:0;pointer-events:none;transition:.2s;z-index:9;font-size:12px;max-width:90%;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.loading{position:fixed;inset:0;background:#f4f5f6;display:flex;align-items:center;justify-content:center;font-size:16px;z-index:20}.loading.hidden{display:none}
@media(min-width:1400px){.workspace{grid-template-columns:240px minmax(350px,1fr) 260px}.alphabet-panel{padding:24px 20px}.glyph-grid{gap:8px}.canvas-wrap svg{max-height:610px}.tools-panel{padding:24px 22px}}
@media(max-width:1150px){.studio-tag,.top-divider,.save-status{display:none}.workspace{grid-template-columns:174px minmax(280px,1fr) 210px;gap:12px}.tools-panel{padding:19px 14px}.alphabet-panel{padding:20px 12px}.glyph-grid{gap:5px}.glyph-button{font-size:18px}.canvas-footer{gap:11px;padding:12px}#stroke-count{display:none}.editor-header{padding:20px 15px}.editor-header h2 span{display:none}.header-actions{gap:20px}.canvas-wrap svg{max-height:none}}
@media(max-width:900px){.topbar{height:70px;padding:0 22px}.intro{padding:28px 0 25px}main{padding:0 22px}.intro .eyebrow{font-size:9px}.intro h1{font-size:41px}.project-name{width:195px}.workspace{grid-template-columns:minmax(300px,1fr) 205px}.alphabet-panel{grid-column:1/-1;padding:14px 16px;display:grid;grid-template-columns:155px 1fr;gap:0 20px}.alphabet-panel .panel-heading{margin:0 0 6px;grid-column:1;grid-row:1}.alphabet-panel .progress{grid-row:2;grid-column:1;margin:0}.alphabet-panel .tabs{grid-column:1;grid-row:3;margin:8px 0 0}.glyph-grid{grid-column:2;grid-row:1/4;display:flex;gap:6px;overflow-x:auto;padding:2px 0 7px;align-items:center}.glyph-button{width:44px;min-width:44px;height:49px}.alphabet-footer{display:none}.project-actions{grid-column:2;margin:2px 0 0;padding:0;border:0;justify-content:flex-start;gap:20px}.new-project{grid-column:1;grid-row:4;font-size:10px;padding:5px 0}.editor-panel{grid-column:1}.tools-panel{grid-column:2}.editor-header h2 span{display:none}.preview-header h2{font-size:22px}.preview-panel{padding:21px}.canvas-wrap{min-height:350px}.canvas-wrap svg{max-height:540px}#preview-text{font-size:44px}.footer{font-size:9px}}
@media(max-width:600px){.topbar{padding:0 16px;height:64px;gap:10px}.brand{font-size:20px;gap:8px}.brandmark{width:30px;height:30px;font-size:22px;line-height:33px;border-radius:7px;padding-left:7px}.brandmark span{font-size:12px;right:5px;bottom:-3px}.header-actions{gap:10px}.header-actions .quiet{font-size:0}.header-actions .quiet span{font-size:17px;margin:0;display:inline-block;border:1px solid #d9dfe5;border-radius:5px;padding:6px 9px}.header-actions .primary{padding:10px 12px;font-size:11px;gap:9px}main{padding:0 12px}.intro{padding:25px 4px 21px;display:block}.intro .eyebrow{font-size:8px;margin-bottom:10px}.intro h1{font-size:38px;letter-spacing:-1.8px}.intro-copy{font-size:11px;margin-top:10px}.project-name{margin-top:21px;width:100%;display:grid;grid-template-columns:83px 1fr;align-items:center;gap:0}.project-name label{font-size:8px}.project-name input{font-size:15px;padding-bottom:7px}.name-hint{display:none}.workspace{grid-template-columns:1fr;gap:12px}.alphabet-panel{grid-column:1;padding:12px;grid-template-columns:130px 1fr;gap:0 12px}.alphabet-panel h2{font-size:12px}.count{font-size:9px}.alphabet-panel .tabs button{height:28px;font-size:10px}.glyph-button{min-width:39px;height:44px}.project-actions button{font-size:9px;padding:5px 0}.project-actions{gap:16px}.tools-panel{grid-column:1;display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding:16px}.tools-panel>.panel-heading{grid-column:1/-1;margin-bottom:14px}.tool-selector{grid-column:1;grid-row:2/6;margin:0;align-self:start}.tool-selector button{height:62px;padding:9px 3px;font-size:8px}.tools-panel>label[for=brush]{grid-column:2;grid-row:2;font-size:10px;margin:0 0 8px}.tools-panel>#brush{grid-column:2;grid-row:3;align-self:center}.stroke-sample{grid-column:2;grid-row:4;height:25px;margin:5px 0 0}.tools-panel>.tool-divider{grid-column:1/-1;margin:16px 0}.tools-panel>label[for=advance]{grid-column:1/-1}.tools-panel>#advance,.tools-panel>.tool-caption{grid-column:1/-1}.field-label{grid-column:1/-1;margin-bottom:10px}#base-font{grid-column:1}#use-starter{grid-column:2;margin-bottom:10px;font-size:9px;padding:7px}#full-starter,.fallback-label,.font-settings{grid-column:1/-1}.font-settings .range-label{font-size:11px}.editor-panel{grid-column:1}.editor-header{padding:16px}.editor-header h2{font-size:15px}.editor-header h2 span{display:inline;font-size:8px;margin-left:7px}.canvas-wrap{min-height:0;flex:none}.canvas-wrap svg{width:100%;max-height:none}.canvas-footer{padding:10px 13px;gap:14px}.checkbox{font-size:10px}.canvas-footer .checkbox{gap:5px}.next-letter{font-size:10px}.preview-panel{padding:19px 17px 13px;margin-top:14px}.preview-actions{gap:10px}.preview-actions input{width:55px}.preview-actions label{display:none}.preview-header .eyebrow{font-size:7px;letter-spacing:1px}.preview-header h2{font-size:23px}#preview-text{font-size:35px;min-height:130px;padding-top:22px}.preview-bottom{font-size:8px;gap:8px}.preview-bottom .text-button{font-size:9px}.footer{display:block;padding:20px 5px 24px;line-height:2;font-size:9px}.footer span{display:block}.footer i{margin:0 4px}dialog{padding:22px}dialog h2{font-size:29px}.install-tabs button{font-size:9px;padding:10px 4px}.canvas-hint{font-size:10px}.hint-scribble{font-size:70px}.canvas-hint small{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
