/* Overview — scoped under .ov */

.ov{ padding-bottom: 40px; }

/* ---------- hero ---------- */
.ov-head{ padding-bottom: 18px; }

.ov-hero{
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  padding: 26px 28px;
}
.ov-hero-fig{
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  padding: 8px 10px; margin: -8px -10px; border: 1px solid transparent; border-radius: var(--r);
}
.ov-figure{
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ink);
  white-space: nowrap;
}
.ov-figure-l{ font-size: 12px; color: var(--ink-3); }

.ov-facts{
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 30px;
  row-gap: 16px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.ov-fact{
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 6px 8px; margin: -6px -8px; border: 1px solid transparent; border-radius: var(--r-s);
}
.ov-fact-k{
  font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 700;
}
.ov-fact-v{ margin: 6px 0 0; font-size: 19px; letter-spacing: -.012em; color: var(--ink); }
.ov-fact-bands{ margin-left: auto; }
.ov-fact-bands .ov-fact-v{ display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; }

/* the basis behind a figure, one press away — never a separate dead number */
.ov-note{ display: none; }
.is-on > .ov-note{
  display: block; max-width: 30ch; margin-top: 7px;
  font-size: 11px; line-height: 1.45; color: var(--ink-3);
}
.ov-hero-fig.is-on .ov-note{ max-width: 42ch; font-size: 11.5px; }

/* ---------- section frame ---------- */
.ov-sec{ margin-top: 40px; }
.ov-sec-h{
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 18px;
}
.ov-sec-h h2{ margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.ov-sec-h span{ font-size: 11.5px; color: var(--ink-3); }

/* ---------- capacity vs revenue ---------- */
.ov-kind{
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.ov-kind::before{ content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ov-kind-cap{ color: var(--brand-deep); background: var(--brand-tint); border: 1px solid var(--brand-soft); }
.ov-kind-rev{ color: var(--neg-ink); background: var(--neg-tint); border: 1px solid var(--neg-line); }

.ov-meter{
  display: flex; gap: 3px; height: 12px; margin-bottom: 18px;
}
.ov-meter > button{ display: block; height: 100%; border-radius: 3px; padding: 0; border: 0; }
.ov-meter .cap{ background: var(--brand); }
.ov-meter .rev{ background: var(--neg); }

.ov-split-cards{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ov-sc{
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  text-align: left; box-shadow: var(--shadow-1);
}
.ov-sc-v{ font-size: 30px; letter-spacing: -.022em; margin-top: 4px; }
.ov-sc-cap .ov-sc-v{ color: var(--brand-deep); }
.ov-sc-rev .ov-sc-v{ color: var(--neg-ink); }
.ov-sc-p{ font-size: 11px; color: var(--ink-4); }
.ov-sc-d{ display: block; margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
/* hours and FTE a revenue row cannot carry */
.ov-na{ color: var(--ink-4); }

/* ---------- breakdown ---------- */
.ov-breakdown{ margin-top: 40px; }
.ov-breakdown-eyebrow{ display: block; margin-bottom: 18px; }

/* value bar */
.ov-bar{
  display: flex;
  gap: 3px;
  height: 64px;
}
.ov-seg{
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  padding: 0 14px;
  border-radius: 3px;
  border-top: 2px solid var(--accent);
  background: transparent;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.ov-seg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: .22;
  transition: opacity .22s var(--ease), background .22s var(--ease);
  z-index: 0;
}
.ov-seg-name{
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color .22s var(--ease);
}
.ov-seg-pct{
  position: relative;
  z-index: 1;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--accent);
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.ov-seg:hover, .ov-seg:focus-visible, .ov-seg.is-active{
  transform: translateY(-6px);
}
.ov-seg:hover::before, .ov-seg:focus-visible::before, .ov-seg.is-active::before{
  opacity: .96;
}
.ov-seg:hover .ov-seg-name, .ov-seg:focus-visible .ov-seg-name, .ov-seg.is-active .ov-seg-name{
  color: var(--ink-2);
}
.ov-seg:hover .ov-seg-pct, .ov-seg:focus-visible .ov-seg-pct, .ov-seg.is-active .ov-seg-pct{
  color: var(--ink);
}
.ov-seg:focus-visible{ outline-offset: 3px; }
.ov-bar--dim .ov-seg:not(.is-active){ opacity: .5; }

/* category grid */
.ov-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ov-card{
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  background: var(--bg-1);
  border-top: 2px solid var(--accent);
  overflow: hidden;
  transition: background .2s var(--ease), outline-color .2s var(--ease);
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.ov-card:hover, .ov-card:focus-visible{ background: var(--bg-2); }
.ov-card.is-active{ outline-color: var(--line-2); }

.ov-card-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.ov-card-eyebrow{
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
}
.ov-card-pct{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  flex: 0 0 auto;
}
.ov-card-value{
  margin-top: 10px;
  font-size: 34px;
  letter-spacing: -.02em;
  color: var(--ink);
}

.ov-card-detects{
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
}
.ov-card-headline{
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.ov-card-drivers{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ov-drivers-eyebrow{
  display: block;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-4);
  margin-bottom: 9px;
}
.ov-driver-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ov-driver-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.ov-driver-name{
  font-size: 11.5px;
  color: var(--ink-3);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.ov-driver-val{
  flex: 0 0 auto;
  font-size: 11.5px;
  white-space: nowrap;
}
.ov-driver-lakh{
  color: var(--ink-3);
  transition: color .2s var(--ease);
}
.ov-driver-hrs{
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--ink-4);
  vertical-align: bottom;
  transition: max-width .24s var(--ease), opacity .18s var(--ease);
}
.ov-card:hover .ov-driver-name, .ov-card:focus-visible .ov-driver-name{ color: var(--ink); }
.ov-card:hover .ov-driver-lakh, .ov-card:focus-visible .ov-driver-lakh{ color: var(--accent); }
.ov-card:hover .ov-driver-hrs, .ov-card:focus-visible .ov-driver-hrs{
  max-width: 140px;
  opacity: 1;
}
.ov-driver-more{
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--ink-4);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px){
  .ov-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .ov-grid{ grid-template-columns: 1fr; }
  .ov-bar{ height: 56px; }
  .ov-seg{ padding: 0 10px; }
  .ov-fact-bands{ margin-left: 0; }
}
@media (max-width: 480px){
  .ov-seg-name{ display: none; }
  .ov-seg{ align-items: center; }
}

/* ---------- card value type ---------- */
.ov-card-kind{
  display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap;
}
.ov-card-qty{ font-size: 10.5px; color: var(--ink-4); }

/* ---------- findings grid ---------- */
.ov-findings .gd-scroll{ overflow-x: auto; }
.ov-findings .gd-table{ width: 100%; border-collapse: collapse; }
.ov-findings .gd-a-right{ text-align: right; }
.ov-findings .gd-n{ font-variant-numeric: tabular-nums; }
.ov-fd{ display: flex; align-items: flex-start; gap: 8px; }
.ov-fd > i{ width: 3px; align-self: stretch; min-height: 22px; border-radius: 2px; flex: 0 0 auto; }
.ov-fd b{ display: block; font-weight: 600; font-size: 12.5px; color: var(--ink); }
.ov-fd small{
  display: block; margin-top: 2px; font-size: 11px; color: var(--ink-3); line-height: 1.45;
}

@media (max-width: 1100px){
  .ov-hero{ grid-template-columns: 1fr; gap: 20px; }
  .ov-facts{ padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .ov-split-cards{ grid-template-columns: 1fr; }
}

.ov #ovFindings tbody td{
  white-space: normal; vertical-align: top; padding-top: 9px; padding-bottom: 9px;
}
.ov .gd .badge, .ov .gd .ov-kind, .ov .gd .mono{ white-space: nowrap; }
.ov .gd-barwrap{ white-space: nowrap; }


/* ---------- live affordance ----------
   One quiet cue across all five views: anything that opens or filters
   something carries a pointer, a hover lift, a focus ring, and — where it
   drills — a chevron that fades in before the pointer arrives. */
.ov .is-live{
  position: relative; cursor: pointer; text-align: left;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.ov .is-live:hover{ background: var(--bg-2); border-color: var(--brand-soft); box-shadow: var(--shadow-1); }
.ov .is-live:focus-visible{ outline: 2px solid var(--focus); outline-offset: 2px; }
.ov .is-live::after{
  content: '\203A'; position: absolute; right: 12px; top: 12px;
  font-size: 15px; line-height: 1; color: var(--brand);
  opacity: 0; transform: translateX(-3px); pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.ov .is-live:hover::after, .ov .is-live:focus-visible::after{ opacity: .75; transform: translateX(0); }
.ov .is-live.is-on{ border-color: var(--brand); background: var(--brand-tint); }

/* chips, badges and figures — the same cue without the chevron */
.ov .is-live-chip{
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.ov .is-live-chip:hover{ border-color: var(--brand-soft); box-shadow: 0 0 0 2px var(--brand-tint); }
.ov .is-live-chip:focus-visible{ outline: 2px solid var(--focus); outline-offset: 2px; }
.ov .is-live-chip.is-on{ border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-tint-2); }

/* chart marks brighten and take a stroke on hover */
.ov .is-live-mark{
  cursor: pointer; border: 0; padding: 0;
  transition: filter .16s var(--ease), box-shadow .16s var(--ease);
}
.ov .is-live-mark:hover{ filter: saturate(1.12) brightness(1.06); box-shadow: 0 0 0 2px var(--brand-tint-2); }
.ov .is-live-mark:focus-visible{ outline: 2px solid var(--focus); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){
  .ov .is-live, .ov .is-live-chip, .ov .is-live-mark, .ov .is-live::after{ transition: none; }
}
