:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253d33;background:#faf9f5;font-synthesis:none;--green:#244f3e;--muted:#66746b;--line:#dce2d9}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1120px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--green);font-size:25px;font-weight:750;display:flex;align-items:center;gap:10px;letter-spacing:-1px}.brand span{display:block;font-size:11px;font-weight:400;letter-spacing:0;border-left:1px solid var(--line);padding-left:15px;margin-left:15px}.mode{font-size:12px;border:1px solid var(--line);padding:6px 12px;border-radius:30px;white-space:nowrap}.notice{background:#fff1d6;border:1px solid #e9d8b3;border-radius:12px;padding:15px 20px;font-size:13px;color:#6a512b}.notice p{margin:5px 0 0;line-height:1.6}.intro{display:flex;justify-content:space-between;align-items:center;padding:45px 0 35px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:#667e6a}h1{font-family:Georgia,serif;font-size:clamp(36px,5vw,58px);font-weight:400;letter-spacing:-1.5px;line-height:1.12;margin:15px 0 20px}h1 em{color:#658168;font-weight:400}.intro p:last-child{max-width:450px;line-height:1.6;color:var(--muted);font-size:14px}.steps{border-left:1px solid var(--line);padding:10px 0 10px 35px}.steps b{display:block;color:#9aa993;font-family:Georgia,serif;font-size:24px;margin:20px 0;font-weight:400}.steps span{font-family:system-ui;font-size:13px;color:#43574a;margin-left:15px}nav{display:flex;border-bottom:1px solid var(--line);gap:25px}.tab{border:0;border-bottom:3px solid transparent;border-radius:0;padding:18px 0;background:none;color:var(--muted);font-weight:600}.tab.active{border-bottom-color:var(--green);color:var(--green)}.tab span{font-size:11px;background:#e9eee5;padding:2px 7px;border-radius:12px;margin-left:5px}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);padding:11px 16px;font-size:13px;font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:6px}button:hover,.button:hover{border-color:#769278;background:#edf2e9}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#38614c;color:white}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:32px 0 24px}h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin:8px 0}.section-title a:not(.button){font-size:13px;color:var(--green)}.filters{display:flex;gap:12px}.search{flex:1}label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#526457}input,select,textarea{border:1px solid var(--line);background:white;border-radius:8px;padding:12px;color:#263d30;min-height:44px;font-size:14px;width:100%}textarea{resize:vertical}.hint{font-size:12px;line-height:1.7;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.card.selected{border:2px solid #628365}.art{height:155px;background:#edf0df;display:flex;align-items:center;justify-content:center;font-size:65px;position:relative}.art[data-art="1"]{background:#f4e7d5}.art[data-art="2"]{background:#e6eddf}.art .badge{position:absolute;left:12px;bottom:12px;font-family:system-ui;font-size:10px;background:#ffffffde;color:#59664c;border-radius:5px;padding:4px 7px}.card-content{padding:18px;display:flex;flex:1;flex-direction:column}h3{font-family:Georgia,serif;font-weight:400;font-size:22px;line-height:1.3;margin:4px 0 14px}.meta{color:#667963;font-size:12px;margin-bottom:12px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:10px;border:1px solid #e2e5d9;border-radius:4px;padding:4px 6px;color:#6d785e}.card-actions{display:flex;gap:8px;margin-top:auto;padding-top:18px}.card-actions .select-recipe{flex:1}.favorite{width:44px;font-size:20px;padding:5px}.card details{font-size:12px;line-height:1.7;margin-top:15px}.card ul{padding-left:18px}.card li{margin-bottom:6px}.warn{color:#946c32}.plan-row{background:white;border:1px solid var(--line);padding:20px;border-radius:12px;margin:12px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.plan-row h3{font-size:20px;margin:0}.plan-controls{display:flex;align-items:center;gap:10px}.plan-controls input{width:85px}.empty{padding:45px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.shopping-tools{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:15px;margin:20px 0}.shopping-tools form{display:flex;gap:8px;align-items:end}.shopping-tools form label{flex:1}.actions{display:flex;gap:8px}.store-group{margin:30px 0}.store-group h3{font-size:21px;border-bottom:1px solid var(--line);padding-bottom:12px}.shopping-row{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:16px 0;border-bottom:1px solid #e9ede4}.shopping-row strong{display:block;font-size:14px}.shopping-row small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:5px}.amount{font-size:14px;white-space:nowrap;font-weight:600}.review{background:#fff5e4;border:1px solid #ebd9b7;border-radius:9px;padding:14px;margin:8px 0}.review .amount{color:#946c32}.product-editor{margin:40px 0;padding:20px;border:1px solid var(--line);border-radius:12px;font-size:13px}.product-editor summary{cursor:pointer;min-height:30px}.product-editor form{display:grid;gap:12px;margin-top:20px}.product-editor p{line-height:1.6;color:var(--muted)}footer{border-top:1px solid var(--line);padding-bottom:120px;margin-top:30px;font-size:11px;color:var(--muted)}footer b{font-size:17px;color:var(--green)}.selection-bar{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);max-width:620px;width:calc(100% - 32px);background:#fffef9;box-shadow:0 5px 30px #253d3320;border:1px solid var(--line);border-radius:12px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:10px;padding-bottom:max(12px,env(safe-area-inset-bottom))}[hidden]{display:none!important}#message:empty{display:none}#message{background:#edf1e7;border-radius:8px;padding:12px;font-size:13px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c39c57;outline-offset:3px}.manual-chip{display:inline-flex;align-items:center;gap:8px;padding:8px;font-size:12px}.manual-chip button{padding:0;width:32px;min-height:32px}
@media(max-width:760px){header,main,footer{padding:18px}.brand span,.steps{display:none}.brand{font-size:23px}.intro{padding:25px 0 20px}.intro p:last-child{font-size:13px}.notice{padding:12px;font-size:12px}nav{gap:20px;justify-content:space-between}.tab{font-size:12px}.tab span{margin-left:2px}.section-title{align-items:start;flex-wrap:wrap}.section-title h2{font-size:26px}.filters{flex-wrap:wrap}.search{flex-basis:100%}.filters>label:not(.search){flex:1}.cards{grid-template-columns:1fr}.art{height:130px}.card-content{padding:18px}.card h3{font-size:24px}.shopping-tools{grid-template-columns:1fr}.shopping-tools form{align-items:end}.plan-row{flex-direction:column;align-items:start}.plan-controls{width:100%;justify-content:space-between}.selection-bar{font-size:12px;padding:10px}.selection-bar button{font-size:12px;padding:10px}h1{font-size:43px}.amount{font-size:12px}.shopping-row{gap:10px}}

