/* The calm redesign (Oct 16, 2026): Equipment (equipment/equipment.js). Loaded after styles.css, so a rule here wins over the same rule there.
   Docs/Hub design standard.md has the rules (Motion; Calm and focus). Colours only from the tokens in styles.css. */


/* One problem: the machine in bold, what is wrong under it; a tap on the words opens who and when. */
.eq-toggle { display: flex; flex-direction: column; gap: 2px; width: 100%; min-height: 44px; justify-content: center; margin: 0; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.eq-what { font: 400 1rem/1.4 var(--rt-body); color: var(--text); overflow-wrap: anywhere; }
.eq-det { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.eq-det[hidden] { display: none; }
.eq-row-w .dot-before { display: block; }

/* Everywhere else the lines are one soft card with hairlines between them, not a stack of grey boxes. */
.eq-screen .eq-rows { gap: 0; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.eq-screen .eq-rows > li + li { border-top: 1px solid var(--border); }
.eq-screen .eq-prob, .eq-screen .eq-row { padding: 14px 16px; border-radius: 0; background: transparent; }

.eq-screen button.eq-row:hover { background: var(--rt-hover); }
.eq-row-t { font: 600 1rem/1.35 var(--rt-body); }
.eq-row-s { font: 400 .8125rem/1.4 var(--rt-body); color: var(--text-2); }
.eq-due { font: 600 .875rem/1.3 var(--rt-body); }
.eq-h { font: 700 1.125rem/1.3 var(--rt-body); }
.eq-sec { gap: 10px; }
.eq-sec-h { min-height: 44px; }

/* Report a problem: quiet outline under the hero; the hero already is the one loud thing. */
.eq-screen .btn.eq-report { min-height: 48px; border: 1px solid var(--btn-line); border-radius: var(--r-pill); background: transparent; color: var(--ink-strong);
  font: 600 1rem/1 var(--rt-body); letter-spacing: 0; text-transform: none; }
.eq-screen .btn.eq-report:hover { background: var(--rt-hover); }

/* Details on a tap: Fixed, last 30 days and No longer have. */
.eq-screen .more.eq-fold { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border); padding: 0 12px; }
.eq-screen .more.eq-fold .more-b { padding: 0 0 12px; }
.eq-screen .more.eq-fold .list.flat { margin: 0; }

/* A machine's sheet: Add reminder and Update on the left, the two icons at the right. */
.eq-acts { align-items: center; gap: 8px; }
.eq-acts-end { display: inline-flex; gap: 6px; margin-left: auto; }
.eq-acts .btn.small .ic { width: 16px; height: 16px; }
.eq-svc-acts { align-items: center; }

/* A problem just fixed: its words keep the whole width, "Add what was done" sits under them. */
.eq-screen .eq-just { flex-wrap: wrap; }
.eq-screen .eq-just .eq-row-w { flex: 1 1 calc(100% - 56px); }
.eq-screen .eq-just .btn { margin-left: 56px; }
.eq-screen .more.eq-fold .li { min-height: 0; padding: 12px 0; }
.eq-screen .more.eq-fold .li:last-child { border-bottom: 0; }

/* Placeholders (js/equipment/shape.js): the design's split while the log comes; the bars are styles.css's. */
.eqp-card { display: flex; flex-direction: column; gap: 12px; }
.eqp-h { display: flex; align-items: center; justify-content: space-between; }
.eqp-rows { display: flex; flex-direction: column; }
.eqp-row { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; }
.sk.eqp-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; }
.eqp-w { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.eqp-w .sk { flex: none; }
.sk.eqp-t { height: 1rem; }
.sk.eqp-s { height: .8125rem; }
.sk.eqp-n { height: 1.2rem; }
.sk.eqp-big { height: 2.4rem; }
.sk.eqp-btn { width: 14rem; height: 44px; }
.skel.eqp { gap: 22px; }

/* ---------- the navy redesign, step 4: operations (Oct 23, 2026; docs/navy-redesign.md) ----------
   The design's Equipment: tight Inter titles, the big count in Inter 800, and each machine a row on one card that turns
   the soft surface under the pointer, as the design's list rows. */
.eq-h { letter-spacing: -.02em; }
.eq-row-t { letter-spacing: -.01em; }
.eq-screen button.eq-row:hover { background: var(--surface-2); }
.eq-screen .eq-row, .eq-screen .eq-prob { min-height: 68px; }
.eq-screen .more.eq-fold { padding: 0 16px; }

/* ---------- the exact rebuild (Oct 23, 2026): the design's EquipmentPage (styles.css has the split, rows and detail card) ---------- */
.eq-due-rows { margin: 0; padding: 0; list-style: none; }
.eq-due-card .ds-section-heading > .ic { width: 22px; height: 22px; color: var(--text-3); }
.ds-equipment-row .ds-record-icon { display: grid; place-items: center; flex: none; }
.ds-equipment-row .ic { width: 18px; height: 18px; }
.eq-detail-acts { flex-wrap: wrap; }
.eq-detail-acts .ic { width: 17px; height: 17px; }
.eq-side { display: flex; flex-direction: column; gap: 12px; }
.eq-screen .more.eq-fold.eq-urgent .more-n { color: var(--alert); }
.eq-probs { display: flex; flex-direction: column; gap: 12px; }
.eq-probs .eq-rows { margin: 0; padding: 0; list-style: none; }
.eq-screen .eq-report { align-self: flex-start; }
.eq-screen .eq-report .ic { width: 17px; height: 17px; }
