*{box-sizing:border-box}body{margin:0;color:#492c2b;font:16px/1.5 Nunito,system-ui,sans-serif;background:#f8e2da}body:before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#47211a22,transparent),url(/room.webp) center/cover}header{display:flex;justify-content:space-between;align-items:center;padding:12px clamp(16px,5vw,80px);background:#fff8eef2;border-bottom:2px solid #ab6564}header a,h1,h2,h3{font-family:Georgia,serif;color:#712f37}header a{font-size:1.35rem;text-decoration:none;font-style:italic;font-weight:bold}main{margin:clamp(28px,7vh,90px) auto;padding:0 16px;max-width:1060px}.paper{background:#fff9f1fa;border:1px solid #bc8880;border-radius:22px;box-shadow:0 12px 44px #4b28264a;padding:clamp(20px,3vw,40px)}.small{max-width:390px;margin:auto;text-align:center}.profiles,.tabs,.tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.profiles>*{flex:1}.profiles img{display:block;margin:0 auto 5px;width:65px;border-radius:50%}.keys,.grid{display:grid;gap:8px}.keys{grid-template-columns:repeat(3,1fr);margin-top:10px}.keys button{font-size:1.15rem;min-height:42px}h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.04;margin:0 0 20px}h2{line-height:1.15}button,.tile,input,textarea{font:inherit}button,.tile{cursor:pointer;color:inherit;background:#fff4ea;border:1px solid #ce9e94;border-radius:12px;padding:9px 14px}button[aria-pressed=true],.primary{background:#8c3849;color:white}.pin{width:100%;margin-top:12px;text-align:center;letter-spacing:.6em;font-size:1.3rem}label{display:block;margin:10px 0}input,textarea{border:1px solid #ad8981;border-radius:8px;padding:8px;width:100%;background:#fffdf8}.tile{display:block;text-decoration:none;font: bold 1.6rem Georgia;color:#793b43;padding:0;overflow:hidden}.tile img{width:100%;height:180px;object-fit:cover;display:block}.tile span{display:block;padding:14px}.grid{grid-template-columns:minmax(180px,1fr) 2fr;margin-top:20px}.choices{display:grid;align-content:start;gap:8px}.choices button{text-align:left}.dish{background:#fff4ea;border-radius:16px;padding:16px}.dish img{width:100%;max-height:220px;object-fit:contain}.dish h2{margin:8px 0}.tools{justify-content:space-between}.cost{display:flex;justify-content:space-between;border-bottom:1px dashed #cdaaa0;padding:5px 0}.muted{color:#6c5351;font-size:.9rem}.primary{margin-top:12px}#message:not(:empty){position:fixed;bottom:10px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:10px;background:#4c2630;color:white;width:max-content;max-width:94vw}dialog{width:min(480px,94vw);max-height:92vh;color:inherit;overflow:auto}dialog::backdrop{background:#3a222277}:focus-visible{outline:3px solid #ad455a;outline-offset:2px}@media(max-width:650px){.grid{grid-template-columns:1fr}.choices{display:flex;overflow:auto}.choices button{flex-shrink:0}.paper{padding:20px}main{margin:24px auto}}

.ingredient{border-bottom:1px solid #bc888055}
.ingredient summary,.shopping summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:.6rem;list-style:none}
.ingredient summary::-webkit-details-marker,.shopping summary::-webkit-details-marker{display:none}
.ingredient summary b{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}
.ingredient summary small{font-weight:400;opacity:.72;margin-left:.25rem}
.ingredient summary::after,.shopping summary::after{content:'›';opacity:.65;font-size:1.2rem}
.ingredient[open]>summary::after,.shopping details[open]>summary::after{transform:rotate(90deg)}
.ingredient-info{display:grid;gap:.55rem;padding:.3rem 0 1rem;overflow-wrap:anywhere}
.ingredient-info button{justify-self:start;order:1}
.shopping{margin:-.75rem 0 1rem}
.shopping details>div{padding:.25rem 0}
.receipt-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:1rem;line-height:1.4;padding:.45rem 0}
.receipt-line b{font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}
.receipt-line small{grid-column:1/-1;color:#6c5351}
.ingredient-info,.shopping details[open]{padding:.65rem .8rem;border-radius:10px;background:#bb837410}
.ingredient-info{gap:.25rem;margin-bottom:.75rem}
.ingredient-info>small,.shopping details>small{font-size:.86rem;color:#6c5351}
.ingredient-info p{margin:.25rem 0 .7rem;max-width:52ch}
.ingredient-info button{padding:.45rem .7rem;background:transparent}
.ingredient-info a{color:inherit;text-underline-offset:.18em}
.shopping details>small{display:block;border-top:1px solid #bc888055;padding:.6rem 0 .2rem}
.recipe-ingredients,.price-facts{list-style:disc outside;margin:.5rem 0 1rem;padding-inline-start:1.35rem}
.recipe-ingredients>li::marker,.price-facts>li::marker{color:currentColor;font-size:.82em}
.recipe-ingredients>li{padding-inline-start:.25rem;margin-block:.35rem}
.recipe-ingredients .ingredient>summary{padding-block:.55rem;min-height:44px}
.ingredient>summary>span{display:grid;gap:.15rem;font-weight:600;line-height:1.35}
.ingredient>summary small{margin:0;font-size:.875rem}
.ingredient-info{gap:.65rem;padding:.85rem 1rem}
.ingredient-info .receipt-line>span,.shopping .receipt-line>span{font-weight:550}
.price-facts{font-size:.9375rem;line-height:1.5;margin-block:.15rem .65rem;max-width:54ch}
.price-facts>li+li{margin-block-start:.45rem}

/* The corners retain their proportions as recipes expand. */
.walnut-panel{--corner:clamp(38px,6vw,82px);position:relative;border:0;border-radius:20px;padding:clamp(25px,4.8vw,64px);background-color:#fff8ee}
.walnut-panel::before{content:"";pointer-events:none;position:absolute;inset:-3px;border:var(--corner) solid transparent;border-image:url('/walnut-frame.webp') 330 / var(--corner) / 0 round;z-index:1}
@media(max-width:650px){.walnut-panel{padding:24px 19px}.walnut-panel .grid{min-width:0}.walnut-panel .dish{min-width:0}}
.small.walnut-panel{--corner:clamp(38px,6vw,52px);padding:clamp(28px,5vw,40px)}
header{background:#482a1c url('/walnut-grain.webp') repeat-x center/auto 100%;border-bottom:2px solid #69452c;position:relative;isolation:isolate;min-height:70px;padding:6px clamp(14px,4vw,64px)}
header::before{content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:74px;background:url('/header-blossoms.webp') right center/auto 100% no-repeat;pointer-events:none}
header .brand{display:inline-flex;align-items:center;gap:12px;color:#fff0d8;font:bold italic clamp(1.5rem,3vw,2.15rem)/1 Georgia,serif}
.brand img{height:54px;width:auto;border-radius:6px}
header #logout{color:#fff0d8;background:#412719;border-color:#966e50;margin-right:30px}
@media(max-width:480px){header .brand{gap:7px}.brand img{height:38px}header #logout{margin-right:0}}
.tile img{height:auto;aspect-ratio:768/333}
@media(prefers-reduced-motion:no-preference){
  @keyframes cafe-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
  .paper.small,.enter-view,dialog[open]{animation:cafe-enter 180ms ease-out}
  button,.tile{transition:background-color 150ms ease,border-color 150ms ease,transform 150ms ease}
  @media(hover:hover){.tile:hover{transform:translateY(-2px)}}
  .tile:active,button:active{transform:translateY(1px)}
}
.pan-scene{position:relative;display:inline-flex;aspect-ratio:2.3;height:54px}
.pan-scene img{width:100%;height:100%;object-fit:contain}
.pan-steam{display:none}
@media(max-width:480px){.pan-scene{height:38px}}
@media(prefers-reduced-motion:no-preference){
  .pan-scene.steaming .pan-steam{display:block;position:absolute;left:13%;bottom:40%;width:9%;height:43%;pointer-events:none;fill:none;stroke:#fff1da;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:1;animation:pan-curl 1250ms ease-out both}
  @keyframes pan-curl{0%{opacity:0;stroke-dashoffset:1}35%{opacity:.88}70%{stroke-dashoffset:0}100%{opacity:0;transform:translateY(-4px)}}
}
