@font-face{font-family:Geist;src:url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--muted:oklch(97% .004 250);--muted-foreground:oklch(52% .012 250);--border:oklch(91% .008 250);--input:oklch(91% .008 250);--primary:oklch(29% .025 250);--primary-foreground:oklch(98.5% .002 250);--ring:oklch(68% .025 250);--radius:.625rem;font-family:Geist,ui-sans-serif,system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--background:oklch(14.5% .008 250);--foreground:oklch(98.5% .002 250);--card:oklch(20.5% .008 250);--muted:oklch(26.9% .012 250);--muted-foreground:oklch(70.8% .013 250);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--primary:oklch(92.2% .004 250);--primary-foreground:oklch(20.5% .01 250);--ring:oklch(55.6% .02 250)}}*{box-sizing:border-box}body{background:var(--background);min-width:320px;min-height:100vh;color:var(--foreground);margin:0}button,input,select,textarea{font:inherit}.page{flex-direction:column;justify-content:center;align-items:center;width:min(100% - 32px,420px);min-height:100svh;margin-inline:auto;padding-block:40px;display:flex}.wordmark{letter-spacing:-.09em;margin:0 0 30px;font-size:clamp(64px,14vw,92px);font-weight:570;line-height:.95}.converter{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);width:100%;padding:20px;box-shadow:0 1px 2px oklch(0% 0 0/.04)}.dropzone{border:1px dashed var(--input);border-radius:calc(var(--radius) - 2px);background:var(--background);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;min-height:176px;transition:border-color .15s,background-color .15s;display:flex;position:relative}.dropzone:hover,.dropzone.is-over{border-color:var(--ring);background:var(--muted)}.dropzone:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.dropzone input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.upload-icon{border:1px solid var(--border);background:var(--background);width:38px;height:38px;color:var(--muted-foreground);border-radius:10px;place-items:center;margin-bottom:12px;font-size:21px;line-height:1;display:grid}.drop-title{font-size:14px;font-weight:550}.drop-hint{color:var(--muted-foreground);margin-top:5px;font-size:12px}.file-row{border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.file-symbol{color:var(--muted-foreground);font-size:20px}.file-details{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.file-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:520;overflow:hidden}.file-size{color:var(--muted-foreground);font-size:11px}.options{flex-direction:column;gap:12px;padding-top:16px;display:flex}.option{color:var(--foreground);justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.option-toggle{cursor:pointer;flex-wrap:wrap}.option-toggle input{accent-color:var(--accent,#4f8cff);cursor:pointer;width:16px;height:16px}.option-hint{opacity:.55;flex-basis:100%;margin-top:-6px;font-size:11px}.segmented{border:1px solid var(--input);border-radius:calc(var(--radius) - 2px);background:var(--muted);flex:none;gap:2px;padding:3px;display:inline-flex}.segment{min-height:27px;color:var(--muted-foreground);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:0 10px;font-size:11px;font-weight:500}.segment:hover{color:var(--foreground)}.segment.is-active{background:var(--background);color:var(--foreground);box-shadow:0 1px 2px oklch(0% 0 0/.12)}.segment:disabled{cursor:not-allowed;opacity:.5}.button{border-radius:calc(var(--radius) - 2px);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 14px;font-size:13px;font-weight:520;transition:background-color .15s,opacity .15s;display:inline-flex}.button-primary{background:var(--primary);width:100%;color:var(--primary-foreground)}.button-primary:hover{opacity:.9}.button-ghost{color:var(--muted-foreground);background:0 0}.button-ghost:hover{background:var(--muted);color:var(--foreground)}.button-small{min-height:30px;padding-inline:9px;font-size:12px}.button:disabled{cursor:not-allowed;opacity:.5}.progress-area{flex-direction:column;gap:8px;display:flex}.progress-copy{color:var(--muted-foreground);font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;font-size:11px;display:flex}.progress-track{background:var(--muted);border-radius:999px;height:5px;overflow:hidden}.progress-value{border-radius:inherit;background:var(--primary);width:0;height:100%;transition:width .18s;display:block}.error{color:oklch(55% .19 27);margin:12px 0 0;font-size:12px;line-height:1.5}.thumbs{scroll-snap-type:x mandatory;gap:10px;padding:14px 2px 4px;display:flex;overflow-x:auto}.thumbs .thumb{scroll-snap-align:start;flex:none;margin:0}.thumbs img{border:1px solid var(--border);background:var(--background);border-radius:6px;width:110px;height:auto;display:block}.thumbs figcaption{color:var(--muted-foreground);text-align:center;white-space:nowrap;margin-top:4px;font-size:10px}.results{flex-direction:column;gap:7px;padding-top:14px;display:flex}.results a{border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);color:var(--foreground);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;text-decoration:none;display:flex}.results a:hover{background:var(--muted)}.results small{color:var(--muted-foreground);font-size:11px}.privacy{color:var(--muted-foreground);text-align:center;margin:14px 0 0;font-size:11px}.repository-link{width:fit-content;color:var(--muted-foreground);margin:10px auto 0;font-size:11px;text-decoration:none;display:block}.repository-link:hover{color:var(--foreground);text-underline-offset:3px;text-decoration:underline}.build-stamp{color:var(--muted-foreground);text-align:center;opacity:.7;margin-top:20px;font-size:10px}.page-wide{justify-content:flex-start;width:min(100% - 32px,1180px);padding-block:24px 48px}.page-wide .wordmark{margin-bottom:14px;font-size:clamp(42px,8vw,64px)}.view-switch{border:1px solid var(--input);background:var(--muted);border-radius:999px;gap:3px;margin-bottom:18px;padding:3px;display:flex}.view-button{min-height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 18px;font-size:12px;font-weight:540}.view-button:hover{color:var(--foreground)}.view-button.is-active{background:var(--background);color:var(--foreground);box-shadow:0 1px 2px oklch(0% 0 0/.12)}.handwriting{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);width:100%;padding:22px;box-shadow:0 1px 2px oklch(0% 0 0/.04)}.hw-topline{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.hw-topline h2,.hw-panel h3{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:590}.hw-topline p,.hw-copy{color:var(--muted-foreground);margin:5px 0 0;font-size:12px;line-height:1.5}.hw-engine{border:1px solid var(--border);color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.06em;border-radius:999px;flex:none;padding:4px 8px;font-size:10px;font-weight:560}.hw-steps{border:1px solid var(--input);border-radius:calc(var(--radius) - 2px);background:var(--muted);grid-template-columns:repeat(4,1fr);gap:6px;margin-top:18px;padding:4px;display:grid}.hw-step{min-width:0;min-height:34px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:530;display:flex}.hw-step span{background:var(--background);border-radius:50%;place-items:center;width:19px;height:19px;font-size:10px;display:grid}.hw-step:hover:not(:disabled){color:var(--foreground)}.hw-step.is-active{background:var(--background);color:var(--foreground);box-shadow:0 1px 2px oklch(0% 0 0/.12)}.hw-step:disabled{cursor:not-allowed;opacity:.45}.hw-panel{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.hw-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.hw-choice-grid-compact{margin-bottom:12px}.hw-choice-card{border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background:var(--background);min-width:0;color:var(--foreground);cursor:pointer;text-align:left;flex-direction:column;align-items:flex-start;gap:5px;padding:12px;display:flex}.hw-choice-card:hover{background:var(--muted)}.hw-choice-card.is-active{border-color:var(--ring);box-shadow:0 0 0 1px var(--ring)}.hw-choice-title{font-size:13px;font-weight:580}.hw-choice-copy{color:var(--muted-foreground);font-size:11px;line-height:1.45}.hw-template-settings{border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background:color-mix(in oklab, var(--muted) 34%, transparent);margin-top:16px;padding:13px}.hw-template-settings h4{margin:0;font-size:13px;font-weight:580}.hw-template-options{flex-direction:column;gap:10px;margin-top:13px;display:flex}.hw-option{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.hw-language-section{border-top:1px solid var(--border);margin-top:13px;padding-top:12px}.hw-language-head{justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:520;display:flex}.hw-language-details{color:var(--muted-foreground);font-size:10px;font-weight:430;position:relative}.hw-language-details summary{cursor:pointer;text-underline-offset:2px;text-decoration:underline}.hw-language-details p{margin:5px 0 0;line-height:1.45}.hw-language-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.hw-language-toggle{border:1px solid var(--border);background:var(--background);cursor:pointer;border-radius:7px;align-items:center;gap:7px;min-width:0;padding:7px 8px;font-size:11px;display:flex}.hw-language-toggle:hover{background:var(--muted)}.hw-language-toggle:has(input:checked){border-color:var(--ring);box-shadow:0 0 0 1px var(--ring)}.hw-language-toggle input{width:14px;height:14px;accent-color:var(--primary);cursor:pointer;flex:none;margin:0}.hw-language-copy{flex-direction:column;gap:1px;min-width:0;display:flex}.hw-language-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hw-language-font{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.hw-custom-text textarea{min-height:96px}.hw-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.hw-actions .button,.hw-step-actions .button,.hw-inline-actions .button,.hw-primary{width:auto}.hw-file-button{position:relative;overflow:hidden}.hw-file-button input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.hw-note{color:var(--muted-foreground);margin:10px 0 0;font-size:11px;line-height:1.5}.hw-note:empty{display:none}.hw-step-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.hw-step-actions>span{flex:1}.hw-dropzone{min-height:132px;margin-top:14px}.hw-panel code{background:var(--muted);border-radius:4px;padding:1px 4px;font-size:11px}.hw-editor-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.hw-progress-stack{flex-direction:column;flex:none;align-items:flex-end;gap:6px;display:flex}.hw-progress{border:1px solid var(--border);color:var(--muted-foreground);font-variant-numeric:tabular-nums;border-radius:999px;padding:5px 9px;font-size:11px}.hw-editor-layout{grid-template-columns:210px minmax(0,1fr);gap:14px;margin-top:16px;display:grid}.hw-lines{min-width:0}.hw-lines-title{color:var(--muted-foreground);letter-spacing:.07em;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:580}.hw-line-list{flex-direction:column;gap:5px;max-height:620px;padding-right:2px;display:flex;overflow-y:auto}.hw-line-list:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.hw-line-item{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;color:var(--foreground);cursor:pointer;text-align:left;border-radius:7px;align-items:center;gap:8px;padding:8px;display:flex}.hw-line-item:hover{background:var(--muted)}.hw-line-item.is-active{border-color:var(--ring);box-shadow:0 0 0 1px var(--ring)}.hw-line-status{background:var(--muted);width:19px;height:19px;color:var(--muted-foreground);border-radius:50%;flex:none;place-items:center;font-size:11px;display:grid}.hw-line-item.is-approved .hw-line-status{color:oklch(22% .05 155);background:oklch(75% .12 155)}.hw-line-item.is-skipped{opacity:.62}.hw-line-item.is-skipped .hw-line-status{background:var(--muted);color:var(--muted-foreground);text-decoration:line-through}.hw-line-item.is-empty .hw-line-status{color:oklch(35% .08 65);background:oklch(87% .08 75)}.hw-line-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.hw-line-title{font-size:11px;font-weight:560}.hw-line-snippet{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.hw-editor-main{min-width:0}.hw-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hw-tool-group{border:1px solid var(--input);border-radius:calc(var(--radius) - 2px);background:var(--muted);align-items:center;gap:2px;padding:3px;display:inline-flex}.hw-tool-label{color:var(--muted-foreground);padding-inline:5px 2px;font-size:10px;font-weight:570}.hw-nudge-value{min-width:82px;color:var(--muted-foreground);font-variant-numeric:tabular-nums;padding-inline:5px;font-size:10px}#hw-metric-value{min-width:112px}.hw-approve{margin-left:auto}.hw-transcript-editor{border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background:color-mix(in oklab, var(--muted) 30%, transparent);margin-top:12px;padding:11px}.hw-transcript-label{color:var(--muted-foreground);letter-spacing:.07em;text-transform:uppercase;margin-bottom:6px;font-size:10px;font-weight:580;display:block}.hw-transcript-row{gap:8px;display:flex}.hw-transcript-row input{border:1px solid var(--input);border-radius:calc(var(--radius) - 3px);background:var(--background);min-width:0;min-height:36px;color:var(--foreground);flex:1;padding:7px 10px}.hw-transcript-row input:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.hw-transcript-row input:disabled{opacity:.55}.hw-line-prompt{letter-spacing:.01em;margin:12px 0 0;font-size:14px;font-weight:540}.hw-warning{color:oklch(52% .14 55);margin:7px 0 0;font-size:11px}.hw-compile-status{margin:8px 0 10px;line-height:1.45}.hw-canvas-wrap{overscroll-behavior-x:contain;border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background:oklch(96% .01 90);margin-top:10px;overflow-x:auto}.hw-canvas{touch-action:none;-webkit-user-select:none;user-select:none;max-width:none;display:block}.hw-canvas.is-dragging{cursor:ew-resize}.hw-canvas.is-skipped{opacity:.58}.hw-canvas-note{fill:#68727f;pointer-events:none;font-family:Geist,ui-sans-serif,system-ui,sans-serif;font-size:11px;font-weight:540}.hw-guide,.hw-ink{pointer-events:none}.hw-letter{fill:#515a66;pointer-events:none;font-family:Geist,ui-sans-serif,system-ui,sans-serif;font-size:10px;font-weight:560}.hw-letter.is-excluded{fill:#9a4d4d;text-decoration:line-through}.hw-boundary{stroke:#d9483b;stroke-width:1.3px;stroke-dasharray:5 4}.hw-boundary.is-endpoint{stroke:#597fc9}.hw-boundary-hit{cursor:ew-resize;pointer-events:stroke}.hw-segment-hit{cursor:pointer}.hw-editor-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.hw-inline-actions{flex:none;gap:8px;display:flex}.hw-field{color:var(--foreground);flex-direction:column;gap:7px;margin-top:14px;font-size:12px;font-weight:520;display:flex}.hw-field textarea{border:1px solid var(--input);border-radius:calc(var(--radius) - 2px);background:var(--background);width:100%;min-height:108px;color:var(--foreground);resize:vertical;padding:10px}.hw-preview-controls{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.hw-control{color:var(--muted-foreground);align-items:center;gap:8px;font-size:11px;display:flex}.hw-control input[type=number]{border:1px solid var(--input);background:var(--background);width:68px;color:var(--foreground);border-radius:6px;padding:5px 7px}.hw-control input[type=color]{border:1px solid var(--input);background:var(--background);border-radius:6px;width:34px;height:28px;padding:2px}.hw-control input[type=range]{width:120px;accent-color:var(--primary)}.hw-preview-output{border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background:#fffdf8;min-height:140px;margin-top:14px;overflow-x:auto}.hw-preview-output svg{max-width:none;display:block}@media (width<=820px){.handwriting{padding:16px}.hw-editor-layout{grid-template-columns:1fr}.hw-line-list{max-height:150px}.hw-approve{margin-left:0}.hw-editor-footer{flex-direction:column;align-items:flex-start}}@media (width<=900px){.hw-language-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=560px){.hw-steps{grid-template-columns:repeat(2,1fr)}.hw-language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-topline{flex-direction:column}.hw-choice-grid{grid-template-columns:1fr}.hw-option{flex-direction:column;align-items:flex-start}.hw-transcript-row{flex-direction:column}.hw-progress-stack{align-items:flex-start}.hw-actions .button,.hw-step-actions .button,.hw-inline-actions .button{flex:auto}}[hidden]{display:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
