/* ==============================================================
   Household — blueprint design system

   Ported from design_system/. The exported artboards depended on a
   _ds/industry-… bundle that wasn't included, so the token palette and
   primitives below are reconstructed: light values inferred from the dark
   set in app.css, primitives from the inline styles the artboards used.

   Dark is a deliberate palette, not an inversion: cooler ground, lighter
   steel accent, hairlines instead of shadow.
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;

  --font-heading: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;

  --color-bg:      #f4f4f2;
  --color-surface: #ffffff;
  --color-text:    #1a1d21;
  --color-accent:  #3d6485;
  --color-divider: color-mix(in srgb, #1a1d21 15%, transparent);

  --color-neutral-100:#eceeef; --color-neutral-200:#dfe2e4; --color-neutral-300:#c8cdd1;
  --color-neutral-400:#a7aeb4; --color-neutral-500:#868e95; --color-neutral-600:#6b737a;
  --color-neutral-700:#4c545b; --color-neutral-800:#2f353b; --color-neutral-900:#1a1d21;

  --color-accent-100:#eaf0f6; --color-accent-200:#d6e2ee; --color-accent-300:#b3c9de;
  --color-accent-400:#8aabc9; --color-accent-500:#5f88ab; --color-accent-600:#4a7095;
  --color-accent-700:#3d6485; --color-accent-800:#2c4a63; --color-accent-900:#1d2d3d;

  --shadow-sm: 0 1px 2px rgba(26,29,33,.07);
  --shadow-md: 0 4px 14px rgba(26,29,33,.10);
  --shadow-lg: 0 16px 40px rgba(26,29,33,.16);

  --pos: #3d7a58;  --pos-fill: #e4efe8;  --pos-line: #b6d3c3;
  --neg: #a8503f;  --neg-fill: #f4e6e3;
  --warn: #8a6100; --warn-fill: #fbf1de;
  --hero-bg: #1d2d3d; --hero-fg: #f2f2f3;
  --grid: color-mix(in srgb, var(--color-text) 5%, transparent);

  --nav-h: 0px;
}

[data-theme="dark"] {
  color-scheme: dark;

  --color-bg:      #15181c;
  --color-surface: #1c2126;
  --color-text:    #e4e7ea;
  --color-accent:  #8fb4d9;
  --color-divider: color-mix(in srgb, #ffffff 15%, transparent);

  --color-neutral-100:#262b30; --color-neutral-200:#2f353b; --color-neutral-300:#3a4147;
  --color-neutral-400:#4c545b; --color-neutral-500:#6b737a; --color-neutral-600:#8b9299;
  --color-neutral-700:#a9b0b6; --color-neutral-800:#cfd4d8; --color-neutral-900:#eceef0;

  --color-accent-100:#1f2c38; --color-accent-200:#26384a; --color-accent-300:#35516b;
  --color-accent-400:#4a6d8c; --color-accent-500:#6b93b8; --color-accent-600:#a6c5e3;
  --color-accent-700:#c2d9ef; --color-accent-800:#d5e6f7; --color-accent-900:#e8f2fb;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow-md: 0 4px 14px rgba(0,0,0,.45);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.55);

  --pos: #79bd9a;  --pos-fill: #1a2a22;  --pos-line: #2f5343;
  --neg: #e0998b;  --neg-fill: #2c1f1c;
  --warn: #e0a83c; --warn-fill: #2a2113;
  --hero-bg: #2b4159; --hero-fg: #eaf1f8;
  --grid: color-mix(in srgb, #ffffff 5%, transparent);
}

/* ---------------------------------------------------------- base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  padding-bottom: var(--nav-h);
}
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 600; letter-spacing: .01em; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
::placeholder { color: color-mix(in srgb, var(--color-text) 40%, transparent); opacity: 1; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }

/* Hide the Day tab by default — JS shows it only when enabled. */
#tabs button[data-tab="day"] { display: none; }

/* ---------------------------------------------------------- primitives */
/* Hairline panel with tick marks at each corner — the signature of the system. */
.blueprint { position: relative; border: 1px solid var(--color-divider); }
.corner { position: absolute; width: 7px; height: 7px; pointer-events: none; border: 0 solid var(--color-accent); }
.corner.tl { top: -1px; left: -1px;    border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: -1px; right: -1px;   border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: -1px; right: -1px;border-bottom-width: 1px; border-right-width: 1px; }

/* min-width: 0 overrides the default "automatic minimum size" that both
   flex and grid items get — without it, a card holding something wide
   (a table with many columns) refuses to shrink below that content's
   width, which grows the whole .stack/.grid2 track and pushes the page
   into horizontal scroll instead of the card's own overflow-x kicking in. */
.card { background: var(--color-surface); display: flex; flex-direction: column;
  padding: 18px; gap: 12px; min-width: 0; }
