/* SBS Basalte configurator. Scoped to .sbs-bas so the shop theme stays untouched.
   Layout: range tabs on top, device on a "wall" left, choices + add-to-cart right, cart devices with engraving below. */
html body .sbs-bas{
  --ink:#101828; --muted:#5d6675; --line:#e3e1dc; --soft:#faf7f0; --gold:#c19031; --gold-ink:#fff; --ok:#3d8b2f; --warn:#a15c07; --panel:#fff; --wall:#ece9e3;
  --disp:"Jost","Futura","Century Gothic",Arial,sans-serif;
  color:var(--ink); font-size:15px; line-height:1.5; max-width:1180px; margin:0 auto; text-align:left;
}
/* break out of a narrow theme content column, centred on the page (same approach as the KNX Smart Builder) */
html body .sbs-bas[data-app],html body .sbs-bas-seo[data-range]{width:min(1180px,calc(100vw - 32px));max-width:none!important;margin-left:calc(50% - min(590px,50vw - 16px))!important;margin-right:0!important}
body.sbs-bas-sheetbody .sbs-bas[data-app]{width:auto;margin:0!important}
html body .sbs-bas *, html body .sbs-bas *::before, html body .sbs-bas *::after{box-sizing:border-box}
html body .sbs-bas [hidden]{display:none!important}
html body .sbs-bas button, html body .sbs-bas input, html body .sbs-bas select, html body .sbs-bas textarea{font:inherit;color:inherit;letter-spacing:normal;text-transform:none}
html body .sbs-bas :where(button){cursor:pointer;background:none;border:0;padding:0;margin:0;box-shadow:none;min-height:0;line-height:inherit;border-radius:0}
html body .sbs-bas :focus-visible{outline:2px solid var(--gold);outline-offset:2px}
html body .sbs-bas h2, html body .sbs-bas h3, html body .sbs-bas h4{font-family:inherit;font-weight:600; /* owner 2026-10-21: same font as the other designers (was the Basalte display font) */ margin:0;color:var(--ink);letter-spacing:.01em;text-transform:none}

html body .sbs-bas-steps{display:flex;flex-wrap:wrap;gap:8px 24px;list-style:none;margin:0 0 18px;padding:0;counter-reset:st;font-size:14px;color:var(--muted)}
html body .sbs-bas-steps li{counter-increment:st;display:flex;gap:8px;align-items:center;margin:0}
html body .sbs-bas-steps li::before{content:counter(st);width:26px;height:26px;border-radius:50%;background:var(--gold);color:#fff;font:600 13px/26px var(--disp);text-align:center;flex:none;box-shadow:0 0 0 3px #f3e8d2} /* gold with a soft halo, as the gold buttons */
html body .sbs-bas-steps b{color:var(--ink);font-weight:600}

/* navigation: group tabs (Controls · Basalte Home · Sockets & Lights), then ranges under subheadings */
html body .sbs-bas-nav{margin-bottom:22px}
html body .sbs-bas-groups{display:flex;gap:0;border-bottom:2px solid var(--line);margin-bottom:16px;overflow-x:auto}
html body .sbs-bas-groups button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 18px 12px;border-bottom:3px solid transparent!important;margin-bottom:-2px;text-align:left;white-space:nowrap}
html body .sbs-bas-groups button b{font:500 18px/1.2 var(--disp);color:var(--muted)}
html body .sbs-bas-groups button span{font-size:12.5px;color:var(--muted)}
html body .sbs-bas-groups button:hover b{color:var(--ink)}
html body .sbs-bas-groups button[aria-selected="true"]{border-bottom-color:var(--gold)!important}
html body .sbs-bas-groups button[aria-selected="true"] b{color:var(--ink)}
html body .sbs-bas-sections{display:flex;flex-wrap:wrap;gap:14px 22px}
html body .sbs-bas-section{flex:0 1 auto;min-width:0}
html body .sbs-bas-section h5{margin:0 0 8px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
html body .sbs-bas-section .sbs-bas-tabs{margin-bottom:0;grid-template-columns:repeat(var(--n,1),minmax(150px,210px))}
/* every range card the same size: description max 2 lines, systems on one line */
html body .sbs-bas-section .sbs-bas-tabs button{height:118px;align-content:center;overflow:hidden}
html body .sbs-bas-section .sbs-bas-tabs span,
html body .sbs-bas-section .sbs-bas-tabs em{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:560px){
  html body .sbs-bas-groups button{padding:8px 12px 10px}html body .sbs-bas-groups button span{display:none}
  /* phone: the ranges of a group become one row you swipe through */
  html body .sbs-bas-sections{flex-wrap:nowrap;overflow-x:auto;gap:12px;padding-bottom:6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  html body .sbs-bas-section{flex:0 0 auto}
  html body .sbs-bas-section .sbs-bas-tabs{grid-template-columns:repeat(var(--n,1),118px)}
  html body .sbs-bas-section .sbs-bas-tabs button{scroll-snap-align:start;padding:10px}
  html body .sbs-bas-section .sbs-bas-tabs em{display:none}
}
/* range tabs */
html body .sbs-bas-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-bottom:22px}
html body .sbs-bas-tabs button{display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto auto;column-gap:12px;align-items:center;text-align:left;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);transition:border-color .15s,box-shadow .15s}
html body .sbs-bas-tabs button:hover{border-color:#cfc6b4}
html body .sbs-bas-tabs button[aria-pressed="true"]{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold);background:var(--soft)}
html body .sbs-bas-tabs .sbs-bas-svg{grid-row:1/4;width:54px;height:54px}
html body .sbs-bas-tabs b{font:500 18px/1.2 var(--disp)}
html body .sbs-bas-tabs span{font-size:13px;color:var(--muted);line-height:1.3}
html body .sbs-bas-tabs em{font-style:normal;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-weight:600}

