.ui-icon{width:22px;height:22px;display:inline-block;flex:none;vertical-align:middle}.app-shell{font-family:'Manrope',sans-serif}.app-shell button{touch-action:manipulation}.app-shell .food-icon{display:none}.app-shell button:focus-visible,.app-shell input:focus-visible{outline:3px solid #79ac54;outline-offset:3px}.app-shell .primary{border-radius:14px;font-size:16px;font-weight:700;min-height:52px}.app-shell .primary:hover{transform:none}.app-shell .journey-back{padding-top:calc(12px + env(safe-area-inset-top));max-width:760px}.app-shell .journey-back p{font-size:13px}.app-shell .journey-back button{font-size:14px}.app-shell .ideas{max-width:760px}
#camera-dialog:not([hidden]){display:grid;grid-template-rows:auto auto minmax(70px,1fr) auto;gap:0;isolation:isolate;padding:calc(18px + env(safe-area-inset-top)) 22px calc(16px + env(safe-area-inset-bottom))!important;overflow-y:auto}#camera-dialog .camera-view{z-index:-1}#camera-dialog .camera-top{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:510px;margin:0 auto;gap:16px}#camera-dialog .camera-top h2{position:static;margin:0;font-size:32px;letter-spacing:-1.8px}#camera-dialog .camera-top h2 span{font-size:11px;vertical-align:top;letter-spacing:0}#camera-dialog #camera-close{position:static;font-size:14px;display:flex;gap:8px;align-items:center;border:1px solid #ffffff24;padding:10px 13px;background:#ffffff0d}#camera-dialog #camera-close .ui-icon{width:18px;height:18px}#camera-dialog .camera-intro{position:relative;z-index:2;text-align:center;padding:28px 0 14px}#camera-dialog .camera-intro .eyebrow{font-size:11px;letter-spacing:1.6px;color:#c1d0c9;margin:0 0 10px}#camera-dialog .camera-intro h1{font-size:32px;letter-spacing:-1px;line-height:1.15;margin:0;color:#fff;font-family:inherit}#camera-dialog .camera-target{position:relative;width:100%;max-width:410px;min-height:70px;margin:12px auto 18px;align-self:stretch}#camera-dialog .camera-target .camera-frame{inset:0;border:0;border-radius:20px}#camera-dialog .camera-target .scan-corner{width:27px;height:27px;border-width:2px;opacity:.7}#camera-dialog .camera-target .tl{top:0;left:0}#camera-dialog .camera-target .tr{top:0;right:0}#camera-dialog .camera-target .bl{bottom:0;left:0}#camera-dialog .camera-target .br{bottom:0;right:0}#camera-dialog .camera-dock{position:relative;width:100%;max-width:450px;margin:0 auto;z-index:3}#camera-dialog #camera-message{position:static;margin:0 auto 16px;text-align:center;font-size:14px;line-height:1.5;max-width:350px;color:#d4ded8}#camera-dialog #camera-retry{position:static;transform:none;width:100%;margin:0 0 16px;padding:16px;border:0;border-radius:14px;background:#d8fb80;color:#123c2c;display:flex;gap:10px;align-items:center;justify-content:center;font-size:16px;font-weight:700;min-height:54px}#camera-dialog .camera-controls{position:static;display:grid;width:100%;grid-template-columns:1fr 1fr;padding:0;gap:12px;margin:0}#camera-dialog #capture{grid-column:1/-1;grid-row:1;justify-self:center;width:78px;height:78px;margin:0 0 8px}#camera-dialog #capture[disabled]{display:none}#camera-dialog #camera-import,#camera-dialog #manual-entry{position:static;grid-row:auto;grid-column:auto;display:flex;flex-direction:row;justify-content:center;gap:8px;align-items:center;min-height:48px;font-size:13px;line-height:1.3;font-weight:500;border:1px solid #ffffff23;border-radius:12px;background:#ffffff06;color:#f0f5ef;padding:10px 8px;width:100%;margin:0}#camera-dialog #camera-import .ui-icon,#camera-dialog #manual-entry .ui-icon{width:20px;height:20px}#camera-dialog .camera-privacy{position:static;margin:18px 0 0;font-size:12px;line-height:1.4;color:#a9c0b3;text-align:center}#camera-dialog.camera-ready .camera-intro{padding:16px 0 6px}#camera-dialog.camera-ready .camera-intro h1{font-size:23px}#camera-dialog.camera-ready .camera-intro .eyebrow{display:none}#camera-dialog.camera-ready #camera-message{margin-bottom:12px}
.app-shell #scanner[aria-busy=true]>#scan-message{display:none!important}.app-shell .scan-readout{bottom:calc(100px + env(safe-area-inset-bottom));padding:12px 18px;font-size:14px;gap:10px;border:1px solid #b6df8e42}.app-shell .scan-spinner{width:17px;height:17px;border-width:2px}.app-shell .scan-beam{height:3px;box-shadow:0 0 22px #b8ff76;animation-duration:2s}.app-shell #cancel-scan{font-size:14px;background:none;border:0;text-decoration:underline;text-underline-offset:4px;padding:10px;bottom:calc(30px + env(safe-area-inset-bottom));opacity:.85}.app-shell #scan-message.error{font-size:14px}.app-shell .scan-success{width:52px;height:52px}
.app-shell .workspace .pantry{padding:22px 20px 0;max-height:88dvh;border-radius:25px 25px 0 0;scroll-padding-top:20px;scroll-padding-bottom:110px}.app-shell .pantry:before{margin:-10px auto 16px}.app-shell #sheet-camera{display:flex;align-items:center;gap:6px;margin:0 0 16px;padding:6px 0;min-height:36px;color:#536d5c}.app-shell #sheet-camera .ui-icon{width:18px;height:18px}.app-shell #review h3{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:0 0 9px;color:#153d2c}.app-shell #review-warning{font-size:14px;line-height:1.5;color:#66766b;margin:0 0 14px}.app-shell .review-row{grid-template-columns:24px minmax(0,1fr) 34px;gap:6px;padding:5px 10px;margin:7px 0;min-height:48px;border:1px solid #e3e8df;border-radius:11px;background:#fff}.app-shell .review-row.is-selected{border-color:#c9d9be}.app-shell .review-row input[type=text]{grid-column:2;font-size:16px;padding:6px 2px;min-height:34px;color:#1e3e2d}.app-shell .review-row input[type=checkbox]{width:19px;height:19px;grid-column:1;grid-row:1}.app-shell .review-row .uncertain{grid-column:2;grid-row:2;justify-self:start;margin:-2px 0 4px;border-radius:12px;background:#fff2d8;color:#876120;padding:3px 8px;font-size:12px;line-height:1.2}.app-shell .remove-detection{grid-column:3;grid-row:1/3;display:flex;align-items:center;justify-content:center;width:34px;min-height:38px;border:0;background:none;color:#879486;border-radius:8px;padding:7px}.app-shell .remove-detection:hover{background:#f7eae4;color:#994e3d}.app-shell .remove-detection .ui-icon{width:18px;height:18px}.app-shell .pantry .scan-hint{font-size:12px;line-height:1.4;color:#798477}.app-shell .pantry>.section-top{margin-bottom:12px}.app-shell .add-ingredient{display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;width:100%;border:1px dashed #bfd0b4;border-radius:11px;background:transparent;color:#24573c;font-size:14px;font-weight:600;margin:12px 0}.app-shell .add-ingredient .ui-icon{width:18px;height:18px}.app-shell .sheet-footer{position:sticky;bottom:0;background:#f8fbf3;z-index:4;padding:10px 0 calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 18px #f8fbf3ee;border-top:1px solid #e4ebdf;margin-top:16px}.app-shell #confirm-scan,.app-shell #find{position:static;width:100%;box-shadow:none;margin:0;min-height:52px}.app-shell .selected-count{margin:0 0 8px;text-align:center;font-size:13px;color:#6b7c6d}.app-shell .pantry .pantry-note{font-size:12px;color:#75836f;line-height:1.5;margin:12px 0}.app-shell .pantry.review-open>p:not(.pantry-note){display:none}.app-shell .chip{padding:7px 10px;font-size:14px;gap:9px}.app-shell .suggestions button{font-size:13px;padding:8px 10px}.app-shell .input-wrap input{font-size:16px}
.app-shell .ideas{padding:25px 20px calc(30px + env(safe-area-inset-bottom))}.app-shell .ideas>.section-top h2{font-size:28px;letter-spacing:-.8px;line-height:1.2}.recipe-loading{padding:3px 0}.loading-heading{display:flex;align-items:center;gap:14px;margin:4px 0 25px}.loading-heading p{font-size:14px;line-height:1.5;color:#70806e}.loader-orbit{width:35px;height:35px;border:3px solid #dfe8d7;border-top-color:#245f40;border-right-color:#b4d374;border-radius:50%;animation:loader-spin 1.1s linear infinite;flex:none}.progress-list{list-style:none;padding:0;margin:0 0 24px}.progress-list li{display:flex;gap:13px;align-items:center;padding:11px 0;color:#8b9685;font-size:14px}.progress-list .ui-icon,.progress-dot{width:20px;height:20px;flex:none}.progress-dot{display:block;border:2px solid #dce3d6;border-radius:50%;position:relative}.progress-list .active{color:#183e2a;font-weight:700}.progress-list .active .progress-dot{border-color:#c4d6b5;border-top-color:#215837;animation:loader-spin .9s linear infinite}.progress-list .done{color:#457645}.progress-list .done .ui-icon{stroke-width:2.2}.recipe-skeletons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.skeleton-card{border:1px solid #e3e9de;background:#fff;border-radius:16px;overflow:hidden;padding:0 0 13px}.skeleton-photo{height:110px;background:#e4ebdd}.skeleton-line{height:10px;border-radius:4px;margin:14px 12px 0;width:70%;background:#e4ebdd}.skeleton-line.short{width:45%;margin-top:9px}.skeleton-photo,.skeleton-line{background-image:linear-gradient(100deg,transparent 25%,#ffffffb0 50%,transparent 75%);background-size:200% 100%;animation:shimmer 1.8s linear infinite}.cancel-link{display:block;background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:#7a8775;font-size:13px;padding:16px 0;margin:0 auto}.app-shell .result-intro{font-size:14px;line-height:1.5;color:#6c7b68;margin:0 0 22px}.app-shell .workspace .ideas .card{display:flex;flex-direction:column;align-items:stretch;background:#fff;border:1px solid #e1e8db;border-radius:20px;overflow:hidden;text-align:left;margin:0 0 20px;box-shadow:0 5px 20px #183d2908;padding:0}.app-shell .recipe-body{padding:17px 18px 20px}.app-shell .card h3{font-size:23px;letter-spacing:-.5px;line-height:1.25;margin:13px 0 10px}.app-shell .card-top{gap:10px;align-items:center;flex-wrap:wrap}.app-shell .card .time{display:flex;align-items:center;gap:5px;font-size:13px;color:#52664f}.card .time .ui-icon{width:16px;height:16px}.difficulty{font-size:12px;color:#315b34;background:#edf4e5;padding:4px 8px;border-radius:20px}.servings{font-size:12px;color:#83907c}.app-shell .card .have-count{font-size:14px;font-weight:650;color:#376a3e;margin:0 0 7px}.app-shell .card .missing-copy{font-size:13px;color:#7b8673;line-height:1.5;margin:0}.source-photo{width:100%;aspect-ratio:16/10;overflow:hidden;background:#e4ecdf;position:relative}.source-photo img{width:100%;height:100%;object-fit:cover;display:block}.photo-unavailable{display:flex;align-items:center;justify-content:center;gap:12px;color:#61785d;font-size:14px}.app-shell .card .recipe-photo{width:100%;max-width:none;max-height:340px}.app-shell .recipe-placeholder{aspect-ratio:16/9;background:#e6efdc;min-height:160px;gap:12px}.recipe-placeholder>.ui-icon{width:44px;height:44px;opacity:.5}.app-shell .selection-note{font-size:12px;line-height:1.5;color:#88927f}.app-shell .recipe-source{font-size:14px}.app-shell #recipe-dialog{scroll-padding-top:24px}.app-shell .detail-photo{border-radius:15px}.app-shell #recipe-content h2{font-size:27px;line-height:1.25}.app-shell #recipe-content li{line-height:1.7;font-size:15px}
@keyframes loader-spin{to{transform:rotate(360deg)}}@keyframes shimmer{from{background-position:150% 0}to{background-position:-50% 0}}@media(max-height:680px){#camera-dialog .camera-intro{padding:14px 0 8px}#camera-dialog .camera-intro h1{font-size:25px}#camera-dialog .camera-intro .eyebrow{font-size:10px;margin-bottom:5px}#camera-dialog .camera-target{margin:5px auto 12px}#camera-dialog #camera-message{margin-bottom:10px;font-size:13px}#camera-dialog .camera-privacy{margin-top:10px}#camera-dialog #camera-retry{padding:12px;min-height:48px;margin-bottom:10px}}@media(min-width:700px){.app-shell #results{display:grid;grid-template-columns:1fr 1fr;gap:18px}.app-shell #results>.result-intro,.app-shell #results>.selection-note,.app-shell #results>.recipe-loading,.app-shell #results>.cancel-link,.app-shell #results>.empty{grid-column:1/-1}.app-shell .workspace .ideas .card{margin:0}.recipe-skeletons{gap:20px}.skeleton-photo{height:170px}}@media(prefers-reduced-motion:reduce){.loader-orbit,.progress-list .active .progress-dot,.skeleton-photo,.skeleton-line{animation:none}.progress-list .active .progress-dot{background:#215837;box-shadow:inset 0 0 0 4px #fff}.loader-orbit{border-color:#215837 #b4d374}.skeleton-photo,.skeleton-line{background-image:none}}
.scan-found{position:absolute;z-index:3;bottom:calc(170px + env(safe-area-inset-bottom));left:20px;right:20px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.scan-found span{padding:7px 11px;border-radius:20px;background:#effbdfe8;color:#17422b;font-size:13px;animation:ingredient-in .25s ease-out}.app-shell[data-step="2"] .scan-found{display:none}
#camera-dialog #camera-import span,#camera-dialog #manual-entry span{font-size:inherit}.app-shell #camera-dialog .camera-controls button{font-size:14px}
#camera-dialog>.camera-view{position:absolute;inset:0;width:100%;height:100%;max-width:none;transform:none;aspect-ratio:auto;border-radius:0}#camera-dialog>.camera-view #camera-video{width:100%;height:100%;object-fit:cover;border-radius:0}.app-shell .preview-wrap{width:100%;max-width:none;left:0;transform:none}.app-shell .preview-wrap #photo-preview{object-fit:cover}