.card-kicker {
  font-family: var(--font-heading); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.card-title { font-family: var(--font-heading); font-weight: 600; font-size: 19px; letter-spacing: .01em; }
.elev-md { box-shadow: var(--shadow-md); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 500; letter-spacing: .04em;
  padding: 9px 16px; cursor: pointer; border-radius: 0;
  background: transparent; color: var(--color-text);
  border: 1px solid var(--color-divider);
  transition: border-color .13s ease, background .13s ease, color .13s ease;
}
.btn:hover { border-color: var(--color-accent); }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); border-color: var(--color-accent-600); }
.btn-secondary { background: var(--color-surface); }
.btn-icon { padding: 0; width: 34px; height: 34px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, label {
  font-family: var(--font-heading); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.input, input, select, textarea {
  width: 100%; height: 38px; padding: 0 11px; border-radius: 0;
  border: 1px solid var(--color-divider); background: var(--color-surface);
  color: var(--color-text); font-family: var(--font-body); font-size: 14px;
}
textarea { height: auto; padding: 9px 11px; }
input[type="checkbox"] { width: auto; height: auto; accent-color: var(--color-accent); }
.input:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}
select { appearance: none; padding-right: 26px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

/* ---------------------------------------------------------- chrome */
header { position: sticky; top: 0; z-index: 30; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); }
.bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 26px; padding: 0 32px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand .mark { width: 18px; height: 18px; border: 1px solid var(--color-accent); display: grid; place-items: center; }
.brand .mark i { width: 6px; height: 6px; background: var(--color-accent); display: block; }
.brand .name { font-family: var(--font-heading); font-weight: 600; font-size: 17px; letter-spacing: .2em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 26px; }
nav button {
  display: flex; align-items: center; gap: 7px; background: none; border: 0;
  border-bottom: 2px solid transparent; padding: 6px 2px; cursor: pointer;
  font-family: var(--font-heading); font-size: 14px; letter-spacing: .04em;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
nav button:hover { color: var(--color-text); }
nav button[aria-selected="true"] { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.thswitch { display: flex; border: 1px solid var(--color-divider); }
.th-opt { background: transparent; color: inherit; border: 0; padding: 0; width: 30px; height: 30px;
  display: grid; place-items: center; cursor: pointer; }
.th-opt + .th-opt { border-left: 1px solid var(--color-divider); }
.th-sun { background: var(--color-accent); color: var(--color-bg); }
[data-theme="dark"] .th-sun { background: transparent; color: inherit; }
[data-theme="dark"] .th-moon { background: var(--color-accent); color: var(--color-bg); }
.th-opt:hover { background: color-mix(in srgb, var(--color-accent) 22%, transparent); }

.who { display: flex; align-items: center; gap: 8px; }
.who .initial { width: 30px; height: 30px; border: 1px solid var(--color-divider); display: grid;
  place-items: center; font-family: var(--font-heading); font-size: 13px; letter-spacing: .06em; }

main { max-width: 1240px; margin: 0 auto; padding: 26px 32px 40px; }
section[hidden] { display: none; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------------------------------------------------------- hero balance */
.hero { background: var(--hero-bg); color: var(--hero-fg); padding: 24px 26px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero .sq { width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--hero-fg) 45%, transparent);
  font-family: var(--font-heading); font-size: 20px; letter-spacing: .06em; }
.hero .sq.on { background: color-mix(in srgb, var(--hero-fg) 14%, transparent); }
.hero .kicker { font-family: var(--font-heading); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: color-mix(in srgb, var(--hero-fg) 70%, transparent); }
.hero .who-owes { font-family: var(--font-heading); font-size: 21px; font-weight: 500; }
.hero .amount { font-family: var(--font-heading); font-size: clamp(38px, 6vw, 54px);
  font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.hero .actions { margin-left: auto; display: flex; flex-direction: column; gap: 9px; }
.hero .btn { color: var(--hero-fg); border-color: color-mix(in srgb, var(--hero-fg) 40%, transparent); }
.hero .btn.solid { background: var(--hero-fg); color: var(--hero-bg); border-color: var(--hero-fg); }
.hero .btn:disabled { opacity: .45; }

/* ---------------------------------------------------------- data rows */
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.kv + .kv { border-top: 1px solid var(--color-divider); }
.kv .v { font-weight: 600; color: var(--color-text); }
.kv.total { font-family: var(--font-heading); font-weight: 600; color: var(--color-text); }

/* Ranked magnitude: one hue, length carries the value, every row labelled. */
.barrow { padding: 9px 0; }
.barrow + .barrow { border-top: 1px solid var(--color-divider); }
.barrow .lab { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.barrow .lab b { font-weight: 600; }
.track { height: 6px; background: var(--color-neutral-200); }
.track > i { display: block; height: 100%; background: var(--color-accent); transition: width .3s ease; }
.track.good > i { background: var(--pos); }
.track.short > i { background: var(--warn); }
.count { font-family: var(--font-heading); font-size: 10px; letter-spacing: .1em;
  border: 1px solid var(--color-divider); padding: 0 5px; margin-left: 6px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent); }

/* ---------------------------------------------------------- tables */
/* Every .card is display:flex, and flex items default to min-width:auto —
   they refuse to shrink below their content's intrinsic width. That let a
   wide table push the whole flex item wider instead of scrolling inside
   itself, which pushed the entire page into horizontal scroll on mobile. */
.tablewrap { overflow-x: auto; min-width: 0; max-width: 100%; }
/* Transaction list has its own mobile layout (see the 720px breakpoint
   below) — a sideways-scrolling table with ten columns is unusable on a
   phone, so under that width this card list replaces it entirely while
   desktop keeps the table unchanged. Hidden here so it doesn't flash before
   the media query applies. */
.tx-cards { display: none; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 9px 11px; white-space: nowrap; }
th { font-family: var(--font-heading); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  border-bottom: 1px solid var(--color-divider); }
td { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  color: color-mix(in srgb, var(--color-text) 80%, transparent); }
td:first-child, td:nth-child(2) { color: var(--color-text); }
td.num, th.num { text-align: right; }
tbody tr:hover { background: color-mix(in srgb, var(--color-accent) 6%, transparent); }
tbody tr.dupe { opacity: .45; }
.empty { padding: 28px 12px; text-align: center;
  color: color-mix(in srgb, var(--color-text) 50%, transparent); }

.pill { display: inline-block; font-family: var(--font-heading); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px;
  border: 1px solid var(--color-divider); }
.pill.p1 { color: var(--color-accent); border-color: var(--color-accent); }
.pill.p2 { color: var(--pos); border-color: var(--pos-line); }
.pill.joint { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }

select.inline { height: 30px; border-color: transparent; background: transparent;
  font-size: 13px; min-width: 130px; padding-left: 6px; }
select.inline:hover { border-color: var(--color-divider); background: var(--color-surface); }

/* ---------------------------------------------------------- chips, notices */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font-family: var(--font-heading); font-size: 13px; letter-spacing: .02em;
  padding: 6px 13px; border: 1px solid var(--color-divider);
  background: var(--color-bg); color: var(--color-text); cursor: pointer; }
.chips button:hover { border-color: var(--color-accent); color: var(--color-accent); }

.notice { display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px;
  border: 1px solid; font-size: 13.5px; line-height: 1.5; }
.notice > span:first-child { flex: none; }
.notice.privacy { background: var(--pos-fill); border-color: var(--pos-line); color: var(--pos); }
.notice.warn { background: var(--warn-fill); border-color: color-mix(in srgb, var(--warn) 40%, transparent); color: var(--warn); }
.notice strong { display: block; margin-bottom: 2px; }
.notice code { border: 1px solid currentColor; padding: 0 4px; font-size: .92em; }

/* Reminders for events and chores coming up — visible on every tab, not just
   Calendar. Collapsed to one banner that opens a dropdown, rather than a
   stack of cards pushing the whole page down when there are several due at
   once. */
#reminderBar { max-width: 1240px; margin: 0 auto; padding: 14px 32px 0; }
.reminder-wrap { position: relative; display: inline-block; }
.reminder-toggle {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--warn-fill); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  color: var(--warn); font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  padding: 9px 14px; border-radius: 20px;
}
.reminder-toggle:hover { border-color: var(--warn); }
.reminder-chev { transition: transform .15s ease; flex: none; }
.reminder-toggle[aria-expanded="true"] .reminder-chev { transform: rotate(180deg); }
.reminder-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  width: min(380px, 85vw); max-height: 60vh; overflow-y: auto;
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22); padding: 8px; display: flex; flex-direction: column; gap: 6px;
}
.reminder-panel[hidden] { display: none; }
.reminder-panel .notice { justify-content: space-between; align-items: center; border-radius: 6px; }
.reminder-panel .notice button { flex: none; background: none; border: none; cursor: pointer;
  color: inherit; opacity: .6; font-size: 14px; padding: 2px 6px; }
