:root{--bg:#f5f6f8;--surface:#fff;--ink:#1e293b;--muted:#8490a0;--line:#e7ebf0;--accent:#315fef;--navy:#122033;--green:#1f9471}*{box-sizing:border-box}body{margin:0;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}[hidden]{display:none!important}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:default}input,select{border:1px solid #dce2ea;border-radius:8px;background:white;padding:10px 12px;min-width:0;color:var(--ink)}input:focus,select:focus{outline:2px solid #b6c8ff;border-color:var(--accent)}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;margin:18px 0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin-bottom:12px}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:16px;margin-bottom:4px}.muted{color:var(--muted)}.small,small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--accent);margin-bottom:12px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:11px 18px;border-radius:8px;font-weight:600;white-space:nowrap}.primary{background:var(--accent);color:white;box-shadow:0 3px 7px #315fef19}.primary:hover{background:#254ed5}.secondary{border:1px solid #dce2ea;background:white}.secondary:hover{background:#f6f8fc}.full{width:100%;justify-content:space-between}.error{color:#d64a55;font-size:13px;min-height:20px}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:2px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#315fef;border-radius:10px;color:white;font-size:35px;line-height:1}.brand-small{font-size:9px;font-weight:400;letter-spacing:2px;margin-left:12px;color:#92a2b6}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.2fr 1fr;background:white}.login-intro{background:var(--navy);color:white;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-intro h1{font-size:clamp(38px,4.5vw,68px);line-height:1.13;letter-spacing:-2px}.login-intro h1 span{color:#8eabf9}.login-intro .eyebrow{color:#8eabf9}.login-intro p{color:#b0bdce;font-size:16px}.login-intro>.muted{font-size:11px;color:#8191a7}.login-card{align-self:center;width:100%;max-width:440px;padding:50px;margin:auto}.login-card h2{font-size:30px}.login-card form{margin-top:30px;margin-bottom:25px}.wave{height:80px;display:flex;gap:8px;align-items:center;margin-top:40px}.wave i{display:block;width:6px;height:30px;background:#688ef8;border-radius:6px}.wave i:nth-child(3n){height:65px}.wave i:nth-child(4n){height:45px}.wave i:nth-child(5n){height:78px}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#a0aec0;padding:30px 20px;display:flex;flex-direction:column}.sidebar .brand{color:white;margin-bottom:48px;padding-left:8px}.workspace-label{font-size:9px;letter-spacing:1.3px;margin:0 10px 14px;color:#73849b}.nav-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 14px;margin:4px 0;border-radius:8px;font-size:13px}.nav-item span{font-size:18px;width:20px}.nav-item.active{color:white;background:#263851;box-shadow:inset 3px 0 #7292ff}.nav-item:hover{color:white}.sidebar-bottom{margin-top:auto;font-size:12px}.sidebar-bottom>a,.sidebar-bottom>button{display:block;padding:10px 12px}.account{border-top:1px solid #2b3749;margin-top:20px;padding-top:22px;display:flex;gap:10px;align-items:center}.account>span{display:grid;place-items:center;width:35px;height:35px;background:#314663;border-radius:50%;color:#c5d6fc;font-weight:700}.account strong{color:#e9eef6;font-size:12px;display:block;max-width:115px;overflow:hidden;text-overflow:ellipsis}.account small{font-size:10px}.account button{margin-left:auto;font-size:24px}.content{margin-left:238px;padding:0 38px 40px;max-width:1800px}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:#8b96a5;font-size:11px;margin-bottom:36px}.local-badge{background:#eaf5f0;color:#41836f;border:1px solid #d9ece4;padding:5px 10px;border-radius:20px;font-size:10px;display:flex;align-items:center;gap:6px}.local-badge i{width:5px;height:5px;background:#49a785;border-radius:50%}.page-title{position:relative;margin-bottom:28px}.page-title>button{position:absolute;right:0;top:26px}.page-title p{font-size:13px;margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;padding:22px 0}.stats>div{padding:0 25px;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats span{color:#7f8b9b;font-size:12px;display:flex;align-items:center;gap:6px}.stats strong{font-size:30px;display:block;margin-top:8px;line-height:1.1;letter-spacing:-.5px}.dot{width:6px;height:6px;border-radius:50%;display:inline-block}.amber{background:#e3a849}.blue{background:#6285f5}.green{background:#49ab89}.upload-card{padding:27px;display:flex;align-items:center;gap:17px;border:1px dashed #b6c8ef;background:#f0f4ff;border-radius:12px;margin-bottom:34px}.upload-card.dragging{outline:3px solid #a4bcff}.upload-icon{width:48px;height:48px;border-radius:13px;background:white;display:grid;place-items:center;font-size:27px;color:var(--accent);flex-shrink:0}.upload-copy{flex:1;min-width:0}.upload-copy p{margin:0;color:#8996ac;font-size:11px}.chosen-file{font-size:12px;color:#315fef;margin-top:8px;overflow-wrap:anywhere}progress{width:100%;height:7px;accent-color:#315fef;margin-top:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-heading h2{font-size:17px;margin:0}.section-heading h2 span{display:inline-block;font-size:11px;font-weight:500;background:#e7ebf2;padding:1px 7px;border-radius:5px;margin-left:8px}.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}.filters input,.filters select{font-size:11px;padding:9px 11px}.filters input:first-child{flex:1;min-width:170px}.filters input[type=date]{width:137px}.table-wrap{border:1px solid var(--line);border-radius:10px;background:white;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;padding:14px 17px;background:#fafbfd;color:#97a0af;font-size:9px;letter-spacing:.8px;font-weight:600;border-bottom:1px solid var(--line)}td{padding:17px;border-bottom:1px solid #eef1f5}tr:last-child td{border:0}tbody tr:hover{background:#fafcff}.file-cell{display:flex;align-items:center;gap:12px;max-width:350px}.file-cell .file-icon{font-size:20px;color:#6788cb;background:#eef3fc;width:34px;height:39px;border-radius:6px;display:grid;place-items:center;flex-shrink:0}.file-cell strong{font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;max-width:270px}.file-cell small{display:block;color:#97a1b0;font-size:10px;margin-top:3px}.status{font-size:10px;font-weight:600;border-radius:20px;padding:5px 9px;display:inline-block;background:#f0f2f6;color:#8490a0}.status.queued{background:#fff5e5;color:#b58839}.status.processing{background:#edf2ff;color:#5779d8}.status.completed{background:#eaf7f1;color:#389575}.status.failed{background:#fff0f1;color:#cc6370}.source{font-size:10px;border:1px solid #e4e8ef;border-radius:5px;padding:3px 7px;color:#8792a4}.row-link{color:#315fef;font-size:20px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:17px;font-size:11px;color:#8390a1}.pagination .secondary{padding:7px 12px;font-size:11px}.empty{text-align:center;padding:50px 20px;color:#8f9bae}.empty>div{font-size:40px;color:#becbe1}.empty h3{color:#69788e}.empty p{font-size:12px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:24px}.panel p{font-size:13px}.inline-form{display:flex;align-items:end;gap:18px}.inline-form label{flex:1;margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .panel{margin:0}.settings-grid input{max-width:180px}.settings-grid code{font-size:12px;word-break:break-all;color:#5775bc}.text-link{color:var(--accent);font-size:12px}dl{display:grid;grid-template-columns:1fr auto;font-size:13px;gap:13px}dt{color:var(--muted)}dd{margin:0;text-align:right}.danger{color:#ce5a66}.user-actions{display:flex;gap:7px}.user-actions button{font-size:11px;border:1px solid #e1e6ee;padding:6px 8px;border-radius:5px}.audit-detail{max-width:450px;white-space:normal;overflow-wrap:anywhere;font-size:11px}dialog{border:1px solid #e0e5ee;border-radius:16px;padding:30px;max-width:850px;width:calc(100% - 36px);max-height:90vh;overflow:auto;box-shadow:0 25px 120px #0d1b3440}dialog::backdrop{background:#0c1e3a80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.dialog-heading h2{overflow-wrap:anywhere}.icon-button{font-size:26px;color:#8994a5;line-height:1}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.dialog-actions a{font-size:12px}.transcript{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;background:#f7f9fc;border:1px solid #e8edf4;border-radius:9px;padding:20px;margin:15px 0;font-size:14px}.track-title{font-size:12px;color:#8390a1;margin-top:20px}.detail-id{font-family:monospace;font-size:11px;overflow-wrap:anywhere}#detail-status{margin:16px 0}#detail-audio{width:100%;height:40px;margin:8px 0 15px}#password-dialog{max-width:440px}#toast{position:fixed;right:24px;bottom:24px;z-index:100;background:#1b2c46;color:white;border-radius:10px;padding:14px 20px;max-width:500px;box-shadow:0 10px 40px #14213a30}#toast.bad{background:#9d3544}@media(max-width:1100px){.sidebar{width:205px}.content{margin-left:205px;padding:0 22px 30px}.upload-card{flex-wrap:wrap}.upload-copy{min-width:200px}.file-cell strong{max-width:190px}.inline-form{flex-wrap:wrap}.inline-form label{min-width:180px}.login-intro{padding:40px}.stats>div{padding:0 17px}}@media(max-width:760px){.login-layout{display:block}.login-intro{min-height:auto;padding:28px}.login-intro>div:nth-child(2){margin-top:35px}.login-intro h1{font-size:36px}.login-intro p,.wave,.login-intro>.muted{display:none}.login-card{padding:32px}.sidebar{position:static;width:auto;padding:15px}.sidebar .brand{margin:0 0 15px}.workspace-label{display:none}.sidebar nav{display:flex;overflow:auto}.nav-item{width:auto;white-space:nowrap;padding:10px}.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.sidebar-bottom>a,.sidebar-bottom>button{font-size:10px;padding:5px}.account{margin:0;padding:0;border:0}.account>span,.account small{display:none}.content{margin:0;padding:0 15px 25px}.topbar{height:55px;margin-bottom:25px}.topbar>span:first-child{display:none}.topbar{justify-content:flex-end}h1{font-size:27px}.page-title>button{position:static;margin-top:14px}.stats{grid-template-columns:1fr 1fr;gap:22px}.stats>div:nth-child(2){border:0}.upload-card{padding:18px;gap:12px}.upload-copy{min-width:170px}.upload-icon{display:none}.section-heading>.small{display:none}.filters input:first-child{flex-basis:100%}.settings-grid{grid-template-columns:1fr}dialog{padding:22px}.local-badge{font-size:9px}}
.transcript-editor{width:100%;min-height:200px;resize:vertical;border:1px solid #dce2ea;border-radius:8px;padding:16px;font-family:inherit;font-size:14px;line-height:1.8;color:#1e293b;background:#f7f9fc}
.diarize-option{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 0;font-size:12px;font-weight:500}.diarize-option input{width:16px;height:16px;margin:0;accent-color:var(--accent)}.speaker-turn{margin:13px 0;padding:15px 18px;background:#f3f6ff;border-left:3px solid #6285f5;border-radius:8px}.speaker-turn.speaker_2{background:#f0f9f5;border-color:#49ab89}.speaker-turn.speaker_3{background:#faf4ff;border-color:#a778d3}.speaker-turn.speaker_4{background:#fff8ec;border-color:#d4a34e}.speaker-turn.unknown{background:#f5f5f6;border-color:#9aa3b1}.speaker-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;margin-bottom:8px}.speaker-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.diar-warning{font-size:12px;color:#8d6a26;background:#fff7e5;padding:10px 12px;border-radius:7px}.overlap-tag{font-size:10px;color:#916525}.segment-editor{min-height:90px}
