:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;font-synthesis:none;color:var(--ink);background:var(--bg);--bg:#fff;--ink:#202020;--muted:#515151;--checked:#686868;--accent:#ff513b;--accent-text:#b33124;--accent-hover:#ff7663;--surface:#f3f3f3;--inset:#fff;--dock:#fafafa;--sheet:#fff;--hover:#e7e7e7;--line:#d0d0d0;--control:#767676;--error:#9d291c;--error-surface:#fff0ed;--icon-filter:none;--on-accent:#111}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-bottom:110px}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,select,input{min-height:44px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border:1px solid var(--control);background:var(--surface);border-radius:999px;padding:10px 16px;font-weight:600;transition:background 160ms ease-out,transform 120ms ease-out,border-color 160ms ease-out}button:hover{background:var(--hover)}button:active{transform:scale(.98);background:var(--hover)}button:disabled{cursor:default;color:var(--muted);border-color:var(--line);background:var(--inset);transform:none}button:disabled .icon{opacity:.45}button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}button.primary:hover{background:var(--accent-hover)}button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:var(--on-accent)}button[aria-pressed=true] .icon,button.primary .icon{filter:none}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,video:focus-visible{outline:3px solid var(--ink);outline-offset:3px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{text-wrap:balance;overflow-wrap:anywhere}h1{font:400 32px/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.025em}h2{font:700 23px/1.25 Georgia,"Times New Roman",serif;letter-spacing:-.015em}h3{font-size:18px;line-height:1.35}p{overflow-wrap:anywhere;text-wrap:pretty}p+p{margin-top:10px}.muted,.metadata{color:var(--muted)}.small,small{font-size:13px;line-height:1.5}.icon{display:block;flex:none;width:24px;height:24px;filter:var(--icon-filter);pointer-events:none}.icon-button{width:44px;height:44px;min-width:44px;flex:none;padding:10px;border-radius:50%;line-height:1}.skip{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;padding:0}.skip:focus{clip:auto;top:8px;left:8px;width:auto;height:auto;overflow:visible;padding:12px;z-index:60;background:var(--surface)}.topbar{padding-top:env(safe-area-inset-top)}.topbar-inner{position:relative;max-width:640px;margin:auto;min-height:76px;display:flex;align-items:center;justify-content:center;padding:12px 20px}.brand{font:700 29px/1 Georgia,"Times New Roman",serif;letter-spacing:-1px}.settings-button{position:absolute;right:20px;background:var(--surface);border-color:var(--control)}.home-feed,.reader-shell{max-width:640px;margin:auto;padding:0 20px calc(110px + env(safe-area-inset-bottom))}.photo-pills{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:12px -20px 28px;padding:0 20px;overscroll-behavior-x:contain}.photo-pills::-webkit-scrollbar,.compact-row::-webkit-scrollbar{display:none}.photo-pill{height:44px;min-height:44px;gap:8px;padding:2px 14px 2px 2px;flex:none;white-space:nowrap;background:var(--bg);border-color:var(--control);font-size:15px}.photo-pill .food-photo{width:38px;height:38px;min-height:0;border-radius:50%}.photo-pill .photo-fallback{display:none}.food-photo{position:relative;flex:none;background:var(--surface);border-radius:4px;overflow:hidden;display:grid;place-items:center;isolation:isolate;min-height:64px}.food-photo img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.food-photo img[hidden]{display:none}.photo-fallback{font-size:13px;color:var(--muted);padding:12px;text-align:center}.section-heading{border:0;background:transparent;justify-content:flex-start;gap:3px;padding:0;margin:0 0 10px;min-height:28px;border-radius:4px}.section-heading:hover{background:transparent;color:var(--ink)}.section-heading h2,.feature-label{font:700 16px/1.25 Georgia,"Times New Roman",serif}.section-heading .icon{width:18px;height:18px}.compact-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px;overscroll-behavior-x:contain}.compact-recipe{width:104px;flex:none;text-decoration:none}.compact-recipe .food-photo{width:104px;height:104px}.compact-recipe h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:600 15px/1.23 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin-top:6px;text-wrap:initial}.featured-section{margin-top:28px}.feature-label{color:var(--accent);margin-bottom:12px}.feature-image{position:relative}.feature-image>a{display:block}.feature-image .food-photo{width:100%;aspect-ratio:3/2}.feature-bookmark{position:absolute;bottom:10px;right:10px;background:#111e;border-color:#111e}.bookmark[aria-pressed=true]{color:var(--ink);background:#111e;border-color:var(--muted)}.bookmark[aria-pressed=true] .icon{filter:var(--icon-filter);animation:bookmark-in 160ms ease-out}.feature-copy{text-decoration:none;display:block}.feature-copy h1{font-size:29px;line-height:1.12;margin-top:10px}.metadata{display:flex;align-items:center;gap:6px;font-size:13px;margin-top:10px;flex-wrap:wrap}.feature-description{font:400 19px/1.42 Georgia,"Times New Roman",serif;margin-top:10px}.more-section{margin-top:34px}.more-section>h2{font-size:21px;margin-bottom:14px}.recipe-card{position:relative;padding:16px 0;border-bottom:1px solid var(--line)}.card-link{display:flex;gap:14px;align-items:center;text-decoration:none;padding-right:40px;min-height:96px}.card-link .food-photo{width:96px;height:96px}.card-copy{min-width:0;flex:1}.card-copy h2{font:600 17px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-wrap:pretty}.card-copy .metadata{margin-top:8px}.new-label{display:inline-block;color:var(--accent);font-size:13px;margin-top:5px}.card-bookmark{position:absolute;right:-6px;top:50%;transform:translateY(-50%);background:transparent;border-color:transparent}.card-bookmark:active{transform:translateY(-50%) scale(.95)}.card-bookmark[aria-pressed=true]{border-color:transparent;background:transparent}.navigation-dock{position:fixed;z-index:20;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:442px;display:flex;align-items:center;gap:8px;pointer-events:none}.bottom-nav{height:60px;padding:3px;display:flex;flex:1;min-width:0;align-items:center;gap:0;border:1px solid var(--control);border-radius:999px;background:var(--dock);box-shadow:0 6px 24px #0007;pointer-events:auto}.bottom-nav button{display:flex;flex-direction:column;justify-content:center;gap:2px;flex:1;min-width:0;min-height:52px;padding:4px 1px;border:0;background:transparent;font-size:10px;font-weight:500;line-height:1.2;white-space:nowrap;color:var(--ink)}.bottom-nav button .icon{width:23px;height:23px}.bottom-nav button[aria-current=page]{background:var(--bg);color:var(--ink)}.bottom-nav button:hover{background:var(--hover)}.bottom-nav button[aria-current=page]:hover{background:var(--bg)}.search-button{height:60px;min-width:60px;width:60px;background:var(--dock);border-color:var(--control);box-shadow:0 6px 24px #0007;pointer-events:auto}.search-button .icon{height:27px;width:27px}.preview-footer{margin-top:32px;border-top:1px solid var(--line);padding-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:0 16px;color:var(--muted);font-size:13px}.preview-footer button{background:transparent;border:0;padding:0;min-height:44px;font-size:13px;font-weight:400}.preview-footer .icon{width:16px;height:16px}.collection-page{padding-top:20px}.collection-page>h1{font-size:32px}.collection-subtitle{margin:12px 0 20px;font-size:15px}.collection-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.collection-tabs button{padding:7px 14px;font-size:13px}.empty{padding:40px 4px;text-align:center}.empty>.icon{width:40px;height:40px;margin:0 auto 20px}.empty h2{font-size:25px}.empty p{margin:14px 0 24px;color:var(--muted)}.recipe-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:72px;padding-top:env(safe-area-inset-top)}.recipe-toolbar .bookmark{background:transparent;border:0}.toolbar-brand{font:700 23px Georgia,"Times New Roman",serif}.back-button{background:transparent;border:0;padding:10px 0;font-size:14px}.recipe-photo{width:100%;aspect-ratio:3/2}.recipe-intro{padding:20px 0 24px}.provenance{font-size:13px;color:var(--muted);margin-bottom:10px}.description{font:400 19px/1.45 Georgia,"Times New Roman",serif;margin-top:14px}.recipe-intro .metadata{margin-top:16px}.section-nav{position:sticky;top:0;z-index:10;display:flex;gap:0;background:var(--bg);border-bottom:1px solid var(--control);padding:6px 0}.section-nav a{display:grid;place-items:center;min-height:44px;flex:1;text-decoration:none;font-size:14px;font-weight:600;border-radius:4px}.section-nav a:first-child{color:var(--accent)}.section-nav a:hover{background:var(--surface)}.recipe-section{padding-top:32px;scroll-margin-top:70px}.recipe-section h2{margin-bottom:12px}.servings-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid var(--control);border-radius:12px;padding:16px;margin:20px 0 16px}.servings-panel p{margin-top:3px}.stepper{display:flex;align-items:center;gap:4px}.stepper button{padding:10px;width:44px;height:44px}.stepper output{font-weight:650;font-size:22px;text-align:center;min-width:32px;font-variant-numeric:tabular-nums}.text-button{border:0;background:transparent;padding-left:0;padding-right:0;text-decoration:underline;text-underline-offset:4px}.reset{width:100%;justify-content:flex-start;min-height:44px;font-size:13px;font-weight:400}.reset .icon{height:16px;width:16px}.ingredient-list{padding:0;margin:0;list-style:none}.ingredient-list>li{padding:16px 0;border-bottom:1px solid var(--line)}.ingredient-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.ingredient-line>span{overflow-wrap:anywhere}.ingredient-line strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}.notice{padding:16px;border:1px solid var(--control);background:var(--surface);border-radius:10px;font-size:14px;margin:16px 0}.steps-list{list-style:none;padding:0;margin:0}.steps-list>li{padding:24px 0;border-bottom:1px solid var(--line)}.steps-list>li:first-child{padding-top:8px}.step-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.step-number{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--line);font-size:14px;font-weight:650}.step-heading h3{font-size:18px}.steps-list>li>p{line-height:1.65}.context-ingredients{background:var(--surface);padding:14px;border-radius:8px;margin-top:16px}.context-ingredients .ingredient-line{font-size:14px;margin-top:6px}.complete{display:flex;align-items:center;gap:10px;min-height:48px;font-size:14px;margin-top:16px}.complete input{width:22px;height:22px;min-height:22px;accent-color:var(--accent)}.steps-list>li:has([data-complete]:checked) .step-number{background:var(--accent);color:var(--on-accent)}.recipe-footer{font-size:13px;color:var(--muted);padding-top:32px;line-height:1.6}.literal{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin-top:16px}.video-panel{margin-top:16px;background:var(--surface);border-radius:8px;overflow:hidden}.video-panel video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#000}.video-panel video[hidden]{display:none}.video-failure{padding:24px}.media-title{font-size:16px;margin:14px 0 8px}.media-baseline{margin-top:12px}.unavailable-media{position:relative;margin:16px 0 12px;border-radius:8px;overflow:hidden}.unavailable-media .food-photo{aspect-ratio:16/9;opacity:.38}.unavailable-media>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:20px;background:#1117;text-align:center;font-size:15px;font-weight:600}.live-feedback{position:fixed;z-index:25;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:calc(100% - 40px);width:max-content;background:var(--ink);color:var(--on-accent);border-radius:10px;font-size:13px;box-shadow:0 4px 20px #0006;pointer-events:none}.live-feedback.has-feedback{padding:10px 14px;animation:feedback-in 160ms ease-out,feedback-out 160ms ease-in 4s forwards}.app-sheet{position:fixed;margin:auto auto 0;inset:auto 0 0;width:min(640px,100%);max-height:90dvh;border:1px solid var(--control);border-bottom:0;border-radius:24px 24px 0 0;padding:0;background:var(--sheet);color:var(--ink);box-shadow:0 -8px 48px #0008;animation:sheet-in 220ms cubic-bezier(.16,1,.3,1);overflow:auto;padding-bottom:env(safe-area-inset-bottom)}.app-sheet::backdrop{background:#0009;animation:scrim-in 180ms ease-out}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:25px}.dialog-head button{border:0;background:var(--hover)}.dialog-body{padding:24px 20px}.setting-label{display:flex;align-items:center;gap:10px;margin-bottom:16px}.setting-label h3{font-size:16px}.language{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.language select{min-width:78px}.app-sheet .language{justify-content:space-between}.app-sheet .language select{width:160px}.about-preview{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.about-preview h3{font-size:17px;margin-bottom:10px}.about-preview p{font-size:14px;line-height:1.65;color:var(--muted)}.search-field{display:flex;align-items:center;gap:10px;background:var(--hover);border:1px solid var(--control);border-radius:10px;padding:0 12px}.search-field input{width:100%;border:0;background:transparent;padding:12px 0;min-width:0}.search-field input:focus-visible{outline-offset:0}.search-caption{margin:14px 0}.search-result{display:flex;align-items:center;gap:12px;text-decoration:none;padding:14px 0;border-bottom:1px solid var(--line)}.search-result .food-photo{width:64px;height:64px}.search-result>span{flex:1}.search-result strong{font-size:15px;font-weight:600}.search-result small{display:block;margin-top:4px;color:var(--muted)}.search-result>.icon{width:18px}.author-topbar{border-bottom:1px solid var(--line)}.author-topbar .topbar-inner{max-width:1120px;justify-content:flex-start;gap:20px}.author-topbar .language{margin-left:auto}.workspace-label{font-size:14px;color:var(--muted)}.author-shell{max-width:1120px;margin:36px auto;padding:0 24px 64px}.author-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:32px}.author-heading h1{font-size:36px}.author-heading p{margin-top:10px}.author-heading .primary{padding:12px 20px}.author-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px}.author-sidebar{border-right:1px solid var(--line);padding-right:24px}.author-sidebar h2{font:600 15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--muted);margin-bottom:14px}.draft-list{display:grid;gap:8px}.draft-row{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;border-radius:10px;border-color:var(--control);padding:16px}.draft-row>span{min-width:0;overflow-wrap:anywhere}.draft-row small{display:block;font-size:12px;font-weight:400;margin-top:8px}.draft-row .icon{width:20px;height:20px}.draft-row[aria-pressed=true]{background:var(--hover);color:var(--ink);border-color:var(--accent)}.draft-row[aria-pressed=true] .icon{filter:var(--icon-filter)}.editor{max-width:760px;min-width:0}.editor-heading{margin-bottom:20px}.editor-heading h2{font-size:26px}.editor-heading p{margin-top:8px}.content-tabs{display:flex;gap:8px;margin:18px 0 24px}.content-tabs button{border-radius:8px;flex:1;font-size:14px}.field{display:block;margin:0 0 24px;font-size:14px;font-weight:600}.field>span{display:block;margin-bottom:8px}.field-help{display:block;color:var(--muted);font-size:13px;font-weight:400;margin-top:8px;line-height:1.55}.field input,.field textarea,.field select{width:100%;display:block;font-size:16px;font-weight:400}.field input[type=number]{max-width:120px}.field textarea{min-height:108px;resize:vertical}input,textarea,select{background:var(--inset);border:1px solid var(--control);border-radius:8px;padding:10px 12px;min-width:0}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{line-height:1.6}.editor-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--line)}.editor-actions button{font-size:14px}.editor-actions .icon{height:18px;width:18px}.field-error{font-size:13px;color:var(--error);font-weight:400;display:block;margin-top:8px}[aria-invalid=true]{border-color:var(--error);outline:1px solid var(--error)}.error-summary{padding:16px;background:var(--error-surface);border:1px solid var(--error);border-radius:8px;color:var(--error);margin-bottom:24px}.error-summary ul{margin:10px 0 0;padding-left:20px}.error-summary a{display:inline-flex;align-items:center;min-height:44px}.author-message{margin-top:16px;color:var(--muted);font-size:14px}.author-message:not(:empty){padding:14px;border:1px solid var(--control);border-radius:8px}.author-preview{max-width:640px;margin:24px auto;padding:0 20px 64px}.preview-return{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.preview-return p{font-size:13px;color:var(--muted)}.author-body .empty{padding-top:48px}.author-body .empty>.icon{width:48px;height:48px}.recipe-page,.collection-page{animation:view-in 160ms ease-out}.mobile-back .icon{width:18px}.save-disclosure{margin-top:16px;color:var(--muted);font-size:13px}
@keyframes view-in{from{transform:translateY(6px)}to{transform:translateY(0)}}@keyframes sheet-in{from{transform:translateY(30px);opacity:.6}to{transform:translateY(0);opacity:1}}@keyframes scrim-in{from{opacity:0}to{opacity:1}}@keyframes bookmark-in{from{transform:scale(.85)}to{transform:scale(1)}}@keyframes feedback-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes feedback-out{to{opacity:0;visibility:hidden}}
@media(min-width:721px){.mobile-back{display:none}.navigation-dock{max-width:380px}.home-feed .feature-copy h1{font-size:36px}.home-feed .feature-description{font-size:23px}.home-feed .compact-recipe{width:128px}.home-feed .compact-recipe .food-photo{width:128px;height:128px}.topbar-inner{min-height:88px}.home-feed{padding-top:8px}.recipe-intro h1{font-size:40px}}
@media(max-width:720px){.author-shell{margin:24px auto;padding:0 20px 56px}.author-layout{grid-template-columns:1fr;gap:24px}.author-sidebar{border:0;padding:0}.author-layout.editing .author-sidebar{display:none}.author-layout:not(.editing) .editor{display:none}.author-topbar .topbar-inner{gap:12px}.author-topbar .brand{font-size:24px}.workspace-label{font-size:12px;max-width:100px}.author-topbar .language>span{display:none}.author-heading h1{font-size:30px}.author-heading{gap:20px}.author-heading .primary{width:100%}.author-preview{margin-top:20px}.editor-actions{position:relative}.editor-actions button{flex:1;min-width:120px}.author-body .empty{padding-top:24px}}
@media(max-width:350px){.reader-shell,.author-shell,.author-preview{padding-left:16px;padding-right:16px}.topbar-inner{padding-left:16px;padding-right:16px}.settings-button{right:16px}.photo-pills,.compact-row{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.navigation-dock{width:calc(100% - 32px)}.search-button{height:56px;width:56px;min-width:56px}.bottom-nav{height:56px}.bottom-nav button{font-size:9px;min-height:48px}.bottom-nav button .icon{width:21px;height:21px}.card-link{gap:10px}.card-link .food-photo{width:80px;height:88px}.card-copy h2{font-size:15px}.servings-panel{padding:12px}.workspace-label{display:none}.feature-copy h1{font-size:27px}.feature-description{font-size:18px}.recipe-toolbar .back-button{font-size:13px}.content-tabs button{padding:10px 8px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.live-feedback.has-feedback{animation:feedback-out 1ms linear 4s forwards!important}}

.section-heading{min-height:44px;margin-top:-8px;margin-bottom:2px}.toolbar-actions{display:flex;gap:4px}.toolbar-actions>button{background:transparent;border:0}.app-sheet.closing{animation:sheet-out 160ms ease-in forwards}.app-sheet.closing::backdrop{animation:scrim-out 160ms ease-in forwards}@keyframes sheet-out{to{transform:translateY(30px);opacity:0}}@keyframes scrim-out{to{opacity:0}}

/* One continuous recipe, with inline presentation rather than another route. */
.recipe-page{animation:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.recipe .servings-panel{border:0;border-radius:0;background:none;padding:0;margin:20px 0 8px;gap:8px 16px}.servings-panel>strong{font-size:15px;flex:1;min-width:130px}.servings-baseline{display:flex;align-items:center;gap:0 16px;flex-wrap:wrap;width:100%;font-size:13px;color:var(--muted)}.servings-baseline .reset{width:auto;margin:0;min-height:44px;color:var(--muted)}.recipe .ingredient-list>li{padding:12px 0}.ingredient-check{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;cursor:pointer}.ingredient-check input{width:24px;height:24px;min-height:24px;margin:0;accent-color:var(--accent)}.ingredient-check>span{overflow-wrap:anywhere}.ingredient-check strong{font-size:16px;max-width:140px;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums;font-weight:650}.ingredient-check input:focus-visible,.view-choices input:focus-visible+span,.text-size-options input:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.presentation-controls{margin:18px 0 8px}.view-choices{display:flex;gap:4px;border:1px solid var(--control);border-radius:8px;padding:4px;margin:0;min-width:0;background:var(--inset)}.view-choices label{position:relative;flex:1;min-width:0;display:flex;cursor:pointer}.view-choices input{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:pointer}.view-choices span{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:8px 10px;border-radius:4px;font-size:14px;font-weight:600;text-align:center;line-height:1.35;transition:background 140ms ease-out,color 140ms ease-out;pointer-events:none}.view-choices input:checked+span{background:var(--ink);color:var(--on-accent)}.view-choices input:not(:checked):hover+span{background:var(--line)}.text-size-row{display:flex;justify-content:flex-end}.text-size-row button{font-size:14px;font-weight:400;min-height:44px}.text-size-options{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 0 20px;border-bottom:1px solid var(--line)}.text-size-options[hidden]{display:none}.text-size-options fieldset{border:0;margin:0;padding:0;display:flex;gap:8px 20px;flex-wrap:wrap;min-width:0}.text-size-options legend{font-size:13px;color:var(--muted);margin-bottom:8px}.text-size-options label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:14px}.text-size-options input{width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--accent)}.text-size-options button{font-size:14px}
.recipe .steps-list>li{padding:24px 0}.recipe[data-view=cook] .steps-list>li{padding:32px 0}.recipe .step-heading{flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}.step-heading h3{flex:1;min-width:0}.step-heading .complete{width:100%;margin:0 0 0 44px;min-height:44px;flex-wrap:wrap;gap:6px 8px;font-size:13px}.complete input{margin:0;flex:none}.recipe .steps-list>li>p,.recipe .literal-steps{font-size:1.0625rem;line-height:1.6}.recipe[data-view=cook] .steps-list>li>p,.recipe[data-view=cook] .literal-steps,.recipe[data-view=read][data-text-size=larger] .steps-list>li>p,.recipe[data-view=read][data-text-size=larger] .literal-steps{font-size:1.25rem}.recipe[data-view=cook][data-text-size=larger] .steps-list>li>p,.recipe[data-view=cook][data-text-size=larger] .literal-steps{font-size:1.4375rem}.recipe .context-ingredients{background:transparent;border-radius:0;padding:0;margin-top:16px}.recipe[data-view=read] .context-ingredients{display:none}.recipe .context-ingredients .ingredient-line{font-size:1rem;line-height:1.5;flex-wrap:wrap;gap:2px 12px}.recipe[data-text-size=larger] .context-ingredients .ingredient-line{font-size:1.125rem}.context-ingredients .ingredient-line strong{white-space:normal;overflow-wrap:anywhere}.step-tick{display:none}.steps-list>li:has([data-complete]:checked) .step-number .number{display:none}.steps-list>li:has([data-complete]:checked) .step-tick{display:flex}.step-tick .icon{width:20px;height:20px;filter:none}.step-done{font-weight:600}.recipe-section h2{scroll-margin-top:70px}
@media(max-width:350px){.ingredient-check{grid-template-columns:24px minmax(0,1fr) auto;gap:8px}.ingredient-check strong{max-width:110px}.servings-panel>strong{flex-basis:130px}.view-choices span{padding:8px 6px;font-size:13px}.text-size-options{gap:8px}.step-heading .complete{margin-left:0}.recipe .step-heading h3{font-size:17px}}
.section-nav a:first-child{color:inherit}.view-choices{border-radius:999px}.view-choices span{border-radius:999px}.view-choices input:checked+span{background:var(--accent);color:var(--on-accent)}

/* Compact Overview and an explicitly larger continuous Cooking view. */
.ingredients-heading{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}.ingredients-heading h2{margin-bottom:0}.unit-control{display:flex;align-items:center;min-height:44px}.unit-control select{font-size:var(--text-control);padding:10px var(--space-3);min-width:112px;background:transparent}.units-note{margin:8px 0 12px}.units-note[hidden]{display:none}.ingredient-help{margin:20px 0 12px;line-height:1.6}.recipe .ingredient-list>li{padding:8px 0}.ingredient-check strong{font-size:1rem}.ingredient-check:has([data-ingredient-check]:checked) .ingredient-name{text-decoration:line-through;text-decoration-thickness:1px}.ingredient-check input:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.view-purpose{margin-top:12px;line-height:1.55}.recipe[data-view=read] .steps-list>li{padding:16px 0}.recipe[data-view=read] .step-heading{flex-wrap:nowrap;gap:10px;margin-bottom:6px}.recipe[data-view=read] .step-heading h3{font-size:16px;line-height:1.4}.recipe[data-view=read] .step-number{height:24px;width:24px;font-size:12px;background:var(--line);color:var(--ink)}.recipe[data-view=read] .step-number .number{display:inline}.recipe[data-view=read] .step-tick,.recipe[data-view=read] .step-heading .complete{display:none}.recipe[data-view=cook] .steps-list>li{padding:36px 0}.recipe[data-view=cook] .steps-list>li>p,.recipe[data-view=cook] .literal-steps{font-size:1.4375rem}.recipe[data-view=cook][data-text-size=larger] .steps-list>li>p,.recipe[data-view=cook][data-text-size=larger] .literal-steps{font-size:1.625rem}.recipe[data-view=cook] .literal-steps{margin-top:24px}.context-ingredients .ingredient-check{width:100%;font-size:inherit;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;min-height:44px}.context-ingredients .ingredient-check input{width:22px;height:22px;min-height:22px}.context-ingredients .ingredient-check strong{font-size:inherit}.context-ingredients .ingredient-line{display:block}
@media(max-width:350px){.unit-control select{font-size:var(--text-control);min-width:100px}.ingredients-heading{gap:6px}.ingredient-check strong{max-width:130px}.context-ingredients .ingredient-check strong{max-width:132px}}

/* Each step owns an honest illustration slot; local images never stand in for uploads. */
.step-illustration{margin:20px 0 0;min-width:0}.illustration-frame{position:relative;width:100%;aspect-ratio:4/3;background:var(--inset);border:1px solid var(--control);border-radius:8px;overflow:hidden}.illustration-frame>img{width:100%;height:100%;display:block;object-fit:contain}.illustration-frame>img[hidden],.illustration-fallback[hidden]{display:none}.illustration-placeholder,.illustration-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center;color:var(--muted);font-size:13px;line-height:1.5}.illustration-placeholder>.icon,.illustration-fallback>.icon{width:32px;height:32px}.placeholder-short{display:none}.step-illustration figcaption{font-size:12px;color:var(--muted);margin-top:6px}.recipe[data-view=read] .steps-list>li{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:0 12px;align-items:start}.recipe[data-view=read] .step-heading,.recipe[data-view=read] .steps-list>li>p{grid-column:1}.recipe[data-view=read] .steps-list .step-illustration{grid-column:2;grid-row:1 / span 2;width:76px;margin:0}.recipe[data-view=read] .steps-list .illustration-frame{aspect-ratio:1}.recipe[data-view=read] .steps-list .illustration-placeholder,.recipe[data-view=read] .steps-list .illustration-fallback{padding:4px;gap:4px;font-size:10px}.recipe[data-view=read] .steps-list .illustration-placeholder>.icon,.recipe[data-view=read] .steps-list .illustration-fallback>.icon{width:22px;height:22px}.recipe[data-view=read] .steps-list .placeholder-full{display:none}.recipe[data-view=read] .steps-list .placeholder-short{display:block}.recipe[data-view=read] .steps-list .step-illustration figcaption{font-size:10px;line-height:1.25}.recipe[data-view=read] .context-ingredients{grid-column:1/-1}
.steps-editor{margin:32px 0}.step-editor-help{margin:10px 0 20px;line-height:1.6}.step-editor{min-width:0;padding:20px;margin:0 0 24px;border:1px solid var(--control);border-radius:10px}.step-editor>legend{font-size:18px;font-weight:650;padding:0 8px}.step-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 20px}.step-editor-actions button{font-size:13px;min-height:44px;padding:8px 12px}.illustration-editor .step-illustration{max-width:340px;margin:4px 0 16px}.image-local-help{margin:12px 0;line-height:1.6}.image-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.image-actions button,.file-picker{font-size:14px;min-height:44px}.file-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--control);border-radius:999px;background:var(--surface);padding:10px 16px;font-weight:600;cursor:pointer}.file-picker[aria-disabled=true]{color:var(--muted);border-color:var(--line);cursor:default}.file-picker:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:3px}.file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-input:disabled{cursor:default}.image-pending{margin:12px 0}.image-pending[hidden],.pending-reads[hidden]{display:none}.delete-step-confirm{padding:16px;margin-top:20px;background:var(--surface);border:1px solid var(--control);border-radius:8px}.delete-step-confirm>p{font-size:14px;line-height:1.6;margin-bottom:12px}.delete-step-confirm button{font-size:14px;margin:0 8px 8px 0}.legacy-steps{margin:28px 0}.legacy-steps>p{margin:12px 0 20px}#step-status{font-size:14px;color:var(--muted);margin-top:16px}
@media(max-width:350px){.step-editor{padding:12px}.step-editor-actions{gap:6px}.step-editor-actions button{padding:8px 10px}.recipe[data-view=read] .steps-list>li{grid-template-columns:minmax(0,1fr) 64px;gap:0 10px}.recipe[data-view=read] .steps-list .step-illustration{width:64px}.image-actions>button,.file-picker{width:100%;text-align:center}}
.recipe .steps-list>li>p{white-space:pre-wrap}
.fallback-short{display:none;max-width:100%;overflow-wrap:anywhere;line-height:1.2}.recipe[data-view=read] .steps-list .fallback-full{display:none}.recipe[data-view=read] .steps-list .fallback-short{display:block}

