/* Shared components for the round-2 concepts. Every color, radius and font comes from the concept's tokens. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 14.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .88em; }
.muted { color: var(--muted); }
.r { text-align: right; }
svg { display: block; }

/* Prompt */
.prompt { position: relative; display: flex; align-items: center; gap: 10px; background: var(--prompt-bg, var(--surface)); border: 1px solid var(--prompt-line, var(--line)); border-radius: var(--prompt-radius, 14px); padding: 0 8px 0 14px; min-width: 0; }
.prompt:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.prompt .p-ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
.prompt input { flex: 1; min-width: 0; border: 0; outline: none; background: none; padding: 12px 0; font-size: 15px; color: var(--ink); }
.prompt input::placeholder { color: var(--faint); }
.prompt .p-kbd { font: 500 11px var(--mono); color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; flex: none; }
.prompt .p-go { flex: none; border: 0; background: var(--accent); color: var(--accent-ink); border-radius: calc(var(--prompt-radius, 14px) - 4px); height: 34px; padding: 0 12px; cursor: pointer; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.pmenu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg, 0 16px 40px rgba(0,0,0,.18)); z-index: 50; padding: 6px; max-height: 70vh; overflow-y: auto; }
.pmenu.up { top: auto; bottom: calc(100% + 8px); }
/* Feedback ticket: Previous / Next */
.fb-nav { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.fb-nav svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.fb-nav .flip svg { transform: scaleX(-1); margin: 0 0 0 4px; }
/* Download menu (export.js): opens under the Download button */
.dlmenu { position: fixed; z-index: 60; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg, 0 16px 40px rgba(0,0,0,.18)); padding: 6px; }
.dlmenu button { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 9px; padding: 8px 10px; cursor: pointer; color: var(--ink); font: inherit; }
.dlmenu button:hover, .dlmenu button:focus-visible { background: var(--accent-soft); outline: none; }
.dlmenu b { display: block; font-weight: 600; font-size: 13.5px; }
.dlmenu small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.pmenu-h { padding: 8px 10px 4px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.pitem { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.pitem[aria-selected="true"] { background: var(--accent-soft); }
.pi-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); flex: none; }
.pi-ic svg { width: 15px; height: 15px; }
.pi-ic.ai { background: var(--accent-soft); color: var(--accent); }
.pi-ic.bell { color: var(--upd); }
.pi-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-k { font-size: 12px; color: var(--faint); white-space: nowrap; }
.pmenu-f { display: flex; gap: 14px; padding: 8px 10px 4px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 11.5px; color: var(--faint); flex-wrap: wrap; }
.trychips { display: flex; flex-wrap: wrap; gap: 8px; }
.trychip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-size: 13.5px; color: var(--ink); }
.trychip:hover { border-color: var(--accent); }
.trychip .pi-ic { width: 24px; height: 24px; border-radius: 999px; }

/* Screen heading */
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.eyebrow { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.s-title { font: var(--title-weight, 700) clamp(22px, 2.4vw, 30px)/1.2 var(--display); letter-spacing: -.02em; margin: 6px 0 0; text-wrap: balance; max-width: 40ch; }
.s-sub { color: var(--muted); margin: 6px 0 0; max-width: 64ch; }
.s-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 13px; }
.s-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; flex-wrap: wrap; }
.sec-h h2, .card h3 { font: 600 15px var(--font); margin: 0; }
.card h3 { margin-bottom: 10px; }

