:root {
  color-scheme: light;
  --color-primary: oklch(51% 0.13 143);
  --color-primary-hover: oklch(45% 0.12 143);
  --color-primary-soft: oklch(94% 0.035 143);
  --color-primary-border: oklch(82% 0.07 143);
  --color-bg: oklch(97.8% 0.007 110);
  --color-surface: oklch(99.3% 0.004 110);
  --color-surface-2: oklch(95.8% 0.008 110);
  --color-surface-3: oklch(93.5% 0.01 110);
  --color-text: oklch(20% 0.015 140);
  --color-text-2: oklch(52% 0.015 130);
  --color-text-3: oklch(67% 0.012 130);
  --color-border: oklch(90.5% 0.01 120);
  --color-border-strong: oklch(84% 0.015 120);
  --color-danger: oklch(55% 0.2 28);
  --color-danger-soft: oklch(95% 0.035 28);
  --color-overlay: oklch(15% 0.02 140 / 0.38);
  --shadow-card: 0 8px 28px oklch(25% 0.03 140 / 0.07);
  --shadow-nav: 0 -5px 22px oklch(25% 0.03 140 / 0.08);
  --shadow-sheet: 0 -12px 48px oklch(20% 0.03 140 / 0.14);
  --radius-xs: 10px;
  --radius-control: 14px;
  --radius-card: 22px;
  --radius-sheet: 28px;
  --radius-pill: 999px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 190ms;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: oklch(72% 0.14 143);
  --color-primary-hover: oklch(77% 0.13 143);
  --color-primary-soft: oklch(30% 0.055 143);
  --color-primary-border: oklch(45% 0.08 143);
  --color-bg: oklch(16.5% 0.003 260);
  --color-surface: oklch(21.5% 0.003 260);
  --color-surface-2: oklch(25.5% 0.003 260);
  --color-surface-3: oklch(30% 0.003 260);
  --color-text: oklch(95% 0.003 260);
  --color-text-2: oklch(74% 0.004 260);
  --color-text-3: oklch(61% 0.004 260);
  --color-border: oklch(33% 0.003 260);
  --color-border-strong: oklch(42% 0.004 260);
  --color-danger: oklch(69% 0.18 28);
  --color-danger-soft: oklch(29% 0.06 28);
  --color-overlay: oklch(8% 0.002 260 / 0.72);
  --shadow-card: 0 8px 28px oklch(5% 0.002 260 / 0.28);
  --shadow-nav: 0 -5px 22px oklch(5% 0.002 260 / 0.36);
  --shadow-sheet: 0 -12px 48px oklch(5% 0.002 260 / 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

body.has-sheet {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  accent-color: var(--color-primary);
}

button {
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: not-allowed;
}

img {
  display: block;
  max-width: 100%;
}

.icon,
.nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.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;
}

:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--color-primary) 38%, transparent);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100dvh;
}

.app-main {
  min-width: 0;
}

.view-shell {
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(12px + var(--safe-top)) 16px calc(104px + var(--safe-bottom));
  animation: view-enter 220ms var(--ease-out) both;
}

.desktop-sidebar {
  display: none;
}

.plan-brand-header,
.mobile-header,
.section-intro,
.date-heading,
.meal-section__heading,
.detail-section__heading,
.shopping-summary-line,
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-brand-header {
  min-height: 48px;
  margin-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--color-primary-border);
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.brand-mark .icon {
  width: 23px;
  height: 23px;
}

.brand > span:last-child {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 4px;
  align-items: baseline;
  font-size: 18px;
  line-height: 1.1;
}

.brand strong {
  font-weight: 760;
}

.brand em {
  color: var(--color-primary);
  font-style: normal;
  font-weight: 760;
}

.brand small {
  grid-column: 1 / -1;
  margin-top: 3px;
  color: var(--color-text-2);
  font-size: 11px;
  font-weight: 520;
}

.avatar-button {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 750;
}

.avatar-button:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.section-intro {
  margin: 0 0 12px;
}

.section-intro--compact h1,
.mobile-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-intro--compact h1 {
  font-size: 30px;
}

