:root { --bg: #0f1216; --panel: #171c22; --panel-2: #1e242c; --line: #2a323c; --text: #e6ebf1; --muted: #93a1b1; --accent: #4da3ff; --ok: #3ecf8e; --warn: #f0b429; --bad: #f2545b; --doctor: #4da3ff; --patient: #f5a15c; --attendant: #3ecf8e; --other: #9aa5b1; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif; } header { display: flex; align-items: center; gap: 16px; padding: 10px 18px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; } header h1 { font-size: 15px; margin: 0; font-weight: 600; letter-spacing: .2px; } header .spacer { flex: 1; margin-left: auto; } header .who { color: var(--muted); font-size: 13px; } main { padding: 18px; max-width: 1500px; margin: 0 auto; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; } button { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 7px 13px; font-size: 13px; cursor: pointer; font-family: inherit; } button:hover:not(:disabled) { border-color: var(--accent); } button:disabled { opacity: .45; cursor: not-allowed; } button.primary { background: var(--accent); border-color: var(--accent); color: #06121f; font-weight: 600; } button.danger { border-color: var(--bad); color: var(--bad); } input, select { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; } .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .muted { color: var(--muted); } .mono { font-family: "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; } /* ---- waveform ---- */ #stage { position: relative; user-select: none; } canvas { display: block; width: 100%; border-radius: 6px; background: #0b0e12; cursor: crosshair; } /* The waveform is the work surface for speaker turns and only a reference for transcription, so the two pages give it very different amounts of screen. */ #wave { height: 190px; } #mini { height: 44px; margin-top: 6px; cursor: pointer; } body.track-asr #wave { height: 104px; } body.track-asr #mini { height: 30px; } #hint { position: absolute; pointer-events: none; background: #000d; border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; font-size: 12px; display: none; white-space: nowrap; } /* ---- turn table ---- */ table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); } th { color: var(--muted); font-weight: 500; position: sticky; top: 0; background: var(--panel); } tr.sel td { background: #4da3ff22; } td.num { text-align: right; font-family: "Cascadia Mono", Consolas, monospace; } .scroll { max-height: 320px; overflow-y: auto; } .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; } /* ---- transcript column ---- Hidden entirely on diarization-only tasks so the table does not carry an empty column through 7500 chunks of work that will never use it. */ .textcol { display: none; } body.with-text .textcol { display: table-cell; width: 46%; } /* Transcription is the whole job on that page, so the text gets what room is left once the assembled view has taken its column. The timing cells shrink to make space. */ body.track-asr .textcol { width: 52%; } body.track-asr .textcol textarea { font-size: 15px; } body.track-asr td.num, body.track-asr th { font-size: 12px; } body.track-asr th, body.track-asr td { padding: 5px 5px; } .textcol textarea { width: 100%; min-height: 30px; resize: vertical; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px; font-family: inherit; font-size: 14px; line-height: 1.45; } .textcol textarea:focus { outline: none; border-color: var(--accent); } .textcol textarea:placeholder-shown { border-style: dashed; } tr.sel .textcol textarea { border-color: var(--accent); } #turnBody select { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; font-size: 12.5px; } .pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); } .pill.ok { color: var(--ok); border-color: #3ecf8e55; } .pill.warn { color: var(--warn); border-color: #f0b42955; } .pill.bad { color: var(--bad); border-color: #f2545b55; } kbd { background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; font-size: 11px; font-family: inherit; } #toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 18px; display: none; z-index: 50; } .login { max-width: 340px; margin: 12vh auto; } .login input { width: 100%; margin-bottom: 10px; } .error { color: var(--bad); font-size: 13px; min-height: 18px; } /* ---- sign-in portal ---- */ .portal { max-width: 780px; margin: 9vh auto; padding: 0 18px; text-align: center; } .portal h1 { font-size: 22px; margin: 0 0 6px; } .portal > .muted { margin: 0 0 26px; } .doors { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .door { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 20px 18px; text-align: left; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); } .door:hover { border-color: var(--accent); background: var(--panel-2); } .door .ico { font-size: 26px; line-height: 1.2; margin-bottom: 6px; } .door .t { font-size: 16px; font-weight: 600; } .door .s { color: var(--text); font-size: 13px; } .door .w { color: var(--muted); font-size: 12px; margin-top: 4px; } .signin { max-width: 380px; margin: 0 auto; text-align: left; } .signin input { width: 100%; margin-bottom: 10px; } /* ---- assembled transcript, beside the turn editor ---- Two columns rather than two stacked cards: the assembled view earns its place only if it is visible while typing. `align-items: start` keeps the right column from stretching to the height of a 70-row table, and sticky holds it in view as the table scrolls past. */ .split { display: grid; gap: 14px; align-items: start; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .split > .card { margin-bottom: 0; } .sticky-col { position: sticky; top: 76px; } .fulltext { background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; overflow-y: auto; max-height: calc(100vh - 360px); min-height: 220px; font-size: 14.5px; line-height: 1.75; } .fulltext b { color: var(--accent); font-weight: 600; } /* Below this the two columns are too narrow to type Bengali in comfortably, so stack. */ @media (max-width: 1180px) { .split { grid-template-columns: 1fr; } .split > .card { margin-bottom: 14px; } .sticky-col { position: static; } .fulltext { max-height: 300px; } } /* ---- notices inside a workspace ---- */ .notice { border: 1px solid var(--line); border-left-width: 3px; border-radius: 6px; padding: 9px 12px; font-size: 13px; margin-bottom: 10px; } .notice.info { border-left-color: var(--accent); } .notice.warn { border-left-color: var(--warn); } .grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } .stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; } .stat .v { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; } .stat .k { color: var(--muted); font-size: 12px; } .wrap { overflow-x: auto; }