/* Shared UI tokens and component variants. Product files supply data, not styling. */
html body #main#main.layout.editor .price.supplier-price:is([data-state="estimated"],[data-state="ok"]) .price-unit{display:block!important;max-width:42ch;white-space:normal;font-size:12px;line-height:1.5;margin-top:6px}
@media(min-width:1100px){html body #main#main.layout.editor .price.supplier-price:is([data-state="estimated"],[data-state="ok"]) .price-unit{width:100%;max-width:none;box-sizing:border-box;padding-inline-end:210px;text-align:left}}
:root{
 --fb-brand:var(--fb-brand-ink,#17394c);
 --fb-accent:#294e70;
 --fb-accent-hover:#193550;
 --fb-canvas:#f3f5f7;
 --fb-select:#294e70;
 --fb-select-press:#193550;
 --fb-on-select:#fff;
 --fb-selection:#eaf0f4;
 --fb-control-line:#8396a6;
 --fb-leaf:#eaf0f4;
 --fb-sky:#eaf0f4;
 --fb-sky-strong:#7a9ab0;
 --fb-apricot:#e3e5e6;
 --fb-sand:#e3e8ed;
 --navy:#204962;
 --ok:#204962;
 --navy-ink:#204962;
 --go:#3e4143;
 --go-hover:#272a2d;
 --focus:#204962;
 --tint:#eaf0f4;
 --fb-fill:#204962;
 --fb-dot:#3e4143;
 --fb-ui-corner:var(--edge,2px);
 --fb-ui-accent:var(--fb-accent,#3e4143);
 --fb-ui-card-gap:20px;
 --fb-ui-card-min:196px;
 --fb-ui-profile-min:244px;
 --fb-ui-card-image:116px;
 --fb-ui-profile-image:180px;
 --fb-ui-card-title:17px;
 --fb-ui-card-copy:14px;
 --fb-ui-arrow-size:24px;
 --fb-ui-arrow-glyph:16px;
 --fb-ui-arrow-inset:10px;
 --fb-ui-card-footer:38px;
}
@media(max-width:640px){
 :root{--fb-ui-card-gap:8px;--fb-ui-card-image:92px;--fb-ui-profile-image:156px;--fb-ui-card-title:14px;--fb-ui-card-copy:12px}
}
html body #main#main button.card[data-ui-card]{border-radius:var(--fb-ui-corner)!important}

/* Fallback, wenn keine Auswahlaktion greift: nur ein Pfeil. Die eine Auswahlaktion
   (vollbreit, --fb-select) steht in shop-makers.css und gilt für alle Auswahlschritte. */
html body:not(.is-home) #main#main button.card[data-ui-card] .fb-flow.fb-flow-icon{
  display:inline-flex!important;position:absolute!important;top:auto!important;right:var(--fb-ui-arrow-inset)!important;bottom:var(--fb-ui-arrow-inset)!important;left:auto!important;
  width:var(--fb-ui-arrow-size)!important;height:var(--fb-ui-arrow-size)!important;min-height:var(--fb-ui-arrow-size)!important;min-width:var(--fb-ui-arrow-size)!important;margin:0!important;padding:0!important;
  align-items:center;justify-content:center;gap:0!important;opacity:1!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--fb-ui-accent)!important;box-shadow:none!important;transform:none!important;pointer-events:none;
}
html body:not(.is-home) #main#main button.card[data-ui-card] .fb-flow.fb-flow-icon::before,
html body:not(.is-home) #main#main button.card[data-ui-card] .fb-flow.fb-flow-icon::after{content:none!important;display:none!important}
html body:not(.is-home) #main#main button.card[data-ui-card] .fb-flow.fb-flow-icon svg{width:var(--fb-ui-arrow-glyph);height:var(--fb-ui-arrow-glyph)}
/* A small footer clearance keeps long profile descriptions clear of the arrow. */
html body:not(.is-home) #main#main button.card[data-ui-card]{padding-bottom:var(--fb-ui-card-footer)!important}

/* One hover/press behaviour for every category, not one override per product. */
html body #main#main#main button.card[data-ui-card]{transition:transform 180ms var(--fb-card-ease,cubic-bezier(.23,1,.32,1)),box-shadow 180ms var(--fb-card-ease,cubic-bezier(.23,1,.32,1)),border-color 180ms ease!important}
@media(hover:hover) and (pointer:fine){
 html body #main#main#main button.card[data-ui-card]:not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-2px)!important;box-shadow:0 8px 20px -16px rgb(32 35 34 / .24)!important;z-index:1}
 html body #main#main .btn:not(:disabled):hover{transform:translateY(-2px);transition:transform 160ms var(--fb-card-ease,cubic-bezier(.23,1,.32,1))}
}
html body #main#main#main button.card[data-ui-card]:is(:active,.is-pressing){transform:translateY(-1px)!important;box-shadow:0 4px 12px -8px rgb(32 35 34 / .3)!important}
html body #main#main#main button.card[data-ui-card].is-pressing .fb-flow{box-shadow:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){
 html body #main#main#main button.card[data-ui-card],html body #main#main#main button.card[data-ui-card]:is(:hover,:active,.is-pressing),html body #main#main .btn:hover{transform:none!important;transition:none!important}
}