.overline,
.header-eyebrow,
.sheet-eyebrow,
.source-label {
  margin: 0 0 4px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.mobile-header {
  min-height: 54px;
  margin-bottom: 20px;
}

.mobile-header__leading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  transition: background var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.icon-button:hover {
  background: var(--color-surface-2);
}

.icon-button:active {
  transform: scale(0.94);
}

.icon-button--small {
  width: 44px;
  height: 44px;
}

.icon-button--surface {
  border: 1px solid color-mix(in oklch, var(--color-surface) 80%, transparent);
  background: color-mix(in oklch, var(--color-surface) 92%, transparent);
  box-shadow: 0 3px 12px oklch(20% 0.02 140 / 0.12);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 14px;
  background: var(--color-surface-2);
}

.segmented button {
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--color-text-2);
  font-size: 14px;
  font-weight: 680;
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.segmented button:hover:not(.is-active) {
  background: color-mix(in oklch, var(--color-surface) 58%, transparent);
  color: var(--color-text);
}

.segmented button:active {
  transform: scale(0.98);
}

.segmented button.is-active {
  background: var(--color-surface);
  box-shadow: 0 2px 7px oklch(20% 0.02 140 / 0.08);
  color: var(--color-primary);
}

.date-carousel {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
}

.date-carousel__nav {
  display: grid;
  width: 36px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--color-text-2);
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.date-carousel__nav:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.date-carousel__nav:active {
  transform: scale(0.94);
}

.date-carousel__nav .icon {
  width: 18px;
  height: 18px;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.date-pill {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 60px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 7px 2px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--color-text-2);
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.date-pill span {
  overflow: hidden;
  max-width: 100%;
  font-size: 11px;
  font-weight: 620;
  text-transform: uppercase;
}

.date-pill strong {
  font-size: 17px;
  line-height: 1;
}

.date-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}

.date-pill.is-active {
  background: var(--color-primary);
  box-shadow: 0 7px 18px color-mix(in oklch, var(--color-primary) 24%, transparent);
  color: var(--color-surface);
}

.date-pill.is-active i {
  background: currentColor;
}

.date-pill:active {
  transform: scale(0.95);
}

.date-heading {
  margin-bottom: 10px;
}

.date-heading p {
  margin: 0 0 2px;
  color: var(--color-text-2);
  font-size: 13px;
}

.date-heading h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.date-heading > span {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: 12px;
  font-weight: 650;
}

.smart-fill {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 12px;
}

.smart-fill button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  text-align: left;
}

.smart-fill button:disabled {
  opacity: 1;
}

.smart-fill button .icon {
  width: 18px;
  height: 18px;
}

.smart-fill button span {
  font-size: 14px;
  font-weight: 680;
}

.smart-fill button em {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-3);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.day-nutrition {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  text-align: center;
}

.day-nutrition__heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.day-nutrition__helper,
.day-nutrition__status {
  margin: 0;
}

.day-nutrition__helper,
.day-nutrition__status {
  color: var(--color-text-2);
  font-size: 11px;
}

.day-nutrition__heading > strong {
  color: var(--color-text);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.day-nutrition__macros {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 10px 22px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.day-nutrition__macros b {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 780;
}

.day-nutrition__helper {
  font-style: italic;
}

.meal-stack {
  display: grid;
  gap: 10px;
}

.danger-button--quiet.plan-clear-day {
  display: flex;
  width: fit-content;
  min-height: 46px;
  margin: 20px auto 2px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: color-mix(in oklch, var(--color-danger-soft) 72%, var(--color-surface));
  box-shadow: 0 5px 16px color-mix(in oklch, var(--color-danger) 8%, transparent);
}

.danger-button--quiet.plan-clear-day:hover {
  background: color-mix(in oklch, var(--color-danger-soft) 88%, var(--color-surface));
}

.meal-section {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  transition: border-color var(--duration), background var(--duration), box-shadow var(--duration);
}

.meal-section.is-meal-drop-target {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--color-primary) 22%, transparent);
}

.meal-section.is-meal-drop-target .meal-section__heading h3 {
  color: var(--color-primary);
}

.meal-section__heading {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.meal-section__heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 740;
}

.meal-section__heading > span {
  color: var(--color-text-2);
  font-size: 11px;
}

.planned-meals {
  display: grid;
}

.empty-meal {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 650;
  text-align: left;
}

.empty-meal--after {
  min-height: 44px;
  margin-top: 6px;
  padding-top: 8px;
  padding-bottom: 2px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

.empty-meal .icon {
  width: 20px;
  height: 20px;
}

.planned-meal {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--color-border);
  touch-action: pan-y;
  transition: opacity var(--duration), transform var(--duration);
}

.planned-meal:last-child {
  border-bottom: 0;
}

.planned-meal__main {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.planned-meal__main img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 15px;
  background: var(--color-surface-2);
}

.planned-meal__content {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.planned-meal__content strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  white-space: nowrap;
}

.planned-meal__content span,
.planned-meal__content small {
  color: var(--color-text-2);
  font-size: 12px;
}

.planned-meal__actions {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.planned-meal__drag-handle {
  display: none;
  width: 44px;
  min-height: 56px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--color-surface-2);
  color: var(--color-text-2);
  cursor: grab;
}

.planned-meal__drag-handle:active {
  cursor: grabbing;
}

.planned-meal__drag-handle .icon {
  width: 18px;
  height: 18px;
}

.planned-meal.is-dragging {
  opacity: 0.34;
}

body.is-dragging-meal {
  cursor: grabbing;
  user-select: none;
}

.meal-drag-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--color-primary-border);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: 0 14px 34px color-mix(in oklch, var(--color-text) 18%, transparent);
  opacity: 0.94;
  pointer-events: none;
}

.meal-drag-preview .planned-meal__drag-handle,
.meal-drag-preview .planned-meal__actions {
  display: none;
}

.planned-meal__placeholder {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: var(--color-surface-2);
  color: var(--color-text-2);
}

.meal-check {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.meal-check .icon {
  width: 16px;
  height: 16px;
}

.empty-state {
  display: grid;
  max-width: 420px;
  justify-items: center;
  margin: 44px auto;
  padding: 12px;
  text-align: center;
}

.empty-state--compact {
  margin: 0 0 16px;
  padding: 20px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.empty-state__icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 22px;
  background: var(--color-surface-2);
  color: var(--color-text-3);
}

.empty-state__icon .icon {
  width: 34px;
  height: 34px;
}

.empty-state h2 {
  margin: 0;
  font-size: 19px;
}

.empty-state p {
  max-width: 34ch;
  margin: 8px 0 18px;
  color: var(--color-text-2);
  font-size: 14px;
  line-height: 1.45;
}

.empty-state--compact .empty-state__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 16px;
}

