:root{color-scheme:light;--ink:#101718;--muted:#677171;--canvas:#f6f6f2;--surface:#ffffff;--line:#e2e5e1;--teal:#123f3e;--teal-2:#0d5552;--mint:#39d5b3;--sun:#ffb44c;--sun-soft:#ffe3a8;--danger:#ce4c49;--shadow:0 18px 45px rgba(10,27,27,0.14);--radius-sm:14px;--radius-md:20px;--radius-lg:28px;font-family:"Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-synthesis:none;}*{box-sizing:border-box;}[hidden]{display:none !important;}html{background:#0b1d1e;}body{margin:0;min-width:320px;background:radial-gradient(circle at 20% 0%,#183b3b,#091416 66%);color:var(--ink);}button,input,textarea,select{font:inherit;}button{cursor:pointer;}button,input,textarea,select{-webkit-tap-highlight-color:transparent;}svg{width:1.35rem;height:1.35rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;}.sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}.app-shell{width:100%;min-height:100dvh;margin:0 auto;background:var(--canvas);position:relative;overflow-x:hidden;}.topbar{height:72px;padding:max(12px,env(safe-area-inset-top)) 20px 10px;display:flex;align-items:center;justify-content:space-between;background:var(--teal);color:white;}.brand{color:white;text-decoration:none;display:inline-flex;align-items:center;gap:10px;font-size:1rem;font-weight:780;letter-spacing:.01em;}.brand-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:11px 11px 11px 3px;background:var(--mint);color:#073330;font-family:Georgia,serif;font-size:1.1rem;font-style:italic;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);}.avatar{border:1px solid rgba(255,255,255,.34);width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);color:white;display:grid;place-items:center;font-weight:750;font-size:.72rem;}main{padding-bottom:calc(92px + env(safe-area-inset-bottom));}.screen{display:none;padding:22px 18px 30px;animation:screen-in .28s ease both;}.screen.is-active{display:block;}@keyframes screen-in{from{opacity:0;transform:translateY(6px);}}.welcome-row,.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;}.eyebrow{margin:0 0 5px;color:var(--muted);font-size:.78rem;font-weight:780;letter-spacing:.09em;text-transform:uppercase;}h1,h2,p{margin-top:0;}h1{margin-bottom:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.1rem,9vw,2.8rem);line-height:.98;letter-spacing:-.045em;font-weight:650;}h2{letter-spacing:-.025em;}.round-action{border:0;flex:0 0 auto;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--ink);color:white;box-shadow:0 8px 20px rgba(10,20,20,.15);}.round-action:active{transform:scale(.95);}.search-box{height:52px;padding:0 15px;margin-bottom:18px;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;gap:10px;background:white;color:#788180;box-shadow:0 4px 16px rgba(17,31,31,.035);}.search-box:focus-within{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);color:var(--teal-2);}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:1rem;}.search-box input::placeholder{color:#68736f;}.featured-card{min-height:376px;position:relative;overflow:hidden;border-radius:var(--radius-lg);color:white;background:#203230;box-shadow:var(--shadow);}.featured-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}.featured-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,16,16,.12) 0%,rgba(5,16,16,.07) 35%,rgba(5,16,16,.86) 100%);}.featured-topline{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:18px;}.pill{display:inline-flex;align-items:center;min-height:29px;padding:5px 11px;border-radius:999px;font-size:.77rem;font-weight:760;letter-spacing:.02em;}.pill-accent{background:var(--sun);color:#372000;}.rating{padding:6px 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(9,23,22,.4);backdrop-filter:blur(8px);font-size:.78rem;font-weight:740;}.featured-copy{position:absolute;z-index:1;left:20px;right:20px;bottom:20px;}.featured-copy>p{margin-bottom:4px;color:rgba(255,255,255,.72);font-size:.83rem;font-weight:650;}.featured-copy h2{margin:0 0 10px;font-family:Georgia,serif;font-size:2.25rem;line-height:1;font-weight:650;}.recipe-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:.8rem;font-weight:650;}.recipe-meta span{display:inline-flex;align-items:center;gap:5px;}.recipe-meta svg{width:1rem;height:1rem;}.recipe-meta-light{color:rgba(255,255,255,.78);margin-bottom:17px;}.light-button{width:100%;height:46px;padding:0 16px;border:0;border-radius:14px;background:rgba(255,255,255,.96);color:var(--ink);display:flex;align-items:center;justify-content:space-between;font-weight:750;}.light-button svg{width:1.05rem;}.section-heading{margin:28px 2px 13px;display:flex;align-items:baseline;justify-content:space-between;gap:12px;}.section-heading h2{margin:0;font-size:1.16rem;}.section-heading button{border:0;padding:4px;background:transparent;color:var(--teal-2);font-size:.83rem;font-weight:720;}.compact-heading{margin-top:25px;}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.quick-card{min-height:104px;padding:15px;border:0;border-radius:var(--radius-md);text-align:left;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;}.quick-card>span:last-child{display:flex;flex-direction:column;gap:2px;}.quick-card strong{font-size:.92rem;}.quick-card small{font-size:.76rem;opacity:.68;}.quick-card-dark{background:var(--teal);color:white;}.quick-card-sun{background:var(--sun-soft);color:#3b2c0c;}.quick-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.13);}.quick-card-sun .quick-icon{background:rgba(255,255,255,.47);}.quick-icon svg{width:1.18rem;height:1.18rem;}.recent-list{display:flex;flex-direction:column;gap:10px;}.recent-item{width:100%;border:1px solid var(--line);border-radius:17px;padding:10px;background:white;text-align:left;display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;}.recent-thumb{width:58px;height:58px;border-radius:13px;overflow:hidden;display:grid;place-items:center;font-family:Georgia,serif;font-size:1.45rem;font-weight:700;color:white;background:var(--teal);}.recent-thumb img{width:100%;height:100%;object-fit:cover;}.recent-copy{min-width:0;}.recent-copy strong{display:block;margin-bottom:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.93rem;}.recent-item>svg{color:#68736f;width:1.05rem;}.page-title-row{margin-top:3px;}.filter-row{display:flex;gap:8px;margin:0 -18px 20px;padding:0 18px 4px;overflow-x:auto;scrollbar-width:none;}.filter-row::-webkit-scrollbar{display:none;}.filter-chip{flex:0 0 auto;min-height:37px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:white;color:#596260;font-size:.85rem;font-weight:680;}.filter-chip.is-selected{border-color:var(--teal);background:var(--teal);color:white;}.recipe-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;}.recipe-card{min-width:0;padding:0;border:1px solid rgba(30,55,52,.08);border-radius:24px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,249,245,.98));text-align:left;box-shadow:0 14px 34px rgba(13,35,34,.08);display:flex;flex-direction:column;}.recipe-card-visual{height:144px;position:relative;overflow:hidden;background:linear-gradient(145deg,var(--teal),#267b73);display:grid;place-items:center;color:white;border-bottom:1px solid rgba(18,39,36,.08);}.recipe-card-visual img{width:100%;height:100%;object-fit:cover;}.recipe-card-letter{font-family:Georgia,serif;font-size:3.5rem;font-weight:700;opacity:.92;}.recipe-card-category{position:absolute;left:10px;top:10px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.92);color:#31413f;font-size:.67rem;font-weight:760;box-shadow:0 2px 10px rgba(16,26,25,.08);}.recipe-card-body{padding:14px 14px 15px;display:flex;flex-direction:column;gap:10px;flex:1;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,249,245,.98));}.recipe-card-body h3{min-height:2.5em;margin:0;font-size:1rem;line-height:1.22;letter-spacing:-.015em;font-weight:640;}.recipe-card .recipe-meta{gap:7px;font-size:.72rem;margin-top:auto;color:#61706c;}.recipe-card:nth-child(3n+2) .recipe-card-visual{background:linear-gradient(145deg,#a44d2d,#ee9851);}.recipe-card:nth-child(3n) .recipe-card-visual{background:linear-gradient(145deg,#435c78,#7d9fbd);}.bag-badge{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--sun);color:#493009;}.add-item-form{padding:6px 6px 6px 17px;display:flex;gap:8px;border-radius:18px;background:var(--teal);box-shadow:0 12px 28px rgba(13,57,55,.18);}.add-item-form input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:white;font-size:1rem;}.add-item-form input::placeholder{color:rgba(255,255,255,.62);}.add-item-form button{width:44px;height:44px;border:0;border-radius:14px;background:var(--mint);color:#073330;display:grid;place-items:center;}.progress-card{margin:16px 0 20px;padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:white;}.progress-label{display:flex;justify-content:space-between;margin-bottom:10px;color:var(--muted);font-size:.79rem;}.progress-label strong{color:var(--teal-2);}.progress-track{height:7px;border-radius:10px;overflow:hidden;background:#e5e9e5;}.progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teal-2),var(--mint));transition:width .3s ease;}.shopping-list{display:flex;flex-direction:column;gap:9px;}.shopping-item{min-height:60px;padding:9px 9px 9px 13px;border:1px solid var(--line);border-radius:16px;background:white;display:grid;grid-template-columns:28px 1fr 38px;align-items:center;gap:9px;}.shopping-check{width:24px;height:24px;border:2px solid #bac1bd;border-radius:8px;background:transparent;color:white;display:grid;place-items:center;}.shopping-check svg{width:.9rem;opacity:0;}.shopping-item.is-checked .shopping-check{border-color:var(--teal-2);background:var(--teal-2);}.shopping-item.is-checked .shopping-check svg{opacity:1;}.shopping-item.is-checked .shopping-name{color:#969d9a;text-decoration:line-through;}.shopping-name{font-size:.96rem;font-weight:650;}.delete-item{width:36px;height:36px;border:0;border-radius:11px;background:transparent;color:#a3aaa7;display:grid;place-items:center;}.delete-item:hover{color:var(--danger);background:#fff0ee;}.delete-item svg{width:1rem;}.clear-checked{width:100%;min-height:46px;margin-top:18px;border:0;border-radius:14px;background:transparent;color:var(--danger);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.87rem;font-weight:720;}.clear-checked:disabled{opacity:.35;cursor:default;}.clear-checked svg{width:1rem;}.empty-state{padding:48px 20px;text-align:center;color:var(--muted);}.empty-state>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:19px;background:#e9eeea;color:var(--teal-2);font-size:1.6rem;font-weight:750;}.empty-state h2{margin-bottom:7px;color:var(--ink);font-size:1.1rem;}.empty-state p{max-width:270px;margin:0 auto;font-size:.87rem;line-height:1.5;}.empty-action{min-height:42px;margin-top:16px;padding:0 16px;border:0;border-radius:13px;background:var(--teal);color:white;font-size:.84rem;font-weight:740;}.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;height:calc(72px + env(safe-area-inset-bottom));padding:7px 15px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(0,0,0,.06);background:rgba(255,255,255,.94);backdrop-filter:blur(18px);box-shadow:0 -10px 28px rgba(10,25,24,.08);}.nav-item{border:0;border-radius:15px;background:transparent;color:#858e8b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.69rem;font-weight:700;}.nav-item svg{width:1.35rem;height:1.35rem;}.nav-item.is-active{color:var(--teal-2);}.nav-icon-wrap{position:relative;line-height:0;}.nav-icon-wrap b{position:absolute;top:-6px;right:-10px;min-width:20px;height:20px;padding:0 4px;border:2px solid white;border-radius:10px;background:var(--sun);color:#372000;font-size:.75rem;line-height:16px;text-align:center;}dialog{padding:0;border:0;color:var(--ink);background:white;box-shadow:0 24px 70px rgba(0,0,0,.3);}dialog::backdrop{background:rgba(5,18,18,.6);backdrop-filter:blur(4px);}.sheet-dialog{width:min(100%,620px);max-width:100%;max-height:92dvh;margin:auto auto 0;border-radius:28px 28px 0 0;overflow:auto;}.sheet-handle{position:sticky;z-index:3;top:0;width:42px;height:5px;margin:9px auto -14px;border-radius:5px;background:rgba(255,255,255,.7);}.detail-floating-actions{position:absolute;z-index:4;top:20px;right:18px;left:18px;display:flex;justify-content:flex-end;gap:7px;pointer-events:none;}.floating-close{position:static;color:white !important;background:rgba(8,20,20,.54) !important;backdrop-filter:blur(7px);pointer-events:auto;}.floating-close.is-active{color:#ffe09a !important;background:rgba(132,63,19,.72) !important;}.dialog-close{width:38px;height:38px;border:0;border-radius:50%;background:#eef0ed;color:var(--ink);display:grid;place-items:center;}.dialog-close svg{width:1.1rem;}.detail-cover{width:100%;aspect-ratio:1.32;object-fit:cover;display:block;background:var(--teal);}.detail-cover-placeholder{aspect-ratio:1.8;display:block;}.detail-body{padding:23px 20px max(30px,env(safe-area-inset-bottom));}.detail-body h2{margin:0 0 10px;font-family:Georgia,serif;font-size:2rem;line-height:1.04;}.detail-body .recipe-meta{margin-bottom:24px;}.detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:8px 0 10px;}.detail-title-row h2{margin:0;}.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 17px;}.tag{padding:5px 9px;border-radius:999px;background:#e7efec;color:var(--teal-2);font-size:.73rem;font-weight:720;}.servings-control{margin:20px 0 6px;padding:13px 14px;border-radius:16px;background:var(--teal);color:white;display:flex;align-items:center;justify-content:space-between;gap:14px;}.servings-copy{display:grid;gap:2px;}.servings-copy small{color:rgba(255,255,255,.62);font-size:.7rem;}.servings-copy strong{font-size:.9rem;}.servings-buttons{display:flex;align-items:center;gap:5px;}.servings-buttons button{width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.1);color:white;display:grid;place-items:center;}.servings-buttons button:disabled{opacity:.35;}.servings-buttons svg{width:.95rem;}.servings-value{min-width:32px;text-align:center;font-size:1rem;font-weight:800;}.detail-section{margin-top:24px;}.detail-section h3{margin:0 0 12px;font-size:1rem;}.ingredient-list{list-style:none;padding:0;margin:0;display:grid;gap:9px;}.ingredient-list li{padding:11px 13px;border-radius:12px;background:#f2f4f0;font-size:.9rem;}.step-list{margin:0;padding:0;list-style:none;counter-reset:steps;display:grid;gap:15px;}.step-list li{counter-increment:steps;font-size:.91rem;line-height:1.48;}.step-list li.is-done .step-copy{color:#8a9290;text-decoration:line-through;}.step-copy{min-width:0;}.step-photo-wrap{margin:10px 0 0 43px;}.step-photo{width:100%;max-height:360px;border-radius:15px;object-fit:cover;display:block;box-shadow:0 6px 18px rgba(24,45,42,.08);}.step-done-button{width:100%;padding:0;border:0;background:transparent;display:grid;grid-template-columns:32px 1fr;gap:11px;color:inherit;text-align:left;line-height:1.48;}.step-done-button::before{content:attr(data-step-number);width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--sun-soft);color:#4d3403;font-size:.78rem;font-weight:800;}.step-list li.is-done .step-done-button::before{content:"✓";background:var(--teal-2);color:white;}.recipe-note{padding:15px;border-left:4px solid var(--sun);border-radius:0 13px 13px 0;background:#fff6df;color:#4f4838;font-size:.88rem;line-height:1.5;white-space:pre-wrap;}.source-link{color:var(--teal-2);font-size:.86rem;font-weight:720;word-break:break-word;}.detail-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px;}.secondary-button{min-height:46px;border:1px solid var(--line);border-radius:14px;background:white;color:var(--teal-2);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:720;}.secondary-button svg{width:1.05rem;}.primary-button{width:100%;min-height:50px;padding:0 16px;border:0;border-radius:15px;background:var(--teal);color:white;font-weight:760;}.cart-button{margin-top:24px;display:flex;align-items:center;justify-content:center;gap:8px;}.form-dialog{width:min(calc(100% - 24px),560px);max-height:calc(100dvh - 24px);padding:22px;border-radius:25px;overflow:auto;}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}.dialog-heading h2{margin:0;font-family:Georgia,serif;font-size:1.8rem;}.recipe-form{display:grid;gap:15px;}.recipe-form label{display:grid;gap:7px;color:#475250;font-size:.83rem;font-weight:720;}.recipe-form input,.recipe-form textarea,.recipe-form select{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px 13px;outline:0;background:#fafbf8;color:var(--ink);font-size:.95rem;font-weight:500;resize:vertical;}.recipe-form input:focus,.recipe-form textarea:focus,.recipe-form select:focus{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);}.recipe-form label small{color:#89918f;font-size:.7rem;font-weight:550;}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;}.form-span-2{grid-column:1 / -1;}.difficulty-fieldset{min-width:0;margin:0;padding:0;border:0;}.difficulty-fieldset legend{margin-bottom:7px;color:#475250;font-size:.83rem;font-weight:720;}.difficulty-options{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;border:1px solid var(--line);border-radius:13px;background:#fafbf8;}.recipe-form .difficulty-option{display:block;cursor:pointer;}.difficulty-option input{position:absolute;opacity:0;pointer-events:none;}.difficulty-option span{min-height:36px;padding:0 6px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#66706e;font-size:.78rem;font-weight:720;transition:background .16s ease,color .16s ease,box-shadow .16s ease;}.difficulty-option input:checked + span{background:white;color:var(--teal-2);box-shadow:0 1px 5px rgba(15,55,51,.12);}.difficulty-option input:focus-visible + span{outline:2px solid var(--teal-2);outline-offset:1px;}.photo-field{position:relative;}.photo-preview{aspect-ratio:1.75;overflow:hidden;border:1.5px dashed #b9c4bf;border-radius:18px;background:#f2f5f1;display:grid;place-items:center;}.photo-preview.has-photo{border-style:solid;}.photo-preview img{width:100%;height:100%;object-fit:cover;display:block;}.photo-placeholder{display:flex;flex-direction:column;align-items:center;gap:5px;color:#71807b;text-align:center;}.photo-placeholder svg{width:1.7rem;height:1.7rem;margin-bottom:3px;color:var(--teal-2);}.photo-placeholder strong{font-size:.9rem;}.photo-placeholder small{font-size:.72rem;}.photo-input-label{min-height:42px;margin-top:8px;border:1px solid var(--line);border-radius:13px;background:white;color:var(--teal-2) !important;display:flex !important;align-items:center;justify-content:center;font-size:.82rem !important;}.photo-remove{position:absolute;right:9px;top:9px;min-height:32px;padding:0 10px;border:0;border-radius:10px;background:rgba(16,23,24,.72);color:white;font-size:.7rem;font-weight:720;backdrop-filter:blur(5px);}.step-editor-section{display:grid;gap:10px;}.step-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#475250;font-size:.83rem;font-weight:720;}.step-editor-heading button{min-height:34px;padding:0 10px;border:0;border-radius:10px;background:#e6efeb;color:var(--teal-2);display:inline-flex;align-items:center;gap:5px;font-size:.73rem;font-weight:740;}.step-editor-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;}.step-editor-actions #import-steps-button{background:#f0f2ee;color:#596562;}.step-editor-heading svg{width:.9rem;}.step-editor-list{display:grid;gap:11px;}.step-editor{padding:11px;border:1px solid var(--line);border-radius:15px;background:#f7f8f5;}.step-editor-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}.step-number{color:var(--teal-2);font-size:.75rem;font-weight:800;}.step-remove{width:30px;height:30px;border:0;border-radius:9px;background:transparent;color:#9a6d68;display:grid;place-items:center;}.step-remove svg{width:.9rem;}.step-editor textarea{min-height:82px;}.step-photo-tools{margin-top:8px;display:flex;align-items:center;flex-wrap:wrap;gap:7px;}.step-photo-label{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--teal-2);display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:720;cursor:pointer;}.step-photo-label svg{width:.9rem;}.step-photo-remove{min-height:34px;padding:0 8px;border:0;background:transparent;color:var(--danger);font-size:.71rem;font-weight:680;}.step-photo-preview{width:100%;max-height:220px;margin-top:8px;border-radius:12px;object-fit:cover;display:block;}.editor-actions{display:grid;gap:9px;}.danger-button{width:100%;min-height:46px;border:1px solid #f0ccc9;border-radius:14px;background:#fff7f6;color:var(--danger);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:720;}.danger-button svg{width:1rem;}.confirm-dialog{width:min(calc(100% - 36px),390px);padding:25px;border-radius:24px;text-align:center;}.confirm-icon{width:52px;height:52px;margin:0 auto 14px;border-radius:17px;background:#fff0ee;color:var(--danger);display:grid;place-items:center;}.confirm-dialog h2{margin-bottom:8px;font-family:Georgia,serif;font-size:1.55rem;}.confirm-dialog p{margin-bottom:21px;color:var(--muted);font-size:.87rem;line-height:1.5;}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;}.confirm-actions button{min-height:44px;border:1px solid var(--line);border-radius:13px;background:white;font-weight:720;}.confirm-actions .danger-solid{border-color:var(--danger);background:var(--danger);color:white;}.favorite-filter{display:inline-flex;align-items:center;gap:5px;}.favorite-filter svg{width:.85rem;height:.85rem;}.recipe-card-favorite{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.92);color:#b0603f;display:grid;place-items:center;box-shadow:0 2px 10px rgba(16,26,25,.08);}.recipe-card-favorite svg{width:.9rem;height:.9rem;fill:currentColor;}.saving-overlay{position:fixed;z-index:120;inset:0;background:rgba(7,20,20,.64);display:grid;place-items:center;color:white;backdrop-filter:blur(4px);}.saving-overlay[hidden]{display:none;}.saving-overlay div{padding:18px 22px;border-radius:17px;background:#102a29;font-weight:720;}.toast{position:fixed;z-index:80;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));max-width:calc(100% - 36px);padding:11px 15px;border-radius:13px;background:#101919;color:white;box-shadow:var(--shadow);opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:.25s ease;font-size:.86rem;font-weight:650;text-align:center;}.toast.is-visible{opacity:1;transform:translate(-50%,0);}@media (min-width:720px){.app-shell{width:min(100%,760px);min-height:100dvh;box-shadow:0 0 70px rgba(0,0,0,.4);}.topbar,.bottom-nav{left:50%;right:auto;width:min(100%,760px);transform:translateX(-50%);}.screen{padding-left:34px;padding-right:34px;}.featured-card{min-height:430px;}.quick-card{min-height:118px;}.recipe-grid{grid-template-columns:repeat(3,1fr);}.filter-row{margin-left:-34px;margin-right:-34px;padding-left:34px;padding-right:34px;}.editor-dialog{width:min(calc(100% - 34px),650px);}}@media (max-width:390px){.form-grid{grid-template-columns:1fr;}.form-span-2{grid-column:auto;}.detail-floating-actions{gap:5px;}.detail-floating-actions .dialog-close{width:35px;height:35px;}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto !important;animation-duration:.01ms !important;transition-duration:.01ms !important;}}.featured-card{transition:transform .2s ease,opacity .2s ease;}.featured-card>*{animation:featured-fade .28s ease both;}@keyframes featured-fade{from{opacity:0;transform:translateY(4px);}}.featured-refresh{min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(9,23,22,.42);color:white;backdrop-filter:blur(8px);font-size:.75rem;font-weight:760;}.featured-refresh:active{transform:scale(.96);}.recipe-scale-panel{margin-top:17px;padding:8px;border:1px solid var(--line);border-radius:18px;background:#fbfcf9;}.recipe-scale-panel .servings-control{margin:0;border:0;background:white;}.ingredients-section{margin-top:23px;}.ingredient-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;}.ingredient-section-heading h3{margin:0;}.ingredient-section-heading span{max-width:160px;color:#8b9391;font-size:.66rem;line-height:1.25;text-align:right;}.ingredient-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;}.ingredient-reset{min-height:28px;padding:0 8px;border:1px solid #d8e2de;border-radius:9px;background:#f4f8f6;color:var(--teal-2);font-size:.67rem;font-weight:760;white-space:nowrap;}.ingredient-reset:active{transform:scale(.97);}.ingredient-list{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white;}.ingredient-row{min-height:46px;padding:8px 10px 8px 13px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid #eceeea;}.ingredient-row:last-child{border-bottom:0;}.ingredient-name{min-width:0;color:#303a38;font-size:.88rem;line-height:1.3;}.ingredient-amount{min-width:72px;min-height:32px;padding:5px 9px;border:0;border-radius:10px;background:#edf4f1;color:var(--teal-2);font-size:.82rem;font-weight:800;white-space:nowrap;}.ingredient-amount:active{transform:scale(.97);}.ingredient-row-static{grid-template-columns:1fr;}.ingredient-row-static .ingredient-name{color:#56615f;}.ingredient-scale-dialog{text-align:left;}.ingredient-scale-dialog form{display:grid;gap:12px;}.ingredient-scale-dialog .eyebrow{margin:0;text-align:center;}.ingredient-scale-dialog h2{margin:0;text-align:center;}.ingredient-scale-icon{width:50px;height:50px;margin:0 auto;border-radius:17px;background:#e8f1ee;color:var(--teal-2);display:grid;place-items:center;font-size:1.15rem;font-weight:850;}.ingredient-scale-name{margin:1px 0 0;color:var(--ink);text-align:center;font-size:1rem;font-weight:780;}.ingredient-scale-original{margin:0;color:var(--muted);text-align:center;font-size:.78rem;}.ingredient-scale-field{display:grid;gap:7px;color:#475250;font-size:.8rem;font-weight:720;}.ingredient-scale-input-wrap{display:grid;grid-template-columns:1fr auto;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fafbf8;}.ingredient-scale-input-wrap:focus-within{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);}.ingredient-scale-input-wrap input{min-width:0;width:100%;padding:12px 13px;border:0;outline:0;background:transparent;color:var(--ink);font-size:1rem;font-weight:720;}.ingredient-scale-input-wrap b{padding:0 13px;color:var(--muted);font-size:.82rem;}.ingredient-scale-help{margin:-2px 0 4px;color:#7a8582;font-size:.72rem;line-height:1.4;text-align:center;}.ingredient-scale-dialog .confirm-actions .primary-button{min-height:44px;border-radius:13px;}@media (max-width:390px){.ingredient-section-heading{align-items:end;}.ingredient-section-heading span{max-width:125px;}.ingredient-row{gap:8px;}.ingredient-amount{min-width:64px;}.scale-base{display:none;}}.recipe-scale-panel .servings-control{color:var(--ink);}.recipe-scale-panel .servings-copy small{color:var(--muted);}.recipe-scale-panel .servings-buttons button{border-color:var(--line);background:#edf4f1;color:var(--teal-2);}.ingredient-list{display:block;gap:0;}.ingredient-list .ingredient-row{padding:8px 10px 8px 13px;border-radius:0;background:white;font-size:.9rem;}.ingredient-scale-dialog .confirm-actions .primary-button{border-color:var(--teal);background:var(--teal);color:white;}.bulk-steps-dialog{text-align:left;}.bulk-steps-dialog form{display:grid;gap:12px;}.bulk-steps-dialog .eyebrow,.bulk-steps-dialog h2{margin:0;text-align:center;}.bulk-steps-help{margin:0;color:#687370;font-size:.78rem;line-height:1.5;}.bulk-steps-dialog textarea{width:100%;min-height:230px;resize:vertical;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:#fafbf8;color:var(--ink);font:inherit;line-height:1.45;}.bulk-steps-dialog textarea:focus{outline:0;border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);}.bulk-steps-append{display:flex;align-items:flex-start;gap:8px;color:#586461;font-size:.76rem;line-height:1.35;}.bulk-steps-append input{margin-top:2px;accent-color:var(--teal-2);}@media (max-width:430px){.step-editor-heading{align-items:flex-start;}.step-editor-actions{max-width:210px;}.ingredient-section-heading{align-items:flex-start;}.ingredient-heading-actions{align-items:flex-end;flex-direction:column;gap:5px;}}.featured-card .detail-cover-placeholder{position:absolute;inset:0;aspect-ratio:auto;width:100%;height:100%;}.featured-copy h2{font-size:clamp(1.85rem,8.3vw,2.25rem);line-height:.92;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}.featured-topline{position:relative;z-index:2;}.featured-copy{z-index:2;}.bulk-steps-dialog .confirm-actions .primary-button{border-color:var(--teal);background:var(--teal);color:white;}@media (max-width:430px){.featured-card{min-height:330px;}.featured-copy{left:16px;right:16px;bottom:16px;}.featured-copy h2{margin-bottom:8px;}.recipe-meta-light{margin-bottom:12px;}.bulk-steps-dialog{width:min(calc(100% - 24px),390px);max-height:min(88dvh,calc(100dvh - 16px));padding:20px;overflow:auto;}.bulk-steps-dialog form{gap:10px;}.bulk-steps-dialog h2{font-size:1.35rem;}.bulk-steps-help{font-size:.74rem;}.bulk-steps-dialog textarea{min-height:160px;max-height:36dvh;}.bulk-steps-dialog .confirm-actions{position:sticky;bottom:-20px;margin:0 -20px -20px;padding:10px 20px 20px;background:linear-gradient(180deg,rgba(255,255,255,.86),#fff 35%);}}@media (max-width:360px){.featured-copy h2{font-size:1.7rem;}.featured-card{min-height:315px;}.featured-refresh{padding-inline:10px;font-size:.7rem;}}.cover-placeholder{position:relative;overflow:hidden;isolation:isolate;color:white;background:radial-gradient(circle at 18% 18%,var(--cover-glow) 0%,transparent 34%),radial-gradient(circle at 78% 74%,var(--cover-accent) 0%,transparent 33%),linear-gradient(145deg,var(--cover-top),var(--cover-bottom));}.cover-placeholder::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.08),transparent 22%,transparent 74%,rgba(255,255,255,.05)),repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 1px,transparent 1px 11px);opacity:.42;z-index:0;pointer-events:none;}.cover-placeholder::after{content:"";position:absolute;right:-16%;bottom:-26%;width:60%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(255,255,255,.16);box-shadow:0 0 0 26px rgba(255,255,255,.05),0 0 0 54px rgba(255,255,255,.03);opacity:.88;z-index:0;pointer-events:none;}.cover-placeholder-monogram,.recipe-card-letter,.recent-thumb-letter{position:relative;z-index:1;display:grid;place-items:center;font-family:Georgia,"Times New Roman",serif;font-weight:700;color:rgba(255,255,255,.92);text-shadow:0 12px 30px rgba(0,0,0,.16);}.detail-cover-placeholder .cover-placeholder-monogram{position:absolute;inset:0;font-size:clamp(4.5rem,22vw,8rem);opacity:.8;transform:translateY(-6px);}.featured-card .detail-cover-placeholder .cover-placeholder-monogram{opacity:.82;transform:translateY(-14px);}.recipe-card-visual.cover-placeholder{background-image:radial-gradient(circle at 18% 18%,var(--cover-glow) 0%,transparent 34%),radial-gradient(circle at 78% 74%,var(--cover-accent) 0%,transparent 33%),linear-gradient(145deg,var(--cover-top),var(--cover-bottom));}.recipe-card-visual.cover-placeholder .recipe-card-letter{font-size:3.2rem;opacity:.86;}.recent-thumb.cover-placeholder{background-image:radial-gradient(circle at 18% 18%,var(--cover-glow) 0%,transparent 34%),radial-gradient(circle at 78% 74%,var(--cover-accent) 0%,transparent 33%),linear-gradient(145deg,var(--cover-top),var(--cover-bottom));}.recent-thumb-letter{width:100%;height:100%;font-size:1.38rem;opacity:.9;}@media (max-width:430px){.featured-card .detail-cover-placeholder .cover-placeholder-monogram{font-size:clamp(4rem,25vw,7rem);transform:translateY(-8px);}}.duration-field{min-width:0;}.duration-input-row{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px;}.recipe-form .duration-input-row input,.recipe-form .duration-input-row select{min-width:0;}.recipe-form .duration-input-row select{padding-left:10px;padding-right:8px;}.cover-display-controls{margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#f8f9f6;display:grid;gap:8px;}.cover-display-title{color:#65706d;font-size:.72rem;font-weight:760;}.cover-fit-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border:1px solid var(--line);border-radius:12px;background:white;}.cover-fit-options label{display:block !important;cursor:pointer;}.cover-fit-options input{position:absolute;opacity:0;pointer-events:none;}.cover-fit-options span{min-height:34px;padding:0 8px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#6a7471;font-size:.76rem;font-weight:740;}.cover-fit-options input:checked + span{background:#e7efec;color:var(--teal-2);}.cover-fit-options input:focus-visible + span{outline:2px solid var(--teal-2);outline-offset:1px;}.cover-position-button{min-height:36px;border:1px solid #d6e0dc;border-radius:11px;background:white;color:var(--teal-2);font-size:.76rem;font-weight:760;}.photo-preview.has-photo{background:linear-gradient(145deg,#2e3735,#111918);}.photo-preview.has-photo img{background:transparent;}.featured-card{display:flex;flex-direction:column;min-height:390px;background:#102321;}.featured-media{position:relative;flex:1 1 245px;min-height:235px;overflow:hidden;background:#242522;}.featured-media>img{position:absolute;inset:0;width:100%;height:100%;display:block;background:#242522;}.featured-media>.detail-cover-placeholder{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;}.featured-media-shade{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,13,13,.18),rgba(4,13,13,0) 35%,rgba(4,13,13,.12));}.featured-topline{position:absolute;z-index:3;top:0;left:0;right:0;}.featured-copy{position:relative;z-index:2;left:auto;right:auto;bottom:auto;padding:16px 20px 20px;background:linear-gradient(145deg,#0f2523,#0c1b1a);}.featured-copy>p{margin-bottom:3px;}.featured-copy h2{margin-bottom:9px;}.featured-card>img{position:static;}.detail-cover{width:100%;height:auto;max-height:none;aspect-ratio:auto;display:block;object-fit:contain !important;background:#202523;cursor:zoom-in;}.step-photo{width:100%;height:auto;max-height:none;border-radius:15px;object-fit:contain !important;background:#f0f1ed;display:block;box-shadow:0 6px 18px rgba(24,45,42,.08);cursor:zoom-in;}.step-photo-preview{width:100%;height:auto;max-height:none;object-fit:contain !important;background:#eef0ec;}.zoomable-photo{cursor:zoom-in;}.zoomable-photo:focus-visible{outline:3px solid var(--sun);outline-offset:-4px;}.photo-viewer-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;overflow:hidden;background:rgba(5,8,8,.97);box-shadow:none;}.photo-viewer-dialog::backdrop{background:rgba(0,0,0,.95);backdrop-filter:none;}.photo-viewer-dialog img{width:100%;height:100%;padding:max(54px,calc(env(safe-area-inset-top) + 42px)) 10px max(18px,env(safe-area-inset-bottom));object-fit:contain;display:block;}.photo-viewer-close{position:fixed;z-index:2;top:max(10px,env(safe-area-inset-top));right:12px;width:42px;height:42px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(255,255,255,.1);color:white;display:grid;place-items:center;backdrop-filter:blur(8px);}.photo-viewer-close svg{width:1.15rem;height:1.15rem;}.cover-position-dialog{text-align:left;}.cover-position-dialog .eyebrow,.cover-position-dialog h2{text-align:center;}.cover-position-dialog h2{margin-top:0;}.cover-position-help{margin-bottom:14px !important;text-align:center;}.cover-position-preview{position:relative;width:100%;aspect-ratio:1.55;overflow:hidden;border-radius:17px;background:#202422;touch-action:none;cursor:crosshair;user-select:none;}.cover-position-preview img{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none;}.cover-focus-marker{position:absolute;z-index:2;left:50%;top:50%;width:26px;height:26px;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px rgba(0,0,0,.28),0 3px 12px rgba(0,0,0,.28);pointer-events:none;}.cover-focus-marker::before,.cover-focus-marker::after{content:"";position:absolute;background:white;opacity:.9;}.cover-focus-marker::before{left:50%;top:4px;bottom:4px;width:1px;transform:translateX(-50%);}.cover-focus-marker::after{top:50%;left:4px;right:4px;height:1px;transform:translateY(-50%);}.cover-position-dialog .confirm-actions .primary-button{border-color:var(--teal);background:var(--teal);color:white;}.recipe-card-photo,.recent-photo,.compact-photo-main{background:transparent !important;}@media (max-width:430px){.featured-card{min-height:370px;}.featured-media{min-height:215px;flex-basis:225px;}.featured-copy{padding:14px 16px 16px;}.step-photo-wrap{margin-left:0;}.cover-position-dialog{width:min(calc(100% - 24px),390px);padding:20px;}}.sheet-handle{pointer-events:none;}.duration-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.duration-part{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fafbf8;}.recipe-form .duration-part input{min-width:0;width:100%;padding:11px 8px 11px 11px;border:0;outline:0;background:transparent;text-align:right;font-weight:720;}.duration-part:focus-within{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);}.recipe-form .duration-part small{padding:0 10px 0 3px;color:#687370;font-size:.72rem;font-weight:720;}.cover-display-controls{grid-template-columns:1fr auto;align-items:center;}.cover-display-title{align-self:center;}.cover-editor-button{min-height:38px;padding:0 12px;border:1px solid #cedbd6;border-radius:11px;background:white;color:var(--teal-2);font-size:.76rem;font-weight:780;}.cover-display-status{grid-column:1 / -1;color:#7b8683;font-size:.68rem;font-weight:580;line-height:1.35;}.photo-preview.has-photo{overflow:hidden;}.photo-preview.has-photo img{transition:transform .15s ease;}.compact-photo-frame{position:absolute;inset:0;display:block;overflow:hidden;background:#242522;}.compact-photo-frame img{position:absolute !important;inset:0;width:100% !important;height:100% !important;display:block;}.compact-photo-blur{object-fit:cover !important;filter:blur(18px) saturate(.85);transform:scale(1.12) !important;opacity:.62;}.compact-photo-main{z-index:1;object-fit:contain !important;}.compact-photo-crop{transition:transform .15s ease;}.recent-thumb .compact-photo-frame,.recipe-card-visual .compact-photo-frame{border-radius:inherit;}.cover-position-dialog{width:min(calc(100% - 28px),430px);max-height:min(90dvh,700px);overflow:auto;padding:18px;border-radius:24px;}.cover-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 auto 12px;max-width:320px;padding:4px;border:1px solid var(--line);border-radius:13px;background:#f4f6f3;}.cover-mode-options button{min-height:38px;border:0;border-radius:9px;background:transparent;color:#687370;font-size:.78rem;font-weight:760;}.cover-mode-options button.is-selected{background:white;color:var(--teal-2);box-shadow:0 2px 8px rgba(20,40,38,.08);}.cover-position-preview{width:min(100%,320px);margin:0 auto;aspect-ratio:1.52;cursor:grab;background:linear-gradient(145deg,#151c1b,#293533);border-radius:22px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 14px 28px rgba(10,18,18,.14);}.cover-position-preview:active{cursor:grabbing;}.cover-position-preview img{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;user-select:none;}#cover-position-image{z-index:1;}.cover-position-blur{object-fit:cover !important;filter:blur(20px) saturate(.8);transform:scale(1.14) !important;opacity:.62;}.cover-crop-grid{position:absolute;z-index:3;inset:0;pointer-events:none;opacity:.34;background:linear-gradient(to right,transparent 33.1%,rgba(255,255,255,.8) 33.2%,rgba(255,255,255,.8) 33.5%,transparent 33.6%,transparent 66.3%,rgba(255,255,255,.8) 66.4%,rgba(255,255,255,.8) 66.7%,transparent 66.8%),linear-gradient(to bottom,transparent 33.1%,rgba(255,255,255,.8) 33.2%,rgba(255,255,255,.8) 33.5%,transparent 33.6%,transparent 66.3%,rgba(255,255,255,.8) 66.4%,rgba(255,255,255,.8) 66.7%,transparent 66.8%);}.cover-zoom-controls{margin-top:12px;display:grid;grid-template-columns:38px minmax(0,1fr) 38px 54px;align-items:center;gap:7px;}.cover-zoom-controls[hidden]{display:none !important;}.cover-zoom-controls button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--teal-2);font-size:1.15rem;font-weight:760;}.cover-zoom-controls label{display:block;}.cover-zoom-controls input[type="range"]{width:100%;accent-color:var(--teal-2);}.cover-zoom-controls output{color:#61706c;font-size:.74rem;font-weight:780;text-align:right;}.cover-gesture-hint{margin:8px auto 14px !important;max-width:28rem;color:#78837f;font-size:.72rem;line-height:1.4;text-align:center;}.cover-editor-actions{display:grid;grid-template-columns:auto 1fr 1.25fr;gap:7px;}.cover-editor-actions button{min-height:41px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:white;font-size:.75rem;font-weight:760;}.cover-editor-actions .primary-button{border-color:var(--teal);background:var(--teal);color:white;}.detail-cover,.step-photo,.step-photo-preview{object-fit:contain !important;height:auto !important;max-height:none !important;transform:none !important;}@media (max-width:430px){.duration-parts{gap:5px;}.recipe-form .duration-part input{padding-left:7px;padding-right:4px;}.recipe-form .duration-part small{padding-right:7px;}.cover-position-dialog{width:min(calc(100% - 18px),410px);padding:18px;}.cover-position-dialog h2{font-size:1.35rem;}.cover-position-help{font-size:.75rem;}.cover-editor-actions{grid-template-columns:1fr 1fr;}.cover-editor-actions #cover-position-reset{grid-column:1 / -1;order:3;min-height:36px;}}.recent-thumb{position:relative;}.recipe-card:hover{transform:translateY(-1px);}.recipe-card-visual::after{content:"";position:absolute;inset:auto 0 0 0;height:42%;background:linear-gradient(180deg,rgba(8,14,14,0),rgba(8,14,14,.06));pointer-events:none;}.recipe-card-visual.cover-placeholder,.recent-thumb.cover-placeholder{color:rgba(255,255,255,.96);}.recipe-card-letter{font-size:3.8rem;opacity:.88;}.recent-thumb{border:1px solid rgba(29,54,50,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);}.compact-photo-frame{background:linear-gradient(145deg,#2b3230,#171f1d);}.compact-photo-blur{filter:blur(22px) saturate(1);transform:scale(1.18) !important;opacity:.78;}.compact-photo-main{background:transparent !important;}.compact-photo-frame.is-contain::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.05));pointer-events:none;}.cover-position-dialog::backdrop{background:rgba(22,31,31,.42);backdrop-filter:blur(6px);}.cover-position-dialog .dialog-heading,.cover-position-dialog .confirm-actions{display:none;}.cover-position-help{max-width:31rem;margin-left:auto !important;margin-right:auto !important;}.cover-display-controls{padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:#fafbf8;}@media (max-width:430px){.recipe-card{border-radius:22px;}.recipe-card-visual{height:136px;}.cover-position-dialog{width:min(calc(100% - 16px),380px);padding:16px;}.cover-position-preview{width:min(100%,292px);border-radius:18px;}}.sort-panel{display:flex;gap:8px;overflow-x:auto;margin:0 0 16px;padding-bottom:3px;scrollbar-width:none}.sort-panel::-webkit-scrollbar{display:none}.sort-panel button,.backup-tools button,.backup-tools label{border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 12px;font-size:.78rem;font-weight:700;color:#53635f}.backup-tools{display:flex;gap:10px;padding:18px;justify-content:center}.cook-dialog{width:min(calc(100% - 18px),620px);height:min(94dvh,900px);max-height:94dvh;border:0;border-radius:30px;padding:0;overflow:hidden;background:#f8f7f2;color:#20302d;box-shadow:0 28px 80px rgba(0,0,0,.28);}.cook-dialog::backdrop{background:rgba(4,15,14,.58);backdrop-filter:blur(7px);}.cook-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;}.cook-header{min-height:67px;padding:13px 15px 9px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:9px;border-bottom:1px solid rgba(27,56,52,.07);background:rgba(255,255,255,.92);}.cook-close{width:38px;height:38px;border:0;border-radius:50%;background:#eef1ed;color:#33423f;font-size:1.45rem;line-height:1;display:grid;place-items:center;}.cook-header-center{min-width:0;display:grid;gap:2px;text-align:center;}.cook-header-center strong{font-size:.9rem;}.cook-header-center small{color:#71807b;font-size:.65rem;font-weight:650;}.cook-progress-count{min-width:38px;padding:6px 7px;border-radius:999px;background:#e9f0ed;color:var(--teal-2);font-size:.68rem;font-weight:800;text-align:center;}.cook-progress-track{height:4px;background:#e4e8e4;overflow:hidden;}.cook-progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--mint),#0d8279);transition:width .25s ease;}.cook-step-nav{display:flex;gap:7px;padding:10px 14px 8px;overflow-x:auto;scrollbar-width:none;background:#fff;border-bottom:1px solid rgba(27,56,52,.07);}.cook-step-nav::-webkit-scrollbar{display:none;}.cook-step-nav button{flex:0 0 auto;width:32px;height:32px;border:1px solid #dce3df;border-radius:50%;background:#fff;color:#6a7874;font-size:.72rem;font-weight:800;}.cook-step-nav button.is-current{border-color:var(--teal);background:var(--teal);color:#fff;box-shadow:0 5px 14px rgba(18,63,62,.18);}.cook-step-nav button.is-done:not(.is-current){border-color:#b6ddd0;background:#e5f6ef;color:#08755e;}.cook-scroll-area{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}#cook-content{padding:18px 18px 8px;}.cook-stage{min-height:100%;}.cook-recipe-name{margin:0 0 10px;color:#7d8885;font-size:.75rem;font-weight:750;letter-spacing:.02em;}.cook-photo{width:100%;height:auto;max-height:42dvh;object-fit:contain;display:block;border-radius:20px;background:#e9ebe7;margin:0 0 18px;box-shadow:0 10px 28px rgba(21,39,36,.08);}.cook-step-number{display:inline-flex;min-height:28px;align-items:center;padding:5px 10px;border-radius:999px;background:#ffe7b9;color:#69470d;font-size:.72rem;font-weight:820;margin-bottom:10px;}.cook-step-text{margin:0;color:#1f2b29;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.35rem,5.3vw,1.75rem);line-height:1.43;letter-spacing:-.015em;white-space:pre-wrap;}.cook-timer-suggestions{margin-top:20px;padding:13px;border:1px solid #dce4df;border-radius:17px;background:#fff;}.cook-timer-suggestions>span{display:block;margin-bottom:9px;color:#6f7d79;font-size:.7rem;font-weight:750;}.cook-timer-suggestions>div{display:flex;flex-wrap:wrap;gap:8px;}.cook-timer-suggestions button{min-height:38px;padding:0 12px;border:1px solid #cbdcd5;border-radius:12px;background:#edf7f3;color:#0c655d;font-weight:790;}.cook-timer-dock{margin:12px 18px 18px;padding:12px;border:1px solid #d9e0dc;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(21,39,36,.06);}.cook-timer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}.cook-timer-heading strong{font-size:.78rem;}.cook-timer-heading span{min-width:24px;height:24px;display:grid;place-items:center;border-radius:999px;background:#eef3f0;color:#60706b;font-size:.66rem;font-weight:800;}.cook-timer-item{min-height:53px;padding:7px 8px 7px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:13px;background:#f6f7f3;}.cook-timer-item + .cook-timer-item{margin-top:7px;}.cook-timer-item>div:first-child{min-width:0;display:grid;gap:1px;}.cook-timer-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#73807c;font-size:.65rem;}.cook-timer-item strong{font-variant-numeric:tabular-nums;font-size:1rem;}.cook-timer-item.is-running strong{color:#0b6e63;}.cook-timer-item.is-finished{background:#fff0d2;}.cook-timer-item.is-finished strong{color:#8b5b05;}.cook-timer-actions{display:flex;gap:5px;}.cook-timer-actions button{width:34px;height:34px;border:1px solid #d9e0dc;border-radius:10px;background:#fff;color:#41504c;font-weight:800;}.cook-actions{padding:10px 12px max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:8px;border-top:1px solid rgba(27,56,52,.08);background:rgba(255,255,255,.96);box-shadow:0 -8px 25px rgba(20,38,35,.05);}.cook-actions button{min-height:48px;padding:0 10px;border:1px solid #dce3df;border-radius:15px;background:#f4f6f3;color:#40504c;font-size:.78rem;font-weight:800;}.cook-actions button:disabled{opacity:.35;}.cook-actions .cook-next{border-color:var(--teal);background:var(--teal);color:white;}.cook-actions .cook-complete-step{border-color:#c9ddd5;background:#edf6f2;color:#0d665c;}.cook-actions .cook-complete-step.is-complete{background:#dff3ea;color:#08725f;}.cook-complete-screen{min-height:52dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 8px;}.cook-complete-mark{width:78px;height:78px;margin-bottom:18px;display:grid;place-items:center;border-radius:50%;background:#dff5eb;color:#08725f;font-size:2.5rem;font-weight:900;}.cook-complete-screen h2{margin:0 0 10px;font-family:Georgia,serif;font-size:2rem;}.cook-complete-screen p:not(.eyebrow){max-width:310px;color:#687672;line-height:1.5;}.cook-complete-screen button{min-height:44px;margin-top:8px;padding:0 18px;border:0;border-radius:14px;background:#123f3e;color:#fff;font-weight:800;}@media (max-width:430px){.cook-dialog{width:100%;height:100dvh;max-height:none;border-radius:0;}.cook-header{padding-top:max(13px,env(safe-area-inset-top));}#cook-content{padding:16px 16px 8px;}.cook-timer-dock{margin-left:16px;margin-right:16px;}.cook-actions{grid-template-columns:.9fr 1.15fr .95fr;}.cook-actions button{padding-inline:7px;font-size:.72rem;}}.ingredient-console{margin-top:22px;border:1px solid rgba(22,63,61,.12);border-radius:22px;overflow:hidden;background:linear-gradient(180deg,#fbfcfa 0%,#f5f8f5 100%);box-shadow:0 12px 32px rgba(18,46,43,.07);}.ingredient-console-head{min-height:70px;padding:13px 13px 11px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(22,63,61,.08);background:linear-gradient(135deg,rgba(18,63,62,.055),rgba(57,213,179,.035));}.ingredient-console-head h3{margin:0;font-size:1.08rem;letter-spacing:-.02em;}.ingredient-console-kicker{margin:0 0 2px;color:#75817e;font-size:.75rem;font-weight:820;letter-spacing:.08em;text-transform:uppercase;}.ingredient-servings-control{flex:0 0 auto;min-height:42px;padding:4px;display:grid;grid-template-columns:34px auto 34px;align-items:center;gap:4px;border:1px solid rgba(19,75,70,.12);border-radius:14px;background:rgba(255,255,255,.86);box-shadow:0 4px 14px rgba(20,45,42,.05);}.ingredient-servings-control>button{width:34px;height:34px;border:0;border-radius:10px;display:grid;place-items:center;background:#edf4f1;color:var(--teal-2);}.ingredient-servings-control>button:disabled{opacity:.35;}.ingredient-servings-control>button svg{width:.9rem;height:.9rem;}.ingredient-servings-control .servings-copy{min-width:44px;display:grid;grid-template-columns:auto;justify-items:center;line-height:1;}.ingredient-servings-control .servings-value{font-size:1.02rem;font-weight:860;font-variant-numeric:tabular-nums;}.ingredient-servings-control .servings-copy small{margin-top:3px;color:#7b8783;font-size:.75rem;font-weight:760;}.ingredient-console-tools{padding:8px 12px 8px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#74807d;font-size:.65rem;line-height:1.3;border-bottom:1px solid rgba(22,63,61,.07);background:rgba(255,255,255,.55);}.ingredient-console-tools .ingredient-reset{flex:0 0 auto;min-height:27px;padding:0 8px;border-radius:9px;border-color:rgba(13,85,82,.14);background:#fff;}.ingredient-console .ingredient-list{margin:0;border:0;border-radius:0;background:transparent;}.ingredient-console .ingredient-row{min-height:46px;padding:6px 10px 6px 12px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;border-bottom:1px solid rgba(30,55,52,.065);background:transparent;}.ingredient-console .ingredient-row:last-child{border-bottom:0;}.ingredient-index{color:#68736f;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem;font-weight:760;font-variant-numeric:tabular-nums;}.ingredient-console .ingredient-name{min-width:0;display:grid;gap:1px;}.ingredient-console .ingredient-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#273431;font-size:.84rem;font-weight:690;line-height:1.25;}.ingredient-console .ingredient-name small{color:#66716e;font-size:.75rem;line-height:1.15;}.ingredient-console .ingredient-amount{min-width:68px;min-height:34px;padding:5px 8px;border:1px solid rgba(13,85,82,.10);border-radius:11px;display:flex;align-items:baseline;justify-content:center;gap:4px;background:#eaf3ef;color:#0b625b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);}.ingredient-console .ingredient-amount strong{font-size:.82rem;font-weight:860;font-variant-numeric:tabular-nums;}.ingredient-console .ingredient-amount small{color:#52716b;font-size:.75rem;font-weight:740;}.ingredient-console .ingredient-amount:active{transform:scale(.97);}.ingredient-console .ingredient-row-static{grid-template-columns:28px minmax(0,1fr) auto;}.ingredient-static-mark{color:#b0b8b5;font-size:.9rem;}.ingredient-cart-action{width:100%;min-height:54px;padding:9px 12px;border:0;border-top:1px solid rgba(22,63,61,.08);display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:9px;text-align:left;background:rgba(255,255,255,.72);color:#24413d;}.ingredient-cart-action>span:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e5f2ed;color:var(--teal-2);}.ingredient-cart-action>span:nth-child(2){min-width:0;display:grid;gap:1px;}.ingredient-cart-action strong{font-size:.77rem;}.ingredient-cart-action small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8783;font-size:.75rem;}.ingredient-cart-action>svg{width:.9rem;color:#8d9995;}.detail-action-panel{margin-top:24px;padding-top:18px;border-top:1px solid rgba(28,52,49,.09);}.detail-cook-action{width:100%;min-height:66px;padding:10px 12px;border:0;border-radius:18px;display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:10px;text-align:left;background:linear-gradient(135deg,#123f3e,#0d5b55);color:#fff;box-shadow:0 12px 30px rgba(13,72,68,.19);}.detail-action-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#ffca72;}.detail-action-icon svg{width:1.15rem;height:1.15rem;}.detail-action-copy{min-width:0;display:grid;gap:3px;}.detail-action-copy strong{font-size:.91rem;font-weight:820;}.detail-action-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.68);font-size:.75rem;}.detail-cook-action>svg{width:1rem;color:rgba(255,255,255,.68);}.detail-cook-action:active{transform:scale(.992);}.detail-action-secondary{margin-top:9px;display:grid;grid-template-columns:1fr 1fr;gap:8px;}.detail-action-secondary button{min-width:0;min-height:52px;padding:8px 10px;border:1px solid rgba(28,52,49,.10);border-radius:15px;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;text-align:left;background:#f7f9f6;color:#35433f;}.detail-action-secondary button>span:first-child{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#e9efec;color:var(--teal-2);}.detail-action-secondary button>span:first-child svg{width:.9rem;height:.9rem;}.detail-action-secondary button>span:last-child{min-width:0;display:grid;gap:1px;}.detail-action-secondary strong{font-size:.72rem;}.detail-action-secondary small{color:#84908c;font-size:.75rem;}.cook-shell{grid-template-rows:auto auto auto auto auto minmax(0,1fr) auto;}.cook-timer-feedback{z-index:7;margin:7px 14px 0;padding:9px 12px;border:1px solid #b9dfd2;border-radius:13px;background:#e6f6ef;color:#09675b;box-shadow:0 8px 20px rgba(9,70,63,.11);font-size:.72rem;font-weight:790;opacity:0;transform:translateY(-6px) scale(.985);transition:opacity .2s ease,transform .2s ease;}.cook-timer-feedback.is-visible{opacity:1;transform:translateY(0) scale(1);}.cook-timer-feedback[data-tone="info"]{border-color:#d6dedb;background:#f3f5f3;color:#53615d;}.cook-timer-feedback[data-tone="done"]{border-color:#f2d29b;background:#fff0d1;color:#80540b;}.cook-timer-dock{margin:7px 14px 0;padding:8px;max-height:154px;overflow-y:auto;border:1px solid #d9e3de;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(21,39,36,.06);}.cook-timer-heading{margin:0 2px 6px;}.cook-timer-heading>span:first-child{display:flex;align-items:center;gap:6px;}.timer-live-dot{width:7px;height:7px;border-radius:50%;background:#18a987;box-shadow:0 0 0 0 rgba(24,169,135,.35);animation:timer-live-pulse 1.8s infinite;}@keyframes timer-live-pulse{0%{box-shadow:0 0 0 0 rgba(24,169,135,.33);}65%{box-shadow:0 0 0 6px rgba(24,169,135,0);}100%{box-shadow:0 0 0 0 rgba(24,169,135,0);}}.cook-timer-item{min-height:50px;padding:6px 7px 6px 10px;border:1px solid transparent;transition:border-color .2s ease,background .2s ease,transform .2s ease;}.cook-timer-item.is-highlighted{border-color:#70c8b0;background:#ecf8f3;animation:timer-item-pop .45s ease;}@keyframes timer-item-pop{0%{transform:scale(.97);}55%{transform:scale(1.015);}100%{transform:scale(1);}}.cook-timer-copy{min-width:0;display:grid;gap:2px;}.cook-timer-copy>small{max-width:min(360px,58vw);color:#6c7975;font-size:.75rem;line-height:1.25;}.cook-timer-time{display:flex;align-items:baseline;gap:7px;}.cook-timer-time strong{font-size:1.04rem;font-variant-numeric:tabular-nums;}.cook-timer-time span{color:#65716e;font-size:.75rem;font-weight:720;}.cook-timer-suggestions{padding:11px;border-radius:16px;}.cook-timer-suggestions>span{margin-bottom:7px;}.cook-timer-suggestions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}.cook-timer-suggestions button{min-height:48px;padding:7px 9px;border-radius:13px;display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;gap:7px;text-align:left;}.cook-timer-suggestions button>span:last-child{min-width:0;display:grid;gap:1px;}.cook-timer-suggestions button strong{font-size:.72rem;}.cook-timer-suggestions button small{color:#79928b;font-size:.75rem;font-weight:650;}.timer-suggestion-status{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:rgba(13,101,93,.09);font-size:.8rem;}.cook-timer-suggestions button.is-active,.cook-timer-suggestions button:disabled{opacity:1;border-color:#a9d9ca;background:#e6f6f0;color:#08715f;}.cook-timer-suggestions button.is-active .timer-suggestion-status{background:#ccece1;}@media (max-width:430px){.ingredient-console-head{min-height:64px;padding-left:12px;}.ingredient-console-tools>span{max-width:210px;}.ingredient-console .ingredient-row{min-height:43px;grid-template-columns:23px minmax(0,1fr) auto;padding-left:10px;}.ingredient-index{font-size:.75rem;}.ingredient-console .ingredient-name small{display:none;}.ingredient-console .ingredient-amount{min-width:60px;}.ingredient-cart-action small{max-width:235px;}.detail-action-copy small{max-width:245px;}.cook-timer-dock{margin-left:10px;margin-right:10px;}.cook-timer-feedback{margin-left:10px;margin-right:10px;}.cook-timer-copy>small{max-width:60vw;}}.cook-shell{position:relative;grid-template-rows:auto auto auto auto auto minmax(0,1fr) !important;padding-bottom:calc(70px + env(safe-area-inset-bottom));}.cook-scroll-area{min-height:0;padding-bottom:12px;}.cook-actions{position:absolute;z-index:30;left:0;right:0;bottom:0;margin:0;padding:9px 12px max(11px,env(safe-area-inset-bottom));background:rgba(255,255,255,.98);backdrop-filter:blur(12px);box-shadow:0 -10px 30px rgba(20,38,35,.10);}.cook-actions::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.92));pointer-events:none;}.cook-timer-dock{overscroll-behavior:contain;}.ingredient-console .ingredient-row-qualitative{grid-template-columns:28px minmax(0,1fr) auto;}.ingredient-qualitative{min-height:30px;padding:6px 9px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dde6e2;border-radius:10px;background:#f0f4f2;color:#5e6d68;font-size:.68rem;font-weight:760;white-space:nowrap;}@media (max-width:430px){.cook-shell{padding-bottom:calc(68px + env(safe-area-inset-bottom));}.cook-actions{padding-inline:9px;}.ingredient-console .ingredient-row-qualitative{grid-template-columns:23px minmax(0,1fr) auto;}.ingredient-qualitative{font-size:.63rem;padding-inline:7px;}}.category-field-block{display:grid;gap:7px;}.category-field-block>label{color:#475250;font-size:.8rem;font-weight:720;}.category-field-block select{appearance:auto;cursor:pointer;}.custom-category-field{margin-top:2px;padding:11px;border:1px solid #dfe7e3;border-radius:14px;background:#f7faf8;animation:screen-in .18s ease both;}.custom-category-field>label{display:block;margin-bottom:7px;color:#475250;font-size:.76rem;font-weight:760;}.custom-category-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;}.recipe-form .custom-category-input-row input{min-width:0;}.custom-category-input-row button{min-height:43px;padding:0 11px;border:1px solid #d5dfdb;border-radius:11px;background:white;color:#65726e;font-size:.72rem;font-weight:760;}.custom-category-field>small{display:block;margin-top:6px;color:#7a8582;font-size:.68rem;line-height:1.35;}.ingredient-group-heading{list-style:none;margin:0;padding:13px 13px 7px;background:linear-gradient(180deg,#f6f9f7,#fbfcfa);border-top:1px solid #e7ece9;}.ingredient-group-heading:first-child{border-top:0;padding-top:11px;}.ingredient-group-heading span{display:inline-flex;align-items:center;gap:7px;color:#31524d;font-size:.72rem;font-weight:820;letter-spacing:.055em;text-transform:uppercase;}.ingredient-group-heading span::before{content:"";width:18px;height:2px;border-radius:999px;background:#5aa897;}.ingredient-group-heading + .ingredient-row{border-top:0;}@media (max-width:430px){.ingredient-group-heading{padding-left:10px;padding-right:10px;}.ingredient-group-heading span{font-size:.67rem;}.custom-category-input-row{grid-template-columns:1fr;}.custom-category-input-row button{min-height:38px;}}.cook-dialog{width:min(calc(100% - 10px),720px);height:min(96dvh,960px);border-radius:32px;}.cook-header{position:sticky;top:0;z-index:3;}.cook-stage{padding-bottom:18px;}.cook-photo{max-height:48dvh;cursor:zoom-in;background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(230,233,227,.8));}.cook-step-text{font-size:clamp(1.2rem,3vw,1.55rem);line-height:1.55;}.cook-actions button{min-height:52px;border-radius:18px;}.cook-complete-step{font-weight:800;}@media (max-width:520px){.cook-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;}.cook-step-text{font-size:1.2rem;}}.manual-step-timers{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.manual-timer-chip{background:#eef4f0;border-radius:999px;padding:5px 10px;font-size:.75rem;display:flex;align-items:center;gap:5px}.remove-step-timer{border:0;background:none;font-size:1rem}.add-step-timer{border:1px dashed #b8c7c0;background:#fafbf8;border-radius:12px;padding:8px 12px;font-weight:700;font-size:.8rem;margin-bottom:8px}.manual-step-timers{display:grid;gap:7px;margin:9px 0;}.manual-timer-chip{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:5px;padding:4px 5px 4px 7px;border:1px solid #d9e5df;border-radius:13px;background:linear-gradient(180deg,#f4f9f6,#edf5f1);}.edit-step-timer{min-width:0;min-height:38px;padding:3px 6px;border:0;background:transparent;color:#21443d;display:flex;align-items:center;gap:8px;text-align:left;}.edit-step-timer>span:first-child{font-size:1rem;}.manual-timer-copy{min-width:0;display:grid;gap:1px;}.manual-timer-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;}.manual-timer-copy small{color:#72827d;font-size:.65rem;font-weight:650;}.remove-step-timer{width:32px;height:32px;padding:0;border:0;border-radius:9px;background:rgba(255,255,255,.72);color:#82908c;font-size:1.05rem;}.remove-step-timer:hover{color:#a84a44;background:#fff;}.add-step-timer{width:fit-content;min-height:36px;padding:0 11px;border:1px dashed #a9c6bb;border-radius:11px;background:#fbfdfb;color:#17675c;font-size:.76rem;font-weight:760;margin-bottom:9px;}.step-timer-dialog{width:min(calc(100% - 30px),390px);padding:22px;border-radius:24px;text-align:left;}.step-timer-form{display:grid;gap:12px;}.step-timer-form .eyebrow,.step-timer-form h2{margin:0;text-align:center;}.step-timer-icon{width:48px;height:48px;margin:0 auto -2px;border-radius:16px;display:grid;place-items:center;background:#e7f3ee;color:#0c675c;font-size:1.25rem;box-shadow:inset 0 0 0 1px rgba(17,101,88,.06);}.step-timer-name{display:grid;gap:6px;color:#4f5c58;font-size:.75rem;font-weight:730;}.step-timer-name input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fbfcfa;color:var(--ink);outline:0;}.step-timer-name input:focus{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);}.step-timer-duration{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.step-timer-duration label{min-width:0;height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fbfcfa;}.step-timer-duration label:focus-within{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.1);}.step-timer-duration input{min-width:0;width:100%;height:100%;padding:0 4px 0 9px;border:0;outline:0;background:transparent;color:var(--ink);text-align:right;font-weight:760;}.step-timer-duration span{padding-right:8px;color:#78857f;font-size:.68rem;font-weight:720;}.step-timer-presets{display:flex;flex-wrap:wrap;gap:6px;}.step-timer-presets button{min-height:30px;padding:0 9px;border:1px solid #d8e3de;border-radius:999px;background:#f5f8f6;color:#53645f;font-size:.66rem;font-weight:730;}.step-timer-presets button.is-selected{border-color:#94c9b8;background:#e4f4ed;color:#096659;}.step-timer-help{margin:-1px 0 0 !important;color:#77837f;font-size:.7rem !important;line-height:1.4 !important;text-align:center;}.step-timer-dialog .confirm-actions{margin-top:2px;}.step-timer-dialog .confirm-actions .primary-button{border-color:var(--teal);background:var(--teal);color:white;}@media (max-width:380px){.step-timer-dialog{width:min(calc(100% - 18px),360px);padding:18px;}.step-timer-duration{gap:5px;}.step-timer-duration input{padding-left:5px;}.step-timer-duration span{padding-right:5px;}}.bottom-nav{grid-template-columns:repeat(4,1fr);padding-left:8px;padding-right:8px;}.quick-card-plan{grid-column:1 / -1;min-height:84px;flex-direction:row;align-items:center;gap:13px;background:linear-gradient(135deg,#e8eee8,#f5ede0);color:#273b37;}.quick-card-plan>span:last-child{flex:1;}.quick-card-plan .quick-icon{flex:0 0 auto;background:rgba(18,63,62,.09);color:var(--teal-2);}.plan-title-row{margin-bottom:14px;}.plan-badge{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#e8eee8;color:var(--teal-2);}.plan-badge svg{width:1.45rem;height:1.45rem;}.plan-week-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:15px;}.plan-week-toolbar>button:not(.plan-week-current){width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:white;color:var(--teal-2);font-size:1.15rem;font-weight:800;}.plan-week-current{min-width:0;min-height:48px;padding:6px 12px;border:1px solid var(--line);border-radius:15px;background:white;color:var(--ink);display:grid;gap:2px;text-align:center;}.plan-week-current strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;}.plan-week-current small{color:#7b8582;font-size:.64rem;}.plan-week-list{display:grid;gap:12px;}.plan-day-card{padding:14px;border:1px solid rgba(31,58,54,.09);border-radius:21px;background:linear-gradient(180deg,#fff,#fafaf7);box-shadow:0 9px 28px rgba(18,45,42,.055);}.plan-day-card.is-today{border-color:rgba(13,85,82,.3);box-shadow:0 10px 30px rgba(13,85,82,.09);}.plan-day-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 10px;}.plan-day-card>header div{min-width:0;}.plan-day-card>header span{display:block;min-height:13px;color:var(--teal-2);font-size:.64rem;font-weight:820;text-transform:uppercase;letter-spacing:.06em;}.plan-day-card>header h2{margin:1px 0 0;font-size:1rem;line-height:1.1;}.plan-day-card>header>small{flex:0 0 auto;min-width:34px;padding:5px 8px;border-radius:999px;background:#eef3ef;color:#66736f;font-size:.67rem;font-weight:780;text-align:center;}.plan-day-card.is-today>header>small{background:#dcebe6;color:var(--teal-2);}.plan-meal-slots{display:grid;gap:7px;}.plan-meal-slot{width:100%;min-height:59px;padding:9px 10px;border:1px solid #e6e9e4;border-radius:15px;background:white;color:var(--ink);display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left;}.plan-meal-slot:active{transform:scale(.995);}.plan-slot-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#f5f4ef;font-size:.94rem;}.plan-meal-slot span:nth-child(2),.plan-slot-copy{min-width:0;display:grid;gap:1px;}.plan-meal-slot small{color:#85908c;font-size:.63rem;font-weight:720;}.plan-meal-slot strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;line-height:1.25;}.plan-meal-slot em{color:#66726e;font-size:.66rem;font-style:normal;font-weight:620;}.plan-meal-slot>b{color:#83908c;font-size:.64rem;font-weight:760;white-space:nowrap;}.plan-meal-slot.is-empty{color:#64706d;background:#fbfcf9;border-style:dashed;}.plan-meal-slot.is-empty strong{color:#69736f;font-weight:680;}.plan-meal-slot.is-empty>b{width:25px;height:25px;border-radius:50%;background:#eef3ef;color:var(--teal-2);display:grid;place-items:center;font-size:1rem;}.plan-meal-slot.has-recipe{border-color:#dce5df;}.plan-meal-slot.has-recipe .plan-slot-icon{background:#eaf1ed;}.plan-shopping-card{margin-top:18px;padding:17px;border-radius:23px;background:linear-gradient(145deg,#133f3d,#0f302f);color:white;box-shadow:0 16px 34px rgba(12,48,46,.18);}.plan-shopping-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;}.plan-shopping-heading .eyebrow{color:rgba(255,255,255,.55);}.plan-shopping-heading h2{margin:0;font-size:1.15rem;}.plan-shopping-heading>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.1);color:rgba(255,255,255,.76);font-size:.66rem;font-weight:760;}.plan-shopping-help{margin:9px 0 11px;color:rgba(255,255,255,.65);font-size:.75rem;line-height:1.4;}.plan-shopping-preview{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:13px;}.plan-shopping-preview span{padding:6px 8px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.9);font-size:.68rem;}.plan-shopping-preview small{width:100%;color:rgba(255,255,255,.55);font-size:.66rem;}.plan-shopping-button{width:100%;min-height:47px;background:white;color:#143f3c;border-color:white;display:flex;align-items:center;justify-content:center;gap:8px;}.plan-shopping-button:disabled{opacity:.42;cursor:default;}.plan-shopping-button svg{width:1.05rem;height:1.05rem;}.plan-meal-dialog{width:min(calc(100% - 28px),390px);}.plan-meal-dialog form{display:grid;gap:12px;}.plan-meal-icon{width:50px;height:50px;margin:0 auto;border-radius:16px;background:#e9f0ec;color:var(--teal-2);display:grid;place-items:center;}.plan-meal-icon svg{width:1.35rem;height:1.35rem;}.plan-meal-dialog .eyebrow,.plan-meal-dialog h2{margin:0;text-align:center;}.plan-meal-field{display:grid;gap:6px;color:#4d5b57;font-size:.76rem;font-weight:730;text-align:left;}.plan-meal-field select,.plan-meal-field input{width:100%;min-height:44px;padding:10px 11px;border:1px solid var(--line);border-radius:12px;background:#fafbf8;color:var(--ink);outline:0;}.plan-meal-field select:focus,.plan-meal-field input:focus{border-color:var(--teal-2);box-shadow:0 0 0 3px rgba(13,85,82,.09);}.plan-meal-hint{margin:-2px 0 1px !important;color:#77817e;font-size:.7rem;line-height:1.4;text-align:center;}.plan-meal-actions{display:grid;grid-template-columns:auto 1fr 1.2fr;gap:7px;}.plan-meal-actions button{min-height:43px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font-size:.76rem;font-weight:750;}.plan-meal-actions .primary-button{border-color:var(--teal);background:var(--teal);color:white;}.plan-meal-delete{color:var(--danger) !important;border-color:rgba(206,76,73,.25) !important;}.plan-meal-delete[hidden] + button{grid-column:1 / 2;}@media (max-width:390px){.bottom-nav{padding-left:4px;padding-right:4px;}.nav-item{font-size:.63rem;}.nav-item svg{width:1.25rem;height:1.25rem;}.plan-day-card{padding:12px;border-radius:19px;}.plan-meal-slot{padding-left:8px;padding-right:8px;grid-template-columns:32px minmax(0,1fr) auto;gap:7px;}.plan-slot-icon{width:32px;height:32px;}.plan-meal-actions{grid-template-columns:1fr 1fr;}.plan-meal-delete:not([hidden]){grid-column:1 / -1;order:3;}}.recipe-grid{gap:14px;}.recipe-card{position:relative;border:1px solid rgba(24,49,45,.08);border-radius:24px;background:#f4f2eb;box-shadow:0 9px 26px rgba(18,41,38,.075);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;-webkit-tap-highlight-color:transparent;}.recipe-card:hover{transform:translateY(-3px);border-color:rgba(18,63,62,.12);box-shadow:0 18px 38px rgba(18,41,38,.12);}.recipe-card:active{transform:translateY(-1px) scale(.992);box-shadow:0 10px 24px rgba(18,41,38,.1);}.recipe-card:focus-visible{outline:3px solid rgba(57,213,179,.42);outline-offset:3px;}.recipe-card-visual{height:auto;aspect-ratio:1.16 / 1;border-bottom:0;background:#233b37;}.recipe-card-visual::after{z-index:2;height:50%;background:linear-gradient(180deg,transparent,rgba(5,15,14,.22));}.recipe-card.has-cover .recipe-card-visual::before{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,13,12,.1),transparent 30%,transparent 62%,rgba(4,13,12,.14));}.recipe-card-visual img,.recipe-card-visual .compact-photo-frame{z-index:1;}.recipe-card-category,.recipe-card-favorite,.recipe-card-no-photo-label{z-index:4;}.recipe-card-category{left:10px;top:10px;max-width:calc(100% - 54px);padding:6px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid rgba(255,255,255,.46);background:rgba(249,248,243,.9);color:#263936;box-shadow:0 4px 14px rgba(7,20,18,.1);backdrop-filter:blur(9px);}.recipe-card-favorite{top:10px;right:10px;border:1px solid rgba(255,255,255,.55);background:rgba(250,247,241,.94);color:#b85f43;box-shadow:0 5px 16px rgba(7,20,18,.12);backdrop-filter:blur(9px);}.recipe-card-body{position:relative;z-index:5;min-height:106px;padding:13px 13px 14px;gap:11px;background:linear-gradient(180deg,#fbfaf6 0%,#f3f1ea 100%);}.recipe-card.no-cover .recipe-card-body{background:linear-gradient(180deg,#f3eee5 0%,#ebe7df 100%);}.recipe-card-body h3{min-height:2.45em;margin:0;color:#1f2b29;font-size:.98rem;line-height:1.22;letter-spacing:-.018em;font-weight:720;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}.recipe-card-footer{margin-top:auto;display:flex;align-items:center;flex-wrap:wrap;gap:5px;}.recipe-card-stat{min-height:27px;padding:5px 7px;border:1px solid rgba(24,58,53,.07);border-radius:9px;display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.58);color:#65716e;font-size:.64rem;line-height:1;}.recipe-card-stat svg{width:.78rem;height:.78rem;color:#56736d;}.recipe-card-stat b{font-weight:760;color:#40504d;white-space:nowrap;}.recipe-card-views{margin-left:auto;}.recipe-card.no-cover .recipe-card-visual{isolation:isolate;}.recipe-card.no-cover .recipe-card-visual::after{height:100%;background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(3,9,9,.12)),radial-gradient(circle at 74% 24%,rgba(255,255,255,.08),transparent 29%);}.recipe-card.no-cover .recipe-card-letter{z-index:3;font-size:clamp(3.9rem,17vw,5.2rem);font-weight:600;opacity:.87;transform:translateY(-2px);text-shadow:0 14px 30px rgba(0,0,0,.16);}.recipe-card-no-photo-label{position:absolute;right:11px;bottom:11px;color:rgba(255,255,255,.62);font-family:Georgia,"Times New Roman",serif;font-size:.65rem;font-style:italic;letter-spacing:.04em;}.recipe-card.no-cover .cover-placeholder::before{opacity:.52;}.recipe-card.no-cover .cover-placeholder::after{opacity:.72;}.recent-list{gap:11px;}.recent-item{min-height:82px;grid-template-columns:66px minmax(0,1fr) 32px;gap:12px;padding:8px 9px 8px 8px;border:1px solid rgba(24,49,45,.08);border-radius:20px;background:linear-gradient(135deg,#fbfaf6,#f1efe8);box-shadow:0 7px 20px rgba(18,41,38,.055);transition:transform .18s ease,box-shadow .18s ease;}.recent-item:hover{transform:translateY(-1px);box-shadow:0 11px 26px rgba(18,41,38,.085);}.recent-item:active{transform:scale(.992);}.recent-thumb{width:66px;height:66px;border-radius:16px;border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 4px 12px rgba(12,28,26,.08);}.recent-copy{align-self:center;}.recent-category{display:block;margin-bottom:3px;color:#8a7770;font-size:.75rem;font-weight:780;letter-spacing:.045em;text-transform:uppercase;}.recent-copy strong{margin-bottom:7px;color:#263330;font-size:.93rem;line-height:1.15;}.recent-meta{display:flex;flex-wrap:wrap;gap:8px;color:#78827f;font-size:.69rem;font-weight:650;}.recent-meta span{display:inline-flex;align-items:center;gap:4px;}.recent-meta svg{width:.8rem;height:.8rem;}.recent-chevron{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(18,63,62,.065);color:#657773;}.recent-chevron svg{width:.9rem;height:.9rem;}.filter-row{gap:7px;}.filter-chip{min-height:38px;padding:8px 14px;border-color:rgba(28,54,50,.1);background:rgba(255,255,255,.74);color:#64706d;box-shadow:0 3px 10px rgba(14,32,30,.025);transition:.18s ease;}.filter-chip:hover{border-color:rgba(18,63,62,.18);color:var(--teal-2);}.filter-chip.is-selected{border-color:#183f3d;background:linear-gradient(145deg,#174744,#103a38);color:white;box-shadow:0 6px 16px rgba(18,63,62,.15);}.sort-panel button{transition:.18s ease;}.sort-panel button:hover{border-color:rgba(18,63,62,.2);color:var(--teal-2);}.sort-panel button.is-active,.sort-panel button[aria-pressed="true"]{border-color:rgba(18,63,62,.15);background:#eaf1ee;color:#174b47;}.featured-card{border:1px solid rgba(255,255,255,.08);border-radius:30px;box-shadow:0 22px 48px rgba(8,26,24,.18);}.featured-copy{background:linear-gradient(145deg,#12302d,#0b211f);}.featured-copy h2{letter-spacing:-.025em;}.featured-refresh{box-shadow:0 5px 16px rgba(0,0,0,.1);}.light-button{box-shadow:0 7px 18px rgba(2,12,11,.08);}@media (max-width:390px){.recipe-grid{gap:11px;}.recipe-card{border-radius:20px;}.recipe-card-visual{aspect-ratio:1.08 / 1;}.recipe-card-body{min-height:101px;padding:11px 11px 12px;gap:9px;}.recipe-card-body h3{font-size:.91rem;}.recipe-card-stat{min-height:25px;padding:4px 6px;font-size:.75rem;}.recipe-card-views{display:none;}.recipe-card-category{left:8px;top:8px;padding:5px 8px;font-size:.75rem;}.recipe-card-favorite{top:8px;right:8px;width:28px;height:28px;}}@media (prefers-reduced-motion:reduce){.recipe-card,.recent-item,.filter-chip{transition:none;}}.recipe-card.no-cover .recipe-card-visual::after{inset:0;width:auto;height:auto;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;opacity:1;}.category-field-block>small{color:#7b8582;font-size:.69rem;line-height:1.4;}.category-field-block select{min-height:46px;background-color:#fafbf8;color:var(--ink);}.ingredient-group-heading{margin:0;padding:17px 13px 8px;border-top:1px solid #e8ece8;background:linear-gradient(180deg,#f8faf7,#fff);list-style:none;}.ingredient-group-heading:first-child{padding-top:12px;}.ingredient-group-heading span{display:inline-flex;align-items:center;gap:8px;color:#234f4a;font-size:.73rem;font-weight:820;letter-spacing:.065em;text-transform:uppercase;}.ingredient-group-heading span::before{content:"";width:18px;height:2px;border-radius:999px;background:var(--sun);}.step-format-toolbar{display:flex;gap:5px;margin:0 0 7px;overflow-x:auto;scrollbar-width:none;}.step-format-toolbar::-webkit-scrollbar{display:none;}.step-format-toolbar button{flex:0 0 auto;min-height:30px;padding:0 8px;border:1px solid #dfe5e1;border-radius:9px;background:white;color:#50615d;font-size:.68rem;font-weight:740;}.step-format-toolbar button:active{transform:scale(.97);}.step-editor textarea.step-text{min-height:118px;line-height:1.5;white-space:pre-wrap;}.insert-step-after,.add-step-bottom{min-height:36px;border:1px dashed #c8d8d2;border-radius:11px;background:rgba(238,245,242,.7);color:var(--teal-2);font-size:.71rem;font-weight:760;}.insert-step-after{width:100%;margin-top:10px;}.add-step-bottom{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;}.add-step-bottom svg{width:.9rem;height:.9rem;}.step-editor-help{color:#7d8784;font-size:.68rem;line-height:1.4;text-align:center;}.step-rich-text{display:block;min-width:0;text-align:left;}.step-rich-paragraph,.step-rich-heading,.step-rich-list,.step-rich-list-item{display:block;}.step-rich-paragraph + .step-rich-paragraph,.step-rich-heading + .step-rich-paragraph,.step-rich-list + .step-rich-paragraph,.step-rich-paragraph + .step-rich-list,.step-rich-heading + .step-rich-list{margin-top:.72em;}.step-rich-heading{margin-bottom:.5em;color:#173f3b;font-weight:820;letter-spacing:-.01em;}.step-rich-list{display:grid;gap:.42em;}.step-rich-list-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55em;align-items:start;}.step-rich-marker{min-width:1.55em;color:#7a8783;font-weight:800;text-align:right;}.step-list .step-rich-heading{font-size:.98rem;}.step-list .step-rich-paragraph,.step-list .step-rich-list{color:inherit;}.cook-step-text.step-rich-text{white-space:normal;}.cook-step-text .step-rich-heading{margin-bottom:.55em;color:#123f3e;font-family:"Segoe UI Variable","Segoe UI",sans-serif;font-size:.73em;letter-spacing:.02em;text-transform:uppercase;}.cook-step-text .step-rich-list{font-size:.82em;line-height:1.45;}.cook-step-text .step-rich-marker{color:#6f7f7a;}.notes-editor-section{display:grid;gap:10px;}.notes-photo-editor{padding:10px;border:1px solid var(--line);border-radius:16px;background:#f8faf7;}.notes-photo-preview{min-height:112px;max-height:260px;overflow:hidden;border:1.5px dashed #c0cbc6;border-radius:13px;background:#eef2ed;display:grid;place-items:center;cursor:pointer;}.notes-photo-preview.has-photo{border-style:solid;}.notes-photo-preview img{width:100%;height:auto;max-height:260px;object-fit:contain;display:block;}.notes-photo-actions{display:flex;align-items:center;gap:8px;margin-top:8px;}.notes-photo-actions label,.notes-photo-actions button{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--teal-2);display:inline-flex;align-items:center;cursor:pointer;font-size:.71rem;font-weight:720;}.notes-photo-actions button{color:var(--danger);}.notes-photo-wrap{margin-top:10px;overflow:hidden;border-radius:15px;background:#f2f3ef;}.notes-photo{width:100%;height:auto;max-height:none;object-fit:contain;display:block;cursor:zoom-in;}.featured-media[data-open-recipe-gallery]{cursor:zoom-in;}.featured-media[data-open-recipe-gallery]:focus-visible{outline:3px solid var(--sun);outline-offset:-3px;}.featured-gallery-hint{position:absolute;z-index:4;right:12px;bottom:12px;min-height:29px;padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(7,20,19,.5);color:rgba(255,255,255,.93);backdrop-filter:blur(9px);font-size:.68rem;font-weight:760;pointer-events:none;}.photo-viewer-dialog{background:rgba(4,7,7,.98);}.photo-viewer-stage{position:absolute;inset:0;display:grid;place-items:center;touch-action:pan-y;}.photo-viewer-dialog #photo-viewer-image{width:100%;height:100%;padding:max(60px,calc(env(safe-area-inset-top) + 48px)) 54px max(100px,calc(env(safe-area-inset-bottom) + 88px));object-fit:contain;display:block;user-select:none;-webkit-user-drag:none;}.photo-viewer-nav{position:fixed;z-index:3;top:50%;width:42px;height:58px;margin-top:-29px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.08);color:white;display:grid;place-items:center;font-size:2rem;line-height:1;backdrop-filter:blur(8px);}.photo-viewer-prev{left:8px;}.photo-viewer-next{right:8px;}.photo-viewer-meta{position:fixed;z-index:4;left:50%;bottom:max(48px,calc(env(safe-area-inset-bottom) + 36px));width:min(calc(100% - 110px),500px);transform:translateX(-50%);display:flex;justify-content:space-between;gap:12px;color:rgba(255,255,255,.9);font-size:.76rem;font-weight:720;pointer-events:none;}.photo-viewer-dots{position:fixed;z-index:4;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:6px;}.photo-viewer-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.35);}.photo-viewer-dots button.is-active{width:20px;border-radius:999px;background:white;}@media (max-width:430px){.step-editor{padding:10px;}.step-format-toolbar button{min-height:29px;}.photo-viewer-dialog #photo-viewer-image{padding-left:8px;padding-right:8px;}.photo-viewer-nav{top:auto;bottom:max(45px,calc(env(safe-area-inset-bottom) + 34px));width:38px;height:38px;margin:0;border-radius:50%;font-size:1.5rem;}.photo-viewer-prev{left:12px;}.photo-viewer-next{right:12px;}.photo-viewer-meta{bottom:max(53px,calc(env(safe-area-inset-bottom) + 42px));width:min(calc(100% - 110px),320px);justify-content:center;}#photo-viewer-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}}#recipe-editor-dialog>.dialog-heading{position:sticky;z-index:25;top:-22px;margin:-22px -22px 18px;padding:18px 22px 13px;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(28,52,48,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}.editor-heading-actions{display:flex;align-items:center;gap:7px;}.editor-top-save{min-height:36px;padding:0 13px;border:0;border-radius:11px;background:var(--teal);color:white;font-size:.76rem;font-weight:800;box-shadow:0 5px 14px rgba(13,63,60,.16);}.editor-top-save:active{transform:scale(.97);}.featured-gallery-hint{min-width:auto;}.photo-viewer-stage{inset:0;overflow:hidden;touch-action:none;cursor:zoom-in;}.photo-viewer-dialog #photo-viewer-image{width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;object-fit:contain;transform-origin:center center;will-change:transform;cursor:zoom-in;}.photo-viewer-dialog #photo-viewer-image.is-zoomed{cursor:grab;}.photo-viewer-dialog #photo-viewer-image.is-zoomed:active{cursor:grabbing;}.photo-viewer-dialog #photo-viewer-image.is-animating{transition:transform .2s ease;}.photo-viewer-nav{display:none !important;}.photo-viewer-meta{bottom:max(42px,calc(env(safe-area-inset-bottom) + 32px));width:auto;max-width:calc(100% - 40px);padding:7px 11px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(5,11,10,.48);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);justify-content:center;gap:10px;}#photo-viewer-label:empty{display:none;}.photo-viewer-dots{bottom:max(14px,env(safe-area-inset-bottom));}.photo-viewer-close{top:max(10px,env(safe-area-inset-top));right:12px;background:rgba(5,11,10,.5);}.notes-photo-editor{padding:7px;border-radius:13px;display:flex;align-items:center;gap:8px;}.notes-photo-preview{flex:0 0 64px;width:64px;min-height:52px;height:52px;max-height:70px;border-radius:10px;}.notes-photo-preview.has-photo{flex-basis:76px;width:76px;height:64px;max-height:64px;}.notes-photo-preview img{width:100%;height:100%;max-height:none;object-fit:cover;}.notes-photo-preview .photo-placeholder{width:100%;display:flex;flex-direction:row;justify-content:center;gap:4px;}.notes-photo-preview .photo-placeholder svg{width:1.15rem;height:1.15rem;margin:0;}.notes-photo-preview .photo-placeholder>span{display:none;}.notes-photo-actions{flex:1;margin-top:0;gap:6px;}.notes-photo-actions label,.notes-photo-actions button{min-height:31px;padding:0 9px;border-radius:9px;font-size:.68rem;}.notes-photo-actions label{gap:5px;}.notes-photo-actions label svg{width:.9rem;height:.9rem;}@media (max-width:430px){#recipe-editor-dialog>.dialog-heading{top:-18px;margin:-18px -18px 16px;padding:14px 18px 11px;}#recipe-editor-dialog .dialog-heading h2{font-size:1.42rem;}.editor-top-save{min-height:34px;padding-inline:11px;font-size:.72rem;}.photo-viewer-dialog #photo-viewer-image{padding:0;}.photo-viewer-meta{bottom:max(38px,calc(env(safe-area-inset-bottom) + 29px));max-width:calc(100% - 28px);font-size:.7rem;}}.detail-title-row{margin-top:10px;}.detail-title-row #detail-title{color:#071312;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.35rem,8.8vw,3.35rem);line-height:.96;letter-spacing:-.052em;font-weight:760;text-wrap:balance;text-shadow:0 1px 0 rgba(255,255,255,.65);}.recipe-card-body h3{color:#101918;font-weight:720;letter-spacing:-.025em;}.ingredient-console .ingredient-group-heading{display:block;padding:18px 22px 9px;border:0;border-top:1px solid #e4e9e5;background:linear-gradient(180deg,#f7faf7,#fbfcfa);}.ingredient-console .ingredient-group-heading:first-child{border-top:0;padding-top:16px;}.ingredient-console .ingredient-group-heading span{color:#23514c;font-size:.72rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase;}.ingredient-console .ingredient-group-heading span::before{width:14px;height:2px;}.preparation-section{padding:16px;border:1px solid #e0e7e2;border-radius:20px;background:linear-gradient(145deg,#f7faf7,#eef4f0);}.preparation-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px;}.preparation-section-heading p{margin:0 0 2px;color:#7a8783;font-size:.66rem;font-weight:760;letter-spacing:.06em;text-transform:uppercase;}.preparation-section-heading h3{margin:0;font-size:1.02rem;color:#153f3b;}.preparation-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:white;color:var(--teal-2);box-shadow:0 5px 14px rgba(17,52,48,.07);}.preparation-icon svg{width:1rem;height:1rem;}.preparation-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}.preparation-list li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;}.preparation-number{padding-top:2px;color:#8a9692;font-size:.68rem;font-weight:760;}.preparation-copy{color:#283330;font-size:.9rem;line-height:1.5;}.preparation-photo-wrap{margin-top:9px;}.preparation-photo{width:100%;height:auto;display:block;border-radius:14px;object-fit:contain;background:#e9eeea;cursor:zoom-in;}.preparation-editor-section{display:grid;gap:10px;}.preparation-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}.preparation-editor-heading>div{min-width:0;display:grid;gap:3px;}.preparation-editor-heading>div>span{color:#263330;font-weight:780;}.preparation-editor-heading small{color:#7b8582;font-size:.68rem;line-height:1.35;}.preparation-editor-heading button{min-height:34px;padding:0 10px;border:1px solid #d9e3df;border-radius:10px;background:#f5f9f7;color:var(--teal-2);display:inline-flex;align-items:center;gap:5px;font-size:.7rem;font-weight:760;}.preparation-editor-heading button svg{width:.85rem;height:.85rem;}.preparation-editor-list{display:grid;gap:9px;}.preparation-editor{padding:11px;border:1px solid #e1e6e2;border-radius:14px;background:#fafbf9;}.preparation-editor-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;color:#52605c;font-size:.7rem;font-weight:760;}.preparation-remove{width:28px;height:28px;border:0;border-radius:9px;background:#fff;color:var(--danger);display:grid;place-items:center;}.preparation-remove svg{width:.85rem;height:.85rem;}.preparation-text{width:100%;min-height:82px;resize:vertical;padding:10px 11px;border:1px solid #e1e6e2;border-radius:11px;background:white;color:var(--ink);line-height:1.45;}.preparation-photo-tools{display:flex;align-items:center;gap:7px;margin-top:8px;}.preparation-photo-tools label{min-height:30px;padding:0 9px;border:1px solid #dce4df;border-radius:9px;background:white;color:var(--teal-2);display:inline-flex;align-items:center;gap:5px;font-size:.68rem;font-weight:740;cursor:pointer;}.preparation-photo-tools label svg{width:.82rem;height:.82rem;}.preparation-photo-remove{min-height:30px;padding:0 6px;border:0;background:transparent;color:var(--danger);font-size:.67rem;}.preparation-photo-preview{width:100%;height:auto;max-height:220px;margin-top:8px;border-radius:11px;object-fit:contain;background:#edf1ed;display:block;}.notes-photo-editor{min-height:44px;padding:6px 7px 6px 10px;border:1px solid #e3e8e4;border-radius:12px;background:#fafbf9;display:flex;align-items:center;gap:8px;}.notes-photo-copy{min-width:0;display:grid;gap:1px;margin-right:auto;}.notes-photo-copy strong{color:#394642;font-size:.75rem;font-weight:760;}.notes-photo-copy small{color:#66716e;font-size:.75rem;}.notes-photo-preview{flex:0 0 38px;width:38px;height:38px;min-height:38px;max-height:38px;border-radius:9px;overflow:hidden;}.notes-photo-preview:not(.has-photo){display:none;}.notes-photo-preview.has-photo{flex-basis:38px;width:38px;height:38px;max-height:38px;}.notes-photo-preview img{width:100%;height:100%;object-fit:cover;}.notes-photo-actions{flex:0 0 auto;display:flex;align-items:center;gap:3px;}.notes-photo-actions label{min-height:30px;padding:0 8px;border:1px solid #dce4df;border-radius:9px;background:white;color:var(--teal-2);display:inline-flex;align-items:center;gap:4px;font-size:.65rem;font-weight:760;cursor:pointer;}.notes-photo-actions label svg{width:.78rem;height:.78rem;}.notes-photo-actions button{width:30px;height:30px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--danger);font-size:1rem;}.shopping-title-actions{display:flex;align-items:center;gap:7px;}.shopping-clear-all{width:36px;height:36px;border:1px solid #eadfdd;border-radius:12px;background:rgba(255,255,255,.72);color:#b45a52;display:grid;place-items:center;}.shopping-clear-all svg{width:.95rem;height:.95rem;}.shopping-clear-all:active{transform:scale(.95);}.photo-viewer-dialog[open]{animation:photo-viewer-open .18s ease-out both;}@keyframes photo-viewer-open{from{opacity:0;}to{opacity:1;}}.photo-viewer-stage{contain:layout paint;}#photo-viewer-image{will-change:transform,opacity,translate;}@media (max-width:430px){.detail-title-row #detail-title{font-size:clamp(2.25rem,10.5vw,3rem);}.preparation-editor-heading{align-items:center;}.preparation-editor-heading small{max-width:220px;}.notes-photo-actions label span{display:none;}.notes-photo-actions label{width:30px;padding:0;justify-content:center;}}.avatar-button{padding:0;cursor:pointer;font-family:inherit;}.avatar-button:active{transform:scale(.96);}.settings-dialog,.import-backup-dialog{width:min(94vw,520px);max-height:min(86dvh,760px);padding:0;border:0;border-radius:24px;background:#f7f8f6;color:var(--ink);box-shadow:0 30px 80px rgba(7,26,24,.28);}.settings-shell{padding:18px;display:grid;gap:16px;}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;}.settings-heading p{margin:0 0 3px;color:#7d8885;font-size:.72rem;font-weight:760;text-transform:uppercase;letter-spacing:.08em;}.settings-heading h2{margin:0;font-size:1.55rem;letter-spacing:-.035em;}.settings-heading>button{width:38px;height:38px;border:1px solid #dfe5e1;border-radius:12px;background:white;color:#52605c;font-size:1.25rem;}.backup-card{padding:16px;border:1px solid #dfe7e2;border-radius:20px;background:white;display:grid;gap:13px;}.backup-card-copy{display:flex;align-items:flex-start;gap:11px;}.backup-card-icon,.import-backup-icon{flex:0 0 auto;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#e9f2ee;color:var(--teal-2);}.backup-card-icon svg,.import-backup-icon svg{width:1rem;height:1rem;}.backup-card h3{margin:1px 0 4px;font-size:1rem;}.backup-card p{margin:0;color:#697773;font-size:.78rem;line-height:1.45;}.backup-status{padding:9px 11px;border-radius:11px;background:#f4f7f5;color:#52615d;font-size:.72rem;font-weight:650;}.backup-tools{padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;justify-content:stretch;}.backup-tools .primary-button,.backup-tools .secondary-button{width:100%;min-height:42px;border-radius:12px;padding:0 10px;font-size:.72rem;}.backup-tools .secondary-button{cursor:pointer;}.backup-legacy-note{color:#87928e;font-size:.68rem;line-height:1.4;}.import-backup-shell{padding:22px;display:grid;justify-items:center;gap:11px;text-align:center;}.import-backup-shell h2{margin:2px 0 0;font-size:1.3rem;letter-spacing:-.025em;}.import-backup-shell>p{margin:0;color:#62706c;font-size:.8rem;line-height:1.5;}.import-backup-warning{width:100%;padding:10px 11px;border:1px solid #ead9bd;border-radius:12px;background:#fff8e9;color:#805f2d;font-size:.72rem;line-height:1.45;text-align:left;}.import-backup-actions{width:100%;margin-top:3px;display:grid;gap:8px;}.import-backup-actions .primary-button,.import-backup-actions .danger-button,.import-backup-actions>button:last-child{min-height:43px;border-radius:12px;}.import-backup-actions>button:last-child{border:1px solid #dfe5e1;background:white;color:#5d6965;font-weight:700;}@media (max-width:430px){.settings-dialog,.import-backup-dialog{width:calc(100vw - 24px);border-radius:20px;}.backup-tools{grid-template-columns:1fr;}}.detail-floating-actions{position:sticky;z-index:40;top:max(10px,env(safe-area-inset-top));right:auto;left:auto;height:0;margin:0 14px;transform:translateY(12px);display:flex;justify-content:flex-end;gap:7px;pointer-events:none;}.detail-floating-actions .floating-close{pointer-events:auto;box-shadow:0 5px 16px rgba(4,14,13,.18);}.duration-fieldset{min-width:0;margin:0;padding:0;border:0;}.duration-fieldset legend{margin-bottom:7px;color:#475250;font-size:.83rem;font-weight:720;}.duration-fieldset .duration-part{display:grid;gap:0;grid-template-columns:minmax(0,1fr) auto;color:inherit;font-size:inherit;font-weight:inherit;}.duration-fieldset .duration-help{display:block;margin-top:7px;color:#65716e;font-size:.75rem;font-weight:560;}.recipe-card-title{min-height:2.45em;margin:0;color:#1f2b29;font-size:.98rem;line-height:1.22;letter-spacing:-.018em;font-weight:720;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}.recipe-card-category,.recipe-card-stat,.recipe-card-no-photo-label,.ingredient-section-heading span,.ingredient-reset,.ingredient-console-kicker,.ingredient-servings-control .servings-copy small,.ingredient-index,.ingredient-qualitative,.ingredient-console .ingredient-name small,.ingredient-console .ingredient-amount small,.ingredient-cart-action small,.detail-action-copy small,.detail-action-secondary small,.cook-timer-copy>small,.cook-timer-time span,.cook-timer-suggestions button small,.manual-timer-copy small,.step-timer-duration span,.custom-category-field>small,.plan-week-current small,.plan-day-card>header span,.plan-day-card>header>small,.plan-meal-slot small,.plan-meal-slot em,.plan-meal-slot>b,.plan-shopping-heading>span,.plan-shopping-preview span,.plan-shopping-preview small,.preparation-section-heading p,.preparation-number,.preparation-editor-heading small,.preparation-photo-tools label,.preparation-photo-remove,.notes-photo-copy small,.notes-photo-actions label,.backup-legacy-note{font-size:.75rem;}.search-box input::placeholder,.recipe-form label small,.duration-fieldset .duration-help,.ingredient-section-heading span,.ingredient-servings-control .servings-copy small,.ingredient-console .ingredient-name small,.ingredient-cart-action small,.detail-action-secondary small,.cook-timer-copy>small,.cook-timer-time span,.cook-timer-suggestions button small,.manual-timer-copy small,.custom-category-field>small,.plan-week-current small,.plan-meal-slot small,.plan-meal-slot em,.preparation-editor-heading small,.notes-photo-copy small,.backup-legacy-note{color:#626d69;}img.is-photo-pending{background:linear-gradient(110deg,#e7ebe7 8%,#f3f5f2 18%,#e7ebe7 33%);background-size:220% 100%;animation:photo-loading-shimmer 1.2s linear infinite;color:transparent;}img.is-photo-missing{background:linear-gradient(145deg,#e7ebe7,#dfe5e1);color:transparent;}@keyframes photo-loading-shimmer{to{background-position-x:-220%;}}.plan-week-current:disabled{cursor:default;opacity:1;}.plan-week-current:disabled strong{color:#22312e;}@media (max-width:390px){.recipe-card-title{font-size:.94rem;}.recipe-card-stat,.recipe-card-category{font-size:.75rem;}}@media (prefers-reduced-motion:reduce){img.is-photo-pending{animation:none;}}.storage-card{padding:14px;border:1px solid #dde6e1;border-radius:16px;background:#f8faf8;display:grid;gap:10px;}.storage-card h3{margin:0 0 4px;font-size:.9rem;color:#26332f;}.storage-card p{margin:0;font-size:.76rem;line-height:1.45;color:#586762;}.storage-card small{font-size:.72rem;line-height:1.45;color:#64736e;}.storage-card .secondary-button{justify-self:start;min-height:38px;padding:0 12px;border-radius:11px;}.draft-recovery-banner{margin:0 18px 12px;padding:10px 12px;border:1px solid #d8e4dd;border-radius:14px;background:linear-gradient(135deg,#f3f8f5,#fbfcfa);display:flex;align-items:center;justify-content:space-between;gap:12px;}.draft-recovery-banner[hidden]{display:none;}.draft-recovery-banner>div{min-width:0;display:grid;gap:2px;}.draft-recovery-banner strong{color:#24433e;font-size:.78rem;}.draft-recovery-banner span{color:#66736f;font-size:.72rem;}.draft-recovery-banner button{flex:0 0 auto;min-height:32px;padding:0 9px;border:1px solid #ead9d7;border-radius:9px;background:#fff;color:#a34d47;font-size:.7rem;font-weight:760;}.ingredient-editor-section{display:grid;gap:7px;}.ingredient-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;}.ingredient-editor-heading label{margin:0;color:#2e3a37;font-weight:760;}.ingredient-editor-heading button{min-height:32px;padding:0 9px;border:1px solid #dbe5df;border-radius:9px;background:#f6faf7;color:var(--teal-2);font-size:.7rem;font-weight:760;}.ingredient-editor-section>textarea{width:100%;}.ingredient-editor-section>small{color:#6f7b77;font-size:.75rem;line-height:1.45;}.structured-ingredients-panel{padding:12px;border:1px solid #dbe5df;border-radius:16px;background:#f8faf8;display:grid;gap:11px;}.structured-ingredients-panel[hidden]{display:none;}.structured-ingredients-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}.structured-ingredients-toolbar>div:first-child{display:grid;gap:2px;}.structured-ingredients-toolbar strong{color:#243531;font-size:.82rem;}.structured-ingredients-toolbar small{color:#6f7c78;font-size:.71rem;}.structured-ingredients-toolbar>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}.structured-ingredients-toolbar button{min-height:30px;padding:0 8px;border:1px solid #dbe4df;border-radius:8px;background:white;color:#315c56;font-size:.68rem;font-weight:720;}.structured-ingredients-list{display:grid;gap:8px;}.structured-ingredient-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(74px,.55fr) minmax(86px,.65fr) 30px;gap:7px;align-items:end;padding:9px;border:1px solid #e1e7e3;border-radius:12px;background:white;}.structured-ingredient-row.is-group{grid-template-columns:minmax(0,1fr) 30px;background:#eef5f1;}.structured-ingredient-row label{min-width:0;display:grid;gap:4px;margin:0;}.structured-ingredient-row label>span{color:#66736f;font-size:.66rem;font-weight:690;}.structured-ingredient-row input{width:100%;min-width:0;min-height:36px;padding:7px 8px;border:1px solid #dce4df;border-radius:8px;background:#fff;color:#1f2b28;font-size:.78rem;}.structured-ingredient-row.is-group input{font-weight:760;color:#245048;}.structured-remove{width:30px;height:34px;border:0;border-radius:8px;background:#fbf1f0;color:#a34f48;font-size:1rem;}.structured-ingredients-actions{display:flex;justify-content:flex-end;gap:7px;}.settings-card{padding:16px;border:1px solid #dfe7e2;border-radius:20px;background:white;display:grid;gap:12px;}.settings-card-heading h3{margin:0 0 4px;font-size:1rem;color:#1f302c;}.settings-card-heading p{margin:0;color:#65736f;font-size:.76rem;line-height:1.45;}.category-manager-list{display:grid;gap:7px;}.category-manager-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e3e9e5;border-radius:11px;background:#fafbf9;}.category-manager-row>div:first-child{min-width:0;display:grid;gap:2px;}.category-manager-row strong{overflow:hidden;text-overflow:ellipsis;color:#2b3935;font-size:.78rem;}.category-manager-row small{color:#78847f;font-size:.69rem;}.category-manager-actions{display:flex;gap:4px;flex:0 0 auto;}.category-manager-actions button{min-height:29px;padding:0 7px;border:1px solid #dce4df;border-radius:8px;background:white;color:#3a5b55;font-size:.66rem;font-weight:700;}.category-manager-actions .danger-link{color:#a34f48;border-color:#ead9d7;}.settings-empty-note{margin:0;padding:10px;border-radius:10px;background:#f6f8f6;color:#72807b;font-size:.73rem;}.demo-data-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}.demo-data-row>span{color:#56645f;font-size:.74rem;}.danger-link-button{min-height:32px;padding:0 9px;border:1px solid #ead9d7;border-radius:9px;background:#fff7f6;color:#a34e47;font-size:.7rem;font-weight:750;}.demo-recipe-badge{position:absolute;left:10px;bottom:10px;z-index:3;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.9);color:#5d6d68;font-size:.63rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;backdrop-filter:blur(8px);}.detail-kicker-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.demo-detail-badge{padding:5px 8px;border:1px solid #dbe4df;border-radius:999px;background:#f6f8f6;color:#64736e;font-size:.66rem;font-weight:780;letter-spacing:.04em;text-transform:uppercase;}@media (max-width:520px){.structured-ingredient-row{grid-template-columns:minmax(0,1fr) minmax(72px,.55fr) 30px;}.structured-ingredient-row label:nth-of-type(3){grid-column:1 / 3;}.structured-ingredient-row .structured-remove{grid-column:3;grid-row:1;}.structured-ingredients-toolbar{align-items:stretch;flex-direction:column;}.structured-ingredients-toolbar>div:last-child{justify-content:flex-start;}.category-manager-row{align-items:flex-start;}.category-manager-actions{flex-direction:column;}}.shopping-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.shopping-demo-badge{display:inline-flex;align-items:center;min-height:20px;padding:0 6px;border:1px solid #dbe4df;border-radius:999px;background:#f7f9f7;color:#6a7873;font-size:.64rem;font-weight:780;letter-spacing:.035em;text-transform:uppercase;}.recipe-page-actions{display:flex;align-items:center;gap:8px;}.import-link-button{min-height:38px;padding:0 12px;border:1px solid #d8e2de;border-radius:12px;background:#fff;color:#23514c;font-size:.78rem;font-weight:760;box-shadow:0 4px 12px rgba(17,52,48,.05);}.import-link-button:active{transform:scale(.97);}.global-timer-bar{position:fixed;z-index:24;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom));min-height:52px;padding:8px 12px;border:1px solid rgba(16,63,59,.16);border-radius:16px;background:rgba(17,63,59,.96);color:#fff;box-shadow:0 12px 28px rgba(10,35,32,.24);backdrop-filter:blur(14px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;}.global-timer-bar[hidden]{display:none;}.global-timer-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:1rem;}.global-timer-copy{min-width:0;display:grid;gap:1px;}.global-timer-copy strong{font-variant-numeric:tabular-nums;font-size:1rem;line-height:1;}.global-timer-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.78);font-size:.72rem;}.global-timer-count{min-width:24px;height:24px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#fff;color:#174a45;font-size:.68rem;font-weight:850;}.global-timer-bar:active{transform:translateY(1px) scale(.995);}.step-editor-title{display:flex;align-items:center;gap:7px;min-width:0;}.step-drag-handle{width:30px;height:30px;border:0;border-radius:9px;background:#eef3f0;color:#687571;display:grid;place-items:center;font-size:1.08rem;line-height:1;cursor:grab;touch-action:none;user-select:none;}.step-drag-handle:active{cursor:grabbing;}.step-editor.is-dragging{opacity:.72;transform:scale(.992);box-shadow:0 16px 32px rgba(22,56,52,.16);outline:2px solid rgba(37,99,91,.16);}.step-editor-list{touch-action:pan-y;}.import-recipe-dialog{width:min(92vw,520px);}.import-recipe-form{display:grid;gap:14px;}.import-recipe-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#e9f1ed;color:#184d47;font-size:1.35rem;font-weight:800;}.import-recipe-form h2{margin:2px 0 6px;color:#14211f;}.import-recipe-help{margin:0;color:#66736f;line-height:1.48;font-size:.8rem;}.import-recipe-form label{display:grid;gap:6px;color:#35413e;font-size:.76rem;font-weight:720;}.import-recipe-form input{width:100%;min-height:46px;padding:0 12px;border:1px solid #d9e2de;border-radius:12px;background:#fff;font:inherit;color:#17211f;}.import-recipe-status{min-height:1.2em;margin:0;color:#6d7774;font-size:.74rem;line-height:1.4;}.import-recipe-submit[disabled]{opacity:.55;cursor:wait;}@media (min-width:760px){.global-timer-bar{left:50%;right:auto;width:min(calc(100% - 24px),736px);transform:translateX(-50%);}.global-timer-bar:active{transform:translateX(-50%) translateY(1px) scale(.995);}}:root{--surface-soft:#fafbf8;--surface-muted:#eef2ee;--field:#fafbf8;--nav-surface:rgba(255,255,255,.94);--soft-teal:#e7efec;--soft-sun:#fff6df;--danger-soft:#fff0ee;}.theme-transition body,.theme-transition .app-shell,.theme-transition dialog,.theme-transition .bottom-nav,.theme-transition .recipe-card,.theme-transition .settings-card,.theme-transition .backup-card,.theme-transition input,.theme-transition textarea,.theme-transition select,.theme-transition button{transition:background-color .24s ease,color .24s ease,border-color .24s ease,box-shadow .24s ease;}.theme-settings-card{gap:14px;}.theme-settings-card .settings-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}.theme-status{flex:0 0 auto;margin-top:1px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:.7rem;font-weight:760;white-space:nowrap;}.theme-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.theme-choice button{min-width:0;min-height:76px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);color:var(--ink);display:grid;justify-items:center;align-content:center;gap:7px;font-size:.72rem;font-weight:760;}.theme-choice button.is-active{border-color:var(--teal-2);box-shadow:0 0 0 2px color-mix(in srgb,var(--teal-2) 18%,transparent);}.theme-preview{position:relative;width:42px;height:28px;overflow:hidden;border:1px solid rgba(80,95,90,.18);border-radius:9px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);}.theme-preview::after{content:"";position:absolute;left:5px;right:5px;bottom:5px;height:5px;border-radius:5px;opacity:.86;}.theme-preview-light{background:#f5f4ef;}.theme-preview-light::before{content:"";position:absolute;inset:4px 5px 11px;border-radius:4px;background:#fff;}.theme-preview-light::after{background:#123f3e;}.theme-preview-dark{background:#0f1716;}.theme-preview-dark::before{content:"";position:absolute;inset:4px 5px 11px;border-radius:4px;background:#1b2825;}.theme-preview-dark::after{background:#49caae;}.theme-preview-system{background:linear-gradient(90deg,#f5f4ef 0 50%,#0f1716 50%);}.theme-preview-system::before{content:"";position:absolute;inset:4px 5px 11px;border-radius:4px;background:linear-gradient(90deg,#fff 0 50%,#1b2825 50%);}.theme-preview-system::after{background:linear-gradient(90deg,#123f3e 0 50%,#49caae 50%);}html[data-theme="dark"]{color-scheme:dark;--ink:#f0f5f2;--muted:#aab7b2;--canvas:#0f1716;--surface:#17211f;--surface-soft:#1b2724;--surface-muted:#22302c;--field:#131d1b;--line:#2b3a36;--teal:#123f3e;--teal-2:#71d0be;--mint:#47d6b6;--sun:#ffc064;--sun-soft:#4b391a;--danger:#ff8179;--soft-teal:#1e3c36;--soft-sun:#342a18;--danger-soft:#372321;--nav-surface:rgba(18,27,25,.94);--shadow:0 20px 52px rgba(0,0,0,.38);}html[data-theme="dark"]{background:#07100f;}html[data-theme="dark"] body{background:radial-gradient(circle at 20% 0%,#15302e,#07100f 64%);color:var(--ink);}html[data-theme="dark"] .app-shell{background:var(--canvas);}html[data-theme="dark"] .topbar{background:#0f302e;}html[data-theme="dark"] .brand-mark{color:#052d28;}html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .recipe-meta,html[data-theme="dark"] .settings-card-heading p,html[data-theme="dark"] .backup-card-copy p,html[data-theme="dark"] .storage-card p,html[data-theme="dark"] .storage-card small{color:var(--muted);}html[data-theme="dark"] .search-box,html[data-theme="dark"] .recent-item,html[data-theme="dark"] .filter-chip,html[data-theme="dark"] .progress-card,html[data-theme="dark"] .shopping-item,html[data-theme="dark"] .secondary-button,html[data-theme="dark"] .photo-input-label,html[data-theme="dark"] .confirm-actions button,html[data-theme="dark"] .ingredient-list,html[data-theme="dark"] .cover-fit-options,html[data-theme="dark"] .cover-position-dialog,html[data-theme="dark"] .step-timer-dialog,html[data-theme="dark"] .plan-meal-actions button,html[data-theme="dark"] .settings-card,html[data-theme="dark"] .backup-card,html[data-theme="dark"] .category-manager-actions button,html[data-theme="dark"] .structured-ingredients-toolbar button,html[data-theme="dark"] .import-link-button,html[data-theme="dark"] .import-backup-actions>button:last-child,html[data-theme="dark"] .notes-photo-actions label,html[data-theme="dark"] .preparation-photo-tools label,html[data-theme="dark"] .preparation-remove{background:var(--surface);color:var(--ink);border-color:var(--line);}html[data-theme="dark"] .search-box{box-shadow:0 7px 20px rgba(0,0,0,.12);color:var(--muted);}html[data-theme="dark"] .search-box input::placeholder{color:#84938e;}html[data-theme="dark"] .filter-chip{color:#b5c0bc;}html[data-theme="dark"] .filter-chip.is-selected{background:#205d58;border-color:#2c7770;color:#fff;}html[data-theme="dark"] .recipe-card{border-color:#273632;background:linear-gradient(180deg,#192421,#141e1c);box-shadow:0 15px 34px rgba(0,0,0,.24);}html[data-theme="dark"] .recipe-card-body{background:linear-gradient(180deg,#192421,#141e1c);}html[data-theme="dark"] .recipe-card-body h3{color:#f1f5f3;}html[data-theme="dark"] .recipe-card .recipe-meta{color:#9eaca7;}html[data-theme="dark"] .recipe-card-category{background:rgba(18,29,27,.88);color:#d7e2de;box-shadow:0 2px 12px rgba(0,0,0,.22);}html[data-theme="dark"] .recent-item>svg{color:#95a39e;}html[data-theme="dark"] .progress-track{background:#2a3935;}html[data-theme="dark"] .shopping-check{border-color:#62706c;}html[data-theme="dark"] .shopping-item.is-checked .shopping-name{color:#73807c;}html[data-theme="dark"] .delete-item{color:#7f8e89;}html[data-theme="dark"] .delete-item:hover{background:var(--danger-soft);}html[data-theme="dark"] .empty-state>span{background:#1f302c;}html[data-theme="dark"] .bottom-nav{border-top-color:#273530;background:var(--nav-surface);box-shadow:0 -12px 30px rgba(0,0,0,.22);}html[data-theme="dark"] .nav-item{color:#82908b;}html[data-theme="dark"] .nav-item.is-active{color:#70d0be;}html[data-theme="dark"] .nav-icon-wrap b{border-color:#17211f;}html[data-theme="dark"] dialog{background:var(--surface);color:var(--ink);box-shadow:0 26px 80px rgba(0,0,0,.55);}html[data-theme="dark"] dialog::backdrop{background:rgba(0,8,7,.74);}html[data-theme="dark"] .dialog-close,html[data-theme="dark"] .settings-heading>button{background:#24312e;color:#d9e2df;border-color:#33423e;}html[data-theme="dark"] .detail-body{background:var(--surface);}html[data-theme="dark"] .detail-title-row #detail-title{color:#f4f7f5;text-shadow:none;}html[data-theme="dark"] .tag{background:#1d3b35;color:#8de0cf;}html[data-theme="dark"] .ingredient-list li{background:#202d2a;}html[data-theme="dark"] .step-list li.is-done .step-copy{color:#74827d;}html[data-theme="dark"] .step-done-button::before{background:#4a391b;color:#ffcf79;}html[data-theme="dark"] .recipe-note{background:#332a18;color:#eadbb9;}html[data-theme="dark"] .source-link{color:#82d6c6;}html[data-theme="dark"] .recipe-form label,html[data-theme="dark"] .difficulty-fieldset legend,html[data-theme="dark"] .step-editor-heading,html[data-theme="dark"] .ingredient-scale-field,html[data-theme="dark"] .preparation-editor-heading>div>span{color:#c6d0cc;}html[data-theme="dark"] .recipe-form label small,html[data-theme="dark"] .photo-placeholder,html[data-theme="dark"] .cover-display-title,html[data-theme="dark"] .ingredient-scale-help,html[data-theme="dark"] .preparation-editor-heading small,html[data-theme="dark"] .notes-photo-copy small{color:#8f9d98;}html[data-theme="dark"] .recipe-form input,html[data-theme="dark"] .recipe-form textarea,html[data-theme="dark"] .recipe-form select,html[data-theme="dark"] .ingredient-scale-input-wrap,html[data-theme="dark"] .plan-meal-field select,html[data-theme="dark"] .plan-meal-field input,html[data-theme="dark"] .preparation-text,html[data-theme="dark"] .structured-ingredient-row input,html[data-theme="dark"] .import-recipe-form input{background:var(--field);color:var(--ink);border-color:var(--line);}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#71807b;}html[data-theme="dark"] .difficulty-options{background:var(--field);}html[data-theme="dark"] .difficulty-option span{color:#9eaba7;}html[data-theme="dark"] .difficulty-option input:checked + span{background:#263632;color:#8de0cf;box-shadow:none;}html[data-theme="dark"] .photo-preview{background:#182421;border-color:#3b4c47;}html[data-theme="dark"] .step-editor,html[data-theme="dark"] .preparation-editor,html[data-theme="dark"] .notes-photo-editor,html[data-theme="dark"] .structured-ingredients-panel,html[data-theme="dark"] .category-manager-row,html[data-theme="dark"] .draft-recovery-banner,html[data-theme="dark"] .cover-display-controls{background:var(--surface-soft);border-color:var(--line);}html[data-theme="dark"] .step-editor-heading button,html[data-theme="dark"] .ingredient-editor-heading button,html[data-theme="dark"] .preparation-editor-heading button{background:#20352f;color:#82d8c7;border-color:#315148;}html[data-theme="dark"] .step-editor-actions #import-steps-button{background:#252f2d;color:#b1bcb8;}html[data-theme="dark"] .confirm-icon{background:var(--danger-soft);}html[data-theme="dark"] .ingredient-console{border-color:#2c413b;background:linear-gradient(180deg,#192522,#14201d);box-shadow:0 14px 34px rgba(0,0,0,.2);}html[data-theme="dark"] .ingredient-console-head{border-bottom-color:#2b3b37;background:linear-gradient(135deg,rgba(73,199,174,.08),rgba(35,88,80,.08));}html[data-theme="dark"] .ingredient-console-kicker,html[data-theme="dark"] .ingredient-console-tools,html[data-theme="dark"] .ingredient-console .ingredient-name small,html[data-theme="dark"] .ingredient-cart-action small{color:#91a09b;}html[data-theme="dark"] .ingredient-servings-control{background:#202d29;border-color:#304741;box-shadow:none;}html[data-theme="dark"] .ingredient-servings-control>button{background:#263a34;color:#89dfce;}html[data-theme="dark"] .ingredient-console-tools{background:rgba(24,36,33,.72);border-bottom-color:#293936;}html[data-theme="dark"] .ingredient-console-tools .ingredient-reset{background:#22322e;color:#82d6c6;}html[data-theme="dark"] .ingredient-console .ingredient-row{border-bottom-color:#263632;}html[data-theme="dark"] .ingredient-index{color:#84918d;}html[data-theme="dark"] .ingredient-console .ingredient-name strong{color:#edf3f0;}html[data-theme="dark"] .ingredient-console .ingredient-amount{background:#1d3b35;color:#92e5d4;border-color:#2f544b;box-shadow:none;}html[data-theme="dark"] .ingredient-console .ingredient-amount small{color:#9bc5bc;}html[data-theme="dark"] .ingredient-cart-action{background:#182521;color:#d8e4df;border-top-color:#293a35;}html[data-theme="dark"] .ingredient-cart-action>span:first-child{background:#203d36;color:#8fe1d0;}html[data-theme="dark"] .preparation-section{border-color:#2a3d37;background:linear-gradient(145deg,#1a2824,#14201d);}html[data-theme="dark"] .preparation-section-heading p{color:#8e9c97;}html[data-theme="dark"] .preparation-section-heading h3{color:#d9e7e2;}html[data-theme="dark"] .preparation-icon{background:#22332e;color:#88ddcc;box-shadow:none;}html[data-theme="dark"] .preparation-copy{color:#d4dfdb;}html[data-theme="dark"] .preparation-photo-preview,html[data-theme="dark"] .preparation-photo{background:#101917;}html[data-theme="dark"] .notes-photo-copy strong{color:#ced9d5;}html[data-theme="dark"] .settings-dialog,html[data-theme="dark"] .import-backup-dialog{background:#111a18;}html[data-theme="dark"] .settings-heading p{color:#85938e;}html[data-theme="dark"] .backup-status,html[data-theme="dark"] .settings-empty-note{background:#202c29;color:#a2b0ab;}html[data-theme="dark"] .import-backup-warning{border-color:#5a4727;background:#302716;color:#e5c990;}html[data-theme="dark"] .category-manager-row{color:#d8e1de;}html[data-theme="dark"] .danger-link-button{background:#332220;border-color:#573330;color:#ff9992;}html[data-theme="dark"] .demo-detail-badge,html[data-theme="dark"] .shopping-demo-badge{background:#202b28;color:#a8b5b0;border-color:#34423e;}html[data-theme="dark"] .plan-week-card,html[data-theme="dark"] .plan-day,html[data-theme="dark"] .plan-meal-slot{border-color:#2a3935;background:#17211f;color:var(--ink);}html[data-theme="dark"] .plan-day-header{color:#cbd6d2;}html[data-theme="dark"] .plan-slot-icon{background:#23302d;}html[data-theme="dark"] .plan-meal-slot.is-empty{background:#141d1b;color:#91a09b;}html[data-theme="dark"] .plan-shopping-button{background:#f0b85a;color:#2c210e;border-color:#f0b85a;}html[data-theme="dark"] .cook-dialog,html[data-theme="dark"] .cook-shell,html[data-theme="dark"] .cook-scroll-area{background:#101816;color:var(--ink);}html[data-theme="dark"] .cook-header{background:#151f1d;border-bottom-color:#293632;}html[data-theme="dark"] .cook-close{background:#24302d;color:#d5dfdb;}html[data-theme="dark"] .cook-header-center small,html[data-theme="dark"] .cook-recipe-name,html[data-theme="dark"] .cook-timer-copy>small,html[data-theme="dark"] .cook-timer-time span,html[data-theme="dark"] .cook-complete-screen p:not(.eyebrow){color:#96a49f;}html[data-theme="dark"] .cook-progress-count{background:#20312d;color:#8fe0d0;}html[data-theme="dark"] .cook-progress-track{background:#273532;}html[data-theme="dark"] .cook-step-nav{background:#141e1c;border-bottom-color:#273532;}html[data-theme="dark"] .cook-step-nav button{background:#1d2926;border-color:#33433f;color:#a2b0ab;}html[data-theme="dark"] .cook-step-nav button.is-done:not(.is-current){background:#1b3c34;border-color:#2c6557;color:#83ddc9;}html[data-theme="dark"] .cook-photo{background:#0b1211;box-shadow:0 10px 30px rgba(0,0,0,.22);}html[data-theme="dark"] .cook-step-number{background:#4a391b;color:#ffd27e;}html[data-theme="dark"] .cook-step-text{color:#edf3f0;}html[data-theme="dark"] .cook-timer-suggestions,html[data-theme="dark"] .cook-timer-dock{background:#182320;border-color:#2d3d38;box-shadow:0 8px 26px rgba(0,0,0,.18);}html[data-theme="dark"] .cook-timer-suggestions>span{color:#98a6a1;}html[data-theme="dark"] .cook-timer-suggestions button{background:#1d3a34;border-color:#31584f;color:#91e2d0;}html[data-theme="dark"] .cook-timer-heading span{background:#25322f;color:#aab6b2;}html[data-theme="dark"] .cook-timer-item{background:#202b28;}html[data-theme="dark"] .cook-timer-item.is-highlighted{border-color:#4f927f;background:#1c3932;}html[data-theme="dark"] .cook-timer-item.is-finished{background:#3a2d16;}html[data-theme="dark"] .cook-timer-actions button{background:#25312e;color:#d3ddda;border-color:#364641;}html[data-theme="dark"] .cook-actions{background:rgba(18,27,25,.97);border-top-color:#2a3935;box-shadow:0 -10px 28px rgba(0,0,0,.2);}html[data-theme="dark"] .cook-actions button{background:#202b28;color:#c7d2ce;border-color:#33423e;}html[data-theme="dark"] .cook-actions .cook-complete-step{background:#1b3932;border-color:#2d5b50;color:#8bdcca;}html[data-theme="dark"] .cook-complete-mark{background:#1b4237;color:#84e0c9;}html[data-theme="dark"] .photo-viewer-dialog{background:#050807;}html[data-theme="dark"] .cover-position-preview{background:#0b1110;}html[data-theme="dark"] .cover-mode-options,html[data-theme="dark"] .cover-zoom-controls{background:#1b2724;border-color:#2e3c38;}html[data-theme="dark"] .cover-mode-options button,html[data-theme="dark"] .cover-zoom-controls button{color:#c7d2ce;}html[data-theme="dark"] .structured-ingredient-row{background:#17211f;border-color:#2c3a36;}html[data-theme="dark"] .structured-ingredient-label{color:#8f9d98;}html[data-theme="dark"] .structured-remove{background:#352421;color:#ff9b94;}html[data-theme="dark"] .shopping-title-actions .shopping-clear-all{background:#241f1e;border-color:#49302d;color:#ff9088;}html[data-theme="dark"] .global-timer-bar{border-color:rgba(97,218,193,.22);background:rgba(13,48,44,.97);box-shadow:0 14px 34px rgba(0,0,0,.34);}@media (max-width:430px){.theme-choice{gap:6px;}.theme-choice button{min-height:72px;padding:7px 5px;font-size:.68rem;}.theme-status{font-size:.66rem;}}.nyamli-brand{gap:9px;}.nyamli-mark{position:relative;width:35px;height:35px;border-radius:12px 12px 12px 4px;background:#f2b76a;color:#123f3e;font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;font-style:normal;font-weight:700;letter-spacing:-.04em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.46),0 6px 16px rgba(2,22,20,.16);}.nyamli-mark::after{content:"";position:absolute;right:-2px;top:-2px;width:9px;height:6px;border-radius:8px 2px 8px 2px;background:#d97955;transform:rotate(-24deg);}.nyamli-wordmark{font-family:Georgia,"Times New Roman",serif;font-size:1.13rem;font-weight:500;letter-spacing:-.025em;}.recipe-card-title{min-height:2.4em;max-height:none;margin:0;padding:0 0 1px;color:#172522;font-family:Georgia,"Times New Roman",serif;font-size:1.08rem;line-height:1.22;letter-spacing:-.018em;font-weight:400;display:block;overflow:visible;-webkit-box-orient:initial;-webkit-line-clamp:unset;text-wrap:pretty;overflow-wrap:anywhere;hyphens:auto;text-shadow:none;}.recipe-card-title::after{content:"";display:block;width:26px;height:2px;margin-top:7px;border-radius:999px;background:linear-gradient(90deg,rgba(183,94,61,.8),rgba(183,94,61,0));}.recipe-card:hover .recipe-card-title,.recipe-card:focus-visible .recipe-card-title{color:#153f3a;}.recipe-card-body{padding-top:15px;}.ingredient-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px;}.ingredient-editor-heading>div{display:grid;gap:3px;}.ingredient-editor-heading strong{font-size:.92rem;}.ingredient-editor-heading small{color:#78837f;font-size:.72rem;line-height:1.4;}.ingredient-editor-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}.ingredient-editor-heading button,.ingredient-editor-actions button{min-height:34px;padding:6px 9px;border:1px solid #dbe4df;border-radius:10px;background:#fff;color:var(--teal-2);font-size:.72rem;font-weight:760;}.structured-ingredients-empty{margin:0;padding:10px;color:#7a8681;font-size:.74rem;text-align:center;}.ingredient-bulk-import{margin-top:9px;border:1px dashed #d8e1dc;border-radius:14px;background:#fafbf8;overflow:hidden;}.ingredient-bulk-import summary{padding:10px 12px;color:#60706b;font-size:.74rem;font-weight:740;cursor:pointer;}.ingredient-bulk-import-body{padding:0 11px 11px;display:grid;gap:8px;}.ingredient-bulk-import-body textarea{width:100%;resize:vertical;}.ingredient-bulk-import-body small{color:#78837f;font-size:.7rem;line-height:1.42;}.ingredient-bulk-import-body button{justify-self:start;min-height:36px;border:1px solid #cadbd5;border-radius:10px;background:#edf5f1;color:var(--teal-2);font-weight:760;}.recipe-filter-toolbar{display:flex;align-items:center;gap:8px;margin:-6px 0 12px;}.advanced-filter-button,.advanced-filter-clear{min-height:34px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#4b5a56;font-size:.78rem;font-weight:760;padding:7px 12px;}.advanced-filter-button{display:inline-flex;align-items:center;gap:7px;}.advanced-filter-button.is-active{background:#e8f2ef;border-color:#b9d6ce;color:var(--teal-2);}.advanced-filter-button span{min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:inline-grid;place-items:center;background:var(--teal);color:#fff;font-size:.68rem;}.advanced-filter-clear{border-color:transparent;background:transparent;color:#8a5b4a;padding-inline:8px;}.recipe-filter-dialog{width:min(92vw,520px);}.recipe-filter-form{display:grid;gap:16px;}.recipe-filter-form h2{margin:0;}.recipe-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.recipe-filter-grid label{display:grid;gap:6px;}.recipe-filter-grid label>span{font-size:.77rem;font-weight:760;color:#5d6965;}.recipe-filter-grid select{width:100%;min-height:43px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);padding:0 11px;}.recipe-filter-tags-fieldset{margin:0;padding:0;border:0;}.recipe-filter-tags-fieldset legend{font-weight:800;}.recipe-filter-tags-fieldset>p{margin:4px 0 10px;color:#77827e;font-size:.77rem;}.recipe-filter-tags{display:flex;flex-wrap:wrap;gap:7px;max-height:190px;overflow:auto;}.filter-tag-choice,.collection-choice{position:relative;}.filter-tag-choice input,.collection-choice input{position:absolute;opacity:0;pointer-events:none;}.filter-tag-choice span,.collection-choice span{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#fafbf8;color:#58635f;font-size:.76rem;font-weight:720;}.filter-tag-choice input:checked+span{background:#dfeee9;border-color:#a9d0c5;color:#1d655b;}.collection-choice input:checked+span{background:#173f3c;border-color:#173f3c;color:#fff;}.filter-tag-choice input:focus-visible+span,.collection-choice input:focus-visible+span{outline:3px solid rgba(35,121,109,.25);outline-offset:2px;}.filter-tags-empty,.collection-empty-note{margin:0;color:#87918e;font-size:.77rem;}.recipe-filter-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;}.recipe-filter-actions button{min-height:40px;border-radius:12px;}.collection-editor-section{border:1px solid var(--line);border-radius:17px;background:#fbfbf8;padding:13px;display:grid;gap:10px;}.collection-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}.collection-editor-heading>div{display:grid;gap:3px;}.collection-editor-heading span{font-weight:800;}.collection-editor-heading small{font-size:.73rem;color:#7a8581;}.collection-editor-heading button,.settings-inline-add{border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--teal-2);font-weight:760;padding:7px 10px;font-size:.76rem;}.recipe-collection-options{display:flex;flex-wrap:wrap;gap:7px;}.detail-collections{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 9px;}.collection-pill{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:#f4eadf;color:#81553c;font-size:.7rem;font-weight:760;border:1px solid #ead6c3;}.collection-manager-card .settings-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}.import-recipe-dialog{width:min(calc(100% - 24px),520px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding-bottom:0;}.import-recipe-form{min-height:0;}.import-recipe-form .confirm-actions{position:sticky;z-index:3;bottom:0;margin:0 -25px;padding:12px 25px max(16px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(255,255,255,.88),#fff 28%);border-top:1px solid rgba(30,55,52,.08);backdrop-filter:blur(10px);}.import-recipe-form .confirm-actions .primary-button{border-color:var(--teal);background:var(--teal);color:#fff;}.data-safety-card{position:relative;overflow:hidden;}.data-safety-card::after{content:"";position:absolute;width:120px;height:120px;right:-54px;top:-58px;border-radius:50%;background:radial-gradient(circle,rgba(175,91,62,.13),rgba(175,91,62,0) 70%);pointer-events:none;}.data-safety-card .settings-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}.public-beta-badge{flex:0 0 auto;min-height:27px;padding:5px 9px;border:1px solid #e2c8b7;border-radius:999px;background:#f8eee8;color:#9b573e;font-size:.66rem;line-height:1;font-weight:800;letter-spacing:.05em;text-transform:uppercase;}.data-safety-note{display:grid;gap:3px;padding:11px 12px;border-radius:13px;background:#f5f7f4;color:#54615d;font-size:.74rem;line-height:1.45;}.data-safety-note strong{color:#263733;}.data-safety-backup{width:max-content;min-height:39px;padding-inline:13px;border-radius:12px;}.public-info-links{display:grid;grid-template-columns:1fr 1fr;gap:7px;}.public-info-links button{min-height:38px;padding:8px 10px;border:1px solid #dfe6e1;border-radius:12px;background:#fff;color:#586560;font:inherit;font-size:.72rem;font-weight:720;text-align:left;}.public-info-links button:hover{border-color:#bdcec7;color:var(--teal-2);}.public-beta-version{margin:-4px 2px 2px;color:#929c98;font-size:.65rem;text-align:center;letter-spacing:.04em;}.public-onboarding-dialog{width:min(calc(100% - 24px),540px);max-height:min(92dvh,760px);padding:0;overflow:auto;border-radius:30px;background:#fbfbf7;color:var(--ink);}.public-onboarding-shell{padding:26px;display:grid;gap:19px;}.onboarding-brand{display:flex;align-items:center;justify-content:space-between;gap:10px;}.onboarding-brand>span{position:relative;width:48px;height:48px;display:grid;place-items:center;border-radius:16px 16px 16px 6px;background:#f2b76a;color:#123f3e;font-family:Georgia,serif;font-size:1.45rem;font-weight:700;}.onboarding-brand>span::after{content:"";position:absolute;right:-2px;top:-2px;width:10px;height:7px;border-radius:8px 2px 8px 2px;background:#d97955;transform:rotate(-24deg);}.onboarding-brand small{padding:6px 10px;border-radius:999px;background:#f4e8df;color:#9a573f;font-size:.66rem;font-weight:820;letter-spacing:.07em;text-transform:uppercase;}.public-onboarding-shell .eyebrow{margin:0 0 5px;}.public-onboarding-shell h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.6rem,5vw,2.1rem);line-height:1.08;letter-spacing:-.035em;font-weight:400;}.onboarding-lead{margin:10px 0 0;color:#65736f;line-height:1.55;font-size:.88rem;}.onboarding-points{display:grid;gap:9px;}.onboarding-points article{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:start;padding:12px;border:1px solid #e1e7e3;border-radius:16px;background:#fff;}.onboarding-points article>strong{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#e8f0ed;color:var(--teal-2);font-size:.76rem;}.onboarding-points h3{margin:1px 0 3px;font-size:.88rem;}.onboarding-points p{margin:0;color:#6d7975;font-size:.74rem;line-height:1.46;}.onboarding-actions{display:grid;gap:8px;}.onboarding-actions button{min-height:46px;border-radius:14px;}.onboarding-actions>button:last-child{border:0;background:transparent;color:#61706b;font-weight:720;}.public-info-dialog{width:min(calc(100% - 24px),560px);max-height:min(90dvh,780px);padding:0;overflow:auto;border-radius:26px;background:#fafaf7;color:var(--ink);}.public-info-shell{padding:23px;display:grid;gap:13px;}.public-info-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;position:sticky;top:0;z-index:2;margin:-23px -23px 3px;padding:20px 23px 12px;background:linear-gradient(180deg,#fafaf7 76%,rgba(250,250,247,.88));}.public-info-shell>header .eyebrow{margin:0 0 4px;}.public-info-shell>header h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;font-weight:400;letter-spacing:-.03em;}.public-info-shell>header>button{width:36px;height:36px;border:1px solid #dfe5e1;border-radius:12px;background:#fff;color:#56635f;font-size:1.1rem;}.public-info-shell>p{margin:0;color:#5f6d68;font-size:.82rem;line-height:1.62;}.public-info-shell>h3{margin:6px 0 -6px;color:#2d3c38;font-size:.88rem;}.public-info-highlight{padding:12px 13px;border:1px solid #dce6e1;border-radius:15px;background:#f2f7f4;display:grid;gap:2px;}.public-info-highlight strong{color:var(--teal-2);font-size:.82rem;}.public-info-highlight span{color:#687570;font-size:.74rem;line-height:1.45;}.public-permalink{justify-self:start;margin-top:3px;color:var(--teal-2);font-size:.75rem;font-weight:760;text-decoration:none;border-bottom:1px solid rgba(13,85,82,.25);}.public-permalink:hover{border-bottom-color:currentColor;}.feedback-form label{display:grid;gap:6px;color:#3f4f4a;font-size:.78rem;font-weight:720;}.feedback-form label>span{color:#84908c;font-weight:500;}.feedback-form textarea,.feedback-form input[type="email"]{width:100%;border:1px solid #dbe3df;border-radius:13px;background:#fff;color:var(--ink);padding:11px 12px;font:inherit;font-weight:500;line-height:1.45;}.feedback-form textarea{resize:vertical;min-height:130px;}.feedback-form textarea:focus,.feedback-form input[type="email"]:focus{outline:0;border-color:#8ab8ab;box-shadow:0 0 0 3px rgba(32,106,96,.12);}.feedback-status{min-height:1.2em;color:#60706b;font-size:.72rem !important;}.feedback-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;}.feedback-actions button{min-height:43px;border-radius:12px;}.feedback-actions>button:first-child{padding:0 12px;border:1px solid #dce4e0;background:#fff;color:#586560;font-weight:720;}.feedback-actions .primary-button{width:100%;}html[data-theme="dark"] .recipe-card-title{color:#edf4f1;text-shadow:none;}html[data-theme="dark"] .recipe-card-title::after{background:linear-gradient(90deg,rgba(221,148,112,.9),rgba(221,148,112,0));}html[data-theme="dark"] .recipe-card:hover .recipe-card-title,html[data-theme="dark"] .recipe-card:focus-visible .recipe-card-title{color:#c6eee5;}html[data-theme="dark"] .advanced-filter-button,html[data-theme="dark"] .advanced-filter-clear,html[data-theme="dark"] .collection-editor-heading button,html[data-theme="dark"] .settings-inline-add{background:#1a2724;border-color:#33443f;color:#b9d9d0;}html[data-theme="dark"] .advanced-filter-button.is-active{background:#1d3933;border-color:#315c52;color:#91dfce;}html[data-theme="dark"] .collection-editor-section,html[data-theme="dark"] .ingredient-bulk-import{background:#151f1d;border-color:#2d3c38;}html[data-theme="dark"] .collection-editor-heading small,html[data-theme="dark"] .recipe-filter-tags-fieldset>p,html[data-theme="dark"] .collection-empty-note,html[data-theme="dark"] .filter-tags-empty{color:#98a6a1;}html[data-theme="dark"] .collection-choice span,html[data-theme="dark"] .filter-tag-choice span{background:#1a2724;border-color:#33443f;color:#c4d0cc;}html[data-theme="dark"] .collection-choice input:checked+span{background:#27685e;border-color:#3c897b;color:#f2fbf8;}html[data-theme="dark"] .filter-tag-choice input:checked+span{background:#1d3933;border-color:#315c52;color:#95dfce;}html[data-theme="dark"] .recipe-filter-grid label>span{color:#aab7b2;}html[data-theme="dark"] .recipe-filter-grid select{background:#17211f;border-color:#33443f;color:#e6efeb;}html[data-theme="dark"] .collection-pill{background:#382b20;border-color:#5d4634;color:#e6c3a6;}html[data-theme="dark"] .import-recipe-form .confirm-actions{background:linear-gradient(180deg,rgba(17,26,24,.88),#111a18 28%);border-top-color:#293a35;}html[data-theme="dark"] .public-beta-badge{background:#34251f;border-color:#5d4133;color:#e5af92;}html[data-theme="dark"] .data-safety-note{background:#18231f;color:#a5b1ad;}html[data-theme="dark"] .data-safety-note strong{color:#e5eeea;}html[data-theme="dark"] .public-info-links button{background:#17211f;border-color:#31403c;color:#bcc9c4;}html[data-theme="dark"] .public-beta-version{color:#73817c;}html[data-theme="dark"] .public-onboarding-dialog,html[data-theme="dark"] .public-info-dialog{background:#111a18;color:#e9f0ed;}html[data-theme="dark"] .onboarding-brand small{background:#35261f;color:#e1ad92;}html[data-theme="dark"] .onboarding-lead,html[data-theme="dark"] .onboarding-points p,html[data-theme="dark"] .public-info-shell>p{color:#a0ada8;}html[data-theme="dark"] .onboarding-points article{background:#17211f;border-color:#2c3a36;}html[data-theme="dark"] .onboarding-points article>strong{background:#1d3933;color:#9adfce;}html[data-theme="dark"] .public-info-shell>header{background:linear-gradient(180deg,#111a18 76%,rgba(17,26,24,.9));}html[data-theme="dark"] .public-info-shell>header>button,html[data-theme="dark"] .feedback-actions>button:first-child{background:#17211f;border-color:#31403c;color:#c6d2ce;}html[data-theme="dark"] .public-info-shell>h3{color:#dde8e4;}html[data-theme="dark"] .public-info-highlight{background:#17231f;border-color:#2c4039;}html[data-theme="dark"] .public-info-highlight span{color:#9daba6;}html[data-theme="dark"] .feedback-form label{color:#cbd7d3;}html[data-theme="dark"] .feedback-form textarea,html[data-theme="dark"] .feedback-form input[type="email"]{background:#17211f;border-color:#33443f;color:#e6efeb;}html[data-theme="dark"] .feedback-status{color:#99a7a2;}html[data-theme="dark"] .public-permalink{color:#9adfce;}@media (max-width:520px){.recipe-card-title{min-height:2.48em;font-size:1rem;line-height:1.24;letter-spacing:-.012em;}.recipe-card-title::after{margin-top:6px;}.recipe-filter-grid{grid-template-columns:1fr;}.recipe-filter-grid .form-span-2{grid-column:auto;}.recipe-filter-actions{display:grid;grid-template-columns:1fr 1fr;}.recipe-filter-actions .primary-button{grid-column:1/-1;grid-row:1;}.recipe-filter-toolbar{margin-top:-2px;}.import-recipe-dialog{width:calc(100% - 14px);max-height:calc(100dvh - 14px);padding:20px 18px 0;border-radius:22px;}.import-recipe-form .confirm-actions{margin:0 -18px;padding:11px 18px max(13px,env(safe-area-inset-bottom));}.public-onboarding-dialog,.public-info-dialog{width:calc(100% - 14px);max-height:calc(100dvh - 14px);border-radius:22px;}.public-onboarding-shell{padding:20px 18px;gap:16px;}.public-info-shell{padding:19px 18px;}.public-info-shell>header{margin:-19px -18px 2px;padding:17px 18px 11px;}.public-info-links{grid-template-columns:1fr;}.feedback-actions{grid-template-columns:1fr;}}@media (prefers-reduced-motion:reduce){.filter-tag-choice span,.collection-choice span,.advanced-filter-button{transition:none;}}.ingredient-console .ingredient-name small.ingredient-note{display:block;color:#7a6258;font-size:.72rem;line-height:1.25;white-space:normal;}.ingredient-console .ingredient-row-unknown .ingredient-static-mark{width:0;min-width:0;padding:0;}html[data-theme="dark"] .ingredient-console .ingredient-name small.ingredient-note{color:#c6a994;}@media (max-width:430px){.ingredient-console .ingredient-name small.ingredient-note{display:block;}}.skip-link{position:fixed;z-index:1000;top:8px;left:50%;transform:translate(-50%,-150%);min-height:42px;padding:10px 15px;border-radius:12px;background:#fff;color:#123f3e;box-shadow:0 8px 30px rgba(0,0,0,.22);font-size:.82rem;font-weight:800;text-decoration:none;transition:transform .16s ease;}.skip-link:focus{transform:translate(-50%,0);}:where(a,button,input,textarea,select,summary,[tabindex]:not([tabindex="-1"])):focus-visible{outline:3px solid rgba(20,123,109,.48);outline-offset:3px;}html[data-theme="dark"]:where(a,button,input,textarea,select,summary,[tabindex]:not([tabindex="-1"])):focus-visible{outline-color:rgba(117,226,202,.66);}html.has-global-timer main{padding-bottom:calc(158px + env(safe-area-inset-bottom));}.bottom-nav{backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);}dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(5,18,18,.66);}.floating-close{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);}.global-timer-bar{backdrop-filter:none;-webkit-backdrop-filter:none;}.import-recipe-form .confirm-actions{backdrop-filter:none;-webkit-backdrop-filter:none;}body{background:#0b1d1e;}html[data-theme="dark"] body{background:#07100f;}.detail-floating-actions .dialog-close{min-width:42px;min-height:42px;}.recipe-card-visual,.featured-media,.recent-thumb,.notes-photo-preview{contain:layout paint;}@media (max-width:600px){.bottom-nav{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(255,255,255,.985);}html[data-theme="dark"] .bottom-nav{background:rgba(17,27,24,.99);}.floating-close{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(8,20,20,.70) !important;}}@media (prefers-reduced-motion:reduce){.skip-link{transition:none;}}.editor-text-import-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:color-mix(in srgb,var(--teal-2) 8%,var(--surface));border:1px solid var(--line);border-radius:17px;}.editor-text-import-inline[hidden]{display:none;}.editor-text-import-inline>div{min-width:0;display:grid;gap:3px;}.editor-text-import-inline strong{font-size:.9rem;font-weight:680;color:var(--ink);}.editor-text-import-inline small{font-size:.73rem;line-height:1.4;color:var(--muted);}.editor-text-import-inline button,.import-text-button{border:1px solid var(--line);border-radius:12px;padding:9px 11px;color:var(--ink);background:var(--surface);font-size:.78rem;font-weight:650;white-space:nowrap;cursor:pointer;}.import-text-button{background:color-mix(in srgb,var(--teal-2) 8%,var(--surface));}.editor-accordion{min-width:0;overflow:visible;border:1px solid var(--line);border-radius:18px;background:var(--surface);}.editor-accordion summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:15px 17px;user-select:none;}.editor-accordion summary::-webkit-details-marker{display:none;}.editor-accordion summary span{color:var(--ink);font-size:1rem;line-height:1.4;font-weight:700;}.editor-accordion summary small{flex:1;color:var(--muted);font-size:.74rem;line-height:1.4;text-align:right;}.editor-accordion summary::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-left:6px;transition:transform .16s ease;}.editor-accordion[open] summary::after{transform:translateY(3px) rotate(225deg);}.editor-accordion[open]>summary{border-bottom:1px solid var(--line);}.editor-accordion-content{padding:16px;display:grid;gap:15px;min-width:0;}.editor-accordion-content>.form-grid,.editor-accordion-content>.collection-editor-section,.editor-accordion-content>.ingredient-editor-section,.editor-accordion-content>.preparation-editor-section,.editor-accordion-content>.step-editor-section,.editor-accordion-content>.notes-editor-section{min-width:0;}.editor-accordion-content>label{min-width:0;}.text-recipe-dialog{width:min(700px,calc(100vw - 22px));max-height:calc(100dvh - 18px);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);overflow:hidden;}.text-import-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 18px);min-height:0;}.text-import-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:22px 22px 13px;border-bottom:1px solid var(--line);}.text-import-heading>div{min-width:0;}.text-import-heading h2{font-size:1.45rem;margin:3px 0 6px;color:var(--ink);line-height:1.2;}.text-import-heading p:not(.eyebrow){font-size:.82rem;color:var(--muted);line-height:1.5;margin:0;}.text-import-scroll{flex:1;overflow-y:auto;min-height:0;overscroll-behavior:contain;padding:18px 22px 22px;}.text-import-scroll label,.text-import-preview-fields>label,.text-import-two-col label{display:grid;gap:7px;font-size:.81rem;color:var(--ink);font-weight:650;}.text-import-scroll input,.text-import-scroll textarea{display:block;box-sizing:border-box;width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:var(--field,var(--surface));color:var(--ink);font:inherit;font-size:.92rem;line-height:1.5;resize:vertical;}.text-import-scroll textarea{min-height:90px;}.text-import-scroll input:focus-visible,.text-import-scroll textarea:focus-visible{outline:2px solid var(--teal-2);outline-offset:1px;}.text-import-scroll label small{font-size:.69rem;color:var(--muted);font-weight:500;}.text-import-tip,.text-import-preview-kicker{margin:9px 0 0;font-size:.78rem;line-height:1.5;color:var(--muted);}.text-import-preview-kicker{margin:0 0 10px;}.text-import-overview{padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--teal-2) 8%,var(--surface));color:var(--ink);font-size:.82rem;font-weight:600;}.text-import-warnings{margin-top:10px;border:1px solid color-mix(in srgb,#d29235 50%,var(--line));border-radius:12px;padding:9px 12px;background:color-mix(in srgb,#e9b65f 11%,var(--surface));}.text-import-warnings p{margin:5px 0;color:var(--ink);font-size:.78rem;line-height:1.45;}.text-import-preview-fields{display:grid;gap:14px;padding-top:14px;}.text-import-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.text-import-actions{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding:12px 20px max(12px,env(safe-area-inset-bottom));background:var(--surface);}.text-import-actions button{border-radius:12px;padding:11px 13px;font-size:.79rem;font-weight:650;border:1px solid var(--line);color:var(--ink);background:var(--surface);cursor:pointer;}.text-import-actions button.primary-button{background:var(--teal-2);color:white;border-color:var(--teal-2);}.text-import-actions .text-import-action-spacer{flex:1;}.text-import-actions [hidden],.text-import-scroll [hidden]{display:none !important;}@media(max-width:540px){.text-import-heading{padding:17px 15px 10px;}.text-import-scroll{padding:14px 15px 18px;}.text-import-actions{padding:10px 12px max(10px,env(safe-area-inset-bottom));}.text-import-actions button{padding:10px;font-size:.75rem;}.text-import-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.editor-accordion summary{padding:13px;}.editor-accordion summary small{display:none;}.editor-accordion-content{padding:12px;}.editor-text-import-inline{flex-wrap:wrap;}.editor-text-import-inline button{margin-left:auto;}.recipe-page-actions{gap:6px;}.recipe-page-actions .import-text-button{font-size:.71rem;padding:8px;}}@media(prefers-reduced-motion:reduce){.editor-accordion summary::after{transition:none;}}@media(max-width:430px){#recipes-screen .page-title-row{flex-wrap:wrap;}#recipes-screen .recipe-page-actions{width:100%;justify-content:flex-end;}}.editor-flow-hint{margin:0;color:var(--muted);font-size:.82rem;line-height:1.6;}.editor-section-nav{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:3px 0 7px;scrollbar-width:thin;}.editor-section-nav button{flex:none;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;min-height:38px;padding:8px 13px;font:inherit;font-size:.78rem;font-weight:620;cursor:pointer;}.editor-section-nav button:focus-visible,.editor-validation button:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px;}.editor-accordion{scroll-margin-top:155px;}.editor-validation{position:sticky;top:48px;z-index:26;background:color-mix(in srgb,#d99b43 12%,var(--surface));border:1px solid color-mix(in srgb,#d99b43 47%,var(--line));border-radius:13px;padding:10px 14px;margin-bottom:12px;color:var(--ink);box-shadow:0 5px 18px rgba(0,0,0,.08);}.editor-validation[hidden]{display:none !important;}.editor-validation strong{display:block;font-size:.82rem;line-height:1.5;}.editor-validation-list{display:flex;gap:5px 12px;flex-wrap:wrap;padding-top:4px;}.editor-validation-list button{padding:3px 0;color:var(--teal-2);background:none;border:0;text-align:left;font-size:.78rem;text-decoration:underline;text-underline-offset:2px;cursor:pointer;}@media(max-width:540px){.editor-flow-hint{font-size:.76rem;}.editor-section-nav button{min-height:36px;padding:7px 10px;}.editor-validation{top:45px;}}.detail-overview{outline:none;}.detail-anchor{scroll-margin-top:116px;outline:none;}.detail-overview:focus-visible,.detail-anchor:focus-visible{outline:2px solid var(--teal-2);outline-offset:4px;border-radius:12px;}.detail-jump-nav{position:sticky;z-index:25;top:63px;margin:2px -12px 22px;padding:8px 6px;border:1px solid rgba(40,69,63,.11);border-radius:17px;background:rgba(251,252,249,.96);box-shadow:0 6px 22px rgba(23,43,39,.09);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}.detail-jump-track{display:flex;align-items:center;gap:5px;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;}.detail-jump-track::-webkit-scrollbar{display:none;}.detail-jump{min-height:39px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid transparent;border-radius:11px;background:transparent;color:#526660;font-size:.77rem;line-height:1.2;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease;}.detail-jump:hover{background:#e9f1ec;}.detail-jump.is-active{border-color:rgba(21,82,71,.18);background:#e3f0e9;color:#175248;box-shadow:0 1px 5px rgba(23,71,61,.06);}.detail-jump small{min-width:18px;height:18px;padding:0 4px;border-radius:6px;display:grid;place-items:center;background:rgba(40,89,77,.09);color:inherit;font-size:.65rem;font-variant-numeric:tabular-nums;}.detail-jump:focus-visible{outline:2px solid var(--teal-2);outline-offset:-2px;}.ingredient-console .ingredient-name strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.4;}.ingredient-console .ingredient-row{align-items:center;}.detail-steps-section{margin-top:28px;}.detail-steps-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;}.detail-section-overline{margin:0 0 2px;color:#71817a;font-size:.67rem;letter-spacing:.08em;font-weight:780;text-transform:uppercase;}.detail-steps-section .detail-steps-heading h3{margin:0;font-size:1.2rem;letter-spacing:-.025em;}.detail-steps-status{flex:0 0 auto;color:#35645a;font-size:.73rem;font-weight:750;font-variant-numeric:tabular-nums;}.detail-steps-progress{display:block;width:100%;height:7px;margin:12px 0 0;overflow:hidden;border:0;border-radius:999px;background:#e5ece7;color:#358f7b;accent-color:#358f7b;}.detail-steps-progress::-webkit-progress-bar{border-radius:999px;background:#e5ece7;}.detail-steps-progress::-webkit-progress-value{border-radius:999px;background:#358f7b;transition:width .2s ease;}.detail-steps-progress::-moz-progress-bar{border-radius:999px;background:#358f7b;}.detail-steps-hint{margin:9px 0 15px;font-size:.74rem;color:#78857e;}.detail-steps-section .step-list{gap:21px;}.detail-steps-section .step-list li{line-height:1.65;}.detail-steps-section .step-done-button{line-height:1.65;}.detail-steps-section .step-copy{font-size:.95rem;overflow-wrap:break-word;}.detail-steps-section .step-list li.is-done .step-copy{color:#6f847a;text-decoration:none;}.detail-steps-section .step-list li.is-done .step-done-button::before{background:#357968;color:#fff;}.detail-section .recipe-note{overflow-wrap:anywhere;line-height:1.65;}html[data-theme="dark"] .detail-jump-nav{background:rgba(23,35,31,.97);border-color:#354941;box-shadow:0 7px 24px rgba(0,0,0,.28);}html[data-theme="dark"] .detail-jump{color:#bccfc7;}html[data-theme="dark"] .detail-jump:hover{background:#273b34;}html[data-theme="dark"] .detail-jump.is-active{background:#294a3e;border-color:#467667;color:#b6f3da;box-shadow:none;}html[data-theme="dark"] .detail-jump small{background:rgba(143,211,185,.13);}html[data-theme="dark"] .detail-section-overline,html[data-theme="dark"] .detail-steps-hint{color:#a1afa8;}html[data-theme="dark"] .detail-steps-status{color:#9be4cc;}html[data-theme="dark"] .detail-steps-progress,html[data-theme="dark"] .detail-steps-progress::-webkit-progress-bar{background:#2c3b35;}html[data-theme="dark"] .detail-steps-section .step-list li.is-done .step-copy{color:#a0b4a9;}@media (max-width:430px){.detail-jump-nav{margin-inline:-13px;padding:6px 5px;top:62px;border-radius:14px;}.detail-jump{min-height:41px;padding:0 9px;font-size:.74rem;}.detail-steps-section .step-copy{font-size:.94rem;}.detail-steps-status{font-size:.67rem;}}@media (prefers-reduced-motion:reduce){.detail-jump,.detail-steps-progress::-webkit-progress-value{transition:none;}}#recipe-dialog.sheet-dialog{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;overflow-y:auto;overscroll-behavior-y:contain;background:var(--surface);}#recipe-dialog .sheet-handle{display:none;}#recipe-dialog .detail-body{max-width:760px;margin-inline:auto;}#recipe-dialog .detail-floating-actions{margin-inline:12px;}#recipe-dialog .detail-jump-nav{display:block;width:max-content;max-width:min(82vw,250px);top:calc(54px + env(safe-area-inset-top));margin:0 0 16px;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;backdrop-filter:none;}#recipe-dialog .detail-nav-toggle{display:flex;gap:6px;align-items:center;min-height:34px;border-radius:10px;border:1px solid var(--line);background:var(--surface);box-shadow:0 2px 8px rgba(20,40,32,.05);color:var(--ink);font:inherit;font-size:.76rem;padding:6px 10px;cursor:pointer;}#recipe-dialog .detail-nav-toggle-caption{color:var(--muted);font-size:.69rem;font-weight:400;}#recipe-dialog .detail-nav-chevron{margin-left:4px;color:var(--muted);}#recipe-dialog .detail-nav-toggle[aria-expanded="true"] .detail-nav-chevron{transform:rotate(180deg);}#recipe-dialog .detail-jump-track{position:absolute;top:calc(100% + 5px);left:0;min-width:184px;width:max-content;max-width:min(85vw,260px);max-height:min(55dvh,310px);overflow-y:auto;display:grid;gap:1px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 30px rgba(18,30,25,.18);}#recipe-dialog .detail-jump-track[hidden]{display:none !important;}#recipe-dialog .detail-jump{min-height:39px;justify-content:space-between;font-size:.78rem;font-weight:580;}#recipe-dialog .detail-jump.is-active{box-shadow:none;}#recipe-dialog .detail-nav-toggle:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px;}html[data-theme="dark"] #recipe-dialog .detail-jump-nav{border:0;background:transparent;box-shadow:none;}html[data-theme="dark"] #recipe-dialog .detail-nav-toggle,html[data-theme="dark"] #recipe-dialog .detail-jump-track{background:var(--surface);border-color:var(--line);color:var(--ink);}#recipe-dialog .detail-steps-section .step-main-layout{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:11px;align-items:start;}#recipe-dialog .detail-steps-section .step-done-button{display:grid;width:32px;height:34px;padding:0;min-height:34px;grid-template-columns:1fr;}#recipe-dialog .detail-steps-section .step-done-button::before{width:32px;height:32px;}#recipe-dialog .detail-steps-section .step-copy{min-width:0;}#recipe-dialog .substep-item{grid-template-columns:28px minmax(0,1fr);gap:7px;align-items:start;margin-top:4px;}#recipe-dialog .substep-check{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:transparent;font-size:.85rem;cursor:pointer;transition:color .14s,background .14s,border-color .14s;}#recipe-dialog .substep-item.is-done .substep-check{background:var(--teal-2);border-color:var(--teal-2);color:#fff;}#recipe-dialog .substep-item.is-done .substep-text{opacity:.7;}#recipe-dialog .substep-check:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px;}#recipe-dialog .recipe-main-step.is-done .substep-text{opacity:1;}#recipe-dialog .recipe-main-step.is-done .substep-item.is-done .substep-text{opacity:.68;}#recipe-dialog .substep-text{overflow-wrap:anywhere;}#recipe-dialog .detail-steps-section .step-rich-marker{display:inline;margin-right:4px;}@media (max-width:430px){#recipe-dialog .detail-body{padding-inline:16px;}#recipe-dialog .detail-jump-nav{max-width:80vw;}}@media(prefers-reduced-motion:reduce){#recipe-dialog .substep-check{transition:none;}}#cook-dialog .step-rich-list{gap:.58em;margin-block:.85em;}#cook-dialog .substep-item{display:grid;grid-template-columns:35px minmax(0,1fr);gap:10px;align-items:start;}#cook-dialog .substep-check{width:34px;height:34px;border:2px solid rgba(28,83,72,.24);border-radius:11px;background:#fff;color:transparent;font-size:.94rem;font-weight:700;display:grid;place-items:center;cursor:pointer;}#cook-dialog .substep-item.is-done .substep-check{background:#2f7968;border-color:#2f7968;color:#fff;}#cook-dialog .substep-item.is-done .substep-text{opacity:.62;}#cook-dialog .substep-check:focus-visible{outline:3px solid #2f7968;outline-offset:2px;}#cook-dialog .substep-text{overflow-wrap:anywhere;}#cook-dialog .step-rich-marker{display:inline;margin-right:4px;}html[data-theme="dark"] #cook-dialog .substep-check{background:#23362f;border-color:#526c5d;}html[data-theme="dark"] #cook-dialog .substep-item.is-done .substep-check{background:#317962;border-color:#317962;}#recipe-dialog .detail-steps-heading{flex-wrap:wrap;}#recipe-dialog .detail-steps-status{white-space:normal;text-align:right;line-height:1.4;}#recipe-dialog .detail-floating-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;height:0;margin:0 11px;top:max(8px,env(safe-area-inset-top));transform:translateY(11px);z-index:45;}#recipe-dialog .detail-navigation-slot{display:flex;align-items:center;flex:1 1 0;min-width:0;pointer-events:auto;}#recipe-dialog .detail-jump-nav{position:static;display:block;flex:1 1 auto;width:100%;max-width:100%;min-width:0;margin:0;padding:2px;border:1px solid color-mix(in srgb,var(--line) 87%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface) 93%,transparent);box-shadow:0 3px 14px rgba(0,0,0,.13);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);}#recipe-dialog .detail-jump-track{position:static;display:flex;align-items:center;gap:2px;width:100%;min-width:0;max-width:none;max-height:none;overflow-x:auto;overflow-y:hidden;padding:0;border:0;border-radius:8px;box-shadow:none;background:transparent;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;}#recipe-dialog .detail-jump-track::-webkit-scrollbar{display:none;}#recipe-dialog .detail-jump{flex:0 0 auto;min-height:32px;padding:0 8px;border-radius:7px;font-size:.69rem;line-height:1;font-weight:650;letter-spacing:-.01em;white-space:nowrap;}#recipe-dialog .detail-jump small{display:none;}#recipe-dialog .detail-jump.is-active{box-shadow:none;}#recipe-dialog .detail-floating-actions>.floating-close{flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:50%;}html[data-theme="dark"] #recipe-dialog .detail-jump-nav{background:color-mix(in srgb,var(--surface) 95%,transparent);border:1px solid var(--line);box-shadow:0 3px 14px rgba(0,0,0,.25);}html[data-theme="dark"] #recipe-dialog .detail-jump-track{background:transparent;border:0;}@media (max-width:390px){#recipe-dialog .detail-floating-actions{margin:0 8px;gap:4px;}#recipe-dialog .detail-floating-actions>.floating-close{flex-basis:34px;width:34px;height:34px;min-width:34px;min-height:34px;}#recipe-dialog .detail-jump{padding-inline:7px;font-size:.67rem;}}#recipe-dialog .substep-item{display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;align-items:start;margin-top:6px;}#recipe-dialog .substep-check,#cook-dialog .substep-check{display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:var(--sun-soft);color:#4d3403;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;transition:background .15s ease,color .15s ease;}#recipe-dialog .substep-check{width:32px;height:32px;font-size:.76rem;}#cook-dialog .substep-check{width:34px;height:34px;font-size:.85rem;}#recipe-dialog .substep-number,#cook-dialog .substep-number{display:block;}#recipe-dialog .substep-done-icon,#cook-dialog .substep-done-icon{display:none;font-size:.95rem;}#recipe-dialog .substep-item.is-done .substep-number,#cook-dialog .substep-item.is-done .substep-number{display:none;}#recipe-dialog .substep-item.is-done .substep-done-icon,#cook-dialog .substep-item.is-done .substep-done-icon{display:block;}#recipe-dialog .substep-item.is-done .substep-check,#cook-dialog .substep-item.is-done .substep-check{background:var(--teal-2);color:#fff;}#recipe-dialog .substep-text,#cook-dialog .substep-text{min-width:0;padding-top:3px;}html[data-theme="dark"] #recipe-dialog .substep-check,html[data-theme="dark"] #cook-dialog .substep-check{background:#4a391b;color:#ffcf79;}html[data-theme="dark"] #recipe-dialog .substep-item.is-done .substep-check,html[data-theme="dark"] #cook-dialog .substep-item.is-done .substep-check{background:#317962;color:#fff;}@media (prefers-reduced-motion:reduce){#recipe-dialog .substep-check,#cook-dialog .substep-check{transition:none;}}#recipe-dialog .detail-navigation-slot{overflow:hidden;pointer-events:none;}#recipe-dialog .detail-jump-nav{width:max-content;max-width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease;pointer-events:none;}#recipe-dialog .detail-navigation-slot.is-scrolled .detail-jump-nav{opacity:1;visibility:visible;transform:none;}#recipe-dialog .detail-jump-track{width:max-content;max-width:100%;gap:3px;background:transparent;border:0;box-shadow:none;pointer-events:none;}#recipe-dialog .detail-jump{min-height:31px;padding-inline:7px;border:1px solid color-mix(in srgb,var(--line) 62%,transparent);border-radius:8px;background:color-mix(in srgb,var(--surface) 71%,transparent);color:var(--ink);box-shadow:0 1px 3px rgba(10,30,26,.06);font-size:.68rem;pointer-events:auto;}#recipe-dialog .detail-jump:hover{background:color-mix(in srgb,var(--surface) 92%,transparent);}#recipe-dialog .detail-jump.is-active{border-color:color-mix(in srgb,var(--teal-2) 30%,transparent);background:color-mix(in srgb,var(--surface) 85%,transparent);color:var(--teal-2);box-shadow:0 1px 4px rgba(10,30,26,.09);}html[data-theme="dark"] #recipe-dialog .detail-jump-nav,html[data-theme="dark"] #recipe-dialog .detail-jump-track{background:transparent;border:0;box-shadow:none;}html[data-theme="dark"] #recipe-dialog .detail-jump{background:rgba(31,44,39,.77);border-color:rgba(163,194,178,.24);color:#e1eae4;}html[data-theme="dark"] #recipe-dialog .detail-jump.is-active{background:rgba(47,85,69,.9);border-color:rgba(133,202,172,.45);color:#d5f8e6;}@media (max-width:390px){#recipe-dialog .detail-jump{min-height:30px;padding-inline:6px;font-size:.65rem;}}#recipe-dialog .substep-item{grid-template-columns:26px minmax(0,1fr);gap:9px;margin-top:6px;}#recipe-dialog .substep-check,#cook-dialog .substep-check{width:26px;height:26px;border-radius:8px;background:#e5eaf4;color:#415b87;font-size:.7rem;font-weight:720;}#cook-dialog .substep-item{grid-template-columns:26px minmax(0,1fr);gap:9px;}#recipe-dialog .substep-item.is-done .substep-check,#cook-dialog .substep-item.is-done .substep-check{background:#5a719e;color:#fff;}#recipe-dialog .substep-text,#cook-dialog .substep-text{padding-top:0;}html[data-theme="dark"] #recipe-dialog .substep-check,html[data-theme="dark"] #cook-dialog .substep-check{background:#303d57;color:#d3e0ff;}html[data-theme="dark"] #recipe-dialog .substep-item.is-done .substep-check,html[data-theme="dark"] #cook-dialog .substep-item.is-done .substep-check{background:#617cad;color:#fff;}@media (prefers-reduced-motion:reduce){#recipe-dialog .detail-jump-nav{transition:none;}}#recipe-dialog .substep-check,#cook-dialog .substep-check{position:relative;}#recipe-dialog .substep-check::after,#cook-dialog .substep-check::after{content:"";position:absolute;inset:-6px;}.ingredient-editor-heading{align-items:flex-start;flex-wrap:wrap;}.ingredient-editor-heading>div:first-child{flex:1 1 190px;min-width:0;}.ingredient-editor-heading>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;}.structured-ingredients-panel{padding:8px;gap:7px;background:var(--surface,#fff);}.structured-ingredient-row{grid-template-columns:minmax(0,1.65fr) minmax(72px,.65fr) minmax(80px,.75fr) auto;gap:6px;align-items:center;padding:8px;border-radius:12px;}.structured-ingredient-row label>span{font-size:.64rem;line-height:1.2;}.structured-ingredient-row input{min-height:39px;padding:8px 9px;font-size:.82rem;}.structured-ingredient-row.is-group{grid-template-columns:minmax(0,1fr) auto;background:color-mix(in srgb,var(--teal-2) 8%,var(--surface));border-style:dashed;}.structured-ingredient-row.is-group input{background:transparent;font-weight:720;}.ingredient-row-controls{display:flex;align-items:center;gap:2px;justify-content:flex-end;}.ingredient-row-controls button{width:27px;height:34px;min-height:34px;padding:0;display:grid;place-items:center;border:0;border-radius:8px;color:var(--ink);background:transparent;font-size:.85rem;cursor:pointer;}.ingredient-row-controls button:focus-visible{outline:2px solid var(--teal-2);outline-offset:1px;}.ingredient-row-controls .structured-remove{color:#a34f48;background:color-mix(in srgb,#b75555 9%,var(--surface));font-size:1rem;}.ingredient-row-controls button:not(.structured-remove):hover{background:color-mix(in srgb,var(--teal-2) 9%,var(--surface));}.structured-ingredient-row .ingredient-note-field{grid-column:1/-1;display:none;}.structured-ingredient-row.has-note .ingredient-note-field{display:grid;}.structured-ingredient-row:focus-within .ingredient-note-field{display:grid;}.ingredient-bulk-review{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px;}.ingredient-bulk-review[hidden]{display:none;}.ingredient-bulk-review-head{display:grid;gap:4px;}.ingredient-bulk-review-head strong{font-size:.87rem;color:var(--ink);}.ingredient-bulk-review-head small{font-size:.75rem;color:var(--muted);}.ingredient-bulk-review .structured-ingredient-row.is-review{border-color:#cc9244;background:color-mix(in srgb,#f4c98b 12%,var(--surface));}.ingredient-review-warning{grid-column:1/-1;color:#9b5a22;margin:1px 0 0;font-size:.7rem;line-height:1.4;overflow-wrap:anywhere;}.ingredient-bulk-review-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.ingredient-bulk-review-actions button,.ingredient-bulk-analyze{min-height:36px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-weight:670;font-size:.75rem;cursor:pointer;}.ingredient-bulk-review-actions .ingredient-bulk-primary{background:var(--teal-2);color:white;border-color:var(--teal-2);}.ingredient-bulk-review-actions button:disabled{opacity:.45;cursor:not-allowed;}.ingredient-bulk-label{font-size:.74rem;color:var(--ink);font-weight:650;}html[data-theme="dark"] .structured-ingredient-row.is-group{background:color-mix(in srgb,var(--teal-2) 16%,#17211f);}html[data-theme="dark"] .structured-ingredient-row.is-review{background:#302a1d;border-color:#8a632f;}html[data-theme="dark"] .ingredient-review-warning{color:#edb46e;}@media (max-width:750px){.structured-ingredient-row{grid-template-columns:minmax(0,1fr) minmax(78px,.4fr) minmax(84px,.42fr);gap:6px;padding:8px;}.structured-ingredient-row .structured-name{grid-column:1/-1;grid-row:1;}.structured-ingredient-row .structured-amount{grid-column:1;grid-row:2;}.structured-ingredient-row .structured-unit{grid-column:2;grid-row:2;}.structured-ingredient-row .ingredient-row-controls{grid-column:3;grid-row:2;}.structured-ingredient-row .ingredient-note-field{grid-row:3;}.structured-ingredient-row.is-group{grid-template-columns:minmax(0,1fr) auto;}.structured-ingredient-row.is-group .structured-name{grid-column:1;grid-row:1;}.structured-ingredient-row.is-group .ingredient-row-controls{grid-column:2;grid-row:1;}.ingredient-row-controls button{width:27px;min-width:27px;}}@media (max-width:360px){.ingredient-row-controls button{width:24px;min-width:24px;}.structured-ingredient-row{grid-template-columns:minmax(65px,1fr) minmax(72px,.58fr) auto;gap:4px;padding:6px;}.ingredient-row-controls{gap:0;}}@media (prefers-reduced-motion:reduce){.ingredient-bulk-review{scroll-behavior:auto;}}.ingredient-row-controls .ingredient-row-drag{cursor:grab;font-size:1.05rem;touch-action:none;}.structured-ingredient-row.is-dragging{opacity:.55;outline:2px dashed var(--teal-2);}@media(max-width:750px){.ingredient-row-controls .ingredient-row-drag{display:none;}}.ingredient-editor-heading{align-items:center;gap:10px}.ingredient-editor-heading .ingredient-editor-safe{font-size:.69rem;color:var(--teal-2);font-weight:650;white-space:nowrap}.ingredient-quick-add{display:grid;gap:11px;padding:16px;border-radius:20px;background:linear-gradient(160deg,color-mix(in srgb,var(--teal-2) 7%,var(--surface)) 0%,var(--surface) 64%);border:1px solid color-mix(in srgb,var(--teal-2) 26%,var(--line));box-shadow:0 9px 25px rgba(16,48,37,.055)}.ingredient-quick-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.ingredient-quick-top>div{display:grid;gap:3px;min-width:0}.ingredient-quick-top strong{color:var(--ink);font-weight:750;font-size:1rem;letter-spacing:-.02em}.ingredient-quick-top small{color:var(--muted);font-size:.73rem;line-height:1.4}.ingredient-quick-symbol{display:grid;place-items:center;flex:none;width:35px;height:35px;background:color-mix(in srgb,var(--teal-2) 12%,var(--surface));border-radius:12px;color:var(--teal-2);font-size:1.4rem;font-weight:400}.ingredient-quick-add label{display:grid;gap:5px;font-size:.72rem;font-weight:680;color:var(--ink);min-width:0}.ingredient-quick-add input{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-weight:500;padding:10px 12px;font-size:.94rem;box-shadow:none;}.ingredient-quick-add input:focus-visible{outline:2px solid var(--teal-2);outline-offset:1px}.ingredient-quick-add input[aria-invalid="true"]{border-color:#b85442;outline:2px solid #b85442}.ingredient-quick-add .ingredient-quick-name-label input{font-size:1rem;font-weight:620;min-height:49px}.ingredient-quick-detail-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.ingredient-quick-units{display:flex;flex-wrap:wrap;gap:6px}.ingredient-quick-units button{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:5px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:.75rem;font-weight:630;cursor:pointer}.ingredient-quick-units button[aria-pressed="true"]{background:var(--teal-2);color:#fff;border-color:var(--teal-2)}.ingredient-quick-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between}.ingredient-quick-bottom button{min-height:43px;padding:9px 14px;border-radius:12px;font-size:.85rem;font-weight:720;cursor:pointer}.ingredient-quick-group{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.ingredient-quick-submit{border:1px solid var(--teal-2);background:var(--teal-2);color:#fff;flex:1;max-width:220px}.ingredient-quick-submit span{margin-left:5px}.ingredient-quick-hint{font-size:.71rem;line-height:1.45;color:var(--muted);margin:0}.ingredient-quick-add.is-group-mode{border-style:dashed;border-color:color-mix(in srgb,var(--teal-2) 50%,var(--line))}.ingredient-quick-add.is-group-mode .ingredient-quick-detail-fields,.ingredient-quick-add.is-group-mode .ingredient-quick-units{display:none}.ingredient-quick-add.is-group-mode .ingredient-quick-symbol{background:color-mix(in srgb,var(--teal-2) 20%,var(--surface))}.structured-ingredients-panel{display:grid;gap:9px;min-width:0}.ingredient-list-caption{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:4px 3px 0}.ingredient-list-caption strong{font-size:.92rem;color:var(--ink);font-weight:735}.ingredient-list-caption span{font-size:.72rem;color:var(--muted)}.structured-ingredients-list{display:grid;gap:7px;counter-reset:ingredient-entry-number}.structured-ingredient-row.ingredient-card{display:block!important;padding:0!important;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 2px 8px rgba(0,0,0,.022)}.ingredient-card.is-item{counter-increment:ingredient-entry-number}.ingredient-card-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:57px;border:0;background:transparent;color:var(--ink);text-align:left;padding:9px 12px;cursor:pointer}.ingredient-card-mark{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:10px;background:color-mix(in srgb,var(--teal-2) 9%,var(--surface));color:var(--teal-2);font-size:.72rem;font-weight:750}.ingredient-card.is-item .ingredient-card-mark::before{content:counter(ingredient-entry-number,decimal-leading-zero)}.ingredient-card.is-group .ingredient-card-mark::before{content:"▦";font-size:1rem}.ingredient-card-main{display:grid;gap:3px;min-width:0;flex:1}.ingredient-card-label{font-weight:670;font-size:.88rem;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}.ingredient-card-note{font-size:.69rem;color:var(--muted);line-height:1.35;overflow-wrap:anywhere}.ingredient-card-note[hidden],.ingredient-card-qty[hidden]{display:none!important}.ingredient-card-qty{flex:none;max-width:45%;min-width:0;border-radius:9px;background:color-mix(in srgb,var(--teal-2) 9%,var(--surface));color:var(--teal-2);padding:5px 8px;font-weight:700;font-size:.78rem;line-height:1.35;overflow-wrap:anywhere;text-align:right}.ingredient-card-chevron{color:var(--muted);font-size:1.1rem;transition:transform .18s ease}.ingredient-card.is-expanded .ingredient-card-chevron{transform:rotate(180deg)}.ingredient-card-fields{display:none;grid-template-columns:minmax(0,1fr);gap:11px;border-top:1px solid var(--line);padding:12px;background:color-mix(in srgb,var(--teal-2) 3%,var(--surface))}.ingredient-card.is-expanded .ingredient-card-fields{display:grid}.ingredient-card-fields>label,.ingredient-card-fields .ingredient-card-detail-row>label{display:grid;gap:5px;min-width:0}.ingredient-card-fields label>span{font-size:.68rem;color:var(--muted);font-weight:650}.ingredient-card-fields input{min-width:0;width:100%;min-height:43px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--surface);color:var(--ink);font:inherit;font-size:.88rem}.ingredient-card-fields input:focus-visible{outline:2px solid var(--teal-2);outline-offset:1px}.ingredient-card-detail-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.ingredient-card-fields .ingredient-note-field{display:grid!important;grid-column:auto!important}.ingredient-card-fields .ingredient-row-controls{display:flex;grid-column:auto;flex-wrap:wrap;justify-content:flex-end;gap:5px;padding-top:2px}.ingredient-card-tools-label{margin-right:auto;color:var(--muted);align-self:center;font-size:.7rem}.ingredient-card-fields .ingredient-row-controls button{width:36px;min-width:36px;height:35px;min-height:35px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--ink)}.ingredient-card-fields .ingredient-row-controls .structured-remove{color:#b0534a;border-color:color-mix(in srgb,#b0534a 26%,var(--line))}.ingredient-card.is-group{border-color:color-mix(in srgb,var(--teal-2) 25%,var(--line));border-style:dashed;background:color-mix(in srgb,var(--teal-2) 7%,var(--surface))}.ingredient-card.is-group .ingredient-card-label{color:var(--teal-2);font-size:.85rem;font-weight:790}.ingredient-card.is-group .ingredient-card-qty{display:none}.ingredient-bulk-review .ingredient-card.is-review{border-color:#c58a41;background:color-mix(in srgb,#f4c98b 9%,var(--surface))}.ingredient-bulk-review .ingredient-review-warning{padding:0 12px 12px;margin:0}.structured-ingredients-empty{padding:14px;background:color-mix(in srgb,var(--teal-2) 4%,var(--surface));border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.8rem;line-height:1.5}html[data-theme="dark"] .ingredient-quick-add{background:linear-gradient(160deg,#1e302b,#17211f 68%);box-shadow:none}html[data-theme="dark"] .ingredient-card-fields{background:#1b2824}html[data-theme="dark"] .ingredient-card.is-group{background:#20342d}html[data-theme="dark"] .ingredient-card-toggle{color:#eef5ef}@media (max-width:500px){.ingredient-editor-heading .ingredient-editor-safe{display:none}.ingredient-quick-add{padding:12px;border-radius:16px;gap:10px}.ingredient-quick-units{gap:5px}.ingredient-quick-units button{min-height:34px;padding:5px 10px}.ingredient-quick-bottom button{min-height:45px}.ingredient-card-toggle{padding:9px 10px;gap:8px}.ingredient-card-mark{width:27px;height:27px;border-radius:9px}.ingredient-card-label{font-size:.85rem}.ingredient-card-qty{font-size:.72rem;max-width:43%}.ingredient-card-fields{padding:11px}}@media (max-width:360px){.ingredient-quick-detail-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ingredient-card-tools-label{display:none}}@media (prefers-reduced-motion:reduce){.ingredient-card-chevron{transition:none}}#recipes-screen .library-search-row{position:relative;display:flex;align-items:stretch;gap:8px;margin-bottom:12px;}#recipes-screen .library-search-row .search-box{flex:1;min-width:0;margin:0;padding-right:36px;}#recipes-screen .library-search-row input{min-width:0;width:100%;}#recipes-screen .library-search-row input::-webkit-search-cancel-button{-webkit-appearance:none;}.library-search-clear{position:absolute;right:calc(104px + 8px + 4px);top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;color:var(--muted);border-radius:10px;}.library-search-clear svg{width:17px;height:17px;}#recipes-screen .library-search-row .advanced-filter-button{flex:0 0 104px;position:relative;justify-content:center;gap:5px;border-radius:15px;min-height:44px;padding:0 7px;font-weight:650;}#recipes-screen .advanced-filter-button .library-filter-label{background:none;color:inherit;min-width:0;height:auto;padding:0;font-size:.78rem;}#recipes-screen .advanced-filter-button svg{width:16px;height:16px;flex-shrink:0;}#recipes-screen #advanced-filter-count{position:absolute;right:3px;top:2px;height:15px;min-width:15px;font-size:.6rem;padding:0 3px;}#recipes-screen #advanced-filter-clear{display:none;}#recipes-screen .filter-row{margin:0 0 10px;gap:6px;padding-block:2px 4px;}#recipes-screen .filter-chip{min-height:34px;padding:7px 12px;font-size:.78rem;font-weight:600;}.library-toolbar{display:flex;align-items:center;gap:8px;margin:0 0 13px;min-width:0;}.library-results{flex:1;min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:2px;font-size:.76rem;color:var(--muted);font-weight:600;}#recipe-reset-all{border:0;background:none;color:var(--teal-2);padding:0;text-align:left;font-size:.72rem;text-decoration:underline;text-underline-offset:2px;}.library-sort{flex:0 1 124px;min-width:0;}.library-sort select{width:100%;height:38px;border:1px solid var(--line);border-radius:11px;padding:0 5px 0 9px;background:var(--surface);color:var(--ink);font-size:.78rem;}.library-view-toggle{display:flex;padding:3px;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex:0 0 auto;}.library-view-toggle button{display:grid;place-items:center;width:34px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);}.library-view-toggle button.is-active{background:var(--teal);color:#fff;}.library-view-toggle svg{width:18px;height:18px;}#recipes-screen .recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;}#recipes-screen .recipe-card{min-width:0;display:flex;flex-direction:column;text-align:left;height:auto;border-radius:19px;background:var(--surface);overflow:hidden;box-shadow:0 3px 12px rgba(18,41,38,.05);}#recipes-screen .recipe-card-visual{width:100%;flex-shrink:0;aspect-ratio:1.22;min-height:0;height:auto;border-radius:0;}#recipes-screen .recipe-card-body{width:100%;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:9px;padding:12px 11px;}#recipes-screen .recipe-card-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1rem,3.5vw,1.19rem);font-weight:500;letter-spacing:-.021em;line-height:1.24;min-height:0;max-height:none;overflow:visible;display:block;white-space:normal;overflow-wrap:anywhere;hyphens:auto;text-wrap:pretty;color:var(--ink);-webkit-line-clamp:unset;}#recipes-screen .recipe-card-title::after{width:20px;margin-top:6px;opacity:.85;}#recipes-screen .recipe-card-footer{display:flex;gap:5px 9px;flex-wrap:wrap;min-width:0;align-items:center;margin:0;padding:0;}#recipes-screen .recipe-card-stat{font-size:.73rem;white-space:normal;min-width:0;}.recipe-list-kicker,.recipe-list-time,.recipe-list-chevron{display:none!important;}#recipes-screen .recipe-grid.is-list-view{grid-template-columns:minmax(0,1fr);gap:8px;}#recipes-screen .is-list-view .recipe-card{display:grid;grid-template-columns:76px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:8px;border-radius:15px;}#recipes-screen .is-list-view .recipe-card-visual{width:76px;height:76px;aspect-ratio:1;border-radius:10px;}#recipes-screen .is-list-view .recipe-card-letter{font-size:2.1rem;}#recipes-screen .is-list-view .recipe-card-category,#recipes-screen .is-list-view .recipe-card-no-photo-label,#recipes-screen .is-list-view .demo-recipe-badge,#recipes-screen .is-list-view .recipe-card-favorite{display:none;}#recipes-screen .is-list-view .recipe-card-body{padding:0;gap:5px;}#recipes-screen .is-list-view .recipe-card-title{font-size:1.08rem;line-height:1.22;}#recipes-screen .is-list-view .recipe-card-title::after{display:none;}#recipes-screen .is-list-view .recipe-list-kicker{display:block!important;color:var(--muted);font-size:.68rem;line-height:1.3;overflow-wrap:anywhere;}#recipes-screen .is-list-view .recipe-list-time{display:inline-flex!important;}#recipes-screen .is-list-view .recipe-list-chevron{display:grid!important;place-items:center;color:var(--muted);}#recipes-screen .is-list-view .recipe-list-chevron svg{width:15px;height:15px;}html[data-theme="dark"] .library-view-toggle button.is-active{background:#427a70;color:#fff;}html[data-theme="dark"] #recipe-reset-all{color:#a5dace;}html[data-theme="dark"] #recipes-screen .recipe-card{background:var(--surface);}@media (min-width:760px){#recipes-screen .recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}#recipes-screen .recipe-grid.is-list-view{grid-template-columns:repeat(2,minmax(0,1fr));}}@media (max-width:360px){#recipes-screen .library-search-row .advanced-filter-button{flex-basis:42px;}#recipes-screen .advanced-filter-button .library-filter-label{display:none;}.library-search-clear{right:54px;}.library-toolbar{gap:5px;}.library-sort{flex-basis:100px;}.library-view-toggle button{width:31px;}#recipes-screen .recipe-card-body{padding:10px 8px;}#recipes-screen .is-list-view .recipe-card{grid-template-columns:65px minmax(0,1fr) 15px;gap:8px;}#recipes-screen .is-list-view .recipe-card-visual{width:65px;height:65px;}}@media (prefers-reduced-motion:reduce){#recipes-screen .recipe-card{transition:none;}#recipes-screen .recipe-card:hover{transform:none;}}#recipes-screen .recipe-card-body{min-height:0;background:transparent;}#recipes-screen .recipe-card-stat b{color:var(--ink);font-weight:550;}#recipes-screen .is-list-view .recipe-card-stat{border:0;background:transparent;padding:0;min-height:0;}#recipes-screen .is-list-view .recipe-card-views{display:none;}#recipes-screen .is-list-view .recipe-card-visual::before,#recipes-screen .is-list-view .recipe-card-visual::after{display:none;}html[data-theme="dark"] #recipes-screen .recipe-card-stat{background:var(--surface-muted);border-color:var(--line);}html[data-theme="dark"] #recipes-screen .is-list-view .recipe-card-stat{background:transparent;}html[data-theme="dark"] #recipes-screen .recipe-card-stat svg{color:#aab7b2;}#shopping-screen .progress-card{margin:14px 0 12px;padding:12px 14px;background:var(--surface);color:var(--ink)}#shopping-screen .shopping-view-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 14px}.shopping-group-option{display:flex;align-items:center;gap:8px;font-size:.83rem;color:var(--ink);min-height:44px;cursor:pointer}.shopping-group-option input{width:18px;height:18px;accent-color:var(--teal-2);margin:0}.shopping-clear-purchased,.shopping-undo button{min-height:44px;border:0;background:transparent;color:var(--danger);font-size:.78rem;font-weight:600;display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:10px}.shopping-clear-purchased svg{width:15px;height:15px}.shopping-undo{display:flex;align-items:center;justify-content:space-between;padding:2px 12px;margin:0 0 14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:.85rem}.shopping-undo button{color:var(--teal-2)}#shopping-list{gap:20px}.shopping-department{min-width:0}.shopping-department h2{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.86rem;font-weight:650;color:var(--ink);margin:0 0 8px;padding:0 4px;line-height:1.35}.shopping-department h2 small{font-size:.74rem;color:var(--muted);font-weight:500;flex-shrink:0}.shopping-department-items{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}#shopping-list .shopping-item{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:0;min-height:58px;background:var(--surface);border:0;border-radius:0;padding:0 4px;color:var(--ink);align-items:center}#shopping-list .shopping-item+.shopping-item{border-top:1px solid var(--line)}.shopping-toggle{display:flex;align-items:center;gap:12px;text-align:left;color:inherit;background:transparent;border:0;min-width:0;padding:12px 8px;min-height:56px;width:100%;border-radius:8px}#shopping-list .shopping-check{width:25px;height:25px;flex:0 0 25px;border-radius:8px;pointer-events:none}#shopping-list .shopping-name{font-size:.93rem;font-weight:500;display:block;min-width:0;overflow-wrap:anywhere;line-height:1.4}#shopping-list .shopping-demo-badge{display:inline-block;margin-left:6px}#shopping-list .shopping-item.is-checked .shopping-name{color:var(--muted);text-decoration:line-through}#shopping-list .shopping-item.is-checked .shopping-check{background:var(--teal-2);color:var(--surface)}.shopping-department-control{position:relative;display:grid;place-items:center;color:var(--muted);width:44px;height:44px;border-radius:10px;cursor:pointer}.shopping-department-control>span{font-size:1.3rem;line-height:1;font-weight:700;letter-spacing:1px}.shopping-department-control select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}.shopping-department-control:focus-within{outline:2px solid var(--teal-2);outline-offset:-3px}#shopping-list .delete-item{width:44px;height:44px;color:var(--muted)}#shopping-list .delete-item:hover{color:var(--danger)}.shopping-purchased h2{color:var(--muted)}@media(max-width:360px){#shopping-list .shopping-toggle{gap:8px;padding-inline:6px}.shopping-department h2{font-size:.8rem}.shopping-clear-purchased{font-size:.73rem}}.plan-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:0 0 10px;}.plan-date{min-width:0;display:grid;justify-items:center;gap:3px;padding:8px 1px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);min-height:73px;}.plan-date small{font-size:.68rem;text-transform:capitalize;color:var(--muted);}.plan-date strong{font-size:1.12rem;line-height:1.15;font-weight:680;}.plan-date span{font-size:.7rem;color:var(--muted);}.plan-date.is-today{border-color:var(--teal-2);}.plan-date.is-selected[aria-pressed="true"]{background:var(--teal);border-color:var(--teal);color:#fff;}.plan-date.is-selected[aria-pressed="true"] small,.plan-date.is-selected[aria-pressed="true"] span{color:#e1f3ee;}.plan-view-tools{display:flex;justify-content:space-between;gap:8px;margin:0 0 12px;}.plan-view-tools button,.plan-copy-day,.plan-add-dish,.plan-transfer-buttons button{border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--teal-2);min-height:38px;padding:7px 10px;font-size:.78rem;font-weight:650;}.plan-view-tools button:disabled,.plan-copy-day:disabled{opacity:.48;cursor:default;}.plan-day-card{background:var(--surface);border-color:var(--line);}.plan-day-card>header>small{background:var(--canvas);color:var(--muted);}.plan-slot-group{border:1px solid var(--line);border-radius:14px;padding:10px;display:grid;gap:6px;}.plan-slot-group>header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.87rem;font-weight:650;}.plan-add-dish{min-height:36px;border:0;background:transparent;padding:5px 7px;}.plan-dish{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);padding:10px 3px;min-height:46px;}.plan-dish>span:first-child{min-width:0;display:grid;gap:4px;}.plan-dish strong{font-size:.92rem;font-weight:650;overflow-wrap:anywhere;line-height:1.3;}.plan-dish small,.plan-slot-empty{color:var(--muted);font-size:.75rem;line-height:1.4;}.plan-dish>span:last-child{color:var(--muted);font-size:1.3rem;}.plan-slot-empty{margin:0;padding:2px 0 5px;}.plan-copy-day{display:block;width:100%;margin-top:10px;}.plan-transfer{border:1px solid var(--line);border-radius:12px;padding:10px;text-align:left;}.plan-transfer summary{font-weight:650;font-size:.83rem;cursor:pointer;color:var(--ink);}.plan-transfer p{color:var(--muted);font-size:.75rem;margin:9px 0;}.plan-transfer .plan-meal-field{margin:8px 0;}.plan-transfer-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.plan-transfer-buttons button.primary-button{background:var(--teal);color:white;}.plan-error{padding:9px 10px;border:1px solid var(--danger);border-radius:10px;color:var(--danger);font-size:.82rem;text-align:left;margin:0;}.plan-meal-dialog{max-height:calc(100dvh - 26px);overflow:auto;}html[data-theme="dark"] .plan-date.is-selected[aria-pressed="true"]{background:#32675e;border-color:#76b0a4;}html[data-theme="dark"] .plan-view-tools button,html[data-theme="dark"] .plan-copy-day,html[data-theme="dark"] .plan-add-dish,html[data-theme="dark"] .plan-transfer-buttons button{color:#a5dace;}html[data-theme="dark"] .plan-transfer-buttons button.primary-button{color:white;}@media(max-width:360px){.plan-calendar{gap:3px}.plan-date{border-radius:9px}.plan-view-tools button{font-size:.73rem;padding:6px 8px}}html[data-theme="dark"] .plan-week-current:disabled strong{color:var(--ink);}.plan-meal-actions{grid-template-columns:repeat(3,minmax(0,1fr));}.plan-meal-actions:has(.plan-meal-delete[hidden]){grid-template-columns:1fr 1fr;}@media(max-width:420px){.plan-meal-actions{grid-template-columns:1fr 1fr}.plan-meal-delete:not([hidden]){grid-column:1/-1;order:3;}}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));padding-inline:3px;gap:0}.bottom-nav .nav-item{min-width:0;padding-inline:2px}.bottom-nav .nav-item span:not(.nav-icon-wrap){font-size:clamp(.62rem,2.5vw,.77rem)}.diary-heading{align-items:center;gap:10px}.diary-add{white-space:nowrap;min-height:42px;padding:9px 12px;font-size:.82rem}.diary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--line);background:var(--line);border-radius:16px;overflow:hidden;margin:14px 0}.diary-stats>div{display:grid;gap:5px;text-align:center;padding:15px 3px;background:var(--surface);min-width:0}.diary-stats strong{font-size:1.4rem;color:var(--ink);font-variant-numeric:tabular-nums}.diary-stats span{font-size:.67rem;color:var(--muted);overflow-wrap:anywhere}.diary-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:8px;margin:0 0 16px}.diary-filters input,.diary-filters select,.diary-field input,.diary-field select,.diary-field textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);padding:10px;font:inherit;font-size:.88rem;min-height:44px}.diary-filters select{max-width:100%}.diary-list{display:grid;gap:14px}.diary-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;min-width:0}.diary-card-photo{display:block;width:100%;max-height:280px;object-fit:contain;background:var(--canvas);cursor:zoom-in}.diary-card-body{padding:15px;display:grid;gap:10px}.diary-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.76rem;color:var(--muted)}.diary-rating{color:var(--teal-2);white-space:nowrap}.diary-card h2{font-family:Georgia,serif;font-size:1.25rem;line-height:1.3;font-weight:500;margin:0;color:var(--ink);overflow-wrap:anywhere}.diary-card p{font-size:.88rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:var(--ink)}.diary-card p b{display:block;font-size:.72rem;color:var(--muted);margin-bottom:3px}.diary-next{background:var(--canvas);padding:11px;border-radius:10px}.diary-card-actions,.diary-recipe-link{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.diary-card-actions{justify-content:space-between;border-top:1px solid var(--line);padding-top:8px}.diary-card-actions button,.diary-recipe-link button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--teal-2);font-size:.78rem;font-weight:600}.diary-card-actions svg,.diary-recipe-link svg{width:16px;height:16px}.diary-card-actions small{color:var(--muted);font-size:.72rem}.diary-recipe-link{margin:12px 0}.diary-cook-add{background:var(--teal-2)!important;color:var(--surface)!important;border-radius:12px;min-height:44px;margin-bottom:10px}.diary-editor-dialog{width:min(calc(100% - 20px),500px);max-height:calc(100dvh - 24px);overflow:auto;text-align:left;background:var(--surface);color:var(--ink);padding:18px}.diary-editor-dialog form{display:grid;gap:13px}.diary-editor-heading{display:flex;justify-content:space-between;align-items:center}.diary-editor-heading h2{margin:4px 0;font-size:1.4rem;color:var(--ink)}.diary-field{display:grid;gap:5px;min-width:0}.diary-field>span,.diary-rating-field legend{font-size:.8rem;color:var(--ink);font-weight:600}.diary-field-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px}.diary-field textarea{resize:vertical}.diary-rating-field{border:0;padding:0;margin:0;min-width:0}.diary-rating-field small{font-size:.72rem;color:var(--muted)}.diary-stars{display:flex;gap:4px;margin:5px 0}.diary-stars button{width:44px;height:44px;max-width:16%;border:1px solid var(--line);border-radius:10px;background:var(--canvas);color:var(--muted);font-size:1.42rem}.diary-stars button.is-rated{color:#a66612;background:#f9e6b7;border-color:#d8b36b}.diary-photo-control{display:flex;align-items:center;gap:8px}.diary-photo-label{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;flex:1;min-height:48px;padding:8px 12px;border:1px dashed var(--line);border-radius:12px;cursor:pointer}.diary-photo-label svg{width:22px;height:22px;flex-shrink:0}.diary-photo-label span{display:grid;font-size:.82rem;min-width:0}.diary-photo-label small{color:var(--muted);font-size:.7rem;overflow-wrap:anywhere}.diary-photo-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.diary-photo-label:focus-within{outline:2px solid var(--teal-2)}.diary-photo-control>button{min-width:44px;min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px}.diary-preview-image{display:block;width:100%;max-height:180px;object-fit:contain;border-radius:10px}.diary-editor-actions{display:flex;align-items:center;gap:8px;position:sticky;bottom:-18px;background:var(--surface);padding:10px 0}.diary-editor-actions .primary-button{flex:1;min-height:44px}.diary-editor-actions #diary-delete{padding:10px;color:var(--muted);background:transparent;border:0}.diary-editor-dialog [hidden]{display:none!important}.diary-editor-dialog #diary-error{margin:0}.quick-card-pantry{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.quick-card-pantry .quick-icon{background:var(--canvas);color:var(--teal-2)}.quick-card-pantry small{color:var(--muted)}.pantry-library-link,.pantry-back{border:1px solid var(--line);background:var(--surface);color:var(--teal-2);border-radius:12px;padding:10px 12px;min-height:42px;font-size:.83rem;font-weight:600}.pantry-library-link{width:100%;text-align:left;display:flex;justify-content:space-between;margin:0 0 12px}.pantry-back{white-space:nowrap}.pantry-intro{color:var(--muted);font-size:.88rem;line-height:1.55;margin:8px 0 16px}.pantry-box{display:grid;gap:13px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:14px;min-width:0}.pantry-box-heading,.pantry-results-heading,.pantry-result-head{display:flex;align-items:center;gap:8px;justify-content:space-between}.pantry-box-heading h2,.pantry-results-heading h2{font-size:1.02rem;margin:0;color:var(--ink)}.pantry-box-heading small,#pantry-result-count{color:var(--muted);font-size:.75rem}.pantry-box-heading button{background:none;border:0;color:var(--muted);font-size:.75rem;min-height:38px}#pantry-form{display:flex;gap:7px;align-items:stretch}#pantry-input,#pantry-filter{min-width:0;border:1px solid var(--line);background:var(--canvas);color:var(--ink);border-radius:11px;padding:10px;font-size:.88rem;min-height:44px}#pantry-input{flex:1;width:100%}#pantry-form button{font-size:.8rem;padding:8px 12px;white-space:nowrap;min-height:44px}.pantry-chips{display:flex;flex-wrap:wrap;gap:6px}.pantry-chips button{min-height:36px;max-width:100%;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:var(--canvas);color:var(--ink);font-size:.8rem;text-align:left}.pantry-chips .pantry-chip{border-color:var(--teal-2);color:var(--teal-2)}.pantry-chip span{margin-left:6px;font-weight:700}.pantry-basics{display:flex;align-items:center;gap:8px;font-size:.83rem;min-height:40px;color:var(--ink)}.pantry-basics input{accent-color:var(--teal-2);width:18px;height:18px}.pantry-suggestion-label{color:var(--muted);font-size:.75rem}.pantry-results-heading{margin-top:22px;flex-wrap:wrap}#pantry-results{display:grid;gap:10px}.pantry-result{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);min-width:0}.pantry-recipe-title{border:0;background:transparent;color:var(--ink);padding:0;text-align:left;font-family:Georgia,serif;font-size:1.12rem;line-height:1.3;overflow-wrap:anywhere;min-width:0;min-height:40px}.pantry-result-head strong{color:var(--teal-2);font-variant-numeric:tabular-nums;white-space:nowrap}.pantry-meter{height:6px;background:var(--canvas);border-radius:8px;overflow:hidden}.pantry-meter span{height:100%;display:block;background:var(--teal-2);border-radius:8px}.pantry-result small,.pantry-optional{color:var(--muted);font-size:.75rem}.pantry-result p{margin:0;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}.pantry-buy{border:1px solid var(--line);border-radius:10px;background:var(--canvas);color:var(--teal-2);min-height:42px;padding:9px;font-size:.82rem;font-weight:600;text-align:center}.pantry-result button:focus-visible,.pantry-box button:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px}:root{--editorial-bg:#F7F4ED;--editorial-paper:#FFFCF7;--editorial-text:#292D29;--editorial-olive:#53654B;--editorial-terracotta:#B96548;--editorial-sand:#D8CCB8;--editorial-accent-text:#994E35;--editorial-primary:#53654B;--editorial-on-primary:#fff;--editorial-serif:Lora,Georgia,"Times New Roman",serif;--editorial-sans:Manrope,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--ink:var(--editorial-text);--muted:#65695E;--canvas:var(--editorial-bg);--surface:var(--editorial-paper);--surface-soft:#F2EEE5;--surface-muted:#EDE8DC;--field:#FFFCF7;--line:#DDD5C6;--teal:var(--editorial-primary);--teal-2:var(--editorial-olive);--mint:#A8BA91;--sun:#D9A472;--sun-soft:#F2E3D1;--soft-teal:#E5E9DC;--soft-sun:#F5E9D9;--nav-surface:rgba(255,252,247,.98);--shadow:0 12px 32px rgba(55,45,29,.10);font-family:var(--editorial-sans);}html[data-theme="dark"]{--editorial-bg:#191D1A;--editorial-paper:#252B25;--editorial-text:#F1EBDD;--editorial-olive:#A8BA91;--editorial-terracotta:#D99173;--editorial-sand:#504E42;--editorial-accent-text:#E4A58B;--editorial-primary:#53654B;--editorial-on-primary:#fff;--ink:var(--editorial-text);--muted:#B7BBAE;--canvas:var(--editorial-bg);--surface:var(--editorial-paper);--surface-soft:#2D342C;--surface-muted:#333A31;--field:#212721;--line:#434C3F;--teal:var(--editorial-primary);--teal-2:var(--editorial-olive);--mint:#A8BA91;--sun:#DBAD80;--sun-soft:#40372B;--soft-teal:#353F32;--soft-sun:#3E352B;--nav-surface:rgba(37,43,37,.98);--shadow:0 12px 32px rgba(0,0,0,.22);}html,body,html[data-theme="dark"],html[data-theme="dark"] body{background:var(--canvas);color:var(--ink)}.app-shell{width:100%;max-width:1120px;box-shadow:none;background:var(--canvas)}.topbar,html[data-theme="dark"] .topbar{height:auto;min-height:70px;padding:max(12px,env(safe-area-inset-top)) 20px 12px;background:var(--canvas);color:var(--ink);border-bottom:1px solid var(--line);width:100%;transform:none;left:auto;right:auto}.topbar .nyamli-brand{gap:10px;color:var(--teal-2)}.topbar .nyamli-mark,html[data-theme="dark"] .topbar .nyamli-mark{width:34px;height:34px;border-radius:10px;background:var(--editorial-primary);color:#fff;box-shadow:none;font-family:var(--editorial-serif);font-style:normal;font-size:20px}.topbar .nyamli-mark::after{background:var(--editorial-terracotta)}.topbar .nyamli-wordmark{font:500 31px/1 var(--editorial-serif);letter-spacing:-.055em}.topbar .nyamli-wordmark span{color:var(--editorial-terracotta)}.topbar .avatar-button,html[data-theme="dark"] .topbar .avatar-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--teal-2);box-shadow:none}.topbar .avatar-button svg{width:20px;height:20px}.screen{padding:26px 18px 32px}.screen h1{font-family:var(--editorial-serif);font-weight:500;font-size:clamp(2.05rem,7.7vw,3.25rem);letter-spacing:-.045em;line-height:1.12;color:var(--ink);overflow-wrap:anywhere}#home-screen .welcome-row,#recipes-screen .page-title-row,#more-screen .page-title-row{margin:4px 0 20px;align-items:flex-start;gap:12px}#home-screen .welcome-row>div,#recipes-screen .page-title-row>div:first-child{min-width:0}#home-screen .eyebrow,#recipes-screen .eyebrow,#more-screen .eyebrow{font-size:.7rem;letter-spacing:.12em;font-weight:650;color:var(--editorial-accent-text);margin-bottom:9px}.editorial-intro{color:var(--muted);font-size:.9rem;line-height:1.55;margin:10px 0 0;font-weight:400}#home-screen .round-action,#recipes-screen .round-action{background:var(--editorial-primary);color:#fff;width:44px;height:44px;box-shadow:none;border-radius:50%;margin-top:4px}#home-screen .search-box,#recipes-screen .search-box,html[data-theme="dark"] #home-screen .search-box,html[data-theme="dark"] #recipes-screen .search-box{height:50px;min-height:48px;background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:13px;color:var(--muted)}#home-screen .search-box{margin-bottom:22px}#home-screen .search-box input::placeholder,#recipes-screen .search-box input::placeholder{color:var(--muted);opacity:1}#home-screen .featured-card{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;position:relative;overflow:hidden;isolation:isolate;border:1px solid var(--line);border-radius:22px;color:var(--ink);background:var(--surface);box-shadow:var(--shadow)}#home-screen .featured-media{min-height:0;aspect-ratio:16/10;position:relative;width:100%;height:auto;background:var(--surface-muted);overflow:hidden}#home-screen .featured-media-shade{display:none}#home-screen .featured-copy,html[data-theme="dark"] #home-screen .featured-copy{position:relative;inset:auto;min-width:0;padding:20px;display:flex;flex-direction:column;gap:8px;background:var(--surface);color:var(--ink)}#home-screen .featured-topline{position:static;padding:0;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between}#home-screen .pill-accent{background:transparent;color:var(--editorial-accent-text);border-radius:0;padding:0;min-height:0;text-transform:uppercase;font-weight:650;letter-spacing:.09em;font-size:.68rem;box-shadow:none}#home-screen .featured-refresh{background:var(--surface-soft);color:var(--teal-2);border:1px solid var(--line);box-shadow:none;backdrop-filter:none;min-height:40px;font-weight:600}#home-screen .featured-copy>p{color:var(--muted);font-size:.76rem;font-weight:500;margin:0}#home-screen .featured-copy h2{font:500 clamp(1.65rem,6.5vw,2.65rem)/1.12 var(--editorial-serif);color:var(--ink);letter-spacing:-.03em;overflow-wrap:anywhere;white-space:normal;margin:0 0 5px}#home-screen .recipe-meta-light{color:var(--muted);margin:2px 0 9px;font-weight:500;gap:9px 14px}#home-screen .light-button{background:var(--editorial-primary);color:#fff;box-shadow:none;border-radius:12px;height:auto;min-height:46px;font-size:.91rem;font-weight:650;margin-top:auto}#home-screen .featured-gallery-hint{background:rgba(25,29,26,.8);color:#fff;backdrop-filter:none;bottom:10px;right:10px}#home-screen .section-heading{margin:28px 0 13px;align-items:center}#home-screen .section-heading h2{font:500 1.48rem/1.2 var(--editorial-serif);color:var(--ink);letter-spacing:-.03em}#home-screen .section-heading button{min-height:44px;color:var(--teal-2);font-weight:600;flex-shrink:0}#home-screen .quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#home-screen .quick-card,html[data-theme="dark"] #home-screen .quick-card{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:15px;box-shadow:none;min-height:108px;padding:14px;gap:12px;justify-content:flex-start;text-align:left}#home-screen .quick-card .quick-icon{width:36px;height:36px;background:var(--soft-teal);border-radius:10px;color:var(--teal-2);box-shadow:none}#home-screen .quick-card-sun .quick-icon,#home-screen .quick-card-diary .quick-icon{background:var(--soft-sun);color:var(--editorial-accent-text)}#home-screen .quick-card strong{font-size:.9rem;font-weight:650;line-height:1.3;overflow-wrap:anywhere}#home-screen .quick-card small{font-size:.75rem;color:var(--muted);opacity:1;line-height:1.4}#home-screen .recent-list{gap:0;border-top:1px solid var(--line)}#home-screen .recent-item,html[data-theme="dark"] #home-screen .recent-item{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;padding:13px 0;grid-template-columns:70px minmax(0,1fr) 25px;gap:13px;color:var(--ink)}#home-screen .recent-thumb{width:70px;height:70px;border-radius:12px;box-shadow:none;position:relative}#home-screen .recent-copy strong,html[data-theme="dark"] #home-screen .recent-copy strong{font:500 1.08rem/1.25 var(--editorial-serif);color:var(--ink);white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;margin:3px 0 5px}#home-screen .recent-category{font-size:.66rem;color:var(--editorial-accent-text);font-weight:600;letter-spacing:.07em;white-space:normal;overflow-wrap:anywhere}#home-screen .recent-meta{color:var(--muted);font-weight:500}#home-screen .recent-chevron{background:transparent;color:var(--teal-2);width:25px}.editorial-empty{padding:26px 20px;background:var(--surface);border:1px solid var(--line);border-radius:18px;display:grid;gap:12px;justify-items:start}.editorial-empty>svg{color:var(--teal-2);width:32px;height:32px}.editorial-empty h2{font:500 1.5rem/1.2 var(--editorial-serif);margin:0}.editorial-empty p{color:var(--muted);margin:0;line-height:1.5}#recipes-screen .recipe-page-actions{align-items:center;gap:8px}#recipes-screen .import-link-button,#recipes-screen .pantry-library-link,#recipes-screen .advanced-filter-button{background:var(--surface);color:var(--teal-2);border:1px solid var(--line);box-shadow:none;border-radius:12px;font-weight:600;min-height:44px}#recipes-screen .pantry-library-link{background:var(--soft-teal);border:0;align-items:center;font-size:.8rem;margin-bottom:14px;gap:8px}#recipes-screen .filter-row{padding-inline:0;gap:8px;margin:7px 0 15px}#recipes-screen .filter-chip,html[data-theme="dark"] #recipes-screen .filter-chip{background:transparent;border:1px solid var(--line);color:var(--muted);min-height:40px;font-weight:600;padding:8px 13px}#recipes-screen .filter-chip.is-selected,html[data-theme="dark"] #recipes-screen .filter-chip.is-selected{background:var(--editorial-primary);color:#fff;border-color:var(--editorial-primary)}#recipes-screen .library-toolbar{border-top:1px solid var(--line);padding-top:11px;margin-bottom:14px}#recipes-screen .library-sort select{background:var(--surface);color:var(--ink);min-height:44px;border-radius:10px}#recipes-screen .library-view-toggle{background:var(--surface-soft);border:0;padding:3px;gap:3px}#recipes-screen .library-view-toggle button{width:39px;height:38px;border-radius:8px;color:var(--muted)}#recipes-screen .library-view-toggle button.is-active,html[data-theme="dark"] #recipes-screen .library-view-toggle button.is-active{background:var(--editorial-primary);color:#fff}#recipes-screen .recipe-grid{gap:13px;align-items:stretch}#recipes-screen .recipe-card,html[data-theme="dark"] #recipes-screen .recipe-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;box-shadow:none;min-width:0;transition:border-color .16s,transform .16s}#recipes-screen .recipe-card-visual{aspect-ratio:1.18;position:relative;height:auto;min-height:0;flex:none;overflow:hidden}#recipes-screen .recipe-card-visual::before,#recipes-screen .recipe-card-visual::after{display:none}#recipes-screen .recipe-card-category,#recipes-screen .demo-recipe-badge,#recipes-screen .recipe-card-no-photo-label{display:none}#recipes-screen .recipe-card-favorite{background:var(--surface);color:var(--editorial-accent-text);box-shadow:none;width:28px;height:28px;top:8px;right:8px}#recipes-screen .recipe-card.no-cover .recipe-card-visual{background:var(--soft-teal);color:var(--teal-2)}#recipes-screen .recipe-card.no-cover .recipe-card-letter{font:500 clamp(2.4rem,9vw,4rem)/1 var(--editorial-serif);color:var(--teal-2);text-shadow:none;opacity:.85}#recipes-screen .recipe-card-body{display:flex;justify-content:flex-start;gap:8px;padding:13px 12px;min-height:0;max-height:none;flex:1;background:transparent}#recipes-screen .recipe-list-kicker{display:block!important;color:var(--editorial-accent-text);font-size:.66rem;font-weight:600;letter-spacing:.045em;line-height:1.35;overflow-wrap:anywhere}#recipes-screen .recipe-card-title{font:500 clamp(1.05rem,3.8vw,1.32rem)/1.25 var(--editorial-serif);color:var(--ink);letter-spacing:-.025em;display:block;overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset;min-height:0;max-height:none}#recipes-screen .recipe-card-title::after{display:none}#recipes-screen .recipe-card-footer{margin-top:auto;padding-top:3px;gap:6px 10px}#recipes-screen .recipe-card-stat,html[data-theme="dark"] #recipes-screen .recipe-card-stat{background:transparent;border:0;border-radius:0;color:var(--muted);padding:0;min-height:0;font-size:.71rem;gap:4px}#recipes-screen .recipe-card-stat b{color:var(--muted);font-weight:500}#recipes-screen .recipe-card-stat svg,html[data-theme="dark"] #recipes-screen .recipe-card-stat svg{color:var(--muted);width:14px;height:14px}#recipes-screen .recipe-grid:not(.is-list-view) .recipe-card-views{display:none}#recipes-screen .is-list-view .recipe-card{grid-template-columns:84px minmax(0,1fr) 18px;padding:9px;gap:12px;border-radius:14px}#recipes-screen .is-list-view .recipe-card-visual{width:84px;height:84px;aspect-ratio:1;border-radius:9px}#recipes-screen .is-list-view .recipe-card-body{padding:0;gap:6px}#recipes-screen .is-list-view .recipe-card-title{font-size:1.13rem;line-height:1.25}#recipes-screen .is-list-view .recipe-list-kicker{color:var(--editorial-accent-text)}#recipes-screen .is-list-view .recipe-card-footer{margin-top:0}.editorial-more-list{display:grid;gap:9px}.editorial-more-list>button{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:12px;align-items:center;min-height:76px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;color:var(--ink);text-align:left}.editorial-more-icon{width:44px;height:44px;border-radius:11px;background:var(--soft-teal);color:var(--teal-2);display:grid;place-items:center}.editorial-more-list strong,.editorial-more-list small{display:block;overflow-wrap:anywhere}.editorial-more-list strong{font-size:.95rem;font-weight:650;line-height:1.3}.editorial-more-list small{font-size:.78rem;line-height:1.4;color:var(--muted);margin-top:3px}.editorial-more-list>button>svg{width:18px;color:var(--muted)}.editorial-more-note{margin:22px 0;color:var(--muted);font-size:.81rem;line-height:1.6}.bottom-nav,html[data-theme="dark"] .bottom-nav{width:min(100%,1120px);left:50%;right:auto;transform:translateX(-50%);grid-template-columns:repeat(5,minmax(0,1fr));height:calc(70px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);background:var(--nav-surface);border-top:1px solid var(--line);box-shadow:none;backdrop-filter:none}.bottom-nav .nav-item,html[data-theme="dark"] .bottom-nav .nav-item{color:var(--muted);border-radius:12px;font-weight:550;gap:4px;min-height:48px;min-width:0}.bottom-nav .nav-item.is-active,html[data-theme="dark"] .bottom-nav .nav-item.is-active{color:var(--teal-2);background:var(--soft-teal);font-weight:650}.bottom-nav .nav-item span:not(.nav-icon-wrap){font-size:.72rem}.global-timer-bar,html[data-theme="dark"] .global-timer-bar{background:var(--editorial-primary);border-color:transparent;color:#fff}#home-screen button:focus-visible,#recipes-screen button:focus-visible,#more-screen button:focus-visible,.bottom-nav button:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px}@media (min-width:720px){.screen{padding:32px 34px 42px}.topbar,html[data-theme="dark"] .topbar{padding-inline:34px}.global-timer-bar{width:min(calc(100% - 24px),1096px)}#home-screen .featured-card{grid-template-columns:1.15fr minmax(0,1fr)}#home-screen .featured-media{aspect-ratio:1.35;min-height:280px;height:100%}#home-screen .featured-copy{padding:28px;justify-content:center}#home-screen .light-button{margin-top:6px}#home-screen .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#home-screen .recent-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0}#home-screen .recent-item,html[data-theme="dark"] #home-screen .recent-item{display:flex;flex-direction:column;align-items:stretch;border:1px solid var(--line);background:var(--surface);border-radius:15px;overflow:hidden;padding:0;gap:0}#home-screen .recent-thumb{width:100%;height:auto;aspect-ratio:1.45;border-radius:0}#home-screen .recent-copy{padding:13px;align-self:stretch}#home-screen .recent-chevron{display:none}#recipes-screen .recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#recipes-screen .recipe-grid.is-list-view{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-more-list{max-width:700px}}@media(min-width:1000px){#recipes-screen .recipe-grid:not(.is-list-view){grid-template-columns:repeat(4,minmax(0,1fr))}#recipes-screen .recipe-card-body{padding:15px}#home-screen .featured-media{min-height:330px}}@media(max-width:360px){.screen{padding-inline:12px}.topbar,html[data-theme="dark"] .topbar{padding-inline:12px}#home-screen .featured-copy{padding:16px}#home-screen .quick-card{padding:11px}#recipes-screen .recipe-card-body{padding:10px 9px}#recipes-screen .library-view-toggle button{width:34px}#recipes-screen .is-list-view .recipe-card{grid-template-columns:65px minmax(0,1fr) 15px;gap:8px}#recipes-screen .is-list-view .recipe-card-visual{width:65px;height:65px}.bottom-nav .nav-item span:not(.nav-icon-wrap){font-size:.66rem}}@media(hover:hover) and (prefers-reduced-motion:no-preference){#home-screen .quick-card:hover,#home-screen .recent-item:hover,#recipes-screen .recipe-card:hover,.editorial-more-list>button:hover{border-color:var(--teal-2);transform:translateY(-1px);box-shadow:none}}@media(prefers-reduced-motion:reduce){#home-screen *,#recipes-screen *,#more-screen *,.bottom-nav{animation:none!important;transition:none!important;scroll-behavior:auto!important}}#home-screen .featured-media .cover-placeholder,#home-screen .recent-thumb.cover-placeholder{background:var(--soft-teal);color:var(--teal-2)}#home-screen .featured-media .cover-placeholder::before,#home-screen .featured-media .cover-placeholder::after,#home-screen .recent-thumb.cover-placeholder::before,#home-screen .recent-thumb.cover-placeholder::after,#recipes-screen .recipe-card-visual.cover-placeholder::before,#recipes-screen .recipe-card-visual.cover-placeholder::after{display:none}#home-screen .featured-media .cover-placeholder-monogram,#home-screen .recent-thumb-letter{color:var(--teal-2);font-family:var(--editorial-serif);font-weight:500;text-shadow:none;transform:none}#home-screen .search-box:focus-within,#recipes-screen .search-box:focus-within{border-color:var(--teal-2);outline:2px solid var(--teal-2);outline-offset:1px}
/* 49.4 Warm Editorial — detail, editor, cooking */
#recipe-dialog.sheet-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;background:var(--canvas);padding:0;color:var(--ink)}
#recipe-dialog .detail-floating-actions{position:relative;inset:auto;transform:none;margin:0;height:auto;min-height:56px;padding:calc(6px + env(safe-area-inset-top)) 12px 6px;gap:6px;justify-content:flex-end;pointer-events:auto;background:var(--surface);border-bottom:1px solid var(--line)}
#recipe-dialog .detail-toolbar-label{margin-right:auto;color:var(--muted);font:600 .85rem/1.2 var(--editorial-sans)}
#recipe-dialog .detail-floating-actions>.floating-close{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:none}
#recipe-dialog .detail-floating-actions>.floating-close.is-active{color:var(--editorial-accent-text);background:var(--soft-sun)}
#recipe-dialog .detail-navigation-slot{display:block;min-width:0;overflow:hidden;pointer-events:auto;background:var(--surface);border-bottom:1px solid var(--line);padding:5px 12px}
#recipe-dialog .detail-navigation-slot .detail-jump-nav{position:static;display:block;width:100%;max-width:none;margin:0;padding:0;opacity:1;visibility:visible;transform:none;pointer-events:auto;border:0;background:none;box-shadow:none}
#recipe-dialog .detail-jump-nav .detail-jump-track{display:flex;width:100%;max-width:none;gap:6px;pointer-events:auto;border:0;box-shadow:none;background:none;border-radius:0;overflow-x:auto;padding:0;scrollbar-width:none}
#recipe-dialog .detail-jump-nav .detail-jump{flex:none;min-height:44px;padding:0 13px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:.8rem;font-weight:600;box-shadow:none;pointer-events:auto}
#recipe-dialog .detail-jump-nav .detail-jump.is-active{background:var(--soft-teal);color:var(--teal-2);font-weight:700}
#recipe-dialog #recipe-detail{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:var(--canvas)}
#recipe-dialog .detail-cover,#recipe-dialog .detail-cover-placeholder{display:block;width:100%;max-width:880px;margin:0 auto;background:var(--surface-soft);border-radius:0;object-fit:contain}
#recipe-dialog .detail-body{max-width:780px;padding:26px clamp(16px,4vw,42px) calc(36px + env(safe-area-inset-bottom));background:var(--canvas);color:var(--ink)}
#recipe-dialog .detail-title-row #detail-title{font:500 clamp(2.15rem,8vw,3.4rem)/1.1 var(--editorial-serif);letter-spacing:-.035em;color:var(--ink);text-shadow:none;overflow-wrap:anywhere}
#recipe-dialog .detail-kicker-row .pill{background:var(--soft-sun);color:var(--editorial-accent-text);border:0;box-shadow:none}
#recipe-dialog .recipe-meta{gap:8px;color:var(--muted);margin:20px 0}
#recipe-dialog .recipe-meta span{background:var(--surface);border:1px solid var(--line);color:var(--muted);box-shadow:none}
.detail-start-early{display:flex;width:100%;align-items:center;gap:12px;padding:14px 18px;min-height:54px;border:0;border-radius:12px;background:var(--editorial-primary);color:#fff;font:650 .98rem/1.3 var(--editorial-sans);text-align:left;cursor:pointer}.detail-start-early span{flex:1}.detail-start-early svg{width:20px;height:20px;flex:none}
#recipe-dialog .detail-section{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
#recipe-dialog .detail-section h3,#recipe-dialog .ingredient-console-head h3{font:500 clamp(1.45rem,5vw,1.9rem)/1.2 var(--editorial-serif);color:var(--ink)}
#recipe-dialog .detail-section-overline,#recipe-dialog .ingredient-console-kicker{color:var(--editorial-accent-text);font-size:.7rem;font-weight:650;letter-spacing:.065em}
#recipe-dialog .detail-anchor{scroll-margin-top:12px}
#recipe-dialog .ingredient-console{margin-top:30px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:none}
#recipe-dialog .ingredient-console-head{padding:16px;gap:8px;flex-wrap:wrap;background:var(--surface);border-color:var(--line)}
#recipe-dialog .ingredient-console-tools{padding:10px 16px;background:var(--surface-soft);border-color:var(--line);color:var(--muted);font-size:.78rem;line-height:1.45}
#recipe-dialog .ingredient-console-tools>span{max-width:none}
#recipe-dialog .ingredient-console-tools .ingredient-reset{background:var(--surface);color:var(--teal-2);min-height:44px;border-color:var(--line)}
#recipe-dialog .ingredient-console .ingredient-row{grid-template-columns:22px minmax(0,1fr) minmax(0,auto);gap:10px;min-height:56px;padding:10px 14px;border-color:var(--line)}
#recipe-dialog .ingredient-console .ingredient-name strong{font-size:.96rem;line-height:1.45;font-weight:600;color:var(--ink);overflow-wrap:anywhere;white-space:normal}
#recipe-dialog .ingredient-console .ingredient-index{color:var(--muted);background:none;font-size:.7rem}
#recipe-dialog .ingredient-console .ingredient-name small.ingredient-note{color:var(--muted);font-size:.8rem;line-height:1.4}
#recipe-dialog .ingredient-console .ingredient-amount{min-height:44px;max-width:125px;flex-wrap:wrap;padding:8px 10px;border-color:var(--line);border-radius:9px;background:var(--soft-teal);color:var(--teal-2);box-shadow:none;overflow-wrap:anywhere}
#recipe-dialog .ingredient-console .ingredient-amount strong{font-size:.95rem}#recipe-dialog .ingredient-console .ingredient-amount small{color:inherit;font-size:.77rem}
#recipe-dialog .ingredient-console .ingredient-group-heading{padding:14px 16px;background:var(--surface-soft);border-color:var(--line)}
#recipe-dialog .ingredient-console .ingredient-group-heading span{color:var(--editorial-accent-text);font-size:.78rem;overflow-wrap:anywhere}
#recipe-dialog .ingredient-servings-control button{min-width:44px;min-height:44px}
#recipe-dialog .ingredient-cart-action{background:var(--surface-soft);color:var(--teal-2);box-shadow:none;border-color:var(--line)}
#recipe-dialog .ingredient-cart-action small{color:var(--muted)}
#recipe-dialog .detail-steps-hint,#recipe-dialog .detail-steps-status{color:var(--muted);font-size:.8rem;line-height:1.4}
#recipe-dialog .detail-steps-section .step-list{gap:0}
#recipe-dialog .detail-steps-section .recipe-main-step{padding:18px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;min-width:0}
#recipe-dialog .detail-steps-section .step-main-layout{grid-template-columns:44px minmax(0,1fr);gap:12px}
#recipe-dialog .detail-steps-section .step-done-button{width:44px;height:44px;min-height:44px}
#recipe-dialog .detail-steps-section .step-done-button::before{width:44px;height:44px;background:var(--soft-teal);color:var(--teal-2);border-radius:12px;font-size:1rem}
#recipe-dialog .detail-steps-section .is-done .step-done-button::before{background:var(--editorial-primary);color:#fff}
#recipe-dialog .step-copy,#recipe-dialog .preparation-copy,#recipe-dialog .recipe-note{font:400 1rem/1.72 var(--editorial-sans);color:var(--ink);overflow-wrap:anywhere}
#recipe-dialog .step-rich-heading{font:600 1.12rem/1.45 var(--editorial-serif);color:var(--ink)}
#recipe-dialog .step-photo-wrap,#recipe-dialog .preparation-photo-wrap{margin:14px 0 0;max-width:100%;background:var(--surface-soft);border-radius:12px;overflow:hidden}
#recipe-dialog .step-photo,#recipe-dialog .preparation-photo{border-radius:12px;box-shadow:none}
#recipe-dialog .substep-item,#cook-dialog .substep-item{grid-template-columns:40px minmax(0,1fr);gap:10px;margin-top:10px}
#recipe-dialog .substep-check,#cook-dialog .substep-check{width:40px;height:40px;background:var(--soft-sun);color:var(--editorial-accent-text);font-size:.85rem;border-radius:10px}
#recipe-dialog .substep-item.is-done .substep-check,#cook-dialog .substep-item.is-done .substep-check{background:var(--editorial-primary);color:white}
#recipe-dialog .substep-text,#cook-dialog .substep-text{padding-top:5px;overflow-wrap:anywhere}
#recipe-dialog .detail-cook-action{background:var(--editorial-primary);box-shadow:none;border-radius:12px}
#recipe-editor-dialog{width:min(100%,760px);padding:clamp(12px,3vw,24px);background:var(--canvas);color:var(--ink);border:1px solid var(--line);border-radius:18px}
#recipe-editor-dialog .dialog-heading{background:var(--canvas);border-color:var(--line);box-shadow:none}
#recipe-editor-dialog .dialog-heading h2{font:500 clamp(1.55rem,5vw,2rem)/1.2 var(--editorial-serif);color:var(--ink)}
#recipe-editor-dialog .editor-top-save{min-height:44px;background:var(--editorial-primary);color:#fff;box-shadow:none;border-radius:10px;font-size:.85rem}
#recipe-editor-dialog .editor-flow-hint{color:var(--muted);background:transparent;border:0;padding:0;font-size:.88rem;line-height:1.55}
#recipe-editor-dialog .editor-section-nav button{min-height:44px;border-radius:10px;color:var(--teal-2);background:var(--surface);font-size:.82rem}
#recipe-editor-dialog .editor-accordion{border-radius:14px;background:var(--surface);box-shadow:none}
#recipe-editor-dialog .editor-accordion summary{padding:16px;min-height:56px}
#recipe-editor-dialog .editor-accordion summary span{font:500 1.25rem/1.3 var(--editorial-serif);color:var(--ink)}
#recipe-editor-dialog .editor-accordion-content{padding:clamp(12px,3vw,18px);gap:16px}
#recipe-editor-dialog .recipe-form label{color:var(--ink);font-size:.84rem}
#recipe-editor-dialog .recipe-form input:not([type=radio]):not([type=checkbox]),#recipe-editor-dialog .recipe-form textarea,#recipe-editor-dialog .recipe-form select{font-size:16px;color:var(--ink);background:var(--field);border-color:var(--line);box-shadow:none;min-height:44px}
#recipe-editor-dialog .recipe-form textarea{line-height:1.55}
#recipe-editor-dialog .ingredient-quick-add{background:var(--surface-soft);border:1px solid var(--line);box-shadow:none;border-radius:12px}
#recipe-editor-dialog .ingredient-quick-units button{min-height:42px;border-radius:8px;font-size:.82rem}
#recipe-editor-dialog .ingredient-quick-units button[aria-pressed=true],#recipe-editor-dialog .ingredient-quick-submit{background:var(--editorial-primary);color:#fff;border-color:var(--editorial-primary)}
#recipe-editor-dialog .ingredient-quick-top small,#recipe-editor-dialog .ingredient-quick-hint{color:var(--muted);font-size:.79rem;line-height:1.45}
#recipe-editor-dialog .ingredient-card-fields .ingredient-row-controls button{min-height:44px;min-width:44px;width:44px}
#recipe-editor-dialog .step-editor,#recipe-editor-dialog .preparation-editor{background:var(--surface-soft);border-color:var(--line);box-shadow:none;border-radius:12px}
#recipe-editor-dialog .step-editor-heading button,#recipe-editor-dialog .preparation-editor-heading button{min-height:44px;background:var(--soft-teal);color:var(--teal-2);box-shadow:none}
#cook-dialog[open]{background:var(--canvas);color:var(--ink);border:1px solid var(--line);border-radius:18px}
#cook-dialog .cook-shell{display:flex;flex-direction:column;padding:0;background:var(--canvas);color:var(--ink);min-height:0}
#cook-dialog .cook-header,#cook-dialog .cook-step-nav,#cook-dialog .cook-actions{flex:none;background:var(--surface);border-color:var(--line);box-shadow:none}
#cook-dialog .cook-header{position:static;min-height:60px;color:var(--ink)}
#cook-dialog .cook-header-center small,#cook-dialog .cook-recipe-name{color:var(--muted)}
#cook-dialog .cook-progress-track{flex:none;background:var(--surface-soft)}#cook-dialog #cook-progress-bar{background:var(--editorial-primary)}
#cook-dialog .cook-step-nav button{width:44px;height:44px;border-radius:11px;background:var(--surface);color:var(--muted);border-color:var(--line);box-shadow:none;font-size:.85rem}
#cook-dialog .cook-step-nav button.is-current{background:var(--editorial-primary);color:#fff;border-color:var(--editorial-primary)}
#cook-dialog .cook-step-nav button.is-done:not(.is-current){background:var(--soft-teal);color:var(--teal-2);border-color:var(--line)}
#cook-dialog .cook-scroll-area{flex:1 1 0;min-height:0;background:var(--canvas);padding:0;overflow:auto}
#cook-dialog .cook-stage{padding:24px clamp(16px,4vw,32px);min-height:0}
#cook-dialog .cook-step-number{background:transparent;color:var(--editorial-accent-text);padding:0;font:500 1.85rem/1.25 var(--editorial-serif);margin:0 0 14px}
#cook-dialog .cook-photo{border-radius:12px;background:var(--surface-soft);box-shadow:none;max-height:42dvh}
#cook-dialog .cook-step-text{font:400 clamp(1.12rem,4.6vw,1.38rem)/1.7 var(--editorial-sans);letter-spacing:0;color:var(--ink);overflow-wrap:anywhere}
#cook-dialog .cook-step-text .step-rich-heading{font:600 1.2em/1.4 var(--editorial-serif);color:var(--ink);text-transform:none;letter-spacing:0}
#cook-dialog .cook-step-text .step-rich-list{font-size:1em;line-height:1.65}
#cook-dialog .cook-timer-suggestions,#cook-dialog .cook-timer-dock{background:var(--surface);border-color:var(--line);box-shadow:none;border-radius:12px}
#cook-dialog .cook-timer-dock{flex:0 1 auto;max-height:min(154px,24dvh);overflow:auto}
#cook-dialog .cook-timer-suggestions>span{color:var(--muted)}
#cook-dialog .cook-timer-suggestions button{background:var(--soft-teal);color:var(--teal-2);border-color:var(--line);min-height:48px;overflow-wrap:anywhere}
#cook-dialog .cook-timer-suggestions button small{color:var(--muted)}
#cook-dialog .cook-actions{position:static;inset:auto;padding:10px 12px calc(10px + env(safe-area-inset-bottom));grid-template-columns:1fr 1.1fr 1fr;backdrop-filter:none}
#cook-dialog .cook-actions::before{display:none}
#cook-dialog .cook-actions button{min-height:52px;border-radius:10px;background:var(--surface-soft);color:var(--ink);border-color:var(--line);font-size:.82rem}
#cook-dialog .cook-actions .cook-next{background:var(--editorial-primary);border-color:var(--editorial-primary);color:#fff}
#cook-dialog .cook-actions .cook-complete-step{background:var(--soft-teal);color:var(--teal-2)}
#recipe-dialog button:focus-visible,#recipe-editor-dialog button:focus-visible,#cook-dialog button:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px}
@media(max-width:600px){#recipe-editor-dialog,#cook-dialog[open]{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}#recipe-editor-dialog .ingredient-quick-bottom{flex-wrap:wrap}#recipe-editor-dialog .ingredient-quick-submit{max-width:none}#cook-dialog .cook-timer-suggestions>div{grid-template-columns:1fr}}
@media(max-width:360px){#recipe-dialog .detail-floating-actions{padding-inline:8px;gap:4px}#recipe-dialog .ingredient-console .ingredient-row{padding-inline:9px;gap:6px;grid-template-columns:18px minmax(0,1fr) minmax(0,auto)}#recipe-dialog .ingredient-console .ingredient-amount{max-width:94px}#recipe-editor-dialog .editor-accordion-content{padding:10px}#cook-dialog .cook-actions{padding-inline:7px;gap:5px}#cook-dialog .cook-actions button{font-size:.75rem}}
/* v49.4 compact editor */
#recipe-editor-dialog .ingredient-editor-section,#recipe-editor-dialog .step-editor-section{gap:10px;min-width:0}
#recipe-editor-dialog .ingredient-editor-safe,#recipe-editor-dialog .ingredient-quick-symbol,#recipe-editor-dialog .ingredient-quick-top,#recipe-editor-dialog .ingredient-quick-units{display:none}
#recipe-editor-dialog .ingredient-quick-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;align-items:end}#recipe-editor-dialog .ingredient-quick-name-label,#recipe-editor-dialog .ingredient-quick-hint{grid-column:1/-1}#recipe-editor-dialog .ingredient-quick-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}#recipe-editor-dialog .ingredient-quick-add.is-group-mode .ingredient-quick-detail-fields{display:none}#recipe-editor-dialog .ingredient-quick-bottom{display:flex;gap:6px;flex-wrap:wrap}#recipe-editor-dialog .ingredient-quick-bottom button{min-height:44px;min-width:0;padding:8px 12px;font-size:.85rem}
#recipe-editor-dialog .structured-ingredients-list{display:grid;gap:6px;min-width:0}#recipe-editor-dialog .structured-ingredient-row{display:block;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:none;min-width:0}#recipe-editor-dialog .structured-ingredient-row.is-group{background:var(--soft-teal);margin-top:8px}
#recipe-editor-dialog .ingredient-card-toggle{display:none!important}#recipe-editor-dialog .ingredient-card-fields{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:6px;padding:0;border:0;background:transparent;min-width:0}#recipe-editor-dialog .ingredient-card-fields label{display:flex;flex-direction:column;gap:3px;min-width:0;margin:0}#recipe-editor-dialog .ingredient-card-fields label>span{font-size:.7rem;color:var(--muted)}#recipe-editor-dialog .ingredient-card-fields input{width:100%;min-width:0;padding:7px 8px;border-radius:7px}#recipe-editor-dialog .ingredient-card-detail-row{display:grid;grid-template-columns:1fr 1fr;gap:5px;min-width:0}#recipe-editor-dialog .inline-note{min-width:0;align-self:start}#recipe-editor-dialog .inline-note summary{display:list-item;font:400 .78rem/1.4 var(--editorial-sans);padding:8px 0;min-height:34px;color:var(--muted);cursor:pointer}#recipe-editor-dialog .inline-note[open]{grid-column:1/-1}#recipe-editor-dialog .ingredient-row-controls{display:flex;justify-content:flex-end;gap:3px;padding:0;grid-column:2;align-items:center;border:0;background:transparent}#recipe-editor-dialog .ingredient-row-controls button{min-width:36px;width:36px;min-height:36px;height:36px;padding:0;border-radius:7px;font-size:1rem}#recipe-editor-dialog .is-group .ingredient-card-fields{grid-template-columns:minmax(0,1fr) auto;align-items:end}#recipe-editor-dialog .inline-ingredient-actions{display:flex;gap:8px;margin-top:8px}#recipe-editor-dialog .inline-ingredient-actions button{flex:1;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--teal-2)}
#recipe-editor-dialog .step-editor{display:grid;gap:8px;padding:12px;min-width:0}#recipe-editor-dialog .step-editor-top{display:flex;justify-content:space-between;align-items:center;gap:8px}#recipe-editor-dialog .step-simple-actions{display:flex;gap:5px}#recipe-editor-dialog .step-simple-actions button{width:42px;height:42px;min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:0;display:grid;place-items:center}#recipe-editor-dialog .step-simple-actions button:disabled{opacity:.3}#recipe-editor-dialog .step-text{min-height:96px;resize:vertical;width:100%}#recipe-editor-dialog .step-extra-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center}#recipe-editor-dialog .step-extra-tools .step-photo-tools{display:flex;flex-wrap:wrap;gap:6px;margin:0;flex:1}#recipe-editor-dialog .step-extra-tools button,#recipe-editor-dialog .step-photo-label{min-height:42px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:var(--surface);color:var(--teal-2);width:auto;display:inline-flex;align-items:center;justify-content:center;font-size:.83rem}#recipe-editor-dialog .step-photo-remove[hidden]{display:none}#recipe-editor-dialog .insert-step-after{min-height:36px;margin:0;background:transparent;border:0;color:var(--muted);font-size:.8rem}#recipe-editor-dialog .manual-step-timers:empty{display:none}
@media(max-width:520px){#recipe-editor-dialog .ingredient-quick-add{grid-template-columns:1fr}#recipe-editor-dialog .ingredient-quick-bottom button{flex:1}#recipe-editor-dialog .ingredient-card-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#recipe-editor-dialog .ingredient-card-fields>.structured-name,#recipe-editor-dialog .ingredient-card-detail-row{grid-column:1/-1}#recipe-editor-dialog .is-group .ingredient-card-fields{grid-template-columns:1fr}#recipe-editor-dialog .is-group .ingredient-row-controls{grid-column:1}#recipe-editor-dialog .ingredient-row-controls button{min-width:40px;width:40px;min-height:40px;height:40px}}
#recipe-editor-dialog .difficulty-option,#recipe-editor-dialog .step-photo-tools,#recipe-editor-dialog .notes-photo-actions,#recipe-editor-dialog .preparation-photo-tools{position:relative}#recipe-editor-dialog .difficulty-option input,#recipe-editor-dialog input.sr-only{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden;clip:rect(0,0,0,0);opacity:0}#recipe-editor-dialog .editor-accordion-content{min-width:0}
/* v49.4 */
#recipe-editor-dialog .cover-photo-actions{position:absolute;top:8px;right:8px;z-index:2;display:flex;gap:6px;align-items:center}
#recipe-editor-dialog .cover-photo-actions[hidden],#recipe-editor-dialog .cover-photo-actions button[hidden]{display:none!important}
#recipe-editor-dialog .cover-photo-actions button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;min-width:44px;padding:0;border:1px solid #ffffff70;border-radius:12px;background:#19241dd9;color:#fff;box-shadow:0 2px 8px #0002}
#recipe-editor-dialog .cover-photo-actions svg{width:22px;height:22px;pointer-events:none}
#recipe-editor-dialog .ingredient-quick-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px;background:transparent;border:0;box-shadow:none}
#recipe-editor-dialog .ingredient-quick-name-label{grid-column:1;min-width:0;margin:0;padding:0}
#recipe-editor-dialog .ingredient-quick-name-label input{width:100%;min-width:0;min-height:44px;margin:0;font-size:1rem}
#recipe-editor-dialog .ingredient-quick-submit{grid-column:2;min-width:0;min-height:44px;padding:8px 12px;margin:0;max-width:none;white-space:nowrap;font-size:.85rem}
#recipe-editor-dialog .ingredient-quick-group{grid-column:1;justify-self:start;width:auto;min-height:36px;padding:5px 9px;font-size:.8rem;margin:0;background:transparent;color:var(--teal-2);border:0;box-shadow:none}
#recipe-editor-dialog .ingredient-quick-hint{grid-column:1/-1;margin:0;font-size:.75rem;line-height:1.3;min-height:0}
#recipe-editor-dialog .ingredient-editor-heading{display:none}
#recipe-editor-dialog .structured-ingredients-panel{padding:8px;min-width:0}
#recipe-editor-dialog .structured-ingredients-list,#recipe-editor-dialog #ingredient-bulk-preview-list{display:grid;gap:5px;min-width:0}
#recipe-editor-dialog .structured-ingredient-row.compact-editor-ingredient{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;padding:3px 4px 3px 8px;margin:0;min-height:48px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:none;min-width:0}
#recipe-editor-dialog .compact-editor-ingredient.is-group{background:var(--soft-teal);margin-top:6px}
#recipe-editor-dialog .compact-editor-ingredient textarea{display:block;width:100%;min-width:0;max-width:100%;min-height:40px;height:auto;field-sizing:content;resize:none;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.4;padding:8px 0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:.94rem;color:var(--ink)}
#recipe-editor-dialog .compact-editor-ingredient textarea:focus{outline:0;box-shadow:inset 0 -2px var(--teal-2)}
#recipe-editor-dialog .compact-editor-ingredient.is-group textarea{font-weight:700;color:var(--teal-2)}
#recipe-editor-dialog .compact-ingredient-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:0}
#recipe-editor-dialog .compact-ingredient-actions button{display:grid;place-items:center;width:30px;min-width:30px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);box-shadow:none;font-size:1rem}
#recipe-editor-dialog .compact-ingredient-actions .structured-remove{color:var(--danger)}
#recipe-editor-dialog .compact-editor-ingredient:first-child .ingredient-row-move-up,#recipe-editor-dialog .compact-editor-ingredient:last-child .ingredient-row-move-down{opacity:.25}
#recipe-editor-dialog .ingredient-review-warning{grid-column:1/-1;margin:2px 0 5px;font-size:.75rem}
#recipe-editor-dialog .inline-ingredient-actions button{min-height:36px;font-size:.8rem;background:transparent}
#recipe-dialog .ingredient-console .ingredient-list{display:block;padding:0;margin:0;border:0;background:transparent}
#recipe-dialog .ingredient-console .ingredient-row.compact-ingredient{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:7px 0;min-height:44px;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;box-shadow:none;background:transparent}
#recipe-dialog .ingredient-console .compact-ingredient .ingredient-name{display:block;min-width:0;padding:0;margin:0;overflow-wrap:anywhere}
#recipe-dialog .ingredient-console .compact-ingredient .ingredient-name strong{display:block;font-weight:500;font-size:.98rem;line-height:1.4}
#recipe-dialog .ingredient-console .compact-ingredient .ingredient-note{display:block;margin-top:2px;font-size:.78rem;line-height:1.3}
#recipe-dialog .ingredient-console .compact-ingredient .ingredient-amount,#recipe-dialog .ingredient-console .compact-ingredient .ingredient-qualitative{display:block;justify-self:end;max-width:115px;min-width:0;min-height:0;width:auto;text-align:right;white-space:normal;overflow-wrap:anywhere;font-size:.92rem;line-height:1.35;font-weight:600;color:var(--teal-2);padding:8px 4px;border:0;border-radius:4px;box-shadow:none;background:transparent}
#recipe-dialog .ingredient-console .compact-ingredient .ingredient-amount{min-height:40px;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--teal-2) 40%,transparent);text-underline-offset:4px}
#recipe-dialog .ingredient-console .compact-ingredient .ingredient-qualitative{font-weight:400;color:var(--muted)}
#recipe-dialog .ingredient-console .ingredient-group-heading{display:block;padding:12px 0 5px;margin:0;border:0;background:transparent;border-radius:0}
#recipe-dialog .ingredient-console .ingredient-group-heading span{font-weight:700;font-size:.9rem;color:var(--teal-2)}
@media(max-width:360px){#recipe-editor-dialog .structured-ingredients-panel{padding:5px}#recipe-editor-dialog .compact-ingredient-actions button{width:27px;min-width:27px}#recipe-dialog .ingredient-console .compact-ingredient .ingredient-amount,#recipe-dialog .ingredient-console .compact-ingredient .ingredient-qualitative{max-width:92px}}

/* v51.1 – recipe ingredient list, independent of editor */
#recipe-dialog #detail-ingredients .ingredient-console-head{padding:12px 14px;min-height:0;gap:8px}
#recipe-dialog #detail-ingredients .ingredient-console-tools:has(.ingredient-reset[hidden]){display:none}
#recipe-dialog #detail-ingredients .ingredient-console-tools{padding:4px 14px;min-height:0}
#recipe-dialog #detail-ingredients .ingredient-list{padding:4px 14px 6px;list-style:none;box-sizing:border-box}
#recipe-dialog #detail-ingredients .ingredient-row.compact-ingredient{grid-template-columns:minmax(0,1fr) minmax(0,auto);column-gap:12px;row-gap:0;padding:5px 0;min-height:42px;box-sizing:border-box;align-items:center;border-bottom:1px solid var(--line);list-style:none}
#recipe-dialog #detail-ingredients .ingredient-row.compact-ingredient.no-amount{grid-template-columns:minmax(0,1fr)}
#recipe-dialog #detail-ingredients .ingredient-row.compact-ingredient:last-child,#recipe-dialog #detail-ingredients .ingredient-row.compact-ingredient:has(+.ingredient-group-heading){border-bottom:0}
#recipe-dialog #detail-ingredients .ingredient-name{min-width:0;max-width:100%;padding:0;display:block}
#recipe-dialog #detail-ingredients .ingredient-name strong{font-size:.92rem;font-weight:600;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:normal;color:var(--ink)}
#recipe-dialog #detail-ingredients .ingredient-name small{display:block;font-size:.77rem;line-height:1.35;margin:2px 0 0;color:var(--muted);white-space:normal;overflow-wrap:anywhere}
#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-amount,#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-qualitative{width:auto;min-width:0;max-width:110px;padding:3px 4px;margin:0;font-size:.87rem;font-weight:650;line-height:1.3;text-align:right;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;align-self:center;justify-self:end}
#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-amount{min-height:34px;height:auto;display:flex;align-items:center;justify-content:flex-end;color:var(--teal-2);background:var(--surface-soft);border-radius:7px;text-decoration:none}
#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-qualitative{min-height:0;font-weight:400;color:var(--muted)}
#recipe-dialog #detail-ingredients .ingredient-group-heading,#recipe-dialog #detail-ingredients .ingredient-group-heading:first-child{padding:7px 8px;margin:9px 0 2px;background:var(--surface-soft);border:0;border-radius:6px;list-style:none}
#recipe-dialog #detail-ingredients .ingredient-group-heading span{display:block;font-size:.78rem;line-height:1.3;font-weight:700;letter-spacing:0;text-transform:none;color:var(--teal-2);overflow-wrap:anywhere}
#recipe-dialog #detail-ingredients .ingredient-group-heading span::before{display:none}
#recipe-dialog #detail-ingredients .ingredient-cart-action{padding:8px 14px;min-height:48px}
#recipe-dialog #detail-ingredients .ingredient-cart-action small{white-space:normal;line-height:1.3;max-width:none}
@media(max-width:360px){#recipe-dialog #detail-ingredients .ingredient-list{padding-inline:11px}#recipe-dialog #detail-ingredients .ingredient-row.compact-ingredient{column-gap:8px}#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-amount,#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-qualitative{max-width:90px}}

/* v51.1 — compact editor shell and basics only */
#recipe-editor-dialog { --editor-pad: clamp(10px, 2.8vw, 20px); padding:var(--editor-pad); }
#recipe-editor-dialog > .dialog-heading { top:calc(-1 * var(--editor-pad)); margin:calc(-1 * var(--editor-pad)) calc(-1 * var(--editor-pad)) 9px; padding:10px var(--editor-pad); gap:8px; }
#recipe-editor-dialog > .dialog-heading .eyebrow { font-size:.62rem; line-height:1.2; margin:0 0 3px; letter-spacing:.065em; }
#recipe-editor-dialog > .dialog-heading h2 { font-size:clamp(1.3rem,5.3vw,1.85rem); line-height:1.12; overflow-wrap:anywhere; }
#recipe-editor-dialog .editor-heading-actions { gap:6px; flex:none; }
#recipe-editor-dialog .editor-top-save { min-height:40px; padding:0 12px; border-radius:10px; }
#recipe-editor-dialog > .dialog-heading .dialog-close { width:40px; height:40px; min-width:40px; min-height:40px; }
#recipe-editor-dialog .recipe-form { gap:9px; }
#recipe-editor-dialog .editor-flow-hint { font-size:.74rem; line-height:1.35; margin:0 2px; }
#recipe-editor-dialog .editor-section-nav { position:sticky; top:var(--editor-nav-top,56px); z-index:24; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; margin:0; padding:4px; border:1px solid var(--line); border-radius:12px; background:var(--canvas); box-shadow:0 3px 8px #00000008; overflow:visible; }
#recipe-editor-dialog .editor-section-nav button { min-width:0; width:100%; min-height:40px; padding:5px 2px; border:0; border-radius:8px; background:transparent; color:var(--muted); font-size:clamp(.65rem,2.8vw,.82rem); font-weight:650; line-height:1.2; white-space:normal; overflow-wrap:normal; box-shadow:none; }
#recipe-editor-dialog .editor-section-nav button[aria-current="location"] { background:var(--teal); color:white; }
#recipe-editor-dialog [data-editor-section="basics"] > summary { padding:10px 12px; min-height:42px; }
#recipe-editor-dialog [data-editor-section="basics"] > summary span { font-size:1.15rem; }
#recipe-editor-dialog [data-editor-section="basics"] > .editor-accordion-content { padding:12px; gap:10px; }
#recipe-editor-dialog [data-editor-section="basics"] label { gap:4px; font-size:.78rem; line-height:1.3; min-width:0; }
#recipe-editor-dialog [data-editor-section="basics"] input:not([type=radio]):not([type=checkbox]):not(.sr-only),#recipe-editor-dialog [data-editor-section="basics"] select { min-height:40px; padding:8px 10px; border-radius:9px; }
#recipe-editor-dialog [data-editor-section="basics"] .photo-preview { aspect-ratio:2.15; border-radius:11px; min-height:88px; }
#recipe-editor-dialog [data-editor-section="basics"] .form-grid { grid-template-columns:minmax(64px,.65fr) minmax(0,1.6fr); gap:9px 8px; align-items:start; }
#recipe-editor-dialog [data-editor-section="basics"] .form-span-2 { grid-column:1/-1; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-fieldset { min-width:0; padding:0; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-fieldset legend,#recipe-editor-dialog [data-editor-section="basics"] .difficulty-fieldset legend { font-size:.78rem; margin-bottom:4px; color:var(--ink); font-weight:650; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-parts { gap:0; border:1px solid var(--line); border-radius:9px; background:var(--field); overflow:hidden; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-part { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:0; border:0; border-radius:0; background:transparent; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-part + .duration-part { border-left:1px solid var(--line); }
#recipe-editor-dialog [data-editor-section="basics"] .duration-part input:not(.sr-only) { border:0; border-radius:0; padding:6px 3px; min-height:38px; text-align:right; background:transparent; appearance:textfield; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-part input::-webkit-inner-spin-button { appearance:none; }
#recipe-editor-dialog [data-editor-section="basics"] .duration-part small { padding:0 6px 0 2px; font-size:.68rem; color:var(--muted); }
#recipe-editor-dialog [data-editor-section="basics"] .duration-help { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#recipe-editor-dialog [data-editor-section="basics"] .difficulty-options { min-height:40px; gap:2px; padding:3px; border-radius:9px; background:var(--field); }
#recipe-editor-dialog [data-editor-section="basics"] .difficulty-option span { min-height:32px; padding:0 2px; font-size:clamp(.65rem,2.7vw,.78rem); border-radius:6px; white-space:nowrap; }
#recipe-editor-dialog [data-editor-section="basics"] .difficulty-option input:checked + span { background:var(--soft-teal); color:var(--teal-2); box-shadow:none; }
#recipe-editor-dialog [data-editor-section="basics"] .category-field-block { gap:4px; }
#recipe-editor-dialog [data-editor-section="basics"] .category-field-block > small,#recipe-editor-dialog [data-editor-section="basics"] #tags-help { font-size:.68rem; line-height:1.3; color:var(--muted); }
#recipe-editor-dialog [data-editor-section="basics"] .custom-category-field[hidden] { display:none; }
@media(max-width:350px){#recipe-editor-dialog > .dialog-heading h2{font-size:1.24rem}#recipe-editor-dialog [data-editor-section="basics"] > .editor-accordion-content{padding:9px}#recipe-editor-dialog [data-editor-section="basics"] .form-grid{grid-template-columns:minmax(58px,.55fr) minmax(0,1.7fr)}}

/* v51.1 — recipe overview and compact composition; editor unaffected */
#recipe-dialog .detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:16px 0;padding:10px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:center;box-shadow:none}
#recipe-dialog .detail-fact{min-width:0;padding:2px 7px;display:grid;align-content:start;gap:6px}
#recipe-dialog .detail-fact+.detail-fact{border-left:1px solid var(--line)}
#recipe-dialog .detail-fact dt{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:.72rem;line-height:1.2;margin:0;overflow-wrap:anywhere}
#recipe-dialog .detail-fact dt svg{width:20px;height:20px;color:var(--teal-2);flex:none}
#recipe-dialog .detail-fact dd{margin:0;color:var(--ink);font-size:clamp(.84rem,3.5vw,1rem);line-height:1.28;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#recipe-dialog .detail-fact .difficulty-bars rect{fill:currentColor;stroke:none;opacity:.23}
#recipe-dialog .detail-fact-difficulty[data-level="1"] rect:nth-child(1),#recipe-dialog .detail-fact-difficulty[data-level="2"] rect:nth-child(-n+2),#recipe-dialog .detail-fact-difficulty[data-level="3"] rect{opacity:1}
#recipe-dialog #detail-ingredients{margin-top:20px}
#recipe-dialog #detail-ingredients .ingredient-console-head{padding:8px 12px;gap:6px;flex-wrap:nowrap;align-items:center}
#recipe-dialog #detail-ingredients .ingredient-console-head>div:first-child{min-width:0}
#recipe-dialog #detail-ingredients .ingredient-console-head h3{font-size:clamp(1.15rem,5vw,1.65rem);line-height:1.15;overflow-wrap:anywhere}
#recipe-dialog #detail-ingredients .ingredient-servings-control{grid-template-columns:36px minmax(34px,auto) 36px;gap:2px;min-height:40px;padding:2px;border-radius:10px;box-shadow:none;background:var(--surface);border-color:var(--line)}
#recipe-dialog #detail-ingredients .ingredient-servings-control>button{width:36px;min-width:36px;height:38px;min-height:38px;padding:0;border-radius:7px;background:var(--surface-soft);color:var(--teal-2)}
#recipe-dialog #detail-ingredients .ingredient-servings-control .servings-copy{min-width:34px;gap:1px}
#recipe-dialog #detail-ingredients .ingredient-servings-control .servings-value{min-width:0;font-size:.92rem;line-height:1.05}
#recipe-dialog #detail-ingredients .ingredient-servings-control .servings-copy small{margin:0;font-size:.65rem;color:var(--muted)}
#recipe-dialog #detail-ingredients .ingredient-list{padding:3px 12px 4px}
#recipe-dialog #detail-ingredients .ingredient-row.compact-ingredient{min-height:32px;padding:2px 0;column-gap:8px;row-gap:0}
#recipe-dialog #detail-ingredients .ingredient-name strong{font-size:.9rem;line-height:1.3;font-weight:550}
#recipe-dialog #detail-ingredients .ingredient-name small{font-size:.75rem;line-height:1.25;margin-top:2px}
#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-amount,#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-qualitative{max-width:min(110px,32vw);font-size:.85rem;padding:2px 6px;line-height:1.25}
#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-amount{min-height:30px;min-width:44px;justify-content:center;border-radius:6px;background:var(--surface-soft);color:var(--teal-2)}
#recipe-dialog #detail-ingredients .compact-ingredient .ingredient-qualitative{min-height:0;padding:0 2px;text-align:right}
#recipe-dialog #detail-ingredients .ingredient-group-heading,#recipe-dialog #detail-ingredients .ingredient-group-heading:first-child{margin:5px 0 1px;padding:5px 7px;border-radius:5px}
#recipe-dialog #detail-ingredients .ingredient-group-heading:first-child{margin-top:1px}
#recipe-dialog #detail-ingredients .ingredient-console-tools{padding:3px 12px;font-size:.72rem}
#recipe-dialog #detail-ingredients .ingredient-console-tools .ingredient-reset{min-height:34px}
#recipe-dialog #detail-ingredients .ingredient-cart-action{padding:6px 12px;min-height:44px;grid-template-columns:30px minmax(0,1fr) 16px;gap:7px}
#recipe-dialog #detail-ingredients .ingredient-cart-action>span:first-child{width:30px;height:30px;border-radius:8px}
#recipe-dialog #detail-ingredients .ingredient-cart-action small{font-size:.71rem;line-height:1.2}
@media(max-width:350px){#recipe-dialog .detail-fact{padding-inline:4px}#recipe-dialog .detail-fact dt{font-size:.66rem}#recipe-dialog #detail-ingredients .ingredient-console-head{padding-inline:9px}#recipe-dialog #detail-ingredients .ingredient-list{padding-inline:10px}#recipe-dialog #detail-ingredients .ingredient-servings-control{grid-template-columns:32px minmax(30px,auto) 32px}#recipe-dialog #detail-ingredients .ingredient-servings-control>button{width:32px;min-width:32px}#recipe-dialog #detail-ingredients .ingredient-servings-control .servings-copy{min-width:30px}}

/* v51.1 — compact overview facts and diary secondary actions */
#recipe-dialog .detail-facts{margin:10px 0 8px;padding:6px 0;border-radius:10px;text-align:left;background:var(--surface);gap:0}
#recipe-dialog .detail-fact{padding:1px 7px;gap:3px;align-content:start;min-width:0}
#recipe-dialog .detail-fact dt{flex-direction:row;justify-content:center;align-items:center;gap:4px;font-size:clamp(.62rem,2.6vw,.74rem);line-height:1.2;white-space:normal;overflow-wrap:normal}
#recipe-dialog .detail-fact dt svg{width:14px;height:14px;flex:none}
#recipe-dialog .detail-fact dd{text-align:center;font-size:clamp(.78rem,3.2vw,.95rem);line-height:1.25;font-weight:650;overflow-wrap:anywhere}
#recipe-dialog .diary-recipe-link{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:4px 8px;margin:4px 0 0;padding:0;min-width:0}
#recipe-dialog .diary-recipe-link button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;max-width:100%;padding:5px 8px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--teal-2);font-size:.78rem;font-weight:600;line-height:1.25;text-align:left;white-space:normal}
#recipe-dialog .diary-recipe-link button[data-diary-new]{background:var(--surface-soft)}
#recipe-dialog .diary-recipe-link svg{width:15px;height:15px;flex:none}
#recipe-dialog .diary-recipe-link button:focus-visible{outline:2px solid var(--teal-2);outline-offset:2px}
@media(max-width:350px){#recipe-dialog .detail-fact{padding-inline:3px}#recipe-dialog .detail-fact dt{gap:3px;font-size:.62rem}#recipe-dialog .detail-fact dt svg{width:12px;height:12px}#recipe-dialog .diary-recipe-link{gap:3px 5px}#recipe-dialog .diary-recipe-link button{padding-inline:6px}}

/* v51.1 — unified compact ingredient composer */
#recipe-editor-dialog [data-editor-section="ingredients"] > .editor-accordion-content{padding:9px;gap:6px}
#recipe-editor-dialog .ingredient-editor-section{display:grid;gap:7px;min-width:0;padding:0}
#recipe-editor-dialog .ingredient-quick-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:0;margin:0;background:transparent;border:0;box-shadow:none;align-items:center}
#recipe-editor-dialog .ingredient-quick-name-label{grid-column:1/-1;margin:0;min-width:0}
#recipe-editor-dialog #ingredients-input{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:65px;max-height:240px;field-sizing:content;resize:vertical;padding:8px 10px;margin:0;font-size:.9rem;line-height:1.4;border:1px solid var(--line);border-radius:9px;background:var(--field);color:var(--ink)}
#recipe-editor-dialog #ingredients-input[aria-invalid=true]{border-color:var(--danger)}
#recipe-editor-dialog .ingredient-quick-hint{grid-column:1/-1;font-size:.69rem;line-height:1.25;margin:0}
#recipe-editor-dialog .ingredient-quick-submit{grid-column:2;grid-row:3;min-height:38px;padding:5px 14px;border-radius:8px;font-size:.82rem}
#recipe-editor-dialog .ingredient-quick-group{grid-column:1;grid-row:3;min-height:38px;padding:5px 8px;font-size:.8rem}
#recipe-editor-dialog .structured-ingredients-panel{padding:0;border:0;background:transparent;box-shadow:none;gap:3px;min-width:0}
#recipe-editor-dialog .ingredient-list-caption{padding:3px 2px;margin:0;font-size:.78rem;line-height:1.3}
#recipe-editor-dialog .ingredient-list-caption strong{font-size:.84rem}
#recipe-editor-dialog .structured-ingredients-list,#recipe-editor-dialog #ingredient-bulk-preview-list{gap:2px}
#recipe-editor-dialog .structured-ingredient-row.compact-editor-ingredient{padding:0 2px 0 7px;gap:2px;min-height:39px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
#recipe-editor-dialog .compact-editor-ingredient textarea{font-size:.88rem;line-height:1.3;min-height:36px;padding:7px 0;field-sizing:content;overflow-y:auto;max-height:160px}
#recipe-editor-dialog .compact-ingredient-actions button{height:38px;min-height:38px;width:29px;min-width:29px;font-size:.94rem}
#recipe-editor-dialog .compact-editor-ingredient.is-group{margin-top:4px;background:var(--soft-teal);border:0;border-radius:6px}
#recipe-editor-dialog .ingredient-bulk-review[hidden]{display:none!important}
#recipe-editor-dialog .ingredient-bulk-review{padding:7px;gap:5px;margin:0;min-width:0}
#recipe-editor-dialog .structured-ingredients-empty{font-size:.78rem;padding:4px 2px;margin:0}
@media(max-width:350px){#recipe-editor-dialog [data-editor-section="ingredients"] > .editor-accordion-content{padding:6px}#recipe-editor-dialog .compact-ingredient-actions button{width:26px;min-width:26px}}

/* v51.1: compact recipe actions and unified wordmark */
.topbar .nyamli-brand{gap:3px}
#recipe-dialog .detail-primary-actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:6px;margin:8px 0 0;min-width:0}
#recipe-dialog .detail-primary-actions.has-start{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}
#recipe-dialog .detail-primary-actions .diary-recipe-link{display:contents}
#recipe-dialog .detail-primary-actions .detail-start-early,#recipe-dialog .detail-primary-actions button[data-diary-new]{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0;min-height:44px;height:auto;margin:0;padding:7px 8px;border-radius:10px;text-align:center;font:650 .8rem/1.2 var(--editorial-sans);white-space:normal;box-sizing:border-box}
#recipe-dialog .detail-primary-actions .detail-start-early span,#recipe-dialog .detail-primary-actions button[data-diary-new] span{flex:0 1 auto;min-width:0;overflow-wrap:anywhere}
#recipe-dialog .detail-primary-actions .detail-start-early svg,#recipe-dialog .detail-primary-actions button[data-diary-new] svg{width:17px;height:17px;flex:none}
#recipe-dialog .detail-primary-actions .detail-start-early svg:last-child{display:none}
#recipe-dialog .detail-primary-actions button[data-diary-new]{border:1px solid var(--line);color:var(--teal-2);background:var(--surface-soft)}
#recipe-dialog .detail-primary-actions button[data-diary-filter]{grid-column:1/-1;justify-self:start;min-height:32px;padding:4px 8px}
@media(max-width:360px){#recipe-dialog .detail-primary-actions .detail-start-early,#recipe-dialog .detail-primary-actions button[data-diary-new]{gap:4px;padding-inline:5px;font-size:.75rem}}

/* v51.1: compact home header and balanced quick actions */
#home-screen .welcome-row{margin:2px 0 12px;align-items:center;gap:10px}
#home-screen .welcome-row>div{flex:1;min-width:0}
#home-screen .welcome-row .eyebrow{margin:0 0 4px;font-size:.68rem;letter-spacing:.08em;line-height:1.25}
#home-screen #home-title{font-size:clamp(1.52rem,5.65vw,2.35rem);line-height:1.13;letter-spacing:-.035em;overflow-wrap:normal}
#home-screen .welcome-row .editorial-intro{margin:4px 0 0;font-size:.79rem;line-height:1.35}
#home-screen .welcome-row .round-action{margin:0;width:44px;height:44px;flex:none;box-shadow:none}
#home-screen .search-box,html[data-theme="dark"] #home-screen .search-box{height:44px;min-height:44px;margin-bottom:14px;border-radius:11px}
#home-screen .section-heading.compact-heading{margin:17px 0 8px}
#home-screen .compact-heading h2{font-size:1.25rem;line-height:1.2}
#home-screen .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:stretch;grid-auto-rows:1fr}
#home-screen .quick-grid .quick-card,html[data-theme="dark"] #home-screen .quick-grid .quick-card{grid-column:auto;min-width:0;min-height:60px;height:auto;margin:0;padding:8px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;border-radius:11px;text-align:left;box-shadow:none}
#home-screen .quick-grid .quick-card>span:last-child{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
#home-screen .quick-grid .quick-card .quick-icon{width:29px;height:29px;flex:none;border-radius:8px;display:grid;place-items:center}
#home-screen .quick-grid .quick-icon svg{width:17px;height:17px}
#home-screen .quick-grid .quick-card strong{font-size:.81rem;font-weight:650;line-height:1.23;overflow-wrap:normal;hyphens:auto}
#home-screen .quick-grid .quick-card small{font-size:.69rem;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:350px){#home-screen .quick-grid .quick-card,html[data-theme="dark"] #home-screen .quick-grid .quick-card{padding:6px;gap:5px}#home-screen .quick-grid .quick-card .quick-icon{width:25px;height:25px}#home-screen .quick-grid .quick-card strong{font-size:.77rem}#home-screen .quick-grid .quick-card small{font-size:.66rem}}
@media(min-width:760px){#home-screen .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#home-screen .quick-grid .quick-card,html[data-theme="dark"] #home-screen .quick-grid .quick-card{padding:10px;gap:9px;min-height:62px}}

/* v51.1 — compact recipe toolbar and pantry */
#recipe-dialog .detail-floating-actions{min-height:44px;padding:calc(3px + env(safe-area-inset-top)) 10px 3px;gap:7px}
#recipe-dialog .detail-toolbar-label{font-size:.78rem}
#recipe-dialog .detail-action-group{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:12px;background:var(--canvas);padding:0 2px}
#recipe-dialog .detail-action-group .floating-close,#recipe-dialog .detail-floating-actions>.detail-close-compact{position:static;flex:0 0 40px;width:40px;height:38px;min-width:40px;min-height:38px;border:0;border-radius:9px;background:transparent!important;color:var(--ink)!important;box-shadow:none;backdrop-filter:none;pointer-events:auto;display:grid;place-items:center;padding:0}
#recipe-dialog .detail-action-group .floating-close.is-active{color:var(--editorial-accent-text)!important;background:var(--soft-sun)!important}
#recipe-dialog .detail-action-group .floating-close svg,#recipe-dialog .detail-close-compact svg{width:19px;height:19px}
#recipe-dialog .detail-floating-actions>.detail-close-compact{background:var(--canvas)!important;border:1px solid var(--line)}
#pantry-screen .page-title-row{gap:8px;align-items:center}
#pantry-screen .page-title-row>div{min-width:0}
#pantry-screen .page-title-row h1{font-size:clamp(1.55rem,6vw,2.2rem);line-height:1.1;overflow-wrap:anywhere}
#pantry-screen .pantry-intro{margin:6px 0 12px;font-size:.8rem;line-height:1.4}
#pantry-screen .pantry-box{gap:8px;padding:12px;border-radius:16px}
#pantry-form{align-items:stretch}
#pantry-input{resize:vertical;min-height:44px;max-height:160px;line-height:1.4;font:inherit;padding:10px;display:block;field-sizing:content}
.pantry-hint{color:var(--muted);font-size:.72rem;line-height:1.4}
#pantry-screen .pantry-basics{min-height:36px;line-height:1.3}
#pantry-screen .pantry-chips{gap:5px}
#pantry-screen .pantry-chips button{min-height:34px;padding:5px 9px;line-height:1.3}
#pantry-screen .pantry-results-heading{margin-top:16px;gap:7px}
#pantry-filter{max-width:100%;min-height:40px;padding:7px;font-size:.8rem}
#pantry-result-count{margin:6px 0 8px}
#pantry-results{gap:8px}
#pantry-screen .pantry-result{gap:6px;padding:11px 12px;border-radius:14px}
#pantry-screen .pantry-recipe-title{min-height:36px;font-size:1.05rem;flex:1}
.pantry-recipe-title span{color:var(--muted);font-family:system-ui}
#pantry-screen .pantry-result p{line-height:1.4;font-size:.8rem}
.pantry-present,.pantry-result.is-ready>p:not(.pantry-optional){color:var(--teal-2)}
#pantry-screen .pantry-buy{min-height:38px;padding:6px 9px;justify-self:start}
#pantry-screen [hidden]{display:none!important}
/* Keep the input wide; global primary-button width must not stretch this form. */
#pantry-screen #pantry-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px}
#pantry-screen #pantry-input{width:100%;min-width:0;max-width:100%;height:auto;min-height:44px;field-sizing:fixed;resize:vertical;box-sizing:border-box;font-size:16px}
#pantry-screen #pantry-form>button{width:auto;min-width:0;max-width:100%;min-height:44px;align-self:start;justify-self:end;padding:8px 10px}

/* v51.1 — compact duration pair and step editor */
#recipe-editor-dialog [data-editor-section="basics"] .editor-duration-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;align-items:start}
#recipe-editor-dialog [data-editor-section="basics"] .editor-duration-pair .duration-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
#recipe-editor-dialog [data-editor-section="basics"] .editor-duration-pair .duration-part{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:0 0 4px}
#recipe-editor-dialog [data-editor-section="basics"] .editor-duration-pair .duration-part input:not([type=radio]):not([type=checkbox]):not(.sr-only){display:block;width:100%;min-width:0;min-height:30px;height:30px;margin:0;padding:2px 0;border:0;border-radius:0;background:transparent;text-align:center;font-size:clamp(.78rem,3.4vw,1rem);font-variant-numeric:tabular-nums}
#recipe-editor-dialog [data-editor-section="basics"] .editor-duration-pair .duration-part small{display:block;text-align:center;padding:0;font-size:.65rem;line-height:1.1}
#recipe-editor-dialog [data-editor-section="steps"] > .editor-accordion-content{padding:10px;gap:7px}
#recipe-editor-dialog .step-editor-section{display:grid;gap:7px}
#recipe-editor-dialog .step-editor-heading{display:block;margin:0;min-width:0}
#recipe-editor-dialog .step-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:none;width:100%}
#recipe-editor-dialog .step-editor-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;margin:0;padding:4px 5px;border:1px solid var(--line);border-radius:9px;font-size:.76rem;line-height:1.2;white-space:normal;min-width:0;box-shadow:none}
#recipe-editor-dialog .step-editor-actions #import-steps-button{background:var(--surface);color:var(--teal-2)}
#recipe-editor-dialog .step-editor-list{display:grid;gap:7px;min-width:0}
#recipe-editor-dialog .step-editor{display:grid;gap:6px;padding:8px;min-width:0;border-radius:11px;background:var(--surface-soft)}
#recipe-editor-dialog .step-editor-top{margin:0;gap:5px;min-height:34px;align-items:center}
#recipe-editor-dialog .step-editor-title{min-width:0;display:flex;align-items:center;gap:0}
#recipe-editor-dialog .step-number{font-size:.82rem;font-weight:750;color:var(--teal-2);white-space:nowrap}
#recipe-editor-dialog .step-simple-actions{display:flex;gap:3px;flex:none;align-items:center}
#recipe-editor-dialog .step-simple-actions button{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;margin:0;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;box-shadow:none}
#recipe-editor-dialog .step-simple-actions .step-remove{color:var(--danger)}
#recipe-editor-dialog .step-editor textarea.step-text{min-height:64px;line-height:1.4;padding:8px 9px;margin:0;border-radius:8px;font-size:.9rem;resize:vertical;box-sizing:border-box;background:var(--field)}
#recipe-editor-dialog .step-extra-tools{display:flex;align-items:stretch;gap:4px;flex-wrap:nowrap;margin:0;min-width:0}
#recipe-editor-dialog .step-extra-tools .step-photo-tools{display:flex;align-items:stretch;gap:3px;flex:1;min-width:0;margin:0;flex-wrap:nowrap}
#recipe-editor-dialog .step-extra-tools button,#recipe-editor-dialog .step-extra-tools .step-photo-label{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;min-width:0;width:auto;min-height:36px;height:auto;padding:4px 3px;margin:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--teal-2);font-size:.74rem;line-height:1.1;font-weight:650;white-space:nowrap;box-shadow:none}
#recipe-editor-dialog .step-extra-tools .step-photo-remove{flex:0 0 29px;min-width:29px;padding:0;color:var(--danger)}
#recipe-editor-dialog .step-extra-tools .step-photo-remove[hidden]{display:none}
#recipe-editor-dialog .step-extra-tools .insert-step-after{background:transparent;border-style:dashed}
#recipe-editor-dialog .step-editor svg,#recipe-editor-dialog .step-editor-actions svg,#recipe-editor-dialog .add-step-bottom svg{width:16px;height:16px;flex:0 0 16px;display:block}
#recipe-editor-dialog .step-editor .manual-step-timers{margin:0;gap:4px}
#recipe-editor-dialog .step-editor .manual-step-timers:empty{display:none}
#recipe-editor-dialog .step-editor .manual-timer-chip{background:var(--surface);border-color:var(--line);border-radius:8px;padding:2px 4px 2px 6px}
#recipe-editor-dialog .step-editor .step-photo-preview{margin:0;border-radius:8px;max-height:180px!important;object-fit:contain!important}
#recipe-editor-dialog .add-step-bottom{min-height:38px;margin:0;border-radius:9px;background:var(--soft-teal);border-color:var(--line);color:var(--teal-2);font-size:.8rem}
#recipe-editor-dialog .step-editor-help{margin:0;font-size:.68rem;color:var(--muted)}
@media(max-width:350px){#recipe-editor-dialog .step-extra-tools button,#recipe-editor-dialog .step-extra-tools .step-photo-label{font-size:.69rem;gap:2px}#recipe-editor-dialog .step-editor svg{width:14px;height:14px;flex-basis:14px}#recipe-editor-dialog .step-extra-tools .step-photo-remove{flex-basis:24px;min-width:24px}}

/* v51.1 local recipe import */
.smart-import-dialog{width:min(94vw,540px);max-height:90dvh;overflow-y:auto;padding:18px;color:var(--ink);background:var(--canvas);border:1px solid var(--line);border-radius:18px;text-align:left}
.smart-import-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.smart-import-header h2{font-size:1.45rem;line-height:1.15;margin:0}.smart-import-header .eyebrow{font-size:.68rem;margin:0 0 4px}.smart-import-header .dialog-close{position:static;flex:none;width:40px;height:40px;min-width:40px}
.recipe-create-options{display:grid;gap:7px}.recipe-create-options button{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:64px;text-align:left;padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}.recipe-create-options button>span:nth-child(2){display:grid;gap:3px;min-width:0}.recipe-create-options strong{font-size:.94rem}.recipe-create-options small{font-size:.75rem;color:var(--muted);line-height:1.3}.create-mode-icon{width:38px;height:38px;background:var(--soft-teal);color:var(--teal-2);border-radius:9px;display:grid;place-items:center}.recipe-create-options svg{width:18px;height:18px}.recipe-create-options .recipe-create-link{grid-template-columns:1fr 18px;min-height:40px;background:transparent;border:0;font-size:.8rem;color:var(--teal-2)}
#smart-import-form{display:grid;gap:9px}.smart-import-help{font-size:.8rem;line-height:1.4;color:var(--muted);margin:0}.smart-import-input-label{display:grid;gap:5px;font-size:.8rem;font-weight:650;min-width:0}#smart-import-input{width:100%;min-width:0;box-sizing:border-box;resize:vertical;min-height:160px;max-height:48dvh;font:400 16px/1.45 system-ui;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--field);color:var(--ink)}.smart-import-tools{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:.78rem;color:var(--teal-2)}.smart-import-tools[hidden]{display:none}.smart-import-tools a,.smart-import-file{color:var(--teal-2);text-decoration:underline;cursor:pointer;min-height:36px;display:inline-flex;align-items:center}.smart-import-file:focus-within{outline:2px solid var(--teal-2)}#smart-import-status{margin:0;font-size:.8rem;color:var(--ink);overflow-wrap:anywhere}#smart-import-status:empty{display:none}.smart-import-footer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.smart-import-footer button{min-height:44px;border-radius:9px;padding:8px 12px;font-size:.84rem}.smart-import-footer #smart-import-back{border:1px solid var(--line);color:var(--ink);background:var(--surface)}
#recipe-import-review{margin:4px 0 10px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:.79rem;line-height:1.4;overflow-wrap:anywhere}#recipe-import-review[hidden]{display:none}#recipe-import-review summary{cursor:pointer;font-weight:650;color:var(--teal-2)}#recipe-import-review ul{margin:8px 0;padding-left:19px;max-height:180px;overflow:auto}#recipe-import-review pre{white-space:pre-wrap;overflow-wrap:anywhere;font:400 .76rem/1.4 system-ui;max-height:240px;overflow:auto;background:var(--field);padding:8px;border-radius:8px}

#recipe-editor-dialog .recipe-import-summary{font-size:.78rem;line-height:1.5;color:var(--teal-2);font-weight:650;margin:6px 0 4px;overflow-wrap:anywhere}
#recipe-editor-dialog .recipe-import-summary[hidden]{display:none!important}

/* Cloud Sync — settings card */
.cloud-card{display:grid;gap:9px}.cloud-card [hidden]{display:none!important}.cloud-login,.cloud-controls,#cloud-account,#cloud-choices{display:grid;gap:7px;min-width:0}.cloud-login label{display:grid;gap:4px;font-size:.78rem}.cloud-login input{min-width:0;width:100%;min-height:44px;padding:8px 10px;border-radius:9px;font-size:16px;box-sizing:border-box}.cloud-card small{font-size:.73rem;line-height:1.4;color:var(--muted)}.cloud-status{padding:9px 10px;border-radius:9px;background:var(--surface-soft);font-size:.82rem;line-height:1.4;overflow-wrap:anywhere}.cloud-status[data-state="error"],.cloud-status[data-state="conflict"]{border:1px solid var(--danger)}.cloud-status[data-state="ok"]{color:var(--teal-2)}.cloud-controls{grid-template-columns:minmax(0,1fr) auto}.cloud-controls button,.cloud-card button{min-height:42px;line-height:1.3;font-size:.8rem;white-space:normal}.cloud-controls button:last-child{width:auto;padding-inline:12px}.cloud-card #cloud-email-label{font-size:.85rem;overflow-wrap:anywhere}.cloud-card #cloud-choices{border-top:1px solid var(--line);padding-top:8px}
