@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/dm-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-700.ttf) format('truetype');
}
:root{color-scheme:light;--canvas:#F7F8F5;--surface:#fff;--ink:#1B1F3B;--muted:#62696C;--sage:#8AA793;--soft:#E6EEE8;--line:#DEE2DD;--side:#fff;--danger:#A23F37;--shadow:0 16px 50px #1b1f3b18;--button-ink:#1B1F3B}
:root[data-theme=dark]{color-scheme:dark;--canvas:#171B25;--surface:#222735;--ink:#F2F3EF;--muted:#B6BDC5;--sage:#A7C4AF;--soft:#2C3833;--line:#3C4350;--side:#1B1F3B;--danger:#FFB8AE;--shadow:0 16px 50px #0005}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:16px/1.55 'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16}h1,h2,.recipe-card h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}h1{font-size:clamp(32px,3vw,44px)}h2{font-size:28px}h3{font-size:18px}img{max-width:100%;display:block}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--sage);outline-offset:3px}button,input,select,textarea{border-radius:9px}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}.skip-link{position:fixed;left:12px;top:-60px;z-index:300;background:var(--surface);padding:12px}.skip-link:focus{top:12px}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:12px;letter-spacing:.11em;text-transform:uppercase;font-weight:650;color:var(--muted)}.button{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:11px 17px;display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;font-size:14px;font-weight:600;white-space:nowrap}.button.primary{background:var(--sage);border-color:var(--sage);color:var(--button-ink)}.button.quiet{background:transparent;border-color:transparent}.button.danger{color:var(--danger)}.button.small{padding:7px 11px;min-height:36px}.button:hover{filter:brightness(.97)}.icon-button{border:1px solid var(--line);background:var(--surface);padding:10px;min-width:42px;min-height:42px;display:inline-grid;place-items:center}.icon-button.ghost{border:0;background:transparent}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.push{margin-left:auto}.field{display:grid;gap:7px;font-size:14px;font-weight:600}.field input,.field textarea,.field select{width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:11px 12px;font-size:16px;font-weight:400;min-width:0}.field textarea{resize:vertical;min-height:110px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%238AA793' stroke-width='2'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:18px!important;background-position:right 10px center!important;padding-right:34px!important}.preview-bar{position:sticky;top:0;z-index:50;padding:8px 22px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:12px;min-height:53px}.preview-label{display:flex;gap:8px;align-items:center;color:var(--muted);white-space:nowrap}.preview-dot{width:7px;height:7px;background:var(--sage);border-radius:50%}.device-picker{display:flex;gap:3px}.device-picker button{background:transparent;border:0;padding:6px 10px;font-size:12px;color:var(--muted)}.device-picker button[aria-pressed=true]{background:var(--soft);color:var(--ink)}.preview-share{background:var(--soft);border:0;padding:7px 12px;font-size:12px;font-weight:600;white-space:nowrap}.preview-stage{padding:0;display:flex;justify-content:center}#app-frame{container:app / inline-size;width:100%;max-width:1800px;transition:max-width .25s;background:var(--canvas)}#app-frame[data-device=mobile]{max-width:414px;border-left:1px solid var(--line);border-right:1px solid var(--line);margin:24px 0;border-radius:20px;overflow:clip;box-shadow:var(--shadow)}#app-frame[data-device=ipad]{max-width:1180px;margin:24px 0;border:1px solid var(--line);border-radius:16px;overflow:clip;box-shadow:var(--shadow)}#app-frame[data-device=desktop]{max-width:1512px}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100dvh - 53px)}.sidebar{position:sticky;top:53px;align-self:start;height:calc(100dvh - 53px);background:var(--side);border-right:1px solid var(--line);padding:20px 14px;display:flex;flex-direction:column}.brand-link{display:block;margin:0 7px 30px}.brand-logo{width:182px;height:auto}.logo-dark{display:none}[data-theme=dark] .logo-light{display:none}[data-theme=dark] .logo-dark{display:block}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 15px;border:0;background:transparent;border-radius:9px;font-size:15px;font-weight:500;width:100%;margin-bottom:5px;text-align:left}.nav-item[aria-current=page]{background:var(--soft);font-weight:650}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:21px 10px 0;margin-top:17px}.profile strong{display:block;font-weight:600;font-size:14px}.profile small{display:block;color:var(--muted);font-size:12px}.avatar{width:37px;height:37px;background:var(--soft);border-radius:50%;display:grid;place-items:center;font:23px Georgia,serif}.app-content{min-width:0}.mobile-header,.mobile-nav{display:none}main{padding:40px clamp(24px,3.5vw,58px) 48px;max-width:1480px;margin:auto;outline:none}.page-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:27px}.page-heading p{margin-top:8px;font-size:15px;color:var(--muted)}.page-actions{display:flex;gap:10px;align-items:center}.theme-toggle{display:flex;gap:2px;border:1px solid var(--line);border-radius:20px;padding:3px;background:var(--surface)}.theme-toggle button{background:none;border:0;display:flex;align-items:center;gap:5px;padding:6px 10px;font-size:12px;border-radius:16px}.theme-toggle button.active{background:var(--soft)}.theme-toggle svg{width:15px;height:15px}.search-box{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:12px 15px;margin-bottom:18px;color:var(--muted)}.search-box input{border:0;background:transparent;width:100%;min-width:0;outline:none;font-size:16px;color:var(--ink)}.search-box kbd{font:12px inherit;border:1px solid var(--line);padding:1px 6px;border-radius:4px}.filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px}.filter-chip{border:1px solid var(--line);background:var(--surface);padding:8px 12px;font-size:14px;display:flex;align-items:center;gap:7px;border-radius:8px}.filter-chip[aria-pressed=true]{background:var(--soft);border-color:var(--soft);font-weight:650}.filter-chip svg{width:16px;height:16px}.filter-bar select{background:var(--surface);color:var(--ink);border:1px solid var(--line);font-size:14px;min-height:39px;padding:8px 11px}.view-picker{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.view-picker button{border:0;background:var(--surface);border-radius:0;padding:9px;display:grid;place-items:center}.view-picker button[aria-pressed=true]{background:var(--soft)}.view-picker svg{width:18px;height:18px}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.recipe-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.recipe-card{position:relative;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden;transition:box-shadow .2s,transform .2s}.recipe-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.recipe-card>a{display:block}.recipe-image{aspect-ratio:1.55;object-fit:cover;width:100%;background:var(--soft)}.recipe-card .card-copy{padding:16px 18px 19px}.recipe-card h3{font-size:25px;line-height:1.17;margin-bottom:8px}.card-meta{font-size:13px;color:var(--muted);display:flex;gap:8px;align-items:center}.card-meta svg{width:14px;height:14px}.card-favorite{position:absolute;right:13px;top:13px;width:36px;height:36px;border:1px solid #fff6;background:#15201d60;color:white;border-radius:50%;display:grid;place-items:center;backdrop-filter:blur(8px)}.card-favorite[aria-pressed=true] svg{fill:currentColor}.card-favorite svg{width:20px;height:20px}.recipe-grid.compact .recipe-card h3{font-size:21px}.empty-state{grid-column:1/-1;padding:58px 25px;text-align:center;border:1px dashed var(--line);border-radius:14px;background:var(--surface)}.empty-state svg{width:35px;height:35px;color:var(--sage);margin-bottom:16px}.empty-state h2{font-size:28px}.empty-state p{color:var(--muted);margin:12px 0 20px}.prototype-note{font-size:12px;color:var(--muted);margin-top:25px}.detail-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.back-link{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.detail-hero{width:100%;aspect-ratio:2.55;object-fit:cover;border-radius:14px}.detail-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:26px 0 20px}.detail-intro h1{max-width:760px}.detail-intro .description{max-width:670px;margin-top:13px;color:var(--muted);font-size:15px}.recipe-stats{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:12px 0;color:var(--muted);font-size:14px}.recipe-stats span{display:flex;gap:6px;align-items:center}.recipe-stats svg{width:16px;height:16px}.detail-actions{margin-bottom:28px}.detail-body{display:grid;grid-template-columns:minmax(240px,.8fr) 1.2fr;gap:24px}.detail-panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:23px}.panel-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:17px}.panel-heading h2{font-size:26px}.servings-stepper{display:flex;align-items:center;gap:9px;background:var(--soft);border-radius:8px;padding:2px}.servings-stepper button{border:0;background:transparent;min-height:32px;min-width:30px;font-size:20px}.servings-stepper output{font-size:14px;min-width:21px;text-align:center;font-weight:600}.ingredient-row{display:flex;align-items:flex-start;gap:11px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}.ingredient-row:last-child{border-bottom:0}.ingredient-row input{accent-color:var(--sage);width:18px;height:18px;margin:3px 0 0;flex:none}.ingredient-row:has(input:checked) span{text-decoration:line-through;color:var(--muted)}.method-step{display:flex;gap:13px;padding:12px 0 20px;font-size:15px;line-height:1.65}.step-number{display:grid;place-items:center;border-radius:50%;background:var(--soft);width:29px;height:29px;font-size:14px;flex:none}.detail-notes{margin-top:24px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px 23px}.detail-notes summary{font-weight:600;cursor:pointer}.detail-notes p{margin-top:15px;color:var(--muted);font-size:15px}.week-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:23px;flex-wrap:wrap}.week-label{font-size:17px;font-weight:600;margin:0 8px}.plan-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.plan-day{background:var(--surface);border:1px solid var(--line);border-radius:11px;min-height:340px;padding:12px 9px;min-width:0}.day-heading{display:flex;justify-content:space-between;align-items:center;padding:3px 3px 12px;border-bottom:1px solid var(--line);margin-bottom:12px}.day-heading strong{font-size:14px}.day-heading span{font-size:13px;color:var(--muted)}.plan-day.today .day-heading strong{background:var(--sage);color:var(--button-ink);border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.add-meal-button{display:flex;justify-content:center;align-items:center;width:100%;min-height:40px;margin-top:12px;background:transparent;border:1px dashed var(--line);color:var(--muted);font-size:12px}.add-meal-button svg{width:14px;height:14px}.plan-meal{position:relative;margin-bottom:12px}.plan-meal img{aspect-ratio:1.2;object-fit:cover;border-radius:7px;width:100%}.plan-meal h3{font-size:12px;line-height:1.35;margin:6px 0}.meal-type{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.remove-meal{position:absolute;right:3px;top:23px;border:0;background:#1B1F3Baa;color:white;width:23px;height:23px;padding:4px;border-radius:50%;display:grid;place-items:center}.remove-meal svg{width:14px;height:14px}.plan-empty-note{padding:25px 0;font-size:15px;color:var(--muted)}.shopping-layout{max-width:850px}.shopping-add{display:flex;gap:10px;margin-bottom:28px}.shopping-add input{flex:1;min-width:0;padding:12px 15px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}.shopping-group{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:7px 20px;margin-bottom:19px}.shopping-group h2{font-family:inherit;font-size:13px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);padding:16px 0 12px}.shopping-item{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.shopping-item label{display:flex;gap:12px;align-items:center;flex:1;min-width:0;font-size:16px}.shopping-item input{width:20px;height:20px;flex:none;accent-color:var(--sage)}.shopping-item small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.shopping-item.checked .item-text{text-decoration:line-through;color:var(--muted)}.shopping-item .icon-button{border:0;min-width:30px;min-height:30px;padding:5px;color:var(--muted)}.shopping-item .icon{width:17px;height:17px}.settings-layout{max-width:780px}.settings-section{border:1px solid var(--line);background:var(--surface);padding:23px;border-radius:13px;margin-bottom:20px}.settings-section h2{font-size:25px;margin-bottom:10px}.settings-section p{color:var(--muted);font-size:14px;margin-bottom:18px}.settings-row{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:13px 0}.settings-row+.settings-row{border-top:1px solid var(--line)}.settings-row small{display:block;color:var(--muted);font-size:13px}.trash-item{display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.trash-item img{width:53px;height:45px;object-fit:cover;border-radius:7px}.trash-item strong{font-size:14px}dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:0;width:min(620px,calc(100% - 28px));max-height:90dvh;overflow:auto;box-shadow:var(--shadow)}dialog::backdrop{background:#0a101c91;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line);gap:15px}.modal-head h2{font-size:27px}.modal-body{padding:25px}.modal-body>p{margin-bottom:20px;color:var(--muted);font-size:15px}.modal-form{display:grid;gap:18px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:12px}.edit-photo{position:relative;width:100%;height:170px;border-radius:10px;overflow:hidden;background:var(--soft)}.edit-photo>img{width:100%;height:100%;object-fit:cover}.photo-change{position:absolute;bottom:12px;right:12px}.form-error{color:var(--danger);font-size:14px}.recipe-pick{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1px solid var(--line);background:var(--surface);padding:10px;margin-top:10px}.recipe-pick img{width:73px;height:57px;object-fit:cover;border-radius:7px}.recipe-pick strong{display:block;font-size:15px}.recipe-pick small{color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;padding:13px 22px;border:1px solid var(--line);border-radius:11px;background:var(--ink);color:var(--canvas);box-shadow:var(--shadow);z-index:300;font-size:14px;max-width:calc(100vw - 30px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.cook-dialog{width:min(1000px,calc(100% - 28px))}.cook-top{padding:24px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.cook-top .eyebrow{margin-bottom:4px}.cook-top h2{font-size:24px}.cook-content{display:grid;grid-template-columns:.7fr 1.3fr;min-height:410px}.cook-ingredients{border-right:1px solid var(--line);padding:24px;background:var(--canvas)}.cook-ingredients h3{font-family:Georgia,serif;font-size:23px;font-weight:400;margin-bottom:12px}.cook-step{padding:40px;display:flex;flex-direction:column;justify-content:center}.cook-step .step-label{color:var(--muted);font-size:14px;margin-bottom:14px}.cook-instruction{font-family:Georgia,serif;font-size:32px;line-height:1.4;letter-spacing:-.02em}.cook-progress{height:4px;background:var(--soft)}.cook-progress>div{height:100%;background:var(--sage)}.cook-bottom{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-top:1px solid var(--line);gap:15px;flex-wrap:wrap}.timer-control{display:flex;align-items:center;gap:7px}.timer-control input{width:58px;padding:7px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}.timer-control output{font-variant-numeric:tabular-nums;font-weight:600;min-width:46px}.timer-control .small{color:var(--muted)}.share-demo-dialog{width:min(470px,calc(100% - 18px));max-height:95dvh;background:var(--canvas);overflow:auto}.share-demo-top{padding:13px 16px;display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface)}.share-demo-top strong{font-size:13px}.share-demo-top small{display:block;font-size:11px;color:var(--muted)}.source-screen{position:relative;min-height:720px;background:var(--surface);overflow:hidden}.source-toolbar{display:flex;gap:8px;align-items:center;padding:13px;border-bottom:1px solid var(--line)}.source-url{flex:1;background:var(--canvas);padding:7px 9px;border-radius:7px;font-size:12px;text-align:center;color:var(--muted)}.source-brand{text-align:center;padding:20px;font:24px Georgia,serif}.source-photo{height:300px;width:100%;object-fit:cover}.source-copy{padding:23px}.source-copy h1{font-size:32px;margin:9px 0 14px}.source-copy p{font-size:14px;color:var(--muted)}.source-copy .button{margin-top:20px}.sheet-shade{position:absolute;inset:0;background:#0b13214d}.share-sheet{position:absolute;bottom:0;left:0;right:0;border-radius:23px 23px 0 0;background:var(--surface);padding:13px 20px 24px;box-shadow:0 -8px 35px #0002;max-height:91%;overflow:auto}.sheet-grip{width:36px;height:4px;background:var(--line);border-radius:3px;margin:0 auto 18px}.sheet-head{display:flex;align-items:center;gap:12px;margin-bottom:19px}.sheet-head>img{width:54px;height:54px;object-fit:cover;border-radius:10px}.sheet-head strong{font-size:15px}.sheet-head small{display:block;color:var(--muted);font-size:12px}.sheet-head .icon-button{margin-left:auto}.system-apps{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:15px}.system-app{border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px}.system-app>span{width:54px;height:54px;border-radius:13px;display:grid;place-items:center;background:var(--soft);color:var(--ink)}.system-app img{width:54px;height:54px}.system-row{display:flex;gap:12px;align-items:center;padding:15px 0;border:0;border-bottom:1px solid var(--line);background:transparent;width:100%;text-align:left;font-size:16px}.system-row img{width:43px;height:43px;border-radius:10px}.extension-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.extension-brand>img{width:125px}.share-preview-photo{width:100%;height:165px;object-fit:cover;border-radius:10px}.share-sheet h2{font-size:27px;margin:16px 0 8px}.share-sheet .field{margin-top:18px}.share-sheet .full{width:100%;margin-top:22px}.share-sheet .sheet-note{font-size:12px;color:var(--muted);margin-top:12px}.share-success{text-align:center;padding:25px 0}.success-mark{width:61px;height:61px;background:var(--sage);color:var(--button-ink);border-radius:50%;display:grid;place-items:center;margin:0 auto 18px}.success-mark svg{width:31px;height:31px}.share-success p{font-size:14px;color:var(--muted);margin-top:10px}.saved-in-source{margin:15px 20px;background:var(--soft);color:var(--ink);border-radius:9px;padding:12px;font-size:14px;display:flex;align-items:center;gap:8px}.source-choices{display:flex;gap:4px;padding:8px 12px;background:var(--canvas);align-items:center}.source-choices span{font-size:11px;color:var(--muted);margin-right:auto}.source-choices button{font-size:12px;padding:5px 9px;border:0;background:transparent}.source-choices button.active{background:var(--soft)}
@container app (min-width:1400px){.recipe-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container app (max-width:1100px){.app-shell{grid-template-columns:186px minmax(0,1fr)}.sidebar{padding:16px 10px}.brand-logo{width:155px}.nav-item{font-size:14px;padding:12px;gap:10px}main{padding:30px 26px}.page-heading{align-items:flex-start}.page-actions{flex-wrap:wrap;justify-content:flex-end}.page-actions .theme-toggle{order:1}.recipe-card h3{font-size:22px}.plan-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.plan-day{min-height:230px}.detail-body{grid-template-columns:1fr 1.15fr}.detail-panel{padding:18px}.panel-heading{flex-wrap:wrap}.detail-intro h1{font-size:35px}.recipe-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container app (max-width:760px){.app-shell{display:block}.sidebar{display:none}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;background:var(--side);border-bottom:1px solid var(--line)}.mobile-header img{width:136px}.mobile-header>a{display:block}.mobile-nav{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--surface);border-top:1px solid var(--line);padding:10px 10px max(10px,env(safe-area-inset-bottom));z-index:20}.mobile-nav a{display:flex;align-items:center;flex-direction:column;gap:4px;padding:6px 5px;border-radius:9px;color:var(--muted);font-size:12px}.mobile-nav a[aria-current=page]{background:var(--soft);color:var(--ink);font-weight:650}.mobile-nav .icon{width:21px;height:21px}main{padding:25px 18px 32px;min-height:calc(100dvh - 213px)}h1{font-size:35px}.page-heading{gap:14px;margin-bottom:22px;flex-wrap:wrap}.page-heading p{font-size:14px}.page-actions{margin-left:0;gap:8px;width:100%;justify-content:space-between}.page-actions .theme-toggle{order:0}.page-heading>.button{font-size:13px;padding:9px 12px}.search-box{padding:11px 13px}.search-box kbd{display:none}.filter-bar{gap:7px;margin-bottom:20px}.filter-chip{font-size:13px;padding:7px 10px}.filter-bar select{font-size:13px}.filter-bar .sort-select{display:none}.filter-bar .push{margin-left:auto}.recipe-grid{grid-template-columns:1fr;gap:23px}.recipe-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.recipe-image{aspect-ratio:1.42}.recipe-card .card-copy{padding:15px 16px 18px}.recipe-card h3{font-size:25px}.recipe-grid.compact .recipe-card h3{font-size:19px}.recipe-grid.compact .card-copy{padding:11px}.recipe-grid.compact .card-meta{font-size:11px;gap:5px;flex-wrap:wrap}.recipe-grid.compact .card-meta .icon{display:none}.recipe-grid.compact .card-favorite{width:29px;height:29px;right:9px;top:9px}.detail-top{margin-bottom:14px}.detail-hero{aspect-ratio:1.16;border-radius:11px}.detail-intro{margin-top:21px}.detail-intro h1{font-size:35px}.detail-intro .description{font-size:14px}.detail-body{grid-template-columns:1fr;gap:17px}.detail-panel{padding:20px}.panel-heading{flex-wrap:nowrap}.detail-actions{gap:8px}.detail-actions .button{font-size:13px;padding:10px 12px}.detail-actions .button:first-child{width:100%}.detail-notes{padding:17px}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plan-day{min-height:180px;padding:12px}.plan-meal h3{font-size:14px}.meal-type{font-size:11px}.day-heading strong{font-size:16px}.day-heading span{font-size:14px}.add-meal-button{font-size:13px}.week-label{font-size:15px;margin-right:auto}.shopping-group{padding:7px 15px}.settings-section{padding:19px}.settings-row{flex-wrap:wrap}.shopping-item label{font-size:15px}.prototype-note{font-size:11px}.button{min-height:44px}.field-grid{gap:12px}}
@media(max-width:700px){.preview-bar{padding:7px 10px;gap:8px;flex-wrap:wrap}.preview-label{font-size:11px}.preview-share{font-size:11px;padding:7px 9px}.device-picker{display:none}.preview-stage{padding:0}#app-frame[data-device]{margin:0;border:0;border-radius:0}dialog{width:calc(100% - 16px);max-height:94dvh}.modal-head{padding:19px}.modal-body{padding:20px}.cook-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.cook-content{display:block;min-height:400px}.cook-ingredients{display:none}.cook-step{padding:32px 25px;min-height:400px}.cook-instruction{font-size:30px}.cook-top{padding:20px}.cook-bottom{padding:20px}.cook-top h2{font-size:23px}.toast{bottom:90px}.share-demo-dialog{width:100%;max-height:100dvh;border-radius:0}.source-screen{min-height:calc(100dvh - 111px)}.source-photo{height:280px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
.result-summary{font-size:13px;color:var(--muted);margin:-6px 0 18px}.card-category{font-size:11px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-bottom:7px}.card-meta>span{display:inline-flex;align-items:center;gap:5px}.card-meta{gap:15px;margin-top:12px}.modal-form .modal-body{display:grid;gap:18px}.modal-form .modal-body>p{margin:0}.source-copy>.button{margin:18px 0}.system-app{color:var(--ink)}.system-app:not(button){cursor:default}.share-sheet .extension-brand{background:transparent}.share-demo-dialog .source-screen{isolation:isolate}.share-sheet{z-index:2}.sheet-shade{z-index:1}.result-summary:empty{display:none}

.share-demo-dialog[open]{display:flex;flex-direction:column;height:min(920px,96dvh);max-height:96dvh;overflow:hidden}.share-demo-top,.source-choices{flex-shrink:0}.share-demo-dialog .source-screen{flex:1;min-height:0}.source-page{height:100%;overflow-y:auto}.share-demo-dialog .source-photo{height:clamp(190px,30dvh,300px)}