/* Appearance tokens apply equally to reader and author, without replacing their DOM. */
:root[data-theme=dark]{--bg:#111;--ink:#f7f5f2;--muted:#bcbcbc;--checked:#aaa;--accent-text:#ff7663;--surface:#242424;--inset:#202020;--dock:#252525;--sheet:#1c1c1c;--hover:#303030;--line:#454545;--control:#858585;--error:#ffad9f;--error-surface:#31211e;--icon-filter:invert(1)}
.icon{filter:var(--icon-filter)}.primary .icon,.view-choices input:checked+span .icon{filter:none}.feature-bookmark,.feature-bookmark[aria-pressed=true]{color:#f7f5f2;background:#111e;border-color:#111e}.feature-bookmark .icon,.feature-bookmark[aria-pressed=true] .icon{filter:invert(1)}.bookmark:not(.feature-bookmark)[aria-pressed=true]{color:var(--ink);background:transparent}.bookmark:not(.feature-bookmark)[aria-pressed=true] .icon{filter:var(--icon-filter)}
.feature-label,.new-label{color:var(--accent-text)}button[aria-pressed=true]{background:var(--ink);color:var(--bg)}button[aria-pressed=true] .icon{filter:var(--selected-icon-filter,invert(1))}:root[data-theme=dark]{--selected-icon-filter:none}.draft-row[aria-pressed=true]{background:var(--hover);color:var(--ink)}.draft-row[aria-pressed=true] .icon{filter:var(--icon-filter)}
.unavailable-media>span{color:#fff}.unavailable-media .icon{filter:invert(1)}.step-tick .icon{filter:none}.view-choices input:checked+span,.steps-list>li:has([data-complete]:checked) .step-number{color:var(--on-accent)}.live-feedback{color:var(--bg);background:var(--ink)}
.appearance{margin-top:24px}.appearance fieldset{border:0;padding:0;margin:12px 0}.appearance legend{font-size:16px;font-weight:650}.theme-options{display:flex;gap:12px;flex-wrap:wrap}.theme-options label{display:flex;align-items:center;gap:10px;min-height:48px;flex:1;min-width:112px;border:1px solid var(--control);border-radius:8px;padding:8px 12px;cursor:pointer}.theme-options label:has(:checked){background:var(--surface);outline:2px solid var(--ink);outline-offset:-2px}.theme-options input{width:22px;height:22px;min-height:22px;margin:0;accent-color:var(--accent)}.theme-note,.theme-warning{margin-top:12px;color:var(--muted);font-size:13px;line-height:1.6}.theme-warning{color:var(--error)}.theme-warning[hidden]{display:none}.author-topbar .settings-button{position:static;margin-left:0}.author-topbar .topbar-inner{gap:12px}.author-topbar .language{margin-left:auto}.author-topbar .brand{letter-spacing:-.03em}
/* The gallery never borrows media from another recipe. */
.recipe-gallery{min-width:0}.gallery-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:6px}.gallery-track::-webkit-scrollbar{display:none}.gallery-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.gallery-frame{width:100%;aspect-ratio:3/2;background:var(--surface);position:relative;overflow:hidden}.gallery-frame .food-photo{width:100%;height:100%}.gallery-frame .step-illustration{position:absolute;inset:0;margin:0;width:100%;height:100%}.gallery-frame .illustration-frame{height:100%;aspect-ratio:auto;border:0;border-radius:0}.gallery-frame .step-illustration figcaption{display:none}.gallery-frame .fallback-full{display:block!important}.gallery-frame .fallback-short{display:none!important}.gallery-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:24px;color:var(--muted);text-align:center;font-size:15px}.gallery-placeholder .icon{width:36px;height:36px}.gallery-caption{padding:8px 0;font-size:13px;color:var(--muted);min-height:36px}.gallery-controls{display:flex;align-items:center;gap:8px;min-height:48px}.gallery-controls>button{height:44px;width:44px;flex:none;padding:10px}.gallery-dots{display:flex;overflow-x:auto;flex:1;min-width:0;scrollbar-width:thin}.gallery-dots button{background:transparent;border:0;width:44px;min-width:44px;height:44px;padding:16px}.gallery-dots button::before{content:"";width:8px;height:8px;border:1px solid var(--ink);border-radius:50%;flex:none}.gallery-dots button[aria-current=true]::before{background:var(--ink)}.gallery-count{font-size:13px;white-space:nowrap;min-width:34px;text-align:center}.gallery-controls[hidden]{display:none}
.section-nav{gap:6px;padding:6px 0;background:var(--bg);border-color:var(--control)}.section-nav a{border:1px solid var(--control);background:var(--surface);padding:8px 4px;text-align:center;min-width:0;line-height:1.35;overflow-wrap:anywhere}.section-nav a[aria-current=location]{background:var(--ink);color:var(--bg);border-color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.section-nav a:hover{background:var(--hover);color:var(--ink)}.section-nav a[aria-current=location]:hover{background:var(--ink);color:var(--bg)}
.ingredient-check .ingredient-name,.ingredient-check [data-amount]{transition:color 140ms ease-out}.ingredient-check:has([data-ingredient-check]:checked) .ingredient-name,.ingredient-check:has([data-ingredient-check]:checked) [data-amount]{color:var(--checked);text-decoration:none}.recipe-completion{margin-top:32px;padding:24px 0;border-bottom:1px solid var(--line)}.recipe-completion>button{min-height:48px}.recipe-completion .completed-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-weight:650}.recipe-completion .completed-status>.icon{width:28px;height:28px}.recipe-completion .completed-status button{margin-left:auto}.recipe-completion .completed-status[hidden],.recipe-completion>button[hidden]{display:none}
@media(max-width:350px){.section-nav a{font-size:13px}.author-topbar .language select{min-width:64px;padding:8px}.author-topbar .topbar-inner{gap:8px}.author-topbar .brand{font-size:23px}.gallery-controls{gap:4px}}
@media(prefers-reduced-motion:reduce){.ingredient-check .ingredient-name,.ingredient-check [data-amount]{transition:none}.gallery-track{scroll-behavior:auto}}
.brand,.toolbar-brand{white-space:nowrap;flex-shrink:0}.gallery-dots{scrollbar-width:none}.gallery-dots::-webkit-scrollbar{display:none}
.phone-reader{scrollbar-width:none}.phone-reader::-webkit-scrollbar{display:none}
@media(max-width:350px){.recipe-toolbar .back-label{display:none}.recipe-toolbar .back-button{min-width:44px}.section-nav a:first-child{flex:1.4}}
.phone-showcase-body{background:#e9e8e4;overflow-x:hidden}.phone-showcase{min-height:100dvh;display:grid;place-items:center;padding:24px;position:relative}.phone-size{position:relative;width:calc(414px * var(--phone-scale,1));height:calc(868px * var(--phone-scale,1))}.phone-case{position:absolute;inset:0 auto auto 0;width:414px;height:868px;transform:scale(var(--phone-scale,1));transform-origin:top left;padding:10px;border:2px solid #414141;border-radius:56px;background:#111;box-shadow:0 24px 60px #20202030,0 5px 14px #20202024}.phone-screen{position:relative;width:390px;height:844px;border-radius:44px;overflow:hidden;background:var(--bg)}.phone-app{position:absolute;left:0;top:44px;width:390px;height:776px;border:0;background:var(--bg)}.phone-island{position:absolute;z-index:2;top:10px;left:50%;transform:translateX(-50%);width:108px;height:26px;border-radius:20px;background:#090909;pointer-events:none}.phone-island::after{content:"";position:absolute;right:11px;top:9px;width:8px;height:8px;border-radius:50%;background:#151d24;box-shadow:inset 0 0 0 2px #111}.phone-home{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:128px;height:5px;border-radius:8px;background:var(--ink);pointer-events:none}.phone-open{position:absolute;top:20px;right:20px;width:44px;height:44px;border:1px solid #767676;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#202020;background:#fff;text-decoration:none}.phone-open:hover{background:#f5f5f5}.phone-open:focus-visible{outline-color:#202020}
@media(max-width:759px),(pointer:coarse){.phone-showcase-body{background:var(--bg)}.phone-showcase{height:100dvh;min-height:100dvh;padding:0}.phone-size,.phone-case,.phone-screen{width:100%;height:100dvh}.phone-case{position:relative;transform:none;padding:0;border:0;border-radius:0;box-shadow:none}.phone-screen{border-radius:0}.phone-app{inset:0;width:100%;height:100%}.phone-island,.phone-home,.phone-open{display:none}}
.recipe-completion .completed-status{min-height:48px}
/* Shared control/type roles and a four-pixel spacing rhythm. Editorial prose,
   titles, and the reader's Standard/Larger choices retain their own hierarchy. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--text-control:1rem;--text-label:.875rem;--text-section:1rem}
input,textarea,select{font-size:var(--text-control);line-height:1.5;padding:10px var(--space-3)}
.language{font-size:var(--text-label);gap:var(--space-3)}.language select{font-size:var(--text-control);line-height:1.5}
.dialog-head{gap:var(--space-4);padding:var(--space-4) var(--space-5)}.dialog-head h2{font-size:24px;line-height:1.25}
.dialog-body{padding:var(--space-6) var(--space-5)}.setting-label{gap:var(--space-3);margin-bottom:var(--space-3)}
.setting-label h3,.appearance legend,.about-preview h3{font-family:inherit;font-size:var(--text-section);font-weight:650;line-height:1.5;letter-spacing:normal}
.app-sheet .language{gap:var(--space-4)}.app-sheet .language select{font-size:var(--text-control)}.app-sheet .language option{font-size:inherit}
.appearance{margin-top:var(--space-6)}.appearance fieldset{margin:0}.appearance legend{margin-bottom:var(--space-3)}
.theme-options{gap:var(--space-3)}.theme-options label{font-size:var(--text-control);line-height:1.5;gap:var(--space-3);padding:10px var(--space-3)}
.about-preview{margin-top:var(--space-6);padding-top:var(--space-6)}.about-preview h3{margin-bottom:var(--space-3)}.about-preview p{font-size:var(--text-label);line-height:1.5}
.field{font-size:var(--text-label);margin-bottom:var(--space-6)}.field>span{margin-bottom:var(--space-2)}.field input,.field textarea,.field select{font-size:var(--text-control)}
.content-tabs button,.editor-actions button,.collection-tabs button,.back-button{font-size:var(--text-label)}
/* Applied only after an actual vertical mouse drag, never to touch or resting text. */
html.mouse-scrolling,html.mouse-scrolling *{cursor:grabbing!important;user-select:none!important;scroll-behavior:auto!important}
@media(max-width:350px){.recipe-toolbar .back-button,.content-tabs button{font-size:var(--text-label)}}
/* Leave explicit native-arrow room for the longer Russian metric label. */
:root:lang(ru) .unit-control select{min-width:156px}
.reader-body .gallery-track{cursor:grab}.gallery-track.mouse-gallery-scrolling{scroll-snap-type:none;scroll-behavior:auto}
/* The separate web workspace shares the reader's editorial and control system. */
.author-layout.library-view{display:block}.library-view .author-sidebar{border:0;padding:0}.library-view .editor{display:none}
.author-sidebar h2{display:flex;align-items:center;gap:8px;font:650 16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);margin-bottom:20px}.library-count{font-size:13px;color:var(--muted);font-weight:400}
.library-view .draft-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.draft-row{display:flex;align-items:stretch;flex-direction:column;justify-content:flex-start;gap:0;padding:0;overflow:hidden;border-radius:12px;background:var(--bg);text-align:left;font-weight:400}
.draft-cover{display:block;width:100%}.draft-cover .food-photo{width:100%;aspect-ratio:3/2;border-radius:0}.draft-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;width:100%;min-width:0}.draft-status{font-size:13px;line-height:1.5;color:var(--muted)}
.draft-name{font:700 25px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.02em;overflow-wrap:anywhere}.draft-row small{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}.draft-open{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;min-height:44px;margin-top:8px;font-size:14px;font-weight:600}.draft-open .icon{width:20px;height:20px}
.editing .draft-copy{padding:16px}.editing .draft-name{font-size:20px}.editing .draft-open{margin-top:0}.editing .draft-cover .food-photo{aspect-ratio:2/1}.draft-row[aria-pressed=true]{background:var(--surface);border-color:var(--ink)}
.library-back{margin-bottom:16px}.editor-heading{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:24px}.editor-heading h2{font-size:30px}.editor-section{padding:0 0 32px;margin-bottom:32px;border-bottom:1px solid var(--line)}.editor-section>h3{font:700 23px/1.25 Georgia,"Times New Roman",serif;margin-bottom:12px}.recipe-content-section>h3{margin-top:28px}.recipe-content-section>.field:last-child{margin-bottom:0}.editor-section .content-tabs{margin:20px 0 24px}
.step-editor{padding:20px;background:var(--bg);border-color:var(--line);border-radius:12px}.step-editor>legend{font:700 20px/1.3 Georgia,"Times New Roman",serif;padding:0 8px}.step-editor-actions{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:24px;gap:8px}.step-editor-actions button{font-size:14px}.illustration-editor{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.illustration-editor .step-illustration{max-width:320px}.image-actions{margin-top:12px}.image-local-help{font-size:13px;line-height:1.5}
.cover-editor-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center}.cover-preview .food-photo{aspect-ratio:3/2;width:100%;border-radius:8px}.cover-editor .field{margin:0}.editor-actions{padding-top:0;border:0;gap:12px}.editor-actions button{min-height:48px}.author-message:not(:empty){padding:16px}.author-layout.editing{gap:32px}.author-topbar .topbar-inner{min-height:88px}
@media(max-width:720px){.author-topbar .topbar-inner{min-height:76px}.library-view .draft-list{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:20px}.author-layout.editing{display:block}.editor-heading h2{font-size:26px}.editor-section{margin-bottom:24px;padding-bottom:24px}.step-editor{padding:16px}.cover-editor-layout{grid-template-columns:1fr;gap:16px}.cover-preview{max-width:320px}.editor-actions button{flex:1 1 100%}.author-heading{margin-bottom:24px}.draft-copy{padding:16px}}
/* Keep step-media editing compact on a web workspace, beside its real controls. */
@media(min-width:1000px){.illustration-editor{display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px 24px;align-items:start}.illustration-editor .step-illustration{grid-column:1;grid-row:1/span 4;width:100%;max-width:240px;margin:0}.illustration-editor>:not(.step-illustration){grid-column:2}.illustration-editor .image-actions{margin-top:0}.illustration-editor .field{margin-bottom:0}}
@media(max-width:720px){.illustration-editor .step-illustration{max-width:320px}}

