/* ============================================================
   Magixis — dashboard v2 (the workspace, redesigned)
   One persistent app frame, three views, one CTA.
   Inherits every token from styles.css.
   ============================================================ */

.dv2 { --acc: #16352A; --pencil: #6F6957; --brass: #A87B2D; --clay: #BF4E30; --pad: clamp(15px, 1.5vw, 19px); --gap: clamp(10px, 1vw, 14px); }
.dv2[data-density="compact"] { --pad: 12px; --gap: 8px; }
.dv2 .dv2-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- hero ---------- */
.dv2-hero { padding-bottom: clamp(20px, 2.4vw, 30px); }
.dv2-crumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink-400); margin-bottom: 24px; }
.dv2-crumb a { color: var(--ink-500); }
.dv2-crumb a:hover { color: var(--ink-900); }
.dv2-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(20px, 3vw, 52px); }
.dv2-hero__main { max-width: 60ch; }
.dv2-hero__main h1 { max-width: 19ch; margin-bottom: 0; }
.dv2-note { flex: none; display: flex; align-items: flex-start; gap: 9px; max-width: 27ch; margin: 0 0 6px; padding-left: clamp(14px, 1.4vw, 20px); border-left: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--ink-400); }
.dv2-note i { flex: none; width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: var(--acc); }
.dv2-note b { display: block; color: var(--ink-700); font-weight: 500; }

/* one call → four things */
.dv2-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: clamp(24px, 3vw, 34px); padding-top: 18px; border-top: 1px solid var(--line-soft); }
.dv2-chain__i { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.01em; color: var(--ink-500); }
.dv2-chain__i b { color: var(--ink-900); font-weight: 500; }
.dv2-chain__i i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); font-style: normal; }
.dv2-chain__i:first-child i { border-radius: 2px; }
.dv2-chain__i + .dv2-chain__i::before { content: "\2192"; color: var(--ink-300); margin-right: 4px; }

/* ---------- section head above the app ---------- */
.dv2-shead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(18px, 3vw, 48px); margin-bottom: clamp(18px, 2vw, 26px); }
.dv2-shead p { margin: 8px 0 0; color: var(--ink-500); max-width: 58ch; font-size: var(--fs-16); }
.dv2-legend { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); margin-bottom: 4px; }
.dv2-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dv2-legend i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.dv2-legend .l-meas { background: var(--acc); }
.dv2-legend .l-est { background: var(--pencil); opacity: 0.55; }

/* ---------- app frame ---------- */
.dv2-app { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-000); box-shadow: var(--sh-3); overflow: hidden; }
.dv2-chrome { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 14px; background: var(--paper-000); border-bottom: 1px solid var(--line-soft); }
.dv2-dots { display: flex; gap: 6px; flex: none; }
.dv2-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-300); display: block; }
.dv2-brand { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-900); font-weight: 500; letter-spacing: 0.01em; flex: none; }
.dv2-acct { display: flex; align-items: baseline; gap: 9px; min-width: 0; padding-left: 14px; border-left: 1px solid var(--line-soft); }
.dv2-acct__n { font-size: var(--fs-14); font-weight: 500; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv2-acct__m { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); white-space: nowrap; }
.dv2-chrome__r { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.dv2-period { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--r-full); font-family: var(--font-mono); font-size: 11px; color: var(--ink-700); background: var(--paper-000); }
.dv2-period svg { width: 9px; height: 9px; color: var(--ink-400); }
.dv2-demo { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; color: var(--ink-400); padding: 4px 9px; border: 1px dashed var(--line); border-radius: var(--r-full); white-space: nowrap; }

/* live-call button */
.dv2-play { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-full); background: var(--acc); color: #FBFAF6; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.dv2-play:hover { background: color-mix(in srgb, var(--acc) 84%, #000); transform: translateY(-1px); }
.dv2-play:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-play svg { width: 11px; height: 11px; flex: none; }
.dv2-play[data-state="on"] { background: var(--paper-100); color: var(--ink-700); box-shadow: inset 0 0 0 1px var(--line); }
.dv2-play[data-state="live"] { background: var(--paper-000); color: var(--ink-700); box-shadow: inset 0 0 0 1px var(--line); }
.dv2-play[data-state="live"]:hover { background: var(--paper-100); transform: none; }
.dv2-play .livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none; }
.dv2[data-calldemo="off"] .dv2-play { display: none; }

