/* Forecast grid + line item page */
.page-inner.wide { max-width: none; }

/* summary strip */
.fstrip { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.fstrip .kp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; min-width: 150px; }
.fstrip .kp .v { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.fstrip .kp .v.neg { color: var(--red); } .fstrip .kp .v.pos { color: var(--green); }
.fstrip .kp.ev { min-width: 320px; }
.evbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; background: var(--sunken); margin-top: 10px; }
.evbar span { min-width: 2px; }
.evbar.evbar-lg { height: 10px; border-radius: 5px; }
.evbar.evbar-sm { height: 6px; margin-top: 0; }
.evleg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 11.5px; color: var(--ink-2); }
.evleg span { display: inline-flex; align-items: center; gap: 5px; }
.evleg b { font-weight: 600; color: var(--ink); }
.evleg .dash { width: 12px; border-top: 1.5px dashed var(--ink); display: inline-block; }

/* grid */
.fwrap { overflow: auto; max-height: calc(100vh - 250px); scrollbar-width: thin; }
.fgrid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1180px; font-size: 13px; }
.fgrid.two { min-width: 760px; }
.fgrid th, .fgrid td { border-bottom: 1px solid var(--line); white-space: nowrap; }
.fgrid thead th { position: sticky; top: 0; z-index: 3; background: var(--surface); font-weight: 500; font-size: 11.5px; color: var(--muted); height: 38px; padding: 0 10px; text-align: right; }
.fgrid thead tr.phase th { top: 38px; height: 22px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--line); }
.fgrid thead .ph-a { text-align: left; color: var(--faint); background: var(--surface-2); }
.fgrid thead .ph-f { text-align: left; color: var(--brand-2); }
.fgrid thead th.mh.act { color: var(--faint); background: var(--surface-2); }
.fgrid thead th.mh.now { color: var(--brand); font-weight: 600; position: sticky; }
.fgrid thead th.mh .today { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin: 2px 0 0 auto; }
.fgrid thead th.tot { color: var(--ink); font-weight: 600; }
.fgrid th.name { position: sticky; left: 0; z-index: 2; background: var(--surface); text-align: left; font-weight: 400; width: 280px; min-width: 280px; max-width: 280px; padding: 0; border-right: 1px solid var(--line); }
.fgrid thead th.name { z-index: 4; }
.fgrid thead th.corner { padding: 0 14px; display: table-cell; }
.fgrid thead th.corner span { color: var(--muted); }
.fgrid thead th.corner .unit { float: right; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }

.fgrid td.c { padding: 0 10px; height: 34px; min-width: 66px; text-align: right; color: var(--ink); position: relative; }
.fgrid td.c.act { color: var(--muted); background: var(--surface-2); }
.fgrid td.c.now { box-shadow: inset 1px 0 0 var(--brand-tint-2); }
.fgrid td.c.tot { font-weight: 600; border-left: 1px solid var(--line); background: var(--surface); }
.fgrid td.c.ed { cursor: cell; }
.fgrid td.c.ph { background-image: linear-gradient(var(--ev-placeholder), var(--ev-placeholder)); background-size: calc(100% - 20px) 2px; background-position: right 10px bottom 6px; background-repeat: no-repeat; }
.fgrid td.c.sel { box-shadow: inset 0 0 0 2px var(--brand-2) !important; background-color: var(--brand-tint) !important; z-index: 1; }
.fgrid td.c.conf { width: 64px; border-left: 1px solid var(--line); }
.fgrid td.c.neg { color: var(--red); }
.fgrid td.chg.big { font-weight: 600; }
.vdot { position: absolute; top: 7px; right: 3px; width: 5px; height: 5px; border-radius: 50%; }
.vdot.bad { background: var(--red); } .vdot.good { background: var(--green); }
.flegend .vdot { position: static; display: inline-block; }

.cf { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cf.hi { background: var(--green-tint); color: var(--green); }
.cf.mid { background: var(--amber-tint); color: var(--amber); }
.cf.lo { background: var(--red-tint); color: var(--red); }

.cell-input { width: 100%; min-width: 64px; height: 26px; border: 0; outline: none; background: transparent; text-align: right; font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); }