/* Ingredient lists: small neutral marks inside generous native label targets. */
.recipe .ingredient-check,.recipe .context-ingredients .ingredient-check{grid-template-columns:16px minmax(0,1fr) auto;gap:10px;min-height:44px;font-weight:400}.recipe .ingredient-check input,.recipe .context-ingredients .ingredient-check input,.recipe .complete input{appearance:none;-webkit-appearance:none;position:relative;display:block;width:16px;height:16px;min-height:16px;padding:0;margin:0;border:1px solid var(--control);border-radius:3px;background:transparent;cursor:pointer}.recipe .ingredient-check input:checked,.recipe .complete input:checked{background:transparent;border-color:var(--muted)}.recipe .ingredient-check input:checked::after,.recipe .complete input:checked::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid var(--ink);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.recipe .ingredient-check strong{font-weight:400}.recipe .ingredient-list>li{padding:2px 0;border-bottom-color:color-mix(in srgb,var(--ink) 12%,transparent)}.recipe .context-ingredients .ingredient-line{padding:2px 0;border-bottom:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}.recipe .ingredient-help{margin:12px 0 8px}.recipe .context-ingredients>p{margin-bottom:6px}.recipe .steps-list>li:has([data-complete]:checked) .step-number{background:var(--line);color:var(--ink)}.recipe .step-tick .icon{filter:var(--icon-filter)}@media(forced-colors:active){.recipe .ingredient-check input:checked::after,.recipe .complete input:checked::after{border-color:CanvasText}}