/* ---------- shell: rail + stage ---------- */
.dv2-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); align-items: stretch; }
.dv2-rail { display: flex; flex-direction: column; gap: 3px; padding: 12px 10px; background: var(--paper-100); border-right: 1px solid var(--line-soft); }
.dv2-rail__k { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-300); padding: 4px 10px 8px; }
.dv2-nav { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 10px; border-radius: 8px; text-align: left; color: var(--ink-500); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.dv2-nav:hover { background: var(--paper-200); color: var(--ink-900); }
.dv2-nav:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-nav svg { width: 15px; height: 15px; flex: none; opacity: 0.75; }
.dv2-nav__t { font-size: var(--fs-14); font-weight: 500; }
.dv2-nav__s { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); margin-top: 1px; }
.dv2-nav.is-on { background: var(--paper-000); color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgba(20,19,15,0.03); }
.dv2-nav.is-on svg { color: var(--acc); opacity: 1; }
.dv2-nav__b { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; color: #FBFAF6; background: var(--acc); border-radius: var(--r-full); padding: 2px 6px; flex: none; }
.dv2-nav__b[hidden] { display: none; }
.dv2-rail__foot { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; }
.dv2-who { display: flex; align-items: center; gap: 9px; }
.dv2-who__av { width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #FBFAF6; font-family: var(--font-mono); font-size: 10.5px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dv2-who__n { display: block; font-size: 12px; color: var(--ink-700); line-height: 1.2; }
.dv2-who__r { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-400); margin-top: 2px; }
.dv2-rail__note { margin: 0; font-family: var(--font-mono); font-size: 9.5px; line-height: 1.55; color: var(--ink-400); }

/* tab-bar variant (and mobile) */
.dv2-tabbar { display: none; gap: 0; border-bottom: 1px solid var(--line-soft); background: var(--paper-000); }
.dv2-tab { flex: 1; min-height: 46px; padding: 11px 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border-left: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.dv2-tab:first-child { border-left: 0; }
.dv2-tab:hover { background: var(--paper-100); color: var(--ink-900); }
.dv2-tab:focus-visible { outline: none; box-shadow: var(--focus); z-index: 1; }
.dv2-tab.is-on { color: var(--ink-900); background: color-mix(in srgb, var(--acc) 6%, transparent); box-shadow: inset 0 -2px 0 var(--acc); }
.dv2-tab__b { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; color: #FBFAF6; background: var(--acc); border-radius: var(--r-full); padding: 2px 6px; }
.dv2-tab__b[hidden] { display: none; }
.dv2[data-switcher="tabs"] .dv2-rail { display: none; }
.dv2[data-switcher="tabs"] .dv2-shell { grid-template-columns: minmax(0, 1fr); }
.dv2[data-switcher="tabs"] .dv2-tabbar { display: flex; }

/* ---------- stage ---------- */
.dv2-stage { position: relative; background: var(--paper-100); padding: var(--gap); min-height: 520px; }
.dv2-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }

.dv2-p { background: var(--paper-000); border: 1px solid var(--line); border-radius: 10px; padding: var(--pad); display: flex; flex-direction: column; min-width: 0; }
.dv2-p__h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dv2-p__t { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); }
.dv2-p__t b { color: var(--ink-700); font-weight: 500; text-transform: none; letter-spacing: 0.01em; }
.dv2-p__x { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-400); white-space: nowrap; }
.dv2-p__x--acc::before, .dv2-p__x--brass::before { content: ""; }
.dv2-p__x--acc { color: var(--acc); }
.dv2-p__x--acc::before { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.dv2-p__x--brass { color: #7C5A15; }
.dv2-p__x--brass::before { width: 5px; height: 5px; border-radius: 50%; background: #B08A2E; }
.dv2-p__f { margin: auto 0 0; padding-top: 12px; font-size: 11.5px; line-height: 1.5; color: var(--ink-400); }
.dv2-p__f b { color: var(--ink-700); font-weight: 500; }

/* number inks */
.meas { color: var(--acc); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -0.01em; }
.est { color: var(--pencil); font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------- overview ---------- */
.dv2-stat { gap: 9px; }
.dv2-stat__k { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); }
.dv2-stat__v { font-family: var(--font-mono); font-size: clamp(1.5rem, 2.1vw, 1.75rem); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1; }
.dv2-stat__v.est { color: var(--pencil); }
.dv2-stat__d { font-size: 12px; color: var(--ink-500); line-height: 1.4; }
.dv2-spark { display: flex; align-items: flex-end; gap: 2px; height: 20px; margin-top: 2px; }
.dv2-spark i { flex: 1; min-width: 0; border-radius: 1.5px; background: color-mix(in srgb, var(--acc) 26%, var(--paper-200)); }
.dv2-spark.brass i { background: color-mix(in srgb, var(--brass) 42%, var(--paper-200)); }

.dv2-money__lab { font-size: var(--fs-13); color: var(--ink-500); }
.dv2-money__big { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(2.4rem, 4.4vw, 3.3rem); line-height: 0.95; letter-spacing: -0.035em; color: var(--acc); margin: 5px 0 6px; }
.dv2-money__big .u { font-family: var(--font-sans); font-size: 0.28em; font-weight: 500; color: var(--ink-400); letter-spacing: 0; margin-left: 10px; }
.dv2-money__sub { font-size: var(--fs-14); color: var(--ink-500); line-height: 1.5; margin: 0; max-width: 46ch; }
.dv2-money__sub .n { color: var(--ink-700); }
.dv2-money__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dv2-trend { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: var(--fs-13); font-weight: 600; padding: 3px 9px; border-radius: var(--r-full); color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); }
.dv2-trend svg { width: 8px; height: 8px; }
.dv2-trend__s { display: block; text-align: right; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); margin-top: 5px; }

.dv2-real { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 16px; padding: 13px 0 0; border-top: 1px solid var(--line-soft); }
.dv2-real__l { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); display: block; }
.dv2-real__f { font-family: var(--font-mono); font-size: var(--fs-20); color: var(--acc); font-weight: 500; font-variant-numeric: tabular-nums; }
.dv2-bar { height: 7px; border-radius: var(--r-full); background: var(--paper-200); overflow: hidden; }
.dv2-bar i { display: block; height: 100%; border-radius: var(--r-full); background: var(--acc); transform: scaleX(var(--v, 1)); transform-origin: left; }
.dv2-real__c { margin-top: 7px; font-size: 11.5px; color: var(--ink-400); }
.dv2-real__c b { color: var(--ink-700); font-weight: 500; font-family: var(--font-mono); }

