:root{color-scheme:light;font-family:Inter,Noto Sans TC,Microsoft JhengHei,PingFang TC,Segoe UI,system-ui,sans-serif;background:#f6f7f4;color:#17231f;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,rgba(15,118,110,.08),transparent 280px),#f6f7f4}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:24px 0 40px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-mark{display:grid;width:54px;height:54px;flex:0 0 54px;place-items:center;border-radius:14px;color:#fff;background:#0f766e;box-shadow:0 14px 30px #0f766e38}.brand h1,.brand p,.panel-title h2,.result-header h2{margin:0}.brand h1{font-size:24px;line-height:1.2}.brand p{margin-top:4px;color:#59645e;font-size:14px}.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.status-pill,.mode-chip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid #d7ddd7;border-radius:999px;color:#24443f;background:#fff;font-size:14px;white-space:nowrap}.status-pill.offline{color:#8a341c;border-color:#fed7aa;background:#fff7ed}.dot{width:8px;height:8px;border-radius:999px;background:#0f766e}.icon-button,.mini-button{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid #d7ddd7;border-radius:10px;color:#233631;background:#fff;cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease}.icon-button:hover,.mini-button:hover{transform:translateY(-1px);border-color:#8bb8b2;background:#eef8f6}.notice,.error-box{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;border:1px solid #f7c59f;border-radius:8px;color:#733713;background:#fff7ed}.error-box>div{display:grid;gap:10px}.inline-action{display:inline-flex;width:fit-content;align-items:center;min-height:34px;padding:0 12px;border-radius:8px;color:#fff;background:#8a341c;text-decoration:none;font-weight:700}.workspace{display:grid;grid-template-columns:minmax(280px,400px) minmax(320px,1fr);gap:16px;align-items:start}.panel,.result-panel{border:1px solid #dfe4de;border-radius:8px;background:#ffffffe0;box-shadow:0 18px 44px #26363114}.upload-panel,.queue-panel{padding:18px}.panel-title{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:#173b36}.panel-title h2{font-size:18px}.field{display:grid;gap:8px;margin-bottom:14px}.field span{color:#46534e;font-size:14px}.field input,.field select{width:100%;height:44px;padding:0 12px;border:1px solid #cfd8d1;border-radius:8px;color:#17231f;background:#fff;outline:none}.field input:focus,.field select:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.dropzone{display:grid;width:100%;min-height:162px;place-items:center;gap:8px;padding:18px;border:1px dashed #9fb4ad;border-radius:8px;color:#24443f;background:#f8fbfa;cursor:pointer;text-align:center}.dropzone strong{max-width:100%;overflow-wrap:anywhere}.dropzone span{color:#66736d;font-size:14px}.dropzone.is-dragging{border-color:#0f766e;background:#e8f5f2}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin-top:14px;border:0;border-radius:8px;color:#fff;background:#0f766e;cursor:pointer;font-weight:700}.primary-button:disabled{cursor:not-allowed;opacity:.68}.job-list{display:grid;gap:10px;max-height:340px;overflow:auto;padding-right:2px}.job-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px;border:1px solid #dfe4de;border-radius:8px;background:#fff;cursor:pointer}.job-item.is-selected{border-color:#0f766e;box-shadow:inset 0 0 0 1px #0f766e}.job-main{display:flex;align-items:center;min-width:0;gap:10px;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.job-status{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:999px;color:#fff;background:#63706a}.status-completed{background:#0f766e}.status-failed{background:#b42318}.status-transcribing,.status-summarizing{background:#c05621}.job-copy{display:grid;min-width:0;gap:3px}.job-copy strong,.job-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-copy small{color:#66736d}.job-side{display:flex;align-items:center;gap:8px;color:#4b5a54;font-size:14px}.mini-button{width:32px;height:32px;border-radius:8px}.progress-track{grid-column:1 / -1;width:100%;height:6px;overflow:hidden;border-radius:999px;background:#edf0ed}.progress-track div{height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#f59e0b);transition:width .2s ease}.progress-track.large{height:10px}.result-area{margin-top:16px}.result-empty{display:grid;min-height:260px;place-items:center;padding:34px;border:1px dashed #cfd8d1;border-radius:8px;color:#66736d;text-align:center;background:#ffffff9e}.result-empty h2,.result-empty p{margin:8px 0 0}.result-panel{padding:20px}.result-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.result-header h2{margin-top:8px;font-size:24px;overflow-wrap:anywhere}.result-header p{margin:6px 0 0;color:#66736d}.retention-note{display:inline-flex;align-items:center;gap:6px;margin-top:10px;min-height:28px;padding:0 10px;border:1px solid #bdd8d2;border-radius:999px;color:#17584f;background:#edf8f6;font-size:13px}.mode-chip{min-height:28px;padding:0 10px;color:#71420d;border-color:#fde68a;background:#fffbeb;font-size:13px}.mode-dashscope{color:#14534c;border-color:#99d4cb;background:#e8f5f2}.result-actions{display:flex;gap:8px;flex:0 0 auto}.processing-bar{display:grid;gap:8px;margin-bottom:16px;padding:14px;border-radius:8px;background:#f4f7f6}.processing-bar>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid #d7ddd7;border-radius:10px;background:#f4f7f6}.tabs button{min-width:82px;min-height:34px;border:0;border-radius:8px;color:#40504a;background:transparent;cursor:pointer;font-weight:700}.tabs button.active{color:#173b36;background:#fff;box-shadow:0 4px 12px #26363114}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.summary-section{min-height:130px;padding:16px;border:1px solid #e2e6e1;border-radius:8px;background:#fff}.summary-section.overview{grid-column:1 / -1;min-height:110px;background:#f8fbfa}.summary-section h3{margin:0 0 10px;color:#173b36;font-size:16px}.summary-section p,.summary-section ul{margin:0;color:#2d3935;line-height:1.7}.summary-section ul{padding-left:20px}.summary-section li+li{margin-top:6px}.muted{color:#77837d}.action-table{display:grid;gap:8px}.action-row{display:grid;grid-template-columns:minmax(72px,.7fr) minmax(120px,2fr) minmax(76px,.8fr);gap:10px;align-items:start;padding:10px;border-radius:8px;background:#f6f7f4;line-height:1.5}.action-row strong,.action-row span,.action-row small{overflow-wrap:anywhere}.action-row small{color:#66736d}.transcript{min-height:320px;max-height:560px;overflow:auto;margin:16px 0 0;padding:18px;border:1px solid #e2e6e1;border-radius:8px;color:#1f2d29;background:#fff;white-space:pre-wrap;line-height:1.8}.empty{margin:0;color:#77837d}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 820px){.app-shell{width:min(100% - 24px,680px);padding-top:18px}.topbar,.result-header{align-items:stretch;flex-direction:column}.topbar-actions,.result-actions{justify-content:flex-start}.workspace,.summary-grid{grid-template-columns:1fr}.job-list{max-height:none}}@media (max-width: 520px){.brand{align-items:flex-start}.brand-mark{width:46px;height:46px;flex-basis:46px;border-radius:12px}.brand h1{font-size:20px}.upload-panel,.queue-panel,.result-panel{padding:14px}.action-row{grid-template-columns:1fr}.tabs{width:100%}.tabs button{flex:1}}
