/* ARENA Apple test — contrast layer: white page, but the data stands out from it.
   The page stays white; every card gets a clear edge and a soft shadow so it lifts off the page,
   and the number boxes ("Today and this month", the phone tiles) get a very light blue so the eye goes to them first.
   To remove it: delete the contrast.css line in index.html. */
:root {
  --edge: #D3D7E6;           /* card edges, clearly visible on white */
  --rule: #E6E8F1;           /* row lines inside cards */
  --control: #BFC3D4;        /* input and button edges */
  --lift: 0 1px 3px rgb(6 16 106 / .08), 0 6px 18px rgb(6 16 106 / .07);
  --num-bg: #F2F4FE;         /* number boxes */
  --num-edge: #CFD5F4;
}

/* 1) every card-like surface: white, clear edge, soft shadow */
.card, .setup-card, .done-box, .choice, .person, .bk-day, .cal-main, .mini-cal, .coach-panel, .summary, .table-wrap:has(table), .split > .section, .step-body > .section, .cal-scroll, .cal-month {
  border: 1px solid var(--edge);
  box-shadow: var(--lift);
}
.card, .done-box, .choice, .person, .bk-day, .cal-main, .mini-cal, .coach-panel, .summary, .table-wrap:has(table), .split > .section, .step-body > .section, .cal-scroll, .cal-month, .cal, .people { background: #FFFFFF; }
.table-wrap:has(table) { border-radius: var(--radius); }
.split > .section, .step-body > .section { padding: 18px; border-radius: var(--radius); }
.setup-card { background: var(--blue-tint); border-color: var(--blue-tint-2); }
.dp-pop, .dialog { background: #FFFFFF; }

/* table headers get a light tint so the columns read */
.table-wrap thead th, table thead th { background: #F6F7FB; }

/* 3) number boxes: very light blue, the figure in royal blue */
.facts { background: var(--num-bg); border: 1px solid var(--num-edge); box-shadow: var(--lift); }
.facts > div + div, .facts.six > div:nth-child(n+4) { border-color: var(--num-edge); }
.facts .v { color: var(--blue); }
.facts .v.minus { color: var(--danger); }
.tile { background: var(--num-bg); border: 1px solid var(--num-edge); box-shadow: var(--lift); }

/* section titles: a small royal-blue marker in front, so each block starts clearly */
.section > header h2 { display: inline-flex; align-items: center; gap: 10px; }
.section > header h2::before { content: ""; width: 5px; height: 1.05em; border-radius: 3px; background: var(--blue); flex: none; }