.empty-state--compact .empty-state__icon .icon {
  width: 26px;
  height: 26px;
}

.empty-state__secondary {
  margin-top: 8px;
}

.week-toolbar,
.month-toolbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  margin-bottom: 16px;
}

.week-toolbar > div {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.week-toolbar strong,
.month-toolbar h2 {
  margin: 0;
  font-size: 17px;
  text-align: center;
}

.week-toolbar span {
  color: var(--color-text-2);
  font-size: 12px;
}

.week-list {
  display: grid;
  gap: 10px;
}

.compact-day {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}

.compact-day.is-today {
  border-color: var(--color-primary-border);
}

.compact-day__date {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 3px;
  padding: 14px 6px;
  border: 0;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.compact-day.is-today .compact-day__date {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.compact-day__date span {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.compact-day__date strong {
  font-size: 20px;
}

.compact-meals {
  display: grid;
  min-width: 0;
}

.compact-meal {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  min-height: 45px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  text-align: left;
}

.compact-meal:last-child {
  border-bottom: 0;
}

.compact-meal > span {
  color: var(--color-text-2);
  font-size: 11px;
}

.compact-meal strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  white-space: nowrap;
}

.compact-meal__count {
  display: none;
}

.compact-meal small {
  color: var(--color-text-2);
  font-size: 11px;
}

.compact-meal > .icon {
  width: 17px;
  height: 17px;
  color: var(--color-primary);
}

.month-weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.month-weekdays {
  margin-bottom: 5px;
}

.month-weekdays span {
  padding: 6px 0;
  color: var(--color-text-2);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

.month-grid {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}

.month-day {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 54px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 5px 1px;
  border: 0;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-size: 13px;
}

.month-day:nth-child(7n) {
  border-right: 0;
}

.month-day:nth-last-child(-n + 7) {
  border-bottom: 0;
}

.month-day.is-outside {
  color: var(--color-text-3);
  opacity: 0.55;
}

.month-day.is-today span,
.month-day.is-selected span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
}

.month-day.is-today span {
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
  color: var(--color-primary);
}

.month-day.is-selected span {
  background: var(--color-primary);
  color: var(--color-surface);
}

.fill-dots {
  display: flex;
  min-height: 4px;
  gap: 2px;
}

.fill-dots b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}

.month-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: var(--color-text-2);
  font-size: 12px;
}

.month-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
}

.legend-dot--full {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.legend-dot--partial {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
}

.search-field {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--color-surface-2);
  color: var(--color-text-2);
  transition: border-color var(--duration), box-shadow var(--duration), background var(--duration);
}

.search-field:focus-within {
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 16px;
}

.search-field input::placeholder {
  color: var(--color-text-3);
}

.search-field input::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

.recipe-grid-list,
.picker-list {
  display: grid;
  gap: 8px;
}

.recipe-card,
.picker-recipe {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  transition: border-color var(--duration), box-shadow var(--duration), transform var(--duration);
}

.recipe-card:hover,
.picker-recipe:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card);
}

.recipe-card:active,
.picker-recipe:active {
  transform: scale(0.99);
}

.recipe-card__main,
.picker-recipe__main {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.recipe-card__main img,
.picker-recipe__main img {
  width: 86px;
  height: 82px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 15px;
  background: var(--color-surface-2);
}

.recipe-card__content,
.picker-recipe__main > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.recipe-card__content strong,
.picker-recipe__main strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recipe-card__content span,
.recipe-card__content small,
.picker-recipe__main small,
.picker-recipe__main em {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-2);
  font-size: 11px;
  font-style: normal;
}

.recipe-card__content .icon,
.picker-recipe__main .icon {
  width: 14px;
  height: 14px;
}

.picker-recipe__main em {
  width: max-content;
  padding: 4px 7px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 650;
}

.favorite-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-3);
}

.favorite-button.is-active,
.detail-favorite.is-active {
  color: var(--color-primary);
}

.floating-button {
  position: fixed;
  right: max(20px, calc((100vw - 760px) / 2 + 20px));
  bottom: calc(88px + var(--safe-bottom));
  z-index: 12;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 10px 25px color-mix(in oklch, var(--color-primary) 30%, transparent);
  color: var(--color-surface);
  transition: transform var(--duration), background var(--duration);
}

.floating-button:active {
  transform: scale(0.93);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  margin: calc(-12px - var(--safe-top)) -16px 0;
  background: var(--color-surface-2);
}

.detail-hero > img {
  width: 100%;
  height: min(30vh, 248px);
  object-fit: cover;
}

.detail-back,
.detail-favorite {
  position: absolute;
  top: calc(12px + var(--safe-top));
}

.detail-controls {
  position: absolute;
  top: calc(12px + var(--safe-top));
  right: 16px;
  display: flex;
  gap: 6px;
}

.detail-controls .detail-favorite {
  position: static;
}

.detail-back {
  left: 16px;
}

.detail-favorite {
  right: 16px;
}

.detail-content {
  padding: 16px 0;
}

.detail-content > h1 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metadata-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: var(--color-text-2);
}

