/* TechBoard meal planner — isolated component styles, compatible with existing theme. */
.smm-meal-actions[hidden],.smm-meal-content[hidden],.smm-meal-toast[hidden],[data-meal-open][hidden]{display:none!important}
.smm-meal-actions{display:flex;align-items:stretch;gap:6px;margin-top:10px;min-width:0}.smm-meal-actions button,.smm-meal-panel button,.smm-meal-open,.smm-meal-toast button{font:600 13px/1.3 system-ui,system-ui,sans-serif;letter-spacing:normal;text-transform:none;border:1px solid #e2dcd2;border-radius:8px;background:#fff;color:#29251f;cursor:pointer;min-height:44px;padding:8px 12px;box-shadow:none}.smm-meal-actions button:disabled,.smm-meal-panel button:disabled{opacity:.6;cursor:not-allowed}.smm-meal-actions .smm-meal-add{flex:1;min-width:0;background:#fbf0e9;color:#9b3514;border-color:#edd5c5;padding-inline:5px}.smm-meal-actions .smm-meal-favorite{width:44px;flex:0 0 44px;padding:8px;display:grid;place-items:center}.smm-meal-favorite svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.smm-meal-favorite[aria-pressed=true]{color:#a73316;background:#fbede7;border-color:#dda58e}.smm-meal-favorite[aria-pressed=true] svg{fill:currentColor}.smm-meal-panel{color:#211e19;font:400 15px/1.55 system-ui,system-ui,sans-serif}.smm-meal-panel:not([open]):not(.smm-meal-inline){display:none}.smm-meal-panel[open]{position:fixed;inset:0;margin:auto;width:min(620px,calc(100% - 24px));max-height:calc(100% - 40px);overflow:auto;border:1px solid #e2dcd2;border-radius:18px;background:#fff;box-shadow:0 18px 70px #0003;padding:0;overscroll-behavior:contain;z-index:999999}.smm-meal-panel::backdrop{background:rgba(22,20,16,.66)}.smm-meal-inline{max-width:820px;margin:22px auto 32px;border:1px solid #e2dcd2;border-radius:16px;background:white}.smm-meal-shell{padding:22px}.smm-meal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.smm-meal-panel .smm-meal-kicker{display:block;font-size:12px;color:#a43b1b;font-weight:600;margin-bottom:5px}.smm-meal-panel h2{font:700 27px/1.2 system-ui,system-ui,sans-serif;color:#211e19;letter-spacing:-.015em;margin:0 0 8px;text-transform:none}.smm-meal-panel p{font-size:14px;line-height:1.55;color:#61584e;margin:0 0 12px}.smm-meal-heading button{flex:0 0 44px;font-size:23px;padding:0}.smm-meal-heading button[hidden]{display:none}.smm-meal-source{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#4d574e;border-bottom:1px solid #ede8e0;padding-bottom:12px;margin-bottom:10px}.smm-meal-source button{flex-shrink:0}.smm-meal-panel [data-meal-status]:empty{display:none}.smm-meal-panel [data-meal-status]{background:#f7f3ed;border-radius:8px;padding:9px 12px;color:#41372d}.smm-meal-empty{border:1px dashed #e1d9ce;border-radius:10px;padding:14px;text-align:center}.smm-meal-row,.smm-meal-library-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eee9e2}.smm-meal-row>div:first-child,.smm-meal-library-row>div:first-child{min-width:0;overflow-wrap:anywhere}.smm-meal-row strong,.smm-meal-library-row strong{display:block;font-size:14px;font-weight:650;line-height:1.4;margin-bottom:4px}.smm-meal-row small,.smm-meal-library-row small{display:block;font-size:12px;color:#665f55;line-height:1.45}.smm-meal-qty{display:flex;gap:6px;align-items:center;flex-shrink:0}.smm-meal-qty button{width:44px;padding:0;font-size:18px}.smm-meal-qty span{min-width:22px;text-align:center;font-variant-numeric:tabular-nums}.smm-meal-total-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.smm-meal-total-grid>div{background:#f7f3ec;border-radius:10px;padding:14px;min-width:0}.smm-meal-total-grid span{display:block;color:#62584c;font-size:12px;margin-bottom:6px}.smm-meal-total-grid strong{font-size:22px;color:#993715;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.smm-meal-panel .smm-meal-note{font-size:12px;line-height:1.6;margin:10px 0 16px;color:#655d53}.smm-meal-budget{border:1px solid #e7e1d8;border-radius:10px;padding:14px;display:grid;grid-template-columns:1fr minmax(90px,120px);gap:9px;align-items:center;margin-top:12px}.smm-meal-budget label{font-weight:600}.smm-meal-panel input{font:inherit;min-height:44px;width:100%;min-width:0;border:1px solid #d8d0c5;border-radius:8px;padding:9px 10px;background:#fff;color:#211e19}.smm-meal-budget p,.smm-meal-budget progress,.smm-meal-budget a{grid-column:1/-1;margin:0}.smm-meal-budget progress{width:100%;accent-color:#265b49;height:10px}.smm-meal-panel a{color:#265b49;font-weight:600;text-underline-offset:3px}.smm-meal-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0}.smm-meal-tools button:first-child{background:#a43817;color:white;border-color:#a43817}.smm-meal-library{border:1px solid #e4ded4;border-radius:10px;margin-top:12px;padding:0 14px}.smm-meal-library summary{cursor:pointer;font-weight:650;min-height:48px;padding:12px 0}.smm-meal-library form{margin:8px 0}.smm-meal-library form label{display:block;font-size:13px;margin-bottom:6px}.smm-meal-library form>div,.smm-meal-library-row>div:last-child{display:flex;gap:5px;align-items:center}.smm-meal-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);z-index:99999;display:flex;align-items:center;gap:12px;background:#25231f;color:#fff;padding:10px 12px;border-radius:12px;box-shadow:0 5px 28px #0003;font-size:13px;line-height:1.4}.smm-meal-toast button{white-space:nowrap;flex-shrink:0}.smm-meal-open{display:inline-flex;align-items:center;gap:8px}.smm-meal-panel :focus-visible,.smm-meal-actions button:focus-visible{outline:3px solid #a43817;outline-offset:2px}
@media(max-width:700px){.smm-meal-shell{padding:16px}.smm-meal-panel[open]{max-height:calc(100dvh - 24px);width:calc(100% - 16px)}.smm-meal-heading h2{font-size:24px}.smm-meal-toast{bottom:calc(76px + env(safe-area-inset-bottom,0px))}.smm-meal-actions .smm-meal-add{font-size:12px}.smm-meal-total-grid strong{font-size:20px}.smm-meal-library-row>div:last-child{flex-direction:column;align-items:stretch}.smm-meal-source{flex-wrap:wrap}}
@media(max-width:360px){.smm-meal-actions{gap:4px}.smm-meal-actions .smm-meal-favorite{flex-basis:36px;width:36px}.smm-meal-actions .smm-meal-add{font-size:11px}.smm-meal-row{gap:6px}.smm-meal-qty{gap:4px}}
.page-menu-browser .smm-sidebar-widget h2.smm-widget-title{font-size:15px;line-height:1.4;text-transform:none;letter-spacing:0;margin:0 0 12px}
/* 2.17.1 — standalone planner workspace, no global section padding. */
.smm-meal-actions .smm-meal-add.is-added{background:#e8f3eb;color:#205738;border-color:#b7d6c1;font-weight:700}.smm-meal-actions .smm-meal-add:disabled:not(.is-added){opacity:.75;cursor:progress}
.smm-meal-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);align-items:start;gap:24px;margin:0 0 32px}.smm-meal-workspace .smm-meal-inline{max-width:none;width:100%;min-width:0;margin:0;padding:0;scroll-margin-top:100px;box-shadow:0 4px 18px #241e1510}.smm-meal-inline .smm-meal-shell{padding:20px}.smm-meal-catalog{min-width:0;background:white;border:1px solid #e2dcd2;border-radius:16px;padding:20px;scroll-margin-top:100px}.smm-catalog-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.smm-meal-workspace .smm-catalog-heading h2{font:700 25px/1.22 system-ui,system-ui,sans-serif;letter-spacing:-.015em;text-transform:none;margin:0 0 6px;color:#211e19}.smm-catalog-heading p{font-size:14px;line-height:1.5;color:#655d53;margin:0}.smm-catalog-view{font-size:13px;font-weight:650;white-space:nowrap;color:#265b49}.smm-catalog-form{display:grid;gap:8px;margin:0 0 12px}.smm-catalog-form[hidden],.smm-catalog-pager[hidden]{display:none!important}.smm-catalog-form label{font-size:13px;font-weight:600;color:#514940}.smm-catalog-search{display:flex;gap:8px;min-width:0}.smm-catalog-form input,.smm-catalog-form select{min-height:44px;min-width:0;width:100%;font:inherit;border:1px solid #d8d0c5;border-radius:9px;padding:9px 10px;background:white;color:#211e19}.smm-catalog-search button,.smm-catalog-pager button{font:600 13px/1.3 system-ui,system-ui,sans-serif;letter-spacing:0;text-transform:none;border:1px solid #e2dcd2;border-radius:8px;min-height:44px;padding:8px 12px;background:#fff;color:#211e19;cursor:pointer}.smm-catalog-search button{background:#a43817;color:#fff;border-color:#a43817;flex:none}.smm-catalog-pager button:disabled{opacity:.45;cursor:default}.smm-catalog-status{font-size:13px;color:#61584e;margin:12px 0!important}.smm-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.smm-catalog-card{min-width:0;border:1px solid #e8e2da;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;background:white}.smm-catalog-photo.smm-media-frame{width:100%;aspect-ratio:4/3;height:auto;border:0;border-radius:0;flex:none}.smm-catalog-card-body{padding:12px;display:flex;flex-direction:column;flex:1;min-width:0;gap:5px}.smm-meal-workspace .smm-catalog-card h3{font:650 15px/1.35 system-ui,system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#211e19;margin:0;overflow-wrap:anywhere}.smm-catalog-card p{font-size:12px;line-height:1.4;color:#61584e;margin:0}.smm-catalog-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px;margin-top:3px}.smm-catalog-meta strong{font-size:19px;color:#9b3514}.smm-catalog-meta span{font-size:12px;color:#61584e}.smm-catalog-card .smm-meal-actions{margin-top:auto;padding-top:5px}.smm-catalog-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin-top:16px}.smm-catalog-full{display:inline-block;font-size:13px;color:#265b49;margin-top:16px}.smm-meal-heading-count{display:inline-flex;justify-content:center;align-items:center;min-width:25px;height:25px;font:650 13px/1 system-ui;background:#f3eee7;border-radius:20px;vertical-align:middle;color:#61584e}.smm-meal-panel .smm-meal-empty{padding:20px 12px;background:#faf9f6;border:1px dashed #ded7cc;border-radius:10px;text-align:center}.smm-meal-empty strong{display:block;font-size:16px;margin-bottom:5px}.smm-meal-empty p{font-size:13px;margin:0 0 8px}.smm-meal-empty a{font-size:13px}.smm-meal-panel .smm-meal-heading h2{margin:0 0 6px}.smm-meal-panel .smm-meal-heading p{margin:0}.smm-meal-panel .smm-meal-note:last-child{margin-bottom:0}.smm-catalog-card .smm-meal-favorite{font-size:22px}.smm-catalog-card .smm-meal-favorite[aria-pressed=true]{background:#f5e4dc;color:#a3320d}.smm-meal-panel .smm-meal-library summary{line-height:1.4}.smm-catalog-form :focus-visible,.smm-catalog-pager :focus-visible{outline:3px solid #a43817;outline-offset:2px}
@media(min-width:1050px){.smm-meal-workspace .smm-meal-inline{position:sticky;top:90px;max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain}}
@media(max-width:900px){.smm-meal-workspace{grid-template-columns:minmax(0,1fr);gap:18px}.smm-meal-workspace .smm-meal-inline{position:static}.smm-meal-catalog{padding:16px}}
@media(max-width:480px){.smm-meal-catalog{padding:12px}.smm-catalog-heading{flex-wrap:wrap;gap:8px}.smm-meal-workspace .smm-catalog-heading h2{font-size:22px}.smm-catalog-grid{gap:9px}.smm-catalog-card-body{padding:8px}.smm-meal-workspace .smm-catalog-card h3{font-size:14px}.smm-catalog-meta strong{font-size:16px}.smm-catalog-card .smm-meal-actions{flex-wrap:wrap}.smm-catalog-card .smm-meal-actions .smm-meal-add{flex:1 1 72px;white-space:normal}.smm-catalog-card .smm-meal-favorite{flex:0 0 36px;width:36px;min-height:44px}.smm-meal-inline .smm-meal-shell{padding:16px}.smm-meal-workspace{margin-bottom:22px}}
.smm-meal-row-item{display:flex;align-items:center;gap:10px;min-width:0}.smm-meal-row-item>div:last-child{min-width:0;overflow-wrap:anywhere}.smm-meal-row-photo.smm-media-frame{width:48px;height:44px;flex:0 0 48px;border-radius:8px;aspect-ratio:auto}@media(max-width:360px){.smm-meal-row-photo.smm-media-frame{width:36px;height:36px;flex-basis:36px}.smm-meal-row-item{gap:6px}}
/* Avoid a nested scrolling region in the desktop summary. */
@media(min-width:1050px){.smm-meal-workspace .smm-meal-inline{position:static;max-height:none;overflow:visible}}
.smm-catalog-photo.smm-media-frame{aspect-ratio:16/9;max-height:158px}.smm-meal-inline .smm-meal-budget{padding:12px}.smm-meal-inline .smm-meal-total-grid{margin-top:12px}.smm-meal-inline .smm-meal-total-grid>div{padding:12px}
@media(max-width:480px){.smm-catalog-photo.smm-media-frame{aspect-ratio:4/3;max-height:120px}}