/* main grid */
html body .sbs-bas-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;align-items:start}
html body .sbs-bas-stage{position:sticky;top:calc(var(--sbs-top,0px) + 24px);transition:top .25s ease}
html body .sbs-bas-wall{background:none;border-radius:12px;display:flex;align-items:center;justify-content:center;padding:clamp(24px,7vw,64px);min-height:300px}
html body .sbs-bas-svg{display:block;max-width:100%;height:auto;overflow:visible}
html body .sbs-bas-svg.hero{width:auto;height:auto;max-width:100%;max-height:440px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.2)) drop-shadow(0 14px 24px rgba(0,0,0,.16))}
/* Matisse: Basalte's angled product photo (white studio background) instead of a drawn front */
html body .sbs-bas-wall.photo{padding:0;overflow:hidden}
html body .sbs-bas-photo{filter:none!important;object-fit:contain;background:#fff;border-radius:4px}
html body .sbs-bas-photo.hero{width:100%;max-width:520px;height:auto;max-height:520px}
html body .sbs-bas-photo.mini, html body .sbs-bas-photo.thumb{width:64px;height:64px}
html body .sbs-bas-photo.tab{width:54px;height:54px}
html body .sbs-bas-caption{text-align:center;color:var(--muted);font-size:13px;margin:8px 0 0}

html body .sbs-bas-sec{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}
html body .sbs-bas-sec h4{font-size:13px;font-family:inherit;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
html body .sbs-bas-badge{display:inline-block;border:1px solid var(--ink);border-radius:4px;padding:3px 10px;font-weight:600;font-size:13px;letter-spacing:.06em}

html body .sbs-bas-cards{display:grid;gap:8px}
html body .sbs-bas-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .sbs-bas-cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}
html body .sbs-bas-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
html body .sbs-bas-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-align:center}
html body .sbs-bas-card:hover{border-color:#cfc6b4}
html body .sbs-bas-card[aria-pressed="true"]{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold);background:var(--soft)}
html body .sbs-bas-card b{font-weight:600}
html body .sbs-bas-card span{font-size:12.5px;color:var(--muted);line-height:1.3}
html body .sbs-bas-svg.mini{height:64px;width:auto;max-width:100%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.2))}