.metadata-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.metadata-row .icon {
  width: 16px;
  height: 16px;
}

.detail-section {
  margin-top: 22px;
}

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.detail-section__heading > span {
  color: var(--color-text-2);
  font-size: 13px;
}

.portions-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: var(--color-surface-2);
}

.portions-section h2 {
  margin-bottom: 4px;
  font-size: 16px;
}

.portions-section p {
  margin: 0;
  color: var(--color-text-2);
  font-size: 12px;
}

.portion-stepper {
  display: grid;
  grid-template-columns: 44px 42px 44px;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: var(--color-surface);
}

.portion-stepper button {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
}

.portion-stepper button:hover {
  background: var(--color-primary-soft);
}

.portion-stepper .icon {
  width: 18px;
  height: 18px;
}

.portion-stepper strong {
  font-size: 17px;
  text-align: center;
}

.ingredient-list {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}

.ingredient-list > div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}

.ingredient-list > div:last-child {
  border-bottom: 0;
}

.ingredient-list span {
  min-width: 0;
  font-size: 14px;
}

.ingredient-list strong {
  flex: 0 0 auto;
  font-size: 14px;
}

.nutrition-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 8px;
  border-radius: 18px;
  background: var(--color-primary-soft);
}

.nutrition-card > div {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 2px;
}

.nutrition-card strong {
  color: var(--color-primary);
  font-size: 16px;
}

.nutrition-card span {
  color: var(--color-text-2);
  font-size: 11px;
}

.instruction-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: instruction;
}

.instruction-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  color: var(--color-text-2);
  font-size: 15px;
  line-height: 1.5;
  counter-increment: instruction;
}

.instruction-list li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  content: counter(instruction);
  font-size: 12px;
  font-weight: 750;
}

.sticky-action {
  position: sticky;
  z-index: 10;
  bottom: calc(72px + var(--safe-bottom));
  margin: 18px -8px 0;
  padding: 10px 8px;
  background: var(--color-bg);
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 720;
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.primary-button {
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-surface);
}

.primary-button:hover {
  border-color: var(--color-primary-hover);
  background: var(--color-primary-hover);
}

.secondary-button {
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text);
}

.secondary-button:hover {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
}

.secondary-button--accent {
  border-color: var(--color-primary-border);
  color: var(--color-primary);
}

.danger-button {
  border: 1px solid var(--color-danger);
  background: var(--color-danger);
  color: var(--color-surface);
}

.danger-button--quiet {
  border-color: transparent;
  background: transparent;
  color: var(--color-danger);
}

.primary-button:active,
.secondary-button:active,
.danger-button:active {
  transform: scale(0.98);
}

.primary-button .icon,
.secondary-button .icon,
.danger-button .icon {
  width: 19px;
  height: 19px;
}

.period-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  width: 100%;
  min-height: 66px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  text-align: left;
}

.period-button > .icon:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.period-button > span {
  display: grid;
  gap: 2px;
}

.period-button small {
  color: var(--color-text-2);
  font-size: 11px;
}

.period-button strong {
  font-size: 15px;
}

.shopping-summary-line {
  margin-bottom: 18px;
}

.shopping-summary-line strong {
  font-size: 16px;
}

.shopping-summary-line span {
  color: var(--color-text-2);
  font-size: 12px;
}

.shopping-categories {
  display: grid;
  gap: 22px;
}

.shopping-category__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
}

.shopping-category__heading h2 {
  margin: 0;
  font-size: 15px;
}

.shopping-category__heading span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: 11px;
}

.shopping-items {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}

.shopping-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.shopping-item:last-child {
  border-bottom: 0;
}

.shopping-item__main {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
  width: 100%;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  text-align: left;
}

.shopping-item__main:hover {
  background: var(--color-surface-2);
}

.shopping-item.is-at-home .shopping-item__main {
  opacity: 0.64;
}

.shopping-item.is-at-home .product-icon {
  background: var(--color-surface-2);
  color: var(--color-text-2);
}

.shopping-home-toggle {
  position: relative;
  display: grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  align-self: stretch;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-2);
}

.shopping-home-toggle:hover,
.shopping-item.is-at-home .shopping-home-toggle,
.shopping-item.is-partially-covered .shopping-home-toggle {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.shopping-home-toggle .icon {
  width: 19px;
  height: 19px;
}

.shopping-item.is-partially-covered .shopping-home-toggle {
  box-shadow: inset 0 0 0 1px var(--color-primary-border);
}

.shopping-home-toggle__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 11px !important;
  height: 11px !important;
  padding: 1px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-surface);
  stroke-width: 2.4;
}

.shopping-home-partial {
  color: var(--color-primary) !important;
  font-weight: 650;
}

.product-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.product-icon .icon {
  width: 19px;
  height: 19px;
}

.shopping-item__content,
.shopping-item__amount {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.shopping-item__content strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  white-space: nowrap;
}

.shopping-item small,
.shopping-item__amount small {
  color: var(--color-text-2);
  font-size: 11px;
}

.shopping-home-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shopping-home-status .icon {
  width: 13px;
  height: 13px;
}

.shopping-item__amount {
  justify-items: end;
  text-align: right;
}

.shopping-item__amount strong {
  font-size: 13px;
  white-space: nowrap;
}

.shopping-item__main > .icon {
  width: 17px;
  height: 17px;
  color: var(--color-text-3);
}

