/* Medtrainers Learn — learner, sign-in and dashboard styles. Brand from medtrainers.ai. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --violet: #8B5CF6; --violet-d: #7C3AED; --violet-dd: #6D28D9; --violet-l: #F0EBFF;
  --magenta: #C026D3; --cyan: #63D2FF; --cyan-d: #0EA5E9;
  --ink: #1A1A2E; --ink-2: #555770; --ink-3: #8888A0;
  --bg: #FFFFFF; --bg-alt: #F7F8FC; --line: #E4E6F0; --line-2: #D5D8E6;
  --ok: #059669; --ok-l: #ECFDF5; --warn: #B45309; --warn-l: #FFFBEB; --bad: #DC2626; --bad-l: #FEF2F2;
  --r: 12px; --r-sm: 8px;
  --shadow: 0 2px 16px rgba(26,26,46,.06); --shadow-lg: 0 10px 40px rgba(26,26,46,.12);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --brand: 'Comfortaa', var(--sans);
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.55 var(--sans); color: var(--ink); background: var(--bg-alt); -webkit-font-smoothing: antialiased; }
a { color: var(--violet-d); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: 1.7rem; font-weight: 800; } h2 { font-size: 1.25rem; font-weight: 700; } h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
.muted { color: var(--ink-2); } .small { font-size: .84rem; } .tiny { font-size: .76rem; color: var(--ink-3); }
.hide, [hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; }
.wrap.narrow { max-width: 720px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row.end { justify-content: flex-end; } .row.between { justify-content: space-between; }
.grow { flex: 1; }
.stack > * + * { margin-top: 12px; }
:focus-visible { outline: 3px solid rgba(139,92,246,.45); outline-offset: 2px; }

/* top bar */
.topbar { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar-in { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 1.22rem var(--brand); color: var(--violet); letter-spacing: -.04em; }
.logo svg { width: 28px; height: 28px; }
.logo em { font: 600 .72rem var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: 10px; margin-left: 2px; }
.toplinks { display: flex; gap: 4px; flex: 1; }
.toplinks a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; padding: 7px 12px; border-radius: 999px; }
.toplinks a.on, .toplinks a:hover { color: var(--violet-d); background: var(--violet-l); }
.usermenu { position: relative; margin-left: auto; }
.usermenu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--ink-2); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu .menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 12px; min-width: 220px; display: grid; gap: 6px; }
.usermenu .menu a, .usermenu .menu button { text-align: left; background: none; border: 0; padding: 7px 8px; border-radius: 6px; font: 500 .9rem var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.usermenu .menu a:hover, .usermenu .menu button:hover { background: var(--bg-alt); }
.topbar.dark { background: rgba(14,15,24,.94); border-color: #24263a; }
.topbar.dark .toplinks a { color: #A9ABC2; } .topbar.dark .toplinks a.on, .topbar.dark .toplinks a:hover { background: rgba(139,92,246,.18); color: #D9CCFF; }
.topbar.dark .usermenu summary { color: #C9CBE0; border-color: #2B2D44; }
.topbar.dark .logo em { border-color: #2B2D44; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font: 600 .92rem var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--violet-d); color: #fff; } .btn.primary:hover { background: var(--violet-dd); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); } .btn.ghost:hover { border-color: var(--violet); color: var(--violet-d); }
.btn.quiet { background: transparent; color: var(--violet-d); padding: 0 10px; }
.btn.danger { background: #fff; color: var(--bad); border-color: #F5C2C2; }
.btn.sm { height: 34px; padding: 0 13px; font-size: .84rem; }
.btn.lg { height: 50px; padding: 0 28px; font-size: 1rem; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
label.lbl { display: block; font: 600 .82rem var(--sans); color: var(--ink-2); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], select, textarea {
  width: 100%; height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; padding: 0 12px; font: 400 .95rem var(--sans); color: var(--ink); }
textarea { height: auto; min-height: 90px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
.chk { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--violet-d); }
.err { color: var(--bad); font-size: .88rem; margin-top: 8px; min-height: 1em; }
.ok { color: var(--ok); }

/* cards and surfaces */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.err-card { margin-top: 12vh; border-color: #F5C2C2; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid.c3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid.c4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 .74rem var(--sans); background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-l); color: var(--ok); } .pill.warn { background: var(--warn-l); color: var(--warn); } .pill.bad { background: var(--bad-l); color: var(--bad); }
.pill.violet { background: var(--violet-l); color: var(--violet-d); }
.bar { height: 8px; border-radius: 99px; background: #ECEDF5; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--violet) 60%, var(--magenta)); }
.eyebrow { font: 700 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--violet-d); }
.stat { padding: 18px 20px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat span { font-size: .84rem; color: var(--ink-2); }
.minis .stat { padding: 4px 0; } .minis .stat b { font-size: 1.5rem; }
.empty { text-align: center; padding: 48px 20px; color: var(--ink-2); }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: sp .8s linear infinite; vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }
.loading { padding: 60px; text-align: center; color: var(--ink-3); }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.t th { text-align: left; font: 600 .74rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 11px 12px; border-bottom: 1px solid var(--line); background: var(--bg-alt); white-space: nowrap; position: sticky; top: 0; }
table.t th.sortable { cursor: pointer; } table.t th.sortable:hover { color: var(--violet-d); }
table.t td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; } table.t tr.click:hover td { background: #FBFAFF; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.mini-bar { display: inline-block; width: 70px; height: 6px; border-radius: 9px; background: #ECEDF5; vertical-align: middle; margin-right: 8px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--violet); }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 18px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2.5px solid transparent; padding: 10px 14px; font: 600 .92rem var(--sans); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--violet-d); border-bottom-color: var(--violet-d); }

/* dialogs and toasts */
dialog.modal { border: 0; border-radius: 16px; padding: 0; width: min(560px, 94vw); box-shadow: var(--shadow-lg); }
dialog.modal.wide { width: min(900px, 96vw); }
dialog.modal::backdrop { background: rgba(26,26,46,.45); }
dialog.modal .mh { padding: 20px 24px 0; } dialog.modal .mb { padding: 8px 24px 4px; max-height: 70vh; overflow: auto; } dialog.modal .mf { padding: 16px 24px 22px; display: flex; gap: 10px; justify-content: flex-end; }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 200; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-size: .9rem; box-shadow: var(--shadow-lg); transition: opacity .4s; max-width: 90vw; }
.toast.err { background: var(--bad); } .toast.ok { background: var(--ok); } .toast.out { opacity: 0; }

/* sign-in */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { background: linear-gradient(160deg, #FDF0FF 0%, var(--violet-l) 40%, #E8F8FF 100%); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art h1 { font-size: 2.3rem; max-width: 460px; margin-top: 18vh; }
.auth-art p { max-width: 440px; color: var(--ink-2); font-size: 1.04rem; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-form form { width: 100%; max-width: 380px; }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--violet-l); color: var(--violet-dd); font-size: .9rem; margin-bottom: 14px; }
.notice.warn { background: var(--warn-l); color: var(--warn); }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-3); font-size: .82rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* learner home */
.course-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.course-card h2 { margin-bottom: 2px; }
.course-card .bar { margin: 12px 0 6px; max-width: 520px; }

/* player */
.player { display: grid; grid-template-columns: 300px minmax(0,1fr); min-height: calc(100vh - 57px); }
.outline { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px 40px; overflow-y: auto; position: sticky; top: 57px; height: calc(100vh - 57px); }
.outline .study { padding: 0 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.outline .study b { display: block; font-size: .95rem; }
.outline .bar { margin-top: 10px; }
.ocomp { margin: 4px 0; }
.ocomp > button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: flex-start; background: none; border: 0; padding: 9px 8px; border-radius: 8px; cursor: pointer; font: 600 .88rem/1.35 var(--sans); color: var(--ink); }
.ocomp > button:hover { background: var(--bg-alt); }
.ocomp.open > button { background: var(--violet-l); color: var(--violet-dd); }
.ocomp .n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-2); border: 1.5px solid var(--line-2); }
.ocomp.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.ocomp.bookend:not(.done) .n { background: #E6F7F5; border-color: #99E0D6; color: #0F766E; font-size: .62rem; }
.oscenes { list-style: none; margin: 2px 0 8px 18px; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.oscenes button { width: 100%; text-align: left; background: none; border: 0; padding: 6px 8px; border-radius: 6px; cursor: pointer; font: 500 .83rem/1.35 var(--sans); color: var(--ink-2); display: flex; gap: 8px; }
.oscenes button:hover { background: var(--bg-alt); }
.oscenes button.on { color: var(--violet-dd); font-weight: 700; }
.oscenes button:disabled { color: var(--ink-3); cursor: not-allowed; }
.oscenes .ic { flex: none; width: 16px; text-align: center; }
.oscenes .done .ic { color: var(--ok); }
.stage { padding: 28px clamp(16px, 4vw, 56px) 80px; max-width: 980px; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 6px; }
.scene-h { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.scene-h h1 { font-size: 1.5rem; margin: 0; }
.videobox { position: relative; background: #0E0F18; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow-lg); }
.videobox video { width: 100%; height: 100%; display: block; background: #000; }
.transcript { margin-top: 14px; } .transcript summary { cursor: pointer; color: var(--violet-d); font-weight: 600; font-size: .9rem; }
.transcript div { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 8px; color: var(--ink-2); font-size: .93rem; }
.scene-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 22px; flex-wrap: wrap; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 14px; }
.q .stem { font-size: 1.06rem; font-weight: 600; margin-bottom: 14px; }
.opts { display: grid; gap: 9px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; font: 400 .97rem/1.45 var(--sans); color: var(--ink); }
.opt:hover:not(:disabled) { border-color: var(--violet); }
.opt .dot { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.opt.sel { border-color: var(--violet-d); background: #FBF9FF; } .opt.sel .dot { border-color: var(--violet-d); } .opt.sel .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--violet-d); }
.opt.right { border-color: var(--ok); background: var(--ok-l); } .opt.right .dot { border-color: var(--ok); background: var(--ok); }
.opt.wrong { border-color: var(--bad); background: var(--bad-l); } .opt.wrong .dot { border-color: var(--bad); }
.opt:disabled { cursor: default; }
.fb { margin-top: 14px; padding: 13px 15px; border-radius: 10px; font-size: .93rem; }
.fb.ok { background: var(--ok-l); color: #065F46; } .fb.no { background: var(--bad-l); color: #991B1B; } .fb.meh { background: var(--warn-l); color: #92400E; }
.fb b { display: block; margin-bottom: 3px; }
.fb .ref { font-size: .82rem; opacity: .8; margin-top: 4px; }
.situation { background: linear-gradient(135deg, #F5F3FF, #EEF9FF); border: 1px solid #E3DCFB; border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; font-size: 1rem; }
.situation .eyebrow { margin-bottom: 6px; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; }
.order-list li.right { border-color: var(--ok); background: var(--ok-l); } .order-list li.wrong { border-color: var(--bad); background: var(--bad-l); }
.order-list .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--violet-l); color: var(--violet-dd); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.order-list .txt { flex: 1; }
.order-list .mv { display: flex; gap: 4px; }
.order-list .mv button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 14px; }
.order-list .mv button:disabled { opacity: .35; cursor: default; }
.keypoints { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; font-size: 1rem; }
.keypoints ul { margin: 0; padding-left: 1.2em; } .keypoints li { margin: 6px 0; }
.sign-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; max-width: 640px; }
.sign-box .meaning { background: var(--bg-alt); border-left: 3px solid var(--violet); padding: 12px 14px; border-radius: 6px; margin: 14px 0; font-size: .95rem; }
.cert-done { text-align: center; padding: 40px 24px; }
.cert-done .seal { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta)); color: #fff; font-size: 34px; }
.mobile-outline { display: none; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; } .auth-art { display: none; }
  .player { grid-template-columns: minmax(0, 1fr); }
  .stage { padding: 20px 16px 60px; }
  .outline { display: none; position: fixed; inset: 57px 0 0 0; z-index: 40; height: auto; }
  .outline.show { display: block; }
  .mobile-outline { display: inline-flex; }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .course-card { grid-template-columns: 1fr; }
  .toplinks a { padding: 7px 8px; }
  .logo em { display: none; }
}
@media (max-width: 560px) { .btn { white-space: normal; height: auto; min-height: 42px; padding-top: 10px; padding-bottom: 10px; text-align: center; } .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } .wrap { padding: 20px 16px 60px; } .usermenu summary { max-width: 120px; } }

/* on-screen text over videos */
.videobox .callouts { position: absolute; left: 0; right: 0; top: 7%; display: flex; justify-content: flex-end; padding: 0 4%; pointer-events: none; }
.videobox .callout { max-width: 46%; background: rgba(255,255,255,.96); color: var(--ink, #1A1A2E); border-left: 5px solid var(--violet, #8B5CF6); border-radius: 10px; padding: 12px 16px; font-weight: 700; font-size: clamp(.85rem, 1.6vw, 1.25rem); line-height: 1.3; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: callin .35s ease-out; }
@keyframes callin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .videobox .callout { animation: none; } }

/* sort into groups */
.sort-list { display: grid; gap: 8px; }
.sort-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; }
.sort-item.right { border-color: var(--ok); background: var(--ok-l); } .sort-item.wrong { border-color: var(--bad); background: var(--bad-l); }
.sort-item .txt { flex: 1 1 220px; }
.sort-groups { display: flex; gap: 6px; flex-wrap: wrap; }
.sg { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 .82rem/1.2 inherit; cursor: pointer; color: var(--ink-2, #555770); }
.sg.on { border-color: var(--violet, #8B5CF6); background: var(--violet-l, #F3EEFF); color: var(--violet-dd, #5B21B6); }
.sg:disabled { cursor: default; opacity: .85; }

/* Dashboard → Competencies: expandable competency rows */
table.comps tr.comp-row { cursor: pointer; } table.comps tr.comp-row:hover td { background: var(--bg-alt); }
table.comps .caret { display: inline-block; width: 18px; color: var(--ink-3); }
table.comps tr.q-row td { background: #FBFBFE; font-size: .92rem; } table.comps tr.q-row td:first-child { padding-left: 42px; color: var(--ink-2, #3c3c52); }

/* Learner sidebar → Documents */
.odocs { margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.odocs summary { cursor: pointer; padding: 6px 8px; font-weight: 600; font-size: .9rem; border-radius: 8px; list-style: none; }
.odocs summary::-webkit-details-marker { display: none; }
.odocs summary:hover { background: var(--bg-alt); }
.odocs ul { list-style: none; margin: 4px 0 0; padding: 0; }
.odocs button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left; background: none; border: 0; padding: 6px 8px 6px 30px; border-radius: 8px; font: inherit; font-size: .86rem; color: var(--violet-d, #7C3AED); cursor: pointer; }
.odocs button:hover { background: var(--bg-alt); text-decoration: underline; }
.odocs button span:first-child { overflow-wrap: anywhere; word-break: break-word; }

/* Learner → live training room: Zoom on the left, knowledge checks on the right */
.liveroom { display: grid; grid-template-columns: minmax(0, 1fr) 400px; min-height: calc(100vh - 57px); }
.lv-main { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lv-head { display: flex; align-items: flex-start; gap: 12px; }
.lv-zoom { flex: 1; min-height: 360px; background: #12121c; border-radius: 14px; overflow: hidden; display: flex; align-items: stretch; justify-content: center; }
.lv-zoomroot { width: 100%; min-height: 360px; }
.lv-placeholder { margin: auto; max-width: 460px; text-align: center; padding: 30px 24px; color: #fff; }
.lv-placeholder h2 { color: #fff; margin: 0 0 8px; } .lv-placeholder .muted { color: #C9CAD9; } .lv-placeholder .tiny { color: #9a9bb0; }
.lv-placeholder.test { border: 1px dashed #4a4a66; border-radius: 12px; }
.lv-side { background: #fff; border-left: 1px solid var(--line); padding: 20px 18px 40px; overflow-y: auto; max-height: calc(100vh - 57px); position: sticky; top: 57px; }
.lv-list { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 4px; }
.lv-item { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }
.lv-item b { display: block; font-size: .9rem; font-weight: 600; } .lv-item .tiny { display: block; }
.lv-item .ic { width: 20px; flex: none; color: var(--ink-3); text-align: center; }
.lv-item.on { border-color: var(--violet); background: var(--violet-l); } .lv-item.done .ic { color: var(--ok); }
.lv-scene { border-top: 1px solid var(--line); margin-top: 10px; }
.lv-scene .opts .opt { font-size: .92rem; }
@media (max-width: 960px) {
  .liveroom { grid-template-columns: 1fr; }
  .lv-side { position: static; max-height: none; border-left: 0; border-top: 1px solid var(--line); }
  .lv-zoom, .lv-zoomroot { min-height: 240px; }
}
