body[data-view="match"]{color:#634a37}
body[data-view="match"] main{max-width:1200px;padding:18px clamp(12px,3vw,38px) 32px}
body[data-view="match"] #tasks>h1,body[data-view="match"] #tasks>time{display:none}
body[data-view="match"] .tasks{max-width:none;margin:0}
body[data-view="match"] .tasks>#match{padding:0;background:none;border:0;outline:0}
.match-page-fabric{position:relative;padding:0 clamp(12px,4.4vw,58px) clamp(26px,4vw,55px);border:1px solid #ead6bf;border-radius:30px;background:#fffcf4;box-shadow:0 4px 12px #a883551f;outline:1px dashed #ebd9c0;outline-offset:-6px}
#preferences{display:grid;gap:14px}
.match-ingredients-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,max-content);gap:24px;align-items:center}
.match-fields,.match-ingredient-sets{min-width:0;margin:0;padding:0;border:0}
.match-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(12px,4vw,42px)}
#preferences legend{padding:0;color:#674b36;font-weight:750;font-size:clamp(16px,1.7vw,23px)}
#preferences .field{margin:5px 0;min-width:0;font-size:clamp(13px,1.25vw,17px)}
#preferences :is(input:not([type=checkbox]),select){min-height:41px;background:#fffdfa;border:1px solid #e4cbb6;border-radius:13px;box-shadow:none}
#preferences :is(input,select):focus{border-color:#b8d4ec;outline:0;box-shadow:0 0 0 2px #b8d4ec45}
#preferences :is(input,select):focus-visible{outline:2px solid #8cacc9;outline-offset:1px}
.match-goal-note{margin-top:6px;padding:10px 12px;border:1px dashed #e9cb9f;border-radius:15px;background:#fff4d9;box-shadow:0 2px 4px #ad894c20}
.match-goal-note h2{margin:0 0 5px;font-size:17px}
.match-goal-note p{margin:2px 0;color:#72553c;font-size:13px}
.match-requirements{grid-column:1/-1;margin-top:5px}
.match-requirements>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.match-requirements label{display:flex;align-items:center;gap:5px;background:#fff7ea;padding:3px 9px;border:1px dashed #edd6bc;border-radius:999px;font-size:14px}
#preferences input[type=checkbox]{width:1em;accent-color:#b98c47}
.match-ingredient-sets>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px}
.match-ingredient-sets strong{min-width:4.5em;font-size:14px}
#preferences .chips button{border-color:#ebcdd1;background:#fff8f5}
#preferences .chips button[aria-pressed=true]{background:#ffedaa;border-color:#e2c16b}
#preferences .chips button[aria-pressed=true]::before{content:"✓ ";color:#86632e}
.match-page-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
body[data-view="match"] .match-page-actions .primary,.match-page-actions a{min-height:46px;display:inline-grid;place-items:center;padding:5px 17px;border-radius:999px;color:#684b31;text-decoration:none;font-weight:750}
body[data-view="match"] .match-page-actions .primary{background:#ffebac url("public/images/meal-match/yellow-button.png") center/100% 100% no-repeat;border:1px dashed #e2bf62;box-shadow:0 3px 5px #a5844b33}
.match-page-actions a{background:#fff9f5;border:1px solid #e7c8cb}
.match-page-bento,.match-page-paper{position:absolute;bottom:-14px;width:clamp(35px,8vw,105px);height:auto;pointer-events:none}
.match-page-bento{left:-10px}.match-page-paper{right:-8px;rotate:7deg}
@media(max-width:680px){.match-page-bento,.match-page-paper{width:40px;bottom:-15px}}
@media(max-width:360px){.match-fields{grid-template-columns:1fr}}body[data-view="match"]{color:#503627}
body[data-view="match"] main{width:100%;max-width:none;padding:12px 0 44px}
.match-page-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;width:88.5%;max-width:1100px;margin-inline:auto;padding:clamp(8px,1.45vw,20px) 0 13px}
.match-page-heading{--bunny-width:clamp(63px,8vw,94px);--sticker-gap:clamp(17px,2.15vw,26px);position:relative;display:flex;align-items:end;column-gap:var(--sticker-gap);isolation:isolate;max-width:100%;overflow:visible}
.match-page-heading h1{display:flex;align-items:center;gap:clamp(6px,1vw,12px);min-height:clamp(63px,7vw,87px);padding:8px clamp(25px,3.65vw,46px);margin:0;font-size:clamp(25px,3.6vw,42px);line-height:1.1;white-space:nowrap;color:#493022;background:url("public/images/water/water-title-cloud.png") center/100% 100% no-repeat;filter:drop-shadow(0 2px 2px #a47b5630)}
.match-page-bunny{position:relative;z-index:1;width:var(--bunny-width);height:auto;flex:none;pointer-events:none}
.match-page-rays{position:absolute;z-index:2;inset-inline-end:calc(var(--bunny-width) + var(--sticker-gap) / 2);top:29%;width:clamp(12px,1.5vw,18px);height:auto;translate:50% 0;rotate:-14deg;pointer-events:none}
.match-utensils{width:clamp(24px,3vw,36px);height:clamp(27px,3.2vw,38px);display:inline-grid;place-items:center;color:#a37968}
.match-utensils svg{height:100%;width:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.match-page-fabric{width:88.5%;max-width:1100px;margin:auto;padding:0 clamp(20px,4.55vw,56px) 62px;border-radius:42px;background:linear-gradient(110deg,#fffbf3cc,#fffaf2cb),url("public/images/water-tracker/cream-gingham-bg.webp") center/170px;border-color:#e8d2bc;box-shadow:0 5px 11px #9f76541a}
.match-page-fabric::before{content:"";display:block;height:clamp(43px,5.55vw,61px);margin:0 calc(-1 * clamp(20px,4.55vw,56px)) 16px;border-radius:41px 41px 0 0;background:linear-gradient(#fff5f596,#fff5f596),url("public/images/water/pink-gingham.png") center/56px repeat,#fff3f3}
#preferences{gap:17px}
#match-goal-calories{white-space:nowrap}
.match-fields{gap:17px clamp(22px,5.5vw,67px)}
#preferences .field{margin:0;display:grid;align-content:start;gap:6px;font-size:clamp(14px,1.45vw,18px)}
.match-field-label{display:flex;gap:9px;align-items:center;font-weight:750;min-height:28px}
.match-field-label img,.match-goal-note p::before{width:27px;height:27px;object-fit:contain;flex:none}
#preferences :is(input:not([type=checkbox]),.match-select-trigger){min-height:46px;margin:0;border:1px solid #d9bda7;border-radius:17px;background:#fffcf7;color:#533a2b;font-size:16px}
#preferences .field small{font-size:12px;color:#795e49}
.match-goal-note{margin:0;background:#fff6e5;border:1px solid #e4c199;padding:18px 10px 12px;position:relative;box-shadow:0 4px #efdfc691}
.match-goal-note h2{width:max-content;position:relative;margin:-34px auto 10px;padding:4px 13px;border-radius:12px;background:#ffe9ab;border:1px solid #ecd19b;color:#513927}
.match-goal-note p{display:flex;align-items:center;gap:6px;font-size:clamp(11px,1.25vw,16px)}
.match-goal-note p::before{content:"";width:20px;height:22px;background:var(--note-icon) center/contain no-repeat}
#match-goal-calories{--note-icon:url("public/images/recipe-match/flame-sticker.png")}
#match-goal-type{--note-icon:url("public/images/recipe-match/target-sticker.png")}
#match-goal-style{--note-icon:url("public/images/recipe-match/heart-sticker.png")}
.match-ingredient-sets .chips{gap:8px}
#preferences .chips button{min-height:34px;padding:4px 12px;border-radius:999px}
.match-page-actions{gap:clamp(12px,3vw,32px);align-items:center;margin:5px auto 0;width:max-content;max-width:100%;position:relative;z-index:1}
body[data-view="match"] .match-page-actions .primary{display:inline-flex;gap:10px;justify-content:center;min-height:65px;min-width:250px;font-size:25px;border:0;background:transparent url("public/images/recipe-match/yellow-button.png") center/100% 100% no-repeat}
.match-page-actions .primary img{width:25px}
.match-page-actions a{min-height:52px;padding-inline:24px;border-width:2px;box-shadow:0 2px 3px #ac735522}
.match-page-bento,.match-page-paper{bottom:17px;width:clamp(75px,12vw,145px);z-index:1}
.match-page-paper{margin:0;right:-19px;rotate:5deg;aspect-ratio:1}
.match-page-paper>img:first-child{width:100%;height:100%;object-fit:contain}
.match-page-paper ul{position:absolute;inset:30% 8% auto 19%;margin:0;padding:0;list-style:none;rotate:8deg;font-size:clamp(9px,1.1vw,14px);font-weight:750;line-height:1.65}
.match-page-paper li::before{content:"✓ ";color:#a67749}
.match-paper-heart{position:absolute;width:19%;bottom:12%;right:13%}
.match-select{position:relative;min-width:0}
#preferences .match-select-trigger{width:100%;text-align:left;padding:0 13px}
.match-select-trigger::after{content:"";float:right;margin:.45em .15em 0 0;width:.45em;height:.45em;border:solid currentColor;border-width:0 1.5px 1.5px 0;rotate:45deg}
.match-select-list{position:absolute;inset:calc(100% + 5px) 0 auto;z-index:4;background:#fffcf4;border:1px solid #e9d5b9;border-radius:13px;padding:5px;box-shadow:0 5px 12px #9673532b}
#preferences .match-select-list button{width:100%;text-align:left;background:none;border:0;border-radius:8px;color:inherit;padding:6px 10px}
#preferences .match-select-list button[aria-selected=true]{background:#fff0b9}
#preferences .match-select-list button:is(:hover,:focus-visible){background:#eaf3fa;outline:1px solid #b8d4ec}
#preferences .match-select-trigger:focus-visible{outline:2px solid #b8d4ec;outline-offset:1px}
@media(max-width:760px){.match-page-fabric{width:94%}.match-page-actions{max-width:100%}.match-page-bento,.match-page-paper{width:69px;bottom:7px}.match-page-paper ul{display:none}}
@media(max-width:520px){.match-fields{grid-template-columns:1fr}.match-page-bento,.match-page-paper{bottom:7px}.match-page-paper{right:0}.match-page-bento{left:0}.match-page-actions{justify-content:center;width:100%}}

#preferences .match-fields .match-requirements{grid-column:auto;align-self:center;margin:0}
#preferences select[hidden]{display:none}
#preferences .match-select-list[hidden]{display:none}
@media(min-width:761px){
  #preferences{gap:13px}
  .match-fields{row-gap:13px}
  .match-ingredient-sets>div{margin-top:3px}
  #preferences .chips button{min-height:29px}
  .match-page-fabric{padding-bottom:48px}
}
body[data-view="match"] .match-page-actions .primary{box-shadow:none;filter:drop-shadow(0 3px 2px #a5844b48);min-width:min(300px,100%)}
.match-page-actions a{min-height:57px}
@media(min-width:761px){.match-field-label{padding-inline-start:0}#preferences .field :is(input:not([type=checkbox]),.match-select){margin-inline-start:36px;width:calc(100% - 36px)}}
@media(min-width:761px){
  .match-page-actions{width:auto}
  body[data-view="match"] .match-page-actions .primary{min-width:300px}
}

@media(max-width:760px){.match-ingredients-row{grid-template-columns:minmax(0,1fr);gap:30px}.match-ingredients-row .match-goal-note{justify-self:start;min-width:190px}}

.match-page-intro{position:relative;margin:13px auto 0;max-width:calc(100% - 104px);text-align:center;color:#745841;font-size:clamp(13px,1.45vw,16px)}

.page-back-home{white-space:nowrap}
@media(max-width:740px){.match-page-masthead{width:94%;grid-template-columns:minmax(0,1fr);gap:8px}.match-page-heading{justify-self:center}}
