/* ============================================================================
   my/css/hygiene-goodsin.css -- ORVO HYGIENE GOODS IN ON MY. (build order step 54)
   ----------------------------------------------------------------------------
   Loaded by my/hygiene-trace.html ONLY: the dress of the label box on Trace > Lots > Not placed and of its one-tap
   "Which line?" box (my/js/hygiene-goodsin.js labelBox / openPlace). my/hygiene-registers.html does not load it
   (Setup > Delivery rules wears css/hygiene-goodsin-rules.css and that page's own rules).
   3 OCT 2026, HIS RULING: nothing of ORVO Hygiene is on Stock's docket page. The docket's rules that lived here (the
   Delivery check band, a line turned away, the check box, the note to the supplier: step 54's PR1, PR2, most of PR3,
   PR4, and PR6, which no page loading this file wears) were taken out on 4 Oct 2026. NOTHING HERE IS NEW DESIGN:
     1. the approved Hygiene classes, COPIED VERBATIM from
        Documentation/mockups/2026-09-30_hygiene_step54/approved-hygiene.css (S1, S2's modal rules) and
        approved-step49.css (PR1, PR6) -- the same values the Record book and Setup already wear;
     2. what is left of the step-54 PROPOSED block, APPROVED 30 Sep (NOTE.md "New CSS, PROPOSED"): the box's own
        three lines of PR3 and PR9's my. half, value for value;
     4. the batch scan's label rows and Place box (2 Oct 2026).
   Every colour is one the platform already owns. (c) 2026 ORVO Software -- orvopos.com
   ============================================================================ */

/* ---- 1. the approved Hygiene classes (approved-hygiene.css S1 / S2 / S3, approved-step49.css PR1 / PR6) ---- */
.hy-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.hy-st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.hy-st.is-done  { color: #4ADE80; }
.hy-st.is-due   { color: #73D1DE; }
.hy-st.is-soon  { color: #E8C846; }
.hy-st.is-late  { color: #FB923C; }
.hy-st.is-fixed { color: #FB923C; }
.hy-st.is-miss, .hy-st.is-out, .hy-st.is-rej { color: #F87171; }
.hy-st.is-quiet { color: #888; }
.hy-st.is-quiet::before { background: transparent; border: 1px solid #666; box-sizing: border-box; }
.hy-sub { display: block; font-size: 12px; color: #7a8285; margin-top: 2px; white-space: normal; }
.hy-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hy-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal .field { text-align: left; }
.hy-modal.modal { position: relative; }
.hy-two .field label { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.modal .hy-mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; text-align: left; }
.modal .hy-mhead h3 { margin: 0; }
.modal .hy-swrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; font-size: 14px; color: #ccc; text-align: left; }
.hy-row-nm { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-row-nm small { display: block; font-size: 12px; font-weight: 500; color: #8a9396; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-camkey { flex: none; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; }
.hy-camkey svg { width: 16px; height: 16px; flex: none; }
.hy-thumb { flex: none; overflow: hidden; border: 1px solid #333; border-radius: 6px; background: #111; padding: 0; }
.hy-thumb img, .hy-thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hy-chk { display: flex; align-items: center; gap: 10px; }
.hy-chk b { color: #E8C846; font-weight: 600; }
.hy-chk .hy-thumb { width: 46px; height: 34px; cursor: pointer; }
.hy-modal.is-wide.modal { max-width: 560px; width: 560px; }
.chg-table.hy-reg { min-width: 760px; }
.hy-name { color: #fff; font-weight: 600; }
.hy-card-act { margin-left: auto; }
tr.hy-tap { cursor: pointer; }
tr.hy-tap:hover td { background: #1c1c1c; }
tr.hy-sugg td { color: #888; }
@media (max-width: 600px) { .hy-two { grid-template-columns: 1fr; } }

/* ---- 2. step 54's PROPOSED block, approved 30 Sep (NOTE.md), value for value: what the Place box still wears ---- */

/* PR3 -- the box */
.hy-modal .hy-sub { margin: 6px 0 0; }
.hy-modal.modal { text-align: left; }   /* hygiene-registers.html:77, said here too because the Trace page does not carry it */
.hy-modal .modal-actions { margin-top: 18px; }   /* hygiene-records.html:97, the same value */

/* PR9 -- the phone (the box's half; the app's half is in cloud/css/hygiene-goodsin.css) */
@media (max-width: 600px) { .hy-modal.is-wide.modal { width: calc(100% - 32px); } }   /* the base .modal's own 16px gutters (my.css:3457) */

/* ---- 4. BATCH SCAN (2 Oct 2026): the labels photographed at the door in ORVO Vision ---- */
/* a label ORVO could not place, offered once on Trace > Lots > Not placed: the old docket band's row (PR1), standing by itself */
.hy-lbls { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.hy-lbl { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #2a2a2a; border-radius: 10px; background: #111; }
.hy-lbl .hy-thumb { width: 46px; height: 34px; }                         /* .hy-chk .hy-thumb, the same size */
.hy-lbl .hy-row-nm { font-size: 14px; white-space: normal; }
.hy-lbl .hy-row-nm small { white-space: normal; overflow: visible; margin-top: 1px; }
.hy-lbl .hy-st { flex: none; font-size: 13px; }
.hy-lbl .btn { flex: none; }
/* the one-tap Place box: the print page's pick row (database-labels-print.html .pl-bpick / .pl-bpick-row), value for value */
.hy-lbl-lines { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; max-height: 50vh; overflow-y: auto; }
.hy-lbl-line { display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 10px 12px; color: #ddd; font: inherit; cursor: pointer; }
.hy-lbl-line:hover { border-color: #188796; }
.hy-lbl-line b { font-size: 14px; color: #fff; }
.hy-lbl-line span { font-size: 12px; color: #8a9396; margin-left: auto; flex: none; }
@media (max-width: 600px) { .hy-lbl { flex-wrap: wrap; } .hy-lbl .hy-row-nm { flex-basis: calc(100% - 60px); } .hy-lbl .hy-st { margin-right: auto; } }
