Spaces:
Sleeping
Sleeping
| :root { | |
| --bg: #0d0f14; | |
| --surface: #161a23; | |
| --surface2: #1e2433; | |
| --border: #2a3147; | |
| --accent: #f5c842; | |
| --accent2: #3dffc0; | |
| --red: #ff4e6a; | |
| --text: #e8eaf0; | |
| --muted: #6b7494; | |
| --green: #3dffc0; | |
| --radius: 12px; | |
| --mono: 'IBM Plex Mono', monospace; | |
| --display: 'Inter', 'Segoe UI', Arial, sans-serif; | |
| } | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| html { font-size: 16px; } | |
| body { | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: var(--display); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| /* ── HEADER ── */ | |
| header { | |
| width: 100%; | |
| max-width: 860px; | |
| padding: 32px 24px 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| } | |
| .logo-badge { | |
| background: var(--accent); | |
| color: #0d0f14; | |
| font-weight: 800; | |
| font-size: 11px; | |
| letter-spacing: .12em; | |
| padding: 4px 10px; | |
| border-radius: 6px; | |
| text-transform: uppercase; | |
| } | |
| header h1 { | |
| font-size: 18px; | |
| font-weight: 700; | |
| letter-spacing: -.01em; | |
| } | |
| header h1 span { color: var(--accent); } | |
| /* ── MODE TABS ── */ | |
| .mode-tabs { | |
| width: 100%; | |
| max-width: 860px; | |
| padding: 28px 24px 0; | |
| display: flex; | |
| gap: 8px; | |
| } | |
| .tab-btn { | |
| padding: 10px 22px; | |
| border-radius: 8px; | |
| border: 1.5px solid var(--border); | |
| background: transparent; | |
| color: var(--muted); | |
| font-family: var(--display); | |
| font-size: 14px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all .18s; | |
| } | |
| .tab-btn.active { | |
| background: var(--accent); | |
| border-color: var(--accent); | |
| color: #0d0f14; | |
| } | |
| .tab-btn:not(.active):hover { | |
| border-color: var(--accent); | |
| color: var(--accent); | |
| } | |
| /* ── MAIN CARD ── */ | |
| .main { | |
| width: 100%; | |
| max-width: 860px; | |
| padding: 20px 24px 60px; | |
| } | |
| .panel { display: none; } | |
| .panel.active { display: block; } | |
| /* ── CLIP PILLS ── */ | |
| .clip-pills { | |
| display: flex; | |
| gap: 8px; | |
| flex-wrap: wrap; | |
| margin-bottom: 20px; | |
| } | |
| .clip-pill { | |
| padding: 7px 18px; | |
| border-radius: 999px; | |
| border: 1.5px solid var(--border); | |
| background: var(--surface); | |
| color: var(--muted); | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| cursor: pointer; | |
| transition: all .18s; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .clip-pill:hover { border-color: var(--accent); color: var(--accent); } | |
| .clip-pill.active { border-color: var(--accent); color: var(--accent); background: rgba(245,200,66,.1); } | |
| .clip-pill.done { border-color: var(--green); color: var(--green); background: rgba(61,255,192,.08); } | |
| .clip-pill.done::after { content: '✓'; font-size: 11px; } | |
| /* ── AUDIO CARD ── */ | |
| .audio-card { | |
| background: var(--surface); | |
| border: 1.5px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 24px; | |
| margin-bottom: 16px; | |
| } | |
| .clip-label { | |
| font-family: var(--mono); | |
| font-size: 11px; | |
| letter-spacing: .1em; | |
| color: var(--muted); | |
| text-transform: uppercase; | |
| margin-bottom: 16px; | |
| } | |
| /* waveform / progress bar */ | |
| .waveform-wrap { | |
| position: relative; | |
| height: 54px; | |
| background: var(--surface2); | |
| border-radius: 8px; | |
| margin-bottom: 16px; | |
| overflow: hidden; | |
| cursor: pointer; | |
| } | |
| .waveform-progress { | |
| position: absolute; | |
| left: 0; top: 0; bottom: 0; | |
| background: rgba(245,200,66,.15); | |
| transition: width .1s linear; | |
| pointer-events: none; | |
| } | |
| .waveform-bars { | |
| position: absolute; | |
| inset: 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 2px; | |
| padding: 0 10px; | |
| pointer-events: none; | |
| } | |
| .waveform-bars span { | |
| flex: 1; | |
| background: var(--border); | |
| border-radius: 2px; | |
| transition: background .2s; | |
| } | |
| .waveform-wrap:hover .waveform-bars span { background: var(--accent); opacity: .5; } | |
| .waveform-cursor { | |
| position: absolute; | |
| top: 0; bottom: 0; | |
| width: 2px; | |
| background: var(--accent); | |
| pointer-events: none; | |
| transition: left .1s linear; | |
| } | |
| .time-display { | |
| position: absolute; | |
| right: 10px; top: 50%; | |
| transform: translateY(-50%); | |
| font-family: var(--mono); | |
| font-size: 11px; | |
| color: var(--muted); | |
| pointer-events: none; | |
| } | |
| /* transport */ | |
| .transport { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .t-btn { | |
| width: 38px; height: 38px; | |
| border-radius: 50%; | |
| border: 1.5px solid var(--border); | |
| background: var(--surface2); | |
| color: var(--text); | |
| font-size: 13px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: all .15s; | |
| } | |
| .t-btn:hover { border-color: var(--accent); color: var(--accent); } | |
| .t-btn.play-btn { | |
| width: 46px; height: 46px; | |
| background: var(--accent); | |
| border-color: var(--accent); | |
| color: #0d0f14; | |
| font-size: 15px; | |
| } | |
| .t-btn.play-btn:hover { background: #ffd84a; } | |
| /* shortcut hint */ | |
| .shortcut-hint { | |
| margin-left: auto; | |
| font-family: var(--mono); | |
| font-size: 11px; | |
| color: var(--muted); | |
| display: flex; | |
| gap: 14px; | |
| } | |
| .shortcut-hint kbd { | |
| background: var(--surface2); | |
| border: 1px solid var(--border); | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| font-family: var(--mono); | |
| font-size: 10px; | |
| color: var(--text); | |
| } | |
| /* ── TRANSCRIPT ── */ | |
| .transcript-section { | |
| background: var(--surface); | |
| border: 1.5px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 20px 24px; | |
| margin-bottom: 16px; | |
| min-height: 100px; | |
| } | |
| .transcript-label { | |
| font-family: var(--mono); | |
| font-size: 11px; | |
| letter-spacing: .1em; | |
| color: var(--muted); | |
| text-transform: uppercase; | |
| margin-bottom: 14px; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .transcript-label .badge { | |
| background: rgba(245,200,66,.12); | |
| color: var(--accent); | |
| border: 1px solid rgba(245,200,66,.3); | |
| border-radius: 4px; | |
| padding: 1px 7px; | |
| font-size: 10px; | |
| } | |
| .words-wrap { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| min-height: 40px; | |
| } | |
| .word-chip { | |
| padding: 8px 14px; | |
| border-radius: 8px; | |
| border: 1.5px solid var(--border); | |
| background: var(--surface2); | |
| font-family: var(--mono); | |
| font-size: 15px; | |
| cursor: pointer; | |
| transition: all .18s; | |
| user-select: none; | |
| opacity: 0; | |
| transform: translateY(6px); | |
| } | |
| .word-chip.visible { | |
| opacity: 1; | |
| transform: translateY(0); | |
| transition: opacity .25s, transform .25s; | |
| } | |
| .word-chip:hover { border-color: var(--accent); } | |
| .word-chip.error { | |
| background: rgba(255,78,106,.15); | |
| border-color: var(--red); | |
| color: var(--red); | |
| } | |
| .transcript-hidden { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| color: var(--muted); | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| padding: 12px 0; | |
| } | |
| /* ── STATS BAR ── */ | |
| .stats-bar { | |
| display: flex; | |
| gap: 12px; | |
| flex-wrap: wrap; | |
| margin-bottom: 16px; | |
| } | |
| .stat-chip { | |
| background: var(--surface); | |
| border: 1.5px solid var(--border); | |
| border-radius: 8px; | |
| padding: 10px 18px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| } | |
| .stat-chip .stat-val { | |
| font-size: 22px; | |
| font-weight: 700; | |
| line-height: 1; | |
| } | |
| .stat-chip .stat-lbl { | |
| font-family: var(--mono); | |
| font-size: 10px; | |
| letter-spacing: .08em; | |
| text-transform: uppercase; | |
| color: var(--muted); | |
| } | |
| .stat-chip.errors .stat-val { color: var(--red); } | |
| .stat-chip.rate .stat-val { color: var(--accent); } | |
| /* ── ACTION ROW ── */ | |
| .action-row { | |
| display: flex; | |
| gap: 10px; | |
| flex-wrap: wrap; | |
| } | |
| .btn { | |
| padding: 11px 22px; | |
| border-radius: 8px; | |
| border: 1.5px solid var(--border); | |
| background: var(--surface); | |
| color: var(--text); | |
| font-family: var(--display); | |
| font-size: 14px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| transition: all .15s; | |
| } | |
| .btn:hover { border-color: var(--accent); color: var(--accent); } | |
| .btn.primary { background: var(--accent); border-color: var(--accent); color: #0d0f14; } | |
| .btn.primary:hover { background: #ffd84a; } | |
| .btn.danger { border-color: var(--red); color: var(--red); } | |
| .btn.danger:hover { background: rgba(255,78,106,.1); } | |
| .btn:disabled { opacity: .4; cursor: not-allowed; } | |
| /* ── MIC SECTION ── */ | |
| .mic-panel-inner { display: flex; flex-direction: column; gap: 16px; } | |
| /* Steps */ | |
| .steps { | |
| display: flex; | |
| align-items: center; | |
| gap: 0; | |
| margin-bottom: 4px; | |
| } | |
| .step { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-family: var(--mono); | |
| font-size: 12px; | |
| color: var(--muted); | |
| padding: 8px 16px 8px 0; | |
| } | |
| .step-num { | |
| width: 26px; height: 26px; | |
| border-radius: 50%; | |
| border: 1.5px solid var(--border); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 11px; | |
| font-weight: 700; | |
| transition: all .2s; | |
| } | |
| .step.active .step-num { background: var(--accent); border-color: var(--accent); color: #0d0f14; } | |
| .step.done .step-num { background: var(--green); border-color: var(--green); color: #0d0f14; } | |
| .step.active { color: var(--text); } | |
| .step.done { color: var(--green); } | |
| .step-line { | |
| flex: 1; | |
| height: 1.5px; | |
| background: var(--border); | |
| margin: 0 4px; | |
| max-width: 60px; | |
| } | |
| /* Visualizer */ | |
| .visualizer-card { | |
| background: var(--surface); | |
| border: 1.5px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 24px; | |
| } | |
| .viz-top { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-bottom: 18px; | |
| } | |
| .viz-title { | |
| font-size: 14px; | |
| font-weight: 700; | |
| color: var(--text); | |
| } | |
| .rec-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| color: var(--red); | |
| display: none; | |
| } | |
| .rec-indicator.active { display: flex; } | |
| .rec-dot { | |
| width: 9px; height: 9px; | |
| border-radius: 50%; | |
| background: var(--red); | |
| animation: pulse-dot 1s infinite; | |
| } | |
| @keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:.2; } } | |
| .viz-bars { | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 3px; | |
| height: 64px; | |
| margin-bottom: 20px; | |
| } | |
| .viz-bar { | |
| flex: 1; | |
| background: var(--border); | |
| border-radius: 3px 3px 0 0; | |
| height: 6px; | |
| transition: height .06s ease; | |
| } | |
| .viz-bar.active-bar { background: var(--accent); } | |
| /* Playback */ | |
| .playback-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| flex-wrap: wrap; | |
| } | |
| /* Mic transcript */ | |
| .mic-transcript-card { | |
| background: var(--surface); | |
| border: 1.5px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 20px 24px; | |
| min-height: 90px; | |
| } | |
| .loading-dots { | |
| display: flex; | |
| gap: 6px; | |
| align-items: center; | |
| padding: 10px 0; | |
| } | |
| .loading-dots span { | |
| width: 8px; height: 8px; | |
| border-radius: 50%; | |
| background: var(--accent); | |
| animation: dot-bounce .9s infinite; | |
| } | |
| .loading-dots span:nth-child(2) { animation-delay: .15s; } | |
| .loading-dots span:nth-child(3) { animation-delay: .3s; } | |
| @keyframes dot-bounce { 0%,80%,100%{transform:scale(.5);opacity:.4} 40%{transform:scale(1);opacity:1} } | |
| .api-error { | |
| color: var(--red); | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| padding: 10px 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| /* ── COMPLETION ── */ | |
| .completion-panel { | |
| background: var(--surface); | |
| border: 1.5px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 36px; | |
| text-align: center; | |
| } | |
| .completion-panel h2 { | |
| font-size: 28px; | |
| font-weight: 800; | |
| margin-bottom: 8px; | |
| } | |
| .completion-panel h2 span { color: var(--accent); } | |
| .completion-panel p { | |
| color: var(--muted); | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| margin-bottom: 32px; | |
| } | |
| .results-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| margin-bottom: 28px; | |
| text-align: left; | |
| } | |
| .results-table th { | |
| color: var(--muted); | |
| font-weight: 500; | |
| letter-spacing: .06em; | |
| text-transform: uppercase; | |
| font-size: 11px; | |
| padding: 10px 14px; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .results-table td { | |
| padding: 12px 14px; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .results-table tr:last-child td { border-bottom: none; } | |
| .error-rate-cell { color: var(--accent); font-weight: 700; } | |
| /* ── TOAST ── */ | |
| .toast { | |
| position: fixed; | |
| bottom: 28px; | |
| left: 50%; | |
| transform: translateX(-50%) translateY(20px); | |
| background: var(--surface2); | |
| border: 1px solid var(--border); | |
| color: var(--text); | |
| font-family: var(--mono); | |
| font-size: 13px; | |
| padding: 10px 20px; | |
| border-radius: 8px; | |
| opacity: 0; | |
| transition: opacity .2s, transform .2s; | |
| pointer-events: none; | |
| z-index: 999; | |
| white-space: nowrap; | |
| } | |
| .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } | |
| /* Divider */ | |
| .section-divider { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin: 8px 0 16px; | |
| color: var(--muted); | |
| font-family: var(--mono); | |
| font-size: 11px; | |
| letter-spacing: .08em; | |
| text-transform: uppercase; | |
| } | |
| .section-divider::before, .section-divider::after { | |
| content: ''; | |
| flex: 1; | |
| height: 1px; | |
| background: var(--border); | |
| } | |
| /* Helper */ | |
| .hidden { display: none ; } | |
| :root { | |
| --bg: #f5f4f1; | |
| --surface: rgba(255, 255, 255, 0.74); | |
| --surface2: #ece9e3; | |
| --border: rgba(17, 20, 24, 0.08); | |
| --border-strong: rgba(17, 20, 24, 0.14); | |
| --accent: #cf0d12; | |
| --red: #cf0d12; | |
| --text: #111418; | |
| --muted: #7a7d84; | |
| --green: #1f8f62; | |
| --shadow: 0 18px 48px rgba(17, 20, 24, 0.06); | |
| --radius: 28px; | |
| } | |
| body { | |
| display: block; | |
| color: var(--text); | |
| background: | |
| radial-gradient(circle at top left, rgba(255,255,255,.85), transparent 34%), | |
| linear-gradient(180deg, #faf9f7 0%, #f1efeb 100%); | |
| overflow-x: hidden; | |
| } | |
| .page-shell { | |
| width: min(1480px, calc(100% - 40px)); | |
| margin: 0 auto; | |
| padding: 24px 0 40px; | |
| } | |
| header { | |
| max-width: none; | |
| width: 100%; | |
| padding: 0 22px; | |
| min-height: 88px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 24px; | |
| } | |
| .brand-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 28px; | |
| } | |
| .logo-badge { | |
| background: transparent; | |
| color: var(--text); | |
| padding: 0; | |
| border-radius: 0; | |
| font-size: 17px; | |
| letter-spacing: -.04em; | |
| } | |
| .logo-badge .stack { | |
| display: block; | |
| } | |
| header h1 { | |
| display: none; | |
| } | |
| .mode-tabs { | |
| max-width: none; | |
| width: auto; | |
| padding: 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 14px; | |
| } | |
| .tab-btn { | |
| padding: 8px 4px 10px; | |
| border: none; | |
| border-bottom: 3px solid transparent; | |
| border-radius: 0; | |
| background: transparent; | |
| color: var(--muted); | |
| transition: color .18s, border-color .18s; | |
| } | |
| .tab-btn.active { | |
| background: transparent; | |
| color: var(--text); | |
| border-color: var(--text); | |
| } | |
| .tab-btn:not(.active):hover { | |
| border-color: transparent; | |
| color: var(--text); | |
| } | |
| .header-progress { | |
| font-size: 14px; | |
| font-weight: 600; | |
| color: #2d3036; | |
| white-space: nowrap; | |
| } | |
| .main { | |
| max-width: none; | |
| padding: 18px 0 0; | |
| } | |
| .panel-shell { | |
| background: rgba(255,255,255,0.36); | |
| border: 1px solid rgba(255,255,255,0.6); | |
| border-radius: 34px; | |
| box-shadow: var(--shadow); | |
| backdrop-filter: blur(18px); | |
| padding: 26px; | |
| } | |
| .clip-pills { | |
| gap: 10px; | |
| margin-bottom: 18px; | |
| } | |
| .clip-pill { | |
| padding: 10px 18px; | |
| border: 1px solid var(--border); | |
| background: rgba(255,255,255,0.75); | |
| color: var(--muted); | |
| font-size: 12px; | |
| box-shadow: 0 4px 14px rgba(17, 20, 24, 0.04); | |
| } | |
| .clip-pill:hover { | |
| border-color: var(--border-strong); | |
| color: var(--text); | |
| } | |
| .clip-pill.active { | |
| border-color: var(--text); | |
| color: var(--text); | |
| background: #fff; | |
| } | |
| .clip-pill.done { | |
| border-color: rgba(31,143,98,.2); | |
| color: var(--green); | |
| background: rgba(31,143,98,.08); | |
| } | |
| .clip-pill.done::after { | |
| content: '✓'; | |
| } | |
| .audio-card, | |
| .transcript-section, | |
| .visualizer-card, | |
| .mic-transcript-card, | |
| .completion-panel, | |
| .stat-chip { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| box-shadow: var(--shadow); | |
| } | |
| .audio-card, | |
| .visualizer-card, | |
| .transcript-section, | |
| .mic-transcript-card, | |
| .completion-panel { | |
| border-radius: var(--radius); | |
| } | |
| .completion-panel { | |
| overflow-x: auto; | |
| -webkit-overflow-scrolling: touch; | |
| } | |
| .audio-card { | |
| padding: 32px 36px; | |
| margin-bottom: 22px; | |
| } | |
| .clip-label, | |
| .transcript-label, | |
| .stat-chip .stat-lbl, | |
| .panel-footer .footer-note { | |
| letter-spacing: .16em; | |
| } | |
| .waveform-wrap { | |
| height: 70px; | |
| background: linear-gradient(180deg, #f0efec 0%, #ece9e4 100%); | |
| border-radius: 20px; | |
| margin-bottom: 28px; | |
| } | |
| .waveform-progress { | |
| background: linear-gradient(90deg, #111418 0%, #111418 98%, rgba(207, 13, 18, 0.85) 100%); | |
| } | |
| .waveform-bars { | |
| gap: 6px; | |
| padding: 0 26px; | |
| } | |
| .waveform-bars span { | |
| background: rgba(17, 20, 24, 0.14); | |
| border-radius: 999px; | |
| } | |
| .waveform-wrap:hover .waveform-bars span { | |
| background: rgba(17, 20, 24, 0.2); | |
| opacity: 1; | |
| } | |
| .waveform-cursor { | |
| background: #cf0d12; | |
| } | |
| .time-display { | |
| color: rgba(17, 20, 24, 0.52); | |
| mix-blend-mode: multiply; | |
| } | |
| .transport { | |
| justify-content: center; | |
| gap: 16px; | |
| flex-wrap: wrap; | |
| } | |
| .t-btn { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 18px; | |
| border: 1px solid transparent; | |
| background: #ece9e4; | |
| color: var(--text); | |
| font-size: 15px; | |
| } | |
| .t-btn:hover { | |
| border-color: var(--border-strong); | |
| color: var(--text); | |
| background: #e5e2dd; | |
| } | |
| .t-btn.play-btn { | |
| width: 100px; | |
| height: 100px; | |
| background: #111418; | |
| border-color: #111418; | |
| color: #fff; | |
| font-size: 28px; | |
| box-shadow: 0 16px 30px rgba(17, 20, 24, 0.12); | |
| } | |
| .t-btn.play-btn:hover { | |
| background: #0a0c0f; | |
| } | |
| .shortcut-hint { | |
| width: 100%; | |
| margin-left: 0; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| margin-top: 6px; | |
| } | |
| .shortcut-hint kbd { | |
| background: #fff; | |
| border: 1px solid var(--border); | |
| padding: 3px 8px; | |
| border-radius: 999px; | |
| color: var(--text); | |
| } | |
| .transcript-section, | |
| .mic-transcript-card { | |
| padding: 32px 36px 40px; | |
| min-height: 240px; | |
| margin-bottom: 22px; | |
| } | |
| .transcript-label { | |
| margin-bottom: 26px; | |
| } | |
| .transcript-label .badge { | |
| background: rgba(17,20,24,.04); | |
| color: var(--muted); | |
| border: 1px solid rgba(17,20,24,.08); | |
| border-radius: 999px; | |
| padding: 4px 10px; | |
| } | |
| .words-wrap { | |
| gap: 18px 22px; | |
| min-height: 130px; | |
| } | |
| .word-chip { | |
| padding: 10px 18px; | |
| border-radius: 18px; | |
| border: 1px solid transparent; | |
| background: #efeeea; | |
| font-family: var(--display); | |
| font-size: clamp(1.5rem, 2.9vw, 3.25rem); | |
| line-height: 1.1; | |
| letter-spacing: -.05em; | |
| } | |
| .word-chip:hover { | |
| border-color: transparent; | |
| background: #e8e6e1; | |
| } | |
| .word-chip.error { | |
| background: var(--accent); | |
| color: #fff; | |
| box-shadow: 0 10px 24px rgba(207, 13, 18, 0.18); | |
| } | |
| .transcript-hidden { | |
| font-family: var(--display); | |
| font-size: 18px; | |
| } | |
| .stats-bar { | |
| display: grid; | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| gap: 16px; | |
| margin-bottom: 22px; | |
| } | |
| .stat-chip { | |
| border-radius: 24px; | |
| padding: 20px 22px; | |
| gap: 8px; | |
| } | |
| .stat-chip .stat-val { | |
| font-size: clamp(2rem, 4vw, 3.75rem); | |
| line-height: 1; | |
| letter-spacing: -.06em; | |
| color: var(--text); | |
| } | |
| .stat-chip.errors .stat-val { | |
| color: var(--red); | |
| } | |
| .action-row { | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 12px; | |
| padding-top: 8px; | |
| } | |
| .btn { | |
| padding: 14px 22px; | |
| border-radius: 18px; | |
| border: 1px solid var(--border); | |
| background: rgba(255,255,255,0.74); | |
| color: var(--text); | |
| box-shadow: 0 8px 20px rgba(17, 20, 24, 0.05); | |
| } | |
| .btn:hover { | |
| color: var(--text); | |
| border-color: var(--border-strong); | |
| background: #fff; | |
| } | |
| .btn.primary { | |
| background: #1b1d22; | |
| border-color: #1b1d22; | |
| color: #fff; | |
| min-width: 160px; | |
| justify-content: center; | |
| } | |
| .btn.primary:hover { | |
| background: #111418; | |
| color: #fff; | |
| } | |
| .steps { | |
| margin-bottom: 2px; | |
| } | |
| .step-num { | |
| border: 1px solid var(--border-strong); | |
| background: rgba(255,255,255,0.74); | |
| } | |
| .step.active .step-num { | |
| background: var(--text); | |
| border-color: var(--text); | |
| color: #fff; | |
| } | |
| .step.done .step-num { | |
| color: #fff; | |
| } | |
| .visualizer-card { | |
| padding: 34px 36px; | |
| } | |
| .viz-stage { | |
| position: relative; | |
| display: flex; | |
| align-items: end; | |
| justify-content: center; | |
| gap: 18px; | |
| min-height: 150px; | |
| margin: 0 auto 28px; | |
| padding: 18px 22px 14px; | |
| max-width: 420px; | |
| border-radius: 26px; | |
| background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(239,236,230,0.95)); | |
| border: 1px solid rgba(17,20,24,0.08); | |
| box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); | |
| } | |
| .viz-scale { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| align-self: stretch; | |
| width: 24px; | |
| padding: 4px 0 8px; | |
| } | |
| .viz-scale span { | |
| height: 1px; | |
| background: rgba(17,20,24,0.1); | |
| } | |
| .viz-bars { | |
| position: relative; | |
| display: flex; | |
| align-items: flex-end; | |
| justify-content: center; | |
| gap: 7px; | |
| height: 118px; | |
| width: min(100%, 300px); | |
| padding: 8px 10px 0; | |
| border-radius: 18px; | |
| background: | |
| linear-gradient(180deg, rgba(17,20,24,0.02), rgba(17,20,24,0.06)), | |
| repeating-linear-gradient( | |
| to right, | |
| rgba(17,20,24,0.035) 0, | |
| rgba(17,20,24,0.035) 1px, | |
| transparent 1px, | |
| transparent 26px | |
| ); | |
| } | |
| .viz-bar { | |
| flex: 1 1 0; | |
| min-width: 5px; | |
| max-width: 8px; | |
| min-height: 16px; | |
| background: linear-gradient(180deg, rgba(17,20,24,0.28), rgba(17,20,24,0.14)); | |
| border-radius: 999px; | |
| opacity: 1; | |
| transform-origin: bottom center; | |
| transition: height .08s ease, background-color .12s ease, opacity .12s ease, transform .12s ease; | |
| } | |
| .viz-bar.active-bar { | |
| background: linear-gradient(180deg, rgba(227,65,71,0.72), rgba(207,13,18,0.42)); | |
| transform: scaleY(1.02); | |
| } | |
| .playback-row { | |
| justify-content: center; | |
| gap: 12px; | |
| } | |
| .error-rate-cell { | |
| color: var(--red); | |
| } | |
| .panel-footer { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 12px; | |
| margin-top: 8px; | |
| padding: 18px 10px 0; | |
| color: var(--muted); | |
| font-size: 12px; | |
| } | |
| .toast { | |
| background: rgba(17,20,24,0.92); | |
| border: 1px solid rgba(255,255,255,0.08); | |
| color: #fff; | |
| border-radius: 999px; | |
| } | |
| @media (max-width: 980px) { | |
| .page-shell { | |
| width: min(100%, calc(100% - 20px)); | |
| padding-top: 12px; | |
| } | |
| header, | |
| .brand-row, | |
| .meta-row, | |
| .action-row, | |
| .panel-footer { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .audio-card, | |
| .transcript-section, | |
| .visualizer-card, | |
| .mic-transcript-card, | |
| .completion-panel, | |
| .panel-shell { | |
| padding-left: 18px; | |
| padding-right: 18px; | |
| } | |
| .stats-bar { | |
| grid-template-columns: 1fr; | |
| } | |
| .transport, | |
| .shortcut-hint, | |
| .playback-row { | |
| justify-content: flex-start; | |
| } | |
| .word-chip { | |
| font-size: clamp(1.2rem, 8vw, 2rem); | |
| } | |
| } | |
| @media (max-width: 720px) { | |
| html, | |
| body { | |
| overflow-x: hidden; | |
| } | |
| .page-shell { | |
| width: calc(100% - 12px); | |
| padding-top: 8px; | |
| padding-bottom: 24px; | |
| } | |
| header { | |
| padding: 0 10px; | |
| min-height: auto; | |
| gap: 14px; | |
| } | |
| .brand-row { | |
| width: 100%; | |
| gap: 14px; | |
| } | |
| .mode-tabs { | |
| width: 100%; | |
| gap: 10px; | |
| overflow-x: auto; | |
| -webkit-overflow-scrolling: touch; | |
| scrollbar-width: none; | |
| } | |
| .mode-tabs::-webkit-scrollbar, | |
| .clip-pills::-webkit-scrollbar, | |
| .steps::-webkit-scrollbar, | |
| .completion-panel::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .tab-btn { | |
| flex: 0 0 auto; | |
| white-space: nowrap; | |
| } | |
| .header-progress { | |
| width: 100%; | |
| padding: 0 10px; | |
| white-space: normal; | |
| font-size: 13px; | |
| } | |
| .main { | |
| padding-top: 12px; | |
| } | |
| .panel-shell, | |
| .audio-card, | |
| .visualizer-card, | |
| .transcript-section, | |
| .mic-transcript-card, | |
| .completion-panel { | |
| padding: 16px; | |
| border-radius: 24px; | |
| } | |
| .clip-pills { | |
| flex-wrap: nowrap; | |
| overflow-x: auto; | |
| overflow-y: hidden; | |
| padding-bottom: 4px; | |
| margin: 0 -4px 16px; | |
| scroll-snap-type: x proximity; | |
| -webkit-overflow-scrolling: touch; | |
| } | |
| .clip-pill { | |
| flex: 0 0 auto; | |
| white-space: nowrap; | |
| scroll-snap-align: start; | |
| } | |
| .waveform-wrap { | |
| height: 62px; | |
| margin-bottom: 18px; | |
| } | |
| .waveform-bars { | |
| gap: 4px; | |
| padding: 0 14px; | |
| } | |
| .transport, | |
| .playback-row, | |
| .action-row { | |
| align-items: stretch; | |
| gap: 10px; | |
| } | |
| .transport { | |
| justify-content: center; | |
| } | |
| .t-btn { | |
| width: 52px; | |
| height: 52px; | |
| border-radius: 16px; | |
| flex: 0 0 auto; | |
| } | |
| .t-btn.play-btn { | |
| width: 82px; | |
| height: 82px; | |
| font-size: 22px; | |
| } | |
| .shortcut-hint { | |
| width: 100%; | |
| gap: 8px; | |
| font-size: 10px; | |
| } | |
| .transcript-section, | |
| .mic-transcript-card { | |
| min-height: 180px; | |
| } | |
| .words-wrap { | |
| gap: 12px; | |
| min-height: 100px; | |
| } | |
| .word-chip { | |
| max-width: 100%; | |
| padding: 10px 14px; | |
| font-size: clamp(1rem, 7vw, 1.5rem); | |
| line-height: 1.2; | |
| overflow-wrap: anywhere; | |
| } | |
| .steps { | |
| overflow-x: auto; | |
| overflow-y: hidden; | |
| padding-bottom: 4px; | |
| -webkit-overflow-scrolling: touch; | |
| } | |
| .step, | |
| .step-line { | |
| flex: 0 0 auto; | |
| } | |
| .viz-stage { | |
| min-height: 128px; | |
| padding: 14px 12px 12px; | |
| gap: 12px; | |
| } | |
| .viz-bars { | |
| gap: 5px; | |
| height: 100px; | |
| padding: 8px 8px 0; | |
| } | |
| .stats-bar { | |
| gap: 12px; | |
| } | |
| .stat-chip { | |
| padding: 16px; | |
| border-radius: 18px; | |
| } | |
| .stat-chip .stat-val { | |
| font-size: clamp(1.6rem, 10vw, 2.3rem); | |
| } | |
| .btn { | |
| width: 100%; | |
| min-width: 0; | |
| justify-content: center; | |
| } | |
| .results-table { | |
| min-width: 620px; | |
| } | |
| .toast { | |
| left: 12px; | |
| right: 12px; | |
| bottom: 16px; | |
| transform: translateY(20px); | |
| white-space: normal; | |
| } | |
| .toast.show { | |
| transform: translateY(0); | |
| } | |
| } | |
| .visualizer-card { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .visualizer-card::before { | |
| content: ''; | |
| position: absolute; | |
| inset: 0; | |
| background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0)); | |
| pointer-events: none; | |
| } | |
| .viz-bars::after { | |
| content: ''; | |
| position: absolute; | |
| left: 10px; | |
| right: 10px; | |
| bottom: 8px; | |
| height: 1px; | |
| background: rgba(17,20,24,0.08); | |
| } | |