/* Operational laundry overview; scoped to Starowislna's laundry tab. */
.st54-laundry-page { gap: 16px; color: var(--ink); }
.st54-laundry-outlook { padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface2); }
.st54-laundry-outlook.is-shortage { background: rgba(245,158,11,.055); border-color: rgba(217,119,6,.3); }
.st54-laundry-outlook.is-urgent { background: rgba(244,63,94,.055); border-color: rgba(244,63,94,.3); }
.st54-laundry-eyebrow { display: block; margin-bottom: 6px; color: var(--ink2); font-size: 12px; }
.st54-laundry-outlook h3 { margin: 0; font-size: 21px; line-height: 1.35; }
.st54-laundry-outlook p { margin: 7px 0; font-size: 14px; }
.st54-laundry-outlook > small { display: block; margin-top: 10px; color: var(--ink2); font-size: 12px; line-height: 1.5; }
.st54-laundry-shortages { margin-top: 10px; font-size: 13px; }
.st54-laundry-page summary { cursor: pointer; }
.st54-laundry-shortages summary { width: fit-content; text-underline-offset: 3px; }
.st54-laundry-shortages ul { list-style: none; padding: 0; margin: 10px 0 0; max-width: 480px; }
.st54-laundry-shortages li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.st54-laundry-shortages li strong { white-space: nowrap; }
.st54-laundry-locations { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.st54-laundry-location { display: grid; align-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; min-width: 0; background: var(--surface); }
.st54-laundry-location span { font-size: 13px; }
.st54-laundry-location strong { display: block; font-size: 27px; line-height: 1.15; }
.st54-laundry-location small { color: var(--ink2); font-size: 12px; font-weight: 400; }
.st54-laundry-location strong small { font-size: 13px; }
.st54-laundry-location--good { background: rgba(16,185,129,.09); border-color: rgba(16,185,129,.32); }
.st54-laundry-location--warning { background: rgba(245,158,11,.10); border-color: rgba(217,119,6,.34); }
.st54-laundry-location--danger { background: rgba(244,63,94,.10); border-color: rgba(244,63,94,.36); }
.st54-laundry-location--dirty { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st54-laundry-location--dirty > div:first-child { display: grid; gap: 5px; }
.st54-laundry-page .cs-washer-machine { box-sizing: border-box; width: 58px; padding: 6px; gap: 5px; border-radius: 10px; }
.st54-laundry-page .cs-washer-drum { box-sizing: border-box; width: 44px; height: 44px; border-width: 2px; }
.st54-laundry-page .cs-washer-dot { width: 4px; height: 4px; }
.st54-laundry-balance { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--ink2); margin: -7px 0 0; }
.st54-laundry-balance strong { color: var(--ink); }
.st54-laundry-balance.is-mismatch { color: #dc2626; }
.st54-laundry-operations { padding: 2px 0 16px; border-bottom: 1px solid var(--border); }
.st54-laundry-operation-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.st54-laundry-operation-dates { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--ink2); margin-top: 10px; }
.st54-laundry-inventory { min-width: 0; }
.st54-laundry-inventory header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.st54-laundry-inventory h4 { margin: 0; font-size: 16px; }
.st54-laundry-inventory header span { color: var(--ink2); font-size: 12px; }
.st54-laundry-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.st54-laundry-table th, .st54-laundry-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: right; vertical-align: top; font-variant-numeric: tabular-nums; }
.st54-laundry-table th:first-child { width: 34%; text-align: left; font-weight: 400; }
.st54-laundry-table thead th { color: var(--ink2); font-size: 12px; font-weight: 500; }
.st54-laundry-table .is-shelf { background: rgba(124,92,255,.045); color: var(--ink); font-weight: 700; }
.st54-laundry-table tfoot th, .st54-laundry-table tfoot td { border-bottom: 0; font-weight: 700; }
.st54-laundry-mobile { display: none; }
.st54-laundry-fold { border-top: 1px solid var(--border); padding-top: 14px; }
.st54-laundry-fold > summary { font-size: 14px; font-weight: 600; }
.st54-laundry-fold > summary > span { color: var(--ink2); font-weight: 400; font-size: 12px; margin-left: 12px; }
.st54-laundry-fold-content { padding-top: 14px; display: grid; gap: 12px; }
.st54-laundry-profiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.st54-laundry-profiles > div { border: 1px solid var(--border); padding: 12px; border-radius: 10px; font-size: 13px; }
.st54-laundry-profiles p, .st54-laundry-history-note { margin: 6px 0 0; color: var(--ink2); font-size: 12px; line-height: 1.65; }
@media (max-width: 1000px) {
  .st54-laundry-locations { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .st54-laundry-page { gap: 14px; padding: 12px; }
  .st54-laundry-outlook { padding: 14px; }
  .st54-laundry-outlook h3 { font-size: 19px; }
  .st54-laundry-location { padding: 12px; }
  .st54-laundry-location strong { font-size: 25px; }
  .st54-laundry-page .cs-washer-machine { width: 46px; padding: 5px; }
  .st54-laundry-page .cs-washer-drum { width: 34px; height: 34px; }
  .st54-laundry-location > small, .st54-laundry-location--dirty > div > small { font-size: 11px; }
  .st54-laundry-operation-buttons > button { flex: 1 1 100%; min-height: 40px; }
  .st54-laundry-table .st54-laundry-desktop { display: none; }
  .st54-laundry-table th:first-child { width: 70%; }
  .st54-laundry-table th, .st54-laundry-table td { padding: 11px 8px; }
  .st54-laundry-mobile { display: block; margin-top: 5px; font-size: 12px; color: var(--ink2); }
  .st54-laundry-mobile summary { font-weight: 400; }
  .st54-laundry-mobile dl { margin: 8px 0 0; }
  .st54-laundry-mobile dl > div { display: flex; justify-content: space-between; gap: 10px; margin: 5px 0; }
  .st54-laundry-mobile dd { margin: 0; white-space: nowrap; }
  .st54-laundry-fold > summary > span { display: block; margin: 6px 0 0; }
  .st54-laundry-profiles { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .st54-laundry-location--dirty { position: relative; }
  .st54-laundry-location--dirty > div:first-child > small { max-width: 48px; }
  .st54-laundry-location--dirty .cs-washer-machine { position: absolute; right: 8px; bottom: 12px; width: 34px; padding: 3px; gap: 4px; }
  .st54-laundry-location--dirty .cs-washer-drum { width: 26px; height: 26px; }
}
