/* ============================================================ RECORDING STUDIO — light theme, condition-coded UI ============================================================ */ /* --- Page background override --- */ body { background: #f4f4f8 !important; color: #111118; } .container { max-width: 660px !important; color: #111118; } /* --- Condition colour system --- neutral → slate #64748b weak → sky #0ea5e9 strong → amber #d97706 ----------------------------------------------------------- */ .recording-page { --accent: #64748b; --accent-rgb: 100, 116, 139; --accent-dim: rgba(100, 116, 139, 0.08); --accent-border: rgba(100, 116, 139, 0.2); } .recording-page[data-condition="weak"] { --accent: #0ea5e9; --accent-rgb: 14, 165, 233; --accent-dim: rgba(14, 165, 233, 0.08); --accent-border: rgba(14, 165, 233, 0.22); } .recording-page[data-condition="strong"] { --accent: #d97706; --accent-rgb: 217, 119, 6; --accent-dim: rgba(217, 119, 6, 0.08); --accent-border: rgba(217, 119, 6, 0.22); } /* --- Top bar ------------------------------------------------ */ .top-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; margin-bottom: 10px; } .condition-badge { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent-border); padding: 5px 13px; border-radius: 20px; } .round-counter { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 800; color: #111118; } .round-counter span { font-weight: 500; color: #b0b0c0; } /* --- Progress bar ------------------------------------------ */ .progress-track { height: 2px; background: rgba(0, 0, 0, 0.08); border-radius: 2px; margin-bottom: 24px; overflow: hidden; } .progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.6s ease; } /* --- Shared card label ------------------------------------- */ .card-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; } /* --- Instruction card -------------------------------------- */ .instruction-card { background: #ffffff; border: 1px solid var(--accent-border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 18px 22px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); } .instruction-text { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 500; color: #3a3a4a; line-height: 1.65; margin: 0; } .instruction-text strong { color: var(--accent); font-weight: 700; } /* --- Statement card ---------------------------------------- */ .statement-card { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.07); border-radius: 12px; padding: 30px 36px; margin-bottom: 20px; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); } .statement-text { font-family: 'DM Sans', sans-serif; font-size: 28px; font-weight: 500; color: #111118; line-height: 1.5; margin: 0; letter-spacing: -0.01em; } /* --- Floating pill ----------------------------------------- */ .voice-pill { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 60px; padding: 12px 22px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08); display: flex; align-items: center; gap: 10px; z-index: 1000; } .recording-indicator { width: 8px; height: 8px; border-radius: 50%; background: #d0d0dc; flex-shrink: 0; transition: background 0.3s ease; } .recording-indicator.active { background: #ef4444; animation: pulse 1.2s ease-in-out infinite; } .recording-indicator.has-recording { background: #22c55e; } @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.35); } } .status-text { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: #9090a8; min-width: 88px; text-align: center; } .pill-divider { width: 1px; height: 22px; background: rgba(0, 0, 0, 0.08); flex-shrink: 0; } .pill-btn { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; background: #f0f0f5; color: #5a5a70; flex-shrink: 0; transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease; } .pill-btn svg { width: 18px; height: 18px; } .pill-btn:hover:not(:disabled) { background: #e4e4ec; color: #111118; transform: scale(1.08); } .pill-btn:active:not(:disabled) { transform: scale(0.93); } .pill-btn:disabled { opacity: 0.35; cursor: not-allowed; } /* Record button */ .pill-btn.record-btn { width: 50px; height: 50px; background: #ef4444; color: #fff; } .pill-btn.record-btn:hover:not(:disabled) { background: #dc2626; } .pill-btn.record-btn.recording { background: #374151; color: #fff; } .pill-btn.record-btn.recording:hover:not(:disabled) { background: #1f2937; } /* Next button */ .pill-btn.next-btn { background: var(--accent); color: #ffffff; box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.35); } .pill-btn.next-btn:hover:not(:disabled) { filter: brightness(1.1); box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.5); transform: scale(1.08); } .pill-btn.next-btn:disabled { background: #e8e8f0; color: #a0a0b8; box-shadow: none; opacity: 1; } /* --- Spacer for fixed pill --------------------------------- */ .pill-spacer { height: 90px; } /* --- Responsive -------------------------------------------- */ @media (max-width: 480px) { .statement-text { font-size: 22px; } .statement-card { padding: 22px 20px; } .voice-pill { padding: 8px 12px; gap: 6px; bottom: 24px; } .status-text { display: none; } .pill-divider:first-of-type { display: none; } .pill-btn { width: 38px; height: 38px; } .pill-btn.record-btn { width: 44px; height: 44px; } .pill-btn svg { width: 16px; height: 16px; } }