/* Looseleaf by Kevin Ngo, MIT. Adapted for HomeMenu's existing HTML. */
@font-face{font-family:"Kevin Sans";src:url("./KevinSans-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Kevin Sans";src:url("./KevinSans-Bold.woff2") format("woff2");font-weight:600 1000;font-display:swap}
body.looseleaf{
  --ll-desk:#a8c8bb;--ll-paper:#f8f5ee;--ll-slip:#fbf8f1;--ll-ink:#2a2420;
  --ll-rule:#8fb0d4;--ll-red:#d9776a;--ll-focus:#2c4f9e;
  --paper:var(--ll-paper);--ink:var(--ll-ink);--muted:#65645e;
  --green:#cfe6a8;--blue:#bcd8f0;--yellow:#f7e38a;--rose:#f6b8b0;--red:#f6d9d3;
  --white:#fffefa;--shadow:0 1px 2px #2a24201a,0 7px 16px #2a24200a;
  margin:0;color:var(--ink);background:#e9efeb;
  font-family:"Kevin Sans","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:15px;line-height:1.5;
  -webkit-font-smoothing:antialiased;letter-spacing:0;
}
.looseleaf *, .looseleaf *::before, .looseleaf *::after{box-sizing:border-box;letter-spacing:0}
.looseleaf :where(button,input,textarea,select){font-family:inherit;color:inherit}
.looseleaf :where(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--ll-focus);outline-offset:4px}
.looseleaf :where(button,a){-webkit-tap-highlight-color:transparent}
.looseleaf :where(p){line-height:1.65}
.looseleaf :where(h1,h2,h3){font-weight:700;overflow-wrap:anywhere}
.looseleaf :where(button,.btn,.pill,.tab){touch-action:manipulation}
.looseleaf :where(.btn,.pill,.tab,.chip,.settingsChip,.catalogMineToggle,.catalogFavoriteButton){
  border:1px solid #716e61;border-radius:3px;background:var(--ll-slip);box-shadow:0 1px 1px #2a242014;
  font-weight:600;line-height:1.4;padding:9px 12px;text-decoration:none;
}
.looseleaf :where(.btn,.pill,.tab):not(:disabled):hover{background:#edf0e2;box-shadow:0 2px 3px #2a24201a;transform:none}
.looseleaf .btn.primary,.looseleaf .tab.active{background:var(--green);border-color:#64754b}
.looseleaf .btn.danger{background:var(--red);border-color:#ad6b5c}
.looseleaf :where(input,textarea,select),.looseleaf .settingsForm :where(input,select),.looseleaf .loginPanel input{
  border:1px solid #8d8b7c;border-radius:3px;background:#fffefa;box-shadow:inset 0 1px 2px #2a24200a;
  padding:10px 12px;font-size:15px;font-weight:400;min-width:0;
}
.looseleaf input[type=checkbox],.looseleaf input[type=radio]{accent-color:#3b7a4b}
.looseleaf :where(input,textarea):focus{border-color:var(--ll-focus)}
.looseleaf :where(button:disabled,input:disabled,select:disabled){opacity:.55}
.looseleaf :where(.json,.copybox,.policyJson){font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fffefa;border:1px solid #aaa99c;border-radius:3px}

/* Shared binding, paper edges and index tabs. */
.looseleaf>header{background:var(--ll-desk);border:0;border-bottom:1px solid #7f9e91;padding:14px 24px;backdrop-filter:none}
.looseleaf>header .top,.looseleaf .topIn{max-width:1240px;margin:auto;gap:16px}
.looseleaf .topIn{padding:0}
.looseleaf .brand{gap:12px;font-size:23px;font-weight:700}
.looseleaf .brandTitle{gap:10px}
.looseleaf .brandTitle h1{font-size:18px;line-height:1.4;font-weight:600}
.looseleaf .homeMark{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.looseleaf .homeMark::after{content:"HomeMenu";font-size:24px;font-weight:700}
.looseleaf .mark{width:33px;height:35px;flex-shrink:0;transform:rotate(-4deg);background:#fffefa;border:1.4px solid #514f44;border-radius:2px;box-shadow:2px 2px 0 #fbf8f1,3px 3px 0 #7b8674}
.looseleaf .mark::before{width:15px;height:15px;border:1.4px solid #514f44;background:var(--yellow)}
.looseleaf :where(.accountAvatar,.accountIcon){width:38px;height:38px;border:1px solid #687b6d;border-radius:50%;box-shadow:none;background:#edf1e7}
.looseleaf .premiumBadge{background:var(--yellow);border:1px solid #8b7d43;box-shadow:none;border-radius:2px;animation:none;font-size:10px;font-weight:600}
.looseleaf :where(.accountDrop,.accountMenu,.premiumPopover,.assistantModelMenu){border:1px solid #8d8b7c;border-radius:4px;background:#fffefa;box-shadow:0 8px 30px #2a242026;padding:8px}
.looseleaf .premiumPopover{top:36px}
.looseleaf .accountDrop .pill,.looseleaf .accountMenu .btn{border-color:transparent;background:transparent}
.looseleaf>main{max-width:1240px;padding:30px 24px 40px;gap:36px;grid-template-columns:minmax(0,1fr) minmax(340px,470px);align-items:start}
.looseleaf.wide>main{grid-template-columns:minmax(0,1fr)}
.looseleaf #leftPane{padding:4px 0 20px;min-width:0}
.looseleaf .monthbar{margin:0 0 20px;gap:12px}
.looseleaf .monthbar h2{font-size:27px;font-weight:600}
.looseleaf .monthbar .btn{height:38px;width:38px;padding:0;font-size:24px;line-height:1}
.looseleaf .weekdays{margin-bottom:10px;gap:0}
.looseleaf .weekdays div{font-weight:500;font-size:12px}
.looseleaf .calendar{gap:0;background:var(--ll-slip);border:1px solid #a6aca0;border-radius:3px;overflow:hidden;box-shadow:var(--shadow)}
.looseleaf .daybtn{height:80px;border:0;border-right:1px solid #d5d9cf;border-bottom:1px solid #d5d9cf;border-radius:0;background:#fffefa;box-shadow:none!important;transform:none!important;transition:background .15s}
.looseleaf .daybtn:nth-child(7n){border-right:0}
.looseleaf .daybtn:nth-last-child(-n+7){border-bottom:0}
.looseleaf .daybtn.has-plan{background:#edf3e5}
.looseleaf .daybtn.has-shop{background:#e8f1f7}
.looseleaf .daybtn.has-plan.has-shop{background:#e7efe8}
.looseleaf .daybtn.saturday:not(.selected){color:#41659a}
.looseleaf .daybtn.sunday:not(.selected){color:#b44e3d}
.looseleaf .daybtn.outsideMonth{background:#f1f2eb;color:#8b9086}
.looseleaf .daybtn.selected{background:var(--yellow)!important;box-shadow:inset 0 0 0 1.5px #8f7c38!important}
.looseleaf .daybtn:not(:disabled):hover{background:#e2ead9}
.looseleaf .daynum{left:9px;top:9px;padding:0;background:transparent!important;font-size:19px;font-weight:600;border-radius:0}
.looseleaf .daybtn.today .daynum{box-shadow:inset 0 -2px var(--ll-red)}
.looseleaf .daybtn.today:after{width:5px;height:5px;border:0;background:#c2412d;left:10px;bottom:10px}
.looseleaf .icons{right:6px;bottom:7px}
.looseleaf .ico{border:1px solid #7e8d6a;min-width:18px;height:18px;font-weight:500;font-size:10px}
.looseleaf #detail{padding:25px 24px;background:#fffefa;border:1px solid #d5d1c6;border-radius:2px;box-shadow:0 1px 2px #2a24201a,3px 4px 0 -1px #f8f5ee,3px 4px 0 #d5d1c6}
.looseleaf .datebar{padding-bottom:20px;border-bottom:1px solid #b8c8d5;margin-bottom:12px}
.looseleaf .datebar h2{font-size:25px;line-height:1.4;font-weight:600}
.looseleaf .datebar p{margin:4px 0 0;font-size:12px}
.looseleaf .dateStatus{gap:12px;padding-top:4px}
.looseleaf .dateStatus .status{white-space:nowrap;font-size:12px}
.looseleaf .dateActions{margin-top:2px;gap:8px}
.looseleaf .dateActions .btn{font-size:11px;padding:7px 9px;background:#f1f3e7;border-color:#a6ad93}
.looseleaf :where(.section,.editor,.loginBox){background:transparent;box-shadow:none;border:0;border-radius:0;padding:20px 0;margin:0;border-bottom:1px solid #dce0d6}
.looseleaf .section h3{font-size:16px;margin:0 0 14px;font-weight:600;background:url('./ink-rule.svg') left bottom/100% 5px no-repeat;padding-bottom:12px}
.looseleaf .section>h2:first-child{margin:0 0 16px}
.looseleaf .section:last-child{border-bottom:0}
.looseleaf .section>.dish{border:0;border-left:2px solid #b8c8d5;border-radius:0;background:#f6f8f0;padding:12px 14px;font-size:13px}
.looseleaf :where(.chip,.settingsChip){font-size:11px;border:0;background:#edf0e6;padding:4px 7px;box-shadow:none;border-radius:2px;font-weight:500}
.looseleaf .ingredients.compact .chip{border:0;font-size:10px;padding:3px 5px;background:#f2f3eb}
.looseleaf .recipeCard{border:1px solid #d7d7cc;border-radius:3px;padding:10px;gap:12px;box-shadow:0 1px 2px #2a24200a;background:#fffefa;grid-template-columns:72px minmax(0,1fr)}
.looseleaf .recipeCard:hover{box-shadow:0 2px 7px #2a24201a;transform:none;border-color:#8d9c80}
.looseleaf .recipeCard .thumb{width:72px;height:72px;border:0;border-radius:2px;background:#e5ebd7}
.looseleaf .recipeName{font-size:15px;font-weight:600;line-height:1.5;margin-bottom:4px}
.looseleaf .recipeMeta{font-size:11px;font-weight:400;line-height:1.5}
.looseleaf .addDishBtn{border-radius:3px;box-shadow:none;border-width:1px;background:#f5f8ed}
.looseleaf .recipeAddRow{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0 8px;gap:12px}
.looseleaf .recipeAddRow::before,.looseleaf .recipeAddRow::after{content:"";flex:1;border-top:1px dashed #b4bea7}
.looseleaf .recipeAddRow span{width:30px;height:30px;flex-basis:30px;border:1px solid #8d9c80;border-radius:2px;box-shadow:0 1px 2px #2a242014}
.looseleaf .recipeAddRow:hover{background:transparent}
.looseleaf .recipeAddRow:hover span{background:#bad98e;border-color:#64754b}
.looseleaf .swipeDishAction{border-width:1px;border-radius:3px;font-family:inherit;font-weight:600}
.looseleaf :where(.swipeDish,.swipeDishActions){border-radius:3px;box-shadow:none}
.looseleaf .swipeDish .recipeCard{margin:0}
.looseleaf :where(.notePaper,.noteItem,.stockCard,.missingRow,.confirmItem,.dish){border-radius:3px;box-shadow:none;border-width:1px;font-weight:500}
.looseleaf .notePaper{background:#f8f2de;border-color:#d2cba9}
.looseleaf .dishDayNote{position:absolute;top:-6px;right:-3px;display:block;width:88px;max-width:100%;height:64px;min-height:64px;margin:0;padding:9px 8px;background:var(--yellow);border:1px solid #c8b977;border-radius:2px;box-shadow:1px 3px 6px #2a242026;transform:rotate(2deg);font:inherit;font-size:11px;font-weight:400;line-height:15px;overflow-wrap:anywhere}
.looseleaf .dishDayNote::before{display:block;width:32px;height:10px;top:-5px;background:#fbf8f1cc;border:1px solid #d2cba980;box-shadow:none}
.looseleaf .dishDayNote::after{display:none}
.looseleaf .dishDayNote:hover{transform:rotate(0);background:#f9e9a7}
.looseleaf .swipeDish.hasDishNote,.looseleaf .dishCardShell.hasDishNote{margin-top:6px}
.looseleaf .hasDishNote .recipeCard{min-height:94px}
/* Wrap only the first lines around the floating note; ingredients keep the full width below it. */
.looseleaf .hasDishNote .recipeInfo::before{content:"";float:right;width:94px;height:56px}
.looseleaf .dishNoteLarge{background:var(--yellow);border-radius:3px;box-shadow:0 12px 30px #2a242030}
.looseleaf .dishNoteViewPanel{overflow:auto;padding-top:28px}
.looseleaf .dishNoteLarge p{font-weight:400;max-height:35dvh;overflow:auto}
.looseleaf .dishNoteLargeActions{flex-wrap:wrap}
.looseleaf .dishNoteLargeActions .btn{box-shadow:none}
.looseleaf .dishNoteEditor{font-family:inherit;font-weight:400}
.looseleaf .stockCard{background:#f5f7ee;border-color:#c6ccbc}
.looseleaf :where(.stockCard b,.missingRow strong){font-weight:600}
.looseleaf :where(.compactStockGrid,.inventoryGrid){gap:8px}
.looseleaf .menuDishStepper{border-width:1px;border-radius:3px;box-shadow:none}
.looseleaf .menuDishServings{border-width:1px;border-radius:3px;background:var(--ll-slip)}
.looseleaf .menuDishStepper button+span,.looseleaf .menuDishStepper span+button{border-left-width:1px}

/* Recipe photographs stay the focus; filters are index tabs, not nested pills. */
.looseleaf.recipeLibraryPage #detail,.looseleaf.wide #detail{background:transparent;border:0;box-shadow:none;padding:0}
.looseleaf .catalogSection{padding:0;border:0;background:transparent}
.looseleaf .catalogHead{gap:20px;margin:0 0 26px;grid-template-columns:minmax(0,1fr) minmax(420px,480px)}
.looseleaf .catalogHead h2{font-size:30px;font-weight:600;margin:0}
.looseleaf .catalogControls{overflow:visible;flex-wrap:wrap;gap:12px;border-bottom:1px solid #adb7a8;padding:0 0 12px}
.looseleaf :where(.catalogFilter,.catalogSort){border:0;border-radius:0;background:transparent;padding:0;gap:6px;flex-wrap:wrap}
.looseleaf :where(.catalogFilter,.catalogSort) button{border:1px solid transparent;border-radius:3px;padding:9px 13px;font:600 13px "Kevin Sans","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;background:transparent}
.looseleaf :where(.catalogFilter,.catalogSort) button.active{background:var(--yellow);border-color:#b1a468;box-shadow:none;color:var(--ink)}
.looseleaf .catalogSort button.active{background:var(--blue);border-color:#8ba9bd}
.looseleaf .catalogGrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px}
.looseleaf .catalogCard{display:flex;flex-direction:column;align-items:stretch;padding:7px;border:1px solid #d0d2c6;border-radius:3px;background:#fffefa;box-shadow:0 2px 4px #2a242010;transition:box-shadow .15s,border-color .15s}
.looseleaf .catalogCard:hover{transform:none;box-shadow:0 4px 12px #2a242024;border-color:#a2af93}
.looseleaf .catalogThumb{width:100%;flex-shrink:0;border:0;border-radius:1px;background:#e3e9dc;aspect-ratio:4/3}
.looseleaf .catalogBody{padding:13px 6px 7px}
.looseleaf .catalogBody .recipeName{min-height:0;font-size:16px;line-height:1.5}
.looseleaf .catalogBody .ingredients{margin-top:10px}
.looseleaf .catalogHero,.looseleaf .catalogStep img{border:0;border-radius:2px}
.looseleaf .catalogStep{border:0;border-bottom:1px solid #d5ded4;border-radius:0;background:transparent;padding:16px 0}
/* These controls also receive legacy styles after page load. Keep theme specificity higher. */
.looseleaf .catalogFavoriteCorner,.looseleaf .catalogFavoriteBadge{max-width:calc(100% - 16px);border:1px solid #b1a468;border-radius:2px;background:var(--yellow);box-shadow:none;padding:4px 7px;font-size:11px;font-weight:500;line-height:1.3}
.looseleaf .catalogFavoriteButton{width:40px;height:40px;padding:0;border:1px solid #9da68e;border-radius:3px;background:var(--ll-slip);box-shadow:none;font-size:22px;font-weight:400;line-height:1}
.looseleaf .catalogFavoriteButton.isFavorite{background:var(--yellow);border-color:#b1a468}
.looseleaf .catalogFavoriteButton:hover{border-color:#64754b;background:#edf3e5}
.looseleaf .catalogFavoriteButton.isLoading{opacity:.6;cursor:wait}
.looseleaf .catalogCard:has(.catalogFavoriteButton) .catalogBody{padding-bottom:46px}
.looseleaf .catalogMineToggle.active{box-shadow:none}
.looseleaf .catalogCreateRecipeBtn{width:40px;height:40px;flex-basis:40px;border-radius:3px;padding:0;box-shadow:none}
.looseleaf .catalogCreateRecipeBtn svg{stroke-width:1.5}
.looseleaf .catalogCreateRecipeBtn:after{border:1px solid #a6ad9b;border-radius:3px;background:var(--ll-slip);box-shadow:0 3px 10px #2a242018;font-weight:400;line-height:1.4}
.looseleaf .catalogInfoButton{border:1px solid #8ba9bd;background:#e5eff6;box-shadow:none;font:600 14px/1 "Kevin Sans",sans-serif}
.looseleaf :is(.catalogFavoriteButton,.catalogInfoButton,.catalogCreateRecipeBtn,.catalogFilter button,.catalogSort button):focus-visible{outline:2px solid var(--ll-focus);outline-offset:3px}
.looseleaf .familyRatingControls select{border:1px solid #a6ad9b;border-radius:3px;background:var(--ll-slip);font-weight:400}
.looseleaf .catalogSection>.stockProgress{height:6px;border:0;border-radius:2px;background:#dae4d5}
.looseleaf .catalogAddBtn[disabled]{box-shadow:none}
.looseleaf .catalogAddHint{font-weight:400}
.looseleaf .catalogSearchForm{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.looseleaf .catalogSearchForm:has(#catalogMatchSelect){grid-template-columns:minmax(0,1fr) 170px auto}
.looseleaf .catalogSearchForm label{font-size:12px;font-weight:500}
.looseleaf .catalogSearchForm .btn{width:auto;min-height:43px}
.looseleaf :where(.catalogMineHeader,.catalogTitleRow){gap:12px;flex-wrap:wrap}
.looseleaf .catalogTitleRow{flex-wrap:nowrap;align-items:flex-start}
.looseleaf .catalogTitleRow>div:first-child{flex:1;min-width:0}
.looseleaf .collectionPlaylistGrid{gap:14px}
.looseleaf .collectionPlaylistCard{border:1px solid #c4cbb7;border-radius:3px;background:#fffefa;box-shadow:0 2px 3px #2a242010;padding:10px;gap:10px}
.looseleaf .collectionPlaylistCard.active,.looseleaf .collectionPlaylistCard:hover{background:#edf3e5;box-shadow:none;transform:none;border-color:#8f9f7b}
.looseleaf .collectionCover{height:84px;border:0;border-radius:2px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.looseleaf .collectionCover i{min-width:0;min-height:0;overflow:hidden;background:#e6edda;font-weight:500}
.looseleaf .collectionCover img{width:100%;height:100%;object-fit:cover}
.looseleaf .collectionPlaylistCard b{font-weight:600;line-height:1.5}
.looseleaf .collectionPlaylistCard span{font-weight:400}
.looseleaf .collectionPicker label,.looseleaf .newCollectionInline{border:1px solid #bec8b3;border-radius:3px;background:#f7f9f1;font-weight:400}
.looseleaf .familyReview{border:0;border-bottom:1px solid #d7dece;border-radius:0;background:transparent}

/* Dock and assistant use the same paper and ink, including dynamic styles. */
.looseleaf .appFooter{padding-bottom:max(12px,env(safe-area-inset-bottom))}
.looseleaf .adminDock{border:1px solid #a6ad9b;border-radius:5px;background:#fbf8f1;box-shadow:0 5px 22px #2a242024;backdrop-filter:none;padding:6px;gap:6px}
.looseleaf .dockBtn{border-radius:3px;min-height:52px;font-weight:500;gap:5px}
.looseleaf .dockBtn.active{background:var(--green);box-shadow:none;color:#36482a}
.looseleaf .dockLabel{font-size:11px;line-height:1.2}
.looseleaf .dockIcon{width:22px;height:22px}
.looseleaf .dockIcon svg{stroke-width:1.5}
.looseleaf .publicAiBtn{width:66px!important;height:66px!important;margin-top:0!important;filter:none!important}
.looseleaf:has(.modalScrim:not(.modalMotionGhost)) .publicAiBtn{z-index:30!important}
.looseleaf .publicAiBtn .aiOrb{width:60px;height:60px;background:var(--blue);border:1px solid #6f8f9f;border-radius:4px;transform:rotate(3deg);box-shadow:2px 3px 0 #f8f5ee,3px 4px 0 #8d9d91;filter:none;will-change:auto}
.looseleaf .publicAiBtn .aiOrb::before,.looseleaf .publicAiBtn .aiOrb::after,.looseleaf .publicAiBtn .aiOrbGlow{display:none}
.looseleaf .publicAiBtn .aiOrbLabel{font:700 24px "Kevin Sans",sans-serif;color:#2c4f6e;text-shadow:none;transform:none}
.looseleaf .publicAiBtn:not(:disabled):hover .aiOrb{filter:none;box-shadow:2px 3px 0 #f8f5ee,3px 4px 0 #8d9d91;background:#cce4f5}
.looseleaf .publicAiBtn:active .aiOrb{transform:rotate(0);box-shadow:none}
.looseleaf .assistantPanel{border:1px solid #9a9d8e;border-radius:5px;background:#fffefa;box-shadow:0 15px 50px #2a242033}
.looseleaf .assistantHead{background:#edf3e6;border-bottom:1px solid #c0cbb5;padding:18px}
.looseleaf .assistantHead b{font:700 24px "Kevin Sans",sans-serif}
.looseleaf .assistantMessages{background:#fffefa;padding:18px}
.looseleaf .assistantBubble{border:1px solid #d6d9ca;border-radius:3px;background:#f8f5ee;box-shadow:none;font-weight:400;line-height:1.7}
.looseleaf .assistantMsg.user .assistantBubble{background:#e8f0de;border-color:#bfccae}
.looseleaf .assistantForm{background:#fffefa;border:1px solid #aab79d;border-radius:3px;box-shadow:none}
.looseleaf .assistantHeadActions .btn{border:1px solid #8f9c82;border-radius:3px;box-shadow:none}
.looseleaf .assistantForm textarea{border-radius:3px;background:#fffefa;border-width:1px;font-weight:400}
.looseleaf .assistantModelBtn{border-radius:3px;box-shadow:none;border-width:1px;background:#fffefa}
.looseleaf :where(.assistantClose,.assistantClearHistory){border-radius:3px;border-width:1px;box-shadow:none}

/* Dialogs, workspace and local identity pages. */
.looseleaf :where(.modalScrim,.loginScrim){background:#2a352f66;backdrop-filter:blur(3px)}
.looseleaf :where(.modalPanel,.loginPanel){background:#fffefa;border:1px solid #999b8c;border-radius:5px;box-shadow:0 18px 60px #1b282944;padding:24px}
.looseleaf .modalPanel>.section{padding:0;border:0}
.looseleaf .modalPanel :where(h2,h3){font-size:21px}
.looseleaf .modalPanel .head{gap:12px;flex-wrap:wrap}
.looseleaf :is(#recipeInfoScrim,#catalogRecipeScrim,#recipeModalScrim) .modalPanel>.section{display:flex;flex-direction:column;gap:12px}
.looseleaf :is(#recipeInfoScrim,#catalogRecipeScrim,#recipeModalScrim) .section>.actions:last-child{order:-1;position:sticky;top:-24px;z-index:4;margin:0;padding:12px 0;background:#fffefa;border-bottom:1px solid #d7dfd0;flex-wrap:wrap;justify-content:flex-end}
.looseleaf #catalogRecipeScrim .catalogHero{max-height:280px;object-fit:contain;background:transparent;flex-shrink:0}
.looseleaf #catalogRecipeScrim :is(h2,p){margin:0;overflow-wrap:anywhere}
.looseleaf #addDishForm{display:flex;flex-direction:column;gap:10px}
.looseleaf #addDishForm>.actions{order:-1;position:sticky;top:-24px;z-index:2;background:#fffefa;border-bottom:1px solid #d7dfd0;padding:10px 0;flex-wrap:wrap}
.looseleaf .modalPanel .homeRecipeInfo{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;border:0;box-shadow:none;padding:0;cursor:default}
.looseleaf .homeRecipeInfo .catalogBody{padding:0}
.looseleaf .homeRecipeInfo .catalogThumb{aspect-ratio:1}
.looseleaf .toast{border-radius:3px;max-width:calc(100vw - 32px);font-size:13px;box-shadow:0 3px 15px #2a242030}
.looseleaf .layout{max-width:1240px;margin:0 auto;padding:32px 24px;gap:30px}
.looseleaf .layout .main{min-width:0}
.looseleaf .side{background:transparent;border:0;border-right:1px solid #bdc9bb;border-radius:0;box-shadow:none}
.looseleaf .side a{border:1px solid transparent;border-radius:3px;font-weight:600}
.looseleaf .side a.active{border:1px solid #8ba9bd}
.looseleaf .settingsShell{gap:24px}
.looseleaf .settingsHero{border:0;border-bottom:1px solid #acbba8;border-radius:0;background:transparent;box-shadow:none;padding:0 0 24px;gap:24px}
.looseleaf .settingsHero h1{font-size:36px;font-weight:600;margin-bottom:8px}
.looseleaf .settingsHero p{font-size:13px;max-width:560px}
.looseleaf .settingsTabs{background:transparent;border:0;border-radius:0;padding:0;gap:8px}
.looseleaf .settingsTabs button{font:600 17px "Kevin Sans",sans-serif;border-radius:3px;border:1px solid #adb8a5;background:var(--ll-slip);padding:10px 8px}
.looseleaf .settingsTabs button.active{background:var(--yellow);box-shadow:none;border-color:#afa16a}
.looseleaf .settingsGrid{gap:22px}
.looseleaf .settingsCard{border:1px solid #c5cabc;border-radius:3px;background:#fffefa;box-shadow:0 2px 5px #2a24200f;padding:22px}
.looseleaf .settingsCard h2{font-size:23px;font-weight:600}
.looseleaf .settingsCard h3{font-size:18px;font-weight:600}
.looseleaf .settingsChip{border:0;border-radius:2px;padding:4px 7px;font-size:12px;font-weight:400}
.looseleaf #settingsTabHomes>article.settingsCard{border:0;border-top:1px solid #b5c3ad;border-radius:0;background:transparent;box-shadow:none;padding:24px 0}
.looseleaf .settingsNotice{border:0;border-radius:0;background:transparent;padding:0;font-weight:400;font-size:13px}
.looseleaf .settingsForm{max-width:600px;gap:12px}
.looseleaf .settingsForm label{font-weight:500;font-size:13px}
.looseleaf .settingsForm>.btn{justify-self:start;min-width:100px}
.looseleaf .homeManagePanel{margin:20px -22px -22px;padding:22px;background:#f6f8f0;border-top:1px solid #c6d1bc}
.looseleaf :where(.subscriptionFact,.accessPanel,.policyCheck){border:0;border-radius:2px;box-shadow:none;background:#edf2e7}
.looseleaf .subscriptionFact{padding:12px}
.looseleaf .accessPanel{border:0;border-radius:0;background:#e8f0de}
.looseleaf .subscriptionFact{border:0;border-radius:0;background:#edf2e7}
.looseleaf .subscriptionFact span{font-size:12px;font-weight:400}
.looseleaf .memberRow{padding:14px 0;border-bottom:1px solid #d7dece}
.looseleaf .memberAvatar{border:1px solid #91a27d;border-radius:50%;font-weight:500}
.looseleaf .memberEmail{font-weight:500}
.looseleaf .policyWorkbench,.looseleaf .policyPane{background:#f6f8f0;border-color:#bfccb4;border-width:1px}
.looseleaf .policyBar,.looseleaf .policyTab{background:#e7eee0;border-color:#bfccb4;border-width:1px}
.looseleaf .policyEditor{border-right-width:1px}
.looseleaf .policyCheck{font-weight:400!important;background:#fffefa}
.looseleaf .policyFooter .btn,.looseleaf .memberActions .btn{box-shadow:none;border-width:1px}
.looseleaf>main.authPage{min-height:100svh;max-width:none;padding:40px 20px;display:grid;grid-template-columns:minmax(0,1fr);place-items:center}
.looseleaf .authPage>.card{width:min(440px,100%);border:1px solid #bdc4b4;border-radius:3px;background:#fffefa;padding:32px;box-shadow:3px 4px 0 -1px #f8f5ee,3px 4px 0 #bdc4b4}
.looseleaf .authBrand{font-size:26px}
.looseleaf .authLogo{flex-shrink:0;font-size:14px;background:var(--green);border-radius:3px;color:var(--ink)}
.looseleaf .authPage .primary{background:var(--green);color:var(--ink);border-color:#6f8358}
.looseleaf .wrap{max-width:1120px;margin:32px auto;padding:0 24px}
.looseleaf .request{border:1px solid #bcc7b4;border-radius:3px;background:#fffefa;box-shadow:none}
.looseleaf .request button{border:1px solid #8d9c80;border-radius:3px;box-shadow:none;font-weight:600}
.looseleaf .request pre{border-width:1px;border-radius:3px}
.looseleaf .request p{font-weight:400;overflow-wrap:anywhere}

/* Product home: a compact masthead followed by the actual menu preview. */
.looseleaf:has(.hero)>main{display:block;max-width:1160px}
.looseleaf .hero{display:block;min-height:0;padding:20px 0 40px}
.looseleaf .hero>div:first-child{max-width:760px;margin:0 auto 32px;text-align:center}
.looseleaf .hero h1{font-size:64px;line-height:1.1;margin:14px 0;max-width:none}
.looseleaf .hero p{font-size:18px;max-width:620px;margin:auto;font-weight:400}
.looseleaf .eyebrow{background:var(--yellow);border:0;border-radius:2px;padding:4px 12px;font-weight:500;font-size:12px}
.looseleaf .hero .actions{justify-content:center;margin-top:20px}
.looseleaf .hero .trust{display:none}
.looseleaf .visual{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.looseleaf .productPreview{display:block;width:auto;height:auto;max-width:100%;max-height:clamp(180px,calc(100svh - 440px),440px);margin:auto;border:1px solid #bcc5b6;border-radius:3px;box-shadow:0 8px 30px #2a24201a}
.looseleaf .hero+.section{padding-top:28px;border-top:1px solid #bac8b3}
.looseleaf .section>h2{font-size:28px}
.looseleaf .section>p{font-weight:400;font-size:15px}
.looseleaf .feature,.looseleaf .step{border:0;border-top:1px solid #a4b59a;border-radius:0;background:transparent;box-shadow:none;padding:18px 0;margin-right:16px}
.looseleaf .feature p,.looseleaf .step p{font-weight:400;line-height:1.7}
.looseleaf .step strong{border:1px solid #8d9c80;background:var(--blue);font-weight:500}
.looseleaf .cta{border:0;border-top:1px solid #acbca2;border-radius:0;background:transparent;padding:30px 0;box-shadow:none}
.looseleaf .footerBox{border:0;border-top:1px solid #acbca2;border-radius:0;background:transparent;box-shadow:none;padding:24px 0}
.looseleaf .footerLink{border:0;border-bottom:1px solid #99aa91;border-radius:0;background:transparent;font-weight:500}
.looseleaf .footerMeta{border-top:1px solid #c5cfbd;font-weight:400}
.looseleaf .footerBrand p{font-weight:400}
.looseleaf .settingRow{border:0;border-radius:0;background:transparent;padding:14px 0}
.looseleaf .segmented{border:1px solid #919e84;border-radius:3px;box-shadow:none}
.looseleaf .langSwitch{border:1px solid #919e84;border-radius:3px;box-shadow:none}
.looseleaf .layout .hero,.looseleaf .layout .panel{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0 0 24px}
.looseleaf .layout .hero h1{font-size:30px;line-height:1.3;margin:0 0 12px}
.looseleaf .layout .hero p{font-size:15px;max-width:none;margin:0}
.looseleaf .layout .hero .actions{justify-content:flex-start}
.looseleaf .layout .panel{border-top:1px solid #bdc9bb;padding:24px 0}
.looseleaf .avatar{border:0;border-radius:50%;background:transparent}
.looseleaf .muted{font-weight:400}
.looseleaf .brand>span:not(.mark){display:inline}

@media(min-width:1100px){.looseleaf #leftPane{position:sticky;top:96px}}
@media(max-width:860px){
  .looseleaf>header{padding:12px 16px}
  .looseleaf>header .top{gap:10px}
  .looseleaf .homeMark::after{display:none}
  .looseleaf .brandTitle h1{font-size:16px}
  .looseleaf .brand{gap:10px;font-size:21px}
  .looseleaf>main{display:block;padding:20px 16px 32px}
  .looseleaf #leftPane{padding:0;margin-bottom:24px}
  .looseleaf .monthbar{margin-bottom:16px}
  .looseleaf .monthbar h2{font-size:25px}
  .looseleaf .daybtn{height:62px}
  .looseleaf .daynum{font-size:18px;left:8px;top:8px}
  .looseleaf .weekdays{gap:0}
  .looseleaf #detail{padding:20px 18px;margin-top:0}
  .looseleaf .datebar h2{font-size:22px}
  .looseleaf .dateStatus{gap:10px}
  .looseleaf .dateActions .btn{font-size:10px;padding:7px 8px}
  .looseleaf .catalogHead{grid-template-columns:1fr;gap:16px}
  .looseleaf .catalogHead h2{font-size:28px}
  .looseleaf .catalogSearchForm:has(#catalogMatchSelect){grid-template-columns:minmax(0,1fr) 150px}
  .looseleaf .catalogSearchForm:has(#catalogMatchSelect)>.btn{grid-column:1/-1;justify-self:end;min-width:90px}
  .looseleaf .catalogControls{gap:10px}
  .looseleaf :where(.catalogFilter,.catalogSort) button{font-size:12px;padding:8px 10px}
  .looseleaf .catalogGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .looseleaf .catalogCard{padding:5px}
  .looseleaf .catalogBody{padding:10px 4px 5px}
  .looseleaf .catalogBody .recipeName{font-size:14px;min-height:42px}
  .looseleaf .catalogBody .recipeMeta{font-size:10px}
  .looseleaf .modalPanel{padding:18px;max-height:calc(100dvh - 160px)}
  .looseleaf .modalPanel .homeRecipeInfo{grid-template-columns:110px minmax(0,1fr);gap:12px}
  .looseleaf :is(#recipeInfoScrim,#catalogRecipeScrim,#recipeModalScrim) .section>.actions:last-child{top:-18px}
  .looseleaf #addDishForm>.actions{top:-18px}
  .looseleaf .layout{padding:24px 16px}
  .looseleaf .side{border-right:0;border-bottom:1px solid #bdc9bb}
  .looseleaf .settingsHero h1{font-size:30px}
  .looseleaf .settingsTabs{width:100%;margin-top:20px;grid-template-columns:auto auto auto}
  .looseleaf .settingsTabs button{font-size:14px;padding:10px 6px}
  .looseleaf .settingsGrid{gap:16px}
  .looseleaf .settingsCard{padding:18px}
  .looseleaf .homeManagePanel{margin:18px -18px -18px;padding:18px}
  .looseleaf .hero{padding:10px 0 28px}
  .looseleaf .hero h1{font-size:48px}
  .looseleaf .hero p{font-size:16px}
  .looseleaf .hero .actions .btn{width:auto}
  .looseleaf .visual{margin-top:0}
  .looseleaf .hero+.section{padding-top:24px}
  .looseleaf .productFooter{padding:0 16px}
}
@media(max-width:390px){
  .looseleaf>header{padding:10px 12px}
  .looseleaf>main{padding:18px 12px 30px}
  .looseleaf .brandTitle h1{font-size:14px}
  .looseleaf .brandTitle{gap:5px}
  .looseleaf .premiumBadge{padding:2px 4px;font-size:8px}
  .looseleaf #detail{padding:18px 14px}
  .looseleaf .dateHead{flex-wrap:wrap;gap:12px}
  .looseleaf .dateStatus{align-items:flex-start}
  .looseleaf .dateActions{justify-content:flex-start}
  .looseleaf .daybtn{height:56px}
}
@media(prefers-reduced-motion:reduce){
  .looseleaf *,.looseleaf *::before,.looseleaf *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