.text-import{border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px;margin:24px 0}.text-import summary{cursor:pointer;font-weight:650;min-height:30px}.text-import>p{font-size:13px;line-height:1.6}.text-import form{display:grid;gap:16px;margin-top:18px}.import-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.text-import button{justify-self:start}.text-import textarea{line-height:1.6}.text-import #import-review{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.text-import #import-recheck{margin-top:12px}#import-preview{font-size:13px;line-height:1.7;margin:18px 0}#import-preview ul{padding-left:20px}#import-preview li{margin-bottom:8px}.review-confirm{flex-direction:row;align-items:start;line-height:1.6;margin:18px 0}.review-confirm input{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:2px 0}.original-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:250px;overflow:auto;background:#faf9f5;padding:10px;border-radius:6px}.card-content a{color:var(--green);font-size:13px}@media(max-width:760px){.import-fields{grid-template-columns:1fr 1fr}.import-fields label:first-child{grid-column:1/-1}.text-import{padding:15px}.text-import button{width:100%}}

.account{display:flex;align-items:center;gap:8px}.login-shell{max-width:460px;padding-top:8vh}.login-shell .brand{margin-bottom:45px}.login-shell>p{line-height:1.7;font-size:14px;color:var(--muted)}.login-shell form{display:grid;gap:18px;margin-top:30px}.login-shell h1{font-size:48px}#login-message{font-size:13px;color:#946c32;line-height:1.6}@media(max-width:760px){.account .mode{display:none}.login-shell{padding-top:5vh}}

.source-evidence{display:block;margin:6px 0 12px;line-height:1.5;overflow-wrap:anywhere;color:var(--muted)}#import-reset{margin-top:12px}