.shopping-list-heading,
.shopping-home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shopping-list-heading {
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: -10px;
  padding: 0 4px;
}

.shopping-list-heading > span {
  color: var(--color-text-2);
  font-size: 11px;
  font-weight: 650;
}

.shopping-list-heading strong,
.shopping-home-heading em {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: 11px;
  font-style: normal;
}

.shopping-home-section {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

.shopping-home-heading {
  width: 100%;
  min-height: 48px;
  padding: 4px;
  text-align: left;
}

.shopping-home-heading > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.shopping-home-heading > span > .icon,
.shopping-home-heading > .icon {
  width: 19px;
  height: 19px;
  color: var(--color-text-2);
}

.shopping-home-heading strong {
  font-size: 15px;
}

.shopping-home-heading em {
  margin-left: 2px;
}

.shopping-home-heading[aria-expanded="true"] > .icon {
  transform: rotate(180deg);
}

.shopping-all-home {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: 13px;
}

.sticky-action--shopping {
  margin-top: 24px;
}

.product-detail-panel {
  display: none;
}

.product-breakdown__total {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0 20px;
}

.product-icon--large {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.product-icon--large .icon {
  width: 27px;
  height: 27px;
}

.product-breakdown__total p {
  margin: 0 0 3px;
  font-size: 13px;
}

.product-breakdown__total h2 {
  margin: 0;
  font-size: 24px;
}

.product-breakdown__total span {
  color: var(--color-text-2);
  font-size: 12px;
}

.product-breakdown > h3 {
  margin: 8px 0 10px;
  font-size: 14px;
}

.breakdown-list {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 66px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-bottom: 1px solid var(--color-border);
}

.breakdown-row:last-child {
  border-bottom: 0;
}

.breakdown-row img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 13px;
}

.breakdown-row > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.breakdown-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  white-space: nowrap;
}

.breakdown-row small {
  color: var(--color-text-2);
  font-size: 11px;
}

.breakdown-row b {
  display: grid;
  justify-items: end;
  font-size: 12px;
}

.breakdown-row b small {
  font-weight: 600;
  white-space: nowrap;
}

.space-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 22px;
  width: 100%;
  min-height: 104px;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.space-card__art {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.space-card__art .icon {
  width: 31px;
  height: 31px;
}

.space-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 4px;
}

.space-card small,
.space-card em {
  color: var(--color-text-2);
  font-size: 11px;
  font-style: normal;
}

.space-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
  white-space: nowrap;
}

.settings-group {
  margin-bottom: 24px;
}

.settings-group > h2,
.settings-subtitle {
  margin: 0 0 8px;
  padding: 0 4px;
  color: var(--color-text-2);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.settings-group > .settings-row:first-of-type {
  border-radius: 18px 18px 0 0;
}

.settings-group > .settings-row:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 18px 18px;
}

.settings-group > .settings-row:only-of-type {
  border-radius: 18px;
}

.settings-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: left;
}

.settings-row:hover {
  background: var(--color-surface-2);
}

.settings-row > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.settings-row strong {
  font-size: 14px;
}

.settings-row small {
  color: var(--color-text-2);
  font-size: 11px;
}

.settings-row > .icon {
  width: 18px;
  color: var(--color-text-3);
}

.settings-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--color-surface-2);
  color: var(--color-primary);
}

.settings-icon .icon {
  width: 19px;
  height: 19px;
}

.settings-content {
  display: grid;
  gap: 16px;
}

.settings-description,
.field-note {
  margin: 0;
  color: var(--color-text-2);
  font-size: 13px;
  line-height: 1.5;
}

.settings-group--standalone {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.settings-row.is-selected {
  background: var(--color-primary-soft);
}

.settings-row.is-selected > .icon {
  color: var(--color-primary);
}

.settings-row--accent strong {
  color: var(--color-primary);
}

.member-list {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}

.member-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 66px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}

.member-row:last-child {
  border-bottom: 0;
}

.member-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 750;
}

.member-row > span:last-child {
  display: grid;
  gap: 3px;
}

.member-row strong {
  font-size: 14px;
}

.member-row small {
  color: var(--color-text-2);
  font-size: 11px;
}

.is-disabled,
button:disabled {
  opacity: 0.48;
}

.source-toggle-row {
  cursor: pointer;
}

.switch {
  position: relative;
  width: 48px;
  height: 28px;
  appearance: none;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-surface-3);
  cursor: pointer;
  transition: background var(--duration);
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 2px 6px oklch(20% 0.02 140 / 0.2);
  content: "";
  transition: transform var(--duration) var(--ease-out);
}

.switch:checked {
  background: var(--color-primary);
}

.switch:checked::after {
  transform: translateX(20px);
}

.settings-toggle-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.package-rule-cards {
  display: grid;
  gap: 8px;
}

.package-rule-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 17px;
  background: var(--color-surface);
  text-align: left;
}

.package-rule-card > span {
  display: grid;
  gap: 3px;
}

.package-rule-card strong,
.package-rule-card b {
  font-size: 14px;
}

.package-rule-card small {
  color: var(--color-text-2);
  font-size: 11px;
}

.package-rule-card > .icon {
  width: 18px;
  color: var(--color-text-3);
}

.appearance-options {
  display: grid;
  gap: 10px;
}

