:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#223e33;background:#fcf9f2;font-synthesis:none;font-weight:400;line-height:1.55;--green: #244a3d;--ink: #20382e;--muted: #66746a;--line: #e3e5da;--paper: #fffdf8;--accent: #ab593e;--soft: #f0f1e7}*{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;color:inherit}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ce8345;outline-offset:3px}button{border:0;background:none}a{color:var(--green);text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400;line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(2.4rem,5.5vw,3.6rem)}h2{font-size:1.8rem}h3{font-size:1.05rem;font-weight:650}p{margin:.65rem 0}small{font-size:.82rem;color:var(--muted)}main{max-width:1140px;margin:auto;padding:38px 28px 130px;min-height:calc(100dvh - 144px)}.page-narrow{max-width:780px;margin:auto}.app-header{height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(28px,calc((100vw - 1084px)/2));background:var(--paper);gap:12px}.brand{display:flex;align-items:center;gap:12px;padding:0;font-family:Georgia,serif;font-size:1.45rem;letter-spacing:-.04em;white-space:nowrap}.brand em{font-style:normal;color:var(--muted)}.brand-mark{position:relative;width:41px;height:44px;border-radius:12px;background:var(--green);color:#fff9ea;font-size:2.5rem;line-height:1.1}.brand-mark>span{position:absolute;font-size:2.5rem;right:3px;top:-11px;color:#e8ae79}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:12px;font-weight:600;min-height:46px;font-size:.94rem;line-height:1.25;transition:background .16s,transform .16s}.primary{background:var(--green);color:#fffdf6;border:1px solid var(--green)}.primary:not(:disabled):hover{background:#34624f}.secondary{background:var(--paper);border:1px solid #cdd5c8;color:var(--green)}.secondary:not(:disabled):hover{background:var(--soft)}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-weight:550;font-size:.9rem;padding:8px 0;min-height:42px;text-align:left}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:50%;flex-shrink:0}.icon-button:hover{background:var(--soft)}.full{width:100%;margin-top:16px}.danger{color:#a33d31}.page-title{margin-bottom:30px;gap:20px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;font-weight:700;color:var(--accent);margin-bottom:10px;line-height:1.6}.count{font-family:inherit;display:inline-block;font-size:1.3rem;vertical-align:middle;margin-left:15px;color:#879283}.muted,.hint{color:var(--muted)}.hint{font-size:.88rem;line-height:1.55}.library-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:20px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:0 15px;flex:1;max-width:510px}.search-field input{border:0;background:transparent;padding:13px 0;outline:none;width:100%;min-width:0}.tabs{display:flex;gap:4px;padding:4px;background:#efeee5;border-radius:12px;flex-shrink:0}.tabs button{display:flex;align-items:center;gap:6px;padding:9px 12px;font-size:.9rem;white-space:nowrap;border-radius:8px}.tabs button.active{background:#fffdf9;box-shadow:0 1px 5px #21372a12;font-weight:600}.chips{display:flex;gap:8px;overflow:auto;padding:2px 0 22px}.chip{border:1px solid #dbe0d3;border-radius:30px;padding:8px 14px;font-size:.88rem;white-space:nowrap;display:inline-flex;margin:3px 0;background:#fffdf8}.chip.active{background:var(--green);border-color:var(--green);color:#fff}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.recipe-card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:19px;overflow:hidden;transition:box-shadow .2s,transform .2s}.recipe-card:hover{box-shadow:0 7px 25px #223e330b;transform:translateY(-2px)}.card-open{display:block;text-align:left;width:100%;padding:0}.card-photo{width:100%;height:205px;object-fit:cover;background:#e9edde}.image-placeholder{display:flex;align-items:center;justify-content:center;color:#819277;background:linear-gradient(140deg,#eef0e4,#e2e8d9)}.recipe-card:nth-child(3n+2) .image-placeholder{background:linear-gradient(140deg,#f3e9df,#eadbcb);color:#ad8e74}.recipe-card:nth-child(3n+3) .image-placeholder{background:linear-gradient(140deg,#e3ece9,#d6e4df);color:#749389}.card-body{padding:22px}.card-body h2{font-size:1.65rem;line-height:1.2;margin-bottom:20px;overflow-wrap:anywhere}.card-body .eyebrow{min-height:19px;font-size:.65rem}.recipe-meta{display:flex;align-items:center;flex-wrap:wrap;gap:18px;font-size:.85rem;color:var(--muted)}.recipe-meta span{display:inline-flex;gap:6px;align-items:center}.favourite{position:absolute;top:14px;right:14px;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#fffdf6e8;color:#71816d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.favourite.selected{color:#ae523e}.empty{text-align:center;max-width:540px;margin:60px auto 35px;padding:42px 20px;display:flex;align-items:center;flex-direction:column;color:var(--green)}.empty>svg{color:#6b8568;margin-bottom:26px}.empty h2{font-size:2.2rem}.empty p{color:var(--muted);max-width:370px;margin:17px 0 25px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(650px,100%);display:flex;z-index:20;justify-content:space-around;background:#fffdf9f5;border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);box-shadow:0 -5px 25px #243d2905;padding:10px 10px max(12px,env(safe-area-inset-bottom))}.bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:.77rem;min-width:80px;color:#7a837a;padding:5px 8px}.bottom-nav button.active{color:var(--green);font-weight:700}.bottom-nav button.active:before{content:"";width:34px;height:3px;background:var(--green);position:absolute;top:-7px;border-radius:4px}.pending-dot{width:7px;height:7px;background:#b66b30;position:absolute;border-radius:50%;right:10px;top:5px}.panel{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:16px;margin:22px 0}.panel h2{font-size:1.55rem;margin-bottom:16px}.panel>p{margin-top:12px}.panel .panel{background:#f7f7ef}.draft{padding:18px 22px}.draft p{font-size:.9rem;margin:3px 0 0}.preview-banner{display:flex;gap:12px;justify-content:center;font-size:.77rem;background:#f1e9d6;color:#755b2e;padding:7px 15px;flex-wrap:wrap}.preview-banner span:first-child{font-weight:650}.offline-banner{display:flex;align-items:center;justify-content:center;gap:8px;background:#e8ece2;padding:8px 16px;font-size:.87rem}.global-notice{background:#fff1e5;border-bottom:1px solid #e6c8ad;padding:12px max(24px,calc((100vw - 1080px)/2));display:flex;gap:16px;justify-content:space-between;align-items:center;color:#754431;font-size:.94rem;position:relative;z-index:30}.notice{background:#fff0dc;border:1px solid #e6caa5;border-radius:12px;padding:16px;color:#7b5634;font-size:.92rem}.warning-text{color:#976338;font-size:.92rem}.status{color:var(--muted);padding:12px 0;font-size:.9rem}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}label:not(.check-label):not(.search-field){display:block;font-size:.9rem;font-weight:600;color:#465e4e;margin:18px 0}input:not([type=checkbox]):not([type=range]),textarea,select{border:1px solid #d8ddcf;border-radius:10px;background:#fffefa;color:var(--ink);padding:11px 12px;max-width:100%;min-width:0}label>input:not([type=checkbox]):not([type=range]),label>textarea,label>select{display:block;width:100%;margin-top:7px}textarea{width:100%;resize:vertical;min-height:62px;line-height:1.6}input[type=checkbox]{accent-color:var(--green);width:21px;height:21px;flex-shrink:0;margin:0;cursor:pointer}.language-picker{font-size:.84rem;border:0;background:transparent;padding:7px}.check-label{display:flex;gap:13px;align-items:center;font-weight:400;cursor:pointer;font-size:1rem;min-height:44px}.check-label>span{min-width:0;overflow-wrap:anywhere}.check-label small{display:block;font-weight:400;margin-top:4px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form-grid label{min-width:0}.sticky-editor{position:sticky;top:0;z-index:15;padding:12px 0;background:#fcf9f2ee;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin-bottom:20px}.editor>h2{margin:36px 0 22px}.ingredient-edit{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:14px;margin:12px 0}.ingredient-edit textarea{font-weight:450}.ingredient-edit .row{align-items:flex-start;gap:10px}.ingredient-tools{justify-content:flex-end;gap:22px!important}.ingredient-tools .text-button{font-size:.8rem;min-height:34px}.number-badge{display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border-radius:50%;background:#e9eddf;color:#546c48;font-family:Georgia,serif;font-size:1rem;margin-top:6px}.step-edit{align-items:flex-start;margin-bottom:16px}.step-edit textarea{flex:1}.step-edit .icon-button{margin-top:7px}.photo-editor{display:flex;align-items:center;gap:20px}.photo-editor>img,.photo-editor>.image-placeholder{width:110px;height:110px;object-fit:cover;border-radius:12px;flex-shrink:0}.photo-editor .secondary{font-size:.84rem;padding:9px 12px}.photo-editor h3{margin-bottom:10px}.macro-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:24px}.macro-grid>div{border-left:1px solid var(--line);padding-left:15px}.macro-grid>div:first-child{border:0;padding-left:0}.macro-grid strong{display:block;font-size:1.8rem;font-family:Georgia,serif;font-weight:400;letter-spacing:-.03em}.macro-grid span{font-size:.78rem;color:var(--muted);display:block;margin-top:2px}.nutrition{background:#f1f3e9}.nutrition select{font-size:.78rem;padding:7px 8px;background:transparent}.nutrition .hint{font-size:.8rem}.macro-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-backdrop{position:fixed;inset:0;background:#112e245c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:60;display:flex;justify-content:center;align-items:center;padding:24px}.modal{background:var(--paper);padding:28px;border-radius:22px;max-width:630px;width:100%;max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 25px 85px #16302233}.modal header{margin-bottom:22px;align-items:flex-start}.modal h2{font-size:1.8rem}.modal .panel{padding:18px}.modal input{width:100%}.modal input[type=checkbox]{width:21px}.modal .row>input{flex:1}.add-options{display:grid;gap:8px}.add-options button{display:flex;align-items:center;gap:16px;text-align:left;border:1px solid var(--line);border-radius:13px;padding:22px 18px;min-height:80px}.add-options button>svg:first-child{color:#7b8d6c}.add-options button>svg:last-child{margin-left:auto;flex-shrink:0}.add-options small{display:block;margin-top:4px}.original-line{padding:12px 15px;border-left:3px solid #b07b51;background:#f6f1e6}.food-results{display:flex;flex-direction:column;max-height:250px;overflow:auto;margin:15px 0}.food-result{padding:14px 4px;text-align:left;border-bottom:1px solid var(--line);font-size:.85rem}.food-result span{display:block;color:var(--muted);margin-top:4px}.source-thumbs{display:flex;gap:8px;margin-bottom:20px}.source-thumbs button{padding:3px;border:2px solid transparent;border-radius:6px}.source-thumbs button.selected{border-color:var(--green)}.source-thumbs img{width:55px;height:70px;object-fit:cover}.crop-preview{position:relative;max-width:220px;margin:10px auto;overflow:hidden;background:#12231c}.crop-preview img{width:100%;height:auto;display:block}.crop-selection{position:absolute;border:2px solid #fcffcd;box-shadow:0 0 0 10000px #1028208c;pointer-events:none}.range-label{display:flex!important;align-items:center;gap:15px;font-size:.85rem!important}.range-label input{flex:1;min-width:0;accent-color:var(--green)}progress{display:block;height:6px;width:100%;margin:20px 0;accent-color:var(--green);border:0;border-radius:10px;overflow:hidden}progress::-webkit-progress-bar{background:#e3e7dc}progress::-webkit-progress-value{background:var(--green)}.detail{max-width:1000px;margin:auto}.detail-heading{margin:34px 0 45px}.detail-heading.has-cover{display:grid;grid-template-columns:1fr 1.1fr;gap:38px;align-items:center}.detail-photo{width:100%;height:355px;border-radius:22px;object-fit:cover}.detail h1{font-size:clamp(2.5rem,4.5vw,3.3rem);overflow-wrap:anywhere}.detail-heading .recipe-meta{margin:22px 0}.detail-heading .button-row{margin-top:26px}.translation-status{font-size:.82rem;margin-top:20px;color:var(--muted)}.translation-status .text-button{font-size:.82rem;margin-left:8px}.recipe-columns{display:grid;grid-template-columns:.9fr 1.3fr;gap:45px;align-items:start}.ingredients-panel{margin:0;background:#f0f2e7}.ingredient-line{padding:13px 0;align-items:flex-start;border-bottom:1px solid #dce2d3;font-size:.97rem;line-height:1.65}.ingredient-line:last-child{border:0}.ingredient-line input{margin-top:3px}.checked .check-label strong,.ingredient-line.checked span{text-decoration:line-through;color:#929a8e}.instruction{display:flex;align-items:flex-start;gap:16px;margin:24px 0}.instruction p{margin-top:5px;line-height:1.8}.instructions h2{margin:5px 0 25px}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.original-image{max-width:100%;height:auto;display:block;margin:20px auto}.shopping-list{max-width:800px;margin:auto}.shopping-item{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:19px 6px;gap:15px}.shopping-item .check-label{flex:1}.shopping-item strong{font-weight:550}.shopping-item.checked{opacity:.65}.manual-add{max-width:800px;margin:30px auto}.manual-add label{margin:0!important}.manual-add input{flex:1}.manual-add .row{margin-top:8px}.recipe-choice{padding:16px 0;border-bottom:1px solid var(--line)}.recipe-choice>label:not(.check-label){margin-left:33px;font-size:.8rem}.shopping-preview{padding:16px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 130px;gap:12px;align-items:center}.shopping-preview .row input{width:80px}.shopping-preview .row span{font-size:.85rem;min-width:23px}.backup-preview{max-height:240px;overflow:auto;padding-left:22px;font-size:.92rem}.welcome{text-align:center;padding-top:70px}.welcome h1{font-size:3.3rem;max-width:530px;margin:30px auto 18px}.welcome>p{font-size:1.05rem;color:var(--muted);max-width:450px;margin:20px auto}.welcome>.primary,.welcome>.secondary{max-width:330px;display:flex;margin:16px auto}.welcome .hint{font-size:.85rem}.welcome-mark{width:90px;height:90px;border-radius:25px;background:#e9eedf;margin:auto;display:grid;place-items:center}.welcome .panel{text-align:left;max-width:420px;margin:30px auto}.cooking-main{max-width:820px}.cooking>progress{margin:45px 0 60px}.cooking h1{font-size:clamp(2rem,4.5vw,3rem);line-height:1.4;min-height:220px;margin:25px 0 55px}.cooking .button-row{justify-content:space-between}.cooking .button-row button{min-width:130px}details{margin:18px 0;font-size:.9rem}summary{cursor:pointer;color:var(--green);font-weight:550}details>textarea{margin-top:14px}.row input{min-width:0}@media(max-width:850px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.library-toolbar{align-items:stretch;flex-direction:column;gap:15px}.search-field{max-width:none}.tabs{align-self:flex-start}.detail-heading.has-cover{grid-template-columns:1fr;gap:24px}.detail-photo{height:340px}.recipe-columns{gap:24px}.app-header{padding:0 24px}.card-photo{height:185px}}@media(max-width:600px){.app-header{height:73px;padding:0 17px}.brand{font-size:1.2rem;gap:9px}.brand-mark{width:33px;height:36px;font-size:2rem;border-radius:10px}.brand-mark>span{font-size:2rem;top:-10px}.brand em,.desktop-settings{display:none}.language-picker{font-size:.8rem;padding:6px 7px}main{padding:26px 18px 115px}.page-title{gap:12px;margin-bottom:25px;align-items:center}.page-title h1{font-size:2.5rem}.page-title .primary{padding:11px 12px;font-size:.8rem;max-width:155px}.page-title .eyebrow{font-size:.62rem;letter-spacing:.14em}.recipe-grid{gap:14px}.card-photo{height:140px}.card-body{padding:16px 13px}.card-body h2{font-size:1.25rem;margin-bottom:16px}.card-body .eyebrow{font-size:.55rem;letter-spacing:.1em}.card-body .recipe-meta{gap:8px;font-size:.68rem}.card-body .recipe-meta svg{width:12px}.favourite{width:34px;height:34px;top:9px;right:9px}.recipe-card{border-radius:14px}.empty{margin:20px auto;padding:35px 7px}.empty h2{font-size:1.95rem}.empty p{font-size:.94rem}.panel{padding:20px}.draft{align-items:flex-start;flex-direction:column}.draft .button-row{width:100%;justify-content:space-between}.form-grid{gap:10px}.form-grid label{font-size:.8rem!important}.form-grid input,.form-grid select{padding:10px 7px;font-size:1rem}.photo-editor{gap:14px;padding:15px}.photo-editor>img,.photo-editor>.image-placeholder{width:75px;height:100px}.photo-editor .button-row{gap:6px}.photo-editor .secondary{padding:9px;font-size:.75rem}.photo-editor .text-button{font-size:.75rem}.ingredient-edit{padding:12px 9px}.ingredient-edit .number-badge{display:none}.ingredient-edit textarea{font-size:1rem}.ingredient-edit .icon-button,.step-edit .icon-button{min-width:32px}.step-edit{gap:9px}.step-edit .number-badge{width:25px;min-width:25px;height:25px;font-size:.85rem}.nutrition .row{gap:6px;align-items:flex-start}.nutrition h3{font-size:.95rem}.nutrition select{max-width:145px}.macro-grid{gap:9px}.macro-grid>div{padding-left:9px}.macro-grid strong{font-size:1.5rem}.macro-grid small{font-size:.7rem}.macro-grid span{font-size:.68rem}.modal-backdrop{padding:0;align-items:flex-end}.modal{border-radius:22px 22px 0 0;padding:23px 20px max(30px,env(safe-area-inset-bottom));max-height:94dvh}.modal h2{font-size:1.6rem}.modal header{margin-bottom:18px}.modal input,.modal textarea{font-size:1rem}.detail-heading{margin:25px 0 35px}.detail-heading.has-cover{gap:22px}.detail-photo{height:260px;border-radius:17px}.detail .row>.button-row{gap:14px}.detail .row .text-button,.detail .row .secondary{font-size:.78rem}.detail h1{font-size:2.6rem}.detail-heading .button-row{gap:10px}.detail-heading .button-row button{flex:1;font-size:.84rem}.recipe-columns{grid-template-columns:1fr;gap:32px}.instruction{gap:14px}.shopping-preview{grid-template-columns:1fr 100px}.shopping-preview .row{gap:5px}.shopping-preview .row input{width:65px}.shopping-preview .check-label{gap:9px;font-size:.92rem}.shopping-preview .row span{min-width:20px}.welcome{padding-top:40px}.welcome h1{font-size:2.65rem}.welcome>p{font-size:.97rem}.cooking-main{padding-top:30px}.cooking h1{font-size:2.1rem}.preview-banner{font-size:.65rem;gap:8px}.global-notice{padding:10px 15px;font-size:.85rem}.original-image{width:100%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
