/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.mb-\[1\.25rem\]{margin-bottom:1.25rem}.mb-\[1rem\]{margin-bottom:1rem}.inline{display:inline}.h-\[1px\]{height:1px}.h-full{height:100%}.w-\[1px\]{width:1px}.w-full{width:100%}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{color:#14201f;--background:#f4f7f6;--foreground:#14201f;--accent:#0d8065;--accent-dark:#095848;--danger:#b42318;--card:#fff;--border:#d5dedc;background:#f4f7f6;font-family:"Source Sans 3",system-ui,sans-serif;line-height:1.5}*{box-sizing:border-box}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}body{min-height:100vh;margin:0}a{color:var(--accent-dark);text-decoration:none}a:hover{text-decoration:underline}.shell{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--card);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.75rem 1.25rem;display:flex}.brand{font-size:1.1rem;font-weight:700}.nav{align-items:center;gap:1rem;display:flex}.nav a{font-weight:600}.nav a.active{color:var(--accent)}.offline-badge{color:#8a4b12;background:#fff3e0;border-radius:999px;padding:.2rem .55rem;font-size:.8rem;font-weight:700}.sync-badge{color:var(--accent-dark);background:#e8f5f1;border-radius:999px;padding:.2rem .55rem;font-size:.8rem;font-weight:700}.main{flex:1;width:100%;max-width:960px;margin:0 auto;padding:1.25rem}h1{margin:0 0 .5rem;font-size:1.75rem}h2{margin:0 0 .5rem;font-size:1.15rem}.muted{color:#5a6a68}.page-footer{border-top:none;margin-top:2.5rem;padding-top:1.25rem}.page-footer p{margin:0 0 .75rem;font-size:.9rem}.small{font-size:.9rem}.btn{border:1px solid var(--border);background:var(--card);cursor:pointer;font:inherit;border-radius:8px;padding:.45rem .85rem}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn.ghost{background:0 0}.btn.danger{color:var(--danger);border-color:#f4c7c2}.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1rem 1.25rem}.field{flex-direction:column;gap:.35rem;margin-bottom:.75rem;display:flex}.field span{font-size:.9rem;font-weight:600}.field input,.field textarea,.field select{font:inherit;border:1px solid var(--border);background:var(--card);border-radius:8px;padding:.5rem .65rem}.field textarea{resize:vertical;width:100%;max-width:100%}.field.inline{flex-direction:row;align-items:center;gap:.5rem}.check{align-items:center;gap:.45rem;font-weight:500;display:flex}.check input[type=checkbox]{appearance:none;border:2px solid var(--border);background:var(--card);cursor:pointer;border-radius:8px;place-content:center;width:1.35rem;height:1.35rem;margin:0;transition:background .12s,border-color .12s,box-shadow .12s,transform .12s;display:inline-grid}.check input[type=checkbox]:after{content:"";opacity:0;border-bottom:3px solid #fff;border-left:3px solid #fff;width:.55rem;height:.3rem;transform:translateY(-1px)rotate(-45deg)}.check input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 3px #0d80652e}.check input[type=checkbox]:checked:after{opacity:1}.check input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.check input[type=checkbox]:active{transform:scale(.98)}.row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.row.end{justify-content:flex-end}.row.wrap{flex-wrap:wrap}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.stat{background:var(--card);border:1px solid var(--border);border-radius:12px;min-width:0;padding:.75rem 1rem}.stat-label{color:#5a6a68;font-size:.85rem;display:block}.stat-value{font-size:1.5rem;font-weight:700}.toolbar{margin-bottom:1rem}.shop-toolbar{margin-bottom:1.25rem}.shop-reorder-hint{margin:-.35rem 0 1rem}.recipe-list{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.recipe-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:.85rem 1rem}.recipe-card-head{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.recipe-card-head a{font-size:1.05rem;font-weight:700}.pill{color:var(--accent-dark);background:#e8f5f1;border-radius:999px;padding:.15rem .5rem;font-size:.75rem;font-weight:600}.pill-extra{color:#4a148c;background:#ede7f6}.error{color:var(--danger)}.banner{background:#fdecea;border:1px solid #f4c7c2;border-radius:8px;margin-bottom:1rem;padding:.65rem .85rem}.auth-wrap{place-items:center;min-height:100vh;padding:1rem;display:grid}.auth-card{width:100%;max-width:380px}.auth-card h1{margin-bottom:.25rem}.modal-backdrop{z-index:50;background:#14201f59;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{width:min(640px,100%);max-height:90vh;overflow:auto}.recipe-split{grid-template-columns:minmax(220px,280px) 1fr;align-items:start;gap:1.25rem;margin-top:1.25rem;display:grid}.recipe-ingredients{background:var(--card);border:1px solid var(--border);border-radius:12px;max-height:calc(100vh - 4rem);padding:1rem;position:sticky;top:1rem;overflow:auto}.recipe-ingredients ul{margin:0;padding-left:1.1rem}.recipe-steps{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1rem}.recipe-steps ol{margin:0;padding-left:1.25rem}.recipe-steps li{margin-bottom:.65rem}.breadcrumb{margin:0 0 .75rem}.aisle-block{margin-top:1.25rem}.aisle-block-head{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.35rem;display:flex}.aisle-block-head h2{flex:1;min-width:0;margin:0;font-size:1.15rem}.btn.aisle-add-btn{width:2rem;height:2rem;color:var(--accent-dark);background:var(--card);border:1px solid var(--border);border-radius:8px;flex-shrink:0;padding:0;font-size:1.35rem;font-weight:600;line-height:1}.btn.aisle-add-btn:hover{border-color:var(--accent);background:#e8f5f1}.shop-ingredient-form .field-qty-unit .qty-unit-row{flex-direction:row;align-items:stretch;gap:.5rem;display:flex}.shop-ingredient-form .shop-form-qty{flex-shrink:0;width:5.25rem}.shop-ingredient-form .shop-form-unit{flex:1;min-width:0}.shop-form-aisle-hint{margin:-.15rem 0 .65rem}.shop-list{margin:0;padding:0;list-style:none}.shop-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.shop-list li.checked{opacity:1;text-decoration:none}.shop-list li.shop-li-dragging{opacity:.55;background:#0d806514;border-radius:10px;animation:.75s ease-in-out infinite alternate shop-drag-pulse;box-shadow:0 0 0 2px #0d806540}@keyframes shop-drag-pulse{0%{box-shadow:0 0 0 2px #0d80652e}to{box-shadow:0 0 0 2px #0d806561}}.shop-list li.checked .shop-line-qty,.shop-list li.checked .shop-line-name{opacity:.6;text-decoration:line-through}.shop-list li.shop-li-dragging .shop-drag-handle{cursor:grabbing;border-color:var(--accent);background:#0d80652e}.shop-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;color:var(--accent-dark);letter-spacing:-.12em;background:#0d80650f;border:1px solid #0000;border-radius:12px;flex-shrink:0;align-self:center;margin:-.45rem 0;padding:.55rem .45rem;font-size:1rem;line-height:1}.shop-drag-handle:hover{border-color:var(--accent);background:#0d80651f}.shop-drag-handle:active{cursor:grabbing}.shop-line-actions{flex-shrink:0;align-items:center;gap:.35rem;display:flex}.shop-list li.checked .shop-line-actions .btn.ghost.danger{opacity:1;background:#b4231814}.shop-reorder-btns{flex-direction:column;gap:.05rem;display:flex}.btn.icon{min-width:2rem;padding:.15rem .3rem;font-size:.8rem;line-height:1.1}.shop-line-main{flex:1;align-items:center;gap:.5rem;min-width:0;display:flex}.shop-line-check{flex-shrink:0;align-self:center;padding-top:0}.shop-line-edit{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-wrap:wrap;flex:1;align-items:baseline;gap:.35rem .5rem;margin:-.15rem 0;padding:.2rem .35rem;display:flex}.shop-line-edit:hover{background:#e8f0ee}.shop-line-edit:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shop-line-qty{flex-shrink:0}.shop-line-name{word-break:break-word}.manual-form{margin-bottom:1.5rem}.grid-2{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.bigbutton{justify-content:center;align-items:center;width:40px;height:40px;font-size:1.5rem;font-weight:700;display:flex}.mobile-only{display:none}@media (width<=720px){.stats{grid-template-columns:1fr 1fr}.import-header-btn{display:none}.mobile-only{display:block}.recipe-split{grid-template-columns:1fr}.recipe-ingredients{max-height:none;position:static}.grid-2{grid-template-columns:1fr}.modal-backdrop{padding:max(.35rem, env(safe-area-inset-top,0px)) .75rem 1rem;justify-content:center;align-items:flex-start;display:flex}.modal-backdrop .card.modal{width:100%;max-width:none;max-height:min(92vh, calc(100dvh - env(safe-area-inset-top,0px) - 1.25rem));border-radius:0 0 14px 14px;margin:0;padding:.85rem .9rem}.modal-backdrop .card.modal textarea{max-height:42vh;overflow:auto}}