/* Quiet recipe sections and focused cooking; navigation remains on browse pages. */
.section-nav{gap:20px;padding:0;border-bottom:1px solid var(--line)}.section-nav a,.section-nav a:first-child{flex:0 1 auto;min-height:48px;padding:10px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-weight:400;text-decoration:none}.section-nav a[aria-current=location],.section-nav a[aria-current=location]:hover{background:transparent;color:var(--ink);border-color:var(--ink);text-decoration:none;font-weight:600}.section-nav a:hover{background:transparent;color:var(--ink)}.recipe-toolbar .back-label{display:inline}.recipe-toolbar .back-button{border:0;background:transparent;padding:8px 0;gap:6px}.recipe-page{padding-bottom:calc(32px + env(safe-area-inset-bottom))}.reader-body:has(.recipe-page) .live-feedback{bottom:calc(20px + env(safe-area-inset-bottom))}.step-heading h3{scroll-margin-top:90px}.collection-result-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:8px}.collection-result-summary button{font-size:13px}.collection-count{margin-left:auto;color:var(--muted);font-size:14px;font-weight:400}.selected-collection{margin-top:32px}.selected-collection .section-heading h2{text-align:left}.food-photo,.illustration-frame{container-type:size}.mapped-media{position:absolute;display:block;left:50%;top:50%;width:max(100cqw,calc(100cqh * 4 / 3));height:auto;aspect-ratio:4/3;transform:translate(-50%,-50%);background-size:300% 200%;background-repeat:no-repeat;pointer-events:none}.mapped-media:focus{outline:none}

