*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f0f0f;color:#e8e8e8;min-height:100vh}.page{display:flex;flex-direction:column;align-items:center;padding:60px 20px}h1{font-size:1.6rem;font-weight:600;margin-bottom:8px;letter-spacing:-.02em}.subtitle{color:#666;font-size:.9rem;margin-bottom:32px}.options{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap;justify-content:center}.opt-toggle{display:flex;align-items:center;gap:7px;padding:8px 14px;border:1px solid #2a2a2a;border-radius:10px;font-size:.85rem;color:#777;cursor:pointer;transition:border-color .15s,color .15s,background .15s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.opt-toggle input{display:none}.opt-toggle.active{border-color:#4f8ef7;color:#4f8ef7;background:rgba(79,142,247,.07)}.opt-toggle:hover{border-color:#444;color:#aaa}.opt-toggle.active:hover{border-color:#3d7de0}.opt-icon{font-size:1rem}.drop-zone{width:100%;max-width:600px;border:2px dashed #333;border-radius:16px;padding:60px 40px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;position:relative}.drop-zone.dragover{border-color:#4f8ef7;background:rgba(79,142,247,.05)}.drop-zone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.drop-icon{font-size:2.5rem;margin-bottom:16px}.drop-label{font-size:1rem;color:#aaa;line-height:1.6}.drop-label strong{color:#4f8ef7}.formats{margin-top:10px;font-size:.78rem;color:#555}.status-section{width:100%;max-width:600px;margin-top:32px}.status-bar{background:#1a1a1a;border-radius:12px;padding:20px 24px;display:flex;align-items:center;gap:16px}.spinner{width:22px;height:22px;border:2.5px solid #333;border-top-color:#4f8ef7;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.status-text{font-size:.95rem;color:#ccc}.status-text .filename{color:#fff;font-weight:500}.transcript-section{width:100%;max-width:600px;margin-top:32px}.transcript-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.view-tabs{display:flex;gap:4px}.view-tab{background:none;border:1px solid #2a2a2a;color:#666;padding:5px 12px;border-radius:7px;font-size:.78rem;cursor:pointer;transition:all .15s}.view-tab:hover{border-color:#444;color:#aaa}.view-tab.active{border-color:#4f8ef7;color:#4f8ef7;background:rgba(79,142,247,.08)}.copy-btn{background:#1e1e1e;border:1px solid #333;color:#aaa;padding:6px 14px;border-radius:8px;font-size:.8rem;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.copy-btn:hover{background:#2a2a2a;color:#fff}.transcript-box{background:#1a1a1a;border-radius:12px;padding:24px;font-size:.95rem;line-height:1.8;color:#ddd;white-space:pre-wrap;max-height:560px;overflow-y:auto}.utterance-list{display:flex;flex-direction:column;gap:0;white-space:normal}.utterance{padding:14px 0;border-bottom:1px solid #222}.utterance:last-child{border-bottom:none;padding-bottom:0}.utterance:first-child{padding-top:0}.utterance-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px}.timestamp{font-size:.72rem;font-family:monospace;color:#555;flex-shrink:0}.speaker-chip{font-size:.72rem;font-weight:600;padding:2px 9px;border-radius:100px;letter-spacing:.03em}.utterance-text{font-size:.93rem;line-height:1.65;color:#ccc}.chapter-list{display:flex;flex-direction:column;gap:0;white-space:normal}.chapter{padding:16px 0;border-bottom:1px solid #222}.chapter:last-child{border-bottom:none;padding-bottom:0}.chapter:first-child{padding-top:0}.chapter-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px}.chapter-gist{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#fb923c;background:rgba(251,146,60,.12);padding:2px 8px;border-radius:100px}.chapter-headline{font-size:.97rem;font-weight:600;color:#e8e8e8;margin-bottom:6px}.chapter-summary{font-size:.88rem;line-height:1.65;color:#999}.reset-btn{margin-top:20px;background:none;border:1px solid #333;color:#666;padding:8px 20px;border-radius:8px;font-size:.85rem;cursor:pointer;transition:color .15s,border-color .15s}.reset-btn:hover{color:#aaa;border-color:#555}.error-box{background:#1f0f0f;border:1px solid #5c1a1a;color:#f87171;border-radius:12px;padding:16px 20px;font-size:.9rem}.login-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:40px 20px}.login-card{background:#1a1a1a;border:1px solid #2a2a2a;border-radius:16px;padding:40px;width:100%;max-width:360px}.login-card h1{margin-bottom:8px}.login-card .subtitle{margin-bottom:28px}.login-card label{display:block;font-size:.85rem;color:#888;margin-bottom:8px}.login-card input[type=password]{width:100%;background:#111;border:1px solid #333;color:#e8e8e8;border-radius:10px;padding:12px 16px;font-size:1rem;margin-bottom:16px;outline:none;transition:border-color .2s}.login-card input[type=password]:focus{border-color:#4f8ef7}.login-btn{width:100%;background:#4f8ef7;color:#fff;border:none;border-radius:10px;padding:13px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .15s}.login-btn:hover{background:#3d7de0}.login-btn:disabled{background:#2a4a80;cursor:not-allowed}.login-error{color:#f87171;font-size:.85rem;margin-top:10px;text-align:center}