@charset "UTF-8";
:root{--button-green:#444444;--ink:#444444;--orange:#85B343;--bg:#f2f2f7;--card:#ffffff;--text:#262626;--muted:#66666b;--line:#dedee3;--shadow:0 8px 26px rgba(0,0,0,.06);--danger:#b42318}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font:17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.wrap{max-width:760px;margin:auto;padding:22px 18px 80px}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}button:disabled{opacity:.5;cursor:default}h1,h2,h3{color:var(--ink);margin:0 0 12px}h1{font-size:30px;letter-spacing:-.02em}h2{font-size:24px}h3{font-size:19px}p{line-height:1.5}header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.brand{font-size:30px;font-weight:600;color:var(--ink);letter-spacing:.2px;display:flex;align-items:flex-start;flex-wrap:wrap;overflow-wrap:anywhere}.brand .accent{color:var(--orange)}.badge{font-size:11px;letter-spacing:0;white-space:normal;max-width:160px;background:var(--button-green);color:white;border:2px solid var(--bg);border-radius:20px;padding:4px 8px;margin-left:-3px;margin-top:-5px}.tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.tabs button,.chip{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:999px;min-height:44px;padding:9px 14px;font-size:15px;font-weight:750}.tabs button.active,.chip[aria-pressed=true]{background:var(--button-green);border-color:var(--button-green);color:white}.tabs .icon{width:44px;height:44px;padding:0;display:grid;place-items:center;position:relative}.icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.count{position:absolute;right:-4px;top:-6px;background:var(--orange);color:white;font-size:11px;border-radius:99px;padding:2px 5px;border:2px solid var(--bg)}.panel,.item,.cook-step{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow);margin-bottom:12px}.item{display:flex;gap:12px;align-items:center;border-radius:18px;padding:13px}.item .copy{flex:1;min-width:0;overflow-wrap:anywhere}.name{font-weight:800;font-size:19px;color:var(--ink)}.muted{color:var(--muted);font-size:14px}.check{width:46px;height:46px;flex:0 0 46px;border:2px solid var(--ink);border-radius:50%;background:var(--card);color:var(--ink);font-size:24px;font-weight:800}.done .check{background:var(--button-green);color:white}.done .name{text-decoration:line-through}.done{opacity:.65}.group{margin:22px 0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border-radius:14px;font-weight:750;text-decoration:none;border:1px solid var(--button-green);background:var(--button-green);color:white;text-align:center}.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.danger{color:var(--danger)}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.actions>*{flex:1 1 auto}.field{display:grid;gap:6px;margin:10px 0}input:not([type=checkbox]),select,textarea{width:100%;min-height:48px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--text);padding:10px 13px}input[type=checkbox]{width:22px;height:22px;accent-color:var(--button-green);flex:none}label.option{display:flex;align-items:center;gap:9px;min-height:44px}.heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 12px}.heading h2{margin:0}.heading input{width:42%;min-width:100px}.guide-title{display:block;background:none;border:0;text-align:left;padding:0;color:var(--ink);font-size:22px;font-weight:800;overflow-wrap:anywhere;cursor:pointer}.highlight{color:var(--orange)}.ingredient{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.ingredient.on-list{color:var(--orange);font-weight:750}.cook-step{display:block;padding:22px;cursor:pointer}.cook-step .step-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:21px;font-weight:800;color:var(--ink);margin-bottom:8px}.cook-step .step-text{display:block;font-size:19px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.cook-step.checked{background:color-mix(in srgb,var(--button-green) 10%,var(--card))}.checked .step-text{text-decoration:line-through;color:var(--muted)}.fade{animation:fade .18s ease-out}@keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.chips{display:flex;gap:7px;flex-wrap:wrap;max-height:260px;overflow:auto;margin:12px 0}.empty{text-align:center;padding:24px;color:var(--muted)}.notice{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.error{color:var(--danger)}.setup{max-width:440px;margin:8vh auto}.setup .primary{width:100%}.toast{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--button-green);color:white;padding:12px 20px;border-radius:14px;max-width:90%;z-index:10;box-shadow:var(--shadow)}.toast.toast-success{background:var(--orange);color:white}[hidden]{display:none!important}details summary{cursor:pointer;padding:8px 0;color:var(--ink)}.link{border:0;background:none;color:var(--ink);text-decoration:underline;padding:8px 0;font-size:15px}.step-reset{transition:opacity .18s}.step-reset.inactive{opacity:0;visibility:hidden;pointer-events:none}dialog{border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--text);width:min(540px,calc(100% - 28px));max-height:90dvh;padding:20px}dialog::backdrop{background:#0006}.install-icon{width:80px;height:80px;border-radius:18px}.finder-result{margin-top:12px}.meter{height:7px;background:var(--line);border-radius:10px;overflow:hidden;margin:8px 0}.meter span{display:block;height:100%;background:var(--button-green)}@media(max-width:650px){.wrap{padding:17px 14px 80px}.cook-step{padding:18px}.brand{font-size:28px}.tabs{gap:5px}.tabs button{padding:8px 11px}.tabs .icon{padding:0}.heading h2{font-size:22px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{body{background:white;color:black}.wrap{padding:0;max-width:none}header,.tabs,.actions,.no-print,.check,input,.toast,button{display:none!important}.panel,.item,.cook-step{box-shadow:none;border:0;background:white!important;padding:5pt 0;margin:0;break-inside:avoid}.cook-step .step-text{font-size:11pt;color:black;text-decoration:none}.cook-step .step-head{font-size:12pt}.ingredient{font-size:11pt}.heading h2{font-size:14pt}h1{font-size:22pt}}

.main-nav{flex-wrap:nowrap;gap:5px}.main-nav .icon{flex:0 1 44px;min-width:0;aspect-ratio:1;height:auto;min-height:0}.guide-card{display:block;width:100%;text-align:left;color:var(--text);font:inherit;cursor:pointer}.guide-card .muted{display:block}.swipe-row{touch-action:pan-y;will-change:transform}.group{overflow:clip;padding:2px 0}.storage-granted{color:var(--button-green)}

.profile-settings{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-height:44px;max-width:45%;padding:0;border:0;background:none;color:var(--muted);font-size:14px;text-align:right}.profile-settings span{min-width:0;overflow-wrap:anywhere}.profile-settings svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-settings[aria-pressed=true]{color:var(--ink)}.main-nav .nav-add{margin-left:auto;flex:0 0 48px;width:48px;height:48px;background:var(--orange);border-color:var(--orange);color:white}.main-nav{align-items:center}.main-nav .nav-add svg{width:27px;height:27px;stroke-width:2.2}

.material-add-form select{min-width:0;min-height:54px;padding:12px 32px 12px 13px}.material-add-form .option + .primary{margin-top:14px}

.install-qr{display:block;width: min(220px,100%);height:auto;margin:16px auto;background:white;image-rendering:pixelated}.install-link{overflow-wrap:anywhere;word-break:break-word}.setup .panel h3{margin-top:0}

/* Installation only – the normal app and name setup keep their existing layout. */
.install-setup{margin:clamp(12px,4vh,36px) auto 0}.install-heading{text-align:center;margin-bottom:22px}.install-heading .brand{justify-content:center;margin:12px 0 18px}.install-heading h2{margin-bottom:8px}.install-heading .install-icon{display:block;margin:0 auto}.install-intro{font-size:15px;color:var(--muted);margin:0;line-height:1.5}.install-steps{list-style:none;padding:0;margin:0}.install-step{display:flex;align-items:flex-start;gap:13px;padding:15px 0}.install-step:first-child{padding-top:2px}.install-step:last-child{padding-bottom:2px}.install-step+.install-step{border-top:1px solid var(--line)}.install-step-symbol{width:40px;height:40px;flex:0 0 40px;border-radius:11px;background:var(--bg);display:grid;place-items:center;color:var(--ink)}.install-step-symbol svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.install-step-app{display:block;width:40px;height:40px;border-radius:11px}.install-step-copy{min-width:0;flex:1}.install-setup .install-step h3{font-size:16px;font-weight:650;line-height:1.35;margin:0 0 4px}.install-step p{font-size:14px;line-height:1.5;color:var(--muted);margin:0;overflow-wrap:anywhere}.install-steps+.primary,.install-steps+.secondary,.install-steps+.primary+.secondary{margin-top:16px;width:100%}.install-privacy{text-align:center;margin:18px 4px 0}.install-setup .panel>.secondary{max-width:100%}

/* Center only the desktop mobile-transfer card. */
.install-mobile-transfer{text-align:center}

/* Quantity conflicts only: keep the established card/button styles. */
.quantity-dialog h2{overflow-wrap:anywhere;margin-bottom:16px}.quantity-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px}.quantity-value{background:var(--bg);border-radius:14px;padding:12px;min-width:0;overflow-wrap:anywhere}.quantity-value .muted,.quantity-value strong{display:block}.quantity-value strong{font-size:19px;color:var(--ink);margin-top:4px}.quantity-actions{display:grid;gap:8px;margin-top:18px}.quantity-actions .primary{background:var(--orange);border-color:var(--orange);color:white}.quantity-dialog h2[tabindex="-1"]:focus{outline:none}.quantity-dialog textarea{resize:vertical;min-height:66px}.quantity-dialog .notice{margin:12px 0}