/* Real product descriptions in the shared profile-card component. */
.pc-description{display:block;font-size:13px;line-height:1.45;color:var(--text,#26312f);margin-block:0 10px}

/* Shared shell: one identity across homepage, selection and editor. */
html body{background:var(--fb-surface);color:var(--fb-ink);font-weight:450}
html body .top{min-height:96px;padding:10px max(24px,calc((100vw - 1296px)/2));background:var(--fb-canvas);border-bottom:1px solid var(--fb-line)}
html body .top .brand img{width:76px;height:76px;min-width:76px;filter:none;animation:none}
html body .top .top-claim2{display:none!important}
html body .top .top-phone{color:var(--fb-brand)}
html body .top .cart-btn{color:var(--fb-brand);border:1px solid var(--fb-line);border-radius:2px;background:#fff;min-height:44px}
html body .testbar{background:#eaf0f5;color:var(--fb-muted);font-size:12px}
html body .badge{background:var(--fb-brand)}
html body .steps-wrap{background:#fff;border-bottom-color:var(--fb-line)}
html body .steps-wrap .step.active{background:var(--fb-selection);color:var(--fb-brand);border-color:var(--fb-accent)}
html body .steps-wrap .step.active .num{background:var(--fb-brand);border-color:var(--fb-brand);color:#fff}
html body .steps-wrap .step.done .num{background:var(--fb-selection);border-color:var(--fb-selection);color:var(--fb-brand)}
html body .steps-wrap .step.done{color:var(--fb-brand)}
html body .steps-wrap .step:disabled{color:var(--fb-muted)}
html body .fb-step-status{color:var(--fb-brand)}
html body .fb-step-status>i{display:none}
html body #main#main .btn:not(.ghost){background:var(--fb-accent);border-color:var(--fb-accent);color:#fff}
html body #main#main .btn:not(.ghost):hover{background:var(--fb-accent-hover);border-color:var(--fb-accent-hover)}
html body #main#main .btn.ghost{background:#fff;border-color:var(--fb-line);color:var(--fb-brand)}
html body #main#main .btn,html body #main#main input,html body #main#main select{border-radius:2px}
html body #main#main .btn.go{--fb-dot:#fff!important;--fb-fill:var(--fb-accent-hover)!important}
html body #main#main .fb-flow{--fb-fill:var(--fb-brand);--fb-dot:var(--fb-accent);color:var(--fb-brand)}
html body #main#main button.card[data-ui-card]:is([aria-pressed=true],.selected,.on){background:var(--fb-selection)!important;border-color:var(--fb-brand)!important}
html body #main#main button.card[data-flow]:is(:focus-visible,[aria-pressed=true]) .fb-flow{background:var(--fb-brand);border-color:var(--fb-brand);color:#fff}
html body #main#main .opening-next{border-radius:2px;box-shadow:none;background:var(--fb-selection);border-color:var(--fb-line);color:var(--fb-brand)}
html body #main#main .opening-next button{background:var(--fb-accent);border-color:var(--fb-accent);color:#fff}
html body #main#main .fb-decision-help{font-size:14px;line-height:1.6;color:var(--fb-muted);max-width:76ch;margin:16px 0 0;padding:16px 20px;background:#eaf0f5;border:0}
html body #main#main .fb-decision-help strong{color:var(--fb-brand);font-weight:650}
html body:not(.is-home) #main#main.layout.picker{max-width:1296px;padding:36px 24px 56px}
html body #main#main .picker-head h1{color:var(--fb-brand);font-weight:550;font-size:32px;line-height:1.2}
html body #main#main .picker-head p{font-size:16px;color:var(--fb-muted)}
html body #main#main .cards.profile{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
html body #main#main .pc-wrap{min-width:0}
html body #main#main button.card[data-ui-card="profile"]{background:#fff!important;border:1px solid var(--fb-line)!important;box-shadow:none!important;display:flex;flex-direction:column;overflow:hidden;padding:0 0 44px!important}
html body #main#main button.card[data-ui-card="profile"] .card-title{background:#fff;padding:20px 64px 16px 20px;min-height:70px;color:var(--fb-brand);font-size:18px;font-weight:600}
html body #main#main button.card[data-ui-card="profile"] .card-visual{height:180px!important;min-height:180px!important;padding:16px!important;background:#f7f9fb!important;display:grid!important;place-items:center!important;flex:none!important}
html body #main#main button.card[data-ui-card="profile"] .card-visual img{max-height:150px!important;max-width:90%!important;width:auto!important;height:auto!important;object-fit:contain!important;position:static!important;margin:auto!important;transform:none!important}
html body #main#main button.card[data-ui-card="profile"] .pc-facts{padding:20px!important;margin:0!important;border:0!important;font-size:14px;line-height:1.6}
html body #main#main .pc-list{margin:0!important;padding-left:16px}
html body #main#main .pc-list li{margin:0 0 6px;color:var(--fb-muted);white-space:normal}
html body #main#main .pc-list li::marker{color:var(--fb-brand)}
html body #main#main .pc-info{width:36px;height:36px;min-height:36px;top:14px;right:14px;background:#f4f7fa;border:1px solid var(--fb-line);border-radius:2px;color:var(--fb-brand)}
html body #main#main.layout.editor{max-width:1360px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:24px 32px 56px;gap:28px;align-items:start}
html body #main#main.layout.editor .stage{background:#fff!important;border:1px solid var(--fb-line)!important;border-radius:2px!important;box-shadow:none!important;top:92px;overflow:hidden}
html body #main#main.layout.editor .panel{background:#fff;border:1px solid var(--fb-line);border-radius:2px;padding:28px;box-shadow:none}
html body #main#main.layout.editor .panel-head h1,html body #main#main.layout.editor .panel-head h2{color:var(--fb-brand);font-weight:550;font-size:26px}
html body #main#main.layout.editor .panel h2{font-weight:550;color:var(--fb-brand)}
html body #main#main.layout.editor .stage-bar{padding:16px;gap:12px;flex-wrap:wrap;background:#fff;border-bottom:1px solid var(--fb-line)}
html body #main#main.layout.editor .stage-bar .seg{background:var(--fb-selection)!important;border-radius:2px}
html body #main#main.layout.editor .wiz{display:none!important}
html body #main#main.layout.editor .canvas-wrap{padding:16px;background:#f2f6f9!important}
html body #main#main.layout.editor .canvas{height:360px!important;min-height:0!important;max-height:50vh!important;background:transparent!important;display:grid;place-items:center}
html body #main#main.layout.editor #canvas>svg{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain}
html body #main#main.layout.editor .spec-wrap{background:#fff;border-top:1px solid var(--fb-line)}
html body #main#main.layout.editor .spec-row.active,html body #main#main.layout.editor .spec-wrap .on{background:var(--fb-selection)!important;color:var(--fb-brand)!important}
html body #main#main.layout.editor .buybar{background:#fff;border-color:var(--fb-line)}
html body #main#main.layout.editor .buybar .price-label{color:var(--fb-brand)}
html body #main#main.layout.editor input{accent-color:var(--fb-accent);border-color:var(--fb-control-line);font-variant-numeric:tabular-nums}
html body #main#main.layout.editor .measure-help{background:var(--fb-selection);color:var(--fb-brand)}
html body .site-foot[data-footer7]{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:44px max(16px,calc((100% - 1248px)/2)) 26px;background:var(--fb-canvas)!important;color:var(--fb-ink);border-top:0}
html body:not(.is-home) .site-foot{border-top:1px solid var(--fb-line)}
html body .site-foot :is(h2,h3,strong,b,.foot7-logo){color:var(--fb-brand)!important}
html body .site-foot :is(a,a.revoke-link){color:var(--fb-ink)!important}
html body .site-foot a:hover{color:var(--fb-brand)!important}
html body .site-foot a:focus-visible{outline-color:var(--fb-brand)!important}
html body .site-foot :is(.foot7-brand p,.foot7-col li,.foot7-bar p,.shop-footer-brand p){color:var(--fb-muted)}
html body .site-foot .foot7-logo img{display:block;width:108px;height:85px;object-fit:cover;object-position:center;background:transparent;padding:0;border-radius:0;mix-blend-mode:multiply}
html body .site-foot .foot7-bar{border-top-color:var(--fb-line)}
html body .site-foot .foot7-social-btn{border-color:var(--fb-control-line);color:var(--fb-brand)!important}
html body .site-foot a.foot7-social-btn:hover{background:var(--fb-selection)}
html body .photo-note{color:var(--fb-muted)}
html body #fb-chat .chat-fab{background:var(--fb-brand)!important;border-radius:2px!important;color:#fff!important}
html body ::selection{background:#dce8f2;color:#204962}
html body :is(button,a,input,select,summary):focus-visible{outline-color:var(--fb-brand)}
@media(hover:hover) and (pointer:fine){html body #main#main button.card[data-ui-card]:hover{border-color:#8ea6ba!important;background-color:#fff}html body #main#main button.card[data-flow]:hover .fb-flow{background:var(--fb-selection);border-color:#8ea6ba;color:var(--fb-brand)}}
@media(max-width:1000px){html body #main#main .cards.profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #main#main.layout.editor{padding-inline:20px;gap:20px}html body #main#main.layout.editor .panel{padding:20px}}
@media(max-width:760px){
 /* Compact shell, never applied to the homepage. Accessible icon labels remain. */
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top{display:grid!important;grid-template-columns:40px minmax(0,1fr);gap:8px;min-height:60px!important;padding:6px 12px!important;align-items:center}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top .brand{padding:0}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top .brand,
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top .brand img{width:var(--shop-logo-width,40px)!important;height:var(--shop-logo-height,44px)!important;min-width:var(--shop-logo-width,40px)!important}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-nav{display:flex!important;justify-content:flex-end;align-items:center;gap:6px;width:100%;min-width:0;align-items:center}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-nav .store-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;margin:0!important;padding:0!important;border:0!important}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .store-nav button{min-height:28px!important;padding:3px 0!important;font-size:11px!important}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-chat{grid-row:1;grid-column:1;min-height:44px!important;white-space:normal;font-size:10.5px!important;line-height:1.2!important;padding:3px 4px!important;justify-self:stretch}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-nav .cart-btn{grid-row:1;grid-column:3;min-height:44px!important;width:52px!important;padding:6px!important;gap:4px!important;justify-content:center}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-nav .account-btn{grid-column:2;width:44px!important}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-nav .cart-btn>span:not(.badge){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body:not(.is-home):is(:has(#main.picker),.fg-editor-open) .top-nav .cart-btn svg{width:18px;height:18px;flex:none}
 html body .top{min-height:76px;padding:8px 16px}.top-nav{gap:12px}
 html body .top .brand img{width:60px;height:60px;min-width:60px}
 html body:has(#main .cards.variant){--fb-chat-top:50px}
 html body:has(#main.editor) .testbar{display:none}
 html body:has(#main.editor) .top{min-height:64px;padding-block:6px}
 html body:has(#main.editor) .top .brand img{width:48px;height:48px;min-width:48px}
 html body:has(#main.editor) .steps-wrap .step{min-height:48px;padding-block:8px}
 html body:not(.fg-editor-open):is(:has(#main.editor),:has(#main .cards.variant)) #fb-chat{position:absolute!important;top:var(--fb-chat-top,20px)!important;bottom:auto!important;right:144px!important;width:44px;height:44px}
 html body:not(.fg-editor-open):is(:has(#main.editor),:has(#main .cards.variant)) #fb-chat .chat-fab{position:static!important;width:44px!important;height:44px!important;min-height:44px!important;justify-content:center;padding:0}
 html body:not(.fg-editor-open):is(:has(#main.editor),:has(#main .cards.variant)) #fb-chat .chat-panel{position:fixed;right:16px;top:calc(var(--fb-chat-top,20px) + 60px);bottom:auto}
 html body:not(.is-home) #main#main.layout.picker{padding:24px 16px 40px}
 html body #main#main .picker-head h1{font-size:28px}
 html body #main#main.layout.editor{display:flex;flex-direction:column;padding:12px 16px 40px;gap:12px}
 html body #main#main.layout.editor .stage{position:relative;top:auto;width:100%;display:grid;grid-template-columns:minmax(0,1fr);padding:0!important}
 html body #main#main.layout.editor .panel{width:100%;padding:20px 16px;min-width:0}
 html body #main#main.layout.editor .stage-bar{grid-column:1/-1;grid-row:1;padding:6px!important;gap:6px!important;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;border:0;border-bottom:1px solid var(--fb-line);min-width:0}
 html body #main#main.layout.editor .stage-bar .seg{display:flex;flex-direction:row;padding:2px!important}
 html body #main#main.layout.editor .stage-bar .preview-enlarge{margin:0!important;justify-content:center}
 html body #main#main.layout.editor .stage-bar button{font-size:12px!important;min-height:36px!important;padding:6px 8px!important;white-space:nowrap}
 html body #main#main.layout.editor .stage-bar .preview-enlarge{min-height:36px!important}
 html body #main#main.layout.editor .canvas{height:clamp(200px,30dvh,340px)!important;max-height:none!important}
 html body #main#main.layout.editor .canvas-wrap{grid-column:1/-1;grid-row:2;padding:8px}
 html body #main#main.layout.editor .fb-preview-tools{grid-column:1/-1;padding:8px 12px!important;min-height:40px;font-size:12px;line-height:1.4;gap:8px}
 html body #main#main.layout.editor .fb-preview-tools>span{font-size:11px}
 html body #main#main.layout.editor .spec-wrap{grid-column:1/-1}
 html body #main#main.layout.editor .panel-head{margin:0 0 16px!important;padding:0 0 12px!important}
 html body #main#main.layout.editor .panel-head h1{font-size:22px!important}
 html body #main#main.layout.editor .panel-head p{font-size:12px!important;line-height:1.5!important;margin:6px 0 0!important}
 html body #main#main.layout.editor .sec-head{margin-bottom:16px!important}
 html body #main#main.layout.editor .sec-head p{font-size:14px;line-height:1.5}
 html body #main#main.layout.editor .fb-preview-legend{display:none}
 html body #main#main.layout.editor .fb-preview-controls{padding:8px 12px;font-size:12px}
 html body #main#main.layout.editor .buybar{margin-inline:-16px!important}
 html body .site-foot[data-footer7]{padding:32px 16px 20px}
}
@media(max-width:480px){html body #main#main .cards.profile{grid-template-columns:1fr!important}html body #main#main button.card[data-ui-card="profile"] .card-visual{height:156px!important;min-height:156px!important}html body #main#main button.card[data-ui-card="profile"] .card-visual img{max-height:130px!important}html body #main#main .fb-decision-help{padding:14px 16px}}

/* Shared desktop workspace: direct chapter access, options open, actions stay visible. */
@media(min-width:1100px) and (min-height:700px){
 html body #main#main.layout.editor{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:24px;padding-top:16px;align-items:start}
 html body #main#main.layout.editor .panel{height:calc(100dvh - 132px);min-height:560px;display:flex;flex-direction:column;overflow:hidden;padding:20px}
 html body #main#main.layout.editor .panel-head{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0}
 html body #main#main.layout.editor .panel-head h1{font-size:22px}
 html body #main#main.layout.editor .panel-head p{font-size:13px;margin-top:4px;line-height:1.4}
 html body #main#main.layout.editor .wiz{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex:none;margin:0 0 12px;padding:0}
 html body #main#main.layout.editor .wiz-step{display:flex;align-items:center;gap:6px;width:100%;min-height:38px;height:100%;padding:6px 8px;font-size:12px;line-height:1.3;text-align:left;background:#fff;border:1px solid var(--fb-line);color:var(--fb-brand)}
 html body #main#main.layout.editor .wiz-step.active{background:var(--fb-selection);border-color:var(--fb-brand)}
 html body #main#main.layout.editor .editor-options{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;padding-right:8px;scroll-padding-block:12px}
 html body #main#main.layout.editor .sec{padding:0;margin:0;border:0}
 html body #main#main.layout.editor .sec-head{margin-bottom:12px;padding:0}
 html body #main#main.layout.editor .sec-head h2{font-size:20px}
 html body #main#main.layout.editor .sec-body{padding:0}
 html body #main#main.layout.editor .source-equipment-field{margin:0 0 18px;padding:0 0 18px}
 html body #main#main.layout.editor .sec[data-group="colorOut"] .colour-summary-head{display:none}
 html body #main#main.layout.editor .colour-direct-pair{gap:16px;margin-top:10px}
 html body #main#main.layout.editor .colour-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body #main#main.layout.editor .colour-side-current{min-height:20px;margin-bottom:6px;font-size:13px}
 html body #main#main.layout.editor .colour-direct-side h4{font-size:16px;padding-bottom:5px}
 html body #main#main.layout.editor .colour-direct-side h4 span{font-size:12px}
 html body #main#main.layout.editor .colour-side-swatch{padding:6px;gap:6px;min-height:44px;font-size:13px;line-height:1.3}
 html body #main#main.layout.editor .colour-side-swatch>span:last-child{overflow-wrap:normal;hyphens:auto}
 html body #main#main.layout.editor .colour-side-swatch .chip{width:20px;height:26px;flex:none}
 html body #main#main.layout.editor .colour-palette-search{margin-bottom:8px}
 html body #main#main.layout.editor .colour-palette-search input{min-height:38px;padding:8px}
 html body #main#main.layout.editor .source-option-photo{height:90px;max-height:90px}
 html body #main#main.layout.editor .source-option-photo img{height:100%;object-fit:contain}
 html body #main#main.layout.editor .buybar{flex:none;position:relative;display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:12px 0 0;padding:12px 0 0}
 html body #main#main.layout.editor .buybar>.workflow-back{grid-column:1;grid-row:1}
 html body #main#main.layout.editor .buybar>.buy-actions{grid-column:2;grid-row:1;justify-self:end}
 html body #main#main.layout.editor .buybar>.price{grid-column:1/-1;grid-row:2;text-align:right;align-items:flex-end;padding:0;max-width:none}
 html body #main#main.layout.editor .buybar .supplier-price-value{font-size:18px}
 html body #main#main.layout.editor .buybar .supplier-price{display:flex;gap:2px}
 html body #main#main.layout.editor .buybar .btn{min-height:44px;padding-block:8px}
 html body #main#main.layout.editor .buybar .price-label{font-size:13px;line-height:1.4}
 html body #main#main.layout.editor .buybar .price-unit{font-size:12px;line-height:1.35}
 html body #main#main.layout.editor .buybar .supplier-price [data-action="add"]{font-size:12px;min-height:28px;padding:4px 0}
 html body #main#main.layout.editor .draft-state{flex:none;margin:4px 0 0;font-size:11px}
 html body #main#main.layout.editor .stage{display:flex;flex-direction:column;max-height:calc(100dvh - 132px);overflow:hidden;position:sticky;top:104px}
 html body #main#main.layout.editor .stage-bar{flex:none;padding:10px 12px}
 html body #main#main.layout.editor .canvas-wrap{flex:none;padding:10px}
 html body #main#main.layout.editor .canvas{height:clamp(240px,34vh,420px)!important}
 html body #main#main.layout.editor .fb-preview-tools{flex:none;padding:10px 12px;font-size:12px}
 html body #main#main.layout.editor .fb-preview-legend{flex:none;max-height:64px;overflow:auto;margin:0;padding:8px 12px;font-size:12px}
 html body #main#main.layout.editor .preview-colour-status{flex:none;margin:0;padding:8px 12px;font-size:12px;line-height:1.4}
 html body #main#main.layout.editor .spec-wrap{flex:1;min-height:100px;overflow:auto;padding:12px}
 html body #main#main.layout.editor .spec-row{padding:8px 0;font-size:12px}
 html body #main#main.layout.editor .spec-heading{margin:0 0 8px;font-size:16px}
}

html body #main#main .preview-selection-detail{display:flex;align-items:center;gap:12px;flex:none;padding:12px;background:var(--fb-selection);color:var(--fb-brand);border-bottom:1px solid var(--fb-line)}
html body #main#main .preview-selection-detail img{width:64px;height:64px;object-fit:contain;flex:none;background:#fff}
html body #main#main .preview-selection-detail>div{min-width:0}
html body #main#main .preview-selection-detail strong{font-size:14px;font-weight:650}
html body #main#main .preview-selection-detail p{font-size:13px;line-height:1.4;margin:4px 0;overflow-wrap:anywhere}
html body #main#main .preview-selection-detail small{font-size:11px;line-height:1.4;color:var(--fb-muted)}

@media(max-width:760px){html body #main#main.layout.editor :is(.preview-colour-status,.preview-selection-detail){grid-column:1/-1;margin:0;padding:10px 12px;font-size:12px;line-height:1.4}}

/* Configuration only: selection history above, direct equipment chapters below. */
html body:has(#main.editor) .steps-wrap .step .num{display:none}
html body:has(#main.editor) .steps-wrap .step{gap:0}
html body:has(#main.editor) .steps-wrap .step.active .step-val{display:block;white-space:normal}
html body #main#main.editor .wiz-step .wiz-n{display:none}
html body #main#main.editor .supplier-switches{padding-top:16px;border-top:1px solid var(--fb-line)}
html body #main#main.editor .supplier-switches .check{min-height:44px;align-items:center}
html body #main#main.editor .source-preference-state{line-height:1.5}
@media(max-width:760px){
 html body #main#main.layout.editor .panel-head{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0!important;padding:0!important}
 html body #main#main.layout.editor .canvas{height:180px!important;min-height:0!important}
 html body #main#main.layout.editor .canvas-wrap{padding:8px!important}
 html body #main#main.layout.editor .canvas svg{height:100%;max-height:180px;width:100%;object-fit:contain}
 html body #main#main.layout.editor .stage-bar{padding:6px 10px}
 html body #main#main.layout.editor .fb-preview-tools{padding:6px 10px}
 html body #main#main.layout.editor .fb-preview-legend{padding:4px 10px;font-size:12px}
 html body #main#main.layout.editor .sec-head{margin-bottom:10px}
 html body #main#main.layout.editor .colour-summary-head:has(h3:only-child){display:none}
 html body #main#main.layout.editor .supplier-draft-note{font-size:12px;line-height:1.5}
}

/* Catalogue finishes remain directly selectable when no separate colour sides are documented. */
html body #main#main.editor .colour-catalog-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body #main#main.editor .colour-catalog-choice{display:flex;flex-direction:row!important;justify-content:flex-start!important;align-items:center;gap:10px;text-align:left!important;min-height:52px;padding:8px;font-size:13px;line-height:1.4}
html body #main#main.editor .colour-catalog-choice img{width:28px;height:36px;object-fit:cover;flex:none}
html body #main#main.editor .colour-catalog-choice span{overflow-wrap:anywhere}

/* Stable loading surface: no invented percentages or forced animation delay. */
.source-load-state{min-height:340px}
.source-load-state p{max-width:58ch}
.source-load-placeholder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.source-load-placeholder span{display:block;height:180px;background:var(--fb-line);opacity:.45;border-radius:2px}
.source-load-state .btn{min-height:44px;margin-top:12px}
@media(max-width:600px){.source-load-placeholder{grid-template-columns:1fr}.source-load-placeholder span{height:100px}.source-load-placeholder span:nth-child(n+2){display:none}}

/* Persistent shop identity and compact, editable selection summary. */
html body:not(.is-home) .top{background:var(--fb-canvas);}
html body:not(.is-home) .store-nav{display:flex;gap:20px;align-items:center;margin-right:auto}
html body:not(.is-home) .store-nav button{border:0;background:transparent;color:var(--fb-brand);font:550 14px var(--fb-font,system-ui,sans-serif);min-height:44px;cursor:pointer}
.config-brands{max-width:1280px;margin:auto;padding:0 24px;background:var(--fb-canvas)}
.config-brands[hidden],.config-selection[hidden]{display:none!important}
.config-brands .brand-cloud{margin:0;padding:4px 0}
.config-brands :is(.brands,.brand-loop-window){background:transparent}
.config-selection{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;max-width:1296px;margin:0 auto;padding:10px 24px;border-bottom:1px solid var(--fb-line);color:var(--fb-brand);font-size:12px}
.config-selection-label{font-weight:650}
.config-selection button{border:0;background:transparent;color:inherit;padding:6px 0;text-align:left;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.config-selection button span{color:var(--fb-muted);margin-right:4px}
.config-selection button:focus-visible{outline:2px solid var(--fb-brand);outline-offset:3px}
/* Konfigurator: Kopf und Schritte sind eine Leiste. Keine Logos, keine zweite Auswahl. */
html body:not(.is-home) .config-selection{display:none!important}
html body .fb-step-status{display:none!important}
html body .fb-step-status+.steps-wrap{top:0!important}
html body:not(.is-home) .top{max-width:none;border-bottom:0;padding-inline:max(24px,calc((100% - 1280px) / 2 + 24px))}
html body:not(.is-home) .steps-wrap{background:var(--fb-canvas);border-bottom:1px solid var(--fb-line)}
@media(max-width:900px){html body:not(.is-home) .top{padding-inline:16px}}
@media(max-width:760px){html body:not(.is-home) .top{flex-wrap:wrap}html body:not(.is-home) .top-nav{flex-wrap:wrap}html body:not(.is-home) .store-nav{width:100%;gap:12px;order:3}.config-brands{padding-inline:16px}.config-selection{padding:8px 16px;gap:4px 12px}.config-selection button{min-height:44px}}

/* Same header geometry on homepage and all product selection pages. */
html body .top{display:flex;align-items:center;max-width:1280px;margin:auto;min-height:88px;padding:8px 32px;background:var(--fb-canvas);border:0;box-shadow:none;gap:24px}
html body .top .brand{width:76px;height:76px;min-width:76px;min-height:76px;padding:0;background:transparent;border:0}
html body .top .brand img{width:76px;height:76px;mix-blend-mode:multiply;background:transparent}
html body .top-nav{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:0;position:static}
html body .store-nav{display:flex;align-items:center;margin:0 auto 0 0;gap:20px;width:auto;order:0}
html body .top .top-chat{font:600 13px var(--fb-font,system-ui,sans-serif);min-height:44px;padding:8px 12px;background:var(--fb-selection);color:var(--fb-brand);border:1px solid var(--fb-line);border-radius:2px;cursor:pointer}
html body .top .top-phone{display:inline-flex!important;align-items:center;min-height:44px;white-space:nowrap;color:var(--fb-brand)!important;font:600 13px var(--fb-font,system-ui,sans-serif);text-decoration:none}
.store-advice [data-chat-open]{background:var(--fb-accent);color:#fff;border:0;padding:14px 20px;min-height:44px;font:600 15px var(--fb-font,system-ui,sans-serif);cursor:pointer}
html body #fb-chat{position:fixed!important;top:auto!important;right:20px!important;bottom:20px!important;width:auto;height:auto;z-index:120}
html body #fb-chat .chat-fab{position:relative!important;width:52px!important;height:52px!important;min-height:52px!important;padding:14px!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center;background:var(--fb-brand)!important}
html body #fb-chat .chat-fab svg{width:24px;height:24px}
html body #fb-chat .chat-invite{position:absolute;right:64px;bottom:8px;white-space:nowrap;background:var(--fb-surface);color:var(--fb-brand);padding:9px 12px;border:1px solid var(--fb-line);border-radius:2px;font:500 13px var(--fb-font,system-ui,sans-serif)}
html body #fb-chat .chat-invite[hidden]{display:none}
html body #fb-chat .chat-panel{position:fixed;top:auto!important;right:20px;bottom:84px;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 110px);overflow:auto}
html body #fb-chat .chat-panel[hidden]{display:none!important}
@media(max-width:900px){html body .top{flex-wrap:wrap;padding:8px 16px;min-height:76px;gap:12px}html body .top-nav{flex-wrap:wrap;gap:12px}html body .store-nav{position:static;width:auto;margin:0 auto 0 0;border-top:0;order:0;gap:16px}html body .top .top-chat{font-size:12px;padding:8px}.chat-invite{max-width:190px}html body #fb-chat{bottom:12px!important;right:12px!important}html body #fb-chat .chat-panel{right:12px;bottom:76px}html body #main.editor{padding-bottom:90px!important}}
@media(max-width:700px){html body .store-nav{width:100%;order:3;padding-top:4px;border-top:1px solid var(--fb-line)}body.is-home #main .retail-home .app-groups [data-pick="app"][data-value="interior-door"] .card-visual img{object-position:75% center!important}}

/* Farben: beide Seiten zeigen sofort die ganze Palette; lange Listen scrollen innerhalb der Spalte. */
html body #main#main.layout.editor .colour-palette-grid{max-height:min(46vh,440px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scroll-padding:8px}
html body #main#main.layout.editor .colour-palette-count{margin:6px 0 0;font-size:12px;color:var(--fb-muted,#515957)}
html body #main#main.layout.editor .colour-palette-grid .colour-side-swatch[aria-pressed="true"]{outline:2px solid currentColor;outline-offset:-2px}

/* Vorschau groß genug, damit Tür/Fenster und Maße lesbar sind (vorher ~280 px hoch). */
@media (min-width:1081px){
  html body #main#main.layout.editor .stage .canvas{height:clamp(500px,66dvh,760px)!important;min-height:500px!important;padding:12px!important}
  html body #main#main.layout.editor .stage .canvas>svg.technical-preview{width:100%!important;height:100%!important;max-height:none!important}
}
@media (max-width:1080px){
  html body #main#main.layout.editor .stage .canvas{height:clamp(420px,58dvh,620px)!important;min-height:420px!important}
  html body #main#main.layout.editor .stage .canvas>svg.technical-preview{width:100%!important;height:100%!important;max-height:none!important}
}

/* Editor: kleine Kapitelübersicht (Maße, Farben …) entfällt – geführt wird über „Weiter/Zurück“; größere Schrift und Felder. */
html body #main#main.layout.editor .panel ol.wiz{display:none!important}
@media (min-width:900px){
  html body #main#main.layout.editor .panel h2{font-size:32px;line-height:1.15}
  html body #main#main.layout.editor .panel>p,html body #main#main.layout.editor .panel .lead{font-size:17px;line-height:1.55}
  html body #main#main.layout.editor .panel label{font-size:16px}
  html body #main#main.layout.editor .panel input:not([type=checkbox]):not([type=radio]),html body #main#main.layout.editor .panel select{min-height:46px;font-size:17px;padding-block:8px}
  html body #main#main.layout.editor .panel .btn,html body #main#main.layout.editor .panel button.primary{min-height:48px;font-size:16px}
  html body #main#main.layout.editor .panel .buybar .btn.go,html body #main#main.layout.editor .panel .btn.go.fb-shiny-action{min-height:68px;font-size:20px;font-weight:700;letter-spacing:.01em}
  html body #main#main.layout.editor{max-width:1480px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:0;padding-inline:24px}
  html body #main#main.layout.editor .stage{border-radius:2px 0 0 2px;border-right-color:transparent!important;background:linear-gradient(90deg,#fff 70%,#f4f7f6)!important}
  html body #main#main.layout.editor .panel{border-radius:0 2px 2px 0;padding:24px 32px;box-shadow:-14px 0 24px -18px rgba(22,53,75,.18)}
}

/* Verglasungskarten ohne Foto: Schichtsymbol */
.glass-swatch{position:relative;display:block;aspect-ratio:4/3;background:#f6f8f9;border:1px solid rgba(0,0,0,.08)}
.glass-swatch i{position:absolute;top:12%;bottom:12%;border:1px solid rgba(60,90,110,.45);opacity:.9}
.glass-swatch.is-none::after{content:"";position:absolute;inset:12% 14%;border:1px dashed rgba(0,0,0,.25)}

/* A3: „Ihre Auswahl“ mobil als eine scrollbare Zeile */
@media(max-width:760px){.config-selection{flex-wrap:nowrap;overflow-x:auto;gap:4px 14px;padding:8px 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.config-selection::-webkit-scrollbar{display:none}.config-selection>*{flex:0 0 auto;white-space:nowrap}}

/* Sprossen: das Lieferantenbild zeigt das Kreuz im Ganzen, nicht beschnitten. */
html body #main#main.layout.editor .bars-field .source-option-photo{overflow:hidden;aspect-ratio:4/3;background:#f4f7f8;display:block}
html body #main#main.layout.editor .bars-field .source-option-photo img{transform:none;object-fit:contain;width:100%;height:100%;background:#fff}
html body #main#main.layout.editor .bars-field .bar-family{margin:14px 0 0}
html body #main#main.layout.editor .bars-field .bar-family h3{margin:0 0 8px;font-size:15px}
html body #main#main.layout.editor .bars-field .bar-none-photo svg{width:100%;height:100%;display:block}

/* B3: Inline-Suche und Kontext im Options-Dialog */
.source-inline-search{display:block;margin:0 0 10px}
.source-inline-search input{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--line,#cfd3cc);background:#fff;font:inherit}
.source-modal-current{margin:6px 0 12px;font-size:.95rem}
.source-equipment-dialog.bars-field .source-option-photo{overflow:hidden;aspect-ratio:4/3;background:#f4f7f8}
.source-equipment-dialog.bars-field .source-option-photo img{transform:none;object-fit:contain;width:100%;height:100%;background:#fff}
.source-inline-search .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Maße-Schritt: Entwurfshinweis links und klein (nicht unter dem Chat-Button), Auswahl-Karte scrollt statt abzuschneiden */
@media (min-width:900px){
html body #main#main.layout.editor .panel .draft-state{text-align:left;font-size:13px;margin:10px 0 0;max-width:calc(100% - 200px)}
html body #main#main.layout.editor .stage{overflow-y:auto;scrollbar-width:thin}
}

/* Pflichtprüfung Übersicht: offene Angaben sichtbar machen */
html body #main.layout.editor .open-check{margin:0 0 12px;padding:12px 14px;border:1px solid #d9a441;border-left-width:4px;border-radius:6px;background:#fff8e8;color:#3a2f12;font-size:14px;line-height:1.45}
html body #main.layout.editor .open-check p{margin:0}
html body #main.layout.editor .open-check p+ul,html body #main.layout.editor .open-check ul+p{margin-top:6px}
html body #main.layout.editor .open-check ul{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none}
html body #main.layout.editor .open-check li button{min-height:36px;padding:0 12px;border:1px solid #d9a441;border-radius:999px;background:#fff;color:#3a2f12;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
html body #main.layout.editor .open-check li button:hover{background:#ffefc7}
html body #main.layout.editor .open-check li button:focus-visible{outline:2px solid #3a2f12;outline-offset:2px}

/* Mobile purchase shell: one compact header, one current task, 44px controls. */
@media(max-width:760px){
 html body.is-home .top,html body:not(.is-home) .top{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:8px!important;min-height:60px!important;padding:6px 12px!important;position:relative!important}
 html body.is-home .top .brand,html body:not(.is-home) .top .brand,html body.is-home .top .brand img,html body:not(.is-home) .top .brand img{width:40px!important;height:44px!important;min-width:40px!important;min-height:44px!important}
 html body.is-home .top-nav,html body:not(.is-home) .top-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:nowrap!important;padding:0!important;width:100%!important}
 html body.is-home .top .store-nav,html body:not(.is-home) .top .store-nav{display:none!important}
 html body .top .top-chat{min-height:44px!important;flex:1 1 80px!important;max-width:132px;min-width:0!important;padding:6px!important;font-size:11px!important;line-height:1.3!important;white-space:normal!important}
 html body .top .cart-btn,html body .top .bfi-trigger{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:8px!important;flex:none!important}
 html body .top .cart-btn>span:not(.badge),html body .top .bfi-trigger>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
 html body .testbar{font-size:10px;line-height:18px;min-height:18px}
 html body.is-home .home .brand-cloud-list{margin-top:0}.brand-cloud .brand-loop-window{max-height:48px}
 html body.fg-editor-open .config-brands,html body:has(#main.picker) .config-brands,html body:has(#main.cartview) .config-brands{display:none!important}
 html body #main#main.layout.picker{padding:16px 12px 32px!important}
 html body #main#main .picker-head{margin-bottom:14px!important;padding-top:0!important}
 html body #main#main .picker-head h1{font-size:25px!important;line-height:1.2!important;margin:0 0 8px!important}
 html body #main#main .picker-head>p{font-size:14px;line-height:1.5}
 html body #main#main .fb-decision-help{padding:10px 12px;font-size:12px;line-height:1.5}
 html body .steps{margin:0;padding:0 12px}.steps .step{min-height:44px;padding:6px 8px}.steps .step-title{font-size:11px}.steps .step-val{font-size:10px;max-width:90px}
 html body:has(#main.picker) #fb-chat>.chat-fab,html body:has(#main.picker) #fb-chat>.chat-invite,html body.fg-editor-open #fb-chat>.chat-fab,html body.fg-editor-open #fb-chat>.chat-invite{display:none!important}
 html body .site-foot[data-footer7]{padding:24px 16px}.foot7-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 16px!important}
 .foot7-brand{grid-column:1/-1}.foot7-brand p{margin:8px 0;font-size:13px}.foot7-social{margin-top:8px}
 .foot7-col:last-child{grid-column:1/-1}.foot7-col h2{margin-bottom:6px}.site-foot[data-footer7] a{min-height:44px}
 .foot7-bar{margin-top:20px;padding-top:14px}
}

@media(max-width:700px){html body.is-home #main .retail-home>.brands.brand-cloud{margin:0 0 8px!important;padding:8px 0 0!important}}

@media(max-width:760px){
 html body .steps-wrap{overflow:visible!important}
 html body .steps-wrap .steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 12px!important;overflow:visible!important;width:100%;box-sizing:border-box}
 html body .steps-wrap .steps>li{min-width:0;width:auto!important}
 html body .steps-wrap .steps .step{width:100%;min-width:0!important;min-height:44px!important;padding:5px 2px!important;justify-content:center;gap:0;white-space:normal}
 html body .steps-wrap .steps .num,html body .steps-wrap .steps .step-val{display:none!important}
 html body .steps-wrap .steps .step-text{min-width:0;text-align:center}
 html body .steps-wrap .steps .step-title{font-size:11px!important;line-height:1.25;white-space:normal}
}

:root {--fb-type:var(--fb-font,system-ui,sans-serif)}
body,button,input,select,textarea {font-family:var(--fb-type)}
/* Keep editorial headings separate from the copy and controls in older shop components. */
body :is(header,nav,main,footer,dialog) :is(p,button,input,select,textarea,label,summary,.card-title,.price) {
  font-family:var(--fb-font,system-ui,sans-serif)!important;
}
body :is(header,nav,main,footer,dialog) :is(h1,h2,h3,h4,h5,h6) {
  font-family:var(--fb-font-heading,var(--fb-font,system-ui))!important;
  font-weight:600!important;letter-spacing:normal;text-transform:none;
}
body .site-foot[data-footer7] :is(h2,h3) {font-size:var(--fb-type-section,20px);line-height:1.2}

