:root {
  color-scheme: light;
  --paper: #f4f5f8;
  --surface: #ffffff;
  --surface-soft: #eceef6;
  --ink: #252e5d;
  --muted: #525d7c;
  --tomato: #bd3c31;
  --blueberry: #29346b;
  --marigold: #f3c449;
  --green: var(--tomato);
  --green-deep: var(--blueberry);
  --lime: var(--marigold);
  --line: #dce0eb;
  --amber-bg: #fff0b8;
  --amber-ink: #504016;
  --red-bg: #f9e1df;
  --red-ink: #702721;
  --shadow: 0 18px 48px rgba(38, 47, 93, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, dialog:focus-visible { outline: 3px solid #a1c75b; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; left: 12px; top: 12px; padding: 11px 16px; transform: translateY(-150%); background: var(--surface); color: var(--ink); border-radius: 12px; font-weight: 750; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 174px; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px; color: var(--green); background: #e3e9d9; }
.brand-mark svg { width: 27px; height: 27px; }
.brand-name, .footer-brand { color: var(--ink); font-weight: 850; letter-spacing: -.055em; font-size: 20px; }
.brand-name span, .footer-brand span { color: var(--green); }
.top-nav { display: flex; gap: 32px; margin-left: auto; margin-right: auto; }
.top-nav a, .back-top { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; }
.top-nav a:hover, .back-top:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.local-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; padding: 0 12px; background: #e8eee3; border: 1px solid #dbe4d6; border-radius: 999px; color: #365443; font-size: 11px; font-weight: 720; white-space: nowrap; }
.local-dot { width: 7px; height: 7px; border-radius: 50%; background: #4c805a; box-shadow: 0 0 0 3px rgba(76, 128, 90, .13); }

.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(320px, .93fr); min-height: 392px; border-radius: 28px; background: var(--green-deep); color: #fffef7; box-shadow: var(--shadow); }
.hero-copy { align-self: center; padding: 45px 30px 48px 54px; max-width: 600px; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #e1e9c1; margin: 0 0 17px; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 790; }
.eyebrow-line { width: 21px; height: 1px; background: #c8db8a; }
.hero h1 { max-width: 550px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.2vw, 61px); line-height: .99; letter-spacing: -.045em; font-weight: 500; }
.hero h1 em { color: var(--lime); font-style: italic; }
.hero-intro { max-width: 430px; margin: 19px 0 22px; color: #e1eae3; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.button { min-height: 46px; padding: 0 17px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 760; transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-light { background: #f8f8ee; color: #234934; }
.button-light:hover { background: #eaf1d9; box-shadow: 0 5px 15px rgba(0,0,0,.12); }
.button-light svg { width: 17px; height: 17px; }
.hero-hint { color: #d4e0d5; font-size: 11px; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: #204c37; box-shadow: 0 5px 15px rgba(32, 76, 55, .17); }
.button-quiet { color: #40574b; background: #f2f3ec; border-color: #e1e6dd; }
.button-quiet:hover { background: #e6ebe1; }
.hero-art { position: relative; min-height: 360px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 48% 46%, #f2dcb2 0 31%, transparent 31.5%), linear-gradient(120deg, #e4bd8c, #d6a873); }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .18; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 18px 18px; }
.sun-disc { position: absolute; width: 250px; height: 250px; top: 46px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: #f7e9ca; }
.fridge-illustration { position: absolute; z-index: 2; width: 158px; height: 256px; left: 50%; top: 49%; transform: translate(-50%, -47%) rotate(-3deg); border: 5px solid #f8f4e8; border-radius: 21px 21px 17px 17px; background: #eef1df; box-shadow: 10px 15px 0 rgba(86, 56, 32, .12), inset 0 -2px 0 #c6cdb9; }
.fridge-top { height: 36%; border-bottom: 4px solid #d9ddce; position: relative; }
.fridge-bottom { height: 64%; position: relative; }
.fridge-top span, .fridge-bottom span { position: absolute; right: 16px; width: 4px; border-radius: 99px; background: #9ca995; }
.fridge-top span { height: 21px; bottom: 13px; }
.fridge-bottom span { height: 32px; top: 23px; }
.fridge-top i, .fridge-bottom i { position: absolute; height: 5px; left: 17px; right: 31px; border-radius: 99px; background: #d3d9ca; }
.fridge-top i { top: 17px; }
.fridge-bottom i { top: 81px; }
.fridge-bottom b { position: absolute; width: 34px; height: 19px; bottom: 14px; left: 18px; border-radius: 11px 11px 5px 5px; background: #d8a474; box-shadow: 41px 0 #88a474; }
.fridge-note { position: absolute; left: 21px; top: 69px; padding: 8px 10px 7px; border-radius: 5px; transform: rotate(4deg); background: #f0cf71; color: #4d512c; font-family: Georgia, serif; font-weight: bold; text-transform: uppercase; font-size: 14px; line-height: .87; box-shadow: 2px 4px 8px rgba(49, 57, 34, .13); }
.fridge-note span { display: inline-block; padding-left: 8px; font: 12px system-ui; }
.produce { position: absolute; z-index: 3; border: 5px solid #f4e6c9; box-shadow: 6px 9px 15px rgba(81, 46, 23, .14); }
.produce-orange { width: 44px; height: 44px; background: #d77c49; border-radius: 48% 52% 51% 49%; left: calc(50% - 137px); bottom: 74px; transform: rotate(-10deg); }
.produce-orange::before { content: ""; position: absolute; width: 14px; height: 9px; border-radius: 100% 0 100% 0; top: -10px; left: 21px; background: #5e8051; }
.produce-leaf { width: 56px; height: 30px; border-radius: 100% 0 100% 0; background: #628a59; right: calc(50% - 147px); bottom: 79px; transform: rotate(23deg); }
.produce-leaf::after { content: ""; position: absolute; width: 1px; height: 34px; top: -1px; left: 24px; transform: rotate(57deg); background: rgba(255,255,255,.46); }
.produce-tomato { width: 37px; height: 37px; border-radius: 50%; background: #c9634d; right: calc(50% - 124px); bottom: 43px; transform: rotate(-12deg); }
.produce-tomato::after { content: "✳"; position: absolute; color: #647e4e; font-size: 12px; top: -13px; left: 10px; }
.sparkle { position: absolute; color: #fff8df; font-size: 21px; }
.sparkle-one { top: 54px; right: 21%; }
.sparkle-two { bottom: 92px; left: 17%; font-size: 14px; }
.art-caption { position: absolute; z-index: 4; left: 20px; bottom: 18px; display: flex; gap: 9px; align-items: center; padding: 10px 13px; color: #304c37; background: rgba(255, 250, 234, .94); border-radius: 12px; box-shadow: 0 7px 18px rgba(73, 45, 21, .10); font-size: 11px; line-height: 1.3; font-weight: 690; }
.caption-star { color: #b4653e; font-size: 16px; }
.art-label { position: absolute; right: 20px; top: 17px; color: #664b35; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 820; }

.how-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 32px; margin: 16px 0 57px; border: 1px solid #e0e4d8; border-radius: 18px; background: rgba(255, 254, 249, .63); }
.how-step { display: flex; align-items: center; gap: 12px; }
.step-number { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: #e7eddc; color: #426346; font-family: Georgia, serif; font-size: 12px; font-weight: 750; }
.how-step strong, .how-step small { display: block; }
.how-step strong { font-size: 12px; margin-bottom: 4px; }
.how-step small { color: var(--muted); font-size: 10px; }
.step-divider { width: 1px; height: 34px; background: #dfe5d8; }
.list-section { margin-bottom: 52px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.heading-kicker { margin-bottom: 7px; color: #647365; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 780; }
.title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-size: 37px; line-height: 1; font-weight: 500; }
.sample-badge { display: inline-flex; padding: 5px 9px; align-items: center; border-radius: 999px; background: #e8ead9; color: #4c6142; font-size: 10px; font-weight: 750; }
.section-subtitle { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.add-button { min-height: 44px; border-radius: 12px; }
.plus { font-size: 19px; line-height: 1; font-weight: 500; }
.toolbar { min-height: 59px; padding: 8px 0; margin-bottom: 15px; display: flex; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid #dfe4d9; border-bottom: 1px solid #dfe4d9; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter-button { min-height: 35px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #495b50; cursor: pointer; font-size: 11px; font-weight: 670; }
.filter-button span { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: #e9ece4; color: #4c5d50; font-size: 9px; }
.filter-button:hover { background: #e9ede3; }
.filter-button.is-active { background: var(--green-deep); color: white; }
.filter-button.is-active span { background: rgba(255,255,255,.19); color: white; }
.sort-control { display: inline-flex; align-items: center; gap: 8px; color: #56655b; font-size: 10px; font-weight: 680; white-space: nowrap; }
.sort-control select { min-height: 34px; padding: 0 25px 0 9px; border: 1px solid #dfe4d9; border-radius: 9px; background: #fffef9; color: var(--ink); font-size: 10px; font-weight: 650; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(255px, .82fr); gap: 22px; align-items: start; }
.list-summary { min-height: 20px; margin: 0 0 9px; color: #5e6d61; font-size: 10px; font-weight: 680; }
.item-list { display: grid; gap: 10px; }
.item-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 16px; min-height: 112px; border: 1px solid #e2e6dd; border-radius: 16px; background: var(--surface); box-shadow: 0 4px 12px rgba(28, 46, 34, .025); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.item-card:hover { border-color: #cbd7c8; transform: translateY(-1px); box-shadow: 0 7px 19px rgba(28, 46, 34, .055); }
.item-card.is-used { background: #f3f4ed; }
.item-main { min-width: 0; display: flex; align-items: center; gap: 13px; }
.item-symbol { position: relative; flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #eaf0e1; color: #42654c; }
.item-symbol svg { width: 23px; height: 23px; }
.item-card:nth-child(3n+2) .item-symbol { background: #f7ebd8; color: #80562f; }
.item-card:nth-child(3n) .item-symbol { background: #f5e6dd; color: #854c37; }
.item-copy { min-width: 0; }
.item-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item-copy h3 { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.3; font-weight: 780; overflow-wrap: anywhere; }
.is-used .item-copy h3 { color: #617067; text-decoration: line-through; text-decoration-thickness: 1px; }
.urgency-chip { padding: 4px 8px; display: inline-flex; border-radius: 999px; background: #e5efdb; color: #2e573b; font-size: 9px; line-height: 1; font-weight: 780; white-space: nowrap; }
.urgency-chip.is-today, .urgency-chip.is-soon { background: var(--amber-bg); color: var(--amber-ink); }
.urgency-chip.is-past { background: var(--red-bg); color: var(--red-ink); }
.urgency-chip.is-none { background: #eceee8; color: #4b5b50; }
.urgency-chip.is-used { background: #e5e8df; color: #46574b; }
.item-note { margin: 4px 0 0; color: #596a5e; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.item-dates { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 7px; color: #627065; font-size: 9px; }
.date-tag { display: inline-flex; align-items: center; gap: 4px; }
.date-tag + .date-tag::before { content: "·"; margin-right: 3px; color: #8c988c; }
.item-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.icon-button { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #53655a; cursor: pointer; }
.icon-button svg { width: 16px; height: 16px; }
.icon-button:hover { background: #edf1e9; border-color: #dfe5db; color: var(--green-deep); }
.icon-button.remove:hover { background: #f8eae4; color: #752d1f; }
.used-button { min-height: 34px; padding: 0 10px; border: 1px solid #dce5d7; border-radius: 10px; background: #eff4e9; color: #31543d; cursor: pointer; font-size: 10px; font-weight: 740; white-space: nowrap; }
.used-button:hover { background: #e3edd9; }
.empty-state { padding: 30px 18px; border: 1px dashed #cbd6c8; border-radius: 16px; background: rgba(255, 254, 249, .7); text-align: center; }
.empty-state h3 { margin: 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.empty-state p { max-width: 320px; margin: 9px auto 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-state .button { min-height: 39px; }
.tonight-panel { position: sticky; top: 16px; padding: 22px 20px 19px; border-radius: 20px; background: #e8ecdc; border: 1px solid #d9e1d1; overflow: hidden; }
.tonight-topline { display: flex; align-items: center; gap: 7px; color: #466147; font-size: 10px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.tonight-icon { color: #9e6b32; font-size: 16px; }
.tonight-panel h2 { margin: 11px 0 7px; color: #203c2d; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.tonight-description { margin: 0 0 15px; max-width: 270px; color: #4e6254; font-size: 11px; line-height: 1.55; }
.suggestion-card { min-height: 105px; padding: 13px; border: 1px solid #dce3d7; border-radius: 14px; background: #fffef9; }
.suggestion-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #607062; font-size: 9px; font-weight: 700; }
.suggestion-label span:last-child { color: #3d6544; }
.suggestion-name { margin: 0; color: #21392d; font-size: 15px; line-height: 1.3; font-weight: 780; overflow-wrap: anywhere; }
.suggestion-note { margin: 4px 0 0; color: #627064; font-size: 10px; line-height: 1.4; }
.suggestion-empty { color: #425a48; font-size: 11px; line-height: 1.55; }
.tonight-actions { margin-top: 12px; display: grid; gap: 6px; }
.tonight-pick { min-height: 40px; width: 100%; border-radius: 11px; }
.text-button { min-height: 34px; border: 0; background: transparent; color: #35553e; cursor: pointer; font-size: 10px; font-weight: 720; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.text-button:hover { text-decoration-color: currentColor; }
.tonight-footnote { margin: 12px 0 0; color: #59695b; font-size: 9px; line-height: 1.45; }

.safety-note { display: flex; align-items: flex-start; gap: 12px; padding: 17px 19px; margin: 0 0 35px; border: 1px solid #e3d9c4; border-radius: 16px; background: #f3eddf; }
.safety-mark { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; margin-top: 2px; border-radius: 50%; background: #e5d7b9; color: #57451e; font-family: Georgia, serif; font-size: 13px; font-weight: 800; }
.safety-note h2 { margin: 0 0 4px; color: #4b412a; font-size: 11px; font-weight: 800; }
.safety-note p { margin: 0; max-width: 900px; color: #5a513c; font-size: 10px; line-height: 1.55; }
.footer { min-height: 68px; padding: 17px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #dfe4d9; }
.footer-brand { font-size: 16px; text-decoration: none; }
.footer p { margin: 0; color: #5c6a5f; font-size: 10px; text-align: center; }
.back-top { font-size: 10px; white-space: nowrap; }
.item-dialog { width: min(500px, calc(100% - 28px)); max-height: min(92vh, 760px); padding: 25px; border: 1px solid #e0e5da; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 25px 80px rgba(17, 35, 23, .28); }
.item-dialog::backdrop { background: rgba(21, 37, 27, .47); backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.dialog-kicker { margin: 0 0 6px; color: #637466; font-size: 10px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.dialog-header h2 { margin: 0; font-family: Georgia, serif; font-size: 29px; line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.dialog-close { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #e2e6de; border-radius: 11px; background: #f5f5ee; color: #405447; cursor: pointer; font-size: 24px; line-height: 1; }
.field-label { display: block; margin: 14px 0 7px; color: #31483a; font-size: 11px; font-weight: 760; }
.field-label > span:first-child:not(.optional) { color: #9a5133; }
.optional { margin-left: 4px; color: #69766b; font-size: 9px; font-weight: 600; }
.text-input { display: block; width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #d8e0d6; border-radius: 11px; background: #fff; color: var(--ink); font-size: 13px; }
.text-input::placeholder { color: #76857a; }
.field-hint, .date-explainer { margin: 6px 0 0; color: #647267; font-size: 10px; line-height: 1.45; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.date-fields > div { min-width: 0; }
.date-input { min-height: 42px; padding: 8px 9px; font-size: 11px; }
.form-error { margin: 12px 0 0; color: #752d1f; font-size: 11px; font-weight: 650; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e6e9e2; }
.toast { position: fixed; z-index: 30; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 13px; max-width: calc(100% - 32px); padding: 12px 13px 12px 16px; border: 1px solid #315c44; border-radius: 13px; background: #214a37; color: white; box-shadow: 0 10px 34px rgba(19, 42, 28, .23); font-size: 12px; font-weight: 650; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast button { padding: 5px 7px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(255,255,255,.08); color: white; cursor: pointer; font-size: 10px; font-weight: 750; }
.noscript-message { position: fixed; z-index: 50; inset: 10px 10px auto; padding: 15px; background: #fff; border: 2px solid #a33; color: #622; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(275px, .9fr); }
  .hero-copy { padding-left: 38px; }
  .content-grid { grid-template-columns: minmax(0, 1.45fr) minmax(230px, .85fr); gap: 15px; }
  .item-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .item-actions { padding-left: 56px; justify-content: flex-start; }
}
@media (max-width: 680px) {
  .page-shell { width: min(100% - 30px, 520px); }
  .topbar { height: 68px; gap: 10px; }
  .brand { min-width: auto; gap: 7px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-name { font-size: 18px; }
  .top-nav { display: none; }
  .local-pill { min-height: 31px; padding: 0 9px; font-size: 9px; }
  .hero { grid-template-columns: 1fr; min-height: auto; border-radius: 22px; }
  .hero-copy { padding: 32px 25px 26px; }
  .hero h1 { max-width: 450px; font-size: clamp(42px, 10vw, 54px); }
  .hero-intro { margin-top: 15px; font-size: 13px; }
  .hero-art { min-height: 220px; }
  .sun-disc { width: 192px; height: 192px; top: 12px; }
  .fridge-illustration { width: 117px; height: 188px; top: 49%; border-width: 4px; border-radius: 17px 17px 14px 14px; }
  .fridge-top { border-bottom-width: 3px; }
  .fridge-top span { height: 15px; right: 12px; bottom: 9px; }
  .fridge-bottom span { height: 24px; right: 12px; top: 17px; }
  .fridge-top i { top: 12px; left: 13px; right: 24px; height: 4px; }
  .fridge-bottom i { top: 60px; left: 13px; right: 24px; height: 4px; }
  .fridge-bottom b { width: 25px; height: 14px; bottom: 10px; left: 14px; box-shadow: 31px 0 #88a474; }
  .fridge-note { left: 15px; top: 49px; padding: 6px 7px; font-size: 10px; }
  .fridge-note span { font-size: 9px; padding-left: 5px; }
  .produce-orange { width: 34px; height: 34px; left: calc(50% - 100px); bottom: 53px; border-width: 4px; }
  .produce-orange::before { width: 10px; height: 7px; top: -8px; left: 17px; }
  .produce-leaf { width: 43px; height: 23px; right: calc(50% - 105px); bottom: 58px; border-width: 4px; }
  .produce-leaf::after { height: 26px; left: 18px; }
  .produce-tomato { width: 30px; height: 30px; right: calc(50% - 89px); bottom: 30px; border-width: 4px; }
  .produce-tomato::after { font-size: 10px; top: -11px; left: 7px; }
  .art-caption { left: 12px; bottom: 12px; padding: 7px 9px; font-size: 9px; }
  .art-label { right: 12px; top: 12px; font-size: 8px; }
  .sparkle-one { top: 30px; right: 18%; }
  .sparkle-two { bottom: 65px; left: 15%; }
  .how-strip { margin: 12px 0 42px; padding: 15px 12px; gap: 10px; }
  .how-step { gap: 7px; }
  .step-number { flex-basis: 28px; height: 28px; font-size: 10px; }
  .how-step strong { font-size: 10px; }
  .how-step small { max-width: 95px; font-size: 8px; line-height: 1.35; }
  .step-divider { height: 28px; }
  .section-heading { align-items: flex-start; margin-bottom: 17px; }
  .section-heading h2 { font-size: 32px; }
  .heading-kicker { font-size: 9px; }
  .section-subtitle { max-width: 255px; font-size: 11px; }
  .add-button { min-height: 40px; padding: 0 11px; font-size: 11px; white-space: nowrap; }
  .toolbar { align-items: flex-start; flex-direction: column; gap: 7px; padding: 9px 0 10px; }
  .filters { gap: 3px; }
  .filter-button { padding: 0 8px; gap: 5px; min-height: 32px; font-size: 10px; }
  .filter-button span { min-width: 17px; height: 17px; font-size: 8px; }
  .sort-control { align-self: flex-end; }
  .sort-control select { min-height: 31px; }
  .content-grid { grid-template-columns: 1fr; gap: 15px; }
  .item-card { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 12px; min-height: 110px; }
  .item-main { align-items: flex-start; gap: 10px; }
  .item-symbol { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
  .item-symbol svg { width: 20px; height: 20px; }
  .item-copy h3 { font-size: 13px; }
  .item-actions { grid-column: 1 / -1; padding-left: 48px; justify-content: flex-start; }
  .used-button { min-height: 33px; }
  .tonight-panel { position: static; padding: 20px; }
  .tonight-panel h2 { font-size: 24px; }
  .tonight-actions { grid-template-columns: 1fr 1fr; align-items: center; }
  .text-button { padding: 0 5px; }
  .safety-note { margin-bottom: 24px; padding: 14px; }
  .footer { min-height: 70px; flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; text-align: left; }
  .footer-brand { font-size: 14px; }
}
@media (max-width: 390px) {
  .page-shell { width: calc(100% - 24px); }
  .topbar { height: 62px; }
  .local-pill { gap: 6px; padding: 0 7px; font-size: 8px; }
  .local-dot { width: 6px; height: 6px; }
  .hero-copy { padding: 27px 19px 23px; }
  .hero h1 { font-size: 43px; }
  .hero-intro { font-size: 12px; }
  .hero-hint { font-size: 10px; }
  .how-strip { padding: 12px 8px; gap: 7px; }
  .how-step { gap: 5px; }
  .how-step small { max-width: 75px; font-size: 7px; }
  .step-number { flex-basis: 24px; height: 24px; font-size: 9px; }
  .step-divider { height: 25px; }
  .section-heading { gap: 7px; }
  .section-heading h2 { font-size: 29px; }
  .heading-kicker { letter-spacing: .06em; }
  .sample-badge { padding: 4px 7px; font-size: 8px; }
  .section-subtitle { font-size: 10px; }
  .add-button { min-height: 36px; padding: 0 8px; gap: 5px; font-size: 10px; }
  .filters { width: 100%; justify-content: space-between; }
  .filter-button { padding: 0 6px; font-size: 9px; }
  .filter-button span { min-width: 15px; height: 15px; }
  .item-card { grid-template-columns: minmax(0, 1fr); }
  .item-main { align-items: center; }
  .item-actions { padding-left: 48px; }
  .tonight-actions { grid-template-columns: 1fr; }
  .tonight-pick { width: 100%; }
  .toast { right: 12px; bottom: 12px; left: 12px; width: auto; justify-content: space-between; font-size: 11px; }
  .date-fields { grid-template-columns: 1fr; gap: 0; }
}

/* Use First's own produce-market palette: tomato, marigold, and blueberry. */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, dialog:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; box-shadow: 0 0 0 6px var(--marigold); }
.brand-mark { color: var(--blueberry); background: #fff0bd; }
.brand-name span, .footer-brand span { color: var(--tomato); }
.top-nav a:hover, .back-top:hover { color: var(--tomato); }
.local-pill { background: #e9edf8; border-color: #d6ddef; color: var(--blueberry); }
.local-dot { background: var(--tomato); box-shadow: 0 0 0 3px rgba(189, 60, 49, .15); }
.hero { background: var(--blueberry); color: #fff; }
.eyebrow { color: #fff3d1; }
.eyebrow-line { background: var(--marigold); }
.hero h1 em { color: var(--marigold); }
.button-light { background: #fff; color: var(--blueberry); }
.button-light:hover { background: #fff0bd; }
.button-green:hover { background: #a62f27; box-shadow: 0 5px 15px rgba(133, 38, 31, .2); }
.button-quiet { color: var(--blueberry); background: #f1f2f7; border-color: #dfe2ec; }
.button-quiet:hover { background: #e6e9f2; }
.hero-art { background: radial-gradient(circle at 48% 46%, #ffdd7b 0 31%, transparent 31.5%), linear-gradient(120deg, #e35447, #c63c33); }
.sun-disc { background: #f8cf61; }
.fridge-illustration { border-color: #fff; background: #f7f8fb; box-shadow: 10px 15px 0 rgba(47, 35, 66, .17), inset 0 -2px 0 #d5d9e5; }
.fridge-top { border-bottom-color: #d7dbea; }
.fridge-top span, .fridge-bottom span { background: #818bad; }
.fridge-top i, .fridge-bottom i { background: #dce0eb; }
.fridge-bottom b { background: #d84a3d; box-shadow: 41px 0 #29346b; }
.fridge-note { background: #f4ca50; color: #29346b; }
.produce { border-color: #fff0bd; }
.produce-orange { background: #dc4d3f; }
.produce-orange::before { background: #29346b; }
.produce-leaf { background: #29346b; }
.produce-tomato { background: #b9322d; }
.produce-tomato::after { color: #29346b; }
.art-caption { color: #29346b; background: rgba(255, 255, 255, .96); }
.caption-star { color: #bd3c31; }
.art-label { padding: 6px 9px; border-radius: 999px; background: #29346b; color: #fff; box-shadow: 0 2px 8px rgba(24, 32, 73, .2); }
.how-strip { border-color: #dfe2ec; background: rgba(255, 255, 255, .82); }
.step-number { background: #fff0bd; color: #29346b; }
.step-divider { background: #dfe2ec; }
.heading-kicker { color: #626d92; }
.sample-badge { background: #e9edf8; color: #303c73; }
.toolbar { border-color: #dce0eb; }
.filter-button { color: #404c76; }
.filter-button span { background: #e9edf6; color: #3f4b74; }
.filter-button:hover { background: #fff0bd; }
.filter-button.is-active { background: var(--blueberry); color: #fff; }
.sort-control { color: #525d7c; }
.sort-control select { border-color: #dce0eb; background: #fff; color: var(--ink); }
.list-summary { color: #566183; }
.item-card { border-color: #e0e3ec; background: #fff; }
.item-card:hover { border-color: #b9c2df; }
.item-card.is-used { background: #f2f3f7; }
.item-symbol { background: #e9edf8; color: #29346b; }
.item-card:nth-child(3n+2) .item-symbol { background: #fff0bd; color: #29346b; }
.item-card:nth-child(3n) .item-symbol { background: #f9e1df; color: #a7342c; }
.is-used .item-copy h3 { color: #626a86; }
.urgency-chip { background: #e9edf8; color: #303c73; }
.urgency-chip.is-today, .urgency-chip.is-soon { background: var(--amber-bg); color: var(--amber-ink); }
.urgency-chip.is-past { background: var(--red-bg); color: var(--red-ink); }
.urgency-chip.is-none { background: #eceef4; color: #485374; }
.urgency-chip.is-used { background: #e6e8f0; color: #465071; }
.item-note, .item-dates { color: #566183; }
.date-tag + .date-tag::before { color: #8189a5; }
.icon-button { color: #4c587f; }
.icon-button:hover { background: #e9edf8; border-color: #d8deef; color: var(--blueberry); }
.icon-button.remove:hover { background: #f9e1df; color: #702721; }
.used-button { border-color: #eed47c; background: #fff3c9; color: #29346b; }
.used-button:hover { background: #f8df89; }
.empty-state { border-color: #c8cee0; background: rgba(255, 255, 255, .83); }
.tonight-panel { background: #f8d66f; border-color: #e9c65e; }
.tonight-topline { color: #29346b; }
.tonight-icon { color: #bd3c31; }
.tonight-panel h2 { color: #252e5d; }
.tonight-description, .tonight-footnote { color: #454f77; }
.suggestion-card { border-color: #f0d987; background: #fff; }
.suggestion-label { color: #5a6483; }
.suggestion-label span:last-child { color: #a8322b; }
.suggestion-name { color: #252e5d; }
.suggestion-note, .suggestion-empty { color: #535e7e; }
.text-button { color: #29346b; }
.safety-note { border-color: #e7ddba; background: #faf9f4; }
.safety-mark { background: #f8d66f; color: #29346b; }
.safety-note h2 { color: #29346b; }
.safety-note p, .footer p { color: #525d7c; }
.footer { border-top-color: #dce0eb; }
.item-dialog { border-color: #dfe2ed; box-shadow: 0 25px 80px rgba(24, 32, 73, .28); }
.item-dialog::backdrop { background: rgba(25, 32, 74, .5); }
.dialog-kicker, .optional, .field-hint, .date-explainer { color: #5a6482; }
.dialog-close { border-color: #e0e3ed; background: #f4f5f8; color: #29346b; }
.field-label { color: #29346b; }
.field-label > span:first-child:not(.optional) { color: #bd3c31; }
.text-input { border-color: #d6dbea; background: #fff; color: #252e5d; }
.text-input::placeholder { color: #6d7693; }
.form-error { color: #702721; }
.dialog-actions { border-top-color: #e2e5ed; }
.toast { border-color: #29346b; background: #29346b; box-shadow: 0 10px 34px rgba(24, 32, 73, .25); }
.noscript-message { border-color: #bd3c31; color: #702721; }
@media (max-width: 680px) {
  .fridge-bottom b { box-shadow: 31px 0 #29346b; }
  .art-label { top: 0; right: 12px; padding: 2px 7px; font-size: 8px; line-height: 1; z-index: 4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.recipe-section { margin: 0 0 35px; padding: clamp(21px, 3vw, 33px); border: 1px solid #dce0eb; border-radius: 24px; background: linear-gradient(135deg, #eef0f8 0%, #fff 76%); }
.recipe-section-heading { margin-bottom: 19px; }
.recipe-kicker { margin: 0 0 7px; color: #a8322b; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.recipe-section h2 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3vw, 36px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.recipe-intro { max-width: 650px; margin: 9px 0 0; color: #525d7c; font-size: 12px; line-height: 1.55; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.recipe-card { min-width: 0; padding: 18px; display: flex; flex-direction: column; border: 1px solid #dfe2ec; border-radius: 17px; background: #fff; box-shadow: 0 6px 16px rgba(38, 47, 93, .045); }
.recipe-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.recipe-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff0bd; color: #29346b; font-family: Georgia, serif; font-size: 11px; font-weight: 800; }
.recipe-tag { padding: 5px 8px; border-radius: 999px; background: #e9edf8; color: #29346b; font-size: 9px; font-weight: 750; }
.recipe-card h3 { margin: 0 0 12px; color: #252e5d; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 550; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
.recipe-uses-label { margin: 0 0 7px; color: #525d7c; font-size: 10px; font-weight: 700; }
.recipe-ingredients { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 12px; padding: 0; list-style: none; }
.recipe-ingredients li { max-width: 100%; padding: 5px 8px; border-radius: 999px; background: #fff0bd; color: #29346b; font-size: 10px; font-weight: 670; overflow-wrap: anywhere; }
.recipe-details { margin-top: auto; border-top: 1px solid #e6e8f0; }
.recipe-details summary { min-height: 40px; padding: 12px 0 6px; color: #29346b; cursor: pointer; font-size: 11px; font-weight: 760; text-underline-offset: 3px; }
.recipe-details[open] summary { margin-bottom: 7px; }
.recipe-details ol { display: grid; gap: 8px; margin: 0; padding-left: 19px; color: #3d476d; font-size: 11px; line-height: 1.5; }
.recipe-details li { padding-left: 2px; }
.recipe-extras { margin: 11px 0 0; color: #525d7c; font-size: 10px; line-height: 1.5; }
.recipe-extras strong { color: #29346b; }
.recipe-empty { grid-column: 1 / -1; padding: 23px; border: 1px dashed #b9c2df; border-radius: 17px; background: rgba(255,255,255,.82); text-align: center; }
.recipe-empty h3 { margin: 0; color: #252e5d; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.recipe-empty p { margin: 8px auto 13px; color: #525d7c; font-size: 11px; line-height: 1.5; }
.recipe-empty .button { min-height: 38px; }
.recipe-disclaimer { margin: 14px 2px 0; color: #525d7c; font-size: 10px; line-height: 1.5; }

@media (max-width: 900px) {
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .recipe-section { padding: 19px 15px; border-radius: 20px; }
  .recipe-grid { grid-template-columns: 1fr; gap: 10px; }
  .recipe-card { padding: 16px; }
}
