:root {
  --ink: #26372e;
  --forest: #28573f;
  --green: #356749;
  --leaf: #6e926b;
  --muted: #67736a;
  --line: #dfe5dc;
  --soft: #edf3eb;
  --bg: #f8f9f5;
  --white: #fff;
  --peach: #f8ede1;
  --shadow: 0 2px 5px rgb(34 59 40 / 3%);
  color: var(--ink);
  background: var(--bg);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: weight;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:86px}
body {margin:0;line-height:1.55;word-break:keep-all;overflow-wrap:break-word}
button,input,select,textarea {font:inherit;color:inherit}
button,a {touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button {cursor:pointer;background:none;border:0}
button:disabled {cursor:default;opacity:.55}
a {color:inherit;text-decoration:none}
button,a,input,select,textarea {outline-offset:3px}
:focus-visible {outline:3px solid #669b68}
h1,h2,h3,p {margin:0}
h1,h2,h3,strong,b {font-weight:730}
h1,h2,h3 {letter-spacing:-.055em;line-height:1.3}
ul,ol {margin:0;padding:0}
button,.badge,.count-tag {white-space:nowrap}
.icon {flex:none;vertical-align:middle}
.shell {width:min(100% - clamp(2.5rem,7vw,7rem), 82rem);margin-inline:auto}
.top {height:73px;background:#fff;border-bottom:1px solid #e5e9e1;position:sticky;top:0;z-index:12}
.top-inner {height:100%;display:flex;gap:clamp(2rem,5.4vw,5.2rem);align-items:center}
.brand,.family-btn,.top-nav,.top-nav a,.btn,.link-btn,.icon-btn,.square,.text-link,.side-link,.place-label,.check-label {display:inline-flex;align-items:center;justify-content:center}
.brand {gap:10px;color:#244b37;font-size:1.52rem;font-weight:850;letter-spacing:-.085em;line-height:1;white-space:nowrap}
.brand img {width:39px;height:39px}
.top-nav {align-self:stretch;gap:14px}
.top-nav a {gap:7px;padding:0 13px;font-size:.94rem;letter-spacing:-.035em;color:#616c63;font-weight:570;position:relative;transition:color .18s}
.top-nav a.on,.top-nav a:hover {color:var(--forest)}
.top-nav a.on {font-weight:760}
.top-nav a.on::after {content:"";position:absolute;bottom:0;height:3px;left:10px;right:10px;align-self:end;background:var(--forest);border-radius:4px 4px 0 0}
.family-btn {display:flex;gap:9px;align-items:center;margin-left:auto;color:#3c4d3f;font-size:.91rem;font-weight:650;padding:4px 0}
.family-mark {width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eaf0e5;color:#477347}
.main {padding-top:25px}
.hero {border-radius:19px;isolation:isolate;position:relative;overflow:hidden;min-height:210px;background:#e8f0e3;border:1px solid #dce6d7;display:flex;align-items:center}
.hero-art {position:absolute;inset:0 0 0 38%;z-index:-1;background: url("../art/hero.webp") right center / cover no-repeat}
.hero-art::before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e8f0e3 0%,rgb(232 240 227 / 72%) 10%,transparent 34%)}
.hero-copy {padding:25px 38px 27px;max-width:58%;position:relative}
.hero-kicker {display:flex;align-items:center;gap:6px;font-size:.79rem;letter-spacing:.015em;font-weight:730;color:#44694d}
.hero h1 {font-size:clamp(2rem,3.05vw,2.85rem);font-weight:830;color:#244831;letter-spacing:-.075em;margin:6px 0 6px;line-height:1.21}
.hero p {color:#4a6451;font-size:1rem;letter-spacing:-.032em}
.hero-actions {display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}
.btn {gap:7px;min-height:40px;padding:9px 16px;border-radius:9px;font-size:.91rem;font-weight:670;border:1px solid transparent;line-height:1.35;letter-spacing:-.028em;transition:background .17s,border-color .17s,transform .17s}
.btn:hover {transform:translateY(-1px)}
.btn:active {transform:translateY(0)}
.btn.primary {color:white;background:var(--forest);border-color:var(--forest);box-shadow:0 2px 3px rgb(26 61 32 / 9%)}
.btn.primary:hover {background:#1d4732}
.btn.hero-secondary {color:#35533e;background:rgb(255 255 255 / 78%);border-color:#c9d9c7}
.btn.outline,.square,.icon-btn,.close-btn {background:white;border:1px solid var(--line)}
.btn.soft {color:var(--forest);background:var(--soft)}
.btn.outline:hover,.square:hover,.icon-btn:hover,.close-btn:hover {background:#f0f4ee;border-color:#b9cdb9}
.btn.small {min-height:35px;padding:7px 12px;font-size:.875rem}
.btn.small .icon {width:16px;height:16px}
.btn.plain-danger {color:#a94c3e;background:#fbf0eb}
.weekbar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 0 18px;border-bottom:1px solid var(--line);margin-bottom:22px}
.week-switch,.weekday-button {display:flex;align-items:center}
.week-switch {gap:12px}
.week-switch > .icon {margin-left:2px;color:#57715b}
.week-switch strong {font-size:1.05rem;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.square,.icon-btn,.close-btn,.mini-icon {width:31px;height:31px;padding:0;border-radius:8px;flex:none}
.square .icon {width:16px}
.this-week {line-height:1.4;padding:4px 10px;border:1px solid #d5e0d1;border-radius:7px;color:#55705a;background:#f1f5ed;font-size:.82rem;font-weight:650;margin-left:1px}
.weekday-button {gap:7px;color:#526455;font-size:.875rem;padding:5px 0}
.weekday-button b {color:#334f3c}
.dashboard {display:grid;grid-template-columns:minmax(0,1fr) clamp(255px,23vw,315px);gap:clamp(18px,2.1vw,32px);align-items:start}
.menu-section {min-width:0}
.section-head,.side-heading {display:flex;align-items:center;justify-content:space-between;gap:12px}
.menu-section>.section-head {min-height:34px;margin-bottom:14px}
.title-group {display:flex;align-items:center;gap:9px;min-width:0}
.section-icon {color:var(--forest);display:grid;place-items:center}
.section-head h2 {font-size:clamp(1.22rem,1.65vw,1.5rem);font-weight:790}
.badge,.count-tag,.shelf-count {border-radius:6px;display:inline-flex;align-items:center;vertical-align:middle;font-size:.765rem;line-height:1.4;padding:3px 7px;font-weight:650;letter-spacing:-.025em}
.badge.sand {background:#f2ead6;color:#846934}
.badge.sage,.count-tag {background:#e8f1e4;color:#466d43}
.badge.peach {background:#faeadd;color:#92562e}
.segments,.pills,.shelf-tabs {display:flex;align-items:center;gap:3px}
.segments {padding:3px;border:1px solid #dfe5da;border-radius:8px;background:#eff2ea;flex:none}
.segments button {color:#687367;line-height:1.35;padding:4px 10px;border:1px solid transparent;border-radius:5px;font-size:.8rem;font-weight:600}
.segments .active {color:#38533d;background:white;border-color:#dce4d8;box-shadow:0 1px 3px #0000000a}
.meal-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.meal-card {position:relative;min-width:0;isolation:isolate;border-radius:14px;overflow:hidden;background:#fff;border:1px solid #dfe4da;box-shadow:var(--shadow);transition:box-shadow .2s,transform .2s,border-color .2s}
.meal-card:hover {transform:translateY(-2px);border-color:#adc2a9;box-shadow:0 4px 14px rgb(36 62 43 / 8%)}
.card-link {position:absolute;inset:0;z-index:2;width:100%;height:100%;border-radius:inherit}
.card-link:focus-visible {outline-offset:-4px}
.meal-photo {position:relative;aspect-ratio:1.88;background:#e9e5da;overflow:hidden}
.meal-photo>img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.meal-card:hover .meal-photo>img {transform:scale(1.025)}
.default-photo {display:grid;place-items:center;background:linear-gradient(105deg,#e5ecd9,#f1e6d1);color:#80946c}
.day-tag {display:inline-flex;align-items:center;gap:5px;background:rgb(255 255 253 / 95%);border-radius:7px;padding:4px 8px;box-shadow:0 1px 6px #26332e15;position:absolute;left:10px;top:10px;line-height:1.3;color:#364739;font-size:.79rem}
.day-tag b {font-weight:750}
.day-tag span {font-size:.74rem;color:#596659;font-variant-numeric:tabular-nums}
.day-tag.weekend {background:#fff0e5;color:#935b37}
.meal-check {z-index:3;position:absolute;top:9px;right:9px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;padding:0;color:#7b8479;background:#fffdf6e8;box-shadow:0 1px 4px #34472f28}
.meal-check::before {content:"";position:absolute;inset:-4px}
.meal-check:not(.checked):not(.out) .icon {opacity:.45}
.meal-check.checked {background:#376747;color:white}
.meal-check.out {background:#e8d6b9;color:#69492f}
.meal-info {padding:12px 15px 14px}
.meal-group {display:flex;align-items:center;gap:6px;line-height:1.3;margin-bottom:6px;color:#557351;font-size:.775rem;letter-spacing:-.02em;font-weight:720}
.meal-group>span:first-child {background:#edf3e7;padding:3px 7px;border-radius:5px}
.meal-group>span.group-family {color:#975e3a;background:#fbede1}
.meal-group>.today-dot {color:#a35b37;font-size:.75rem}
.meal-info h3 {font-size:clamp(1.03rem,1.25vw,1.2rem);font-weight:780;letter-spacing:-.055em;line-height:1.4;margin-bottom:7px}
.meal-meta {display:flex;align-items:center;gap:7px;color:#6a746a;font-size:.825rem;min-height:19px;line-height:1.35}
.meal-meta span,.recipe-meta span:not(.badge) {display:inline-flex;align-items:center;gap:4px}
.meal-meta i {height:3px;width:3px;border-radius:50%;background:#a9b3a5}
.sidebar {display:grid;gap:14px}
.side-card,.data-panel {background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.side-card {padding:18px 20px}
.side-heading h2 {display:flex;align-items:center;gap:7px;font-size:1.1rem;font-weight:770;letter-spacing:-.045em}
.side-heading h2 .icon {color:#4e7252}
.tiny-muted,.quote-note,.text-link {color:var(--muted);font-size:.8rem}
.text-link {color:#58745a;font-weight:650}
.text-link:hover,.link-btn:hover,.quote-edit:hover,.offer-title a:hover {text-decoration:underline}
.budget {background:linear-gradient(112deg,#fcfdf9,#fff)}
.budget-total {font-size:clamp(1.9rem,2.5vw,2.48rem);font-family:"Inter","Segoe UI",system-ui,sans-serif;line-height:1.2;font-weight:750;letter-spacing:-.055em;color:#2c5137;margin:15px 0 12px;font-variant-numeric:tabular-nums}
.budget-total span {font-family:inherit;font-size:1.05rem;font-weight:650;margin-left:5px}
.budget-progress {position:relative;overflow:hidden;height:8px;border-radius:6px;background:#e7ede2;margin-bottom:13px}
.budget-progress span {position:absolute;left:0;top:0;bottom:0;border-radius:6px}
.projected,.swatch.estimate {background:#a9c59b}
.projected.over {background:#d9b394}
.paid,.swatch.actual {background:#436b44}
.budget-line,.budget-foot,.family-info {display:flex;justify-content:space-between;align-items:center;gap:10px}
.budget-line {font-size:.875rem;line-height:1.8;color:#5e695e}
.budget-line>span {display:inline-flex;align-items:center;gap:7px}
.budget-line b,.budget-foot b {font-variant-numeric:tabular-nums;color:#314736}
.swatch,.vendor-dot {display:inline-block;width:8px;height:8px;border-radius:3px;flex:none}
.budget-foot {border-top:1px dashed #dbe2d6;margin-top:10px;padding-top:10px;font-size:.875rem;color:#536e53}
.budget-foot.warning,.budget-foot.warning b {color:#a95a40}
.shelf-list {margin-top:12px}
.shelf-row {width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:8px 0}
.shelf-row+.shelf-row {border-top:1px solid #eff1ec}
.loc-tile,.record-icon {display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;flex:none}
.loc-0 {background:#e7f0e4;color:#52774d}
.loc-1 {background:#e5eff2;color:#517b88}
.loc-2 {background:#f5eadb;color:#996e3b}
.shelf-copy,.record-info {min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.shelf-copy b {font-size:.89rem;color:#3c493c}
.shelf-copy small {color:#6d776c;font-size:.77rem;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.shelf-count {margin-left:auto;background:#f2f4ee;color:#61725e;font-variant-numeric:tabular-nums}
.quick-buy {display:flex;align-items:center;width:100%;gap:8px;padding:8px 0;text-align:left;font-size:.88rem;color:#435044}
.quick-buy:first-of-type {margin-top:10px}
.quick-buy small {margin-left:auto;color:#6b776c}
.check-box {display:block;width:16px;height:16px;border:1.5px solid #b7c5b2;border-radius:4px;background:white}
.side-link {margin-top:10px;border-top:1px solid var(--line);padding-top:12px;width:100%;gap:6px;font-size:.85rem;color:#466a49;font-weight:650}
.aside-empty {color:var(--muted);font-size:.86rem;margin-top:12px}
.full-section {margin-top:36px;scroll-margin-top:85px}
.full-section>.section-head {margin-bottom:13px}
.panel-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 19px}
.pills {flex-wrap:wrap;gap:5px}
.pills button {font-size:.875rem;font-weight:610;color:#637063;border-radius:7px;padding:5px 11px}
.pills button.active {color:#2f5d3d;background:#e9f0e4}
.pills button:hover,.segments button:hover {background:#e5eddf}
.quote-note {display:inline-flex;align-items:center;gap:5px}
.table-scroll {overflow-x:auto;scrollbar-width:thin}
table {width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}
th,td {padding:11px 19px;line-height:1.5;border-top:1px solid #e9eee5}
thead th {font-size:.825rem;font-weight:650;color:#5d705f;background:#f5f7f1;white-space:nowrap}
tbody th {font-weight:670}
tbody td {color:#506054}
.shop-table th small,.quote-cell small {display:block;color:#657468;font-size:.77rem;font-weight:500}
.quote-cell b {font-size:.9rem}
.shop-table {min-width:790px}
.inventory-table {min-width:620px}
.inventory-table .strong {color:#355d3d;font-weight:720}
.place-label {gap:5px}
.check-label {gap:6px;justify-content:flex-start;color:#4f6350;cursor:pointer;font-size:.875rem}
input[type=checkbox] {accent-color:var(--green);width:16px;height:16px;margin:0;flex:none}
.vendor-dot {margin-right:5px;vertical-align:0.06em;width:7px;height:7px;border-radius:50%}
.vendor-dot.kurly {background:#795d92}
.vendor-dot.coupang {background:#478e9c}
.quote-edit,.link-btn {color:#426a48;font-size:.865rem;font-weight:650;gap:5px;padding:3px 0;white-space:normal}
.purchase-button {display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:7px;padding:6px 10px;border:1px solid #cad8c7;color:#3c6742;font-size:.85rem;font-weight:630}
.purchase-button.done {background:#eaf2e6;border-color:transparent}
.table-foot {border-top:1px solid var(--line);padding:12px 18px;display:flex;align-items:center;gap:6px;font-size:.8rem;color:#687568}
.history-list {padding:0 18px}
.record-row {display:flex;align-items:center;gap:12px;padding:15px 0}
.record-row+.record-row {border-top:1px solid #e7ece3}
.record-icon {color:#628066;background:#edf2e8}
.record-info strong {font-size:1rem;display:flex;align-items:center;gap:7px}
.record-info small {font-size:.83rem;color:var(--muted)}
.record-actions {display:flex;gap:6px;margin-left:auto}
.footer {display:flex;justify-content:space-between;align-items:center;margin-top:38px;border-top:1px solid var(--line);padding-block:20px 35px;color:#718070}
.footer>span {display:flex;gap:7px;align-items:center;font-weight:740;font-size:.9rem}
.save-status {font-size:.8rem;color:#62765f;padding:6px}
.empty,.inline-empty {padding:24px;text-align:center;color:var(--muted)}
.plan-empty {display:grid;place-items:center;align-content:center;gap:13px;min-height:235px;border:1px dashed #bfceb9;border-radius:13px;background:#f2f5ee}
.plan-empty h3,.plan-empty>.icon {color:#496b4b}
.plan-empty p,.inline-empty {font-size:.91rem}
.loading {padding:38px}
.skip-link {position:fixed;top:-100px;left:10px;background:#fff;border:2px solid var(--forest);padding:8px;z-index:100}
.skip-link:focus {top:6px}
.sync-notice {display:flex;gap:10px;align-items:center;justify-content:space-between;background:#fff2de;border:1px solid #ecd8b6;padding:9px 14px;border-radius:9px;margin-bottom:12px;font-size:.86rem}
#toast {position:fixed;left:50%;bottom:25px;z-index:100;transform:translate(-50%,10px);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;background:#284937;color:white;border-radius:10px;padding:10px 18px;max-width:min(90vw,550px);font-size:.9rem;box-shadow:0 5px 20px #16331c26}
#toast.shown {opacity:1;transform:translate(-50%,0)}
body.dialog-open {overflow:hidden}
dialog {padding:0;border:0;border-radius:18px;background:transparent;max-width:calc(100% - 26px);max-height:calc(100dvh - 40px);color:var(--ink);overflow:visible;box-shadow:0 22px 90px #16301d40}
dialog[open] {animation:pop-in .16s ease-out}
dialog::backdrop {background:rgb(21 38 27 / 38%);backdrop-filter:blur(2px)}
@keyframes pop-in {from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.modal-shell {width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 40px);display:flex;flex-direction:column;border-radius:18px;background:white;overflow:hidden}
.modal-shell.wide {width:min(735px,calc(100vw - 28px))}
.modal-head,.modal-foot {display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;background:#fff}
.modal-head {padding:20px 24px 16px;border-bottom:1px solid var(--line)}
.modal-head h2 {font-size:1.45rem;margin-top:3px}
.modal-eyebrow {font-size:.8rem;font-weight:680;color:#638267}
.close-btn,.mini-icon {display:inline-grid;place-items:center}
.close-btn {width:34px;height:34px;background:#f6f8f2;color:#5e705f;border-color:transparent}
.modal-body {padding:19px 24px 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.modal-foot {justify-content:flex-end;border-top:1px solid var(--line);padding:13px 24px}
.modal-lead,.muted,.recipe-note {color:#5c6e5f;line-height:1.65;letter-spacing:-.025em}
.modal-lead {font-size:.95rem;margin-bottom:13px}
.muted,.recipe-note {font-size:.9rem;margin:7px 0}
.subhead {font-size:1.01rem;letter-spacing:-.04em;margin:18px 0 8px}
.help-box {display:flex;gap:8px;align-items:flex-start;background:#eff4ea;color:#506a50;border:1px solid #dde7d8;border-radius:9px;padding:10px 12px;font-size:.875rem;margin:9px 0}
.help-box>.icon {margin-top:2px}
.field {display:flex;flex-direction:column;gap:5px;margin:9px 0;min-width:0}
.field>span {font-size:.83rem;font-weight:680;color:#526354}
input:not([type=checkbox]),select,textarea {padding:8px 10px;background:#fff;min-height:38px;border:1px solid #cad6c8;border-radius:7px;width:100%;min-width:0;font-size:.91rem}
select {appearance:none;padding-right:31px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235c7359' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:14px;background-position:right 10px center}
select:disabled {color:#687667;background-color:#f4f6ef}
textarea {resize:vertical;line-height:1.65}
input::placeholder,textarea::placeholder {color:#849081}
.number-unit {position:relative;display:flex;align-items:center}
.number-unit span {position:absolute;right:10px;color:#667564;font-size:.82rem;pointer-events:none}
.number-unit input {padding-right:36px;font-variant-numeric:tabular-nums}
input[type=number] {appearance:textfield;-moz-appearance:textfield}
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {-webkit-appearance:none;margin:0}
.shelf-tabs {gap:5px;margin:15px 0 10px;flex-wrap:wrap}
.shelf-tabs button {display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 11px;border:1px solid #dce4d7;border-radius:8px;font-size:.875rem}
.shelf-tabs .selected {background:#eaf2e4;border-color:#acc4a6;color:#365e3d;font-weight:700}
.stock-edit-list {border:1px solid var(--line);border-radius:10px;overflow:auto;max-height:260px}
.stock-edit-line,.used-row,.extra-row,.swap-line {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px}
.stock-edit-line+.stock-edit-line,.used-row+.used-row,.extra-row+.extra-row {border-top:1px solid #edf1e8}
.stock-edit-line b,.used-row b,.extra-row b {font-size:.89rem}
.stock-edit-line .number-unit,.used-row .number-unit {width:104px;margin-left:auto}
.stock-edit-line input,.used-row input {min-height:32px;padding-top:5px;padding-bottom:5px}
.mini-icon {height:28px;width:28px;color:#81907d}
.mini-icon:hover {background:#f7ece5;color:#9c5843}
.mini-icon .icon {width:15px}
.add-food {display:grid;grid-template-columns:minmax(110px,2fr) minmax(65px,1fr) 76px auto;gap:8px;align-items:end}
.add-food .field {margin-bottom:0}
.add-food .btn {height:38px}
.empty-check {margin-top:14px}
.draft-tools {display:flex;gap:14px;margin-top:11px}
.form-line {display:grid;gap:12px}
.form-line.two,.offer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.form-line .field {margin:5px 0}
.form-error {color:#ad4f38;font-size:.88rem;margin:12px 0 0}
.form-error:empty {display:none}
.recipe-banner {width:100%;aspect-ratio:2.9;object-fit:cover;display:block;border-radius:10px;margin-bottom:11px}
.recipe-meta {display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.recipe-meta span:not(.badge) {gap:4px;color:#637264;font-size:.87rem}
.ingredient-list,.steps {list-style:none}
.ingredient-list li {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(95px,auto);gap:10px;align-items:center;border-bottom:1px solid #e9eee4;padding:7px 0;font-size:.92rem}
.ingredient-list strong {font-variant-numeric:tabular-nums}
.ingredient-list small {justify-self:end;font-size:.8rem}
.available {color:#537450}
.shortage {color:#a46137}
.swap-line {padding:5px 0;font-size:.91rem}
.swap-line select {width:54%;min-height:32px}
.steps li {display:flex;gap:10px;margin:9px 0;line-height:1.6;font-size:.94rem}
.step-num {display:grid;place-items:center;border-radius:50%;background:#e9f1e3;color:#406644;width:23px;height:23px;font-size:.81rem;font-weight:700;flex:none}
.ingredient-edit {display:grid;grid-template-columns:1.35fr .7fr .65fr 1.4fr auto;gap:7px;align-items:end}
.ingredient-edit .field {margin:4px 0}
.ingredient-edit .mini-icon {align-self:end;margin-bottom:9px}
.status-tabs {margin-bottom:12px}
.used-row {padding:8px 0}
.used-row small,.household small {display:block;font-size:.8rem;color:var(--muted)}
.offer-grid {display:grid;gap:12px}
.offer-card {padding:12px;border:1px solid var(--line);border-radius:11px;background:#fafbf7}
.offer-title {display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:9px}
.offer-title b {font-size:.88rem}
.offer-title a {color:#537b55;font-size:.76rem}
.calculated {display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:10px;padding-top:8px;font-size:.87rem;color:#4f6c50}
.purchase-records {border:1px solid var(--line);border-radius:11px;padding:10px 12px;margin-bottom:12px}
.purchase-records>b {font-size:.86rem}
.purchase-records button:not(.link-btn) {display:flex;align-items:center;gap:8px;width:100%;justify-content:space-between;padding:7px;border-radius:5px;text-align:left;font-size:.84rem}
.purchase-records .selected {background:#edf3e8}
.purchase-records button strong {margin-left:auto}
.household {display:flex;gap:10px;align-items:center;padding:13px;background:#f1f5ec;border-radius:9px;margin-bottom:10px}
.family-info {padding:7px 1px;border-bottom:1px solid #edf0e8;font-size:.9rem}
@media(min-width:1500px){.meal-photo{aspect-ratio:1.9}.side-card{padding:21px}}
@media(max-width:1110px){.top-inner{gap:2rem}.top-nav{gap:3px}.top-nav a{padding:0 10px}.shell{width:calc(100% - 52px)}.dashboard{grid-template-columns:minmax(0,1fr) 245px;gap:17px}.meal-grid{gap:11px}.side-card{padding:15px}.meal-info{padding:10px 11px 12px}.meal-photo{aspect-ratio:1.64}.hero-copy{padding-left:29px}.segments button{padding-inline:8px}}
@media(max-width:900px){.dashboard{grid-template-columns:minmax(0,1fr) 225px;gap:16px}.meal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.meal-photo{aspect-ratio:1.85}.top-inner{gap:18px}.top-nav a{padding:0 7px}.top-nav a>.icon{display:none}.hero-copy{max-width:65%}.hero{min-height:199px}.title-group{gap:6px}.side-heading h2{font-size:1rem}}
@media(max-width:740px){.shell{width:calc(100% - 32px)}.top{height:auto}.top-inner{display:grid;grid-template-columns:1fr auto;gap:0;align-items:center}.brand,.family-btn{height:50px}.brand{font-size:1.3rem;justify-self:start}.brand img{width:33px;height:33px}.family-btn{grid-row:1;grid-column:2}.top-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:0;height:40px}.top-nav a{font-size:.86rem;padding:0 6px}.top-nav a.on::after{left:2px;right:2px}.top-nav a>.icon{display:block;width:15px}.family-mark{width:27px;height:27px}.main{padding-top:15px}.hero{min-height:180px;border-radius:15px}.hero-art{left:34%;background-position:68% center}.hero-art::before{background:linear-gradient(90deg,#e8f0e3 0%,rgb(232 240 227 / 80%) 20%,transparent 75%)}.hero-copy{padding:19px 17px;max-width:74%}.hero h1{font-size:1.95rem}.hero p{font-size:.91rem}.hero-actions{margin-top:13px;gap:6px}.hero-actions .btn{padding:7px 10px;min-height:36px;font-size:.82rem}.hero-actions .icon{width:16px}.hero-kicker{font-size:.75rem}.weekbar{padding:14px 0;margin-bottom:18px}.week-switch{gap:7px}.week-switch strong{font-size:.94rem}.week-switch>.icon{display:none}.square{width:27px;height:28px}.week-switch .this-week{padding:3px 6px;font-size:.73rem}.weekday-button{gap:4px;font-size:.79rem}.dashboard{display:flex;flex-direction:column;gap:19px}.menu-section,.sidebar{width:100%}.meal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.meal-photo{aspect-ratio:1.55}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sidebar>.side-card:last-child{grid-column:1/-1}.sidebar>.side-card:last-child .quick-buy{max-width:100%}.meal-info h3{font-size:1rem}.side-card{padding:15px}.full-section{margin-top:27px;scroll-margin-top:104px}html{scroll-padding-top:100px}.record-actions .btn.small{padding:6px;font-size:.78rem;min-height:32px}.record-icon{display:none}}
@media(max-width:530px){.hero-copy{max-width:78%;padding:17px 15px}.hero h1{font-size:1.85rem}.hero p{font-size:.87rem;max-width:230px}.hero-art{left:25%;background-position:70% center}.hero-art::before{background:linear-gradient(90deg,#e8f0e3 0%,rgb(232 240 227 / 94%) 22%,rgb(232 240 227 / 20%) 100%)}.weekbar{flex-wrap:wrap}.week-switch{gap:5px}.weekday-button>.icon:first-child{display:none}.meal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.meal-photo{aspect-ratio:1.65}.meal-info{padding:10px}.meal-info h3{font-size:1rem}.day-tag{left:7px;top:7px;padding:3px 5px;font-size:.72rem}.day-tag span{font-size:.69rem}.meal-check{width:22px;height:22px;right:6px;top:6px}.segments button{padding:4px 7px}.section-head h2{font-size:1.14rem}.title-group>.section-icon .icon{width:19px}.meal-meta{gap:5px;font-size:.77rem}.sidebar{grid-template-columns:1fr}.sidebar>.side-card:last-child{grid-column:auto}.budget-total{font-size:2.2rem}.panel-toolbar{padding:10px 11px;gap:7px}.table-foot{padding:10px 11px}.record-row{flex-wrap:wrap;gap:8px}.record-actions{margin-left:0}.record-info{width:100%}.modal-shell,.modal-shell.wide{width:calc(100vw - 18px)}dialog{max-width:calc(100% - 18px);max-height:calc(100dvh - 18px)}.modal-shell{max-height:calc(100dvh - 18px)}.modal-head{padding:15px}.modal-body{padding:13px 15px}.modal-foot{padding:11px 15px;gap:6px}.modal-foot .btn{padding:8px 10px;font-size:.83rem}.shelf-tabs button{padding:6px 7px;font-size:.8rem}.add-food{grid-template-columns:minmax(80px,1.4fr) minmax(42px,.7fr) 57px auto;gap:5px}.add-food .btn{padding-inline:6px}.add-food select{padding-left:5px;background-position:right 4px center}.offer-grid{grid-template-columns:1fr}.ingredient-edit{grid-template-columns:1.1fr .65fr .65fr 22px;border-bottom:1px solid var(--line);margin-bottom:8px}.ingredient-edit .field:nth-child(4){grid-column:1/4;grid-row:auto}.ingredient-edit .mini-icon{grid-column:4}.status-tabs button{min-height:36px}.hero-actions .btn{min-height:34px}.sync-notice{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:360px){.shell{width:calc(100% - 22px)}.top-nav a{gap:3px;font-size:.79rem}.weekbar{gap:5px}.this-week{display:none}.segments button{padding-inline:5px}.title-group .badge{font-size:.67rem}.meal-meta{gap:3px}}
@media(prefers-reduced-motion:reduce){*,*::after,*::before{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
