/* SBS KNX Smart Builder: all rules are scoped to .sbs-knx-app so the WordPress theme is not affected. */
html body .sbs-knx-app{--ink:#101828;--muted:#6b7280;--line:#e5e7eb;--bg:#f7f7f7;--accent:#c19031;--accent-dk:#a87b24;--accent-lt:#cda65a;--cream:#f9f4ea;--green:#56b947;--warn:#9a3412;background:var(--bg);color:var(--ink);font:15px/1.5 Roboto,Arial,Helvetica,sans-serif;text-align:left}
html body .sbs-knx-app *{box-sizing:border-box}
html body .sbs-knx-app header{background:#101828;color:#fff;padding:20px 22px}html body .sbs-knx-app header h2{margin:0;font-size:25px;color:#fff}html body .sbs-knx-app header p{color:#c2c2c2;margin:5px 0 0}
html body .sbs-knx-app main{max-width:1250px;padding:18px;margin:auto}html body .sbs-knx-app .grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
html body .sbs-knx-app .card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}html body .sbs-knx-app .half{grid-column:span 6}html body .sbs-knx-app .full{grid-column:span 12}
html body .sbs-knx-app h2{font-size:19px;margin:0 0 12px;color:var(--ink)}html body .sbs-knx-app h3{font-size:15px;margin:15px 0 6px;color:var(--ink)}
html body .sbs-knx-app .fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}html body .sbs-knx-app .fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .sbs-knx-app label{font-weight:700;font-size:12px;display:block;margin:8px 0 5px}
html body .sbs-knx-app input,html body .sbs-knx-app select{width:100%;max-width:none;padding:9px;border:1px solid #c2c2c2;border-radius:7px;background:#fff;font-size:14px;color:var(--ink);height:auto;line-height:1.3;box-shadow:none}
html body .sbs-knx-app button{padding:10px 15px;background:var(--accent);color:#fff;border:0;border-radius:12px;cursor:pointer;font-weight:700;margin:6px 8px 4px 0;font-size:14px;line-height:1.3;text-transform:none}
html body .sbs-knx-app button.secondary{background:#ebebeb;color:var(--ink)}html body .sbs-knx-app button:disabled{opacity:.6;cursor:wait}
html body .sbs-knx-app .small{font-size:12px;color:var(--muted)}
html body .sbs-knx-app .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}html body .sbs-knx-app .stat{border:1px solid var(--line);padding:12px;border-radius:9px;background:#fff}html body .sbs-knx-app .stat b{display:block;font-size:21px;margin-top:6px}
html body .sbs-knx-app .emphasis{border:2px solid var(--accent)}html body .sbs-knx-app .flag{background:#fff3e8;border-left:4px solid #c76a2d;padding:10px;margin:8px 0}
html body .sbs-knx-app .ok{background:#eef8ec;border-left:4px solid var(--green);padding:10px;margin:8px 0}
html body .sbs-knx-app table{width:100%;border-collapse:collapse;font-size:12px;margin:0;border:0}
html body .sbs-knx-app td,html body .sbs-knx-app th{border:0;border-bottom:1px solid var(--line);padding:8px 7px;text-align:left;vertical-align:top}
html body .sbs-knx-app th{background:#f7f7f7}html body .sbs-knx-app td.num,html body .sbs-knx-app th.num{text-align:right;white-space:nowrap}
html body .sbs-knx-app .scroll{overflow-x:auto}html body .sbs-knx-app .admin{display:none}
html body .sbs-knx-app.show-admin .admin{display:table-cell}html body .sbs-knx-app.show-admin tr.admin{display:table-row}html body .sbs-knx-app.show-admin .admin-block{display:block}
html body .sbs-knx-app:not(.show-admin) .admin-block{display:none}html body .sbs-knx-app .muted{color:var(--muted)}
html body .sbs-knx-app .note{font-size:12px;background:var(--cream);padding:10px;border-radius:7px}
@media(max-width:850px){html body .sbs-knx-app .half,html body .sbs-knx-app .full{grid-column:span 12}html body .sbs-knx-app .fields,html body .sbs-knx-app .fields.two,html body .sbs-knx-app .stats{grid-template-columns:1fr 1fr}}
@media(max-width:520px){html body .sbs-knx-app .fields,html body .sbs-knx-app .fields.two,html body .sbs-knx-app .stats{grid-template-columns:1fr}}

/* ===== Customer wizard ===== */
html body .sbs-knx-app #wz .wzhead{background:#101828;color:#fff;padding:26px 22px}
html body .sbs-knx-app #wz .wzhead h1{margin:0;font-size:26px;color:#fff}html body .sbs-knx-app #wz .wzhead p{margin:6px 0 0;color:#c2c2c2;max-width:720px}
html body .sbs-knx-app .wzwrap{max-width:1100px;margin:auto;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
html body .sbs-knx-app .wzmain{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}
html body .sbs-knx-app .wzsteps{display:flex;gap:6px;list-style:none;padding:0;margin:0 0 20px}
html body .sbs-knx-app .wzsteps li{flex:1;font-size:12px;font-weight:700;color:var(--muted);border-top:4px solid var(--line);padding-top:7px;cursor:default;margin:0;list-style:none}
html body .sbs-knx-app .wzsteps li.done{color:var(--accent);border-color:var(--accent-lt);cursor:pointer}html body .sbs-knx-app .wzsteps li.on{color:var(--ink);border-color:var(--accent)}
html body .sbs-knx-app .wzstep{display:none}html body .sbs-knx-app .wzstep.on{display:block}
html body .sbs-knx-app .wzstep h2{font-size:21px;margin:0 0 6px}html body .sbs-knx-app .wzstep>p.lead{color:var(--muted);margin:0 0 16px}
html body .sbs-knx-app .wzstep h3{font-size:15px;margin:20px 0 8px}
html body .sbs-knx-app .wzgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body .sbs-knx-app .wzgrid label,html body .sbs-knx-app .wzrooms label{font-weight:700;font-size:13px;display:flex;flex-direction:column;gap:6px}
html body .sbs-knx-app .wzchecks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body .sbs-knx-app .wzchk{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:11px 12px;font-weight:700;font-size:14px;cursor:pointer;margin:0}
html body .sbs-knx-app .wzchk input{width:auto;margin:0}html body .sbs-knx-app .wzchk small{font-weight:400;color:var(--muted)}
html body .sbs-knx-app .wzrooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body .sbs-knx-app .wzcount{display:flex;align-items:center;gap:6px}html body .sbs-knx-app .wzcount input{text-align:center}
html body .sbs-knx-app .wzcount button{margin:0;padding:8px 12px;background:#ebebeb;color:var(--ink);min-width:36px}
html body .sbs-knx-app .wzcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body .sbs-knx-app .wzcard{display:block;border:2px solid var(--line);border-radius:12px;padding:14px;cursor:pointer;margin:0;font-weight:400;position:relative}
html body .sbs-knx-app .wzcard input{position:absolute;opacity:0;width:1px;height:1px}
html body .sbs-knx-app .wzcard b{display:block;font-size:16px;margin-bottom:5px}html body .sbs-knx-app .wzcard span{font-size:13px;color:var(--muted)}
html body .sbs-knx-app .wzcard:has(input:checked){border-color:var(--accent);background:var(--cream)}
html body .sbs-knx-app .wznav{display:flex;justify-content:space-between;margin-top:24px;border-top:1px solid var(--line);padding-top:14px}
html body .sbs-knx-app .wzside{position:sticky;top:40px;background:#fff;border:2px solid var(--accent);border-radius:12px;padding:18px}
html body .sbs-knx-app .wzside h3{margin:0 0 10px;font-size:15px}html body .sbs-knx-app .wzbig{font-size:24px;font-weight:700;margin:4px 0 12px}
html body .sbs-knx-app .wzrow{display:flex;justify-content:space-between;font-size:13px;padding:6px 0;border-top:1px solid var(--line)}
html body .sbs-knx-app .wzbudget{font-size:30px;font-weight:700;margin:6px 0 4px}
html body .sbs-knx-app .wzlist{margin:8px 0 0;padding-left:18px;font-size:13px}html body .sbs-knx-app .wzlist li{margin:3px 0}
html body .sbs-knx-app .wzcta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
html body .sbs-knx-app .wzcta>div{border:1px solid var(--line);border-radius:12px;padding:14px}html body .sbs-knx-app .wzcta b{display:block;margin-bottom:4px}
html body .sbs-knx-app .wzlead{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
html body .sbs-knx-app .wzlead label{font-weight:700;font-size:13px;display:flex;flex-direction:column;gap:5px}
html body .sbs-knx-app .wzlocked{background:var(--cream);border:1px dashed var(--accent-lt);border-radius:12px;padding:14px;margin-top:16px}
html body .sbs-knx-app .wzpf{width:auto;font-size:13px}html body .sbs-knx-app .wzpf td,html body .sbs-knx-app .wzpf th{padding:5px 6px;text-align:center}
html body .sbs-knx-app .wzpf td:first-child,html body .sbs-knx-app .wzpf th:first-child{text-align:left;font-weight:700;white-space:nowrap}html body .sbs-knx-app .wzpf input{width:64px;padding:6px;text-align:center}
html body .sbs-knx-app .wzfoot{max-width:1100px;margin:0 auto 30px;padding:0 18px;font-size:12px;color:var(--muted)}
html body .sbs-knx-app .wzfoot a{color:var(--muted)}
html body .sbs-knx-app .sbs-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:860px){html body .sbs-knx-app .wzwrap{grid-template-columns:1fr}html body .sbs-knx-app .wzside{position:static;order:2}html body .sbs-knx-app .wzgrid,html body .sbs-knx-app .wzrooms,html body .sbs-knx-app .wzcards,html body .sbs-knx-app .wzcta,html body .sbs-knx-app .wzlead,html body .sbs-knx-app .wzchecks{grid-template-columns:1fr 1fr}}
@media(max-width:520px){html body .sbs-knx-app .wzgrid,html body .sbs-knx-app .wzrooms,html body .sbs-knx-app .wzcards,html body .sbs-knx-app .wzcta,html body .sbs-knx-app .wzlead,html body .sbs-knx-app .wzchecks{grid-template-columns:1fr}}

/* ===== SBS designer toolbar (WP admin) ===== */
html body .sbs-knx-app .sbs-designer-bar{background:#fff;border:2px solid var(--accent);border-radius:12px;padding:14px 18px;margin:18px auto 0;max-width:1100px}
html body .sbs-knx-app .sbs-designer-bar .fields{grid-template-columns:2fr 1fr 1fr 1fr}
html body .sbs-knx-app .sbs-designer-bar textarea{width:100%;min-height:54px;padding:8px;border:1px solid #c2c2c2;border-radius:7px;font:inherit}
@media print{html body .sbs-knx-app #wz,html body .sbs-knx-app .sbs-designer-bar,html body .sbs-knx-app #sbsSettings{display:none!important}html body .sbs-knx-app #sbsInternal{display:block!important}}
/* Public page: break out of the theme's narrow content column (up to 1250px, 16px side gutter). */
html body .sbs-knx-app.sbs-knx-wide{width:min(1250px,calc(100vw - 32px));max-width:none!important;margin-left:calc(50% - min(625px,50vw - 16px))!important;margin-right:0!important;box-sizing:border-box}
/* SBS website look (smartbuildingsolutions.us): Roboto, navy #101828, gold #C19031, shop green #56B947. */
html body .sbs-knx-app h1,html body .sbs-knx-app h2,html body .sbs-knx-app h3{font-family:Roboto,Arial,sans-serif;font-weight:600;letter-spacing:0}
html body .sbs-knx-app #wz .wzhead{border-bottom:4px solid var(--accent)}html body .sbs-knx-app header{border-bottom:4px solid var(--accent)}
html body .sbs-knx-app .wzsteps li{font-family:"Roboto Condensed",Roboto,Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;font-weight:600}
html body .sbs-knx-app button:hover:not(:disabled){background:var(--accent-dk)}
html body .sbs-knx-app button.secondary:hover:not(:disabled),html body .sbs-knx-app .wzcount button:hover{background:#dbdbdb}
html body .sbs-knx-app #w_shop{background:var(--green)}html body .sbs-knx-app #w_shop:hover{background:#49a63c}
html body .sbs-knx-app .wzbudget,html body .sbs-knx-app .wzbig{color:var(--ink)}
html body .sbs-knx-app .wzchk:has(input:checked){border-color:var(--accent);background:var(--cream)}
html body .sbs-knx-app input[type=checkbox],html body .sbs-knx-app input[type=radio]{accent-color:var(--accent)}
html body .sbs-knx-app input:focus,html body .sbs-knx-app select:focus,html body .sbs-knx-app textarea:focus{outline:2px solid var(--accent-lt);outline-offset:0;border-color:var(--accent)}
html body .sbs-knx-app a{color:var(--accent-dk)}
html body .sbs-knx-app .wzdeposit{display:block;margin:10px 0 2px;padding:8px 10px;background:var(--cream);border-left:3px solid var(--accent);font-size:13px}
html body .sbs-knx-app .wzcta .wzdeposit b{display:inline;margin:0}

/* ===== Configurator look (2026-10-09): same colours, frames and buttons as the SBS JUNG and Basalte configurators ===== */
html body .sbs-knx-app{--ink:#101828;--muted:#5d6675;--line:#e3e1dc;--bg:#fff;--soft:#faf7f0;--accent:#c19031;--accent-dk:#a87b24;--accent-lt:#f3e8d2;--cream:#faf7f0;--hover:#cfc6b4;font-family:inherit;font-size:15px;background:#fff}
html body .sbs-knx-app h1,html body .sbs-knx-app h2,html body .sbs-knx-app h3{font-family:inherit;font-weight:600}
/* header: short inviting intro instead of a dark banner (the page title sits above it) */
html body .sbs-knx-app #wz .wzhead{background:none;color:var(--muted);padding:0 18px;border:0;max-width:1100px;margin:0 auto}
html body .sbs-knx-app #wz .wzhead .wzintro{max-width:760px;margin:0 0 6px;font-size:16px;line-height:1.55;color:var(--muted)}
html body .sbs-knx-app #wz .wzhead .wzintro b{color:var(--ink);font-weight:600}
html body .sbs-knx-app header{background:var(--soft);color:var(--ink);border-bottom:1px solid var(--line)}html body .sbs-knx-app header h2{color:var(--ink)}html body .sbs-knx-app header p{color:var(--muted)}
/* frames */
html body .sbs-knx-app .wzmain,html body .sbs-knx-app .card{border:1px solid var(--line);border-radius:12px;box-shadow:none}
html body .sbs-knx-app .wzside{background:var(--soft);border:1px solid var(--line);border-radius:12px}
html body .sbs-knx-app .wzside h3{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
html body .sbs-knx-app .wzbig,html body .sbs-knx-app .wzbudget{font-weight:500;color:var(--ink)}
/* steps: gold numbers with a soft halo */
html body .sbs-knx-app .wzsteps{gap:8px 22px;flex-wrap:wrap}
html body .sbs-knx-app .wzsteps li{flex:0 1 auto;display:flex;align-items:center;gap:8px;border:0;padding:0;font-family:inherit;text-transform:none;letter-spacing:0;font-size:14px;font-weight:500;color:var(--muted)}
html body .sbs-knx-app .wzsteps li span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;border:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:600;flex:none}
html body .sbs-knx-app .wzsteps li.done span,html body .sbs-knx-app .wzsteps li.on span{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 0 0 3px var(--accent-lt)}
html body .sbs-knx-app .wzsteps li.on{color:var(--ink);font-weight:600}html body .sbs-knx-app .wzsteps li.done{color:var(--ink)}
/* option tiles and cards: thin warm frame, gold frame + cream when chosen */
html body .sbs-knx-app .wzchk,html body .sbs-knx-app .wzcard,html body .sbs-knx-app .wzcta>div{border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
html body .sbs-knx-app .wzchk:hover,html body .sbs-knx-app .wzcard:hover{border-color:var(--hover)}
html body .sbs-knx-app .wzchk:has(input:checked),html body .sbs-knx-app .wzcard:has(input:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--soft)}
html body .sbs-knx-app .wzcta>div{background:var(--soft)}
/* fields */
html body .sbs-knx-app input,html body .sbs-knx-app select,html body .sbs-knx-app textarea{border:1px solid var(--line);border-radius:6px;background:#fff}
html body .sbs-knx-app input:focus,html body .sbs-knx-app select:focus,html body .sbs-knx-app textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--line)}
/* buttons: gold, secondary white with gold frame */
html body .sbs-knx-app button{border-radius:6px;background:var(--accent);border:1px solid var(--accent);font-weight:600}
html body .sbs-knx-app button:hover:not(:disabled){background:var(--accent);filter:brightness(.95)}
html body .sbs-knx-app button.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}
html body .sbs-knx-app button.secondary:hover:not(:disabled){background:var(--soft);border-color:var(--hover);filter:none}
html body .sbs-knx-app #w_shop{background:var(--accent)}html body .sbs-knx-app #w_shop:hover{background:var(--accent)}
/* room counters: stepper like the configurators' quantity box */
html body .sbs-knx-app .wzcount{gap:0;border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden;width:max-content}
html body .sbs-knx-app .wzcount button{margin:0;padding:6px 0;width:36px;min-width:36px;background:#fff;border:0;border-radius:0;color:var(--ink);font-size:17px;font-weight:400}
html body .sbs-knx-app .wzcount button:hover:not(:disabled){background:var(--soft);filter:none}
html body .sbs-knx-app .wzcount input{width:52px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0;text-align:center;-moz-appearance:textfield}
html body .sbs-knx-app .wzcount input::-webkit-inner-spin-button,html body .sbs-knx-app .wzcount input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* notes */
html body .sbs-knx-app .note,html body .sbs-knx-app .wzlocked,html body .sbs-knx-app .wzdeposit{background:#fdf6e7;border:1px solid #f0dcb0;border-radius:6px;color:#7a4b06}
html body .sbs-knx-app .wzlocked{border-style:dashed}
html body .sbs-knx-app .flag{background:#fff4ec;border-left:3px solid #e0763a}
html body .sbs-knx-app .ok{background:#f3f8f1;border-left:3px solid #3d8b2f}
html body .sbs-knx-app th{background:var(--soft)}
html body .sbs-knx-app a{color:var(--accent)}
/* "Design your switches": links to the SBS JUNG and Basalte configurators */
html body .sbs-knx-app .wzdesign{margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-size:14px;color:var(--muted)}
html body .sbs-knx-app .wzdesign b{color:var(--ink)}
html body .sbs-knx-app .wzdesign-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
html body .sbs-knx-app a.wzdesign-btn{display:inline-block;padding:8px 14px;border:1px solid var(--accent);border-radius:6px;background:#fff;color:var(--ink);font-weight:600;text-decoration:none}
html body .sbs-knx-app a.wzdesign-btn:hover{background:var(--soft)}
/* Compact counters (rooms, shades, door entry): one tile per item, name left, small stepper right */
html body .sbs-knx-app .wzrooms,html body .sbs-knx-app .wzgrid:has(.wzcount){gap:8px}
html body .sbs-knx-app .wzrooms label:has(.wzcount),html body .sbs-knx-app .wzgrid label:has(.wzcount){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:0;margin:0;padding:7px 8px 7px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;font-weight:600;line-height:1.25}
html body .sbs-knx-app .wzrooms label:has(.wzcount) .small,html body .sbs-knx-app .wzgrid label:has(.wzcount) .small{grid-column:1;grid-row:2;font-size:12px;font-weight:400;margin:2px 0 0}
html body .sbs-knx-app label:has(.wzcount) .wzcount{grid-column:2;grid-row:1 / span 2}
html body .sbs-knx-app .wzcount button{width:30px;min-width:30px;padding:3px 0;font-size:16px;line-height:1.4}
html body .sbs-knx-app .wzcount input{width:38px;padding:4px 2px;font-size:14px;height:auto}
html body .sbs-knx-app .wzstep h3{margin:16px 0 8px}
html body .sbs-knx-app .wzrooms,html body .sbs-knx-app .wzgrid:has(.wzcount){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:520px){html body .sbs-knx-app .wzrooms,html body .sbs-knx-app .wzgrid:has(.wzcount){grid-template-columns:1fr}}
html body .sbs-knx-app .wzgrid:has(.wzcount) .wzchk{grid-column:1 / -1!important}
/* Compact lighting step: smaller style cards, fixture question as one tile (name left, choice right) */
html body .sbs-knx-app .wzcards{gap:8px}
html body .sbs-knx-app .wzcard{padding:10px 12px}
html body .sbs-knx-app .wzcard b{font-size:15px;margin-bottom:2px}
html body .sbs-knx-app .wzcard span{font-size:12.5px;line-height:1.4;display:block}
html body .sbs-knx-app .wzstep>p.lead{margin-bottom:12px}
html body .sbs-knx-app #w_twNote:empty{display:none}
html body .sbs-knx-app .wzgrid label:has(#w_fixtures){grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;margin:0;padding:7px 8px 7px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;font-weight:600}
html body .sbs-knx-app #w_fixtures{padding:6px 8px;font-size:14px;font-weight:400}
/* Compact look & feel step: keypad choice as one tile, short notes, design links on one line */
html body .sbs-knx-app .wzgrid label:has(#w_keypad){grid-column:1 / -1!important;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;margin:0;padding:7px 8px 7px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;font-weight:600}
html body .sbs-knx-app #w_keypad{padding:6px 8px;font-size:14px;font-weight:400}
html body .sbs-knx-app #w_kpNote{margin:8px 0 0;padding:7px 10px;font-size:12.5px;line-height:1.4}
html body .sbs-knx-app #w_kpNote:empty{display:none}
html body .sbs-knx-app .wzdesign{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:8px;padding:8px 10px 8px 12px;font-size:13px;line-height:1.4}
html body .sbs-knx-app .wzdesign>b{white-space:nowrap}
html body .sbs-knx-app .wzdesign-links{margin:0 0 0 auto;gap:6px}
html body .sbs-knx-app a.wzdesign-btn{padding:5px 12px;font-size:13px}
html body .sbs-knx-app .wzstep label.wzchk:has(#w_engrave){max-width:none!important;margin-top:8px;padding:9px 12px;font-size:14px}
/* Compact budget step: tighter range, two-column "based on" list, smaller table rows, 3-column contact form, slim action cards */
html body .sbs-knx-app .wzstep[data-step="4"] h2{margin-bottom:2px}
html body .sbs-knx-app .wzbudget{font-size:26px;margin:0 0 2px}
html body .sbs-knx-app .wzstep[data-step="4"]>p.small{margin:0 0 4px;font-size:12px}
html body .sbs-knx-app .wzlist{columns:2;column-gap:24px;margin:4px 0 0;font-size:12.5px;line-height:1.35}
html body .sbs-knx-app .wzlist li{margin:0 0 3px;break-inside:avoid}
@media(max-width:620px){html body .sbs-knx-app .wzlist{columns:1}}
html body .sbs-knx-app #w_detail table{font-size:12.5px;border:1px solid var(--line);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden}
html body .sbs-knx-app #w_detail td,html body .sbs-knx-app #w_detail th{padding:5px 10px}
html body .sbs-knx-app #w_detail tr:last-child td,html body .sbs-knx-app #w_detail tr:last-child th{border-bottom:0}
html body .sbs-knx-app .wzcta{gap:8px;margin-top:10px}
html body .sbs-knx-app .wzcta>div{padding:10px 12px;display:flex;flex-direction:column;gap:4px}
html body .sbs-knx-app .wzcta>div br{display:none}
html body .sbs-knx-app .wzcta b{margin:0;font-size:14px;line-height:1.3}
html body .sbs-knx-app .wzcta .small{font-size:12px;line-height:1.4}
html body .sbs-knx-app .wzcta button{align-self:flex-start;margin:6px 0 0;padding:8px 14px;font-size:13.5px}
html body .sbs-knx-app .wzlocked{margin-top:12px;padding:10px 12px}
html body .sbs-knx-app .wzlocked>p.small{margin:2px 0 6px;font-size:12px}
html body .sbs-knx-app .wzlead{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;margin-top:6px}
html body .sbs-knx-app .wzlead label{font-size:12px;gap:3px}
html body .sbs-knx-app .wzlead input,html body .sbs-knx-app .wzlead select{padding:6px 8px;font-size:14px}
html body .sbs-knx-app .wzlead label:has(#l_street){grid-column:span 2}
html body .sbs-knx-app .wzlead label:has(#l_company){grid-column:span 2!important}
html body .sbs-knx-app .wzlead>div:last-child{grid-column:1 / -1!important}
html body .sbs-knx-app .wzlead button{margin:4px 0 0}
@media(max-width:620px){html body .sbs-knx-app .wzlead{grid-template-columns:1fr 1fr}html body .sbs-knx-app .wzlead label:has(#l_company){grid-column:1 / -1!important}}
html body .sbs-knx-app .wzlead label{margin:0;color:var(--ink);font-weight:600}
html body .sbs-knx-app .wzlocked{background:var(--soft);border:1px solid var(--line);border-style:solid;color:var(--ink)}
html body .sbs-knx-app .wzlocked>b{font-size:15px}
html body .sbs-knx-app .wzlocked>p.small{color:var(--muted)}
/* Step bar: current step = gold pill, finished = check mark in a gold ring, still to come = grey */
html body .sbs-knx-app .wzsteps{gap:6px 8px;align-items:center}
html body .sbs-knx-app .wzsteps li{padding:4px 12px 4px 4px;border:1px solid transparent;border-radius:999px;color:#9aa1ad;font-weight:500;transition:background .15s,border-color .15s}
html body .sbs-knx-app .wzsteps li span{background:#f2f2f0;border:1px solid var(--line);color:#9aa1ad;box-shadow:none}
html body .sbs-knx-app .wzsteps li.done{color:var(--ink);cursor:pointer}
html body .sbs-knx-app .wzsteps li.done span{background:#fff;border:1.5px solid var(--accent);color:var(--accent);box-shadow:none;font-size:0}
html body .sbs-knx-app .wzsteps li.done span::after{content:"\2713";font-size:13px;font-weight:700}
html body .sbs-knx-app .wzsteps li.done:hover{background:var(--soft)}
html body .sbs-knx-app .wzsteps li.on{background:var(--soft);border-color:var(--accent);color:var(--ink);font-weight:700}
html body .sbs-knx-app .wzsteps li.on span{background:var(--accent);border-color:var(--accent);color:#fff;font-size:12px;box-shadow:0 0 0 3px var(--accent-lt)}
html body .sbs-knx-app .wzsteps li.on span::after{content:none}
/* shades step */
html body .sbs-knx-app .wzshadeon{margin:0 0 10px}
html body .sbs-knx-app .wzshadenote{margin:8px 0 0;font-size:12.5px}
/* 7 steps on one line: tighter pills; on narrow screens the bar scrolls sideways */
html body .sbs-knx-app .wzsteps{flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
html body .sbs-knx-app .wzsteps::-webkit-scrollbar{display:none}
html body .sbs-knx-app .wzsteps li{flex:none;white-space:nowrap;padding:3px 9px 3px 3px;gap:6px;font-size:13px}
html body .sbs-knx-app .wzsteps li span{width:22px;height:22px;font-size:11px}
html body .sbs-knx-app .wzsteps{gap:1px}
html body .sbs-knx-app .wzsteps li{padding:3px 8px 3px 3px;gap:5px}
html body .sbs-knx-app .wzsteps li{padding-right:7px}
/* Keypad design from the switch designers: "Your design" card on the Design step */
html body .sbs-knx-app .wzdesign{display:block}
html body .sbs-knx-app .wzdesign-head{margin-bottom:8px}
html body .sbs-knx-app .wzdesign-links{margin:0;justify-content:flex-start}
html body .sbs-knx-app .wzmydesign{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-items:center;margin-top:10px;padding:10px;border:1px solid var(--accent);border-radius:12px;background:#fff}
html body .sbs-knx-app .wzmydesign img{width:120px;height:90px;object-fit:contain;border-radius:6px;background:var(--soft)}
html body .sbs-knx-app .wzmd-body{display:flex;flex-direction:column;gap:3px;color:var(--ink)}
html body .sbs-knx-app .wzmd-desc{font-size:13.5px}
html body .sbs-knx-app .wzmd-btns button{margin:4px 0 0;padding:6px 12px;font-size:13px}
html body .sbs-knx-app .wzdesign-msg{margin:8px 0 0;color:#a15c07}
html body .sbs-knx-app .wzdesign-msg:empty{display:none}
@media(max-width:520px){html body .sbs-knx-app .wzmydesign{grid-template-columns:1fr}html body .sbs-knx-app .wzmydesign img{width:100%;height:auto}}

/* budget step: complete or materials only (owner 2026-10-14) */
html body .sbs-knx-app .wzsvc{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 6px}
html body .sbs-knx-app .wzsvc-btn{flex:1 1 240px;text-align:left;font:inherit;font-size:14px;font-weight:600;line-height:1.35;padding:11px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:inherit;cursor:pointer}
html body .sbs-knx-app .wzsvc-btn.on{border-color:var(--accent);background:var(--cream);box-shadow:inset 0 0 0 1px var(--accent)}
/* owner 2026-10-15: "Not ready yet? Let's talk." card (Calendly call or a question) and its pop-ups */
html body .sbs-knx-app .wzcta>.wztalk{grid-column:1/-1;background:#fff}
html body .sbs-knx-app .wztalk-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
html body .sbs-knx-app .wzcta .wztalk-btns button{align-self:auto;margin:0}
html body .sbs-knx-app.show-admin .wztalk{display:none}
html body .sbs-knx-modal{position:fixed;inset:0;z-index:100000;background:rgba(16,24,40,.55);display:flex;align-items:center;justify-content:center;padding:16px}
html body .sbs-knx-modal[hidden]{display:none}
html body .sbs-knx-modal .box{position:relative;background:#fff;border-radius:12px;width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.3);font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#101828}
html body .sbs-knx-modal .box.cal{width:min(700px,100%);height:min(700px,calc(100vh - 32px));padding:0;overflow:hidden;display:flex;flex-direction:column}
html body .sbs-knx-modal .box.cal iframe{flex:1;width:100%;border:0}
html body .sbs-knx-modal h3{margin:0 40px 6px 0;font-size:19px;line-height:1.3}
html body .sbs-knx-modal .hd{display:flex;align-items:center;gap:14px;margin:0 44px 12px 0;padding-bottom:12px;border-bottom:1px solid #eee5d3}
html body .sbs-knx-modal .hd img{display:block;width:auto;height:58px;flex:none}
html body .sbs-knx-modal .hd h3{margin:0;padding-left:14px;border-left:1px solid #eee5d3}
html body .sbs-knx-modal .box.cal .hd{margin:0;padding:12px 56px 12px 18px}
@media(max-width:480px){html body .sbs-knx-modal .hd{flex-direction:column;align-items:flex-start;gap:8px}html body .sbs-knx-modal .hd h3{padding-left:0;border-left:0}html body .sbs-knx-modal .hd img{height:36px}}
html body .sbs-knx-modal .x{position:absolute;top:8px;right:8px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;font-size:26px;line-height:1;color:#6b7280;cursor:pointer}
html body .sbs-knx-modal .x:hover{background:#f3f4f6}
html body .sbs-knx-modal p{margin:0 0 10px;font-size:14px;color:#4b5563}
html body .sbs-knx-modal textarea{box-sizing:border-box;width:100%;min-height:140px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;font:inherit;resize:vertical}
html body .sbs-knx-modal label{display:block;font-size:14px;font-weight:600;margin:10px 0 4px}
html body .sbs-knx-modal select{padding:8px 10px;border:1px solid #e5e7eb;border-radius:12px;font:inherit;background:#fff}
html body .sbs-knx-modal .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}
html body .sbs-knx-modal .send{padding:10px 16px;background:#c19031;color:#fff;border:0;border-radius:12px;font-weight:700;cursor:pointer;font-size:14px}
html body .sbs-knx-modal .send:disabled{opacity:.6;cursor:wait}
html body .sbs-knx-modal .msg{font-size:14px}
html body .sbs-knx-modal .msg.ok{color:#2f6f27;font-weight:600}
html body .sbs-knx-modal .msg.err{color:#9a3412}
html body .sbs-knx-app .wzchk[hidden]{display:none!important} /* owner 2026-10-15: Engraved buttons hidden while a designer keypad is used */
html body .sbs-knx-app .wzpdf{margin:10px 0 0;text-align:right} /* owner 2026-10-15: budget PDF */
/* owner 2026-10-16: info symbol on cards, details on hover (mouse) or tap (touch) */
html body .sbs-knx-app .wzcard{padding-right:34px}
html body .sbs-knx-app .wzcard .wzinfo{position:absolute;top:9px;right:9px;width:18px;height:18px;border-radius:50%;border:1px solid var(--muted);color:var(--muted);font-family:inherit;font-style:normal;font-weight:700;font-size:11px;line-height:16px;text-align:center;cursor:help;background:#fff;z-index:2}
html body .sbs-knx-app .wzcard .wzinfo:hover,html body .sbs-knx-app .wzcard .wzinfo:focus,html body .sbs-knx-app .wzcard .wzinfo.on{border-color:var(--accent);color:var(--accent);outline:none}
html body .sbs-knx-app .wzcard .wzpop{display:none;position:absolute;top:24px;right:-6px;width:min(300px,80vw);padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.14);font-family:Roboto,Arial,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:1.55;letter-spacing:0;color:#101828;text-align:left;cursor:default;z-index:20}
html body .sbs-knx-app .wzcard .wzinfo:hover .wzpop,html body .sbs-knx-app .wzcard .wzinfo:focus .wzpop,html body .sbs-knx-app .wzcard .wzinfo.on .wzpop{display:block}
/* owner 2026-10-21: phone: no side scrolling (the one grid column may shrink), summary after the steps (order above) */
@media(max-width:860px){html body .sbs-knx-app .wzwrap{grid-template-columns:minmax(0,1fr)!important}html body .sbs-knx-app .wzmain,html body .sbs-knx-app .wzside{min-width:0;max-width:100%;box-sizing:border-box}html body .sbs-knx-app .wzsteps{max-width:100%;min-width:0}html body .sbs-knx-app select,html body .sbs-knx-app input,html body .sbs-knx-app textarea{max-width:100%;min-width:0;box-sizing:border-box}html body .sbs-knx-app img{max-width:100%;height:auto}}
html:has(.sbs-knx-app),html:has(.sbs-knx-app) body{overflow-x:clip}
/* owner 2026-10-23: "Base system" line: price on one line, the parts as small tags below across the full width */
html body .sbs-knx-app .wzrow.wzbase{flex-wrap:wrap;align-items:baseline;row-gap:6px}
html body .sbs-knx-app .wzrow.wzbase #s_base{white-space:nowrap;margin-left:12px}
html body .sbs-knx-app .wzrow.wzbase #s_baseNote{flex:1 0 100%;display:flex;flex-wrap:wrap;gap:5px 6px;font-weight:400}
html body .sbs-knx-app .wzrow.wzbase #s_baseNote span{background:#fff;border:1px solid #e7e1d3;border-radius:999px;padding:2px 9px;font-size:12px;line-height:1.5;color:#475467}
html body .sbs-knx-app .wzrow.wzbase #s_baseNote em{flex-basis:100%;font-style:normal;font-size:11.5px;line-height:1.35;color:#6b7280}
