/* Demo Home — Doctor Visits (Vitals › Medical › Visits), 2026-11-19 */
.vv-root { --vv-doc: #5fd8ff; --vv-me: #f2c14e; --vv-dad: #7ee0b8; --vv-oth: #b79cff; --vv-red: #ff4d5e; color: #edf4fa; }
.vv-active .vv-head, .vv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vv-head h4 { margin: 2px 0 10px; font-size: 18px; font-weight: 800; }
.vv-state { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(142,163,181,.14); color: #8ea3b5; }
.vv-state.recording { background: rgba(255,77,94,.18); color: #ff8a96; animation: vvBlink 1.4s infinite; }
.vv-state.paused { background: rgba(242,193,78,.16); color: #f2c14e; }
@keyframes vvBlink { 50% { opacity: .55; } }
.vv-warn { background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.35); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.4; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vv-doc { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 14px; }
.vv-doc label { display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8ea3b5; }
.vv-doc select, .vv-doc input { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: #edf4fa; background: rgba(5,8,14,.7); border: 1px solid rgba(114,217,248,.25); border-radius: 10px; padding: 10px 12px; min-width: 220px; }
.vv-rec { display: flex; align-items: center; gap: 22px; }
.vv-big { flex: 0 0 auto; width: 118px; height: 118px; border-radius: 50%; border: 4px solid rgba(255,255,255,.85); background: rgba(255,77,94,.12); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 0 rgba(255,77,94,.5); transition: transform .15s; }
.vv-big span { width: 74px; height: 74px; border-radius: 50%; background: var(--vv-red); transition: all .2s; }
.vv-big.on { animation: vvPulse 1.6s infinite; }
.vv-active.recording .vv-big span, .vv-active.paused .vv-big span { width: 44px; height: 44px; border-radius: 10px; }
.vv-big:active { transform: scale(.96); }
.vv-big:disabled { opacity: .35; cursor: not-allowed; animation: none; }
@keyframes vvPulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,94,.55); } 70% { box-shadow: 0 0 0 22px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }
.vv-timer { flex: 1 1 auto; min-width: 0; }
.vv-timer b { display: block; font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1; }
.vv-level { height: 6px; border-radius: 3px; background: rgba(142,163,181,.15); margin: 10px 0 12px; overflow: hidden; }
.vv-level i { display: block; height: 100%; background: linear-gradient(90deg, #8fe3a0, #f2c14e, #ff4d5e); transform-origin: left; transform: scaleX(0); transition: transform .12s; }
.vv-ctl { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vv-hint { font-size: 13px; color: #8ea3b5; }
.vv-btn { appearance: none; font: inherit; font-size: 15px; font-weight: 750; color: #edf4fa; background: rgba(114,217,248,.12); border: 1px solid rgba(114,217,248,.3); border-radius: 12px; padding: 11px 18px; cursor: pointer; text-decoration: none; display: inline-block; }
.vv-btn.stop { background: rgba(255,77,94,.16); border-color: rgba(255,77,94,.45); }
.vv-btn.small { font-size: 13px; padding: 7px 12px; border-radius: 10px; }
.vv-btn:disabled { opacity: .4; }
.vv-msg { font-size: 13px; color: #c9d6e2; margin: 12px 0 0; }
.vv-pend { list-style: none; margin: 12px 0 0; padding: 0; }
.vv-pend li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 10px; border-radius: 10px; background: rgba(242,193,78,.08); font-size: 13px; margin-bottom: 6px; }
.vv-pend em { color: #f2c14e; font-style: normal; font-weight: 700; margin-left: auto; }
.vv-fine { font-size: 11.5px; color: #8ea3b5; margin: 12px 0 0; line-height: 1.4; }
.vv-rows { list-style: none; margin: 0; padding: 0; }
.vv-row { border-top: 1px solid rgba(114,217,248,.1); }
.vv-row:first-child { border-top: 0; }
.vv-rowbtn { appearance: none; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 12px 4px; display: grid; grid-template-columns: 128px 1fr 18px; gap: 12px; cursor: pointer; }
.vv-date b { display: block; font-size: 15px; font-weight: 800; }
.vv-date small { display: block; font-size: 11.5px; color: #8ea3b5; margin-top: 3px; line-height: 1.35; }
.vv-doc-name { font-weight: 800; font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vv-main p { margin: 4px 0 0; font-size: 13.5px; color: #c9d6e2; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vv-row.open .vv-main p { -webkit-line-clamp: unset; }
.vv-car { color: #8ea3b5; font-size: 14px; padding-top: 2px; }
.vv-chip { font-size: 11px; font-weight: 750; padding: 3px 8px; border-radius: 999px; background: rgba(142,163,181,.14); color: #c9d6e2; }
.vv-chip.processing, .vv-chip.queued { background: rgba(95,216,255,.14); color: #5fd8ff; }
.vv-chip.error, .vv-chip.warn { background: rgba(242,193,78,.14); color: #f2c14e; }
.vv-chip.ok { background: rgba(143,227,160,.12); color: #8fe3a0; }
.vv-detail { padding: 0 4px 16px; }
.vv-audio { width: 100%; margin: 4px 0 12px; }
.vv-dtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vv-sum .vv-ov { font-size: 15px; line-height: 1.5; margin: 0 0 12px; }
.vv-sec { margin: 0 0 12px; }
.vv-sec h6 { margin: 0 0 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8ea3b5; }
.vv-sec p, .vv-sec li { font-size: 13.5px; line-height: 1.45; color: #dbe6ef; }
.vv-sec ul { margin: 0; padding-left: 18px; }
.vv-sec li small { display: block; color: #8ea3b5; font-size: 12px; }
.vv-flags { background: rgba(242,193,78,.08); border: 1px solid rgba(242,193,78,.3); border-radius: 12px; padding: 10px 12px; }
.vv-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.vv-legend small { color: #8ea3b5; font-size: 11.5px; }
.vv-lg { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; }
.vv-lg em { font-style: normal; opacity: .75; font-weight: 650; }
.vv-lg.doc, .vv-tr p.doc b { color: var(--vv-doc); }
.vv-lg.me, .vv-tr p.me b { color: var(--vv-me); }
.vv-lg.dad, .vv-tr p.dad b { color: var(--vv-dad); }
.vv-lg.oth, .vv-tr p.oth b { color: var(--vv-oth); }
.vv-tr { max-height: 460px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-right: 4px; }
.vv-tr p { margin: 0 0 6px; padding: 6px 10px; border-radius: 10px; font-size: 14px; line-height: 1.45; border-left: 3px solid transparent; }
.vv-tr p.doc { background: rgba(95,216,255,.06); border-left-color: var(--vv-doc); }
.vv-tr p.me { background: rgba(242,193,78,.06); border-left-color: var(--vv-me); }
.vv-tr p.dad { background: rgba(126,224,184,.08); border-left-color: var(--vv-dad); }
.vv-tr p.oth { background: rgba(183,156,255,.06); border-left-color: var(--vv-oth); }
.vv-tr b { font-size: 12px; font-weight: 800; margin-right: 8px; }
.vv-ts { appearance: none; border: 0; background: none; font: inherit; font-size: 11.5px; color: #8ea3b5; font-variant-numeric: tabular-nums; margin-right: 8px; padding: 0; cursor: pointer; text-decoration: underline dotted; }
.vv-notes textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.5; color: #edf4fa; background: rgba(5,8,14,.7); border: 1px solid rgba(114,217,248,.25); border-radius: 12px; padding: 12px; resize: vertical; }
.vv-notes-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: #8ea3b5; }
.vv-links { list-style: none; padding: 0; margin: 0 0 12px; }
.vv-links li { padding: 8px 0; border-bottom: 1px solid rgba(114,217,248,.1); }
.vv-links a { color: #5fd8ff; font-weight: 700; text-decoration: none; font-size: 14px; }
.vv-links small { display: block; color: #8ea3b5; font-size: 12px; margin-top: 2px; }
.vv-slot { border: 1px dashed rgba(114,217,248,.3); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #c9d6e2; }
.vv-slot p { margin: 4px 0 0; color: #8ea3b5; line-height: 1.4; }
.vv-pill { position: fixed; right: 18px; bottom: 18px; z-index: 9999; font: inherit; font-weight: 800; font-size: 15px; color: #fff; background: rgba(160,20,36,.92); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 10px 16px; display: flex; gap: 8px; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.vv-pill i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: vvBlink 1.2s infinite; }
.vv-pill.paused { background: rgba(120,90,10,.92); }
.vv-pill b { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .vv-rowbtn { grid-template-columns: 1fr 18px; } .vv-date { grid-column: 1 / -1; } .vv-big { width: 96px; height: 96px; } .vv-big span { width: 60px; height: 60px; } .vv-timer b { font-size: 36px; } }
