:root {
  --ink: #24312d;
  --muted: #65706c;
  --paper: #f8f7f2;
  --card: #fffefa;
  --line: #dfe5df;
  --sage: #557267;
  --sage-dark: #3f5d52;
  --sage-soft: #e7efea;
  --amber: #e0ad59;
  --amber-soft: #fff3d9;
  --danger: #a54f4b;
  --shadow: 0 8px 24px rgba(54, 76, 67, .07);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.45; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(224, 173, 89, .85); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.app-shell { min-height: 100vh; padding-bottom: 88px; }
.topbar { display: flex; align-items: center; gap: 18px; padding: 18px clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgba(248,247,242,.95); position: sticky; top: 0; z-index: 4; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sage-dark); font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--sage); }
.topbar-household { color: var(--muted); margin-left: auto; font-size: .94rem; }
.page { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 38px 0 48px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.85rem, 4vw, 2.7rem); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 0; }
h2 { font-size: 1.08rem; letter-spacing: -.015em; margin-bottom: 0; }
h3 { font-size: .98rem; margin-bottom: 0; }
.eyebrow, .category-label { text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; color: var(--muted); font-weight: 750; margin-bottom: 7px; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 680px; }
.muted, .fine-print, small { color: var(--muted); }
.fine-print { font-size: .8rem; }
.welcome-row { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 26px; }
.phase-switch { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #eeeee8; box-shadow: 0 3px 12px rgba(54,76,67,.05); }
.phase-switch button { min-height: 38px; padding: 7px 13px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.phase-switch button:hover { color: var(--sage-dark); }
.phase-switch button.is-active { color: #fff; background: var(--sage); box-shadow: 0 3px 10px rgba(63,93,82,.2); }
.phase-badge, .status-pill, .owner-pill, .attention-label, .count-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 5px 10px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.phase-badge { color: var(--sage-dark); background: var(--sage-soft); }
.status-pill { background: #f0f1ed; color: var(--muted); }
.owner-pill { padding: 4px 9px; background: var(--sage-soft); color: var(--sage-dark); }
.owner-mom { background: #f2eaf0; color: #765669; }
.owner-shared { background: #f3ecd9; color: #795e30; }
.attention-label { color: #845c19; background: var(--amber-soft); }
.count-badge, .attention-count { color: #845c19; background: var(--amber-soft); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 0 0 24px; box-shadow: var(--shadow); }
.card-heading, .section-heading, .day-heading, .inventory-top, .project-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.progress-line { height: 8px; border-radius: 99px; background: #ebeeea; overflow: hidden; margin: 16px 0 8px; }
.progress-line span { display: block; height: 100%; background: var(--sage); border-radius: inherit; }
.progress-copy { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
.mini-task { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); }
.mini-check { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; color: transparent; }
.mini-check.done { color: #fff; background: var(--sage); border-color: var(--sage); }
.attention-block { padding: 5px 0 8px; margin-bottom: 20px; }
.attention-block .section-heading { margin-bottom: 11px; }
.attention-block .task-card { border-color: #eedbb7; }
.task-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin: 12px 0 26px; }
.group-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; margin: 0 0 8px 4px; }
.task-card { background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 13px 13px 13px 10px; display: flex; align-items: flex-start; gap: 11px; min-height: 84px; box-shadow: 0 3px 12px rgba(54,76,67,.04); }
.task-card + .task-card { margin-top: 9px; }
.task-card.is-complete { opacity: .7; }
.task-check { flex: 0 0 42px; }
.check-button, .list-check { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: transparent; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.check-button:hover, .list-check:hover, .check-button.checked, .list-check.checked { color: #fff; background: var(--sage); border-color: var(--sage); }
.task-copy { min-width: 0; flex: 1; }
.task-copy h3 { margin: 2px 0 6px; }
.task-copy p { font-size: .83rem; color: var(--muted); margin: 9px 0 0; }
.task-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .76rem; color: var(--muted); }
.task-actions { position: relative; }
.task-actions summary { list-style: none; cursor: pointer; color: var(--muted); font-size: .75rem; padding: 5px; }
.task-actions summary::-webkit-details-marker { display: none; }
.action-menu { position: absolute; right: 0; top: 30px; min-width: 170px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); z-index: 3; }
.action-menu button, .action-menu a { display: block; padding: 8px 9px; background: none; border: 0; text-decoration: none; width: 100%; text-align: left; color: var(--ink); font-size: .83rem; }
.action-menu button:hover, .action-menu a:hover { background: var(--sage-soft); border-radius: 6px; }
.shortcut-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.shortcut-card { display: flex; flex-direction: column; gap: 4px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #f5f6f1; text-decoration: none; }
.shortcut-card:hover, .project-card:hover { border-color: var(--sage); transform: translateY(-1px); }
.shortcut-card span { font-size: 1.4rem; color: var(--sage); }
.shortcut-card small { font-size: .8rem; }
.accomplishment-inline, .shift-hero { display: flex; align-items: center; gap: 14px; }
.sparkle { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; color: #966d2b; background: var(--amber-soft); font-size: 1.25rem; }
.accomplishment-inline p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.bottom-nav { position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; padding: 8px max(10px, calc((100% - 620px) / 2)); background: rgba(255,254,250,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav-item { flex: 1; max-width: 120px; text-align: center; text-decoration: none; color: var(--muted); font-size: .72rem; padding: 5px; border-radius: 10px; }
.nav-item.is-active { color: var(--sage-dark); background: var(--sage-soft); font-weight: 750; }
.nav-icon { display: block; font-size: 1.2rem; line-height: 1.2; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 750; font-size: .9rem; }
.button-primary { background: var(--sage); color: #fff; }
.button-primary:hover { background: var(--sage-dark); }
.button-secondary { background: var(--sage-soft); color: var(--sage-dark); }
.button-quiet { background: transparent; border-color: var(--line); color: var(--muted); }
.text-link, .text-button { color: var(--sage-dark); text-decoration: none; font-size: .84rem; font-weight: 750; }
.text-button { border: 0; background: transparent; padding: 8px 0; }
.flash { padding: 12px 15px; border-radius: 11px; margin: 0 0 18px; font-size: .9rem; }
.flash-success { color: #315f4f; background: var(--sage-soft); }
.flash-success { position: relative; overflow: hidden; animation: shared-win-arrive .55s ease-out both; }
.flash-success::after { content: '✦'; position: absolute; right: 14px; top: 50%; color: var(--amber); opacity: .75; transform: translateY(-50%); }
.flash-info { color: #765b29; background: var(--amber-soft); }
.flash-error { color: #813f3b; background: #fae9e7; }
.shift-strip { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 16px; background: var(--sage-soft); color: var(--sage-dark); font-size: .82rem; }
.shift-strip a { margin-left: 8px; font-weight: 750; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.day-stack { display: grid; gap: 10px; }
.day-card { border: 1px solid var(--line); border-radius: 15px; padding: 16px 18px; background: var(--card); }
.day-heading h2 { margin: 0; }
.day-row { display: flex; gap: 11px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0ec; font-size: .88rem; }
.row-icon { width: 25px; color: var(--sage); }
.empty-copy { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
.side-note { border-left: 3px solid var(--amber); padding: 12px 0 12px 16px; color: var(--muted); align-self: start; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input:first-of-type { flex: 1 1 220px; }
input, select, textarea { width: 100%; border: 1px solid #cbd6d0; border-radius: 9px; padding: 11px 12px; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--sage); }
label { display: grid; gap: 6px; color: var(--muted); font-size: .86rem; font-weight: 650; }
.list-section { margin-top: 22px; }
.list-row { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #edf0ec; padding: 9px 0; }
.list-row > div { flex: 1; }
.list-check { width: 34px; height: 34px; border-radius: 9px; }
.icon-button { background: none; border: 0; color: var(--muted); font-size: 1.25rem; min-width: 34px; min-height: 34px; }
.picked-up { margin-top: 18px; color: var(--muted); }
.picked-up summary { cursor: pointer; font-weight: 750; }
.inventory-grid, .project-grid, .accomplishment-grid, .meal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 22px 0 30px; }
.inventory-card, .project-card, .accomplishment-card, .meal-card { border: 1px solid var(--line); border-radius: 15px; padding: 17px; background: var(--card); }
.inventory-card.is-low { border-color: #eedbb7; background: #fffdf7; }
.inventory-card h2, .project-card h2 { margin: 13px 0 8px; }
.quantity { font-size: .92rem; color: var(--muted); }
.quantity strong { color: var(--ink); font-size: 1.35rem; }
.quantity-input { display: flex; align-items: center; gap: 8px; }
.quantity-input input { max-width: 130px; }
.inventory-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.inventory-actions .lead { margin-bottom: 0; }
.inventory-sections { display: grid; gap: 28px; margin: 24px 0 30px; }
.inventory-section .section-heading { align-items: end; margin-bottom: 8px; }
.inventory-section .eyebrow { margin-bottom: 3px; }
.inventory-section .inventory-grid { margin: 0; }
.check-row { display: flex; grid-template-columns: none; align-items: center; gap: 8px; }
.check-row input { width: auto; }
.stack-form { display: grid; gap: 16px; max-width: 680px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 5px; }
.note-box { border-left: 3px solid var(--amber); background: var(--amber-soft); padding: 11px 13px; margin: 18px 0; border-radius: 0 8px 8px 0; color: #765b29; }
.history-list, .visit-list { display: grid; gap: 8px; }
.history-row, .visit-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 11px 0; }
.visit-row > div { flex: 1; }
.visit-row p { margin: 4px 0 0; font-size: .84rem; }
.policy-list { padding-left: 21px; color: var(--muted); }
.policy-list li { padding: 4px 0; }
.meal-card form { display: grid; gap: 8px; margin-top: 14px; }
.meal-card .text-button { justify-self: start; }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card p { font-size: .85rem; color: var(--muted); min-height: 42px; }
.project-card small { font-size: .78rem; }
.project-steps { display: grid; gap: 9px; margin-top: 24px; max-width: 760px; }
.project-step { display: flex; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); text-align: left; }
.project-step span { display: grid; gap: 3px; }
.project-step small { font-size: .82rem; }
.project-step.is-done { background: var(--sage-soft); }
.project-step.is-done strong { text-decoration: line-through; color: var(--muted); }
.readiness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 22px 0 30px; }
.readiness-card { display: block; border: 1px solid var(--line); border-radius: 15px; padding: 17px; background: var(--card); text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.readiness-card:hover { border-color: var(--sage); transform: translateY(-1px); }
.readiness-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.readiness-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--sage-dark); background: var(--sage-soft); font-size: 1.25rem; }
.readiness-card h2 { margin: 14px 0 8px; }
.readiness-card p { color: var(--muted); font-size: .86rem; min-height: 50px; }
.readiness-card small { font-size: .78rem; }
.readiness-source { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin: 14px 0 9px; }
.readiness-source .text-link { margin-left: auto; }
.readiness-item-list { display: grid; gap: 9px; margin-top: 22px; max-width: 820px; }
.readiness-item { display: flex; gap: 11px; align-items: flex-start; padding: 13px 13px 13px 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); box-shadow: 0 3px 12px rgba(54,76,67,.04); }
.readiness-item.is-done { background: var(--sage-soft); }
.readiness-item.is-parked { background: #fbfaf6; border-style: dashed; }
.readiness-item-copy { flex: 1; min-width: 0; }
.readiness-item-copy h3 { margin: 2px 0 6px; }
.readiness-item-copy p { color: var(--muted); font-size: .84rem; margin: 9px 0 0; }
.readiness-category { color: var(--muted); }
.parked-pill { padding: 3px 8px; border-radius: 999px; color: #765b29; background: var(--amber-soft); font-size: .68rem; font-weight: 750; }
.readiness-item-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 5px; }
.readiness-dashboard { padding: clamp(18px, 3vw, 30px); overflow: hidden; background: linear-gradient(145deg, #fffefa 0%, #fcfcf7 65%, #f4f7f2 100%); }
.prep-guidance-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(340px, 1.04fr); gap: clamp(20px, 3vw, 34px); align-items: stretch; }
.prep-overview { display: grid; align-content: start; gap: 17px; min-width: 0; }
.readiness-pulse { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 21px; }
.readiness-pulse h2 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); margin: 0 0 8px; }
.readiness-pulse-copy { color: var(--muted); max-width: 590px; margin-bottom: 0; }
.readiness-pulse-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.readiness-ring { position: relative; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--sage) 0deg var(--ring-angle), #e8ede9 var(--ring-angle) 360deg); animation: ring-arrive .55s ease-out both; }
.readiness-ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--card); }
.readiness-ring-center { position: relative; display: grid; place-items: center; line-height: 1.1; text-align: center; }
.readiness-ring-center strong { color: var(--sage-dark); font-size: 1.55rem; letter-spacing: -.04em; }
.readiness-ring-center span { color: var(--muted); font-size: .7rem; margin-top: 4px; }
.readiness-ring-large { width: 132px; height: 132px; }
.prep-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.timeline-stat { display: grid; align-content: center; min-height: 66px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.62); }
.timeline-stat-wide { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; gap: 11px; }
.timeline-stat strong, .timeline-stat small { display: block; }
.timeline-stat strong { font-size: .83rem; }
.timeline-stat small { font-size: .7rem; }
.calendar-week { display: grid; place-items: center; min-width: 72px; min-height: 38px; padding: 6px 10px; border-radius: 11px; color: #fff; background: var(--sage); font-size: .78rem; font-weight: 800; }
.timeline-empty { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px; border: 1px dashed #cbd6d0; border-radius: 13px; background: rgba(255,255,255,.55); }
.timeline-empty strong, .timeline-empty small { display: block; }
.timeline-empty small { margin-top: 3px; font-size: .75rem; }
.prep-focus { min-width: 0; padding: 19px; border: 1px solid #cad8d0; border-radius: 17px; background: rgba(231,239,234,.62); }
.prep-focus-copy { color: var(--muted); font-size: .8rem; margin: -3px 0 12px; }
.focus-list { display: grid; gap: 8px; }
.focus-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 66px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.focus-item > form { line-height: 0; }
.focus-item-copy { min-width: 0; }
.focus-item strong, .focus-item small { display: block; }
.focus-item strong { font-size: .84rem; line-height: 1.3; }
.focus-item small { margin-top: 3px; font-size: .71rem; }
.focus-item > a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--sage-dark); text-decoration: none; }
.focus-item > a:hover { background: var(--sage-soft); }
.focus-check { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #bdccc4; border-radius: 11px; color: var(--sage); background: #fff; font-size: 1rem; font-weight: 800; }
.focus-check:hover { color: #fff; border-color: var(--sage); background: var(--sage); }
.focus-snooze { margin-top: 6px; }
.focus-snooze > summary { display: inline-flex; list-style: none; cursor: pointer; color: var(--sage-dark); font-size: .7rem; font-weight: 750; }
.focus-snooze > summary::-webkit-details-marker, .task-picker > summary::-webkit-details-marker, .parked-tray > summary::-webkit-details-marker { display: none; }
.focus-popover { margin-top: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcf8; }
.focus-popover form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.3; }
.focus-popover button { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--sage-dark); background: #fff; font-size: .68rem; font-weight: 750; }
.focus-popover label { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .68rem; }
.focus-popover input { width: 132px; padding: 5px 7px; }
.deck-controls { display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.task-picker, .parked-tray { position: relative; flex: 1 1 190px; }
.task-picker > summary, .parked-tray > summary { min-height: 38px; display: flex; align-items: center; justify-content: center; padding: 8px 11px; border: 1px solid #bdccc4; border-radius: 11px; cursor: pointer; color: var(--sage-dark); background: rgba(255,255,255,.72); font-size: .75rem; font-weight: 800; }
.task-picker[open] > summary, .parked-tray[open] > summary { border-color: var(--sage); background: var(--card); }
.task-picker-panel, .parked-list { display: grid; gap: 7px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 9px 24px rgba(54,76,67,.09); }
.task-picker-panel > p { margin: 0 0 3px; color: var(--muted); font-size: .72rem; }
.task-picker-panel form { line-height: normal; }
.task-picker-panel button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px; border: 0; border-radius: 9px; color: inherit; background: #f8faf7; text-align: left; }
.task-picker-panel button:hover { background: var(--sage-soft); }
.task-picker-panel strong, .task-picker-panel small, .parked-list strong, .parked-list small { display: block; }
.task-picker-panel strong, .parked-list strong { font-size: .75rem; }
.task-picker-panel small, .parked-list small { margin-top: 2px; font-size: .66rem; }
.parked-list > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px; border-bottom: 1px solid var(--line); }
.parked-list > div:last-child { border-bottom: 0; }
.readiness-ring-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 10px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 21px; }
.readiness-ring-item { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; color: inherit; }
.readiness-ring-item:hover { background: var(--sage-soft); }
.readiness-ring-small { width: 54px; height: 54px; }
.readiness-ring-small::before { inset: 6px; }
.readiness-ring-small .readiness-ring-center strong { font-size: .72rem; }
.readiness-ring-item strong, .readiness-ring-item small { display: block; }
.readiness-ring-item strong { font-size: .82rem; }
.readiness-ring-item small { color: var(--muted); font-size: .72rem; margin-top: 3px; }
.nest-stage { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; color: #765b29; background: var(--amber-soft); }
.nest-stage-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--amber); font-size: 1.05rem; }
.nest-stage > span:last-child { display: grid; line-height: 1.25; }
.nest-stage small { color: #876931; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; font-style: normal; }
.nest-stage strong { font-size: .9rem; }
.nest-stage em { color: #876931; font-size: .75rem; font-style: normal; }
.nest-progress-panel { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 11px; align-items: center; }
.nest-art { position: relative; width: 94px; height: 70px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #edf4ef, #fff9e9); }
.nest-bowl { position: absolute; left: 17px; right: 17px; bottom: 13px; height: 25px; border: 6px solid #a47b43; border-top: 0; border-radius: 0 0 50% 50%; transform: skewX(-5deg); }
.nest-bowl::before, .nest-bowl::after { content: ''; position: absolute; left: -8px; width: 70px; height: 4px; border-radius: 999px; background: #bf965e; transform: rotate(8deg); }
.nest-bowl::before { top: 2px; transform: rotate(-8deg); }
.nest-bowl::after { top: 10px; }
.nest-leaf { position: absolute; bottom: 21px; color: var(--sage); font-size: .8rem; opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.nest-leaf-one { left: 21px; transform: rotate(-24deg) translateY(4px); }
.nest-leaf-two { right: 20px; transform: rotate(26deg) translateY(4px); }
.nest-egg { position: absolute; bottom: 25px; width: 13px; height: 17px; border-radius: 50% 50% 45% 45%; background: #f1d5a0; box-shadow: inset -3px -3px 0 rgba(150,109,43,.11); opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.nest-egg-one { left: 35px; }
.nest-egg-two { right: 33px; background: #d7e6df; }
.nest-sun { position: absolute; top: 7px; right: 10px; color: var(--amber); opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .35s ease; }
.nest-art-stage-2 .nest-leaf, .nest-art-stage-3 .nest-leaf, .nest-art-stage-4 .nest-leaf { opacity: 1; transform: translateY(0) rotate(0); }
.nest-art-stage-3 .nest-egg, .nest-art-stage-4 .nest-egg { opacity: 1; transform: translateY(0); }
.nest-art-stage-4 .nest-sun { opacity: 1; transform: scale(1); animation: nest-spark 1.8s ease-in-out infinite; }
.stage-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 0; margin: 0; list-style: none; }
.stage-journey li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 6px; min-width: 0; color: var(--muted); }
.stage-journey li::after { content: ''; position: absolute; left: 24px; right: -6px; top: 12px; height: 2px; background: var(--line); z-index: 0; }
.stage-journey li:last-child::after { display: none; }
.stage-journey li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 50%; background: var(--card); font-size: .65rem; font-weight: 800; }
.stage-journey li strong { position: relative; z-index: 1; overflow: hidden; font-size: .65rem; line-height: 1.15; }
.stage-journey li.is-current { color: var(--sage-dark); }
.stage-journey li.is-current > span { color: #fff; border-color: var(--sage); background: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }
.stage-journey li.is-complete { color: var(--sage-dark); }
.stage-journey li.is-complete > span { color: #fff; border-color: var(--sage); background: var(--sage); }
.stage-journey li.is-complete::after { background: var(--sage); }
.next-steps { margin: 22px -30px 0; padding: 22px 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(231,239,234,.43); }
.next-steps-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 12px; }
.next-steps-heading .eyebrow { margin-bottom: 3px; }
.next-step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.next-step-list > a, .next-step-list > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 66px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; color: inherit; background: var(--card); text-decoration: none; }
.next-step-list > a:hover { border-color: var(--sage); transform: translateY(-1px); }
.next-step-list strong, .next-step-list small { display: block; }
.next-step-list strong { font-size: .82rem; line-height: 1.3; }
.next-step-list small { margin-top: 3px; font-size: .7rem; }
.next-step-check { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #cbd6d0; border-radius: 9px; color: var(--sage); }
.readiness-complete { grid-column: 1 / -1 !important; grid-template-columns: auto 1fr !important; }
.readiness-dashboard-sections { margin: 24px 0 0; }
.readiness-dashboard-intro { color: var(--muted); font-size: .9rem; margin: 8px 0 14px; }
.readiness-dashboard-area { border: 1px solid var(--line); border-radius: 15px; background: rgba(255,254,250,.9); margin-top: 9px; overflow: hidden; }
.readiness-dashboard-area > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 17px; cursor: pointer; list-style: none; }
.readiness-dashboard-area > summary::-webkit-details-marker { display: none; }
.readiness-dashboard-area > summary:hover { background: #fbfcf8; }
.readiness-area-summary { display: flex; align-items: center; gap: 11px; min-width: 0; }
.readiness-summary-icon { display: grid; place-items: center; flex: 0 0 37px; width: 37px; height: 37px; border-radius: 11px; color: var(--sage-dark); background: var(--sage-soft); font-size: 1.15rem; }
.readiness-area-summary strong, .readiness-area-summary small { display: block; }
.readiness-area-summary strong { font-size: .98rem; }
.readiness-area-summary small { color: var(--muted); font-size: .78rem; margin-top: 3px; }
.readiness-area-count { color: var(--sage-dark); font-size: .78rem; font-weight: 750; white-space: nowrap; }
.readiness-dashboard-area[open] { border-color: #c8d7cf; box-shadow: 0 5px 18px rgba(54,76,67,.06); }
.readiness-dashboard-area[open] > summary { background: var(--sage-soft); }
.readiness-dashboard-area-body { border-top: 1px solid var(--line); padding: 0 17px 17px; }
.readiness-area-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 13px; color: var(--muted); font-size: .8rem; }
.readiness-dashboard-area .readiness-item-list { margin-top: 13px; max-width: none; }
.readiness-dashboard-area .readiness-item { box-shadow: none; }
.readiness-more { margin-top: 11px; }
.readiness-more > summary { display: inline-flex; cursor: pointer; color: var(--sage-dark); font-size: .82rem; font-weight: 750; }
.readiness-more[open] > summary { margin-bottom: 2px; }
.readiness-more .readiness-item-list { margin-top: 10px; }
.full-plan-link { display: flex; justify-content: center; padding-top: 16px; }
.rhythm-dashboard { padding: clamp(18px, 3vw, 30px); overflow: hidden; background: linear-gradient(145deg, #fffefa, #f6f4fb); }
.rhythm-hero { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 25px; }
.rhythm-hero h2 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); margin-bottom: 8px; }
.rhythm-hero p:last-child { color: var(--muted); max-width: 620px; margin-bottom: 0; }
.rhythm-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.rhythm-ring-item { display: flex; align-items: center; gap: 10px; padding: 10px; }
.rhythm-ring-item strong, .rhythm-ring-item small { display: block; }
.rhythm-ring-item strong { font-size: .84rem; }
.rhythm-ring-item small { margin-top: 3px; font-size: .72rem; }
.rhythm-dashboard .next-steps { margin-bottom: -30px; }
.shared-win-card { border-color: #ead9af; background: linear-gradient(135deg, var(--card), #fffbef); }
@keyframes ring-arrive { from { opacity: .4; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes shared-win-arrive { from { opacity: .55; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nest-spark { 0%, 100% { transform: scale(.9) rotate(-8deg); } 50% { transform: scale(1.15) rotate(8deg); } }
.accomplishment-card { display: flex; gap: 13px; }
.accomplishment-card h2 { margin-top: 3px; }
.accomplishment-card p { color: var(--muted); font-size: .87rem; margin: 8px 0; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 46px 20px; border: 1px dashed #cbd6d0; border-radius: 16px; color: var(--muted); }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at top left, #e7efea, transparent 42%), var(--paper); }
.auth-card { width: min(450px, 100%); padding: clamp(25px, 6vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.auth-kicker { color: var(--sage); text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 750; margin-bottom: 14px; }
.auth-card h1 { margin-bottom: 12px; }
.auth-card .lead { margin-bottom: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.copy-fallback { position: fixed; inset: auto 16px 92px; z-index: 7; background: #fff; }
@media (min-width: 761px) and (max-width: 1180px) {
  .page { width: calc(100% - 32px); padding-top: 26px; }
  .page-heading { margin-bottom: 16px; }
  .welcome-row { align-items: center; margin-bottom: 18px; }
  .welcome-row .lead, .welcome-row .muted { margin-bottom: 3px; }
  .readiness-dashboard { padding: 21px; }
  .prep-guidance-grid { grid-template-columns: minmax(0, .88fr) minmax(330px, 1.12fr); gap: 20px; }
  .readiness-pulse { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .readiness-ring-large { width: 112px; height: 112px; }
  .readiness-ring-large::before { inset: 9px; }
  .readiness-ring-center strong { font-size: 1.35rem; }
  .prep-timeline { gap: 7px; }
  .timeline-stat { padding: 9px 10px; min-height: 60px; }
  .prep-focus { padding: 16px; }
  .focus-item { min-height: 61px; padding: 9px 10px; }
  .readiness-ring-list { margin-top: 20px; padding-top: 17px; }
  .readiness-dashboard-sections { margin-top: 20px; }
  .task-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topbar { padding: 14px 16px; }
  .topbar-household { display: none; }
  .page { width: min(100% - 24px, 680px); padding-top: 28px; }
  .page-heading { margin-bottom: 15px; }
  .task-groups, .shortcut-row, .inventory-grid, .project-grid, .accomplishment-grid, .meal-grid, .readiness-grid { grid-template-columns: 1fr; }
  .shortcut-row { gap: 8px; }
  .shortcut-card { display: grid; grid-template-columns: 28px 1fr; align-items: center; padding: 12px; }
  .shortcut-card span { grid-row: span 2; }
  .shortcut-card small { grid-column: 2; }
  .split-grid { grid-template-columns: 1fr; }
  .welcome-row { align-items: stretch; flex-direction: column; gap: 11px; margin-bottom: 18px; }
  .welcome-row .lead, .welcome-row .muted { margin-bottom: 2px; }
  .phase-switch { width: 100%; }
  .phase-switch button { white-space: normal; }
  .prep-guidance-grid, .readiness-pulse, .rhythm-hero { grid-template-columns: 1fr; justify-items: stretch; gap: 18px; }
  .prep-focus { order: 1; }
  .prep-overview { order: 2; }
  .readiness-pulse { grid-template-columns: 104px minmax(0, 1fr); align-items: center; }
  .readiness-ring-large { width: 118px; height: 118px; }
  .readiness-pulse .readiness-ring-large { width: 104px; height: 104px; }
  .readiness-pulse .readiness-ring-center strong { font-size: 1.25rem; }
  .timeline-empty { align-items: stretch; flex-direction: column; }
  .prep-focus { padding: 15px; }
  .nest-progress-panel { grid-template-columns: 82px minmax(0, 1fr); }
  .nest-art { width: 82px; }
  .stage-journey { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .stage-journey li:nth-child(2)::after { display: none; }
  .deck-controls { display: grid; grid-template-columns: 1fr; }
  .readiness-ring-list { grid-template-columns: 1fr; gap: 3px; }
  .readiness-ring-item { padding-left: 0; }
  .next-steps { margin-left: -18px; margin-right: -18px; padding: 20px 18px; }
  .next-step-list, .rhythm-rings { grid-template-columns: 1fr; }
  .rhythm-ring-item { padding-left: 0; }
  .rhythm-dashboard .next-steps { margin-bottom: -18px; }
  .readiness-dashboard-area > summary { align-items: flex-start; }
  .readiness-area-count { padding-top: 3px; }
  .readiness-area-summary small { max-width: 205px; }
  .side-note { border-left: 0; border-top: 3px solid var(--amber); padding: 12px 0; }
  .shift-strip { justify-content: flex-start; flex-wrap: wrap; }
  .shift-strip a { margin-left: 0; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .week-nav strong { order: -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
