.overview-analysis {
  --oa-blue: #23569c;
  --oa-blue-deep: #173e74;
  --oa-blue-tint: #edf4fc;
  --oa-gold: #a47320;
  --oa-gold-tint: #fff4de;
  --oa-muted: #506176;
  --oa-rule: #dce5ef;
  --overview-card-gap: 12px;
  display: grid;
  gap: var(--overview-card-gap);
  min-width: 0;
  margin-block-start: 14px;
  font-variant-numeric: tabular-nums;
}
.overview-analysis :is(a,summary):focus-visible {
  outline-color: #0f5469;
  outline-offset: 3px;
}
.overview-analysis ul, .overview-analysis ol { list-style: none; padding: 0; margin: 0; }
.oa-kpis, .oa-layout { display: grid; gap: var(--overview-card-gap); min-width: 0; }
.oa-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
.oa-notice { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px 12px; padding: 11px 13px; border: 1px solid #e4cb92; border-radius: 12px; background: var(--oa-gold-tint); color: #694210; }
.oa-notice p { font-size: max(.78rem,12px); }
.oa-kpi {
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 11px 10px;
  border: 1px solid var(--oa-rule);
  border-top: 3px solid var(--oa-blue);
  border-radius: 13px;
  background: var(--surface, white);
  box-shadow: var(--shadow);
}
.oa-kpi--assigned { border-top-color: var(--oa-gold); }
.oa-kpi--remaining { border-top-color: #247966; }
.oa-kpi--company { border-top-color: #6585ae; }
.oa-kpi-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px; }
.oa-kpi-head h3 { color: var(--oa-muted); font-size: .87rem; font-weight: 700; }
.oa-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--oa-blue-tint);
  color: var(--oa-blue-deep);
  font-size: max(.73rem, 12px);
  line-height: 1.45;
}
.oa-pill--caution { color: #774814; background: var(--oa-gold-tint); }
.oa-kpi-value { display: flex; width: fit-content; min-height: 44px; align-items: baseline; gap: 6px; color: var(--oa-blue-deep); text-decoration: none; }
a.oa-kpi-value:hover { text-decoration: underline; text-underline-offset: 4px; }
.oa-kpi-value strong { font-size: clamp(1.85rem, 6vw, 2.9rem); line-height: 1.05; }
.oa-kpi-value span, .oa-kpi-note { color: var(--oa-muted); font-size: max(.76rem, 12px); }
.oa-kpi-delta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; }
.oa-kpi-delta strong { color: var(--oa-blue-deep); font-size: .85rem; }
.oa-kpi-delta span { color: var(--oa-muted); font-size: max(.74rem, 12px); }
.oa-method { border-top: 1px solid #e6edf5; margin-top: 9px; padding-top: 5px; }
.oa-kpi .oa-method { margin-top: auto; }
.oa-method summary { color: var(--oa-blue-deep); width: fit-content; cursor: pointer; padding-block: 7px; min-height: 38px; font-size: .82rem; }
.oa-method > p { color: var(--oa-muted); font-size: .81rem; padding-bottom: 4px; }
.oa-layout { grid-template-columns: minmax(0,1fr); align-items: start; }
.overview-classic .overview-metrics { margin-block: 0; }
.overview-card-grid, .overview-card-column {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: var(--overview-card-gap);
  align-content: start;
  align-items: start;
  min-width: 0;
}
.overview-card-grid[data-layout="columns"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.overview-card-slot { min-width: 0; }
.overview-classic .standing-groups { padding: 10px 13px; }
.overview-analysis-link { display: flex; align-items: center; justify-content: space-between; gap: 2px 12px; flex-wrap: wrap; color: var(--quiet); font-size: .84rem; }
.overview-analysis-link .text-link { min-height: 30px; font-size: .86rem; }
.overview-analysis-link .text-link:last-child { margin-inline-start: auto; }
.oa-card { min-width: 0; border: 1px solid var(--oa-rule); border-radius: 14px; background: var(--surface, white); box-shadow: var(--shadow); }
.oa-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5px 12px;
  padding: 12px 13px 10px;
  border-bottom: 1px solid var(--oa-rule);
}
.oa-heading h2 { font-size: clamp(1rem,3vw,1.23rem); line-height: 1.35; }
.oa-heading p { color: var(--oa-muted); font-size: max(.78rem,12px); padding-top: 3px; }
.oa-card-body { padding: 11px 13px; }
.oa-empty { padding-block: 11px; color: var(--oa-muted); }
.oa-trend-figure { --oa-chart-height: 44px; display: grid; grid-template-columns: minmax(24px,auto) minmax(0,1fr); gap: 0 4px; margin: 0; padding-top: 16px; }
.oa-trend-axis { display: grid; height: var(--oa-chart-height); align-content: space-between; text-align: right; color: var(--oa-muted); font-size: max(.73rem,12px); line-height: 0; padding-inline-end: 3px; }
.oa-trend-scroll { min-width: 0; padding-top: 16px; margin-top: -16px; }
.oa-trend-days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--oa-days),minmax(0,1fr));
  background: linear-gradient(var(--oa-rule), var(--oa-rule)) top / 100% 1px no-repeat;
}
.oa-trend-days::after { content: ""; position: absolute; inset: var(--oa-chart-height) 0 auto; height: 2px; background: #bac8d7; pointer-events: none; }
.oa-trend-day { position: relative; min-width: 0; }
.oa-trend-hit { display: grid; grid-template-rows: var(--oa-chart-height) auto; min-width: 0; color: inherit; text-decoration: none; }
a.oa-trend-hit:hover .oa-trend-mark { filter: brightness(1.25); }
.oa-trend-hit:focus-visible { outline-offset: -3px; }
.oa-trend-mark {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(68%,28px);
  height: var(--oa-height);
  min-height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--oa-blue);
  color: var(--oa-blue-deep);
}
.is-selected:not(.is-gap) .oa-trend-mark { background: var(--oa-gold); color: #774814; }
.is-carried .oa-trend-mark { border: 1px dashed #2e618f; background: #d9e9f5; }
.is-carried.is-selected .oa-trend-mark { border-color: #80571a; background: #ffe9bd; }
.is-zero .oa-trend-mark { border-radius: 0; }
.is-gap .oa-trend-mark { background: none; color: var(--oa-muted); }
.oa-trend-mark span { position: absolute; bottom: calc(100% + 2px); inset-inline: 50% auto; transform: translateX(-50%); font-size: max(.73rem,12px); line-height: 1.1; font-weight: 700; white-space: nowrap; }
.oa-trend-date { display: block; padding: 4px 1px 0; color: var(--oa-muted); font-size: max(.73rem,12px); line-height: 1.2; text-align: center; }
.is-selected .oa-trend-date { font-weight: 700; color: #774814; }
.oa-trend-figure figcaption {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 10px;
  padding-top: 4px;
  color: var(--oa-muted);
  font-size: max(.73rem,12px);
}
.oa-trend .oa-method { margin-top: 4px; padding-top: 0; }
.oa-trend .oa-method summary, .oa-chart-more summary { min-height: 32px; padding-block: 4px; }
.oa-swatch { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--oa-coat,var(--oa-blue)); flex: 0 0 auto; }
.oa-distribution-track {
  min-height: 9px;
  display: flex;
  gap: 2px;
  border-radius: 5px;
  background: #e7eef6;
  overflow: hidden;
}
.oa-distribution-slice { display: flex; flex: var(--oa-size) 1 0; min-width: 4px; background: var(--oa-coat); }
.oa-distribution-slice > a, .oa-distribution-slice > span { display: block; width: 100%; }
.oa-distribution-slice > a:hover { background: #ffffff29; }
.oa-distribution-slice > a:focus-visible { outline-color: white; outline-offset: -3px; }
.oa-legend { padding-top: 7px !important; }
.oa-legend li + li, .oa-reconcile li + li { border-top: 1px solid #edf2f7; }
.oa-legend-line {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto minmax(26px,auto);
  align-items: center;
  gap: 5px 7px;
  min-height: 32px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.oa-legend-line strong { color: var(--oa-blue-deep); text-align: right; }
.oa-share { color: var(--oa-muted); font-size: max(.78rem,12px); }
a.oa-legend-line:hover { color: var(--oa-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.oa-area-figure { margin: 0; }
.oa-area-strip { display: flex; gap: 2px; height: 7px; margin-bottom: 8px; overflow: hidden; border-radius: 5px; background: #e9eff5; }
.oa-area-strip > span { flex: var(--oa-size) 1 0; background: var(--oa-coat); }
.oa-area-grid, .oa-rank-grid { display: grid; gap: 5px; }
.oa-area-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.oa-area-key, .oa-rank-tile, .oa-order-row {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: #f6f9fc;
}
.oa-area-key:hover, a.oa-rank-tile:hover, .oa-order-row:hover { background: var(--oa-blue-tint); border-color: #a3bbd8; }
.oa-area-key { display: grid; grid-template-rows: 1fr auto; gap: 4px; height: 100%; min-height: 63px; padding: 6px; }
.oa-area-label { display: flex; align-items: baseline; gap: 4px; min-width: 0; overflow-wrap: anywhere; font-size: max(.76rem,12px); line-height: 1.2; }
.oa-area-label .oa-swatch { width: 6px; height: 6px; margin-top: 4px; }
.oa-area-values, .oa-order-values { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 5px; }
.oa-area-values strong { color: var(--oa-blue-deep); font-size: 1.19rem; line-height: 1; }
.oa-flow figure { margin: 6px 0; padding: 6px 8px 0; border: 1px solid var(--oa-rule); border-radius: 8px; background: #f6f9fc; }
.oa-flow figcaption { display: flex; justify-content: space-between; gap: 8px; color: var(--oa-muted); font-size: max(.8rem,12px); }
.oa-flow-ribbons { display: block; width: 100%; height: 104px; }
.oa-flow-ribbons path { fill-opacity: .43; }
.oa-flow-ribbons path:hover { fill-opacity: .75; }
.oa-flow-table { table-layout: fixed; }
.oa-flow-table th:first-child { width: 40%; }
.oa-flow-value { display: inline-grid; min-width: 24px; min-height: 24px; place-items: center; }
a.oa-flow-value { color: var(--oa-blue-deep); font-weight: 700; text-underline-offset: 2px; }
.oa-rank-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.oa-dot-panel--scope .oa-rank-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.oa-rank-tile {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 1px 4px;
  min-height: 43px;
  height: 100%;
  padding: 4px 5px;
  font-size: max(.77rem,12px);
  line-height: 1.15;
}
.oa-rank-dot { grid-row: span 2; place-self: center; width: var(--oa-dot-size); aspect-ratio: 1; border-radius: 50%; background: #68798b; }
.oa-rank-dot.is-leading { background: var(--oa-blue); }
.oa-rank-label, .oa-order-name { min-width: 0; overflow-wrap: anywhere; }
.oa-rank-tile .oa-share { grid-column: 2 / -1; }
.oa-rank-tile strong, .oa-order-values strong { color: var(--oa-blue-deep); white-space: nowrap; }
.oa-order-list { display: grid; gap: 4px; }
.oa-order-row { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 6px; min-height: 34px; padding: 4px 7px; font-size: max(.83rem,12px); }
.oa-order { display: grid; place-items: center; width: 20px; aspect-ratio: 1; border-radius: 5px; background: #e7eff8; color: var(--oa-blue-deep); font-weight: 700; font-size: 12px; }
.oa-order-values { justify-content: flex-end; white-space: nowrap; }
.oa-chart-more { margin-top: 4px; padding-top: 0; }
.oa-chart-more[open] :is(.oa-rank-grid, .oa-order-list) { margin-top: 4px; }
.oa-plain-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .84rem; }
.oa-plain-table :is(td,th) { padding: 5px 4px; border-bottom: 1px solid #e9eff5; overflow-wrap: anywhere; }
.oa-plain-table thead { color: var(--oa-muted); }
.oa-plain-table :is(th,td):not(:first-child) { text-align: right; }
.oa-company-more { margin: 0 12px 8px; }
.overview-classic .oa-company-more .standing-groups { padding: 0; }
.overview-classic .standing-groups a { min-height: 36px; padding-block: 4px; }
.overview-classic .standing-groups strong { flex: none; white-space: nowrap; }
.oa-exceptions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.oa-exceptions li, .oa-exceptions a, .oa-reconcile li { display: flex; align-items: baseline; gap: 6px; min-height: 34px; padding: 5px 0; justify-content: space-between; }
.oa-exceptions li { padding-inline: 6px; border: 1px solid #e7edf5; border-radius: 8px; font-size: max(.8rem,12px); }
.oa-exceptions a { flex: auto; min-height: 24px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.oa-exceptions strong { flex-shrink: 0; }
.oa-exceptions li > strong, .oa-exceptions a > strong { color: var(--oa-blue-deep); }
.oa-exceptions li.oa-needs-review strong, .oa-difference { color: #784916; font-weight: 700; }
.oa-reconcile li { font-size: max(.76rem,12px); }
.oa-reconcile li > :first-child { flex: 1; }
.oa-reconcile li > :not(:first-child) { flex-shrink: 0; }
.oa-source { color: var(--oa-muted); }
.oa-source h2, .oa-source h3 { color: var(--ink); }
.oa-source .oa-card-body { display: grid; gap: 7px; font-size: .85rem; }
.oa-excel-grid { display: grid; gap: 12px; }
.oa-excel-set { border: 1px solid var(--oa-rule); border-radius: 8px; padding: 8px; }
.oa-excel-set h3 { font-size: .91rem; margin-bottom: 3px; }
.overview-analysis .oa-source-notes { list-style: disc; padding-inline-start: 1.15em; }
.oa-table-scroll { max-width: 100%; overflow-x: auto; }
@media (min-width: 650px) {
  .oa-kpi { padding-inline: 14px; }
  .oa-layout, .oa-excel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .oa-heading, .oa-card-body { padding-inline: 15px; }
}
@media (max-width: 345px) {
  .oa-dot-panel--rank .oa-rank-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 950px) {
  .oa-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .oa-layout--wide { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
}
