/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.27_@playwright+test@1.63.0_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.27_@playwright+test@1.63.0_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * MOBILE FIRST, LITERALLY. This app is used standing on a doorstep, one-handed,
 * outdoors, often in bright sun, sometimes wearing gloves. Every decision below
 * follows from that and not from a desktop layout that was later squeezed.
 *
 * ⚠️ Bright white at every OS theme setting, like the rest of the estate. A dark
 * inversion was never approved, and auto-inverting a clinical checklist at 06:00
 * is how a tube label gets misread.
 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #000000;
  --body: #2f2f2f;
  --muted: #616161;
  --line: #dcdcdc;
  --blue: #0a5fc2;
  --red: #c42a3e;
  --green: #075e54;
  --amber: #8a5a00;
  --f: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--f);
  /* Larger than the desktop apps on purpose: outdoors, at arm's length. */
  font-size: 18px; line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
.bar {
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 5; background: #fff;
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 12px 16px; -webkit-border-after: 1px solid var(--line); border-block-end: 1px solid var(--line);
}
.bar strong { color: var(--ink); font-size: 1.05rem; }
main { padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); }
h1 { color: var(--ink); font-size: 1.35rem; margin-block: 0 4px; }
h2 { color: var(--ink); font-size: 1.05rem; margin-block: 24px 8px; }
.lead { color: var(--muted); margin-block: 0 16px; font-size: .95rem; }
.hint { color: var(--muted); font-size: .85rem; -webkit-margin-before: 6px; margin-block-start: 6px; }
a { color: var(--blue); }

/* ── the work list ──────────────────────────────────────────────────────── */
.visit {
  display: block; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; -webkit-margin-after: 12px; margin-block-end: 12px; text-decoration: none; color: inherit;
  background: #fff;
}
.visit[data-current='true'] { border-color: var(--ink); border-width: 2px; }
.visit .when { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.visit .where { color: var(--body); }
.visit .meta { color: var(--muted); font-size: .85rem; -webkit-margin-before: 6px; margin-block-start: 6px; }
.seq {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink);
  color: #fff; font-size: .85rem; font-weight: 700; flex: none;
}
.row { display: flex; gap: 10px; align-items: flex-start; }
.grow { flex: 1 1; min-width: 0; }