.appearance-option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  text-align: left;
}

.appearance-option > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-surface-2);
}

.appearance-option.is-selected {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
}

.appearance-option > .icon:last-child {
  color: var(--color-primary);
}

.local-data-card,
.future-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}

.local-data-card > span,
.future-card > span:first-child {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.local-data-card h2,
.future-card strong {
  margin: 0;
  font-size: 16px;
}

.local-data-card p,
.future-card p {
  margin: 5px 0 0;
  color: var(--color-text-2);
  font-size: 13px;
  line-height: 1.45;
}

.future-card {
  position: relative;
  opacity: 0.75;
}

.future-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: 10px;
  font-style: normal;
  font-weight: 680;
}

.about-content {
  justify-items: center;
  padding-top: 40px;
  text-align: center;
}

.app-icon-large {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid var(--color-primary-border);
  border-radius: 26px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.app-icon-large .icon {
  width: 48px;
  height: 48px;
}

.about-content h2,
.about-content p {
  margin: 0;
}

.about-content p,
.about-content > span:last-child {
  color: var(--color-text-2);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: calc(68px + var(--safe-bottom));
  padding: 5px 8px var(--safe-bottom);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-nav);
}

.nav-item {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 5px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text-2);
  font-size: 11px;
  font-weight: 650;
  transition: color var(--duration), background var(--duration), transform var(--duration);
}

.nav-item.is-active {
  color: var(--color-primary);
}

.nav-item:active {
  transform: scale(0.95);
}

.nav-icon {
  width: 23px;
  height: 23px;
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0;
  background: var(--color-overlay);
  animation: overlay-in 180ms ease both;
}

.bottom-sheet {
  position: relative;
  width: min(100%, 620px);
  max-height: min(90dvh, 820px);
  overflow: hidden;
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-sheet);
  animation: sheet-in 260ms var(--ease-out) both;
}

.bottom-sheet--full {
  height: 100dvh;
  max-height: 100dvh;
}

.sheet-handle {
  width: 36px;
  height: 5px;
  margin: 8px auto 3px;
  border-radius: var(--radius-pill);
  background: var(--color-border-strong);
}

.sheet-scroll {
  max-height: calc(90dvh - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 16px calc(18px + var(--safe-bottom));
}

.bottom-sheet--full .sheet-scroll {
  max-height: calc(100dvh - 16px);
}

.sheet-header {
  margin-bottom: 18px;
}

.sheet-header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.sheet-header p {
  margin: 3px 0 0;
  color: var(--color-text-2);
  font-size: 12px;
}

.chip-row {
  display: flex;
  gap: 4px;
  margin: 4px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip-row--wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.filter-chip {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 8px 7px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-2);
  font-size: 12px;
  font-weight: 650;
}

.filter-chip:hover:not(.is-selected) {
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.filter-chip:active {
  transform: scale(0.97);
}

.filter-chip.is-selected {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.filter-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  font-size: 13px;
  font-weight: 680;
}

.filter-button span {
  color: var(--color-primary);
}

.portion-sheet {
  display: grid;
  gap: 14px;
}

.portion-sheet__image {
  width: calc(100% + 32px);
  height: 210px;
  margin: -10px -16px 0;
  object-fit: cover;
}

.portion-sheet__title h2 {
  margin: 0;
  font-size: 22px;
}

.portion-sheet__title .sheet-eyebrow {
  margin: 0 0 5px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.portion-sheet__title p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 6px 0 0;
  color: var(--color-text-2);
  font-size: 12px;
}

.portion-sheet__title .icon {
  width: 16px;
  height: 16px;
}

.meal-sheet__nutrition {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
}

.meal-sheet__nutrition > div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-right: 1px solid var(--color-border);
}

.meal-sheet__nutrition > div:last-child {
  border-right: 0;
}

.meal-sheet__nutrition strong {
  font-size: 14px;
}

.meal-sheet__nutrition span {
  color: var(--color-text-2);
  font-size: 10px;
}

.meal-sheet__delete {
  margin-top: -2px;
}

.meal-sheet__delete .icon {
  width: 18px;
  height: 18px;
}

.meal-sheet__recipe-info {
  display: grid;
  gap: 10px;
}

.meal-sheet__disclosure {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}

.meal-sheet__disclosure summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  list-style: none;
}

.meal-sheet__disclosure summary::-webkit-details-marker {
  display: none;
}

.meal-sheet__disclosure summary::after {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 1.5px solid var(--color-text-2);
  border-bottom: 1.5px solid var(--color-text-2);
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--duration);
}