/* name column */
.fgrid .nm { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; position: relative; }
.fgrid th.d1 .nm { padding-left: 38px; }
.fgrid th.d2 .nm { padding-left: 58px; }
.fgrid .nm .lbl { flex: 1; min-width: 0; }
.fgrid tr.grp th.name .lbl { font-weight: 600; }
.fgrid tr.grp td.c { font-weight: 500; }
.fgrid .chev { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: var(--muted); transition: transform .15s; flex: none; }
.fgrid .chev:hover { background: var(--sunken); color: var(--ink); }
.fgrid .chev.open { transform: rotate(90deg); }
.fgrid .tierbar { width: 3px; height: 16px; border-radius: 2px; flex: none; margin: 0 7px 0 8px; }
.fgrid th.d0 .tierbar { margin-left: 8px; }
.fgrid .rs { color: var(--amber); display: inline-flex; }
.fgrid .row-tools { display: none; gap: 2px; }
.fgrid .row-tools button { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.fgrid .row-tools button:hover { background: var(--sunken); color: var(--ink); }
.fgrid tr.ln:hover .row-tools { display: inline-flex; }
.fgrid tr.ln:hover td.c:not(.sel):not(.act), .fgrid tr.ln:hover th.name { background-color: #FBFBF9; }
.rename-input { flex: 1; min-width: 0; height: 26px; border: 1px solid var(--brand-2); border-radius: 6px; padding: 0 8px; outline: none; box-shadow: 0 0 0 3px rgba(30,112,72,.12); }

.fgrid tr.fsec-head th.name, .fgrid tr.fsec-head td { background: var(--surface-2); height: 36px; font-weight: 600; }
.fgrid tr.fsec-head th.name span { padding: 0 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fgrid tr.fsec-head td.c { color: var(--ink-2); }
.fgrid tr.add-row th, .fgrid tr.add-row td { border-bottom: 1px solid var(--line); height: 32px; background: var(--surface); }
.fgrid .addln { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 30px; color: var(--muted); font-size: 12.5px; }
.fgrid .addln:hover { color: var(--brand-2); }
.fgrid tbody.net th.name, .fgrid tbody.net td { background: var(--surface-2); font-weight: 600; height: 38px; }
.fgrid tbody.net th.name span { padding: 0 14px; }
.fgrid tbody.net tr.cum th.name, .fgrid tbody.net tr.cum td { font-weight: 400; color: var(--muted); height: 32px; }
.fgrid tbody.net tr:last-child th, .fgrid tbody.net tr:last-child td { border-bottom: 0; }
.fgrid tr.ref-flash th.name, .fgrid tr.ref-flash td { animation: flash 1.8s ease-out; }

.flegend { display: flex; gap: 16px; align-items: center; margin-top: 10px; padding: 0 4px; flex-wrap: wrap; }
.flegend span { display: inline-flex; align-items: center; gap: 6px; }
.flegend .fl-sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.flegend .fl-sw.act { background: var(--surface-2); border: 1px solid var(--line-2); }
.flegend .fl-sw.ph { border-bottom: 2px solid var(--ev-placeholder); border-radius: 0; height: 6px; }
.flegend .kb { margin-left: auto; }

/* ---------- line page ---------- */
.lp-head { padding: 22px 24px 20px; margin-bottom: 16px; }
.lp-title { font-size: 26px; letter-spacing: -0.025em; cursor: text; margin-top: 6px; }
.lp-title-input { font: 600 26px var(--font); letter-spacing: -0.025em; border: 0; border-bottom: 2px solid var(--brand-2); outline: none; padding: 2px 0; margin-top: 6px; width: min(640px, 100%); background: transparent; }
.lp-figs .fig { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); min-width: 110px; cursor: pointer; }
.lp-figs .fig.on { border-color: var(--brand-2); background: var(--brand-tint); }
.lp-figs .fig .v { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.lp-ev { margin-top: 18px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 1280px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-svg .ax { font-size: 12.5px; fill: var(--muted); font-family: var(--font); font-variant-numeric: tabular-nums; }
.lp-svg .ax.now { fill: var(--brand); font-weight: 600; }
.lp-svg .bar { cursor: pointer; }
.lp-svg .bar:hover rect:not([fill="transparent"]) { opacity: .85; }
.lp-svg .bar.ref-hover, .lp-svg .bar.ref-tagged { box-shadow: none !important; background: none !important; }
.lp-svg .bar.ref-hover rect[fill="transparent"], .lp-svg .bar.ref-tagged rect[fill="transparent"] { fill: rgba(30, 112, 72, .07); }

.comps { padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.comp-group { display: flex; flex-direction: column; gap: 8px; }
.comp-group .eyebrow { margin-bottom: 2px; }
.comp { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.comp-title { font-weight: 500; font-size: 14px; }
.comp-amt { font-weight: 600; font-size: 15px; }
.comp .contact { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink-2); }
.docchip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--sunken); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.docchip:hover { background: var(--brand-tint); color: var(--brand); }
.remainder { display: flex; align-items: center; gap: 14px; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 16px; }
.remainder.placeholder { border-color: #E8C98E; background: #FFFBF2; }
.rfp { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rfp-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rfp-table .table th { background: var(--surface-2); }
.rfp-table tr.win td { background: var(--green-tint); }
.rfp-table td:first-child { min-width: 170px; }
.rfp-table td:nth-child(4) { min-width: 260px; white-space: normal; }
.rfp-table td.r { white-space: nowrap; }
.callout { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; margin-top: 10px; font-size: 13px; }
.callout.good { background: var(--green-tint); color: var(--green); }
.callout.good b { color: var(--ink); }
.rfp .next { margin-top: 12px; }
.rfp .next .label { margin-bottom: 4px; }

.clickrow { cursor: pointer; }
.lp-side h3 { font-size: 13.5px; }
.side-item + .side-item { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.notes { display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow: auto; }
.note { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.note:last-child { border-bottom: 0; }
.note-tag { margin-left: auto; padding: 1px 8px; border: 1px solid transparent; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.note-tag:hover { border-color: var(--brand); color: var(--brand); }
.note-add { margin-top: 10px; }
.note-add .textarea { min-height: 56px; font-size: 13px; }
.side-doc { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 8px; color: var(--ink-2); }
.side-doc:hover { background: var(--sunken); }
.side-tx { padding: 5px 0; border-bottom: 1px solid var(--line); gap: 8px; }
.side-tx:last-child { border-bottom: 0; }
.act-item { padding: 6px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.act-item:last-child { border-bottom: 0; }
.addc .gap8 { gap: 8px; }

/* copy the current month forward: a quiet "extend" pill hanging off the edited cell's lower right, so the
   later months it would overwrite stay visible.
   Outlined and grey (not a filled brand button) so it doesn't read as "confirm". */
.fgrid td.c.has-fill { z-index: 3; }
.fill-fwd { position: absolute; left: calc(100% - 10px); top: calc(100% - 2px); display: inline-flex; height: 27px; border: 1px dashed var(--line-2); border-radius: 6px; background: var(--surface); box-shadow: 0 1px 2px rgba(16, 24, 20, .06); overflow: hidden; white-space: nowrap; animation: fillIn .16s ease-out; }
.fill-fwd button { display: inline-flex; align-items: center; gap: 3px; height: 100%; padding: 0 6px; border: 0; background: transparent; color: var(--muted); font: 500 11px var(--sans, inherit); cursor: pointer; }
.fill-fwd button + button { border-left: 1px dashed var(--line-2); }
.fill-fwd button:hover { color: var(--brand); background: var(--brand-tint); }
.fill-fwd .ff-ar { display: inline-flex; }
.fill-fwd .ff-ar.dbl .ico + .ico { margin-left: -6px; }
@keyframes fillIn { from { opacity: 0; transform: translateY(-3px); } }

/* floating undo / redo */
.undo-float { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); z-index: 60; display: flex; align-items: center; gap: 4px; max-width: min(720px, calc(100vw - 32px)); padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.undo-float.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.undo-float .uf-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; color: rgba(255, 255, 255, .86); }
.undo-float .uf-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #fff; font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.undo-float .uf-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.undo-float .uf-btn:disabled { opacity: .4; cursor: default; }
.undo-float .uf-n { font-size: 11px; padding: 0 5px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.undo-float .uf-x { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .6); display: grid; place-items: center; cursor: pointer; }
.undo-float .uf-x:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* design pass, Nov 16: one summary strip, plain actuals, tinted months you can edit */
.fstrip.card { display: flex; align-items: center; gap: 28px; padding: 14px 20px; margin-bottom: 16px; flex-wrap: wrap; }
.fstrip.card .kp { background: none; border: 0; padding: 0; min-width: 0; border-radius: 0; }
.fstrip.card .kp .v { font-size: 19px; letter-spacing: -0.02em; }
.fstrip.card .kp.ev { min-width: 260px; display: flex; flex-direction: column; gap: 8px; padding-left: 8px; }
.fstrip.card .evbar { margin-top: 0; }
.fgrid td.c.act { background: none; color: var(--ink-2); }
.fgrid thead th.mh.act { background: var(--surface); color: var(--muted); }
.fgrid td.c.fc { background: #F5F9F6; }
.fgrid tr.ln:hover td.c.fc:not(.sel) { background-color: #EEF5F0; }
.fgrid thead tr.phase th { text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 500; }
.fgrid thead .ph-a { background: var(--surface); color: var(--muted); }
.fgrid thead .ph-a span, .fgrid thead .ph-f span { display: block; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; margin-right: 8px; }
.fgrid thead .ph-f span { border-color: var(--edge-lit); color: var(--brand-2); }

/* line page, design pass Nov 16 */
.lp-titlerow { align-items: center; }
.lp-titlerow .cf { height: 22px; }
.lp-ask { opacity: 0; transition: opacity .15s; color: var(--brand-2); }
.lp-head:hover .lp-ask, .lp-ask:focus-visible { opacity: 1; }
.lp-fyseg { align-self: flex-start; padding: 3px; border-radius: 10px; }
.lp-fyseg button { height: auto; padding: 5px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.lp-fyseg button .num { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.lp-ev { max-width: 560px; }
.lp-ev .evleg .ev-placeholder { color: #8A5A0E; }
.rl-amt { font-weight: 500; flex: none; min-width: 72px; text-align: right; }
.remainder-row .sq, .rl-row .sq { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.lp-mi { align-items: flex-start; }
.lp-mi > span { display: flex; flex-direction: column; }
.lp-mi b { font-weight: 500; }
.lp-tabs { overflow: hidden; }
.lp-tabs .tabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid #EFEEE9; }
.lp-tabs .tabs button { font-size: 13px; font-weight: 500; color: var(--muted); padding: 12px 0 10px; border-bottom: 2px solid transparent; }
.lp-tabs .tabs button.on { color: var(--ink); border-bottom-color: var(--brand); }
.lp-tabbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.note-add.first textarea { border-style: dashed; border-width: 1.5px; min-height: 76px; }
.fwrap { max-height: calc(100vh - 196px); }

/* Ask about the selection (chat resting as a strip) */
.fgrid td.sel { position: relative; }
.ask-sel {
  position: absolute; top: -9px; right: -9px; z-index: 4; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--brand-2); background: #fff; color: var(--brand-2); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 24, 20, .15); padding: 0; transition: background .12s, color .12s;
}
.ask-sel:hover { background: var(--brand-2); color: #fff; }
/* while the chat is open over the table, leave room to scroll the selection out from under it */
.app.dock-overlay .fgrid { margin-right: min(400px, 92vw); }

/* ---------- Round 5 · adopted year (agent F) ---------- */
/* projection: months at the line's current pace, and a month whose actuals are still coming in */
.fgrid td.c .pace { text-decoration: underline dotted var(--brand-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fgrid td.c .coming { color: var(--muted); font-style: italic; }
.fgrid thead .ph-c span { border-bottom-style: dashed; color: var(--faint); }
/* a line behind adopted */
.fgrid .bdot { width: 6px; height: 6px; border-radius: 50%; background: #A8301F; flex: none; }
/* the quiet "vs adopted" button at the right of the totals card */
.vsa-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font: inherit; font-size: 12.5px; color: var(--ink); white-space: nowrap; cursor: pointer; flex: none; }
.vsa-btn:hover { background: var(--surface-2); border-color: #C9C8C1; }
.vsa-btn .vsa-cap { color: var(--ink-2); font-size: 12px; }
.vsa-btn b { font-weight: 600; } .vsa-btn b.pos { color: var(--brand-2); } .vsa-btn b.neg { color: #A8301F; }
.vsa-btn .vsa-dv { width: 1px; height: 14px; background: var(--line-2); }
.vsa-btn .vsa-behind { color: #A8301F; font-weight: 500; }
.vsa-btn .vsa-none { color: var(--muted); }
.vsa-btn .ico { color: var(--muted); }
/* the + beside a single year */
.yr-plus { position: relative; display: inline-flex; }
.yr-plus .seg .plus { padding: 0 8px; color: var(--brand-2); }
.yr-plus .seg .plus:hover { background: var(--brand-tint); }
.yr-plus .yr-tip { position: absolute; right: 0; top: 38px; width: 220px; background: var(--ink); color: #E9F2EC; border-radius: 10px; padding: 9px 12px; font-size: 12px; line-height: 1.45; z-index: 30; box-shadow: 0 8px 24px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .12s; }
.yr-plus .yr-tip b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.yr-plus .yr-tip::before { content: ''; position: absolute; right: 12px; top: -5px; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.yr-plus:has(.plus:hover) .yr-tip, .yr-plus:has(.plus:focus-visible) .yr-tip { opacity: 1; }
/* Finish setting up slot (setupbar.js) */
.fsetup [data-setupbar]:not(:empty) { margin-bottom: 12px; }
/* vs Adopted view */
.vsa { overflow: hidden; }
.vsa-top { display: flex; gap: 40px; padding: 16px 20px 14px; align-items: flex-start; flex-wrap: wrap; }
.vsa-head { width: 330px; flex: none; }
.vsa-head h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; display: flex; align-items: center; gap: 6px; }
.vsa-head p { font-size: 13px; margin-top: 4px; color: var(--ink-2); line-height: 1.45; }
.vsa-rec { flex: 1; min-width: 420px; max-width: 820px; display: flex; flex-direction: column; font-size: 13px; }
.vsa-rr { display: grid; grid-template-columns: 200px 96px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 5px 0; }
.vsa-rr .num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.vsa-rr .g { color: var(--brand-2); } .vsa-rr .r { color: #A8301F; } .vsa-rr .nt { color: #4A4F54; }
.vsa-rr.tot span:first-child { font-weight: 600; }
.vsa-rr.end { border-top: 1.5px solid var(--ink); margin-top: 3px; padding-top: 7px; }
.vsa-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 92px 92px 92px 130px minmax(0, 2fr) 250px; align-items: stretch; font-size: 13px; }
.vsa-row > div { padding: 9px 12px 9px 0; border-top: 1px solid #F0EFEA; min-height: 20px; display: flex; align-items: center; }
.vsa-row .l { padding-left: 16px; font-weight: 500; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
.vsa-row .r { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.vsa-row .d { font-weight: 600; } .vsa-row .d.r { color: #A8301F; } .vsa-row .d.g { color: var(--brand-2); } .vsa-row .d.nt { color: #4A4F54; }
.vsa-row .w { color: var(--ink-2); font-size: 12.5px; line-height: 1.4; flex-direction: column; align-items: flex-start; justify-content: center; }
.vsa-row:hover > div { background: var(--surface-2); }
.vsa-row.vsa-h > div { font-size: 11.5px; color: var(--muted); font-weight: 500; border-top: 0; padding-top: 4px; background: none; }
.vsa-nm { cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsa-nm:hover { color: var(--brand-2); }
.vsa-grp { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.vsa-exp { display: block; margin-top: 2px; color: var(--brand-2); font-size: 12px; }
.vsa-acts { gap: 6px; justify-content: flex-start; }
.vsa-row:not(.show) .vsa-acts button { opacity: 0; transition: opacity .12s; }
.vsa-row:hover .vsa-acts button, .vsa-row:focus-within .vsa-acts button { opacity: 1; }
@media (hover: none) { .vsa-row .vsa-acts button { opacity: 1; } }
.vsa .tb2 { height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; cursor: pointer; }
.vsa .tb2:hover { background: var(--surface-2); }
.vsa .tb2.p { background: var(--brand); border-color: var(--brand); color: #fff; }
.vsa .tb2.p:hover { background: var(--brand-ink); }
.vsa .tb2:disabled { opacity: .5; cursor: default; }
.vsa-db { position: relative; width: 110px; height: 10px; }
.vsa-db::before { content: ''; position: absolute; left: 55px; top: -3px; bottom: -3px; border-left: 1px solid #C9C8C2; }
.vsa-db i { position: absolute; top: 0; height: 10px; border-radius: 2px; }
.vsa-db i.up { background: #7DBF8E; } .vsa-db i.dn { background: #D9826F; }
.vsa-db i.tm { background: repeating-linear-gradient(135deg, #E9F2EC 0 3px, #9CCDA8 3px 5px); }
.vsa-sec { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px 6px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #4A4F54; text-align: left; background: none; }
.vsa-sec .sub { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: 12px; }
.vsa-tk { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; background: #FBEAE6; color: #A8301F; text-transform: none; letter-spacing: 0; }
button.vsa-more { cursor: pointer; padding-bottom: 10px; }
button.vsa-more .ico { transition: transform .15s; flex: none; }
button.vsa-more.open .ico { transform: rotate(90deg); }
button.vsa-more:hover { background: var(--surface-2); }
.vsa-row.ref-flash > div { animation: flash 1.8s ease-out; }
