:root{--accent:#b5462f;--bg:#fffaf5;--text:#2b2420;--muted:#6f625a;--line:#eadfd6;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}.screen{max-width:40rem;padding:max(1rem, env(safe-area-inset-top)) 1rem 2rem;margin:0 auto}.screen.narrow{max-width:24rem;padding-top:3rem}h1{margin:0 0 1rem;font-size:1.6rem}.stack{gap:1rem;display:grid}.row{flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;display:flex}label{gap:.25rem;font-weight:600;display:grid}input{font:inherit;border:1px solid var(--line);background:#fff;border-radius:.5rem;padding:.7rem .8rem;font-weight:400}button{font:inherit;background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:.5rem;padding:.7rem 1.1rem;font-weight:600}button.secondary{color:var(--accent);border:1px solid var(--accent);background:0 0}button.link{color:var(--accent);background:0 0;border:0;padding:.25rem 0;font-weight:600;text-decoration:underline}button.google{width:100%;color:var(--text);border:1px solid var(--line);background:#fff}.or{text-align:center;margin:1rem 0}button:disabled{opacity:.6;cursor:default}.row.tight{margin-top:0}.row.links{justify-content:space-between}.choices{gap:.6rem;margin:1rem 0 1.25rem;padding:0;list-style:none;display:grid}.choices li{align-items:baseline;gap:.5rem;display:flex}button.choice{text-align:left;color:var(--text);border:1px solid var(--line);background:#fff;flex:1;font-size:1.1rem}.muted{color:var(--muted)}.error{color:#9b1c1c}.book-switcher{background:var(--line);border-radius:.75rem;gap:.25rem;margin:0 0 .75rem;padding:.25rem;display:flex;overflow-x:auto}.book-switcher label{min-height:44px;color:var(--muted);white-space:nowrap;cursor:pointer;border-radius:.55rem;flex:1 0 auto;justify-content:center;align-items:center;padding:0 1rem;display:flex;position:relative}.book-switcher label.picked{color:var(--text);background:#fff;box-shadow:0 1px 2px #00000026}.book-switcher input{appearance:none;border-radius:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;position:absolute;inset:0}.book-switcher input:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.book-header{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;padding-bottom:.5rem;display:flex}.book-title{flex-wrap:wrap;align-items:baseline;gap:.75rem;display:flex}.book-title h1{margin:0}.sync-status{color:var(--muted);white-space:nowrap;margin:0;font-size:.85rem}.sync-status.failed{color:#9b1c1c}a.button{background:var(--accent);color:#fff;border-radius:.5rem;align-items:center;min-height:44px;padding:.55rem 1.1rem;font-weight:600;text-decoration:none;display:inline-flex}.search{margin:.75rem 0 .25rem}.search input{appearance:none;width:100%;font-size:max(1rem,16px)}.list-bar{justify-content:flex-end;display:flex}.switch{min-height:44px;color:var(--muted);cursor:pointer;align-items:center;gap:.6rem;font-size:.95rem;display:inline-flex}.switch input{appearance:none;background:var(--line);cursor:pointer;border:0;border-radius:.8rem;flex:none;width:2.75rem;height:1.6rem;margin:0;padding:0;transition:background .15s;position:relative}.switch input:before{content:"";background:#fff;border-radius:50%;width:1.2rem;height:1.2rem;transition:transform .15s;position:absolute;top:.2rem;left:.2rem;box-shadow:0 1px 2px #00000040}.switch input:checked{background:var(--accent)}.switch input:checked:before{transform:translate(1.15rem)}.switch input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.recipe-list{margin:0;padding:0;list-style:none}.recipe-list li{border-bottom:1px solid var(--line);font-size:1.05rem}.recipe-list a{color:inherit;padding:.9rem .25rem;text-decoration:none;display:block}.recipe-list a:active{background:var(--line)}.waiting-to-sync{background:var(--line);color:var(--muted);white-space:nowrap;vertical-align:middle;border-radius:1rem;margin:0;padding:.05rem .5rem;font-size:.8rem;font-weight:600;display:inline-block}p.waiting-to-sync{margin:0 0 1rem}.not-sent{background:#fff;border:1px solid #e3b5ad;border-left:4px solid #9b1c1c;border-radius:.5rem;margin:.5rem 0 .75rem;padding:.25rem .9rem .5rem}.not-sent h2{color:#9b1c1c;margin:.5rem 0 .1rem;font-size:1rem}.not-sent ul{margin:0;padding:0;list-style:none}.not-sent li{align-items:center;gap:.75rem;padding:.4rem 0;display:flex}.not-sent li+li{border-top:1px solid var(--line)}.not-sent p{flex:1;margin:0}.not-sent button{min-width:44px;min-height:44px}.top-bar{z-index:1;background:var(--bg);border-bottom:1px solid var(--line);padding:env(safe-area-inset-top) max(.5rem, env(safe-area-inset-right)) 0 max(.5rem, env(safe-area-inset-left));position:sticky;top:0}.back-link{min-height:48px;color:var(--accent);align-items:center;gap:.3rem;padding:0 .5rem;font-size:1.05rem;font-weight:600;text-decoration:none;display:inline-flex}.back-link .chevron{margin-top:-.15em;font-size:1.8rem;line-height:1}.screen.recipe{padding-top:1rem;font-size:1.1rem}.recipe h1{margin-bottom:.25rem}.byline{color:var(--muted);margin:0 0 1rem}.recipe-actions{flex-wrap:wrap;gap:.5rem;margin:0 0 1rem;display:flex}.recipe-actions button{min-height:44px;padding:.55rem 1.1rem}.share-dialog .choices{margin:.75rem 0 0}.share-dialog button.choice{min-height:48px}.share-dialog .row{align-items:center}a.button.secondary{color:var(--accent);border:1px solid var(--accent);background:0 0}.photos{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:.5rem;margin:0 -1rem 1rem;padding:0 1rem;list-style:none;display:flex;overflow-x:auto}.photos li{scroll-snap-align:center;flex:none}.photos img,.photo-placeholder{background:var(--line);border-radius:.75rem;max-width:calc(100vw - 3rem);height:min(55vh,20rem);display:block}.photos img{object-fit:cover;width:auto}.photo-placeholder{width:min(75vw,26rem);color:var(--muted);text-align:center;place-items:center;padding:1rem;font-size:.95rem;display:grid}.recipe-section h2{margin:1.75rem 0 .5rem;font-size:1.25rem}.recipe-section ul,.recipe-section ol{margin:0 0 .75rem;padding-left:1.5rem}.recipe-section li{margin:.4rem 0;padding-left:.2rem}.recipe-section li>p{margin:0}.recipe-section p{margin:0 0 .75rem}.frac-num,.frac-den{font-size:.7em;position:relative}.frac-num{top:-.4em}.frac-den{top:.1em}.frac-slash{margin:0 .03em}.app-version{text-align:center;padding:1rem 1rem max(1rem, env(safe-area-inset-bottom));font-size:.75rem}.editor-bar{min-height:56px;padding-bottom:.4rem;padding-top:max(.4rem, env(safe-area-inset-top));justify-content:space-between;align-items:center;display:flex}.editor-bar button{min-height:44px}.editor-bar button.link{padding:.25rem .5rem;font-size:1.05rem;text-decoration:none}.draft-status{text-align:center;min-width:0;color:var(--muted);flex:1;margin:0 .5rem;font-size:.8rem;line-height:1.2}.draft-status.failed{color:#9b1c1c}.screen.editor{padding-top:1rem}.editor label,.editor input,.editor select{font-size:1.05rem}.editor select{appearance:none;min-height:44px;font:inherit;color:var(--text);border:1px solid var(--line);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f625a' stroke-width='1.6'/%3E%3C/svg%3E") right .9rem center/.75rem no-repeat;border-radius:.5rem;padding:.7rem 2.4rem .7rem .8rem;font-weight:400}.field-label{font-size:1.05rem;font-weight:600}.field-problem{margin:-.5rem 0 0}.rich-text-box{gap:.25rem;display:grid}.toolbar{gap:.25rem;display:flex}button.tool{min-width:44px;min-height:44px;color:var(--text);border:1px solid var(--line);background:#fff;place-items:center;padding:.3rem .5rem;font-weight:400;display:inline-grid}button.tool[aria-pressed=true]{background:var(--line);border-color:var(--muted)}button.tool svg{fill:currentColor;stroke:currentColor;stroke-width:1.6px;width:1.25rem;height:1.25rem;font-size:7px;font-weight:700}button.tool svg text{stroke:none}.tool-menu{display:flex;position:relative}.tool-fraction{font-size:1.25rem;line-height:1}.fraction-menu{z-index:2;border:1px solid var(--line);background:#fff;border-radius:.5rem;grid-template-columns:repeat(3,1fr);gap:.25rem;padding:.35rem;display:grid;position:absolute;top:calc(100% + .25rem);right:0;box-shadow:0 6px 20px #00000026}.fraction-menu button{min-width:48px;min-height:48px;color:var(--text);border:1px solid var(--line);background:#fff;padding:0;font-size:1.35rem;font-weight:400}.fraction-menu button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.rich-text{border:1px solid var(--line);overflow-wrap:anywhere;background:#fff;border-radius:.5rem;outline:none;min-height:9rem;padding:.6rem .8rem;font-size:1.05rem;font-weight:400;line-height:1.5}.rich-text:focus{border-color:var(--accent);box-shadow:0 0 0 2px #b5462f33}.rich-text p{margin:0 0 .5rem}.rich-text ul,.rich-text ol{margin:0 0 .5rem;padding-left:1.5rem}.rich-text li>p{margin:0}.rich-text>:last-child{margin-bottom:0}.drafts{border:1px solid var(--line);border-left:4px solid var(--accent);background:#fff;border-radius:.5rem;margin:.5rem 0 .75rem;padding:.25rem .9rem .4rem}.drafts h2{margin:.5rem 0 .1rem;font-size:1rem}.drafts ul{margin:0;padding:0;list-style:none}.drafts li{flex-wrap:wrap;align-items:baseline;column-gap:.5rem;display:flex}.drafts li+li{border-top:1px solid var(--line)}.drafts a{min-height:44px;color:var(--accent);align-items:center;font-size:1.05rem;font-weight:600;display:inline-flex}.drafts .muted{font-size:.85rem}.book-links{gap:1.25rem;margin:0 0 .25rem;display:flex}.book-links a{min-height:44px;color:var(--accent);align-items:center;font-weight:600;text-decoration:none;display:inline-flex}.byline a{color:inherit}.people-add{margin-top:1.25rem}.person-actions{margin:0 0 1rem}.rename-form{margin-bottom:1.25rem}.saved{align-self:center;margin:0}.author-picker{gap:.6rem}button.add-person{justify-self:start;min-height:44px}.add-person-form{border:1px solid var(--line);background:#fff;border-radius:.5rem;gap:.6rem;padding:.75rem}.add-person-form .row button,.rename-form .row button{min-height:44px}.hint{margin:0;font-size:.9rem}dialog.confirm{max-width:min(24rem,100vw - 2rem);color:var(--text);background:var(--bg);border:0;border-radius:.75rem;padding:1.25rem;box-shadow:0 10px 40px #00000040}dialog.confirm::backdrop{background:#00000059}dialog.confirm h2{overflow-wrap:anywhere;margin:0 0 .5rem;font-size:1.25rem}dialog.confirm .row{justify-content:flex-end;margin-top:1rem}button.danger{background:#9b1c1c}dialog.confirm .row button{min-height:44px}.settings-section+.settings-section{border-top:1px solid var(--line);margin-top:2rem;padding-top:1.5rem}.settings-section .row button{min-height:44px}.settings-section .row+.hint{margin-top:.5rem}.photo-picker{justify-items:start;gap:.5rem;display:grid}.photo-picker .hint{margin:0;font-size:.95rem}.photo-picker [role=alert] p{margin:0}.attached-photos{flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.attached-photos li{position:relative}.attached-photos img,.photo-preparing{background:var(--line);object-fit:cover;border-radius:.5rem;width:6.5rem;height:6.5rem;display:block}.photo-preparing{text-align:center;color:var(--muted);place-items:center;padding:.4rem;font-size:.8rem;display:grid}button.remove-photo{color:#fff;background:0 0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute;top:-.4rem;right:-.4rem}button.remove-photo span{background:#000000a6;border-radius:50%;place-items:center;width:1.75rem;height:1.75rem;font-size:1.2rem;line-height:1;display:grid}label.add-photos{border:1px solid var(--accent);min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border-radius:.5rem;align-items:center;padding:.55rem 1.1rem;font-weight:600;display:inline-flex;position:relative}label.add-photos input{opacity:0;width:100%;height:100%;cursor:inherit;position:absolute;inset:0}label.add-photos:focus-within{box-shadow:0 0 0 3px #b5462f4d}label.add-photos.off{opacity:.5;cursor:default}.member-list{margin:1rem 0 1.5rem;padding:0;list-style:none}.member-list li{border-bottom:1px solid var(--line);align-items:center;gap:.75rem;min-height:56px;display:flex}.member-email{overflow-wrap:anywhere;flex:1;min-width:0}.member-list button{min-height:44px;padding:.4rem .9rem}.add-member input{font-size:1.05rem}
