/* Monthly Bazar close + optional Meal stop UI. */
.mm-food-status{margin:0 0 16px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 13px;border:1px solid #dbe6f2;border-radius:18px;background:linear-gradient(145deg,#f9fbff,#f2f7fc);box-shadow:0 8px 22px rgba(31,66,112,.055)}
.mm-food-status-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;position:relative;background:#e9f3ff;color:#2875d7}
.mm-food-status-mark::before{content:"";width:21px;height:21px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7.5h14l-1.2 11h-11.6L5 7.5Zm3-3 2 3m6-3-2 3M8.5 12h7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7.5h14l-1.2 11h-11.6L5 7.5Zm3-3 2 3m6-3-2 3M8.5 12h7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.mm-food-status-scheduled .mm-food-status-mark{background:#fff4dc;color:#b5781b}.mm-food-status-closed .mm-food-status-mark{background:#ffebed;color:#d74b5b}
.mm-food-status-copy{min-width:0}.mm-food-status-copy small{display:block;margin-bottom:3px;color:#8a99ad;font:800 8px/1.15 Inter,sans-serif;letter-spacing:.12em}.mm-food-status-copy b{display:block;color:#183150;font-size:13px;line-height:1.25}.mm-food-status-copy span{display:block;margin-top:3px;color:#72849a;font-size:9.5px;line-height:1.35}
.mm-food-status-action{height:34px;padding:0 12px;border:1px solid #cfe0f5;border-radius:11px;background:#eef5ff;color:#2869c5;font:800 10px/1 Inter,"Noto Sans Bengali",sans-serif;white-space:nowrap;cursor:pointer}.mm-food-status-action.is-reopen{border-color:#dce3ec;background:#f4f7fa;color:#4c6179}
html.mm-food-control-open,html.mm-food-control-open body{overflow:hidden!important}
.mm-food-layer{position:fixed;inset:0;z-index:18500;display:flex;align-items:flex-end;justify-content:center;background:rgba(18,34,55,.48);backdrop-filter:blur(12px) saturate(110%);-webkit-backdrop-filter:blur(12px) saturate(110%);animation:mmFoodFade .16s ease-out}
.mm-food-sheet{position:relative;width:min(640px,100%);max-height:91dvh;overflow:auto;overscroll-behavior:contain;border:1px solid rgba(215,225,237,.95);border-bottom:0;border-radius:30px 30px 0 0;background:linear-gradient(180deg,#fff,#fbfcff);padding:30px 22px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -22px 70px rgba(19,42,71,.22);animation:mmFoodRise .22s cubic-bezier(.2,.82,.2,1)}
.mm-food-sheet-handle{position:absolute;top:9px;left:50%;width:72px;height:5px;transform:translateX(-50%);border-radius:999px;background:#d9e2ed}
.mm-food-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.mm-food-sheet-head>div{min-width:0}.mm-food-sheet-head small{display:block;margin-bottom:4px;color:#8695a9;font:800 9px/1 Inter,sans-serif;letter-spacing:.13em}.mm-food-sheet-head h2{margin:0;color:#162e50;font-size:25px;line-height:1.08;letter-spacing:-.03em}.mm-food-sheet-head>button{width:42px;height:42px;flex:0 0 42px;border:1px solid #dde6f0;border-radius:14px;background:#f2f6fb;color:#5680aa;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer}
.mm-food-date-card{position:relative;display:grid;grid-template-columns:43px minmax(0,1fr);align-items:center;gap:11px;padding:12px 44px 12px 12px;border:1px solid #dce7f3;border-radius:17px;background:linear-gradient(145deg,#f7faff,#f0f6ff);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.mm-food-date-card::after{content:"⌄";position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#5e7898;font:800 16px/1 Inter,sans-serif;pointer-events:none}.mm-food-date-icon{width:43px;height:43px;border-radius:14px;background:#e4efff;position:relative;color:#2d73cc}.mm-food-date-icon::after{content:"";position:absolute;inset:11px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3v3m10-3v3M4.5 9h15M6 5h12a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Z' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3v3m10-3v3M4.5 9h15M6 5h12a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Z' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}.mm-food-date-card>span:nth-child(2){min-width:0}.mm-food-date-card small,.mm-food-date-card b,.mm-food-date-card em{display:block}.mm-food-date-card small{color:#8292a8;font:800 8.5px/1.1 Inter,sans-serif;letter-spacing:.11em}.mm-food-date-card b{margin-top:4px;color:#193554;font-size:15px;line-height:1.15}.mm-food-date-card em{margin-top:3px;color:#7b8da3;font-size:9px;line-height:1.25;font-style:normal}.mm-food-date-card input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;cursor:pointer!important}
.mm-food-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:11px 12px;border:1px solid #e0e8f1;border-radius:16px;background:#fff}.mm-food-toggle-row>span{min-width:0}.mm-food-toggle-row b{display:block;color:#29415f;font-size:11px}.mm-food-toggle-row small{display:block;margin-top:2px;color:#7d8da1;font-size:8.5px;line-height:1.35}.mm-food-toggle-row input{position:absolute;opacity:0;pointer-events:none}.mm-food-toggle-row i{width:40px;height:23px;flex:0 0 40px;border-radius:999px;background:#dbe4ed;position:relative;transition:.18s ease}.mm-food-toggle-row i::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(22,43,69,.18);transition:.18s ease}.mm-food-toggle-row input:checked+i{background:#2876db}.mm-food-toggle-row input:checked+i::after{transform:translateX(17px)}
.mm-food-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.mm-food-preview-grid>div{min-width:0;padding:10px 11px;border:1px solid #e0e9f2;border-radius:14px;background:#f8fbfe}.mm-food-preview-grid span{display:block;color:#8795a7;font-size:8px;font-weight:700}.mm-food-preview-grid b{display:block;margin-top:3px;color:#173251;font-size:13px}.mm-food-preview-grid b.is-due{color:#c45158}
.mm-food-conflict{margin-top:10px;padding:11px 12px;border:1px solid #f0c9cc;border-radius:14px;background:#fff1f2;color:#9e3c49}.mm-food-conflict b,.mm-food-conflict span{display:block}.mm-food-conflict b{font-size:10.5px}.mm-food-conflict span{margin-top:3px;font-size:8.5px;line-height:1.4}
.mm-food-effect-list{display:grid;gap:7px;margin-top:11px}.mm-food-effect-list>div{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:start;gap:8px}.mm-food-effect-list i{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#edf4fc;color:#527597;font:800 9px/1 Inter,sans-serif;font-style:normal}.mm-food-effect-list b{display:block;color:#334b67;font-size:9.5px;line-height:1.3}.mm-food-effect-list small{display:block;margin-top:2px;color:#7e8ea1;font-size:8.2px;line-height:1.4}
.mm-food-sheet-actions{display:grid;grid-template-columns:.92fr 1.08fr;gap:9px;margin-top:15px}.mm-food-sheet-actions button{height:44px;border:1px solid #dfe7f0;border-radius:14px;background:#eef3f8;color:#40566f;font:800 11px/1 Inter,"Noto Sans Bengali",sans-serif;cursor:pointer}.mm-food-sheet-actions button.primary{border-color:transparent;background:linear-gradient(135deg,#246fd6,#1852b2);color:#fff;box-shadow:0 9px 19px rgba(33,96,192,.18)}.mm-food-sheet-actions button.primary.is-reopen{background:linear-gradient(135deg,#168766,#0c6850);box-shadow:0 9px 19px rgba(14,119,88,.16)}.mm-food-sheet-actions button:disabled{opacity:.48;box-shadow:none;cursor:default}
.mm-food-reopen-summary{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #dde7f1;border-radius:17px;background:#f7faff}.mm-food-lock-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#ffecef;color:#d44c5f;position:relative}.mm-food-lock-icon::after{content:"";position:absolute;inset:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='black' stroke-width='1.9'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='black' stroke-width='1.9'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}.mm-food-reopen-summary>div{min-width:0}.mm-food-reopen-summary small{display:block;color:#8b99aa;font:800 8px/1 Inter,sans-serif;letter-spacing:.11em}.mm-food-reopen-summary b{display:block;margin-top:4px;color:#213c5c;font-size:12px}.mm-food-reopen-summary span{display:block;margin-top:3px;color:#75869a;font-size:9px}.mm-food-reopen-note{margin-top:10px;padding:11px 12px;border:1px solid #e2e9f0;border-radius:14px;background:#fff}.mm-food-reopen-note b,.mm-food-reopen-note span{display:block}.mm-food-reopen-note b{color:#334d68;font-size:10px}.mm-food-reopen-note span{margin-top:3px;color:#7d8c9d;font-size:8.8px;line-height:1.45}
.mm-food-editor-note{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:9px 10px;border:1px solid #f0d4a4;border-radius:13px;background:#fff8e9;color:#91621b}.mm-food-editor-note>span{width:26px;height:26px;flex:0 0 26px;border-radius:8px;background:#ffe7b7;position:relative}.mm-food-editor-note>span::after{content:"";position:absolute;inset:7px;background:#a96b15;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}.mm-food-editor-note b,.mm-food-editor-note small{display:block}.mm-food-editor-note b{font-size:9.5px}.mm-food-editor-note small{margin-top:2px;color:#9c8057;font-size:8px}
.mm-meal-control-status{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 11px;border:1px solid #dbe7f1;border-radius:15px;background:#f7faff}.mm-meal-control-status>span{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#e7f3ff;color:#3378c8;position:relative}.mm-meal-control-status>span::after{content:"";position:absolute;inset:9px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3v8m-2-8v5a2 2 0 0 0 4 0V3m0 8v10M16 3c2 2 3 5 3 8v3h-3v7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3v8m-2-8v5a2 2 0 0 0 4 0V3m0 8v10M16 3c2 2 3 5 3 8v3h-3v7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}.mm-meal-control-status.is-stopped>span{background:#ffebed;color:#d64a5b}.mm-meal-control-status div{min-width:0}.mm-meal-control-status b{display:block;color:#263f5d;font-size:10.5px}.mm-meal-control-status small{display:block;margin-top:2px;color:#7a8b9e;font-size:8.5px;line-height:1.4}.meal-choice.mm-meal-locked{opacity:.58!important;filter:saturate(.4)!important;cursor:not-allowed!important;background:#f1f4f7!important;color:#7f8d9c!important}
.mm-food-kpi-status{display:block!important;margin-top:3px!important;color:#8a98aa!important;font-size:7.7px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important}.mm-fund-control-status{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:9px 10px;border:1px solid #dce7f1;border-radius:13px;background:#f7faff}.mm-fund-control-status>span{width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#fff0da;position:relative}.mm-fund-control-status>span::after{content:"";position:absolute;inset:8px;border:2px solid #b2761d;border-radius:2px}.mm-fund-control-status b,.mm-fund-control-status small{display:block}.mm-fund-control-status b{color:#334b65;font-size:9px}.mm-fund-control-status small{margin-top:2px;color:#7b8b9e;font-size:7.8px;line-height:1.35}
html[data-theme="dark"] .mm-food-status,html[data-theme="dark"] .mm-food-sheet,html[data-theme="dark"] .mm-food-date-card,html[data-theme="dark"] .mm-food-toggle-row,html[data-theme="dark"] .mm-food-preview-grid>div,html[data-theme="dark"] .mm-food-reopen-summary,html[data-theme="dark"] .mm-food-reopen-note,html[data-theme="dark"] .mm-meal-control-status,html[data-theme="dark"] .mm-fund-control-status{border-color:#2d465c;background:#102235;color:#eef5fc}html[data-theme="dark"] .mm-food-sheet{background:linear-gradient(180deg,#102438,#0b1a29);box-shadow:0 -24px 74px rgba(0,0,0,.46)}html[data-theme="dark"] .mm-food-sheet-handle{background:#455e74}html[data-theme="dark"] .mm-food-sheet-head h2,html[data-theme="dark"] .mm-food-status-copy b,html[data-theme="dark"] .mm-food-date-card b,html[data-theme="dark"] .mm-food-preview-grid b,html[data-theme="dark"] .mm-food-reopen-summary b,html[data-theme="dark"] .mm-meal-control-status b,html[data-theme="dark"] .mm-fund-control-status b{color:#eef6ff}html[data-theme="dark"] .mm-food-sheet-head>button{border-color:#304b63;background:#142b40;color:#b9cad9}html[data-theme="dark"] .mm-food-status-copy span,html[data-theme="dark"] .mm-food-date-card em,html[data-theme="dark"] .mm-food-toggle-row small,html[data-theme="dark"] .mm-food-preview-grid span,html[data-theme="dark"] .mm-food-reopen-summary span,html[data-theme="dark"] .mm-food-reopen-note span,html[data-theme="dark"] .mm-meal-control-status small,html[data-theme="dark"] .mm-fund-control-status small{color:#9eb0c2}html[data-theme="dark"] .mm-food-toggle-row b,html[data-theme="dark"] .mm-food-effect-list b,html[data-theme="dark"] .mm-food-reopen-note b{color:#dce9f5}html[data-theme="dark"] .mm-food-effect-list small{color:#9cafc1}html[data-theme="dark"] .mm-food-effect-list i{background:#17334b;color:#8fb9df}html[data-theme="dark"] .mm-food-date-icon{background:#173a60;color:#7cb3f3}html[data-theme="dark"] .mm-food-toggle-row i{background:#395166}html[data-theme="dark"] .mm-food-conflict{border-color:#6b3640;background:#3c222b;color:#ffadb8}html[data-theme="dark"] .mm-food-editor-note{border-color:#604725;background:#332819;color:#f1bf76}html[data-theme="dark"] .mm-food-editor-note small{color:#c4a67c}html[data-theme="dark"] .meal-choice.mm-meal-locked{background:#172737!important;color:#8297aa!important}html[data-theme="dark"] .mm-food-kpi-status{color:#91a7bb!important}
@media(max-width:600px){.mm-food-status{grid-template-columns:38px minmax(0,1fr) auto;padding:10px 11px;gap:9px;border-radius:16px}.mm-food-status-mark{width:38px;height:38px;border-radius:12px}.mm-food-status-copy b{font-size:11px}.mm-food-status-copy span{font-size:8.5px}.mm-food-status-action{height:31px;padding:0 9px;font-size:8.8px;border-radius:10px}.mm-food-sheet{width:100%;padding:29px 17px calc(17px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0}.mm-food-sheet-head{margin-bottom:12px}.mm-food-sheet-head h2{font-size:22px}.mm-food-sheet-head>button{width:38px;height:38px;flex-basis:38px;border-radius:13px}.mm-food-date-card{grid-template-columns:38px minmax(0,1fr);gap:9px;padding:10px 38px 10px 10px;border-radius:15px}.mm-food-date-icon{width:38px;height:38px;border-radius:12px}.mm-food-date-card b{font-size:13px}.mm-food-preview-grid>div{padding:9px 10px}.mm-food-preview-grid b{font-size:11.5px}.mm-food-sheet-actions button{height:41px;font-size:10px}.mm-food-effect-list{gap:6px}.mm-food-effect-list>div{grid-template-columns:22px minmax(0,1fr);gap:7px}.mm-food-effect-list i{width:22px;height:22px}.mm-food-effect-list b{font-size:8.9px}.mm-food-effect-list small{font-size:7.8px}}
@media(max-width:390px){.mm-food-status{grid-template-columns:34px minmax(0,1fr) auto}.mm-food-status-mark{width:34px;height:34px}.mm-food-status-copy small{font-size:7.3px}.mm-food-status-copy b{font-size:10.3px}.mm-food-status-copy span{font-size:7.9px}.mm-food-status-action{height:29px;font-size:8px;padding:0 7px}.mm-food-sheet{padding-left:14px;padding-right:14px}.mm-food-preview-grid{gap:6px}.mm-food-toggle-row{padding:9px 10px}.mm-food-toggle-row i{width:36px;flex-basis:36px;height:21px}.mm-food-toggle-row i::after{width:15px;height:15px}.mm-food-toggle-row input:checked+i::after{transform:translateX(15px)}}
@keyframes mmFoodFade{from{opacity:0}to{opacity:1}}@keyframes mmFoodRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.mm-food-layer,.mm-food-sheet{animation:none}}