.meal-sheet__disclosure[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.meal-sheet__disclosure summary > span {
  margin-left: auto;
  color: var(--color-text-2);
  font-size: 11px;
  font-weight: 500;
}

.meal-sheet__disclosure .ingredient-list {
  border-width: 1px 0 0;
  border-radius: 0;
}

.meal-sheet__disclosure .ingredient-list > div {
  min-height: 42px;
  padding: 8px 14px;
}

.meal-sheet__disclosure .ingredient-list span,
.meal-sheet__disclosure .ingredient-list strong {
  font-size: 13px;
}

.meal-sheet__disclosure .instruction-list {
  padding: 2px 14px 15px;
  border-top: 1px solid var(--color-border);
}

.meal-sheet__disclosure .instruction-list li {
  font-size: 13px;
}

.portion-control {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: var(--color-surface-2);
}

.portion-control > span {
  font-size: 13px;
  font-weight: 680;
}

.portion-control > small {
  color: var(--color-text-2);
  font-size: 11px;
}

.mini-recipe {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.mini-recipe img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
}

.sheet-action-list {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.sheet-list-action {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 14px;
  text-align: left;
}

.sheet-list-action:last-child {
  border-bottom: 0;
}

.sheet-list-action:hover {
  background: var(--color-surface-2);
}

.sheet-list-action.is-danger {
  color: var(--color-danger);
}

.confirmation-sheet {
  display: grid;
  justify-items: center;
  padding-top: 8px;
  text-align: center;
}

.confirmation-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 20px;
}

.confirmation-icon--danger {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.confirmation-icon .icon {
  width: 32px;
  height: 32px;
}

.confirmation-sheet h2 {
  margin: 0;
  font-size: 21px;
}

.confirmation-sheet p {
  margin: 9px 0 20px;
  color: var(--color-text-2);
  font-size: 13px;
  line-height: 1.5;
}

.confirmation-sheet .secondary-button,
.confirmation-sheet .danger-button {
  margin-top: 10px;
}

.add-options {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.add-option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  text-align: left;
}

.add-option > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-surface-2);
  color: var(--color-primary);
}

.add-option > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.add-option strong {
  font-size: 14px;
}

.add-option small {
  color: var(--color-text-2);
  font-size: 11px;
}

.add-option em {
  padding: 4px 7px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: 10px;
  font-style: normal;
}

form[data-form],
.recipe-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > span,
.field legend {
  color: var(--color-text-2);
  font-size: 12px;
  font-weight: 650;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  outline: 0;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 15px;
  transition: border-color var(--duration), box-shadow var(--duration), background var(--duration);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.field > small {
  color: var(--color-text-2);
  font-size: 11px;
}

.form-grid,
.nutrition-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid label {
  position: relative;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
}

.choice-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  background: var(--color-surface);
  font-size: 13px;
  font-weight: 650;
}

.choice-grid input:checked + span {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid color-mix(in oklch, var(--color-primary) 38%, transparent);
  outline-offset: 2px;
}

.form-details {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
}

.form-details summary {
  min-height: 48px;
  padding: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
}

.form-details .nutrition-form-grid {
  padding: 0 14px 14px;
}

.error-banner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid color-mix(in oklch, var(--color-danger) 25%, var(--color-border));
  border-radius: 17px;
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.error-banner > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.error-banner strong {
  font-size: 14px;
}

.error-banner p {
  margin: 4px 0 0;
  color: var(--color-text-2);
  font-size: 12px;
  line-height: 1.4;
}

.period-options {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.period-option {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 14px;
  text-align: left;
}

.period-option:last-child {
  border-bottom: 0;
}

.period-option.is-selected {
  color: var(--color-primary);
  font-weight: 680;
}

.period-option .icon {
  width: 19px;
}

.custom-period {
  padding: 14px;
  border-radius: 18px;
  background: var(--color-surface-2);
}

.custom-period h3 {
  margin: 0;
  font-size: 14px;
}

.rule-example {
  padding: 13px;
  border-radius: 15px;
  background: var(--color-primary-soft);
}

.rule-example strong {
  color: var(--color-primary);
  font-size: 12px;
}

.rule-example p {
  margin: 4px 0 0;
  color: var(--color-text-2);
  font-size: 12px;
}

.filter-range {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--color-surface-2);
}

.filter-range > span {
  font-size: 13px;
  font-weight: 680;
}

.filter-range > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.filter-range small {
  color: var(--color-text-2);
  font-size: 10px;
}

.filter-range strong {
  color: var(--color-primary);
  font-size: 12px;
}

.text-button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 650;
}

.toast-region {
  position: fixed;
  right: 16px;
  bottom: calc(90px + var(--safe-bottom));
  left: 16px;
  z-index: 150;
  display: grid;
  justify-items: center;
  pointer-events: none;
}

body:has(.shopping-view) .toast-region {
  bottom: calc(148px + var(--safe-bottom));
}

.toast {
  display: flex;
  max-width: 420px;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-text);
  box-shadow: 0 12px 32px oklch(15% 0.02 140 / 0.2);
  color: var(--color-surface);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 180ms, transform 220ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast .icon {
  width: 19px;
  height: 19px;
  color: var(--color-primary);
}

.skeleton-view {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: calc(28px + var(--safe-top));
}

.skeleton {
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-surface-2);
}

.skeleton::after {
  display: block;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--color-surface) 70%, transparent), transparent);
  content: "";
  animation: skeleton 1.15s ease-in-out infinite;
}

.skeleton--title {
  width: 56%;
  height: 34px;
}

.skeleton--control {
  height: 46px;
}

.skeleton--wide {
  height: 70px;
}

