| :root { |
| --cream: #faf3e7; |
| --paper: #fffdf9; |
| --paper-soft: #fbf6ec; |
| --field: #f3eada; |
| --border: #efe4d2; |
| --border-strong: #e4d8c2; |
| --ink: #2a2016; |
| --ink-dim: #6b5f52; |
| --ink-faint: #9c8e7b; |
| --ink-ghost: #b4a691; |
| --accent: #e2582a; |
| --accent-hover: #c1481f; |
| --accent-soft: #fbe3d6; |
| --success: #3f6b4e; |
| --success-soft: #e7efe3; |
| --error: #b23b3b; |
| --speaker-1: #e2582a; |
| --speaker-2: #2f6f63; |
| --speaker-3: #cc8a2e; |
| --speaker-4: #7b4b94; |
| --radius: 20px; |
| --radius-sm: 12px; |
| --shadow: 0 8px 24px rgba(42, 32, 22, 0.08); |
| --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif; |
| --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
| } |
|
|
| * { box-sizing: border-box; } |
| ::selection { background: #f6d9c9; } |
|
|
| html, body { |
| margin: 0; |
| padding: 0; |
| background: var(--cream); |
| color: var(--ink); |
| font-family: var(--font-ui); |
| -webkit-font-smoothing: antialiased; |
| } |
|
|
| a { color: var(--accent); } |
| button, select, input, textarea { font-family: inherit; } |
|
|
| |
| .topbar { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 18px 44px; |
| border-bottom: 1px solid #ebdfc9; |
| } |
| .wordmark { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| text-decoration: none; |
| color: var(--ink); |
| } |
| .logo-mark { |
| width: 30px; |
| height: 27px; |
| flex-shrink: 0; |
| display: block; |
| } |
| .wordmark:hover .logo-mark rect { fill: var(--accent); transition: fill 0.25s; } |
| .wordmark .mark { |
| font-family: var(--font-serif); |
| font-style: italic; |
| font-size: 2.15rem; |
| letter-spacing: 0.02em; |
| line-height: 1; |
| } |
| .wordmark .brand-pill { align-self: center; margin-top: 4px; } |
| .brand-pill { |
| font-size: 0.66rem; |
| font-weight: 700; |
| letter-spacing: 0.14em; |
| color: var(--accent); |
| background: var(--accent-soft); |
| padding: 5px 10px; |
| border-radius: 999px; |
| } |
| .topbar-right { display: flex; align-items: center; gap: 22px; } |
| .link-quiet { |
| font-size: 0.84rem; |
| font-weight: 600; |
| color: var(--ink-dim); |
| background: none; |
| border: none; |
| cursor: pointer; |
| padding: 0; |
| } |
| .link-quiet:hover { color: var(--accent); } |
| .runtime-status { |
| display: flex; |
| align-items: center; |
| gap: 7px; |
| font-size: 0.78rem; |
| font-weight: 600; |
| color: var(--error); |
| border-radius: 999px; |
| padding: 7px 14px; |
| background: rgba(178, 59, 59, 0.08); |
| } |
| .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--error); } |
| .runtime-status.ready { color: var(--success); background: var(--success-soft); } |
| .runtime-status.ready .status-dot { background: var(--success); } |
|
|
| |
| .app-shell { |
| max-width: 1560px; |
| margin: 0 auto; |
| padding: 32px 44px 80px; |
| display: grid; |
| grid-template-columns: 320px minmax(0, 1fr) 320px; |
| gap: 26px; |
| align-items: start; |
| } |
|
|
| .pane { |
| background: var(--paper); |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| padding: 22px; |
| position: sticky; |
| top: 24px; |
| max-height: calc(100vh - 48px); |
| overflow-y: auto; |
| } |
| .pane::-webkit-scrollbar { width: 7px; } |
| .pane::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; } |
|
|
| .pane-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; } |
|
|
| .card { |
| background: var(--paper); |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| padding: 24px; |
| } |
| .card-heading { |
| margin: 0 0 14px; |
| font-family: var(--font-serif); |
| font-weight: 400; |
| font-size: 1.5rem; |
| } |
|
|
| |
| .side-section { margin-bottom: 24px; } |
| .side-label { |
| font-size: 0.7rem; |
| font-weight: 700; |
| letter-spacing: 0.12em; |
| text-transform: uppercase; |
| color: var(--ink-faint); |
| margin-bottom: 10px; |
| display: block; |
| } |
| .side-label-row { |
| display: flex; |
| align-items: baseline; |
| justify-content: space-between; |
| } |
| .side-label-value { font-size: 0.78rem; font-weight: 700; color: var(--accent); } |
|
|
| |
| .seg { |
| display: flex; |
| background: var(--field); |
| border-radius: var(--radius-sm); |
| padding: 4px; |
| gap: 4px; |
| margin-bottom: 14px; |
| } |
| .seg button { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| gap: 1px; |
| border: none; |
| background: transparent; |
| color: var(--ink-dim); |
| border-radius: 8px; |
| padding: 7px 4px; |
| cursor: pointer; |
| } |
| .seg button strong { font-size: 0.84rem; font-weight: 800; } |
| .seg button span { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.02em; } |
| .seg button.single-line { flex-direction: row; justify-content: center; padding: 9px 4px; } |
| .seg button.single-line span { font-size: 0.78rem; font-weight: 700; } |
| .seg button.active { background: var(--ink); color: #fff; } |
|
|
| |
| .slot-card { |
| border: 1px solid var(--border); |
| border-radius: 14px; |
| padding: 12px; |
| display: flex; |
| align-items: center; |
| gap: 10px; |
| margin-bottom: 10px; |
| background: var(--paper); |
| } |
| .voice-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; } |
| .slot-info { flex: 1; min-width: 0; } |
| .slot-name { font-size: 0.86rem; font-weight: 700; } |
| .slot-meta { |
| font-size: 0.72rem; |
| color: var(--ink-faint); |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
| .voice-play { |
| width: 30px; height: 30px; |
| border-radius: 50%; |
| border: none; |
| background: var(--field); |
| color: var(--ink-dim); |
| cursor: pointer; |
| flex-shrink: 0; |
| display: flex; align-items: center; justify-content: center; |
| font-size: 0.66rem; |
| padding: 0; |
| } |
| .voice-play:hover { background: var(--accent-soft); color: var(--accent); } |
| .voice-play.playing { background: var(--accent); color: #fff; } |
| .slot-change { |
| border: 1px solid var(--border-strong); |
| background: #fff; |
| color: var(--ink-dim); |
| font-size: 0.74rem; |
| font-weight: 700; |
| border-radius: 8px; |
| padding: 7px 10px; |
| cursor: pointer; |
| flex-shrink: 0; |
| } |
| .slot-change:hover { border-color: var(--accent); color: var(--accent); } |
|
|
| .custom-voice-row { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| margin: -4px 0 10px 21px; |
| } |
| .upload-mini-btn { |
| font-size: 0.76rem; |
| padding: 6px 10px; |
| color: var(--ink-dim); |
| cursor: pointer; |
| max-width: 190px; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| display: inline-block; |
| } |
| .upload-mini-btn:hover { border-color: var(--accent); color: var(--accent); } |
|
|
| .clone-voice-btn { |
| width: 100%; |
| border: 1.5px dashed var(--border-strong); |
| background: transparent; |
| color: var(--ink-dim); |
| border-radius: 14px; |
| padding: 11px; |
| font-size: 0.84rem; |
| font-weight: 700; |
| cursor: pointer; |
| margin-bottom: 10px; |
| } |
| .clone-voice-btn:hover { border-color: var(--accent); color: var(--accent); } |
|
|
| .voice-consent-row { |
| border: 1px solid var(--speaker-3); |
| background: rgba(204, 138, 46, 0.08); |
| border-radius: var(--radius-sm); |
| padding: 10px 12px; |
| margin-top: 4px; |
| } |
| .voice-consent-row label { |
| display: flex; |
| align-items: flex-start; |
| gap: 8px; |
| font-size: 0.76rem; |
| color: var(--ink-dim); |
| cursor: pointer; |
| } |
| .voice-consent-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; } |
|
|
| input[type="range"] { width: 100%; accent-color: var(--accent); margin: 6px 0 2px; } |
| .slider-ends { |
| display: flex; |
| justify-content: space-between; |
| font-size: 0.7rem; |
| color: var(--ink-ghost); |
| } |
|
|
| .sidebar-footer { |
| font-size: 0.74rem; |
| color: var(--ink-ghost); |
| line-height: 1.55; |
| border-top: 1px solid var(--border); |
| padding-top: 14px; |
| } |
|
|
| |
| .composer-card:has(.composer-collapsed:not([hidden])) { padding: 14px 20px; } |
| .composer-collapsed[hidden] { display: none; } |
| .composer-collapsed { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| width: 100%; |
| border: none; |
| background: none; |
| padding: 4px 2px; |
| cursor: pointer; |
| text-align: left; |
| color: var(--ink); |
| } |
| .composer-collapsed .collapsed-label { |
| font-size: 0.68rem; |
| font-weight: 700; |
| letter-spacing: 0.12em; |
| text-transform: uppercase; |
| color: var(--ink-faint); |
| flex-shrink: 0; |
| } |
| .composer-collapsed .collapsed-summary { |
| flex: 1; |
| min-width: 0; |
| font-family: var(--font-serif); |
| font-style: italic; |
| font-size: 1.02rem; |
| color: var(--ink-dim); |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
| .composer-collapsed .collapsed-cta { |
| font-size: 0.78rem; |
| font-weight: 700; |
| color: var(--accent); |
| border: 1px solid var(--border-strong); |
| border-radius: 999px; |
| padding: 6px 14px; |
| flex-shrink: 0; |
| } |
| .composer-collapsed:hover .collapsed-cta { background: var(--accent-soft); border-color: var(--accent); } |
| #composerBody { animation: fadeIn 0.25s ease; } |
|
|
| .composer { |
| background: var(--paper); |
| border: 1px solid var(--border-strong); |
| border-radius: 14px; |
| overflow: hidden; |
| } |
| .composer:focus-within { border-color: #d9a98c; } |
| .composer-input { |
| display: block; |
| width: 100%; |
| border: none; |
| resize: none; |
| background: var(--paper-soft); |
| padding: 16px 18px 10px; |
| font-size: 0.95rem; |
| line-height: 1.55; |
| color: var(--ink); |
| min-height: 92px; |
| max-height: 240px; |
| cursor: text; |
| } |
| .composer-input:focus { outline: none; } |
| .composer-input::placeholder { color: var(--ink-ghost); font-style: italic; } |
|
|
| .composer-toolbar { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: 10px; |
| padding: 9px 10px; |
| border-top: 1px solid var(--border); |
| background: var(--paper-soft); |
| } |
| .composer-toolbar-left { display: flex; align-items: center; gap: 2px; } |
|
|
| select { |
| background-color: var(--paper-soft); |
| background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b5f52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); |
| background-repeat: no-repeat; |
| background-position: right 11px center; |
| border: 1px solid var(--border); |
| color: var(--ink); |
| border-radius: var(--radius-sm); |
| padding: 9px 28px 9px 10px; |
| font-size: 0.86rem; |
| appearance: none; |
| cursor: pointer; |
| } |
| select:focus { outline: none; border-color: #d9a98c; } |
|
|
| .toolbar-select { |
| width: auto; |
| background-color: transparent; |
| background-position: right 7px center; |
| background-size: 9px 6px; |
| border: 1px solid transparent; |
| border-radius: 999px; |
| color: var(--ink-dim); |
| font-size: 0.82rem; |
| font-weight: 600; |
| padding: 7px 24px 7px 11px; |
| } |
| .toolbar-select:hover { background-color: #fff; border-color: var(--border); } |
| .toolbar-select:focus { background-color: #fff; border-color: var(--border-strong); } |
|
|
| .toolbar-btn { |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| border: 1px solid transparent; |
| background: transparent; |
| color: var(--ink-dim); |
| font-size: 0.82rem; |
| font-weight: 600; |
| padding: 7px 12px; |
| border-radius: 999px; |
| cursor: pointer; |
| white-space: nowrap; |
| } |
| .toolbar-btn:hover { background: #fff; border-color: var(--border); color: var(--accent); } |
|
|
| |
| .btn { |
| font-family: var(--font-ui); |
| font-size: 0.84rem; |
| font-weight: 700; |
| text-decoration: none; |
| border-radius: var(--radius-sm); |
| border: 1px solid var(--border-strong); |
| background: var(--paper); |
| color: var(--ink); |
| padding: 9px 15px; |
| cursor: pointer; |
| transition: background 0.12s, color 0.12s, border-color 0.12s, transform 0.05s; |
| white-space: nowrap; |
| } |
| .btn:hover { border-color: var(--ink-faint); } |
| .btn:active { transform: scale(0.98); } |
| .btn:disabled { opacity: 0.5; cursor: not-allowed; } |
| .btn-ink { |
| background: var(--ink); |
| border-color: var(--ink); |
| color: var(--cream); |
| border-radius: 999px; |
| padding: 10px 22px; |
| } |
| .btn-ink:hover { background: #3a3226; border-color: #3a3226; } |
| .btn-accent { |
| background: var(--accent); |
| border-color: var(--accent); |
| color: #fff; |
| border-radius: 999px; |
| padding: 9px 18px; |
| } |
| .btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); } |
| .btn-accent:disabled { background: #d9a98c; border-color: #d9a98c; opacity: 1; } |
| .result-block .btn-pill-outline { margin-bottom: 8px; } |
| .btn-pill-outline { |
| display: block; |
| text-align: center; |
| text-decoration: none; |
| background: transparent; |
| border: 1px solid var(--border-strong); |
| color: var(--ink-dim); |
| border-radius: 999px; |
| padding: 10px 16px; |
| } |
| .btn-icon-only { |
| width: 34px; height: 34px; |
| padding: 0; |
| border-radius: 50%; |
| display: flex; align-items: center; justify-content: center; |
| } |
|
|
| |
| .example-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } |
| .chip { |
| font-size: 0.8rem; |
| font-weight: 600; |
| border: 1px solid var(--border-strong); |
| background: #fff; |
| color: var(--ink-dim); |
| border-radius: 999px; |
| padding: 7px 14px; |
| cursor: pointer; |
| } |
| .chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); } |
| .gen-status { font-size: 0.78rem; color: var(--ink-faint); margin-top: 8px; min-height: 1em; } |
|
|
| |
| .transcript-header { |
| display: flex; |
| align-items: baseline; |
| justify-content: space-between; |
| margin: 0 0 16px; |
| } |
| .transcript-header h2 { |
| margin: 0; |
| font-family: var(--font-serif); |
| font-weight: 400; |
| font-size: 1.6rem; |
| } |
| .transcript-meta { font-size: 0.8rem; color: var(--ink-ghost); } |
|
|
| .empty-transcript { |
| text-align: center; |
| padding: 44px 20px; |
| color: var(--ink-ghost); |
| font-size: 0.88rem; |
| border: 1.5px dashed var(--border-strong); |
| border-radius: 16px; |
| } |
| .empty-transcript .empty-title { |
| font-family: var(--font-serif); |
| font-size: 1.25rem; |
| color: var(--ink-faint); |
| margin-bottom: 6px; |
| } |
| .empty-transcript strong { color: var(--ink-dim); } |
|
|
| .turn-card { |
| border-left: 3px solid var(--speaker-1); |
| padding: 2px 0 2px 14px; |
| margin-bottom: 14px; |
| position: relative; |
| } |
| .turn-head { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| margin-bottom: 4px; |
| } |
| .turn-speaker-select { |
| font-size: 0.72rem; |
| font-weight: 700; |
| border: none; |
| background-color: transparent; |
| background-position: right 6px center; |
| background-size: 8px 5px; |
| border-radius: 999px; |
| padding: 3px 20px 3px 8px; |
| margin-left: -8px; |
| color: var(--ink-faint); |
| cursor: pointer; |
| } |
| .turn-speaker-select:hover { background-color: var(--paper-soft); } |
| .turn-remove { |
| border: none; |
| background: none; |
| color: var(--ink-faint); |
| cursor: pointer; |
| font-size: 0.9rem; |
| padding: 2px 6px; |
| opacity: 0; |
| transition: opacity 0.1s; |
| } |
| .turn-card:hover .turn-remove { opacity: 1; } |
| .turn-remove:hover { color: var(--error); } |
|
|
| .turn-card textarea { |
| width: 100%; |
| border: none; |
| background: transparent; |
| resize: none; |
| font-family: var(--font-ui); |
| font-size: 0.94rem; |
| line-height: 1.6; |
| color: var(--ink); |
| min-height: 24px; |
| padding: 0; |
| } |
| .turn-card textarea:focus { outline: none; } |
|
|
| .add-turn { |
| width: 100%; |
| border: 1.5px dashed var(--border-strong); |
| background: transparent; |
| color: var(--ink-faint); |
| border-radius: var(--radius-sm); |
| padding: 10px; |
| font-size: 0.84rem; |
| font-weight: 600; |
| cursor: pointer; |
| margin-top: 4px; |
| } |
| .add-turn:hover { border-color: var(--accent); color: var(--accent); } |
|
|
| |
| .generate-bar { |
| position: sticky; |
| bottom: 22px; |
| background: var(--paper); |
| border: 1px solid var(--border-strong); |
| border-radius: 999px; |
| box-shadow: var(--shadow); |
| padding: 8px 8px 8px 20px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: 12px; |
| } |
| .generate-bar-meta { font-size: 0.8rem; font-weight: 600; color: var(--ink-dim); } |
|
|
| |
| .dock-label { margin-bottom: 16px; } |
| .dock-empty { |
| text-align: center; |
| padding: 30px 8px; |
| color: #c9bca5; |
| font-size: 0.82rem; |
| line-height: 1.6; |
| } |
|
|
| .status-card { |
| display: none; |
| flex-direction: column; |
| align-items: center; |
| gap: 10px; |
| text-align: center; |
| padding: 18px 6px; |
| margin-bottom: 14px; |
| } |
| .status-card.visible { display: flex; } |
| .status-spinner { |
| width: 34px; height: 34px; |
| border-radius: 50%; |
| border: 3px solid var(--border); |
| border-top-color: var(--accent); |
| animation: spin 0.8s linear infinite; |
| } |
| .status-card.complete .status-spinner, .status-card.error .status-spinner { display: none; } |
| @keyframes spin { to { transform: rotate(360deg); } } |
| .status-title { font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; gap: 8px; } |
| .status-desc { font-size: 0.78rem; color: var(--ink-dim); } |
| .status-card.error .status-title { color: var(--error); } |
| .progress-track { |
| width: 100%; |
| height: 6px; |
| border-radius: 999px; |
| background: var(--field); |
| overflow: hidden; |
| margin-top: 4px; |
| } |
| .progress-fill { |
| height: 100%; |
| width: 0; |
| border-radius: 999px; |
| background: var(--accent); |
| transition: width 0.4s ease; |
| } |
| |
| .progress-track.indeterminate .progress-fill { |
| width: 32%; |
| transition: none; |
| animation: indeterminateSweep 1.7s ease-in-out infinite; |
| } |
| @keyframes indeterminateSweep { |
| 0% { transform: translateX(-110%); } |
| 100% { transform: translateX(320%); } |
| } |
| .progress-meta { |
| font-size: 0.74rem; |
| font-weight: 600; |
| color: var(--ink-dim); |
| font-variant-numeric: tabular-nums; |
| } |
| .stop-gen-btn { |
| margin-top: 4px; |
| border-radius: 999px; |
| padding: 8px 18px; |
| font-size: 0.78rem; |
| color: var(--error); |
| border-color: var(--error); |
| background: transparent; |
| } |
| .stop-gen-btn:hover { background: rgba(178, 59, 59, 0.08); border-color: var(--error); } |
| .status-dot-pulse { |
| width: 8px; height: 8px; border-radius: 50%; |
| background: var(--accent); |
| animation: pulse 1.2s ease-in-out infinite; |
| } |
| .status-card.complete .status-dot-pulse { background: var(--success); animation: none; } |
| .status-card.error .status-dot-pulse { background: var(--error); animation: none; } |
| @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } } |
|
|
| |
| .result-block { display: none; animation: fadeIn 0.3s ease; } |
| .result-block.visible { display: block; } |
| @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } |
|
|
| .player-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; } |
| .play-btn { |
| width: 44px; height: 44px; |
| border-radius: 50%; |
| background: var(--accent); |
| border: none; |
| color: #fff; |
| font-size: 0.85rem; |
| cursor: pointer; |
| flex-shrink: 0; |
| display: flex; align-items: center; justify-content: center; |
| padding: 0; |
| } |
| .play-btn:hover { background: var(--accent-hover); } |
| .wave-box { cursor: pointer; } |
| #resultWaveform { flex: 1; min-width: 0; min-height: 44px; } |
| .player-time { font-size: 0.76rem; color: var(--ink-faint); margin-bottom: 12px; text-align: right; } |
|
|
| .synced-transcript { |
| display: flex; |
| flex-direction: column; |
| gap: 6px; |
| max-height: 300px; |
| overflow-y: auto; |
| margin-bottom: 14px; |
| padding-right: 4px; |
| } |
| .synced-transcript::-webkit-scrollbar { width: 6px; } |
| .synced-transcript::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; } |
| .sync-line { |
| display: flex; |
| gap: 9px; |
| padding: 7px 9px; |
| border-radius: 10px; |
| cursor: pointer; |
| transition: background 0.25s; |
| } |
| .sync-line:hover { background: var(--paper-soft); } |
| .sync-line .sync-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; } |
| .sync-line .sync-label { font-size: 0.68rem; font-weight: 700; color: var(--ink-faint); margin-bottom: 2px; } |
| .sync-line .sync-text { font-size: 0.8rem; line-height: 1.5; color: var(--ink-ghost); } |
| .sync-line.active { background: var(--accent-soft); } |
| .sync-line.active .sync-label { color: var(--accent-hover); } |
| .sync-line.active .sync-text { color: var(--ink); font-weight: 600; } |
|
|
| .result-metrics { |
| display: flex; |
| flex-direction: column; |
| gap: 6px; |
| font-size: 0.78rem; |
| color: var(--ink-dim); |
| border-top: 1px solid var(--border); |
| padding-top: 12px; |
| margin-bottom: 12px; |
| } |
| .result-metrics > div { display: flex; justify-content: space-between; } |
| .result-metrics span { color: var(--ink-faint); } |
| .result-metrics strong { color: var(--ink); font-weight: 600; } |
|
|
| .log-toggle { |
| font-size: 0.74rem; |
| color: var(--ink-faint); |
| background: none; |
| border: none; |
| cursor: pointer; |
| padding: 0; |
| margin-top: 12px; |
| text-decoration: underline dotted; |
| } |
| .log-box { |
| display: none; |
| margin-top: 8px; |
| background: var(--paper-soft); |
| border: 1px solid var(--border); |
| border-radius: var(--radius-sm); |
| color: var(--ink-dim); |
| font-family: ui-monospace, "SF Mono", Menlo, monospace; |
| font-size: 0.72rem; |
| line-height: 1.5; |
| padding: 10px; |
| max-height: 340px; |
| overflow-y: auto; |
| white-space: pre-wrap; |
| } |
| .log-box.visible { display: block; } |
|
|
| |
| dialog { |
| border: none; |
| border-radius: 22px; |
| padding: 0; |
| max-width: 520px; |
| width: 92vw; |
| box-shadow: 0 24px 64px rgba(42, 32, 22, 0.25); |
| background: var(--paper); |
| color: var(--ink); |
| } |
| dialog::backdrop { background: rgba(42, 32, 22, 0.45); } |
| .dialog-body { padding: 24px; } |
| .dialog-body h3 { |
| margin: 0 0 4px; |
| font-family: var(--font-serif); |
| font-weight: 400; |
| font-size: 1.5rem; |
| } |
| .dialog-body p { font-size: 0.82rem; color: var(--ink-dim); margin: 8px 0 14px; } |
| .dialog-body textarea { |
| width: 100%; |
| border: 1px solid var(--border-strong); |
| border-radius: var(--radius-sm); |
| padding: 12px; |
| font-size: 0.86rem; |
| background: var(--paper-soft); |
| resize: vertical; |
| color: var(--ink); |
| } |
| .dialog-body textarea:focus { outline: none; border-color: #d9a98c; } |
| .dialog-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; } |
| .file-pick { display: flex; align-items: center; gap: 10px; min-width: 0; } |
| .file-pick label { cursor: pointer; } |
| .file-pick-name { |
| font-size: 0.78rem; |
| color: var(--ink-faint); |
| max-width: 150px; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
| .dialog-close { |
| background: none; |
| border: none; |
| font-size: 1.4rem; |
| color: var(--ink-faint); |
| cursor: pointer; |
| padding: 0 4px; |
| line-height: 1; |
| } |
| .dialog-close:hover { color: var(--ink); } |
|
|
| |
| .player-stage { |
| max-width: 680px; |
| border-radius: 24px; |
| max-height: 90vh; |
| overflow-y: auto; |
| |
| |
| |
| margin-top: 5vh; |
| margin-bottom: auto; |
| } |
| .player-stage::backdrop { background: rgba(42, 32, 22, 0.55); } |
| .stage-body { padding: 36px 36px 30px; } |
| .stage-eyebrow { |
| text-align: center; |
| font-size: 0.7rem; |
| font-weight: 700; |
| letter-spacing: 0.14em; |
| color: var(--ink-faint); |
| margin-bottom: 22px; |
| } |
| .stage-play-row { display: flex; justify-content: center; margin-bottom: 18px; } |
| .play-btn-lg { width: 68px; height: 68px; font-size: 1.3rem; } |
| #stageWaveform { width: 100%; min-height: 80px; font-size: 0.6rem; color: var(--ink-ghost); } |
| .stage-time { margin: 6px 0 20px; text-align: center; } |
| .stage-caption { text-align: center; padding: 0 10px; min-height: 120px; } |
| .stage-dot { |
| width: 9px; height: 9px; |
| display: inline-block; |
| margin: 0 0 12px; |
| background: var(--accent); |
| } |
| .stage-line { |
| font-family: var(--font-serif); |
| font-size: 1.55rem; |
| line-height: 1.4; |
| color: var(--ink); |
| } |
| .stage-speaker { font-size: 0.76rem; color: var(--ink-faint); margin-top: 10px; } |
| .stage-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; } |
| body.is-generating .sidebar, |
| body.is-generating .canvas { opacity: 0.6; transition: opacity 0.2s; } |
|
|
| |
| .gen-pct { |
| font-family: var(--font-serif); |
| font-size: 3.4rem; |
| line-height: 1; |
| text-align: center; |
| color: var(--accent); |
| margin: 8px 0 18px; |
| font-variant-numeric: tabular-nums; |
| } |
| .gen-track { height: 10px; margin-bottom: 12px; } |
| |
| .gen-stage-meta { |
| text-align: center; |
| font-size: 0.9rem; |
| font-weight: 700; |
| color: var(--ink); |
| font-variant-numeric: tabular-nums; |
| min-height: 1.4em; |
| } |
| .gen-stage-desc { |
| text-align: center; |
| font-size: 0.84rem; |
| color: var(--ink-faint); |
| margin-top: 6px; |
| min-height: 2.6em; |
| } |
| .gen-stage-log { height: 260px; } |
| .gen-stage-log { |
| margin-top: 18px; |
| background: var(--paper-soft); |
| border: 1px solid var(--border); |
| border-radius: var(--radius-sm); |
| color: var(--ink-dim); |
| font-family: ui-monospace, "SF Mono", Menlo, monospace; |
| font-size: 0.72rem; |
| line-height: 1.5; |
| padding: 12px; |
| max-height: 260px; |
| overflow-y: auto; |
| white-space: pre-wrap; |
| } |
| .gen-stage-log:empty { display: none; } |
|
|
| |
| .polish-panel { |
| margin-top: 18px; |
| padding: 16px 18px; |
| background: var(--paper-soft); |
| border: 1px solid var(--border); |
| border-radius: 14px; |
| } |
| .polish-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } |
| .polish-label { |
| font-size: 0.7rem; |
| font-weight: 700; |
| letter-spacing: 0.12em; |
| text-transform: uppercase; |
| color: var(--ink-faint); |
| width: 58px; |
| flex-shrink: 0; |
| } |
| .polish-row input[type="range"] { flex: 1; margin: 0; } |
| .polish-value { |
| font-size: 0.82rem; |
| font-weight: 700; |
| color: var(--accent); |
| width: 48px; |
| text-align: right; |
| font-variant-numeric: tabular-nums; |
| } |
| .polish-seg { flex: 1; margin-bottom: 0; } |
| .polish-check { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| font-size: 0.8rem; |
| color: var(--ink-dim); |
| cursor: pointer; |
| } |
| .polish-note { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: 10px; |
| margin-top: 12px; |
| padding-top: 10px; |
| border-top: 1px solid var(--border); |
| font-size: 0.72rem; |
| color: var(--ink-ghost); |
| } |
| .polish-status { |
| margin-top: 10px; |
| padding: 9px 12px; |
| border-radius: 10px; |
| background: var(--accent-soft); |
| color: var(--accent-hover); |
| font-size: 0.76rem; |
| font-weight: 600; |
| line-height: 1.45; |
| } |
| .polish-reset { |
| background: none; |
| border: none; |
| padding: 0; |
| font-size: 0.74rem; |
| font-weight: 700; |
| color: var(--accent); |
| cursor: pointer; |
| flex-shrink: 0; |
| } |
|
|
| .stage-transcript { margin: 20px 0 0; max-height: 260px; } |
| .stage-transcript .sync-text { font-size: 0.88rem; } |
|
|
| .icon-btn { |
| width: 30px; height: 30px; |
| border-radius: 50%; |
| border: none; |
| background: var(--field); |
| color: var(--ink-dim); |
| cursor: pointer; |
| flex-shrink: 0; |
| display: flex; align-items: center; justify-content: center; |
| padding: 0; |
| } |
| .icon-btn:hover { background: var(--accent-soft); color: var(--accent); } |
| .stage-body { position: relative; } |
| .stage-close { position: absolute; top: 16px; right: 16px; } |
|
|
| |
| .library-dialog { max-width: 780px; } |
| .library-dialog .dialog-body { max-height: 82vh; overflow-y: auto; } |
| .library-head { |
| display: flex; |
| justify-content: space-between; |
| align-items: baseline; |
| margin-bottom: 16px; |
| } |
| .library-search { |
| width: 100%; |
| border: 1px solid var(--border-strong); |
| background: var(--paper-soft); |
| border-radius: var(--radius-sm); |
| padding: 11px 14px; |
| font-size: 0.88rem; |
| margin-bottom: 12px; |
| color: var(--ink); |
| } |
| .library-search:focus { outline: none; border-color: #d9a98c; } |
| .filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; } |
| .filter-chip { |
| padding: 6px 12px; |
| border-radius: 999px; |
| font-size: 0.76rem; |
| font-weight: 600; |
| cursor: pointer; |
| border: 1px solid var(--border-strong); |
| background: #fff; |
| color: var(--ink-dim); |
| } |
| .filter-chip.active { |
| border: 1.5px solid var(--accent); |
| background: var(--accent-soft); |
| color: var(--accent); |
| } |
|
|
| .library-grid { |
| display: grid; |
| grid-template-columns: repeat(2, 1fr); |
| gap: 12px; |
| } |
| .voice-card { |
| border: 1px solid var(--border); |
| border-radius: 16px; |
| padding: 14px; |
| display: flex; |
| gap: 12px; |
| align-items: flex-start; |
| } |
| .voice-card.clone-card { border-style: dashed; border-color: var(--border-strong); } |
| .voice-avatar { |
| width: 40px; height: 40px; |
| border-radius: 50%; |
| color: #fff; |
| font-weight: 700; |
| font-size: 1.05rem; |
| display: flex; align-items: center; justify-content: center; |
| flex-shrink: 0; |
| font-family: var(--font-serif); |
| } |
| .clone-card .voice-avatar { background: var(--field); font-size: 1.1rem; } |
| .voice-card-body { flex: 1; min-width: 0; } |
| .voice-card-head { display: flex; justify-content: space-between; align-items: baseline; } |
| .voice-card-name { font-size: 0.92rem; font-weight: 700; } |
| .voice-preview-link { |
| background: none; |
| border: none; |
| color: var(--accent); |
| font-size: 0.74rem; |
| font-weight: 700; |
| cursor: pointer; |
| padding: 0; |
| } |
| .voice-card-meta { font-size: 0.74rem; color: var(--ink-faint); margin: 2px 0 9px; } |
| .slot-assign { display: flex; gap: 6px; align-items: center; } |
| .slot-assign-label { font-size: 0.68rem; color: var(--ink-ghost); margin-right: 2px; } |
| .slot-assign button { |
| width: 26px; height: 26px; |
| border-radius: 50%; |
| border: 1px solid var(--border-strong); |
| background: #fff; |
| color: var(--ink-dim); |
| font-size: 0.74rem; |
| font-weight: 700; |
| cursor: pointer; |
| padding: 0; |
| } |
| .slot-assign button.assigned { border: none; color: #fff; } |
|
|
| .use-voice-btn { padding: 7px 14px; font-size: 0.78rem; } |
| .use-voice-btn:disabled { background: var(--field); border-color: var(--field); color: var(--ink-faint); } |
|
|
| |
| .clone-capture { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; } |
| .clone-upload-label { cursor: pointer; } |
| .record-timer { |
| font-family: ui-monospace, "SF Mono", Menlo, monospace; |
| font-size: 0.9rem; |
| font-weight: 700; |
| color: var(--accent); |
| } |
| @keyframes recPulse { 50% { opacity: 0.35; } } |
| @keyframes recGlow { |
| 0% { box-shadow: 0 0 0 0 rgba(178, 59, 59, 0.45); } |
| 70% { box-shadow: 0 0 0 14px rgba(178, 59, 59, 0); } |
| 100% { box-shadow: 0 0 0 0 rgba(178, 59, 59, 0); } |
| } |
| #recordBtn.recording { |
| background: var(--error); |
| border-color: var(--error); |
| animation: recGlow 1.3s ease-out infinite; |
| } |
| .record-timer.rec-live { |
| display: inline-flex; |
| align-items: center; |
| gap: 8px; |
| color: var(--error); |
| font-size: 1.05rem; |
| } |
| .record-timer.rec-live::before { |
| content: ""; |
| width: 10px; |
| height: 10px; |
| border-radius: 50%; |
| background: var(--error); |
| animation: recPulse 1.3s ease-in-out infinite; |
| } |
| .read-script-toggle { |
| background: none; |
| border: none; |
| padding: 0; |
| margin: -6px 0 14px; |
| font-size: 0.8rem; |
| font-weight: 600; |
| color: var(--ink-faint); |
| text-decoration: underline dotted; |
| cursor: pointer; |
| display: block; |
| } |
| .read-script-toggle:hover { color: var(--accent); } |
| .read-script-card { |
| background: var(--paper-soft); |
| border: 1px solid var(--border); |
| border-radius: 14px; |
| padding: 16px 18px; |
| margin: -6px 0 14px; |
| } |
| .read-script-text { |
| font-family: var(--font-serif); |
| font-size: 1.08rem; |
| line-height: 1.65; |
| color: var(--ink); |
| } |
| .read-script-foot { |
| display: flex; |
| justify-content: space-between; |
| align-items: baseline; |
| gap: 10px; |
| margin-top: 10px; |
| font-size: 0.74rem; |
| color: var(--ink-faint); |
| } |
| .read-script-foot button { |
| background: none; |
| border: none; |
| padding: 0; |
| font-size: 0.76rem; |
| font-weight: 700; |
| color: var(--accent); |
| cursor: pointer; |
| white-space: nowrap; |
| } |
|
|
| .clone-optimize { |
| display: flex; |
| align-items: flex-start; |
| gap: 8px; |
| font-size: 0.78rem; |
| color: var(--ink-dim); |
| cursor: pointer; |
| margin-bottom: 14px; |
| } |
| .clone-optimize input { margin-top: 2px; flex-shrink: 0; } |
| .clone-preview { margin-bottom: 14px; } |
| .clone-preview audio { width: 100%; height: 34px; margin-bottom: 6px; } |
| .clone-meta { font-size: 0.78rem; color: var(--ink-dim); } |
| .clone-section-label { |
| font-size: 0.7rem; |
| font-weight: 700; |
| letter-spacing: 0.12em; |
| text-transform: uppercase; |
| color: var(--ink-faint); |
| margin-bottom: 8px; |
| } |
| .clone-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; } |
| .clone-slot-pill { |
| padding: 7px 13px; |
| border-radius: 999px; |
| font-size: 0.78rem; |
| font-weight: 600; |
| cursor: pointer; |
| border: 1px solid var(--border-strong); |
| background: #fff; |
| color: var(--ink-dim); |
| } |
| .clone-slot-pill.active { |
| border: 1.5px solid var(--accent); |
| background: var(--accent-soft); |
| color: var(--accent); |
| } |
| .clone-consent { |
| display: flex; |
| align-items: flex-start; |
| gap: 8px; |
| font-size: 0.78rem; |
| color: var(--ink-dim); |
| cursor: pointer; |
| border: 1px solid var(--border); |
| border-radius: var(--radius-sm); |
| padding: 10px 12px; |
| } |
| .clone-consent input { margin-top: 2px; flex-shrink: 0; } |
| .clone-name-input { |
| width: 100%; |
| border: 1px solid var(--border-strong); |
| background: var(--paper-soft); |
| border-radius: var(--radius-sm); |
| padding: 10px 13px; |
| font-size: 0.88rem; |
| color: var(--ink); |
| margin-bottom: 14px; |
| } |
| .clone-name-input:focus { outline: none; border-color: #d9a98c; } |
|
|
| .library-section-label { |
| grid-column: 1 / -1; |
| font-size: 0.7rem; |
| font-weight: 700; |
| letter-spacing: 0.12em; |
| text-transform: uppercase; |
| color: var(--ink-faint); |
| margin: 4px 0 -4px; |
| } |
| .voice-card-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } |
| .voice-mini-action { |
| background: none; |
| border: none; |
| color: var(--ink-faint); |
| font-size: 0.82rem; |
| cursor: pointer; |
| padding: 0 2px; |
| } |
| .voice-mini-action:hover { color: var(--accent); } |
| .voice-rename-input { |
| border: 1px solid var(--border-strong); |
| background: var(--paper-soft); |
| border-radius: 7px; |
| padding: 3px 8px; |
| font-size: 0.86rem; |
| font-weight: 700; |
| color: var(--ink); |
| width: 140px; |
| } |
| .voice-rename-input:focus { outline: none; border-color: #d9a98c; } |
|
|
| |
| #aboutDialog .dialog-body { max-height: 70vh; overflow-y: auto; } |
| #aboutDialog img { width: 100%; border-radius: var(--radius-sm); margin: 10px 0; border: 1px solid var(--border); } |
| #aboutDialog ul { padding-left: 20px; font-size: 0.86rem; color: var(--ink-dim); } |
| #aboutDialog li { margin-bottom: 4px; } |
|
|
| |
| @media (max-width: 1400px) { |
| .app-shell { grid-template-columns: 1fr; max-width: 760px; } |
| .pane { position: static; max-height: none; } |
| } |
| @media (max-width: 640px) { |
| .topbar { padding: 14px 18px; } |
| .app-shell { padding: 20px 16px 80px; } |
| .library-grid { grid-template-columns: 1fr; } |
| } |
|
|