html body .sbs-bas-seg{display:inline-flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--panel)}
html body .sbs-bas-seg.wrap{flex-wrap:wrap}
html body .sbs-bas-seg button{padding:7px 13px;font-size:14px;border-right:1px solid var(--line)}
html body .sbs-bas-seg button:last-child{border-right:0}
html body .sbs-bas-seg button[aria-pressed="true"]{background:var(--ink);color:#fff}
html body .sbs-bas-insert{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:8px}
html body .sbs-bas-insert>span{min-width:58px;font-size:14px;font-weight:600}

html body .sbs-bas-fgroup{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:8px;margin-bottom:8px}
html body .sbs-bas-fgroup>span{font-size:13px;color:var(--muted)}
html body .sbs-bas-swatches{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body .sbs-bas-fin{width:40px;height:40px;border-radius:4px;border:1px solid rgba(0,0,0,.15)!important;background-size:cover;background-position:center}
html body .sbs-bas-fin[aria-pressed="true"], html body .sbs-bas-dot[aria-pressed="true"]{outline:2px solid var(--gold);outline-offset:2px}
html body .sbs-bas-finname, html body .sbs-bas-swname{font-size:14px;margin:4px 0 0;font-weight:600}
html body .sbs-bas-swname{margin:0 0 0 6px}
html body .sbs-bas-dot{width:34px;height:34px;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.7),var(--c) 50%,var(--c));border:1px solid rgba(0,0,0,.2)!important}
html body .sbs-bas-photosw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:420px}
html body .sbs-bas-ptile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 6px 8px;border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important}
html body .sbs-bas-ptile:hover{border-color:#cfc6b4!important}
html body .sbs-bas-ptile[aria-pressed="true"]{border-color:var(--gold)!important;box-shadow:inset 0 0 0 1px var(--gold);background:var(--soft)!important}
html body .sbs-bas-ptile img{width:100%;max-width:120px;height:auto;aspect-ratio:2/1;object-fit:contain}
html body .sbs-bas-ptile span{font-size:13px;font-weight:600}
html body .sbs-bas-photosw.sbs-bas-four{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}
html body .sbs-bas-ptile small{font-size:12px;color:var(--muted)}
html body .sbs-bas-noimg{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2/1;font-size:22px;color:var(--muted)}
html body .sbs-bas-itemparts{margin-top:6px;font-size:13px}
html body .sbs-bas-itemparts td{padding:3px 4px}
html body .sbs-bas-settotal{font-weight:600;color:var(--ink)!important;text-align:right}
html body .sbs-bas-mimg{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:4px}
html body .sbs-bas-addon{margin-top:8px}
html body .sbs-bas-addon img{width:44px;height:44px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:#fff}
html body .sbs-bas-addon small{color:var(--muted)}
html body .sbs-bas-check{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14px;cursor:pointer}
html body .sbs-bas-check input{width:18px;height:18px;margin:0;accent-color:var(--gold)}

/* summary */
html body .sbs-bas-summary{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:10px}
html body .sbs-bas-sumrow{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted);flex-wrap:wrap}
html body .sbs-bas-sumrow b{color:var(--ink)}
html body .sbs-bas-sumrow.price{font-size:16px;color:var(--ink);border-top:1px solid var(--line);padding-top:10px}
html body .sbs-bas-sumrow.price b{font-size:20px;font-family:var(--disp);font-weight:500}
html body .sbs-bas-code{font-variant-numeric:tabular-nums;letter-spacing:.04em}
html body .sbs-bas-addrow{display:flex;gap:8px;flex-wrap:wrap}
html body .sbs-bas-qty{display:inline-flex;border:1px solid var(--line);border-radius:6px;background:var(--panel);overflow:hidden}
html body .sbs-bas-qty button{width:38px;font-size:18px}
html body .sbs-bas-qty input{width:52px;text-align:center;border:0!important;border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important;padding:8px 2px!important;margin:0;background:transparent;-moz-appearance:textfield;box-shadow:none!important;min-height:0;border-radius:0!important}
html body .sbs-bas-qty input::-webkit-inner-spin-button,html body .sbs-bas-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html body .sbs-bas-ref, html body .sbs-bas-lbl input, html body .sbs-bas-lbl select, html body .sbs-bas-lbl textarea, html body .sbs-bas-frow input, html body .sbs-bas-pphead input{flex:1 1 180px;min-width:0;width:100%;border:1px solid var(--line)!important;border-radius:6px!important;padding:8px 10px!important;background:var(--panel)!important;margin:0;box-shadow:none!important;min-height:0;height:auto;font-size:15px}
html body .sbs-bas-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--gold)!important;color:var(--gold-ink)!important;border:1px solid var(--gold)!important;border-radius:6px!important;padding:9px 16px!important;font-weight:600;text-decoration:none!important;white-space:nowrap}
html body .sbs-bas-btn:hover{filter:brightness(.95)}
html body .sbs-bas-btn.big{width:100%;padding:13px 16px!important;font-size:16px}
html body .sbs-bas-btn.ghost{background:transparent!important;color:var(--gold)!important}
html body .sbs-bas-btn[disabled]{opacity:.6;cursor:wait}
html body .sbs-bas-link{color:var(--gold);text-decoration:underline;font-weight:600;display:inline-flex;align-items:center;gap:4px}
html body .sbs-bas-link svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html body .sbs-bas-note{font-size:13px;color:var(--muted);margin:0}
html body .sbs-bas-warn{color:var(--warn);font-size:12.5px;display:block}

/* cart / order items */
html body .sbs-bas-items{margin-top:36px;border-top:2px solid var(--ink);padding-top:16px}
html body .sbs-bas-itemshead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
html body .sbs-bas-itemshead h3{font-size:22px}
html body .sbs-bas-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin-bottom:8px}
html body .sbs-bas-svg.thumb{width:64px;height:64px}
html body .sbs-bas-itemtxt{display:grid;gap:2px;min-width:0}
html body .sbs-bas-itemtxt>span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
html body .sbs-bas-status{font-weight:600}
html body .sbs-bas-status::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#c9c4b8;margin-right:6px;vertical-align:1px}
html body .sbs-bas-status.ok{color:var(--ok)!important}html body .sbs-bas-status.ok::before{background:var(--ok)}
html body .sbs-bas-status.part{color:var(--warn)!important}html body .sbs-bas-status.part::before{background:var(--warn)}
html body .sbs-bas-status.none::before{display:none}

