.handwrite-workbench{--background:#fff;--foreground:#1c2636;--muted:#edf1f6;--muted-foreground:#5f6a7a;--primary:#3155b7;--primary-foreground:#fff;--border:#dce2ea;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.handwrite-workbench *{box-sizing:border-box}.handwrite-workbench{height:100%;color:var(--foreground);background:#f5f7fa;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px}.handwrite-workbench button,.handwrite-workbench input,.handwrite-workbench textarea{font:inherit}.handwrite-workbench button{cursor:pointer;touch-action:manipulation;justify-content:center;align-items:center;gap:8px;transition:background .16s,color .16s;display:inline-flex}.handwrite-workbench button:disabled{cursor:default;opacity:.42}:is(.handwrite-workbench button:focus-visible,.handwrite-workbench input:focus-visible,.handwrite-workbench textarea:focus-visible){outline-offset:2px;outline:3px solid #3155b745}.handwrite-workbench ::selection{color:#3155b7;background:#d9e6ff}.handwrite-workbench input,.handwrite-workbench textarea{caret-color:var(--primary)}.handwrite-workbench h1,.handwrite-workbench h2,.handwrite-workbench h3,.handwrite-workbench p{margin:0}.handwrite-workbench h2{font-size:18px;font-weight:650}.handwrite-workbench h3{margin-bottom:12px;font-size:16px;font-weight:600}.handwrite-workbench small{font-size:12px}.handwrite-workbench button svg{flex:none}.handwrite-workbench input:not(.file-input):not([type=range]):not([type=checkbox]),.handwrite-workbench textarea{border:1px solid var(--border);width:100%;color:var(--foreground);background:#fff;border-radius:8px;min-height:42px;padding:10px 12px;line-height:1.4}.handwrite-workbench input[type=number]{font-variant-numeric:tabular-nums}.handwrite-workbench textarea{resize:vertical;min-height:150px}.handwrite-workbench input:hover,.handwrite-workbench textarea:hover{border-color:#b0bbc9}.handwrite-workbench .file-input{display:none}.handwrite-workbench.app-shell{flex-direction:column;height:100dvh;display:flex;position:relative;overflow:hidden}.handwrite-workbench .app-header{border-bottom:1px solid var(--border);background:#fff;flex:none;justify-content:space-between;align-items:center;height:68px;padding:0 28px;display:flex}.handwrite-workbench .brand{align-items:center;gap:12px;display:flex}.handwrite-workbench .app-header.with-account{grid-template-columns:minmax(0,1fr) auto auto;gap:20px;display:grid}.handwrite-workbench .hub-brand{border-radius:8px;flex:none;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.handwrite-workbench .hub-brand:focus-visible{outline-offset:2px;outline:3px solid #3155b745}.handwrite-workbench .header-account{justify-self:end;min-width:0}.handwrite-workbench .header-account>button,.handwrite-workbench .header-account>details>summary{font-size:14px}.handwrite-workbench .brand-icon{background:var(--primary);color:#fff;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.handwrite-workbench .brand h1{letter-spacing:-.02em;font-size:20px;font-weight:650}.handwrite-workbench .header-actions{align-items:center;gap:8px;display:flex}.handwrite-workbench .save-status{color:var(--muted-foreground);margin-right:8px;font-size:12px}.handwrite-workbench .primary,.handwrite-workbench .secondary{border:0;border-radius:8px;min-height:44px;padding:11px 16px;font-size:14px;font-weight:550}.handwrite-workbench .primary{background:var(--primary);color:#fff}.handwrite-workbench .primary:hover:not(:disabled){background:#3155b7}.handwrite-workbench .secondary{color:#30405a;background:#edf1f8}.handwrite-workbench .secondary:hover:not(:disabled){background:#e0e7f2}.handwrite-workbench .compact{min-height:38px;padding:8px 15px}.handwrite-workbench .full{width:100%;margin-top:14px}.handwrite-workbench .text-button{min-height:36px;color:var(--primary);background:0 0;border:0;padding:6px 4px;font-size:14px}.handwrite-workbench .text-button:hover:not(:disabled){color:#3155b7;background:#edf3ff}.handwrite-workbench .icon-button{color:#536078;background:0 0;border:0;border-radius:7px;width:36px;min-width:36px;height:36px;padding:0}.handwrite-workbench .icon-button:hover:not(:disabled){color:#3155b7;background:#e8edf5}.handwrite-workbench.startup{height:100dvh;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.handwrite-workbench .startup h1{color:var(--foreground);font-size:20px}.handwrite-workbench .workspace{flex:1;grid-template-columns:minmax(0,1fr) 380px;min-height:0;display:grid}.handwrite-workbench .document-area{flex-direction:column;min-width:0;min-height:0;display:flex}.handwrite-workbench .document-toolbar{border-bottom:1px solid var(--border);background:#fff;flex:none;justify-content:space-between;align-items:center;gap:16px;height:58px;padding:0 22px;display:flex}.handwrite-workbench .document-title{align-items:center;gap:10px;min-width:0;font-size:14px;display:flex}.handwrite-workbench .document-title span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.handwrite-workbench .document-copy{min-width:0}.handwrite-workbench .document-copy>span{display:block}.handwrite-workbench .mobile-document-actions,.handwrite-workbench .mobile-document-meta,.handwrite-workbench .mobile-full-preview-button,.handwrite-workbench .mobile-full-actions{display:none}.handwrite-workbench .document-title svg{color:#69768c;flex:none}.handwrite-workbench .preview-tools{border-bottom:1px solid var(--border);background:#f5f7fa;flex:none;justify-content:space-between;align-items:center;height:52px;padding:0 22px;display:flex}.handwrite-workbench .tool-group,.handwrite-workbench .page-control{align-items:center;gap:3px;display:flex}.handwrite-workbench .page-control span{font-variant-numeric:tabular-nums;text-align:center;color:#536078;min-width:40px;font-size:13px}.handwrite-workbench .tool-divider{background:#dce2eb;width:1px;height:20px;margin:0 8px}.handwrite-workbench .zoom-value{color:#536078;font-variant-numeric:tabular-nums;background:0 0;border:0;min-width:50px;height:36px;font-size:12px}.handwrite-workbench .preview-scroll{overscroll-behavior:contain;scrollbar-color:#bdc6d3 transparent;background:#e9edf3;flex:1;min-height:0;overflow:auto}.handwrite-workbench .paper-wrap{justify-content:center;width:max-content;min-width:100%;padding:24px 20px 40px;display:flex}.handwrite-workbench .paper{-webkit-user-select:none;user-select:none;background:#fff;flex:none;position:relative;overflow:hidden;box-shadow:0 5px 25px #26344a15}.handwrite-workbench .paper.drawing{touch-action:none;cursor:crosshair}.handwrite-workbench .document-background{object-fit:fill;width:100%;height:100%;display:block}.handwrite-workbench .handwriting-layer{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.handwrite-workbench .cell-hit{color:#0000;background:0 0;border:1px solid #0000;border-radius:0;min-width:0;min-height:0;padding:0;position:absolute}.handwrite-workbench .cell-hit.visible{background:#3155b703;border-color:#3155b76b}.handwrite-workbench .cell-hit:hover:not(:disabled){border-color:var(--primary);background:#3155b712}.handwrite-workbench .cell-hit.selected{border:2px solid var(--primary);z-index:2;background:#3155b71b}.handwrite-workbench .cell-hit.excluded.visible{background:#b822450a;border:1px dashed #bb6977}.handwrite-workbench .cell-hit:disabled{opacity:1}.handwrite-workbench .drawn-region{border:2px dashed var(--primary);pointer-events:none;z-index:4;background:#3155b71c;position:absolute}.handwrite-workbench .document-footer{color:#58657a;border-top:1px solid var(--border);background:#fff;flex:none;justify-content:space-between;align-items:center;height:44px;padding:0 22px;font-size:12px;display:flex}.handwrite-workbench .legend-square{background:#e8efff;border:1px solid #3155b782;width:9px;height:9px;margin-right:4px;display:inline-block}.handwrite-workbench .document-footer label{align-items:center;gap:7px;display:flex}.handwrite-workbench .control-area{border-left:1px solid var(--border);background:#fff;flex-direction:column;min-height:0;display:flex;overflow:hidden}.handwrite-workbench .import-strip{flex:none;padding:18px 20px 14px}.handwrite-workbench .import-intro{margin-bottom:10px;font-size:14px;font-weight:600;line-height:1.5}.handwrite-workbench .import-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.handwrite-workbench .import-button{text-align:left;background:#f5f7fb;border:1px dashed #c7d2e5;border-radius:10px;justify-content:flex-start;gap:8px;width:100%;padding:12px 10px}.handwrite-workbench .import-button:hover:not(:disabled){background:#edf3ff;border-color:#3155b766}.handwrite-workbench .import-button>span:nth-child(2){flex:1;min-width:0}.handwrite-workbench .import-icon{color:var(--primary)}.handwrite-workbench .import-button strong{font-size:14px;font-weight:600;display:block}.handwrite-workbench .import-button small{color:var(--muted-foreground);margin-top:5px;display:block}.handwrite-workbench .work-tabs{flex-direction:column;flex:1;gap:0;min-height:0;display:flex}.handwrite-workbench .main-tabs{border-bottom:1px solid var(--border);background:#fff;border-radius:0;flex:none;gap:0;width:100%;height:52px;min-height:52px;padding:0 10px;display:flex}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger]{color:#5e6b80;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;gap:5px;min-width:0;height:52px;padding:0 7px;font-size:14px;display:flex;box-shadow:none!important}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger][data-active]{color:var(--primary);border-bottom-color:var(--primary);background:0 0}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger]:hover{background:#f7f9fd}.handwrite-workbench .control-content{scrollbar-width:thin;scrollbar-color:#c7cfda transparent;flex:1;min-height:0;padding:22px;overflow:auto}.handwrite-workbench .controls-fieldset{border:0;min-width:0;margin:0;padding:0}.handwrite-workbench .panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.handwrite-workbench .panel-heading>span{color:#69748a;white-space:nowrap;font-size:12px}.handwrite-workbench .scope-field{margin-bottom:18px}.handwrite-workbench .scope-field>label{color:#536077;margin-bottom:8px;font-size:14px;display:block}.handwrite-workbench .scope-field [data-slot=select-trigger],.handwrite-workbench .format-fields [data-slot=select-trigger]{border-color:var(--border);width:100%;height:42px;box-shadow:none;background:#fff;font-size:14px}.handwrite-workbench .source-tabs{background:#edf1f7;border-radius:8px;width:100%;height:40px;margin-bottom:10px;padding:3px;display:flex}.handwrite-workbench .source-tabs>[data-slot=tabs-trigger]{background:0 0;border:0;border-radius:6px;flex:1;padding:4px 8px;font-size:14px}.handwrite-workbench .source-tabs>[data-active]{color:#3155b7;background:#fff}.handwrite-workbench .format-fields{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 18px;display:grid}.handwrite-workbench .format-fields label{color:#536077;flex-direction:column;gap:8px;font-size:14px;display:flex}.handwrite-workbench .rule-label{color:#536077;justify-content:space-between;align-items:center;font-size:14px;display:flex}.handwrite-workbench .digit-pattern{scrollbar-width:thin;align-items:center;gap:9px;margin:10px 0 20px;padding:4px 0;display:flex;overflow:auto}.handwrite-workbench .digit-slot{background:#f1f4f9;border:1px solid #dce4ef;border-radius:8px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:3px;min-width:66px;height:68px;display:flex;position:relative}.handwrite-workbench .digit-slot>span{color:#3a4c68;font-variant-numeric:tabular-nums;font-size:20px}.handwrite-workbench .digit-slot small{color:#536077;font-size:12px}.handwrite-workbench .digit-slot button{color:#758199;background:#fff;border:1px solid #dce4ef;border-radius:50%;width:22px;min-width:0;height:22px;min-height:0;padding:0;position:absolute;top:-3px;right:-3px}.handwrite-workbench .decimal-slot{color:#69768b;align-self:center;margin-top:4px;font-size:36px}.handwrite-workbench .switch-line{justify-content:space-between;align-items:center;gap:12px;margin:20px 0;font-size:14px;display:flex}.handwrite-workbench .number-example{border-top:1px solid #e5eaf1;flex-direction:column;gap:9px;margin-top:19px;padding-top:18px;display:flex}.handwrite-workbench .number-example span{color:#69758a;font-size:12px}.handwrite-workbench .number-example strong{color:#314c79;font-variant-numeric:tabular-nums;font-size:18px;font-weight:500}.handwrite-workbench .help{color:#647085;margin:12px 0;font-size:14px;line-height:1.7}.handwrite-workbench .help.small{font-size:12px;line-height:1.7}.handwrite-workbench .text-label{color:#536077;font-size:14px;line-height:1.7;display:block}.handwrite-workbench .text-label textarea{margin-top:9px}.handwrite-workbench .section-divider{background:#e6eaf1;height:1px;margin:26px 0 22px}.handwrite-workbench .notice,.handwrite-workbench .busy-message{color:#3155b7;background:#eef4ff;border-radius:8px;align-items:flex-start;gap:9px;margin-bottom:20px;padding:12px;font-size:13px;line-height:1.6;display:flex}.handwrite-workbench .notice>span{flex:1}.handwrite-workbench .notice.error{color:#a5243e;background:#fff0f1}.handwrite-workbench .dismiss{color:inherit;background:0 0;border:0;min-width:22px;height:24px;padding:0}.handwrite-workbench .busy-message{background:#f1f4fa;align-items:center}.handwrite-workbench .spinner{flex:none;animation:1s linear infinite handwrite-spin}.handwrite-workbench .current-handwriting{background:#f2f6fd;border-radius:10px;align-items:center;gap:14px;padding:16px;display:flex}.handwrite-workbench .current-handwriting>svg{color:#3155b7}.handwrite-workbench .current-handwriting>div{flex:1}.handwrite-workbench .current-handwriting strong{font-size:14px;display:block}.handwrite-workbench .current-handwriting small{color:#62718a;margin-top:5px;display:block}.handwrite-workbench .digit-picker{grid-template-columns:repeat(10,1fr);gap:2px;margin:22px 0 12px;display:grid}.handwrite-workbench .digit-picker button{color:#566781;background:0 0;border:0;border-radius:6px;height:36px;font-size:16px}.handwrite-workbench .digit-picker button.active{color:#fff;background:#3155b7}.handwrite-workbench .glyph-grid{grid-template-columns:repeat(5,1fr);gap:7px;display:grid}.handwrite-workbench .glyph-grid>div{background:#f6f8fb;border-radius:8px;flex-direction:column;align-items:center;gap:10px;padding:12px 5px 8px;display:flex}.handwrite-workbench .glyph-grid img{object-fit:contain;width:32px;height:42px}.handwrite-workbench .glyph-grid span{color:#748095;font-size:12px}.handwrite-workbench .sample-image{object-fit:contain;background:#f6f8fb;border-radius:8px;width:100%;max-height:180px;margin-top:16px;display:block}.handwrite-workbench .reset-default{margin-top:18px}.handwrite-workbench .range-control{color:#4b5b72;flex-direction:column;gap:15px;margin:22px 0 27px;font-size:14px;display:flex}.handwrite-workbench .range-control>span{justify-content:space-between;gap:12px;display:flex}.handwrite-workbench .range-control output{color:#3155b7;font-variant-numeric:tabular-nums;font-size:13px}.handwrite-workbench .ink-colors{align-items:center;gap:12px;margin:24px 0;font-size:14px;display:flex}.handwrite-workbench .ink-colors>span{flex:1}.handwrite-workbench .ink-colors button{color:#fff;border:3px solid #0000;border-radius:50%;width:30px;height:30px;padding:0}.handwrite-workbench .ink-colors button.active{outline-offset:3px;outline:2px solid #3155b7}.handwrite-workbench .inline-input{gap:8px;margin-top:8px;display:flex}.handwrite-workbench .inline-input button{flex:none}.handwrite-workbench .compact-fields{gap:14px 10px;margin-top:20px}.handwrite-workbench .selection-hint{color:#657188;align-items:flex-start;gap:12px;padding:18px 0;font-size:14px;line-height:1.8;display:flex}.handwrite-workbench .selection-hint svg{flex:none;margin-top:3px}.handwrite-workbench .region-fields{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.handwrite-workbench .export-summary{flex-direction:column;align-items:flex-start;gap:14px;padding:12px 0 20px;display:flex}.handwrite-workbench .export-summary svg{color:#6980a7}.handwrite-workbench .export-summary strong{overflow-wrap:anywhere;font-size:16px;line-height:1.5}.handwrite-workbench .export-summary span{color:#63728a;font-size:14px}@media (min-width:1500px){.handwrite-workbench .workspace{grid-template-columns:minmax(0,1fr) 400px}.handwrite-workbench .control-content{padding:26px}}@media (max-width:760px),(max-height:500px) and (pointer:coarse){.handwrite-workbench .app-header{height:58px;padding:0 14px}.handwrite-workbench .brand{gap:9px}.handwrite-workbench .app-header.with-account{grid-template-rows:56px;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;height:56px}.handwrite-workbench .with-account .header-account{grid-area:1/2}.handwrite-workbench .with-account .header-actions{display:none}.handwrite-workbench .with-account .save-status{margin-right:auto;display:block}.handwrite-workbench .hub-brand{min-width:36px}.handwrite-workbench .hub-brand img{width:32px;height:32px}.handwrite-workbench .brand-icon{border-radius:8px;width:30px;height:30px}.handwrite-workbench .brand-icon svg{width:18px}.handwrite-workbench .brand h1{font-size:17px}.handwrite-workbench .header-actions{gap:1px}.handwrite-workbench .header-actions>.icon-button{width:34px;min-width:34px}.handwrite-workbench .save-status{display:none}.handwrite-workbench .compact{min-height:36px;padding:8px 12px;font-size:13px}.handwrite-workbench .workspace{padding-bottom:calc(64px + env(safe-area-inset-bottom));flex-direction:column;display:flex}.handwrite-workbench .document-area{flex:none;height:56px}.handwrite-workbench[data-mobile-preview=closed] .preview-tools,.handwrite-workbench[data-mobile-preview=closed] .preview-scroll,.handwrite-workbench[data-mobile-preview=closed] .document-footer{display:none}.handwrite-workbench[data-mobile-preview=compact] .document-area{height:min(34dvh,280px)}.handwrite-workbench[data-step=regions][data-mobile-preview=compact] .document-area{height:min(40dvh,320px)}.handwrite-workbench[data-mobile-preview=full] .workspace{padding-bottom:0}.handwrite-workbench[data-mobile-preview=full] .document-area{flex:1;height:auto}.handwrite-workbench[data-mobile-preview=full] .control-area,.handwrite-workbench[data-mobile-preview=full] .mobile-full-preview-button{display:none}.handwrite-workbench[data-mobile-preview=full] .mobile-full-actions{padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.handwrite-workbench .mobile-drawing-hint{color:#30405a;background:#edf1f8;padding:8px 14px;font-size:13px;line-height:1.5}.handwrite-workbench .document-toolbar{gap:8px;height:56px;padding:0 14px}.handwrite-workbench .document-title{gap:7px;font-size:12px}.handwrite-workbench .mobile-document-meta{color:var(--muted-foreground);white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:11px;display:block;overflow:hidden}.handwrite-workbench .mobile-document-actions{flex:none;align-items:center;gap:4px;display:flex}.handwrite-workbench .mobile-project-menu{z-index:70;position:relative}.handwrite-workbench .mobile-project-menu>summary{cursor:pointer;border-radius:8px;place-items:center;width:44px;height:44px;list-style:none;display:grid}.handwrite-workbench .mobile-project-menu>summary::-webkit-details-marker{display:none}.handwrite-workbench .mobile-project-menu>summary:focus-visible{outline:3px solid #3155b745}.handwrite-workbench .mobile-project-menu>div{border:1px solid var(--border);background:#fff;border-radius:12px;width:220px;padding:8px;position:absolute;top:48px;right:0;box-shadow:0 10px 28px #26344a15}.handwrite-workbench .mobile-project-menu p{color:var(--muted-foreground);padding:8px;font-size:12px}.handwrite-workbench .mobile-project-menu button{background:0 0;border:0;justify-content:flex-start;width:100%;min-height:44px;padding:10px;font-size:14px}.handwrite-workbench .desktop-document-action,.handwrite-workbench .desktop-preview-action{display:none}.handwrite-workbench .mobile-full-preview-button{display:inline-flex}.handwrite-workbench .document-title svg{width:15px}.handwrite-workbench .document-toolbar .text-button{min-width:72px;font-size:12px}.handwrite-workbench .preview-tools{height:44px;padding:0 6px}.handwrite-workbench .tool-divider{margin:0 3px}.handwrite-workbench .tool-group{gap:0}.handwrite-workbench .icon-button{width:44px;min-width:44px;height:44px}.handwrite-workbench .page-control{gap:0}.handwrite-workbench .preview-scroll{min-height:0}.handwrite-workbench .paper-wrap{padding:14px 20px 24px}.handwrite-workbench .document-footer{height:34px;padding:0 14px;font-size:12px}.handwrite-workbench .document-footer label{gap:5px}.handwrite-workbench .document-footer [data-slot=switch]{transform:scale(.85)}.handwrite-workbench .control-area{border-left:0;border-top:1px solid var(--border);flex:1}.handwrite-workbench .import-strip{padding:12px 14px}.handwrite-workbench .import-intro{display:none}.handwrite-workbench .import-button{min-height:44px;padding:8px 10px}.handwrite-workbench .import-button small{display:none}.handwrite-workbench .import-icon svg{width:18px;height:18px}.handwrite-workbench .main-tabs{z-index:60;padding:0 8px env(safe-area-inset-bottom);height:calc(64px + env(safe-area-inset-bottom));border-top:1px solid var(--border);border-bottom:0;min-height:64px;position:absolute;bottom:0;left:0}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger]{border-top:2px solid #0000;border-bottom:0;flex-direction:column;gap:5px;height:64px;padding:0 5px;font-size:12px}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger][data-active]{border-top-color:var(--primary);background:#f5f7fb}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger] svg{width:19px;height:19px}.handwrite-workbench .control-content{padding:18px 20px 24px;scroll-padding-block:20px 100px}.handwrite-workbench .handwriting-setup+.handwriting-review{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}.handwrite-workbench .panel-heading{margin-bottom:18px}.handwrite-workbench .panel-heading h2{font-size:17px}.handwrite-workbench .format-fields{margin-top:13px}.handwrite-workbench .primary,.handwrite-workbench .secondary{min-height:44px}.handwrite-workbench .digit-slot button{width:24px;height:24px}.handwrite-workbench .digit-picker{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.handwrite-workbench .digit-picker button{min-width:44px;height:44px}.handwrite-workbench .glyph-grid img{width:34px;height:45px}.handwrite-workbench .notice{margin-bottom:16px}.handwrite-workbench .tool-group .zoom-value{min-width:44px;height:44px}.handwrite-workbench .help.small{font-size:12px}}@media (max-width:350px){.handwrite-workbench .brand h1{font-size:15px}.handwrite-workbench .brand-icon{display:none}.handwrite-workbench .app-header{padding:0 10px}.handwrite-workbench .main-tabs>[data-slot=tabs-trigger]{flex-direction:column;gap:2px;font-size:12px}.handwrite-workbench .control-content{padding:18px 15px}.handwrite-workbench .import-button{gap:6px;padding:10px 8px}.handwrite-workbench .import-icon svg{width:18px}.handwrite-workbench .import-button strong{font-size:12px}.handwrite-workbench .import-button small{font-size:10px}.handwrite-workbench .preview-tools{padding:0 6px}.handwrite-workbench .document-footer{padding:0 10px}}@media (prefers-reduced-motion:reduce){.handwrite-workbench *{transition-duration:.01ms!important;animation-duration:.01ms!important}}.handwrite-workbench .glyph-grid>button{background:#f6f8fb;border:0;border-radius:8px;flex-direction:column;align-items:center;gap:10px;padding:12px 5px 8px;display:flex}.handwrite-workbench .glyph-grid>button>span{color:#65738b;align-items:center;gap:6px;font-size:12px;display:flex}.handwrite-workbench .glyph-grid>button.variant-off{opacity:.35}.handwrite-workbench .glyph-grid>button.variant-on>span>svg{color:var(--primary)}.handwrite-workbench .glyph-grid>button:hover{background:#eaf0fb}.handwrite-workbench .download-link{justify-content:center;align-items:center;gap:8px;text-decoration:none;display:flex}.handwrite-workbench.embedded{height:780px;max-height:90dvh}.handwrite-workbench select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--foreground);font:inherit;background:#fff;border-radius:8px;padding:8px 10px}.handwrite-workbench input[type=range]{width:100%;min-height:36px;accent-color:var(--primary);cursor:pointer;padding:0}.handwrite-workbench .hub-back{color:var(--muted-foreground);background:0 0;border:0;border-radius:8px;place-items:center;min-width:36px;min-height:44px;padding:0;display:grid}.handwrite-workbench .handwrite-switch{-webkit-appearance:none;appearance:none;cursor:pointer;background:#cad2df;border-radius:20px;width:34px;height:20px;position:relative}.handwrite-workbench .handwrite-switch:checked{background:var(--primary)}.handwrite-workbench .handwrite-switch:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;position:absolute;top:2px;left:2px}.handwrite-workbench .handwrite-switch:checked:after{left:16px}@media (max-width:760px),(max-height:500px) and (pointer:coarse){.handwrite-workbench.embedded{height:min(860px,100dvh - 24px);max-height:none}}@keyframes handwrite-spin{to{transform:rotate(360deg)}}@media (max-width:760px){.handwrite-workbench[data-mobile-preview=compact] .document-area{min-height:274px}}@media (max-width:760px) and (max-height:600px){.handwrite-workbench.app-shell:not([data-mobile-preview=full]){height:auto;min-height:100dvh;overflow:visible}.handwrite-workbench:not([data-mobile-preview=full]) .workspace{flex:none}.handwrite-workbench[data-mobile-preview=compact] .document-area{height:274px}.handwrite-workbench:not([data-mobile-preview=full]) .control-area{flex:none;overflow:visible}.handwrite-workbench:not([data-mobile-preview=full]) .work-tabs{flex:none}.handwrite-workbench:not([data-mobile-preview=full]) .control-content{flex:none;overflow:visible}.handwrite-workbench:not([data-mobile-preview=full]) .main-tabs{position:fixed}}
