:root { --primary: #2563eb; --primary-hover: #1d4ed8; --primary-strong: #1d4ed8; --primary-soft: #e6effe; --primary-softer: #f3f7ff; --primary-track: #c7d8fb; --on-primary: #ffffff; --bg: #f2f6fc; --surface: #ffffff; --surface-muted: #f5f8fc; --control-track: #e3ebf6; --border: #dbe4f0; --border-strong: #c5d2e3; --text: #0f1b2d; --text-muted: #56637a; --spk1-text: #1d4ed8; --spk1-ava: #d6e4fd; --spk1-bubble: #e6effe; --spk1-wave: #2563eb; --spk1-wave-dim: #bfd3fb; --spk2-text: #9a3412; --spk2-ava: #ffddbf; --spk2-bubble: #ffeedd; --spk2-wave: #d9631e; --spk2-wave-dim: #f6cdae; --spk3-text: #7c5300; --spk3-ava: #fbe7a8; --spk3-bubble: #fdf3d0; --spk3-wave: #b07d00; --spk3-wave-dim: #efd9a0; --spk4-text: #9f1239; --spk4-ava: #ffd5dd; --spk4-bubble: #ffeaee; --spk4-wave: #d8436a; --spk4-wave-dim: #f5c2cf; --wave-silence: #c9d3e1; --wave-silence-played: #97a6bc; --side-doctor: #1d4ed8; --side-patient: #9a3412; --mk-green: #16a34a; --mk-green-bg: #e7f8ed; --mk-yellow: #d97706; --mk-yellow-bg: #fff3d6; --mk-red: #dc2626; --mk-red-bg: #fde8e8; --mk-orange: #ea580c; --mk-orange-bg: #ffe8d9; --engine-1: #1d4ed8; --engine-1-soft: #e6effe; --engine-1-border: #b9cffb; --engine-2: #6d28d9; --engine-2-soft: #efeafe; --engine-2-border: #d3c6f7; --engine-3: #0f766e; --engine-3-soft: #ddf3f0; --engine-3-border: #a9ded7; --overlap: #6d28d9; --overlap-bg: #efeafe; --success: #166534; --success-soft: #e9f9ee; --success-border: #bbe5c8; --success-dot: #22c55e; --danger: #b91c1c; --note-bg: #fff8e1; --note-border: #f1dc9a; --switch-off: #7a8aa3; --danger-soft: #fdeeee; --danger-border: #f3c6c6; --danger-ring: rgba(185, 28, 28, 0.14); --warning: #8a4600; --warning-soft: #fff5e3; --warning-border: #f0d29a; --warning-bar: #d97706; --rec: #dc2626; --offline-dot: #fecaca; --focus-ring: rgba(37, 99, 235, 0.18); --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --radius-sm: 6px; --radius: 10px; --radius-lg: 14px; --radius-bubble: 16px; --radius-full: 999px; --shadow-sm: 0 1px 2px rgba(15, 40, 90, 0.08); --shadow: 0 1px 2px rgba(15, 40, 90, 0.06), 0 6px 16px rgba(15, 40, 90, 0.06); --shadow-pop: 0 10px 30px rgba(15, 40, 90, 0.16); --font: Inter, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, sans-serif; --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Ubuntu Mono", "DejaVu Sans Mono", monospace; --container: 1200px; --sidebar: 340px; --bubble-max: 520px; --accent: #2563eb; --accent-dark: #174dc6; --soft: #eaf1ff; --ink: #122035; --muted: #46556b; --line: #dce4ef; --canvas: #f3f6fb; --side: #ffffff; --side-card: #f7f9fc; --side-line: #dce4ef; --side-ink: #324764; --green: #147052; --green-solid: #1c9c70; --green-bg: #e9f6ef; --green-border: #bfe4d1; --green-dose: #dbf1e5; --amber: #98600d; --amber-solid: #e8a02b; --amber-bg: #fff4de; --amber-border: #eed59d; --amber-button: #ffedc3; }
* { box-sizing: border-box; }
html, body { margin: 0px; }
body { font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, select { font: inherit; color: inherit; }
h1, h2, p { margin: 0px; }
a { color: inherit; text-decoration: none; }
.icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 14px; height: 14px; }
.container { max-width: var(--container); margin: 0px auto; padding: 0 var(--space-6); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-4); border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 500; cursor: pointer; white-space: nowrap; background: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--primary-strong); }
.btn-outline:hover { background: var(--primary-softer); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-muted { background: var(--bg); color: var(--text-muted); height: 20px; padding: 0px 7px; font-weight: 500; font-size: 11px; }
@keyframes spin { 
  100% { transform: rotate(360deg); }
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.progress { height: 6px; border-radius: var(--radius-full); background: var(--primary-track); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.menu { position: relative; }
.menu > summary, .pop > summary { list-style: none; }
.menu > summary::-webkit-details-marker, .pop > summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0px; top: calc(100% + 6px); z-index: 20; min-width: 200px; padding: var(--space-1); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: 8px 10px; border: 0px; border-radius: var(--radius-sm); background: none; text-align: left; cursor: pointer; color: var(--text); }
.menu-item:hover { background: var(--primary-soft); }
.menu-item[aria-disabled="true"] { color: var(--text-muted); cursor: default; justify-content: space-between; }
.menu-item[aria-disabled="true"]:hover { background: none; }
.menu-sep { height: 1px; background: var(--border); margin: var(--space-1) 0; }
.app-bar { background: var(--primary); color: var(--on-primary); }
.app-bar .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--on-primary); color: var(--primary); }
.brand-sub { font-weight: 400; }
.app-bar-right { display: flex; align-items: center; gap: var(--space-3); }
.user-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0px 8px 0px 4px; border-radius: var(--radius-full); color: var(--on-primary); cursor: pointer; font-weight: 500; }
.user-btn:hover, .gpu-pill:hover { background: rgba(255, 255, 255, 0.2); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--on-primary); color: var(--primary-strong); font-size: 13px; font-weight: 700; }
.head-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-1); }
.head-title-row h1 { margin-top: 0px; }
.head-status .status-run { gap: 4px; }
.head-status .status-run .progress { width: 96px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); gap: var(--space-6); align-items: start; padding-top: var(--space-6); padding-bottom: var(--space-8); }
.main, .side { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0px; }
.layout-single { grid-template-columns: minmax(0px, 1fr); }
.spk-1 { --c: var(--spk1-text); --c-ava: var(--spk1-ava); --c-bubble: var(--spk1-bubble); --c-wave: var(--spk1-wave); }
.spk-2 { --c: var(--spk2-text); --c-ava: var(--spk2-ava); --c-bubble: var(--spk2-bubble); --c-wave: var(--spk2-wave); }
.player { padding: var(--space-2) var(--space-5) var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.player-top { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.play { width: 34px; height: 34px; border-radius: 50%; border: 0px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); cursor: pointer; box-shadow: rgba(37, 99, 235, 0.35) 0px 2px 6px; }
.play:hover { background: var(--primary-hover); }
.play .icon { width: 14px; height: 14px; fill: currentcolor; stroke: none; margin-left: 2px; }
.time { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text-muted); }
.time b { color: var(--text); font-weight: 600; }
.legend { margin-left: auto; display: flex; gap: var(--space-4); color: var(--text-muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c-wave); }
.wave { position: relative; height: 36px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.b { flex: 0 0 3px; width: 3px; border-radius: 2px; background: var(--wave-silence); }
.b.w1 { background: var(--spk1-wave-dim); }
.b.w2 { background: var(--spk2-wave-dim); }
.wave-edges { position: absolute; inset: 0px; pointer-events: none; }
.wave-cursor { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--text); border-radius: 1px; pointer-events: none; }
.wave-cursor::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 2px var(--surface); }
.tabs { display: flex; gap: 2px; padding: 4px; width: fit-content; background: var(--control-track); border-radius: var(--radius); }
.tab { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0px 14px; border: 0px; border-radius: var(--radius-sm); background: none; color: var(--text-muted); font-weight: 500; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--primary-strong); font-weight: 600; box-shadow: var(--shadow-sm); }
.transcript { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
.turn { display: grid; column-gap: 10px; align-items: start; }
.turn .name { grid-row: 1; color: var(--c); font-size: 13px; font-weight: 600; line-height: 18px; padding: 0px 4px 4px; }
.msg { display: flex; align-items: flex-end; gap: var(--space-3); max-width: var(--bubble-max); padding: 8px 12px 8px 14px; border-radius: var(--radius-bubble); background: var(--c-bubble); cursor: pointer; }
.msg:hover { filter: brightness(0.98); }
.turn.side-d { grid-template-columns: 32px minmax(0px, 1fr); }
.turn.side-d .name, .turn.side-d .msgs { grid-column: 2; }
.turn.side-d .msg { border-top-left-radius: var(--radius-sm); }
.turn.side-p { grid-template-columns: minmax(0px, 1fr) 32px; }
.turn.side-p .name, .turn.side-p .msgs { grid-column: 1; }
.turn.side-p .name { justify-self: end; }
.turn.side-p .msg { border-top-right-radius: var(--radius-sm); }
@keyframes shimmer { 
  0% { background-position: 100% 0px; }
  100% { background-position: -100% 0px; }
}
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-primary:disabled { background: var(--primary); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge .icon:not(.icon-sm) { width: 13px; height: 13px; }
@keyframes rec-pulse { 
  50% { opacity: 0.35; }
}
.status-run { display: inline-flex; flex-direction: column; gap: 6px; }
.status-run .progress { height: 4px; margin: 0px 4px; }
@media (max-width: 720px) {
.container { padding: 0 var(--space-4); }
.brand-sub, .user-name, .user-btn > .icon { display: none; }
.user-btn { padding: 0px 4px; }}
[hidden] { display: none !important; }
body { min-height: 100vh; }
.alerts { display: flex; flex-direction: column; gap: var(--space-3); }
.alerts:empty { display: none; }
.menu-item:disabled { color: var(--text-muted); cursor: default; }
.player-wait { color: var(--text-muted); font-size: 13px; }
.play:disabled { background: var(--wave-silence); box-shadow: none; cursor: default; }
.screen-result { --player-gap: var(--space-4); }
.screen-result .main { align-self: stretch; }
.screen-result .player { position: sticky; top: var(--player-gap); z-index: 20; background: var(--surface); border-color: var(--border-strong); box-shadow: rgba(15, 40, 90, 0.06) 0px 1px 2px, rgba(15, 40, 90, 0.12) 0px 8px 20px; }
.screen-result .player::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: 100%; height: calc(var(--player-gap) + 1px); background: var(--bg); }
.skip { height: 32px; min-width: 40px; padding: 0px 8px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-family: var(--font-mono); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.skip:hover { border-color: var(--border-strong); background: var(--surface-muted); }
.skip:disabled { color: var(--text-muted); background: var(--surface-muted); cursor: default; }
.player-hint { margin-left: var(--space-1); color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.speakers-bar { display: flex; align-items: center; flex: 0 1 auto; min-width: 0px; font-size: 13px; }
.summary-card { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.mk { display: inline; margin: 0px; padding: 0px 2px; border: 0px; border-radius: 4px; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 2px; }
.mk:hover, .mk[aria-expanded="true"] { text-decoration-style: solid; }
.mk:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.mk-green { background: var(--mk-green-bg); text-decoration-color: var(--mk-green); }
@media (max-width: 720px) {
.layout { padding-top: var(--space-4); padding-bottom: var(--space-6); }
.screen-result .record-head .container, .screen-result .layout { grid-template-columns: minmax(0px, 1fr); }
.screen-result .main { display: contents; }
.screen-result .layout { gap: var(--space-4); }
.screen-result .layout > *, .screen-result .main > * { min-width: 0px; }
.screen-result { --player-gap: var(--space-2); }
.speakers-bar { flex-basis: 100%; }
.screen-result .player { padding: var(--space-2) var(--space-3) var(--space-3); }
.screen-result .player-top { flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.screen-result .play { width: 32px; height: 32px; }
.screen-result .wave { height: 30px; }
.screen-result .player-hint { display: none; }
.screen-result .legend { margin-left: 0px; flex-wrap: wrap; gap: var(--space-2) var(--space-3); font-size: 13px; }
.screen-result .tabs { width: auto; overflow-x: auto; }
.screen-result .tab { flex: 0 0 auto; }
.screen-result .transcript { padding: var(--space-3); }
.screen-result .msg { max-width: 100%; }}
.exam-toolbar { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
@media (max-width: 720px) {
.exam-toolbar { flex-wrap: wrap; }}
.examdoc-sheet { max-width: 780px; margin: 0px auto; padding: 28px 22px 28px 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (max-width: 720px) {
.examdoc-sheet { max-width: 100%; padding: var(--space-4); overflow-wrap: break-word; }
.examdoc .examdoc-top { flex-direction: column; gap: 4px; }
.examdoc .examdoc-top .examdoc-r { width: auto; text-align: left; }
.examdoc table.examdoc-pt td:first-child { white-space: normal; }}
@media print {
body.has-examdoc { background: rgb(255, 255, 255); }
body.has-examdoc * { visibility: hidden; }
body.has-examdoc .examdoc-sheet, body.has-examdoc .examdoc-sheet * { visibility: visible; }
body.has-examdoc .examdoc-sheet { display: block; position: absolute; top: 0px; left: 0px; width: 100%; max-width: none; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; border-radius: 0px; box-shadow: none; }
@page { size: a4; margin: 15mm 10mm 15mm 20mm; }}
.examdoc { font-family: "Times New Roman", "Liberation Serif", serif; font-size: 14pt; line-height: 1.08; color: rgb(0, 0, 0); }
.examdoc .examdoc-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 12pt; padding-bottom: 6pt; border-bottom: 1px solid rgb(0, 0, 0); }
.examdoc .examdoc-top .examdoc-r { text-align: center; width: 75mm; }
.examdoc h3 { text-align: center; font-size: 15pt; font-weight: bold; margin: 9pt 0px 7pt; letter-spacing: 0.3pt; }
.examdoc table.examdoc-pt { border-collapse: collapse; margin: 0px 0px 8pt; font-size: 13pt; width: 100%; }
.examdoc table.examdoc-pt td { padding: 1pt 10pt 1pt 0px; vertical-align: top; }
.examdoc table.examdoc-pt td:first-child { font-weight: bold; white-space: nowrap; }
.examdoc .examdoc-f { margin: 0px -4pt 6pt; padding: 1pt 4pt; border-radius: 3pt; break-inside: avoid; }
.examdoc .examdoc-f .examdoc-h { font-weight: bold; }
.examdoc .examdoc-f .examdoc-t { margin-top: 2pt; padding-left: 6mm; }
.examdoc ul { margin: 2pt 0px 0px; padding-left: 12mm; }
.examdoc li { margin: 1pt 0px; }
.examdoc .examdoc-dx { margin-top: 2pt; padding-left: 6mm; }
.examdoc .examdoc-dx-row { font-weight: bold; }
.examdoc .examdoc-dx-label { font-weight: normal; }
.examdoc .examdoc-dx-none { display: none; }
.examdoc .examdoc-dx-add { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.examdoc-dx-remove { display: inline-flex; vertical-align: middle; margin-left: 6px; padding: 2px; border: 0px; background: none; color: var(--text-muted); cursor: pointer; }
.examdoc-dx-remove:hover { color: var(--danger, #c00); }
.examdoc-dx-prelim { padding: 0px; border: 0px; background: none; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-weight: normal; color: inherit; cursor: pointer; }
.examdoc-dx-prelim[aria-pressed="false"] { color: var(--text-muted); font-size: 11pt; }
.examdoc-dx-prelim[aria-pressed="false"]:hover { color: var(--primary); text-decoration: underline; }
.examdoc-dx-prelim:disabled { cursor: default; }
.examdoc .examdoc-sign { margin-top: 12pt; display: flex; justify-content: space-between; }
.examdoc-editable { outline: none; cursor: text; border-radius: 2pt; }
.examdoc-editable:empty::before { content: attr(data-placeholder); color: var(--text-muted); }
.examdoc .examdoc-f:focus-within, .examdoc .examdoc-pt tr:focus-within { background: var(--primary-soft); }
.examdoc .examdoc-pt tr:focus-within td { border-radius: 3pt; }
.examdoc-dx-code, .examdoc-dx-name { display: inline-block; min-width: 1.5em; }
.examdoc-add-optional { display: inline-flex; align-items: center; gap: 4px; padding: 0px; border: 0px; background: none; color: var(--primary); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 13pt; cursor: pointer; }
.examdoc-add-optional:hover { text-decoration: underline; }
@media print {
.examdoc-editable { cursor: default; }
.examdoc .examdoc-f:focus-within, .examdoc .examdoc-pt tr:focus-within { background: none; }
.examdoc-editable:not(.examdoc-editable-blank):empty::before { color: rgb(0, 0, 0); }
.examdoc-editable-blank:empty::before { content: ""; }
.examdoc-editable-blank:empty { display: inline-block; min-width: 45mm; border-bottom: 1px solid rgb(0, 0, 0); }
.examdoc-add-optional { display: none; }
.examdoc .examdoc-dx-add, .examdoc-dx-remove, .examdoc-dx-prelim[aria-pressed="false"] { display: none; }
.examdoc .examdoc-dx:not(:has(.examdoc-dx-row:not(.is-empty))) .examdoc-dx-none { display: block; }}
.patient-note { display: block; font-size: 11px; color: var(--text-muted); min-height: 14px; }
.screen-records { --rd-ink: var(--ink); --rd-muted: var(--muted); --rd-line: var(--line); --rd-accent: var(--accent); --rd-amber: var(--amber); --rd-red: #a52e39; --rd-red-bg: #fff0f0; display: flex; flex-direction: column; height: 100dvh; background: rgb(255, 255, 255); }
.screen-records .app-bar { flex-shrink: 0; height: 88px; background: rgb(255, 255, 255); color: var(--ink); border-bottom: 1px solid var(--line); font: 400 14px/1.5 var(--font); }
.screen-records .app-bar .container { max-width: none; height: 100%; padding: 0px 28px; gap: 32px; justify-content: flex-start; }
.screen-records .brand { gap: 11px; font-size: 27px; letter-spacing: -0.7px; font-weight: 600; color: rgb(25, 72, 150); text-decoration: none; }
.screen-records .brand-mark { width: 36px; height: 38px; border-radius: 9px; background: var(--accent); color: rgb(255, 255, 255); }
.screen-records .brand-mark .icon { width: 27px; height: 27px; }
.screen-records .brand-sub { display: none; }
.screen-records .app-bar-right { gap: 24px; margin-left: auto; }
.screen-records .user-btn { height: auto; min-height: 44px; padding: 0px; gap: 10px; border-radius: 0px; color: var(--ink); font-size: 13px; font-weight: 400; }
.screen-records .user-btn:hover, .screen-records .menu[open] > .user-btn { background: none; }
.screen-records .avatar { width: 34px; height: 34px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 400; }
.screen-records .app-bar a:focus-visible, .screen-records .app-bar summary:focus-visible { outline: rgb(130, 168, 255) solid 3px; outline-offset: 3px; }
@media (min-width: 701px) and (max-width: 1400px) {
.screen-records .app-bar .container { padding: 0px 20px; gap: 24px; }}
@media (max-width: 700px) {
.screen-records { display: block; height: auto; }
.screen-records .app-bar { height: auto; }
.screen-records .app-bar .container { padding: 15px 16px 12px; gap: 12px; flex-wrap: wrap; }
.screen-records .brand { font-size: 23px; gap: 9px; }
.screen-records .brand-mark { width: 30px; height: 32px; border-radius: 8px; }
.screen-records .brand-mark .icon { width: 23px; height: 23px; }
.screen-records .app-bar-right { gap: 12px; }
.screen-records .user-btn { gap: 5px; min-height: 34px; }
.screen-records .user-name { display: none; }}
@font-face { font-family: DenManrope; src: url("font-1.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { color-scheme: light; --accent: #2563eb; --accent-dark: #174dc6; --ink: #202735; --muted: #596272; --line: #d7dce4; --canvas: #f0f2f5; --soft: #edf2ff; --side: #fff; --side-card: #f7f8fa; --side-ink: #3b465b; --green: #187452; --green-solid: #259370; --green-bg: #edf8f2; --green-border: #badbca; --amber: #8c5c15; --amber-solid: #daa341; --amber-bg: #fff7e8; --amber-border: #e8d2a5; --amber-button: #fff0d0; --red: #b23c48; --red-bg: #fff0f2; --red-border: #e8c2c7; font-synthesis: none; }
:root { --font: DenManrope,"Segoe UI",Arial,sans-serif; --primary: var(--accent); --primary-hover: var(--accent-dark); --text: var(--ink); --text-muted: var(--muted); --bg: var(--canvas); --surface-muted: var(--side-card); --border: var(--line); --rd-red: var(--red); --rd-red-bg: var(--red-bg); }
body { font-family: var(--font); }
.btn, input, select, textarea { font-family: var(--font); }
.btn { border-radius: 8px; font-weight: 500; }
.btn-primary { box-shadow: rgba(255, 255, 255, 0.145) 0px 1px 0px inset, rgba(23, 77, 198, 0.094) 0px 2px 3px; }
@media screen and (min-width: 701px) {
.screen-records .brand { color: var(--ink); font-weight: 600; letter-spacing: -1.1px; }
.screen-records .brand-symbol, .screen-records .brand-mark { background: var(--accent); color: rgb(255, 255, 255); box-shadow: none; }
.screen-records .avatar { font-weight: 500; background: rgb(237, 241, 249); color: rgb(72, 97, 141); }
.screen-records * { transition: none !important; }
.screen-records .app-bar { height: 76px; background: white; border-bottom: 1px solid var(--line); }
.screen-records .app-bar .container { padding: 0px 36px; gap: 28px; }
.screen-records .brand { font-size: 27px; gap: 10px; }
.screen-records .brand-mark { width: 34px; height: 36px; border-radius: 10px; }
.screen-records .brand-mark svg { width: 25px; height: 25px; }
.screen-records .app-bar-right { gap: 24px; }
.screen-records .menu { font-size: 13px; }
.screen-records .menu .user-btn { gap: 10px; }
.screen-records .avatar { width: 32px; height: 32px; }
.screen-records .menu-list { box-shadow: rgba(32, 39, 53, 0.082) 0px 8px 24px; border-color: var(--line); }}
.screen-records { --rd-red: var(--red); --rd-red-bg: var(--red-bg); }
@media screen and (min-width: 701px) {
.screen-records .brand-mark svg { visibility: hidden; }
.screen-records .brand-mark { position: relative; }
.screen-records .brand-mark::before { content: ""; position: absolute; width: 25px; height: 25px; background: currentcolor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012v5m5-9v12m5-16v20m5-15v10m5-7v5%22/%3E%3C/svg%3E") center center / contain no-repeat; }}
#app { --page-heading-height: 96px; }
@media screen and (max-width: 700px) {
#app { --page-heading-height: 149px; }}
.site-header { display: none; order: -1; position: sticky; top: 0px; z-index: 30; flex: 0 0 auto; background: rgb(255, 255, 255); border-bottom: 1px solid rgb(215, 220, 228); color: rgb(32, 39, 53); font-family: DenManrope, "Segoe UI", Arial, sans-serif; }
.site-header-row { height: 60px; padding: 0px 12px 0px 8px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.site-header .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0px; border: 0px; border-radius: 8px; background: transparent; color: rgb(89, 98, 114); cursor: pointer; touch-action: manipulation; }
.site-header .menu-toggle:active { background: rgb(232, 235, 240); }
.site-header .menu-glyph { display: grid; gap: 3.67px; width: 13.33px; }
.site-header .menu-glyph i { height: 1.33px; background: currentcolor; border-radius: 1px; }
.site-header .site-brand { display: flex; gap: 9px; align-items: center; width: max-content; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -0.4px; color: rgb(32, 39, 53); text-decoration: none; }
.site-header .site-brand-symbol { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: rgb(255, 255, 255); }
.site-header .site-brand-symbol svg { width: 20px; height: 20px; }
#site-menu { position: absolute; z-index: 21; top: 100%; left: 0px; right: 0px; padding: 8px 16px 16px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--line); box-shadow: rgba(23, 40, 66, 0.08) 0px 8px 18px; }
#site-menu[hidden] { display: none; }
#site-menu .site-back-link { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 14px; color: var(--muted); text-decoration: none; }
#site-menu .site-back-link .icon { width: 17px; height: 17px; }
#site-menu .profile-link { display: block; padding: 12px 0px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
#site-menu .site-doctor { display: flex; align-items: center; gap: 12px; font-size: 14px; }
#site-menu .site-doctor > span:last-child { min-width: 0px; overflow-wrap: anywhere; }
#site-menu .site-doctor small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
#site-menu .site-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgb(231, 239, 255); color: rgb(40, 92, 174); font-size: 12px; }
@media print {
.site-header { display: none !important; }}
@media screen and (max-width: 999px) {
input, textarea, select, [contenteditable]:not([contenteditable="false"]) { font-size: max(16px, 1em) !important; }}
.page-header .head-title-row, .record-screen .record-meta { position: relative; }
#record-tech { color: rgb(36, 53, 75); border: 1px solid rgb(191, 208, 231); border-radius: 14px; background: rgb(255, 255, 255); max-width: calc(-32px + 100vw); max-height: 80dvh; overflow: auto; font-size: 15px; line-height: 1.55; }
#record-tech button:focus-visible { outline: rgb(24, 88, 205) solid 2px; outline-offset: 3px; }
#record-tech .tech-header .btn { height: auto; color: rgb(23, 44, 73); border-color: rgb(213, 225, 242); background: rgb(255, 255, 255); font-weight: 550; }
#record-tech .speakers-bar { display: block; font-size: inherit; }
@media screen and (min-width: 1000px) {
#record-tech { position: fixed; inset: auto; margin: 0px; width: 760px; padding: 0px; box-shadow: rgba(21, 52, 98, 0.19) 0px 18px 60px; font-size: 13px; overscroll-behavior: contain; }
#record-tech::backdrop { background: transparent; }
#record-tech .tech-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; background: rgb(242, 246, 253); border-bottom: 1px solid rgb(220, 229, 242); }
#record-tech h2 { font-size: 19px; font-weight: 600; margin: 0px; }
#record-tech .tech-header p { font-size: 12px; color: rgb(96, 112, 134); margin: 5px 0px 0px; }
#record-tech .tech-header .btn { font-size: 22px; padding: 0px; width: 34px; min-height: 34px; border-radius: 8px; }
#record-tech .tech-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px; }
#record-tech h3 { font-size: 14px; font-weight: 600; margin: 0px 0px 12px; }
#record-tech .tech-model { display: inline-block; background: rgb(226, 236, 255); border-radius: 5px; padding: 6px 10px; color: rgb(21, 62, 123); font-weight: 600; margin: 0px 0px 16px; }
#record-tech dl { margin: 0px; }
#record-tech .tech-stats > div { margin: 0px 0px 12px; }
#record-tech .tech-stats dt { font-size: 12px; color: rgb(96, 112, 134); }
#record-tech .tech-stats dd { margin: 3px 0px 0px; font-size: 17px; font-weight: 600; }
#record-tech .tech-speakers-title { margin-top: 24px; }
#record-tech .tech-speakers { display: flex; gap: 8px; margin: 0px 0px 7px; }
#record-tech .tech-speakers span { padding: 4px 10px; border-radius: 5px; background: rgb(226, 236, 255); color: rgb(23, 75, 163); }
#record-tech .tech-speakers span + span { background: rgb(228, 243, 239); color: rgb(36, 100, 90); }
#record-tech .tech-caption { font-size: 12px; color: rgb(96, 112, 134); margin: 0px; }
#record-tech .tech-steps { border-left: 1px solid rgb(224, 231, 239); padding-left: 24px; }
#record-tech .tech-steps dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0px; border-bottom: 1px solid rgb(237, 240, 245); }
#record-tech .tech-steps dd { margin: 0px; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
#record-tech .tech-steps small { display: block; font-size: 11px; color: rgb(96, 112, 134); margin-top: 4px; }
#record-tech .tech-usage { display: grid; gap: 7px; margin-top: 15px; font-size: 11px; color: rgb(96, 112, 134); }
#record-tech .tech-usage span { display: flex; justify-content: space-between; gap: 8px; }
#record-tech .tech-usage b { font-weight: 500; color: rgb(64, 88, 117); }
#record-tech .tech-total { display: flex; align-items: center; justify-content: space-between; padding: 17px 24px; background: rgb(237, 243, 252); border-top: 1px solid rgb(220, 229, 242); }
#record-tech .tech-total strong { font-size: 24px; color: rgb(24, 88, 205); font-variant-numeric: tabular-nums; }}
#record-tech .tech-usage[hidden] { display: none; }
@media screen and (max-width: 999px) {
#record-tech { inset: 0px; margin: auto; padding: 18px; }
#record-tech .tech-header { display: flex; align-items: start; gap: 12px; justify-content: space-between; }
#record-tech .tech-header .btn { font-size: 13px; padding: 10px 16px; border-radius: 12px; min-height: 44px; }
#record-tech h2 { font-size: 19px; margin: 0px; }
#record-tech h3 { font-size: 16px; margin: 18px 0px 10px; }
#record-tech p { font-size: 13px; }
#record-tech .tech-grid { display: block; }
#record-tech .tech-grid dl { margin: 0px; }
#record-tech .tech-grid dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0px; border-bottom: 1px solid rgb(227, 234, 243); font-size: 13px; }
#record-tech .tech-grid dd { margin: 0px; white-space: nowrap; }
#record-tech .tech-grid small { display: block; }
#record-tech .tech-total { display: flex; gap: 20px; margin-top: 18px; font-size: 13px; }
#record-tech .tech-usage span { display: block; font-size: 12px; margin-top: 8px; }}
@media print {
#record-tech, .record-tools { display: none !important; }}
.record-tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.transcript-toggle { height: auto; min-height: 44px; padding: 10px 16px; border: 1px solid rgb(213, 225, 242); border-radius: 12px; background: rgb(255, 255, 255); color: rgb(23, 44, 73); font-size: 12px; font-weight: 550; line-height: 1.55; }
#transcript-drawer { position: fixed; top: 0px; right: 0px; bottom: 0px; z-index: 41; display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain; width: 580px; max-width: 80vw; height: 100dvh; max-height: 100dvh; box-sizing: border-box; padding: 24px; border-left: 1px solid rgb(183, 203, 237); border-radius: 20px 0px 0px 20px; background: rgb(255, 255, 255); color: rgb(23, 44, 73); font-size: 15px; line-height: 1.55; }
#transcript-drawer .btn { height: auto; min-height: 44px; padding: 10px 16px; gap: 8px; border: 1px solid rgb(213, 225, 242); border-radius: 12px; background: rgb(255, 255, 255); color: rgb(23, 44, 73); font-weight: 550; line-height: 1.55; }
#close-transcript { flex: 0 0 auto; align-self: flex-end; font-size: 13px; }
#transcript-drawer .transcript-panel { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; margin: 0px; padding: 18px 0px 0px; overflow: hidden; }
#transcript-title { flex: 0 0 auto; margin: 0px 0px 16px; font-size: 19px; font-weight: 550; line-height: 1.55; }
#transcript-drawer .speaker-tools { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 18px 0px; }
#transcript-drawer .speaker-tools label { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; }
#transcript-drawer .speaker-tools input { accent-color: rgb(24, 88, 205); }
#transcript-drawer .transcript-body { display: flex; flex-direction: column; flex: 1 1 0%; min-height: 0px; overflow-y: auto; }
#transcript-drawer #transcript { display: block; flex: 1 1 0%; min-height: 0px; height: auto; max-height: none; padding: 0px 6px 0px 0px; gap: 0px; overflow-y: auto; overscroll-behavior: contain; }
#transcript-drawer .transcript-turn { display: block; max-width: 90%; box-sizing: border-box; margin: 16px 0px; padding: 15px; border-radius: 15px; background: rgb(230, 238, 255); }
#transcript-drawer .transcript-turn[data-side="patient"] { margin-left: auto; background: rgb(221, 242, 236); }
#transcript-drawer .transcript-turn h3 { margin: 0px 0px 7px; color: rgb(83, 103, 128); font-size: 12px; font-weight: 700; line-height: 1.55; }
#transcript-drawer .transcript-turn[data-side="patient"] h3 { text-align: right; }
#transcript-drawer .transcript-turn .name { padding: 0px; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
#transcript-drawer .msg { display: block; max-width: none; margin: 0px; padding: 0px; border-radius: 0px; background: none; font-size: 14px; line-height: 1.65; cursor: pointer; }
@media (max-width: 999px) {
#transcript-drawer { inset: 0px; width: 100%; max-width: 100%; border: 0px; border-radius: 0px; padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
#transcript-drawer .speaker-tools { gap: 6px 14px; margin: 10px 0px; }
#transcript-title { font-size: 20px; }
#transcript-drawer #transcript { padding-right: 10px; }}
@media (max-width: 700px) {
.transcript-toggle { padding: 10px; }}
@media screen {
.exam-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding: 4px 0px; font-size: 13px; color: rgb(83, 103, 128); }
.exam-toolbar #edit-actions { display: flex; align-items: center; gap: 8px; }
.exam-toolbar #edit-actions .btn { min-height: 44px; padding: 0px 12px; border-radius: 12px; font-size: 13px; font-weight: 550; }
.exam-toolbar #exam-save { background: rgb(255, 255, 255); color: var(--primary); border: 1px solid rgb(168, 190, 231); }
.exam-toolbar #exam-save:disabled { background: rgb(245, 248, 253); color: rgb(86, 106, 132); border-color: rgb(213, 225, 242); opacity: 1; }
.exam-toolbar #exam-print, .exam-toolbar #exam-unconfirm { background: rgb(255, 255, 255); border: 1px solid rgb(213, 225, 242); color: rgb(23, 44, 73); }
.examdoc-sheet.exam-form { max-width: none; margin: 0px; padding: 0px; overflow: hidden; background: rgb(255, 255, 255); border: 1px solid rgb(213, 225, 242); border-radius: 12px; box-shadow: rgba(36, 74, 133, 0.03) 0px 4px 18px; font-family: inherit; font-size: 14px; line-height: normal; color: rgb(36, 53, 75); }
.exam-form > .examdoc-top, .exam-form > h3, .exam-form > table.examdoc-pt, .exam-form .examdoc-date, .exam-form [data-field="doctor"], .exam-form .examdoc-sign, .exam-form .examdoc-h-print { display: none; }
.exam-form .document-patient { padding: 18px; background: rgb(246, 248, 251); border-right: 1px solid rgb(224, 231, 239); }
.exam-form .document-sections { padding: 0px 24px 12px; }
.exam-form .examdoc-f.form-row, .exam-form .examdoc-f-optional { margin: 0px; padding: 11px 0px 9px; border-radius: 0px; border-bottom: 1px solid rgb(230, 235, 241); }
.exam-form .examdoc-f:focus-within { background: none; }
.exam-form .form-row .examdoc-h { display: block; margin: 0px 0px 4px; font-size: 14px; font-weight: 600; line-height: 21px; color: rgb(36, 53, 75); }
.exam-form .row-number { display: inline-block; min-width: 18px; margin-right: 9px; font-size: 12px; color: rgb(96, 112, 134); }
.exam-form .examdoc-f .examdoc-t, .exam-form .examdoc-editable-list, .exam-form .examdoc-dx { margin: 0px; padding: 3px 0px; min-height: 30px; font-size: 14px; line-height: 1.5; color: rgb(36, 53, 75); border: 1px solid transparent; border-radius: 4px; }
.exam-form .examdoc-t:hover, .exam-form .examdoc-editable-list:hover, .exam-form .examdoc-dx:hover { background: rgb(247, 249, 252); }
.exam-form .examdoc-t:focus, .exam-form .examdoc-editable-list:focus, .exam-form .examdoc-dx:focus-within { background: rgb(247, 249, 252); border-color: rgb(24, 88, 205); padding-left: 8px; }
.exam-form .examdoc-add-optional { font-size: 14px; }
.exam-form .examdoc-dx-prelim[aria-pressed="false"] { font-size: 12px; }}
@media screen and (min-width: 1000px) {
.examdoc-sheet.exam-form { display: grid; grid-template-columns: 300px minmax(0px, 1fr); align-items: start; }
.exam-form .document-patient { grid-area: 1 / 1 / span 2; align-self: stretch; }
.exam-form .document-sections { grid-column: 2; }}
@media screen and (max-width: 999px) {
.exam-toolbar { margin-bottom: 14px; }
.exam-toolbar #edit-actions { flex-wrap: wrap; width: 100%; }
.exam-toolbar #edit-actions .btn { padding: 10px 12px; font-size: 12px; }
.examdoc-sheet.exam-form { display: block; border-radius: 18px; box-shadow: rgba(36, 74, 133, 0.063) 0px 6px 24px; }
.exam-form .document-patient { padding: 0px; background: none; border-right: 0px; }
.exam-form .document-sections { padding: 0px; }
.exam-form .examdoc-f.form-row, .exam-form .examdoc-f-optional { padding: 16px 28px; border-bottom-color: rgb(237, 242, 247); }
.exam-form .form-row .examdoc-h { display: flex; gap: 9px; padding-top: 8px; margin-bottom: 12px; font-weight: 500; color: rgb(23, 44, 73); }
.exam-form .row-number { display: block; margin: 0px; }
.exam-form .examdoc-f .examdoc-t, .exam-form .examdoc-editable-list, .exam-form .examdoc-dx { padding: 5px 8px; min-height: 130px; font-size: 16px; line-height: 1.6; background: rgb(245, 248, 253); border-radius: 10px; }
.exam-form .examdoc-date + .form-row .examdoc-t { min-height: 96px; }
.exam-form .examdoc-t:focus, .exam-form .examdoc-dx:focus-within { padding-left: 8px; }}
@media print {
.exam-form .document-patient, .exam-form .row-number, .exam-form .row-title { display: none; }}
#choose-template { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 13px; cursor: pointer; padding: 7px 12px; min-height: 36px; border: 1px solid rgb(187, 203, 224); border-radius: 8px; background: rgba(255, 255, 255, 0.5); color: rgb(64, 88, 117); white-space: nowrap; align-self: flex-start; }
#choose-template::after { content: "⌄"; margin-left: 10px; }
#choose-template:focus-visible, #template-dialog button:focus-visible { outline: rgb(100, 121, 142) solid 2px; outline-offset: 3px; }
@media screen and (max-width: 999px) {
#choose-template { margin-right: auto; min-height: 44px; }}
.record-screen .record-meta { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 13px; color: var(--muted); }
.record-screen .completion-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: rgb(27, 152, 108); }
.record-screen .audio-controls { display: flex; align-items: center; gap: 18px; height: 76px; }
.record-screen .audio-controls .play { width: 64px; height: 64px; min-height: 64px; }
.record-screen .audio-controls .play .icon { width: 30px; height: 30px; }
.record-screen .timecode { white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }
.record-screen .wave-wrap { flex: 0 1 240px; min-width: 0px; height: 64px; display: flex; align-items: center; }
.record-screen .live-template-slot { display: flex; align-items: center; }
.record-screen .live-template-slot:empty { display: none; }
.record-screen .live-large { height: 64px; min-height: 64px; padding: 16px 24px; font-size: 16px; }
.record-screen #finish-live { background: rgb(197, 48, 70); border-color: rgb(197, 48, 70); color: rgb(255, 255, 255); }
.record-screen #finish-live:hover:not(:disabled) { background: rgb(168, 36, 56); border-color: rgb(168, 36, 56); }
.record-screen #add-live-file { margin-left: auto; gap: 8px; font-weight: 500; color: var(--accent); border: 1px dashed rgb(159, 183, 216); border-radius: 7px; background: rgb(255, 255, 255); }
.record-screen #add-live-file:hover:not(:disabled) { background: var(--soft); }
.record-screen #add-live-file .icon { width: 18px; height: 18px; stroke-width: 1.6; }
.record-screen .live-equalizer { display: flex; align-items: center; gap: 2px; height: 64px; overflow: hidden; }
@keyframes t5-voice { 
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}
.record-screen .live-processing { margin: 0px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.record-screen .live-processing[hidden] { display: none; }
.record-screen .live-processing header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.record-screen .live-processing .muted { color: var(--muted); font-size: 12px; line-height: 18px; }
.record-screen .processing-copy { margin: 24px 0px 0px; color: var(--muted); font-size: 14px; line-height: 21px; }
.record-screen .processing-copy strong { font-weight: 500; }
.record-screen .processing-lines { display: grid; gap: 22px; margin-top: 32px; }
.record-screen .processing-lines i { display: block; height: 14px; background: rgb(148, 163, 184); border-radius: 3px; animation: 1s ease-in-out 0s infinite alternate none running forming; }
@keyframes forming { 
  100% { opacity: 0.45; }
}
@keyframes t5-document-pulse { 
  50% { opacity: 0.35; }
}
@media (max-width: 600px) {
.record-screen .audio-controls { flex-wrap: wrap; height: auto; }
.record-screen .wave-wrap { order: 6; margin: 4px 0px 0px; }
.record-screen #finish-live { margin-left: 0px; }}
@media (prefers-reduced-motion: reduce) {
.record-screen .processing-lines i { animation: auto ease 0s 1 normal none running none; }}
@media print {
.screen-result #live-alerts { display: none !important; }}
@media screen {
.exam-form .tagged-copy { padding: 12px 14px 32px; border-radius: 10px; background: rgb(248, 250, 253); font-size: 15px; line-height: 2.4; min-height: 112px; }
.exam-form .tagged-prose { white-space: pre-wrap; margin: 0px; padding-left: 1.2em; }
.exam-form .drug-tag { display: inline-flex; vertical-align: baseline; align-items: center; border: 1px solid rgb(131, 181, 155); border-radius: 7px; background: rgb(241, 248, 244); line-height: 30px; white-space: nowrap; margin: 2px 3px 2px 0px; }
.exam-form .drug-tag-name { padding: 0px 10px; color: rgb(33, 99, 69); font-weight: 550; }
.exam-form .drug-tag button { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; line-height: 30px; border: 0px; background: transparent; color: rgb(33, 99, 69); padding: 0px 9px; cursor: pointer; }
.exam-form .drug-tag .dose-trigger { border-left: 1px solid rgb(178, 209, 192); border-right: 1px solid rgb(178, 209, 192); font-size: 14px; }
.exam-form .drug-tag .drug-tag-remove { font-size: 20px; padding: 0px 9px; }
.exam-form .drug-tag button:hover { background: rgb(222, 238, 228); }
.exam-form .drug-tag button:disabled { cursor: default; opacity: 0.8; }
.exam-form .drug-tag button:disabled:hover { background: transparent; }
.exam-form .drug-note { font-size: 12px; line-height: 1.5; color: rgb(96, 112, 134); margin: 3px 0px; }
.exam-form .drug-note:empty { display: none; }}
@media screen and (min-width: 1000px) {
.exam-form .tagged-copy { padding: 0px; background: white; border-radius: 0px; min-height: 0px; font-size: 14px; line-height: 1.8; }}
@media screen {
.exam-form .document-patient { min-width: 0px; }}
@keyframes document-pulse { 
  50% { opacity: 0.35; }
}
.screen-result:has(> .record-screen) { background: var(--canvas); }
.record-screen { display: grid; grid-template-columns: 276px minmax(0px, 1fr) 358px; grid-template-rows: minmax(82px, auto) 96px minmax(0px, 1fr); height: 100dvh; min-height: 800px; background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.5; }
.record-screen.no-review, .record-screen.tester-tab { grid-template-columns: 276px minmax(0px, 1fr); }
.record-screen.no-review .review, .record-screen.tester-tab .review { display: none; }
.record-screen.no-review .page-header, .record-screen.no-review .audio-panel, .record-screen.no-review .workspace, .record-screen.tester-tab .page-header, .record-screen.tester-tab .audio-panel, .record-screen.tester-tab .workspace { grid-column: 2; }
.record-screen .sidebar { grid-area: 1 / 1 / -1; display: flex; flex-direction: column; min-height: 0px; overflow: auto; padding: 26px 24px 22px; background: var(--side); border-right: 1px solid var(--line); color: var(--ink); }
.record-screen .brand { display: flex; align-items: center; gap: 10px; width: max-content; font-size: 27px; line-height: 1.5; font-weight: 600; letter-spacing: -1px; color: rgb(25, 72, 150); }
.record-screen .brand-symbol { display: grid; place-items: center; width: 36px; height: 38px; border-radius: 9px; background: var(--accent); color: rgb(255, 255, 255); box-shadow: rgba(37, 99, 235, 0.125) 0px 4px 10px; }
.record-screen .brand-symbol .icon { width: 24px; height: 24px; }
.record-screen .back-link { display: flex; align-items: center; gap: 8px; margin: 25px 0px 22px; font-size: 13px; color: var(--muted); text-decoration: none; }
.record-screen .back-link:hover { color: var(--accent); }
.record-screen .patient-heading { display: flex; align-items: center; justify-content: space-between; margin: 0px 0px 10px; padding: 0px 0px 10px; border-bottom: 1px solid var(--line); }
.record-screen .patient-heading h2 { margin: 0px; font-size: 15px; font-weight: 600; }
.record-screen .side-patient-slot:empty { display: none; }
.record-screen .sidebar .patient-fields { padding: 0px; background: none; border: 0px; border-radius: 0px; }
.record-screen .sidebar .patient-fields h3 { display: none; }
.record-screen .sidebar .patient-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.record-screen .sidebar .patient-field { display: grid; gap: 1px; font-size: 11px; line-height: 15px; color: var(--muted); }
.record-screen .sidebar .patient-field label { margin: 0px; font-size: 11px; color: var(--muted); }
.record-screen .sidebar .patient-field input { width: 100%; height: 32px; min-height: 32px; padding: 5px 10px; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 14px; font-weight: 400; color: var(--ink); background: var(--side-card); border: 1px solid var(--line); border-radius: 4px; }
.record-screen .sidebar .patient-field input:hover { border-color: rgb(159, 183, 216); }
.record-screen .sidebar .patient-field input:focus { background: rgb(255, 255, 255); }
.record-screen .sidebar .patient-field input:placeholder-shown { background: var(--amber-bg); border-bottom: 1px dashed var(--amber-border); }
.record-screen .sidebar .patient-field input::placeholder { color: var(--amber); opacity: 1; }
.record-screen .sidebar .patient-field input:disabled { background: var(--side-card); border-bottom-style: solid; color: var(--ink); }
.record-screen .sidebar .patient-note { display: none; }
.record-screen .sidebar-footer { margin-top: auto; padding-top: 18px; }
.record-screen .doctor { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; }
.record-screen .doctor .menu { min-width: 0px; max-width: 100%; }
.record-screen .doctor .user-btn { color: var(--ink); height: auto; min-height: 36px; max-width: 100%; }
.record-screen .doctor .user-name { display: block; min-width: 0px; overflow-wrap: anywhere; }
.record-screen .doctor .user-btn:hover { background: var(--soft); }
.record-screen .doctor .avatar { width: 34px; height: 34px; background: rgb(231, 239, 255); color: rgb(40, 92, 174); font-size: 12px; }
.record-screen .doctor .menu-list, .record-screen .doctor [role="menu"] { inset: auto auto calc(100% + 6px) 0px; }
.record-screen .page-header { grid-area: 1 / 2 / auto / -1; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0px, auto); grid-template-rows: auto; align-items: start; column-gap: 24px; padding: 21px 26px 15px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--line); min-width: 0px; position: relative; z-index: 21; }
.record-screen .title-block { position: relative; min-width: 0px; }
.record-screen .header-actions { display: flex; flex-wrap: wrap; min-width: 0px; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 5px; }
.record-screen .header-actions .btn-delete-record { min-height: 40px; height: 40px; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; gap: 8px; background: rgb(255, 255, 255); border: 1px solid rgb(159, 183, 216); color: rgb(156, 51, 42); }
.record-screen .header-actions .btn-delete-record:hover { background: rgb(253, 243, 242); }
.record-screen .header-actions .exam-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0px; padding: 0px; font-size: 12px; color: var(--muted); }
.record-screen .exam-toolbar #edit-actions { gap: 8px; }
.record-screen .exam-toolbar #edit-actions .btn { min-height: 40px; height: 40px; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; gap: 8px; background: rgb(255, 255, 255); border: 1px solid rgb(159, 183, 216); color: var(--side-ink); }
.record-screen .exam-toolbar #edit-actions #exam-save { padding: 9px 19px; border-radius: 7px; background: var(--accent); border-color: var(--accent); color: rgb(255, 255, 255); box-shadow: rgba(37, 99, 235, 0.14) 0px 3px 7px; }
.record-screen .exam-toolbar #edit-actions #exam-save:disabled { background: rgb(248, 250, 253); border-color: rgb(227, 233, 242); color: var(--muted); box-shadow: none; opacity: 1; }
.record-screen .save-state { display: flex; align-items: center; gap: 6px; margin-right: 10px; font-size: 12px; color: var(--muted); }
.record-screen .save-state:empty { display: none; }
.record-screen .save-state.is-saved { color: var(--green); }
.record-screen .audio-panel { grid-area: 2 / 2; min-width: 0px; padding: 16px 24px 10px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--line); }
.record-screen .audio-panel .player { position: static; padding: 0px; background: none; border: 0px; border-radius: 0px; box-shadow: none; }
.record-screen .audio-panel .player::before { content: none; }
.record-screen .audio-panel .player { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.record-screen .player-top { display: contents; }
.record-screen .player-hint { display: none; }
.record-screen .audio-panel .wave { order: 1; flex: 1 1 300px; min-width: 0px; margin-left: 12px; }
.record-screen .audio-panel .legend { order: 2; flex: 0 0 100%; justify-content: flex-end; }
.record-screen .play { width: 42px; height: 42px; background: var(--accent); box-shadow: rgba(37, 99, 235, 0.133) 0px 2px 5px; }
.record-screen .play:hover { background: var(--accent-dark); }
.record-screen .play:disabled { background: var(--line); box-shadow: none; }
.record-screen .skip { height: 36px; min-width: 0px; padding: 0px 7px; border-radius: 5px; background: var(--side-card); border: 1px solid rgb(159, 183, 216); color: var(--muted); font-size: 12px; font-weight: 500; }
.record-screen .time { font-family: inherit; font-size: 13px; color: var(--ink); }
.record-screen .legend { font-size: 11px; color: var(--muted); gap: 15px; }
.record-screen .legend span::before { width: 5px; height: 5px; border-radius: 50%; }
.record-screen .wave { height: 30px; }
.record-screen .workspace { grid-area: 3 / 2; display: flex; flex-direction: column; min-width: 0px; min-height: 0px; background: rgb(255, 255, 255); overflow: hidden; }
.record-screen .document-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 0 0 auto; min-height: 58px; padding: 0px 24px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--line); }
.record-screen .record-tabs-row { display: flex; align-items: stretch; gap: 24px; flex-wrap: nowrap; align-self: stretch; }
.record-screen .tabs { display: flex; gap: 24px; padding: 0px; width: auto; background: none; border-radius: 0px; }
.record-screen .tab { height: 58px; padding: 3px 0px 0px; gap: 8px; border-radius: 0px; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.record-screen .tab[aria-selected="true"] { background: none; box-shadow: none; color: var(--accent); border-color: var(--accent); font-weight: 500; }
.record-screen .tab:hover { color: var(--accent); }
.record-screen .transcript-toggle { align-self: stretch; height: 58px; min-height: 0px; padding: 3px 0px 0px; gap: 8px; border-width: 0px 0px 3px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; border-radius: 0px; background: none; box-shadow: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.record-screen .transcript-toggle:hover:not(:disabled) { background: none; color: var(--accent); }
.record-screen .tab .icon, .record-screen .transcript-toggle .icon { width: 17px; height: 17px; }
.record-screen .document-tools { display: flex; align-items: center; gap: 10px; }
.record-screen .document-tools:empty { display: none; }
.record-screen .document-tools #choose-template, .record-screen .live-template-slot #choose-template { min-height: 34px; padding: 6px 8px; border-radius: 6px; border: 1px solid rgb(159, 183, 216); background: rgb(255, 255, 255); color: var(--side-ink); font-size: 12px; font-weight: 500; }
.record-screen .workspace > .layout { flex: 1 1 0%; min-height: 0px; padding: 0px; gap: 0px; overflow: auto; align-items: stretch; }
.record-screen .document-content { display: flex; flex-direction: column; gap: 16px; min-height: 0px; padding: 0px 24px 18px; }
.record-screen .document-content > .alerts:empty { display: none; }
.record-screen .summary-card { padding: 0px; background: none; border: 0px; border-radius: 0px; box-shadow: none; }
.record-screen .examdoc-sheet.exam-form { display: block; border: 0px; border-radius: 0px; box-shadow: none; background: none; color: var(--ink); }
.record-screen .exam-form .document-patient { display: none; }
.record-screen .exam-form .document-sections { padding: 0px; }
.record-screen .exam-form .examdoc-f.form-row, .record-screen .exam-form .examdoc-f-optional { padding: 10px 0px 11px; border-bottom: 1px solid var(--line); }
.record-screen .exam-form .form-row .examdoc-h { display: flex; align-items: center; margin: 0px 0px 4px; font-size: 14px; font-weight: 600; line-height: 23px; color: var(--ink); }
.record-screen .exam-form .row-number { display: inline-grid; place-items: center; flex: 0 0 auto; width: 23px; min-width: 23px; height: 23px; margin-right: 10px; border-radius: 5px; background: var(--canvas); color: rgb(101, 115, 138); font-size: 11px; font-weight: 400; }
.record-screen .exam-form .examdoc-f .examdoc-t, .record-screen .exam-form .examdoc-editable-list, .record-screen .exam-form .examdoc-dx { margin-left: 33px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.record-screen .exam-form .examdoc-t:focus, .record-screen .exam-form .examdoc-editable-list:focus, .record-screen .exam-form .examdoc-dx:focus-within { background: rgb(247, 249, 254); border-color: var(--accent); }
.record-screen .review { grid-area: 2 / 3 / -1; display: flex; flex-direction: column; min-height: 0px; padding: 0px 22px 24px; background: var(--canvas); border-left: 1px solid var(--line); }
.record-screen .review-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex: 0 0 auto; min-height: 96px; padding: 24px 0px 20px; border-bottom: 1px solid var(--line); }
.record-screen .review-title { display: flex; align-items: center; gap: 9px; color: var(--accent); }
.record-screen .review-title h2 { margin: 0px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.record-screen .review-caption { margin: -4px 0px 0px; padding-left: 29px; font-size: 12px; color: var(--muted); }
.record-screen .review-body { flex: 1 1 0%; min-height: 0px; overflow: auto; padding: 23px 0px 20px; scrollbar-width: thin; }
.record-screen .review-caveat { margin: 16px 0px; font-size: 12px; line-height: 1.6; color: rgb(83, 100, 123); }
.record-screen .review .document-opinion .drug-check, .record-screen .review .document-opinion .check-pending { margin: 0px; padding: 0px; border: 0px; background: none; }
.record-screen .review .document-opinion p { margin: 8px 0px; font-size: 13px; line-height: 1.55; color: rgb(66, 87, 117); }
.record-screen .review .drug-card { margin: 0px 0px 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: rgb(255, 255, 255); }
.record-screen .review .drug-card.positive { border-color: var(--green-border); background: rgb(245, 251, 247); }
.record-screen .review .drug-card header { display: flex; align-items: center; gap: 12px; }
.record-screen .review .drug-card h4 { margin: 0px; font-size: 15px; font-weight: 500; line-height: 20px; color: var(--ink); }
.record-screen .review .drug-status { display: block; margin-top: 3px; font-size: 12px; line-height: 18px; }
.record-screen .review .positive .drug-status { color: var(--green); }
.record-screen .review .result-symbol { display: grid; place-items: center; order: 2; flex: 0 0 auto; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; }
.record-screen .review .positive .result-symbol { background: rgb(231, 246, 237); color: rgb(21, 131, 85); }
.record-screen .review .result-symbol svg { width: 18px; height: 18px; }
.record-screen #transcript-drawer { position: static; grid-area: 3 / 3; z-index: auto; width: auto; max-width: none; min-width: 0px; height: auto; max-height: none; min-height: 0px; padding: 20px; border-top: 0px; border-right: 0px; border-bottom: 0px; border-image: none; border-left: 1px solid var(--line); border-radius: 0px; box-shadow: none; }
.record-screen #transcript-title { font-size: 18px; font-weight: 600; }
.record-screen .transcript-toggle[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1500px) {
.record-screen { grid-template-columns: 240px minmax(0px, 1fr) 310px; }
.record-screen.no-review, .record-screen.tester-tab, .screen-result[data-view="processing"] .record-screen { grid-template-columns: 240px minmax(0px, 1fr); }
.record-screen .sidebar { padding-left: 18px; padding-right: 18px; }
.record-screen #transcript-drawer { grid-area: 3 / 2; z-index: 2; margin-top: 58px; background: rgb(255, 255, 255); border-left: 0px; border-top: 1px solid var(--line); }
.record-screen .page-header { padding-left: 20px; padding-right: 20px; }
.record-screen .audio-panel, .record-screen .document-toolbar { padding-left: 18px; padding-right: 18px; }
.record-screen .document-content { padding-left: 18px; padding-right: 18px; }
.record-screen .record-tabs-row, .record-screen .tabs { gap: 14px; }
.record-screen .tab, .record-screen .transcript-toggle { font-size: 12px; }
.record-screen .review { padding-left: 16px; padding-right: 16px; }
.record-screen .exam-toolbar #edit-actions .btn { padding: 8px 10px; }
.record-screen .skip { display: none; }}
@media (max-width: 999px) {
.record-screen, .record-screen.no-review { display: flex; flex-direction: column; height: auto; min-height: 100dvh; }
.record-screen .page-header { order: 0; display: flex; flex-wrap: wrap; gap: 16px; padding: 20px; }
.record-screen .title-block { flex: 1 1 360px; }
.record-screen .header-actions, .record-screen .header-actions .exam-toolbar { flex-wrap: wrap; }
.record-screen .sidebar { order: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; overflow: visible; border-right: 0px; border-bottom: 1px solid var(--line); }
.record-screen .brand { font-size: 24px; }
.record-screen .back-link { margin: 0px; justify-self: end; }
.record-screen .patient-heading { margin: 0px; padding: 0px; border: 0px; }
.record-screen .side-patient-slot { grid-column: 1 / -1; }
.record-screen .sidebar .patient-grid { grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 12px; }
.record-screen .sidebar .patient-field { font-size: 12px; gap: 5px; }
.record-screen .sidebar .patient-field input { height: 40px; }
.record-screen .sidebar-footer { padding: 0px; align-self: end; }
.record-screen .doctor { padding-top: 0px; border-top: 0px; }
.record-screen .audio-panel { order: 2; position: sticky; top: 0px; z-index: 5; padding: 12px 20px; }
.record-screen .skip { display: inline-flex; }
.record-screen .workspace { order: 3; overflow: visible; }
.record-screen .document-toolbar { flex-wrap: wrap; gap: 0px 16px; padding: 0px 20px; }
.record-screen .document-tools { margin: 8px 0px; }
.record-screen .workspace > .layout { overflow: visible; }
.record-screen .document-content { padding: 0px 20px 20px; }
.record-screen .review { order: 5; padding: 0px 20px 20px; border-left: 0px; border-top: 1px solid var(--line); }
.record-screen #transcript-drawer { order: 4; margin: 0px; width: 100%; overflow: visible; border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: none; border-top: 1px solid var(--line); }
.record-screen .review-header { min-height: 80px; }
.record-screen .review-body { overflow: visible; }}
@media (max-width: 600px) {
.record-screen .page-header { padding: 16px; gap: 12px; }
.record-screen .header-actions { width: 100%; justify-content: flex-start; }
.record-screen .save-state { margin-right: auto; font-size: 11px; }
.record-screen .sidebar { padding: 16px; gap: 14px; }
.record-screen .patient-heading, .record-screen .sidebar-footer { grid-column: 1 / -1; }
.record-screen .sidebar .patient-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.record-screen .sidebar .patient-field input { font-size: 16px; }
.record-screen .audio-panel { padding: 12px 16px; }
.record-screen .player-top { flex-wrap: wrap; gap: 8px; }
.record-screen .document-toolbar { padding: 0px 16px; }
.record-screen .record-tabs-row { width: 100%; gap: 14px; overflow-x: auto; }
.record-screen .document-tools { width: 100%; justify-content: space-between; margin: 8px 0px 12px; }
.record-screen .document-content { padding: 0px 16px 20px; }
.record-screen .exam-form .examdoc-f .examdoc-t, .record-screen .exam-form .examdoc-editable-list, .record-screen .exam-form .examdoc-dx { margin-left: 0px; font-size: 16px; }
.record-screen .review { padding-left: 16px; padding-right: 16px; }
.record-screen #transcript-drawer { padding-left: 16px; padding-right: 16px; }}
@media print {
.record-screen { display: block; height: auto; min-height: 0px; background: rgb(255, 255, 255); }
.record-screen .workspace, .record-screen .workspace > .layout { display: block; overflow: visible; }
.record-screen .exam-form .row-number { display: none; }}
.record-screen .exam-form .add-drug { display: block; min-height: 28px; padding: 2px 0px; border: 0px; background: none; color: var(--accent); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 13px; cursor: pointer; }
.record-screen .exam-form .add-drug:disabled { display: none; }
@media screen and (max-width: 640px) {
.screen-result .record-screen { position: relative; padding-top: 76px; }
.record-screen::before { content: ""; position: absolute; inset: 0px 0px auto; height: 76px; background: var(--side); border-bottom: 1px solid var(--line); }
.record-screen .sidebar > .brand, .record-screen .sidebar > .back-link { position: absolute; top: 16px; z-index: 22; min-height: 44px; margin: 0px; }
.record-screen .sidebar > .brand { left: 16px; }
.record-screen .sidebar > .back-link { right: 16px; }
.record-screen .record-meta { flex-wrap: wrap; }
.record-screen .record-meta > span:not(.completion-dot) { flex: 0 0 auto; white-space: nowrap; }
.record-screen .sidebar { order: 6; grid-template-columns: minmax(0px, 1fr); }
.record-screen .sidebar .patient-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; }
.record-screen .sidebar .patient-field { min-width: 0px; grid-template-rows: minmax(18px, auto) auto; }
.record-screen .sidebar .patient-field label { font-size: 12px; line-height: 18px; }
.record-screen .sidebar .patient-field input { min-width: 0px; padding: 5px 6px; font-size: 16px; }
.record-screen .audio-controls { display: grid; grid-template-columns: 64px minmax(0px, 1fr); height: auto; gap: 12px; }
.record-screen .audio-controls > .live-template-slot { grid-area: 4 / 1 / auto / -1; }
.record-screen .audio-controls > #finish-live { grid-area: 2 / 1 / auto / -1; }
.record-screen .audio-controls > #add-live-file { grid-area: 3 / 1 / auto / -1; margin-left: 0px; }
.record-screen .live-equalizer { width: 100%; }
.record-screen .skip { min-width: 44px; min-height: 44px; height: 44px; align-items: center; justify-content: center; }
.record-screen .play { min-width: 44px; min-height: 44px; }
.record-screen .document-tools #choose-template { min-height: 44px; }
.record-screen .record-tabs-row, .record-screen.transcript-open .record-tabs-row { gap: 4px; }
.record-screen .tabs { flex: 0 0 auto; gap: 4px; }
.record-screen .tab, .record-screen .transcript-toggle { flex: 0 0 auto; gap: 4px; padding-left: 0px; padding-right: 0px; white-space: nowrap; }
.record-screen .exam-form .examdoc-dx-row { display: grid; grid-template-columns: minmax(0px, 1fr) 44px; gap: 4px 8px; align-items: start; margin-bottom: 12px; }
.record-screen .exam-form .examdoc-dx-text { grid-column: 1; min-width: 0px; overflow-wrap: anywhere; }
.record-screen .exam-form .examdoc-dx-prelim { grid-area: 2 / 1; justify-self: start; min-height: 44px; padding: 4px 0px; text-align: left; }
.record-screen .exam-form .examdoc-dx-remove { grid-area: 1 / 2 / 3; width: 44px; height: 44px; margin: 0px; padding: 12px; align-items: center; justify-content: center; }
.record-screen .exam-form .examdoc-f .examdoc-t, .record-screen .exam-form .examdoc-editable-list { min-height: 44px; }
.record-screen .exam-form .examdoc-date + .form-row .examdoc-t { min-height: 44px; }
.record-screen .audio-panel .player { row-gap: 12px; }
.record-screen .audio-panel .player-wait { flex: 0 0 100%; margin: 0px; }
.record-screen .audio-panel .wave { margin-left: 0px; }}
.record-screen .review .drug-card h4 > span { font-weight: 400; margin-left: 4px; font-size: 14px; }
.record-screen .review .drug-card .drug-status { font-size: 13px; }
.record-screen .exam-form .drug-tag-name { border: 0px; background: none; color: inherit; font: inherit; padding: 0px; cursor: pointer; }
.record-screen .exam-form .drug-tag-name:hover { text-decoration: underline; }
.record-screen .exam-form .dose-trigger { display: inline-flex; align-items: center; gap: 4px; }
.record-screen .exam-form .dose-trigger svg { width: 13px; height: 13px; }
@media screen {
.record-screen .exam-form [data-section="prescriptions"] { position: relative; }
.record-screen .exam-form .tagged-copy { margin-left: 33px; padding: 0px; min-height: 0px; background: none; font-size: 14px; line-height: 1.5; }
.record-screen .exam-form .tagged-prose { list-style: none; padding: 0px; white-space: pre-wrap; }
.record-screen .exam-form .tagged-prose > li { margin-bottom: 7px; }
.record-screen .exam-form .drug-tag { padding: 2px; margin: 0px 11px 0px 0px; border: 1px solid rgb(191, 228, 209); border-radius: 6px; background: rgb(239, 249, 243); color: rgb(20, 112, 82); font-size: 12px; line-height: 25px; }
.record-screen .exam-form .drug-tag button { display: inline-flex; align-items: center; gap: 5px; padding: 1px 6px; min-height: 26px; border: 0px; border-radius: 4px; color: inherit; font-size: 12px; line-height: 25px; }
.record-screen .exam-form .drug-tag .drug-tag-name { font-weight: 500; }
.record-screen .exam-form .drug-tag .dose-trigger { background: rgb(219, 241, 229); }
.record-screen .exam-form .drug-tag svg { width: 12px; height: 12px; }
.record-screen .exam-form .drug-tag .drug-tag-remove { font-size: 12px; }
.record-screen .exam-form .drug-note:empty { display: none; }}
.record-screen .review .drug-card .drug-status { line-height: 1.5; }
.record-screen .review .document-opinion .review-caveat { font-size: 12px; line-height: 1.6; margin: 16px 0px; color: rgb(83, 100, 123); }
@media screen and (max-width: 640px) {
.record-screen .exam-form .tagged-copy { margin-left: 0px; }}
.record-screen .review-header { flex-wrap: wrap; gap: 6px; align-content: center; }
.record-screen .review-ready { display: flex; align-items: center; gap: 3px; padding: 3px 6px; border: 1px solid rgb(191, 228, 209); border-radius: 5px; background: rgb(233, 246, 239); color: rgb(23, 123, 87); font-size: 11px; font-weight: 500; }
.record-screen .review-ready svg { width: 13px; height: 13px; }
.record-screen .review-caption { flex-basis: 100%; padding-left: 26px; }
#live-processing header > div { width: 100%; }
@media screen {
.record-screen { font-family: var(--font); }
.record-screen .brand { color: var(--ink); letter-spacing: -1.1px; }
.record-screen .sidebar .patient-grid { gap: 12px; }
.record-screen .sidebar .patient-field { gap: 5px; line-height: 15px; }
.record-screen .sidebar .patient-field label { font-size: 12px; }
.record-screen .sidebar .patient-field input { height: 38px; border: 1px solid rgb(203, 210, 221); border-radius: 7px; background: rgb(250, 251, 252); padding: 8px 11px; }
.record-screen .sidebar .patient-field input:placeholder-shown { background: rgb(250, 251, 252); border: 1px solid rgb(203, 210, 221); }
.record-screen .sidebar .patient-field input::placeholder { color: rgb(102, 112, 132); }
.record-screen .sidebar .patient-field input:focus { border-color: var(--accent); background: rgb(255, 255, 255); box-shadow: rgba(37, 99, 235, 0.063) 0px 0px 0px 3px; }
.record-screen .sidebar .patient-field[data-key="birth_date"] { order: 1; }
.record-screen .sidebar .patient-field[data-key="iin"] { order: 2; }
.record-screen .sidebar .patient-field[data-key="phone"] { order: 3; }
.record-screen .brand-symbol { width: 34px; height: 36px; border-radius: 10px; box-shadow: none; }
.record-screen .doctor .avatar { width: 32px; height: 32px; background: rgb(237, 241, 249); color: rgb(72, 97, 141); }
.record-screen .doctor .menu { width: 100%; }
.record-screen .doctor .user-btn { width: 100%; padding: 0px; gap: 10px; font-size: 13px; }
.record-screen .doctor .user-btn > .icon { margin-left: auto; width: 12px; height: 12px; }
.record-screen .exam-toolbar #edit-actions .btn { border-color: rgb(203, 210, 221); border-radius: 8px; font-weight: 500; padding: 8px 14px; }
.record-screen .exam-toolbar #edit-actions #exam-save { border-radius: 8px; padding: 9px 17px; box-shadow: rgba(255, 255, 255, 0.145) 0px 1px 0px inset, rgba(23, 77, 198, 0.094) 0px 2px 3px; }
.record-screen .record-tabs-row { align-self: center; align-items: stretch; height: 38px; gap: 2px; background: rgb(240, 242, 246); padding: 3px; border: 1px solid rgb(227, 231, 237); border-radius: 8px; }
.record-screen .tabs { gap: 2px; }
.record-screen .tab, .record-screen .transcript-toggle { height: 30px; min-height: 30px; padding: 4px 10px; border: 0px; border-radius: 5px; font-size: 12px; font-weight: 400; gap: 7px; }
.record-screen .tab[aria-selected="true"] { background: rgb(255, 255, 255); color: var(--ink); font-weight: 500; box-shadow: rgba(32, 39, 53, 0.075) 0px 1px 3px; }
.record-screen .tab[aria-selected="true"] .icon { color: var(--accent); }
.record-screen .document-tools #choose-template { min-height: 32px; padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.record-screen .exam-form .examdoc-f.form-row { padding: 6px 0px 7px; border-color: rgb(225, 229, 235); }
.record-screen .exam-form .form-row .examdoc-h { font-size: 14px; line-height: 24px; font-weight: 550; margin-bottom: 3px; }
.record-screen .exam-form .row-number { width: 22px; min-width: 22px; height: 22px; margin-right: 16px; font-size: 12px; font-weight: 500; background: rgb(255, 255, 255); border: 1px solid rgb(215, 223, 236); color: rgb(86, 112, 148); border-radius: 6px; }
.record-screen .exam-form .examdoc-f .examdoc-t, .record-screen .exam-form .examdoc-editable-list, .record-screen .exam-form .examdoc-dx, .record-screen .exam-form .tagged-copy { margin-left: 38px; }
.record-screen .exam-form .drug-tag { padding: 3px; background: var(--green-bg); border-color: var(--green-border); color: var(--green); }
.record-screen .review-title > svg { background: rgb(238, 243, 255); box-sizing: content-box; padding: 5px; border-radius: 7px; width: 16px; height: 16px; }
.record-screen .review-title h2 { font-size: 15px; font-weight: 500; letter-spacing: -0.2px; }
.record-screen .review-caption { padding-left: 33px; }
.record-screen .review .drug-card { position: relative; background: rgb(255, 255, 255); border-radius: 9px; padding: 15px 15px 15px 18px; }
.record-screen .review .drug-card.positive { background: rgb(255, 255, 255); border-color: rgb(187, 216, 201); }
.record-screen .review .drug-card::before { content: ""; position: absolute; left: 0px; top: 15px; bottom: 15px; width: 2px; background: rgb(58, 155, 118); border-radius: 0px 2px 2px 0px; }
.record-screen .review .result-symbol { width: 28px; height: 28px; border-radius: 7px; }
.record-screen .review .result-symbol svg { width: 15px; height: 15px; }
.record-screen .review .drug-card h4 { font-size: 15px; line-height: 1.4; }
.record-screen .review .drug-card h4 > span { font-size: 12px; }
.record-screen .review .drug-card .drug-status { font-size: 12px; line-height: 1.55; }
.record-screen .review-ready { font-size: 12px; font-weight: 400; padding: 2px 4px; }}
@media screen and (min-width: 1000px) {
.record-screen { grid-template-columns: 280px minmax(0px, 1fr) 336px; grid-template-rows: minmax(96px, auto) 100px minmax(0px, 1fr); min-height: 1000px; }
.record-screen.no-review, .record-screen.tester-tab { grid-template-columns: 280px minmax(0px, 1fr); }
.record-screen .sidebar { padding: 27px 24px 22px; border-color: rgb(212, 218, 228); }
.record-screen .back-link { margin: 26px 0px 31px; }
.record-screen .patient-heading { margin-bottom: 18px; padding-bottom: 12px; }
.record-screen .patient-heading h2 { font-weight: 500; letter-spacing: -0.2px; }
.record-screen .page-header { padding: 15px 26px 12px; gap: 20px; align-items: center; }
.record-screen .header-actions { padding: 0px; align-self: center; }
.record-screen .audio-panel { margin: 14px 20px 12px; border: 1px solid rgb(212, 218, 228); border-radius: 12px; padding: 16px 14px; background: rgb(255, 255, 255); box-shadow: rgba(32, 39, 53, 0.02) 0px 2px 6px; display: flex; align-items: center; }
.record-screen .audio-panel .player { width: 100%; flex-wrap: nowrap; gap: 10px; }
.record-screen .audio-panel .wave { height: 38px; flex: 1 1 0%; min-width: 90px; margin: 0px 9px; }
.record-screen .audio-panel .legend { flex: 0 0 auto; flex-direction: column; gap: 4px; font-size: 12px; }
.record-screen .play { width: 40px; height: 40px; min-height: 40px; }
.record-screen .skip { display: inline-flex; align-items: center; justify-content: center; height: 30px; min-height: 30px; border: 1px solid rgb(213, 220, 231); padding: 4px 7px; border-radius: 7px; background: rgb(249, 250, 252); }
.record-screen .workspace { margin: 0px 20px 20px; border: 1px solid rgb(205, 213, 224); border-radius: 12px; box-shadow: rgba(32, 39, 53, 0.02) 0px 3px 10px; }
.record-screen .document-toolbar { min-height: 60px; padding: 9px 17px; gap: 12px; border-color: rgb(220, 225, 233); }
.record-screen .document-content { padding: 7px 20px 12px 15px; background: rgb(255, 255, 255); box-shadow: rgb(248, 249, 252) 46px 0px inset; }
.record-screen .review { margin: 14px 20px 20px 0px; padding: 0px 17px; border: 1px solid rgb(212, 218, 228); border-radius: 12px; background: rgb(255, 255, 255); overflow: hidden; }
.record-screen .review-header { padding: 18px 0px 17px; min-height: 0px; gap: 7px; border-color: rgb(224, 229, 237); }
.record-screen .review-body { padding: 17px 0px; }
.record-screen #transcript-drawer { grid-row: 2 / -1; margin: 14px 16px 20px 0px; padding: 18px; border: 1px solid rgb(212, 218, 228); border-radius: 12px; }}
@media screen and (min-width: 1000px) and (max-width: 1500px) {
.record-screen #transcript-drawer { grid-area: 3 / 2; margin: 60px 20px 20px; padding: 18px; }}
@media screen and (max-width: 640px) {
.record-screen .record-tabs-row { height: auto; max-width: 100%; }
.record-screen .tab, .record-screen .transcript-toggle { white-space: nowrap; }
.record-screen .exam-form .examdoc-f .examdoc-t, .record-screen .exam-form .examdoc-editable-list, .record-screen .exam-form .examdoc-dx, .record-screen .exam-form .tagged-copy { margin-left: 0px; }}
@media screen and (min-width: 1000px) {
.record-screen .exam-form .examdoc-dx-row { position: relative; display: block; }
.record-screen .exam-form .examdoc-dx-text { display: grid; grid-template-columns: 130px minmax(0px, 1fr); gap: 8px; }
.record-screen .exam-form .examdoc-dx-label { grid-column: 1 / -1; font-size: 12px; color: var(--muted); font-weight: 400; }
.record-screen .exam-form .examdoc-dx-code, .record-screen .exam-form .examdoc-dx-name { display: block; min-width: 0px; min-height: 34px; padding: 6px 10px; font-size: 13px; line-height: 20px; font-weight: 400; background: rgb(250, 251, 252); border: 1px solid rgb(203, 210, 221); border-radius: 7px; }
.record-screen .exam-form .examdoc-dx-sep { display: none; }
.record-screen .exam-form .examdoc-dx-prelim { position: absolute; right: 0px; top: 0px; font-size: 12px; font-weight: 400; }
.record-screen .exam-form .examdoc-dx-add { display: flex; gap: 20px; }
.record-screen .exam-form .examdoc-dx-add-btn:first-child { order: 1; }
.record-screen .exam-form .examdoc-dx-add-btn { font-size: 12px; }
.record-screen .exam-form .examdoc-editable:not(.examdoc-dx-code):not(.examdoc-dx-name), .record-screen .exam-form .examdoc-editable-list { padding: 0px; min-height: 23px; }
.record-screen .exam-form .row-number { font-size: 12px; }
.record-screen .exam-form .examdoc-f-optional { border: 0px; }}
@media screen {
.record-screen .patient-heading::after { content: ""; width: 17px; height: 17px; background: var(--muted); mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22/%3E%3C/svg%3E") center center / contain no-repeat; }
.record-screen .brand-symbol { position: relative; }
.record-screen .brand-symbol svg { visibility: hidden; }
.record-screen .brand-symbol::before { content: ""; position: absolute; width: 24px; height: 24px; background: currentcolor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010v4m4-7v10m5-14v18m5-14v10m4-7v4%22/%3E%3C/svg%3E") center center / contain no-repeat; }}
@media screen and (min-width: 1000px) {
.record-screen #skip-back { border-radius: 7px 0px 0px 7px; }
.record-screen #skip-fwd { margin-left: -10px; border-radius: 0px 7px 7px 0px; border-left: 0px; }}
@media screen {
.record-screen #exam-save > .icon { display: none; }
.record-screen #exam-save::before { content: ""; width: 16px; height: 16px; background: currentcolor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h12l4%204v12a2%202%200%200%201-2%202Z%22/%3E%3Cpath%20d%3D%22M17%2021v-8H7v8M7%203v5h8%22/%3E%3C/svg%3E") center center / contain no-repeat; }}
@media screen and (min-width: 1000px) {
.record-screen .patient-heading h2 { line-height: 22.5px; }}
@media screen and (min-width: 1000px) {
.record-screen .back-link .icon { width: 16px; height: 16px; }}
@media screen and (min-width: 1000px) {
.record-screen { min-height: min(1000px, 100dvh); }
.record-screen .audio-panel > .audio-controls { width: 100%; min-width: 0px; }
.record-screen .header-actions, .record-screen .header-actions .exam-toolbar { flex-wrap: nowrap; }}
@media screen {
.record-screen .skip { gap: 3px; }
.record-screen .skip svg { width: 17px; height: 17px; }}
.record-screen .page-header { min-height: var(--page-heading-height); }
@media screen and (max-width: 700px) {
.record-screen .page-header { padding: 16px; gap: 12px; }
.record-screen .header-actions { padding-top: 0px; }}
@media screen {
.record-screen .page-header .inline-record-input, .record-screen .page-header .inline-record-input:focus, .record-screen #edit-title:focus, .record-screen #edit-note:focus { outline: none; box-shadow: none; background: transparent; }
.record-screen .record-tabs-row { width: 100%; height: auto; background: none; border: 0px; padding: 0px; gap: 12px; flex-wrap: wrap; align-items: center; }
.record-screen .document-tools:empty { display: none; }
.record-screen #transcript-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms; position: static; margin: 0px; padding: 0px; border: 0px; border-radius: 0px; width: 100%; max-width: none; height: auto; min-height: 0px; max-height: none; overflow: hidden; outline: none; }
.record-screen #transcript-drawer { order: 1; flex-shrink: 0; }
.record-screen .workspace > .layout { order: 2; }
.record-screen #transcript-drawer.is-open { grid-template-rows: 1fr; }
.record-screen .transcript-collapse { min-height: 0px; overflow: hidden; }
.record-screen .transcript-content { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.record-screen #transcript-drawer #transcript { max-height: 360px; overflow-y: auto; }
.record-screen .tagged-prose { cursor: text; }}
@media (prefers-reduced-motion: reduce) {
.record-screen #transcript-drawer { transition: none; }}
@media screen and (max-width: 999px) {
.record-screen > .site-header { display: block; }
.screen-result .record-screen { padding-top: 0px; }
.record-screen::before { display: none; }
.record-screen .sidebar > .brand, .record-screen .sidebar > .back-link, .record-screen .sidebar > .sidebar-footer { display: none; }
.record-screen .page-header { order: 0; }
.record-screen .audio-panel { order: 1; position: static; top: auto; }
.record-screen .sidebar { order: 2; display: block; padding: 20px 16px 28px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: none; border-top: 1px solid var(--line); background: rgb(255, 255, 255); overflow: visible; }
.record-screen .sidebar > .patient-heading { margin: 0px 0px 16px; padding: 0px; border: 0px; }
.record-screen .sidebar > .patient-heading h2 { font-size: 16px; }
.record-screen .sidebar > .patient-heading::after { display: none; }
.record-screen .workspace { order: 3; }
.record-screen #transcript-drawer { order: 4; }
.record-screen .review { order: 5; }}
.wave-slot { display: contents; }
.screen-result .record-app-bar { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .page-header, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .header-actions:empty, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .document-tools:empty, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .title-block > .record-meta, .screen-result[data-view="done"]:not(.has-record-error) .record-screen #close-transcript, .screen-result[data-view="done"]:not(.has-record-error) .record-screen #transcript-drawer:not(.is-open), .screen-result[data-view="done"]:not(.has-record-error) .record-screen .workspace:has(> #transcript-drawer.is-open) > .layout { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar > .brand, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar > .back-link, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar > .sidebar-footer, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.no-patient > .sidebar { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > .title-block { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 24px; border-bottom: 1px solid var(--line); background: rgb(255, 255, 255); min-width: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block .head-title-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; flex: 0 1 auto; max-width: 62%; min-width: 0px; margin: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block .head-status .progress[aria-valuenow="100"] { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block h1 { margin: 0px; min-width: 0px; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.3px; color: var(--ink); }
.screen-result[data-view="done"]:not(.has-record-error) .title-block #edit-title, .screen-result[data-view="done"]:not(.has-record-error) .title-block #edit-note { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; border: 0px; padding: 0px; text-align: left; cursor: text; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block #edit-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta { display: flex; align-items: center; gap: 7px; flex: 1 1 0px; min-width: 0px; font-size: 12px; line-height: 18px; color: var(--muted); }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta .head-number { flex: 0 0 auto; white-space: nowrap; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta .head-num { flex: 0 0 auto; white-space: nowrap; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta .head-number:not(:empty) + .head-num::before { content: "· "; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta .head-date-short { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta #edit-note { min-width: 0px; margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-result[data-view="done"]:not(.has-record-error) .document-toolbar { min-height: 60px; padding: 9px 17px; gap: 12px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row { align-self: center; display: flex; align-items: stretch; justify-content: flex-start; flex: 0 0 auto; width: auto; min-width: 0px; gap: 2px; height: 38px; padding: 3px; background: rgb(240, 242, 246); border: 1px solid rgb(227, 231, 237); border-radius: 8px; overflow: visible; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .tabs { display: contents; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .tab { height: 30px; min-height: 0px; padding: 4px 10px; gap: 7px; border: 0px; border-radius: 5px; background: none; box-shadow: none; color: rgb(88, 101, 120); font-size: 12px; font-weight: 400; line-height: 1.5; white-space: nowrap; margin: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .tab .icon { width: 16px; height: 16px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row:not(:has(.transcript-toggle[aria-expanded="true"])) #tab-summary, .screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .transcript-toggle[aria-expanded="true"] { background: rgb(255, 255, 255); color: var(--ink); font-weight: 500; box-shadow: rgba(32, 39, 53, 0.075) 0px 1px 3px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row:not(:has(.transcript-toggle[aria-expanded="true"])) #tab-summary .icon, .screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .transcript-toggle[aria-expanded="true"] .icon { color: var(--accent); }
.screen-result[data-view="done"]:not(.has-record-error) .document-tools #choose-template { min-height: 32px; height: 32px; padding: 5px 9px; border-radius: 6px; border: 1px solid rgb(203, 210, 221); background: rgb(255, 255, 255); color: var(--ink); font-size: 12px; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open { position: static; flex: 1 1 0%; width: auto; max-width: none; height: auto; max-height: none; min-height: 0px; padding: 16px 20px; border: 0px; border-radius: 0px; box-shadow: none; z-index: auto; }
@media (min-width: 1000px) {
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open .transcript-collapse { display: flex; flex-direction: column; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open .transcript-content { flex: 1 1 0%; min-height: 0px; display: flex; flex-direction: column; padding: 0px; border-bottom: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open #transcript { max-height: none; }}
.screen-result[data-view="done"]:not(.has-record-error) #copy-doc, .screen-result[data-view="done"]:not(.has-record-error) #record-home { min-height: 40px; height: 40px; padding: 9px 16px; gap: 8px; border-radius: 6px; border: 1px solid rgb(159, 183, 216); background: rgb(255, 255, 255); color: var(--side-ink); font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none; }
@media screen and (min-width: 1000px) {
.screen-result[data-view="done"]:not(.has-record-error) .record-app-bar { display: contents; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.no-review, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.tester-tab { grid-template-columns: 280px minmax(0px, 1fr) 316px 0px; grid-template-rows: auto minmax(0px, 1fr); column-gap: 20px; height: calc(100dvh - 76px); min-height: 724px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen.no-review, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.tester-tab { grid-template-columns: 280px minmax(0px, 1fr) 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar { grid-area: 2 / 1; padding: 20px 24px; background: rgb(255, 255, 255); }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl { grid-area: 1 / 1 / auto / -1; display: flex; align-items: center; gap: 24px; min-height: 109px; padding: 0px 36px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--line); min-width: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl { flex-wrap: nowrap; padding-block: 12px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .audio-panel { flex: 1 1 400px; min-width: auto; height: 60px; margin: 0px; display: flex; align-items: center; padding: 0px 14px 0px 9px; border: 1px solid rgb(212, 218, 228); border-radius: 12px; background: rgb(255, 255, 255); box-shadow: rgba(32, 39, 53, 0.02) 0px 2px 6px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .player { flex: 1 1 0%; min-width: 0px; flex-wrap: nowrap; gap: 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .play { flex: 0 0 auto; width: 42px; height: 42px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .skip { flex: 0 0 auto; display: inline-flex; width: 49px; height: 38px; padding: 0px 6px; gap: 3px; justify-content: center; border: 1px solid rgb(213, 220, 231); background: rgb(249, 250, 252); color: rgb(83, 96, 120); font-size: 12px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl #skip-back { border-radius: 7px 0px 0px 7px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl #skip-fwd { margin-left: -10px; border-left: 0px; border-radius: 0px 7px 7px 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .time { flex: 0 0 auto; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .time b { font-weight: 400; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .time span { color: var(--muted); }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .wave-slot { order: 1; display: flex; align-items: center; flex: 1 1 0px; min-width: 0px; contain: inline-size; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .wave { flex: 0 0 auto; order: 0; max-width: 100%; min-width: 0px; height: 38px; margin: 0px; gap: 3px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .wave .b { flex: 0 0 3px; width: 3px; border-radius: 1.4px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .legend { order: 2; flex: 0 0 auto; display: flex; flex-direction: column; gap: 0px; font-size: 12px; line-height: 18px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .header-actions { flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-end; min-width: 0px; padding: 0px; gap: 8px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .header-actions .exam-toolbar { flex-wrap: nowrap; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions .btn, .screen-result[data-view="done"]:not(.has-record-error) .record-ctl .btn-delete-record { white-space: nowrap; }
#app.screen-result[data-view="done"]:not(.has-record-error) .record-ctl[data-compact]:not([data-compact="0"]) #delete-record, #app.screen-result[data-view="done"]:not(.has-record-error) .record-ctl[data-compact]:not([data-compact="0"], [data-compact="1"]) #copy-doc, #app.screen-result[data-view="done"]:not(.has-record-error) .record-ctl:is([data-compact="3"], [data-compact="4"], [data-compact="5"]) :is(#exam-save, #exam-unconfirm, #exam-print), #app.screen-result[data-view="done"]:not(.has-record-error) .record-ctl:is([data-compact="4"], [data-compact="5"]) :is(#record-tech-toggle, .record-actions > summary) { width: 40px; min-width: 40px; padding: 0px; gap: 0px; justify-content: center; font-size: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .workspace { grid-area: 2 / 2; margin: 14px 0px 20px; border: 1px solid rgb(205, 213, 224); border-radius: 12px; box-shadow: rgba(32, 39, 53, 0.02) 0px 3px 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .review { grid-area: 2 / 3; margin: 14px 0px 20px; padding: 0px 20px 20px; border: 1px solid rgb(205, 213, 224); border-radius: 12px; background: rgb(255, 255, 255); }}
@media screen and (min-width: 1000px) and (max-width: 1280px) {
.screen-result[data-view="done"]:not(.has-record-error) .record-screen, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.no-review, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.tester-tab { grid-template-columns: 240px minmax(0px, 1fr) 280px 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen.no-review, .screen-result[data-view="done"]:not(.has-record-error) .record-screen.tester-tab { grid-template-columns: 240px minmax(0px, 1fr) 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar { padding-left: 18px; padding-right: 18px; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > .title-block { flex-wrap: wrap; row-gap: 2px; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block .head-title-row { max-width: 100%; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta { flex: 1 1 100%; flex-wrap: wrap; }
.screen-result[data-view="done"]:not(.has-record-error) .document-toolbar { flex-wrap: wrap; }}
@media screen and (max-width: 999px) {
.screen-result[data-view="done"]:not(.has-record-error) .record-screen { background: var(--canvas); padding-bottom: 16px; }
.screen-result[data-view="done"]:not(.has-record-error) .site-header .menu-toggle[hidden] { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .site-header #record-back { border: 0px; background: none; color: var(--muted); box-shadow: none; }
.screen-result[data-view="done"]:not(.has-record-error) .site-header #record-back .icon { width: 22px; height: 22px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl { order: 1; padding: 14px 16px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--line); }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .audio-panel { position: static; margin: 0px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-height: 88px; padding: 10px 10px 8px; border: 1px solid rgb(212, 218, 228); border-radius: 12px; background: rgb(255, 255, 255); }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .audio-panel::after { content: ""; order: 4; flex: 0 0 100%; height: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .player { display: contents; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .play { order: 1; flex: 0 0 auto; width: 44px; height: 44px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .skip { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .wave-slot { order: 2; display: flex; align-items: center; flex: 1 1 0px; min-width: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .wave { flex: 0 0 auto; max-width: 100%; height: 40px; margin: 0px; gap: 3px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .wave .b { flex: 0 0 3px; width: 3px; border-radius: 1.4px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .audio-panel > .exam-toolbar { display: contents; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions { order: 3; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #exam-confirmed { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #document-hint { order: 7; flex: 0 0 100%; margin: 0px; font-size: 12px; line-height: 16px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #autosave-state[hidden] { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions { display: flex; gap: 6px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions .btn { width: 44px; height: 44px; min-height: 44px; padding: 0px; justify-content: center; gap: 0px; font-size: 0px; border-radius: 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions .btn .icon { width: 20px; height: 20px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .time { order: 5; margin-right: auto; font-size: 13px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .time b { font-weight: 400; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .time span { color: var(--muted); }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .player-wait { order: 5; font-size: 12px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .legend { order: 6; flex: 0 0 auto; margin-left: auto; font-size: 12px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .workspace, .screen-result[data-view="done"]:not(.has-record-error) .record-screen .review { margin: 14px 16px 0px; border: 1px solid rgb(223, 228, 236); border-radius: 14px; background: rgb(255, 255, 255); overflow: hidden; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar { padding: 16px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .sidebar > .patient-heading::after { display: block; }
.screen-result[data-view="done"]:not(.has-record-error) .record-screen .review { padding: 0px 16px 16px; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field[data-key="surname"] { grid-area: 1 / 1; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field[data-key="first_name"] { grid-area: 2 / 1; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field[data-key="patronymic"] { grid-area: 3 / 1; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field[data-key="iin"] { grid-area: 1 / 2; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field[data-key="birth_date"] { grid-area: 2 / 2; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field[data-key="phone"] { grid-area: 3 / 2; }
.screen-result[data-view="done"]:not(.has-record-error) .sidebar .patient-field input { height: 44px; font-size: 16px; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > .title-block { display: block; padding: 16px; min-height: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block .head-title-row { max-width: none; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block .head-title-row { justify-content: space-between; gap: 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block h1 { font-size: 20px; }
.screen-result[data-view="done"]:not(.has-record-error) .title-block #choose-template { flex: 0 0 auto; min-height: 44px; height: 44px; min-width: 74px; margin: 0px; padding: 0px 10px; border-radius: 10px; border: 1px solid rgb(203, 210, 221); background: rgb(255, 255, 255); color: var(--ink); font-size: 13px; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta { flex-wrap: wrap; gap: 6px 7px; margin-top: 8px; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta .head-status { flex: 0 0 auto; }
.screen-result[data-view="done"]:not(.has-record-error) .done-meta #edit-note { flex: 1 1 96px; margin-left: 0px; padding-left: 0px; border-left: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .document-toolbar { flex-wrap: nowrap; justify-content: space-between; padding: 12px 16px; gap: 8px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row { flex: 0 1 280px; width: auto; height: 44px; min-width: 0px; border-radius: 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .tab { flex: 1 1 0px; height: auto; justify-content: center; font-size: 13px; border-radius: 8px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .tab .icon, .screen-result[data-view="done"]:not(.has-record-error) .record-tabs-row .transcript-count { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .document-toolbar #copy-doc { flex: 0 0 auto; width: 44px; height: 44px; min-height: 44px; padding: 0px; justify-content: center; gap: 0px; border-radius: 10px; }
.screen-result[data-view="done"]:not(.has-record-error) .document-toolbar #copy-doc .copy-label { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .document-toolbar #copy-doc .icon { width: 20px; height: 20px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-bottom-actions { order: 6; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 16px 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-bottom-actions:empty { display: none; }
.screen-result[data-view="done"]:not(.has-record-error) .record-bottom-actions .btn-delete-record { min-height: 44px; }}
@keyframes live-dot { 
  100% { opacity: 0.35; }
}
.screen-result[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-head { display: block; padding: 8px 0px 10px; margin-bottom: 10px; border-bottom: 1px solid rgb(215, 220, 228); }
.screen-result[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-head #transcript-title { margin: 0px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.screen-result[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-head .speaker-tools:not([hidden]) { display: flex; flex-wrap: nowrap; gap: 12px; margin: 6px 0px 0px; font-size: 13px; color: rgb(89, 98, 114); }
.screen-result[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-head .speaker-tools label { gap: 5px; min-height: 0px; font-size: 13px; }
.screen-result[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-head .speaker-tools input { margin: 0px; accent-color: rgb(37, 99, 235); }
@media screen and (max-width: 999px) {
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open { padding: 4px 14px 14px; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open .transcript-content { padding: 0px; border-bottom: 0px; }
.screen-result[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open .transcript-panel { padding: 0px; }}
.proc-acts, .audio-controls > .live-foot, .live-pair { display: none; }
.proc-save-icon { display: block; width: 20px; height: 20px; background: currentcolor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h12l4%204v12a2%202%200%200%201-2%202Z%22/%3E%3Cpath%20d%3D%22M17%2021v-8H7v8M7%203v5h8%22/%3E%3C/svg%3E") center center / contain no-repeat; }
@media screen and (max-width: 999px) {
#app:is([data-view="recording"], [data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .audio-panel { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 88px; margin: 0px; padding: 8px 10px 10px; border: 1px solid rgb(212, 218, 228); border-radius: 12px; background: rgb(255, 255, 255); box-shadow: none; overflow-x: clip; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .audio-panel::after { content: none; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player-top { display: contents; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player .play { order: 1; flex: 0 0 auto; width: 44px; height: 44px; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player :is(.skip, .player-hint) { display: none; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .wave-slot { order: 2; display: flex; align-items: center; flex: 1 1 calc(100% - 150px); min-width: 0px; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .wave { flex: 0 0 auto; max-width: 100%; height: 44px; margin: 0px; gap: 3px; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .wave .b { flex: 0 0 3px; width: 3px; border-radius: 1.4px; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .wave-cursor { top: 2px; bottom: 2px; background: var(--accent); }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .wave-cursor::before { content: none; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #exam-save::before { flex: 0 0 auto; width: 20px; height: 20px; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player :is(.time, .player-wait) { order: 5; flex: 0 1 auto; min-width: 0px; margin: 0px auto 0px 0px; font-size: 12px; line-height: 18px; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player .time b { font-weight: 400; }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player .time span { color: var(--muted); }
#app:is([data-view="processing"], [data-view="done"]):not(.has-record-error) :is(.live-ctl, .record-ctl) .player .legend { order: 6; flex: 0 0 auto; margin-left: auto; font-size: 12px; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions { width: auto; flex: 0 0 auto; flex-wrap: nowrap; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #edit-actions .btn { border-radius: 8px; transition: background 0.15s, border-color 0.15s, color 0.15s; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .audio-panel { padding: 10px; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .player :is(.time, .player-wait, .legend) { line-height: 16px; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .player :is(.time, .player-wait) { flex: 0 0 auto; margin-right: 0px; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #autosave-state { order: 5; flex: 1 1 0px; min-width: 0px; margin: 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; line-height: 16px; }
#app[data-view="done"]:not(.has-record-error) .record-ctl .exam-toolbar #autosave-state::before { content: "·"; margin: 0px 2px 0px 0px; }}
@keyframes rec-from-right { 
  0% { opacity: 0; transform: translateX(40px); }
}
@keyframes rec-from-left { 
  0% { opacity: 0; transform: translateX(-24px); }
}
@keyframes rec-grow { 
  0% { transform: scaleX(0.08); }
}
@keyframes rec-fade { 
  0% { opacity: 0; }
}
@media screen and (max-width: 999px) {
html.rec-flow .audio-panel :is(.live-foot, .player .time:not([hidden]), .player .player-wait:not([hidden])) { view-transition-name: rec-timer; }
@keyframes vt-from-right { 
  0% { opacity: 0; transform: translateX(40px); }
}
@keyframes vt-to-right { 
  100% { opacity: 0; transform: translateX(40px); }
}
@keyframes vt-from-left { 
  0% { opacity: 0; transform: translateX(-24px); }
}
@keyframes vt-from-left-far { 
  0% { opacity: 0; transform: translateX(-56px); }
}
@keyframes vt-to-left-far { 
  100% { opacity: 0; transform: translateX(-56px); }
}
@keyframes vt-fade-out { 
  100% { opacity: 0; }
}
@keyframes vt-grow { 
  0% { opacity: 0; transform: scaleX(0.08); }
}
@keyframes vt-shrink { 
  100% { opacity: 0; transform: scaleX(0.08); }
}
@keyframes vt-rise { 
  0% { opacity: 0; transform: translateY(64px); }
}
@keyframes vt-sink { 
  100% { opacity: 0; transform: translateY(64px); }
}}
#app #exam-print.btn-doc, #app #copy-doc.btn-doc:not(.is-done) { background: rgb(237, 242, 255); border-color: rgb(37, 99, 235); color: rgb(23, 77, 198); }
#app #exam-print.btn-doc:hover, #app #copy-doc.btn-doc:not(.is-done):hover { background: rgb(237, 242, 255); border-color: rgb(23, 77, 198); }
@media screen and (min-width: 1000px) {
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .audio-panel { flex: 1 1 400px; }
.screen-result[data-view="done"]:not(.has-record-error) .record-ctl .header-actions { margin-left: auto; }}
#app[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-turn { border: 1px solid rgb(195, 211, 242); }
#app[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-turn[data-side="patient"] { border-color: rgb(186, 219, 202); }
@media screen and (min-width: 1000px) {
#app[data-view="done"]:not(.has-record-error) .workspace > #transcript-drawer.is-open { padding: 6px 20px 16px; }
#app[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-panel { padding: 0px; }
#app[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-head { padding: 12px 0px; margin-bottom: 4px; }
#app[data-view="done"]:not(.has-record-error) #transcript-drawer .transcript-turn:first-child { margin-top: 12px; }}
.record-screen .exam-form .tagged-prose.ProseMirror { white-space: break-spaces; overflow-wrap: break-word; font-variant-ligatures: none; outline: none; }
.record-screen .exam-form .tagged-prose .ProseMirror-separator { display: inline !important; border-width: medium !important; border-style: none !important; border-color: currentcolor !important; border-image: none !important; margin: 0px !important; }
@media screen and (min-width: 1000px) {
::view-transition-group(*) { animation-duration: 0.21s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: 0.21s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
::view-transition-new(rec-cancel):only-child, ::view-transition-new(rec-finish):only-child, ::view-transition-new(rec-actions):only-child, ::view-transition-new(rec-review):only-child { animation: 0.21s cubic-bezier(0.2, 0.7, 0.2, 1) 0s 1 normal both running vt-from-right; }
::view-transition-new(rec-finish):only-child { animation-delay: 0.02s; }
::view-transition-old(rec-cancel):only-child, ::view-transition-old(rec-finish):only-child, ::view-transition-old(rec-actions):only-child, ::view-transition-old(rec-review):only-child { animation: 0.15s ease-in 0s 1 normal both running vt-to-right; }
::view-transition-new(rec-timer):only-child, ::view-transition-new(rec-head):only-child { animation: 0.21s cubic-bezier(0.2, 0.7, 0.2, 1) 0s 1 normal both running vt-from-left; }
::view-transition-old(rec-timer):only-child, ::view-transition-old(rec-head):only-child { animation: 0.125s ease-in 0s 1 normal both running vt-fade-out; }
::view-transition-new(rec-eq):only-child { animation: 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) 0s 1 normal both running vt-grow; transform-origin: left center; }
::view-transition-old(rec-eq):only-child { animation: 0.15s ease-in 0s 1 normal both running vt-shrink; transform-origin: left center; }
::view-transition-new(rec-pside):only-child { animation: 0.225s cubic-bezier(0.2, 0.7, 0.2, 1) 0.03s 1 normal both running vt-from-left-far; }
::view-transition-old(rec-pside):only-child { animation: 0.15s ease-in 0s 1 normal both running vt-to-left-far; }
::view-transition-new(rec-work):only-child, ::view-transition-new(rec-list):only-child { animation: 0.225s cubic-bezier(0.2, 0.7, 0.2, 1) 0.04s 1 normal both running vt-rise; }
::view-transition-old(rec-work):only-child, ::view-transition-old(rec-list):only-child { animation: 0.13s ease-in 0s 1 normal both running vt-sink; }
::view-transition-old(rec-main) { animation: 0.09s ease-in 0s 1 normal both running vt-fade-out; }
::view-transition-old(rec-main), ::view-transition-new(rec-main) { width: 100%; height: 100%; object-fit: contain; }
@keyframes vt-from-right { 
  0% { opacity: 0; transform: translateX(48px); }
}
@keyframes vt-to-right { 
  100% { opacity: 0; transform: translateX(48px); }
}
@keyframes vt-from-left { 
  0% { opacity: 0; transform: translateX(-24px); }
}
@keyframes vt-from-left-far { 
  0% { opacity: 0; transform: translateX(-64px); }
}
@keyframes vt-to-left-far { 
  100% { opacity: 0; transform: translateX(-64px); }
}
@keyframes vt-fade-out { 
  100% { opacity: 0; }
}
@keyframes vt-grow { 
  0% { opacity: 0; transform: scaleX(0.08); }
}
@keyframes vt-shrink { 
  100% { opacity: 0; transform: scaleX(0.08); }
}
@keyframes vt-rise { 
  0% { opacity: 0; transform: translateY(56px); }
}
@keyframes vt-sink { 
  100% { opacity: 0; transform: translateY(56px); }
}
@media (prefers-reduced-motion: reduce) {
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: auto ease 0s 1 normal none running none !important; }}}
@keyframes main-pop { 
  0% { opacity: 0; transform: scale(0.4); }
}
@keyframes main-fresh { 
  0% { background: rgb(228, 236, 255); }
  100% { background: rgb(255, 255, 255); }
}
#app * { pointer-events: none; }
#app .record-tabs-row .tab, #app #toggle-transcript { pointer-events: auto; cursor: pointer; }
template { display: none; }
.example-note { position: fixed; right: 12px; bottom: 8px; z-index: 50; margin: 0px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid rgb(215, 220, 228); color: rgb(89, 98, 114); font: 12px / 1.5 DenManrope, "Segoe UI", Arial, sans-serif; pointer-events: none; }
html { background: var(--canvas); }
#app .record-tabs-row { flex-wrap: nowrap; }
