/* YOTEI: daily plan page. Quiet ledger; the one loud moment is パンパカパーン🍌. */
.yoteiLaunch{flex:0 0 70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;padding:3px 0;border:0;background:transparent;color:#7d7560;text-decoration:none;cursor:pointer}
.yoteiMark{width:34px;height:28px;overflow:visible;flex-shrink:0}
.yoteiWordmark{font-size:10px;font-weight:700;line-height:1.1;letter-spacing:.2em;text-align:center}
.yoteiLaunch:hover{color:#9c7f22}.yoteiLaunch:focus-visible,.yoteiPage button:focus-visible,.yoteiPage input:focus-visible,.yoteiPage select:focus-visible{outline:2px solid #c6a239;outline-offset:3px}
.heroKnowledgeTools [hidden]{display:none!important}

.yoteiPage{position:fixed;inset:0;z-index:18060;background:#f5f3ea;color:#33302a;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.yoteiInner{width:min(100%,680px);margin:0 auto;padding:calc(20px + env(safe-area-inset-top)) 22px calc(52px + env(safe-area-inset-bottom))}
.yoteiHeader{position:sticky;top:env(safe-area-inset-top,0px);z-index:3;background:#f5f3ea;display:flex;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid #ddd8c8}
.yoteiBack{width:42px;height:42px;flex-shrink:0;border:1px solid #ddd8c8;border-radius:12px;background:transparent;color:#746c58;font-size:24px;cursor:pointer}
.yoteiBrand{flex:1;min-width:0;display:flex;align-items:center;gap:12px;color:#7d7560}.yoteiBrand .yoteiMark{width:44px;height:38px}
.yoteiBrand>div{min-width:0}
.yoteiBrand h1{margin:0;font-size:19px;letter-spacing:.18em;font-weight:650}.yoteiBrand p{margin:5px 0 0;font-size:11px;color:#9a917c}
.yoteiStatus{margin:12px 0 0;font-size:12px;line-height:1.6;color:#857c66}.yoteiStatus:empty{display:none}.yoteiStatus.error{color:#a04451}

.yoteiDateBar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 16px}
.yoteiNav{width:44px;height:44px;border:1px solid #ddd8c8;border-radius:50%;background:#fffef9;color:#6f6650;font-size:22px;cursor:pointer}
.yoteiDate{display:flex;flex-direction:column;align-items:center;gap:4px}
.yoteiDate strong{font-size:21px;font-weight:650;font-variant-numeric:tabular-nums}
.yoteiDate span{font-size:11px;color:#9c8a45}
.yoteiDate button{border:0;background:transparent;color:#8a7a3c;font-size:11px;text-decoration:underline;cursor:pointer;padding:2px 4px}

.yoteiProgress{margin:0 0 14px;padding:14px 16px;border:1px solid #e3dece;border-radius:14px;background:#fffef9}
.yoteiProgressText{display:flex;align-items:baseline;gap:6px;margin-bottom:9px}.yoteiProgressText strong{font-size:20px;font-variant-numeric:tabular-nums}.yoteiProgressText span{font-size:12px;color:#8d846e}.yoteiProgressText em{margin-left:auto;font-style:normal;font-size:11px;color:#9a917c}
.yoteiBar{height:6px;border-radius:6px;background:#ece7d6;overflow:hidden}.yoteiBar i{display:block;height:100%;background:#c9a42f;border-radius:6px;transition:width .3s ease}

.yoteiBanana{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:18px 18px;border-radius:18px;background:#f7dc6a;color:#3b3214;border:1px solid #e9c84a}
.yoteiBananaEmoji{font-size:40px;line-height:1}
.yoteiBanana strong{display:block;font-size:24px;font-weight:800;letter-spacing:.06em}
.yoteiBanana p{margin:4px 0 0;font-size:13px}
.yoteiTotal{margin-left:auto;font-size:12px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
@keyframes yoteiPop{0%{transform:scale(.3) rotate(-30deg)}60%{transform:scale(1.25) rotate(12deg)}100%{transform:scale(1) rotate(0)}}
@keyframes yoteiGlow{0%{box-shadow:0 0 0 0 rgba(233,200,74,.7)}100%{box-shadow:0 0 0 18px rgba(233,200,74,0)}}


.yoteiList{list-style:none;margin:0 0 14px;padding:0;border-top:1px solid #e3dece}
.yoteiItem{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid #e3dece}
.yoteiItemMain{display:flex;align-items:center;gap:12px;min-width:0}
.yoteiItemMain>div{min-width:0}
.yoteiItemMark{display:grid;place-items:center;flex:0 0 16px;width:16px;height:24px;color:#a18b44}
.yoteiItemMark i{display:block;width:2px;height:18px;border-radius:2px;background:#d3cdbb}
.yoteiItemMark svg{width:16px;height:16px}
.yoteiItemMain strong{display:block;font-size:15px;font-weight:650;overflow-wrap:anywhere}
.yoteiItemMain>div>span{display:block;margin-top:3px;font-size:11px;color:#958c76}
.yoteiItem.done .yoteiItemMain strong{color:#6f6650}
.yoteiItemSide{display:flex;align-items:center;gap:6px;flex-shrink:0}
.yoteiActual{display:flex;align-items:center;gap:4px}
.yoteiActual input{width:76px;min-height:40px;padding:6px 8px;border:1px solid #d9d2bd;border-radius:10px;background:#fffef9;color:#33302a;font-size:16px;text-align:right;font-variant-numeric:tabular-nums}
.yoteiActual span{min-width:22px;font-size:11px;color:#8d846e}
.yoteiCheck{min-width:76px;min-height:40px;padding:6px 12px;border:1px solid #ded8c7;border-radius:999px;background:#fffef9;color:#746c58;font-size:12px;font-weight:600;cursor:pointer}
.yoteiCheck.on{background:#eee8d6;border-color:#e1d6b5;color:#78652a}
.yoteiDoneText{font-size:11px;font-weight:600;letter-spacing:.08em;white-space:nowrap}
.yoteiDelete{width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#b3aa93;font-size:18px;cursor:pointer}.yoteiDelete:hover{color:#a04451}

.yoteiEmpty{margin:0 0 14px;padding:30px 18px;text-align:center;border:1px dashed #d6cfb9;border-radius:16px;color:#8d846e;font-size:13px;line-height:1.8}.yoteiEmpty p{margin:0 0 12px}
.yoteiGate{max-width:420px;margin:60px auto;text-align:center}.yoteiGate .yoteiMark{width:70px;height:60px;color:#8d846e}.yoteiGate h2{font-size:24px;font-weight:600;margin:18px 0 12px}.yoteiGate p{font-size:13px;line-height:1.9;color:#8d846e;margin:0 0 24px}
.yoteiButton{border:1px solid #d9d2bd;border-radius:10px;background:#fffef9;color:#6f6650;min-height:42px;padding:9px 16px;font-size:13px;font-weight:650;cursor:pointer}
.yoteiButton.primary{background:#6f6650;border-color:#6f6650;color:#fff}
.yoteiAddOpen{width:100%;min-height:48px;border:1px dashed #cfc7af;border-radius:14px;background:transparent;color:#7d7560;font-size:14px;font-weight:650;cursor:pointer}

.yoteiForm{display:grid;gap:12px;padding:16px;border:1px solid #e3dece;border-radius:16px;background:#fffef9}
.yoteiForm label{display:grid;gap:5px}.yoteiForm label>span{font-size:11px;color:#8d846e}
.yoteiForm input,.yoteiForm select{min-height:42px;padding:8px 10px;border:1px solid #d9d2bd;border-radius:10px;background:#fff;color:#33302a;font-size:16px;width:100%;box-sizing:border-box}
.yoteiForm label.off{opacity:.4}
.yoteiFormRow{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);gap:8px}
.yoteiPresets{display:flex;flex-wrap:wrap;gap:6px}
.yoteiPresets button{min-height:34px;padding:5px 12px;border:1px solid #e0d9c4;border-radius:999px;background:#f8f5ea;color:#6f6650;font-size:12px;cursor:pointer}
.yoteiFormActions{display:flex;justify-content:flex-end;gap:8px}

@media(max-width:600px){.yoteiInner{padding-left:16px;padding-right:16px}.yoteiBrand h1{font-size:16px}.yoteiFormRow{grid-template-columns:1fr 1fr}.yoteiFormRow label:first-child{grid-column:1/-1}.yoteiBanana strong{font-size:20px}.yoteiBananaEmoji{font-size:34px}}
@media(max-width:460px){.heroKnowledgeTools .yoteiLaunch{flex-basis:56px;width:56px}.heroKnowledgeTools .yoteiMark{width:30px}.heroKnowledgeTools .yoteiWordmark{font-size:9px}}
@media(max-width:360px){.heroKnowledgeTools .yoteiLaunch{flex-basis:48px;width:48px}.heroKnowledgeTools .yoteiMark{width:27px}}

/* Popups: praise per item, finale when the whole day is done. Shown above every screen. */
.yoteiPopHost{position:fixed;left:0;right:0;top:0;z-index:19500;pointer-events:none}
.yoteiPraise{pointer-events:auto;position:absolute;left:50%;top:calc(14px + env(safe-area-inset-top));transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:min(92vw,420px);padding:13px 14px 13px 16px;border:1px solid #e3d58f;border-radius:18px;background:#fffbe6;color:#3b3214;text-align:left;box-shadow:0 10px 30px rgba(80,64,10,.18);cursor:pointer;animation:yoteiDrop .45s cubic-bezier(.2,1.3,.4,1)}
.yoteiPraiseFace{flex-shrink:0;min-width:40px;font-size:26px;line-height:1;text-align:center}
.yoteiPraiseBody{display:flex;flex-direction:column;gap:3px;min-width:0}
.yoteiPraiseBody strong{font-size:16px;font-weight:800;overflow-wrap:anywhere}
.yoteiPraiseBody span{font-size:12px;color:#6d6034}
.yoteiPraiseBody small{font-size:10px;color:#9a8b4e}
.yoteiPraiseLeft{margin-left:auto;display:flex;flex-direction:column;align-items:center;flex-shrink:0;padding-left:10px;border-left:1px solid #eadf9f}
.yoteiPraiseLeft b{font-size:26px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.yoteiPraiseLeft i{font-style:normal;font-size:10px;color:#8a7a3c;margin-bottom:3px}
.yoteiPraiseLeft b small{font-size:11px;font-weight:700;margin-left:2px}
.yoteiFinaleBack{pointer-events:auto;position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:rgba(45,38,12,.42);animation:yoteiFade .25s ease-out}
.yoteiFinale{width:min(100%,360px);padding:30px 24px 22px;border-radius:26px;background:#f7dc6a;color:#3b3214;text-align:center;box-shadow:0 24px 60px rgba(45,38,12,.35);animation:yoteiRise .55s cubic-bezier(.2,1.25,.4,1)}
.yoteiFinaleEmoji{display:block;font-size:76px;line-height:1;animation:yoteiSpin .9s cubic-bezier(.2,1.6,.4,1)}
.yoteiFinale h2{margin:14px 0 6px;font-size:32px;font-weight:900;letter-spacing:.06em}
.yoteiFinale p{margin:0;font-size:15px;font-weight:650}
.yoteiFinaleMeta{display:block;margin-top:10px;font-size:12px;color:#6d5d1c;font-variant-numeric:tabular-nums}
.yoteiFinaleClose{margin-top:20px;min-width:150px;min-height:46px;border:0;border-radius:999px;background:#3b3214;color:#f7dc6a;font-size:15px;font-weight:800;cursor:pointer}
.yoteiFinaleClose:focus-visible{outline:3px solid #3b3214;outline-offset:3px}
@keyframes yoteiDrop{0%{opacity:0;transform:translate(-50%,-30px) scale(.9)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes yoteiFade{from{opacity:0}to{opacity:1}}
@keyframes yoteiRise{0%{opacity:0;transform:translateY(40px) scale(.85)}100%{opacity:1;transform:none}}
@keyframes yoteiSpin{0%{transform:scale(.2) rotate(-200deg)}70%{transform:scale(1.2) rotate(15deg)}100%{transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.yoteiPraise,.yoteiFinaleBack,.yoteiFinale,.yoteiFinaleEmoji{animation:none}.yoteiBar i{transition:none}}
.yoteiProgress.complete{background:#fdf6d6;border-color:#ecd98a}.yoteiProgress.complete .yoteiProgressText span{color:#7a6820;font-weight:700}
.yoteiAuto{display:flex;align-items:center;justify-content:flex-end;min-width:76px;min-height:40px;padding:4px 8px;color:#5f5745;box-sizing:border-box}
.yoteiAuto b{font-size:19px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.2}.yoteiAuto b small{font-size:10px;font-weight:500;margin-left:3px;color:#8d846e}
.yoteiAuto.on{color:#78652a}
.yoteiAuto.status .yoteiDoneText{padding:6px 12px;border-radius:999px;background:#eae6db;color:#8d846e}
.yoteiAuto.status.on .yoteiDoneText{background:#eee8d6;color:#78652a}

/* Recorded meals are reconciled against that day's planned items. */
.yoteiMealAudit{margin:0 0 14px;padding:12px 14px;border:1px solid #e4decc;border-radius:12px;background:#faf8f2;color:#696354;font-size:12px}
.yoteiMealAuditHead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.yoteiMealAuditHead b{font-size:12px;font-weight:600}.yoteiMealAuditHead strong{font-size:13px;color:#5b5343}
.yoteiMealAudit.exact{background:#f5f8f1;border-color:#cfdfc6}.yoteiMealAudit.exact .yoteiMealAuditHead strong{color:#48744a}
.yoteiMealAudit.changed{background:#fbf8f2;border-color:#e5d9bd}.yoteiMealAudit.changed .yoteiMealAuditHead strong{color:#93663b}
.yoteiMealAudit p{margin:5px 0 0;color:#867d68;font-variant-numeric:tabular-nums}
.yoteiMealExtras{margin-top:10px;border-top:1px solid #e8e0d0;padding-top:9px}.yoteiMealExtras>span{font-size:11px;font-weight:650}
.yoteiMealExtras ul{margin:6px 0 0;padding:0;list-style:none}.yoteiMealExtras li{line-height:1.6;margin:3px 0;overflow-wrap:anywhere}.yoteiMealExtras li b{font-weight:600;margin-right:5px}
.yoteiMealExtras small{display:block;margin-top:5px;color:#827766}
.yoteiMealMatch{display:block;font-size:11px;margin-top:4px;color:#9b8d76}.yoteiMealMatch.match{color:#53805d}
.yoteiMealVerified{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:36px;padding:6px 10px;border-radius:999px;background:#eff4ec;color:#56825b;font-size:11px;font-weight:700}
/* Meal plan composer */
.yoteiMealNames{white-space:normal;line-height:1.5}
.yoteiCheck.meal{min-width:80px}
.yoteiSlots{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.yoteiSlots button{min-height:38px;border:1px solid #e0d9c4;border-radius:10px;background:#f8f5ea;color:#6f6650;font-size:13px;font-weight:650;cursor:pointer}
.yoteiSlots button.on{background:#6f6650;border-color:#6f6650;color:#fff}
.yoteiPicked{display:flex;flex-wrap:wrap;gap:6px}
.yoteiChip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:5px 4px 5px 10px;border-radius:999px;background:#fbf3cf;border:1px solid #ecd98a;color:#4a3f13;font-size:12px;line-height:1.35}
.yoteiChip button{width:24px;height:24px;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:#8a7a3c;font-size:14px;cursor:pointer}
.yoteiMealTotal{display:flex;align-items:baseline;gap:10px;margin-top:8px}.yoteiMealTotal b{font-size:20px;font-variant-numeric:tabular-nums}.yoteiMealTotal span{font-size:11px;color:#8d846e;font-variant-numeric:tabular-nums}
.yoteiMenuList{max-height:44vh;overflow:auto;border:1px solid #e3dece;border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}
.yoteiMenuRow{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 12px;border:0;border-bottom:1px solid #eee9da;background:transparent;color:#33302a;text-align:left;cursor:pointer}
.yoteiMenuRow:last-child{border-bottom:0}.yoteiMenuRow:active{background:#f8f5ea}
.yoteiMenuRow span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.yoteiMenuRow b{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.yoteiMenuRow i{font-style:normal;font-size:10px;color:#a69c83}
.yoteiMenuRow em{font-style:normal;font-size:12px;color:#6f6650;white-space:nowrap;font-variant-numeric:tabular-nums}
.yoteiMenuRow strong{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f1ecdc;color:#6f6650;font-size:15px}
.yoteiMenuNote{padding:14px;font-size:12px;color:#8d846e;text-align:center}
.yoteiFinaleEmoji small{display:inline-block;font-size:44px;margin-left:-8px;vertical-align:bottom;transform:rotate(12deg)}
