/* public/css/checklist.css
   Kiosk checklist styling — sized for finger taps on the 40" panel.
   Colors inherit your app's look where possible; the accent variables
   below are easy to re-point at your existing theme. */

.fhl-container {
  --fhl-ink: #22392F;
  --fhl-soft: #5E6F66;
  --fhl-line: #adb4ae;
  --fhl-chores: #2C4A6E;
  --fhl-groceries: #2C4A6E;
  --fhl-packing: #5B7C99;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  overflow-y: auto;
  touch-action: none;
  user-select: none;
}

.fhl-block { min-width: 0; }
.fhl-chores   { --fhl-accent: var(--fhl-chores); }
.fhl-groceries{ --fhl-accent: var(--fhl-groceries); }
.fhl-packing  { --fhl-accent: var(--fhl-packing); }

/* Side-by-side kid sections when there's room (Chores / Packing) */
.fhl-container:has(.fhl-chores + .fhl-chores),
.fhl-container:has(.fhl-packing + .fhl-packing) {
  flex-direction: row;
  gap: 16px;
}
.fhl-container:has(.fhl-chores + .fhl-chores) .fhl-block,
.fhl-container:has(.fhl-packing + .fhl-packing) .fhl-block {
  flex: 1;
}

.fhl-owner {
  display: inline-block;
  background: var(--fhl-accent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 6px 16px;
  border-radius: 10px 10px 0 0;
}

.fhl-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--fhl-line);
  border-top: 3px solid var(--fhl-accent);
  border-radius: 0 12px 12px 12px;
  background: #d0cfcb;
  overflow: hidden;
}

.fhl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;          /* generous tap target */
  min-height: 52px;
  border-bottom: 1px solid var(--fhl-line);
  font-size: 20px;
  font-weight: 600;
  color: var(--fhl-ink);
  cursor: pointer;
  user-select: none;
}
.fhl-item:last-child { border-bottom: none; }
.fhl-item:active { background: color-mix(in srgb, var(--fhl-accent) 10%, #d0cfcb); }

.fhl-box {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 3px solid var(--fhl-accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.fhl-done .fhl-box { background: var(--fhl-accent); }
.fhl-done .fhl-text {
  color: var(--fhl-soft);
  text-decoration: line-through;
  text-decoration-color: var(--fhl-accent);
  text-decoration-thickness: 2.5px;
}

.fhl-empty {
  padding: 22px 16px;
  color: var(--fhl-soft);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}
.fhl-no-trip { font-size: 22px; padding: 40px 16px; }
.fhl-text {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.3;
}