/*! tailwindcss v4.2.1 | 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{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.blur{--tw-blur:blur(8px);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,)}}:root{--background:#fff5e8;--surface:#fffdf7;--ink:#49352b;--muted:#775a48;--line:#ead7c3;--accent:#ad4030;--accent-hover:#923427;--accent-text:#fff;--subtle:#f8ead7;--cover:#f6e2cc;--error:#a02d25;--focus:#ad4030;--paper-shadow:#77492612;--glass-fill:#fffdf7e0;--glass-edge:#fffdf7;--glass-shadow:#7749261c;--segment-track:#f1dcc657;--segment-edge:#b98b6133;--segment-glint:#fffdf7d9;--segment-fill:#fffdf7b8;--segment-shadow:#89532c26;--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--background:#251c17;--surface:#34271f;--ink:#fff0df;--muted:#d7bca6;--line:#5c4435;--accent:#ffac8c;--accent-hover:#ffc1a9;--accent-text:#3d190f;--subtle:#453124;--cover:#3f2d22;--error:#ffb0a6;--focus:#ffac8c;--paper-shadow:#00000040;--glass-fill:#34271fe0;--glass-edge:#ffffff26;--glass-shadow:#00000040;--segment-track:#170e0861;--segment-edge:#edbf9726;--segment-glint:#ffead43d;--segment-fill:#73543e99;--segment-shadow:#10080359;--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--background:#251c17;--surface:#34271f;--ink:#fff0df;--muted:#d7bca6;--line:#5c4435;--accent:#ffac8c;--accent-hover:#ffc1a9;--accent-text:#3d190f;--subtle:#453124;--cover:#3f2d22;--error:#ffb0a6;--focus:#ffac8c;--paper-shadow:#00000040;--glass-fill:#34271fe0;--glass-edge:#ffffff26;--glass-shadow:#00000040;--segment-track:#170e0861;--segment-edge:#edbf9726;--segment-glint:#ffead43d;--segment-fill:#73543e99;--segment-shadow:#10080359;--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{background:var(--background);-webkit-text-size-adjust:100%;min-width:0;scroll-padding-top:20px}body{background:var(--background);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.6}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}:is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--focus);outline-offset:3px}::selection{color:var(--accent-text);background:var(--accent)}.muted{color:var(--muted)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:5;background:var(--surface);border-radius:12px;padding:12px 20px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:12px}.site-header{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;max-width:1240px;min-height:76px;margin:auto;padding:12px 28px;display:flex}.wordmark{min-height:44px;color:var(--accent);letter-spacing:.04em;white-space:nowrap;align-items:center;font-family:Songti SC,Noto Serif SC,SimSun,serif;font-size:25px;font-weight:700;display:inline-flex}.header-actions{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.quiet-button{color:var(--muted);background:0 0;border-radius:10px;min-height:44px;padding:8px 12px}.quiet-button:hover{color:var(--ink);background:var(--subtle)}.theme-toggle{justify-content:center;align-items:center;gap:6px;display:inline-flex}.primary-button,.secondary-button{white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 20px;font-weight:600;line-height:1.5;transition:background-color .16s;display:inline-flex}.primary-button{background:var(--accent);color:var(--accent-text)}.primary-button:hover:not(:disabled){background:var(--accent-hover)}.secondary-button{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.secondary-button:hover:not(:disabled){background:var(--subtle)}.text-button{min-height:44px;color:var(--accent);text-underline-offset:5px;background:0 0;padding:7px 0;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.text-button:hover{text-decoration-color:currentColor}.library{max-width:1240px;margin:auto;padding:32px 28px 64px}.library-heading{margin-bottom:24px}.welcome-copy{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.library-heading h1{letter-spacing:.02em;font-size:34px;font-weight:700;line-height:1.4}.library-toolbar{flex-wrap:wrap;align-items:center;gap:12px 24px;display:flex}.category-tabs{isolation:isolate;border:1px solid var(--segment-edge);background:var(--subtle);min-width:0;max-width:560px;box-shadow:inset 0 1px 0 var(--segment-glint), 0 2px 8px var(--paper-shadow);border-radius:28px;flex:1;grid-template-columns:repeat(7,minmax(44px,1fr));gap:2px;padding:4px;display:grid;position:relative}.category-indicator,.category-tabs:not([data-indicator-ready]) button[aria-pressed=true]{border:1px solid var(--segment-glint);background:var(--surface);box-shadow:0 2px 7px var(--segment-shadow), inset 0 1px 0 var(--segment-glint), inset 0 -1px 0 var(--segment-edge);border-radius:23px}.category-indicator{z-index:0;width:var(--segment-width);height:var(--segment-height);transform:translate(var(--segment-x), var(--segment-y));opacity:0;pointer-events:none;position:absolute;top:0;left:0}.category-tabs[data-indicator-ready] .category-indicator{opacity:1;transition:transform .28s cubic-bezier(.22,1,.36,1),width .28s,height .28s}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.category-tabs{background:linear-gradient(160deg, var(--segment-glint), transparent 45%), var(--segment-track);-webkit-backdrop-filter:blur(20px)saturate(1.3);backdrop-filter:blur(20px)saturate(1.3)}.category-indicator,.category-tabs:not([data-indicator-ready]) button[aria-pressed=true]{background:linear-gradient(155deg, var(--segment-glint), transparent 55%), var(--segment-fill)}}.category-tabs button{z-index:1;color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:23px;min-width:44px;min-height:44px;padding:8px 10px;transition:color .16s,background-color .16s;position:relative}.category-tabs button[aria-pressed=true]{color:var(--accent);font-weight:600}.category-tabs button:active{background:var(--segment-track)}@media (hover:hover){.category-tabs button:hover:not([aria-pressed=true]){color:var(--accent);background:var(--segment-track)}}.search-field{flex-shrink:0;width:288px;position:relative}.search-field>svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-field input{background:var(--surface);border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);border-radius:12px;padding:10px 44px}.search-field input::-webkit-search-cancel-button{-webkit-appearance:none}.clear-search{width:44px;height:44px;color:var(--muted);background:0 0;border-radius:10px;place-items:center;display:grid;position:absolute;top:2px;right:2px}.clear-search:hover{background:var(--subtle)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.results-heading{min-height:68px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:14px;display:flex}.results-heading p{overflow-wrap:anywhere}.results-heading button{white-space:nowrap}.results-summary{flex-wrap:wrap;align-items:center;gap:8px 16px;min-width:0;display:flex}.favorite-filter{border:1px solid var(--line);min-height:44px;color:var(--accent);background:var(--surface);border-radius:10px;padding:8px 12px;font-weight:600}.favorite-filter span{font-variant-numeric:tabular-nums;margin-left:8px;font-size:13px}.favorite-filter[aria-pressed=true]{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.favorite-filter:hover:not(:disabled):not([aria-pressed=true]){background:var(--subtle)}.recipe-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px;display:grid}.recipe-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-direction:column;min-width:0;padding:7px;display:flex}.recipe-photo{aspect-ratio:4/3;background:var(--subtle);border-radius:10px;width:100%;display:block;overflow:hidden}.recipe-photo img{object-fit:cover;width:100%;height:100%;transition:transform .18s}@media (hover:hover){.recipe-photo:hover img{transform:scale(1.025)}}.photo-empty{width:100%;height:100%;color:var(--muted);background:var(--subtle);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:14px;display:flex}.recipe-card-content{flex-direction:column;flex:1;align-items:flex-start;min-width:0;padding:12px 9px 4px;display:flex}.recipe-meta{width:100%;color:var(--muted);justify-content:space-between;gap:8px;margin-bottom:5px;font-size:12px;display:flex}.recipe-meta span{font-variant-numeric:tabular-nums}.recipe-card h2{overflow-wrap:anywhere;margin-bottom:6px;font-size:21px;font-weight:650;line-height:1.45}.recipe-card h2 a:hover{color:var(--accent)}.recipe-summary{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin-bottom:8px;font-size:14px;line-height:1.7;display:-webkit-box;overflow:hidden}.recipe-edit{font-size:14px}.recipe-card[data-favorite=true] .favorite-button{color:var(--accent)}.recipe-card-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;margin-top:auto;padding-top:4px;display:grid}.recipe-card-actions .recipe-edit{justify-self:start}.favorite-button{border:1px solid var(--line);min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:14px;font-weight:500;display:inline-flex}.favorite-button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--subtle)}.favorite-button:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:var(--subtle)}.favorite-error{grid-column:1/-1}.favorite-error a{text-underline-offset:3px;text-decoration:underline}.empty-state{text-align:center;border:1px dashed var(--line);background:var(--surface);border-radius:16px;padding:56px 20px}.empty-state h2{margin-bottom:20px;font-size:24px}.empty-state p{color:var(--muted);margin-bottom:24px}.loading-screen{min-height:100svh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex}.auth-page{flex-direction:column;min-height:100svh;padding-bottom:40px;display:flex}.auth-page .site-header{width:100%;margin-block:0}.auth-layout{border:1px solid var(--line);background:var(--surface);border-radius:20px;grid-template-columns:1.15fr 1fr;width:min(1000px,100% - 56px);margin:auto;display:grid;overflow:hidden}.auth-photo{min-height:480px;position:relative}.auth-photo img{object-fit:cover;width:100%;height:100%;position:absolute}.auth-content{align-self:center;padding:40px}.auth-content h1{font-size:clamp(26px,3vw,34px);font-weight:700;line-height:1.4}.auth-form{gap:24px;margin-top:32px;display:grid}.auth-form input{letter-spacing:.12em}label{gap:8px;min-width:0;font-size:15px;font-weight:500;display:grid}label input:not([type=file]),label select,label textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:48px;color:var(--ink);border-radius:10px;padding:11px 14px;font-size:16px;font-weight:400}label textarea{resize:vertical;line-height:1.8}label small{color:var(--muted);font-size:13px;font-weight:400}input[type=file]{width:100%;min-width:0;font-size:16px}input::file-selector-button{font:inherit;cursor:pointer;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;min-height:44px;margin-right:10px;padding:8px 12px}input::file-selector-button:hover{background:var(--subtle)}.modal{max-width:none;top:calc(var(--modal-viewport-top,0px) + var(--modal-viewport-height,100dvh) / 2);max-height:calc(var(--modal-viewport-height,100dvh) - 24px);background:var(--surface);width:min(700px,100vw - 32px);color:var(--ink);border:1px solid var(--line);overscroll-behavior:contain;box-shadow:0 12px 40px var(--paper-shadow);border-radius:16px;margin-block:0;margin-inline:auto;padding:0 24px 24px;bottom:auto;transform:translateY(-50%)}.modal::backdrop{background:#10111473}.modal-compact{width:min(480px,100vw - 32px)}.modal-heading{background:var(--surface);border-bottom:1px solid var(--line);z-index:1;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:16px 0;display:flex;position:sticky;top:0}.modal-heading h2{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:24px;font-weight:700;display:-webkit-box;overflow:hidden}.modal-heading button{flex-shrink:0}.modal-editor[open]{height:min(900px, var(--modal-viewport-height,100dvh) - 24px);flex-direction:column;padding:0;display:flex;overflow:hidden}.modal-editor .modal-heading{margin:0;padding:12px 24px}.modal-editor:has(.discard-changes){height:auto}.editor-form{flex-direction:column;flex:1;min-height:0;display:flex}.editor-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:20px 24px;overflow-y:auto}.editor-form fieldset{border:0;gap:20px;min-width:0;margin:0;padding:0;display:grid}.editor-photo-row{grid-template-columns:120px minmax(0,1fr);align-items:center;gap:20px;display:grid}.editor-photo{object-fit:cover;border-radius:10px;width:120px;height:100px}.editor-photo-control{min-width:0}.photo-selection{flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;display:flex}.photo-selection span{overflow-wrap:anywhere}.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;display:grid}.form-actions{border-top:1px solid var(--line);background:var(--surface);flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.form-error{color:var(--error);overflow-wrap:anywhere;font-size:14px}.editor-feedback{flex-shrink:0;max-height:100px;padding:10px 24px;overflow-y:auto}.editor-photo-control .form-error{margin-top:8px}.discard-changes{padding:24px}.discard-changes .form-actions{border:0;padding:24px 0 0}.form-success{color:var(--accent);font-size:15px}.settings-form{gap:20px;display:grid}.settings-form h3{font-size:17px;font-weight:600}.field-hint{color:var(--muted);font-size:14px}.logout-button{margin-top:20px}.toast{z-index:10;background:var(--ink);color:var(--background);text-align:center;width:max-content;max-width:calc(100vw - 32px);bottom:max(24px, env(safe-area-inset-bottom));border-radius:12px;padding:12px 20px;position:fixed;left:50%;transform:translate(-50%)}.detail-shell{max-width:1156px;margin:auto;padding:20px 28px 64px}.detail-nav{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.back-link{color:var(--accent);text-underline-offset:5px;align-items:center;min-height:44px;font-size:15px;text-decoration:underline;display:inline-flex}.detail-shell article{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px}.detail-hero{grid-template-columns:1fr 1fr;align-items:center;gap:32px;display:grid}.detail-photo{aspect-ratio:4/3;background:var(--subtle);border-radius:12px;width:100%;overflow:hidden}.detail-photo img{object-fit:cover;width:100%;height:100%}.detail-category{color:var(--accent);margin-bottom:8px;font-size:14px}.detail-title h1{overflow-wrap:anywhere;margin-bottom:12px;font-size:clamp(28px,3.3vw,40px);font-weight:700;line-height:1.4}.detail-description{color:var(--muted);white-space:pre-line;overflow-wrap:anywhere;font-size:16px;line-height:1.8}.detail-facts{flex-wrap:wrap;gap:16px 32px;margin:20px 0 0;display:flex}.detail-facts div{align-items:baseline;gap:10px;display:flex}.detail-facts dt{color:var(--muted);font-size:14px}.detail-facts dd{margin:0;font-size:16px;font-weight:600}.detail-actions{grid-template-columns:auto;justify-items:start;gap:12px;margin-top:20px;display:grid}.recipe-jumps{border-block:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-top:28px;padding:8px 0;display:flex}.recipe-jumps a{min-height:44px;color:var(--accent);border-radius:10px;align-items:center;padding:8px 18px;font-weight:600;display:inline-flex}.recipe-jumps a:hover{background:var(--subtle)}.recipe-content{grid-template-columns:minmax(220px,.8fr) minmax(0,1.7fr);gap:32px;padding-top:28px;display:grid}.recipe-section{scroll-margin-top:20px}.recipe-section h2{border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:10px;font-size:25px;font-weight:700}.recipe-section:first-child{background:var(--subtle);border-radius:12px;align-self:start;padding:20px}.ingredient-list{margin:0;padding:0;list-style:none}.ingredient-list li{white-space:pre-line;overflow-wrap:anywhere;padding:9px 0}.ingredient-list li+li{border-top:1px dashed var(--line)}.step-list{counter-reset:recipe-step;margin:0;padding:0;list-style:none}.step-list li{counter-increment:recipe-step;grid-template-columns:32px minmax(0,1fr);gap:14px;margin-bottom:24px;display:grid}.step-list li:before{content:counter(recipe-step);text-align:center;background:var(--subtle);height:32px;color:var(--accent);font-variant-numeric:tabular-nums;border-radius:9px;font-size:16px;font-weight:600;line-height:32px}.step-list p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9}.recipe-tip{background:var(--subtle);border-radius:12px;margin-top:24px;padding:20px;scroll-margin-top:20px}.recipe-tip h2{border:0;margin:0 0 10px;padding:0;font-size:21px}.recipe-tip p{color:var(--muted);white-space:pre-line;overflow-wrap:anywhere;line-height:1.9}@media (max-width:1100px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-toolbar{flex-direction:column;align-items:stretch;gap:12px}.search-field{width:100%}.auth-content{padding:32px}}.mobile-dock{display:none}@media (max-width:767px),(max-height:520px) and (hover:none) and (pointer:coarse){:root{--dock-clearance:calc(102px + env(safe-area-inset-bottom,0px))}.site-header{min-height:68px;padding:max(10px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));border-bottom:0;gap:8px}.wordmark{font-size:24px}.quiet-button{padding-inline:10px;font-size:14px}.desktop-settings,.library-heading .primary-button,.results-summary .favorite-filter{display:none}.library-heading{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.library{padding:4px max(20px, env(safe-area-inset-right)) var(--dock-clearance) max(20px, env(safe-area-inset-left))}.library-toolbar{flex-direction:column;align-items:stretch;gap:12px}.search-field{width:100%}.search-field input{border-color:#0000;border-radius:16px;min-height:50px;font-size:16px}.clear-search{top:3px;right:3px}.category-tabs{gap:0;width:100%;max-width:none}.category-tabs button{padding:8px 2px;font-size:15px;line-height:1.5}.results-heading{min-height:52px;padding-block:4px;font-size:14px}.results-heading .text-button{min-width:64px}.recipe-grid{grid-template-columns:minmax(0,1fr);gap:12px}.recipe-card{border:0;border-radius:22px;flex-direction:row;align-items:flex-start;gap:14px;padding:12px}.recipe-photo{aspect-ratio:1/1.12;border-radius:14px;flex:0 0 112px;width:112px;margin-top:3px}.recipe-card-content{padding:0}.recipe-card h2{width:100%;margin:0;font-size:19px;line-height:1.4}.recipe-card h2 a{align-items:center;min-height:44px;padding-block:3px;display:flex}.recipe-meta{flex-wrap:wrap;justify-content:flex-start;gap:4px 12px;margin:0 0 5px;font-size:13px}.recipe-summary{-webkit-line-clamp:1;margin:0 0 5px;font-size:14px;line-height:1.6}.recipe-card-actions{gap:6px;padding-top:0}.recipe-edit,.favorite-button{font-size:14px}.recipe-edit{text-align:left;min-width:44px}.favorite-button{border-color:#0000;border-radius:12px;padding:8px}.favorite-button[aria-pressed=true]{border-color:#0000}.glass-surface{background:var(--surface);border:1px solid var(--glass-edge);box-shadow:0 6px 28px var(--glass-shadow), inset 0 1px 0 var(--glass-edge)}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.glass-surface{background:linear-gradient(160deg, var(--glass-edge), transparent 40%), var(--glass-fill);-webkit-backdrop-filter:blur(24px)saturate(1.45);backdrop-filter:blur(24px)saturate(1.45)}}.mobile-dock{z-index:4;left:max(16px, env(safe-area-inset-left));right:max(16px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));border-radius:28px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-width:520px;margin-inline:auto;padding:6px;display:grid;position:fixed}.mobile-dock button{min-width:44px;min-height:58px;color:var(--muted);background:0 0;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px;font-size:12px;font-weight:600;line-height:1.3;display:flex}.mobile-dock button[aria-pressed=true]{color:var(--accent);background:var(--subtle)}.mobile-dock button:active,.detail-nav a:active{background:var(--subtle)}.dock-count{font-variant-numeric:tabular-nums}:root[data-keyboard-open=true] :is(.mobile-dock,.detail-nav){display:none}body:has(dialog[open]) .mobile-dock{visibility:hidden;pointer-events:none}.toast{bottom:var(--dock-clearance)}.auth-layout{grid-template-columns:1fr;width:min(480px,100% - 40px);margin:16px auto}.auth-photo{aspect-ratio:2.4;min-height:160px}.auth-content{padding:28px}.auth-content h1{font-size:26px}.auth-form{margin-top:24px}.auth-page{padding-bottom:max(24px, env(safe-area-inset-bottom))}.modal{top:var(--modal-viewport-bottom,100dvh);max-height:calc(var(--modal-viewport-height,100dvh) - max(12px, env(safe-area-inset-top)));width:min(600px,100%);padding:0 max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));border:0;border-radius:26px 26px 0 0;scroll-padding-block:80px 20px;transform:translateY(-100%)}.modal-heading{padding-block:12px}.modal-heading h2{font-size:22px}.modal-editor[open]{height:min(900px, var(--modal-viewport-height,100dvh) - max(12px, env(safe-area-inset-top)));padding:0}.modal-editor .modal-heading{padding:12px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left))}.editor-scroll{padding:20px max(20px, env(safe-area-inset-right)) 24px max(20px, env(safe-area-inset-left));scrollbar-gutter:auto}.editor-form fieldset{gap:24px}.editor-form label{gap:10px}.editor-photo-row{grid-template-columns:80px minmax(0,1fr);gap:16px}.editor-photo{border-radius:14px;width:80px;height:80px}.form-grid{gap:16px}.form-actions{padding:14px max(20px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));gap:12px}.form-actions>button{flex:1;min-height:48px}.modal[data-viewport-constrained=true] .form-actions{padding-bottom:12px}.modal label textarea{max-height:min(220px, max(96px, calc(var(--modal-viewport-height,100dvh) - 200px)))}.editor-feedback{padding:10px 20px}.detail-shell{padding:4px max(20px, env(safe-area-inset-right)) var(--dock-clearance) max(20px, env(safe-area-inset-left))}.detail-nav{z-index:4;left:max(16px, env(safe-area-inset-left));right:max(16px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));border-radius:28px;gap:8px;max-width:520px;margin:0 auto;padding:6px;position:fixed}.detail-nav a{border-radius:22px;flex:1;justify-content:center;min-height:52px;padding:10px 8px;font-size:15px;text-decoration:none}.detail-nav .secondary-button{background:var(--subtle);color:var(--accent);border:0}.detail-shell article{background:0 0;border:0;padding:0}.detail-hero{grid-template-columns:1fr;gap:22px}.detail-photo{aspect-ratio:16/10;border-radius:22px;max-height:360px}.detail-title h1{margin-bottom:10px;font-size:29px}.detail-category{margin-bottom:4px}.detail-facts,.detail-actions{margin-top:16px}.detail-actions .favorite-button{background:var(--surface);padding-inline:14px}.recipe-jumps{gap:4px;margin-top:24px}.recipe-jumps a{padding-inline:16px}.recipe-content{grid-template-columns:1fr;gap:32px;padding-top:28px}.recipe-section h2{font-size:23px}.recipe-section:first-child{background:var(--surface);border-radius:20px;padding:20px}.recipe-tip{background:var(--surface);border-radius:20px}.step-list li{gap:14px;margin-bottom:28px}}@media (max-width:360px){.site-header{padding-inline:max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right))}.wordmark{font-size:22px}.library,.detail-shell{padding-inline:16px}.recipe-photo{flex-basis:88px;width:88px}.recipe-card{gap:12px}.recipe-card h2{font-size:18px}.auth-content{padding:24px 20px}.form-grid,.editor-photo-row{grid-template-columns:1fr}}@media (max-width:359px){.category-tabs{grid-template-columns:repeat(4,minmax(44px,1fr));gap:2px}.category-tabs button:first-of-type{grid-row:span 2}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.glass-surface{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line)}.category-tabs{background:var(--subtle);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line);box-shadow:none}.category-indicator,.category-tabs:not([data-indicator-ready]) button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);box-shadow:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@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-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}