.recipe-toolbar{position:sticky;top:0;z-index:20;min-height:calc(64px + env(safe-area-inset-top));background:var(--bg);border-bottom:1px solid var(--line)}.recipe-page .section-nav{top:calc(64px + env(safe-area-inset-top))}.recipe .steps-list>li>.complete{min-height:44px;margin:20px 0 0;font-size:14px;font-weight:400}.recipe[data-view=read] .steps-list>li>.complete{display:none}

/* Home rails share native touch scrolling and the reader mouse direction lock. */
.reader-body .photo-pills,.reader-body .compact-row{cursor:grab}.measurement-options{gap:12px}.measurement-options label:first-child{flex-basis:100%}.measurement-options label span{overflow-wrap:anywhere}
/* Personal tools use the existing inline recipe hierarchy and native controls. */
.your-cooking-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;margin-top:8px}.personal-cooking{border-top:1px solid var(--line);padding-top:28px}.personal-private{margin:8px 0 20px}.personal-note{white-space:pre-wrap;overflow-wrap:anywhere}.personal-rating-summary{margin:16px 0 8px}.personal-actions,.timer-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.personal-form{margin-top:20px}.personal-rating{border:0;padding:0;margin:20px 0}.personal-rating legend{font-weight:600;margin-bottom:8px}.rating-options{display:flex;gap:4px;flex-wrap:nowrap}.rating-options label{display:flex;position:relative;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;cursor:pointer}.rating-options input{position:absolute;inset:0;width:44px;height:44px;min-height:44px;margin:0;opacity:0;cursor:pointer}.rating-star{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:32px;line-height:1;color:var(--ink)}.rating-options input:focus-visible+.rating-star{outline:3px solid var(--ink);outline-offset:-3px;border-radius:4px}.personal-message:not(:empty){margin-top:16px}.personal-delete-confirm{border:1px solid var(--control);border-radius:8px;padding:16px;margin-top:20px}.personal-delete-confirm button{margin-top:12px}.personal-cooking h2{scroll-margin-top:140px}.step-timer{grid-column:1/-1;margin-top:16px;font-size:16px;min-width:0}.timer-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.timer-heading strong{font-size:14px}.timer-heading output{font-size:22px;font-variant-numeric:tabular-nums}.timer-inputs{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0}.timer-inputs label{display:flex;flex-direction:column;gap:6px;font-size:14px}.timer-inputs input{width:92px;font-size:16px}.step-timer>.text-button{padding-left:0}.timer-summary{max-width:640px;margin:0 auto;padding:0 20px}.timer-summary[hidden]{display:none}.timer-summary button{font-size:14px;gap:12px;padding-left:0}.timer-list{padding:0;list-style:none}.timer-list li{padding:20px 0;border-bottom:1px solid var(--line)}.timer-list p{margin-top:8px;font-variant-numeric:tabular-nums}.substitution-tips{margin-top:20px}.substitution-tip{border-top:1px solid var(--line);padding:8px 0}.substitution-tip summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:15px}.substitution-tip p{margin:8px 0}.tip-editor{border:1px solid var(--control);border-radius:8px;margin:20px 0;padding:16px;min-width:0}.tip-editor legend{font-size:16px;font-weight:600}.tip-status{margin:12px 0}.tip-ready{display:flex;align-items:center;gap:10px;min-height:44px;font-size:16px;cursor:pointer}.tip-ready input{min-height:20px;width:20px;height:20px;accent-color:var(--ink)}.tips-editor>p{margin-top:8px}.tip-editor .field{margin:20px 0}.tip-editor [data-tip-error]{margin-top:12px}.tip-editor [data-tip-error]:empty{display:none}@media(max-width:350px){.rating-options{gap:4px}.timer-inputs{gap:8px}.timer-inputs input{width:80px}.timer-inputs button{padding:10px 12px}.personal-actions button{max-width:100%;white-space:normal}.tip-editor{padding:12px}}
/* Cooking actions preserve the existing quiet, native control vocabulary. */
.search-field:focus-within{outline:2px solid var(--ink);outline-offset:0;border-color:transparent}.search-field input:focus,.search-field input:focus-visible{outline:none;box-shadow:none}.search-result .food-photo{flex:0 0 64px}.recipe-toolbar{gap:8px}.recipe-toolbar .toolbar-brand{font:600 15px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0}.recipe-toolbar .toolbar-brand.show-recipe-title{opacity:1}.toolbar-actions{flex-shrink:0;gap:0}.toolbar-actions .icon-button{width:44px;min-width:44px;padding:10px}.recipe-more span{font-size:26px;line-height:1}.ingredients-heading{flex-wrap:wrap;gap:8px}.ingredients-heading>[data-shopping]{margin-left:auto}.personal-cooking{padding-top:20px}.personal-cooking .personal-rating{margin-top:0}.personal-private{margin-bottom:12px}.personal-form{margin-top:0}.personal-form .field{margin-bottom:12px}.personal-form small{display:block;color:var(--muted);font-size:14px;font-weight:400;margin-top:8px}.step-timers{grid-column:1/-1;margin-top:16px}.step-timers>.small{margin-top:12px;line-height:1.6}.step-timers .step-timer{padding:12px 0;border-top:1px solid var(--line);margin:0}.step-timers .timer-heading{margin:0}.step-timers .timer-actions{margin:12px 0 0}.action-sheet-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.action-sheet-buttons button{white-space:normal}.share-link{margin-top:20px}.share-link input{font-size:14px}.shopping-sheet h3{font-size:22px;line-height:1.3}.shopping-sheet>.small{margin-top:12px;line-height:1.6}.shopping-items{padding:0;list-style:none;margin:20px 0}.shopping-item{display:flex;align-items:center;gap:12px;min-height:52px;font-size:16px;border-bottom:1px solid var(--line);padding:10px 0}.shopping-item input,.print-option input{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--ink)}.shopping-item>span{flex:1}.shopping-item strong{font-size:15px;text-align:right;max-width:45%;font-weight:500}.shopping-item:has(input:checked)>span,.shopping-item:has(input:checked)>strong{color:var(--checked-ink);text-decoration:line-through}.shopping-owned{color:var(--muted)}.shopping-owned>.icon{width:22px;flex-shrink:0}.shopping-sheet summary{min-height:44px;cursor:pointer;padding:12px 0}.shopping-update{margin:20px 0;padding:16px;border:1px solid var(--control);border-radius:8px}.shopping-update button{margin:12px 0}.print-option{display:flex;align-items:center;gap:12px;min-height:52px;margin:12px 0}.print-option:last-of-type{margin-bottom:24px}.authored-presets{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:8px}.authored-presets h4{font-size:16px;margin-bottom:8px}.authored-presets>p{margin-bottom:12px}.author-timer{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;padding:16px 0;border-top:1px solid var(--line)}.author-timer>strong{flex-basis:100%}.author-timer label{display:flex;flex-direction:column;gap:6px;flex:1 1 140px;font-size:14px}.author-timer input{width:100%;font-size:16px}.author-timer label:has([data-preset-seconds]){flex:0 1 120px}#recipe-print{display:none}
@media(max-width:350px){.recipe-toolbar .back-label{display:none}.recipe-toolbar{gap:4px}.recipe-toolbar .toolbar-brand{font-size:14px}.toolbar-actions .icon-button{width:40px;min-width:40px;padding:8px}.ingredients-heading>[data-shopping]{margin-left:0}}
@media print{@page{margin:16mm}html,body{background:white!important;color:black!important;overflow:visible!important;font-size:11pt}body>*{display:none!important}body>#recipe-print{display:block!important;max-width:none;color:black;background:white;font:11pt/1.5 Georgia,"Times New Roman",serif}#recipe-print h1{font-size:25pt;margin:8pt 0 12pt}#recipe-print h2{font-size:17pt;margin:20pt 0 8pt;break-after:avoid}#recipe-print h3{font-size:12pt;margin:8pt 0;break-after:avoid}#recipe-print p{margin:8pt 0;white-space:pre-wrap}#recipe-print li{margin:6pt 0}#recipe-print ol>li{break-inside:avoid;padding-left:5pt}#recipe-print .print-brand{font:10pt system-ui,sans-serif}.print-photo{position:relative;width:220pt;height:165pt;overflow:hidden;margin:15pt 0}.print-photo img{position:absolute;max-width:none!important;object-fit:fill}.print-plain-photo{display:block;max-width:220pt;height:auto;margin:15pt 0}#recipe-print img{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.author-temperatures{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.author-temperature{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0}.author-temperature label{display:flex;flex-direction:column;gap:6px;flex:1 1 140px;font-size:14px}.author-temperature input{width:100%;font-size:16px}.author-temperatures>p{margin-bottom:16px}

/* Personal stars read beside their label; card marks use the same confirmed value. */
.personal-rating .rating-line{display:flex;align-items:center;gap:12px;min-width:0}.rating-label{flex:none;font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}.personal-rating .rating-options{gap:0;min-width:0}.personal-rating .rating-star{font-size:28px}.personal-rating>legend.sr-only{margin:0}.personal-rating>[data-personal-clear]{display:block;padding-left:0;min-height:36px;font-size:13px;font-weight:400}.personal-rating>[role=status]{margin-top:6px}.personal-rating>[role=status][hidden]{display:none}.card-personal-rating{display:block;margin-top:6px;font-size:13px;line-height:1.4;font-weight:500;color:var(--ink)}.card-personal-rating[hidden]{display:none}.card-rating-stars{letter-spacing:1px;white-space:nowrap}.feature-copy .card-personal-rating{margin:8px 0 12px}.search-result .card-personal-rating{margin-top:4px}.compact-recipe .card-personal-rating{font-size:12px}.photo-pills .photo-pill{flex-shrink:0}
@media(max-width:350px){.personal-rating .rating-line{gap:8px}.personal-rating .rating-options label{flex-basis:32px;width:32px}.personal-rating .rating-options input{width:32px}.personal-rating .rating-star{width:32px;font-size:25px}.rating-label{font-size:14px}}

/* Keep search controls fixed while only matching results scroll. */
.app-sheet.search-sheet[open]{height:min(720px,90dvh);display:flex;flex-direction:column;overflow:hidden}.search-sheet>.dialog-head{flex:0 0 auto}.search-sheet>.search-body{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.search-sheet .search-field{flex:0 0 auto}.search-sheet #search-results{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}

/* October 26: Big David Home; keep recipe controls and quiet checkoffs unchanged. */
.brand{font:850 31px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em;text-transform:uppercase}
.reader-body .topbar-inner{justify-content:flex-start;min-height:80px}.reader-body .topbar .brand{color:var(--accent-text)}
.home-discovery{display:flex;gap:10px;margin-bottom:20px}.home-discovery>button{min-width:0;min-height:48px;border-radius:10px;font-size:14px;padding:10px 12px}.home-discovery .home-search-entry{flex:1;justify-content:flex-start;background:var(--surface);border-color:var(--control);font-weight:500}.home-search-entry .icon{width:21px;height:21px}.home-discovery>button:last-child{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.home-discovery>button:last-child .icon{filter:none;width:18px;height:18px}
.home-feed .photo-pills{margin-top:0;margin-bottom:26px}.home-feed .featured-section{margin-top:0}.home-feed .feature-label{font:750 20px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--accent-text);margin-bottom:14px}.home-feed .feature-image .food-photo{border-radius:12px}.home-feed .feature-copy h2{font:750 28px/1.14 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.025em;margin-top:16px}.home-feed .feature-description{font:400 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:50ch}.home-feed .selected-collection{margin-top:36px}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-section-heading h2{font:750 22px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.025em;text-align:left}.home-section-heading>button{font-size:13px;flex:none;gap:0}.home-section-heading button .icon{width:17px;height:17px}.home-section-count{margin:0 0 12px}.home-feed .compact-recipe,.home-feed .compact-recipe .food-photo{width:128px}.home-feed .compact-recipe .food-photo{height:128px;border-radius:8px}.home-feed .compact-row{gap:12px}.home-feed .more-section{margin-top:40px}.home-feed .card-copy h2{font-size:17px}.home-feed .new-label{color:var(--accent-text)}
.collection-page>h1,.recipe-intro h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:750;letter-spacing:-.025em}.recipe .recipe-intro .description{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:18px;line-height:1.55}.collection-filter-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.collection-filter-bar>button{font-size:14px}.active-criteria{font-size:14px;color:var(--muted);min-width:0}.active-criteria strong{color:var(--ink);font-weight:600}.reader-filter-options{display:grid;gap:8px}.reader-filter-options button{justify-content:space-between;text-align:left;gap:16px;white-space:normal;border-radius:8px;font-size:15px;min-height:48px}.reader-filter-options button[aria-pressed=true]{background:var(--surface);color:var(--ink);border:2px solid var(--ink);padding:9px 15px}.reader-filter-options button>span:last-child{font-variant-numeric:tabular-nums;flex:none;color:var(--muted)}
.ingredient-disclosure{margin:0 0 4px 26px;font-size:14px;line-height:1.5}.ingredient-disclosure>summary{display:flex;align-items:center;gap:5px;width:fit-content;max-width:100%;min-height:36px;padding:4px 0;list-style:none;color:var(--muted);font-size:13px;cursor:pointer}.ingredient-disclosure>summary::-webkit-details-marker{display:none}.ingredient-disclosure>summary::marker{content:''}.ingredient-disclosure>summary .icon{width:14px;height:14px}.ingredient-disclosure[open]>summary .icon{transform:rotate(90deg)}.ingredient-disclosure>summary:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.ingredient-disclosure>summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:3px}.ingredient-disclosure .details-open-label,.ingredient-disclosure[open] .details-closed-label{display:none}.ingredient-disclosure[open] .details-open-label{display:inline}.ingredient-details-toolbar{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0}.ingredient-details-toolbar .ingredient-help{margin:0}.ingredient-details-toolbar>button{font-size:13px;min-height:36px;padding:4px 0}.ingredient-details{margin:0;padding:0 0 10px;font-size:14px;line-height:1.5}.ingredient-details>div{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px;align-items:baseline;margin:5px 0}.ingredient-details dt{font-weight:600;color:var(--muted)}.ingredient-details dd{min-width:0;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%;color:var(--ink)}.ingredient-details>.ingredient-buying-tips{display:block;margin-top:10px}.ingredient-buying-tips dd{margin-top:4px}
@media(max-width:350px){.brand{font-size:28px}.home-discovery{gap:8px}.home-discovery>button{padding:10px;font-size:13px;gap:6px}.home-section-heading{gap:8px}.home-section-heading h2{font-size:20px}.home-section-heading>button{font-size:12px}.home-feed .feature-copy h2{font-size:25px}}