.skeleton--card {
  height: 122px;
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes skeleton {
  from { transform: translateX(-120%); }
  to { transform: translateX(220%); }
}

@media (min-width: 600px) {
  .view-shell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .recipe-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .recipe-card {
    display: block;
    min-height: 260px;
    padding: 0;
    overflow: hidden;
  }

  .recipe-card__main {
    display: grid;
    gap: 0;
  }

  .recipe-card__main img {
    width: 100%;
    height: 170px;
    border-radius: 0;
  }

  .recipe-card__content {
    padding: 14px;
  }

  .recipe-card .favorite-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: color-mix(in oklch, var(--color-surface) 93%, transparent);
  }

  .bottom-sheet {
    margin-bottom: 18px;
    border-radius: var(--radius-sheet);
  }

  .bottom-sheet--full {
    height: min(90dvh, 820px);
    max-height: min(90dvh, 820px);
  }

  .bottom-sheet--full .sheet-scroll {
    max-height: calc(min(90dvh, 820px) - 16px);
  }

  .sheet-scroll {
    padding-right: 22px;
    padding-left: 22px;
  }

  .portion-sheet__image {
    width: calc(100% + 44px);
    margin-right: -22px;
    margin-left: -22px;
  }

  .planned-meal__main img {
    width: 64px;
    height: 60px;
  }

  .detail-hero > img {
    height: min(36vh, 320px);
  }
}

@media (min-width: 1024px) {
  .app-shell {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
  }

  .desktop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: flex;
    width: 252px;
    flex-direction: column;
    padding: 26px 16px 18px;
    border-right: 1px solid var(--color-border);
    background: var(--color-surface);
  }

  .brand--sidebar {
    margin: 0 8px 30px;
  }

  .brand--sidebar small {
    display: none;
  }

  .sidebar-nav {
    display: grid;
    gap: 6px;
  }

  .sidebar-nav .nav-item {
    display: flex;
    min-height: 48px;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 13px;
    font-size: 14px;
  }

  .sidebar-nav .nav-item.is-active {
    background: var(--color-primary-soft);
  }

  .sidebar-space {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 17px;
  }

  .avatar--home {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
  }

  .sidebar-space > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .sidebar-space strong {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    white-space: nowrap;
  }

  .sidebar-space small {
    color: var(--color-text-2);
    font-size: 10px;
  }

  .app-main {
    grid-column: 2;
  }

  .view-shell {
    width: min(100%, 1180px);
    padding: 34px 42px 60px;
  }

  .bottom-nav {
    display: none;
  }

  .plan-brand-header {
    display: none;
  }

  .section-intro--compact {
    margin-top: 0;
  }

  .plan-view > .segmented,
  .plan-view > .smart-fill,
  .plan-view > .date-carousel,
  .plan-view > .date-heading,
  .plan-view > .day-nutrition,
  .plan-view > .meal-stack,
  .plan-view > .empty-state,
  .plan-view > .week-toolbar,
  .plan-view > .week-list,
  .plan-view > .month-toolbar,
  .plan-view > .month-weekdays,
  .plan-view > .month-grid,
  .plan-view > .month-legend {
    max-width: 820px;
  }

  .plan-view > .segmented {
    width: 420px;
  }

  .plan-view > .smart-fill {
    width: 420px;
  }

  .meal-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-day {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .mobile-header {
    margin-bottom: 26px;
  }

  .recipes-view .search-field,
  .recipes-view > .segmented {
    max-width: 560px;
  }

  .recipe-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-button {
    right: 42px;
    bottom: 34px;
  }

  .recipe-detail-view {
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 1.2fr);
    align-items: start;
    gap: 38px;
  }

  .detail-hero {
    position: sticky;
    top: 34px;
    margin: 0;
    border-radius: 26px;
  }

  .detail-hero > img {
    height: min(72vh, 720px);
  }

  .detail-back {
    display: none;
  }

  .detail-favorite {
    top: 14px;
    right: 14px;
  }

  .detail-content {
    padding-top: 8px;
  }

  .recipe-detail-view .sticky-action {
    position: fixed;
    right: 42px;
    bottom: 24px;
    width: min(480px, calc(100vw - 760px));
    margin: 0;
    border-radius: 18px;
  }

  .shopping-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 28px;
  }

  .product-detail-panel {
    position: sticky;
    top: 34px;
    display: block;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
  }

  .shopping-view .sticky-action--shopping {
    position: static;
    max-width: 360px;
    margin: 28px 0 0;
    padding: 0;
    background: transparent;
  }

  .more-view,
  .settings-detail-view {
    max-width: 820px;
  }

  .sheet-overlay {
    align-items: center;
    padding: 24px;
  }

  .bottom-sheet {
    margin: 0;
  }

  .toast-region {
    right: 24px;
    bottom: 24px;
    left: 276px;
  }

  body:has(.shopping-view) .toast-region {
    bottom: 24px;
  }

  .planned-meal__drag-handle {
    display: grid;
  }

  .planned-meal__drag-handle:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
  }
}

@media (max-width: 374px) {
  .view-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .date-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 0;
  }

  .date-carousel__nav {
    width: 32px;
  }

  .date-pill {
    min-height: 61px;
    border-radius: 15px;
  }

  .planned-meal__main img {
    width: 54px;
    height: 54px;
  }

  .compact-meal {
    grid-template-columns: 65px minmax(0, 1fr);
  }

  .compact-meal small {
    display: none;
  }

  .compact-meal__names {
    display: none;
  }

  .compact-meal__count {
    display: block;
  }

  .nutrition-card strong {
    font-size: 14px;
  }

  .shopping-item__main {
    grid-template-columns: 34px minmax(0, 1fr) auto 14px;
    gap: 7px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .product-icon {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
