@font-face{font-family:"Fredoka";font-weight:400;font-display:swap;src:url("/fonts/fredoka-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Fredoka";font-weight:600;font-display:swap;src:url("/fonts/fredoka-latin-600-normal.woff2") format("woff2")}
/* the milk round: a pale morning, a dairy float blue crate, white pint bottles with silver foil, cups of strong tea */
:root{--sky:#dfeef5;--white:#fff;--ink:#0e1f36;--soft:#3d5069;--float:#123c73;--foil:#c9d4de;--tea:#a8531c;--cap:#12633f;--line:#a7c2d2;--stop:#a3231a}
*{box-sizing:border-box}
html{background:var(--sky)}
body{margin:0;background:var(--sky);color:var(--ink);font:400 18px/1.55 "Fredoka",system-ui,sans-serif;overflow-x:clip}
main{display:block;max-width:660px;margin:0 auto;padding:0 16px 56px}
.top{padding:4px 0 10px;text-align:center}
h1,h2,h3{font-weight:600;line-height:1.16}
h1{font-size:clamp(1.75rem,7.8vw,2.8rem);margin:12px 0 6px;color:var(--float);text-wrap:balance}
h2{font-size:1.38rem;margin:34px 0 10px;text-wrap:balance}
h3{font-size:1.14rem;margin:24px 0 6px}
b,strong{font-weight:600}
p,li{max-width:66ch}
li{margin-bottom:7px}
a{color:var(--float);text-underline-offset:3px;overflow-wrap:anywhere}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 7px #ffd23f}
.top p{margin:0 auto;line-height:1.35}
.hint{margin:0 0 6px;color:var(--soft);font-size:.94rem;line-height:1.35}
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the crate */
.round{margin:0 -16px;padding:10px 16px 12px;background:var(--float);color:var(--white)}
.round h2.vh{margin:-1px}
.round .q{margin:0 0 8px}
.round .hint{color:var(--white)}
.round a{color:var(--white)}
.round #q-people{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px}
.round #q-people>label{margin:0}
.round #q-people .affix input{max-width:5.2em}
.round #q-people .err{order:3;flex-basis:100%}
.pours{margin:0;padding:0;border:0;min-width:0}
.pours legend{padding:0;font-weight:600}
.chips{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:4px}
.chips label{position:relative;display:flex;min-width:0}
.chips input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.chips span{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;padding:4px 2px;text-align:center;line-height:1.15;font-size:.9rem;border:2px solid var(--white);border-radius:28px 28px 10px 10px;background:var(--float);color:var(--white)}
.chips input:checked+span{background:var(--white);color:var(--ink);box-shadow:inset 0 -7px 0 var(--cap)}
.chips input:focus-visible+span{outline:3px solid #ffd23f;outline-offset:2px;box-shadow:0 0 0 7px var(--ink)}
/* the pour box only matters for your own pour */
.round:not(:has(#pour-own:checked)) #q-ownml{display:none}

/* the note for the milk order */
.slip{width:max-content;max-width:100%;margin:12px auto 4px;padding:6px 22px 8px;background:var(--white);color:var(--ink);font-weight:600;font-size:1.7rem;line-height:1.15;text-align:center;border-top:6px solid var(--cap);transform:rotate(-1deg)}
.per{margin:6px auto 8px;text-align:center;line-height:1.3;font-size:.95rem}

/* one pint to a row, with the cups it covers */
.shelf{list-style:none;margin:0 auto;padding:0;max-width:34rem}
.row{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;margin:0;padding:7px 0 6px;border-bottom:4px solid var(--foil);max-width:none}
.bottle{position:relative;width:28px;height:56px;background:#4a6ea8;clip-path:polygon(28% 0,72% 0,72% 18%,100% 38%,100% 94%,90% 100%,10% 100%,0 94%,0 38%,28% 18%);overflow:hidden}
.bottle::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:var(--foil);z-index:1}
.bottle i{position:absolute;left:0;right:0;bottom:0;height:86%;background:var(--white);transform:scaleY(var(--fill));transform-origin:bottom}
.cups{display:flex;flex-wrap:wrap;gap:3px 2px;align-content:center;min-height:30px}
.cups i{width:17px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='13'%3E%3Cpath d='M12 3h1.5a2.7 2.7 0 010 5.4H12' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 1h13v5.5C13 10.500 10.500 13 6.500 13S0 10.500 0 6.500z' fill='%23fff'/%3E%3Cpath d='M1.500 2.500h10v2h-10z' fill='%23d08a4c'/%3E%3C/svg%3E") 0 0/17px 13px no-repeat}
.more{margin:0;padding:8px 0 4px;text-align:center;max-width:none}
.jump{margin:10px 0 0;font-size:.93rem;line-height:1.35;text-align:center}
.stale .shelf,.stale .per{display:none}
.stale .slip{font-size:1.05rem;transform:none}
@media (prefers-reduced-motion:no-preference){.bottle i{transition:transform .5s ease-out}}
@media (prefers-reduced-motion:reduce){.bottle i{transition-property:none}}

.result{margin-top:4px;scroll-margin-top:12px}
.result h2{margin:26px 0 4px}
.big{line-height:1.25;margin:6px 0}
.big strong{display:block;font-size:clamp(1.5rem,6.6vw,2.1rem);color:var(--float);text-wrap:balance}
.note,.warn{background:var(--white);padding:10px 14px;border-radius:14px}
.note{border:3px solid var(--cap)}
.warn{border:2px solid var(--float)}

.q{margin:16px 0;min-width:0}
.q>label{display:block;font-weight:600;line-height:1.3;margin-bottom:3px}
.affix{display:flex;align-items:center;gap:8px}
.affix span{font-weight:600}
input[type=text]{font:600 1.2rem "Fredoka",system-ui,sans-serif;width:100%;max-width:6.5em;min-width:0;min-height:48px;border:2px solid var(--ink);border-radius:12px;background:var(--white);color:var(--ink);padding:6px 14px}
.go{display:block;width:100%;min-height:54px;margin-top:22px;font:600 1.15rem "Fredoka",system-ui,sans-serif;background:var(--cap);color:var(--white);border:2px solid var(--cap);border-radius:27px;cursor:pointer}

.scrollx{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:.94rem;line-height:1.4}
th,td{text-align:left;vertical-align:top;padding:8px 10px 8px 0;border-bottom:2px solid var(--line)}
article tbody th{white-space:nowrap}
.side{margin-top:18px;background:var(--white)}
.side caption{text-align:left;font-weight:600;padding:10px 0 6px}
.side :is(th,td){padding:8px}
.side th[scope=row]{font-weight:400}
.summary{border:4px solid var(--stop);background:var(--white);border-radius:12px;padding:2px 16px 8px;margin:0 0 14px}
.summary h2{margin:10px 0 6px;font-size:1.18rem}
.summary ul{list-style:none;padding:0;margin:0}
.summary a{color:var(--stop);font-weight:600;display:inline-block;padding:9px 0}
.q.bad{border-left:5px solid var(--stop);padding-left:10px}
.err{margin:0 0 6px;color:var(--stop);font-weight:600;font-size:.95rem;background:var(--white);padding:2px 8px;border-radius:6px}
.q.bad input[type=text]{border-color:var(--stop)}
.round .q.bad{border-left-color:var(--white)}
.nojs{background:var(--white);padding:12px 14px;border:2px solid var(--ink)}
article details{border-bottom:2px solid var(--line)}
summary{cursor:pointer;font-weight:600}
article summary{padding:12px 0;min-height:48px}
.short-answer{background:var(--white);padding:12px 14px;border-radius:14px;border:2px solid var(--float)}
.related{padding-left:20px}
.updated{color:var(--soft);font-size:.9rem}
[hidden]{display:none!important}
