/* ==========================================================================
   Bramfield Dental & Aesthetics — brand override + the day book
   app.css supplies every component. Load AFTER app.css.
   ========================================================================== */

:root {
  --brand:      #5b2333;   /* deep burgundy — distinct from the other four */
  --brand-deep: #401826;
  --brand-tint: #f6ebee;
  --brass:      #c9a227;   /* soft gold */
}

.avatar.brass { background: #f7eecd; color: #7a6210; }

/* --------------------------------------------------------------------------
   Day book — surgeries against the clock.

   Appointment colours use only the three categorical slots the palette
   reference guarantees for all-pairs comparison (blue / orange / aqua).
   Aesthetics is separated by COLUMN rather than by a fourth hue: it runs in
   its own room with its own practitioner, so position carries it and colour
   does not have to. Every chip is labelled, so colour is never the only cue.
   -------------------------------------------------------------------------- */

.daybook { display: grid; grid-template-columns: 62px repeat(4, minmax(0, 1fr)); gap: 2px; }

.daybook .hd {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 9px 10px;
  background: var(--sunken);
  line-height: 1.35;
}

.daybook .hd b { display: block; color: var(--ink); font-size: 12px; letter-spacing: 0; text-transform: none; }

.daybook .tm {
  font: 500 11px var(--mono);
  color: var(--ink-3);
  padding: 7px 8px 0 0;
  text-align: right;
  background: var(--sunken);
  font-variant-numeric: tabular-nums;
}

.daybook .slot {
  background: var(--card);
  border: 1px solid var(--line-soft);
  min-height: 40px;
  padding: 3px;
}

.daybook .slot.gap {
  background: repeating-linear-gradient(45deg, #fbf9fa, #fbf9fa 6px, #f3eef0 6px, #f3eef0 12px);
}

.daybook .slot.gap .gaplabel {
  font-size: 10.5px;
  color: #9e2b2b;
  font-weight: 600;
  padding: 4px 6px;
  display: block;
}

.appt {
  border-left: 3px solid;
  border-radius: 3px;
  padding: 5px 7px;
  font-size: 11.5px;
  line-height: 1.35;
  height: 100%;
}

.appt b { display: block; font-weight: 600; }
.appt em { font-style: normal; color: var(--ink-3); }
.appt.exam  { border-color: #2a78d6; background: #eef4fc; }
.appt.treat { border-color: #eb6834; background: #fdf0eb; }
.appt.hyg   { border-color: #1baf7a; background: #e9f7f1; }

/* Lunch is scheduled downtime, not a lost slot — hatch it neutrally so it
   never reads as money on the floor next to the genuine gaps. */
.daybook .slot.lunch { background: repeating-linear-gradient(45deg, #f7f7f8, #f7f7f8 6px, #eff0f1 6px, #eff0f1 12px); }
.daybook .slot.lunch .gaplabel { color: var(--ink-3); font-weight: 500; }