/* Basics */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow, none); }
.card.flush { padding: 0; overflow: hidden; }
.card + .card, section + section { margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--faint); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: none; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn.sm { padding: 5px 10px; font-size: 12.5px; }
.btn.wide { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.chip.new { background: var(--new-soft); color: var(--new); }
.chip.upd { background: var(--upd-soft); color: var(--upd); }
.chip.ok { background: var(--new-soft); color: var(--new); }
.chip.warn { background: var(--upd-soft); color: var(--upd); }
.chip.muted { background: var(--surface-2); color: var(--muted); font-weight: 500; }
.chip.ai { background: var(--accent-soft); color: var(--accent); }
.new-t { color: var(--new); } .upd-t { color: var(--upd); }
.seg { display: inline-flex; background: var(--surface-2); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 4px 10px; border-radius: calc(var(--radius-sm) - 2px); cursor: pointer; font-size: 12.5px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 10px 12px; cursor: pointer; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; color: var(--muted); text-align: center; margin-top: 16px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.card.flush { overflow-x: auto; }
.tbl th { text-align: left; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl b { font-weight: 600; }
.tbl-f { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.toggle { width: 34px; height: 20px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle[aria-pressed="true"] { background: var(--accent); }
.toggle[aria-pressed="true"]::after { transform: translateX(14px); }
.person { display: inline-flex; align-items: center; gap: 10px; }
.person i { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 11px var(--font); font-style: normal; }

/* KPIs and payor bars */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { font: 700 28px/1.15 var(--display); letter-spacing: -.02em; }
.kpi b em { font-style: normal; font-size: 15px; color: var(--faint); font-weight: 500; }
.kpi small { font-size: 12px; color: var(--faint); }
.pbars { display: flex; flex-direction: column; }
.pbar { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 40px; gap: 14px; align-items: center; padding: 8px 4px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--ink); }
.pbar:first-child { border-top: 0; }
.pbar:hover { background: var(--surface-2); }
.pb-n { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-t { height: 8px; border-radius: 4px; background: var(--surface-2); display: flex; overflow: hidden; }
.pb-t i.new { background: var(--new); } .pb-t i.upd { background: var(--upd); }
.pb-c { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.new, .legend i.add { background: var(--new); } .legend i.upd, .legend i.del { background: var(--upd); }

/* Documents */
.doclist { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.docrow { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.docrow:first-child { border-top: 0; }
.docrow:hover { background: var(--surface-2); }
.dr-t { font-weight: 600; line-height: 1.35; }
.dr-m { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 12.5px; color: var(--muted); }

/* Results */
.results-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.results-main > section + section { margin-top: 22px; }
.results-main.busy { opacity: .55; pointer-events: none; transition: opacity .15s; }
.results-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: var(--sticky-top, 90px); }
.results-side .card + .card { margin-top: 0; }
.results-side p { margin: 0 0 10px; font-size: 13.5px; }
.facet { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.facet-l { width: 100%; font-size: 12px; color: var(--faint); }
.fchip { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; cursor: pointer; color: var(--muted); }
.fchip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.answer { background: var(--answer-bg, var(--surface)); border: 1px solid var(--answer-line, var(--line)); border-radius: var(--radius); padding: 18px 20px; }
.answer-h { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.answer-b { font-size: 16px; line-height: 1.65; max-width: 72ch; }
.answer-b b { font-weight: 650; }
.cite { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font: 600 11px var(--mono); text-decoration: none; margin-left: 3px; vertical-align: 2px; }
.answer-src { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 14px; }
.src { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 10px; text-decoration: none; color: var(--ink); font-size: 13px; line-height: 1.35; background: var(--surface); }
.src:hover { border-color: var(--accent); }
.src small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.src-n { font: 600 11px var(--mono); color: var(--accent); background: var(--accent-soft); border-radius: 5px; height: 18px; min-width: 18px; display: grid; place-items: center; flex: none; }
.answer-f { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.codecard { display: flex; gap: 16px; align-items: flex-start; }
.codecard p { margin: 4px 0 0; }
.codebadge { font: 600 18px var(--mono); background: var(--accent-soft); color: var(--accent); border-radius: var(--radius-sm); padding: 8px 12px; }
.codebadge.sm { font-size: 12.5px; padding: 2px 8px; }
.codes { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* Document */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.facts div { background: var(--surface); padding: 12px 14px; }
.facts span { display: block; font-size: 12px; color: var(--faint); }
.facts b { font-weight: 600; }
.reader { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.reader-h { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 14px; }
.skel { display: flex; flex-direction: column; gap: 10px; }
.skel i { display: block; height: 9px; border-radius: 4px; background: var(--surface-2); }
.skel i.add { background: var(--new-soft); box-shadow: inset 3px 0 0 var(--new); }
.skel i.del { background: var(--upd-soft); box-shadow: inset 3px 0 0 var(--upd); }
.vgrid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.vgrid .card + .card { margin-top: 0; }
.vrow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; }
.vrow:first-of-type { border-top: 0; }
.vrow input { accent-color: var(--accent); margin-top: 4px; }
.vrow small { display: block; color: var(--muted); font-size: 12px; }
.cmp-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cmp-h h3 { margin: 0; }
.verdict { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; margin-bottom: 14px; }
.redline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rl-col { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.rl-h { font: 500 12px var(--mono); color: var(--muted); margin-bottom: 12px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; align-items: end; }
.form.row { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.form .row-btns { grid-column: 1 / -1; margin-top: 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.field > span:first-child { color: var(--muted); font-weight: 500; }
.field input, .field select { border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius-sm); padding: 9px 11px; outline: none; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.card.draft { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); margin-bottom: 16px; }
.inline-search { display: flex; gap: 8px; margin-bottom: 14px; }
.inline-search input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: 9px 12px; outline: none; }

/* Sign in */
.signin { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 0; }
.signin-card { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg, none); }
.signin-card h1 { font: 700 24px var(--display); margin: 8px 0 0; letter-spacing: -.02em; }
.signin-card p { margin: 0; }
.signin-brand { font: 600 18px var(--display); letter-spacing: -.01em; }
.signin-brand b { color: var(--accent); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input { text-align: center; font: 600 20px var(--mono); border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius-sm); padding: 10px 0; width: 100%; min-width: 0; }
.signin-f { font-size: 12.5px; }

@media (max-width: 900px) {
  .results-grid, .vgrid, .redline { grid-template-columns: 1fr; }
  .results-side { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis.three { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 520px) {
  .kpis.three { grid-template-columns: 1fr; }
  .pbar { grid-template-columns: minmax(90px, 120px) minmax(0, 1fr) 32px; }
}
@media (prefers-reduced-motion: reduce) { .toggle::after { transition: none; } }

/* Ask (P7): conversations on the left, the thread and the question box on the right */
.ask-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.ask-list h3 { margin: 0 0 10px; }
.ask-chat { display: flex; align-items: center; gap: 4px; border-radius: var(--radius-sm); }
.ask-chat a { flex: 1; min-width: 0; display: block; padding: 8px 10px; color: inherit; text-decoration: none; border-radius: var(--radius-sm); }
.ask-chat a b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-chat a small { color: var(--muted); }
.ask-chat a:hover { background: var(--surface-2); }
.ask-chat.on a { background: var(--accent-soft); }
.ask-chat-a { display: flex; }
.ask-main { display: flex; flex-direction: column; min-height: 60vh; }
.ask-thread { flex: 1; overflow-y: auto; max-height: 62vh; padding-right: 4px; }
.ask-q { margin: 14px 0 8px auto; max-width: 85%; width: fit-content; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 10px 12px; }
.ask-q small { display: block; color: var(--muted); margin-top: 2px; }
.ask-a { margin: 0 0 14px; padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
.ask-a p { margin: 6px 0; }
.ask-a ul { margin: 6px 0; padding-left: 22px; }
.ask-a.streaming .ask-md::after { content: "\25CF"; color: var(--accent); margin-left: 4px; animation: askblink 1s infinite; }
@keyframes askblink { 50% { opacity: .2; } }
.ask-src { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-top: 8px; font-size: 13px; }
.ask-rate { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.ask-rate .btn.on { background: var(--accent-soft); color: var(--accent); }
.ask-f { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.ask-f textarea { width: 100%; resize: vertical; min-height: 56px; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.ask-f-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.ask-f-row .grow { flex: 1; }
.ask-f-row .btn[hidden] { display: none; }
@media (max-width: 900px) { .ask-grid { grid-template-columns: 1fr; } .ask-thread { max-height: none; } }
/* Comparing versions (2027.009): the AI's explanation and every changed word */
.vrow .v-why { display: block; margin-top: 3px; color: var(--ink); font-size: 12.5px; line-height: 1.4; }
.cmp-ai { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 12px; }
.cmp-ai h3, .cmp-out h3 { font-size: 14px; margin: 4px 0 6px; }
.cmp-ai ul { margin: 6px 0 2px; padding-left: 20px; }
.cmp-out .chg { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.cmp-out .ctx { color: var(--muted); }
.cmp-out del { background: #fde2e1; color: #8a1c14; }
.cmp-out ins { background: #dcf5e3; color: #14532d; text-decoration: none; }
/* Visual comparison: both original PDFs side by side with the changed words highlighted on the pages */
.vc-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(12, 18, 34, .55); display: flex; }
.vc { background: var(--surface); margin: 12px; border-radius: var(--radius); flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.vc-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.vc-bar .grow { flex: 1; }
.vc-title { max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-status, .vc-count { color: var(--muted); font-size: 13px; }
.vc-cols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.vc-col { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.vc-h { padding: 6px 12px; font-size: 13px; font-weight: 600; background: var(--surface-2); }
.vc-key { font-weight: 500; font-size: 11px; padding: 1px 6px; border-radius: 6px; margin-left: 6px; }
.vc-key.del { background: rgba(220, 38, 38, .2); }
.vc-key.ins { background: rgba(22, 163, 74, .22); }
.vc-pages { flex: 1; overflow: auto; padding: 12px; background: #e9ecf2; }
.vc-page { position: relative; margin: 0 auto 12px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.vc-page canvas { display: block; }
.vc-mark { position: absolute; border-radius: 2px; mix-blend-mode: multiply; pointer-events: none; }
.vc-mark.del { background: rgba(220, 38, 38, .32); }
.vc-mark.ins { background: rgba(22, 163, 74, .34); }
.vc-mark.on { outline: 2px solid #f59e0b; outline-offset: 1px; }
@media (max-width: 900px) { .vc-cols { grid-template-columns: 1fr; } }