/* Update notification: independent of customer accent color. */
.profile-gear{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center}
.profile-settings .update-dot{position:absolute;top:-3px;right:-4px;width:9px;height:9px;border-radius:50%;background:#f59e0b;border:1.5px solid var(--bg);pointer-events:none}
.update-card h3{display:flex;align-items:center;gap:8px}.update-card-symbol{color:#d97706;font-size:23px;line-height:1;font-weight:700}.update-card .primary{width:100%;background:var(--orange);border-color:var(--orange);color:white}.update-card .notice{margin:0 0 12px}

/* Full-width finder entry; guide heading and search remain unchanged. */
.finder-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;text-align:left;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--line) 70%,var(--bg));color:var(--ink)}
.finder-entry-copy{display:block;flex:1;min-width:0;overflow-wrap:anywhere}.finder-entry-title{display:block;font-size:19px;font-weight:800;line-height:1.3}.finder-entry-description{display:block;font-size:14px;font-weight:400;line-height:1.45;color:var(--muted);margin-top:4px}.finder-entry svg{width:32px;height:32px;flex:0 0 32px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Detail view: native-style back navigation, independent of other links. */
.guide-back{display:inline-flex;align-items:center;gap:5px;min-height:44px;margin:0 0 14px;padding:0 8px 0 0;border:0;background:transparent;color:var(--ink);font-size:16px;font-weight:600;line-height:1.3;text-decoration:none;text-align:left}
.guide-back svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Abstand zwischen Namenseingabe und Sicherungsimport. */
.setup > form + .link { margin-top: 24px; }

/* Master finishing: stable headings, spacious category selection and finder score. */
#screen > .section-heading{min-height:48px;margin:0 0 12px;align-items:center}
#screen > .finder-entry + .section-heading{margin-top:18px}
#screen > .section-heading h2{font-size:24px;line-height:1.2;margin:0;min-width:0;overflow-wrap:anywhere}
#screen > .section-heading input{height:48px;flex:0 0 42%}
@media(max-width:650px){#screen > .section-heading h2{font-size:22px}}
.list-filters button{white-space:nowrap;font-variant-numeric:tabular-nums}
select.category-select,.material-add-form select.category-select{min-height:58px;height:58px;padding:13px 36px 13px 13px;line-height:1.35;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2366666b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
@media(forced-colors:active){select.category-select,.material-add-form select.category-select{appearance:auto;background-image:none}}
.finder-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.finder-result-heading .guide-title{flex:1;min-width:0}
.finder-percentage{flex:none;color:var(--ink);font-weight:750;font-size:19px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap}
@media print{#screen > .section-heading h2{font-size:14pt}}

/* Guide overview: separate detail link and direct material selection. */
.guide-overview-link{display:block;width:100%;padding:0;border:0;background:none;text-align:left;color:var(--text);font:inherit;cursor:pointer}
.guide-overview-link .muted{display:block}
.guide-transfer-button{display:flex;width:100%;margin-top:14px}
.guide-transfer-button:disabled,.guide-transfer-actions .primary:disabled{opacity:.45;cursor:default}
.guide-transfer-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.guide-transfer-dialog h2{margin:0 0 6px;overflow-wrap:anywhere}
.guide-transfer-dialog h2:focus{outline:none}
.guide-transfer-name{margin:0 0 12px;overflow-wrap:anywhere;color:var(--muted)}
.guide-transfer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.guide-transfer-toggle{min-height:40px;padding:6px 12px;font-size:14px}
.guide-transfer-options{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:4px}
.guide-transfer-options h3{font-size:15px;margin:12px 0 4px}
.guide-transfer-option{padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.guide-transfer-option>span{min-width:0}
.guide-transfer-status{display:block;color:var(--orange);font-size:12px;margin-top:2px}
.guide-transfer-actions{flex:none;margin-top:12px}

/* appform: legal and company contact */
.legal-footer{text-align:center;margin:28px 0 12px;color:var(--muted);font-size:12px;line-height:1.5}.legal-links{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}.legal-links .link{font-size:13px;min-height:44px;color:var(--ink);padding:6px 4px}.legal-footer>a{color:var(--muted);text-decoration:none}.legal-dialog{max-height:85dvh;overflow:auto}.legal-section h3{margin:16px 0 5px}.legal-section p{white-space:pre-line;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.legal-dialog>.primary{width:100%;margin-top:16px}.company-row{display:flex;align-items:center;gap:12px;width:100%;background:none;color:var(--ink);border:0;border-radius:0;text-align:left;min-height:48px;padding:10px 0;font:inherit}.company-row+.company-row{border-top:1px solid var(--line)}.company-row svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.company-arrow{margin-left:auto;color:var(--muted);font-size:20px}
/* A small chevron identifies the finder card as a link-like action. */
.finder-entry-title::after{content:"";display:inline-block;width:8px;height:8px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor;margin-left:10px;vertical-align:0.1em;transform:rotate(45deg);}
/* Scale the guide chevron with its larger title; keep the finder unchanged. */
.guide-title .finder-entry-title::after{width:0.42105263em;height:0.42105263em;border-top-width:0.09473684em;border-right-width:0.09473684em;margin-left:0.52631579em;}


/* Browser access: prominent, immediate choice without scrolling through instructions. */
.browser-choice{text-align:center}.browser-choice .secondary{width:100%}.browser-choice .notice{margin:12px 0 0;line-height:1.5}

/* Name setup only – keep installation instructions and app screens unchanged. */
.name-setup{text-align:center}
.name-setup > .brand{justify-content:center;margin:0 0 20px}
.name-setup > h2{margin:0 0 10px}
.name-setup > p{margin:0 0 22px}
.name-setup > form input{text-align:center}
