.sgsv5-wrap, .sgsv5-wrap * { box-sizing: border-box; }
.sgsv5-wrap ul, .sgsv5-wrap ol { list-style: none; margin: 0; padding: 0; }
.sgsv5-wrap a { text-decoration: none; }
.sgsv5-wrap,.sgsv5-portal-body{
  --sg-accent:#f37021;
  --sg-accent-soft:rgba(243,112,33,.12);
  --sg-border:#d6dee8;
  --sg-bg:#f2f5f8;
  --sg-soft:#f8fafc;
  --sg-text:#132642;
  --sg-muted:#64748b;
  --sg-link:#1c3558;
  --sg-express:#63b7fb;
  --sg-express-soft:rgba(99,183,251,.18);
  --sg-professional:#ee8dd0;
  --sg-professional-soft:rgba(238,141,208,.18);
  --sg-enterprise:#efd113;
  --sg-enterprise-soft:rgba(239,209,19,.18);
  font-family:"Segoe UI","Open Sans",system-ui,-apple-system,sans-serif;
}
.sgsv5-wrap{max-width:1180px;margin:0 auto;padding:14px;background:transparent;color:var(--sg-text);border:0;border-radius:20px;box-sizing:border-box}
.sgsv5-wrap *,.sgsv5-portal-body *{box-sizing:border-box}
.sgsv5-topbar{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:end;gap:16px;margin:0 auto 16px}.sgsv5-topbar .sgsv5-engagement-block{justify-self:start;width:100%;max-width:260px}.sgsv5-topbar .sgsv5-seats-block{justify-self:center;text-align:center}.sgsv5-topbar .sgsv5-billing-toggle{justify-self:end}
.sgsv5-seats-block label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:700;color:var(--sg-link);margin-bottom:8px;text-align:center}
.sgsv5-stepper{display:flex;align-items:center;justify-content:center;gap:8px}
#sgsv5-seats{width:82px;height:44px;border:1px solid #cfd8e3;border-radius:14px;text-align:center;font-size:16px;font-weight:700;background:#fff;color:var(--sg-text);padding:0;appearance:textfield;-moz-appearance:textfield;touch-action:manipulation}
.sgsv5-step{width:36px;height:36px;border-radius:12px;border:1px solid #cfd8e3;background:#fff;color:var(--sg-accent);font-size:24px;line-height:1;cursor:pointer;touch-action:manipulation}
.sgsv5-billing-toggle{display:inline-grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #cfd8e3;border-radius:14px;overflow:hidden;min-width:220px}
.sgsv5-billing-toggle button{border:0;background:transparent;color:#4d5d75;font-weight:700;font-size:16px;padding:13px 20px;cursor:pointer}
.sgsv5-billing-toggle button.is-active{background:var(--sg-accent);color:#fff}
.sgsv5-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}
.sgsv5-card{position:relative;background:#fff;border:2px solid #cfdae6;border-radius:22px;overflow:hidden;cursor:pointer;transition:.18s ease all;display:flex;flex-direction:column;min-height:430px}
.sgsv5-card:hover{box-shadow:0 8px 18px rgba(17,24,39,.05);transform:translateY(-1px)}
.sgsv5-card.is-selected{border-color:var(--sg-accent);box-shadow:inset 0 0 0 2px var(--sg-accent),0 10px 24px rgba(17,24,39,.06)}
.sgsv5-card-head{position:relative;padding:24px 20px 18px;min-height:138px;display:flex;flex-direction:column;justify-content:flex-start;border-bottom:1px solid #e6edf3}
.tier-express .sgsv5-card-head{background:var(--sg-express-soft)}
.tier-professional .sgsv5-card-head{background:var(--sg-professional-soft)}
.tier-enterprise .sgsv5-card-head{background:var(--sg-enterprise-soft)}
.sgsv5-card h3{font-size:22px;line-height:1.2;text-align:center;color:var(--sg-link);margin:0 18px 10px;font-weight:800}
.sgsv5-card p{font-size:15px;line-height:1.45;text-align:center;color:#4f6484;min-height:52px;margin:0 18px}
.sgsv5-price{padding:18px 18px 16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;border-bottom:1px solid #e6edf3}
.sgsv5-price .hero-line{display:flex;align-items:flex-end;justify-content:center;gap:6px;margin-bottom:5px;flex-wrap:nowrap}
.sgsv5-price .value{display:block;font-size:58px;line-height:.95;font-weight:800;color:#0f172a;letter-spacing:-1px;white-space:nowrap}
.sgsv5-price .meta{font-size:16px;color:#5b6b84;padding-bottom:8px;white-space:nowrap}
.sgsv5-price .seat-line,.sgsv5-price .bill-line{font-size:14px;color:#516581;text-align:center;line-height:1.4}
.sgsv5-price .bill-line{font-weight:700;margin-top:4px}
.sgsv5-card ul{list-style:none;padding:10px 22px 0;margin:0;flex:1 1 auto}
.sgsv5-card li{padding:11px 0;border-bottom:1px solid #e7edf3;text-align:center;font-size:15px;color:#334155}
.sgsv5-select,.sgsv5-btn,.sgsv5-link-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;font-weight:800;text-decoration:none;cursor:pointer;transition:.15s ease all}
.sgsv5-select{width:calc(100% - 32px);margin:14px auto 16px;height:46px;background:var(--sg-accent);color:#fff;font-size:18px}
.sgsv5-select:hover,.sgsv5-btn.primary:hover,.sgsv5-link-btn:hover{filter:brightness(.97)}
.sgsv5-ribbon{position:absolute;right:0;top:0;width:86px;height:86px;clip-path:polygon(100% 0,28% 0,100% 72%);opacity:.98}
.sgsv5-ribbon.express{background:var(--sg-express)}
.sgsv5-ribbon.professional{background:var(--sg-professional)}
.sgsv5-ribbon.enterprise{background:var(--sg-enterprise)}
.sgsv5-ribbon-squares{position:absolute;top:12px;right:10px;display:flex;gap:3px;transform:rotate(45deg);transform-origin:center;align-items:center;justify-content:center}
.sgsv5-ribbon-square{width:8px;height:8px;border-radius:2px;border:2px solid rgba(255,255,255,.96);background:transparent;box-shadow:0 0 0 1px rgba(17,24,39,.02)}
.sgsv5-ribbon-square.filled{background:rgba(255,255,255,.98)}
.sgsv5-bottom{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.95fr);gap:14px;align-items:start}
.sgsv5-options-panel,.sgsv5-quote-panel{background:#fff;border:1px solid var(--sg-border);border-radius:18px;padding:16px;box-shadow:0 4px 12px rgba(17,24,39,.03)}
.sgsv5-row.compact{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.sgsv5-row.compact label{font-size:13px;font-weight:700;color:#4b5563}
.sgsv5-row.compact #sgsv5-plan-name{font-size:18px;font-weight:800;color:var(--sg-link)}
.sgsv5-options-grid{display:grid;grid-template-columns:1fr;gap:10px;align-items:start}
.sgsv5-option-group{border:1px solid var(--sg-border);border-radius:16px;padding:14px 16px;background:#fbfcfe}
.sgsv5-option-group h4,.sgsv5-quote-panel h4{margin:0 0 12px;font-size:18px;color:var(--sg-link)}
.sgsv5-summary-box{grid-column:auto}
.sgsv5-switch{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--sg-link)} .sgsv5-switch-wide{padding:8px 0}
.sgsv5-switch input{position:absolute;opacity:0;pointer-events:none}
.sgsv5-switch-ui{width:42px;height:24px;border-radius:999px;background:#d7dee6;position:relative;transition:.15s}
.sgsv5-switch-ui:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:.15s}
.sgsv5-switch input:checked + .sgsv5-switch-ui{background:var(--sg-accent)}
.sgsv5-switch input:checked + .sgsv5-switch-ui:after{transform:translateX(18px)}
.sgsv5-choice-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e7edf3}
.sgsv5-choice-row:last-child{border-bottom:0}
.sgsv5-choice-main{font-size:15px;color:#223a61;font-weight:700;display:flex;align-items:center;gap:6px;min-width:0;line-height:1.35}
.sgsv5-choice-meta{display:flex;align-items:center;gap:12px;justify-content:flex-end}
.sgsv5-choice-price{font-weight:800;color:#233b63;font-size:15px;white-space:nowrap}
.sgsv5-choice-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center}
.sgsv5-choice-toggle input{position:absolute;opacity:0;inset:0;cursor:pointer}
.sgsv5-choice-ui{display:block;width:22px;height:22px;border-radius:6px;border:2px solid #c3cfdb;background:#fff;position:relative;transition:.15s}
.sgsv5-choice-ui:after{content:"";position:absolute;left:5px;top:1px;width:6px;height:12px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:.15s}
.sgsv5-choice-toggle input:checked + .sgsv5-choice-ui{border-color:var(--sg-accent);background:var(--sg-accent)}
.sgsv5-choice-toggle input:checked + .sgsv5-choice-ui:after{transform:rotate(45deg) scale(1)}
.sgsv5-summary-box .sgsv5-line{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #e7edf3;color:#334155;font-size:14px;align-items:flex-start}
.sgsv5-summary-box .sgsv5-line strong{font-size:15px;color:#0f172a;text-align:right}
.sgsv5-summary-box .sgsv5-line.grand strong{font-size:28px;color:#0f172a}
.sgsv5-summary-box .sgsv5-line.grand span{font-weight:700;max-width:110px}
.sgsv5-summary-box .sgsv5-line.recurring{border-bottom:0}
.sgsv5-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sgsv5-form-grid.one{grid-template-columns:1fr}
.sgsv5-form-grid.accept-grid,.sgsv5-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.sgsv5-form-grid input{height:46px;border:1px solid #bfd1e3;border-radius:12px;padding:0 14px;font-size:16px;color:#14294f;background:#fff;width:100%;min-width:0;box-shadow:none;outline:none}
.sgsv5-form-grid select,.sgsv5-select-field{height:46px;border:1px solid #bfd1e3;border-radius:12px;padding:0 14px;font-size:16px;color:#14294f;background:#fff;width:100%;min-width:0;box-shadow:none;outline:none}
.sgsv5-quote-notes{width:100%;min-height:108px;border:1px solid #bfd1e3;border-radius:12px;padding:12px 14px;font-size:15px;line-height:1.5;color:#14294f;background:#fff;resize:vertical;box-shadow:none;outline:none}
.sgsv5-existing-upgrade-wrap{margin-top:10px;padding:12px;border:1px solid #d8dee6;border-radius:14px;background:#f8fafc}
.sgsv5-existing-upgrade-wrap .sgsv5-phone-help{margin-top:8px}
.sgsv5-upgrade-summary-line .sgsv5-dev-summary-primary{font-weight:800}
.sgsv5-buttons{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.sgsv5-btn,.sgsv5-buttons button{height:46px;padding:0 15px;font-size:16px}
.sgsv5-btn.primary,.sgsv5-buttons .primary{background:var(--sg-accent);color:#fff}
.sgsv5-btn.secondary,.sgsv5-buttons .secondary{background:#243c63;color:#fff}
.sgsv5-btn.tertiary{background:#fff;border:1px solid var(--sg-border);color:#1f365c}
.sgsv5-link-box{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.sgsv5-link-box .sgsv5-link-btn{height:40px;padding:0 14px;background:#243c63;color:#fff}
.sgsv5-link-box .sgsv5-link-btn-secondary{background:#fff;color:#243c63;border:1px solid #243c63}
#sgsv5-message{margin-top:12px;font-size:13px;font-weight:700;line-height:1.45}
.success{color:#138248}.error{color:#c1272d}.warning{color:#996200}.working{color:#243c63}
.sgsv5-tip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1px solid #c4d0db;background:#fff;color:#617794;font-size:12px;font-weight:700;cursor:help;vertical-align:middle;outline:none;flex:0 0 auto}
.sgsv5-tip[data-tip]:hover::after,.sgsv5-tip[data-tip]:focus::after{content:attr(data-tip);position:absolute;left:50%;top:calc(100% + 10px);transform:translateX(-50%);min-width:220px;max-width:280px;padding:10px 12px;border-radius:12px;background:#1f365c;color:#fff;font-size:12px;line-height:1.45;box-shadow:0 10px 24px rgba(15,23,42,.18);z-index:50;text-align:left;font-weight:600}
.sgsv5-tip[data-tip]:hover::before,.sgsv5-tip[data-tip]:focus::before{content:"";position:absolute;left:50%;top:calc(100% + 4px);transform:translateX(-50%);border:6px solid transparent;border-bottom-color:#1f365c;z-index:51}
.sgsv5-tip-inline{margin-left:4px}
.sgsv5-portal-body{margin:0;background:#eef3f8;font-family:"Segoe UI","Open Sans",Arial,sans-serif;color:#152449}
.sgsv5-banner{padding:14px 16px;border-radius:14px;margin-bottom:16px;font-weight:700}.sgsv5-banner.success{background:#eef8f1;color:#117a3f;border:1px solid #d4ebda}.sgsv5-banner.error{background:#fff1f2;color:#b42318;border:1px solid #fecdd3}.sgsv5-banner.warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.sgsv5-quote-page{max-width:920px;margin:0 auto;padding:14px 12px}
.sgsv5-quote-top{display:flex;align-items:center;justify-content:flex-start;padding:18px 24px;background:#fff;border-radius:20px;border:1px solid var(--sg-border);margin-bottom:18px}
.sgsv5-logo{max-height:62px;max-width:220px}
.sgsv5-logo-text{width:62px;height:62px;border-radius:18px;background:#172f55;color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:800}
.sgsv5-quote-main{margin-top:0}
.sgsv5-proposal-shell{background:#fff;border:1px solid var(--sg-border);border-radius:20px;padding:18px;box-shadow:0 8px 22px rgba(17,24,39,.05)}
.sgsv5-proposal-title.simple{display:flex;align-items:center;justify-content:center;gap:14px;text-align:center;margin-bottom:16px}
.sgsv5-proposal-title.simple h1{margin:0 0 6px;font-size:32px;line-height:1.05;color:#152449;letter-spacing:-.02em}
.sgsv5-proposal-title.simple p{margin:0;color:#526986;font-size:15px}
.sgsv5-v5-logo{max-height:74px;max-width:110px}
.sgsv5-v5-fallback{display:inline-flex;align-items:center;justify-content:center;width:78px;height:78px;border-radius:18px;border:2px solid var(--sg-accent);color:#132642;font-size:32px;font-weight:800}
.sgsv5-panel{background:#fcfdff;border:1px solid var(--sg-border);border-radius:16px;padding:14px 16px;margin-bottom:12px}
.sgsv5-panel h3{margin:0 0 10px;font-size:19px;color:#1f365c;letter-spacing:-.01em}
.sgsv5-kv,.sgsv5-pricing-table{width:100%;border-collapse:collapse}
.sgsv5-kv th,.sgsv5-kv td,.sgsv5-pricing-table td{padding:9px 0;border-bottom:1px solid #e5ebf1;text-align:left;font-size:14px;vertical-align:top}
.sgsv5-kv th{width:26%;font-weight:800;color:#27406a}
.sgsv5-pricing-table td:last-child{text-align:right;font-weight:700;padding-left:18px;white-space:nowrap;width:140px}
.sgsv5-pricing-table tr.total td{font-size:18px;font-weight:800;color:#172c4a}
.sgsv5-line-title{font-weight:700;color:#1f365c}
.sgsv5-line-desc{display:block;width:100%;margin-top:3px;font-size:12px;line-height:1.45;color:#6b7280;max-width:none;padding-right:10px;overflow-wrap:anywhere}
.sgsv5-kv-simple th{width:180px}
.sgsv5-terms-summary ul{margin:0;padding-left:18px}.sgsv5-terms-summary li{margin:0 0 8px;line-height:1.45}
.sgsv5-check{display:block;margin:12px 0;color:#294168;font-size:15px;line-height:1.45}.sgsv5-check input{margin-right:8px}
.sgsv5-accept-form .sgsv5-buttons{margin-top:16px}
.sgsv5-gate{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px}
.sgsv5-portal-card{background:#fff;border:1px solid var(--sg-border);border-radius:22px;padding:24px;max-width:640px;width:100%;text-align:center;box-shadow:0 12px 28px rgba(17,24,39,.06)}
.sgsv5-portal-card h1{font-size:28px;color:#1d355d;margin:18px 0 10px}.sgsv5-portal-card p{font-size:15px;color:#526986;line-height:1.55}
.sgsv5-gate-form{margin-top:18px}.sgsv5-gate-actions{justify-content:center}.sgsv5-btn.wide{width:100%;margin-top:12px;height:52px}
@media (max-width:1100px){.sgsv5-grid{grid-template-columns:1fr}.sgsv5-card{min-height:initial}.sgsv5-bottom{grid-template-columns:1fr}.sgsv5-options-grid{grid-template-columns:1fr}.sgsv5-form-grid.accept-grid,.sgsv5-form-grid.two{grid-template-columns:1fr}.sgsv5-summary-box{grid-column:auto}}
@media (max-width:760px){.sgsv5-topbar{grid-template-columns:1fr;justify-items:center;align-items:center}.sgsv5-topbar .sgsv5-engagement-block,.sgsv5-topbar .sgsv5-seats-block,.sgsv5-topbar .sgsv5-billing-toggle{justify-self:center;width:100%;max-width:320px}.sgsv5-billing-toggle{width:100%}.sgsv5-form-grid{grid-template-columns:1fr}.sgsv5-proposal-title.simple{flex-direction:column;text-align:center}.sgsv5-proposal-title.simple h1{font-size:34px}.sgsv5-price .value{font-size:48px}.sgsv5-price .hero-line{flex-wrap:wrap}.sgsv5-summary-box .sgsv5-line.grand strong{font-size:28px}.sgsv5-choice-row{grid-template-columns:1fr}.sgsv5-choice-meta{justify-content:space-between}.sgsv5-kv th{width:38%}.sgsv5-ribbon{width:74px;height:74px;clip-path:polygon(100% 0,32% 0,100% 68%)}.sgsv5-ribbon-squares{top:10px;right:8px}.sgsv5-ribbon-square{width:7px;height:7px;border-radius:2px}}


.sgsv5-plan-row,.sgsv5-regulated-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center}
.sgsv5-plan-row #sgsv5-plan-name{font-size:22px;font-weight:800;color:var(--sg-link)}
.sgsv5-options-stack .sgsv5-option-group{width:100%}
.sgsv5-options-stack .sgsv5-option-group + .sgsv5-option-group{margin-top:2px}
.sgsv5-quote-panel .sgsv5-buttons{margin-top:10px}
.sgsv5-quote-panel .sgsv5-form-grid{gap:8px}
.sgsv5-quote-panel{padding:14px}
.sgsv5-quote-panel h4{margin-bottom:10px}
.sgsv5-quote-panel .sgsv5-link-box{margin-top:8px}
.sgsv5-regulated-wrap{width:100%}
.sgsv5-regulated-row .sgsv5-switch{justify-content:flex-start}
.sgsv5-choice-row:hover{background:#fff}
.sgsv5-btn.secondary{background:#243c63}
.sgsv5-select{position:relative;z-index:2}
.sgsv5-card::after{content:'';position:absolute;inset:0;border-radius:20px;pointer-events:none;box-shadow:none;transition:.18s ease all}
.sgsv5-card.is-selected::after{box-shadow:inset 0 0 0 2px var(--sg-accent)}
.sgsv5-card.is-selected .sgsv5-select{background:#de6416}
.sgsv5-recovery-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:10px}
.sgsv5-portal-card-tight .sgsv5-form-grid input{font-size:16px}
.sgsv5-form-grid input:focus{border-color:var(--sg-accent);box-shadow:0 0 0 3px var(--sg-accent-soft)}
.sgsv5-proposal-brand{display:flex;justify-content:flex-start;align-items:center;margin-bottom:10px}
.sgsv5-proposal-title.centered{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;margin-bottom:14px}
.sgsv5-v5-logo-large{max-width:220px;max-height:150px}
.sgsv5-v5-fallback-large{width:140px;height:110px;border:0;font-size:56px;border-radius:0}
.sgsv5-meta-panel .sgsv5-kv th{width:170px}
.sgsv5-commercial-table .sgsv5-note-inline{max-width:420px;margin-left:auto;text-align:right}
.sgsv5-form-grid-accept{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sgsv5-form-grid-accept input[name="acceptance_address1"],
.sgsv5-form-grid-accept input[name="acceptance_address2"]{grid-column:1 / -1}
.sgsv5-form-grid-accept input[name="acceptance_country"]{grid-column:2}
.sgsv5-kv-simple td{word-break:break-word}
.sgsv5-quote-page-tight .sgsv5-panel:last-child{margin-bottom:0}
@media (max-width:1100px){.sgsv5-bottom{grid-template-columns:1fr}.sgsv5-quote-panel{order:2}.sgsv5-options-panel{order:1}}
@media (max-width:760px){
  .sgsv5-wrap{padding:12px;border-radius:18px}
  .sgsv5-grid{gap:12px}
  .sgsv5-card{min-height:auto}
  .sgsv5-card-head{padding:20px 18px 16px;min-height:124px}
  .sgsv5-card h3{font-size:20px}
  .sgsv5-card p{font-size:14px;min-height:0}
  .sgsv5-price .value{font-size:44px}
  .sgsv5-price .meta{font-size:15px}
  .sgsv5-topbar{gap:12px}
  .sgsv5-stepper{gap:6px}
  #sgsv5-seats{width:74px;height:42px;font-size:16px}
  .sgsv5-billing-toggle button{font-size:15px;padding:12px 16px}
  .sgsv5-quote-page{padding:12px}
  .sgsv5-proposal-shell{padding:16px}
  .sgsv5-proposal-title.simple h1{font-size:26px}
  .sgsv5-v5-logo-large{max-width:132px;max-height:86px}
  .sgsv5-form-grid-accept{grid-template-columns:1fr}
  .sgsv5-form-grid-accept input[name="acceptance_address1"], .sgsv5-form-grid-accept input[name="acceptance_address2"], .sgsv5-form-grid-accept input[name="acceptance_country"]{grid-column:auto}
  .sgsv5-btn.wide{height:48px}
  .sgsv5-recovery-row{flex-direction:column}
  .sgsv5-recovery-row .sgsv5-btn{width:100%}
  .sgsv5-portal-card{padding:18px}
}

.sgsv5-commercial-table{table-layout:fixed;}
.sgsv5-commercial-table td:first-child{width:auto;padding-right:14px;}
.sgsv5-commercial-table .sgsv5-line-title{display:block;margin-bottom:2px;}
.sgsv5-commercial-table tr.section td{padding-top:12px;font-size:12px;font-weight:800;color:#6b7280;text-transform:uppercase;letter-spacing:.08em;background:transparent;}
.sgsv5-commercial-table tr.note-row td{font-size:12px;line-height:1.5;color:#526986;padding-top:10px;white-space:normal;}
.sgsv5-commercial-table tr.note-row strong{color:#1f365c;}
.sgsv5-meta-panel .sgsv5-kv td,.sgsv5-meta-panel .sgsv5-kv th{padding-top:8px;padding-bottom:8px;}
.sgsv5-terms-summary ul{margin:0;padding-left:18px;}
.sgsv5-terms-summary li{margin:0 0 6px;line-height:1.4;}
.sgsv5-form-grid-accept{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.sgsv5-form-grid-accept input[name="acceptance_address1"],.sgsv5-form-grid-accept input[name="acceptance_address2"]{grid-column:span 3;}
.sgsv5-form-grid-accept input[name="acceptance_city"],.sgsv5-form-grid-accept input[name="acceptance_state"],.sgsv5-form-grid-accept input[name="acceptance_postal"]{grid-column:span 1;}
.sgsv5-form-grid-accept input[name="acceptance_country"],.sgsv5-form-grid-accept input[name="acceptance_phone"]{grid-column:span 1;}
.sgsv5-accept-form .sgsv5-check{margin:8px 0;font-size:14px;}
@media (max-width:760px){.sgsv5-quote-page{padding:10px}.sgsv5-proposal-shell{padding:14px}.sgsv5-panel{padding:12px}.sgsv5-v5-logo-large{max-width:170px;max-height:110px}.sgsv5-form-grid-accept{grid-template-columns:1fr!important}.sgsv5-form-grid-accept input[name="acceptance_address1"],.sgsv5-form-grid-accept input[name="acceptance_address2"]{grid-column:auto}.sgsv5-commercial-table td:last-child{width:auto}.sgsv5-commercial-table tr.note-row td{padding-right:0}}


/* v1.8.2 quote-page refinements */
.sgsv5-quote-page{max-width:940px;padding:10px 10px 14px}
.sgsv5-quote-page-tight .sgsv5-proposal-shell{padding:14px 14px 12px}
.sgsv5-quote-page-tight .sgsv5-panel{padding:12px 14px;margin-bottom:10px;border-radius:14px}
.sgsv5-proposal-brand.proposal-right{justify-content:flex-end;margin-bottom:2px}
.sgsv5-proposal-brand.proposal-right .sgsv5-logo{max-height:52px;max-width:200px}
.sgsv5-proposal-title-tight{gap:2px;margin-bottom:10px}
.sgsv5-proposal-title-tight h1{margin:0;font-size:28px;line-height:1.05;letter-spacing:-.02em}
.sgsv5-proposal-title-tight p{margin:0;font-size:12px;line-height:1.35;color:#60728b}
.sgsv5-proposal-title-tight .sgsv5-v5-logo-large{max-height:110px;max-width:180px}
.sgsv5-meta-panel .sgsv5-kv th,.sgsv5-meta-panel .sgsv5-kv td{padding-top:7px;padding-bottom:7px;font-size:13px}
.sgsv5-meta-panel .sgsv5-kv th{width:150px}
.sgsv5-commercial-panel h3,.sgsv5-meta-panel h3,.sgsv5-panel h3{font-size:17px;margin-bottom:8px}
.sgsv5-commercial-table{table-layout:fixed}
.sgsv5-commercial-table .sgsv5-col-main{width:74%}
.sgsv5-commercial-table .sgsv5-col-amount{width:26%}
.sgsv5-commercial-table td{font-size:13px;padding-top:8px;padding-bottom:8px;white-space:normal}
.sgsv5-commercial-table td:last-child{text-align:right;font-weight:700;padding-left:16px;white-space:nowrap;width:auto}
.sgsv5-commercial-table .sgsv5-line-title{display:block;margin-bottom:2px;font-size:13px;line-height:1.3}
.sgsv5-commercial-table .sgsv5-line-desc{display:block;width:100%;max-width:none;padding-right:0;margin-top:2px;font-size:11px;line-height:1.45;color:#617186;overflow-wrap:break-word;word-break:normal}
.sgsv5-commercial-table tr.total td{font-size:15px}
.sgsv5-commercial-table tr.note-row td{padding-top:10px;padding-left:0!important;text-align:left!important;font-weight:400!important;white-space:normal!important;width:auto!important}
.sgsv5-note-wrap{display:block;color:#586a82;font-size:11px;line-height:1.45}
.sgsv5-note-wrap strong{display:block;margin-bottom:2px;color:#1f365c;font-size:11px;text-transform:none;letter-spacing:0}
.sgsv5-terms-summary{font-size:13px;line-height:1.45;color:#243b63}
.sgsv5-terms-summary ul{margin:0;padding-left:18px}
.sgsv5-terms-summary li{margin:0 0 5px}
.sgsv5-form-grid-accept{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sgsv5-form-grid-accept input{height:42px;font-size:15px}
.sgsv5-form-grid-accept input[name="acceptance_name"],
.sgsv5-form-grid-accept input[name="acceptance_title"],
.sgsv5-form-grid-accept input[name="acceptance_company"],
.sgsv5-form-grid-accept input[name="acceptance_email"]{grid-column:span 1}
.sgsv5-form-grid-accept input[name="acceptance_phone"]{grid-column:span 1}
.sgsv5-form-grid-accept input[name="acceptance_address1"]{grid-column:span 3}
.sgsv5-form-grid-accept input[name="acceptance_address2"]{grid-column:span 2}
.sgsv5-form-grid-accept input[name="acceptance_city"],
.sgsv5-form-grid-accept input[name="acceptance_state"],
.sgsv5-form-grid-accept input[name="acceptance_postal"],
.sgsv5-form-grid-accept input[name="acceptance_country"]{grid-column:span 1}
.sgsv5-accept-form .sgsv5-check{margin:6px 0;font-size:13px;line-height:1.4}
.sgsv5-accept-form .sgsv5-buttons{margin-top:12px}
.sgsv5-accept-form .sgsv5-btn.primary{min-width:180px}
@media (max-width:980px){
  .sgsv5-form-grid-accept{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sgsv5-form-grid-accept input[name="acceptance_address1"],
  .sgsv5-form-grid-accept input[name="acceptance_address2"]{grid-column:1 / -1}
}
@media (max-width:760px){
  .sgsv5-quote-page{padding:8px}
  .sgsv5-quote-page-tight .sgsv5-proposal-shell{padding:12px}
  .sgsv5-proposal-brand.proposal-right{justify-content:center}
  .sgsv5-proposal-title-tight .sgsv5-v5-logo-large{max-height:92px;max-width:140px}
  .sgsv5-proposal-title-tight h1{font-size:22px}
  .sgsv5-proposal-title-tight p{font-size:11px}
  .sgsv5-meta-panel .sgsv5-kv th{width:38%}
  .sgsv5-commercial-table .sgsv5-col-main,.sgsv5-commercial-table .sgsv5-col-amount{width:auto}
  .sgsv5-commercial-table td,.sgsv5-commercial-table td:last-child{font-size:12px}
  .sgsv5-form-grid-accept{grid-template-columns:1fr!important}
  .sgsv5-form-grid-accept input[name="acceptance_address1"],
  .sgsv5-form-grid-accept input[name="acceptance_address2"],
  .sgsv5-form-grid-accept input[name="acceptance_phone"],
  .sgsv5-form-grid-accept input[name="acceptance_city"],
  .sgsv5-form-grid-accept input[name="acceptance_state"],
  .sgsv5-form-grid-accept input[name="acceptance_postal"],
  .sgsv5-form-grid-accept input[name="acceptance_country"]{grid-column:auto}
}
@media print{
  .sgsv5-portal-body{background:#fff}
  .sgsv5-quote-page{max-width:none;padding:0}
  .sgsv5-proposal-shell{box-shadow:none;border:0;padding:0}
  .sgsv5-panel{padding:10px 0;border:0;border-radius:0;background:#fff}
  .sgsv5-proposal-brand.proposal-right{justify-content:flex-end}
  .sgsv5-proposal-brand.proposal-right .sgsv5-logo{max-height:42px}
  .sgsv5-proposal-title-tight h1{font-size:24px}
  .sgsv5-proposal-title-tight p,.sgsv5-commercial-table td,.sgsv5-kv th,.sgsv5-kv td,.sgsv5-terms-summary,.sgsv5-check{font-size:11px}
  .sgsv5-commercial-table tr.total td{font-size:13px}
  .sgsv5-form-grid-accept input{height:34px;font-size:12px;padding:0 10px}
  .sgsv5-btn,.sgsv5-buttons,.sgsv5-banner{display:none!important}
}

/* v1.9.0 engagement + compact refinements */
.sgsv5-engagement-toggle{display:flex;gap:10px;margin:0 0 12px;flex-wrap:wrap}
.sgsv5-engagement-toggle button{border:1px solid #c9d3e0;background:#fff;color:#1f365c;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer}
.sgsv5-engagement-toggle button.is-active{background:var(--sg-accent-soft);border-color:var(--sg-accent);color:#12284b}
.sgsv5-gap-card{background:#fff;border:1px solid #d8e1ec;border-radius:16px;padding:14px 16px;margin-bottom:12px;box-shadow:0 8px 18px rgba(17,24,39,.04)}
.sgsv5-gap-card h4{margin:0 0 6px;font-size:18px;color:#1f365c}
.sgsv5-gap-card p{margin:0 0 10px;color:#60728b;font-size:14px;line-height:1.45}
.sgsv5-options-stack .sgsv5-option-group{padding:12px 14px}
.sgsv5-choice-row{padding:10px 0}
.sgsv5-choice-row strong{font-size:15px}
.sgsv5-choice-price{font-size:15px}
.sgsv5-line{font-size:15px}
.sgsv5-line strong{font-size:15px}
.sgsv5-line.grand strong{font-size:26px}
#sgsv5-google-fill iframe{max-width:100%}
@media (max-width:760px){
  .sgsv5-engagement-toggle{gap:8px}
  .sgsv5-engagement-toggle button{flex:1 1 100%;text-align:center}
}


.sgsv5-secondary-services{margin:8px 0 14px;padding:10px 12px;border:1px solid var(--sg-border);border-radius:16px;background:#f8fafc}
.sgsv5-secondary-services-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;flex-wrap:wrap}
.sgsv5-secondary-services-head strong{font-size:14px;color:var(--sg-link)}
.sgsv5-secondary-services-head span{font-size:12px;color:var(--sg-muted)}
.sgsv5-engagement-toggle{display:flex;gap:8px;flex-wrap:wrap}
.sgsv5-engagement-toggle button{border:1px solid #cfd8e3;background:#fff;color:#334155;border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer}
.sgsv5-engagement-toggle button.is-active{background:var(--sg-accent);color:#fff;border-color:var(--sg-accent)}
.sgsv5-gap-card{background:#fff;border:1px solid var(--sg-border);border-radius:14px;padding:14px;margin-top:10px}
.sgsv5-gap-card p{margin:0 0 10px;color:var(--sg-muted);font-size:13px}
.sgsv5-gap-card label{display:block;font-size:13px;font-weight:700;color:var(--sg-link);margin-bottom:6px}
.sgsv5-gap-card select,.sgsv5-gap-card input{height:44px;border:1px solid #bfd1e3;border-radius:12px;padding:0 12px;font-size:15px;width:100%}
@media (max-width:760px){.sgsv5-secondary-services-head{flex-direction:column;align-items:flex-start}.sgsv5-engagement-toggle{width:100%}.sgsv5-engagement-toggle button{flex:1 1 auto}}

/* v2.0.1 polish */
.sgsv5-ribbon{width:72px;height:72px;clip-path:polygon(100% 0,38% 0,100% 62%)}
.sgsv5-ribbon-squares{top:11px;right:8px;gap:2px}
.sgsv5-ribbon-square{width:7px;height:7px;border-radius:2px;border-width:2px}
.sgsv5-secondary-services{background:#fbfcfd;border-style:dashed;border-color:#d8e1ec}
.sgsv5-secondary-services-head strong{font-size:13px}
.sgsv5-secondary-services-head span{font-size:11px}
#sgsv5-google-fill{max-width:320px;overflow:hidden}
#sgsv5-google-fill > div{max-width:100% !important}
.sgsv5-quote-panel .sgsv5-form-grid input{font-size:15px}
.sgsv5-choice-row{padding:8px 0}
@media (max-width:760px){
  .sgsv5-ribbon{width:58px;height:58px;clip-path:polygon(100% 0,42% 0,100% 58%)}
  .sgsv5-ribbon-squares{top:9px;right:6px}
}

.sgsv5-engagement-block{display:flex;flex-direction:column;gap:8px}
.sgsv5-engagement-block label{font-size:12px;font-weight:700;color:var(--sg-link);text-transform:uppercase;letter-spacing:.04em}
.sgsv5-engagement-select{width:100%;border:1px solid #cfd8e3;background:#fff;color:#334155;border-radius:12px;padding:11px 12px;font-weight:700;height:46px}
.sgsv5-gap-block{margin:0 0 16px}
.sgsv5-gap-card{background:#fff;border:1px solid var(--sg-border);border-radius:14px;padding:14px}
.sgsv5-gap-card p{margin:0 0 10px;color:var(--sg-muted);font-size:13px}
.sgsv5-gap-card label{display:block;font-size:13px;font-weight:700;color:var(--sg-link);margin-bottom:6px}
.sgsv5-buttons button.primary{color:#fff!important}
@media (max-width: 860px){.sgsv5-topbar{grid-template-columns:1fr}.sgsv5-engagement-block{order:2}.sgsv5-billing-toggle{order:3;justify-self:start}}

/* v2.1.0 layout tidy-ups */
.sgsv5-topbar-fixed{align-items:end;grid-template-columns:minmax(180px,240px) minmax(160px,200px) minmax(220px,260px)}
.sgsv5-topbar-fixed{display:grid}
.sgsv5-engagement-block label,.sgsv5-seats-block label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:700;color:var(--sg-link);margin-bottom:8px;text-align:center}
.sgsv5-engagement-select{height:44px;border:1px solid #cfd8e3;border-radius:14px;padding:0 14px;background:#fff;font-size:15px;font-weight:700;color:var(--sg-text);width:100%}
.sgsv5-gap-card{background:#fff;border:1px solid var(--sg-border);border-radius:18px;padding:14px 16px;margin-bottom:14px}
.sgsv5-gap-card h4{margin:0 0 6px;font-size:18px;color:var(--sg-link)}
.sgsv5-gap-card p{margin:0 0 10px;color:#516581;font-size:13px;line-height:1.45}
.sgsv5-gap-rate-note{font-size:13px;color:#223a61;margin-bottom:10px}
.sgsv5-gap-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.sgsv5-gap-row label{display:block;font-size:12px;font-weight:700;color:#4b5563;margin-bottom:5px}
.sgsv5-gap-row input{width:100%;height:42px;border:1px solid #bfd1e3;border-radius:12px;padding:0 12px;font-size:14px}
.sgsv5-bottom.single{display:grid;grid-template-columns:1fr;gap:14px}
.sgsv5-bottom.single .sgsv5-quote-panel{order:1}
.sgsv5-bottom.single .sgsv5-options-panel{order:2}
.sgsv5-quote-panel .sgsv5-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sgsv5-quote-panel input{font-size:14px;height:44px}
.sgsv5-quote-panel{max-width:none}
.sgsv5-options-panel .sgsv5-option-group{padding:12px 14px}
.sgsv5-summary-box .sgsv5-line span:first-child{display:inline-flex;align-items:center;gap:6px;min-width:0}
.sgsv5-summary-box .sgsv5-line{align-items:center}
.sgsv5-summary-box .sgsv5-line.grand{align-items:flex-end}
.sgsv5-choice-row{padding:10px 0}
.sgsv5-choice-main{font-size:14px}
.sgsv5-choice-price{font-size:14px}
.sgsv5-choice-ui{width:20px;height:20px}
.sgsv5-choice-ui:after{left:4px;top:0;width:6px;height:11px}
.sgsv5-line-desc{display:block;width:100%;max-width:none}
.sgsv5-proposal-shell{max-width:100%;margin:0 auto}
.sgsv5-proposal-title-tight h1{font-size:22px}
.sgsv5-proposal-title-tight .sgsv5-v5-logo-large{max-height:92px;max-width:160px}
.sgsv5-proposal-brand.proposal-right{display:none}
.sgsv5-commercial-table .sgsv5-col-main{width:82%}
.sgsv5-commercial-table .sgsv5-col-amount{width:18%}
.sgsv5-commercial-table td{font-size:12px}
.sgsv5-commercial-table td:last-child{font-size:13px}
.sgsv5-commercial-table .sgsv5-line-title{font-size:12px}
.sgsv5-commercial-table .sgsv5-line-desc{font-size:11px;line-height:1.35;max-width:none}
.sgsv5-panel{width:100%}
.sgsv5-terms-summary{font-size:12px}
.sgsv5-form-grid-accept{gap:6px}
.sgsv5-form-grid-accept input{height:40px;font-size:14px}
.sgsv5-accept-form .sgsv5-check{font-size:12px}
@media (max-width:980px){
  .sgsv5-gap-list{grid-template-columns:1fr}
}
@media (max-width:760px){
  .sgsv5-wrap{max-width:100%;padding:10px}
  .sgsv5-topbar-fixed{grid-template-columns:1fr;align-items:stretch}
  .sgsv5-seats-block{visibility:visible!important}
  .sgsv5-quote-panel .sgsv5-quote-grid{grid-template-columns:1fr}
  .sgsv5-gap-list{grid-template-columns:1fr}
  .sgsv5-proposal-shell{padding:12px}
  .sgsv5-proposal-title-tight h1{font-size:18px}
  .sgsv5-proposal-title-tight .sgsv5-v5-logo-large{max-height:74px;max-width:124px}
  .sgsv5-commercial-table,.sgsv5-commercial-table tbody,.sgsv5-commercial-table tr,.sgsv5-commercial-table td{display:block;width:100%!important}
  .sgsv5-commercial-table tr{padding:6px 0;border-bottom:1px solid #e7edf3}
  .sgsv5-commercial-table tr.section td{padding-top:8px}
  .sgsv5-commercial-table td{padding:4px 0;text-align:left!important;white-space:normal!important}
  .sgsv5-commercial-table td:last-child{padding-top:0;font-size:14px}
}

/* v2.1.1 refinements */
.sgsv5-gap-fields{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
.sgsv5-gap-field label{display:block;margin:0 0 6px;font-size:13px;font-weight:700;color:#1f365c}
.sgsv5-gap-field select,.sgsv5-gap-field input{width:100%;min-width:0}
.sgsv5-gap-systems,.sgsv5-gap-connections{min-height:168px;max-height:168px;overflow-y:auto;padding:8px;border:1px solid var(--sg-border);border-radius:12px;background:#fff;font-size:14px}
.sgsv5-gap-help{margin:6px 0 0;color:#66758a;font-size:12px;line-height:1.45}
.sgsv5-gap-connections-wrap{display:none}
.sgsv5-bottom.single{display:flex;flex-direction:column;gap:14px}
.sgsv5-bottom.single .sgsv5-quote-panel,.sgsv5-bottom.single .sgsv5-options-panel{width:100%}
.sgsv5-quote-panel .sgsv5-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sgsv5-quote-panel input{width:100%;font-size:15px;height:46px}
.sgsv5-quote-panel #sgsv5-message{margin:2px 0 10px;min-height:22px}
.sgsv5-quote-panel .sgsv5-buttons.sgsv5-quote-actions{margin-top:0}
.sgsv5-quote-panel .sgsv5-buttons.sgsv5-quote-actions .primary{width:100%;justify-content:center;border-radius:12px;box-shadow:none}
.sgsv5-link-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.sgsv5-link-box .sgsv5-link-btn,.sgsv5-link-box .sgsv5-link-btn-secondary{width:100%;height:42px;padding:0 12px;border-radius:12px;font-size:14px;font-weight:700;text-align:center;justify-content:center;white-space:nowrap}
.sgsv5-link-box .sgsv5-link-btn{background:#243c63;color:#fff}
.sgsv5-link-box .sgsv5-link-btn-secondary{background:#fff;color:#243c63;border:1px solid #b9c7d6}
.sgsv5-summary-box .sgsv5-line>span{display:inline-flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.sgsv5-summary-box .sgsv5-line .sgsv5-tip{margin:0}
.sgsv5-summary-box .sgsv5-line strong{white-space:nowrap}
.sgsv5-choice-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}
.sgsv5-choice-main{display:block;min-width:0}
.sgsv5-choice-main strong{display:inline-flex;align-items:center;gap:6px;min-width:0;line-height:1.35}
.sgsv5-choice-meta{display:flex;align-items:center;gap:12px;justify-content:flex-end;white-space:nowrap}
.sgsv5-option-group{padding:14px}
.sgsv5-quote-page-tight .sgsv5-panel,.sgsv5-panel.sgsv5-commercial-panel,.sgsv5-panel.sgsv5-meta-panel{padding:12px 14px}
.sgsv5-commercial-table td{vertical-align:top}
.sgsv5-commercial-table .sgsv5-line-title{font-size:13px;font-weight:700}
.sgsv5-commercial-table .sgsv5-line-desc{display:block;width:100%;max-width:none;padding-right:0;line-height:1.45;overflow-wrap:break-word;word-break:normal}
.sgsv5-commercial-table .sgsv5-note-wrap{display:block}
.sgsv5-commercial-table .sgsv5-note-wrap span{display:block;margin-top:2px}
.sgsv5-proposal-shell{max-width:920px}
.sgsv5-proposal-title-tight .sgsv5-v5-logo-large{max-height:128px;max-width:220px}
.sgsv5-proposal-title-tight h1{font-size:24px}
.sgsv5-proposal-brand.proposal-right .sgsv5-logo{max-height:44px;max-width:180px}
.sgsv5-form-grid-accept{grid-template-columns:1fr!important;gap:8px}
.sgsv5-form-grid-accept input{height:42px;font-size:14px}
.sgsv5-gap-card h4,.sgsv5-option-group h4,.sgsv5-quote-panel h4{font-size:17px}
@media (max-width:760px){
  .sgsv5-wrap{padding:0 8px}
  .sgsv5-topbar-fixed{gap:10px}
  .sgsv5-quote-panel,.sgsv5-options-panel,.sgsv5-gap-card{padding:12px}
  .sgsv5-link-box{grid-template-columns:1fr}
  .sgsv5-commercial-table td,.sgsv5-commercial-table td:last-child{font-size:12px!important}
  .sgsv5-commercial-table .sgsv5-line-title{font-size:12px}
  .sgsv5-commercial-table .sgsv5-line-desc{font-size:11px;line-height:1.35}
  .sgsv5-proposal-shell{max-width:100%;padding:10px}
  .sgsv5-panel{padding:10px}
  .sgsv5-proposal-title-tight .sgsv5-v5-logo-large{max-height:96px;max-width:160px}
}

@media (max-width:760px){.sgsv5-quote-panel .sgsv5-quote-grid{grid-template-columns:1fr!important}}


/* v2.1.3 gap flow */
.sgsv5-gap-entries{display:grid;gap:12px;margin-top:12px}
.sgsv5-gap-entry{border:1px solid var(--sg-border);border-radius:14px;background:#fbfcfe;padding:12px 14px}
.sgsv5-gap-entry-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.sgsv5-gap-entry-head strong{font-size:14px;color:#1f365c}
.sgsv5-gap-entry-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}
.sgsv5-gap-remove,.sgsv5-btn-link{appearance:none;border:0;background:#eef4fb;color:#1f365c;font-weight:700;border-radius:10px;padding:8px 12px;cursor:pointer}
.sgsv5-gap-remove:hover,.sgsv5-btn-link:hover{background:#e5edf7}
.sgsv5-gap-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}
.sgsv5-gap-entry select,.sgsv5-gap-entry input{height:42px;border:1px solid #bfd1e3;border-radius:12px;padding:0 12px;font-size:14px;width:100%}
.sgsv5-gap-entry .sgsv5-gap-system-other{display:block}
.sgsv5-gap-field .sgsv5-gap-connection-select{height:42px;padding-right:30px}
.sgsv5-summary-box .sgsv5-line{align-items:center}
.sgsv5-summary-box .sgsv5-line > span{display:inline-flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0}
.sgsv5-summary-box .sgsv5-line .sgsv5-tip{flex:0 0 auto}
.sgsv5-commercial-table .sgsv5-col-main{width:78%}
.sgsv5-commercial-table .sgsv5-col-amount{width:22%}
.sgsv5-commercial-table .sgsv5-line-desc{max-width:none;white-space:normal;overflow-wrap:anywhere}
@media (max-width: 900px){
  .sgsv5-gap-entry-grid{grid-template-columns:1fr}
}


/* v2.1.4 proposal fit + SMS/settings tidy */
.sgsv5-quote-page{max-width:980px}
.sgsv5-commercial-table td.sgsv5-commercial-meta-value{
  text-align:right;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:break-word;
  font-weight:700;
}
.sgsv5-commercial-table td.sgsv5-commercial-amount{
  text-align:right;
  white-space:nowrap !important;
  font-weight:700;
}
.sgsv5-commercial-table tr.sgsv5-meta-row td{
  vertical-align:top;
}
.sgsv5-commercial-table tr.sgsv5-meta-row td:first-child{
  color:#334155;
}
.sgsv5-commercial-table tr.sgsv5-meta-row td.sgsv5-commercial-meta-value{
  font-size:12px;
  line-height:1.45;
  max-width:none;
}
.sgsv5-commercial-table .sgsv5-line-desc{
  padding-right:0;
}
@media (max-width:760px){
  .sgsv5-quote-page{max-width:none;padding:8px 6px}
  .sgsv5-proposal-shell{padding:12px}
  .sgsv5-commercial-table td.sgsv5-commercial-meta-value,
  .sgsv5-commercial-table td.sgsv5-commercial-amount{
    text-align:left !important;
    white-space:normal !important;
  }
}


/* v2.1.5 quote-fit refinements */
.sgsv5-summary-box .sgsv5-line > span{display:inline-flex;align-items:center;gap:6px;min-width:0;line-height:1.35}
.sgsv5-summary-box .sgsv5-line > span .sgsv5-tip{margin:0;align-self:center}
.sgsv5-commercial-table .sgsv5-commercial-meta-value{white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;text-align:left!important;font-weight:700;color:#1f365c}
.sgsv5-commercial-table .sgsv5-meta-long td:first-child{font-weight:700;vertical-align:top}
.sgsv5-commercial-table .sgsv5-meta-long td:last-child{white-space:normal!important;line-height:1.45;padding-right:0!important}
.sgsv5-commercial-table .sgsv5-col-main{width:62%}
.sgsv5-commercial-table .sgsv5-col-amount{width:38%}
.sgsv5-commercial-table tr.sgsv5-meta-row td:last-child{white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}
.sgsv5-commercial-table tr.sgsv5-meta-row:not(.sgsv5-meta-long) td:last-child{text-align:right!important}
.sgsv5-commercial-table tr.sgsv5-meta-row.sgsv5-meta-long td:last-child{text-align:left!important}
.sgsv5-commercial-table .sgsv5-line-desc{max-width:100%;padding-right:0}
.sgsv5-quote-page{max-width:980px}
@media (max-width:760px){
  .sgsv5-quote-page{max-width:100%;padding:8px}
  .sgsv5-proposal-shell{padding:12px}
  .sgsv5-commercial-table colgroup{display:none}
  .sgsv5-commercial-table tbody,.sgsv5-commercial-table tr,.sgsv5-commercial-table td{display:block;width:100%!important}
  .sgsv5-commercial-table tr{padding:8px 0;border-bottom:1px solid #e7edf3}
  .sgsv5-commercial-table td{padding:4px 0!important;text-align:left!important}
  .sgsv5-commercial-table td:last-child{white-space:normal!important;padding-left:0!important}
  .sgsv5-commercial-table tr.section td,.sgsv5-commercial-table tr.note-row td{padding-top:8px!important}
  .sgsv5-commercial-table .sgsv5-line-title{font-size:14px}
  .sgsv5-commercial-table .sgsv5-line-desc{font-size:12px;line-height:1.45}
  .sgsv5-meta-panel .sgsv5-kv th,.sgsv5-meta-panel .sgsv5-kv td{font-size:12px}
}

/* v2.1.6 stability + usability fixes */
.sgsv5-summary-box .sgsv5-line .sgsv5-line-label{display:inline-flex;align-items:center;gap:6px;min-width:0;line-height:1.35;color:#334155}
.sgsv5-summary-box .sgsv5-line .sgsv5-line-label > span:first-child{display:inline-block}
.sgsv5-prepared-by-row{margin:10px 0 2px}
.sgsv5-prepared-by-row label{display:block;font-size:13px;font-weight:700;color:#4b5563;margin-bottom:6px}
.sgsv5-prepared-by-row input{width:100%;height:44px;border:1px solid #bfd1e3;border-radius:12px;padding:0 14px;font-size:15px;color:#14294f;background:#fff}
.sgsv5-quote-panel .sgsv5-link-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.sgsv5-quote-panel .sgsv5-link-box .sgsv5-link-btn{width:100%;height:42px;border-radius:12px;font-size:15px;font-weight:800}
.sgsv5-quote-panel .sgsv5-buttons .sgsv5-btn.primary{width:100%;height:48px;border-radius:14px}
.sgsv5-commercial-table .sgsv5-meta-full td{padding-top:10px;padding-bottom:10px;text-align:left!important;white-space:normal!important}
.sgsv5-commercial-table .sgsv5-meta-full strong{display:block;margin-bottom:4px;font-size:13px;color:#1f365c}
.sgsv5-commercial-table .sgsv5-commercial-meta-block{display:block;max-width:none;font-size:13px;line-height:1.5;color:#334155;overflow-wrap:anywhere;word-break:normal}
.sgsv5-commercial-table .sgsv5-commercial-meta-value{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-align:left}
.sgsv5-commercial-table td:last-child.sgsv5-commercial-meta-value{text-align:left!important;font-weight:700}
.sgsv5-commercial-table .sgsv5-line-desc{padding-right:8px}
.sgsv5-portal-card{max-width:760px;width:min(100%,760px)}
.sgsv5-gate .sgsv5-portal-card{padding:22px 20px}
.sgsv5-gate h1{font-size:38px}
@media (max-width:760px){
  .sgsv5-quote-panel .sgsv5-link-box{grid-template-columns:1fr}
  .sgsv5-quote-panel .sgsv5-quote-grid{grid-template-columns:1fr}
  .sgsv5-gate h1{font-size:30px}
  .sgsv5-gate .sgsv5-portal-card{padding:18px 16px}
  .sgsv5-commercial-table,.sgsv5-commercial-table tbody,.sgsv5-commercial-table tr,.sgsv5-commercial-table td{display:block;width:100%!important}
  .sgsv5-commercial-table tr{padding:6px 0;border-bottom:1px solid #e7edf3}
  .sgsv5-commercial-table tr.section,.sgsv5-commercial-table tr.note-row{display:block}
  .sgsv5-commercial-table td{padding:4px 0!important;text-align:left!important}
  .sgsv5-commercial-table td:last-child{white-space:normal!important;padding-top:0!important}
  .sgsv5-commercial-table .sgsv5-col-main,.sgsv5-commercial-table .sgsv5-col-amount{width:100%!important}
  .sgsv5-commercial-table .sgsv5-line-title{font-size:14px}
  .sgsv5-commercial-table .sgsv5-line-desc,.sgsv5-commercial-table .sgsv5-commercial-meta-block{font-size:12px;line-height:1.45}
}

/* v2.2.0 admin/mobile refinement */
.sgsv5-wrap{box-shadow:none}
.sgsv5-options-panel,.sgsv5-quote-panel,.sgsv5-option-group{box-shadow:none}
.sgsv5-option-group{background:#fff}
.sgsv5-ribbon{width:92px;height:92px;clip-path:polygon(100% 0,30% 0,100% 70%)}
.sgsv5-ribbon-squares{top:11px;right:9px;gap:4px}
.sgsv5-ribbon-square{width:9px;height:9px;border-width:2px}
.sgsv5-tip[data-tip]:hover::after,.sgsv5-tip[data-tip]:focus::after{overflow-wrap:anywhere;word-break:normal}
.sgsv5-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#sgsv5-prepared-by{width:100%}
@media (max-width:760px){
  .sgsv5-ribbon{width:86px;height:86px;clip-path:polygon(100% 0,28% 0,100% 72%)}
  .sgsv5-ribbon-squares{top:11px;right:8px;gap:4px}
  .sgsv5-ribbon-square{width:9px;height:9px}
  .sgsv5-tip[data-tip]:hover::after,.sgsv5-tip[data-tip]:focus::after{left:0;right:auto;top:calc(100% + 8px);transform:none;min-width:180px;max-width:min(260px,calc(100vw - 36px));}
  .sgsv5-quote-grid{grid-template-columns:1fr}
  .sgsv5-commercial-table .sgsv5-col-main,.sgsv5-commercial-table .sgsv5-col-amount{width:auto}
  .sgsv5-commercial-table td:last-child{padding-left:10px;white-space:normal}
  .sgsv5-commercial-table tr.sgsv5-meta-row td{display:block;width:100%;text-align:left!important}
  .sgsv5-commercial-table tr.sgsv5-meta-row td:last-child{padding-top:0;font-weight:700}
}


/* v2.2.1 theme/admin refinements */
.sgsv5-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.sgsv5-topbar-fixed{justify-content:center;align-items:center;grid-template-columns:minmax(180px,240px) auto minmax(220px,260px)}
.sgsv5-seats-block{justify-self:center;text-align:center}
.sgsv5-seats-block label{justify-content:center;text-align:center}
.sgsv5-stepper{justify-content:center}
.sgsv5-engagement-block{align-self:center}
.sgsv5-billing-toggle{justify-self:end}
.sgsv5-tip[data-tip]:hover::after,.sgsv5-tip[data-tip]:focus::after{white-space:normal}
@media (max-width:860px){
  .sgsv5-topbar-fixed{grid-template-columns:1fr;justify-items:center;align-items:center;text-align:center}
  .sgsv5-engagement-block,.sgsv5-seats-block,.sgsv5-billing-toggle{justify-self:center;width:auto}
  .sgsv5-seats-block label{justify-content:center}
  .sgsv5-stepper{justify-content:center}
}


/* v2.2.4 interaction + topbar alignment fixes */
.sgsv5-topbar-fixed{
  display:grid;
  grid-template-columns:minmax(220px,260px) max-content minmax(220px,260px);
  justify-content:center;
  align-items:end;
  gap:18px;
}
.sgsv5-engagement-block,
.sgsv5-seats-block,
.sgsv5-billing-toggle{
  align-self:end;
}
.sgsv5-engagement-block label,
.sgsv5-seats-block label{
  min-height:24px;
}
.sgsv5-stepper{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.sgsv5-stepper .sgsv5-step,
.sgsv5-stepper #sgsv5-seats{
  margin:0;
}
@media (max-width: 860px){
  .sgsv5-topbar-fixed{
    grid-template-columns:1fr;
    justify-items:center;
    align-items:center;
    gap:12px;
  }
  .sgsv5-engagement-block,
  .sgsv5-seats-block,
  .sgsv5-billing-toggle{
    width:min(100%, 320px);
    justify-self:center;
  }
  .sgsv5-billing-toggle{justify-self:center;}
}

.sgsv5-engagement-select{width:100%;height:48px;border:1px solid #cfd8e3;border-radius:14px;padding:0 14px;background:#fff;color:var(--sg-text);font-size:16px;font-weight:700;}
.sgsv5-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
@media (max-width:760px){.sgsv5-quote-grid{grid-template-columns:1fr;}}

/* v2.2.6 stability + alignment */
.sgsv5-topbar-fixed{
  display:grid;
  grid-template-columns:minmax(220px,260px) minmax(170px,210px) minmax(220px,260px);
  align-items:end;
  justify-content:center;
  gap:16px;
}
.sgsv5-topbar-fixed .sgsv5-engagement-block,
.sgsv5-topbar-fixed .sgsv5-billing-toggle{
  align-self:end;
}
.sgsv5-topbar-fixed .sgsv5-seats-block{
  align-self:end;
  justify-self:center;
  text-align:center;
}
.sgsv5-topbar-fixed .sgsv5-seats-block label,
.sgsv5-topbar-fixed .sgsv5-stepper{
  justify-content:center;
}
.sgsv5-bottom.single{display:flex;flex-direction:column;gap:14px;}
.sgsv5-bottom.single .sgsv5-options-panel{order:1;width:100%;}
.sgsv5-bottom.single .sgsv5-quote-panel{order:2;width:100%;}
.sgsv5-quote-panel input[data-bwignore="true"]{position:relative;z-index:1;}
.sgsv5-price .bill-line{font-variant-numeric:tabular-nums;}
@media (max-width:860px){
  .sgsv5-topbar-fixed{
    grid-template-columns:1fr;
    justify-items:center;
    align-items:center;
    text-align:center;
  }
  .sgsv5-topbar-fixed .sgsv5-engagement-block,
  .sgsv5-topbar-fixed .sgsv5-seats-block,
  .sgsv5-topbar-fixed .sgsv5-billing-toggle{
    width:100%;
    max-width:320px;
    justify-self:center;
  }
}

/* v2.2.8 stability hardening */
#sgsv5-seats::-webkit-outer-spin-button,
#sgsv5-seats::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
#sgsv5-seats[type=number]{ -moz-appearance:textfield; appearance:textfield; }
.sgsv5-form-grid input::-webkit-credentials-auto-fill-button,
.sgsv5-form-grid input::-webkit-contacts-auto-fill-button{ visibility:hidden; display:none !important; pointer-events:none; position:absolute; right:0; }
.sgsv5-google-fill{max-width:320px;overflow:hidden;min-height:0;}
.sgsv5-topbar{align-items:center;}
.sgsv5-topbar .sgsv5-engagement-block,.sgsv5-topbar .sgsv5-billing-toggle{align-self:center;}
.sgsv5-topbar .sgsv5-seats-block{align-self:center;}


/* v2.3.0 development + gap checklist */
.sgsv5-development-block{margin-top:18px}
.sgsv5-dev-grid{grid-template-columns:180px 1fr}
.sgsv5-dev-wide textarea{width:100%;min-height:110px;border:1px solid #bfd1e3;border-radius:12px;padding:12px;font-size:14px;resize:vertical;background:#fff;color:var(--sg-text)}
.sgsv5-gap-check-wrap{grid-column:1 / -1}
.sgsv5-gap-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;padding:10px 12px;border:1px solid #bfd1e3;border-radius:12px;background:#fff}
.sgsv5-gap-check-item{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.35;color:#1f365c;cursor:pointer}
.sgsv5-gap-check-item input{width:16px;height:16px;margin-top:2px;accent-color:var(--sg-accent)}
.sgsv5-gap-check-item span{display:block}
@media (max-width: 900px){.sgsv5-dev-grid{grid-template-columns:1fr}.sgsv5-gap-checklist{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 640px){.sgsv5-gap-checklist{grid-template-columns:1fr}}

.sgsv5-esign-note{font-size:13px;line-height:1.5;color:#49576f;margin-top:12px;}


/* v2.3.4 topbar alignment hard-fix */
.sgsv5-topbar.sgsv5-topbar-fixed{
  display:grid !important;
  grid-template-columns:260px max-content 260px !important;
  justify-content:center !important;
  align-items:end !important;
  gap:16px !important;
  margin:0 auto 18px !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-engagement-block{
  width:260px !important;
  max-width:260px !important;
  min-width:260px !important;
  justify-self:start !important;
  align-self:end !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-seats-block{
  width:max-content !important;
  justify-self:center !important;
  align-self:end !important;
  text-align:center !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-billing-toggle{
  width:260px !important;
  min-width:260px !important;
  justify-self:end !important;
  align-self:end !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-seats-block label{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-height:24px !important;
  margin:0 0 8px !important;
  text-align:center !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-stepper{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:max-content !important;
  margin:0 auto !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-stepper .sgsv5-step,
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-stepper #sgsv5-seats{
  margin:0 !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-billing-toggle button{
  white-space:nowrap;
}
@media (max-width:860px){
  .sgsv5-topbar.sgsv5-topbar-fixed{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    align-items:center !important;
    gap:12px !important;
  }
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-engagement-block,
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-seats-block,
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-billing-toggle{
    width:min(100%,320px) !important;
    min-width:0 !important;
    max-width:320px !important;
    justify-self:center !important;
  }
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-seats-block{
    width:max-content !important;
    max-width:none !important;
  }
}

/* v2.3.6 full replacement alignment override */
.sgsv5-topbar.sgsv5-topbar-fixed,
.sgsv5-wrap .sgsv5-topbar,
.sgsv5-wrap .sgsv5-controls,
.sgsv5-wrap .sgsv5-top-controls{
  display:grid !important;
  grid-template-columns:260px 1fr 260px !important;
  align-items:end !important;
  gap:16px !important;
  max-width:1080px !important;
  margin:0 auto 18px !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-engagement-block,
.sgsv5-wrap .sgsv5-engagement-block,
.sgsv5-wrap .sgsv5-mode-block,
.sgsv5-wrap .sgsv5-engagement,
.sgsv5-wrap .sgsv5-mode-select{
  width:260px !important;
  max-width:260px !important;
  justify-self:center !important;
  align-self:center !important;
  margin:0 !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-seats-block,
.sgsv5-wrap .sgsv5-seats-block,
.sgsv5-wrap .sgsv5-seat-block,
.sgsv5-wrap .sgsv5-seats{
  justify-self:center !important;
  align-self:center !important;
  width:max-content !important;
  min-width:240px !important;
  text-align:center !important;
  margin:0 auto !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-billing-toggle,
.sgsv5-wrap .sgsv5-billing-toggle,
.sgsv5-wrap .sgsv5-billing,
.sgsv5-wrap .sgsv5-billing-block{
  width:260px !important;
  min-width:260px !important;
  justify-self:center !important;
  align-self:center !important;
  margin:0 !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-seats-block label,
.sgsv5-wrap .sgsv5-seats-block label,
.sgsv5-wrap .sgsv5-seat-block label,
.sgsv5-wrap .sgsv5-seats label{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  text-align:center !important;
  width:100% !important;
  margin:0 0 8px !important;
}
.sgsv5-topbar.sgsv5-topbar-fixed .sgsv5-stepper,
.sgsv5-wrap .sgsv5-stepper,
.sgsv5-wrap .sgsv5-seat-stepper{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  margin:0 auto !important;
}
@media (max-width:760px){
  .sgsv5-topbar.sgsv5-topbar-fixed,
  .sgsv5-wrap .sgsv5-topbar,
  .sgsv5-wrap .sgsv5-controls,
  .sgsv5-wrap .sgsv5-top-controls{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    align-items:center !important;
    gap:12px !important;
  }
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-engagement-block,
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-seats-block,
  .sgsv5-topbar.sgsv5-topbar-fixed > .sgsv5-billing-toggle,
  .sgsv5-wrap .sgsv5-engagement-block,
  .sgsv5-wrap .sgsv5-seats-block,
  .sgsv5-wrap .sgsv5-billing-toggle{
    width:100% !important;
    max-width:320px !important;
    justify-self:center !important;
  }
}


/* v2.3.7 topbar alignment fix */
.sgsv5-topbar{width:100%;}
.sgsv5-topbar.mode-subscription{display:grid;grid-template-columns:260px 1fr 260px;align-items:end;gap:16px;margin:0 auto 16px;}
.sgsv5-topbar.mode-subscription .sgsv5-engagement-block{justify-self:start;width:260px;max-width:260px;}
.sgsv5-topbar.mode-subscription .sgsv5-seats-block{justify-self:center;width:max-content;text-align:center;}
.sgsv5-topbar.mode-subscription .sgsv5-billing-toggle{justify-self:end;width:260px;min-width:260px;}
.sgsv5-topbar.mode-service{display:grid;grid-template-columns:1fr;justify-items:center;align-items:center;gap:12px;margin:0 auto 16px;}
.sgsv5-topbar.mode-service .sgsv5-engagement-block{justify-self:center;width:320px;max-width:min(320px,92vw);}
.sgsv5-topbar.mode-service .sgsv5-seats-block,
.sgsv5-topbar.mode-service .sgsv5-billing-toggle{display:none !important;}
.sgsv5-topbar.mode-service .sgsv5-engagement-block label{text-align:center;justify-content:center;display:flex;}
.sgsv5-engagement-select{border:2px solid var(--sg-accent)!important; box-shadow:none;}
.sgsv5-engagement-select:focus{border-color:var(--sg-accent)!important; box-shadow:0 0 0 3px var(--sg-accent-soft)!important;}
@media (max-width:760px){
  .sgsv5-topbar.mode-subscription{grid-template-columns:1fr;justify-items:center;align-items:center;gap:12px;}
  .sgsv5-topbar.mode-subscription .sgsv5-engagement-block,
  .sgsv5-topbar.mode-subscription .sgsv5-seats-block,
  .sgsv5-topbar.mode-subscription .sgsv5-billing-toggle,
  .sgsv5-topbar.mode-service .sgsv5-engagement-block{width:100%;max-width:320px;justify-self:center;}
}


/* v2.3.8 topbar centering + engagement select clarity */
.sgsv5-topbar.mode-subscription{
  display:grid !important;
  grid-template-columns:260px 220px 260px !important;
  align-items:end !important;
  justify-content:center !important;
  gap:18px !important;
  width:max-content !important;
  max-width:100% !important;
  margin:0 auto 18px !important;
}
.sgsv5-topbar.mode-subscription .sgsv5-engagement-block,
.sgsv5-topbar.mode-subscription .sgsv5-billing-toggle{
  width:260px !important;
  min-width:260px !important;
  max-width:260px !important;
  justify-self:stretch !important;
  align-self:end !important;
  margin:0 !important;
}
.sgsv5-topbar.mode-subscription .sgsv5-seats-block{
  width:220px !important;
  min-width:220px !important;
  max-width:220px !important;
  justify-self:center !important;
  align-self:end !important;
  margin:0 auto !important;
  text-align:center !important;
}
.sgsv5-topbar.mode-subscription .sgsv5-seats-block label,
.sgsv5-topbar.mode-subscription .sgsv5-stepper{
  justify-content:center !important;
  text-align:center !important;
}
.sgsv5-topbar.mode-service{
  display:grid !important;
  grid-template-columns:1fr !important;
  justify-content:center !important;
  justify-items:center !important;
  align-items:center !important;
  gap:12px !important;
  width:max-content !important;
  max-width:100% !important;
  margin:0 auto 18px !important;
}
.sgsv5-topbar.mode-service .sgsv5-engagement-block{
  width:280px !important;
  max-width:min(280px,92vw) !important;
  justify-self:center !important;
  margin:0 auto !important;
}
.sgsv5-topbar.mode-service .sgsv5-seats-block,
.sgsv5-topbar.mode-service .sgsv5-billing-toggle{
  display:none !important;
}
.sgsv5-engagement-block label{
  text-align:center !important;
  justify-content:center !important;
}
.sgsv5-engagement-select{
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  border:2px solid var(--sg-accent) !important;
  border-radius:16px !important;
  padding:0 42px 0 16px !important;
  background-color:#fff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sg-accent) 50%),
    linear-gradient(135deg, var(--sg-accent) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent) !important;
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px),
    100% 0 !important;
  background-size:6px 6px, 6px 6px, 2.5em 2.5em !important;
  background-repeat:no-repeat !important;
  box-shadow:none !important;
}
.sgsv5-engagement-select:focus{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(243,112,33,.14) !important;
}
@media (max-width: 760px){
  .sgsv5-topbar.mode-subscription,
  .sgsv5-topbar.mode-service{
    width:100% !important;
    max-width:320px !important;
    grid-template-columns:1fr !important;
    justify-items:center !important;
    align-items:center !important;
    gap:12px !important;
  }
  .sgsv5-topbar.mode-subscription .sgsv5-engagement-block,
  .sgsv5-topbar.mode-subscription .sgsv5-seats-block,
  .sgsv5-topbar.mode-subscription .sgsv5-billing-toggle,
  .sgsv5-topbar.mode-service .sgsv5-engagement-block{
    width:100% !important;
    max-width:320px !important;
    min-width:0 !important;
    justify-self:center !important;
  }
}


/* v2.3.9 locked header rail + centered engagement text */
.sgsv5-topbar.mode-subscription{
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:minmax(260px,1fr) auto minmax(260px,1fr) !important;
  align-items:end !important;
  gap:18px !important;
  margin:0 0 18px !important;
}
.sgsv5-topbar.mode-subscription > .sgsv5-engagement-block,
.sgsv5-topbar.mode-subscription > .sgsv5-billing-toggle{
  width:100% !important;
  max-width:320px !important;
  min-width:260px !important;
  align-self:end !important;
  margin:0 !important;
}
.sgsv5-topbar.mode-subscription > .sgsv5-engagement-block{
  justify-self:start !important;
}
.sgsv5-topbar.mode-subscription > .sgsv5-billing-toggle{
  justify-self:end !important;
}
.sgsv5-topbar.mode-subscription > .sgsv5-seats-block{
  width:max-content !important;
  min-width:220px !important;
  justify-self:center !important;
  align-self:end !important;
  margin:0 auto !important;
  text-align:center !important;
}
.sgsv5-topbar.mode-subscription > .sgsv5-seats-block label,
.sgsv5-topbar.mode-subscription > .sgsv5-stepper{
  justify-content:center !important;
  text-align:center !important;
}
.sgsv5-topbar.mode-service{
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  grid-template-columns:1fr !important;
  justify-items:center !important;
  align-items:center !important;
  gap:12px !important;
  margin:0 0 18px !important;
}
.sgsv5-topbar.mode-service > .sgsv5-engagement-block{
  width:100% !important;
  max-width:320px !important;
  justify-self:center !important;
  margin:0 auto !important;
}
.sgsv5-topbar.mode-service > .sgsv5-seats-block,
.sgsv5-topbar.mode-service > .sgsv5-billing-toggle{
  display:none !important;
}
.sgsv5-topbar .sgsv5-engagement-block label,
.sgsv5-topbar .sgsv5-seats-block label{
  text-align:center !important;
  justify-content:center !important;
}
.sgsv5-topbar .sgsv5-engagement-select{
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  width:100% !important;
  height:48px !important;
  border:2px solid var(--sg-accent) !important;
  border-radius:16px !important;
  padding:0 48px !important;
  background-color:#fff !important;
  text-align:center !important;
  text-align-last:center !important;
  -moz-text-align-last:center !important;
  font-weight:700 !important;
  color:var(--sg-text) !important;
  box-shadow:none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sg-accent) 50%),
    linear-gradient(135deg, var(--sg-accent) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px) !important;
  background-size:6px 6px, 6px 6px !important;
  background-repeat:no-repeat !important;
}
.sgsv5-topbar .sgsv5-engagement-select option{
  text-align:center;
}
.sgsv5-topbar .sgsv5-engagement-select:focus{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(243,112,33,.14) !important;
}
@media (max-width:900px){
  .sgsv5-topbar.mode-subscription,
  .sgsv5-topbar.mode-service{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    align-items:center !important;
    gap:12px !important;
  }
  .sgsv5-topbar.mode-subscription > .sgsv5-engagement-block,
  .sgsv5-topbar.mode-subscription > .sgsv5-seats-block,
  .sgsv5-topbar.mode-subscription > .sgsv5-billing-toggle,
  .sgsv5-topbar.mode-service > .sgsv5-engagement-block{
    width:100% !important;
    max-width:320px !important;
    min-width:0 !important;
    justify-self:center !important;
  }
}


/* v2.3.10 custom engagement dropdown keeps menu options centered across browsers */
.sgsv5-topbar .sgsv5-engagement-select-wrap{
  position:relative;
  width:100%;
}
.sgsv5-topbar .sgsv5-engagement-trigger,
.sgsv5-topbar .sgsv5-engagement-menu{
  display:none;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-select{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  border:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-trigger{
  width:100%;
  min-height:48px;
  border:2px solid var(--sg-accent);
  border-radius:18px;
  background:#fff;
  color:var(--sg-text);
  font-size:16px;
  font-weight:700;
  line-height:1.2;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:11px 44px;
  position:relative;
  cursor:pointer;
  box-shadow:none;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-trigger:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(243,112,33,.14);
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-select-wrap.is-locked .sgsv5-engagement-trigger{
  cursor:default;
  opacity:.96;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-trigger::after{
  content:'';
  position:absolute;
  right:18px;
  top:50%;
  width:8px;
  height:8px;
  margin-top:-6px;
  border-right:2px solid var(--sg-accent);
  border-bottom:2px solid var(--sg-accent);
  transform:rotate(45deg);
  transition:transform .15s ease, margin-top .15s ease;
  pointer-events:none;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-select-wrap.is-open .sgsv5-engagement-trigger::after{
  transform:rotate(-135deg);
  margin-top:-1px;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-menu{
  position:absolute;
  top:calc(100% - 1px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid #bfd1e3;
  border-top:0;
  border-radius:0 0 12px 12px;
  box-shadow:0 12px 24px rgba(15,23,42,.12);
  overflow:hidden;
  z-index:40;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-select-wrap.is-open .sgsv5-engagement-menu{
  display:block;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-option{
  width:100%;
  border:0;
  background:#fff;
  color:var(--sg-text);
  font:inherit;
  font-weight:400;
  line-height:1.3;
  min-height:44px;
  padding:8px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-option:hover,
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-option:focus{
  background:#f8fafc;
  outline:none;
}
.sgsv5-wrap.sgsv5-has-custom-engagement .sgsv5-topbar .sgsv5-engagement-option.is-selected{
  background:#2b6dcc;
  color:#fff;
}

/* v2.3.12 hidden development access + GAP analysis refinements */
.sgsv5-topbar.mode-subscription > .sgsv5-billing-toggle{
  display:inline-grid !important;
}
.sgsv5-topbar.mode-subscription > .sgsv5-seats-block{
  display:block !important;
}
.sgsv5-dev-entries{
  display:grid;
  gap:12px;
}
.sgsv5-dev-remove{
  appearance:none;
  border:0;
  background:#eef4fb;
  color:#1f365c;
  font-weight:700;
  border-radius:10px;
  padding:8px 12px;
  cursor:pointer;
}
.sgsv5-dev-remove:hover{
  background:#e5edf7;
}
.sgsv5-summary-box #sgsv5-summary-dynamic-lines:empty{
  display:none;
}
.sgsv5-summary-box .sgsv5-line-label-stack{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  max-width:100%;
}
.sgsv5-summary-box .sgsv5-dev-summary-primary{
  display:block;
  color:#334155;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.sgsv5-summary-box .sgsv5-dev-summary-secondary{
  display:block;
  font-size:12px;
  line-height:1.25;
  color:#64748b;
}


/* v2.3.22 tiny helper links + process guide */
.sgsv5-dev-link-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:6px;
  padding:0 4px 2px;
}
.sgsv5-dev-link{
  font-size:11px;
  line-height:1.2;
  color:#94a3b8;
  text-decoration:none;
  opacity:.72;
  letter-spacing:.01em;
}
.sgsv5-dev-link:hover,
.sgsv5-dev-link:focus{
  color:#64748b;
  opacity:1;
  text-decoration:underline;
}
.sgsv5-guide-link.is-empty{display:inline-block;min-width:78px;visibility:hidden}
.sgsv5-process-guide-page,
.sgsv5-process-guide{max-width:1120px;margin:0 auto}
.sgsv5-process-guide.is-admin{max-width:none}
.sgsv5-guide-hero{margin-bottom:16px}
.sgsv5-guide-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin-bottom:8px}
.sgsv5-guide-hero h1{margin:0 0 10px;font-size:36px;line-height:1.1;color:var(--sg-link)}
.sgsv5-guide-hero p{margin:0;color:#51627b;font-size:17px;line-height:1.6;max-width:980px}
.sgsv5-guide-pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.sgsv5-guide-pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef4fb;border:1px solid #dbe7f3;color:#1f365c;font-size:13px;font-weight:700}
.sgsv5-guide-callout,
.sgsv5-guide-note{background:#fff;border:1px solid #dbe3ed;border-radius:16px;padding:14px 16px;margin:0 0 16px;color:#334155;line-height:1.6}
.sgsv5-guide-callout{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.sgsv5-guide-section{margin:22px 0 0}
.sgsv5-guide-section h2{margin:0 0 12px;color:var(--sg-link);font-size:28px}
.sgsv5-guide-table-wrap{overflow:auto;border:1px solid #d8dee6;border-radius:16px;background:#fff}
.sgsv5-guide-table{width:100%;border-collapse:collapse;min-width:760px}
.sgsv5-guide-table th,.sgsv5-guide-table td{padding:14px 16px;border-bottom:1px solid #e7edf3;vertical-align:top;text-align:left}
.sgsv5-guide-table th{background:#f8fafc;color:#17335f;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.sgsv5-guide-table tbody tr:last-child td{border-bottom:0}
.sgsv5-guide-split,.sgsv5-guide-scenario-grid,.sgsv5-guide-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sgsv5-guide-scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sgsv5-guide-mini-card,.sgsv5-guide-link-card{display:block;background:#fff;border:1px solid #d8dee6;border-radius:16px;padding:16px;color:#334155;text-decoration:none}
.sgsv5-guide-mini-card h3,.sgsv5-guide-link-card strong{display:block;margin:0 0 8px;color:#17335f;font-size:19px;line-height:1.3}
.sgsv5-guide-mini-card p,.sgsv5-guide-link-card span{margin:0;color:#51627b;line-height:1.6}
.sgsv5-guide-mini-card ul,.sgsv5-guide-mini-card ol{margin:10px 0 0 18px;color:#475569;line-height:1.6}
.sgsv5-guide-mini-card li+li{margin-top:4px}
.sgsv5-guide-link-row{margin-top:14px}
.sgsv5-guide-muted{display:block;color:#64748b;font-size:14px;line-height:1.5}
.sgsv5-guide-faqs{display:grid;gap:10px}
.sgsv5-guide-faqs details{background:#fff;border:1px solid #d8dee6;border-radius:14px;padding:12px 14px}
.sgsv5-guide-faqs summary{cursor:pointer;font-weight:800;color:#17335f}
.sgsv5-guide-faqs p{margin:10px 0 0;color:#51627b;line-height:1.6}
@media (max-width:980px){
  .sgsv5-guide-split,.sgsv5-guide-scenario-grid,.sgsv5-guide-links{grid-template-columns:1fr}
}
@media (max-width:760px){
  .sgsv5-dev-link-wrap{justify-content:center;flex-wrap:wrap;margin-top:2px}
  .sgsv5-guide-hero h1{font-size:28px}
  .sgsv5-guide-section h2{font-size:24px}
}

/* v2.3.18 customer hub + service-order support */
.sgsv5-customer-hub{
  max-width:1100px;
}
.sgsv5-hub-shell{
  min-height:auto;
  padding:0;
}
.sgsv5-hub-card{
  max-width:1100px;
  text-align:left;
}
.sgsv5-hub-card h1,
.sgsv5-hub-card p{
  text-align:left;
}
.sgsv5-hub-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin:18px 0 16px;
  flex-wrap:wrap;
}
.sgsv5-hub-kicker{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--sg-muted);
  font-weight:800;
  margin-bottom:4px;
}
.sgsv5-hub-email{
  font-size:18px;
  font-weight:800;
  color:#17335f;
}
.sgsv5-hub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:14px;
  margin:16px 0 18px;
}
.sgsv5-hub-quote-card{
  border:1px solid var(--sg-border);
  border-radius:18px;
  background:#fbfcfe;
  padding:16px;
  box-shadow:0 4px 12px rgba(17,24,39,.03);
}
.sgsv5-hub-card-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:12px;
}
.sgsv5-hub-card-top h3{
  margin:2px 0 0;
  font-size:22px;
  color:#17335f;
}
.sgsv5-hub-quote-number{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#64748b;
}
.sgsv5-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  border:1px solid transparent;
}
.sgsv5-status-pill.success{
  background:#eef8f1;
  color:#117a3f;
  border-color:#d4ebda;
}
.sgsv5-status-pill.warning{
  background:#fff7ed;
  color:#9a3412;
  border-color:#fed7aa;
}
.sgsv5-status-pill.info{
  background:#eff6ff;
  color:#1d4ed8;
  border-color:#bfdbfe;
}
.sgsv5-hub-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;
  margin-bottom:14px;
}
.sgsv5-hub-meta div{
  min-width:0;
}
.sgsv5-hub-meta span{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#64748b;
  margin-bottom:3px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.sgsv5-hub-meta strong{
  display:block;
  color:#17335f;
  font-size:15px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.sgsv5-hub-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.sgsv5-hub-actions form,
.sgsv5-hub-actions .sgsv5-btn{
  margin:0;
}
.sgsv5-hub-request-panel{
  border:1px solid var(--sg-border);
  background:#fbfcfe;
  border-radius:18px;
  padding:16px;
  margin-top:8px;
}
.sgsv5-hub-request-panel h2{
  margin:0 0 8px;
  color:#17335f;
  font-size:22px;
}
.sgsv5-hub-request-panel p{
  text-align:left;
  margin:0 0 12px;
}
.sgsv5-hub-request-form select,
.sgsv5-hub-request-form textarea,
.sgsv5-hub-request-form input{
  width:100%;
  min-width:0;
  border:1px solid #bfd1e3;
  border-radius:12px;
  padding:12px 14px;
  background:#fff;
  color:#14294f;
  font-size:15px;
}
.sgsv5-hub-request-form textarea{
  min-height:132px;
  resize:vertical;
}
.sgsv5-hub-request-form select:focus,
.sgsv5-hub-request-form textarea:focus,
.sgsv5-hub-request-form input:focus{
  border-color:var(--sg-accent);
  box-shadow:0 0 0 3px var(--sg-accent-soft);
  outline:none;
}
@media (max-width:760px){
  .sgsv5-hub-card{
    padding:18px 16px;
  }
  .sgsv5-hub-card-top{
    flex-direction:column;
  }
  .sgsv5-hub-meta{
    grid-template-columns:1fr;
  }
  .sgsv5-hub-actions{
    flex-direction:column;
  }
  .sgsv5-hub-actions form,
  .sgsv5-hub-actions .sgsv5-btn,
  .sgsv5-hub-actions button{
    width:100%;
  }
}

/* v2.3.19 customer hub robustness + live Stripe sections */
.sgsv5-hub-live-panel{
  margin-top:16px;
}
.sgsv5-hub-subheading{
  margin:14px 0 10px;
  color:#17335f;
  font-size:18px;
}
.sgsv5-hub-live-panel + .sgsv5-hub-request-panel{
  margin-top:16px;
}


/* v2.3.20 customer hub tables */
.sgsv5-hub-table-wrap{
  overflow-x:auto;
  margin-top:12px;
}
.sgsv5-hub-table{
  width:100%;
  min-width:960px;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid var(--sg-border);
  border-radius:16px;
  overflow:hidden;
}
.sgsv5-hub-table thead th{
  background:#f8fafc;
  color:#64748b;
  font-size:12px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:800;
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid #e7edf3;
  white-space:nowrap;
}
.sgsv5-hub-table tbody td{
  padding:12px 14px;
  border-bottom:1px solid #e7edf3;
  vertical-align:top;
  color:#17335f;
  font-size:14px;
  line-height:1.45;
}
.sgsv5-hub-table tbody tr:last-child td{
  border-bottom:0;
}
.sgsv5-hub-table code{
  font-size:12px;
  word-break:break-all;
}
.sgsv5-hub-table td .sgsv5-status-pill{
  margin-top:2px;
}
.sgsv5-hub-actions-stack{
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:190px;
}
.sgsv5-hub-actions-stack form,
.sgsv5-hub-actions-stack .sgsv5-btn,
.sgsv5-hub-actions-stack a{
  width:100%;
}
@media (max-width:760px){
  .sgsv5-hub-table{
    min-width:780px;
  }
}


/* v2.3.21 customer hub launchpad */
.sgsv5-hub-launchpad{margin-top:12px;background:#f8fbff}
.sgsv5-hub-launchpad .sgsv5-hub-actions{margin-top:12px;gap:10px}
.sgsv5-hub-launchpad .sgsv5-btn{min-width:220px}

/* v2.3.23 sales portal + international phone */
.sgsv5-phone-field{
  display:grid;
  grid-template-columns:minmax(180px, 230px) minmax(0,1fr);
  gap:10px;
}
.sgsv5-phone-country{
  width:100%;
  border:1px solid var(--sg-border);
  border-radius:14px;
  min-height:54px;
  padding:0 14px;
  background:#fff;
  color:#17335f;
  font:inherit;
}
.sgsv5-phone-help{
  margin-top:8px;
  color:#64748b;
  font-size:12px;
}

.sgsv5-sales-shell{
  max-width:1260px;
}
.sgsv5-sales-card-shell{
  max-width:none;
}
.sgsv5-sales-head-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin:18px 0 16px;
}
.sgsv5-sales-eyebrow{
  color:#64748b;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:4px;
}
.sgsv5-sales-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;
  margin:0 0 16px;
}
.sgsv5-sales-stat{
  background:#fff;
  border:1px solid var(--sg-border);
  border-radius:16px;
  padding:16px 18px;
}
.sgsv5-sales-stat span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:6px;
}
.sgsv5-sales-stat strong{
  font-size:28px;
  color:#17335f;
  line-height:1;
}
.sgsv5-sales-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:8px 0 18px;
}
.sgsv5-sales-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid var(--sg-border);
  background:#fff;
  color:#17335f;
  text-decoration:none;
  font-weight:700;
}
.sgsv5-sales-tab.is-active{
  background:#17335f;
  color:#fff;
  border-color:#17335f;
}
.sgsv5-sales-filter{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:12px 0 16px;
  align-items:end;
}
.sgsv5-sales-filter label{
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#17335f;
  font-weight:700;
  font-size:13px;
}
.sgsv5-sales-filter label span{
  color:#64748b;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.sgsv5-sales-filter select,
.sgsv5-sales-filter input{
  width:100%;
  border:1px solid var(--sg-border);
  border-radius:14px;
  min-height:48px;
  padding:0 14px;
  background:#fff;
  color:#17335f;
  font:inherit;
}
.sgsv5-sales-filter-search{
  grid-column:span 2;
}
.sgsv5-sales-subtle{
  color:#64748b;
  font-size:12px;
}
.sgsv5-sales-cards{
  display:none;
  gap:12px;
  margin-top:12px;
}
.sgsv5-sales-card{
  border:1px solid var(--sg-border);
  border-radius:18px;
  background:#fff;
  padding:16px;
}
.sgsv5-sales-card h3{
  margin:10px 0 12px;
  color:#17335f;
  font-size:20px;
}
.sgsv5-sales-card-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.sgsv5-sales-meta-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
  margin-bottom:14px;
}
.sgsv5-sales-meta-grid span{
  display:block;
  color:#64748b;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:4px;
}
.sgsv5-sales-meta-grid strong{
  color:#17335f;
  font-size:15px;
}
#sgsv5-sales-login-form{
  margin-top:16px;
}
#sgsv5-sales-login-form p{
  margin:0 0 12px;
}
#sgsv5-sales-login-form label{
  display:block;
  color:#17335f;
  font-weight:700;
  margin-bottom:6px;
}
#sgsv5-sales-login-form input[type="text"],
#sgsv5-sales-login-form input[type="password"]{
  width:100%;
  min-height:52px;
  border:1px solid var(--sg-border);
  border-radius:14px;
  padding:0 14px;
  font:inherit;
  color:#17335f;
}
#sgsv5-sales-login-form .login-submit input,
#sgsv5-sales-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  border:0;
  background:#f37021;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.sgsv5-sales-guide-panel .sgsv5-process-guide{
  margin-top:10px;
}
@media (max-width:980px){
  .sgsv5-sales-filter{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sgsv5-sales-filter-search{
    grid-column:span 2;
  }
}
@media (max-width:760px){
  .sgsv5-phone-field{
    grid-template-columns:1fr;
  }
  .sgsv5-sales-head-row{
    flex-direction:column;
    align-items:stretch;
  }
  .sgsv5-sales-filter{
    grid-template-columns:1fr;
  }
  .sgsv5-sales-filter-search{
    grid-column:span 1;
  }
  .sgsv5-sales-table-wrap{
    display:none;
  }
  .sgsv5-sales-cards{
    display:grid;
  }
}


.sgsv5-sales-portal{
  max-width:none !important;
  width:100%;
  padding:18px clamp(12px,2vw,28px);
}
.sgsv5-sales-shell,
.sgsv5-sales-card-shell{
  max-width:none !important;
  width:100%;
}
.sgsv5-sales-portal .sgsv5-hub-table,
.sgsv5-sales-portal .sgsv5-sales-table{
  table-layout:auto;
}
.sgsv5-sales-stats-inline{
  margin:0 0 18px;
}
#sgsv5-sales-login-form .sgsv5-phone-country{
  min-height:52px;
}
.sgsv5-sales-portal .sgsv5-portal-card{
  box-shadow:0 10px 30px rgba(17,24,39,.05);
}
@media (max-width:760px){
  .sgsv5-sales-portal{
    padding:12px;
  }
}


@media (min-width:980px){
  .entry-content > .sgsv5-sales-portal,
  .wp-block-post-content > .sgsv5-sales-portal,
  .site-main .sgsv5-sales-portal{
    width:calc(100vw - 32px);
    max-width:calc(100vw - 32px) !important;
    margin-left:calc(50% - 50vw + 16px);
    margin-right:calc(50% - 50vw + 16px);
  }
}

/* v2.3.26 compact sales portal + resend fix */
.sgsv5-sales-portal{
  width:min(1180px,82vw) !important;
  max-width:min(1180px,82vw) !important;
  margin:0 auto !important;
  padding:10px 0 !important;
}
.sgsv5-sales-shell,
.sgsv5-sales-card-shell{
  width:100%;
  max-width:100% !important;
}
.sgsv5-sales-portal .sgsv5-gate{
  min-height:auto;
  padding:0;
}
.sgsv5-sales-portal .sgsv5-portal-card{
  padding:16px 18px;
  border-radius:16px;
  box-shadow:none;
}
.sgsv5-sales-portal h1{
  margin:0 0 6px;
  font-size:28px;
}
.sgsv5-sales-portal .sgsv5-portal-card > p{
  font-size:14px;
  margin:0 0 10px;
}
.sgsv5-sales-portal .sgsv5-banner{
  padding:10px 12px;
  border-radius:12px;
  margin-bottom:10px;
  font-size:14px;
}
.sgsv5-sales-head-row{
  margin:8px 0 10px;
  align-items:center;
  gap:12px;
}
.sgsv5-sales-eyebrow{
  font-size:10px;
  margin-bottom:2px;
}
.sgsv5-sales-portal .sgsv5-sales-head-row strong{
  font-size:20px;
}
.sgsv5-sales-stats{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:0 0 10px;
}
.sgsv5-sales-stat{
  padding:10px 12px;
  border-radius:12px;
}
.sgsv5-sales-stat span{
  font-size:10px;
  margin-bottom:4px;
}
.sgsv5-sales-stat strong{
  font-size:22px;
}
.sgsv5-sales-tabs{
  gap:8px;
  margin:0 0 10px;
}
.sgsv5-sales-tab{
  min-height:36px;
  padding:0 12px;
  font-size:14px;
  border-radius:999px;
}
.sgsv5-sales-portal .sgsv5-hub-request-panel{
  padding:12px 14px;
  border-radius:14px;
  margin-top:10px;
  background:#fff;
}
.sgsv5-sales-portal .sgsv5-hub-request-panel h2{
  font-size:19px;
  margin-bottom:6px;
}
.sgsv5-sales-portal .sgsv5-hub-request-panel > p{
  font-size:13px;
  margin-bottom:10px;
}
.sgsv5-sales-filter{
  grid-template-columns:repeat(4,minmax(0,1fr)) 150px;
  gap:8px;
  margin:8px 0 10px;
}
.sgsv5-sales-filter label{
  gap:4px;
  font-size:12px;
}
.sgsv5-sales-filter label span{
  font-size:10px;
}
.sgsv5-sales-filter select,
.sgsv5-sales-filter input{
  min-height:40px;
  border-radius:10px;
  font-size:14px;
  padding:0 12px;
}
.sgsv5-sales-filter-search{
  grid-column:span 2;
}
.sgsv5-sales-portal .sgsv5-hub-table-wrap{
  margin-top:8px;
}
.sgsv5-sales-portal .sgsv5-hub-table,
.sgsv5-sales-portal .sgsv5-sales-table{
  border-radius:14px;
}
.sgsv5-sales-portal .sgsv5-hub-table thead th,
.sgsv5-sales-portal .sgsv5-sales-table thead th{
  padding:9px 10px;
  font-size:10px;
}
.sgsv5-sales-portal .sgsv5-hub-table tbody td,
.sgsv5-sales-portal .sgsv5-sales-table tbody td{
  padding:9px 10px;
  font-size:13px;
  line-height:1.35;
}
.sgsv5-sales-portal .sgsv5-status-pill{
  font-size:11px;
  padding:4px 8px;
}
.sgsv5-sales-portal .sgsv5-sales-subtle,
.sgsv5-sales-portal .sgsv5-hub-table code{
  font-size:11px;
}
.sgsv5-sales-portal .sgsv5-hub-actions-stack{
  flex-direction:row;
  align-items:center;
  gap:6px;
  min-width:0;
}
.sgsv5-sales-portal .sgsv5-hub-actions-stack form,
.sgsv5-sales-portal .sgsv5-hub-actions-stack .sgsv5-btn,
.sgsv5-sales-portal .sgsv5-hub-actions-stack a{
  width:auto;
}
.sgsv5-sales-portal .sgsv5-btn,
.sgsv5-sales-portal .sgsv5-btn.secondary,
.sgsv5-sales-portal .sgsv5-btn.primary{
  height:34px;
  padding:0 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
}
.sgsv5-sales-portal .sgsv5-note-wrap{
  font-size:12px;
  line-height:1.5;
}
.sgsv5-sales-portal .sgsv5-sales-card{
  padding:12px;
  border-radius:14px;
}
.sgsv5-sales-portal .sgsv5-sales-card h3{
  margin:8px 0 10px;
  font-size:18px;
}
.sgsv5-sales-portal .sgsv5-sales-meta-grid{
  gap:8px 10px;
  margin-bottom:10px;
}
.sgsv5-sales-portal .sgsv5-sales-meta-grid strong{
  font-size:14px;
}
@media (max-width:1280px){
  .sgsv5-sales-portal,
  .entry-content > .sgsv5-sales-portal,
  .wp-block-post-content > .sgsv5-sales-portal,
  .site-main .sgsv5-sales-portal{
    width:min(1100px,92vw) !important;
    max-width:min(1100px,92vw) !important;
    margin:0 auto !important;
  }
}
@media (max-width:980px){
  .sgsv5-sales-stats{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .sgsv5-sales-filter{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sgsv5-sales-filter-search{
    grid-column:span 2;
  }
}
@media (max-width:760px){
  .sgsv5-sales-portal,
  .entry-content > .sgsv5-sales-portal,
  .wp-block-post-content > .sgsv5-sales-portal,
  .site-main .sgsv5-sales-portal{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:8px !important;
  }
  .sgsv5-sales-portal .sgsv5-portal-card{
    padding:14px 12px;
  }
  .sgsv5-sales-portal h1{
    font-size:22px;
  }
  .sgsv5-sales-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .sgsv5-sales-stat{
    padding:10px;
  }
  .sgsv5-sales-stat strong{
    font-size:20px;
  }
  .sgsv5-sales-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sgsv5-sales-tab{
    width:100%;
    min-height:34px;
    font-size:13px;
  }
  .sgsv5-sales-portal .sgsv5-hub-actions-stack{
    flex-direction:column;
    align-items:stretch;
  }
  .sgsv5-sales-portal .sgsv5-hub-actions-stack form,
  .sgsv5-sales-portal .sgsv5-hub-actions-stack .sgsv5-btn,
  .sgsv5-sales-portal .sgsv5-hub-actions-stack a{
    width:100%;
  }
}
.sgsv5-sales-fold summary{
  cursor:pointer;
  list-style:none;
  font-weight:800;
  color:#17335f;
  margin:-12px -14px 0;
  padding:12px 14px;
}
.sgsv5-sales-fold summary::-webkit-details-marker{display:none}
.sgsv5-sales-fold summary::after{
  content:'+';
  float:right;
  color:#64748b;
}
.sgsv5-sales-fold[open] summary::after{content:'−';}
.sgsv5-sales-fold[open] summary{border-bottom:1px solid #e7edf3; margin-bottom:8px;}
.sgsv5-sales-portal .sgsv5-sales-panel-intro{margin-bottom:8px;}


/* v2.3.27 design alignment outside the main quote builder */
.sgsv5-clean-ui{
  --sg-accent:#f37021;
  --sg-border:#e5e7eb;
  --sg-soft:#f9fafb;
  --sg-text:#111827;
  --sg-muted:#6b7280;
  --sg-link:#111827;
}
.sgsv5-clean-ui.sgsv5-sales-portal,
.sgsv5-clean-ui.sgsv5-customer-hub,
.sgsv5-process-guide-page.sgsv5-clean-ui,
.sgsv5-portal-body.sgsv5-clean-ui{
  background:#fff;
  color:var(--sg-text);
}
.sgsv5-clean-ui .sgsv5-logo{display:none !important;}
.sgsv5-clean-ui .sgsv5-portal-card,
.sgsv5-clean-ui .sgsv5-hub-request-panel,
.sgsv5-clean-ui .sgsv5-sales-stat,
.sgsv5-clean-ui .sgsv5-sales-card,
.sgsv5-clean-ui .sgsv5-guide-callout,
.sgsv5-clean-ui .sgsv5-guide-note,
.sgsv5-clean-ui .sgsv5-guide-mini-card,
.sgsv5-clean-ui .sgsv5-guide-link-card,
.sgsv5-clean-ui .sgsv5-guide-table-wrap,
.sgsv5-clean-ui .sgsv5-hub-table,
.sgsv5-clean-ui .sgsv5-sales-table,
.sgsv5-clean-ui .sgsv5-guide-faqs details,
.sgsv5-release-notes .sgsv5-guide-faqs details{
  border:1px solid var(--sg-border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 18px rgba(17,24,39,.06);
}
.sgsv5-clean-ui .sgsv5-banner{
  border-radius:12px;
}
.sgsv5-clean-ui .sgsv5-hub-request-panel,
.sgsv5-clean-ui .sgsv5-portal-card,
.sgsv5-clean-ui .sgsv5-sales-card,
.sgsv5-clean-ui .sgsv5-guide-mini-card,
.sgsv5-clean-ui .sgsv5-guide-link-card{
  padding:14px 16px;
}
.sgsv5-clean-ui h1,
.sgsv5-clean-ui h2,
.sgsv5-clean-ui h3,
.sgsv5-clean-ui strong{color:var(--sg-text);}
.sgsv5-clean-ui p,
.sgsv5-clean-ui li,
.sgsv5-clean-ui .sgsv5-guide-muted,
.sgsv5-clean-ui .sgsv5-sales-subtle,
.sgsv5-clean-ui .sgsv5-hub-kicker,
.sgsv5-clean-ui .sgsv5-guide-kicker{color:var(--sg-muted);}
.sgsv5-clean-ui .sgsv5-guide-hero h1{font-size:34px;line-height:1.15;text-align:center;}
.sgsv5-clean-ui .sgsv5-guide-hero p{max-width:980px;margin:0 auto;text-align:center;font-size:15px;line-height:1.75;}
.sgsv5-clean-ui .sgsv5-guide-pill-row{justify-content:center;gap:8px;}
.sgsv5-clean-ui .sgsv5-guide-pill{background:var(--sg-soft);border-color:var(--sg-border);color:var(--sg-text);padding:7px 10px;font-size:12px;}
.sgsv5-clean-ui .sgsv5-guide-section h2{font-size:26px;margin-bottom:10px;}
.sgsv5-clean-ui .sgsv5-guide-table th,
.sgsv5-clean-ui .sgsv5-hub-table thead th,
.sgsv5-clean-ui .sgsv5-sales-table thead th{background:var(--sg-soft);color:#4b5563;}
.sgsv5-clean-ui .sgsv5-guide-table td,
.sgsv5-clean-ui .sgsv5-hub-table tbody td,
.sgsv5-clean-ui .sgsv5-sales-table tbody td{color:var(--sg-text);}
.sgsv5-clean-ui .sgsv5-guide-faqs summary,
.sgsv5-release-notes .sgsv5-guide-faqs summary{font-weight:700;color:var(--sg-text);}
.sgsv5-release-notes ul{margin:8px 0 0 18px;padding:0;list-style:disc;}
.sgsv5-release-notes li{margin:6px 0;color:var(--sg-text);}
.sgsv5-release-body{padding-top:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui{
  width:min(1120px,80vw) !important;
  max-width:min(1120px,80vw) !important;
  margin:0 auto !important;
  padding:10px 0 !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card{padding:12px 14px;border-radius:12px;}
.sgsv5-sales-portal.sgsv5-clean-ui h1{font-size:26px;margin:0 0 4px;text-align:center;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card > p{font-size:13px;line-height:1.6;margin:0 0 8px;text-align:center;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-head-row{margin:6px 0 8px;align-items:center;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-head-row-compact{justify-content:space-between;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{grid-template-columns:repeat(3,minmax(0,1fr));}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat{padding:9px 10px;min-height:0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat span{font-size:10px;margin-bottom:4px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat strong{font-size:20px;line-height:1.15;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tabs{gap:8px;margin:0 0 8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tab{min-height:34px;padding:0 11px;font-size:13px;border-radius:999px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel{padding:12px 14px;border-radius:12px;margin-top:8px;background:#fff;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel h2{font-size:18px;margin:0 0 4px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-panel-intro,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel > p{font-size:13px;line-height:1.55;margin-bottom:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter{grid-template-columns:repeat(4,minmax(0,1fr)) 140px;gap:8px;margin:8px 0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter-search{grid-column:span 2;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter select,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter input{min-height:38px;border-radius:10px;padding:0 12px;font-size:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-wrap{margin-top:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table{border-radius:12px;min-width:880px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table thead th{padding:8px 9px;font-size:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table tbody td{padding:8px 9px;font-size:12px;line-height:1.35;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-status-pill{font-size:11px;padding:4px 7px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.secondary,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.primary,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.tertiary{height:32px;padding:0 10px;border-radius:10px;font-size:12px;font-weight:700;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack{gap:5px;flex-wrap:wrap;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack form,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack a{width:auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-fold summary{margin:-12px -14px 0;padding:10px 14px;}
.sgsv5-customer-hub.sgsv5-clean-ui{max-width:1120px;padding:10px 0;}
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-card h1{text-align:left;font-size:30px;margin-bottom:6px;}
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-card p{text-align:left;font-size:15px;line-height:1.7;}
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-head{margin:10px 0 12px;}
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-email{font-size:20px;}
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-request-panel h2{font-size:20px;}
.sgsv5-process-guide-page.sgsv5-clean-ui,
.sgsv5-process-guide-body.sgsv5-clean-ui{padding-top:10px;}
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-process-guide,
.sgsv5-process-guide-body.sgsv5-clean-ui .sgsv5-process-guide{max-width:1180px;margin:0 auto;}
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-guide-callout{border-left:4px solid var(--sg-accent);background:var(--sg-soft);color:var(--sg-text);}
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-guide-faqs details,
.sgsv5-process-guide-body.sgsv5-clean-ui .sgsv5-guide-faqs details{padding:12px 14px;}
@media (max-width:1100px){
  .sgsv5-sales-portal.sgsv5-clean-ui{width:min(1040px,92vw) !important;max-width:min(1040px,92vw) !important;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{grid-template-columns:repeat(3,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{grid-template-columns:repeat(3,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter-search{grid-column:span 2;}
}
@media (max-width:760px){
  .sgsv5-sales-portal.sgsv5-clean-ui{width:100% !important;max-width:100% !important;padding:8px !important;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tab{width:100%;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter-search{grid-column:span 1;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table-wrap{display:none;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-cards{display:grid;}
  .sgsv5-clean-ui .sgsv5-hub-actions,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack{flex-direction:column;align-items:stretch;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack form,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack .sgsv5-btn,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack a,
  .sgsv5-clean-ui .sgsv5-hub-actions form,
  .sgsv5-clean-ui .sgsv5-hub-actions .sgsv5-btn{width:100%;}
  .sgsv5-customer-hub.sgsv5-clean-ui,
  .sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-process-guide{padding:0 8px;}
}

/* v2.3.28 polished sales portal login */
.sgsv5-hidden{display:none !important;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui{
  --sg-auth-orange:#f37021;
  --sg-auth-orange-soft:rgba(243,112,33,.12);
  --sg-auth-orange-strong:#d85a0b;
  --sg-auth-text:#111827;
  --sg-auth-muted:#6b7280;
  --sg-auth-border:#e5e7eb;
  --sg-auth-soft:#f3f4f6;
  --sg-auth-card:#ffffff;
  --sg-auth-bg:#f4f7fb;
  --sg-auth-bg-2:#eef2f8;
  --sg-auth-input:#ffffff;
  --sg-auth-line:#d9e1eb;
  --sg-auth-shadow:0 20px 55px rgba(15,23,42,.14);
  --sg-auth-shadow-soft:0 10px 28px rgba(15,23,42,.08);
  --sg-auth-success:#166534;
  --sg-auth-success-bg:#ecfdf3;
  --sg-auth-success-line:#bbf7d0;
  --sg-auth-danger:#b42318;
  --sg-auth-danger-bg:#fef3f2;
  --sg-auth-danger-line:#fecaca;
  --sg-auth-focus:0 0 0 4px rgba(243,112,33,.14);
  position:relative;
  width:min(100%,560px);
  margin:0 auto;
  border:1px solid var(--sg-auth-border);
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243,112,33,.12), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(79,140,255,.08), transparent 30%),
    linear-gradient(180deg, var(--sg-auth-card) 0%, rgba(255,255,255,.96) 100%);
  box-shadow:var(--sg-auth-shadow);
  overflow:hidden;
  isolation:isolate;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--sg-auth-orange), rgba(243,112,33,.25));
  opacity:.95;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"]{
  --sg-auth-text:#f8fafc;
  --sg-auth-muted:#93a4bc;
  --sg-auth-border:rgba(255,255,255,.08);
  --sg-auth-soft:#162336;
  --sg-auth-card:rgba(13,26,44,.92);
  --sg-auth-bg:#020817;
  --sg-auth-bg-2:#04101f;
  --sg-auth-input:rgba(255,255,255,.04);
  --sg-auth-line:rgba(255,255,255,.10);
  --sg-auth-shadow:0 26px 75px rgba(0,0,0,.55);
  --sg-auth-shadow-soft:0 12px 32px rgba(0,0,0,.30);
  --sg-auth-success:#86efac;
  --sg-auth-success-bg:rgba(22,101,52,.18);
  --sg-auth-success-line:rgba(134,239,172,.24);
  --sg-auth-danger:#fda29b;
  --sg-auth-danger-bg:rgba(180,35,24,.18);
  --sg-auth-danger-line:rgba(253,162,155,.20);
  --sg-auth-focus:0 0 0 4px rgba(243,112,33,.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(243,112,33,.16), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(79,140,255,.12), transparent 28%),
    linear-gradient(180deg, rgba(2,8,23,.98) 0%, rgba(4,16,31,.94) 100%);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-card-inner{padding:24px 24px 18px;position:relative;z-index:1;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-top{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin-bottom:18px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-brand{min-width:0;flex:1 1 auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-logo{display:inline-flex;align-items:center;min-height:60px;margin-bottom:12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-logo img{display:block;height:54px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 1px 0 rgba(255,255,255,.06));}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--sg-auth-orange);margin:0 0 8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-title{margin:0;font-size:32px;line-height:1.05;letter-spacing:-.02em;color:var(--sg-auth-text);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-subtitle{margin:12px 0 0;font-size:14px;line-height:1.65;color:var(--sg-auth-muted);max-width:36ch;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle{
  appearance:none;border:1px solid var(--sg-auth-border);background:rgba(255,255,255,.04);color:var(--sg-auth-text);
  border-radius:999px;min-height:42px;padding:6px 12px 6px 8px;display:inline-flex;align-items:center;gap:10px;cursor:pointer;
  box-shadow:var(--sg-auth-shadow-soft);transition:transform .16s ease,border-color .16s ease,background .16s ease;flex:0 0 auto;white-space:nowrap;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle:hover{transform:translateY(-1px);border-color:rgba(243,112,33,.35);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle:focus-visible{outline:none;box-shadow:var(--sg-auth-focus);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle-track{width:48px;height:28px;background:var(--sg-auth-soft);border:1px solid var(--sg-auth-border);border-radius:999px;position:relative;flex:0 0 auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle-thumb{width:20px;height:20px;border-radius:999px;background:linear-gradient(180deg,#ffffff 0%,#f0f3f8 100%);position:absolute;top:3px;left:3px;box-shadow:0 3px 10px rgba(15,23,42,.18);transition:transform .2s ease;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-toggle-thumb{transform:translateX(20px);background:linear-gradient(180deg, rgba(243,112,33,.95) 0%, rgba(216,90,11,.95) 100%);box-shadow:0 4px 14px rgba(243,112,33,.28);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle-text{font-size:12px;font-weight:700;color:var(--sg-auth-muted);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding:12px 14px;border-radius:16px;background:linear-gradient(180deg, rgba(243,112,33,.08), rgba(243,112,33,.04));border:1px solid rgba(243,112,33,.18);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-meta{background:linear-gradient(180deg, rgba(243,112,33,.12), rgba(243,112,33,.05));border-color:rgba(243,112,33,.22);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--sg-auth-text);background:rgba(255,255,255,.6);border:1px solid rgba(243,112,33,.2);box-shadow:var(--sg-auth-shadow-soft);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-pill{background:rgba(255,255,255,.035);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-pill-dot{width:8px;height:8px;border-radius:999px;background:var(--sg-auth-orange);box-shadow:0 0 0 5px rgba(243,112,33,.14);flex:0 0 auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta-note{font-size:12px;line-height:1.55;color:var(--sg-auth-muted);max-width:46ch;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui .sgsv5-banner{margin:0 0 12px;padding:12px 14px;border-radius:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-field{margin-bottom:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-label-row label,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-field > label{display:block;font-size:12px;font-weight:700;color:var(--sg-auth-muted);margin-bottom:6px;letter-spacing:.01em;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-link{color:var(--sg-auth-orange);text-decoration:none;font-size:12px;font-weight:700;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-link:hover{text-decoration:underline;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap{display:flex;align-items:center;gap:10px;min-height:54px;padding:0 14px;border-radius:16px;border:1px solid var(--sg-auth-line);background:var(--sg-auth-input);transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap:focus-within{border-color:rgba(243,112,33,.55);box-shadow:var(--sg-auth-focus);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-icon{flex:0 0 auto;width:18px;height:18px;color:var(--sg-auth-muted);opacity:.9;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input[type="text"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input[type="password"]{appearance:none;width:100%;min-width:0;background:transparent;border:0;outline:none;color:var(--sg-auth-text);font-size:15px;line-height:1.3;padding:15px 0;font-family:inherit;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form input[type="text"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form input[type="password"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form .sgsv5-auth-select{width:100%;min-height:52px;border:1px solid var(--sg-auth-line);border-radius:16px;padding:0 14px;background:var(--sg-auth-input);color:var(--sg-auth-text);font:inherit;box-shadow:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form .sgsv5-auth-select:focus,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form input[type="text"]:focus,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form input[type="password"]:focus{outline:none;border-color:rgba(243,112,33,.55);box-shadow:var(--sg-auth-focus);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input::placeholder,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-field input::placeholder{color:var(--sg-auth-muted);opacity:.78;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-ghost{appearance:none;border:0;background:transparent;color:var(--sg-auth-muted);font-size:12px;font-weight:800;letter-spacing:.03em;cursor:pointer;padding:8px 0 8px 8px;flex:0 0 auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-ghost:hover{color:var(--sg-auth-orange);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-check{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:13px;font-weight:600;color:var(--sg-auth-muted);cursor:pointer;user-select:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-check input{appearance:none;margin:0;width:18px;height:18px;border-radius:6px;border:1px solid var(--sg-auth-line);background:var(--sg-auth-input);display:grid;place-items:center;cursor:pointer;position:relative;transition:border-color .16s ease, background .16s ease;flex:0 0 auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-check input:checked{background:var(--sg-auth-orange);border-color:var(--sg-auth-orange);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-check input:checked::after{content:'';width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px);display:block;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-inline-note{font-size:12px;font-weight:700;color:var(--sg-auth-muted);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-message{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;padding:12px 13px;border-radius:16px;margin-bottom:12px;border:1px solid transparent;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-message::before{content:'';width:9px;height:9px;border-radius:999px;margin-top:5px;flex:0 0 auto;background:currentColor;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-message.error{color:var(--sg-auth-danger);background:var(--sg-auth-danger-bg);border-color:var(--sg-auth-danger-line);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-message.status{color:var(--sg-auth-success);background:var(--sg-auth-success-bg);border-color:var(--sg-auth-success-line);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn{appearance:none;width:100%;min-height:54px;border:0;border-radius:16px;color:#fff;font-size:15px;font-weight:800;letter-spacing:.01em;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;text-decoration:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit{background:linear-gradient(180deg, var(--sg-auth-orange) 0%, var(--sg-auth-orange-strong) 100%);box-shadow:0 14px 28px rgba(243,112,33,.24);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit:hover,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn:hover{transform:translateY(-1px);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit:focus-visible,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn:focus-visible{outline:none;box-shadow:var(--sg-auth-focus);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit:disabled{cursor:wait;transform:none;filter:grayscale(.08);box-shadow:none;opacity:.92;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn{background:#1f365c;box-shadow:0 12px 24px rgba(17,24,39,.12);margin-top:4px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-secondary-btn{background:#0f172a;color:#f8fafc;border:1px solid rgba(255,255,255,.10);box-shadow:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-spinner{width:16px;height:16px;border-radius:999px;border:2px solid rgba(255,255,255,.32);border-top-color:#fff;animation:sgsv5-auth-spin .9s linear infinite;display:inline-block;}
@keyframes sgsv5-auth-spin{to{transform:rotate(360deg);}}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0 14px;color:var(--sg-auth-muted);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-divider::before,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-divider::after{content:'';height:1px;background:var(--sg-auth-border);flex:1 1 auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-feature{border:1px solid var(--sg-auth-border);border-radius:16px;background:rgba(255,255,255,.5);padding:12px;min-height:102px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-feature{background:rgba(255,255,255,.02);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-feature h3{margin:0 0 6px;font-size:13px;line-height:1.25;color:var(--sg-auth-text);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-feature p{margin:0;font-size:12px;line-height:1.55;color:var(--sg-auth-muted);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form{margin:0 0 14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:10px 12px;margin-bottom:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-note{margin-top:16px;padding:12px 14px;border-radius:16px;background:rgba(79,140,255,.08);border:1px solid rgba(79,140,255,.16);color:var(--sg-auth-muted);font-size:12.5px;line-height:1.6;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-note{background:rgba(79,140,255,.10);border-color:rgba(79,140,255,.18);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-note strong{color:var(--sg-auth-text);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--sg-auth-border);margin-top:16px;padding:14px 0 0;font-size:12px;color:var(--sg-auth-muted);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer-tag{padding:6px 10px;border-radius:999px;border:1px solid var(--sg-auth-border);background:rgba(255,255,255,.5);font-weight:700;color:var(--sg-auth-text);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-footer-tag{background:rgba(255,255,255,.03);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-build{font-weight:700;color:var(--sg-auth-muted);}
@media (max-width:720px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-card-inner{padding:22px 18px 16px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-top{flex-direction:column;align-items:stretch;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle{align-self:flex-start;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-title{font-size:28px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-features{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-grid{grid-template-columns:1fr;}
}
@media (max-width:520px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui{border-radius:22px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta{padding:10px 12px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta-note{max-width:none;width:100%;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-title{font-size:26px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-subtitle{max-width:none;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn{min-height:52px;}
}

/* v2.3.29 iPhone-tight auth polish + legacy portal cleanup */
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui{
  width:min(100%, 528px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-card-inner{
  padding:22px 22px 16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-top{
  gap:14px;
  margin-bottom:16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-logo{
  min-height:54px;
  margin-bottom:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-logo img{
  height:48px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-title{
  font-size:30px;
  line-height:1.02;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-subtitle{
  margin:10px 0 0;
  font-size:13.5px;
  line-height:1.6;
  max-width:38ch;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-proof{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-proof-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(243,112,33,.18);
  background:rgba(243,112,33,.08);
  color:var(--sg-auth-text);
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-proof-pill{
  background:rgba(243,112,33,.12);
  border-color:rgba(243,112,33,.24);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle{
  min-height:40px;
  padding:5px 11px 5px 8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta{
  margin-bottom:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form input[type="text"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form input[type="password"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form .sgsv5-auth-select{
  min-height:50px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input[type="text"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input[type="password"]{
  padding:13px 0;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn{
  min-height:50px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-divider{
  margin:14px 0 12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-feature{
  min-height:0;
  padding:11px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-form{
  margin:0 0 12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-note{
  margin-top:12px;
  padding:11px 13px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer{
  margin-top:14px;
  padding-top:12px;
}
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-gate-form input[type="email"],
.sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-gate-form .sgsv5-btn{
  min-height:50px;
}
@media (max-width:720px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-title{
    font-size:28px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-proof{
    gap:7px;
  }
}
@media (max-width:520px){
  .sgsv5-sales-portal.sgsv5-clean-ui{
    padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)) !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui{
    border-radius:20px;
    width:100%;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-card-inner{
    padding:18px 16px 14px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-top{
    gap:12px;
    margin-bottom:14px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-logo{
    min-height:48px;
    margin-bottom:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-logo img{
    height:42px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle{
    min-height:36px;
    padding:4px 8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle-text{
    display:none;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-toggle-track{
    width:44px;
    height:26px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-ui[data-theme="dark"] .sgsv5-auth-toggle-thumb{
    transform:translateX(18px);
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta{
    padding:10px 11px;
    gap:10px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-pill,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-proof-pill{
    min-height:26px;
    padding:0 9px;
    font-size:10px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-title{
    font-size:24px;
    line-height:1.03;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-subtitle{
    font-size:13px;
    line-height:1.5;
    margin-top:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-proof{
    margin-top:10px;
    gap:6px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-field{
    margin-bottom:12px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap{
    min-height:48px;
    padding:0 12px;
    gap:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input[type="text"],
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-input-wrap input[type="password"]{
    padding:12px 0;
    font-size:16px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-ghost{
    font-size:11px;
    padding-left:6px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-controls{
    margin:2px 0 10px;
    gap:10px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-check{
    font-size:12px;
    gap:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-inline-note,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-link,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-meta-note,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-feature p,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-note,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-build{
    font-size:11px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-secondary-btn,
  .sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-gate-form input[type="email"],
  .sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-gate-form .sgsv5-btn{
    min-height:48px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-divider{
    margin:12px 0 10px;
    font-size:10px;
    gap:10px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-features{
    display:none;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-alt-grid{
    gap:8px;
    margin-bottom:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-note{
    margin-top:10px;
    padding:10px 11px;
    line-height:1.5;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer{
    margin-top:12px;
    padding-top:10px;
    gap:8px;
    align-items:flex-start;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer-left{
    width:100%;
    gap:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-footer-left span:last-child{
    display:none;
  }
  .sgsv5-customer-hub.sgsv5-clean-ui,
  .sgsv5-sales-portal.sgsv5-clean-ui{
    width:100% !important;
    max-width:100% !important;
  }
  .sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-card{
    padding:14px 14px 12px;
  }
  .sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-card h1{
    font-size:24px;
    margin-bottom:4px;
  }
  .sgsv5-customer-hub.sgsv5-clean-ui .sgsv5-hub-card p{
    font-size:13px;
    line-height:1.55;
  }
}

/* Unified intake forms */
.sgsv5-intake-wrap{max-width:980px;margin:0 auto;padding:20px 0;color:#14233b}
.sgsv5-intake-card{background:#fff;border:1px solid #d8dee6;border-radius:30px;box-shadow:0 24px 60px rgba(15,23,42,.06);padding:clamp(22px,3vw,34px)}
.sgsv5-intake-head{margin-bottom:18px}
.sgsv5-intake-kicker{display:inline-block;margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:#0f8ea4}
.sgsv5-intake-title{margin:0 0 10px;font-size:clamp(32px,4vw,48px);line-height:1.04;color:#17335f;letter-spacing:-.04em}
.sgsv5-intake-intro{margin:0;max-width:880px;color:#5f6f86;font-size:18px;line-height:1.7}
.sgsv5-intake-pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.sgsv5-intake-pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef4fb;border:1px solid #dbe7f3;color:#1f365c;font-size:13px;font-weight:700}
.sgsv5-intake-notice{margin:0 0 16px;padding:14px 16px;border-radius:16px;border:1px solid #d8dee6;font-weight:700}
.sgsv5-intake-notice.success{background:#effaf3;border-color:#b8e3c2;color:#146c43}
.sgsv5-intake-notice.error{background:#fff4e5;border-color:#f3c98b;color:#92400e}
.sgsv5-intake-form{display:grid;gap:16px}
.sgsv5-intake-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.sgsv5-intake-field{display:block}
.sgsv5-intake-field span{display:block;margin:0 0 7px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#56657a}
.sgsv5-intake-field input,.sgsv5-intake-field select,.sgsv5-intake-field textarea{width:100%;border:1px solid #cfd7e3;border-radius:18px;background:#fff;padding:16px 18px;font:inherit;color:#12253f;box-shadow:none;outline:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.sgsv5-intake-field textarea{resize:vertical;min-height:148px}
.sgsv5-intake-field input:focus,.sgsv5-intake-field select:focus,.sgsv5-intake-field textarea:focus{border-color:rgba(243,112,33,.9);box-shadow:0 0 0 4px rgba(243,112,33,.12)}
.sgsv5-intake-field-full{grid-column:1 / -1}
.sgsv5-intake-phone-row{display:grid;grid-template-columns:minmax(140px,220px) minmax(0,1fr);gap:10px;align-items:stretch}
.sgsv5-intake-phone-country{max-width:100%}
.sgsv5-intake-actions{display:flex;align-items:center;justify-content:flex-start;padding-top:4px}
.sgsv5-intake-submit{appearance:none;border:0;border-radius:999px;background:#d17838;color:#fff;font:inherit;font-weight:800;line-height:1;padding:16px 26px;min-width:220px;cursor:pointer;box-shadow:0 14px 34px rgba(209,120,56,.22);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.sgsv5-intake-submit:hover{transform:translateY(-1px);box-shadow:0 18px 40px rgba(209,120,56,.26)}
.sgsv5-intake-submit:active{transform:translateY(0)}
.sgsv5-intake-radio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.sgsv5-intake-radio{position:absolute;opacity:0;pointer-events:none}
.sgsv5-intake-choice{display:flex;flex-direction:column;gap:6px;border:1px solid #d8dee6;border-radius:22px;background:#fff;padding:18px 18px 17px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;color:#17335f}
.sgsv5-intake-choice strong{font-size:18px;line-height:1.25}
.sgsv5-intake-choice span{color:#5f6f86;line-height:1.55}
.sgsv5-intake-radio:checked + .sgsv5-intake-choice{border-color:#d17838;box-shadow:0 0 0 4px rgba(209,120,56,.12);transform:translateY(-1px)}
.sgsv5-intake-panels{grid-column:1 / -1}
.sgsv5-intake-panel{display:none}
.sgsv5-intake-callout{margin:2px 0 0;border:1px solid #dbe7f3;border-radius:20px;background:#f7fafc;padding:15px 18px;color:#44566e;line-height:1.65}
.sgsv5-intake-shortcodes{display:flex;gap:10px;flex-wrap:wrap}
.sgsv5-intake-shortcodes code{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #d8dee6}
@media (max-width:900px){
  .sgsv5-intake-grid,.sgsv5-intake-radio-grid{grid-template-columns:1fr}
  .sgsv5-intake-phone-row{grid-template-columns:1fr}
}
@media (max-width:640px){
  .sgsv5-intake-wrap{padding:10px 0}
  .sgsv5-intake-card{border-radius:24px;padding:18px}
  .sgsv5-intake-kicker{font-size:11px;letter-spacing:.18em}
  .sgsv5-intake-title{font-size:clamp(28px,10vw,40px)}
  .sgsv5-intake-intro{font-size:16px;line-height:1.65}
  .sgsv5-intake-pill-row{gap:8px}
  .sgsv5-intake-pill{font-size:12px;padding:7px 10px}
  .sgsv5-intake-field span{margin-bottom:6px;font-size:11px}
  .sgsv5-intake-field input,.sgsv5-intake-field select,.sgsv5-intake-field textarea{padding:14px 15px;border-radius:16px}
  .sgsv5-intake-choice{border-radius:18px;padding:15px}
  .sgsv5-intake-choice strong{font-size:17px}
  .sgsv5-intake-submit{width:100%;min-width:0;padding:16px 20px}
}

/* v2.3.31 unified demo intake */
.sgsv5-intake-card-demo-switch{display:grid;gap:18px}
.sgsv5-demo-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sgsv5-demo-path{display:block;appearance:none;border:1px solid #d8dee6;background:#fff;border-radius:22px;padding:18px 18px 17px;text-align:left;color:#17335f;text-decoration:none;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.sgsv5-demo-path strong{display:block;font-size:18px;line-height:1.22;margin:0 0 6px}
.sgsv5-demo-path span{display:block;color:#5f6f86;line-height:1.55}
.sgsv5-demo-path.is-active{border-color:#d17838;box-shadow:0 0 0 4px rgba(209,120,56,.12);transform:translateY(-1px)}
.sgsv5-demo-panel-stack{display:grid;gap:18px}
.sgsv5-demo-route-panel{display:none;gap:16px}
.sgsv5-demo-route-panel.is-active{display:grid}
.sgsv5-demo-panel-head{padding:2px 2px 0}
.sgsv5-demo-panel-head h3{margin:0 0 6px;font-size:24px;line-height:1.12;color:#17335f}
.sgsv5-demo-panel-head p{margin:0;color:#5f6f86;font-size:15px;line-height:1.65}
.sgsv5-demo-planner-host{padding-top:2px}
.sgsv5-intake-card-demo-planner-head .sgsv5-demo-planner-host{padding-top:8px}
.sgsv5-demo-planner-form{margin:0}
.sgsv5-demo-planner .wizardCard{box-shadow:none;border-radius:24px}
.sgsv5-demo-planner .topBar,.sgsv5-demo-planner .stepper,.sgsv5-demo-planner .navBar{background:#fff}
.sgsv5-demo-planner .panelWrap{padding:16px}
@media (max-width:900px){
  .sgsv5-demo-path-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .sgsv5-demo-panel-head h3{font-size:21px}
  .sgsv5-demo-panel-head p{font-size:14px;line-height:1.6}
}

/* v2.3.38 public deployment polish */
.sgsv5-front-page,
.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-quote-page,
.sgsv5-process-guide-page.sgsv5-clean-ui{
  --sg-front-surface:#ffffff;
  --sg-front-border:#dbe4ee;
  --sg-front-text:#17335f;
  --sg-front-muted:#607087;
  --sg-front-shadow:0 24px 64px rgba(15,23,42,.08);
  --sg-front-shadow-mobile:0 16px 40px rgba(15,23,42,.08);
  --sg-front-radius:28px;
  --sg-front-radius-mobile:22px;
}
.sgsv5-wrap.sgsv5-front-page,
.sgsv5-intake-wrap.sgsv5-front-page{
  width:min(1180px, 100%);
  max-width:min(1180px, 100%);
}
.sgsv5-wrap.sgsv5-front-page{
  padding:16px;
}
.sgsv5-intake-wrap.sgsv5-front-page{
  padding:16px 0;
}
.sgsv5-intake-card,
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
.sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
.sgsv5-quote-page .sgsv5-quote-top,
.sgsv5-quote-page .sgsv5-proposal-shell,
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-guide-shell,
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-guide-card{
  border-color:var(--sg-front-border);
  border-radius:var(--sg-front-radius);
  box-shadow:var(--sg-front-shadow);
}
.sgsv5-intake-card{
  border-radius:var(--sg-front-radius);
  box-shadow:var(--sg-front-shadow);
}
.sgsv5-intake-head,
.sgsv5-demo-panel-head,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-head,
.sgsv5-wrap.sgsv5-front-page .sgsv5-phone-help,
.sgsv5-wrap.sgsv5-front-page .sgsv5-hub-request-panel > p{
  color:var(--sg-front-muted);
}
.sgsv5-intake-kicker,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-kicker{
  color:#0f8ea4;
}
.sgsv5-intake-title,
.sgsv5-demo-panel-head h3,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel h2{
  color:var(--sg-front-text);
}
.sgsv5-intake-card,
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
.sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel{
  background:#fff;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar{
  padding:16px 18px;
  align-items:center;
  margin-bottom:18px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel{
  padding:18px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-option-group,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section{
  border-radius:22px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-option-group,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section{
  border:1px solid var(--sg-front-border);
  background:#fbfcfe;
}
.sgsv5-intake-field input,
.sgsv5-intake-field select,
.sgsv5-intake-field textarea,
.sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid input,
.sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid select,
.sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid textarea,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate-form input[type="email"],
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel input,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel select,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel textarea{
  border-color:#cfd8e3;
  border-radius:18px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid input,
.sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid select,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate-form input[type="email"],
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel input,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel select{
  min-height:52px;
  padding-left:16px;
  padding-right:16px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid textarea,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel textarea{
  min-height:150px;
  padding:14px 16px;
}
.sgsv5-intake-submit,
.sgsv5-wrap.sgsv5-front-page .sgsv5-select,
.sgsv5-wrap.sgsv5-front-page .sgsv5-btn.primary,
.sgsv5-wrap.sgsv5-front-page .sgsv5-buttons .primary,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate-actions .primary,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel .primary{
  min-height:52px;
  border-radius:999px;
  box-shadow:0 14px 34px rgba(209,120,56,.22);
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-btn.tertiary,
.sgsv5-wrap.sgsv5-front-page .sgsv5-link-btn,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-btn.tertiary,
.sgsv5-demo-path,
.sgsv5-demo-panel-stack .sgsv5-demo-route-panel{
  border-radius:22px;
}
.sgsv5-demo-path{
  min-height:148px;
}
.sgsv5-demo-route-panel{
  padding:4px 2px 0;
}
.sgsv5-demo-panel-head{
  padding:2px 4px 2px;
}
.sgsv5-demo-panel-head h3{
  font-size:26px;
  margin-bottom:8px;
}
.sgsv5-demo-panel-head p{
  font-size:15px;
  line-height:1.65;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate{
  min-height:auto;
  padding:0;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card{
  max-width:none;
  text-align:left;
  padding:clamp(22px,3vw,34px);
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1{
  font-size:clamp(32px,4vw,46px);
  line-height:1.03;
  letter-spacing:-.04em;
  margin:0 0 10px;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p{
  max-width:820px;
  font-size:17px;
  line-height:1.68;
  margin:0 0 18px;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-head{
  margin:10px 0 16px;
  padding:14px 16px;
  border-radius:22px;
  background:#f7fafc;
  border:1px solid var(--sg-front-border);
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-email{
  font-size:24px;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate-form,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-form{
  margin-top:16px;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-note-wrap,
.sgsv5-wrap.sgsv5-front-page .sgsv5-phone-help{
  margin-top:10px;
  font-size:13px;
  line-height:1.6;
}
.sgsv5-front-page .sgsv5-banner,
.sgsv5-intake-notice{
  border-radius:18px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel h4,
.sgsv5-wrap.sgsv5-front-page .sgsv5-option-group h4{
  color:var(--sg-front-text);
}
.sgsv5-front-quote-page .sgsv5-bottom{
  align-items:start;
}
@media (max-width:900px){
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar{
    grid-template-columns:1fr;
    justify-items:center;
  }
  .sgsv5-demo-path{min-height:0;}
}
@media (max-width:760px){
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-quote-page{
    padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }
  .sgsv5-intake-card,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
  .sgsv5-quote-page .sgsv5-quote-top,
  .sgsv5-quote-page .sgsv5-proposal-shell{
    border-radius:var(--sg-front-radius-mobile);
    box-shadow:var(--sg-front-shadow-mobile);
  }
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel{
    padding:14px;
  }
  .sgsv5-intake-card{
    padding:18px;
  }
  .sgsv5-intake-title,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1{
    font-size:clamp(28px,10vw,40px);
  }
  .sgsv5-intake-intro,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p{
    font-size:15px;
    line-height:1.62;
  }
  .sgsv5-intake-pill,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-status-pill{
    font-size:12px;
  }
  .sgsv5-demo-path{
    padding:16px 15px;
    border-radius:20px;
  }
  .sgsv5-demo-path strong{
    font-size:17px;
  }
  .sgsv5-demo-path span,
  .sgsv5-demo-panel-head p{
    font-size:14px;
    line-height:1.58;
  }
  .sgsv5-demo-panel-head h3{
    font-size:22px;
  }
  .sgsv5-intake-field input,
  .sgsv5-intake-field select,
  .sgsv5-intake-field textarea,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid input,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid select,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-form-grid textarea,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate-form input[type="email"],
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel input,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel select,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel textarea{
    border-radius:16px;
    font-size:16px;
  }
  .sgsv5-intake-submit,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-select,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-btn.primary,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-buttons .primary,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-gate-actions .primary,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel .primary,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-btn.tertiary{
    min-height:50px;
  }
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-head{
    padding:12px 14px;
    border-radius:18px;
  }
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-email{
    font-size:20px;
  }
}
@media (max-width:520px){
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-quote-page{
    padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }
  .sgsv5-intake-card,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
  .sgsv5-quote-page .sgsv5-quote-top,
  .sgsv5-quote-page .sgsv5-proposal-shell{
    border-radius:20px;
  }
  .sgsv5-intake-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card{
    padding:16px 14px 14px;
  }
  .sgsv5-intake-kicker{font-size:11px;letter-spacing:.18em;}
  .sgsv5-intake-title,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1{font-size:24px;line-height:1.03;}
  .sgsv5-intake-intro,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p{font-size:13px;line-height:1.55;}
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar{padding:12px;gap:10px;}
  .sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel{padding:12px;}
  .sgsv5-demo-path{padding:14px 13px;border-radius:18px;}
  .sgsv5-demo-panel-head h3{font-size:20px;}
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-head{padding:10px 12px;gap:10px;}
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-email{font-size:18px;}
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel{border-radius:18px;}
}


/* v2.3.39 front-end finishing pass */
.sgsv5-front-page,
.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-wrap.sgsv5-front-page,
.sgsv5-customer-hub.sgsv5-front-page,
.sgsv5-process-guide-page.sgsv5-clean-ui{
  width:75%;
  max-width:1400px;
  margin-left:auto;
  margin-right:auto;
}
.sgsv5-wrap.sgsv5-front-page,
.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-customer-hub.sgsv5-front-page,
.sgsv5-process-guide-page.sgsv5-clean-ui{
  padding-top:18px;
  padding-bottom:24px;
}
.sgsv5-intake-wrap.sgsv5-front-page{
  max-width:none;
}
.sgsv5-intake-card,
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
.sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-guide-shell,
.sgsv5-process-guide-page.sgsv5-clean-ui .sgsv5-guide-card{
  border-radius:26px;
}
.sgsv5-intake-card{
  padding:clamp(24px,2.8vw,36px);
}
.sgsv5-intake-title,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1{
  letter-spacing:-.045em;
}
.sgsv5-intake-intro,
.sgsv5-demo-panel-head p,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p{
  max-width:960px;
}
.sgsv5-demo-path-grid{
  margin-top:4px;
  align-items:stretch;
}
.sgsv5-demo-path{
  min-height:134px;
  padding:20px 20px 18px;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%);
}
.sgsv5-demo-path strong{
  font-size:20px;
}
.sgsv5-demo-path span{
  font-size:15px;
  line-height:1.6;
}
.sgsv5-demo-panel-stack{
  display:block;
  margin-top:2px;
}
.sgsv5-demo-route-panel,
.sgsv5-demo-panel-stack .sgsv5-demo-route-panel{
  display:grid;
  gap:18px;
  padding:24px;
  border:1px solid var(--sg-front-border);
  border-radius:26px;
  background:linear-gradient(180deg,#ffffff 0%,#fcfdff 100%);
  box-shadow:0 18px 44px rgba(15,23,42,.05);
}
.sgsv5-demo-route-panel.is-active{
  display:grid;
}
.sgsv5-demo-route-panel-standard .sgsv5-intake-form{
  margin-top:2px;
}
.sgsv5-demo-route-panel-tailored .sgsv5-demo-planner-host{
  padding-top:0;
}
.sgsv5-demo-panel-head{
  padding:0;
}
.sgsv5-demo-panel-head h3{
  margin:0 0 8px;
  font-size:clamp(24px,2.8vw,32px);
  line-height:1.06;
  letter-spacing:-.03em;
}
.sgsv5-demo-panel-head p{
  margin:0;
  font-size:16px;
  line-height:1.68;
}
.sgsv5-demo-planner-host,
.sgsv5-demo-planner,
.sgsv5-demo-planner .v5-demoWizard{
  width:100%;
}
.sgsv5-demo-planner .v5-demoWizard{
  max-width:none;
  margin:0;
  padding:0;
}
.sgsv5-demo-planner .wizardCard{
  border-radius:24px;
  border-color:#dbe4ee;
  box-shadow:0 18px 42px rgba(15,23,42,.06);
}
.sgsv5-demo-planner .topBar{
  padding:14px 18px;
  background:#fff8f2;
}
.sgsv5-demo-planner .stepper,
.sgsv5-demo-planner .navBar{
  padding-left:18px;
  padding-right:18px;
}
.sgsv5-demo-planner .panelWrap{
  padding:18px;
}
.sgsv5-demo-planner .h1{
  font-size:22px;
  line-height:1.18;
}
.sgsv5-demo-planner .hint,
.sgsv5-demo-planner .checkRow .ctxt span,
.sgsv5-demo-planner .featMiniMeta,
.sgsv5-demo-planner .modOne,
.sgsv5-demo-planner .featMiniBody,
.sgsv5-demo-planner .reviewBox ul,
.sgsv5-demo-planner .callout{
  color:#607087;
}
.sgsv5-demo-planner .contactCard,
.sgsv5-demo-planner .reviewBox,
.sgsv5-demo-planner details.module,
.sgsv5-demo-planner .featMini,
.sgsv5-demo-planner .checkRow{
  border-color:#dbe4ee;
  border-radius:18px;
}
.sgsv5-demo-planner .contactHead,
.sgsv5-demo-planner .callout,
.sgsv5-demo-planner .featMiniBody,
.sgsv5-demo-planner .modBody,
.sgsv5-demo-planner .panelWrap,
.sgsv5-demo-planner .stepper,
.sgsv5-demo-planner .navBar{
  background:#fff;
}
.sgsv5-demo-planner .contactGrid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.sgsv5-demo-planner .contactBody .txt,
.sgsv5-demo-planner input.txt,
.sgsv5-demo-planner textarea.txt,
.sgsv5-demo-planner select.txt{
  border-radius:16px;
  border-color:#cfd8e3;
  min-height:52px;
  padding:14px 15px;
}
.sgsv5-demo-planner textarea.txt{
  min-height:110px;
}
.sgsv5-demo-planner .btn,
.sgsv5-demo-planner .navBar .btn{
  min-height:48px;
  border-radius:14px;
}
.sgsv5-demo-planner .navBar .btn.primary,
.sgsv5-demo-planner #sendEmailBtn.btn.primary,
.sgsv5-demo-planner #smartFitBtn.btn.primary{
  border-radius:999px;
}
.sgsv5-process-guide-page.sgsv5-clean-ui{
  padding-left:0;
  padding-right:0;
}
@media (max-width:1280px){
  .sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-customer-hub.sgsv5-front-page,
  .sgsv5-process-guide-page.sgsv5-clean-ui{
    width:82%;
  }
}
@media (max-width:980px){
  .sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-customer-hub.sgsv5-front-page,
  .sgsv5-process-guide-page.sgsv5-clean-ui{
    width:90%;
  }
  .sgsv5-demo-route-panel,
  .sgsv5-demo-panel-stack .sgsv5-demo-route-panel{
    padding:18px;
  }
}
@media (max-width:760px){
  .sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-customer-hub.sgsv5-front-page,
  .sgsv5-process-guide-page.sgsv5-clean-ui{
    width:100%;
    max-width:none;
  }
  .sgsv5-demo-path{
    min-height:0;
    padding:16px 15px;
    border-radius:20px;
  }
  .sgsv5-demo-path strong{
    font-size:18px;
  }
  .sgsv5-demo-path span,
  .sgsv5-demo-panel-head p{
    font-size:14px;
    line-height:1.58;
  }
  .sgsv5-demo-route-panel,
  .sgsv5-demo-panel-stack .sgsv5-demo-route-panel{
    padding:14px;
    border-radius:22px;
  }
  .sgsv5-demo-panel-head h3{
    font-size:24px;
  }
  .sgsv5-demo-planner .wizardCard{
    border-radius:20px;
  }
  .sgsv5-demo-planner .topBar,
  .sgsv5-demo-planner .stepper,
  .sgsv5-demo-planner .navBar,
  .sgsv5-demo-planner .panelWrap{
    padding-left:14px;
    padding-right:14px;
  }
  .sgsv5-demo-planner .contactGrid,
  .sgsv5-demo-planner .checkGrid2,
  .sgsv5-demo-planner .featGrid,
  .sgsv5-demo-planner .twoCol{
    grid-template-columns:1fr;
  }
}

/* v2.3.40 front-end finish */
.sgsv5-front-page,
.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-wrap.sgsv5-front-page,
.sgsv5-customer-hub.sgsv5-front-page{
  width:75%;
  max-width:1180px;
  margin:0 auto !important;
  padding:18px 0 28px !important;
}
.sgsv5-wrap.sgsv5-front-page,
.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-customer-hub.sgsv5-front-page{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.sgsv5-intake-card,
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
.sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section{
  background:#ffffff !important;
  border:1px solid #dbe4ee !important;
  border-radius:24px !important;
  box-shadow:0 18px 42px rgba(15,23,42,.06) !important;
}
.sgsv5-intake-card{padding:28px !important;}
.sgsv5-intake-card .sgsv5-intake-head{margin-bottom:18px !important;}
.sgsv5-intake-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:#0f8aa5;
  text-transform:uppercase;
  letter-spacing:.3em;
  font-size:12px;
  font-weight:800;
}
.sgsv5-intake-title{
  margin:0 0 10px;
  color:#163a72;
  font-size:clamp(34px,4vw,56px);
  line-height:1.02;
  letter-spacing:-.03em;
  font-weight:800;
}
.sgsv5-intake-intro{
  margin:0;
  max-width:860px;
  color:#617186;
  font-size:18px;
  line-height:1.7;
}
.sgsv5-demo-path-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:18px 0 10px;
}
.sgsv5-demo-path{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:132px;
  padding:22px 20px;
  border:1px solid #dbe4ee;
  border-radius:22px;
  background:#fff;
  color:#14233b;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sgsv5-demo-path:hover{
  border-color:#f37021;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  transform:translateY(-1px);
}
.sgsv5-demo-path.is-active{
  border-color:#f37021;
  box-shadow:0 0 0 3px rgba(243,112,33,.12);
}
.sgsv5-demo-path strong{
  display:block;
  color:#f37021;
  font-size:17px;
  line-height:1.2;
  font-weight:800;
}
.sgsv5-demo-path span{
  color:#617186;
  font-size:15px;
  line-height:1.65;
}
.sgsv5-demo-panel-stack{margin-top:8px;}
.sgsv5-demo-route-panel{padding:0 !important;background:transparent !important;border:0 !important;}
.sgsv5-demo-panel-head{margin:0 0 16px;}
.sgsv5-demo-panel-head h3{margin:0 0 6px;color:#163a72;font-size:28px;line-height:1.1;font-weight:800;}
.sgsv5-demo-panel-head p{margin:0;color:#617186;font-size:16px;line-height:1.7;}
.sgsv5-intake-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.sgsv5-intake-field{display:flex;flex-direction:column;gap:8px;}
.sgsv5-intake-field-full{grid-column:1 / -1;}
.sgsv5-intake-field > span{
  color:#526986;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.sgsv5-intake-form input,
.sgsv5-intake-form select,
.sgsv5-intake-form textarea{
  width:100%;
  min-height:54px;
  border:1px solid #cfd8e3;
  border-radius:16px;
  background:#fff;
  color:#14233b;
  padding:14px 16px;
  font-size:16px;
  line-height:1.4;
}
.sgsv5-intake-form textarea{min-height:144px;resize:vertical;}
.sgsv5-intake-form input:focus,
.sgsv5-intake-form select:focus,
.sgsv5-intake-form textarea:focus{
  border-color:#f37021;
  box-shadow:0 0 0 3px rgba(243,112,33,.12);
  outline:none;
}
.sgsv5-intake-phone-row{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr);gap:12px;}
.sgsv5-intake-actions{margin-top:18px;}
.sgsv5-intake-submit,
.sgsv5-intake-actions .sgsv5-intake-submit{
  min-height:54px;
  padding:0 22px;
  border:0;
  border-radius:16px;
  background:#f37021;
  color:#fff;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
}
.sgsv5-intake-submit:hover{filter:brightness(.97);}
.sgsv5-customer-hub.sgsv5-front-page{max-width:1180px !important;}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card{padding:30px !important;}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1{
  margin:0 0 10px;
  color:#163a72;
  font-size:clamp(30px,3vw,40px) !important;
  line-height:1.04;
  letter-spacing:-.03em;
  font-weight:800;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel > p,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section p,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary p{
  color:#617186 !important;
  font-size:16px !important;
  line-height:1.7 !important;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:18px 0 18px;
  padding:16px 18px;
  border:1px solid #dbe4ee;
  border-radius:20px;
  background:#f8fafc;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-kicker{
  color:#0f8aa5;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:800;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-email{
  color:#1f3b6d;
  font-size:clamp(18px,2.2vw,28px) !important;
  line-height:1.2;
  font-weight:800;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-btn,
.sgsv5-wrap.sgsv5-front-page .sgsv5-btn,
.sgsv5-wrap.sgsv5-front-page .sgsv5-select,
.sgsv5-intake-submit{
  min-height:50px;
  border-radius:16px;
  font-size:16px;
  font-weight:800;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel h2,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section h2,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary h2,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel h4,
.sgsv5-wrap.sgsv5-front-page .sgsv5-option-group h4{
  color:#17335f;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap table,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section table{
  font-size:14px;
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap th,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap td,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section th,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section td{
  padding:12px 14px;
}
.sgsv5-demo-planner-host{margin-top:10px;}
@media (max-width: 1200px){
  .sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-customer-hub.sgsv5-front-page{width:86%;}
}
@media (max-width: 980px){
  .sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-customer-hub.sgsv5-front-page{width:92%;padding:14px 0 22px !important;}
  .sgsv5-intake-card,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section{padding:18px !important;border-radius:20px !important;}
  .sgsv5-intake-grid{grid-template-columns:1fr;}
  .sgsv5-intake-phone-row{grid-template-columns:1fr;}
  .sgsv5-demo-path-grid{grid-template-columns:1fr;}
  .sgsv5-demo-path{min-height:0;padding:18px;}
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-head{flex-direction:column;align-items:flex-start;}
}
@media (max-width: 640px){
  .sgsv5-front-page,
  .sgsv5-intake-wrap.sgsv5-front-page,
  .sgsv5-wrap.sgsv5-front-page,
  .sgsv5-customer-hub.sgsv5-front-page{width:calc(100% - 24px);}
  .sgsv5-intake-card,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-options-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-quote-panel,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-portal-card,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-table-wrap,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-summary,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-stripe-section{padding:16px !important;border-radius:18px !important;}
  .sgsv5-intake-title{font-size:clamp(30px,10vw,42px);}
  .sgsv5-intake-intro,
  .sgsv5-demo-panel-head p,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card > p,
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-request-panel > p{font-size:15px !important;line-height:1.65 !important;}
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card h1{font-size:24px !important;}
  .sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-email{font-size:16px !important;word-break:break-word;}
}
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-shell,
.sgsv5-customer-hub.sgsv5-front-page .sgsv5-hub-card,
.sgsv5-wrap.sgsv5-front-page .sgsv5-proposal-shell,
.sgsv5-wrap.sgsv5-front-page .sgsv5-quote-page{max-width:none !important;}


/* v2.3.42 intake request links + commercial overview refinements */
.sgsv5-public-request-body{
  margin:0;
  background:#f3f6fa;
  color:#17335f;
}
.sgsv5-public-request-page{
  width:min(1040px,75vw);
  max-width:min(1040px,75vw);
  padding:24px 0 34px !important;
}
.sgsv5-public-request-card{
  padding:24px !important;
}
.sgsv5-public-request-grid{
  display:grid;
  grid-template-columns:minmax(280px,.95fr) minmax(320px,1.25fr);
  gap:18px;
  align-items:start;
}
.sgsv5-public-request-panel{
  background:#fff;
  border:1px solid #d8dee6;
  border-radius:18px;
  padding:18px 20px;
  box-shadow:0 8px 24px rgba(17,24,39,.04);
}
.sgsv5-public-request-panel h3{
  margin:0 0 12px;
  font-size:18px;
  color:#17335f;
}
.sgsv5-public-request-notes{
  white-space:pre-line;
  line-height:1.7;
  color:#334155;
}
.sgsv5-public-request-agenda{
  margin-top:16px;
}
.sgsv5-public-request-footer{
  margin-top:16px;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid #d8dee6;
  background:#fff;
  color:#526986;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue,
.sgsv5-clean-ui .sgsv5-sales-stats-revenue{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table td .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions .sgsv5-btn{
  white-space:nowrap;
}
@media (max-width: 980px){
  .sgsv5-public-request-page{
    width:92%;
    max-width:92%;
    padding:16px 0 24px !important;
  }
  .sgsv5-public-request-card{
    padding:18px !important;
  }
  .sgsv5-public-request-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 640px){
  .sgsv5-public-request-page{
    width:calc(100% - 24px);
    max-width:calc(100% - 24px);
  }
  .sgsv5-public-request-card,
  .sgsv5-public-request-panel,
  .sgsv5-public-request-footer{
    border-radius:18px;
  }
}


/* v2.3.43 standardized customer workspace */
.sgsv5-customer-workspace-page{max-width:1180px;margin:0 auto}
.sgsv5-workspace-card{background:#fff;border:1px solid var(--sg-border);border-radius:22px;padding:0;box-shadow:0 8px 24px rgba(17,24,39,.05);overflow:hidden}
.sgsv5-workspace-head{padding-bottom:8px}
.sgsv5-workspace-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sgsv5-workspace-chip{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;border:1px solid #d8e5f2;font-weight:700;font-size:12px;background:#eef4fb;color:#17335f}
.sgsv5-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 14px}
.sgsv5-workspace-panel{margin-bottom:14px}
.sgsv5-workspace-status-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e7edf3}
.sgsv5-workspace-status-row:last-child{border-bottom:0}
.sgsv5-workspace-label{font-size:13px;font-weight:700;color:#516581}
.sgsv5-workspace-copy{font-size:15px;line-height:1.6;color:#526986;margin:0}
.sgsv5-workspace-quote-list{display:grid;grid-template-columns:1fr;gap:12px}
.sgsv5-workspace-quote-card{border:1px solid var(--sg-border);border-radius:18px;padding:14px;background:#fbfcfe}
.sgsv5-workspace-quote-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}
.sgsv5-workspace-quote-head h4{margin:0;font-size:18px;color:var(--sg-link)}
.sgsv5-workspace-quote-head p{margin:2px 0 0;font-size:13px;color:var(--sg-muted)}
.sgsv5-workspace-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.sgsv5-workspace-meta span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid #d9e2eb;font-size:12px;font-weight:700;color:#38506f}
.sgsv5-workspace-quote-card form{margin:0}
.sgsv5-customer-workspace-page .sgsv5-public-request-notes{min-height:0}
@media (max-width: 760px){
  .sgsv5-workspace-grid{grid-template-columns:1fr}
  .sgsv5-workspace-quote-head{flex-direction:column;align-items:flex-start}
  .sgsv5-workspace-status-row{flex-direction:column;align-items:flex-start}
  .sgsv5-workspace-meta{flex-direction:column}
  .sgsv5-workspace-meta span{width:100%}
}


/* v2.3.45 CRM hardening + customer workspace cleanup */
.sgsv5-flag-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.sgsv5-flag-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid #d8dee6;
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
}
.sgsv5-flag-badge.is-danger{background:#fef2f2;border-color:#fecaca;color:#b91c1c}
.sgsv5-flag-badge.is-warning{background:#fff7ed;border-color:#fdba74;color:#c2410c}
.sgsv5-flag-badge.is-info{background:#eef4fb;border-color:#d8e5f2;color:#17335f}
.sgsv5-flag-badge.is-muted{background:#f8fafc;border-color:#cbd5e1;color:#475569}

.sgsv5-crm-journey{
  display:grid;
  gap:10px;
  line-height:1.6;
  color:#334155;
}
.sgsv5-crm-journey p{margin:0}

.sgsv5-planner-request-grid{
  display:grid;
  gap:10px;
}
.sgsv5-planner-request-item{
  border:1px solid #d8dee6;
  border-radius:14px;
  padding:10px 12px;
  background:#fbfcfe;
}
.sgsv5-planner-request-item.is-note{
  background:#fff;
}
.sgsv5-planner-request-label{
  display:block;
  margin-bottom:4px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.sgsv5-planner-request-item strong{
  display:block;
  color:#17335f;
  font-size:14px;
  line-height:1.45;
  font-weight:700;
}

.sgsv5-sales-portal.sgsv5-clean-ui,
.entry-content > .sgsv5-sales-portal.sgsv5-clean-ui,
.wp-block-post-content > .sgsv5-sales-portal.sgsv5-clean-ui,
.site-main .sgsv5-sales-portal.sgsv5-clean-ui{
  width:calc(100vw - 24px) !important;
  max-width:calc(100vw - 24px) !important;
  margin-left:calc(50% - 50vw + 12px) !important;
  margin-right:calc(50% - 50vw + 12px) !important;
  padding:12px 0 20px !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card{
  border-radius:16px;
  padding:16px 18px;
}
.sgsv5-sales-portal.sgsv5-clean-ui h1{
  text-align:left;
  font-size:28px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card > p{
  text-align:left;
  font-size:14px;
  line-height:1.6;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel{
  padding:16px 18px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter{
  grid-template-columns:repeat(7,minmax(0,1fr)) minmax(220px,1.5fr) 120px;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter-search{
  grid-column:span 2;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table{
  min-width:1240px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack{
  align-items:flex-start;
  gap:6px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack form,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-actions-stack a{
  width:auto;
}

.sgsv5-public-request-page,
.sgsv5-customer-workspace-page{
  width:min(1180px,75vw);
  max-width:min(1180px,75vw);
}
.sgsv5-public-request-card,
.sgsv5-workspace-card{
  border-radius:20px;
}
.sgsv5-public-request-panel,
.sgsv5-workspace-panel{
  border-radius:16px;
}
.sgsv5-public-request-panel h3,
.sgsv5-workspace-panel h3{
  margin:0 0 10px;
  font-size:17px;
}
.sgsv5-public-request-notes{
  font-size:14px;
  line-height:1.55;
}
.sgsv5-public-request-agenda{
  margin-top:12px;
}
.sgsv5-public-request-agenda .sgsv5-planner-agenda-title{
  margin-bottom:6px;
}
.sgsv5-workspace-panel .sgsv5-public-request-notes,
.sgsv5-public-request-panel .sgsv5-public-request-notes{
  min-height:0;
}

.sgsv5-customer-hub.sgsv5-front-page{
  width:min(1180px,75vw) !important;
  max-width:min(1180px,75vw) !important;
}

@media (max-width:1280px){
  .sgsv5-sales-portal.sgsv5-clean-ui,
  .entry-content > .sgsv5-sales-portal.sgsv5-clean-ui,
  .wp-block-post-content > .sgsv5-sales-portal.sgsv5-clean-ui,
  .site-main .sgsv5-sales-portal.sgsv5-clean-ui{
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    margin-left:calc(50% - 50vw + 10px) !important;
    margin-right:calc(50% - 50vw + 10px) !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter-search{
    grid-column:span 2;
  }
}

@media (max-width:760px){
  .sgsv5-sales-portal.sgsv5-clean-ui,
  .entry-content > .sgsv5-sales-portal.sgsv5-clean-ui,
  .wp-block-post-content > .sgsv5-sales-portal.sgsv5-clean-ui,
  .site-main .sgsv5-sales-portal.sgsv5-clean-ui{
    width:calc(100vw - 12px) !important;
    max-width:calc(100vw - 12px) !important;
    margin-left:calc(50% - 50vw + 6px) !important;
    margin-right:calc(50% - 50vw + 6px) !important;
    padding:6px 0 14px !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card{
    padding:12px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter{
    grid-template-columns:1fr;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-filter-search{
    grid-column:span 1;
  }
  .sgsv5-public-request-page,
  .sgsv5-customer-workspace-page,
  .sgsv5-customer-hub.sgsv5-front-page{
    width:calc(100% - 18px) !important;
    max-width:calc(100% - 18px) !important;
  }
  .sgsv5-public-request-card,
  .sgsv5-workspace-card{
    padding:16px !important;
  }
  .sgsv5-public-request-panel,
  .sgsv5-workspace-panel{
    padding:12px 14px !important;
  }
  .sgsv5-public-request-grid,
  .sgsv5-workspace-grid{
    gap:12px;
  }
  .sgsv5-planner-request-item{
    padding:9px 10px;
    border-radius:12px;
  }
  .sgsv5-planner-request-item strong{
    font-size:13px;
    line-height:1.4;
  }
}


/* v2.3.47 sales portal drawer hardening */
.sgsv5-sales-drawer[hidden]{display:none !important;}
.sgsv5-sales-drawer{pointer-events:none;}
.sgsv5-sales-drawer.is-open{pointer-events:auto;}
.sgsv5-sales-drawer__close{text-decoration:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact tbody td{padding-top:5px;padding-bottom:5px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-sales-compact-main{line-height:1.15;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-sales-compact-sub{margin-top:1px;line-height:1.15;}

/* v2.3.46 sales portal drawers + compact intake table */
html.sgsv5-drawer-open,
body.sgsv5-drawer-open{overflow:hidden;}
.sgsv5-sales-compact-main{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font-weight:800;line-height:1.2;color:var(--sg-text);}
.sgsv5-sales-compact-sub{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;margin-top:2px;font-size:11px;line-height:1.25;color:var(--sg-muted);}
.sgsv5-sales-compact-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;border:1px solid #d8dee6;font-weight:800;font-size:11px;white-space:nowrap;background:#fff;color:#17335f;}
.sgsv5-sales-intake-table-compact .sgsv5-hub-actions-stack{gap:4px;flex-wrap:nowrap;align-items:center;}
.sgsv5-sales-intake-table-compact .sgsv5-hub-actions-stack form,
.sgsv5-sales-intake-table-compact .sgsv5-hub-actions-stack .sgsv5-btn,
.sgsv5-sales-intake-table-compact .sgsv5-hub-actions-stack a{white-space:nowrap;width:auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact thead th{padding:6px 8px;font-size:10px;line-height:1.15;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact tbody td{padding:6px 8px;font-size:11px;line-height:1.2;vertical-align:middle;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn.secondary,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn.primary{height:28px;padding:0 8px;font-size:11px;border-radius:9px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-status-pill{padding:3px 6px;font-size:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-flag-badges{margin-top:4px;gap:4px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-flag-badge{padding:2px 6px;font-size:10px;}
.sgsv5-sales-side-column{display:grid;gap:14px;}
.sgsv5-sales-side-card{background:#fff;border:1px solid #d8dee6;border-radius:12px;padding:16px;box-shadow:0 4px 12px rgba(15,23,42,.03);}
.sgsv5-sales-side-card h3{margin:0 0 10px;font-size:18px;line-height:1.2;color:var(--sg-text);}
.sgsv5-sales-side-list{display:grid;gap:10px;margin-bottom:12px;}
.sgsv5-sales-side-list-item{display:flex;flex-direction:column;gap:3px;padding-bottom:10px;border-bottom:1px solid #edf2f7;}
.sgsv5-sales-side-list-item:last-child{padding-bottom:0;border-bottom:0;}
.sgsv5-sales-side-list-item span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sg-muted);}
.sgsv5-sales-side-list-item strong{font-size:14px;line-height:1.35;color:var(--sg-text);}
.sgsv5-sales-side-actions{display:flex;gap:8px;flex-wrap:wrap;}
.sgsv5-sales-side-actions .sgsv5-btn{height:34px;padding:0 11px;font-size:12px;border-radius:10px;}
.sgsv5-sales-drawer{position:fixed;inset:0;z-index:999999;display:block;}
.sgsv5-sales-drawer__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.44);opacity:0;transition:opacity .18s ease;}
.sgsv5-sales-drawer__panel{position:absolute;top:0;right:0;height:100%;width:min(560px,96vw);background:#fff;border-left:1px solid #d8dee6;box-shadow:-22px 0 40px rgba(15,23,42,.16);transform:translateX(100%);transition:transform .18s ease;display:flex;flex-direction:column;}
.sgsv5-sales-drawer.is-open .sgsv5-sales-drawer__backdrop{opacity:1;}
.sgsv5-sales-drawer.is-open .sgsv5-sales-drawer__panel{transform:translateX(0);}
.sgsv5-sales-drawer__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e7edf3;background:#fff;}
.sgsv5-sales-drawer__header h3{margin:2px 0 0;font-size:24px;line-height:1.1;color:var(--sg-text);}
.sgsv5-sales-drawer__header p{margin:8px 0 0;font-size:13px;line-height:1.55;color:var(--sg-muted);}
.sgsv5-sales-drawer__close{border:1px solid #d8dee6;background:#fff;border-radius:999px;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1;color:#17335f;cursor:pointer;flex:0 0 auto;}
.sgsv5-sales-drawer__body{padding:18px 20px 28px;overflow:auto;flex:1 1 auto;background:#f8fafc;}
.sgsv5-sales-drawer__body form{display:grid;gap:12px;}
.sgsv5-sales-drawer__body p{margin:0;}
.sgsv5-sales-drawer__body label{display:block;font-size:12px;font-weight:700;color:#475569;letter-spacing:.01em;}
.sgsv5-sales-drawer__body input[type="text"],
.sgsv5-sales-drawer__body input[type="email"],
.sgsv5-sales-drawer__body input[type="date"],
.sgsv5-sales-drawer__body textarea,
.sgsv5-sales-drawer__body select{width:100%;min-height:44px;border:1px solid #cfd8e3;border-radius:12px;padding:10px 12px;background:#fff;color:#14294f;font:inherit;box-shadow:none;outline:none;}
.sgsv5-sales-drawer__body textarea{min-height:124px;resize:vertical;}
.sgsv5-sales-drawer__body input:focus,
.sgsv5-sales-drawer__body textarea:focus,
.sgsv5-sales-drawer__body select:focus{border-color:var(--sg-accent);box-shadow:0 0 0 3px rgba(243,112,33,.12);}
.sgsv5-sales-drawer__body .button,
.sgsv5-sales-drawer__body button[type="submit"]{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:12px;border:0;background:#17335f;color:#fff;font-weight:800;cursor:pointer;text-decoration:none;box-shadow:none;}
.sgsv5-sales-drawer__body .button.button-primary{background:var(--sg-accent);}
.sgsv5-sales-drawer__body .button.button-secondary{background:#17335f;}
@media (max-width:980px){
  .sgsv5-sales-detail-grid{grid-template-columns:1fr !important;}
}
@media (max-width:760px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact tbody td{padding:5px 6px;font-size:10.5px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn.secondary,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn.primary{height:26px;padding:0 7px;font-size:10.5px;}
  .sgsv5-sales-drawer__panel{width:100vw;}
  .sgsv5-sales-drawer__header{padding:16px;}
  .sgsv5-sales-drawer__header h3{font-size:22px;}
  .sgsv5-sales-drawer__body{padding:14px 16px 22px;}
  .sgsv5-sales-side-card{padding:14px;}
  .sgsv5-sales-side-actions{display:grid;grid-template-columns:1fr;}
}

/* v2.3.48 sales portal compact CRM refinement */
.sgsv5-sales-record-title{margin:0 0 12px;font-size:30px;line-height:1.04;color:var(--sg-text);}
.sgsv5-sales-record-layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(280px,.86fr);gap:14px;align-items:start;}
.sgsv5-sales-record-main{display:grid;gap:12px;min-width:0;}
.sgsv5-sales-record-side{display:grid;gap:12px;position:sticky;top:18px;align-self:start;}
.sgsv5-sales-record-card{background:#fff;border:1px solid #d8dee6;border-radius:12px;padding:14px;}
.sgsv5-sales-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;}
.sgsv5-sales-fact{padding:8px 10px;border:1px solid #eef2f7;border-radius:10px;background:#fcfdff;min-width:0;}
.sgsv5-sales-fact span{display:block;margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b;}
.sgsv5-sales-fact strong{display:block;font-size:13px;line-height:1.35;color:var(--sg-text);font-weight:700;word-break:break-word;}
.sgsv5-sales-record-note{margin-top:12px;font-size:13px;line-height:1.55;color:#425466;}
.sgsv5-sales-inline-block{margin-top:10px;}
.sgsv5-sales-linked-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.sgsv5-sales-linked-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #edf2f7;border-radius:10px;background:#fff;}
.sgsv5-sales-linked-list li span{font-size:12px;color:#64748b;}
.sgsv5-sales-fold-section{background:#fff;border:1px solid #d8dee6;border-radius:12px;overflow:hidden;}
.sgsv5-sales-fold-section summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:12px 14px;font-weight:800;color:var(--sg-text);font-size:15px;}
.sgsv5-sales-fold-section summary::-webkit-details-marker{display:none;}
.sgsv5-sales-fold-section summary::after{content:'›';margin-left:auto;font-size:18px;color:#475569;transform:rotate(0deg);transition:transform .18s ease;}
.sgsv5-sales-fold-section[open] summary::after{transform:rotate(90deg);}
.sgsv5-sales-fold-meta{font-size:11px;font-weight:700;color:#64748b;white-space:nowrap;}
.sgsv5-sales-fold-body{padding:0 14px 14px;}
.sgsv5-sales-record-panel .widefat td,
.sgsv5-sales-record-panel .widefat th{padding:8px 10px;font-size:12px;line-height:1.35;}
.sgsv5-sales-owner-quick{margin:-2px 0 10px;}
.sgsv5-sales-owner-quick__label{display:block;margin-bottom:6px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b;}
.sgsv5-sales-owner-quick__buttons{display:flex;flex-wrap:wrap;gap:6px;}
.sgsv5-sales-owner-quick__buttons form{margin:0;}
.sgsv5-owner-chip{min-height:28px;padding:0 10px;border:1px solid #d8dee6;border-radius:999px;background:#fff;color:#17335f;font-weight:800;font-size:11px;cursor:pointer;}
.sgsv5-owner-chip.is-active{background:#17335f;color:#fff;border-color:#17335f;}
.sgsv5-owner-chip.is-clear{background:#fff7f3;color:#8a3b12;border-color:#f6c6ad;}
.sgsv5-sales-side-card{padding:14px;}
.sgsv5-sales-side-card h3{margin:0 0 8px;font-size:16px;line-height:1.15;}
.sgsv5-sales-side-list{gap:8px;margin-bottom:10px;}
.sgsv5-sales-side-list-item{padding-bottom:8px;}
.sgsv5-sales-side-list-item strong{font-size:13px;line-height:1.3;}
.sgsv5-sales-side-actions{gap:6px;}
.sgsv5-sales-side-actions .sgsv5-btn{height:30px;padding:0 10px;font-size:11px;border-radius:9px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact thead th{padding:5px 6px;font-size:9.5px;line-height:1.05;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact tbody td{padding:4px 6px;font-size:10px;line-height:1.1;vertical-align:middle;}
.sgsv5-sales-compact-main{font-size:11px;line-height:1.1;}
.sgsv5-sales-compact-sub{margin-top:1px;font-size:10px;line-height:1.1;}
.sgsv5-sales-compact-pill{padding:2px 7px;font-size:10px;}
.sgsv5-sales-intake-table-compact .sgsv5-hub-actions-stack{gap:3px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn.secondary,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-btn.primary{height:24px;padding:0 6px;font-size:10px;border-radius:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-status-pill{padding:2px 6px;font-size:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-compact .sgsv5-flag-badge{padding:2px 5px;font-size:9px;}
@media (max-width: 980px){
  .sgsv5-sales-record-layout{grid-template-columns:1fr;}
  .sgsv5-sales-record-side{position:static;}
}
@media (max-width: 760px){
  .sgsv5-sales-record-title{font-size:24px;}
  .sgsv5-sales-facts{grid-template-columns:1fr;gap:8px;}
  .sgsv5-sales-fold-section summary{padding:11px 12px;font-size:14px;}
  .sgsv5-sales-fold-body{padding:0 12px 12px;}
}


/* v2.3.50 Google Places refresh */
.sgsv5-place-widget{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px;padding:10px 12px;border:1px dashed #d8dee6;border-radius:14px;background:#f8fafc;}
.sgsv5-place-widget__toggle{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #d8dee6;background:#fff;color:#17335f;font-weight:700;font-size:12px;cursor:pointer;}
.sgsv5-place-widget__toggle.is-open{background:#17335f;border-color:#17335f;color:#fff;}
.sgsv5-place-widget__panel{width:100%;padding:12px;border:1px solid #d8dee6;border-radius:12px;background:#fff;}
.sgsv5-place-widget__help{margin:0 0 8px;font-size:12px;line-height:1.45;color:#64748b;}
.sgsv5-place-widget__panel gmp-place-autocomplete,
.sgsv5-place-widget__panel .sgsv5-place-widget__input{display:block;width:100%;min-width:0;}
@media (max-width:760px){
  .sgsv5-place-widget{align-items:stretch;}
  .sgsv5-place-widget__toggle{width:100%;}
}


.sgsv5-hidden-address{display:none!important}
.sgsv5-company-place-preview{display:inline-flex;align-items:center;max-width:100%;margin:8px 0 0;padding:8px 12px;border:1px solid #d8dee6;border-radius:999px;background:#f8fafc;color:#334155;font-size:12px;line-height:1.4;font-weight:600}
.sgsv5-company-place-preview[hidden]{display:none!important}
.sgsv5-form-grid-accept .sgsv5-place-widget{grid-column:1 / -1;width:100%;margin-top:8px}
.sgsv5-form-grid-accept .sgsv5-place-widget__panel{width:100%}
.sgsv5-google-fill{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:12px 14px;border:1px solid #d8dee6;border-radius:16px;background:#f8fafc}
.sgsv5-google-fill-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.sgsv5-google-fill-title{font-size:14px;font-weight:800;line-height:1.25;color:#17335f}
.sgsv5-google-fill-hint{font-size:12px;line-height:1.45;color:#64748b;max-width:460px}
.sgsv5-google-fill-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.sgsv5-google-render-slot{min-height:40px;display:flex;align-items:center}
.sgsv5-google-fallback{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.sgsv5-google-fallback-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid #d8dee6;background:#fff;color:#17335f;font-weight:700;font-size:14px;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.sgsv5-google-fallback-btn.is-fallback-hidden{display:none!important}
@media (max-width:760px){.sgsv5-google-fill{flex-direction:column;align-items:flex-start}.sgsv5-google-fill-actions{width:100%;justify-content:flex-start}.sgsv5-google-fallback-btn{width:100%}.sgsv5-google-render-slot{width:100%}}

/* v2.3.54 Google lookup slot fix */
#sgsv5-google-fill,
.sgsv5-intake-card .sgsv5-google-fill,
.v5-demoWizard .sgsv5-google-fill,
.sgsv5-wrap.sgsv5-front-page .sgsv5-google-fill{
  max-width:none!important;
  width:100%!important;
}
.sgsv5-google-fill{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #d8dee6;
  border-radius:14px;
  background:#f8fafc;
}
.sgsv5-google-fill-copy{gap:2px}
.sgsv5-google-fill-title{font-size:13px;line-height:1.2;font-weight:800;color:#17335f}
.sgsv5-google-fill-hint{max-width:none;font-size:12px;line-height:1.35;color:#64748b}
.sgsv5-google-fill-actions{justify-content:flex-end;min-width:250px}
.sgsv5-google-render-slot{min-height:40px;min-width:250px}
.sgsv5-google-fallback-btn{min-height:40px;font-size:13px;padding:0 14px}
.sgsv5-quote-panel .sgsv5-google-fill{margin-bottom:10px}
.sgsv5-quote-panel .sgsv5-google-fill-copy{padding-right:6px}

.sgsv5-quote-panel .sgsv5-place-widget,
.sgsv5-intake-card .sgsv5-place-widget{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:8px;
  margin-top:8px;
  padding:0;
  border:0;
  background:transparent;
}
.sgsv5-quote-panel .sgsv5-place-widget__toggle,
.sgsv5-intake-card .sgsv5-place-widget__toggle{
  min-height:40px;
  padding:0 14px;
  font-size:13px;
}
.sgsv5-quote-panel .sgsv5-place-widget__panel,
.sgsv5-intake-card .sgsv5-place-widget__panel{
  grid-column:1 / -1;
  padding:10px;
  border:1px solid #d8dee6;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}
.sgsv5-quote-panel .sgsv5-place-widget__help,
.sgsv5-intake-card .sgsv5-place-widget__help{
  margin:0 0 6px;
  font-size:11px;
  line-height:1.35;
}
.sgsv5-company-place-preview{
  display:block;
  max-width:none;
  margin:8px 0 0;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  line-height:1.35;
}

@media (max-width:760px){
  .sgsv5-google-fill{
    grid-template-columns:1fr;
    align-items:start;
  }
  .sgsv5-google-fill-actions,
  .sgsv5-google-render-slot{
    width:100%;
    min-width:0;
    justify-content:flex-start;
  }
  .sgsv5-google-fallback-btn{width:100%}
  .sgsv5-quote-panel .sgsv5-place-widget,
  .sgsv5-intake-card .sgsv5-place-widget{
    grid-template-columns:1fr;
  }
}


.sgsv5-place-helper-slot{display:block;width:100%;margin:8px 0 0}
.sgsv5-place-helper-slot[hidden]{display:none!important}
.sgsv5-form-grid-accept .sgsv5-place-helper-slot{grid-column:1 / -1;width:100%;margin-top:6px}
.sgsv5-quote-panel .sgsv5-place-widget.is-mounted-in-slot,
.sgsv5-intake-card .sgsv5-place-widget.is-mounted-in-slot,
.sgsv5-form-grid-accept .sgsv5-place-widget.is-mounted-in-slot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  width:100%;
  margin:0;
  padding:10px 12px;
  border:1px solid #d8dee6;
  border-radius:14px;
  background:#f8fafc;
}
.sgsv5-quote-panel .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__toggle,
.sgsv5-intake-card .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__toggle,
.sgsv5-form-grid-accept .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__toggle{
  min-height:38px;
}
.sgsv5-quote-panel .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__panel,
.sgsv5-intake-card .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__panel,
.sgsv5-form-grid-accept .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__panel{
  width:100%;
  grid-column:auto;
  padding:10px;
  border:1px solid #d8dee6;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}
.sgsv5-quote-panel .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__help,
.sgsv5-intake-card .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__help,
.sgsv5-form-grid-accept .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__help{
  font-size:11px;
  line-height:1.35;
  color:#64748b;
}
@media (max-width:760px){
  .sgsv5-quote-panel .sgsv5-place-widget.is-mounted-in-slot,
  .sgsv5-intake-card .sgsv5-place-widget.is-mounted-in-slot,
  .sgsv5-form-grid-accept .sgsv5-place-widget.is-mounted-in-slot{padding:10px}
  .sgsv5-quote-panel .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__toggle,
  .sgsv5-intake-card .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__toggle,
  .sgsv5-form-grid-accept .sgsv5-place-widget.is-mounted-in-slot .sgsv5-place-widget__toggle{width:100%}
}

/* v2.3.55 quote builder contact-first flow */
.sgsv5-quote-panel .sgsv5-quote-contact-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
.sgsv5-quote-panel .sgsv5-quote-contact-grid .sgsv5-phone-field{
  display:contents;
}
.sgsv5-quote-panel .sgsv5-quote-contact-grid .sgsv5-phone-country,
.sgsv5-quote-panel .sgsv5-quote-contact-grid #sgsv5-phone{
  width:100%;
}
.sgsv5-quote-panel .sgsv5-quote-contact-grid .sgsv5-quote-name,
.sgsv5-quote-panel .sgsv5-quote-contact-grid .sgsv5-quote-email,
.sgsv5-quote-panel .sgsv5-quote-company-row input,
.sgsv5-quote-panel .sgsv5-quote-prepared-row input{
  width:100%;
}
.sgsv5-quote-panel .sgsv5-quote-contact-grid .sgsv5-phone-field{
  min-width:0;
  grid-template-columns:minmax(160px,210px) minmax(0,1fr);
}
.sgsv5-quote-panel .sgsv5-phone-help,
.sgsv5-quote-panel .sgsv5-quote-company-row,
.sgsv5-quote-panel .sgsv5-company-lookup-slot,
.sgsv5-quote-panel .sgsv5-company-place-preview,
.sgsv5-quote-panel .sgsv5-quote-prepared-row{
  max-width:none;
}
.sgsv5-quote-panel .sgsv5-quote-company-row{
  margin-top:8px;
}
.sgsv5-quote-panel .sgsv5-company-lookup-slot{
  margin-top:8px;
}
.sgsv5-quote-panel .sgsv5-company-place-preview{
  margin-top:8px;
}
@media (max-width: 1100px){
  .sgsv5-quote-panel .sgsv5-quote-contact-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sgsv5-quote-panel .sgsv5-quote-contact-grid .sgsv5-phone-field{
    display:grid;
    grid-template-columns:minmax(170px,1fr) minmax(0,1fr);
    gap:10px;
    grid-column:1 / -1;
  }
}
@media (max-width: 760px){
  .sgsv5-quote-panel .sgsv5-quote-contact-grid{
    grid-template-columns:1fr;
  }
}


/* v2.4.47 engagement mode consistency pass */
.sgsv5-engagement-intro{
  margin:0 0 12px;
}
.sgsv5-engagement-intro p{
  margin:0;
  color:#516581;
  font-size:14px;
  line-height:1.55;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar.mode-subscription,
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar.mode-service{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  width:100% !important;
  max-width:1180px !important;
  margin:0 auto 10px !important;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-topbar.mode-service{
  justify-items:center !important;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-poc-block,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-block{
  max-width:1180px;
  margin:0 auto 10px;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-poc-block .sgsv5-engagement-intro,
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-block .sgsv5-engagement-intro{
  max-width:760px;
  margin:0 auto 12px;
  text-align:center;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-card{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-rate-note{
  display:none !important;
}
.sgsv5-wrap.sgsv5-front-page .sgsv5-gap-entry,
.sgsv5-wrap.sgsv5-front-page .sgsv5-dev-entry{
  background:#fff;
  border:1px solid #dbe4ee;
  border-radius:20px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}
@media (max-width:760px){
  .sgsv5-engagement-intro p{font-size:13px;}
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar.mode-subscription,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-topbar.mode-service{max-width:100% !important;}
  .sgsv5-wrap.sgsv5-front-page .sgsv5-poc-block .sgsv5-engagement-intro,
  .sgsv5-wrap.sgsv5-front-page .sgsv5-gap-block .sgsv5-engagement-intro{text-align:center !important;padding:0 8px;}
}


/* v2.5.57 inquiry form restyle closer to original stacked contact form */
.sgsv5-intake-wrap-inquiry.sgsv5-front-page,
.sgsv5-intake-wrap-inquiry.sgsv5-intake-wrap.sgsv5-front-page{
  max-width: 760px !important;
  width: min(100%, 760px) !important;
  padding: 8px 0 18px !important;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-card{
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-head{
  margin: 0 0 14px !important;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-kicker{
  margin: 0 0 6px;
  color: #163d7a;
  letter-spacing: .08em;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-title{
  margin: 0 0 8px;
  color: #163d7a;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  max-width: 680px;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-intro{
  max-width: 680px;
  color: #55657c;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.sgsv5-intake-wrap-inquiry .sgsv5-google-fill.sgsv5-google-fill-compact{
  margin: 12px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d5d9e2;
  background: #fff;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form{
  max-width: 640px;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-field,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-field-full{
  gap: 6px;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-field > span{
  color: #163d7a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form input,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form select,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form textarea{
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #aeb7c4;
  border-radius: 6px;
  box-shadow: none;
  color: #1b2a41;
  background: #fff;
  font-size: 15px;
  line-height: 1.35;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form textarea{
  min-height: 124px;
  resize: vertical;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form input::placeholder,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form textarea::placeholder{
  color: #96a0ae;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form input:focus,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form select:focus,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-form textarea:focus{
  border-color: #f37021;
  box-shadow: 0 0 0 2px rgba(243,112,33,.12);
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-phone-row{
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-actions{
  margin-top: 14px;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-submit,
.sgsv5-intake-wrap-inquiry .sgsv5-intake-actions .sgsv5-intake-submit{
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 0;
  background: linear-gradient(90deg, #f37021 0%, #f6b100 100%);
  font-size: 16px;
  letter-spacing: .02em;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: none;
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-submit:hover{
  filter: brightness(.98);
  transform: none;
}
@media (max-width: 767px){
  .sgsv5-intake-wrap-inquiry.sgsv5-front-page,
  .sgsv5-intake-wrap-inquiry.sgsv5-intake-wrap.sgsv5-front-page{
    width: min(100%, 100%) !important;
    padding: 6px 0 16px !important;
  }
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-title{
    font-size: 36px;
  }
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-phone-row{
    grid-template-columns: 1fr;
  }
}
.sgsv5-intake-wrap-inquiry .sgsv5-intake-submit:active{
  transform: translateY(0);
}
@media (max-width: 900px){
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-title{
    font-size: clamp(34px, 8vw, 50px);
    max-width: none;
  }
}
@media (max-width: 700px){
  .sgsv5-intake-wrap-inquiry.sgsv5-front-page,
  .sgsv5-intake-wrap-inquiry.sgsv5-intake-wrap.sgsv5-front-page{
    padding: 8px 0 18px !important;
  }
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-card{
    padding: 18px 16px 18px !important;
    border-radius: 20px !important;
  }
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-phone-row{
    grid-template-columns: 1fr;
  }
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-submit,
  .sgsv5-intake-wrap-inquiry .sgsv5-intake-actions .sgsv5-intake-submit{
    width: 100%;
    min-height: 48px;
  }
}

/* v2.5.59 concise external demo pages */
.sgsv5-intake-wrap-demo.sgsv5-front-page,
.sgsv5-intake-wrap-demo-standard.sgsv5-front-page,
.sgsv5-intake-wrap-demo-planner-only.sgsv5-front-page,
.sgsv5-intake-wrap-demo.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-intake-wrap-demo-standard.sgsv5-intake-wrap.sgsv5-front-page,
.sgsv5-intake-wrap-demo-planner-only.sgsv5-intake-wrap.sgsv5-front-page{
  max-width:780px !important;
  width:min(100%,780px) !important;
  padding:8px 0 18px !important;
}
.sgsv5-intake-wrap-demo .sgsv5-intake-card,
.sgsv5-intake-wrap-demo-standard .sgsv5-intake-card,
.sgsv5-intake-wrap-demo-planner-only .sgsv5-intake-card{
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
}
.sgsv5-intake-wrap-demo .sgsv5-intake-head,
.sgsv5-intake-wrap-demo-standard .sgsv5-intake-head,
.sgsv5-intake-wrap-demo-planner-only .sgsv5-intake-head{
  margin:0 0 14px !important;
}
.sgsv5-intake-wrap-demo .sgsv5-intake-kicker,
.sgsv5-intake-wrap-demo-standard .sgsv5-intake-kicker,
.sgsv5-intake-wrap-demo-planner-only .sgsv5-intake-kicker{
  margin:0 0 6px;
  color:#163d7a;
  letter-spacing:.08em;
  font-size:12px;
  line-height:1.3;
  font-weight:700;
  text-transform:uppercase;
}
.sgsv5-intake-wrap-demo .sgsv5-intake-title,
.sgsv5-intake-wrap-demo-standard .sgsv5-intake-title,
.sgsv5-intake-wrap-demo-planner-only .sgsv5-intake-title{
  margin:0 0 8px;
  color:#163d7a;
  font-size:clamp(30px,5vw,48px);
  line-height:1.05;
  letter-spacing:-.03em;
  font-weight:800;
  max-width:680px;
}
.sgsv5-intake-wrap-demo .sgsv5-intake-intro,
.sgsv5-intake-wrap-demo-standard .sgsv5-intake-intro,
.sgsv5-intake-wrap-demo-planner-only .sgsv5-intake-intro{
  max-width:680px;
  color:#55657c;
  font-size:14px;
  line-height:1.7;
  margin:0;
}
.sgsv5-intake-wrap-demo .sgsv5-demo-path-grid{
  max-width:680px;
  gap:12px;
  margin:12px 0 0;
}
.sgsv5-intake-wrap-demo .sgsv5-demo-path{
  min-height:0;
  padding:14px 16px;
  border-radius:12px;
  box-shadow:none;
  gap:6px;
}
.sgsv5-intake-wrap-demo .sgsv5-demo-path strong{
  font-size:16px;
  line-height:1.25;
}
.sgsv5-intake-wrap-demo .sgsv5-demo-path span{
  font-size:14px;
  line-height:1.6;
}
.sgsv5-intake-wrap-demo-standard .sgsv5-intake-form,
.sgsv5-intake-wrap-demo-planner-only .sgsv5-demo-planner-host{
  max-width:680px;
}
.sgsv5-intake-wrap-demo-planner-only .sgsv5-demo-planner-host{
  padding-top:4px !important;
}
@media (max-width:760px){
  .sgsv5-intake-wrap-demo .sgsv5-demo-path-grid{grid-template-columns:1fr;}
}

/* v2.5.83 sales portal compact layout + bulk task actions */
.sgsv5-sales-portal,
.entry-content > .sgsv5-sales-portal,
.wp-block-post-content > .sgsv5-sales-portal,
.site-main .sgsv5-sales-portal{
  width:100% !important;
  max-width:none !important;
  padding:6px 10px 18px !important;
}
.sgsv5-sales-shell,
.sgsv5-sales-card-shell{
  width:100% !important;
  max-width:none !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card{
  width:100%;
  max-width:none;
  padding:10px 12px;
  border-radius:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui h1{
  font-size:24px;
  text-align:left;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card > p{
  text-align:left;
  margin:0 0 8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-head-row{
  gap:8px;
  margin:4px 0 8px;
}
.sgsv5-sales-setup-strip{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) auto;
  gap:10px;
  align-items:center;
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid #d8dee6;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f8fafc);
}
.sgsv5-sales-setup-strip__meta{min-width:0;}
.sgsv5-sales-setup-strip__note{
  margin-top:6px;
  font-size:12px;
  line-height:1.5;
  color:#64748b;
  max-width:72ch;
}
.sgsv5-sales-setup-strip__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat{
  min-height:0;
  padding:8px 10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat strong{
  font-size:18px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tabs{
  gap:6px;
  margin:0 0 8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tab{
  min-height:32px;
  padding:0 10px;
  font-size:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel{
  padding:10px 12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-subheading{
  margin:10px 0 6px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-fold-section{
  margin-top:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-fold-section summary{
  padding:10px 12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-fold-body{
  padding:10px 12px 12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody td{
  padding:7px 8px;
  vertical-align:top;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody tr.is-selected{
  background:#fff7ed;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-actions > summary{
  font-size:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-form{
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid textarea,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid input{
  min-height:36px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .button{
  min-height:30px;
  padding:0 8px;
  font-size:11px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-bulk{
  padding:10px !important;
  border-radius:12px !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-bulk input[type="text"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-bulk input[type="date"]{
  min-height:36px;
  padding:0 10px;
  border-radius:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-bulk .button{
  min-height:30px;
  padding:0 8px;
  font-size:11px;
}
@media (max-width:1100px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media (max-width:782px){
  .sgsv5-sales-portal,
  .entry-content > .sgsv5-sales-portal,
  .wp-block-post-content > .sgsv5-sales-portal,
  .site-main .sgsv5-sales-portal{
    padding:4px 6px 14px !important;
  }
  .sgsv5-sales-setup-strip{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
  .sgsv5-sales-setup-strip__actions{
    justify-content:flex-start;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tab{
    width:100%;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-bulk{
    gap:8px !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table thead,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tr,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td{
    display:block;
    width:100%;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table thead{
    display:none;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody{
    display:grid;
    gap:8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tr{
    padding:8px;
    border:1px solid #d8dee6;
    border-radius:12px;
    background:#fff;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td{
    border:0;
    padding:0 0 8px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td:last-child{
    padding-bottom:0;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td::before{
    content:attr(data-label);
    display:block;
    margin:0 0 3px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#64748b;
  }
}

/* v2.5.84 sales-hub full-width tightening */
.sgsv5-sales-portal.sgsv5-clean-ui,
.entry-content > .sgsv5-sales-portal,
.wp-block-post-content > .sgsv5-sales-portal,
.site-main .sgsv5-sales-portal{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:8px 10px 14px !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-shell,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-card-shell,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-team-shell{
  width:100%;
  max-width:none;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card{
  padding:0 0 10px !important;
  border:0;
  box-shadow:none;
  background:transparent;
}
.sgsv5-sales-portal.sgsv5-clean-ui h1{
  font-size:22px;
  text-align:left;
  margin:0 0 2px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card > p{
  text-align:left;
  font-size:12px;
  line-height:1.45;
  margin:0 0 8px;
  max-width:none;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-head-row,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-setup-strip,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel{
  box-shadow:none;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tabs{
  position:sticky;
  top:8px;
  z-index:30;
  display:flex;
  gap:6px;
  flex-wrap:nowrap;
  overflow:auto;
  white-space:nowrap;
  padding:6px;
  margin:0 0 8px;
  border:1px solid #d8dee6;
  border-radius:12px;
  background:#fff;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tab{
  flex:0 0 auto;
  width:auto;
  min-height:30px;
  padding:0 10px;
  font-size:12px;
  border-radius:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{
  grid-template-columns:repeat(8,minmax(105px,1fr));
  gap:6px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{
  grid-template-columns:repeat(4,minmax(105px,1fr));
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat{
  padding:7px 8px;
  border-radius:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat span{
  font-size:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stat strong{
  font-size:18px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table-wrap{
  overflow:auto;
  border:1px solid #d8dee6;
  border-radius:12px;
  background:#fff;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table{
  min-width:1180px;
  border-radius:0;
  table-layout:auto;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fafc;
  padding:7px 8px;
  font-size:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody td{
  padding:6px 7px;
  font-size:11px;
  line-height:1.3;
  vertical-align:top;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .button,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-bulk .button{
  min-height:28px;
  padding:0 7px;
  font-size:11px;
}
@media (max-width:1100px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats{
    grid-template-columns:repeat(4,minmax(96px,1fr));
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{
    grid-template-columns:repeat(2,minmax(96px,1fr));
  }
}
@media (max-width:782px){
  .sgsv5-sales-portal.sgsv5-clean-ui,
  .entry-content > .sgsv5-sales-portal,
  .wp-block-post-content > .sgsv5-sales-portal,
  .site-main .sgsv5-sales-portal{
    padding:6px 6px 14px !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tabs{
    top:4px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-stats-revenue{
    grid-template-columns:repeat(3,minmax(82px,1fr));
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table{
    display:table !important;
    min-width:980px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table thead{
    display:table-header-group !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody{
    display:table-row-group !important;
    gap:0 !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tr{
    display:table-row !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table th{
    display:table-cell !important;
    width:auto !important;
    padding:6px 7px !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td::before{
    display:none !important;
  }
}


/* v2.5.85 minimal sales portal */
.sgsv5-wrap.sgsv5-sales-portal.sgsv5-clean-ui,
.entry-content > .sgsv5-wrap.sgsv5-sales-portal.sgsv5-clean-ui,
.wp-block-post-content > .sgsv5-wrap.sgsv5-sales-portal.sgsv5-clean-ui,
.site-main .sgsv5-wrap.sgsv5-sales-portal.sgsv5-clean-ui{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:0 12px 16px !important;
  background:#f6f8fb !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app{display:flex;flex-direction:column;gap:10px;width:100%;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{position:sticky;top:0;z-index:40;background:rgba(246,248,251,.96);backdrop-filter:blur(10px);border-bottom:1px solid #dbe4ee;padding:12px 2px 10px;display:grid;gap:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-brandline{display:flex;flex-direction:column;gap:2px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-title{font-size:22px;line-height:1.1;font-weight:800;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-sub{font-size:12px;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-utility{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-user-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dbe4ee;border-radius:999px;background:#fff;color:#0f172a;font-size:12px;line-height:1.2;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-user-chip strong{font-size:12px;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-user-chip em{font-style:normal;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border:1px solid #dbe4ee;border-radius:10px;background:#fff;color:#10233f;font-size:13px;font-weight:800;text-decoration:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link.is-active{background:#10233f;border-color:#10233f;color:#fff;box-shadow:0 8px 20px rgba(16,35,63,.12);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-pop{position:relative;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-pop summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #dbe4ee;border-radius:10px;background:#fff;color:#10233f;font-size:12px;font-weight:700;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-pop summary::-webkit-details-marker{display:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-menu{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,92vw);padding:12px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;box-shadow:0 18px 40px rgba(15,23,42,.12);display:grid;gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-menu label{display:flex;align-items:center;gap:8px;font-size:13px;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-menu-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:6px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view{display:grid;gap:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters{display:grid;grid-template-columns:minmax(240px,1.6fr) minmax(180px,.8fr) auto auto;gap:8px;align-items:end;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--customers{grid-template-columns:minmax(240px,1.6fr) minmax(200px,.8fr) auto auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters label span{display:block;margin:0 0 5px;font-size:11px;font-weight:700;color:#64748b;letter-spacing:.02em;text-transform:uppercase;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters select{width:100%;min-height:38px;border:1px solid #dbe4ee;border-radius:10px;background:#fff;color:#0f172a;padding:0 12px;font-size:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpis-minimal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi{padding:10px 12px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;display:grid;gap:4px;min-height:76px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi span{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi strong{font-size:28px;line-height:1;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi.is-danger{background:#fff5f5;border-color:#fecaca;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi.is-warning{background:#fffbeb;border-color:#fde68a;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi.is-success{background:#f0fdf4;border-color:#bbf7d0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi.is-neutral{background:#fff;border-color:#dbe4ee;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-request-panel,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-portal-card{padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;border-radius:0 !important;margin:0 !important;max-width:none !important;text-align:left !important;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-table-wrap{margin:0;border:1px solid #dbe4ee;border-radius:12px;background:#fff;overflow:auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table{min-width:980px;width:100%;border-collapse:separate;border-spacing:0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table thead th{padding:8px 10px;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#64748b;background:#f8fafc;border-bottom:1px solid #e5edf5;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table tbody td{padding:8px 10px;font-size:12px;line-height:1.35;color:#10233f;border-bottom:1px solid #edf2f7;vertical-align:top;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.secondary,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.primary,
.sgsv5-sales-portal.sgsv5-clean-ui .button,
.sgsv5-sales-portal.sgsv5-clean-ui .button.button-small{height:34px;min-height:34px;padding:0 10px;border-radius:10px;font-size:12px;font-weight:700;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-banner{margin:0;border-radius:12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:28px 12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{width:min(420px,100%);padding:24px;border:1px solid #dbe4ee;border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(15,23,42,.08);display:grid;gap:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-brand{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-title{margin:0;font-size:30px;line-height:1.05;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-copy{margin:0;color:#64748b;font-size:14px;line-height:1.55;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form{display:grid;gap:12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form label span{display:block;margin:0 0 6px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form input{width:100%;min-height:48px;padding:0 14px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;color:#10233f;font-size:15px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-links{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-foot,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-build{font-size:12px;line-height:1.55;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-build{font-weight:700;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-row{display:grid;grid-template-columns:minmax(320px,2fr) minmax(520px,3fr);gap:10px;align-items:stretch;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search{display:grid;gap:8px;padding:10px 12px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search label span{display:block;margin:0 0 5px;font-size:11px;font-weight:700;color:#64748b;letter-spacing:.02em;text-transform:uppercase;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search input{width:100%;min-height:40px;border:1px solid #dbe4ee;border-radius:10px;background:#fff;color:#0f172a;padding:0 12px;font-size:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-kpis .sgsv5-sales-kpis-minimal{height:100%;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-kpis .sgsv5-sales-kpi{min-height:88px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-search-results{display:grid;gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-search-results__head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-search-results__head h3{margin:0;font-size:16px;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-search-results__head span{font-size:12px;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-row-menu{display:flex;justify-content:center;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kebab{min-width:34px;width:34px;padding:0 !important;font-size:20px;line-height:1;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-stack{display:grid;gap:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline{display:grid;gap:4px;padding:12px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline strong{font-size:18px;color:#10233f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline span{font-size:13px;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{display:grid;gap:10px;padding:12px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block h4{margin:0;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#64748b;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow{display:flex;gap:8px;flex-wrap:wrap;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td[data-label="Menu"],
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td[data-label="Open"]{white-space:nowrap;}
@media (max-width: 1024px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal{grid-template-columns:repeat(3,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-row{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--customers{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpis-minimal{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 720px){
  .sgsv5-wrap.sgsv5-sales-portal.sgsv5-clean-ui{padding:0 8px 14px !important;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{padding-top:10px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-utility{align-items:stretch;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-utility{justify-content:flex-start;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-row{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--customers{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpis-minimal{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi strong{font-size:24px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table{min-width:860px;}
}

/* v2.5.85 sales portal minimal full-width shell */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal,
.entry-content > .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal,
.wp-block-post-content > .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal,
.site-main .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  --sgfx-bg:#f4f6fa;
  --sgfx-panel:#ffffff;
  --sgfx-border:#d7dee8;
  --sgfx-text:#16324d;
  --sgfx-muted:#64748b;
  --sgfx-accent:#0f6cbd;
  --sgfx-accent-soft:#eaf3ff;
  --sgfx-shadow:0 10px 28px rgba(15,23,42,.06);
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw !important;
  margin-right:-50vw !important;
  width:100vw !important;
  max-width:100vw !important;
  padding:0 !important;
  background:var(--sgfx-bg);
  box-sizing:border-box;
}
.sgsv5-salesforce-portal *,
.sgsv5-salesforce-portal *::before,
.sgsv5-salesforce-portal *::after{box-sizing:border-box;}
.sgsv5-salesforce-portal .sgsv5-gate,
.sgsv5-salesforce-portal .sgsv5-portal-card,
.sgsv5-salesforce-portal .sgsv5-sales-shell,
.sgsv5-salesforce-portal .sgsv5-sales-card-shell{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-align:left !important;
  min-height:0 !important;
}
.sgsv5-salesforce-shell{max-width:100%;padding:10px 16px 22px;}
.sgsv5-salesfx-header{position:sticky;top:0;z-index:40;background:rgba(244,246,250,.96);backdrop-filter:blur(10px);padding:10px 0 10px;border-bottom:1px solid var(--sgfx-border);margin:0 0 12px;}
.sgsv5-salesfx-header-main{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px;}
.sgsv5-salesfx-brand-title{font-size:20px;font-weight:800;color:var(--sgfx-text);line-height:1.1;}
.sgsv5-salesfx-brand-meta{font-size:12px;color:var(--sgfx-muted);margin-top:3px;}
.sgsv5-salesfx-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.sgsv5-salesfx-tabs{display:flex;align-items:center;gap:8px;overflow:auto;padding:0 0 6px;margin:0 0 10px;scrollbar-width:thin;}
.sgsv5-salesfx-tab{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--sgfx-border);background:#fff;color:var(--sgfx-text);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 1px 0 rgba(15,23,42,.02);}
.sgsv5-salesfx-tab.is-active{background:var(--sgfx-accent-soft);border-color:#b8d7ff;color:var(--sgfx-accent);}
.sgsv5-salesfx-owner-form{display:grid;gap:8px;align-items:start;}
.sgsv5-salesfx-owner-chips{display:flex;gap:6px;flex-wrap:wrap;}
.sgsv5-salesfx-owner-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border-radius:999px;border:1px solid var(--sgfx-border);background:#fff;font-size:12px;font-weight:700;color:var(--sgfx-text);cursor:pointer;}
.sgsv5-salesfx-owner-chip input{margin:0;}
.sgsv5-salesfx-owner-chip.is-active{background:#fff7ed;border-color:#f7b287;color:#9a3412;}
.sgsv5-salesfx-owner-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.sgsv5-salesfx-owner-summary{font-size:12px;color:var(--sgfx-muted);}
.sgsv5-salesfx-main{display:grid;gap:12px;}
.sgsv5-salesfx-section,.sgsv5-salesfx-subpanel{background:var(--sgfx-panel);border:1px solid var(--sgfx-border);border-radius:12px;box-shadow:var(--sgfx-shadow);}
.sgsv5-salesfx-section{padding:12px;}
.sgsv5-salesfx-subpanel{padding:10px;}
.sgsv5-salesfx-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 10px;}
.sgsv5-salesfx-section-head h2,.sgsv5-salesfx-subpanel h3{margin:0;color:var(--sgfx-text);line-height:1.15;}
.sgsv5-salesfx-section-head h2{font-size:22px;}
.sgsv5-salesfx-subpanel h3{font-size:16px;margin-bottom:8px;}
.sgsv5-salesfx-section-head p{margin:4px 0 0;color:var(--sgfx-muted);font-size:13px;line-height:1.45;}
.sgsv5-salesfx-inline-filter{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(160px,.8fr) auto;gap:8px;align-items:end;}
.sgsv5-salesfx-inline-filter input,
.sgsv5-salesfx-inline-filter select,
.sgsv5-salesfx-login-form input{width:100%;min-height:38px;padding:0 12px;border:1px solid var(--sgfx-border);border-radius:10px;background:#fff;color:var(--sgfx-text);font:inherit;box-shadow:none;}
.sgsv5-salesfx-inline-filter input:focus,
.sgsv5-salesfx-inline-filter select:focus,
.sgsv5-salesfx-login-form input:focus{outline:none;border-color:#9ec5ff;box-shadow:0 0 0 3px rgba(15,108,189,.12);}
.sgsv5-salesfx-stack{display:grid;gap:12px;}
.sgsv5-salesforce-portal .sgsv5-sales-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px;}
.sgsv5-salesforce-portal .sgsv5-sales-stat{min-height:0;padding:10px 12px;border-radius:12px;border:1px solid var(--sgfx-border);background:#f8fafc;}
.sgsv5-salesforce-portal .sgsv5-sales-stat span{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--sgfx-muted);margin-bottom:4px;}
.sgsv5-salesforce-portal .sgsv5-sales-stat strong{font-size:24px;color:var(--sgfx-text);line-height:1.1;}
.sgsv5-salesforce-portal .sgsv5-hub-table-wrap,
.sgsv5-salesforce-portal .sgsv5-hub-task-table-wrap,
.sgsv5-salesforce-portal .sgsv5-sales-table-wrap{overflow:auto;border:1px solid var(--sgfx-border);border-radius:12px;background:#fff;}
.sgsv5-salesforce-portal .sgsv5-hub-table,
.sgsv5-salesforce-portal .sgsv5-sales-table,
.sgsv5-salesforce-portal .sgsv5-hub-task-sheet-table{min-width:1140px;border:0;border-spacing:0;margin:0;box-shadow:none;background:#fff;}
.sgsv5-salesforce-portal .sgsv5-hub-table thead th,
.sgsv5-salesforce-portal .sgsv5-sales-table thead th,
.sgsv5-salesforce-portal .sgsv5-hub-task-sheet-table thead th{position:sticky;top:0;background:#f8fafc;color:#4b5d73;font-size:10px;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--sgfx-border);padding:8px 9px;z-index:1;}
.sgsv5-salesforce-portal .sgsv5-hub-table tbody td,
.sgsv5-salesforce-portal .sgsv5-sales-table tbody td,
.sgsv5-salesforce-portal .sgsv5-hub-task-sheet-table tbody td{padding:8px 9px;font-size:12px;line-height:1.35;color:var(--sgfx-text);border-bottom:1px solid #edf1f5;vertical-align:top;}
.sgsv5-salesforce-portal .sgsv5-hub-table tbody tr:hover td,
.sgsv5-salesforce-portal .sgsv5-sales-table tbody tr:hover td,
.sgsv5-salesforce-portal .sgsv5-hub-task-sheet-table tbody tr:hover td{background:#fbfdff;}
.sgsv5-salesforce-portal .sgsv5-hub-actions-stack,.sgsv5-salesforce-portal .sgsv5-hub-actions{gap:6px;flex-wrap:wrap;}
.sgsv5-salesforce-portal .sgsv5-btn,
.sgsv5-salesforce-portal .button,
.sgsv5-salesforce-portal .button.button-small{min-height:32px;height:32px;padding:0 10px;border-radius:9px;font-size:12px;font-weight:700;}
.sgsv5-salesforce-portal .sgsv5-sales-cards{display:none !important;}
.sgsv5-salesforce-portal .sgsv5-hub-task-bulk{margin:0 0 10px !important;padding:10px 12px !important;border-radius:12px !important;background:#f8fafc !important;}
.sgsv5-salesforce-portal .sgsv5-sales-record-panel,
.sgsv5-salesforce-portal .sgsv5-hub-request-panel{padding:12px;border-radius:12px;border:1px solid var(--sgfx-border);background:#fff;box-shadow:var(--sgfx-shadow);}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-shell{min-height:calc(100vh - 40px);display:grid;place-items:center;padding:28px 16px;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-card{width:min(420px,100%);background:#fff;border:1px solid var(--sgfx-border);border-radius:16px;box-shadow:var(--sgfx-shadow);padding:22px;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-eyebrow{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sgfx-muted);margin-bottom:8px;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-card h1{margin:0 0 6px;font-size:28px;color:var(--sgfx-text);}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-card p{margin:0 0 14px;color:var(--sgfx-muted);font-size:14px;line-height:1.5;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-form{display:grid;gap:12px;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--sgfx-text);}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-check{display:flex !important;align-items:center;gap:8px;font-size:12px;color:var(--sgfx-muted);font-weight:600;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-check input{width:auto;min-height:0;padding:0;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-meta{display:flex;justify-content:flex-end;font-size:12px;}
.sgsv5-salesforce-portal .sgsv5-salesfx-login-meta a{color:var(--sgfx-accent);text-decoration:none;}
@media (max-width: 1100px){
  .sgsv5-salesfx-inline-filter{grid-template-columns:minmax(180px,1fr) minmax(140px,.8fr) auto;}
  .sgsv5-salesforce-portal .sgsv5-sales-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 782px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal,
  .entry-content > .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal,
  .wp-block-post-content > .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal,
  .site-main .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    left:50%;
    right:50%;
    margin-left:-50vw !important;
    margin-right:-50vw !important;
    width:100vw !important;
    max-width:100vw !important;
  }
  .sgsv5-salesforce-shell{padding:8px 8px 18px;}
  .sgsv5-salesfx-header{padding:8px 0;}
  .sgsv5-salesfx-header-main,.sgsv5-salesfx-section-head{align-items:stretch;}
  .sgsv5-salesfx-inline-filter{grid-template-columns:1fr;}
  .sgsv5-salesforce-portal .sgsv5-sales-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-salesforce-portal .sgsv5-hub-table,
  .sgsv5-salesforce-portal .sgsv5-sales-table,
  .sgsv5-salesforce-portal .sgsv5-hub-task-sheet-table{min-width:980px;}
}

/* v2.5.87 standalone sales portal + schema view */
body.sgsv5-sales-standalone{margin:0;background:#f6f8fb;color:#10233f;}
body.sgsv5-sales-standalone .site,
body.sgsv5-sales-standalone .site-main,
body.sgsv5-sales-standalone .entry-content,
body.sgsv5-sales-standalone .wp-block-post-content{max-width:none !important;margin:0 !important;padding:0 !important;}
body.sgsv5-sales-standalone .sgsv5-wrap.sgsv5-sales-portal.sgsv5-clean-ui{min-height:100vh;padding-top:0 !important;}
.admin-bar .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{top:32px;}
@media (max-width:782px){.admin-bar .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{top:46px;}}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{padding:8px 2px 10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top--minimal{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top--minimal .sgsv5-sales-nav-minimal{margin:0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top--minimal .sgsv5-sales-utility{margin-left:auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link{min-height:38px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-user-chip{padding:7px 10px;}
@media (max-width:980px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top--minimal{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top--minimal .sgsv5-sales-utility{margin-left:0;justify-content:flex-start;}
}
.sgsv5-schema-block{margin:0 0 12px;border:1px solid #d8dee6;border-radius:12px;background:#fff;overflow:hidden;}
.sgsv5-schema-block > summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:700;color:#10233f;background:#f8fafc;border-bottom:1px solid #e5edf5;}
.sgsv5-schema-block > summary::-webkit-details-marker{display:none;}
.sgsv5-schema-body{padding:14px 16px;}

/* v2.5.89 sales portal pin login + compact header polish */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{padding:14px 1.6vw 18px;box-sizing:border-box;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{padding:8px 0 10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-top--minimal{gap:12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:6px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link{min-height:36px;padding:0 10px;justify-content:center;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link > span{overflow:hidden;text-overflow:ellipsis;}
.sgsv5-sales-nav-bubble{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#f37021;color:#fff;font-size:11px;font-weight:800;line-height:1;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-utility{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-pop summary{cursor:pointer;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-menu--setup{min-width:300px;display:grid;gap:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-pin-form{display:grid;gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-pin-form label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#475569;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-pin-form input{min-height:36px;border:1px solid #dbe4ee;border-radius:10px;padding:0 10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form--secondary{margin-top:12px;padding-top:12px;border-top:1px solid #e7edf3;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form--secondary .sgsv5-auth-submit{background:#17335f;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters select{min-height:34px;height:34px;padding:0 10px;font-size:13px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters{display:grid;grid-template-columns:minmax(280px,1.8fr) minmax(180px,.7fr) auto auto;gap:8px;align-items:end;margin:0 0 10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters label span{display:block;margin:0 0 4px;font-size:10px;font-weight:700;color:#64748b;letter-spacing:.04em;text-transform:uppercase;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view{display:grid;gap:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-row{grid-template-columns:minmax(280px,1.6fr) minmax(360px,1.2fr);gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search{padding:8px 10px;gap:6px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search input{min-height:34px;height:34px;font-size:13px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-kpis .sgsv5-sales-kpi{min-height:74px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi strong{font-size:28px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{width:min(520px,100vw - 16px);border-radius:18px 0 0 18px;top:8px;bottom:8px;height:auto;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{padding:16px 18px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{padding:16px 18px 22px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-stack{gap:12px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{padding:10px;}
@media (max-width:1180px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal{grid-template-columns:repeat(3,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-row{grid-template-columns:1fr;}
}
@media (max-width:782px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{padding:10px 10px 16px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{width:calc(100vw - 8px);top:4px;bottom:4px;}
}

/* v2.5.90 sales portal logout/login gating + drawer/padding cleanup */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  padding:clamp(16px,2.6vw,34px) clamp(16px,2.4vw,30px) clamp(22px,3vw,36px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app{
  display:grid;
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view > *{
  min-width:0;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{
  padding:4px 0 8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpis-minimal,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-wrap{
  min-width:0;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  width:min(460px,100vw - 28px);
  max-width:100%;
  border-radius:20px 0 0 20px;
  top:14px;
  bottom:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
  padding:18px 20px 14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
  padding:14px 18px 22px;
  overflow-y:auto;
  overflow-x:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-stack{
  gap:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  padding:14px;
  border-radius:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-form{
  display:grid;
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid label{
  display:grid;
  gap:6px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid textarea,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid select{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid textarea{
  min-height:94px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .button,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow .sgsv5-btn{
  width:100%;
  justify-content:center;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-help{
  margin-top:2px;
  line-height:1.45;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-menu--setup{
  min-width:min(320px,calc(100vw - 48px));
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
  min-height:calc(100vh - 32px);
  padding:clamp(18px,3vw,36px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
  width:min(460px,100%);
}
@media (max-width:980px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:14px;
  }
}
@media (max-width:782px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    width:calc(100vw - 12px);
    top:6px;
    bottom:6px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
    grid-template-columns:1fr;
  }
}

/* v2.5.94 final sales portal finish: cleaner login + safer drawer fit */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  padding:clamp(22px,3.4vw,42px) clamp(18px,3vw,38px) clamp(28px,3.6vw,44px);
  box-sizing:border-box;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app{
  max-width:100%;
  margin:0 auto;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
  min-height:calc(100vh - 48px);
  padding:clamp(22px,4vw,42px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
  width:min(440px,100%);
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-copy{
  margin-bottom:4px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form--secondary{
  margin-top:8px;
  padding-top:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  right:16px;
  top:16px;
  bottom:16px;
  width:min(430px,calc(100vw - 52px));
  max-width:calc(100vw - 52px);
  border-radius:18px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
  padding:18px 18px 14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
  padding:14px 16px 20px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline{
  padding:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block form,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-hub-quick-form,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-hub-quick-grid{
  min-width:0;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-hub-quick-buttons{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-hub-quick-buttons .button,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-hub-quick-buttons .sgsv5-btn{
  min-width:0;
  width:100%;
  white-space:normal;
  line-height:1.2;
  padding:10px 12px;
  overflow-wrap:anywhere;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block select,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block textarea{
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
@media (max-width:782px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:14px 12px 20px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
    padding:18px 12px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    right:8px;
    top:8px;
    bottom:8px;
    width:calc(100vw - 16px);
    max-width:calc(100vw - 16px);
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block .sgsv5-hub-quick-buttons{
    grid-template-columns:1fr;
  }
}

/* v2.5.94 final sales portal spacing + drawer consistency */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  padding:clamp(24px,3.2vw,42px) clamp(22px,3vw,40px) clamp(30px,4vw,48px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-search-results{
  min-width:0;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  width:min(430px,calc(100vw - 52px));
  right:12px;
  top:18px;
  bottom:18px;
  height:auto;
  border-radius:18px;
  border:1px solid #dbe4ee;
  box-shadow:-8px 22px 48px rgba(15,23,42,.18);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
  padding:18px 20px 14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
  padding:16px 20px 28px;
  overflow-x:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body .sgsv5-sales-facts{
  grid-template-columns:1fr;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  padding:14px;
  border-radius:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid{
  grid-template-columns:1fr;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid textarea,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid select,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form input{
  min-width:0;
  width:100%;
  box-sizing:border-box;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
  width:min(460px,100%);
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form .sgsv5-auth-submit{
  background:#17335f;
  box-shadow:0 12px 24px rgba(15,23,42,.14);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form--secondary .sgsv5-auth-submit{
  background:#1f365c;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-build{
  padding-top:4px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-row-menu{
  justify-content:center;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kebab{
  min-width:32px;
  width:32px;
  height:32px;
  border-radius:10px;
}
@media (max-width: 980px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:18px 16px 26px;
  }
}
@media (max-width: 782px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:14px 12px 20px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    width:calc(100vw - 20px);
    right:10px;
    top:10px;
    bottom:10px;
  }
}

/* v2.5.94 sales portal final drawer fit + simplified login shell */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  box-sizing:border-box;
  padding:clamp(22px,3.4vw,44px) clamp(22px,3vw,40px) clamp(28px,3.8vw,52px) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view > *{
  min-width:0;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  right:12px;
  width:min(430px,calc(100vw - 44px));
  max-width:calc(100vw - 44px);
  border-radius:20px;
  box-sizing:border-box;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
  padding:16px 16px 24px;
  overflow-x:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body *,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body *::before,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body *::after{
  box-sizing:border-box;
  max-width:100%;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
  padding:16px 18px 14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-stack{
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  padding:12px;
  border-radius:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block h4{
  margin:0 0 8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-facts{
  grid-template-columns:1fr;
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
  grid-template-columns:1fr 1fr;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
  min-height:calc(100vh - 36px);
  padding:clamp(24px,4vw,42px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
  width:min(480px,100%);
  padding:28px 28px 24px;
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-copy{
  max-width:32ch;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-submit{
  background:#17335f !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 12px 24px rgba(16,35,63,.16) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-reset{
  background:#fff !important;
  color:#17335f !important;
  border:1px solid #dbe4ee !important;
  box-shadow:none !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-build{
  margin-top:2px;
}
@media (max-width:980px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:16px 14px 20px !important;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    right:8px;
    width:min(420px,calc(100vw - 24px));
    max-width:calc(100vw - 24px);
  }
}
@media (max-width:782px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    right:6px;
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
    grid-template-columns:1fr;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
    padding:24px 20px 20px;
  }
}

/* v2.5.94 sales portal fit-and-finish */
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  padding:clamp(20px,3.2vw,44px) clamp(20px,3vw,38px) clamp(26px,3.6vw,44px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app{
  gap:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{
  padding:6px 0 10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
  min-height:calc(100vh - 40px);
  padding:clamp(20px,3.4vw,42px);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
  width:min(440px,100%);
  padding:28px 26px 24px;
  gap:16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-copy{
  margin-top:-2px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form{
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form input{
  min-height:50px;
  font-size:16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-form--secondary{
  margin-top:2px;
  padding-top:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-submit,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-reset{
  width:100%;
  min-height:52px;
  border-radius:14px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.01em;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-submit{
  background:#17335f !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 14px 26px rgba(23,51,95,.18) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-reset{
  background:#fff !important;
  color:#17335f !important;
  border:1px solid #dbe4ee !important;
  box-shadow:none !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-build{
  margin-top:2px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table-wrap{
  border-radius:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  width:min(430px,calc(100vw - 48px));
  max-width:100%;
  top:18px;
  right:12px;
  bottom:18px;
  border-radius:22px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
  padding:18px 20px 16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
  padding:16px 18px 24px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body *{
  min-width:0;
  box-sizing:border-box;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-stack{
  gap:16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  padding:16px;
  border-radius:16px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline span,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-note-compact,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-fact strong,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body p,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body label,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body small,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body span{
  overflow-wrap:anywhere;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body .sgsv5-sales-facts{
  grid-template-columns:1fr;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body .button,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body button[type="submit"]{
  width:100%;
  min-height:42px;
  height:auto;
  padding:12px 14px;
  justify-content:center;
  white-space:normal;
  line-height:1.3;
  text-align:center;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body .sgsv5-hub-quick-grid{
  grid-template-columns:1fr;
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body .sgsv5-hub-quick-grid textarea{
  min-height:110px;
}
@media (max-width:980px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:16px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    width:min(420px,calc(100vw - 28px));
    right:8px;
    top:12px;
    bottom:12px;
  }
}
@media (max-width:782px){
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
    padding:12px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
    padding:24px 18px 20px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    width:calc(100vw - 14px);
    right:7px;
    top:7px;
    bottom:7px;
    border-radius:18px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
    padding:16px 16px 14px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
    padding:14px 14px 20px;
  }
}

/* v2.5.96 sales portal fit-and-finish */
.sgsv5-sales-portal.sgsv5-clean-ui{
  padding:16px 14px 28px !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app{
  max-width:calc(100vw - 32px);
  margin:0 auto;
  padding:0 8px 16px;
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-search-results,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header{
  max-width:100%;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tools-disclosure{
  margin:0 0 12px;
  border:1px solid #dbe4ee;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tools-disclosure > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  font-size:13px;
  font-weight:800;
  color:#17335f;
  background:#f8fafc;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tools-disclosure > summary::-webkit-details-marker{display:none;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tools-disclosure > summary small{
  font-size:11px;
  color:#64748b;
  font-weight:700;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-tools-body{
  padding:12px 14px 14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--customers,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search{
  display:grid;
  grid-template-columns:minmax(220px,1.6fr) minmax(140px,.8fr) auto auto;
  gap:8px;
  align-items:end;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--activity{
  display:grid;
  grid-template-columns:minmax(220px,1.8fr) minmax(150px,.8fr) minmax(150px,.8fr) auto auto;
  gap:8px;
  align-items:end;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters label span,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search label span{
  display:block;
  margin:0 0 4px;
  font-size:10px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#64748b;
  font-weight:800;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters select,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search input,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search select{
  min-height:36px;
  height:36px;
  padding:0 10px;
  border-radius:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-minimal-kpis,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi-grid{
  margin:0 0 12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  width:min(460px, calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  right:16px;
  top:16px;
  bottom:16px;
  height:auto;
  border-radius:18px;
  overflow:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{
  padding:16px 18px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{
  padding:16px 18px 22px;
  overflow-x:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body > *{
  max-width:100%;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-stack{
  gap:12px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{
  padding:12px;
  border-radius:14px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline strong{
  font-size:16px;
  line-height:1.25;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline span,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block p,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block label,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block small{
  font-size:12px;
  line-height:1.5;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .button,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .sgsv5-btn,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-linkrow .sgsv5-btn{
  width:100%;
  justify-content:center;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kebab{
  min-width:32px;
  width:32px;
  height:32px;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-task-sheet-table td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table td{
  padding-top:10px;
  padding-bottom:10px;
  vertical-align:top;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
  min-height:calc(100vh - 110px);
  padding:30px 18px;
}
@media (max-width: 900px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--customers,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters--activity,
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-toolbar-search{
    grid-template-columns:1fr;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app{
    max-width:calc(100vw - 18px);
    padding:0 4px 12px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
    right:6px;
    top:6px;
    bottom:6px;
  }
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{
    grid-template-columns:1fr;
  }
}

/* v2.5.98 sales portal polish + customer detail + theme controls */
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="light"],
.sgsv5-sales-portal.sgsv5-clean-ui [data-sgsv5-theme-root][data-theme="light"]{
  --sgsv5-portal-bg:#eef2f7;
  --sgsv5-portal-surface:#ffffff;
  --sgsv5-portal-surface-alt:#f8fafc;
  --sgsv5-portal-text:#10233f;
  --sgsv5-portal-muted:#64748b;
  --sgsv5-portal-border:#dbe4ee;
  --sgsv5-portal-accent:#f37021;
  --sgsv5-portal-accent-ink:#ffffff;
  --sgsv5-portal-nav:#17335f;
}
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"],
.sgsv5-sales-portal.sgsv5-clean-ui [data-sgsv5-theme-root][data-theme="dark"]{
  --sgsv5-portal-bg:#070f1b;
  --sgsv5-portal-surface:#0e1726;
  --sgsv5-portal-surface-alt:#111d30;
  --sgsv5-portal-text:#eef4ff;
  --sgsv5-portal-muted:#a6b4ca;
  --sgsv5-portal-border:#213249;
  --sgsv5-portal-accent:#f37021;
  --sgsv5-portal-accent-ink:#08111c;
  --sgsv5-portal-nav:#111d30;
}
.sgsv5-sales-portal.sgsv5-clean-ui{
  background:var(--sgsv5-portal-bg,#eef2f7) !important;
  padding:clamp(14px,2vw,28px) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-minimal{
  color:var(--sgsv5-portal-text,#10233f);
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-card,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-inline-filters,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-kpi,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-owner-menu{
  background:var(--sgsv5-portal-surface,#fff) !important;
  border-color:var(--sgsv5-portal-border,#dbe4ee) !important;
  color:var(--sgsv5-portal-text,#10233f) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-subtle,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table code,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-help,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header p,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-card .sgsv5-sales-subtle{
  color:var(--sgsv5-portal-muted,#64748b) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link{
  background:var(--sgsv5-portal-surface,#fff) !important;
  border-color:var(--sgsv5-portal-border,#dbe4ee) !important;
  color:var(--sgsv5-portal-text,#10233f) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-link.is-active{
  background:var(--sgsv5-portal-nav,#17335f) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.primary,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-auth-submit,
.sgsv5-sales-portal.sgsv5-clean-ui .button.button-primary{
  background:var(--sgsv5-portal-accent,#f37021) !important;
  color:#fff !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-btn.secondary,
.sgsv5-sales-portal.sgsv5-clean-ui .button.button-secondary,
.sgsv5-sales-portal.sgsv5-clean-ui .button,
.sgsv5-sales-portal.sgsv5-clean-ui button[type="submit"]{
  background:var(--sgsv5-portal-nav,#17335f);
  color:#fff;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-login-card{
  box-shadow:0 20px 46px rgba(2,8,23,.08);
}
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-card,
.sgsv5-sales-portal.sgsv5-clean-ui [data-sgsv5-theme-root][data-theme="dark"] .sgsv5-sales-login-card{
  box-shadow:0 24px 60px rgba(0,0,0,.42);
}
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-card,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-form label span,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-brand,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-title,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-copy,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-login-build,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-drawer__header h3,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-record-card h3,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-hub-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-hub-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-action-drawer-headline strong,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-action-drawer-block h4{
  color:var(--sgsv5-portal-text,#eef4ff) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-hub-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-hub-table thead th,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] .sgsv5-sales-table thead th{
  border-color:var(--sgsv5-portal-border,#213249) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] input,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] select,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] textarea{
  background:#0b1524 !important;
  border-color:var(--sgsv5-portal-border,#213249) !important;
  color:var(--sgsv5-portal-text,#eef4ff) !important;
}
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] input::placeholder,
.sgsv5-sales-portal.sgsv5-clean-ui[data-theme="dark"] textarea::placeholder{color:var(--sgsv5-portal-muted,#a6b4ca) !important;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-hero{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--sgsv5-portal-border,#dbe4ee);border-radius:18px;background:var(--sgsv5-portal-surface,#fff);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-copy h2{margin:0 0 8px;font-size:28px;line-height:1.08;color:var(--sgsv5-portal-text,#10233f);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-pills{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-card{padding:16px;border:1px solid var(--sgsv5-portal-border,#dbe4ee);border-radius:18px;overflow:hidden;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-card--wide{grid-column:1 / -1;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-card h3{margin:0 0 12px;font-size:16px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-facts dt{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sgsv5-portal-muted,#64748b);margin:0 0 4px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-facts dd{margin:0;font-size:14px;line-height:1.5;word-break:break-word;color:var(--sgsv5-portal-text,#10233f);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-fields .sgsv5-hub-table,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-fields .sgsv5-sales-table{min-width:0;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-setup-card{display:grid;gap:10px;padding:12px;border:1px solid var(--sgsv5-portal-border,#dbe4ee);border-radius:14px;background:var(--sgsv5-portal-surface-alt,#f8fafc);margin-bottom:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-setup-pills{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-theme-toggle{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.sgsv5-sales-portal.sgsv5-clean-ui [data-sgsv5-theme-choice].is-active{outline:2px solid rgba(243,112,33,.22);background:var(--sgsv5-portal-accent,#f37021) !important;color:#fff !important;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{
  width:min(460px, calc(100vw - 48px));
  max-width:calc(100vw - 48px);
  top:16px;
  bottom:16px;
  right:16px;
  height:auto;
  border-radius:22px;
  border:1px solid var(--sgsv5-portal-border,#dbe4ee);
  background:var(--sgsv5-portal-surface,#fff);
  overflow:hidden;
}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__header{padding:16px 16px 14px;background:var(--sgsv5-portal-surface,#fff);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body{padding:14px 14px 22px;background:var(--sgsv5-portal-surface-alt,#f8fafc);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__body > *{max-width:100%;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-headline,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-action-drawer-block{padding:12px;border-radius:14px;background:var(--sgsv5-portal-surface,#fff);}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-grid{display:grid;grid-template-columns:1fr;gap:10px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .button,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons .sgsv5-btn{width:100%;justify-content:center;min-width:0;white-space:normal;line-height:1.25;padding:10px 12px;min-height:42px;}
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-table tbody td,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-table tbody td{vertical-align:top;}
@media (max-width: 980px){
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-grid{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-facts{grid-template-columns:1fr;}
}
@media (max-width: 640px){
  .sgsv5-sales-portal.sgsv5-clean-ui{padding:12px !important;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-drawer__panel{width:calc(100vw - 20px);max-width:calc(100vw - 20px);top:10px;right:10px;bottom:10px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-hub-quick-buttons{grid-template-columns:1fr;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-hero{padding:12px;}
  .sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-record-copy h2{font-size:24px;}
}

/* v2.5.98 portal refinement overrides */
.sgsv5-sales-portal,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{
  --sg-portal-shell-pad: clamp(14px, 2.2vw, 30px);
  --sg-portal-radius: 18px;
  --sg-portal-shadow: 0 20px 46px rgba(15,23,42,.08);
  --sg-portal-bg: var(--sg-bg, #eef2f6);
  --sg-portal-card: var(--sg-soft, #ffffff);
  --sg-portal-border: var(--sg-border, #d7dee8);
  --sg-portal-text: var(--sg-text, #10233f);
  --sg-portal-muted: var(--sg-muted, #66768f);
  --sg-portal-accent: var(--sg-accent, #f37021);
  background: var(--sg-portal-bg) !important;
  color: var(--sg-portal-text);
  padding: var(--sg-portal-shell-pad) !important;
  min-height: 100vh;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-light,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-light .sgsv5-sales-portal-app{
  --sg-bg:#eef2f6;
  --sg-soft:#ffffff;
  --sg-border:#d7dee8;
  --sg-text:#10233f;
  --sg-muted:#63748c;
  --sg-accent:#f37021;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-portal-app{
  --sg-bg:#08111d;
  --sg-soft:#101826;
  --sg-border:#233247;
  --sg-text:#f5f7fb;
  --sg-muted:#9fafc3;
  --sg-accent:#f37021;
  --sg-link:#f5f7fb;
  background:linear-gradient(180deg,#07101a 0%,#0c1724 100%) !important;
  color:var(--sg-text) !important;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-app-header,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-kpi,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-card,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-section,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-panel,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-login-card,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-hub-table-wrap,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-hub-table,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-drawer__panel,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-owner-menu,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-user-chip{
  background:rgba(16,24,38,.96) !important;
  color:var(--sg-text) !important;
  border-color:var(--sg-border) !important;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-nav-link,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-btn.secondary,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .button.button-secondary,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-header-chip{
  background:#162338 !important;
  color:#f5f7fb !important;
  border-color:#2b3a54 !important;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-nav-link.is-active,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-btn.primary,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .button.button-primary,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-auth-submit{
  background:linear-gradient(180deg,#ff8d33 0%,#f37021 100%) !important;
  color:#fff !important;
  border-color:#f37021 !important;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark input,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark select,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark textarea{
  background:#0a1320 !important;
  color:#f5f7fb !important;
  border-color:#2a3a52 !important;
}

.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-subtle,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-card span,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-card small,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-heading p,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-drawer__header p,
.sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-theme-dark .sgsv5-sales-detail-table th{
  color:var(--sg-muted) !important;
}

.sgsv5-sales-portal-app,
.sgsv5-sales-view,
.sgsv5-sales-app-header{
  max-width:none;
}

.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-portal-app,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-view,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-app-header,
.sgsv5-sales-view.sgsv5-sales-customer-detail,
.sgsv5-sales-view.sgsv5-sales-record-detail{
  width:100%;
}

.sgsv5-sales-app-header{
  position:sticky;
  top:0;
  z-index:35;
  display:grid;
  gap:14px;
  padding:14px;
  border:1px solid var(--sg-portal-border);
  border-radius:var(--sg-portal-radius);
  background:color-mix(in srgb, var(--sg-portal-card) 92%, transparent);
  box-shadow:var(--sg-portal-shadow);
  backdrop-filter:blur(12px);
}
.admin-bar .sgsv5-sales-app-header{top:32px;}
@media (max-width:782px){.admin-bar .sgsv5-sales-app-header{top:46px;}}

.sgsv5-sales-app-top--minimal{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.sgsv5-sales-nav-minimal{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:10px;
  flex:1 1 720px;
  min-width:min(100%,720px);
}

.sgsv5-sales-nav-link,
.sgsv5-sales-header-chip,
.sgsv5-sales-signout-form .sgsv5-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 14px;
  border:1px solid var(--sg-portal-border);
  border-radius:12px;
  background:var(--sg-portal-card);
  color:var(--sg-portal-text);
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 1px 0 rgba(255,255,255,.35) inset;
}
.sgsv5-sales-nav-link.is-active{
  background:#10233f;
  color:#fff;
  border-color:#10233f;
}
.sgsv5-sales-nav-bubble{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:var(--sg-portal-accent);
  color:#fff;
  font-size:11px;
  line-height:1;
}

.sgsv5-sales-utility{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:1 1 360px;
}
.sgsv5-sales-user-chip{
  display:inline-flex;
  flex-direction:column;
  gap:2px;
  padding:10px 12px;
  border:1px solid var(--sg-portal-border);
  border-radius:12px;
  background:var(--sg-portal-card);
  line-height:1.2;
}
.sgsv5-sales-user-chip em{font-style:normal;color:var(--sg-portal-muted);font-size:12px;}
.sgsv5-sales-signout-form{margin:0;display:inline-flex;}

.sgsv5-sales-view,
.sgsv5-sales-detail-panel,
.sgsv5-sales-login-card,
.sgsv5-sales-kpi,
.sgsv5-hub-table-wrap,
.sgsv5-sales-detail-card,
.sgsv5-sales-detail-section{
  border-radius:var(--sg-portal-radius);
  border:1px solid var(--sg-portal-border);
  background:var(--sg-portal-card);
  box-shadow:var(--sg-portal-shadow);
}

.sgsv5-sales-kpis-row,
.sgsv5-sales-stats,
.sgsv5-sales-detail-grid,
.sgsv5-sales-detail-sections{
  gap:14px !important;
}

.sgsv5-sales-view.sgsv5-sales-customer-detail,
.sgsv5-sales-view.sgsv5-sales-record-detail{
  display:grid;
  gap:16px;
}
.sgsv5-sales-detail-header{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:20px;
  border:1px solid var(--sg-portal-border);
  border-radius:var(--sg-portal-radius);
  background:var(--sg-portal-card);
  box-shadow:var(--sg-portal-shadow);
}
.sgsv5-sales-detail-heading{display:flex;align-items:flex-start;gap:16px;min-width:min(100%,420px);}
.sgsv5-sales-detail-heading h2{margin:0 0 8px;font-size:clamp(26px,3.1vw,34px);line-height:1.08;color:var(--sg-portal-text);}
.sgsv5-sales-detail-heading p{margin:0;color:var(--sg-portal-muted);font-size:14px;line-height:1.55;max-width:760px;}
.sgsv5-sales-detail-actions{display:flex;flex-wrap:wrap;gap:10px;}
.sgsv5-sales-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
.sgsv5-sales-detail-card{padding:16px 18px;min-height:124px;display:grid;gap:8px;align-content:start;}
.sgsv5-sales-detail-card span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sg-portal-muted);}
.sgsv5-sales-detail-card strong{font-size:clamp(20px,2.2vw,26px);line-height:1.18;color:var(--sg-portal-text);}
.sgsv5-sales-detail-card small{font-size:13px;line-height:1.45;color:var(--sg-portal-muted);}
.sgsv5-sales-detail-sections{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;}
.sgsv5-sales-detail-section{padding:18px;display:grid;gap:14px;overflow:hidden;}
.sgsv5-sales-detail-section h3{margin:0;font-size:18px;color:var(--sg-portal-text);}
.sgsv5-sales-detail-table{width:100%;border-collapse:collapse;}
.sgsv5-sales-detail-table th,
.sgsv5-sales-detail-table td{padding:10px 12px;border-bottom:1px solid var(--sg-portal-border);vertical-align:top;font-size:13px;line-height:1.45;}
.sgsv5-sales-detail-table th{width:220px;text-align:left;font-weight:700;color:var(--sg-portal-muted);}
.sgsv5-sales-detail-table td{color:var(--sg-portal-text);}
.sgsv5-sales-detail-meta summary{cursor:pointer;}
.sgsv5-sales-detail-meta pre{max-height:320px;overflow:auto;}

.sgsv5-sales-drawer{
  position:fixed;
  inset:0;
  z-index:999999;
}
.sgsv5-sales-drawer__backdrop{background:rgba(10,15,24,.46);backdrop-filter:blur(4px);}
.sgsv5-sales-drawer__panel{
  position:absolute;
  top:14px;
  right:14px;
  bottom:14px;
  width:min(440px, calc(100vw - 28px));
  max-width:100%;
  border:1px solid var(--sg-portal-border);
  border-radius:24px 0 0 24px;
  background:var(--sg-portal-card);
  box-shadow:-22px 0 40px rgba(15,23,42,.18);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.sgsv5-sales-drawer__header{
  padding:18px 20px;
  border-bottom:1px solid var(--sg-portal-border);
  background:color-mix(in srgb, var(--sg-portal-card) 94%, transparent);
}
.sgsv5-sales-drawer__header h3{font-size:clamp(28px,3vw,36px);margin:4px 0 0;color:var(--sg-portal-text);}
.sgsv5-sales-drawer__header p{margin:8px 0 0;color:var(--sg-portal-muted);}
.sgsv5-sales-drawer__close{flex:0 0 auto;}
.sgsv5-sales-drawer__body{
  padding:18px 20px calc(22px + env(safe-area-inset-bottom));
  overflow:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  background:var(--sg-portal-card);
}
.sgsv5-sales-drawer__body *{max-width:100%;}
.sgsv5-sales-drawer__body .sgsv5-sales-action-drawer-stack{display:grid;gap:12px;}
.sgsv5-sales-drawer__body .sgsv5-sales-action-drawer-block{padding:14px;border:1px solid var(--sg-portal-border);border-radius:16px;background:color-mix(in srgb, var(--sg-portal-card) 92%, transparent);}
.sgsv5-sales-drawer__body .sgsv5-sales-action-drawer-block h4{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sg-portal-muted);}
.sgsv5-sales-drawer__body .sgsv5-sales-owner-menu,
.sgsv5-sales-drawer__body .sgsv5-sales-pin-form{display:grid;gap:12px;}
.sgsv5-sales-drawer__body .sgsv5-sales-owner-menu label,
.sgsv5-sales-drawer__body .sgsv5-sales-pin-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--sg-portal-text);}
.sgsv5-sales-drawer__body .sgsv5-sales-owner-menu--drawer label{grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--sg-portal-border);border-radius:12px;background:color-mix(in srgb, var(--sg-portal-card) 96%, transparent);}
.sgsv5-sales-drawer__body .sgsv5-sales-owner-menu--drawer label span{font-size:13px;color:var(--sg-portal-text);}
.sgsv5-sales-drawer__body .sgsv5-sales-owner-menu-actions,
.sgsv5-sales-drawer__body .sgsv5-sales-action-linkrow,
.sgsv5-sales-drawer__body .sgsv5-hub-quick-grid,
.sgsv5-sales-drawer__body .sgsv5-sales-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.sgsv5-sales-drawer__body .sgsv5-sales-owner-menu-actions .sgsv5-btn,
.sgsv5-sales-drawer__body .sgsv5-sales-action-linkrow .sgsv5-btn,
.sgsv5-sales-drawer__body .sgsv5-hub-quick-grid .sgsv5-btn,
.sgsv5-sales-drawer__body .sgsv5-sales-detail-actions .sgsv5-btn,
.sgsv5-sales-drawer__body button[type="submit"],
.sgsv5-sales-drawer__body .button{width:100%;min-height:42px;}
.sgsv5-sales-drawer__body textarea{min-height:110px;resize:vertical;}
.sgsv5-sales-drawer__body .sgsv5-sales-note-compact{font-size:13px;line-height:1.55;color:var(--sg-portal-text);}
.sgsv5-sales-drawer__body .sgsv5-sales-facts,
.sgsv5-sales-drawer__body .sgsv5-sales-drawer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.sgsv5-sales-drawer__body .sgsv5-sales-fact,
.sgsv5-sales-drawer__body .sgsv5-sales-drawer-fact{padding:10px 12px;border-radius:12px;border:1px solid var(--sg-portal-border);background:color-mix(in srgb, var(--sg-portal-card) 96%, transparent);}
.sgsv5-sales-drawer__body .sgsv5-sales-fact dt,
.sgsv5-sales-drawer__body .sgsv5-sales-drawer-fact dt{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sg-portal-muted);margin-bottom:6px;}
.sgsv5-sales-drawer__body .sgsv5-sales-fact dd,
.sgsv5-sales-drawer__body .sgsv5-sales-drawer-fact dd{margin:0;font-size:13px;line-height:1.45;color:var(--sg-portal-text);}

.sgsv5-sales-login-card,
.sgsv5-salesfx-login-card{
  width:min(460px,100%);
  padding:28px 28px 24px;
  border-radius:24px;
  border:1px solid var(--sg-portal-border);
  background:var(--sg-portal-card);
  box-shadow:var(--sg-portal-shadow);
}
.sgsv5-sales-login-submit,
.sgsv5-sales-portal .sgsv5-auth-submit{
  min-height:50px;
  font-size:16px;
  font-weight:800;
}

.sgsv5-sales-portal .sgsv5-hub-table-wrap,
.sgsv5-sales-portal .sgsv5-sales-table-wrap{overflow:auto;}
.sgsv5-sales-portal .sgsv5-hub-table,
.sgsv5-sales-portal .sgsv5-sales-table,
.sgsv5-sales-portal .sgsv5-hub-task-sheet-table{min-width:1080px;}
.sgsv5-sales-portal .sgsv5-hub-table th,
.sgsv5-sales-portal .sgsv5-hub-table td,
.sgsv5-sales-portal .sgsv5-sales-table th,
.sgsv5-sales-portal .sgsv5-sales-table td{padding:10px 12px;}
.sgsv5-sales-portal .sgsv5-sales-kebab{min-width:40px;padding:0;font-size:18px;}

@media (max-width:1100px){
  .sgsv5-sales-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-detail-sections{grid-template-columns:1fr;}
}
@media (max-width:860px){
  .sgsv5-sales-app-top--minimal{align-items:stretch;}
  .sgsv5-sales-nav-minimal,
  .sgsv5-sales-utility{flex:1 1 100%;}
}
@media (max-width:782px){
  .sgsv5-sales-portal,
  .sgsv5-sales-portal.sgsv5-clean-ui.sgsv5-salesforce-portal{padding:12px !important;}
  .sgsv5-sales-app-header{padding:12px;gap:12px;}
  .sgsv5-sales-nav-minimal{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sgsv5-sales-drawer__panel{top:8px;right:8px;bottom:8px;width:calc(100vw - 16px);border-radius:18px;}
  .sgsv5-sales-drawer__header{padding:16px;}
  .sgsv5-sales-drawer__header h3{font-size:28px;}
  .sgsv5-sales-drawer__body{padding:14px 14px calc(18px + env(safe-area-inset-bottom));}
  .sgsv5-sales-drawer__body .sgsv5-sales-owner-menu-actions,
  .sgsv5-sales-drawer__body .sgsv5-sales-action-linkrow,
  .sgsv5-sales-drawer__body .sgsv5-hub-quick-grid,
  .sgsv5-sales-drawer__body .sgsv5-sales-detail-actions,
  .sgsv5-sales-drawer__body .sgsv5-sales-facts,
  .sgsv5-sales-drawer__body .sgsv5-sales-drawer-facts{grid-template-columns:1fr;}
  .sgsv5-sales-detail-header{padding:16px;}
  .sgsv5-sales-detail-grid{grid-template-columns:1fr;}
  .sgsv5-sales-detail-card{min-height:0;}
}
@media (max-width:600px){
  .sgsv5-sales-nav-minimal{grid-template-columns:1fr 1fr;}
  .sgsv5-sales-user-chip,
  .sgsv5-sales-header-chip,
  .sgsv5-sales-signout-form{width:100%;}
  .sgsv5-sales-signout-form .sgsv5-btn,
  .sgsv5-sales-header-chip{width:100%;justify-content:center;}
}
.sgsv5-sales-drawer-trigger,
.sgsv5-sales-drawer__close,
.sgsv5-sales-header-chip,
.sgsv5-sales-nav-link,
.sgsv5-sales-kebab,
.sgsv5-btn,
button,
summary{touch-action:manipulation;}

/* v2.5.108 customer-linked quote prefilled address card. */
.sgsv5-prefilled-address-card{margin:10px 0 8px;padding:10px 12px;border:1px solid rgba(15,35,63,.16);border-radius:12px;background:#f8fafc;color:#0f2340;display:grid;gap:4px;line-height:1.35;}
.sgsv5-prefilled-address-card strong{font-size:12px;letter-spacing:.04em;text-transform:uppercase;font-weight:650;color:#506176;}
.sgsv5-prefilled-address-card span{font-size:14px;}

/* v2.5.154 Google settings line-by-line test lamps */
.sgsv5-google-field-test{display:inline-flex;align-items:center;gap:7px;margin:8px 0 6px;padding:7px 9px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;vertical-align:middle;}
.sgsv5-google-field-test-dot{width:10px;height:10px;border-radius:999px;background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.16);}
.sgsv5-google-field-test.is-ok .sgsv5-google-field-test-dot{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.16);}
.sgsv5-google-field-test.is-warn .sgsv5-google-field-test-dot{background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.18);}
.sgsv5-google-field-test.is-fail .sgsv5-google-field-test-dot{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.18);}
.sgsv5-google-field-test-copy{font-size:12px;color:#334155;max-width:620px;}


/* v2.5.189 legacy Customer Success guide styles retained for compatibility */
.sgsv5-customer-success-guide .sgsv5-guide-toc{
  margin:22px 0 26px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:12px;
}
.sgsv5-customer-success-guide .sgsv5-guide-toc a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 15px;
  background:#fff;
  border:1px solid #dbe3ed;
  border-radius:16px;
  color:#17335f;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}
.sgsv5-customer-success-guide .sgsv5-guide-toc span{color:#f37021;}
.sgsv5-customer-success-guide .sgsv5-guide-metric{
  color:#f37021;
  font-size:30px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
  margin-bottom:8px;
}
.sgsv5-customer-success-guide .sgsv5-guide-steps{
  counter-reset:sgsv5-guide-step;
  display:grid;
  gap:12px;
}
.sgsv5-customer-success-guide .sgsv5-guide-step{
  counter-increment:sgsv5-guide-step;
  position:relative;
  padding:16px 16px 16px 58px;
  border:1px solid #dbe3ed;
  border-radius:18px;
  background:#fff;
  color:#334155;
  line-height:1.6;
}
.sgsv5-customer-success-guide .sgsv5-guide-step:before{
  content:counter(sgsv5-guide-step);
  position:absolute;
  left:16px;
  top:16px;
  width:28px;
  height:28px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f37021;
  color:#fff;
  font-weight:900;
}
.sgsv5-customer-success-guide .sgsv5-guide-callout.is-green{background:#f0fdf4;border-color:#bbf7d0;color:#14532d;}
.sgsv5-customer-success-guide .sgsv5-guide-callout.is-blue{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a;}
.sgsv5-customer-success-guide .sgsv5-guide-callout.is-red{background:#fef2f2;border-color:#fecaca;color:#7f1d1d;}
.sgsv5-customer-success-guide .sgsv5-guide-faqs details{overflow:hidden;}
.sgsv5-customer-success-guide .sgsv5-guide-faqs details p,
.sgsv5-customer-success-guide .sgsv5-guide-faqs details .sgsv5-guide-table-wrap{margin-top:10px;}
.sgsv5-customer-success-guide code{
  display:inline-flex;
  align-items:center;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  border-radius:7px;
  padding:2px 6px;
  color:#17335f;
  font-weight:800;
}
@media (max-width:760px){
  .sgsv5-customer-success-guide .sgsv5-guide-step{padding-left:50px;}
  .sgsv5-customer-success-guide .sgsv5-guide-toc{grid-template-columns:1fr;}
}


/* v2.5.189 underline-only Customer Success navigation fallback */
.sgsv5-sales-portal .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active,
.sgsv5-sales-portal[data-theme="dark"] .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active,
.sgsv5-sales-portal.sgsv5-theme-dark .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active,
.sgsv5-theme-dark .sgsv5-sales-portal .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active{
  background:var(--sg-soft,rgba(15,23,42,.04))!important;
  border-color:var(--sg-border,rgba(148,163,184,.22))!important;
  color:var(--sg-text,#142033)!important;
  box-shadow:inset 0 -3px 0 var(--sg-accent,#f37021)!important;
}
.sgsv5-sales-portal .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active:hover,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active:hover,
.sgsv5-sales-portal[data-theme="dark"] .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active:hover,
.sgsv5-sales-portal.sgsv5-theme-dark .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active:hover,
.sgsv5-theme-dark .sgsv5-sales-portal .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active:hover{
  background:var(--sg-soft,rgba(15,23,42,.04))!important;
  color:var(--sg-text,#142033)!important;
}
.sgsv5-sales-portal .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active .sgsv5-sales-nav-bubble,
.sgsv5-sales-portal.sgsv5-clean-ui .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active .sgsv5-sales-nav-bubble,
.sgsv5-sales-portal[data-theme="dark"] .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active .sgsv5-sales-nav-bubble,
.sgsv5-sales-portal.sgsv5-theme-dark .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active .sgsv5-sales-nav-bubble,
.sgsv5-theme-dark .sgsv5-sales-portal .sgsv5-sales-nav-minimal>.sgsv5-sales-nav-link.is-active .sgsv5-sales-nav-bubble{
  background:transparent!important;
  color:var(--sg-accent,#f37021)!important;
}

/* v2.5.190 fallback: Customer Success active tabs stay transparent with one straight underline. */
.sgsv5-sales-portal .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link,
.sgsv5-sales-portal .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link:visited{
  position:relative!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--sg-text,#142033)!important;
}
.sgsv5-sales-portal .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link::after{
  content:""!important;position:absolute!important;left:10px!important;right:10px!important;bottom:0!important;height:3px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;
}
.sgsv5-sales-portal .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link.is-active,
.sgsv5-sales-portal .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link.is-active:hover,
.sgsv5-sales-portal[data-theme="dark"] .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link.is-active,
.sgsv5-sales-portal.sgsv5-theme-dark .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link.is-active{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--sg-text,#142033)!important;
}
.sgsv5-sales-portal .sgsv5-sales-nav-minimal > .sgsv5-sales-nav-link.is-active::after{background:var(--sg-accent,#f37021)!important;}
