/* ── THE GROUND ──────────────────────────────────────────────────────────────
   The work sits on a white sheet; the page keeps the grey. Depth comes from
   the edge of the paper, not from a pattern — chosen 2026-09-08 out of five
   (plain, sheet, cooler grey, ruled, dark, red wash).

   Two rules this keeps, and anything replacing it must keep:
     · the content is the lightest surface on the page, always
     · two grounds, not three: the page, and the sheet on it */

.cust-cols{
  background:var(--surface);
  border:1px solid var(--rule);
  border-radius:12px;
  padding:22px 24px;
  box-shadow:0 1px 3px rgba(var(--shade-rgb),.05);
}
/* a sheet on a sheet is one shadow too many — the tables inside keep their
   hairline and lose the lift */
.cust-cols .card{box-shadow:none}
.cust-cols .cust-side{border-right-color:var(--rule-soft)}

@media (max-width:900px){
  .cust-cols{padding:16px;border-radius:10px}
}

/* ── ONE GROUND ON A PHONE ─────────────────────────────────────────────────
   The grey exists to give the sheet an edge. At 375px the sheet is full width, so
   the grey never appears beside it — only below it, where a white bar now sits, and
   it read as a stripe between two whites.
   Still two surfaces and never three: the sheet, and the bars on their hairlines. */
@media (max-width:760px){
  main{background:var(--surface)}
  /* the customer screen keeps its card, but a card on the same colour needs its
     hairline to do the work the shadow used to */
  .cust-cols{box-shadow:none;border-color:var(--rule)}
}
