:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --primary: #1d4ed8;
  --primary-active: #1e40af;
  --accent: #2563eb;
  --error: #b91c1c;
  --error-bg: #fee2e2;
  --success-bg: #ecfdf5;
  --warn-bg: #fffbeb;
  --border: #d1d5db;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  padding: 24px;
}

h1 {
  font-size: 22px;
  margin: 0;
}

h2 {
  font-size: 16px;
  margin: 28px 0 10px;
}

.admin-muted {
  color: var(--muted);
  font-size: 14px;
}

.admin-error {
  color: var(--error);
  background: var(--error-bg);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  margin: 12px 0;
}

.admin-success {
  color: #047857;
  background: var(--success-bg);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  margin: 12px 0;
}

/* --- Login card: narrow, centered, matches the operator app's look --- */
.admin-card {
  width: 100%;
  max-width: 380px;
  margin: 10vh auto 0;
  background: var(--card);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-top: 4px solid var(--accent);
}

.admin-card h1 {
  text-align: center;
}

.admin-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
  text-align: center;
}

.admin-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 6px;
  color: var(--muted);
}

.admin-card input {
  width: 100%;
  font-size: 18px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Employee Number field on the login card: fixed "EMP-" prefix outside the
   input, same pattern (and same reasoning -- keeps inputmode="numeric"
   usable) as the operator app's login screen. */
.input-with-prefix {
  display: flex;
  align-items: stretch;
}

.input-prefix {
  display: flex;
  align-items: center;
  padding: 0 4px 0 12px;
  font-size: 18px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  white-space: nowrap;
}

.input-with-prefix input {
  border-radius: 0 8px 8px 0;
}

/* --- Main admin panel: wide, table-oriented --- */
.admin-panel {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 12px;
  padding: 24px 28px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-reset-pin {
  padding: 16px 16px 4px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 18px;
}

.admin-reset-pin h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.admin-reset-pin .admin-filters {
  background: none;
  padding: 0;
  margin-bottom: 0;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  padding: 16px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 18px;
}

.admin-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-filter-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-filter-field input,
.admin-filter-field textarea,
.admin-filter-field select {
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 160px;
  font-family: inherit;
}

.admin-filter-actions {
  display: flex;
  gap: 8px;
}

button {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.admin-btn-primary {
  background: var(--primary);
  color: white;
}
.admin-btn-primary:active { background: var(--primary-active); }
.admin-btn-primary:disabled { background: var(--border); cursor: not-allowed; }

/* Login form button: full-width to match the inputs above it (which
   centers it in the card) with breathing room from the PIN field. */
.admin-card button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 20px;
}

.admin-btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.admin-btn-secondary:disabled { color: var(--muted); cursor: not-allowed; }

.admin-btn-small {
  font-size: 13px;
  padding: 8px 12px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}

.admin-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--bg);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  white-space: normal;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr.admin-row-clickable {
  cursor: pointer;
}
.admin-table tbody tr.admin-row-clickable:hover {
  background: var(--bg);
}

.admin-status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.admin-status-pass { background: var(--success-bg); color: #047857; }
.admin-status-safe { background: var(--warn-bg); color: #b45309; }
.admin-status-unsafe { background: var(--error-bg); color: var(--error); }

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.admin-pagination-buttons {
  display: flex;
  gap: 8px;
}

.admin-detail-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 24px;
  margin: 14px 0 8px;
  padding: 16px;
  background: var(--bg);
  border-radius: 10px;
}

.admin-detail-summary .field-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 2px;
}

.admin-detail-summary .field-value {
  font-size: 15px;
  font-weight: 600;
}

.brand-logo {
  display: block;
  max-width: 160px;
  max-height: 48px;
  object-fit: contain;
}

.admin-card .brand-logo {
  max-width: 180px;
  max-height: 64px;
  margin: 0 auto 16px;
}

.admin-header-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- Dashboard shell: sidebar nav + content area (added for the admin
   dashboard rebuild -- Overview/Equipment/Inspections/Maintenance &
   Service/Deficiencies/Return to Service/Employees). Overrides the
   single-centered-card body padding used by the login screen and the
   pre-rebuild single-panel layout. --- */
body:has(#admin-shell:not([hidden])) {
  padding: 0;
}

/* Employees screen: standalone top-level module, full-width content page
   like .admin-content but without the equipment-module sidebar. */
body:has(#employees-screen:not([hidden])) {
  padding: 0;
}

#employees-screen {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}

#employees-screen .admin-view-header h1 {
  text-align: left;
}

/* Mobilizations shell: standalone top-level module (moved out of the
   equipment-module shell), but laid out the same as admin-shell -- a
   sidebar nav of its own (Overview/Active/History/Haul Combinations/
   Reassign) rather than the single-column Employees treatment. */
body:has(#mobilizations-shell:not([hidden])) {
  padding: 0;
}

#mobilizations-shell {
  min-height: 100vh;
  align-items: stretch;
}

#mobilizations-shell:not([hidden]) {
  display: flex;
}

