/* Generated by tools/sync-design.py. Do not edit this copy. */
@font-face { font-family: 'VitaWay Sans'; src: url('fonts/vitaway-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'VitaWay Sans'; src: url('fonts/vitaway-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'VitaWay Sans'; src: url('fonts/vitaway-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* VitaWay foundations. Edit here, then run python3 tools/sync-design.py. */
:root {
  --vw-canvas: #f8faf8;
  --vw-surface: #ffffff;
  --vw-ink: #092a30;
  --vw-muted: #4a6065;
  --vw-action: #256b3a;
  --vw-action-hover: #1b522c;
  --vw-on-action: #ffffff;
  --vw-highlight: #c7ed5a;
  --vw-soft: #edf3e8;
  --vw-story: #a84332;
  --vw-line: #d5dfd8;
  --vw-control-line: #7c9185;
  --vw-focus: #256b3a;
  --vw-radius-control: 6px;
  --vw-radius-card: 12px;
  --vw-shadow: 0 8px 24px rgb(9 42 48 / 6%);
  --vw-font: 'VitaWay Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ink: var(--vw-ink);
  --ink-soft: var(--vw-muted);
  --paper: var(--vw-canvas);
  --white: var(--vw-surface);
  --lime: var(--vw-highlight);
  --lime-soft: var(--vw-soft);
  --coral: var(--vw-story);
  --coral-strong: var(--vw-story);
  --line: var(--vw-line);
  --sans: var(--vw-font);
  --display: var(--vw-font);
}
body { font-family: var(--vw-font); text-rendering: optimizeLegibility; }
button, input, textarea, select { font-family: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:is(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--vw-focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--vw-surface);
}
:is(button, input, select, textarea):disabled { cursor: not-allowed; }
::selection { background: var(--vw-highlight); color: #092a30; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .hero__top, .mobile-contact, .auth-card, .nav-panel, .profile-panel {
    background: var(--vw-surface) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
@media (prefers-contrast: more) {
  :root { --vw-line: #7c9185; --vw-control-line: #4a6065; }
}
@media (forced-colors: active) {
  :is(button, .button, .btn, .primary, .ghost, input, select, textarea) { border: 1px solid ButtonText; }
  :is(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline-color: Highlight; }
}

/* Portal aliases preserve existing theme preferences, state classes and JS hooks. */
:root, body.theme-light {
  --bg: var(--vw-canvas);
  --card: var(--vw-surface);
  --glass: var(--vw-soft);
  --text: var(--vw-ink);
  --muted: var(--vw-muted);
  --primary: var(--vw-action);
  --primary-strong: var(--vw-action-hover);
  --accent: var(--vw-action);
  --accent-soft: var(--vw-soft);
  --border: var(--vw-line);
  --success: #256b3a;
  --error: #b42332;
  --info: #245a87;
  --radius-sm: 6px;
  --radius-md: var(--vw-radius-control);
  --radius-lg: var(--vw-radius-card);
  --shadow-soft: var(--vw-shadow);
  --shadow-panel: 0 16px 48px rgb(9 42 48 / 10%);
}
body.theme-dark {
  color-scheme: dark;
  --vw-canvas: #0c1d20;
  --vw-surface: #152e32;
  --vw-ink: #f1f6f2;
  --vw-muted: #b5c8c1;
  --vw-action: #bde66b;
  --vw-action-hover: #cdef96;
  --vw-on-action: #092a30;
  --vw-soft: #243e37;
  --vw-story: #ffb4a1;
  --vw-line: #3b5554;
  --vw-control-line: #73958a;
  --vw-focus: #c7ed5a;
  --bg: var(--vw-canvas);
  --card: var(--vw-surface);
  --glass: var(--vw-soft);
  --text: var(--vw-ink);
  --muted: var(--vw-muted);
  --primary: var(--vw-action);
  --primary-strong: var(--vw-action-hover);
  --accent: var(--vw-action);
  --accent-soft: var(--vw-soft);
  --border: var(--vw-line);
  --success: #bde66b;
  --error: #ffadb5;
  --info: #a0d5ff;
}
body, body.theme-light, body.theme-dark, body.invite-page {
  background: var(--vw-canvas);
  color: var(--text);
  font-family: var(--vw-font);
  line-height: 1.55;
  animation: none;
}
.background-grid { display: none; }
.hero__top, body.theme-dark .hero__top {
  background: var(--vw-surface);
  border-radius: var(--vw-radius-card);
  box-shadow: none;
  backdrop-filter: none;
  gap: 1rem;
}
.logo { text-transform: none; letter-spacing: -.02em; }
.logo__text { font-size: 1.125rem; }
.logo__mark { box-shadow: none; }
.nav-desktop, body.theme-dark .nav-desktop { background: transparent; border-radius: var(--vw-radius-control); }
nav a { min-height: 44px; border-radius: var(--vw-radius-control); display: inline-flex; align-items: center; }
nav a.active, nav a:hover, body.theme-dark nav a.active, body.theme-dark nav a:hover {
  background: var(--vw-soft); color: var(--text); box-shadow: none;
}
nav a.active { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hero__content > div:first-child, body.theme-dark .hero__content > div:first-child {
  background: var(--vw-surface); box-shadow: none; border-radius: var(--vw-radius-card);
}
.hero__content h1 { letter-spacing: -.035em; line-height: 1.08; }
/* Dashboard density follows its content, including when no daily recipe is available. */
.hero__content--dashboard { align-items: start; }
.hero__content--dashboard > div:first-child {
  min-height: 0;
  justify-content: flex-start;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: transparent;
  border: 0;
}
body.theme-dark .hero__content--dashboard > div:first-child { background: transparent; }
.nav-desktop a.active, body.theme-dark .nav-desktop a.active { background: transparent; }
.hero__content--dashboard h1 {
  max-width: 20ch;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  margin: .25rem 0 .75rem;
}
.hero__content--dashboard .tagline { margin: 0 0 .75rem; }
.hero__content--dashboard .hero__greeting { margin: 0 0 .5rem; }
.hero__content--dashboard .hero__status { margin: 0; }
.hero__content--dashboard .lead { margin: .75rem 0 0; }
.hero__content--dashboard .hero__actions { margin-top: 1.25rem; }
.hero__content--dashboard .hero__data { align-self: start; align-content: start; }
.hero__content--dashboard .hero__data:not(:has(.stat--image)) {
  grid-template-columns: minmax(0, 1fr);
}
.tagline, .section__eyebrow { letter-spacing: .1em; }
button, .primary, .ghost, .ghost-btn, a.primary, a.ghost {
  min-height: 44px;
  border-radius: var(--vw-radius-control);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.35;
  box-shadow: none;
}
button { color: var(--vw-on-action); background: var(--vw-action); }
.primary, a.primary, button[type='submit'], .auth-card button[type='submit'] {
  color: var(--vw-on-action); background: var(--vw-action); border: 1px solid var(--vw-action); box-shadow: none;
}
.primary:hover, a.primary:hover, button[type='submit']:hover, .auth-card button[type='submit']:hover {
  background: var(--vw-action-hover); color: var(--vw-on-action); transform: none; box-shadow: none;
}
.ghost, .ghost-btn, a.ghost, body.theme-light .ghost, body.theme-light .ghost-btn, body.theme-light a.ghost {
  color: var(--text); background: transparent; border-color: var(--vw-control-line); box-shadow: none;
}
.ghost:hover, .ghost-btn:hover, a.ghost:hover { background: var(--vw-soft); color: var(--text); transform: none; }
.ghost.danger { color: var(--error); border-color: var(--error); }
.nav-toggle, .nav-close, .password-toggle, .user-pill, .bell-button, .profile-panel__close, .inbox-close {
  color: var(--text); background: var(--vw-soft); box-shadow: none;
}
button:disabled, .primary:disabled { opacity: .55; transform: none; box-shadow: none; }
.card, .stat:not(.stat--image), .download-card, .contact-row, .inbox-item,
body.theme-dark .card, body.theme-dark .stat:not(.stat--image), body.theme-dark .download-card,
body.theme-dark .contact-row, body.theme-dark .inbox-item {
  background: var(--vw-surface); border-color: var(--border); box-shadow: none; border-radius: var(--vw-radius-card);
}
.card::before { background: none; pointer-events: none; }
.auth-gate, body.theme-light .auth-gate, body.theme-dark .auth-gate { background: none; }
.auth-gate::before, .auth-gate::after, .auth-card::before, .auth-visual::before, .auth-visual::after { display: none; }
.auth-split, body.theme-light .auth-split {
  --auth-radius: var(--vw-radius-card);
  background: var(--vw-surface); border-color: var(--border); box-shadow: var(--shadow-panel);
}
.auth-visual { background: #092a30; color: #fff; border-radius: 0; }
.auth-visual .logo { color: #c7ed5a; letter-spacing: .04em; opacity: 1; }
.auth-visual .tagline, .auth-visual .lead { color: #d5e3da; letter-spacing: normal; }
.auth-visual .tagline { font-size: .9375rem; }
.auth-visual h1 { letter-spacing: -.035em; line-height: 1.1; }
.auth-visual__logo { box-shadow: none; }
.auth-card, .auth-card--glow, .auth-card--flat, body.theme-light .auth-card, body.theme-dark .auth-card,
body.theme-dark .auth-card--flat, body.theme-dark .auth-card--glow {
  background: var(--vw-surface); color: var(--text); box-shadow: none; backdrop-filter: none; animation: none;
}
.auth-options { flex-wrap: wrap; gap: .75rem; }
.auth-legal a { text-decoration: underline; text-underline-offset: 3px; }
.auth-card--glow button[type='submit'] { text-transform: none; letter-spacing: normal; }
.auth-card .password-field .password-toggle,
body.theme-light .auth-card .password-field .password-toggle {
  width: 44px; min-width: 44px; max-width: 44px; height: 44px;
  right: 2px; background: var(--vw-soft); color: var(--text); border: 0;
  border-radius: 8px; box-shadow: none; letter-spacing: normal;
}
.auth-card .password-field .password-toggle:hover { background: var(--vw-line); transform: translateY(-50%); }
.auth-card .password-field input[name='password'] { padding-right: 54px; }
.auth-card a, body.theme-dark .auth-card a { color: var(--text); }
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']):not([type='color']):not([type='file']),
select, textarea, .stacked-form input:not([type='checkbox']),
body.theme-dark .stacked-form input:not([type='checkbox']),
.auth-card--glow .stacked-form input:not([type='checkbox']),
body.theme-dark .auth-card--glow .stacked-form input:not([type='checkbox']),
.profile-panel__form label input:not([type='radio']):not([type='checkbox']), .profile-panel__form label textarea {
  min-height: 46px; border: 1px solid var(--vw-control-line); border-radius: var(--vw-radius-control);
  background: var(--vw-surface); color: var(--text); font-size: 1rem; box-shadow: none;
}
input::placeholder, textarea::placeholder, body.theme-dark .stacked-form input::placeholder,
.auth-card--glow .stacked-form input::placeholder { color: var(--vw-muted); opacity: 1; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--vw-action); }
.profile-panel__form .theme-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.profile-panel__form .theme-toggle__option {
  flex-direction: row;
  justify-content: flex-start;
  gap: .75rem;
  min-height: 56px;
  padding: .75rem 1rem;
  border: 1px solid var(--vw-control-line);
  border-radius: var(--vw-radius-control);
  background: var(--vw-surface);
  color: var(--text);
  font-size: 1rem;
}
body .profile-panel__form .theme-toggle__option input[type='radio'] {
  appearance: auto;
  -webkit-appearance: radio;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
.profile-panel__form .theme-toggle__option:has(input:checked) {
  background: var(--vw-soft);
  border-color: var(--vw-action);
  box-shadow: inset 0 0 0 1px var(--vw-action);
}
.profile-panel__form .theme-toggle__option:hover { border-color: var(--vw-action); }
.profile-panel__form .theme-toggle__option:focus-within {
  outline: 3px solid var(--vw-focus);
  outline-offset: 3px;
}
.profile-panel__form .theme-toggle__option span,
.profile-panel__form .theme-toggle__option input:checked + span { color: var(--text); font-weight: 600; }
.auth-card--glow .stacked-form label, body.theme-dark .auth-card--glow .stacked-form label { color: var(--text); }
body .recipe-toolbar :is(.meal-filter, .phase-filter, .favorite-filter) {
  background: var(--vw-surface) !important; color: var(--text) !important;
  border-color: var(--vw-control-line) !important; box-shadow: none !important;
}
body.theme-dark .recipe-toolbar :is(.meal-filter, .phase-filter, .favorite-filter) {
  background: var(--vw-surface) !important; color: var(--text) !important;
  border-color: var(--vw-control-line) !important;
}
body .recipe-toolbar :is(.meal-filter, .phase-filter, .favorite-filter):hover {
  background: var(--vw-soft) !important; color: var(--text) !important;
}
body .recipe-toolbar :is(.meal-filter, .phase-filter, .favorite-filter).active,
body.theme-dark .recipe-toolbar :is(.meal-filter, .phase-filter, .favorite-filter).active {
  background: var(--vw-action) !important; color: var(--vw-on-action) !important;
  border-color: var(--vw-action) !important;
}
.nav-panel, .profile-panel, body.theme-light .profile-panel,
.contact-modal, .recipe-modal, body.theme-dark .recipe-modal {
  background: var(--vw-surface); color: var(--text); border-color: var(--border);
}
.nav-panel .logo, .hero__top .logo { letter-spacing: -.02em; }
.stat--count::after, .stat--quote::before { display: none; }
@media (min-width: 1061px) {
  .hero__top { flex-wrap: wrap; }
  .nav-desktop { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .auth-card { padding: 1.5rem; }
  .auth-card--glow { margin: .75rem; }
  .hero__content h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__content > div:first-child { min-height: auto; }
}
@media (prefers-contrast: more) {
  body.theme-dark { --vw-line: #73958a; }
}
@media print {
  body, body.theme-light, body.theme-dark { background: white; color: #092a30; }
}
