/* Served directly so the PWA pages need no Vite rebuild on shared hosting. */
.dn-offline { position: fixed; inset: auto 0 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); color: #fff; background: #b42318; font-size: .875rem; font-weight: 600; text-align: center; }
.dn-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.dn-stack { display: grid; gap: .75rem; }
.dn-list { margin: 0; }
.dn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .5rem 0; font-size: .875rem; }
.dn-row + .dn-row { border-top: 1px solid rgb(0 0 0 / .08); }
.dark .dn-row + .dn-row { border-top-color: rgb(255 255 255 / .1); }
.dn-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.dn-muted { color: #6b7280; font-size: .875rem; }
.dark .dn-muted { color: #9ca3af; }
.dn-bullets { margin: 0; padding-left: 1.25rem; list-style: disc; }
.dn-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dn-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.dn-table th, .dn-table td { padding: .625rem .5rem; text-align: center; white-space: nowrap; }
.dn-table th:first-child { text-align: left; white-space: normal; font-weight: 500; }
.dn-table thead th { color: #6b7280; font-weight: 600; }
.dn-table input { width: 1.25rem; height: 1.25rem; }
.dn-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.dn-unread td:first-child { box-shadow: inset 3px 0 0 #d97706; }
.dn-install { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: 1rem; background: #fff; border: 1px solid rgb(0 0 0 / .08); border-radius: .75rem; }
.dark .dn-install { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .1); }
.dn-install[data-dismissible] { margin-top: 1rem; }
.dn-install img { flex: none; border-radius: .625rem; }
.dn-install-text { flex: 1 1 12rem; min-width: 0; font-size: .875rem; }
.dn-install-text p { margin: .125rem 0 0; }
/* The selection checkbox otherwise reserves a column down the whole card, costing a phone an eighth of its width. */
@media (max-width: 767.98px) {
    .ops-deliveries-page .fi-ta-record { position: relative; }
    .ops-deliveries-page .fi-ta-record > .fi-ta-record-checkbox { position: absolute; top: 1rem; right: 1rem; z-index: 1; margin: 0; }
}
[hidden] { display: none !important; }