/* Home titles and counts use the existing navigation actions without button chrome. */
.home-feed .home-text-control{font:inherit;letter-spacing:inherit;color:inherit;border:0;border-radius:4px;background:transparent;padding:0;min-height:44px;max-width:100%;text-align:left;justify-content:flex-start;overflow-wrap:anywhere}.home-feed .home-text-control:hover,.home-feed .home-text-control:focus-visible{text-decoration:underline;text-underline-offset:4px}.home-feed .home-text-control:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px}.home-feed .home-text-control:active{transform:none}.home-feed .home-section-heading h2{min-width:0}.home-feed .home-section-count{margin:-4px 0 6px}

/* A small handwritten author annotation; instructions and amounts retain their type. */
@font-face{font-family:"Caveat";src:url("assets/fonts/caveat-variable.ttf") format("truetype");font-weight:400 700;font-style:normal;font-display:swap}
.recipe .chef-note{grid-column:1/-1;justify-self:end;position:relative;max-width:34ch;margin:16px 4px 8px 20px;padding:0 0 12px;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.chef-note-label{display:flex;align-items:center;gap:6px;font:500 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--muted)}
.chef-note-label .icon{width:14px;height:14px;flex:none}
.recipe .chef-note p{font:500 1.5rem/1.25 "Caveat","Segoe Print",cursive;margin:5px 0 0;white-space:pre-wrap;letter-spacing:0}
.recipe .chef-note::after{content:"";position:absolute;bottom:0;left:16px;width:56px;height:7px;border-bottom:1.5px solid currentColor;border-radius:0 0 50% 50%;transform:rotate(-3deg);opacity:.6}
.recipe[data-view=cook] .chef-note{margin-block:20px 24px;margin-left:28px;max-width:36ch}
.recipe[data-text-size=larger] .chef-note p{font-size:1.75rem}
.ingredient-details a{display:inline;max-width:100%;padding:3px 0;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:350px){.recipe .chef-note,.recipe[data-view=cook] .chef-note{margin-left:12px;margin-right:0;max-width:100%}.recipe .chef-note p{font-size:1.5rem}.recipe[data-text-size=larger] .chef-note p{font-size:1.75rem}}
