:root{--slps-bg:#f3f6fb;--slps-panel:#fff;--slps-card:#fff;--slps-border:#d7e0ed;--slps-text:#182335;--slps-muted:#64748b;--slps-blue:#1976e9;--slps-blue-dark:#105ebf;--slps-navy:#0f1726;--slps-soft:#eef4fc;--slps-gold:#8f6b1d}
.slps5-app{max-width:1720px;margin:18px auto;background:var(--slps-bg);color:var(--slps-text);border:1px solid #dce4ee;border-radius:18px;overflow:hidden;box-shadow:0 16px 45px rgba(20,34,54,.12);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.slps5-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;background:#fff;border-bottom:1px solid var(--slps-border)}.slps5-title-wrap{display:flex;gap:14px;align-items:flex-start}.slps5-mark{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eaf2ff;color:#166de0;font-size:24px;flex:0 0 auto}.slps5-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:800;color:#2771d8;margin-bottom:4px}.slps5-header h2{margin:0 0 6px!important;font-size:28px!important;line-height:1.1!important;color:#152238!important}.slps5-header p{margin:0!important;color:#52637a!important;line-height:1.45;max-width:800px;font-size:14px}.slps5-live-brand{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:13px;background:#f8fafc;border:1px solid var(--slps-border);min-width:170px}.slps5-live-brand img{width:38px;height:38px;object-fit:contain;border-radius:7px;background:#fff}.slps5-live-brand div{display:flex;flex-direction:column}.slps5-live-brand strong{color:#182335}.slps5-live-brand span{color:#64748b;font-size:12px}
.slps5-toolbar{display:flex;gap:8px;overflow:auto;-webkit-overflow-scrolling:touch;padding:10px 14px;background:#fbfdff;border-bottom:1px solid var(--slps-border)}.slps5-toolbar::-webkit-scrollbar{height:7px}.slps5-toolbar::-webkit-scrollbar-thumb{background:#c3cfdf;border-radius:999px}.slps5-btn{appearance:none;border:1px solid #cfd9e7;background:#fff;color:#28384d;border-radius:9px;padding:10px 12px;font-weight:750;cursor:pointer;white-space:nowrap;transition:.15s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px}.slps5-btn:hover{background:#f0f5fb;border-color:#b9c8dc}.slps5-btn.is-active{background:#e6f0ff;border-color:#6da4ec;color:#0f61c9}.slps5-primary{background:var(--slps-blue);border-color:var(--slps-blue);color:#fff}.slps5-primary:hover{background:var(--slps-blue-dark);color:#fff}.slps5-smart{background:#eef4ff;border-color:#a9c6f3;color:#175fb6}.slps5-gold{background:#fff8e6;border-color:#e5c471;color:#795615}.slps5-compact{min-width:40px;font-size:17px;padding-left:9px;padding-right:9px}
.slps5-statusbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 14px;background:#fff;border-bottom:1px solid var(--slps-border)}.slps5-status,.slps5-project-id,.slps5-spacing-badge{padding:6px 10px;border-radius:999px;background:#f4f7fb;border:1px solid #d7e0ed;font-size:11px;font-weight:700;color:#4a5a70}.slps5-spacing-badge{margin-left:auto}.slps5-spacing-badge strong{color:#145fbf}
.slps5-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px}.slps5-main{min-width:0;padding:14px}.slps5-sidebar{padding:12px;background:#f7f9fc;border-left:1px solid var(--slps-border)}
.slps5-photo-strip-wrap{margin-bottom:10px;overflow:hidden}.slps5-photo-strip{display:flex;gap:8px;overflow:auto;padding:1px 1px 6px;-webkit-overflow-scrolling:touch}.slps5-photo-empty{padding:10px 12px;border:1px dashed #b9c7d9;border-radius:10px;color:#64748b;background:#fff;font-size:12px;width:100%}.slps5-photo-card{position:relative;flex:0 0 142px;border:1px solid #d6dfeb;background:#fff;border-radius:10px;padding:6px;cursor:pointer;color:#1d2a3d;text-align:left;box-shadow:0 2px 6px rgba(30,45,65,.04)}.slps5-photo-card.is-active{outline:2px solid #2f78dc}.slps5-photo-thumb{width:100%;height:68px;object-fit:cover;border-radius:7px;display:block;background:#0b1019}.slps5-photo-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;padding:6px 2px 0}.slps5-photo-meta strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:92px}.slps5-photo-meta small{display:block;color:#718096;font-size:9px;margin-top:2px}.slps5-photo-remove{appearance:none;border:1px solid #ecd3d6;background:#fff4f4;color:#a4444c;border-radius:6px;width:24px;height:24px;cursor:pointer;font-size:14px}
.slps5-viewbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.slps5-segmented{display:inline-flex;background:#fff;border:1px solid #d3ddea;border-radius:10px;padding:3px}.slps5-seg{appearance:none;border:0;background:transparent;color:#53647a;font-weight:750;padding:8px 12px;border-radius:7px;cursor:pointer;font-size:12px}.slps5-seg.is-active{background:var(--slps-blue);color:#fff}.slps5-inline-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.slps5-inline-controls label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#53647a}.slps5-inline-controls input[type=range]{width:105px}.slps5-inline-split{display:none}.slps5-app.is-split .slps5-inline-split{display:flex}
.slps5-stage-wrap{position:relative;background:#0a1019;border:1px solid #cfd8e6;border-radius:14px;overflow:hidden;min-height:520px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}.slps5-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9aa9bb;text-align:center;padding:40px;z-index:0}.slps5-empty strong{font-size:22px;color:#fff}.slps5-empty-icon{font-size:44px;line-height:1;color:#76a9ff}.slps5-scene{position:relative;transform-origin:center center;will-change:transform}.slps5-before,.slps5-after{display:block;max-width:100%;max-height:74vh}.slps5-before{position:relative;z-index:1}.slps5-after{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:none;cursor:crosshair}.slps5-app.is-pan .slps5-after{cursor:grab}.slps5-app.is-pan .slps5-after:active{cursor:grabbing}.slps5-split{position:absolute;inset:0;pointer-events:none;z-index:3}.slps5-split.is-hidden{display:none}.slps5-split-line{position:absolute;top:0;bottom:0;width:2px;background:#fff}.slps5-split-line span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#fff;color:#111;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;box-shadow:0 5px 18px rgba(0,0,0,.25)}.slps5-stage-label{position:absolute;top:10px;z-index:4;padding:6px 10px;border-radius:999px;background:rgba(10,16,25,.82);border:1px solid rgba(255,255,255,.15);font-size:10px;font-weight:800;letter-spacing:.04em;color:#fff}.slps5-before-label{left:10px}.slps5-after-label{right:10px}.slps5-stage-help{position:absolute;left:12px;bottom:12px;z-index:4;padding:8px 10px;border-radius:8px;background:rgba(8,12,18,.78);max-width:min(92%,650px);font-size:11px;color:#e3eaf4;line-height:1.4;pointer-events:none}.slps5-app.is-presentation .slps5-stage-help,.slps5-app.is-presentation .slps5-stage-label{display:none}
.slps5-runs-card{margin-top:12px;background:#fff;border:1px solid var(--slps-border);border-radius:13px;padding:12px}.slps5-runs-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.slps5-runs-head h3{margin:0 0 3px!important;font-size:17px!important;color:#1c293c!important}.slps5-runs-head p{margin:0!important;color:#6b7a8f!important;font-size:11px}.slps5-total-ft-card{padding:8px 10px;border-radius:10px;background:#f5f8fc;border:1px solid #d7e0ed;text-align:right}.slps5-total-ft-card span{display:block;color:#718096;font-size:10px}.slps5-total-ft-card strong{font-size:17px;color:#1d2c41}.slps5-run-list{display:flex;flex-wrap:wrap;gap:8px}.slps5-run-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d4deeb;background:#fff;border-radius:10px;cursor:pointer;min-width:190px;max-width:100%;color:#243348}.slps5-run-chip.is-selected{outline:2px solid #4d91e6}.slps5-run-chip.is-active{background:#eef5ff}.slps5-run-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}.slps5-run-dot.roofline{background:#2f74ff}.slps5-run-dot.soffit{background:#ff4fc1}.slps5-run-dot.accent{background:#ffaa30}.slps5-run-text{display:flex;flex-direction:column;min-width:0}.slps5-run-text strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slps5-run-text small{font-size:10px;color:#718096}
.slps5-side-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px;position:sticky;top:0;z-index:5;background:#f7f9fc;padding-bottom:2px}.slps5-side-tab{appearance:none;border:1px solid #d5dfeb;background:#fff;color:#52627a;border-radius:9px;padding:9px 6px;font-size:12px;font-weight:800;cursor:pointer}.slps5-side-tab.is-active{background:#e8f1ff;border-color:#8eb5ec;color:#145dbb}.slps5-side-pane{display:none}.slps5-side-pane.is-active{display:block}.slps5-card{background:#fff;border:1px solid var(--slps-border);border-radius:12px;padding:13px;margin-bottom:10px}.slps5-card h3{margin:0 0 12px!important;font-size:16px!important;color:#1b2a3e!important}.slps5-card label{display:block;font-size:12px;font-weight:700;color:#42546c;margin-bottom:12px}.slps5-card input[type=text],.slps5-card input[type=email],.slps5-card input[type=number],.slps5-card select{width:100%;margin-top:6px;background:#fff;border:1px solid #ccd7e6;color:#233247;border-radius:8px;padding:9px 10px;box-sizing:border-box}.slps5-card input[type=range]{width:100%;margin-top:6px}.slps5-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.slps5-preset-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}.slps5-preset{appearance:none;border:1px solid #cfdbea;background:#f8fbff;color:#2b3b51;padding:9px 10px;border-radius:8px;cursor:pointer;font-weight:800;font-size:12px}.slps5-preset:hover{background:#eef5ff}.slps5-check{display:flex!important;align-items:center;gap:8px}.slps5-check input{width:auto!important;margin:0!important}.slps5-no-run,.slps5-note{padding:10px;border-radius:8px;background:#f6f9fd;border:1px dashed #c2cfdf;color:#63748a;font-size:11px;line-height:1.45;margin-bottom:10px}.slps5-run-editor.is-disabled{opacity:.55;pointer-events:none}.slps5-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.slps5-colors label{font-size:10px}.slps5-colors input{width:100%;height:38px;background:transparent;border:none;padding:0;margin-top:5px}.slps5-run-readout,.slps5-scale-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border-radius:8px;background:#f5f8fc;border:1px solid #d4deeb;color:#33455c;font-size:11px;margin-bottom:10px}.slps5-mini-danger{appearance:none;border:1px solid #e4c8cb;background:#fff5f5;color:#9e3f47;padding:9px 10px;border-radius:8px;font-weight:800;cursor:pointer;width:100%;font-size:12px}.slps5-estimate-lines{display:flex;flex-direction:column;gap:8px}.slps5-estimate-lines>div{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:8px;background:#f7f9fc;border:1px solid #d8e1ec;color:#33445a;font-size:12px}.slps5-estimate-lines .slps5-grand{background:#eef5ff;border-color:#a7c7f2;color:#174f9e;font-size:14px}
.slps5-modal{position:fixed;inset:0;background:rgba(10,17,28,.65);display:flex;align-items:center;justify-content:center;padding:18px;z-index:99999}.slps5-modal.is-hidden{display:none}.slps5-modal-card{width:min(760px,100%);max-height:85vh;overflow:auto;background:#fff;color:#1e2c40;border:1px solid #d5dfeb;border-radius:16px;padding:16px}.slps5-small-modal{width:min(520px,100%)}.slps5-modal-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.slps5-modal-head h3{margin:0 0 4px!important;color:#1d2a3d!important}.slps5-modal-head p{margin:0!important;color:#68788d!important;font-size:12px}.slps5-x{appearance:none;border:1px solid #d2dce9;background:#fff;color:#34455c;border-radius:8px;width:38px;height:38px;cursor:pointer;font-size:22px}.slps5-project-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px;border:1px solid #d6e0ec;background:#fbfdff;border-radius:10px;margin-bottom:8px}.slps5-project-row strong{display:block}.slps5-project-row small{color:#718096}.slps5-project-row .actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.slps5-loading,.slps5-modal-note{color:#64748b;font-size:12px;line-height:1.45}
@media(max-width:1100px){.slps5-layout{grid-template-columns:1fr}.slps5-sidebar{border-left:0;border-top:1px solid var(--slps-border)}}
@media(max-width:760px){.slps5-app{margin:10px 0;border-radius:12px}.slps5-header{padding:14px;flex-direction:column}.slps5-live-brand{min-width:0;align-self:stretch}.slps5-header h2{font-size:23px!important}.slps5-header p{font-size:12px}.slps5-toolbar{padding:9px 10px}.slps5-btn{padding:9px 11px;font-size:12px}.slps5-statusbar{padding:7px 10px}.slps5-spacing-badge{margin-left:0}.slps5-main{padding:10px}.slps5-sidebar{padding:10px}.slps5-stage-wrap{min-height:300px}.slps5-inline-controls{width:100%;justify-content:space-between}.slps5-inline-controls label{font-size:11px}.slps5-inline-controls input[type=range]{width:85px}.slps5-run-chip{min-width:100%}.slps5-runs-head{flex-direction:column}.slps5-total-ft-card{text-align:left;width:100%}.slps5-two{grid-template-columns:1fr}.slps5-photo-card{flex-basis:125px}.slps5-photo-thumb{height:58px}.slps5-stage-help{left:8px;right:8px;max-width:none;font-size:10px}.slps5-before,.slps5-after{max-height:58vh}.slps5-side-tabs{position:sticky;top:0}.slps5-sidebar{padding-bottom:20px}}
@media(max-width:460px){.slps5-mark{width:36px;height:36px;font-size:20px}.slps5-title-wrap{gap:10px}.slps5-header h2{font-size:21px!important}.slps5-kicker{font-size:9px}.slps5-viewbar{align-items:flex-start}.slps5-seg{padding:8px 10px;font-size:11px}.slps5-preset-grid{grid-template-columns:1fr 1fr}.slps5-stage-label{font-size:9px;padding:5px 8px}.slps5-status,.slps5-project-id,.slps5-spacing-badge{font-size:10px}}


/* v4.0.1 — mobile image containment fix.
   The scene itself must be constrained to the stage width. Otherwise a canvas
   can retain its intrinsic pixel width and the stage's overflow:hidden clips
   the right side on narrow screens. */
.slps5-stage-wrap{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
.slps5-scene{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  box-sizing:border-box !important;
}
.slps5-before{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
}
.slps5-after{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  max-height:none !important;
}
@media(max-width:760px){
  .slps5-stage-wrap{
    min-height:0 !important;
    height:auto !important;
  }
  .slps5-scene{
    width:100% !important;
    max-width:100% !important;
  }
  .slps5-before,
  .slps5-after{
    max-height:none !important;
  }
}


/* v4.1.0 improvements */
.slps5-scene{display:block !important; margin:0 auto !important; flex:0 1 auto !important;}
.slps5-stage-wrap{min-height:0 !important; height:auto !important; padding:0 !important;}
.slps5-before,.slps5-after{max-width:100% !important;}
.slps5-run-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.slps5-mini-secondary{appearance:none;border:1px solid #c9d9ea;background:#f8fbff;color:#25508c;padding:9px 10px;border-radius:8px;font-weight:800;cursor:pointer;width:100%;font-size:12px}
.slps5-mini-secondary:hover{background:#eef5ff}
@media(max-width:760px){
  .slps5-stage-wrap{width:100% !important; max-width:100% !important; overflow:hidden !important;}
  .slps5-scene{width:100% !important; max-width:100% !important;}
  .slps5-before,.slps5-after{width:100% !important; max-width:100% !important;}
  .slps5-run-actions{grid-template-columns:1fr}
}


/* v4.1.1 cache-busting + mobile contain reinforcement */
.slps5-stage-wrap{width:100% !important;max-width:100% !important;overflow:hidden !important;box-sizing:border-box !important;}
.slps5-scene{width:100% !important;max-width:100% !important;box-sizing:border-box !important;}
.slps5-before,.slps5-after{width:100% !important;max-width:100% !important;}
@media(max-width:760px){.slps5-stage-wrap{min-height:0 !important;height:auto !important}.slps5-before,.slps5-after{max-height:none !important}}


/* v4.2 improvements */
.slps5-toolbar{flex-wrap:wrap;overflow:visible;position:sticky;top:0;z-index:12}
.slps5-present-exit{position:fixed;right:16px;top:16px;z-index:999999;appearance:none;border:0;background:#1976e9;color:#fff;padding:12px 16px;border-radius:999px;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.24);cursor:pointer}
.slps5-present-exit.is-hidden{display:none}
.slps5-app.is-customer-view{box-shadow:none;border-radius:0}
.slps5-app.is-customer-view .slps5-header,.slps5-app.is-customer-view .slps5-toolbar,.slps5-app.is-customer-view .slps5-statusbar,.slps5-app.is-customer-view .slps5-photo-strip-wrap,.slps5-app.is-customer-view .slps5-viewbar,.slps5-app.is-customer-view .slps5-runs-card,.slps5-app.is-customer-view .slps5-sidebar{display:none !important}
.slps5-app.is-customer-view .slps5-layout{display:block !important}
.slps5-app.is-customer-view .slps5-main{padding:0 !important}
.slps5-app.is-customer-view .slps5-stage-wrap{border:0 !important;border-radius:0 !important;min-height:72vh !important;height:auto !important}
.slps5-app.is-customer-view .slps5-stage-help,.slps5-app.is-customer-view .slps5-stage-label{display:none !important}
@media(max-width:760px){.slps5-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px}.slps5-toolbar .slps5-btn,.slps5-toolbar label.slps5-btn{width:100%;min-width:0;padding:10px 8px;font-size:11px;justify-content:center;text-align:center}.slps5-toolbar .slps5-compact{font-size:16px;padding:10px 0}.slps5-present-exit{right:10px;top:10px;padding:10px 14px;font-size:12px}}


/* v4.2.1 present-page before/after slider */
.slps5-present-hint{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:999999;background:rgba(10,16,25,.82);color:#fff;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:700;box-shadow:0 10px 24px rgba(0,0,0,.20)}
.slps5-present-hint.is-hidden{display:none}
.slps5-split{pointer-events:none;}
.slps5-app.is-split .slps5-split,
.slps5-app.is-customer-view .slps5-split{pointer-events:auto;touch-action:none;cursor:ew-resize;}
.slps5-app.is-customer-view .slps5-stage-label{display:block !important}
.slps5-app.is-customer-view .slps5-before-label{left:12px}
.slps5-app.is-customer-view .slps5-after-label{right:12px}
.slps5-app.is-customer-view .slps5-split-line{box-shadow:0 0 0 1px rgba(0,0,0,.08),0 0 24px rgba(255,255,255,.25)}
.slps5-app.is-customer-view .slps5-split-line span{width:52px;height:52px;font-size:22px;box-shadow:0 8px 24px rgba(0,0,0,.28)}
@media(max-width:760px){
  .slps5-present-hint{bottom:12px;font-size:11px;padding:9px 12px;max-width:calc(100vw - 24px);text-align:center}
}


/* v4.3 full-screen branded Present mode */
.slps5-present-controls{position:fixed;right:14px;top:14px;z-index:999999;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.slps5-present-controls.is-hidden{display:none}
.slps5-present-action{appearance:none;border:1px solid rgba(255,255,255,.26);background:rgba(13,23,38,.86);color:#fff;padding:10px 13px;border-radius:999px;font-size:12px;font-weight:800;cursor:pointer;backdrop-filter:blur(7px);box-shadow:0 8px 24px rgba(0,0,0,.20)}
.slps5-present-action:hover{background:rgba(25,46,76,.96)}
.slps5-present-save{background:rgba(23,118,233,.92);border-color:rgba(255,255,255,.22)}
.slps5-present-exit{position:static;right:auto;top:auto;background:rgba(126,38,45,.90)}
.slps5-present-brand{position:fixed;left:14px;top:14px;z-index:999998;display:flex;align-items:center;gap:10px;background:rgba(12,20,31,.82);color:#fff;border:1px solid rgba(255,255,255,.15);padding:10px 13px;border-radius:14px;backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.18);max-width:min(360px,calc(100vw - 28px))}
.slps5-present-brand.is-hidden{display:none}
.slps5-present-brand img{width:44px;height:44px;object-fit:contain;border-radius:8px;background:rgba(255,255,255,.96);padding:3px;box-sizing:border-box}
.slps5-present-brand div{display:flex;flex-direction:column;min-width:0}.slps5-present-brand strong{font-size:14px;line-height:1.15}.slps5-present-brand span{font-size:11px;color:rgba(255,255,255,.82);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.slps5-app.is-customer-view{background:#070c13;min-height:100vh;width:100%;max-width:none;margin:0!important}
.slps5-app:fullscreen,.slps5-app:-webkit-full-screen{width:100vw!important;height:100vh!important;overflow:auto!important;background:#070c13!important}
.slps5-app.is-customer-view .slps5-stage-wrap{display:flex!important;align-items:center!important;justify-content:center!important;min-height:100vh!important;background:#070c13!important}
.slps5-app.is-customer-view .slps5-scene{max-width:100vw!important;max-height:100vh!important}
@media(max-width:760px){
  .slps5-present-controls{right:8px;top:8px;gap:6px;max-width:56vw}
  .slps5-present-action{padding:9px 10px;font-size:10px}
  .slps5-present-brand{left:8px;top:8px;padding:8px 10px;max-width:40vw;border-radius:11px}
  .slps5-present-brand img{width:36px;height:36px}.slps5-present-brand strong{font-size:11px}.slps5-present-brand span{font-size:9px}
}


/* v4.3.1 global effect option */
.slps5-run-editor .slps5-check input.slps5-effect-all{accent-color:#1976e9;}


/* v4.4 project-wide style syncing + present darkness */
.slps5-style-all{margin-bottom:10px;width:100%}
.slps5-present-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.slps5-present-night-control{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(11,18,30,.92);color:#fff;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.22)}
.slps5-present-night-control input[type=range]{width:130px}
.slps5-present-night-out{min-width:40px;text-align:right;font-size:12px;color:#dbe7ff}
.slps5-app.is-customer-view .slps5-present-night-control{display:flex !important}
@media(max-width:760px){.slps5-present-controls{gap:8px;justify-content:center}.slps5-present-night-control{font-size:12px;padding:8px 12px}.slps5-present-night-control input[type=range]{width:100px}}


/* v4.5 preset library */
.slps5-favorite-box{margin-top:12px;padding:12px;border:1px solid #d6e0ee;border-radius:10px;background:#f8fbff}
.slps5-favorite-box label{margin-bottom:10px}
.slps5-favorite-select{width:100%;margin-top:6px}
.slps5-favorite-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.slps5-favorite-actions .slps5-mini-secondary,.slps5-favorite-actions .slps5-mini-danger{margin:0;font-size:11px;padding:9px 7px}
.slps5-present-lighting-presets{display:flex;gap:6px}
.slps5-present-lighting-presets button{appearance:none;border:1px solid rgba(255,255,255,.24);background:rgba(11,18,30,.92);color:#fff;padding:9px 12px;border-radius:999px;font-weight:800;cursor:pointer}
.slps5-present-lighting-presets button:hover{background:#1976e9;border-color:#1976e9}
@media(max-width:760px){.slps5-favorite-actions{grid-template-columns:1fr}.slps5-present-lighting-presets{width:100%;justify-content:center}.slps5-present-lighting-presets button{font-size:11px;padding:8px 10px}}


/* v4.6 preset readability + custom presets */
.slps5-preset,
.slps5-preset:hover,
.slps5-preset:focus,
.slps5-preset:focus-visible,
.slps5-preset:active,
.slps5-preset.is-active{
  color:#2b3b51 !important;
  -webkit-text-fill-color:#2b3b51 !important;
  text-shadow:none !important;
}
.slps5-preset:focus,
.slps5-preset:focus-visible,
.slps5-preset.is-active{
  background:#eaf3ff !important;
  border-color:#4f91e4 !important;
  outline:2px solid rgba(47,120,220,.18) !important;
  outline-offset:1px;
}
.slps5-custom-preset-box{margin:12px 0;padding:12px;border:1px solid #d6e0ee;border-radius:10px;background:#fbfdff}
.slps5-custom-preset-head{display:flex;flex-direction:column;gap:2px;margin-bottom:10px;color:#26384e}
.slps5-custom-preset-head strong{font-size:13px}
.slps5-custom-preset-head small{font-size:10px;color:#718096}
.slps5-custom-preset-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.slps5-custom-preset-empty{grid-column:1/-1;padding:9px;border:1px dashed #c4d1e1;border-radius:8px;color:#718096;font-size:10px;text-align:center;background:#fff}
.slps5-custom-preset-card{display:grid;grid-template-columns:1fr 34px;gap:5px;min-width:0}
.slps5-custom-preset-apply{appearance:none;border:1px solid #cfdbea;background:#fff;color:#26384e !important;-webkit-text-fill-color:#26384e !important;border-radius:8px;padding:8px 9px;cursor:pointer;font-weight:800;font-size:11px;min-width:0;text-align:left}
.slps5-custom-preset-apply:hover,.slps5-custom-preset-apply:focus,.slps5-custom-preset-apply:focus-visible,.slps5-custom-preset-apply.is-active{background:#eaf3ff !important;color:#26384e !important;-webkit-text-fill-color:#26384e !important;border-color:#4f91e4 !important;outline:none}
.slps5-custom-preset-name-display{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.slps5-custom-preset-dots{display:flex;gap:4px;margin-top:5px}
.slps5-custom-preset-dot{display:block;width:11px;height:11px;border-radius:50%;border:1px solid rgba(0,0,0,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.slps5-custom-preset-delete{appearance:none;border:1px solid #ecd3d6;background:#fff4f4;color:#9e3f47 !important;-webkit-text-fill-color:#9e3f47 !important;border-radius:8px;cursor:pointer;font-weight:900;font-size:15px}
.slps5-custom-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.slps5-custom-colors label{font-size:10px}
.slps5-custom-colors input[type=color]{width:100%;height:40px;border:0;background:transparent;padding:0;margin-top:5px}
.slps5-save-custom-preset{margin-top:2px}
@media(max-width:460px){.slps5-custom-preset-list{grid-template-columns:1fr}.slps5-custom-preset-card{grid-template-columns:1fr 40px}}


/* v4.6.1 wall wash controls */
.slps5-present-night-control input[type=range], .slps5-card input[type=range]{accent-color:#1976e9;}


/* v4.6.4 contrast + recommended-rendering fixes */
.slps5-mini-secondary,
.slps5-mini-secondary:hover,
.slps5-mini-secondary:focus,
.slps5-mini-secondary:focus-visible,
.slps5-mini-secondary:active,
.slps5-style-all,
.slps5-style-all:hover,
.slps5-style-all:focus,
.slps5-style-all:focus-visible,
.slps5-style-all:active,
.slps5-render-recommended,
.slps5-render-recommended:hover,
.slps5-render-recommended:focus,
.slps5-render-recommended:focus-visible,
.slps5-render-recommended:active{
  color:#25508c !important;
  -webkit-text-fill-color:#25508c !important;
  text-shadow:none !important;
  opacity:1 !important;
}
.slps5-mini-secondary:focus,
.slps5-mini-secondary:focus-visible,
.slps5-style-all:focus,
.slps5-style-all:focus-visible,
.slps5-render-recommended:focus,
.slps5-render-recommended:focus-visible{
  background:#eef5ff !important;
  border-color:#4f91e4 !important;
  outline:2px solid rgba(47,120,220,.15) !important;
  outline-offset:1px;
}
.slps5-render-recommended{margin:0 0 12px 0}


/* v4.6.6 comprehensive button contrast fixes */
.slps5-btn,
.slps5-btn:hover,
.slps5-btn:focus,
.slps5-btn:focus-visible,
.slps5-btn:active,
.slps5-btn.is-active,
.slps5-seg,
.slps5-seg:hover,
.slps5-seg:focus,
.slps5-seg:focus-visible,
.slps5-seg:active,
.slps5-seg.is-active,
.slps5-side-tab,
.slps5-side-tab:hover,
.slps5-side-tab:focus,
.slps5-side-tab:focus-visible,
.slps5-side-tab:active,
.slps5-side-tab.is-active,
.slps5-preset,
.slps5-preset:hover,
.slps5-preset:focus,
.slps5-preset:focus-visible,
.slps5-preset:active,
.slps5-preset.is-active,
.slps5-mini-secondary,
.slps5-mini-secondary:hover,
.slps5-mini-secondary:focus,
.slps5-mini-secondary:focus-visible,
.slps5-mini-secondary:active,
.slps5-mini-danger,
.slps5-mini-danger:hover,
.slps5-mini-danger:focus,
.slps5-mini-danger:focus-visible,
.slps5-mini-danger:active,
.slps5-present-action,
.slps5-present-action:hover,
.slps5-present-action:focus,
.slps5-present-action:focus-visible,
.slps5-present-action:active,
.slps5-present-lighting-presets button,
.slps5-present-lighting-presets button:hover,
.slps5-present-lighting-presets button:focus,
.slps5-present-lighting-presets button:focus-visible,
.slps5-present-lighting-presets button:active,
.slps5-custom-preset-apply,
.slps5-custom-preset-apply:hover,
.slps5-custom-preset-apply:focus,
.slps5-custom-preset-apply:focus-visible,
.slps5-custom-preset-apply:active,
.slps5-custom-preset-apply.is-active,
.slps5-custom-preset-delete,
.slps5-custom-preset-delete:hover,
.slps5-custom-preset-delete:focus,
.slps5-custom-preset-delete:focus-visible,
.slps5-custom-preset-delete:active,
.slps5-photo-card,
.slps5-photo-card:hover,
.slps5-photo-card:focus,
.slps5-photo-card:focus-visible,
.slps5-photo-card:active {
  text-shadow:none !important;
  opacity:1 !important;
}

/* default/light buttons */
.slps5-btn,
.slps5-btn:hover,
.slps5-btn:focus,
.slps5-btn:focus-visible,
.slps5-btn:active { 
  color:#28384d !important;
  -webkit-text-fill-color:#28384d !important;
}
.slps5-btn.is-active {
  color:#0f61c9 !important;
  -webkit-text-fill-color:#0f61c9 !important;
}
.slps5-smart,
.slps5-smart:hover,
.slps5-smart:focus,
.slps5-smart:focus-visible,
.slps5-smart:active,
.slps5-smart.is-active {
  color:#175fb6 !important;
  -webkit-text-fill-color:#175fb6 !important;
}
.slps5-gold,
.slps5-gold:hover,
.slps5-gold:focus,
.slps5-gold:focus-visible,
.slps5-gold:active,
.slps5-gold.is-active {
  color:#795615 !important;
  -webkit-text-fill-color:#795615 !important;
}
.slps5-primary,
.slps5-primary:hover,
.slps5-primary:focus,
.slps5-primary:focus-visible,
.slps5-primary:active,
.slps5-primary.is-active {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

/* segmented and side tabs */
.slps5-seg,
.slps5-seg:hover,
.slps5-seg:focus,
.slps5-seg:focus-visible,
.slps5-seg:active {
  color:#53647a !important;
  -webkit-text-fill-color:#53647a !important;
}
.slps5-seg.is-active {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
.slps5-side-tab,
.slps5-side-tab:hover,
.slps5-side-tab:focus,
.slps5-side-tab:focus-visible,
.slps5-side-tab:active {
  color:#52627a !important;
  -webkit-text-fill-color:#52627a !important;
}
.slps5-side-tab.is-active {
  color:#145dbb !important;
  -webkit-text-fill-color:#145dbb !important;
}

/* presets and secondary controls */
.slps5-preset,
.slps5-preset:hover,
.slps5-preset:focus,
.slps5-preset:focus-visible,
.slps5-preset:active,
.slps5-preset.is-active {
  color:#2b3b51 !important;
  -webkit-text-fill-color:#2b3b51 !important;
}
.slps5-mini-secondary,
.slps5-mini-secondary:hover,
.slps5-mini-secondary:focus,
.slps5-mini-secondary:focus-visible,
.slps5-mini-secondary:active,
.slps5-style-all,
.slps5-style-all:hover,
.slps5-style-all:focus,
.slps5-style-all:focus-visible,
.slps5-style-all:active,
.slps5-render-recommended,
.slps5-render-recommended:hover,
.slps5-render-recommended:focus,
.slps5-render-recommended:focus-visible,
.slps5-render-recommended:active {
  color:#25508c !important;
  -webkit-text-fill-color:#25508c !important;
}
.slps5-mini-danger,
.slps5-mini-danger:hover,
.slps5-mini-danger:focus,
.slps5-mini-danger:focus-visible,
.slps5-mini-danger:active,
.slps5-custom-preset-delete,
.slps5-custom-preset-delete:hover,
.slps5-custom-preset-delete:focus,
.slps5-custom-preset-delete:focus-visible,
.slps5-custom-preset-delete:active {
  color:#9e3f47 !important;
  -webkit-text-fill-color:#9e3f47 !important;
}
.slps5-custom-preset-apply,
.slps5-custom-preset-apply:hover,
.slps5-custom-preset-apply:focus,
.slps5-custom-preset-apply:focus-visible,
.slps5-custom-preset-apply:active,
.slps5-custom-preset-apply.is-active {
  color:#26384e !important;
  -webkit-text-fill-color:#26384e !important;
}

/* presentation buttons intentionally stay white on dark backgrounds */
.slps5-present-action,
.slps5-present-action:hover,
.slps5-present-action:focus,
.slps5-present-action:focus-visible,
.slps5-present-action:active,
.slps5-present-lighting-presets button,
.slps5-present-lighting-presets button:hover,
.slps5-present-lighting-presets button:focus,
.slps5-present-lighting-presets button:focus-visible,
.slps5-present-lighting-presets button:active {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

/* photo cards remain dark text */
.slps5-photo-card,
.slps5-photo-card:hover,
.slps5-photo-card:focus,
.slps5-photo-card:focus-visible,
.slps5-photo-card:active {
  color:#1d2a3d !important;
  -webkit-text-fill-color:#1d2a3d !important;
}
.slps5-photo-remove,
.slps5-photo-remove:hover,
.slps5-photo-remove:focus,
.slps5-photo-remove:focus-visible,
.slps5-photo-remove:active {
  color:#a4444c !important;
  -webkit-text-fill-color:#a4444c !important;
}

/* disabled states: readable but visibly disabled */
button[disabled],
button[disabled]:hover,
button[disabled]:focus,
button[disabled]:focus-visible,
.slps5-btn[disabled],
.slps5-btn[disabled]:hover,
.slps5-btn[disabled]:focus,
.slps5-btn[disabled]:focus-visible,
.slps5-mini-secondary[disabled],
.slps5-mini-secondary[disabled]:hover,
.slps5-mini-danger[disabled],
.slps5-mini-danger[disabled]:hover {
  opacity:.55 !important;
  cursor:not-allowed !important;
}
button[disabled]:not(.slps5-primary):not(.slps5-present-action):not(.slps5-gold),
.slps5-btn[disabled]:not(.slps5-primary):not(.slps5-present-action):not(.slps5-gold),
.slps5-mini-secondary[disabled],
.slps5-mini-danger[disabled] {
  color:#8a97a8 !important;
  -webkit-text-fill-color:#8a97a8 !important;
}


/* v4.7.0 touch points */
.slps5-smart[data-action="touch-points"].is-active{box-shadow:0 0 0 2px rgba(25,118,233,.14) inset;}


/* v4.7.1 edit quick bar */
.slps5-stage-quickbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 18px;padding:10px 12px;border:1px solid #dce6f4;border-radius:14px;background:#f7faff}
.slps5-stage-quickgroup{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.slps5-stage-quicklabel{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#52627a}
.slps5-stage-lines-toggle{margin:0;white-space:nowrap}
.slps5-stage-quickbar .slps5-check{font-weight:700;color:#24364d}
.slps5-edit-preview-segmented .slps5-seg{min-width:72px}
@media(max-width:760px){.slps5-stage-quickbar{padding:10px}.slps5-stage-quickgroup,.slps5-stage-lines-toggle{width:100%}.slps5-edit-preview-segmented{width:100%}.slps5-edit-preview-segmented .slps5-seg{flex:1}}
.slps5-app.is-customer-view .slps5-stage-quickbar{display:none}


/* v4.7.2 stacked desktop workspace */
@media(min-width:1101px){
  .slps5-app{max-width:1500px}
  .slps5-layout{grid-template-columns:1fr !important}
  .slps5-main{padding:16px 16px 10px}
  .slps5-sidebar{padding:14px 16px 18px;border-left:0 !important;border-top:1px solid var(--slps-border);background:#f7f9fc}
  .slps5-side-tabs{position:sticky;top:0;z-index:8;background:#f7f9fc;padding-top:2px;padding-bottom:8px;margin-bottom:12px}
  .slps5-side-pane.is-active{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
  .slps5-side-pane.is-active .slps5-card{margin-bottom:0;height:100%}
}
@media(min-width:1360px){
  .slps5-side-pane.is-active{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* v4.8.0 Precision Zoom */
.slps5-stage-quickactions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.slps5-precision-zoom{width:auto;margin:0}
.slps5-precision-zoom.is-active{background:#e7f1ff !important;border-color:#6fa8ef !important;color:#145dbb !important;-webkit-text-fill-color:#145dbb !important;box-shadow:0 0 0 2px rgba(25,118,233,.12) inset}
.slps5-app.is-precision-zoom .slps5-stage-wrap{box-shadow:inset 0 0 0 2px rgba(25,118,233,.28)}
.slps5-app.is-precision-zoom .slps5-after{touch-action:none}
@media(max-width:760px){.slps5-stage-quickactions{width:100%;display:grid;grid-template-columns:1fr}.slps5-precision-zoom{width:100%}}


/* v4.8.1 custom preset quick buttons */
.slps5-custom-preset-quick-wrap{margin:0 0 12px}
.slps5-custom-preset-quick-head{margin:0 0 8px}
.slps5-custom-preset-quick-grid{margin-bottom:0}
.slps5-custom-preset-quick{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:58px;text-align:left}
.slps5-custom-preset-quick .slps5-custom-preset-name-display{width:100%}
.slps5-custom-preset-quick .slps5-custom-preset-dots{margin-top:6px}


/* v4.9.0 flexible multi-color repeat patterns */
.slps5-repeat-count-wrap,.slps5-custom-repeat-count-wrap{margin-bottom:12px}
.slps5-repeat-count-wrap select,.slps5-custom-repeat-count-wrap select{width:100%;margin-top:6px;background:#fff;border:1px solid #ccd7e6;color:#233247;border-radius:8px;padding:9px 10px;box-sizing:border-box}
.slps5-dynamic-colors{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:8px}
.slps5-dynamic-colors label{min-width:0}
.slps5-dynamic-colors input[type=color]{width:100%;min-width:0;height:42px}
.slps5-custom-preset-dots{flex-wrap:wrap}
@media(max-width:760px){.slps5-dynamic-colors{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:460px){.slps5-dynamic-colors{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}


/* v4.9.2 customer email / preliminary estimate */
.slps5-email-customer{background:#175fbe !important;border-color:#175fbe !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
.slps5-email-customer:hover,.slps5-email-customer:focus,.slps5-email-customer:active{background:#114f9f !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
.slps5-email-modal-card{width:min(760px,100%)}
.slps5-email-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.slps5-email-modal-card label{display:block;font-size:12px;font-weight:800;color:#3b4d64;margin-bottom:12px}
.slps5-email-modal-card input,.slps5-email-modal-card textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #cdd9e8;border-radius:9px;background:#fff;color:#22324a;font:inherit}
.slps5-email-estimate-preview{display:grid;gap:6px;margin:12px 0;padding:12px;border:1px solid #d8e3f0;border-radius:10px;background:#f8fbff;font-size:12px;color:#40536c}
.slps5-email-estimate-preview strong{font-size:13px;color:#21344e}
.slps5-email-disclaimer-preview{display:flex;flex-direction:column;gap:5px;margin:12px 0;padding:12px;border:1px solid #e4b44d;border-radius:10px;background:#fff8e7;color:#624913;font-size:12px;line-height:1.5}
.slps5-email-disclaimer-preview strong{font-size:13px}
.slps5-email-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}
.slps5-email-actions .slps5-btn{width:auto}
.slps5-email-send-status{min-height:20px;margin-top:10px;font-size:12px;font-weight:800;color:#53657b}
.slps5-email-send-status.is-success{color:#1b6f32}.slps5-email-send-status.is-error{color:#a43d45}
.slps5-present-email{background:#1567c9 !important;border-color:#75a9e4 !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
@media(max-width:620px){.slps5-email-grid{grid-template-columns:1fr}.slps5-email-actions{display:grid;grid-template-columns:1fr}.slps5-email-actions .slps5-btn{width:100%}}

/* v5.0.13 manual customer text sharing */
.slps5-text-customer{border-color:#18a058!important}.slps5-present-text{background:#167b45!important;color:#fff!important}.slps5-text-modal input[readonly]{background:#f6f8fb;color:#25354b}.slps5-text-modal textarea{font-family:inherit;line-height:1.45}.slps5-text-modal .slps5-note{margin:10px 0 14px}

/* v5.0.25 rendering preset buttons */
.slps5-render-presets{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.slps5-render-customer{font-weight:800}

/* v5.0.25 direct line selection/delete */
.slps5-delete-selected{background:#fff2f2!important;border-color:#e6a6a6!important;color:#a32020!important;-webkit-text-fill-color:#a32020!important}.slps5-delete-selected:hover,.slps5-delete-selected:focus{background:#ffe4e4!important;border-color:#d77b7b!important;color:#8f1717!important;-webkit-text-fill-color:#8f1717!important}

/* v5.0.25 explicit animation direction */
.slps5-flow-control{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid #d7e0eb;border-radius:12px;background:#f8fbff;margin:8px 0}.slps5-flow-control>div{display:flex;flex-direction:column;gap:3px}.slps5-flow-control strong{font-size:13px;color:#17315b}.slps5-flow-direction-out{font-size:12px;color:#64748b;font-weight:700}

/* v5.0.25 precision-zoom editing */
.slps5-app.is-precision-zoom:not(.is-pan) .slps5-after{cursor:crosshair}