/* Permits shell: standalone top-level module (Phase 4.5), same layout
   pattern as Admin/Mobilizations -- sidebar nav + content area. Missing
   until now, which meant #permits-shell fell back to normal block
   stacking (no display:flex), pushing .admin-content below the
   100vh-tall sticky .admin-sidebar -- i.e. rendered content existed in
   the DOM but sat one full viewport height below the fold. */
body:has(#permits-shell:not([hidden])) {
  padding: 0;
}

#permits-shell {
  min-height: 100vh;
  align-items: stretch;
}

#permits-shell:not([hidden]) {
  display: flex;
}

/* Rentals shell: standalone top-level module, same layout as Permits. */
body:has(#rentals-shell:not([hidden])) {
  padding: 0;
}

#rentals-shell {
  min-height: 100vh;
  align-items: stretch;
}

#rentals-shell:not([hidden]) {
  display: flex;
}

/* Projects shell: standalone top-level module, same layout as Rentals. */
body:has(#projects-shell:not([hidden])) {
  padding: 0;
}

#projects-shell {
  min-height: 100vh;
  align-items: stretch;
}

#projects-shell:not([hidden]) {
  display: flex;
}

/* Settings shell: standalone admin-only screen, same layout as Projects. */
body:has(#settings-shell:not([hidden])) {
  padding: 0;
}

#settings-shell {
  min-height: 100vh;
  align-items: stretch;
}

#settings-shell:not([hidden]) {
  display: flex;
}

.admin-table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

#employees-table-body .admin-checkbox-label {
  display: flex !important;
}

#employees-table-body td {
  vertical-align: top;
}

#employees-table-body input[type="text"],
#employees-table-body input[type="email"],
#employees-table-body input[type="tel"] {
  width: 100%;
  min-width: 110px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

#admin-shell {
  min-height: 100vh;
  align-items: stretch;
}

#admin-shell:not([hidden]) {
  display: flex;
}

.admin-sidebar {
  width: 240px;
  flex: 0 0 240px;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.admin-app-name {
  font-weight: 700;
  font-size: 16px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 10px;
  flex: 1;
}

.admin-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.admin-nav-item:hover {
  background: var(--bg);
}

.admin-nav-item.admin-nav-active {
  background: var(--primary);
  color: white;
}

.admin-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.admin-content {
  flex: 1;
  min-width: 0;
  padding: 28px 32px 48px;
}

.admin-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-view-header h1 {
  font-size: 22px;
}

/* Narrow viewports: sidebar becomes a horizontally-scrollable top bar
   instead of a fixed left column, so the dashboard stays usable on a
   tablet in the shop without a full off-canvas-drawer build. */
@media (max-width: 860px) {
  #admin-shell,
  #mobilizations-shell,
  #rentals-shell,
  #projects-shell,
  #settings-shell {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    flex: 0 0 auto;
    height: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 12px;
    overflow-x: auto;
  }
  .admin-sidebar-brand {
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .admin-nav {
    flex-direction: row;
    padding: 0;
    flex: 0 0 auto;
  }
  .admin-nav-item {
    white-space: nowrap;
  }
  .admin-sidebar-footer {
    flex-direction: row;
    align-items: center;
    border-top: none;
    margin-top: 0;
    padding: 0;
    flex: 0 0 auto;
  }
  .admin-content {
    padding: 20px 16px 40px;
  }
}

/* --- Overview stat cards --- */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.admin-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  border-left: 4px solid var(--border);
}

