/* ── THE CUSTOMER SCREEN: profile column + the tables beside it ──────────────
   Two grounds only, and the content is never the darker one: paper behind,
   white surfaces on it. The column is divided from the tables by a hairline
   rather than by a third background. */

.cust-cols{display:flex;gap:0;align-items:flex-start;margin-top:20px}
.cust-side{width:288px;flex-shrink:0;padding-right:24px;border-right:1px solid var(--rule)}
.cust-main{flex:1;min-width:0;padding-left:28px}

.cc-blk{margin-bottom:24px}
.cc-blk:last-child{margin-bottom:6px}
.cc-h{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;
  color:var(--ink-soft);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.cc-h button{background:none;border:none;color:var(--ink-faint);font-size:12px;padding:0;cursor:pointer;
  transition:color .12s linear}
.cc-h button:hover{color:var(--accent)}

/* the summary: icon, number, word. No tile, no oversized numeral. */
.cc-sum{padding-bottom:18px;border-bottom:1px solid var(--rule-soft)}
.cc-line{display:flex;align-items:center;gap:9px;padding:5px 0;font-size:13px;color:var(--ink-soft)}
.cc-line b{color:var(--ink);font-weight:600}
.cc-line.warn b{color:var(--accent)}

/* one field: icon, small label, value under it */
.cc-at{display:flex;gap:10px;padding:7px 0;align-items:flex-start}
.cc-ic{width:15px;height:15px;flex-shrink:0;margin-top:3px;color:var(--ink-faint);display:inline-flex}
.cc-ic svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.7;fill:none}
.cc-k{font-size:11px;color:var(--ink-faint);letter-spacing:.03em}
.cc-v{font-size:14px;line-height:1.4;word-break:break-word}
.cc-note{font-size:11px;color:var(--ink-faint);margin-top:2px}
.cc-notes{font-size:13px;color:var(--ink-soft);line-height:1.55;white-space:pre-wrap}
/* an empty field is something to do, not a hole */
.cc-add{background:none;border:none;padding:0;font-size:14px;color:var(--ink-faint);text-align:left;
  cursor:pointer;font-family:inherit;transition:color .12s linear}
.cc-add:hover{color:var(--accent)}
.cc-sep{color:var(--rule)}

/* the name block */
#dSub.cc-factline{font-size:13px;color:var(--ink-soft);margin-top:6px}

/* Coverage, built to one formula so five states read as one family: the same
   hue at a 96%-light wash, an 88%-light hairline and 34%-dark text. */
.cov{font-size:11px;padding:2px 8px;border-radius:4px;white-space:nowrap;display:inline-block;
  background:var(--field);border:1px solid var(--rule);color:var(--ink-soft)}
.cov-contract{background:var(--good-bg);border-color:var(--good-line);color:var(--good-deep)}
.cov-warranty{background:var(--info-bg);border-color:var(--info-line);color:var(--info-ink)}
.cov-oncall  {background:var(--alert-bg);border-color:var(--warn-line);color:var(--warn-ink)}
.cov-none    {background:transparent;border-style:dashed;border-color:var(--rule);color:var(--ink-faint)}
.cov-pending {background:var(--alert-bg);border-color:var(--warn-line);color:var(--warn-ink)}

/* the machine table's own row of controls */
.cc-tabtop{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.cc-tabtop .grow{flex:1;min-width:0}
.cc-hits{font-size:12px;color:var(--ink-faint);margin-top:6px;text-align:right}

@media (max-width:900px){
  .cust-cols{flex-direction:column;gap:20px}
  .cust-side{width:100%;padding-right:0;border-right:none;border-bottom:1px solid var(--rule);padding-bottom:16px}
  .cust-main{padding-left:0;width:100%}
}

/* ── A THUMB ON THE CUSTOMER CARD ──────────────────────────────────────────
   Measured at 375px by hit-testing: every "add" link was 17px tall and the Ubah
   beside the heading was 30 by 15. This file loads last, so this is the only place
   the floor can be set without being overruled.
   ⚠ Padding, never an invisible band: these links are a row apart, and a 44px band
   on a 17px link would reach into its neighbours and answer taps meant for them. */
@media (max-width:760px){
  .cc-add{padding:13px 0;min-height:44px;display:inline-flex;align-items:center}
  .cc-h button{min-height:44px;padding:0 10px;display:inline-flex;align-items:center}
  /* the label above each value — 11px is this app's meta step and stays, but it is
     not a target, so nothing here grows except what you press */
}