.reminder-panel .notice button:hover { opacity: 1; }

/* Month grid. Three layers of the same flex/grid "automatic minimum size"
   trap as the tables elsewhere: the bare 1fr columns sized themselves to
   the widest cell's content instead of the container; .cal-day is both a
   grid item AND a flex column, so it also refused to shrink; .cal-chip is
   a flex item inside that column, so IT also refused to shrink — and
   without a real width to truncate against, its text-overflow:ellipsis
   never had anything to do. min-width:0 at all three levels fixes it. */
.cal-day { background: var(--color-surface); min-height: 92px; padding: 6px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; }
.cal-day:hover { background: var(--color-neutral-100); }
.cal-day.out { background: var(--color-bg); color: color-mix(in srgb, var(--color-text) 40%, transparent); }
.cal-day.today .cal-day-num { background: var(--color-accent); color: var(--color-bg);
  border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.cal-day.selected { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.cal-day-num { font-size: 13px; font-weight: 500; }
.cal-day-head { background: var(--color-neutral-100); padding: 6px; text-align: center;
  font-family: var(--font-heading); font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.cal-chip { font-size: 11px; padding: 1px 5px; background: var(--color-accent-100);
  color: var(--color-accent); border-radius: 3px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; min-width: 0; max-width: 100%; }

.drop { border: 1px dashed var(--color-divider); padding: 38px 20px; text-align: center;
  background: var(--color-accent-100); cursor: pointer;
  color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.drop:hover, .drop.over { border-color: var(--color-accent); color: var(--color-accent); }
.drop strong { display: block; font-family: var(--font-heading); font-size: 16px;
  color: var(--color-text); margin-bottom: 4px; }

.toast { position: fixed; bottom: calc(20px + var(--nav-h)); left: 50%; transform: translateX(-50%);
  background: var(--hero-bg); color: var(--hero-fg); padding: 11px 20px;
  font-family: var(--font-heading); font-size: 13.5px; letter-spacing: .03em;
  box-shadow: var(--shadow-lg); z-index: 60; max-width: 90vw; }
.toast.err { background: var(--neg); color: #fff; }

/* ---------------------------------------------------------- sign in */
.lock { min-height: 80vh; display: grid; place-items: center; padding: 48px 20px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px; }
.lockbox { width: 100%; max-width: 392px; display: flex; flex-direction: column; gap: 20px; }
.lockbox .logo { display: flex; align-items: center; gap: 12px; justify-content: center; }
.lockbox .logo .mark { width: 22px; height: 22px; border: 1px solid var(--color-accent);
  display: grid; place-items: center; }
.lockbox .logo .mark i { width: 8px; height: 8px; background: var(--color-accent); display: block; }
.lockbox .logo .name { font-family: var(--font-heading); font-weight: 600; font-size: 22px;
  letter-spacing: .22em; text-transform: uppercase; line-height: 1; }
.lockbox .panel { background: var(--color-bg); padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 18px; }
.lockbox .eyebrow { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }

/* ---------------------------------------------------------- print */
.print-only { display: none; }
@media print {
  @page { size: letter portrait; margin: 14mm 13mm; }
  :root { --color-bg:#fff; --color-surface:#fff; --color-text:#000;
          --color-divider:#c9c9c9; --nav-h:0px; }
  body { background: #fff; font-size: 10.5pt; padding: 0; }
  header, nav, .toast, #quickCard, #healthWarnings, .thswitch,
  button, .chips, #monthPickRow, .drop, form { display: none !important; }
  main { max-width: none; padding: 0; }
  .print-only { display: block; }
  .print-head { border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 16px;
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .print-head h1 { font-size: 15pt; }
  .print-head .meta { font-size: 9pt; color: #555; }
  .card, .blueprint { break-inside: avoid; }
  .hero { background: #fff !important; color: #000 !important; border: 1px solid #000; }
  .hero .sq { border-color: #000; }
  thead { display: table-header-group; }
  tr { break-inside: avoid; }
  .track > i { background: #1d2d3d !important; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grid3, .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .bar { padding: 0 16px; gap: 12px; height: 56px; }
  main { padding: 18px 16px 32px; }
  #reminderBar { padding: 12px 16px 0; }
  .reminder-panel { width: min(380px, calc(100vw - 32px)); }
  .brand .name { font-size: 15px; letter-spacing: .16em; }

  /* Transactions: a ten-column table forces sideways scrolling on a phone,
     so this swaps to one card per transaction — same data, same edit/save
     flow (events delegate from #txList, which wraps both), just stacked
     instead of columnar. Desktop keeps the table untouched. */
  #txTableWrap { display: none; }
  .tx-cards { display: flex; flex-direction: column; gap: 10px; }
  .tx-card {
    border: 1px solid var(--color-divider); border-radius: 8px; padding: 12px 14px;
    background: var(--color-surface); display: flex; flex-direction: column; gap: 8px; min-width: 0;
  }
  .tx-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .tx-card-merchant { font-weight: 500; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
  .tx-card-amount { font-family: var(--font-heading); font-size: 16px; font-weight: 600; flex: none; }
  .tx-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px;
    color: color-mix(in srgb, var(--color-text) 60%, transparent); }
  .tx-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
  .tx-card-row label { color: color-mix(in srgb, var(--color-text) 55%, transparent);
    font-family: var(--font-heading); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; flex: none; }
  .tx-card-row select, .tx-card-row input { flex: 1 1 auto; min-width: 0; max-width: 62%; }
  .tx-card-split { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px;
    color: color-mix(in srgb, var(--color-text) 70%, transparent);
    padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); }
  .tx-card-actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 2px; }
  .tx-card-actions .btn { flex: 0 0 auto; padding: 6px 12px; font-size: 12.5px; }

  /* Bottom bar: icon above label. A fixed column count breaks the moment a
     tab is added — 4 columns for 7+ tabs wrapped into a second row that ate
     a quarter of the screen. A horizontally-scrolling strip keeps every tab
     reachable in one row at any tab count, at the cost of a swipe for the
     ones off-screen; that trade is the standard mobile pattern once a tab
     bar outgrows ~5 items. */
  nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 0;
    background: var(--color-bg); border-top: 1px solid var(--color-divider);
    padding-bottom: env(safe-area-inset-bottom);
  }
  nav::-webkit-scrollbar { display: none; }
  nav button { flex: 1 0 auto; min-width: 74px; flex-direction: column; gap: 4px;
    padding: 11px 8px; font-size: 11px; white-space: nowrap;
    border-bottom: 0; border-top: 2px solid transparent; margin-top: -1px; justify-content: center; }
  nav button[aria-selected="true"] { border-bottom-color: transparent; border-top-color: var(--color-accent); }
  .hero { gap: 18px; padding: 20px; }
  .hero .actions { margin-left: 0; width: 100%; }
  .hero .btn { width: 100%; }
  .row > * { flex: 1 1 100% !important; }
}

@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }

/* Layout helper used across forms. */
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 150px; min-width: 0; }
.row > .narrow { flex: 0 1 130px; }

/* ==============================================================
   Motion
   Restrained on purpose: this is a drafting-table aesthetic, so things
   settle into place rather than bounce. Everything is short (<400ms),
   eased out, and switched off under prefers-reduced-motion and in print.
   ============================================================== */

@keyframes riseIn  { from { opacity: 0; transform: translateY(7px); } }
@keyframes fadeIn  { from { opacity: 0; } }
@keyframes tickIn  { from { opacity: 0; transform: scale(.4); } }
@keyframes barGrow { from { transform: scaleX(0); } }
@keyframes sheen   { to { background-position: 200% 0; } }

/* Panels settle in, lightly staggered so the eye reads them in order. */
section:not([hidden]) > .stack > *,
section:not([hidden]) > .stack > .grid2 > *,
section:not([hidden]) > .stack > .grid3 > *,
section:not([hidden]) > .grid2 > * {
  animation: riseIn .34s cubic-bezier(.2, .7, .3, 1) both;
}
.stack > *:nth-child(1), .grid2 > *:nth-child(1), .grid3 > *:nth-child(1) { animation-delay: .02s; }
.stack > *:nth-child(2), .grid2 > *:nth-child(2), .grid3 > *:nth-child(2) { animation-delay: .06s; }
.stack > *:nth-child(3), .grid2 > *:nth-child(3), .grid3 > *:nth-child(3) { animation-delay: .10s; }
.stack > *:nth-child(4), .grid2 > *:nth-child(4) { animation-delay: .14s; }
.stack > *:nth-child(5), .grid2 > *:nth-child(5) { animation-delay: .18s; }
.stack > *:nth-child(n+6) { animation-delay: .22s; }

/* Switching tabs re-runs the entrance, since [hidden] toggles display. */
section:not([hidden]) { animation: fadeIn .18s ease-out both; }

/* The corner ticks are the signature of this system — let them draw on. */
.corner { animation: tickIn .3s ease-out both; }
.corner.tl { animation-delay: .10s; } .corner.tr { animation-delay: .15s; }
.corner.bl { animation-delay: .20s; } .corner.br { animation-delay: .25s; }

/* Bars sweep from the left. scaleX keeps the inline width untouched. */
.track > i { transform-origin: left center; animation: barGrow .5s cubic-bezier(.2,.7,.3,1) both; }
.barrow:nth-child(1) .track > i { animation-delay: .05s; }
.barrow:nth-child(2) .track > i { animation-delay: .10s; }
.barrow:nth-child(3) .track > i { animation-delay: .15s; }
.barrow:nth-child(4) .track > i { animation-delay: .20s; }
.barrow:nth-child(n+5) .track > i { animation-delay: .25s; }

/* Rows arriving in a table shouldn't just appear. */
tbody tr { animation: fadeIn .22s ease-out both; }

/* Controls get a little physical feedback. */
.btn { transition: border-color .13s ease, background .13s ease, color .13s ease, transform .08s ease; }
.btn:active { transform: translateY(1px); }
.chips button { transition: all .14s ease; }
.chips button:hover { transform: translateY(-1px); }
nav button { transition: color .14s ease, border-color .14s ease; }
.kv, .barrow { transition: background .14s ease; }

/* A figure that is still counting up reads as "working", not "stuck". */
.counting { background: linear-gradient(90deg,
    currentColor 0%, color-mix(in srgb, currentColor 55%, transparent) 50%, currentColor 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: sheen 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
}
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .track > i { transform: none !important; }
}

/* ---------------------------------------------------------- sortable columns */
th.sortable { cursor: pointer; user-select: none; position: relative; padding-right: 20px; }
th.sortable:hover { color: var(--color-accent); }
/* Idle columns show a faint marker on hover only, so the header stays quiet. */
th.sortable::after {
  content: '↕'; position: absolute; right: 7px; opacity: 0;
  font-size: 11px; transition: opacity .12s ease;
}
th.sortable:hover::after { opacity: .45; }
th.sortable[data-dir]         { color: var(--color-accent); }
th.sortable[data-dir]::after  { opacity: 1; }
th.sortable[data-dir="asc"]::after  { content: '↑'; }
th.sortable[data-dir="desc"]::after { content: '↓'; }
th.sortable:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* ==============================================================
   Intro
   A drafting sequence: grid, crosshairs, the mark inks itself, the
   wordmark spaces out, then the sheet lifts. ~1.1s, once per session,
   and skipped entirely under prefers-reduced-motion.
   ============================================================== */

#intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--color-bg); color: var(--color-accent);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: introGrid .45s ease-out both;
}
@keyframes introGrid { from { opacity: 0; } }

/* Crosshairs sweep in from the edges, the way a drawing is set out. */
.intro-cross { position: absolute; background: var(--color-divider); }
.intro-h { left: 0; right: 0; top: 50%; height: 1px;
  transform: scaleX(0); animation: introSweep .5s cubic-bezier(.3,.7,.3,1) .1s both; }
.intro-v { top: 0; bottom: 0; left: 50%; width: 1px;
  transform: scaleY(0); animation: introSweepV .5s cubic-bezier(.3,.7,.3,1) .16s both; }
@keyframes introSweep  { to { transform: scaleX(1); } }
@keyframes introSweepV { to { transform: scaleY(1); } }

.intro-stack {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  background: var(--color-bg); padding: 26px 34px;
}

/* The square outline draws itself, then the centre fills. */
.intro-box {
  stroke-dasharray: 188; stroke-dashoffset: 188;
  animation: introDraw .6s cubic-bezier(.4,0,.2,1) .28s both;
}
@keyframes introDraw { to { stroke-dashoffset: 0; } }
.intro-dot { transform-origin: center; transform: scale(0);
  animation: introDot .3s cubic-bezier(.2,.9,.3,1) .78s both; }
@keyframes introDot { to { transform: scale(1); } }

/* Letters start tight and settle into the wordmark's real tracking. */
.intro-word {
  font-family: var(--font-heading); font-weight: 600; font-size: 20px;
  text-transform: uppercase; color: var(--color-text);
  letter-spacing: .02em; opacity: 0;
  animation: introWord .55s cubic-bezier(.2,.7,.3,1) .62s both;
}
@keyframes introWord { to { opacity: 1; letter-spacing: .28em; } }

.intro-rule { width: 0; height: 1px; background: var(--color-accent);
  animation: introRule .5s cubic-bezier(.3,.7,.3,1) .82s both; }
@keyframes introRule { to { width: 120px; } }

/* Lifting the sheet away. */
#intro.done { animation: introOut .42s cubic-bezier(.4,0,.2,1) both; pointer-events: none; }
@keyframes introOut { to { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) { #intro { display: none !important; } }
@media print { #intro { display: none !important; } }

/* The wordmark navigates home. */
.brand { cursor: pointer; }
.brand:hover .name { color: var(--color-accent); }
.brand:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }


/* ---------------------------------------------------------- timetable */
.tt-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--color-divider);
}
.tt-row:first-child { border-top: 0; }
.tt-time {
  flex: 0 0 52px; font-family: var(--font-heading); font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.tt-main { flex: 1; display: flex; align-items: baseline; gap: 9px;
  cursor: pointer; text-transform: none; letter-spacing: 0;
  font-family: var(--font-body); font-size: 14px; color: var(--color-text); }
.tt-main input { flex: 0 0 auto; margin: 0; position: relative; top: 2px; }
.tt-title { font-weight: 500; }
.tt-note { font-size: 12px; color: color-mix(in srgb, var(--color-text) 50%, transparent); }
.tt-who { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }

/* Ticked off recedes; earlier-than-now is dimmed but still legible. */
.tt-row.tt-done .tt-title { text-decoration: line-through;
  color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.tt-row.tt-past { opacity: .62; }

/* Handovers are the spine of the day, so they read as rules, not tasks. */
.tt-handover { align-items: center; gap: 10px; padding: 12px 0 10px; }
.tt-handover .tt-line { flex: 0 0 18px; height: 1px; background: var(--color-accent); }
.tt-hand {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-accent);
}
.tt-row.tt-now { background: var(--color-accent-100); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.tt-row.tt-now .tt-hand { font-weight: 600; }

@media (max-width: 720px) {
  .tt-row { flex-wrap: wrap; }
  .tt-who { margin-left: 64px; }
}

/* ---------------------------------------------------------- gantt */
/* One row per activity, labelled, bars on a shared 24-hour track. Colour
   groups the kind of work; identity never rests on it — every row is named,
   carries an initial, and the bar has a tooltip. */
.gantt { --gantt-gutter: 190px; --gantt-tail: 92px; position: relative; font-size: 13px; }
.gantt-head { display: flex; align-items: flex-end; height: 18px; }
.gantt-row { display: flex; align-items: center; height: 24px; }
.gantt-label {
  flex: 0 0 var(--gantt-gutter); padding-right: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 7px;
}
.gantt-label em {
  flex: 0 0 auto; font-style: normal; font-family: var(--font-heading);
  font-size: 10px; font-weight: 600; width: 15px; height: 15px;
  display: grid; place-items: center; border: 1px solid currentColor;
}
.gantt-label em.p1 { color: var(--color-accent); }
.gantt-label em.p2 { color: var(--pos); }

.gantt-track { position: relative; flex: 1; height: 100%; }
.gantt-tick { position: absolute; bottom: 0; transform: translateX(-50%); }
.gantt-tick b {
  font-family: var(--font-heading); font-size: 10px; font-weight: 500;
  letter-spacing: .06em; color: color-mix(in srgb, var(--color-text) 45%, transparent);
}
.gantt-body { position: relative; padding-top: 3px; }
.gantt-grid { position: absolute; top: 0; bottom: 0; width: 1px;
  background: color-mix(in srgb, var(--color-text) 8%, transparent); }
.gantt-now { position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--neg); z-index: 3; }

.gantt-bar { position: absolute; top: 5px; height: 14px; border-radius: 2px; }
.gantt-bar.baby     { background: #1baf7a; }
.gantt-bar.chores   { background: #2a78d6; }
.gantt-bar.personal { background: #eb6834; }
/* The second person's baby blocks are a lighter step of the same hue, so the
   lane still reads as one kind of work. The initial carries who. */
.gantt-bar.baby.p2  { background: #6fd3ae; }
[data-theme="dark"] .gantt-bar.baby     { background: #199e70; }
[data-theme="dark"] .gantt-bar.baby.p2  { background: #35c294; }
[data-theme="dark"] .gantt-bar.chores   { background: #3987e5; }
[data-theme="dark"] .gantt-bar.personal { background: #d95926; }

/* The duration sits after the bar, so short jobs are still legible. */
.gantt-span { flex: 0 0 var(--gantt-tail); text-align: right; padding-left: 10px;
  font-family: var(--font-heading); font-size: 10px; letter-spacing: .05em;
  white-space: nowrap;
  color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.gantt-row.is-done { opacity: .45; }
.gantt-row:hover { background: color-mix(in srgb, var(--color-accent) 6%, transparent); }

.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px;
  font-size: 12px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 11px; height: 11px; display: inline-block; border-radius: 2px; }
.legend .sw.baby { background: #1baf7a; } .legend .sw.chores { background: #2a78d6; }
.legend .sw.personal { background: #eb6834; }
[data-theme="dark"] .legend .sw.baby { background: #199e70; }
[data-theme="dark"] .legend .sw.chores { background: #3987e5; }
[data-theme="dark"] .legend .sw.personal { background: #d95926; }

@media (max-width: 720px) {
  .gantt { --gantt-gutter: 118px; --gantt-tail: 0px; font-size: 12px; }
  .gantt-span { display: none; }
}



/* ---------------------------------------------------------- day toggles */
.days { display: inline-flex; gap: 2px; }
.day {
  width: 22px; height: 24px; padding: 0; cursor: pointer;
  border: 1px solid var(--color-divider); background: var(--color-bg);
  color: color-mix(in srgb, var(--color-text) 45%, transparent);
  font-family: var(--font-heading); font-size: 10px; font-weight: 600;
}
.day.on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.day:hover { border-color: var(--color-accent); }
input.inline { height: 30px; border-color: transparent; background: transparent;
  font-size: 13px; padding-left: 6px; }
input.inline:hover { border-color: var(--color-divider); background: var(--color-surface); }
input.inline:focus { border-color: var(--color-accent); background: var(--color-surface); }

/* ---------------------------------------------------------- setup sections */
/* Money and time management are different jobs; a rule between them beats
   eight cards in a row with no hierarchy. */
.setup-sep { margin: 26px 0 0; padding-top: 22px; border-top: 2px solid var(--color-text); }
.setup-sep:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.setup-sep h2 { font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent); }
.setup-sep p { margin: 5px 0 0; font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.setup-sep + .setup-grid { margin-top: 16px; }

/* Toggle slider for feature enablement. */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px; cursor: pointer;
  border: 1px solid var(--color-divider); background: var(--color-neutral-100);
  border-radius: 4px; user-select: none;
  font-size: 14px;
}
.toggle-row:hover { border-color: var(--color-accent); }
.toggle-label { flex: 1; }
.toggle-slider {
  position: relative; width: 48px; height: 24px;
  border-radius: 12px; background: var(--color-divider);
  transition: background 200ms ease;
}
.toggle-input {
  position: absolute; width: 100%; height: 100%; margin: 0; padding: 0;
  cursor: pointer; appearance: none; background: none; border: none;
  opacity: 0; z-index: 1; pointer-events: auto;
}
.toggle-track {
  position: absolute; inset: 0; border-radius: 12px;
  background: var(--color-divider); transition: background 200ms ease;
  pointer-events: none;
}
.toggle-input:checked ~ .toggle-track { background: var(--color-accent); }
.toggle-thumb {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  background: white; border-radius: 10px;
  transition: transform 200ms ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toggle-input:checked ~ .toggle-thumb { transform: translateX(24px); }

/* ---------------------------------------------------------- lists (Keep-style) */
/* Flat colored cards with rounded corners and a soft shadow — matches Keep's
   actual visual language rather than a literal rotated-paper sticker. Each
   hue is mixed into the current theme's surface color, so it stays correct
   in both light and dark without a second hardcoded palette. */
.list-card {
  border-radius: 10px; border: 1px solid var(--color-divider);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  padding: 16px; transition: box-shadow .15s ease, transform .1s ease;
}
.list-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.list-card[data-color="yellow"] { background: color-mix(in srgb, #f5c518 22%, var(--color-surface)); }
.list-card[data-color="green"]  { background: color-mix(in srgb, #4caf50 20%, var(--color-surface)); }
.list-card[data-color="blue"]   { background: color-mix(in srgb, #42a5f5 20%, var(--color-surface)); }
.list-card[data-color="purple"] { background: color-mix(in srgb, #ab47bc 18%, var(--color-surface)); }
.list-card[data-color="pink"]   { background: color-mix(in srgb, #ec407a 18%, var(--color-surface)); }
.list-card[data-color="red"]    { background: color-mix(in srgb, #ef5350 18%, var(--color-surface)); }

.list-swatches { display: flex; gap: 8px; flex-wrap: wrap; padding: 2px 2px 8px; }
.list-swatch {
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent);
}
.list-swatch:hover { transform: scale(1.15); }
.list-swatch.on { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.list-swatch[data-swatch="default"] { background: var(--color-surface); }
.list-swatch[data-swatch="yellow"] { background: #f5c518; }
.list-swatch[data-swatch="green"] { background: #4caf50; }
.list-swatch[data-swatch="blue"] { background: #42a5f5; }
.list-swatch[data-swatch="purple"] { background: #ab47bc; }
.list-swatch[data-swatch="pink"] { background: #ec407a; }
.list-swatch[data-swatch="red"] { background: #ef5350; }

/* Small icon buttons in the card header — pin, menu trigger, delete. */
.list-icon-btn {
  border: none; background: none; cursor: pointer; flex-shrink: 0;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px; padding: 0;
}
.list-icon-btn:hover { background: color-mix(in srgb, var(--color-text) 8%, transparent); color: var(--color-text); }
.list-icon-btn svg { pointer-events: none; }
.list-icon-btn.on { color: var(--color-accent); }

/* The "⋮" popover: color swatches plus move actions, so the card header
   itself only needs a pin icon and the menu trigger — not a permanent row
   of seven color dots on every single card. */
.list-menu-wrap { position: relative; }
.list-menu {
  position: absolute; top: calc(100% + 4px); right: 0; z-index: 30;
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 10px; width: 176px;
}
.list-menu-label {
  font-family: var(--font-heading); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent);
  padding: 0 2px 4px;
}
.list-menu-action {
  display: block; width: 100%; text-align: left; border: none; background: none;
  cursor: pointer; font-size: 13px; padding: 7px 6px; border-radius: 5px; color: var(--color-text);
}
.list-menu-action:hover { background: color-mix(in srgb, var(--color-text) 8%, transparent); }
.list-menu-divider { height: 1px; background: var(--color-divider); margin: 6px 0; }

.list-section-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent);
  margin: 0 0 10px 2px;
}
.list-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; align-items: start;
}

.list-item-text {
  flex: 1; font-size: 14px; border: none; background: transparent; padding: 2px 0;
  resize: none; overflow: hidden; white-space: pre-wrap; word-break: break-word;
  font-family: inherit; line-height: 1.4;
}
.list-item-text:focus { outline: none; }

/* ---------------------------------------------------------- chores */
.chore-list { display: flex; flex-direction: column; gap: 8px; }
.chore-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--color-divider); border-radius: 8px; background: var(--color-surface);
  min-width: 0;
}
.chore-card.is-done { opacity: .5; }
.chore-card.is-done .chore-title { text-decoration: line-through; }
.chore-card input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--color-accent); }
.chore-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: color-mix(in srgb, var(--color-text) 30%, transparent);
}
.chore-main { flex: 1; min-width: 0; }
.chore-title { font-size: 14px; font-weight: 500; }
.chore-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chore-sched { font-size: 12px; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.chore-del {
  border: none; background: none; cursor: pointer; opacity: .45; font-size: 14px;
  flex: 0 0 auto; padding: 4px;
}
.chore-del:hover { opacity: .85; }
