:root{color-scheme:light dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--slm-bg: #f4f5f7;--slm-surface: #ffffff;--slm-surface-muted: #f7f8fa;--slm-border: rgba(28, 40, 56, .1);--slm-border-soft: rgba(28, 40, 56, .08);--slm-text: #1c2838;--slm-text-muted: #6b7585;--slm-text-soft: #556070;--slm-primary: #2f6f8f;--slm-primary-soft: #e4eef3;--slm-primary-wash: #f2f7fa;--slm-secondary: #c45c4a;--slm-success: #2f7a5b;--slm-success-soft: #eaf5f0;--slm-danger: #b5473d;--slm-danger-soft: #f8ecea;--slm-shadow-soft: 0 1px 2px rgba(28, 40, 56, .04);--slm-body-glow: rgba(47, 111, 143, .08);--slm-body-top: #f8f9fb;--slm-body-bottom: #eef0f3;--slm-on-accent: #ffffff;--slm-primary-strong: #255a74;--slm-chip-text: #3a5568;--slm-primary-text: #24586f;--slm-result-bg: rgba(247, 248, 250, .9);--slm-neutral-dot: #8a8f9d;--slm-label: #6f727d;--slm-result-title: #60636f;--slm-footer-strong: #3f3f46;--slm-notice-busy-text: #3f5b6c;--slm-notice-ok-text: #365f4c;--slm-notice-error-text: #7a413b;--slm-notice-idle-text: #596575}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--slm-bg: #101820;--slm-surface: #18232d;--slm-surface-muted: #202c37;--slm-border: rgba(211, 226, 238, .16);--slm-border-soft: rgba(211, 226, 238, .11);--slm-text: #edf4f8;--slm-text-muted: #a8b6c2;--slm-text-soft: #c2cdd6;--slm-primary: #71b4d3;--slm-primary-soft: #263f4d;--slm-primary-wash: #1c303b;--slm-secondary: #ef8b78;--slm-success: #73c69e;--slm-success-soft: #1c382e;--slm-danger: #f08b80;--slm-danger-soft: #3b2526;--slm-shadow-soft: 0 1px 2px rgba(0, 0, 0, .28);--slm-body-glow: rgba(79, 158, 195, .13);--slm-body-top: #121d26;--slm-body-bottom: #0c1319;--slm-on-accent: #0e1b22;--slm-primary-strong: #89c7e2;--slm-chip-text: #bad3df;--slm-primary-text: #9dd1e8;--slm-result-bg: rgba(13, 22, 29, .72);--slm-neutral-dot: #7d8b97;--slm-label: #a8b6c2;--slm-result-title: #c2cdd6;--slm-footer-strong: #d7e1e7;--slm-notice-busy-text: #c0d9e5;--slm-notice-ok-text: #b8ddca;--slm-notice-error-text: #f0b5ae;--slm-notice-idle-text: #bdc9d2}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--slm-bg: #101820;--slm-surface: #18232d;--slm-surface-muted: #202c37;--slm-border: rgba(211, 226, 238, .16);--slm-border-soft: rgba(211, 226, 238, .11);--slm-text: #edf4f8;--slm-text-muted: #a8b6c2;--slm-text-soft: #c2cdd6;--slm-primary: #71b4d3;--slm-primary-soft: #263f4d;--slm-primary-wash: #1c303b;--slm-secondary: #ef8b78;--slm-success: #73c69e;--slm-success-soft: #1c382e;--slm-danger: #f08b80;--slm-danger-soft: #3b2526;--slm-shadow-soft: 0 1px 2px rgba(0, 0, 0, .28);--slm-body-glow: rgba(79, 158, 195, .13);--slm-body-top: #121d26;--slm-body-bottom: #0c1319;--slm-on-accent: #0e1b22;--slm-primary-strong: #89c7e2;--slm-chip-text: #bad3df;--slm-primary-text: #9dd1e8;--slm-result-bg: rgba(13, 22, 29, .72);--slm-neutral-dot: #7d8b97;--slm-label: #a8b6c2;--slm-result-title: #c2cdd6;--slm-footer-strong: #d7e1e7;--slm-notice-busy-text: #c0d9e5;--slm-notice-ok-text: #b8ddca;--slm-notice-error-text: #f0b5ae;--slm-notice-idle-text: #bdc9d2}}*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0;background:radial-gradient(circle at 12% -8%,var(--slm-body-glow),transparent 34%),linear-gradient(180deg,var(--slm-body-top) 0%,var(--slm-bg) 48%,var(--slm-body-bottom) 100%);color:var(--slm-text)}button,select,textarea,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{width:min(1124px,calc(100vw - 32px));min-height:100vh;margin:0 auto;padding:14px 0 12px;overflow-x:hidden}.hero-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 16px;padding:4px 2px 8px}.hero-copy{min-width:0}.header-controls{display:flex;flex:0 0 auto;align-items:center;gap:14px}.interface-language{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;padding-top:2px;color:var(--slm-text-muted);font-size:.78rem}.theme-control{display:inline-flex;padding:2px;border:1px solid var(--slm-border-soft);border-radius:999px;background:var(--slm-surface-muted)}.theme-control button{display:inline-flex;width:28px;height:24px;align-items:center;justify-content:center;padding:0;border:0;border-radius:999px;background:transparent;color:var(--slm-text-muted)}.theme-control button:hover{color:var(--slm-primary)}.theme-control button.active{background:var(--slm-surface);color:var(--slm-primary);box-shadow:var(--slm-shadow-soft)}.interface-language button{padding:3px 2px;border:0;background:transparent;color:var(--slm-text-muted);font-weight:600}.interface-language button:hover,.interface-language button.active{color:var(--slm-primary)}.interface-language button.active{font-weight:760}.hero-kicker{display:inline-block;margin-bottom:6px;color:var(--slm-primary);font-size:.78rem;font-weight:700;letter-spacing:.02em;line-height:1.2;text-transform:uppercase}.hero-title{margin:0;color:var(--slm-text);font-size:clamp(1.7rem,2.8vw,2.35rem);font-weight:800;line-height:1.08}.hero-description{max-width:640px;margin:6px 0 0;color:var(--slm-text-muted);font-size:.95rem;font-weight:500;line-height:1.4}.capability-bar{display:flex;flex-wrap:wrap;gap:8px;max-width:720px;margin:14px 0 0;padding:0;list-style:none}.capability-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid color-mix(in srgb,var(--slm-primary) 16%,var(--slm-border-soft));border-radius:999px;background:color-mix(in srgb,var(--slm-primary-wash) 70%,var(--slm-surface));color:var(--slm-chip-text);font-size:.76rem;font-weight:650;line-height:1.2}.workbench-row,.results-grid{display:grid;align-items:stretch;gap:12px}.workbench-row{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.input-column{min-width:0}.audio-input,.result-card,.action-card{border:1px solid var(--slm-border-soft);border-radius:12px;background:var(--slm-surface);box-shadow:var(--slm-shadow-soft)}.audio-input{display:flex;min-height:208px;flex-direction:column;justify-content:space-between;overflow:hidden}.audio-panel{display:flex;min-height:164px;align-items:center;justify-content:center;padding:18px}.audio-empty,.audio-preview{display:flex;width:100%;min-width:0;flex-direction:column;align-items:center;gap:12px;color:var(--slm-text-muted);text-align:center}.audio-preview__label{margin:0;color:var(--slm-text);font-size:.95rem;font-weight:720}.audio-empty__hint,.audio-preview__identity>div>span{color:var(--slm-text-muted);font-size:.82rem;line-height:1.4}.record-main-btn{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:9px;padding:8px 18px;border:1px solid color-mix(in srgb,var(--slm-primary) 32%,var(--slm-border-soft));border-radius:999px;background:var(--slm-primary-wash);color:var(--slm-primary);font-size:.86rem;font-weight:740;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}.record-main-btn:hover{border-color:color-mix(in srgb,var(--slm-primary) 52%,transparent);background:var(--slm-primary-soft);transform:translateY(-1px)}.record-main-btn.recording{border-color:color-mix(in srgb,var(--slm-secondary) 42%,transparent);background:var(--slm-secondary-soft);color:var(--slm-secondary)}.upload-dropzone{display:flex;width:min(100%,430px);min-height:88px;align-items:center;justify-content:center;gap:12px;padding:14px 18px;border:1px dashed color-mix(in srgb,var(--slm-primary) 30%,var(--slm-border));border-radius:10px;background:var(--slm-primary-wash);color:var(--slm-text-soft);cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.upload-dropzone:hover{border-color:color-mix(in srgb,var(--slm-primary) 54%,transparent);background:var(--slm-primary-soft)}.upload-dropzone__icon{display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px;background:var(--slm-surface);color:var(--slm-primary)}.upload-dropzone__copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}.upload-dropzone__copy strong{color:var(--slm-text);font-size:.86rem;font-weight:740}.upload-dropzone__copy span{color:var(--slm-text-muted);font-size:.76rem}.upload-dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.audio-preview{align-items:stretch;text-align:left}.audio-preview__header,.audio-preview__identity{display:flex;min-width:0;align-items:center}.audio-preview__header{justify-content:space-between;gap:12px}.audio-preview__identity{gap:10px}.audio-preview__identity>div{display:flex;min-width:0;flex-direction:column;gap:3px}.audio-preview__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-preview__icon{display:inline-flex;width:34px;height:34px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:9px;background:var(--slm-primary-soft);color:var(--slm-primary)}.icon-action{display:inline-flex;width:30px;height:30px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid var(--slm-border-soft);border-radius:8px;background:var(--slm-surface);color:var(--slm-text-muted)}.icon-action:hover{border-color:color-mix(in srgb,var(--slm-danger) 32%,transparent);color:var(--slm-danger)}.waveform-player{position:relative;display:grid;width:100%;min-width:0;min-height:74px;grid-template-columns:34px auto minmax(0,1fr) auto 34px;align-items:center;gap:9px;padding:9px 11px;border:1px solid var(--slm-border-soft);border-radius:10px;background:var(--slm-surface-muted)}.waveform-player__control{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;padding:0;border:1px solid color-mix(in srgb,var(--slm-primary) 22%,var(--slm-border-soft));border-radius:999px;background:var(--slm-surface);color:var(--slm-primary);transition:border-color .14s ease,background-color .14s ease,color .14s ease}.waveform-player__control:hover{border-color:color-mix(in srgb,var(--slm-primary) 48%,transparent);background:var(--slm-primary-soft)}.waveform-player__time{color:var(--slm-text-muted);font-size:.72rem;font-variant-numeric:tabular-nums;font-weight:650;line-height:1;white-space:nowrap}.waveform-player__scrubber{display:block;width:100%;min-width:0;height:52px;padding:0;border:0;border-radius:6px;background:transparent;cursor:crosshair}.waveform-player__scrubber canvas{display:block;width:100%;height:52px}.waveform-player[aria-busy=true] .waveform-player__scrubber canvas{opacity:.58}.waveform-player__control:focus-visible,.waveform-player__scrubber:focus-visible{outline:2px solid color-mix(in srgb,var(--slm-primary) 55%,transparent);outline-offset:2px}.waveform-player__audio{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.source-select{display:flex;justify-content:center;min-height:44px;border-top:1px solid var(--slm-border-soft);background:var(--slm-surface-muted)}.source-select button{position:relative;display:inline-flex;min-width:130px;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:var(--slm-text-muted);font-size:.86rem;font-weight:690}.source-select button:after{position:absolute;right:18px;bottom:0;left:18px;height:2px;background:transparent;content:""}.source-select .source-active{color:var(--slm-primary)}.source-select .source-active:after{background:var(--slm-primary)}.audio-examples{margin-top:8px;padding:0 2px}.audio-examples p{margin:0 0 6px;color:var(--slm-text-muted);font-size:.78rem;font-weight:600}.sample-list{display:flex;flex-wrap:wrap;gap:8px}.sample-list button{min-height:30px;padding:5px 11px;border:1px solid var(--slm-border-soft);border-radius:999px;background:var(--slm-surface);color:var(--slm-text-soft);font-size:.78rem;font-weight:650;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.sample-list button:hover,.sample-list .sample-active{border-color:color-mix(in srgb,var(--slm-primary) 42%,transparent);background:var(--slm-primary-soft);color:var(--slm-primary-text)}.action-card{display:flex;min-width:0;flex-direction:column;gap:12px;padding:14px}.workflow-status{display:inline-flex;align-items:center;gap:8px;min-height:28px;color:var(--slm-text-muted);font-size:.84rem;line-height:1.2}.workflow-status__dot{width:8px;height:8px;border-radius:999px;background:var(--slm-neutral-dot);flex:0 0 auto}.workflow-status__summary{display:inline-flex;min-width:0;flex-wrap:wrap;align-items:center;gap:6px}.workflow-status__summary strong{color:var(--slm-text);font-size:.84rem;font-weight:700}.workflow-status__task{color:var(--slm-text-muted);font-size:.8rem;font-weight:560}.workflow-status--ok .workflow-status__dot{background:var(--slm-success)}.workflow-status--busy .workflow-status__dot{background:var(--slm-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--slm-primary) 16%,transparent)}.workflow-status--error .workflow-status__dot{background:var(--slm-danger)}.task-notice{--notice-accent: var(--slm-primary);--notice-bg: var(--slm-primary-wash);--notice-border: color-mix(in srgb, var(--notice-accent) 20%, var(--slm-border-soft));--notice-text: var(--slm-text-soft);display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 12px;border:1px solid var(--notice-border);border-radius:10px;background:var(--notice-bg);color:var(--notice-text);font-size:.875rem;font-weight:550;line-height:1.4;box-sizing:border-box;overflow-wrap:anywhere}.task-notice__icon{display:inline-flex;width:22px;height:22px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px;background:color-mix(in srgb,var(--notice-accent) 14%,var(--slm-surface));color:color-mix(in srgb,var(--notice-accent) 76%,var(--slm-text-soft));font-size:.8rem;font-weight:800}.task-notice--busy{--notice-accent: var(--slm-primary);--notice-bg: var(--slm-primary-wash);--notice-text: var(--slm-notice-busy-text)}.task-notice--ok{--notice-accent: var(--slm-success);--notice-bg: var(--slm-success-soft);--notice-text: var(--slm-notice-ok-text)}.task-notice--error{--notice-accent: var(--slm-danger);--notice-bg: var(--slm-danger-soft);--notice-text: var(--slm-notice-error-text)}.task-notice--idle{--notice-accent: #718096;--notice-bg: var(--slm-surface-muted);--notice-text: var(--slm-notice-idle-text)}.field-label{color:var(--slm-label);font-size:.82rem;font-weight:560;line-height:1.18}.target-language,.submit-btn{width:100%}.target-language{min-height:46px;padding:0 12px;border:1px solid var(--slm-border-soft);border-radius:10px;background:var(--slm-surface);color:var(--slm-text);font-size:.96rem}.submit-btn{min-height:46px;border:0;border-radius:10px;background:var(--slm-primary);color:var(--slm-on-accent);font-weight:750;transition:background-color .16s ease,opacity .16s ease}.submit-btn:hover:not(:disabled){background:var(--slm-primary-strong)}.submit-btn:disabled{opacity:.72}.technical-error{margin:0;color:var(--slm-danger);font-size:.76rem;line-height:1.35}.results-section{margin-top:14px;min-height:168px}.results-section--idle{opacity:.92}.results-section--busy .result-card{border-color:color-mix(in srgb,var(--slm-primary) 18%,var(--slm-border-soft))}.results-section--ready .result-card{border-color:color-mix(in srgb,var(--slm-success) 22%,var(--slm-border-soft));background:color-mix(in srgb,var(--slm-success-soft) 35%,var(--slm-surface))}.result-card{min-width:0;min-height:168px;padding:14px}.result-header-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.result-title-text{margin:0;color:var(--slm-result-title);font-size:.92rem;font-weight:620;line-height:1.2}.language-badge{display:inline-flex;max-width:min(58%,260px);min-height:26px;margin-left:auto;align-items:center;padding:3px 9px;border:1px solid color-mix(in srgb,var(--slm-primary) 18%,transparent);border-radius:999px;background:var(--slm-primary-wash);color:var(--slm-primary)}.language-badge__value{min-width:0;overflow:hidden;color:var(--slm-primary-text);font-size:.8rem;font-weight:740;text-overflow:ellipsis;white-space:nowrap}.result-output{width:100%;min-height:112px;resize:vertical;border:0;border-radius:10px;background:var(--slm-result-bg);color:var(--slm-text);line-height:1.55}.result-output::placeholder{color:var(--slm-text-muted)}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:14px 2px 6px;border-top:1px solid var(--slm-border-soft);color:var(--slm-text-muted);font-size:.8rem;line-height:1.35}.app-footer__brand,.app-footer__runtime{display:flex;min-width:0;flex-direction:column;gap:2px}.app-footer__brand strong{color:var(--slm-text);font-size:.88rem;font-weight:750}.app-footer__brand span{color:var(--slm-text-muted);font-size:.78rem;font-weight:500}.app-footer__runtime{align-items:flex-end;text-align:right}.app-footer__runtime span{color:var(--slm-text-muted);font-size:.7rem;font-weight:700;letter-spacing:.02em;line-height:1;text-transform:uppercase}.app-footer__runtime strong{color:var(--slm-footer-strong);font-size:.82rem;font-weight:650}@media(max-width:760px){.app-shell{width:calc(100vw - 28px);padding:16px 0 10px}.workbench-row,.results-grid{grid-template-columns:1fr}.hero-title{font-size:1.9rem}.hero-description{font-size:.93rem;line-height:1.45}.capability-bar{gap:6px;margin-top:12px}.capability-chip{min-height:26px;padding:3px 9px;font-size:.72rem}.result-card,.action-card{padding:12px}.result-header-row{flex-wrap:wrap}.app-footer{flex-direction:column;align-items:flex-start;gap:10px;padding-top:14px}.app-footer__runtime{align-items:flex-start;text-align:left}}@media(max-width:520px){.app-shell{width:calc(100vw - 16px);padding:8px 0}.hero-header{position:relative;padding-top:34px}.header-controls{position:absolute;top:0;right:0}.audio-input{min-height:176px}.audio-panel{min-height:136px;padding:14px}.source-select{min-height:40px}.source-select button{min-width:0;flex:1 1 0;font-size:.8rem}.upload-dropzone{gap:9px;padding:12px}.upload-dropzone__copy span{max-width:150px;line-height:1.3}.waveform-player{grid-template-columns:34px minmax(0,1fr) auto 34px;gap:7px;padding:8px 9px}.waveform-player__time:not(.waveform-player__duration){display:none}.waveform-player__scrubber,.waveform-player__scrubber canvas{height:46px}.language-badge{max-width:100%;margin-left:0}}