/* ── tags and notices ───────────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: .75rem; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.tag-ok { border-color: var(--green); color: var(--green); }
.tag-warn { border-color: var(--amber); color: var(--amber); }
.tag-bad { border-color: var(--red); color: var(--red); }
.notice { border: 1px solid var(--line); border-inline-start-width: 5px; border-radius: 8px; padding: 12px 14px; }
.notice-ok { border-color: var(--green); background: #f2f8f6; }
.notice-warn { border-color: var(--amber); background: #fdf7ec; }
.notice-error { border-color: var(--red); background: #fdf2f4; }

/* ── forms sized for a thumb ────────────────────────────────────────────── */
.field { -webkit-margin-after: 16px; margin-block-end: 16px; }
label { display: block; font-weight: 600; color: var(--ink); -webkit-margin-after: 4px; margin-block-end: 4px; }
input, select, textarea {
  width: 100%; padding: 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
/* ⚠️ 16px minimum on inputs, or iOS Safari zooms the page on focus and the
   collector loses the checklist they were halfway through. */
input, select, textarea { font-size: 17px; }
input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* A checkbox that is genuinely tappable with gloves on. */
.check { display: flex; gap: 12px; align-items: flex-start; -webkit-margin-after: 12px; margin-block-end: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.check input { width: 26px; height: 26px; flex: none; margin: 0; }
.check label { margin: 0; font-weight: 500; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 20px; border-radius: 12px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  text-decoration: none;
  /* ⚠️ Comfortably above the 44px minimum: this is pressed with one thumb,
     in the sun, while holding a cool box. */
  min-height: 56px;
}
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn + .btn { -webkit-margin-before: 10px; margin-block-start: 10px; }

.panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; -webkit-margin-after: 16px; margin-block-end: 16px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; -webkit-border-after: 1px solid var(--line); border-block-end: 1px solid var(--line); }
.kv:last-child { -webkit-border-after: 0; border-block-end: 0; }
.kv span { color: var(--muted); font-size: .9rem; }
.kv strong { color: var(--ink); text-align: end; }
.mono { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
details > summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 10px 0; min-height: 44px; }

/* ── the transport clock ────────────────────────────────────────────────── */
.clock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 6;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  -webkit-border-before: 1px solid var(--line);
          border-block-start: 1px solid var(--line); background: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.clock strong { font-size: 1.35rem; }
.clock[data-state='warn'] { background: #fdf7ec; border-color: var(--amber); }
.clock[data-state='late'] { background: #fdf2f4; border-color: var(--red); }
.clock[data-state='late'] strong { color: var(--red); }

.steps { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.steps li { font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.steps li[aria-current='step'] { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.steps li[data-done='true'] { border-color: var(--green); color: var(--green); }

/* ── day tabs ────────────────────────────────────────────────────────────── */
.days { display: flex; gap: 8px; -webkit-margin-after: 12px; margin-block-end: 12px; flex-wrap: wrap; }
.days a {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); text-decoration: none; font-weight: 600; min-height: 44px;
  display: inline-flex; align-items: center;
}
.days a[data-on='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── personal area ───────────────────────────────────────────────────────── */
.stats { display: grid; grid-gap: 10px; gap: 10px; -webkit-margin-after: 10px; margin-block-end: 10px; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; gap: 4px; background: #fff;
}
.stat-n { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.stat-l { color: var(--muted); font-size: .85rem; }
.plan { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-gap: 6px; gap: 6px; }
.plan li { padding: 8px 0; -webkit-border-after: 1px dashed var(--line); border-block-end: 1px dashed var(--line); }
.plan li:last-child { border: 0; }
.avail-day { -webkit-margin-after: 12px; margin-block-end: 12px; }
.avail-add { -webkit-margin-before: 14px; margin-block-start: 14px; -webkit-padding-before: 14px; padding-block-start: 14px; -webkit-border-before: 1px solid var(--line); border-block-start: 1px solid var(--line); }
.avail-add label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); }
.avail-add .grow { flex: 1 1; }

/* ── top navigation ──────────────────────────────────────────────────────── */
.topnav {
  display: flex; gap: 4px; padding: 8px 12px; overflow-x: auto;
  -webkit-border-after: 1px solid var(--line);
          border-block-end: 1px solid var(--line); background: #fff;
  position: -webkit-sticky;
  position: sticky; inset-block-start: 0; z-index: 5;
  /* Sideways scroll rather than wrapping: a wrapped bar pushes the work list
     below the fold on a narrow phone. */
  scrollbar-width: none;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  flex: 0 0 auto; padding: 10px 16px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 600;
  min-height: 44px; display: inline-flex; align-items: center;
  border: 1px solid transparent; white-space: nowrap;
}
.topnav a:hover { border-color: var(--line); }
.topnav a[data-on='true'] { background: var(--ink); color: #fff; }

/* ── place picker: the list sits directly under the field ────────────────── */
.picker { position: relative; }
.picker input { width: 100%; }
.picker-list {
  position: absolute; inset-inline: 0; inset-block-start: calc(100% + 4px);
  z-index: 30; max-block-size: 19rem; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 28px rgb(0 0 0 / .14); padding: 4px;
}
.picker-note { padding: 8px 10px; margin: 0; }
.picker-group { padding-block: 4px; }
.picker-group-name {
  margin: 0; padding: 6px 10px 2px; font-size: .75rem; font-weight: 700;
  color: var(--muted); letter-spacing: .02em;
}
.picker-item {
  display: flex; flex-direction: column; gap: 2px; inline-size: 100%;
  padding: 10px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; text-align: start; cursor: pointer; min-height: 44px;
}
.picker-item:hover:not(:disabled) { background: #eef4ff; }
.picker-item:disabled { opacity: .4; cursor: default; }
.picker-label { color: var(--ink); font-weight: 600; }
.picker-hint { color: var(--muted); font-size: .8rem; }
.picked {
  justify-content: space-between; align-items: center; gap: 10px;
  -webkit-margin-before: 10px;
          margin-block-start: 10px; padding: 10px; border: 1px solid var(--ink);
  border-radius: 10px; background: #f4f8ff;
}

/* ── segmented control ───────────────────────────────────────────────────── */
.seg { display: flex; gap: 6px; -webkit-margin-after: 10px; margin-block-end: 10px; flex-wrap: wrap; }
.seg button {
  flex: 1 1 auto; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font: inherit; font-weight: 600; cursor: pointer; min-height: 44px;
}
.seg button[data-on='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── chips: a day chosen without a dropdown ──────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; -webkit-margin-after: 12px; margin-block-end: 12px; }
.chips legend { font-size: .85rem; color: var(--muted); padding: 0; -webkit-margin-after: 6px; margin-block-end: 6px; }
.chips button {
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font: inherit; font-weight: 600;
  cursor: pointer; min-height: 44px;
}
.chips button[data-on='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── areas: many, by checkbox ────────────────────────────────────────────── */
.areas { border: 1px solid var(--line); border-radius: 10px; padding: 12px; -webkit-margin-after: 12px; margin-block-end: 12px; }
.areas legend { font-size: .85rem; color: var(--muted); padding-inline: 6px; }
.areas-group {
  margin: 10px 0 4px; font-size: .75rem; font-weight: 700; color: var(--muted);
}
.areas-group:first-of-type { -webkit-margin-before: 0; margin-block-start: 0; }
.areas .check {
  display: flex; gap: 10px; align-items: center; font-weight: 400;
  padding: 8px 0; min-height: 44px; cursor: pointer;
}
.areas .check input { inline-size: auto; min-inline-size: 20px; min-block-size: 20px; }

/* ── settings cards under the personal area ──────────────────────────────── */
.cards { display: grid; grid-gap: 10px; gap: 10px; -webkit-margin-after: 24px; margin-block-end: 24px; }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
.cards a {
  display: flex; flex-direction: column; gap: 4px; padding: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  text-decoration: none; min-height: 64px;
}
.cards a strong { color: var(--ink); }

/* ── the handoff run ─────────────────────────────────────────────────────── */
.centre { -webkit-margin-after: 28px; margin-block-end: 28px; }
.centre-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; -webkit-margin-after: 10px; margin-block-end: 10px;
}
.centre-head h2 { margin-block: 0 2px; }
.centre-clock { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.load {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  -webkit-margin-after: 12px;
          margin-block-end: 12px; background: #fff;
}
.load-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; -webkit-margin-after: 8px; margin-block-end: 8px;
}
.load-row {
  display: flex; gap: 10px; align-items: center; font-weight: 400;
  padding: 10px 0; -webkit-border-after: 1px dashed var(--line); border-block-end: 1px dashed var(--line); min-height: 48px;
  cursor: pointer;
}
.load-row input { inline-size: auto; min-inline-size: 20px; min-block-size: 20px; }
.load-line:last-of-type .load-row { -webkit-border-after: 0; border-block-end: 0; }
.reject {
  display: flex; gap: 8px; align-items: center; font-weight: 400;
  padding: 4px 0 10px; -webkit-margin-start: 30px; margin-inline-start: 30px; color: var(--red);
  font-size: .9rem; min-height: 40px; cursor: pointer;
}
.reject input { inline-size: auto; min-inline-size: 18px; min-block-size: 18px; }
.load label { display: block; -webkit-margin-before: 12px; margin-block-start: 12px; }

/* ── tests to perform ────────────────────────────────────────────────────── */
.tests { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-gap: 6px; gap: 6px; }
.tests li {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); font-weight: 600;
}

