* { box-sizing: border-box; } body { margin: 0; font-family: 'Inter', 'Segoe UI', sans-serif; background: linear-gradient(180deg, #0f172a 0%, #111827 100%); color: #e5e7eb; min-height: 100vh; } .app-header { padding: 2rem 3rem 1.5rem; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(148, 163, 184, 0.2); } .app-header h1 { margin: 0; font-size: 2.5rem; letter-spacing: 0.05em; } .app-header .tagline { margin: 0.5rem 0 0; color: #94a3b8; } .app-shell { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; padding: 1.5rem 2rem 3rem; } .sidebar { display: flex; flex-direction: column; gap: 1.5rem; } .panel { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(148, 163, 184, 0.15); border-radius: 16px; padding: 1.25rem; box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35); } .panel h2 { margin: 0 0 1rem; font-size: 1.1rem; letter-spacing: 0.02em; } .panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; } label { display: block; font-size: 0.9rem; margin-bottom: 0.35rem; color: #cbd5f5; } input[type="text"], input[type="url"], input[type="number"], select, textarea { width: 100%; padding: 0.6rem 0.75rem; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); background: rgba(15, 23, 42, 0.6); color: #e5e7eb; font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; } input:focus, select:focus, textarea:focus { outline: none; border-color: #38bdf8; box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15); } textarea { resize: vertical; } input[type="range"] { width: 100%; margin: 0.5rem 0; } .hint { font-size: 0.8rem; color: #94a3b8; } .toggle { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; } .radio-group { display: flex; gap: 0.75rem; margin-bottom: 0.5rem; } .radio-group input { margin-right: 0.35rem; } .content { display: flex; flex-direction: column; gap: 1.5rem; } .tabs { display: inline-flex; background: rgba(30, 41, 59, 0.6); border-radius: 999px; padding: 0.4rem; width: fit-content; border: 1px solid rgba(148, 163, 184, 0.2); } .tab { border: none; background: transparent; color: #94a3b8; padding: 0.6rem 1.2rem; border-radius: 999px; font: inherit; cursor: pointer; transition: all 0.2s ease; } .tab.active { background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%); color: #0f172a; font-weight: 600; } .tab-panel { display: none; } .tab-panel.active { display: block; } .form-row { display: flex; gap: 0.75rem; } .form-row input { flex: 1; } .list { margin-top: 1rem; display: grid; gap: 0.75rem; } .list-grid { margin-top: 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; } .list-section { background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; } .list-section-header { display: flex; flex-direction: column; gap: 0.35rem; } .list-section-header h3 { margin: 0; font-size: 1rem; letter-spacing: 0.02em; } .list-hint { margin: 0; font-size: 0.85rem; color: #9ca3af; } .list-item { padding: 0.75rem; border-radius: 12px; background: rgba(15, 23, 42, 0.55); border: 1px solid rgba(148, 163, 184, 0.15); display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .list-item button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.45rem; transition: all 0.2s ease; } .list-item button.loading { pointer-events: none; opacity: 0.75; } .list-item button.loading::before { content: ''; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 2px solid rgba(148, 163, 184, 0.4); border-top-color: #38bdf8; animation: spin 0.8s linear infinite; } .list-item button.success { background: rgba(34, 197, 94, 0.18); border-color: rgba(34, 197, 94, 0.35); color: #86efac; } .list-item button.error { background: rgba(248, 113, 113, 0.18); border-color: rgba(248, 113, 113, 0.35); color: #fca5a5; } @keyframes spin { to { transform: rotate(360deg); } } .list-item.selected { border-color: rgba(56, 189, 248, 0.6); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15); } .empty-state { padding: 1rem; text-align: center; border: 1px dashed rgba(148, 163, 184, 0.25); border-radius: 12px; color: #94a3b8; font-size: 0.9rem; background: rgba(15, 23, 42, 0.35); } .actions { display: flex; gap: 1rem; align-items: center; } button { border: none; border-radius: 10px; padding: 0.65rem 1.1rem; font: inherit; cursor: pointer; color: #0f172a; background: #e2e8f0; transition: transform 0.2s ease, box-shadow 0.2s ease; } button.primary { background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%); color: #0f172a; font-weight: 600; } button.secondary { background: rgba(148, 163, 184, 0.2); color: #e5e7eb; } button:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25); } .status-text { color: #eab308; font-size: 0.9rem; } #transcript-container { max-height: 420px; overflow: auto; border-radius: 12px; background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(148, 163, 184, 0.15); } #transcript-list { list-style: none; padding: 0; margin: 0; } .utterance-item { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.1); transition: background 0.2s ease; } .utterance-item:last-child { border-bottom: none; } .utterance-item.active { background: rgba(56, 189, 248, 0.15); border-left: 3px solid #38bdf8; } .utterance-header { display: flex; align-items: center; gap: 0.75rem; } .timestamp { font-size: 0.8rem; color: #94a3b8; min-width: 70px; } .speaker-tag { font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(129, 140, 248, 0.2); } .utterance-actions { margin-left: auto; display: flex; gap: 0.5rem; } .edit-btn { background: rgba(148, 163, 184, 0.2); color: #e5e7eb; padding: 0.3rem 0.6rem; font-size: 0.85rem; } .utterance-text { margin-top: 0.4rem; line-height: 1.5; } .edit-area { margin-top: 0.6rem; display: grid; gap: 0.5rem; } .edit-area textarea { width: 100%; } .edit-controls { display: flex; gap: 0.5rem; } .summary { min-height: 120px; background: rgba(15, 23, 42, 0.5); border-radius: 12px; padding: 1rem; border: 1px solid rgba(148, 163, 184, 0.15); white-space: pre-wrap; } .export-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; align-items: end; } #diarization-metrics, #speaker-breakdown { display: grid; gap: 0.75rem; } .metric-card { padding: 0.75rem; border-radius: 12px; background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(148, 163, 184, 0.1); } .hidden { display: none !important; } @media (max-width: 1100px) { .app-shell { grid-template-columns: 1fr; } .sidebar { order: 2; } .content { order: 1; } }