html body .sbs-bas-toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:12px;padding:12px 18px;font-size:14px;box-shadow:0 8px 28px rgba(0,0,0,.25);z-index:99990;max-width:calc(100vw - 32px)}
html body .sbs-bas-toast a, html body .sbs-bas-toast .sbs-bas-link{color:#f0cf86}

/* engraving editor */
html.sbs-bas-noscroll{overflow:hidden}
html body .sbs-bas-overlay{position:fixed;inset:0;background:rgba(16,24,40,.55);z-index:99980;display:flex;align-items:center;justify-content:center;padding:16px}
html body .sbs-bas-panel{background:var(--panel);border-radius:12px;width:min(1040px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3)}
html body .sbs-bas-panel header, html body .sbs-bas-panel footer{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
html body .sbs-bas-panel header>div{flex:1;min-width:0}
html body .sbs-bas-panel header h3{font-size:22px}
html body .sbs-bas-panel header span{font-size:13px;color:var(--muted)}
html body .sbs-bas-panel footer{border-bottom:0;border-top:1px solid var(--line);justify-content:flex-end;flex-wrap:wrap}
html body .sbs-bas-panel footer .sbs-bas-note{flex:1}
html body .sbs-bas-x{font-size:28px!important;line-height:1!important;width:40px;height:40px;border-radius:50%!important;color:var(--muted)!important}
html body .sbs-bas-x:hover{background:var(--soft)!important}
html body .sbs-bas-units{display:flex;gap:6px;padding:10px 18px 0;overflow-x:auto;flex:none}
html body .sbs-bas-units button{padding:6px 12px;border:1px solid var(--line);border-radius:20px!important;font-size:13px;white-space:nowrap}
html body .sbs-bas-units button[aria-selected="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
html body .sbs-bas-edgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;padding:16px 18px;overflow:auto}
html body .sbs-bas-edprev{min-height:340px}
html body .sbs-bas-edprev .sbs-bas-svg.hero{max-height:460px}
html body .sbs-bas-hit{cursor:pointer}
html body .sbs-bas-hit:hover{stroke:rgba(193,144,49,.8)}
html body .sbs-bas-edform{display:grid;gap:12px;align-content:start}
html body .sbs-bas-lbl{display:grid;gap:4px;font-size:13px;font-weight:600;color:var(--muted)}
html body .sbs-bas-lbl input, html body .sbs-bas-lbl select, html body .sbs-bas-lbl textarea{font-weight:400;color:var(--ink)}
html body .sbs-bas-fields{display:grid;gap:8px}
html body .sbs-bas-field{border:1px solid var(--line);border-radius:12px;padding:8px 10px;display:grid;gap:6px}
html body .sbs-bas-field.is-sel{border-color:var(--gold);background:var(--soft)}
html body .sbs-bas-fpos{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
html body .sbs-bas-frow{display:flex;gap:8px}
html body .sbs-bas-iconbtn{width:42px;height:40px;flex:none;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--panel)!important;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:var(--muted)}
html body .sbs-bas-iconbtn svg{width:24px;height:24px;stroke:var(--ink);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html body .sbs-bas-edopts{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:end}
html body .sbs-bas-edopts .sbs-bas-lbl{margin:0}

html body .sbs-bas-picker{position:fixed;inset:0;background:rgba(16,24,40,.45);z-index:99985;display:flex;align-items:center;justify-content:center;padding:16px}
html body .sbs-bas-pp{background:var(--panel);border-radius:12px;width:min(640px,100%);max-height:85vh;display:flex;flex-direction:column;overflow:hidden}
html body .sbs-bas-pphead{display:flex;gap:8px;padding:12px;border-bottom:1px solid var(--line);align-items:center}
html body .sbs-bas-pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px;padding:12px;overflow:auto}
html body .sbs-bas-pgrid button{display:flex;align-items:center;justify-content:center;aspect-ratio:1;padding:8px;border:1px solid var(--line)!important;border-radius:6px!important}
html body .sbs-bas-pgrid button:hover{border-color:#cfc6b4!important;background:var(--soft)}
html body .sbs-bas-pgrid button[aria-pressed="true"]{border-color:var(--gold)!important;background:var(--soft)}
html body .sbs-bas-pgrid svg{width:28px;height:28px;stroke:var(--ink);fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
html body .sbs-bas-noicon{font-size:22px;line-height:28px;color:var(--muted)}

/* order page */
html body .sbs-bas-orderhead{margin-bottom:12px}
html body .sbs-bas-orderhead h2{font-size:28px;margin-bottom:6px}

@media (max-width:860px){
  html body .sbs-bas-grid, html body .sbs-bas-edgrid{grid-template-columns:minmax(0,1fr);gap:18px}
  html body .sbs-bas-stage{position:static}
  html body .sbs-bas-wall{min-height:220px;padding:24px}
  html body .sbs-bas-svg.hero{max-height:300px}
  html body .sbs-bas-edprev{min-height:220px}
}
@media (max-width:560px){
  html body .sbs-bas-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .sbs-bas-tabs button{grid-template-columns:1fr;justify-items:start}
  html body .sbs-bas-tabs .sbs-bas-svg{grid-row:auto;width:40px;height:40px;margin-bottom:4px}
  html body .sbs-bas-tabs span{display:none}
  html body .sbs-bas-cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .sbs-bas-fgroup{grid-template-columns:1fr}
  html body .sbs-bas-item{grid-template-columns:52px minmax(0,1fr)}
  html body .sbs-bas-item .sbs-bas-btn{grid-column:1/-1}
  html body .sbs-bas-svg.thumb{width:52px;height:52px}
  html body .sbs-bas-overlay{padding:0}
  html body .sbs-bas-panel{max-height:100vh;height:100%;border-radius:0}
  html body .sbs-bas-edopts{grid-template-columns:1fr}
}

/* printable engraving sheet (admin) */
body.sbs-bas-sheetbody{margin:0;padding:24px 16px;background:#fff;font-family:Arial,Helvetica,sans-serif}
html body .sbs-bas-sheethead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
html body .sbs-bas-sheethead h1{font:700 20px/1.2 Arial,Helvetica,sans-serif;margin:0}
html body .sbs-bas-sheethead p{margin:4px 0 0;color:#444}
html body .sbs-bas-sheetgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
html body .sbs-bas-sheetcard{display:grid;grid-template-columns:120px 1fr;gap:12px;border:1px solid #bbb;border-radius:6px;padding:10px;break-inside:avoid;page-break-inside:avoid;font-size:13px}
html body .sbs-bas-svg.sheet{width:120px;height:auto;max-height:160px}
html body .sbs-bas-sheetcard table{border-collapse:collapse;margin:6px 0;width:100%}
html body .sbs-bas-sheetcard td{border-top:1px solid #ddd;padding:2px 4px;vertical-align:middle;font-size:12px}
html body .sbs-bas-sheetcard td svg{width:16px;height:16px;stroke:#000;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html body .sbs-bas-room{margin:4px 0 0;font-weight:700}
@media print{
  @page{size:A4 landscape;margin:10mm}
  body.sbs-bas-sheetbody{padding:0}
  html body .noprint{display:none!important}
  html body .sbs-bas-sheetgrid{grid-template-columns:repeat(3,1fr)}
}

/* parts list in the summary */
html body .sbs-bas-parts{width:100%;border-collapse:collapse;font-size:13.5px;margin:0}
html body .sbs-bas-parts td{padding:5px 4px;border:0;border-bottom:1px solid var(--line);vertical-align:top;background:none}
html body .sbs-bas-parts .sbs-bas-c{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted);letter-spacing:.02em}
html body .sbs-bas-parts .sbs-bas-n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html body .sbs-bas-sub{font-size:13px;color:var(--muted);margin:12px 0 6px}
html body .sbs-bas-partqty{display:inline-block;min-width:2em;text-align:center}
@media (max-width:560px){html body .sbs-bas-cards.three{grid-template-columns:repeat(2,minmax(0,1fr))}html body .sbs-bas-parts .sbs-bas-c{white-space:normal}}

/* Article list under the configurator (server-rendered for search engines, also useful for installers) */
html body .sbs-bas-seo{box-sizing:border-box;margin-top:32px;padding:14px 0 6px;border-top:1px solid #e3e3e3;font-size:15px;line-height:1.55;color:#222}
html body .sbs-bas-seo h2{font-weight:600;font-size:20px;line-height:1.3;margin:0 0 6px}
html body .sbs-bas-seo h3{font-weight:600;font-size:14px;line-height:1.3;margin:0 0 6px;text-transform:uppercase;letter-spacing:.06em;color:#666}
html body .sbs-bas-seo p{margin:0 0 12px;color:#555}
html body .sbs-bas-seo summary{cursor:pointer;font-weight:500;padding:6px 0}
html body .sbs-bas-seo table{width:100%;border-collapse:collapse;margin:8px 0 16px;font-size:14px}
html body .sbs-bas-seo th{white-space:nowrap}
html body .sbs-bas-seo th,html body .sbs-bas-seo td{text-align:left;padding:5px 10px 5px 0;border-bottom:1px solid #eee;vertical-align:top}
html body .sbs-bas-seo td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums;width:1%;padding-right:20px}
html body .sbs-bas-seo-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px 32px;margin-top:20px}
html body .sbs-bas-seo-links ul{list-style:none;margin:0;padding:0}
html body .sbs-bas-seo-links li{margin:0 0 4px;font-size:14px;color:#666}
html body .sbs-bas-seo-links a{color:#222;font-weight:500}
/* finish changed with the system (same message style as the JUNG configurator) */
html body .sbs-bas-finnote{margin:8px 0 0;padding:8px 10px;border-radius:6px;background:#fdf6e7;border:1px solid #f0dcb0;color:#7a4b06;font-size:13px}
/* numbered steps like the JUNG configurator (gold number with halo, 16px heading) */
html body .sbs-bas-h{display:flex;align-items:center;gap:8px;font-family:inherit;font-size:16px;font-weight:500;letter-spacing:.01em;text-transform:none;color:var(--ink);margin:0 0 12px}
html body .sbs-bas-h > span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--gold);color:#fff;font-size:12px;font-weight:500;line-height:1;box-shadow:0 0 0 2px #f3e8d2;margin:0 2px;flex:none}
html body .sbs-bas-h small{font-size:13px;font-weight:400;color:var(--muted)}
html body .sbs-bas-sec.last{border-bottom:0}
/* the intro line above is a short "how it works", not numbered steps (the numbers belong to the steps below) */
html body .sbs-bas-steps li::before{content:none!important}
html body .sbs-bas-steps li+li::before{content:"→"!important;display:inline;background:none!important;box-shadow:none!important;color:var(--gold);width:auto;height:auto;font:inherit;margin-right:4px}
html body .sbs-bas-steps + .sbs-bas-h{margin-top:14px}
html body .sbs-bas-btn.sbs-bas-pdf{justify-self:start}
html body .sbs-bas-btn.sbs-bas-pdf[disabled]{cursor:wait}
/* space between a step heading and its cards (the h3 reset above would set it to 0) */
html body .sbs-bas .sbs-bas-h{margin:0 0 12px!important}
html body .sbs-bas .sbs-bas-steps + .sbs-bas-h{margin-top:14px!important}
/* "1 Product" as the first step in the right column (same arrangement as the JUNG design cards): group tabs, then 2 cards per row */
html body .sbs-bas-product .sbs-bas-nav{margin-bottom:0}
html body .sbs-bas-product .sbs-bas-groups{margin-bottom:12px}
html body .sbs-bas-product .sbs-bas-groups button{flex:1 1 0;padding:8px 10px 10px;white-space:normal}
html body .sbs-bas-product .sbs-bas-groups button b{font-size:16px}
html body .sbs-bas-product .sbs-bas-groups button span{font-size:11.5px;line-height:1.3}
html body .sbs-bas-product .sbs-bas-sections{display:block}
html body .sbs-bas-product .sbs-bas-section{margin-bottom:12px}
html body .sbs-bas-product .sbs-bas-section:last-child{margin-bottom:0}
html body .sbs-bas-product .sbs-bas-section .sbs-bas-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .sbs-bas-product .sbs-bas-section .sbs-bas-tabs button{height:auto;min-height:84px}
html body .sbs-bas-product .sbs-bas-tabs b{font-size:16px}
@media (max-width:560px){
  html body .sbs-bas-product .sbs-bas-sections{display:block;overflow:visible}
  html body .sbs-bas-product .sbs-bas-section .sbs-bas-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .sbs-bas-product .sbs-bas-section .sbs-bas-tabs button{padding:10px;grid-template-columns:40px 1fr}
  html body .sbs-bas-product .sbs-bas-tabs .sbs-bas-svg{width:40px;height:40px}
}
html body .sbs-bas-product .sbs-bas-groups{overflow:visible}
/* sections with one range sit side by side (2 per row), sections with several ranges use the full width */
html body .sbs-bas-product .sbs-bas-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
html body .sbs-bas-product .sbs-bas-section{margin:0}
html body .sbs-bas-product .sbs-bas-section:not([style="--n:1"]){grid-column:1/-1}
html body .sbs-bas-product .sbs-bas-section[style="--n:1"] .sbs-bas-tabs{grid-template-columns:minmax(0,1fr)}
@media (max-width:560px){
  html body .sbs-bas-product .sbs-bas-section .sbs-bas-tabs button{grid-template-columns:36px 1fr;grid-template-rows:auto;padding:8px 10px;min-height:56px;column-gap:10px}
  html body .sbs-bas-product .sbs-bas-tabs .sbs-bas-svg{grid-row:auto;width:36px!important;height:36px!important;object-fit:contain}
  html body .sbs-bas-product .sbs-bas-tabs span,html body .sbs-bas-product .sbs-bas-tabs em{display:none!important}
  html body .sbs-bas-product .sbs-bas-tabs b{font-size:15px}
}
/* short, inviting intro above the configurator */
html body .sbs-bas-intro{max-width:760px;margin:0 0 22px;font-size:16px;line-height:1.55;color:var(--muted)}
html body .sbs-bas-intro b{color:var(--ink);font-weight:500}
html body .sbs-bas-lead{margin:-4px 0 12px;font-size:13.5px;line-height:1.45;color:var(--muted)}
html body .sbs-bas-itembtns{display:flex;flex-direction:column;gap:6px;align-items:stretch}
/* note on engravable characters: its own line below the text size choice */
html body .sbs-bas-charnote{flex:1 1 100%;order:9;margin-top:6px}
/* Basalte Fibonacci label font (from the Basalte Fibonacci engraver) */
@font-face{font-family:SBSFibo;src:url('fonts/fibo.woff') format('woff');font-weight:300;font-style:normal;font-display:swap}
html body .sbs-bas-frow .sbs-bas-note{align-self:center;flex:1;text-align:center}

/* engraving step while configuring */
html body .sbs-bas-engrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0 6px}

/* guests: invitation to log in (prices, item numbers, PDF) */
html body .sbs-bas-loginline { font-weight: 600; font-size: 14px; }

/* KNX Smart Builder: "Use this design in my budget" bar (page opened from the builder with ?knx=1) */
html body .sbs-knxbar{box-sizing:border-box;width:min(1180px,calc(100vw - 32px))!important;max-width:none!important;margin-left:calc(50% - min(590px,50vw - 16px))!important;margin-right:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 18px;padding:12px 14px;border:1px solid #c19031;border-radius:12px;background:#faf7f0;color:#101828;font-size:14px;line-height:1.45}
html body .sbs-knxbar-txt{flex:1 1 320px}
html body .sbs-knxbar-btns{display:flex;gap:8px;flex-wrap:wrap}
html body .sbs-knxbar button{cursor:pointer;border-radius:6px;padding:9px 14px;font:inherit;font-weight:600;line-height:1.2}
html body .sbs-knxbar .sbs-knxbar-use{background:#c19031;border:1px solid #c19031;color:#fff}
html body .sbs-knxbar .sbs-knxbar-use:hover{filter:brightness(.95)}
html body .sbs-knxbar .sbs-knxbar-use:disabled{opacity:.6;cursor:wait}
html body .sbs-knxbar .sbs-knxbar-off{background:#fff;border:1px solid #e3e1dc;color:#101828}
html body .sbs-knxbar-msg{flex:1 1 100%;margin:0;font-size:13.5px}
html body .sbs-knxbar-msg:empty{display:none}
/* owner 2026-10-14: caption under the preview in a card, as wide as the switch (width set by fitCap) */
html body .sbs-bas-capcard{box-sizing:border-box;max-width:100%;margin:14px auto 0;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-align:center;display:grid;gap:4px}
html body .sbs-bas-capcard .sbs-bas-caption{margin:0;color:var(--ink);font-size:14px}
html body .sbs-bas-capcard .sbs-bas-prevnote{margin:0;text-align:center}
/* owner 2026-10-14: product groups (Controls, Basalte Home, Sockets & Lights) as cards like the product cards */
html body .sbs-bas-product .sbs-bas-groups{border-bottom:0;gap:10px;margin-bottom:14px}
html body .sbs-bas-product .sbs-bas-groups button{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--panel);margin-bottom:0;padding:10px 12px!important;transition:border-color .15s,box-shadow .15s}
html body .sbs-bas-product .sbs-bas-groups button:hover{border-color:#cfc6b4!important}
html body .sbs-bas-product .sbs-bas-groups button[aria-selected="true"]{border-color:var(--gold)!important;box-shadow:inset 0 0 0 1px var(--gold);background:var(--soft)}
/* owner 2026-10-17: app look as in the JUNG designer (root class sbs-bas-app, ?look=old = previous layout). Product stays in view, price + Parts list under it */
html body .sbs-captotal{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:8px;border-top:1px solid var(--line,#e3e1dc);font-size:14px}
html body .sbs-captotal span{color:var(--mute,#5d6675);white-space:nowrap}
html body .sbs-captotal b{margin-right:auto;font-size:16px;color:var(--acc,#101828);white-space:nowrap;text-align:left}
html body .sbs-captotal b.sbs-nop{font-size:14px;font-weight:500;color:var(--mute,#5d6675)}
html body .sbs-captotal button{flex:none;padding:5px 12px;border:1px solid var(--line,#e3e1dc);border-radius:999px;background:#fff;font-size:13px;cursor:pointer;transition:border-color .15s}
html body .sbs-captotal button:hover{border-color:var(--gold,#c19031)}
html body .sbs-bas-app .sbs-bas-stage{top:calc(var(--sbs-top,0px) + 16px);max-height:calc(100vh - var(--sbs-top,0px) - 32px);overflow:auto;scrollbar-width:none}

@media (max-width:860px){
  html body .sbs-bas-app .sbs-bas-grid{grid-template-columns:minmax(0,1fr)}
  html body .sbs-bas-app .sbs-bas-stage{position:sticky;top:var(--sbs-top,0px);z-index:30;min-width:0;margin:0 -16px;padding:8px 16px 10px;max-height:none;overflow:visible;background:#fff!important;border-radius:0 0 16px 16px;box-shadow:0 10px 24px -14px rgba(16,24,40,.35)}
  html body .sbs-bas-app .sbs-bas-capcard{margin-top:6px;padding:6px 10px;gap:2px;width:100%!important;max-width:100%}
  html body .sbs-bas-app .sbs-bas-caption{font-size:13.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body .sbs-bas-app .sbs-captotal{padding-top:6px}
  html body .sbs-bas-app .sbs-bas-prevnote{display:none}
  html body .sbs-bas-app .sbs-bas-wall{min-height:0;height:calc(26vh + 8px);padding:4px 0}
  html body .sbs-bas-app .sbs-bas-wall .hero{width:auto;max-width:100%;max-height:26vh;height:auto}
}
/* owner 2026-10-17: small up / down arrows at the right end of every step heading, as in the JUNG designer */
html body section > h3 .sbs-harr{margin-left:auto;display:inline-flex;gap:6px;font-style:normal}
html body section > h3 .sbs-harr button{position:relative;width:28px;height:28px;display:grid;place-items:center;padding:0;border:1px solid var(--line,#e3e1dc);border-radius:50%;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
html body section > h3 .sbs-harr button::before{content:"";position:absolute;inset:-8px -3px}
html body section > h3 .sbs-harr button:hover{border-color:var(--gold,#c19031);background:var(--soft,#faf7f0)}
html body section > h3 .sbs-harr button.sbs-hnext{border-color:var(--gold,#c19031)}
html body section > h3 .sbs-harr svg{width:16px;height:16px;fill:none;stroke:var(--gold,#c19031);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* owner 2026-10-21: "How it works" info sign (same as the JUNG designer) */
html body .sbs-howto{position:relative;display:inline-block;vertical-align:middle;margin-left:6px;font-size:13px;font-weight:400;text-transform:none;letter-spacing:0;line-height:1.2}
html body .sbs-howto-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #c19031;border-radius:999px;background:#fff;color:#8a6420;font:inherit;font-size:13px;font-weight:600;padding:3px 10px 3px 4px;cursor:help;line-height:1.2;white-space:nowrap;box-shadow:none;margin:0;width:auto;height:auto}
html body .sbs-howto-btn i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#c19031;color:#fff;font-style:normal;font-family:Georgia,serif;font-weight:700;font-size:12px}
html body .sbs-howto-tip{position:absolute;left:0;top:calc(100% + 8px);z-index:60;width:min(360px,86vw);padding:14px 16px;border:1px solid #e3e1dc;border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(16,24,40,.14);color:#344054;font-size:13px;font-weight:400;line-height:1.45;text-align:left;white-space:normal;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s}
html body .sbs-howto-tip::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
html body .sbs-howto:hover .sbs-howto-tip,html body .sbs-howto:focus-within .sbs-howto-tip,html body .sbs-howto.open .sbs-howto-tip{opacity:1;visibility:visible;transform:none}
html body .sbs-howto-tip>b{display:block;font-size:14px;color:#101828;margin-bottom:6px}
html body .sbs-howto-list{display:block;margin:0 0 8px}
html body .sbs-howto-li{display:grid;grid-template-columns:20px 1fr;margin:0 0 5px}
html body .sbs-howto-li em{font-style:normal;font-weight:700;color:#c19031}
html body .sbs-howto-li b{color:#101828}
html body .sbs-howto-tip>span{display:block;color:#5d6675}
html body .sbs-howto-link{color:#8a6420;font-weight:600;text-decoration:underline}
@media (max-width:600px){html body .sbs-howto-tip{left:auto;right:-8px}}
html body .sbs-bas .sbs-howto-btn,html body .sbs-bas .sbs-howto-btn:hover{color:#8a6420;background:#fff;font-size:13px;font-weight:600;border:1px solid #c19031;text-transform:none;letter-spacing:0}

/* owner 2026-10-21: product list folded into one small gold line (stays in the page for search engines) */
html body .sbs-bas-seo-fold > summary{list-style:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;padding:6px 0;font-size:14px;font-weight:600;color:#a37a22}
html body .sbs-bas-seo-fold > summary::-webkit-details-marker{display:none}
html body .sbs-bas-seo-fold > summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
html body .sbs-bas-seo-fold[open] > summary::after{transform:rotate(-135deg) translateY(-2px)}
html body .sbs-bas-seo-fold > summary:hover{color:#c19031}
html body .sbs-bas-seo-fold[open] > summary{margin-bottom:14px}
/* owner 2026-10-27: "Description and downloads" under the picture, same design as the Zennio designer (rounded download cards, PDF / ZIP badge) */
html body .sbs-bas .sbs-bas-info{box-sizing:border-box;margin:10px auto 0;max-width:100%;text-align:left;border:1px solid #e3e1dc;border-radius:14px;background:#fff;font-size:13.5px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
html body .sbs-bas .sbs-bas-info summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;font-weight:600;color:#101828}
html body .sbs-bas .sbs-bas-info summary::-webkit-details-marker{display:none}
html body .sbs-bas .sbs-bas-info summary::after{content:"";width:8px;height:8px;border-right:2px solid #8a6420;border-bottom:2px solid #8a6420;transform:rotate(45deg);margin-top:-4px;transition:transform .15s}
html body .sbs-bas .sbs-bas-info[open] summary::after{transform:rotate(-135deg);margin-top:4px}
html body .sbs-bas .sbs-bas-infobody{padding:0 14px 12px;color:#3b3f46;line-height:1.45}
html body .sbs-bas .sbs-bas-infobody p{margin:0 0 8px}
html body .sbs-bas .sbs-bas-infobody ul.sbs-bas-docs{display:grid;gap:6px;margin:4px 0 4px;padding:0;list-style:none}
html body .sbs-bas .sbs-bas-docs li{margin:0;padding:0}
html body .sbs-bas .sbs-bas-docs a{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #e3e1dc;border-radius:10px;background:#faf9f7;color:#101828;text-decoration:none;transition:border-color .15s,background .15s,box-shadow .15s}
html body .sbs-bas .sbs-bas-docs a:hover,html body .sbs-bas .sbs-bas-docs a:focus-visible{border-color:#c9a65e;background:#fff;box-shadow:0 2px 8px -4px rgba(138,100,32,.35)}
html body .sbs-bas .sbs-bas-docs .sbs-bas-dk{flex:none;min-width:34px;padding:3px 6px;border-radius:6px;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-align:center;color:#fff;background:#8a6420}
html body .sbs-bas .sbs-bas-docs .sbs-bas-dk-zip,html body .sbs-bas .sbs-bas-docs .sbs-bas-dk-ets{background:#3b3f46}
html body .sbs-bas .sbs-bas-docs span{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
html body .sbs-bas .sbs-bas-docs b{font-weight:600;font-size:13.5px}
html body .sbs-bas .sbs-bas-docs i{font-style:normal;font-size:12px;color:#8a8d92;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .sbs-bas .sbs-bas-docs em{flex:none;font-style:normal;color:#8a6420;font-weight:700}
@media (max-width:767px){html body .sbs-bas .sbs-bas-info{width:100%!important}}
