.recipe-page{min-height:100vh;-webkit-user-select:none;user-select:none;color:#426783;background:linear-gradient(180deg,#e8f5f2 0,#f8fbf6 48%,#edf7f7 100%)}.recipe-shell{width:min(560px,calc(100% - 28px));margin:0 auto;padding:20px 0 36px}.recipe-topbar{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;margin-bottom:10px}.recipe-topbar h1{margin:0;text-align:center;font-size:26px}.recipe-intro{display:flex;align-items:center;justify-content:center;gap:8px;margin:6px auto 16px}.recipe-intro img{width:82px;height:82px;object-fit:contain}.recipe-intro div{padding:12px 17px;border-radius:24px;background:#fff9df;box-shadow:0 7px 20px rgba(64,113,121,.08)}.recipe-intro p{margin:0;color:#426783;font:700 21px "Yomogi Local",sans-serif}.recipe-intro small{display:block;margin-top:3px;color:#6f909b;font:12px "Yomogi Local",sans-serif}.recipe-conditions{display:grid;gap:9px;padding:16px;border:1px solid rgba(202,226,224,.95);border-radius:25px;background:rgba(255,255,255,.86);box-shadow:0 10px 28px rgba(75,123,130,.08)}.recipe-condition{display:grid;gap:6px}.recipe-condition h2{margin:0;color:#527d91;font-size:14px}.recipe-condition>small{color:#7894a4;font:10px/1.45 "Yomogi Local",sans-serif}.recipe-chips{display:flex;flex-wrap:wrap;gap:6px}.recipe-chips button{min-width:76px;padding:8px 11px;border:1px solid #c9e0df;border-radius:999px;color:#557184;background:#f7fcfb;font:600 13px "Yomogi Local",sans-serif;cursor:pointer;transition:transform .14s ease,background .14s ease}.recipe-chips button[aria-pressed=true]{border-color:#6da89c;color:#fff;background:#6fa89d;box-shadow:0 3px 0 rgba(69,122,112,.16)}.recipe-chips button:active{transform:scale(.96)}.recipe-shopping button[aria-pressed=true]{background:#5a96b2;border-color:#4f87a1}.recipe-suggest-button,.recipe-cooked-button{display:flex;width:100%;align-items:center;justify-content:center;gap:7px;margin:16px 0 10px;padding:12px 15px;border:0;border-radius:999px;color:#fff;background:#5a96b2;box-shadow:0 8px 18px rgba(61,124,147,.22);font:700 16px "Yomogi Local",sans-serif;cursor:pointer}.recipe-suggest-button img,.recipe-cooked-button img{width:28px;height:28px;object-fit:contain}.recipe-history-entry{display:flex;width:100%;justify-content:space-between;padding:10px 14px;border:0;color:#58788c;background:transparent;font:600 14px "Yomogi Local",sans-serif;cursor:pointer}.recipe-history-entry span{font-size:22px;line-height:.8}.recipe-suggestions{padding:4px 0}.recipe-suggestions-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:8px 4px}.recipe-suggestions-heading p,.recipe-detail-eyebrow{margin:0;color:#78a09a;font:12px "Yomogi Local",sans-serif}.recipe-suggestions-heading h2{margin:2px 0 0;font-size:22px}.recipe-suggestions-heading button{padding:7px 10px;border:1px solid #c7dfde;border-radius:999px;color:#527d91;background:#fff;font:12px "Yomogi Local",sans-serif;cursor:pointer}.recipe-suggestion-note{min-height:1.4em;margin:8px 5px 12px;color:#63818e;font:12px/1.55 "Yomogi Local",sans-serif}.recipe-card-list{display:grid;gap:10px}.recipe-card{display:grid;gap:8px;padding:15px;border:1px solid #cde4e2;border-radius:22px;background:#fff;box-shadow:0 7px 18px rgba(73,118,127,.07)}.recipe-card-top{display:flex;align-items:start;justify-content:space-between;gap:8px}.recipe-card h3{margin:0;color:#355f75;font-size:18px}.recipe-card .recipe-effort{flex:none;padding:4px 8px;border-radius:999px;color:#477b74;background:#e6f2e9;font:11px "Yomogi Local",sans-serif}.recipe-card p{margin:0;color:#58788c;font-size:13px;line-height:1.5}.recipe-card-meta{display:flex;gap:8px;color:#688895;font:12px "Yomogi Local",sans-serif}.recipe-used-foods{display:flex;flex-wrap:wrap;gap:5px}.recipe-used-foods span{padding:4px 7px;border-radius:999px;color:#4e8178;background:#edf7ef;font:11px "Yomogi Local",sans-serif}.recipe-card button,.recipe-buy-list button{justify-self:end;padding:8px 13px;border:0;border-radius:999px;color:#fff;background:#6fa89d;font:600 12px "Yomogi Local",sans-serif;cursor:pointer}.recipe-detail{padding:4px 2px}.detail-back{margin:2px 0 17px;padding:7px 2px;border:0;color:#527d91;background:transparent;font:13px "Yomogi Local",sans-serif;cursor:pointer}.recipe-detail h2{margin:3px 0 8px;color:#355f75;font-size:25px;line-height:1.35}.recipe-detail-description{margin:0;color:#58788c;font-size:14px;line-height:1.6}.recipe-detail-meta{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.recipe-detail-meta span{padding:6px 9px;border-radius:999px;color:#527d91;background:#eaf5f3;font:12px "Yomogi Local",sans-serif}.recipe-materials,.recipe-buy-list,.recipe-steps{margin-top:15px;padding:15px;border:1px solid #cde4e2;border-radius:20px;background:rgba(255,255,255,.88)}.recipe-materials h3,.recipe-buy-list h3,.recipe-steps h3{margin:0 0 10px;color:#426783;font-size:17px}.ingredient-row,.missing-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px 0;border-top:1px solid #e5efec;color:#58788c;font-size:13px}.ingredient-row:first-child,.missing-row:first-child{border-top:0}.ingredient-row .stock-mark{color:#5c9d7b;font-weight:700}.missing-row .stock-mark{color:#c58679;font-weight:700}.ingredient-row small,.missing-row small{color:#6f8e9a}.recipe-buy-list{display:grid;gap:4px}.recipe-buy-list button{margin-top:8px}.recipe-steps ol{display:grid;gap:11px;margin:0;padding-left:23px;color:#58788c;font-size:14px;line-height:1.6}.recipe-cooked-button{margin:18px 0 4px;background:#e58b90}.recipe-status{min-height:1.5em;margin:10px 4px;color:#5b7d8e;font:12px/1.5 "Yomogi Local",sans-serif}.recipe-history-screen{position:fixed;z-index:40;inset:0;display:grid;grid-template-rows:auto 1fr;padding:18px max(14px,calc((100vw - 560px)/2));background:#f4faf8;color:#426783}.recipe-history-screen header{display:flex;align-items:center;gap:10px;padding:4px 0 14px}.recipe-history-screen header button{width:36px;height:36px;border:0;border-radius:50%;color:#426783;background:#e5f1ef;font-size:22px;cursor:pointer}.recipe-history-screen header p{margin:0;color:#7894a4;font-size:11px}.recipe-history-screen header h1{margin:2px 0 0;font-size:21px}.recipe-history-scroll{overflow:auto;padding-bottom:24px}.recipe-history-card{display:grid;gap:5px;margin-top:8px;padding:14px;border:1px solid #d4e7e4;border-radius:18px;background:#fff}.recipe-history-card time{color:#7894a4;font-size:11px}.recipe-history-card strong{color:#426783;font-size:16px}.recipe-history-card small{color:#63818e}.recipe-history-card button{justify-self:end;padding:5px 8px;border:0;color:#527d91;background:transparent;font:11px "Yomogi Local",sans-serif;cursor:pointer}.recipe-history-empty{text-align:center;color:#7894a4;font:14px "Yomogi Local",sans-serif}.popopo-modal{position:fixed;z-index:70;inset:0;display:grid;place-items:center;padding:20px;background:rgba(58,89,104,.38)}.popopo-modal[hidden]{display:none}.modal-card{width:min(410px,100%);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;padding:20px;border:1px solid #d4e7e4;border-radius:24px;background:#fff;box-shadow:0 18px 45px rgba(54,89,101,.25)}.recipe-cooked-card{text-align:left}.recipe-cooked-card>img{display:block;width:66px;height:66px;margin:0 auto;object-fit:contain}.recipe-cooked-card>p{text-align:center}.recipe-cooked-card form{display:grid;gap:11px}.recipe-cooked-card label{display:grid;gap:5px;color:#527d91;font-size:13px;font-weight:700}.recipe-cooked-card input[type=date],.recipe-cooked-card textarea{width:100%;box-sizing:border-box;border:1px solid #bad8d8;border-radius:11px;padding:9px;color:#426783;background:#fff;font:14px "Yomogi Local",sans-serif}.recipe-cooked-card textarea{min-height:74px;resize:vertical}.recipe-cooked-card fieldset{display:flex;flex-wrap:wrap;gap:7px;border:0;margin:0;padding:0;color:#527d91}.recipe-cooked-card legend{width:100%;margin-bottom:3px;font-size:13px;font-weight:700}.recipe-cooked-card fieldset label{display:flex;align-items:center;gap:4px;padding:6px 8px;border-radius:999px;background:#eef7f5;font-size:12px}.recipe-cooked-card input{accent-color:#6fa89d}.recipe-cooked-actions{display:flex;justify-content:flex-end;gap:8px}.recipe-cooked-actions button{padding:9px 13px;border:0;border-radius:999px;color:#fff;background:#e58b90;font:600 13px "Yomogi Local",sans-serif;cursor:pointer}.recipe-cooked-actions button.cancel{color:#58788c;background:#edf4f3}@media(max-width:430px){.recipe-shell{width:min(100% - 20px,560px);padding-top:14px}.recipe-intro img{width:74px;height:74px}.recipe-intro p{font-size:19px}.recipe-conditions{padding:13px}.recipe-chips{gap:5px}.recipe-chips button{min-width:70px;padding:7px 9px;font-size:12px}.recipe-detail h2{font-size:23px}}
.recipe-companion-button{display:flex;width:100%;align-items:center;justify-content:center;margin:12px 0 0;padding:11px 15px;border:1px solid #8ec3a9;border-radius:999px;color:#477b74;background:#eff8ef;font:700 15px "Yomogi Local",sans-serif;cursor:pointer}.recipe-companion-card>img{display:block;width:64px;height:64px;margin:0 auto;object-fit:contain}.recipe-companion-eyebrow{margin:2px 0;color:#78a09a;text-align:center;font:12px "Yomogi Local",sans-serif}.recipe-companion-card h2{margin:3px 0 5px;color:#426783;text-align:center;font-size:22px}.recipe-companion-description{margin:0 0 13px;color:#63818e;text-align:center;font:12px/1.5 "Yomogi Local",sans-serif}.recipe-companion-list{display:grid;gap:8px}.recipe-companion-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:11px;border:1px solid #cde4e2;border-radius:16px;color:#426783;background:#fbfefd;text-align:left;cursor:pointer}.recipe-companion-option span{padding:4px 7px;border-radius:999px;color:#477b74;background:#e6f2e9;font:11px "Yomogi Local",sans-serif}.recipe-companion-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:15px "Yomogi Local",sans-serif}.recipe-companion-option small{color:#6f909b;font:12px "Yomogi Local",sans-serif}
