/* ============================================================================================================
   calm.css — "everything is too busy" (2026-11-24). Loaded LAST, after brand.css and help.css.

   The rules, so a new screen follows them too:
     1. Colour means "look here". Red/amber only for something wrong or due; everything else is grey.
     2. Say it once. No repeated dates, titles, statuses or refresh buttons on one screen.
     3. Hide empties. A "0", a "—" or "Nothing outstanding" card is not shown unless the zero IS the news.
     4. One (?) per screen, beside the title (help.css). The rest appear when Help is opened.
     5. Simple on the surface, everything one click away — nothing is removed, only quieted.

   ROLL BACK: delete the <link> to this file in App/App.razor (or `git checkout pre-ux-simplify-2026-11-24`).
   ============================================================================================================ */

/* ── Links: no wall of underlines (Bootstrap 5 underlines every <a>). Underline on hover only. ───────────── */
a:not(.btn):not(.nav-link):not(.dropdown-item) { text-decoration: none; }
a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
a:not(.btn):not(.nav-link):not(.dropdown-item):focus-visible { text-decoration: underline; }

/* ── Status chips: an outlined pill, not a solid block. The lookup colour still shows — as the edge — so
      a status is recognised at a glance, but a grid of them no longer shouts. Colours come from the DB
      inline, hence !important. ─────────────────────────────────────────────────────────────────────────── */
.status-chip {
    background-color: #fff !important;
    color: #2b2d31 !important;
    border-width: 1.5px !important;
    font-weight: 500;
}
.status-chip i { color: inherit !important; opacity: .75; }

/* ── Cards with a thick coloured edge (Bootstrap `border-start border-4 border-*`): keep the edge only when
      it means trouble (danger / warning). Everything fine is a plain card. ─────────────────────────────── */
.card.border-4:not(.border-danger):not(.border-warning) {
    border-width: 1px !important;
    border-color: var(--card-border, #dee2e6) !important;
}

/* Alert rows (HR Home, Staff Home reminders): a full red box around each line is shouting. A left mark is
   enough; the row stays clickable. */
.list-group-item.border-4,
.list-group-item.border-danger,
.list-group-item.border-warning {
    border-top-width: 0 !important;
    border-right-width: 0 !important;
    border-bottom: 1px solid #eceef1 !important;
}
.list-group-item.border-4.border-info,
.list-group-item.border-4.border-secondary { border-left-color: #dee2e6 !important; }

/* ── Cards: one quiet style. ─────────────────────────────────────────────────────────────────────────────── */
.card { box-shadow: none; }

/* ── Work order / quote section bands (Services & Kits, Items, Equipment, Discounts, Supplies, Fees): six
      rainbow gradients on one tab. One plain header for all — the section's NAME tells them apart. ──────── */
.offering-section-header,
.offering-section-header[class*=" "] {
    background: #f6f7f9 !important;
    color: #1f2d33 !important;
    border-bottom: 1px solid #e3e6ea;
}
.offering-section-header .btn-outline-light { color: #495057; border-color: #ced4da; }
.offering-section-header .btn-outline-light:hover { background: #e9ecef; color: #212529; }
.offering-section-header .btn-light { background: #fff; border-color: #ced4da; }
.offering-section-header .help-icon.light { color: #9aa0a6; }
.offering-section-header .section-badge { background: #e3e6ea !important; color: #495057 !important; }

/* Numbered line circles: grey, not a column of blue dots. */
.line-number-circle { background: #eef0f3 !important; color: #495057 !important; }

/* Bootstrap `.border-4` is all FOUR sides — on a card that needs attention keep only the left edge coloured. */
.card.border-4.border-danger,
.card.border-4.border-warning {
    border-width: 1px !important;
    border-left-width: 4px !important;
    border-color: var(--card-border, #dee2e6) !important;
}
.card.border-4.border-danger { border-left-color: var(--bs-danger) !important; }
.card.border-4.border-warning { border-left-color: var(--bs-warning) !important; }