.dv2-chart { margin-top: 16px; }
.dv2-chart svg { display: block; width: 100%; height: auto; }
.dv2-chart__x { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-300); }

/* action list ("do this next") */
.dv2-acts { display: flex; flex-direction: column; }
.dv2-act { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 12px 0; border-top: 1px dashed var(--line); text-align: left; width: 100%; transition: background var(--t-fast) var(--ease); }
.dv2-act:first-of-type { border-top: 0; padding-top: 2px; }
.dv2-act i { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: 5px; font-style: normal; }
.dv2-act__1 { font-size: var(--fs-13); color: var(--ink-900); font-weight: 500; line-height: 1.35; display: block; }
.dv2-act__2 { font-size: 11.5px; color: var(--ink-500); line-height: 1.45; display: block; margin-top: 2px; }
.dv2-act__f { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--pencil); white-space: nowrap; padding-top: 1px; }
.dv2-act__go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--acc); border-bottom: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); padding-bottom: 1px; }

/* activity feed */
.dv2-feed { display: flex; flex-direction: column; }
.dv2-fr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px dashed var(--line); }
.dv2-fr:first-child { border-top: 0; padding-top: 2px; }
.dv2-fr__t { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); padding-top: 2px; }
.dv2-fr__w { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.dv2-fr__n { font-size: var(--fs-14); color: var(--ink-900); font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.02em; }
.dv2-fr__s { font-size: 12px; color: var(--ink-500); display: block; margin-top: 3px; }
.dv2-fr__a { font-family: var(--font-mono); font-size: var(--fs-14); color: var(--pencil); white-space: nowrap; padding-top: 1px; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink-400); white-space: nowrap; }
.tag--on { background: var(--acc); border-color: var(--acc); color: #FBFAF6; }
.tag--ah { background: #F5EAD0; border-color: #E0CC97; color: #7C5A15; }
.tag--out { border-style: dashed; }

/* today panel */
.dv2-today { display: flex; flex-direction: column; gap: 7px; }
.dv2-slot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 11px; background: var(--paper-050); border: 1px solid var(--line-soft); border-left: 2px solid var(--acc); border-radius: 6px; }
.dv2-slot__j { font-size: var(--fs-13); color: var(--ink-900); }
.dv2-slot__j span { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); }
.dv2-slot__w { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- contacts ---------- */
.dv2-life { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.dv2-life__c { display: flex; flex-direction: column; gap: 2px; }
.dv2-life__n { font-family: var(--font-mono); font-size: var(--fs-24); font-weight: 500; color: var(--ink-900); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dv2-life__k { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.dv2-life__seg { display: flex; gap: 3px; height: 10px; }
.dv2-life__seg i { border-radius: 3px; }
.dv2-life__leg { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 20px; margin-top: 12px; }
.dv2-leg { display: flex; align-items: start; gap: 7px; font-size: 12px; line-height: 1.4; color: var(--ink-500); min-width: 0; }
.dv2-leg i { margin-top: 5px; }
.dv2-leg i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.dv2-leg b { color: var(--ink-900); font-weight: 500; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.dv2-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-050); color: var(--ink-400); font-family: var(--font-mono); font-size: 11.5px; margin-bottom: 10px; }
.dv2-search svg { width: 12px; height: 12px; flex: none; }
.dv2-search kbd { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--ink-300); }
.dv2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.dv2-chip { min-height: 28px; padding: 0 11px; border-radius: var(--r-full); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); background: var(--paper-000); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.dv2-chip:hover { background: var(--paper-100); color: var(--ink-900); }
.dv2-chip:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-chip.is-on { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper-050); }

.dv2-list { display: flex; flex-direction: column; }
.dv2-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 11px 10px; margin: 0 -10px; border-top: 1px dashed var(--line); border-radius: 8px; text-align: left; transition: background var(--t-fast) var(--ease); }
.dv2-row:first-child { border-top: 0; }
.dv2-row:hover { background: var(--paper-100); }
.dv2-row:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-row.is-on { background: color-mix(in srgb, var(--acc) 7%, transparent); box-shadow: inset 2px 0 0 var(--acc); }
.dv2-av { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; flex: none; background: var(--paper-200); color: var(--ink-500); }
.dv2-av--acc { background: color-mix(in srgb, var(--acc) 13%, var(--paper-000)); color: var(--acc); }
.dv2-av--brass { background: color-mix(in srgb, var(--brass) 16%, var(--paper-000)); color: #7C5A15; }
.dv2-row__i { font-size: var(--fs-14); color: var(--ink-900); font-weight: 500; line-height: 1.3; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv2-row__m { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); display: block; margin-top: 3px; }
.dv2-row__m b { color: var(--ink-700); font-weight: 500; }
.dv2-row__r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.dv2-stage-tag { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-full); white-space: nowrap; border: 1px solid var(--line); color: var(--ink-500); background: var(--paper-050); }
.dv2-stage-tag--new { color: var(--acc); background: color-mix(in srgb, var(--acc) 9%, var(--paper-000)); border-color: color-mix(in srgb, var(--acc) 26%, var(--line)); }
.dv2-stage-tag--fu { color: #7C5A15; background: #F5EAD0; border-color: #E0CC97; }
.dv2-stage-tag--lapsed { color: var(--ink-400); background: var(--paper-100); }
.dv2-stage-tag--booked { color: #FBFAF6; background: var(--acc); border-color: var(--acc); }
.dv2-row__v { font-family: var(--font-mono); font-size: 12px; color: var(--pencil); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* contact detail */
.dv2-det__top { display: flex; align-items: center; gap: 12px; }
.dv2-det__n { font-family: var(--font-mono); font-size: var(--fs-16); color: var(--ink-900); font-weight: 500; letter-spacing: 0.02em; }
.dv2-det__s { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); margin-top: 3px; display: block; }
.dv2-det__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; margin: 14px 0; }
.dv2-fact { background: var(--paper-000); padding: 10px 12px; }
.dv2-fact__k { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.dv2-fact__v { font-family: var(--font-mono); font-size: var(--fs-14); color: var(--ink-900); margin-top: 4px; font-variant-numeric: tabular-nums; }
.dv2-fact__v.est { color: var(--pencil); }
.dv2-tl { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.dv2-tl__i { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 11px; padding-bottom: 13px; position: relative; }
.dv2-tl__i::before { content: ""; position: absolute; left: 6.5px; top: 14px; bottom: 0; width: 1px; background: var(--line); }
.dv2-tl__i:last-child { padding-bottom: 0; }
.dv2-tl__i:last-child::before { display: none; }
.dv2-tl__d { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--acc); background: var(--paper-000); margin-top: 4px; margin-left: 2px; }
.dv2-tl__i--soft .dv2-tl__d { border-color: var(--paper-400); }
.dv2-tl__w { font-size: var(--fs-13); color: var(--ink-900); line-height: 1.4; }
.dv2-tl__m { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); display: block; margin-top: 2px; }
.dv2-det__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.dv2-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: 8px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line); background: var(--paper-000); color: var(--ink-700); transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.dv2-btn:hover { background: var(--paper-100); border-color: var(--paper-400); }
.dv2-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-btn--p { background: var(--acc); border-color: var(--acc); color: #FBFAF6; }
.dv2-btn--p:hover { background: color-mix(in srgb, var(--acc) 84%, #000); border-color: color-mix(in srgb, var(--acc) 84%, #000); }
.dv2-btn svg { width: 13px; height: 13px; flex: none; }
.dv2-lock { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); margin-top: 12px; }
.dv2-lock svg { width: 11px; height: 11px; flex: none; }

/* opportunities */
.dv2-opp { display: flex; flex-direction: column; }

/* ---------- bookings ---------- */
.dv2-week { display: flex; gap: 6px; }
.dv2-day { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--paper-000); transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.dv2-day:hover { background: var(--paper-100); }
.dv2-day:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-day__d { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.dv2-day__n { font-family: var(--font-mono); font-size: var(--fs-16); color: var(--ink-900); font-variant-numeric: tabular-nums; }
.dv2-day__c { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-300); }
.dv2-day.is-on { background: var(--acc); border-color: var(--acc); }
.dv2-day.is-on .dv2-day__d, .dv2-day.is-on .dv2-day__n { color: #FBFAF6; }
.dv2-day.is-on .dv2-day__c { color: rgba(251,250,246,0.7); }
.dv2-day__t { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--acc); }
.dv2-day.is-on .dv2-day__t { color: rgba(251,250,246,0.85); }

.dv2-sched { display: flex; flex-direction: column; }
.dv2-sl { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--line); }
.dv2-sl:first-child { border-top: 0; padding-top: 2px; }
.dv2-sl.is-past { opacity: 0.55; }
.dv2-sl__t { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dv2-sl__j { font-size: var(--fs-13); color: var(--ink-900); font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv2-sl__w { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dv2-live { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-full); white-space: nowrap; border: 1px solid var(--line); color: var(--ink-500); background: var(--paper-050); display: inline-flex; align-items: center; gap: 5px; }
.dv2-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.dv2-live--now { color: #FBFAF6; background: var(--acc); border-color: var(--acc); }
.dv2-live--wait { color: #7C5A15; background: #F5EAD0; border-color: #E0CC97; }
.dv2-live--up { color: var(--ink-400); border-style: dashed; }
.dv2-live--done { color: var(--ink-400); }
.dv2-live--miss { color: var(--clay); border-color: color-mix(in srgb, var(--clay) 30%, var(--line)); background: color-mix(in srgb, var(--clay) 6%, var(--paper-000)); }
.dv2-eod { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); }
.dv2-eod b { color: var(--ink-900); font-weight: 500; }
.dv2-eod .bad { color: var(--clay); }

.dv2-risk { display: flex; flex-direction: column; }
.dv2-rr { display: grid; grid-template-columns: minmax(0, 1fr) 76px auto; gap: 13px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--line); }
.dv2-rr:first-of-type { border-top: 0; padding-top: 2px; }
.dv2-rr__j { font-size: var(--fs-13); color: var(--ink-900); font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv2-rr__m { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); }
.dv2-rr__n { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; display: block; margin-bottom: 4px; }
.hi { color: var(--clay); } .mid { color: #A87B2D; } .low { color: var(--acc); }
.dv2-rr__b { height: 5px; border-radius: var(--r-full); background: var(--paper-200); overflow: hidden; }
.dv2-rr__b i { display: block; height: 100%; border-radius: var(--r-full); background: currentColor; transform: scaleX(var(--v, 1)); transform-origin: left; }
.dv2-prot { font-family: var(--font-mono); font-size: 9px; font-weight: 600; padding: 4px 9px; border-radius: var(--r-full); border: 1px solid var(--line); color: var(--ink-500); background: var(--paper-050); white-space: nowrap; }
.dv2-prot--dep { color: var(--acc); border-color: color-mix(in srgb, var(--acc) 28%, var(--line)); background: color-mix(in srgb, var(--acc) 7%, var(--paper-000)); }
.dv2-prot--rem { color: #7C5A15; border-color: #E0CC97; border-style: dashed; }

.dv2-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dv2-cap__big { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 0.96; letter-spacing: -0.03em; color: var(--acc); }
.dv2-cap__c { margin-top: 7px; font-size: 12px; color: var(--ink-500); line-height: 1.45; max-width: 30ch; }
.dv2-cap__c .n { color: var(--ink-700); font-family: var(--font-mono); }
.dv2-cap__idle { text-align: right; flex: none; }
.dv2-cap__idle b { font-family: var(--font-mono); font-size: var(--fs-20); font-weight: 500; color: var(--pencil); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; display: block; }
.dv2-cap__idle span { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-400); }
.dv2-util { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.dv2-u { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.dv2-u__n { font-size: 12px; color: var(--ink-700); display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.dv2-u__p { font-family: var(--font-mono); font-size: 11px; color: var(--ink-700); font-variant-numeric: tabular-nums; }
.dv2-rec { display: flex; align-items: flex-start; gap: 12px; margin-top: 15px; padding: 12px 13px; border: 1px dashed var(--paper-400); border-radius: 8px; background: var(--paper-050); }
.dv2-rec__k { font-family: var(--font-mono); font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #7C5A15; flex: none; margin-top: 3px; }
.dv2-rec__t { font-size: var(--fs-13); color: var(--ink-900); font-weight: 500; display: block; }
.dv2-rec__d { font-size: 11.5px; color: var(--ink-500); line-height: 1.45; display: block; margin-top: 3px; }
.dv2-rec__f { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--pencil); white-space: nowrap; flex: none; margin-top: 1px; }

/* ---------- live call card ---------- */
.dv2-call { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: min(434px, calc(100% - 28px)); display: flex; flex-direction: column; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); background: var(--paper-000); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 56px rgba(20,19,15,0.28), 0 3px 10px rgba(20,19,15,0.1); padding: 13px 14px 14px; }
.dv2-call [hidden] { display: none !important; }
.dv2-call[hidden] { display: none !important; }
.dv2-call.is-out { opacity: 0; transform: translateY(10px); transition: opacity 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53), transform 190ms cubic-bezier(0.55, 0.09, 0.68, 0.53); }
.dv2[data-calldemo="off"] .dv2-call { display: none; }
.dv2-call__top { display: flex; align-items: center; gap: 10px; }
.dv2-call__phase { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); white-space: nowrap; }
.dv2-call__phase .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); flex: none; }
.dv2-call__phase[data-mode="live"] { color: var(--clay); }
.dv2-call__phase[data-mode="done"] { color: var(--ink-700); }
.dv2-call__phase[data-mode="done"] .pulse { background: var(--acc); animation: none; }
.dv2-call__wave { display: inline-flex; align-items: center; gap: 2.5px; height: 13px; flex: none; }
.dv2-call__wave i { width: 2.5px; border-radius: 2px; background: var(--clay); transform: scaleY(0.16); transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.dv2-call__wave i:nth-child(1), .dv2-call__wave i:nth-child(5) { height: 6px; }
.dv2-call__wave i:nth-child(2), .dv2-call__wave i:nth-child(4) { height: 10px; }
.dv2-call__wave i:nth-child(3) { height: 13px; }
.dv2-call__clock { font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums; color: var(--ink-500); }
.dv2-call__skip { margin-left: auto; flex: none; border: 0; background: none; padding: 6px 4px; min-height: 26px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); border-bottom: 1px dashed var(--line); border-radius: 0; cursor: pointer; transition: color var(--t-fast) var(--ease); }
.dv2-call__skip:hover { color: var(--ink-900); }
.dv2-call__skip:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-call__id { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.dv2-call__av { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--paper-100); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-400); display: inline-flex; align-items: center; justify-content: center; }
.dv2-call__av svg { width: 15px; height: 15px; }
.dv2-call__who { min-width: 0; }
.dv2-call__who b { display: block; font-size: var(--fs-14); font-weight: 500; color: var(--ink-900); line-height: 1.25; }
.dv2-call__who span { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv2-call__state { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 10px; color: var(--ink-500); border: 1px solid var(--line); border-radius: var(--r-full); padding: 3px 9px; white-space: nowrap; }
.dv2-call__state.is-ok { color: var(--acc); border-color: color-mix(in srgb, var(--acc) 30%, var(--line)); background: color-mix(in srgb, var(--acc) 6%, transparent); }
.dv2-call__ctx { margin: 9px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-400); }
.dv2-call:has(.dv2-call__commit:not([hidden])) .dv2-call__ctx { display: none; }
.dv2-call__tr { display: flex; flex-direction: column; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line-soft); flex: 1 1 auto; min-height: 40px; max-height: 158px; overflow-y: auto; scrollbar-width: none; }
.dv2-call__tr::-webkit-scrollbar { display: none; }
.dv2-call__ln { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 9px; align-items: baseline; }
.dv2-call__who-tag { font-family: var(--font-mono); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-300); text-align: right; }
.dv2-call__ln--a .dv2-call__who-tag { color: var(--acc); }
.dv2-call__txt { font-size: 12.5px; line-height: 1.45; color: var(--ink-500); }
.dv2-call__ln--a .dv2-call__txt { color: var(--ink-900); }
.dv2-call__ln.is-typing { align-items: center; }
.dv2-call__ln.is-typing .dv2-call__txt { display: flex; align-items: center; min-height: 1.45em; }
.dv2-call__ln .say { display: block; flex: none; height: 2px; border-radius: 2px; background: var(--ink-300); transform-origin: left center; }
.dv2-call__ln--a .say { background: color-mix(in srgb, var(--acc) 55%, transparent); }
.dv2-call__chips { margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line); }
.dv2-call__chips-k { display: block; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-300); margin-bottom: 7px; }
.dv2-call__chips-r { display: flex; flex-wrap: wrap; gap: 6px; }
.dv2-call__chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-700); border: 1px solid color-mix(in srgb, var(--acc) 30%, var(--line)); background: color-mix(in srgb, var(--acc) 5%, transparent); border-radius: var(--r-full); padding: 3.5px 9px; }
.dv2-call__chip svg { width: 9px; height: 9px; color: var(--acc); flex: none; }
.dv2-call__chip b { font-weight: 600; color: var(--acc); }
.dv2-call__chip.est-chip { color: var(--pencil); border-style: dashed; border-color: color-mix(in srgb, var(--pencil) 40%, var(--line)); background: transparent; }
.dv2-call__chip.est-chip b, .dv2-call__chip.est-chip svg { color: var(--pencil); }
.dv2-call__commit { display: flex; flex-direction: column; gap: 6px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.dv2-call__ck { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-700); }
.dv2-call__ck i { width: 15px; height: 15px; flex: none; border-radius: 50%; background: var(--acc); color: #FBFAF6; display: inline-flex; align-items: center; justify-content: center; }
.dv2-call__ck i svg { width: 8px; height: 8px; }
.dv2-call__ck i svg path { stroke-dasharray: 10; stroke-dashoffset: 0; }
.dv2-call__hint { margin-top: 4px; font-family: var(--font-mono); font-size: 10px; line-height: 1.6; color: var(--ink-400); }
.dv2-call__hint b { color: #FBFAF6; background: var(--acc); border-radius: var(--r-full); padding: 1px 5px; font-weight: 600; font-size: 9px; }
.dv2-app .dv2-shell, .dv2-app .dv2-tabbar { transition: opacity 500ms var(--ease), filter 500ms var(--ease); }
.dv2-app.is-oncall .dv2-shell, .dv2-app.is-oncall .dv2-tabbar { opacity: 0.45; filter: saturate(0.55); }
.is-new-row { animation: dv2new 2400ms var(--ease) both; }
.bump { animation: dv2bump 1600ms var(--ease) both; }

@media (prefers-reduced-motion: no-preference) {
  .dv2-stage .dv2-p { animation: dv2rise 420ms var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
  /* Card: travels on one axis, no scale. Opacity resolves in 120ms, position keeps
     easing for 300ms, so it arrives rather than pops. Exit is faster than entry. */
  .dv2-call { animation: dv2callin 300ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .dv2-call.is-still { animation: none; }
  .dv2-call .no-anim, .dv2-call .no-anim *, .dv2-call.is-still * { animation: none !important; }
  /* One loop at a time, and it has to mean something. Ringing = the real UK cadence
     (400ms on, 200 off, 400 on, 2s pause). Once answered the dot holds steady. */
  .dv2-call__phase[data-mode="ring"] .pulse { animation: dv2ringing 3s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
  .dv2-play .livedot { animation: dv2ring 1.1s infinite; }
  /* Meter moves only while a voice is on the line; coprime periods so the five bars
     never fall into the sweeping wave pattern that gives a fake equaliser away. */
  .dv2-call__wave.is-voice i { animation: dv2wv 620ms ease-in-out infinite; }
  .dv2-call__wave.is-voice i:nth-child(1) { animation-duration: 690ms; }
  .dv2-call__wave.is-voice i:nth-child(2) { animation-duration: 470ms; }
  .dv2-call__wave.is-voice i:nth-child(3) { animation-duration: 890ms; }
  .dv2-call__wave.is-voice i:nth-child(4) { animation-duration: 550ms; }
  .dv2-call__wave.is-voice i:nth-child(5) { animation-duration: 750ms; }
  /* Transcript: attribution lands first, then the utterance. Nothing slides. */
  .dv2-call__ln .dv2-call__who-tag { animation: dv2fade 150ms linear both; }
  .dv2-call__ln.is-typing .dv2-call__txt { animation: dv2fade 180ms linear 60ms both; }
  .dv2-call__ln.is-typing .say { animation: dv2say 470ms linear both; }
  .dv2-call__ln.is-said .dv2-call__txt { animation: dv2land 240ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  /* Captured fields settle from neutral into confirmed instead of popping in. */
  .dv2-call__chip { animation: dv2chipset 360ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .dv2-call__ck { animation: dv2fade 200ms linear both; }
  .dv2-call__ck i svg path { animation: dv2draw 280ms cubic-bezier(0.65, 0, 0.35, 1) 90ms both; }
  .dv2-call__hint { animation: dv2fade 280ms linear 140ms both; }
  @keyframes dv2rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes dv2callin { 0% { opacity: 0; transform: translateY(14px); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
  @keyframes dv2ringing { 0%, 12% { opacity: 1; } 15%, 18% { opacity: 0.16; } 21%, 32% { opacity: 1; } 35%, 100% { opacity: 0.16; } }
  @keyframes dv2wv { 0%, 100% { transform: scaleY(0.16); } 50% { transform: scaleY(1); } }
  @keyframes dv2fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes dv2say { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes dv2land { from { opacity: 0; } to { opacity: 1; } }
  @keyframes dv2chipset { from { opacity: 0; color: var(--ink-300); border-color: var(--line); background-color: transparent; } }
  @keyframes dv2draw { from { stroke-dashoffset: 10; } }
  @keyframes dv2ring { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
  @keyframes dv2new { 0% { background: color-mix(in srgb, var(--acc) 14%, transparent); } 100% { background: transparent; } }
  @keyframes dv2bump { 0% { color: var(--acc); transform: translateY(-2px); } 100% { transform: none; } }
}

/* ---------- explainer strip + close ---------- */
.dv2-under { margin-top: clamp(22px, 2.6vw, 32px); }
.dv2-ex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.dv2-ex[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dv2-ex__i { display: flex; flex-direction: column; gap: 7px; padding-top: 14px; border-top: 1px solid var(--ink-900); }
.dv2-ex__n { font-family: var(--font-mono); font-size: 11px; color: var(--brass); letter-spacing: 0.04em; }
.dv2-ex__t { font-size: var(--fs-16); color: var(--ink-900); font-weight: 500; letter-spacing: -0.01em; margin: 2px 0 0; line-height: 1.3; }
.dv2-ex__d { font-size: var(--fs-13); color: var(--ink-500); line-height: 1.55; margin: 0; text-wrap: pretty; }
.dv2-ex__d b { color: var(--ink-700); font-weight: 500; }
.dv2-foot { margin-top: clamp(26px, 3vw, 38px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: end; padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line-soft); }
.dv2-trust { font-family: var(--font-mono); font-size: var(--fs-12); color: var(--ink-400); line-height: 1.7; max-width: 62ch; margin: 0; }
.dv2-trust a { color: var(--ink-700); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.dv2-trust a:hover { color: var(--ink-900); border-color: var(--paper-400); }
.dv2-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dv2-cta__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.dv2-cta__p { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 24px; background: var(--ink-900); color: var(--paper-050); border-radius: var(--r-4); font-size: var(--fs-16); font-weight: 500; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.dv2-cta__p:hover { background: var(--ink-700); transform: translateY(-1px); }
.dv2-cta__p:focus-visible { outline: none; box-shadow: var(--focus); }
.dv2-cta__p svg { width: 16px; height: 16px; flex: none; }
.dv2-cta__s { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--ink-500); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.dv2-cta__s:hover { color: var(--ink-900); border-color: var(--paper-400); }
.dv2-cta__m { font-size: var(--fs-13); color: var(--ink-400); margin: 0; }

@media (pointer: coarse) {
  .dv2-call__skip { min-height: 44px; padding-inline: 8px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .dv2-acct__m { display: none; }
}
@media (max-width: 1140px) {
  .dv2-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .dv2-demo { display: none; }
  .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; }
  .c3 { grid-column: span 6; }
  .dv2-money__sub, .dv2-cap__c { max-width: none; }
}
@media (max-width: 900px) {
  .dv2-hero__grid, .dv2-shead, .dv2-foot { grid-template-columns: 1fr; align-items: start; }
  .dv2-note { max-width: 52ch; margin: 0; padding-left: 13px; }
  .dv2-legend { margin-bottom: 0; }
  .dv2-rail { display: none; }
  .dv2-shell { grid-template-columns: minmax(0, 1fr); }
  .dv2-tabbar { display: flex; }
  .dv2-acct__m, .dv2-demo { display: none; }
  .dv2-stage { min-height: 0; }
  .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; }
  .c3 { grid-column: span 6; }
  .dv2-ex, .dv2-ex[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv2-cta { align-items: flex-start; }
  .dv2-cta__row { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .c3 { grid-column: span 12; }
  .dv2-chrome { height: 50px; gap: 10px; padding: 0 11px; }
  .dv2-acct { padding-left: 10px; }
  .dv2-tab { font-size: 11.5px; padding: 11px 6px; }
  .dv2-money__top { flex-direction: column; }
  .dv2-trend__s { text-align: left; }
  .dv2-real { grid-template-columns: 1fr; gap: 12px; }
  .dv2-life { grid-template-columns: 1fr; gap: 14px; }
  .dv2-det__facts { grid-template-columns: 1fr 1fr; }
  .dv2-week { flex-wrap: wrap; }
  .dv2-day { flex: 1 0 28%; }
  .dv2-ex, .dv2-ex[data-n="4"] { grid-template-columns: 1fr; }
  .dv2-rr { grid-template-columns: minmax(0, 1fr) auto; }
  .dv2-rr__s { grid-column: 1 / -1; }
  .dv2-call { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); }
  .dv2-call__tr { max-height: 126px; }
  .dv2-call__ctx { display: none; }
}
