.recipes-page {
  --recipe-ink: #564c40;
  --recipe-muted: #8c7f6e;
  --recipe-moss: #6e7e59;
  --recipe-caramel: #9c704e;
  --recipe-line: #b7a08238;
  max-width: 1260px;
  margin: 0 auto;
  padding: 30px 34px 28px;
  color: var(--recipe-ink);
}
.recipes-page *, .recipes-pool-form * { box-sizing: border-box; }
.recipes-page button { transition: background .18s, border-color .18s, box-shadow .18s; }
.recipes-page button:focus-visible, .recipes-page input:focus-visible,
.recipes-page select:focus-visible, .recipes-pool-form textarea:focus-visible {
  outline: 2px solid var(--recipe-moss); outline-offset: 3px;
}
.recipes-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.recipes-eyebrow { display: block; font: 9px/1.7 var(--mono, monospace); color: #9a866c; letter-spacing: 2.2px; }
.recipes-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 187px; padding: 22px 34px 18px; margin-bottom: 23px; position: relative; overflow: hidden; border: 1px solid #fffc; border-radius: 23px; background: linear-gradient(115deg, #faf6ec 8%, #e9ebdc 73%, #e2e6d7); box-shadow: 0 5px 17px #70593c05; }
.recipes-hero-copy { position: relative; z-index: 1; min-width: 0; }
.recipes-hero h1 { margin: 9px 0 10px; color: #66543e; font: 500 31px/1.45 Georgia, "Noto Serif SC", "Microsoft YaHei", serif; letter-spacing: 1px; }
.recipes-hero p { margin: 0; color: #8a7c68; font-size: 12px; line-height: 1.9; }
.recipes-hero-note { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; margin-top: 16px; color: #7b8066; background: #fffdf591; border: 1px solid #c3c5a746; border-radius: 20px; font-size: 10px; }
.recipes-hero-note .recipes-icon { width: 14px; height: 14px; }
.recipes-hero-art { align-self: center; position: relative; width: 145px; flex: none; margin: 0 9px 0 0; padding: 7px 7px 5px; background: #fffdf5; box-shadow: 2px 5px 12px #65503625; transform: rotate(3deg); }
.recipes-hero-art::before { content: ""; position: absolute; top: -6px; left: 35%; width: 43px; height: 14px; background: #a2af8778; transform: rotate(-5deg); z-index: 2; }
.recipes-hero-art img { display: block; object-fit: contain; object-position: center; height: 170px; width: 100%; background: #eae3d8; }
.recipes-art-caption { display: block; margin: 5px 0 0; text-align: center; color: #988367; font: italic 11px/1.6 Georgia, serif; }
.recipes-datebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 21px; }
.recipes-date-fields { display: flex; align-items: center; gap: 10px; min-width: 0; }
.recipes-field-label { display: flex; align-items: center; gap: 8px; color: #8e7b64; font-size: 11px; min-width: 0; }
.recipes-field-label input, .recipes-field-label select { padding: 9px 11px; min-height: 38px; color: #756049; background: #fffcf4c7; border: 1px solid #c6b49864; border-radius: 10px; font-size: 12px; min-width: 0; }
.recipes-field-label input { width: 143px; }
.recipes-field-label select { width: 94px; }
.recipes-today { padding: 7px 9px; color: #8b765b; border: 1px solid var(--recipe-line); border-radius: 8px; font-size: 10px; background: #fff9; }
.recipes-date-caption { display: flex; align-items: center; gap: 6px; margin: 0; color: #9a8870; font-size: 10px; line-height: 1.7; }
.recipes-date-caption .recipes-icon { color: #879373; width: 14px; height: 14px; }
.recipes-main-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: 22px; align-items: stretch; margin-bottom: 23px; }
.recipes-wheel-card, .recipes-meal-card, .recipes-selections, .recipes-history { min-width: 0; border: 1px solid #fff9; border-radius: 21px; background: #fffdf5bc; box-shadow: 0 4px 15px #7b624307; }
.recipes-wheel-card { padding: 23px 24px 22px; background: linear-gradient(150deg, #fffcf6e8, #f3eee1db); }
.recipes-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.recipes-section-head h2 { font-weight: 500; color: #756047; font-size: 16px; line-height: 1.6; margin: 4px 0 0; }
.recipes-section-head p { font-size: 10px; line-height: 1.7; margin: 5px 0 0; color: #9a8871; }
.recipes-section-head > span { color: #a08f77; font-size: 10px; flex: none; }
.recipes-pool-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 9px; color: #8d755a; border: 1px solid #c9b5965a; border-radius: 9px; background: #fffcf699; font-size: 10px; flex: none; }
.recipes-pool-link .recipes-icon { height: 13px; width: 13px; }
.recipes-pool-link:hover { background: #eee6d7; border-color: #af967b85; }
.recipes-theme-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.recipes-theme-chip { padding: 7px 10px; font-size: 10px; color: #99856b; border: 1px solid #c8b69b4f; background: #fffaf266; border-radius: 18px; display: inline-flex; align-items: center; gap: 5px; line-height: 1.4; }
.recipes-theme-chip i { width: 5px; height: 5px; border-radius: 50%; background: #b2b998; flex: none; }
.recipes-theme-chip.selected { color: #fffaf2; border-color: #7a8765; background: #7a8765; box-shadow: 0 2px 5px #71805c14; }
.recipes-theme-chip.selected i { background: #e6e8d1; }
.recipes-wheel-stage { --wheel-size: 322px; --wheel-radius: 118px; position: relative; width: var(--wheel-size); max-width: 100%; aspect-ratio: 1; margin: 18px auto 14px; padding: 10px; border-radius: 50%; border: 1px solid #bda88772; background: #e9dfcba1; box-shadow: inset 0 0 0 5px #fbf7ebbd, 0 7px 17px #80634113; }
.recipes-wheel-stage::after { content: ""; position: absolute; inset: 5px; border: 1px dashed #b3a0808a; border-radius: 50%; pointer-events: none; }
.recipes-wheel-mask { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.recipes-wheel-disc { position: relative; width: 100%; height: 100%; border: 1px solid #b9ab8f6e; border-radius: 50%; overflow: hidden; transform: rotate(var(--wheel-angle, 0deg)); will-change: transform; }
.recipes-wheel-label { display: block; position: absolute; left: 50%; top: 50%; width: 93px; margin-left: -46.5px; margin-top: -8px; transform: rotate(var(--label-angle)) translateY(calc(-1 * var(--wheel-radius))); color: #675b45; font-size: 11px; font-weight: 500; line-height: 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 #fff7; }
.recipes-wheel-stage[data-wheel-count="1"] .recipes-wheel-label { font-size: 14px; }
.recipes-wheel-stage[data-wheel-count="11"] .recipes-wheel-label, .recipes-wheel-stage[data-wheel-count="12"] .recipes-wheel-label { width: 73px; margin-left: -36.5px; font-size: 10px; }
.recipes-wheel-pointer { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 23px; height: 33px; z-index: 3; color: #9a6e4b; filter: drop-shadow(0 2px 1px #543c3429); }
.recipes-wheel-pointer svg { width: 100%; height: 100%; fill: currentColor; stroke: #fff8e8; stroke-width: 1; }
.recipes-wheel-hub { position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; transform: translate(-50%, -50%); border: 6px solid #f9f3e5; border-radius: 50%; background: #7b8765; box-shadow: 0 0 0 1px #aeb491, 0 5px 11px #5b5a3021; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #faf5e7; pointer-events: none; }
.recipes-wheel-hub .recipes-icon { width: 23px; height: 23px; stroke-width: 1.3; opacity: .9; }
.recipes-wheel-hub strong { font-size: 12px; font-weight: 400; letter-spacing: 2px; margin-left: 2px; }
.recipes-wheel-hub small { font: italic 8px Georgia, serif; letter-spacing: 1px; opacity: .7; }
.recipes-wheel-note { margin: 0 0 12px; text-align: center; color: #a38d6c; font-size: 9px; line-height: 1.7; min-height: 16px; }
.recipes-wheel-result { display: flex; justify-content: center; align-items: baseline; gap: 9px; text-align: center; min-height: 32px; margin-bottom: 15px; }
.recipes-wheel-result span { font-size: 10px; color: #9b8769; }
.recipes-wheel-result strong { color: #7c654b; font-size: 18px; font-weight: 500; max-width: 75%; overflow-wrap: anywhere; }
.recipes-wheel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.recipes-primary, .recipes-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; padding: 11px 13px; border-radius: 11px; font-size: 12px; line-height: 1.5; }
.recipes-primary { color: #fff8e9; background: #7b8764; box-shadow: 0 3px 7px #6f7a4f20; }
.recipes-primary:hover { background: #687551; }
.recipes-secondary { color: #886d4f; background: #eae0ce99; border: 1px solid #c5ad8e5a; }
.recipes-secondary:hover { background: #e6dac5; }
.recipes-wheel-card [data-busy="true"] .recipes-wheel-hub { background: #9a8461; }
.recipes-meal-card { display: flex; flex-direction: column; padding: 25px 25px 19px; position: relative; overflow: hidden; background: #f6f4e8e0; }
.recipes-meal-card::after { content: "✧"; position: absolute; font: 50px/1 Georgia, serif; color: #c1ba9d55; right: 16px; bottom: 22px; transform: rotate(12deg); pointer-events: none; }
.recipes-meal-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.recipes-meal-mark { display: grid; place-items: center; width: 41px; height: 41px; color: #87916e; background: #e2e7d4; border: 1px solid #c1c9a852; border-radius: 50%; }
.recipes-meal-mark .recipes-icon { width: 21px; height: 21px; }
.recipes-meal-title h2 { margin: 0 0 4px; font-size: 17px; font-weight: 500; color: #6e624b; }
.recipes-meal-title p { color: #a08c6d; font-size: 10px; margin: 0; line-height: 1.5; }
.recipes-meal-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; background: #e4e9d78a; color: #84936b; border-radius: 20px; font-size: 9px; white-space: nowrap; }
.recipes-meal-badge .recipes-icon { width: 12px; height: 12px; }
.recipes-dish-list { display: grid; gap: 13px; flex: 1; position: relative; z-index: 1; }
.recipes-dish { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 10px; align-items: start; }
.recipes-dish-number { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c5b69b60; border-radius: 10px; font: italic 14px Georgia, serif; color: #ae9979; background: #fffbf3b3; }
.recipes-dish-label { display: block; color: #9c886a; font-size: 9px; letter-spacing: 1px; line-height: 1.6; margin: 0 0 3px; }
.recipes-dish strong { display: block; color: #756145; font-size: 14px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }
.recipes-meal-empty { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 25px 15px 18px; text-align: center; }
.recipes-meal-empty .recipes-icon { color: #b8bca1; height: 51px; width: 51px; stroke-width: 1; margin-bottom: 15px; }
.recipes-meal-empty h3 { font-size: 16px; font-weight: 400; line-height: 1.8; margin: 0 0 9px; color: #8b785b; }
.recipes-meal-empty p { font-size: 11px; color: #a39274; line-height: 1.9; margin: 0; max-width: 260px; }
.recipes-meal-bottom { position: relative; z-index: 1; border-top: 1px dashed #b6a5814d; padding-top: 14px; margin-top: 19px; }
.recipes-meal-bottom p { margin: 0; color: #a18f72; font-size: 10px; line-height: 1.8; }
.recipes-meal-bottom strong { color: #829068; font-weight: 400; }
.recipes-meal-bottom .recipes-icon { height: 13px; width: 13px; margin-right: 4px; }
.recipes-selections { padding: 23px 26px 17px; margin-bottom: 24px; }
.recipes-selection-summary { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; font-size: 10px; color: #9e8b70; }
.recipes-selection-summary b { color: #7d8a65; font-weight: 500; }
.recipes-table-head, .recipes-food-row { display: grid; grid-template-columns: minmax(155px,1.1fr) minmax(0,1.45fr) minmax(90px,.65fr) 175px; align-items: center; gap: 16px; }
.recipes-table-head { font-size: 9px; color: #ab977b; padding: 9px 0 12px; border-bottom: 1px solid var(--recipe-line); letter-spacing: .6px; }
.recipes-table-head span:last-child { text-align: right; }
.recipes-food-row { min-height: 65px; border-bottom: 1px dashed #b8a58638; padding: 13px 0; }
.recipes-food-row:last-child { border-bottom: 0; }
.recipes-row-theme { display: flex; align-items: center; gap: 10px; min-width: 0; }
.recipes-row-number { font: italic 15px Georgia, serif; color: #b5a487; width: 26px; flex: none; }
.recipes-row-theme button { padding: 4px 0; font-size: 12px; color: #817054; text-align: left; line-height: 1.7; overflow-wrap: anywhere; }
.recipes-row-theme button:hover { color: #5d744b; background: transparent; }
.recipes-food-name { font-size: 13px; color: #756147; font-weight: 500; line-height: 1.7; min-width: 0; overflow-wrap: anywhere; }
.recipes-food-name.is-empty { color: #b2a38c; font-size: 11px; font-weight: 400; }
.recipes-row-pool { font-size: 10px; color: #a68f71; padding: 6px 0; text-align: left; display: flex; align-items: center; gap: 5px; }
.recipes-row-pool .recipes-icon { width: 12px; height: 12px; }
.recipes-row-pool:hover { background: transparent; color: #7a8a5e; }
.recipes-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.recipes-row-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 33px; padding: 7px 9px; border: 1px solid #c7b29450; background: #f8f3e875; border-radius: 8px; color: #9b825f; font-size: 10px; white-space: nowrap; }
.recipes-row-actions button .recipes-icon { width: 13px; height: 13px; }
.recipes-row-actions button[aria-pressed="true"] { color: #7b8961; background: #e3e8d7; border-color: #b1bd9666; }
.recipes-row-actions button:hover { background: #e9e1ce; }
.recipes-row-actions button[aria-pressed="true"]:hover { background: #d8e0ca; }
.recipes-food-row.is-locked .recipes-row-number { color: #8f9a74; }
.recipes-selection-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--recipe-line); padding-top: 13px; margin: 4px 0 0; color: #a48f70; font-size: 9px; line-height: 1.8; }
.recipes-selection-foot .recipes-icon { width: 12px; height: 12px; color: #94a078; margin-right: 4px; }
.recipes-selection-foot button { color: #947455; font-size: 10px; padding: 5px 0 5px 6px; text-decoration: underline; text-underline-offset: 3px; flex: none; }
.recipes-history { padding: 24px 26px 18px; }
.recipes-history-count { font-size: 10px; color: #9b8a71; white-space: nowrap; }
.recipes-history-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 13px; }
.recipes-history-filters > label { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #a18a6c; }
.recipes-history-filters input[type="date"] { min-width: 0; width: 143px; border: 1px solid #cbb59855; border-radius: 9px; padding: 8px 9px; background: #fffaf2b0; color: #8a7557; font-size: 11px; }
.recipes-history-search { display: flex; flex: 1; min-width: 180px; gap: 6px; align-items: center; border: 1px solid #cbb59855; border-radius: 9px; padding: 0 9px; background: #fffaf2b0; }
.recipes-history-search .recipes-icon { width: 14px; height: 14px; color: #ac987a; }
.recipes-history-search input { width: 100%; min-width: 0; background: transparent; border: 0; padding: 9px 0; font-size: 11px; color: #8a7557; }
.recipes-history-search input::placeholder { color: #b3a086; }
.recipes-history-search button { color: #a08768; padding: 5px; font-size: 11px; }
.recipes-clear-filter { padding: 7px 8px; color: #957655; font-size: 10px; }
.recipes-history-day { margin: 18px 0 0; }
.recipes-history-day > h3 { font-size: 11px; font-weight: 400; color: #a08d71; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.recipes-history-day > h3::after { content: ""; flex: 1; height: 1px; background: #c6b2943b; }
.recipes-history-day > h3 span { font-size: 9px; color: #b2a083; }
.recipes-history-entry { padding: 17px 19px; margin-bottom: 10px; border: 1px solid #cdbb9f3b; background: #f5f1e69c; border-radius: 13px; }
.recipes-history-entry > header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.recipes-history-entry h4 { font-size: 12px; font-weight: 500; color: #847052; margin: 0; }
.recipes-history-entry time { font: 9px var(--mono, monospace); color: #ad9879; }
.recipes-history-entry .recipes-history-source { font-size: 9px; color: #a08c6e; margin-left: auto; }
.recipes-history-delete { display: inline-grid; place-items: center; color: #b09b7e; height: 26px; width: 26px; margin-right: -5px; }
.recipes-history-delete .recipes-icon { width: 13px; height: 13px; }
.recipes-history-delete:hover { color: #b06c52; background: #b06c520c; }
.recipes-history-foods { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px 14px; }
.recipes-history-foods div { min-width: 0; }
.recipes-history-foods span { display: block; font-size: 9px; color: #ac9879; line-height: 1.7; margin-bottom: 2px; }
.recipes-history-foods strong { display: block; font-size: 11px; font-weight: 400; color: #897254; line-height: 1.8; overflow-wrap: anywhere; }
.recipes-history-meal { font-size: 10px; color: #a28c6c; line-height: 1.9; margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed #c6b29442; overflow-wrap: anywhere; }
.recipes-history-meal b { font-weight: 400; color: #82916a; }
.recipes-history-empty { text-align: center; padding: 36px 14px 35px; color: #b09b7d; }
.recipes-history-empty .recipes-icon { height: 34px; width: 34px; stroke-width: 1.2; margin-bottom: 10px; }
.recipes-history-empty h3 { font-weight: 400; font-size: 14px; color: #95805e; margin: 0 0 10px; }
.recipes-history-empty p { font-size: 11px; line-height: 1.9; max-width: 330px; margin: 0 auto; }
.recipes-history-footer { color: #ac997b; font-size: 9px; margin: 17px 0 0; line-height: 1.8; text-align: right; }
.recipes-footer { display: flex; align-items: center; justify-content: center; gap: 7px; color: #ad997a; font-size: 9px; padding: 22px 0 0; text-align: center; line-height: 1.8; }
.recipes-footer .recipes-icon { height: 12px; width: 12px; }
.recipes-live { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.recipes-pool-form .recipes-pool-intro { font-size: 12px; color: #927a5c; line-height: 1.9; margin: 1px 0 16px; }
.recipes-pool-form .recipes-pool-intro strong { color: #79855e; font-weight: 500; }
.recipes-pool-form textarea { width: 100%; min-height: 255px; resize: vertical; line-height: 1.85; font-size: 14px; padding: 12px 14px; }
.recipes-pool-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 10px; color: #a28a6c; line-height: 1.7; }
.recipes-pool-form .recipes-pool-tip { margin: 13px 0 18px; font-size: 11px; line-height: 1.9; color: #a28a6b; }
.recipes-pool-form .recipes-pool-tip .recipes-icon { width: 13px; height: 13px; color: #8a9772; margin-right: 3px; }
.recipes-delete-copy { font-size: 12px; color: #937957; line-height: 1.9; overflow-wrap: anywhere; }
.recipes-delete-copy strong { color: #7d694d; font-weight: 500; }
.recipes-delete-help { font-size: 11px; line-height: 1.8; color: #a38a69; }
@media (max-width: 1120px) {
  .recipes-page { padding: 25px 24px; }
  .recipes-main-grid { gap: 17px; }
  .recipes-wheel-card { padding: 21px 19px; }
  .recipes-meal-card { padding: 22px 21px 19px; }
  .recipes-wheel-stage { --wheel-size: 290px; --wheel-radius: 106px; }
  .recipes-wheel-label { font-size: 10px; width: 84px; margin-left: -42px; }
  .recipes-wheel-stage[data-wheel-count="11"] .recipes-wheel-label, .recipes-wheel-stage[data-wheel-count="12"] .recipes-wheel-label { width: 65px; margin-left: -32.5px; }
  .recipes-table-head, .recipes-food-row { grid-template-columns: minmax(147px,1.1fr) minmax(0,1fr) 75px 167px; gap: 12px; }
  .recipes-row-actions { gap: 5px; }
  .recipes-row-actions button { padding: 7px 8px; }
}
@media (max-width: 850px) {
  .recipes-page { padding: 22px 19px; }
  .recipes-hero { padding: 23px 26px; }
  .recipes-hero h1 { font-size: 28px; }
  .recipes-hero-art { width: 132px; margin-right: 2px; }
  .recipes-hero-art img { height: 155px; }
  .recipes-wheel-card { padding: 20px 15px; }
  .recipes-wheel-stage { --wheel-size: 268px; --wheel-radius: 96px; }
  .recipes-wheel-label { width: 73px; margin-left: -36.5px; }
  .recipes-wheel-hub { width: 87px; height: 87px; border-width: 5px; gap: 5px; }
  .recipes-wheel-hub strong { font-size: 11px; }
  .recipes-meal-card { padding: 21px 18px 17px; }
  .recipes-meal-title { gap: 8px; flex-wrap: wrap; }
  .recipes-meal-mark { width: 35px; height: 35px; }
  .recipes-meal-badge { margin-left: 43px; margin-top: -7px; }
  .recipes-dish { grid-template-columns: 31px minmax(0,1fr); gap: 8px; }
  .recipes-dish-number { width: 27px; height: 29px; }
  .recipes-dish strong { font-size: 12px; }
  .recipes-selections, .recipes-history { padding: 21px 20px 17px; }
  .recipes-table-head, .recipes-food-row { grid-template-columns: minmax(140px,1.1fr) minmax(0,1fr) 145px; gap: 10px; }
  .recipes-table-head span:nth-child(3) { display: none; }
  .recipes-row-pool { display: none; }
  .recipes-row-actions button { padding: 7px; font-size: 9px; }
  .recipes-row-actions button .recipes-icon { width: 12px; height: 12px; }
}
@media (max-width: 700px) {
  .recipes-page { padding: 18px 14px 24px; }
  .recipes-main-grid { grid-template-columns: 1fr; gap: 17px; }
  .recipes-wheel-card { padding: 22px 22px 21px; }
  .recipes-wheel-stage { --wheel-size: 322px; --wheel-radius: 118px; }
  .recipes-wheel-label { width: 93px; margin-left: -46.5px; font-size: 11px; }
  .recipes-wheel-stage[data-wheel-count="11"] .recipes-wheel-label, .recipes-wheel-stage[data-wheel-count="12"] .recipes-wheel-label { width: 73px; margin-left: -36.5px; }
  .recipes-wheel-hub { width: 100px; height: 100px; border-width: 6px; gap: 6px; }
  .recipes-wheel-hub strong { font-size: 12px; }
  .recipes-wheel-actions { gap: 10px; }
  .recipes-meal-card { padding: 22px 23px 21px; }
  .recipes-meal-title { flex-wrap: nowrap; margin-bottom: 20px; }
  .recipes-meal-badge { margin-top: 0; margin-left: auto; }
  .recipes-meal-mark { width: 40px; height: 40px; }
  .recipes-dish-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 19px; }
  .recipes-dish { grid-template-columns: 30px minmax(0,1fr); }
  .recipes-dish strong { font-size: 13px; }
  .recipes-meal-empty { padding: 22px 12px; }
  .recipes-meal-empty .recipes-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .recipes-meal-empty h3 { font-size: 15px; }
  .recipes-date-caption { width: 100%; }
  .recipes-datebar { gap: 10px; margin-bottom: 18px; }
  .recipes-date-fields { flex-wrap: wrap; gap: 8px; }
  .recipes-hero { min-height: 186px; gap: 15px; margin-bottom: 20px; }
  .recipes-hero h1 { font-size: 26px; }
  .recipes-hero p { font-size: 11px; }
  .recipes-hero-art { width: 125px; margin-right: 0; }
  .recipes-hero-art img { height: 149px; }
  .recipes-art-caption { font-size: 10px; }
  .recipes-field-label input, .recipes-field-label select, .recipes-history-filters input[type="date"], .recipes-history-search input { font-size: 16px; }
  .recipes-field-label input { width: 153px; }
  .recipes-field-label select { width: 92px; }
  .recipes-history-filters input[type="date"] { width: 151px; }
}
@media (max-width: 480px) {
  .recipes-page { padding: 16px 12px 24px; }
  .recipes-hero { padding: 22px 19px 21px; min-height: 207px; position: relative; overflow: hidden; align-items: flex-start; }
  .recipes-hero-copy { padding-right: 52px; }
  .recipes-hero h1 { font-size: 24px; line-height: 1.5; max-width: 190px; margin: 9px 0 10px; }
  .recipes-hero h1 span { display: block; }
  .recipes-hero p { max-width: 176px; font-size: 10px; }
  .recipes-hero .recipes-eyebrow { font-size: 8px; letter-spacing: 1.7px; }
  .recipes-hero-note { position: relative; z-index: 3; margin-top: 18px; font-size: 9px; padding: 6px 9px; margin-right: -60px; }
  .recipes-hero-art { position: absolute; right: 17px; top: 29px; width: 98px; margin: 0; padding: 5px 5px 4px; }
  .recipes-hero-art img { height: 117px; }
  .recipes-hero-art::before { width: 32px; height: 12px; top: -5px; }
  .recipes-art-caption { margin-top: 4px; font-size: 8px; }
  .recipes-date-fields { width: 100%; gap: 8px; }
  .recipes-field-label { gap: 6px; font-size: 10px; }
  .recipes-field-label input { padding: 8px; width: 144px; }
  .recipes-field-label select { width: 83px; padding: 8px; }
  .recipes-today { padding: 7px; font-size: 9px; }
  .recipes-date-caption { font-size: 9px; }
  .recipes-main-grid { gap: 15px; margin-bottom: 17px; }
  .recipes-wheel-card { padding: 20px 16px; border-radius: 19px; }
  .recipes-section-head { gap: 8px; margin-bottom: 15px; }
  .recipes-section-head h2 { font-size: 15px; }
  .recipes-eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .recipes-pool-link { font-size: 9px; padding: 7px; }
  .recipes-theme-chips { gap: 5px; margin-bottom: 12px; }
  .recipes-theme-chip { font-size: 9px; padding: 7px 9px; gap: 4px; }
  .recipes-wheel-stage { --wheel-size: 288px; --wheel-radius: 105px; margin-top: 17px; }
  .recipes-wheel-label { font-size: 10px; width: 83px; margin-left: -41.5px; }
  .recipes-wheel-stage[data-wheel-count="11"] .recipes-wheel-label, .recipes-wheel-stage[data-wheel-count="12"] .recipes-wheel-label { width: 65px; margin-left: -32.5px; font-size: 9px; }
  .recipes-wheel-hub { width: 90px; height: 90px; border-width: 5px; gap: 5px; }
  .recipes-wheel-hub strong { font-size: 11px; }
  .recipes-wheel-hub .recipes-icon { width: 22px; height: 22px; }
  .recipes-wheel-result { margin-bottom: 14px; }
  .recipes-wheel-result strong { font-size: 17px; }
  .recipes-wheel-note { font-size: 9px; }
  .recipes-primary, .recipes-secondary { min-height: 43px; font-size: 11px; padding: 10px 9px; gap: 6px; }
  .recipes-primary .recipes-icon, .recipes-secondary .recipes-icon { height: 16px; width: 16px; }
  .recipes-meal-card { padding: 21px 18px 19px; border-radius: 19px; }
  .recipes-meal-title h2 { font-size: 16px; }
  .recipes-meal-badge { font-size: 8px; padding: 5px 7px; }
  .recipes-dish-list { gap: 16px 12px; }
  .recipes-dish { gap: 7px; grid-template-columns: 25px minmax(0,1fr); }
  .recipes-dish-number { width: 25px; height: 28px; font-size: 13px; }
  .recipes-dish strong { font-size: 12px; }
  .recipes-dish-label { font-size: 8px; }
  .recipes-meal-bottom { margin-top: 18px; padding-top: 12px; }
  .recipes-meal-bottom p { font-size: 9px; }
  .recipes-selections, .recipes-history { padding: 20px 17px 16px; border-radius: 18px; }
  .recipes-selections { margin-bottom: 17px; }
  .recipes-selections > .recipes-section-head { align-items: flex-start; }
  .recipes-selection-summary { font-size: 9px; gap: 4px; line-height: 1.8; max-width: 90px; }
  .recipes-table-head { display: none; }
  .recipes-food-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px 11px; padding: 15px 0; min-height: 99px; }
  .recipes-row-theme { grid-column: 1; grid-row: 1; gap: 7px; }
  .recipes-row-number { font-size: 13px; width: 20px; }
  .recipes-row-theme button { font-size: 10px; padding: 0; }
  .recipes-food-name { grid-column: 1; grid-row: 2; font-size: 13px; padding-left: 27px; }
  .recipes-food-name.is-empty { font-size: 11px; }
  .recipes-row-pool { display: flex; grid-column: 2; grid-row: 1; justify-content: flex-end; padding: 0; font-size: 9px; }
  .recipes-row-actions { grid-column: 2; grid-row: 2; gap: 5px; align-self: center; }
  .recipes-row-actions button { min-height: 31px; padding: 7px; font-size: 9px; gap: 4px; }
  .recipes-row-actions button .recipes-icon { width: 12px; height: 12px; }
  .recipes-selection-foot { align-items: flex-start; gap: 10px; font-size: 9px; padding-top: 11px; }
  .recipes-selection-foot button { font-size: 9px; padding-top: 0; }
  .recipes-history-filters { gap: 9px; }
  .recipes-history-filters > label { font-size: 10px; }
  .recipes-history-search { flex-basis: 100%; }
  .recipes-history-entry { padding: 14px 13px; }
  .recipes-history-entry > header { flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
  .recipes-history-entry h4 { font-size: 11px; }
  .recipes-history-entry .recipes-history-source { margin-left: auto; font-size: 8px; }
  .recipes-history-entry time { font-size: 8px; }
  .recipes-history-foods { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 13px; }
  .recipes-history-foods span { font-size: 8px; }
  .recipes-history-foods strong { font-size: 10px; }
  .recipes-history-meal { font-size: 9px; padding-top: 9px; margin-top: 12px; }
  .recipes-history-count { font-size: 9px; }
  .recipes-history-empty { padding: 30px 9px; }
  .recipes-history-empty p { font-size: 10px; }
  .recipes-footer { font-size: 8px; padding-top: 20px; }
  .recipes-pool-form textarea { font-size: 16px; min-height: 240px; }
}
@media (max-width: 360px) {
  .recipes-page { padding: 14px 9px 22px; }
  .recipes-hero { padding: 21px 16px; min-height: 205px; }
  .recipes-hero h1 { font-size: 22px; max-width: 169px; }
  .recipes-hero p { max-width: 157px; }
  .recipes-hero-art { width: 85px; right: 12px; top: 29px; }
  .recipes-hero-art img { height: 103px; }
  .recipes-art-caption { font-size: 7px; }
  .recipes-hero-note { margin-right: -76px; padding: 6px 8px; font-size: 8px; }
  .recipes-field-label { gap: 5px; }
  .recipes-field-label input { width: 138px; padding: 8px 6px; }
  .recipes-field-label select { width: 79px; padding: 8px 6px; }
  .recipes-date-fields { gap: 7px; }
  .recipes-today { padding: 7px 6px; }
  .recipes-date-fields .recipes-field-label > span { display: none; }
  .recipes-wheel-card { padding: 19px 12px; }
  .recipes-wheel-stage { --wheel-size: 264px; --wheel-radius: 96px; padding: 9px; }
  .recipes-wheel-label { width: 75px; margin-left: -37.5px; font-size: 9px; }
  .recipes-wheel-stage[data-wheel-count="11"] .recipes-wheel-label, .recipes-wheel-stage[data-wheel-count="12"] .recipes-wheel-label { width: 60px; margin-left: -30px; font-size: 9px; }
  .recipes-wheel-hub { width: 84px; height: 84px; }
  .recipes-theme-chip { padding: 6px 8px; font-size: 9px; }
  .recipes-selections, .recipes-history { padding: 19px 12px 15px; }
  .recipes-meal-card { padding: 20px 15px 18px; }
  .recipes-meal-title { gap: 7px; }
  .recipes-meal-mark { width: 34px; height: 34px; }
  .recipes-meal-title h2 { font-size: 15px; }
  .recipes-meal-title p { font-size: 9px; }
  .recipes-meal-badge { padding: 4px 6px; font-size: 8px; gap: 3px; }
  .recipes-dish-list { grid-template-columns: 1fr; gap: 13px; }
  .recipes-dish { grid-template-columns: 28px minmax(0,1fr); }
  .recipes-dish strong { font-size: 12px; }
  .recipes-food-row { gap: 7px 6px; }
  .recipes-row-theme button { font-size: 9px; }
  .recipes-food-name { font-size: 12px; }
  .recipes-row-actions { gap: 4px; }
  .recipes-row-actions button { padding: 7px 6px; font-size: 8px; gap: 3px; }
  .recipes-row-actions button .recipes-icon { width: 11px; height: 11px; }
  .recipes-history-entry .recipes-history-source { order: 4; margin-left: 0; width: 100%; }
  .recipes-history-delete { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .recipes-page button { transition: none; }
  .recipes-wheel-disc { will-change: auto; }
}
@media (pointer: coarse) {
  .recipes-page button, .recipes-page input, .recipes-page select,
  .recipes-pool-form button, #recipes-delete-form button {
    min-height: 44px;
    min-width: 44px;
  }
  .recipes-theme-chips { gap: 7px; }
  .recipes-theme-chip { padding-left: 10px; padding-right: 10px; }
  .recipes-row-actions { gap: 7px; }
  .recipes-row-actions button { padding: 9px 8px; }
  .recipes-food-row { row-gap: 5px; }
  .recipes-history-entry > header { gap: 8px; }
  .recipes-history-delete { margin-top: -3px; margin-bottom: -3px; }
  .recipes-history-search { padding-right: 4px; }
}
