:root{--paper: #FBFAF7;--card: #FFFFFF;--wash: #F5F1E9;--edge: #E7E1D5;--line: #CFC6B6;--hover: #F1ECE2;--ink: #1F1B16;--muted: #6A6156;--scrim: rgba(31, 27, 22, .46);--accent: #B4532A;--accent-deep: #9A4421;--on-accent: #FFFFFF;--accent-soft: #F7E8DF;--turmeric: #D99A2B;--turmeric-soft: #FBF1DA;--turmeric-ink: #7E5208;--herb: #4E6B4A;--herb-soft: #E7EEE4;--danger: #A22B1D;--focus: #1F1B16;--track: #ECE6DA;--mark-seed: #1F1B16;--shadow: 0 1px 2px rgba(31, 27, 22, .05), 0 8px 24px rgba(31, 27, 22, .07);--f-serif: "Fraunces", "Iowan Old Style", Georgia, serif;--f-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--gutter: 18px;--tabbar-h: calc(env(safe-area-inset-bottom, 0px) + 68px) ;color-scheme:light}@media(prefers-color-scheme:dark){:root{--paper: #171411;--card: #211C17;--wash: #1D1915;--edge: #352E26;--line: #4D4438;--hover: #2A241D;--ink: #F3EDE2;--muted: #ADA292;--scrim: rgba(0, 0, 0, .6);--accent: #E08257;--accent-deep: #EC9670;--on-accent: #1E120B;--accent-soft: #38231A;--turmeric: #E2A93F;--turmeric-soft: #33290F;--turmeric-ink: #EBC272;--herb: #94B38E;--herb-soft: #232C21;--danger: #F08A7A;--focus: #F3EDE2;--track: #2E2820;--mark-seed: #1E120B;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);color-scheme:dark}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;min-height:100dvh;background:var(--paper);color:var(--ink);font-family:var(--f-ui);font-size:16px;line-height:1.5;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}:focus-visible{outline:2.5px solid var(--focus);outline-offset:2px;border-radius:4px}p,h1,h2,h3,ul,ol,dl,dd,blockquote{margin:0}ul,ol{padding:0;list-style:none}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ic{width:20px;height:20px;flex:none}.body-lock{overflow:hidden}.serif{font-family:var(--f-serif);font-weight:600}.muted{color:var(--muted)}.small{font-size:14px;line-height:1.45}.grow{flex:1;min-width:0}.break{overflow-wrap:anywhere}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);line-height:1.3}.eyebrow.accent{color:var(--accent)}.textlink{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;display:inline-flex;align-items:center;gap:4px}.textlink:hover{color:var(--accent-deep)}.linkish{background:none;border:0;padding:0;color:var(--accent);font-weight:600;font-size:14px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.error{color:var(--danger);font-weight:600;font-size:15px}.opt{font-weight:500;color:var(--muted);opacity:.85;margin-left:4px}.app{min-height:100vh;min-height:100dvh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1160px;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 14px) var(--gutter) 0}.brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.brand span{font-family:var(--f-serif);font-weight:600;font-size:24px;letter-spacing:-.01em;color:var(--ink)}.topbar nav{display:none;gap:4px}.topbar nav a{text-decoration:none;font-weight:600;font-size:15px;color:var(--muted);padding:9px 14px;border-radius:999px}.topbar nav a:hover{color:var(--ink);background:var(--hover)}.topbar nav a[aria-current=page]{color:var(--ink);background:var(--wash)}.app:not(.has-nav) .topbar{display:none}.offline{margin:10px auto 0;max-width:1160px;padding:0 var(--gutter);font-size:14px;font-weight:600;color:var(--turmeric-ink)}.tabbar{position:fixed;z-index:20;left:0;right:0;bottom:0;height:var(--tabbar-h);display:grid;grid-template-columns:repeat(3,1fr);align-items:start;background:var(--paper);border-top:1px solid var(--edge);padding:6px max(12px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(12px,env(safe-area-inset-left,0px))}.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;text-decoration:none;color:var(--muted);font-size:12px;font-weight:600}.tabbar a[aria-current=page]{color:var(--ink)}.tabbar a.add i{width:52px;height:52px;margin-top:-22px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;box-shadow:0 0 0 5px var(--paper),var(--shadow)}.tabbar a.add span{margin-top:1px}.tabbar a.add[aria-current=page]{color:var(--accent)}.page{max-width:1160px;margin:0 auto;padding:22px var(--gutter) 48px;display:flex;flex-direction:column;gap:22px}.page.narrow{max-width:720px}.has-nav .page{padding-bottom:calc(var(--tabbar-h) + 40px)}.page-head{display:flex;flex-direction:column;gap:6px}.page-head h1,.lib-head h1{font-family:var(--f-serif);font-weight:600;font-size:clamp(30px,6.4vw,44px);line-height:1.08;letter-spacing:-.015em;text-wrap:balance}.lede{font-size:17px;line-height:1.5;color:var(--muted);max-width:62ch}.fine{max-width:60ch}@media(min-width:860px){:root{--gutter: 32px}.topbar,.app:not(.has-nav) .topbar{display:flex;padding-top:18px}.topbar nav{display:flex}.tabbar{display:none}.page,.has-nav .page{padding-top:34px;padding-bottom:72px;gap:28px}}.btn{font-weight:600;font-size:15px;line-height:1.2;color:var(--ink);background:var(--card);border:1.5px solid var(--ink);border-radius:999px;padding:10px 20px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;text-align:center}.btn:hover{background:var(--hover)}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.btn.primary:hover{background:var(--accent-deep);border-color:var(--accent-deep)}.btn.ghost{border-color:var(--line);background:transparent}.btn.ghost:hover{background:var(--hover)}.btn.danger{color:var(--danger);border-color:var(--danger)}.btn.ghost.danger{border-color:var(--line)}.btn.small{min-height:40px;padding:7px 14px;font-size:14px}.btn.big{min-height:54px;padding:12px 26px;font-size:17px}.btn.wide{width:100%}.filebtn{cursor:pointer;position:relative}.filebtn:focus-within{outline:2.5px solid var(--focus);outline-offset:2px}.iconbtn{width:44px;height:44px;flex:none;border:1.5px solid var(--edge);border-radius:50%;background:var(--card);display:grid;place-items:center;color:var(--ink)}.iconbtn:hover{border-color:var(--ink)}.iconbtn:disabled{opacity:.35;cursor:default}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.actions.stack{flex-direction:column;align-items:stretch}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field>label{font-size:13px;font-weight:700;color:var(--muted)}.input{width:100%;border:1.5px solid var(--line);border-radius:12px;background:var(--card);padding:10px 12px;font-size:16px;min-height:46px;line-height:1.35}.input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px color-mix(in srgb,var(--ink) 12%,transparent)}.input[aria-invalid=true]{border-color:var(--danger)}.input.big{min-height:54px;font-size:17px;padding:12px 14px}.input::placeholder{color:var(--muted);opacity:.75}textarea.input{resize:vertical}.grow{display:grid;min-width:0}.grow:after{content:attr(data-value) " ";visibility:hidden;white-space:pre-wrap;overflow-wrap:anywhere;border:1.5px solid transparent;padding:10px 12px;font-size:16px;line-height:1.35}.grow>textarea.input,.grow:after{grid-area:1 / 1 / 2 / 2;min-width:0}.grow>textarea.input{resize:none;overflow:hidden}select.input{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 17px) 54%,calc(100% - 12px) 54%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px;text-overflow:ellipsis}.with-suffix{position:relative}.with-suffix>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:13px;color:var(--muted);pointer-events:none}.input.suffixed{padding-right:42px}.inline-add{display:flex;gap:8px}.inline-add .input{flex:1;min-width:0}.card{background:var(--card);border:1px solid var(--edge);border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:12px}.card.quiet{background:var(--wash);border-color:transparent}.card-title{font-size:26px;line-height:1.15}.card h2.serif{font-size:22px;line-height:1.2}.seg{display:flex;border:1.5px solid var(--line);border-radius:999px;background:var(--card);padding:3px;gap:2px}.seg button{flex:1;border:0;background:none;padding:8px 12px;min-height:40px;font-weight:600;font-size:14px;border-radius:999px;color:var(--muted);white-space:nowrap}.seg button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.chip{font-weight:600;font-size:14px;color:var(--ink);background:var(--card);border:1.5px solid var(--line);border-radius:999px;padding:8px 15px;min-height:42px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.chip:hover{border-color:var(--ink)}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}.chip.static{min-height:36px;padding:4px 6px 4px 13px}.chip.static button{border:0;background:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:var(--muted)}.tagrow{display:flex;gap:8px;overflow-x:auto;margin:0 calc(var(--gutter) * -1);padding:2px var(--gutter);scrollbar-width:none}.tagrow::-webkit-scrollbar{display:none}.tagrow.wrap{flex-wrap:wrap;overflow:visible;margin:0;padding:0}.photo{display:block;width:100%;height:100%;object-fit:cover;background:var(--wash)}.plate{position:relative;display:grid;place-items:center;overflow:hidden;container-type:inline-size}.plate svg{position:absolute;inset:0;width:100%;height:100%}.plate-rim{fill:#ffffff57}.plate-well{fill:#ffffff6b}.plate span{position:relative;font-family:var(--f-serif);font-weight:500;font-size:clamp(34px,30cqw,150px);line-height:1}.t-terracotta{background:#ebcdbc;color:#8c3d1c}.t-turmeric{background:#f2dfae;color:#7e5208}.t-herb{background:#cfdcc9;color:#3c5638}.t-plum{background:#e0ccd4;color:#6b3a50}.t-clay{background:#e6d9c8;color:#66513a}@media(prefers-color-scheme:dark){.plate-rim{fill:#ffffff0d}.plate-well{fill:#ffffff0f}.t-terracotta{background:#4e2a1c;color:#f0b79c}.t-turmeric{background:#4a3a14;color:#ebc978}.t-herb{background:#2b3a2a;color:#b5cdaf}.t-plum{background:#402832;color:#e1bbcb}.t-clay{background:#3f3528;color:#dccbb2}}.login{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;max-width:460px;margin:0 auto;padding:24px max(26px,env(safe-area-inset-right,0px)) 24px max(26px,env(safe-area-inset-left,0px))}.login .wordmark{font-family:var(--f-serif);font-weight:600;font-size:68px;line-height:1;letter-spacing:-.02em;color:var(--ink);margin:2px 0 6px}.login p{font-size:18px}.login p.small{font-size:16px}.login .add{display:flex;gap:8px;width:100%}.login .add input{flex:1;min-width:0}.login .btn{margin-top:6px}.lib-head{display:flex;flex-direction:column;gap:8px;padding-top:4px}.hero{display:grid;background:var(--card);border:1px solid var(--edge);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.hero-photo{display:block;aspect-ratio:4 / 3}.hero-text{padding:20px 20px 22px;display:flex;flex-direction:column;gap:10px}.hero-text h2{font-family:var(--f-serif);font-weight:600;font-size:clamp(27px,5.6vw,40px);line-height:1.1;letter-spacing:-.012em;text-wrap:balance}.hero-text h2 a{text-decoration:none}.hero-desc{color:var(--muted);font-size:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.meta{font-size:14px;color:var(--muted)}.hero-text .actions{margin-top:6px}@media(min-width:760px){.hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);height:clamp(380px,52vh,480px)}.hero-photo{aspect-ratio:auto;height:100%;min-height:0}.hero-text{padding:40px 40px 40px 44px;justify-content:center;gap:14px}.hero-desc{font-size:17px}}.review{display:flex;flex-direction:column;gap:10px}.review-row{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}.review-card{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:64px;border-radius:16px;background:var(--turmeric-soft);border:1px solid color-mix(in srgb,var(--turmeric) 40%,transparent);text-decoration:none}.review-card b{display:block;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-card .small{display:block}.review-card.is-failed{background:var(--wash);border-color:var(--edge)}.review-dot{width:10px;height:10px;border-radius:50%;flex:none;background:var(--turmeric)}.is-working .review-dot{animation:pulse 1.2s ease-in-out infinite}.is-failed .review-dot{background:var(--danger)}@keyframes pulse{0%,to{opacity:.3}50%{opacity:1}}.lib-all{display:flex;flex-direction:column;gap:14px}.lib-tools{display:flex;flex-direction:column;gap:12px}.lib-tools h2{font-size:26px;line-height:1.15;letter-spacing:-.01em}.searchbox{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:999px;background:var(--card);padding:0 16px;min-height:50px;color:var(--muted)}.searchbox:focus-within{border-color:var(--ink)}.searchbox input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:16px;padding:10px 0;color:var(--ink)}.searchbox input::-webkit-search-cancel-button{-webkit-appearance:none}.count{margin-top:-4px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.rcard{display:flex;flex-direction:column;gap:4px;text-decoration:none;min-width:0}.rcard .photo{aspect-ratio:4 / 5;border-radius:16px;margin-bottom:6px;transition:transform .25s ease}.rcard h3{font-family:var(--f-serif);font-weight:600;font-size:18px;line-height:1.2;letter-spacing:-.005em;text-wrap:balance;overflow-wrap:anywhere}.rcard .meta{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover){.rcard:hover h3{color:var(--accent)}}.nothing{padding:26px 0 10px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}.nothing .serif{font-size:22px}@media(min-width:700px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 24px}.rcard h3{font-size:21px}.rcard .meta{font-size:14px}.lib-tools{flex-direction:row;align-items:center;justify-content:space-between}.searchbox{width:min(440px,50%)}.tagrow{flex-wrap:wrap;overflow:visible;margin:0;padding:0}}@media(min-width:1040px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.empty-hero{display:grid;gap:8px;align-items:center}.empty-hero>div{display:flex;flex-direction:column;gap:14px}.empty-hero h1{font-family:var(--f-serif);font-weight:600;font-size:clamp(34px,8vw,56px);line-height:1.04;letter-spacing:-.02em;text-wrap:balance}.empty-art{width:min(240px,62%);height:auto;margin:0 0 4px -6px}.empty-art .steam{stroke:var(--line)}.art-handle{stroke:var(--accent)}.art-pan{fill:var(--accent)}.art-ghee{fill:var(--turmeric)}.art-seed{fill:var(--mark-seed)}.art-leaf{fill:var(--herb)}.art-chilli{fill:#8e2f1b}.art-stem{stroke:var(--herb)}.ways{display:grid;gap:10px}.way{display:grid;grid-template-columns:44px 1fr;align-items:center;column-gap:12px;padding:14px 16px;border:1px solid var(--edge);border-radius:18px;background:var(--card);text-decoration:none;min-height:72px}.way i{grid-row:span 2;width:44px;height:44px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.way b{font-weight:600;font-size:17px;line-height:1.25}.way span{color:var(--muted);font-size:14px}.way:hover{border-color:var(--line)}@media(min-width:860px){.empty-hero{grid-template-columns:300px 1fr;gap:48px;padding:30px 0 10px}.empty-art{width:100%;margin:0}.ways{grid-template-columns:repeat(3,1fr);gap:16px}.way{grid-template-columns:1fr;row-gap:6px;padding:22px;align-content:start}.way i{grid-row:auto;margin-bottom:8px}}.tabs{display:grid;gap:6px;background:var(--wash);border-radius:18px;padding:5px}.tabs.four{grid-template-columns:repeat(4,1fr)}.tabs button{border:0;background:none;border-radius:14px;padding:9px 4px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-weight:600;font-size:14px;color:var(--muted)}.tabs button[aria-selected=true]{background:var(--card);color:var(--ink);box-shadow:var(--shadow)}.add-form{gap:14px}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.thumbs li{position:relative}.thumbs img{width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:12px;border:1px solid var(--edge);display:block}.thumbs .iconbtn{position:absolute;top:-8px;right:-8px;width:34px;height:34px;box-shadow:var(--shadow)}.stages{display:flex;flex-direction:column;gap:4px}.stage{display:flex;align-items:center;gap:14px;padding:12px 0;font-size:19px;line-height:1.3;color:var(--muted)}.stage-mark{width:28px;height:28px;border-radius:50%;border:2px solid var(--line);flex:none;display:grid;place-items:center}.stage.is-done{color:var(--ink)}.stage.is-done .stage-mark{background:var(--herb);border-color:var(--herb);color:var(--paper)}.stage.is-now{color:var(--ink);font-weight:600}.stage.is-now .stage-mark{border-color:var(--accent);border-top-color:transparent;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.problem{border-color:color-mix(in srgb,var(--turmeric) 55%,var(--edge));background:var(--turmeric-soft);gap:16px}.problem-text{font-size:18px;line-height:1.45}.editor{display:flex;flex-direction:column;gap:28px}.ed-sec{display:flex;flex-direction:column;gap:12px}.ed-sec>h2{font-family:var(--f-serif);font-weight:600;font-size:24px;line-height:1.2}.title-input{font-family:var(--f-serif);font-weight:600;font-size:22px;min-height:54px}.ed-photo{display:flex;align-items:center;gap:14px}.ed-photo .photo{width:96px;height:96px;flex:none;border-radius:14px}.ed-basics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:560px){.ed-basics{grid-template-columns:repeat(4,minmax(0,1fr))}}.warnings{background:var(--turmeric-soft);border:1px solid color-mix(in srgb,var(--turmeric) 55%,transparent);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}.warnings .eyebrow{display:flex;align-items:center;gap:6px;color:var(--turmeric-ink)}.warnings ul{display:flex;flex-direction:column;gap:4px;padding-left:18px;list-style:disc}.warnings li::marker{color:var(--turmeric)}.ed-group{display:flex;flex-direction:column;gap:8px}.ed-group+.ed-group{margin-top:10px}.ed-group-head{display:flex;gap:8px;align-items:center}.group-name{font-weight:700;font-size:14px;letter-spacing:.04em}.lrow{background:var(--card);border:1px solid var(--edge);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px}.lrow.is-unverified,.lrow.flagged{border-color:var(--turmeric)}.lrow-main{display:grid;grid-template-columns:60px 88px minmax(0,1fr);gap:6px}.lrow-main .input{padding-left:10px;padding-right:10px}.lrow-main select.input{padding-right:24px;background-position:calc(100% - 14px) 54%,calc(100% - 9px) 54%}.lrow .qty{text-align:center;font-weight:600;font-variant-numeric:tabular-nums}.lrow.is-missing .qty{border-style:dashed}.lrow-sub{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13.5px;padding:0 2px}.checkmark{display:inline-flex;align-items:center;gap:4px;font-weight:600;white-space:nowrap}.checkmark .ic{align-self:center}.checkmark.ok{color:var(--herb)}.checkmark.warn{color:var(--turmeric-ink);white-space:normal}.checkmark.quiet{color:var(--muted);font-style:italic;font-weight:500}.orig{padding:0 2px;color:var(--muted);font-family:var(--f-serif);font-style:italic;font-size:15px;line-height:1.35;overflow-wrap:anywhere}.orig.plain{font-family:var(--f-ui);font-style:normal;font-size:13.5px}.lrow-sub .linkish{font-size:13.5px;padding:4px 0;flex:none}.lrow-more{display:flex;flex-direction:column;gap:10px;padding-top:4px;border-top:1px dashed var(--edge);margin-top:2px}.lrow-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:8px}.ed-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px 8px;align-items:start}.ed-step .stepnum{padding-top:9px}.ed-step-foot{grid-column:2;min-width:0;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:8px 12px}.ed-step-tools{display:flex;gap:6px;justify-content:flex-end}.ed-step-tools .iconbtn{width:38px;height:38px}.stepnum{font-family:var(--f-serif);font-weight:600;font-size:22px;line-height:1.2;color:var(--accent);font-variant-numeric:lining-nums}.ed-nuance{background:var(--card);border:1px solid var(--edge);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px}.ed-nuance-top{display:flex;gap:8px;align-items:center}.ed-nuance-top select{flex:1}.quote{font-family:var(--f-serif);font-style:italic;color:var(--muted)}.savebar{position:sticky;bottom:0;z-index:15;margin:0 calc(var(--gutter) * -1);background:var(--paper);border-top:1px solid var(--edge);padding:12px var(--gutter) calc(env(safe-area-inset-bottom,0px) + 12px)}.savebar-in{display:flex;flex-direction:column;gap:8px}.savebar-row{display:flex;gap:10px;justify-content:flex-end}.savebar-row .btn.primary{flex:1;max-width:320px}.confirm .page-head h1{font-size:clamp(26px,5.4vw,38px)}.pane-tabs{position:sticky;top:8px;z-index:14;box-shadow:var(--shadow)}.confirm[data-pane=recipe] .confirm-source,.confirm[data-pane=source] .confirm-draft{display:none}.confirm-source{display:flex;flex-direction:column;gap:10px;min-width:0}.source-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}.source-head .textlink{white-space:nowrap}.source-photos{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.source-photos img{width:100%;border-radius:12px;border:1px solid var(--edge);display:block}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;background:var(--card);border:1px solid var(--edge);border-radius:16px;padding:16px}.source-text mark{background:var(--turmeric);color:#1f1b16;border-radius:3px;padding:1px 2px}.confirm-ask{position:fixed;inset:0;z-index:40;background:var(--scrim);display:grid;place-items:center;padding:20px}.confirm-ask .card{max-width:420px;box-shadow:var(--shadow)}@media(min-width:980px){.pane-tabs{display:none}.confirm-cols{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:40px;align-items:start}.confirm[data-pane] .confirm-source,.confirm[data-pane] .confirm-draft{display:flex}.confirm-draft{flex-direction:column;min-width:0}.confirm-source{position:sticky;top:16px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}.source-text{overflow-y:auto;flex:1;min-height:0}.confirm .savebar{margin:0;padding-left:0;padding-right:0}}.page.recipe{position:relative;padding-top:0;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 110px)}.backlink{position:absolute;z-index:3;top:calc(env(safe-area-inset-top,0px) + 12px);left:12px;display:inline-flex;align-items:center;gap:4px;min-height:42px;padding:6px 14px 6px 8px;border:0;border-radius:999px;background:var(--paper);color:var(--ink);font-weight:600;font-size:14px;box-shadow:var(--shadow)}.rp-top{display:flex;flex-direction:column;gap:18px}.rp-photo{margin:0 calc(var(--gutter) * -1);aspect-ratio:4 / 3;max-height:62vh}.rp-intro{display:flex;flex-direction:column;gap:12px}.rp-intro h1{font-family:var(--f-serif);font-weight:600;font-size:clamp(32px,7.4vw,52px);line-height:1.05;letter-spacing:-.018em;text-wrap:balance}.source-line{color:var(--muted);font-size:16px}.times{display:flex;gap:26px;padding:12px 0;border-top:1px solid var(--edge);border-bottom:1px solid var(--edge);margin-top:2px}.times dt{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.times dd{font-weight:700;font-size:19px;line-height:1.35;font-variant-numeric:tabular-nums}.tagline{font-size:14px;color:var(--muted)}.rp-cook-wide{display:none}.rp-body{display:flex;flex-direction:column;gap:34px}.rp-body h2{font-family:var(--f-serif);font-weight:600;font-size:28px;line-height:1.15;letter-spacing:-.01em}.rp-ingredients,.rp-method,.rp-nuances,.rp-main{display:flex;flex-direction:column;gap:14px}.rp-main{gap:34px}.scalecard{background:var(--wash);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px;margin-bottom:8px}.scale-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.stepper{display:inline-flex;align-items:center;gap:4px;background:var(--card);border:1.5px solid var(--line);border-radius:999px;padding:3px}.stepper button{width:42px;height:42px;border-radius:50%;border:0;background:none;display:grid;place-items:center}.stepper button:hover{background:var(--hover)}.stepper button:disabled{opacity:.3;cursor:default}.stepper-value{min-width:104px;text-align:center;font-size:15px}.stepper-value b{font-size:19px;font-weight:700}.seg.units{flex:1 1 230px}.scaled-note{background:var(--turmeric-soft);border:1px solid color-mix(in srgb,var(--turmeric) 50%,transparent);border-radius:12px;padding:10px 12px;font-size:14.5px;line-height:1.45;display:flex;flex-direction:column;gap:4px;align-items:flex-start}.scale-by{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:6px 0;text-decoration:none}.ing-group{display:flex;flex-direction:column;gap:4px}.ing-group+.ing-group{margin-top:10px}.ing-group h3{padding:6px 0 2px;color:var(--accent)}.ing-row{border-bottom:1px solid var(--edge)}.ing-row>button{width:100%;text-align:left;background:none;border:0;padding:13px 2px;min-height:50px;display:flex;align-items:center;gap:10px;font-size:17px;line-height:1.4}.ing-text{flex:1;min-width:0;overflow-wrap:anywhere}.amt{font-weight:700;font-variant-numeric:tabular-nums}.approx{color:var(--muted);font-size:.86em}.lnote{color:var(--muted)}.noamt{display:block;color:var(--muted);font-style:italic;font-size:.84em;line-height:1.3}.frac{position:relative;white-space:nowrap;margin:0 .03em 0 .05em}.frac .fn:before,.frac .fs:before,.frac .fd:before{content:attr(data-v)}.frac .fg{font-size:0}.frac .fn,.frac .fd{font-size:.64em;line-height:1}.frac .fn{vertical-align:.46em}.frac .fs{margin:0 -.07em;font-size:.92em}.frac .fd{vertical-align:-.02em}.ing-row .dot{width:8px;height:8px;border-radius:50%;background:var(--turmeric);flex:none}.ing-more{padding:2px 2px 14px;display:flex;flex-direction:column;gap:6px;color:var(--muted)}.ing-more p:first-child{font-family:var(--f-serif);font-style:italic;font-size:16px;color:var(--ink)}.ing-more .eyebrow{font-family:var(--f-ui);font-style:normal;margin-right:8px}.steps{display:flex;flex-direction:column;gap:26px}.step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px}.step .stepnum{font-size:26px;line-height:1.25}.step-text{font-size:18px;line-height:1.6}.step-uses{margin-top:8px;font-size:14.5px;line-height:1.5;color:var(--muted)}.timer-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.timerbtn{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:7px 14px 7px 11px;border-radius:999px;border:1.5px solid var(--line);background:var(--card);font-weight:600;font-size:14px}.timerbtn:hover{border-color:var(--accent);color:var(--accent)}.nuance-group{display:flex;flex-direction:column;gap:8px}.nuance-group+.nuance-group{margin-top:8px}.nuance-group ul{display:flex;flex-direction:column;gap:12px}.nuance{border-left:3px solid var(--line);padding:2px 0 2px 14px;display:flex;flex-direction:column;gap:6px}.n-watch .nuance,.n-correction .nuance{border-color:var(--turmeric)}.n-why .nuance{border-color:var(--accent)}.n-swap .nuance,.n-ahead .nuance,.n-equipment .nuance{border-color:var(--herb)}.nuance>p{font-size:17px;line-height:1.5}.about{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 8px;vertical-align:2px;white-space:nowrap}.nuance blockquote{font-family:var(--f-serif);font-style:italic;font-size:16px;line-height:1.45;color:var(--muted)}.nuance blockquote .textlink{font-family:var(--f-ui);font-style:normal;font-size:13px;font-weight:600;margin-left:4px;white-space:nowrap}.nuance>.linkish{align-self:flex-start}.inline-add.own{margin-top:6px}.rp-end{padding-top:8px;border-top:1px solid var(--edge)}.rp-end .actions{padding-top:14px}.cookbar{position:fixed;z-index:18;left:0;right:0;bottom:0;padding:12px var(--gutter) calc(env(safe-area-inset-bottom,0px) + 14px);background:linear-gradient(to top,var(--paper) 72%,transparent)}.cookbar .btn{box-shadow:var(--shadow)}@media(min-width:900px){.page.recipe{padding-top:26px;padding-bottom:80px}.backlink{position:static;align-self:flex-start;box-shadow:none;background:none;padding-left:0;color:var(--muted)}.backlink:hover{color:var(--ink)}.rp-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:52px;align-items:center}.rp-photo{order:2;margin:0;border-radius:24px;overflow:hidden;max-height:none;box-shadow:var(--shadow)}.rp-intro{gap:16px}.rp-cook-wide{display:flex;margin-top:6px}.cookbar{display:none}.rp-body{display:grid;grid-template-columns:minmax(300px,400px) minmax(0,1fr);gap:64px;align-items:start;margin-top:14px}.rp-ingredients{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow-y:auto;padding-right:6px;scrollbar-width:thin}.step-text{font-size:19px}.rp-end .btn.ghost:first-child{display:none}}.looks{display:grid;gap:8px}.look{position:relative;min-width:0}.look-open,.look-lost{position:relative;display:block;width:100%;aspect-ratio:4 / 3;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--wash)}.look-open{cursor:zoom-in}.look-open img{display:block;width:100%;height:100%;object-fit:cover}.look-open:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 12%,transparent);pointer-events:none}@media(hover:hover){.look-open img{transition:transform .3s ease}.look-open:hover img{transform:scale(1.04)}}.look-lost{display:grid;place-items:center;color:var(--muted);border:1.5px dashed var(--line)}.looks.is-row{grid-template-columns:repeat(3,minmax(0,116px));margin-top:12px}.looks.is-edit{margin-right:auto;min-width:0;grid-template-columns:repeat(3,minmax(0,92px));gap:16px;padding:8px 9px 0 0}.looks.is-edit[data-n="1"]{grid-template-columns:minmax(0,92px)}.looks.is-edit[data-n="2"]{grid-template-columns:repeat(2,minmax(0,92px))}.look-remove{position:absolute;top:-9px;right:-9px;width:32px;height:32px;box-shadow:var(--shadow)}.look-remove:hover{color:var(--danger)}.looks-note{max-width:62ch}.cook-looks{display:flex;flex-direction:column;gap:10px;margin-top:6px}.looks.is-cook{gap:10px}.looks.is-cook .look-open{border-radius:16px}.looks.is-cook[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.looks.is-cook[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}@media(min-width:860px){.looks.is-row{grid-template-columns:repeat(3,minmax(0,132px));gap:10px;margin-top:14px}.looks.is-cook{gap:14px}.looks.is-cook[data-n="1"]{max-width:560px}}.look-wrap{position:fixed;inset:0;z-index:50;display:flex;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);cursor:zoom-out;animation:look-in .2s ease}.look-card{position:relative;flex:1;min-width:0;margin:auto 0;display:flex;flex-direction:column;gap:16px;padding:calc(env(safe-area-inset-top,0px) + 70px) max(16px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 32px) max(16px,env(safe-area-inset-left,0px))}.look-close{position:fixed;z-index:1;top:calc(env(safe-area-inset-top,0px) + 12px);right:max(14px,env(safe-area-inset-right,0px))}.look-card img{display:block;max-width:100%;max-height:66vh;max-height:66dvh;width:auto;height:auto;margin:0 auto;border-radius:16px;background:var(--wash)}.look-card figcaption{display:flex;flex-direction:column;gap:6px;padding:0 2px}.look-caption{font-family:var(--f-serif);font-size:21px;line-height:1.35;letter-spacing:-.005em;text-wrap:pretty}.look-credit{font-size:14px;color:var(--muted)}@keyframes look-in{0%{opacity:0}to{opacity:1}}@media(min-width:700px){.look-wrap{background:var(--scrim);padding:32px}.look-card{flex:0 1 auto;margin:auto;max-width:min(920px,100%);background:var(--paper);border-radius:24px;padding:18px 18px 20px;box-shadow:var(--shadow)}.look-card img{max-height:calc(100vh - 220px);max-height:calc(100dvh - 220px);border-radius:14px}.look-card figcaption{padding:0 6px}.look-close{position:absolute;top:30px;right:30px;box-shadow:var(--shadow)}}.sheet-wrap{position:fixed;inset:0;z-index:45;background:var(--scrim);display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:560px;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);border-radius:24px 24px 0 0;padding:18px max(20px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 26px) max(20px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:14px;animation:up .28s cubic-bezier(.2,.9,.3,1)}.sheet:focus{outline:none}.sheet-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.sheet-top h2{font-family:var(--f-serif);font-weight:600;font-size:26px;line-height:1.15}@keyframes up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media(min-width:700px){.sheet-wrap{align-items:center}.sheet{border-radius:24px;padding:26px;animation:none;box-shadow:var(--shadow)}}.byline{display:flex;flex-direction:column;gap:12px}.byline-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}.byline-unit{padding-bottom:11px;font-weight:600}.toast{position:fixed;z-index:60;left:50%;transform:translate(-50%);top:calc(env(safe-area-inset-top,0px) + 12px);width:max-content;max-width:min(520px,calc(100% - 28px));background:var(--ink);color:var(--paper);border-radius:14px;padding:11px 16px;font-weight:600;font-size:15px;line-height:1.4;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow);animation:drop .28s cubic-bezier(.2,.9,.3,1)}.toast span{flex:1}.toast button{background:var(--paper);color:var(--ink);border:0;border-radius:10px;padding:6px 10px;font-weight:700;font-size:13px;flex:none}@keyframes drop{0%{transform:translate(-50%,-140%)}to{transform:translate(-50%)}}.tray{position:fixed;z-index:30;left:0;right:0;bottom:14px;display:flex;gap:8px;align-items:flex-end;overflow-x:auto;padding:6px var(--gutter);scrollbar-width:none;pointer-events:none}.tray::-webkit-scrollbar{display:none}.tray>*{pointer-events:auto}.has-nav .tray{bottom:calc(var(--tabbar-h) + 8px)}.has-timers .page{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 190px)}[data-screen=recipe] .tray,[data-screen=edit] .tray,[data-screen=new] .tray,[data-screen=capture] .tray{bottom:calc(env(safe-area-inset-bottom,0px) + 84px)}.tray.in-cook{position:static;padding:8px 16px 4px;flex:none}.timer{flex:none;border-radius:18px;background:var(--ink);color:var(--paper);box-shadow:var(--shadow);overflow:hidden}.timer-face{display:flex;align-items:center;gap:8px;min-height:50px;padding:8px 16px 8px 13px;border:0;background:none;color:inherit;font-weight:600;font-size:15px;width:100%}.timer-label{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.85}.timer-clock{font-size:21px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.01em;margin-left:auto;padding-left:4px}.timer.is-paused .timer-clock{opacity:.6}.timer.is-done{background:var(--accent);color:var(--on-accent);animation:ring 1s ease-in-out infinite alternate}@keyframes ring{0%{box-shadow:0 0 color-mix(in srgb,var(--accent) 55%,transparent)}to{box-shadow:0 0 0 9px transparent}}.timer-tools{display:flex;gap:6px;padding:0 8px 8px}.timer-tools button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:6px 12px;border-radius:12px;border:0;white-space:nowrap;background:color-mix(in srgb,currentColor 16%,transparent);color:inherit;font-weight:600;font-size:14px}@media(min-width:860px){.tray,.has-nav .tray,[data-screen] .tray{bottom:22px;justify-content:flex-end}.tray.in-cook{justify-content:center}}.cook{position:fixed;inset:0;z-index:40;background:var(--paper);display:flex;flex-direction:column}.cook-top{display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;flex:none}.cook-where{min-width:0;flex:1}.cook-recipe{font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cook-count{font-weight:700;font-size:17px;line-height:1.25}.cook-progress{height:4px;background:var(--track);flex:none}.cook-progress i{display:block;height:100%;background:var(--accent);border-radius:0 2px 2px 0;transition:width .3s ease}.cook-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.cook-page{max-width:900px;margin:0 auto;padding:26px 22px 40px}.cook-nav{flex:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:10px;padding:10px 14px calc(env(safe-area-inset-bottom,0px) + 14px);border-top:1px solid var(--edge);background:var(--paper)}.cook-nav .btn.big{min-height:62px;font-size:19px;padding:10px 14px}.mise,.cook-step,.cook-done{display:flex;flex-direction:column;gap:16px}.mise h1,.cook-done h1{font-family:var(--f-serif);font-weight:600;font-size:clamp(34px,8vw,56px);line-height:1.05;letter-spacing:-.018em}.awake-note{font-size:15px;background:var(--wash);border-radius:12px;padding:10px 12px;color:var(--muted)}.mise-count{font-weight:700;font-size:15px;color:var(--herb);margin-top:4px}.mise-group{display:flex;flex-direction:column;gap:2px}.mise-group h2{color:var(--accent);padding-top:10px}.mise-row{display:flex;align-items:center;gap:16px;min-height:64px;padding:12px 2px;border-bottom:1px solid var(--edge);font-size:clamp(20px,4.6vw,26px);line-height:1.3;cursor:pointer}.mise-row input{position:absolute;opacity:0;width:1px;height:1px}.tick{width:34px;height:34px;flex:none;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;color:transparent;transition:background .15s,border-color .15s}.mise-row input:focus-visible+.tick{outline:2.5px solid var(--focus);outline-offset:2px}.mise-row.done .tick{background:var(--herb);border-color:var(--herb);color:var(--paper)}.mise-row.done .mise-text{color:var(--muted);opacity:.62}.mise-row.done .amt{font-weight:600}.mise-before{display:flex;flex-direction:column;gap:8px;margin-top:18px}.mise-text{flex:1;min-width:0;overflow-wrap:anywhere}.cook-num{font-family:var(--f-serif);font-weight:500;font-size:clamp(56px,13vw,96px);line-height:.9;color:var(--accent);font-variant-numeric:lining-nums}.cook-text{font-size:clamp(27px,1.15rem + 2.5vw,44px);line-height:1.3;font-weight:500;letter-spacing:-.012em;text-wrap:pretty}.cook-timers{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.timer-start{min-height:58px;font-size:18px;padding:10px 22px;border-color:var(--accent);color:var(--accent)}.timer-start:disabled{opacity:1;border-color:var(--line);color:var(--muted)}.cook-uses{margin-top:10px;padding-top:18px;border-top:1px solid var(--edge);display:flex;flex-direction:column;gap:8px}.cook-uses li{font-size:clamp(20px,1rem + 1.2vw,27px);line-height:1.35;padding:5px 0}.cook-notes{display:flex;flex-direction:column;gap:10px;margin-top:6px}.cook-notes li{background:var(--wash);border-left:4px solid var(--turmeric);border-radius:4px 14px 14px 4px;padding:12px 16px;font-size:clamp(18px,1rem + .7vw,23px);line-height:1.4;display:flex;flex-direction:column;gap:4px}.cook-notes li.n-why{border-color:var(--accent)}.cook-notes li.n-swap,.cook-notes li.n-ahead,.cook-notes li.n-equipment{border-color:var(--herb)}.cook-done{padding-top:12vh}@media(min-width:860px){.cook-top{padding:16px 28px}.cook-page{padding:48px 40px 60px}.cook-nav{grid-template-columns:220px 340px;justify-content:center;padding:16px 28px 20px}.cook-step{gap:22px}}.set-sec{display:flex;flex-direction:column;gap:12px;padding-top:22px;border-top:1px solid var(--edge)}.set-sec>h2{font-family:var(--f-serif);font-weight:600;font-size:24px;line-height:1.2}.set-sec>.btn{align-self:flex-start}.settings .page-head+.set-sec{border-top:0;padding-top:0}.spend{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.spend-big{font-weight:700;font-size:38px;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.meter{height:8px;border-radius:4px;background:var(--track);overflow:hidden}.meter>i{display:block;height:100%;border-radius:4px;background:var(--herb)}.meter.over>i{background:var(--danger)}ol.how{list-style:decimal;padding-left:22px;display:flex;flex-direction:column;gap:10px}ol.how li::marker{font-family:var(--f-serif);font-weight:600;color:var(--accent)}.bookmarklet{display:inline-flex;align-items:center;gap:8px;margin:8px 0 2px;padding:9px 16px;border-radius:10px;border:1.5px dashed var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:700;font-size:15px;text-decoration:none;cursor:grab}li>.bookmarklet{display:flex;width:max-content}@media(prefers-reduced-motion:reduce){.sheet,.toast,.timer.is-done,.is-working .review-dot,.look-wrap{animation:none}.stage.is-now .stage-mark{animation-duration:2.4s}.cook-progress i,.rcard .photo,.look-open img{transition:none}}
