:root{--paper:#f8f7f2;--white:#fffefa;--ink:#283428;--muted:#777c70;--green:#364b33;--line:#e4e5db;--pale:#eef0e4;--accent:#b9c595;--orange:#a15b3f;--radius:17px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a2b57c;outline-offset:3px}[hidden]{display:none!important}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:#f1f2e9;border-right:1px solid var(--line);padding:40px 22px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;margin:0 10px 52px;font-family:Georgia,serif;font-size:27px;letter-spacing:-1px;line-height:.92}.brand img{width:43px;height:48px}.brand-second{display:block;font-size:23px;margin-top:5px}.sidebar-label{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#8b917f;margin:0 13px 17px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;border-radius:9px;color:#636d5e;text-align:left;padding:13px 12px;margin:4px 0;font-size:13px;font-weight:500}.nav-item.active{background:#e0e6d3;color:#32462c}.nav-item:hover{background:#e7eadc}.nav-icon{font-size:21px;line-height:18px;width:22px}.nav-count{margin-left:auto;font-size:11px;border-radius:6px;padding:2px 6px;background:#fff8;color:#62704e}.nav-rule{border-top:1px solid #dfe2d5;margin:23px 12px}.sidebar-bottom{margin-top:auto;color:#697360;font-size:11px;line-height:1.8;padding:25px 10px 0}.sidebar-bottom p{font-size:11px;color:#919682;max-width:150px;margin-top:8px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7c945d;margin-right:6px;vertical-align:middle}.workspace{margin-left:226px}.topbar{height:83px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px;font-size:11px;color:#7a8171}.topbar-right{display:flex;align-items:center;gap:28px}.button{border:1px solid var(--line);padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.3;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap;min-height:41px;background:var(--white);color:var(--green)}.button:hover{filter:brightness(.96)}.button.primary{color:white;background:var(--green);border-color:var(--green)}.button.small{padding:9px 14px;min-height:36px}.button.secondary{background:var(--white)}.button.random{background:transparent;border-color:#c9cfbc;margin-top:24px}.text-button{border:0;background:none;padding:4px 0;color:#576a40;font-size:12px}.text-button:hover{text-decoration:underline}.icon-button{border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--green);width:36px;height:36px;font-size:22px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}main{padding:44px 48px 20px;max-width:1500px;margin:auto}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:43px;letter-spacing:-1.4px;line-height:1.15;margin-bottom:15px}h2{font-weight:550;font-size:17px;line-height:1.35}p{line-height:1.65}.eyebrow{color:#7a8662;font-weight:600;letter-spacing:2.1px;font-size:9px;margin-bottom:16px}.lead{color:var(--muted);font-size:13px;margin-bottom:29px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.search-row{display:flex;gap:12px;margin:4px 0 20px}.search-box{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:0 16px}.search-box span{font-size:28px;color:#7d886d;transform:rotate(-15deg)}.search-box input{width:100%;border:0;background:none;padding:15px 0;outline-offset:0}.search-box:focus-within{border-color:#7f9562}.search-box input:focus{outline:none}input,select,textarea{background:var(--white);border:1px solid #dcded2;border-radius:7px;color:var(--ink);padding:11px 12px;min-width:0}input::placeholder,textarea::placeholder{color:#96998d}select{height:47px;max-width:100%}.select-label select{min-width:155px}.pantry-panel{border:1px solid #dfe4d1;background:#edf0e3;border-radius:11px;padding:21px 23px;margin-bottom:31px}.pantry-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.pantry-top h2{font-size:14px;margin-bottom:5px}.pantry-top p{font-size:11px;color:#7b836c;margin:0}.pantry-top .text-button{font-size:11px;white-space:nowrap}.pantry-top .text-button span{margin-left:15px;font-size:16px}.pantry-input-row{margin-top:20px;display:flex;gap:9px;align-items:center}.grow{flex:1;min-width:0}.grow input{width:100%}.match-select select{height:40px;font-size:11px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.chip{border:1px solid #d3dcc1;background:#fffefa;border-radius:20px;padding:7px 11px;font-size:11px;color:#4c6340;display:inline-flex;align-items:center;gap:10px}.chip button{border:0;background:none;color:inherit;padding:0;font-size:16px;line-height:1}.filter-extras{display:flex;gap:15px;align-items:flex-end;margin-top:18px}.filter-extras label{display:flex;flex-direction:column;gap:7px;font-size:10px;flex:1}.filter-extras input,.filter-extras select{font-size:11px;height:38px}.filter-extras .text-button{margin-bottom:9px;white-space:nowrap}.fine-print{font-size:11px;color:#868c7b;line-height:1.65;margin-top:16px;margin-bottom:0}.section-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:8px 0 18px}.section-bar h2{font-size:17px;margin:0}.section-bar h2 span{font-size:10px;font-weight:400;color:#8a907f;margin-left:12px}.section-bar>span{font-size:10px;color:#929783}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1060px}.recipe-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:relative;transition:transform .18s,box-shadow .18s}.recipe-card:hover{transform:translateY(-3px);box-shadow:0 9px 25px #364b3310}.card-photo-button{width:100%;height:250px;padding:0;border:0;background:#e7e8dd;display:block;overflow:hidden}.card-photo-button img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.recipe-card:hover .card-photo-button img{transform:scale(1.035)}.card-placeholder{height:100%;display:grid;place-items:center;font-size:44px;color:#94a27c}.card-favorite{position:absolute;top:15px;right:15px;border:1px solid #ffffff88;border-radius:50%;height:33px;width:33px;background:#fffefaeb;color:var(--green);font-size:21px;z-index:1}.card-favorite.selected{background:#e4ebd4}.category-badge{position:absolute;top:18px;left:17px;font-size:9px;letter-spacing:.8px;text-transform:uppercase;background:#fffefaed;color:#53633e;padding:6px 10px;border-radius:5px}.card-body{padding:22px 23px 19px}.card-tags{font-size:9px;color:#88946e;letter-spacing:1px;text-transform:uppercase;margin-bottom:11px;min-height:12px}.card-title{background:none;border:0;padding:0;display:block;text-align:left;font-family:Georgia,serif;font-size:23px;line-height:1.2;color:var(--ink);letter-spacing:-.35px;margin-bottom:8px;min-height:55px}.card-subtitle{font-size:11px;color:#8b8e82;margin-bottom:22px}.card-meta{border-top:1px solid #ecece4;padding-top:15px;display:flex;gap:18px;font-size:10px;color:#7d8472;align-items:center}.card-meta span:last-child{margin-left:auto}.card-match{margin:14px 0 0;background:var(--pale);padding:10px;border-radius:7px;font-size:11px;color:#5a7043}.card-match details{margin-top:7px}.library-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:46px;padding-top:22px;border-top:1px solid var(--line);font-size:10px;color:#939885}.library-footer .text-button{font-size:10px}.empty-state{padding:55px 15px;text-align:center;border:1px dashed #d3dac5;border-radius:12px}.empty-state p{color:var(--muted)}.empty-icon{font-size:35px;color:#9bab7e;margin-bottom:18px}.surface{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:28px}.surface>p{font-size:12px;color:var(--muted)}.import-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:27px 0}.round-icon{height:42px;width:42px;border-radius:50%;background:var(--pale);display:grid;place-items:center;color:#7c905a;font-size:22px;margin-bottom:23px}.upload-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px dashed #b7c69c;border-radius:9px;padding:28px 18px;background:#f5f6ee;cursor:pointer;margin:20px 0}.upload-zone strong{font-size:13px;font-weight:550}.upload-zone span{font-size:10px;color:var(--muted)}.upload-zone input{max-width:100%;font-size:10px;background:none;border:0;padding:8px}.notice{border-radius:8px;padding:16px;background:#f4f1e7;font-size:11px;margin-top:20px}.notice strong{font-weight:600;color:#77704e}.notice p{margin:6px 0 0;color:#837e68;font-size:11px}.file-button{position:relative;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.feedback{font-size:12px;color:#506e38}.feedback.error{color:#a34532}.import-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.import-row:last-child{border-bottom:0}.import-row strong{display:block;font-size:12px}.import-row p{font-size:10px;color:var(--muted);margin:6px 0 0}.import-row .button{min-height:30px;padding:7px 10px;font-size:10px}.import-row .button-row{flex-shrink:0}.scan-guide{margin-top:25px;padding:20px 24px}.scan-guide summary{cursor:pointer;font-size:13px}.scan-guide p{margin:16px 0 0}.path{word-break:break-all;background:#f3f4ec;border-radius:7px;padding:12px;font-family:ui-monospace,monospace;font-size:11px!important}.storage-info{margin-top:25px}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{background:var(--white);color:var(--ink);border:1px solid #dce1d0;border-radius:18px;box-shadow:0 25px 90px #16230d40;padding:0;width:1050px;max-width:calc(100vw - 36px);max-height:calc(100vh - 40px)}dialog::backdrop{background:#1d281a66;backdrop-filter:blur(3px)}.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;padding:15px 27px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--white);z-index:5;gap:10px}.dialog-toolbar h2{font-size:16px;margin:0}.dialog-toolbar .toolbar-label{color:#8c947c;font-size:10px;letter-spacing:1px;text-transform:uppercase}.recipe-intro{display:grid;grid-template-columns:40% 1fr;gap:32px;padding:29px 29px 0}.detail-photo{height:290px;width:100%;object-fit:cover;border-radius:12px;background:var(--pale)}.detail-heading h1{font-size:32px;margin:14px 0 9px}.detail-heading .lead{margin-bottom:18px}.detail-meta{display:flex;gap:16px;font-size:12px;margin:20px 0;color:#788563}.tag{display:inline-block;border:1px solid #dfe4d3;color:#7b8864;border-radius:20px;padding:5px 9px;margin:0 5px 5px 0;font-size:10px}.tag.warm{color:#9b674c;border-color:#e8d4c1;background:#faf1e9}.detail-source{font-size:10px;color:#8a927d;margin-top:12px}.detail-source a{text-decoration:underline}.detail-columns{display:grid;grid-template-columns:36% 1fr;gap:35px;padding:30px}.servings-control{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;background:var(--pale);border-radius:10px;margin-bottom:12px}.servings-control>span{font-size:12px;font-weight:600}.stepper{display:flex;align-items:center;gap:5px}.stepper button{background:var(--white);border:1px solid #d9decf;border-radius:6px;height:29px;width:29px;color:var(--green)}.stepper input{width:48px;padding:5px 0;text-align:center;border:0;background:transparent;font-weight:600;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none}.amount-explanation{font-size:10px;color:#82906c;line-height:1.65;margin-bottom:20px}.amount-explanation.estimated{color:#a2764e}.ingredient-list{list-style:none;margin:0;padding:0}.ingredient-list li{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #edece3;padding:11px 0;font-size:12px;line-height:1.5}.ingredient-list label{display:flex;gap:8px;cursor:pointer;flex:1}.ingredient-list input{accent-color:var(--green);margin:3px 0}.ingredient-list label:has(input:checked) span{text-decoration:line-through;color:#a2a899}.ingredient-amount{font-size:11px;white-space:nowrap;font-weight:550;color:#62734b;max-width:53%;text-align:right}.ingredient-amount.text-amount{white-space:normal;font-weight:400;font-size:10px}.ingredient-section-title{font-size:12px;margin:24px 0 5px;color:#6e7d55}.nutrition-box{margin-top:27px;border:1px solid var(--line);border-radius:11px;padding:18px}.nutrition-box h2{font-size:14px;margin-bottom:12px}.nutrition-mode{width:100%;font-size:10px;height:34px;padding:5px;margin-bottom:11px}.nutrition-table{width:100%;border-collapse:collapse;font-size:11px}.nutrition-table td{padding:6px 0;border-bottom:1px solid #eeeee5;color:#7f8772}.nutrition-table td:last-child{text-align:right;color:#4e6040}.nutrition-box .fine-print{font-size:9px;margin-top:10px}.allergen-note{font-size:10px;line-height:1.65;color:#96734c;margin-top:15px}.steps-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}.steps-heading h2{margin:0;font-size:19px;font-family:Georgia,serif;font-weight:400}.steps-heading .text-button{font-size:10px}.step{display:grid;grid-template-columns:30px 1fr;gap:12px;padding:22px 0;border-bottom:1px solid var(--line)}.step-number{width:28px;height:28px;border-radius:50%;border:1px solid #d6dfc5;background:#f0f3e8;font-family:Georgia,serif;display:grid;place-items:center;color:#7b8e5e}.step h3{font-size:14px;margin:4px 0 10px;font-weight:550}.step p{font-size:12px;color:#757c6d;margin:0;line-height:1.8;white-space:pre-line}.step.done p{text-decoration:line-through;color:#a0a694}.step-heading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}.step-heading input{accent-color:var(--green);margin-top:7px}.recipe-notes{margin-top:25px;border:1px solid var(--line);border-radius:9px;padding:16px;font-size:11px;color:#818b73}.recipe-notes summary{cursor:pointer}.recipe-notes p{margin:12px 0 0;font-size:11px}.recipe-dialog-footer{display:flex;justify-content:space-between;gap:10px;padding:20px 30px;border-top:1px solid var(--line);background:#f4f5ed}.review-banner{background:#faf1df;padding:14px 30px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#8a724b}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 23px;background:#364b33;color:white;border-radius:9px;font-size:12px;z-index:30;box-shadow:0 5px 25px #0002;max-width:90vw}.toast.error{background:#923e2e}#editor-dialog{width:1000px}#editor-fields{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#6b795c}.form-field.full{grid-column:1/-1}.form-field textarea{min-height:80px;resize:vertical}.form-section{margin-top:29px;padding-top:22px;border-top:1px solid var(--line)}.form-section h3{font-size:15px;font-weight:550}.form-section>p{color:var(--muted);font-size:11px}.table-scroll{overflow-x:auto;margin-bottom:13px}.ingredient-editor{border-collapse:collapse;width:100%;min-width:700px;font-size:10px}.ingredient-editor th{text-align:left;font-weight:500;color:#859174;padding:8px 5px}.ingredient-editor td{padding:5px;vertical-align:top}.ingredient-editor input{padding:8px 6px;font-size:11px;width:100%}.ingredient-editor .qty-cell{width:68px}.ingredient-editor .unit-cell{width:65px}.ingredient-editor .pantry-cell{width:42px;text-align:center}.ingredient-editor .pantry-cell input{width:auto;margin-top:8px;accent-color:var(--green)}.ingredient-editor .remove-cell{width:24px}.ingredient-editor .remove-row,.step-editor .remove-row{border:0;background:none;color:#a17a64;font-size:17px;padding:4px;cursor:pointer}.ingredient-editor .name-cell{min-width:160px}.ingredient-editor .alias-cell{min-width:120px}.ingredient-editor .note-cell{min-width:110px}.step-editor{background:#f6f7ef;border:1px solid var(--line);border-radius:8px;padding:13px;margin:12px 0}.step-editor-top{display:flex;align-items:center;gap:10px;margin-bottom:9px}.step-editor-top input{flex:1;width:100%}.step-editor textarea{width:100%;min-height:100px;resize:vertical;font-size:12px;line-height:1.6}.nutrition-editor{width:100%;max-width:560px;border-collapse:collapse;font-size:11px}.nutrition-editor td,.nutrition-editor th{padding:5px;text-align:left}.nutrition-editor input{width:100%;padding:8px}.nutrition-editor th{font-size:10px;font-weight:500;color:#859174}.editor-footer{position:sticky;bottom:0;background:var(--white);border-top:1px solid var(--line);padding:15px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.editor-footer p{font-size:12px;color:#a34532;margin:0}.editor-footer .button-row{flex-shrink:0}.source-edit-hint{background:var(--pale);padding:13px;border-radius:7px;font-size:11px;margin-top:15px;color:#7a8768}.json-summary{font-size:11px;color:#677955;margin:18px 0}.json-summary ul{padding-left:18px;line-height:1.9}.photo-editor{display:flex;align-items:center;gap:15px;margin-top:18px}.photo-editor img{width:90px;height:65px;object-fit:cover;border-radius:7px}.subtle{color:#8b927f;font-size:10px}
@media(min-width:1600px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.card-photo-button{height:245px}}@media(max-width:1100px){.sidebar{width:192px;padding:33px 15px}.workspace{margin-left:192px}main{padding:32px 29px}.topbar{padding:0 29px}.card-photo-button{height:210px}.card-title{font-size:21px}.page-heading h1{font-size:36px}.section-bar>span{display:none}.detail-heading h1{font-size:27px}.recipe-intro{gap:23px}.detail-columns{gap:25px}.recipe-grid{gap:17px}}@media(max-width:800px){.sidebar{width:166px;padding:29px 10px}.brand{font-size:22px;margin-left:8px;gap:8px}.brand img{width:36px}.brand-second{font-size:20px}.sidebar-label{font-size:8px}.nav-item{font-size:11px;gap:7px;padding:12px 9px}.nav-icon{width:18px}.workspace{margin-left:166px}main{padding:28px 22px}.topbar{height:70px;padding:0 22px}.local-label{display:none}.page-heading{flex-direction:column;gap:0}.page-heading .random{margin:0 0 19px}.page-heading h1{font-size:33px}.lead{font-size:12px}.pantry-top{align-items:flex-start;flex-direction:column;gap:9px}.card-photo-button{height:170px}.card-body{padding:17px}.card-title{font-size:19px;min-height:68px}.card-meta{gap:7px;font-size:9px}.import-layout{grid-template-columns:1fr}.pantry-input-row{flex-wrap:wrap}.match-select{width:100%}.match-select select{width:100%}.filter-extras{flex-wrap:wrap}.filter-extras label{min-width:140px}.recipe-intro{grid-template-columns:35% 1fr}.detail-photo{height:250px}.detail-columns{grid-template-columns:40% 1fr}.detail-heading h1{font-size:25px}.library-footer{align-items:flex-start;flex-direction:column;gap:8px}}@media(max-width:600px){.sidebar{position:relative;width:auto;inset:auto;padding:17px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px;margin:0 0 15px}.brand-second{display:inline;font-size:20px;margin-left:5px}.brand img{height:32px;width:32px}.sidebar-label,.sidebar-bottom,.nav-rule{display:none}.sidebar nav{display:flex;gap:4px;overflow-x:auto;padding-bottom:10px}.nav-item{width:auto;white-space:nowrap;margin:0;padding:8px 10px;font-size:11px}.nav-icon{display:none}.nav-item[data-view="archive"]{display:none}.workspace{margin-left:0}.topbar{height:58px;padding:0 19px}.topbar-right{gap:0}main{padding:28px 19px}.page-heading h1{font-size:34px}.eyebrow{font-size:8px}.recipe-grid{grid-template-columns:1fr}.card-photo-button{height:245px}.card-title{font-size:25px;min-height:0}.card-subtitle{margin-bottom:19px}.card-body{padding:21px}.card-meta{font-size:11px}.search-row{gap:7px}.search-box{padding:0 11px;gap:6px}.search-box input{font-size:11px}.select-label select{font-size:10px;min-width:105px;width:105px;padding-left:8px}.pantry-panel{padding:18px}.surface{padding:23px}.detail-columns{grid-template-columns:1fr;padding:23px;gap:30px}.recipe-intro{grid-template-columns:1fr;padding:20px 22px 0;gap:18px}.detail-photo{height:220px}.detail-heading h1{font-size:29px}.dialog-toolbar{padding:12px 18px}.dialog-toolbar .button{font-size:10px;padding:8px 11px}.detail-meta{margin:13px 0}.detail-source{margin-top:9px}dialog{max-width:calc(100vw - 14px);max-height:calc(100vh - 16px);border-radius:12px}.recipe-dialog-footer{padding:17px 23px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}#editor-fields{padding:21px 17px}.editor-footer{padding:13px 17px;flex-direction:column;align-items:stretch;gap:8px}.editor-footer .button-row{justify-content:flex-end}.review-banner{padding:13px 20px}.import-row{flex-wrap:wrap}.nutrition-box{margin-top:22px}.step{padding:18px 0}.library-footer{margin-top:30px}}
@media print{.sidebar,.topbar,.workspace,dialog::backdrop,.dialog-toolbar,.recipe-dialog-footer,.steps-heading button,.review-banner,.toast{display:none!important}body{background:white}dialog[open]{position:static;display:block;max-width:none;max-height:none;width:100%;border:0;box-shadow:none;overflow:visible}dialog#editor-dialog{display:none}.detail-photo{height:170px}.recipe-intro{grid-template-columns:30% 1fr}.detail-columns{grid-template-columns:35% 1fr}.step{break-inside:avoid}.recipe-notes{display:none}}
