/* SBS Digital Twin page ([sbs_digital_twin]). Same look as the SBS entry page and designers. Run css-guard.php after editing (adds "html body"). */
html body .sbs-dt{--ink:#101828;--muted:#5d6675;--line:#e3e1dc;--soft:#faf7f0;--gold:#c19031;--gold-dk:#a87b25;--gold-lt:#f3e8d2;box-sizing:border-box;width:min(1180px,calc(100vw - 32px));max-width:none!important;margin:24px 0 64px calc(50% - min(590px,50vw - 16px))!important;color:var(--ink);font-family:Roboto,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55;text-align:left}
html body .dt-msg{margin:0 0 14px;padding:10px 12px;border-radius:8px;background:rgba(220,70,70,.15);border:1px solid rgba(240,120,120,.5);color:#ffd4d4;font-size:14px}
html body .dt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
html body .sbs-dt *{box-sizing:border-box}
html body .sbs-dt h1,html body .sbs-dt h2,html body .sbs-dt h3{font-family:inherit;font-weight:600;letter-spacing:-.01em;color:var(--ink);margin:0}
html body .sbs-dt h2{font-size:clamp(26px,3vw,34px);line-height:1.2;margin-bottom:10px}
html body .sbs-dt h3{font-size:18px;margin-bottom:6px}
html body .sbs-dt section{margin:0 0 64px}
html body .dt-eyebrow{margin:0 0 8px;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
html body .dt-sub{max-width:720px;margin:0 0 26px;color:var(--muted)}
html body .dt-center{text-align:center}html body .dt-center .dt-sub{margin-left:auto;margin-right:auto}

/* buttons */
html body .dt-actions{display:flex;flex-wrap:wrap;gap:10px}
html body .sbs-dt .dt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:6px;background:var(--gold);border:1px solid var(--gold);color:#fff;font:600 15px/1.2 Roboto,Arial,sans-serif;text-decoration:none;cursor:pointer;transition:filter .15s,background .15s}
html body .sbs-dt .dt-btn:hover{filter:brightness(.94)}
html body .sbs-dt .dt-btn-ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.75)}
html body .sbs-dt .dt-btn-ghost:hover{background:rgba(255,255,255,.18);filter:none}
html body .sbs-dt .dt-btn-line{background:#fff;color:var(--ink);border-color:var(--gold)}
html body .sbs-dt .dt-btn-line:hover{background:var(--soft);filter:none}
html body .sbs-dt .dt-btn:disabled{opacity:.45;cursor:not-allowed;filter:none}

/* hero */
html body .dt-hero{position:relative;overflow:hidden;border-radius:14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(20px,3vw,40px);align-items:center;padding:clamp(28px,5vw,60px);background:#101828 center/cover no-repeat;color:#fff;isolation:isolate}
html body .dt-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(16,24,40,.94) 0%,rgba(16,24,40,.82) 45%,rgba(16,24,40,.6) 100%)}
html body .dt-hero h1{color:#fff;font-size:clamp(32px,4.4vw,52px);line-height:1.1;margin-bottom:16px}
html body .dt-hero .dt-eyebrow{color:#e6c37a}
html body .dt-lead{margin:0 0 24px;font-size:clamp(16px,1.6vw,19px);color:rgba(255,255,255,.88);max-width:540px}
html body .dt-hero-facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin:26px 0 0;padding:0;list-style:none;font-size:14px;color:rgba(255,255,255,.8)}
html body .dt-hero-facts li{display:flex;align-items:center;gap:8px}
html body .dt-hero-facts li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 3px rgba(193,144,49,.3)}
html body .dt-tour{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/11;background:#0b111c;box-shadow:0 18px 50px rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.15)}
html body .dt-tour iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
html body .dt-tour-tag{position:absolute;left:12px;top:12px;z-index:2;padding:6px 10px;border-radius:20px;background:rgba(16,24,40,.8);font-size:12px;font-weight:600;letter-spacing:.04em;color:#fff;pointer-events:none}
html body .dt-tour-tag b{color:#e6c37a}

/* steps */
html body .dt-steps{list-style:none;margin:-28px 24px 64px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative;z-index:1}
html body .dt-steps li{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(16,24,40,.08);font-size:14.5px;color:var(--muted);line-height:1.45}
html body .dt-steps li>span{flex:none;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--gold);color:#fff;font-weight:700;font-size:14px;box-shadow:0 0 0 4px var(--gold-lt)}
html body .dt-steps b{display:block;color:var(--ink);font-size:16px;margin-bottom:2px}

/* deliverables */
html body .dt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html body .dt-card{padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .2s}
html body .dt-card:hover{border-color:var(--gold);box-shadow:0 10px 28px rgba(16,24,40,.08)}
html body .dt-card p{margin:0;color:var(--muted);font-size:14.5px}
html body .dt-ico{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:10px;background:var(--gold-lt);color:var(--gold-dk)}
html body .dt-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* who it is for */
html body .dt-uses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--soft)}
html body .dt-use{padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
html body .dt-use:nth-child(3n){border-right:0}html body .dt-use:nth-last-child(-n+3){border-bottom:0}
html body .dt-use p{margin:0;color:var(--muted);font-size:14.5px}
html body .dt-use-sbs{background:#101828}html body .dt-use-sbs h3{color:#fff}html body .dt-use-sbs p{color:#cfd4dc}
html body .dt-pill{display:inline-block;margin-bottom:8px;padding:3px 9px;border-radius:20px;background:var(--gold);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

/* calculator */
html body .dt-calc-wrap{padding:clamp(20px,4vw,44px);border-radius:16px;background:var(--soft);border:1px solid var(--line)}
html body .dt-calc{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:24px;align-items:start}
html body .dt-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:clamp(18px,3vw,28px)}
html body .dt-field{margin:0 0 22px}
html body .dt-label{display:block;margin:0 0 8px;font-weight:600;font-size:15px}
html body .dt-hint{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
html body .dt-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body .dt-seg label{position:relative;display:block;cursor:pointer}
html body .dt-seg input{position:absolute;opacity:0;pointer-events:none}
html body .dt-seg span{display:block;height:100%;padding:12px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;color:var(--muted);line-height:1.35;transition:border-color .15s,background .15s}
html body .dt-seg span b{display:block;color:var(--ink);font-size:15px;margin-bottom:2px}
html body .dt-seg input:checked+span{border-color:var(--gold);background:var(--gold-lt);box-shadow:inset 0 0 0 1px var(--gold)}
html body .dt-seg input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}
html body .dt-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html body .sbs-dt input[type=number],html body .sbs-dt input[type=text],html body .sbs-dt input[type=email],html body .sbs-dt input[type=tel],html body .sbs-dt input[type=date],html body .sbs-dt select,html body .sbs-dt textarea{width:100%;padding:11px 12px;border:1px solid #cfd2d8;border-radius:8px;background:#fff;font:400 15px/1.3 Roboto,Arial,sans-serif;color:var(--ink)}
html body .sbs-dt input:focus,html body .sbs-dt select:focus,html body .sbs-dt textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-lt)}
html body .dt-range{display:flex;align-items:center;gap:14px}
html body .dt-range input[type=range]{flex:1;accent-color:var(--gold)}
html body .dt-range input[type=number]{width:120px;flex:none}
html body .dt-checks{display:grid;gap:8px}
html body .dt-check{display:flex;align-items:flex-start;gap:12px;padding:11px 14px;border:1px solid var(--line);border-radius:8px;cursor:pointer;transition:border-color .15s,background .15s}
html body .dt-check:hover{border-color:#d6c49b}
html body .dt-check input{margin:3px 0 0;accent-color:var(--gold);width:17px;height:17px;flex:none}
html body .dt-check-t{flex:1;font-size:14.5px;line-height:1.4}
html body .dt-check-t b{display:block;font-weight:600;color:var(--ink)}
html body .dt-check-t small{color:var(--muted);font-size:13px}
html body .dt-check-p{flex:none;font-weight:600;font-size:14px;color:var(--gold-dk);white-space:nowrap}
html body .dt-check:has(input:checked){border-color:var(--gold);background:#fffaf0}
html body .dt-hidden{display:none!important}

/* summary */
html body .dt-sum{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 84px);background:#101828;color:#cfd4dc;border-radius:12px;padding:24px;box-shadow:0 18px 40px rgba(16,24,40,.18)}
html body .dt-sum h3{color:#fff;font-size:17px;margin-bottom:14px}
html body .dt-lines{list-style:none;margin:0 0 14px;padding:0;font-size:14px}
html body .dt-lines li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.1)}
html body .dt-lines li span:last-child{color:#fff;white-space:nowrap}
html body .dt-lines li.dt-free span:last-child{color:#e6c37a}
html body .dt-total{display:flex;justify-content:space-between;align-items:baseline;margin:6px 0 4px}
html body .dt-total span{font-size:14px}
html body .dt-total b{font-size:34px;font-weight:700;color:#fff;letter-spacing:-.02em}
html body .dt-rate{margin:0 0 18px;font-size:13px;color:#9aa3b2}
html body .dt-sum .dt-btn{width:100%}
html body .dt-note{margin:14px 0 0;font-size:12.5px;color:#9aa3b2;line-height:1.5}
html body .dt-custom{margin:0 0 16px;padding:12px 14px;border-radius:8px;background:rgba(193,144,49,.15);border:1px solid rgba(193,144,49,.45);color:#f1dfb7;font-size:14px}

/* booking step */
html body .dt-book h3{font-size:20px}
html body .dt-back{background:none;border:0;padding:0;margin:0 0 16px;color:var(--gold-dk);font:600 14px Roboto,Arial,sans-serif;cursor:pointer}
html body .dt-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body .dt-done{text-align:center;padding:30px 10px}
html body .dt-done .dt-ico{width:60px;height:60px;border-radius:50%}
html body .dt-done p{color:var(--muted);max-width:460px;margin:8px auto 0}

/* why */
html body .dt-why{padding:clamp(24px,4vw,44px);background:#101828;border-radius:14px;color:#cfd4dc}
html body .dt-why h2{color:#fff;margin-bottom:22px}
html body .dt-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;font-size:14.5px;line-height:1.5}
html body .dt-why-grid b{display:block;color:#fff;font-size:16px;margin-bottom:6px;padding-top:12px;border-top:2px solid var(--gold)}

/* faq */
html body .dt-faq{max-width:860px;margin:0 auto}
html body .dt-faq details{border-bottom:1px solid var(--line)}
html body .dt-faq summary{list-style:none;cursor:pointer;padding:18px 36px 18px 0;position:relative;font-weight:600;font-size:16.5px}
html body .dt-faq summary::-webkit-details-marker{display:none}
html body .dt-faq summary::after{content:"+";position:absolute;right:6px;top:14px;font-size:24px;font-weight:400;color:var(--gold)}
html body .dt-faq details[open] summary::after{content:"\2212"}
html body .dt-faq details p{margin:0 0 18px;color:var(--muted)}

/* final call */
html body .dt-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:clamp(24px,4vw,40px);border:1px solid var(--gold);border-radius:14px;background:var(--soft)}
html body .dt-cta h2{margin-bottom:6px}html body .dt-cta p{margin:0;color:var(--muted)}

@media (max-width:980px){
  html body .dt-hero{grid-template-columns:1fr}
  html body .dt-calc{grid-template-columns:1fr}
  html body .dt-sum{position:static}
  html body .dt-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .dt-grid,html body .dt-uses{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .dt-use,html body .dt-use:nth-child(3n),html body .dt-use:nth-last-child(-n+3){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  html body .dt-use:nth-child(2n){border-right:0}html body .dt-use:nth-last-child(-n+2){border-bottom:0}
}
/* phone: total stays visible while filling the form */
html body .dt-mbar{display:none}
@media (max-width:980px){
  html body .dt-mbar.on{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#101828;color:#cfd4dc;font-size:13px;box-shadow:0 -6px 20px rgba(16,24,40,.25)}
  html body .dt-mbar b{display:block;color:#fff;font-size:20px}
  html body .sbs-dt .dt-mbar .dt-btn{padding:11px 16px}
}
@media (max-width:640px){
  html body .dt-steps{grid-template-columns:1fr;margin:-20px 10px 48px}
  html body .dt-grid,html body .dt-uses,html body .dt-why-grid,html body .dt-row{grid-template-columns:1fr}
  html body .dt-use,html body .dt-use:nth-child(n){border-right:0;border-bottom:1px solid var(--line)}html body .dt-use:last-child{border-bottom:0}
  html body .dt-seg,html body .dt-slots{grid-template-columns:1fr}
  html body .dt-range input[type=number]{width:100px}
  html body .sbs-dt section{margin-bottom:48px}
}

/* 1.1.2: picking a date (FluentBooking): price on top, calendar full width; FluentBooking's own price line is the placeholder $0 of the scan product */
html body .dt-calc.dt-paying{grid-template-columns:1fr}
html body .dt-calc.dt-paying .dt-sum{position:static;order:-1}
html body .dt-calc.dt-paying .dt-sum .dt-btn{display:none}
html body .dt-fb .fcal_slot_payment_item{display:none!important}
/* 1.1.3: FluentBooking shows the wide SBS logo as a round 80 px avatar (cut off): show it at its own shape */
html body .dt-fb .fcal_author_avatar{width:auto!important;height:auto!important;border-radius:0!important;overflow:visible!important;background:none!important}
html body .dt-fb .fcal_author_avatar img{width:auto!important;height:48px!important;max-width:200px!important;object-fit:contain!important;border-radius:0!important}
/* 1.1.5: four property types */
html body .dt-seg.dt-seg-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){html body .dt-seg.dt-seg-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){html body .dt-seg.dt-seg-4{grid-template-columns:1fr}}
/* 1.2.0: hero is the builder hub hero (hub.css); the theme column on Elementor full width pages starts at the edge */
html body .sbs-dt-hub .sbs-hub-steps{margin-bottom:24px}
/* live showroom tour, own section below the steps */
html body .dt-tour-sec{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(20px,3vw,40px);align-items:center}
html body .dt-tour-sec .dt-sub{margin-bottom:0}
@media (max-width:980px){html body .dt-tour-sec{grid-template-columns:1fr}}
/* 1.2.0 owner 'keep the matterport calculator same style': price box like the Smart Home Budget Builder estimate (light card, grey title, dark figures) */
html body .dt-calc-wrap{background:none;border:0;padding:0}
html body .dt-sum{background:var(--soft);color:var(--ink);border:1px solid var(--line);box-shadow:none;border-radius:12px}
html body .dt-sum h3{color:var(--muted);font-size:13px;letter-spacing:.06em;text-transform:uppercase;font-weight:600}
html body .dt-lines li{border-bottom:1px solid var(--line)}
html body .dt-lines li span:last-child,html body .dt-lines li.dt-free span:last-child{color:var(--ink);font-weight:600}
html body .dt-total span{color:var(--muted)}
html body .dt-total b{color:var(--ink);font-weight:500}
html body .dt-rate,html body .dt-note{color:var(--muted)}
html body .dt-custom{background:#fdf3e1;border-color:#ecd7a8;color:#7a5a1c}
html body .dt-msg{background:#fdecec;border-color:#f3b6b6;color:#8a1f1f}
html body .dt-mbar.on{background:#fff;color:var(--muted);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(16,24,40,.08)}
html body .dt-mbar b{color:var(--ink)}
/* 1.2.2 owner: live tour back in the hero, right of the text, scaled to fit */
html body .sbs-dt-hub .sbs-hub-hero-in.dt-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:center;padding-right:max(24px,calc(var(--sbs-x,0px) + 40px))}
html body .sbs-dt-hub .sbs-hub-hero-in.dt-hero-grid>*{max-width:none}
html body .sbs-dt-hub .dt-hero-txt>*{max-width:620px}
html body .sbs-dt-hub .dt-hero-grid .dt-tour{width:100%;aspect-ratio:16/10;border-radius:14px}
@media (max-width:1100px){html body .sbs-dt-hub .sbs-hub-hero-in.dt-hero-grid{grid-template-columns:1fr}html body .sbs-dt-hub .dt-hero-grid .dt-tour{max-width:720px}}
@media (max-width:760px){html body .sbs-dt-hub .sbs-hub-hero-in.dt-hero-grid{padding:32px 20px}}