.admin-stat-card:hover {
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.admin-stat-card .admin-stat-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.admin-stat-card .admin-stat-label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.admin-stat-card-ok { border-left-color: var(--success); }
.admin-stat-card-warn { border-left-color: var(--warning, #b45309); }
.admin-stat-card-danger { border-left-color: var(--error); }

/* --- Status badges shared by Equipment / Maintenance & Service (same
   green/yellow/red language as the field app's service item tiles). --- */
.admin-status-ok { background: var(--success-bg); color: #047857; }
.admin-status-due_soon { background: var(--warn-bg); color: #b45309; }
.admin-status-overdue,
.admin-status-not_set { background: var(--error-bg); color: var(--error); }
.admin-status-none { background: var(--bg); color: var(--muted); }
.admin-status-active { background: var(--success-bg); color: #047857; }
.admin-status-out-of-service { background: var(--error-bg); color: var(--error); }

.admin-checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: var(--text) !important;
}

.admin-checkbox-label input {
  width: auto;
}

/* --- Module home screen (shown right after login, before a module is
   picked) and the sidebar's "All Modules" back-link. Tiles reuse the
   same card/button visual language as the login screen and stat cards
   so this reads as one consistent app, not a bolted-on landing page. */
.admin-home {
  max-width: 620px;
}

.admin-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.admin-module-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 16px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: center;
}

.admin-module-tile:hover:not(:disabled) {
  border-color: var(--accent);
  background: white;
}

.admin-module-tile:disabled,
.admin-module-tile-soon {
  cursor: default;
  color: var(--muted);
  opacity: 0.75;
}

.admin-module-tile-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
}

.admin-home-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.admin-nav-home-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 0 10px 10px;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.admin-nav-home-btn:hover {
  background: var(--bg);
  color: var(--text);
}

@media (max-width: 860px) {
  .admin-nav-home-btn {
    width: auto;
    margin: 0;
    flex: 0 0 auto;
  }
}

/* ===== Deficiency photo gallery modal ===== */
/* This modal starts out hidden via the HTML `hidden` attribute (see
   deficiency-photos-modal in admin.html), which the browser's own default
   stylesheet implements as plain `display: none`. That default-stylesheet
   rule has the same specificity as this class selector, and an author
   rule always wins a tie against the user-agent stylesheet regardless of
   source order -- so without an explicit [hidden] override here, this
   modal rendered as a visible flex overlay on every page load no matter
   what the `hidden` attribute said, and toggling `.hidden = true` in JS
   (openDeficiencyPhotosModal/closeDeficiencyPhotosModal in admin.js) had
   no visible effect either, since display: flex kept winning. */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.admin-modal-overlay[hidden] {
  display: none;
}

.admin-modal {
  background: white;
  border-radius: 10px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.admin-modal-close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.admin-photo-grid-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.admin-photo-grid-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.admin-photo-grid-item .admin-photo-caption {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 8px 8px;
}

.admin-photo-stage-badge {
  display: inline-block;
  margin: 6px 8px 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-photo-stage-reported {
  background: #fef3c7;
  color: #92400e;
}

.admin-photo-stage-repair {
  background: #dcfce7;
  color: #15803d;
}

.admin-photo-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.admin-subheading {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 6px;
}

/* Text-style button under the login form ("First time here? ...") */
.admin-btn-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--primary, #1a56db);
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
  padding: 8px;
  cursor: pointer;
}
.admin-btn-link:disabled { color: var(--muted); cursor: not-allowed; }

/* Home-screen tile for a module this employee has no access to. Same
   graying as :disabled, plus no hover highlight. */
.admin-module-tile-locked {
  cursor: not-allowed;
  color: var(--muted);
  opacity: 0.55;
}

/* Display-only field (e.g. Current Job on Reassign to Job). */
.admin-readonly-input {
  background: var(--card);
  color: var(--muted);
  cursor: default;
}

/* Question editor (Equipment > Questions, Safety > Item Types) */
.admin-filter-field textarea { min-width: 260px; resize: vertical; }
.q-form { margin-top: 12px; }
.q-form .admin-filter-field.q-wide { flex: 1 1 320px; }
.q-form .admin-filter-field.q-wide textarea,
.q-form .admin-filter-field.q-wide input { width: 100%; box-sizing: border-box; }
.q-inactive { opacity: 0.55; }
.q-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 12px 0; }

/* The hidden attribute must always win over component display rules
   (.admin-filters, .admin-filter-field, .admin-nav-item all set display). */
[hidden] { display: none !important; }

/* Service Setup: per-unit plan editor */
.svc-num {
  width: 84px;
}

.svc-row-off td {
  opacity: 0.55;
}

.svc-row-off td:first-child,
.svc-row-off td:last-child {
  opacity: 1;
}

#svc-plan-editor .admin-filter-actions {
  margin-top: 12px;
  align-items: center;
}

/* Settings > Branding */
.br-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 8px 0 12px; }
.br-logo-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.br-logo-card h3 { margin: 0; font-size: 1rem; }
.br-logo-preview { min-height: 96px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border); border-radius: 8px; padding: 12px; background: repeating-conic-gradient(#f3f4f6 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.br-logo-preview img { max-width: 100%; max-height: 80px; }
.br-logo-preview-tall img { max-height: 120px; }
.br-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 16px; margin-bottom: 8px; }
.br-fields textarea { width: 100%; font: inherit; }

/* Settings > Notifications */
.nt-sub { margin: 24px 0 8px; font-size: 1.05rem; }
.nt-types { display: grid; gap: 14px; }
.nt-card { border: 1px solid var(--admin-border, #e5e7eb); border-radius: 10px; padding: 14px 16px; background: #fff; }
.nt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nt-card-head h3 { margin: 0; font-size: 1rem; }
.nt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.nt-chip { display: inline-flex; align-items: center; gap: 4px; background: #f3f4f6; border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 0.9rem; }
.nt-chip-off { opacity: 0.6; }
.nt-chip-x { border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 6px; }
.nt-add { display: flex; gap: 8px; align-items: center; }
.nt-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 4px 12px; }
.nt-card .admin-filter-field { margin-top: 10px; }
.nt-preview-out { margin-top: 8px; }
.nt-card input[type="checkbox"] { width: auto; flex: none; margin: 0; }
.nt-roles .admin-checkbox-label { justify-content: flex-start; text-align: left; }
#nt-types-note { margin: 8px 0 12px; }
.nt-status { margin-left: 8px; }
.nt-card .admin-filter-field input[type="checkbox"], .nt-card input[type="checkbox"] { width: auto !important; min-width: 0; flex: none; margin: 0; }
.nt-report-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #e5e7eb; }
.nt-report-out {  background: #f3f4f6; border-radius: 8px; padding: 12px; margin-top: 10px; font-size: 0.85rem; max-height: 360px; overflow: auto; }
#nt-schedule { margin-bottom: 14px; }
