.adsc5-app{font-family:Arial,Helvetica,sans-serif;color:#0f2850;max-width:1600px;margin:0 auto;background:#fff}.adsc5-app *{box-sizing:border-box}
.adsc5-breadcrumb{padding:14px 20px;font-size:13px;display:flex;gap:10px;align-items:center;border-bottom:1px solid #e9eef5}.adsc5-breadcrumb a{color:var(--royal);text-decoration:none}.adsc5-hero{display:grid;grid-template-columns:1.2fr .8fr;background:linear-gradient(115deg,var(--navy),#0b3e82);color:#fff;padding:46px 54px;min-height:290px}.adsc5-hero h1{margin:0 0 16px;color:#fff;font-size:clamp(38px,4.4vw,66px);line-height:1.02;letter-spacing:-1.5px}.adsc5-hero p{font-size:18px;line-height:1.55;max-width:650px}.adsc5-hero-points{display:flex;gap:28px;flex-wrap:wrap;font-weight:700;font-size:14px;margin-top:26px}.adsc5-globe{align-self:center;justify-self:center;width:180px;height:180px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;letter-spacing:2px;background:radial-gradient(circle,rgba(18,151,212,.3),transparent 65%)}
.adsc5-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 26px 0}.adsc5-lower{display:grid;grid-template-columns:1.6fr .7fr;gap:18px;padding:18px 26px}.adsc5-card{border:1px solid #dfe7f1;border-radius:14px;padding:20px;background:#fff;box-shadow:0 5px 18px rgba(10,40,80,.035)}.adsc5-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}.adsc5-title>span{width:34px;height:34px;min-width:34px;border-radius:50%;background:var(--royal);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}.adsc5-title h2{margin:1px 0 3px;color:#0c3da5;font-size:21px}.adsc5-title p{margin:0;color:#697994;font-size:12px}
.adsc5-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.adsc5-form-grid label,.adsc5-report-form label{font-weight:700;font-size:13px}.adsc5-form-grid select,.adsc5-form-grid input,.adsc5-report-form input{width:100%;height:42px;border:1px solid #cfd9e6;border-radius:7px;background:#fff;margin-top:6px;padding:0 10px;font-size:16px;color:#14284e}.adsc5-wide{grid-column:1/-1}.adsc5-primary{display:inline-block;background:linear-gradient(120deg,var(--royal),#0739a0);color:#fff;border:0;border-radius:7px;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer}.adsc5-card>.adsc5-primary{width:100%;margin-top:16px}.adsc5-primary:disabled{opacity:.6;cursor:wait}.adsc5-status{text-align:center;min-height:20px;color:#677690;font-size:12px}.adsc5-alert{background:#fff2f2;border:1px solid #f1b7b7;color:#8a1f1f;padding:10px;border-radius:7px;margin-bottom:12px}
.adsc5-result{background:linear-gradient(135deg,#0b2e59,#07398e);color:#fff;border-radius:14px;text-align:center;padding:28px 14px}.adsc5-result small{display:block}.adsc5-result strong{display:block;color:var(--green);font-size:52px;line-height:1.05;margin:8px 0}.adsc5-result b{font-size:30px;display:block}.adsc5-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.adsc5-stats>div{border:1px solid #e0e7ef;border-radius:10px;padding:14px;text-align:center}.adsc5-stats small{display:block}.adsc5-stats strong{display:block;color:var(--green);font-size:18px;margin-top:6px}
.adsc5-table-wrap{overflow:auto}.adsc5-card h3{color:#0b3fa6}.adsc5-card table{width:100%;border-collapse:collapse;font-size:12px}.adsc5-card th,.adsc5-card td{padding:12px 10px;border-bottom:1px solid #e4eaf1;text-align:right}.adsc5-card th:first-child,.adsc5-card td:first-child{text-align:left}.adsc5-card th{font-size:10px;text-transform:uppercase;background:#f4f7fb}.adsc5-card td:last-child{font-weight:800;color:var(--green)}.adsc5-disclaimer{font-size:10px;line-height:1.45;color:#66758e}.adsc5-why{background:#fbfdff}.adsc5-why ul{list-style:none;margin:10px 0 0;padding:0}.adsc5-why li{position:relative;padding:0 0 13px 26px;font-size:12px}.adsc5-why li:before{content:"✓";position:absolute;left:0;top:0;width:18px;height:18px;border-radius:50%;background:var(--royal);color:#fff;text-align:center;line-height:18px;font-size:11px}
.adsc5-proof{margin:0 26px 18px;border:1px solid #dfe7f1;border-radius:14px;background:var(--light);display:grid;grid-template-columns:repeat(5,1fr);padding:16px 20px}.adsc5-proof>div{text-align:center;padding:6px 12px;border-right:1px solid #dbe5f0}.adsc5-proof>div:last-child{border-right:0}.adsc5-proof strong{display:block;color:#0b45bc;font-size:20px}.adsc5-proof small{display:block;color:#3e506e;font-size:11px;margin-top:4px}
.adsc5-how{margin:0 26px 18px;border:1px solid #dfe7f1;border-radius:14px;padding:20px 24px}.adsc5-how>h2{text-align:center;color:#0a3b9c}.adsc5-how>div{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.adsc5-how article{position:relative;padding-left:52px}.adsc5-how article>span{position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:#edf5ff;color:var(--royal);display:flex;align-items:center;justify-content:center;font-weight:800}.adsc5-how h3{margin:2px 0 4px;color:#103c9f;font-size:14px}.adsc5-how p{margin:0;color:#485c7c;font-size:11px;line-height:1.4}
.adsc5-cta{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;background:linear-gradient(110deg,var(--navy),var(--royal));color:#fff;padding:24px 10%;margin-top:8px}.adsc5-cta h2{margin:0 0 5px;color:#fff}.adsc5-cta p{margin:0}.adsc5-cta>div:last-child{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.adsc5-report-details{position:relative}.adsc5-report-details>summary{list-style:none;background:#fff;color:var(--royal);border-radius:7px;padding:13px 20px;font-weight:800;cursor:pointer}.adsc5-report-details>summary::-webkit-details-marker{display:none}.adsc5-report-form{position:absolute;right:0;top:52px;width:360px;background:#fff;color:#14284e;border-radius:12px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.25);z-index:20}.adsc5-report-form label{display:block;margin-top:10px}.adsc5-report-form label span{font-weight:400;color:#70809a}.adsc5-report-form .adsc5-primary{width:100%;margin-top:16px}
@media(max-width:1000px){.adsc5-grid,.adsc5-lower{grid-template-columns:1fr}.adsc5-proof{grid-template-columns:1fr 1fr}.adsc5-proof>div{border-right:0;border-bottom:1px solid #dbe5f0}.adsc5-how>div{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.adsc5-hero{grid-template-columns:1fr;padding:34px 22px}.adsc5-globe{display:none}.adsc5-grid,.adsc5-lower{padding-left:14px;padding-right:14px}.adsc5-form-grid{grid-template-columns:1fr}.adsc5-wide{grid-column:auto}.adsc5-proof{margin-left:14px;margin-right:14px;grid-template-columns:1fr}.adsc5-how{margin-left:14px;margin-right:14px}.adsc5-how>div{grid-template-columns:1fr}.adsc5-cta{display:block;padding:24px}.adsc5-cta>div:last-child{margin-top:16px}.adsc5-report-form{position:static;width:min(88vw,360px);margin-top:10px}.adsc5-stats{grid-template-columns:1fr}}

.adsc5-consult-details{position:relative}
.adsc5-consult-details>summary{list-style:none;cursor:pointer}
.adsc5-consult-details>summary::-webkit-details-marker{display:none}
.adsc5-consult-form{position:absolute;right:0;top:52px;width:360px;background:#fff;color:#14284e;border-radius:12px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.25);z-index:25}
.adsc5-consult-form h3{margin:0 0 6px;color:var(--navy)}
.adsc5-consult-form p{margin:0 0 12px;color:#60718c;font-size:12px;line-height:1.45}
.adsc5-consult-form label{display:block;font-weight:700;font-size:13px;margin-top:10px}
.adsc5-consult-form label span{font-weight:400;color:#70809a}
.adsc5-consult-form input{width:100%;height:42px;margin-top:6px;border:1px solid #cfd9e6;border-radius:7px;padding:0 10px;font-size:16px;color:#14284e}
.adsc5-consult-form .adsc5-primary{width:100%;margin-top:16px}
@media(max-width:700px){.adsc5-consult-form{position:static;width:min(88vw,360px);margin-top:10px}}

.adsc5-consult-success{max-width:1548px;margin:0 auto 12px;padding:14px 18px;border:1px solid #b9dfc2;border-radius:8px;background:#f1fbf3;color:#176b30;font-size:14px}
.adsc5-consult-success strong{font-weight:800}

.adsc5-email-verification{margin:10px 0 4px;padding:10px;border:1px solid #dfe8f0;border-radius:8px;background:#f8fbfe}
.adsc5-email-verification[hidden]{display:none!important}
.adsc5-code-row{display:flex;gap:8px;margin-top:8px;align-items:center}
.adsc5-code-row[hidden]{display:none!important}
.adsc5-code-input{max-width:140px!important;letter-spacing:2px;text-align:center;font-weight:700}
.adsc5-verify-status{display:block;margin-top:7px;color:#60718c;line-height:1.35}
.adsc5-verify-status.is-verified{color:#147a3a;font-weight:700}
.adsc5-verify-status.is-error{color:#b32d2e;font-weight:700}
.cf-turnstile{margin:10px 0}


/* v7 Workforce Planning Edition */
.adsc7-app{background:#f7f9fc;padding-bottom:18px}
.adsc7-hero{display:grid;grid-template-columns:1.45fr .55fr;gap:30px;align-items:center;padding:34px 38px;background:linear-gradient(110deg,#f8fbff 0%,#fff 54%,#eaf6fd 100%);border-bottom:1px solid #dfe8f0}
.adsc7-kicker{font-size:12px;font-weight:800;letter-spacing:2.3px;color:#49637f;margin-bottom:9px}
.adsc7-hero h1{margin:0;color:#0b2e59;font-size:clamp(36px,4vw,58px);line-height:1.03;letter-spacing:-1.3px}
.adsc7-hero p{margin:12px 0 0;color:#4f6178;font-size:17px;line-height:1.5;max-width:780px}
.adsc7-hero-mark{justify-self:end;color:#0b2e59;font-size:18px;line-height:1.2;border-bottom:3px solid #1297d4;padding-bottom:10px;min-width:180px}
.adsc7-panel{margin:18px 26px 0;background:#fff;border:1px solid #dfe7f1;border-radius:14px;padding:20px;box-shadow:0 4px 18px rgba(15,40,80,.035)}
.adsc7-section-head{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;gap:12px;align-items:center;margin-bottom:18px}
.adsc7-step{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#0b5ea8,#1297d4);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.adsc7-section-head h2{margin:0;color:#0b2e59;font-size:22px}
.adsc7-section-head p{margin:3px 0 0;color:#6b788b;font-size:12px}
.adsc7-add-role{border:1px solid #74a9dd;background:#fff;color:#0b4a8e;border-radius:7px;padding:10px 14px;font-weight:800;cursor:pointer}
.adsc7-role-limit{color:#6f7c8f}
.adsc7-team-table-wrap{overflow-x:auto;border:1px solid #e1e8f0;border-radius:8px}
.adsc7-team-table{width:100%;border-collapse:collapse;min-width:1040px;font-size:12px}
.adsc7-team-table th{background:#f3f6fa;color:#243b5a;text-align:left;padding:10px;font-size:11px;border-bottom:1px solid #dce5ee}
.adsc7-team-table td{padding:8px 10px;border-bottom:1px solid #e8edf3}
.adsc7-team-table tr:last-child td{border-bottom:0}
.adsc7-team-table select,.adsc7-team-table input{width:100%;min-height:38px;border:1px solid #cfd9e6;border-radius:6px;background:#fff;padding:6px 9px;color:#14284e;font-size:14px}
.adsc7-team-table th:nth-child(1),.adsc7-team-table td:nth-child(1){width:38px;text-align:center}
.adsc7-team-table th:nth-child(4),.adsc7-team-table td:nth-child(4){width:115px}
.adsc7-team-table th:nth-child(5),.adsc7-team-table td:nth-child(5){width:170px}
.adsc7-team-table th:nth-child(6),.adsc7-team-table td:nth-child(6){width:150px}
.adsc7-team-table th:nth-child(7),.adsc7-team-table td:nth-child(7){width:75px;text-align:center}
.adsc7-remove{width:34px;height:34px;border-radius:50%;border:1px solid #d7e0ea;background:#fff;color:#8b2935;font-size:22px;line-height:1;cursor:pointer}
.adsc7-remove:disabled{opacity:.35;cursor:not-allowed}
.adsc7-build-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:14px;flex-wrap:wrap}
.adsc7-calculate{min-width:245px;background:linear-gradient(120deg,#19b6c6,#008cab)}
.adsc7-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:8px 0 22px}
.adsc7-kpis>div{border:1px solid #e0e7ef;background:#f7f9fc;border-radius:10px;padding:15px 16px}
.adsc7-kpis small{display:block;color:#42536b;font-weight:700;margin-bottom:8px}
.adsc7-kpis strong{display:block;color:#174b92;font-size:25px;line-height:1}
.adsc7-kpis .adsc7-kpi-green{background:#f2fbf5}
.adsc7-kpis .adsc7-kpi-green strong{color:#147a3a}
.adsc7-results-grid{display:grid;grid-template-columns:1.45fr .9fr;gap:28px}
.adsc7-results-grid h3{margin:0 0 10px;color:#0b2e59}
.adsc7-breakdown-table{width:100%;border-collapse:collapse;font-size:11px}
.adsc7-breakdown-table th{background:#eef3f8;color:#354960;text-align:left;padding:9px 8px}
.adsc7-breakdown-table td{padding:10px 8px;border-bottom:1px solid #e5eaf0;text-align:left}
.adsc7-breakdown-table td:not(:first-child),.adsc7-breakdown-table th:not(:first-child){text-align:right}
.adsc7-breakdown-table tfoot th{padding:10px 8px;background:#f7fafc;border-top:2px solid #d7e0e8}
.adsc7-saving-cell{font-weight:800;color:#147a3a}
.adsc7-chart{min-height:250px;border:1px solid #e2e8f0;border-radius:10px;padding:15px;background:#fbfdff}
.adsc7-chart-legend{display:flex;justify-content:flex-end;gap:16px;font-size:11px;color:#617087;margin-bottom:10px}
.adsc7-chart-legend span{display:flex;gap:6px;align-items:center}
.adsc7-dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.adsc7-dot-house{background:#8b98aa}.adsc7-dot-off{background:#1297d4}
.adsc7-chart-plot{height:195px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px;border-bottom:1px solid #ccd7e3;padding:0 6px}
.adsc7-chart-group{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center}
.adsc7-chart-bars{height:155px;display:flex;gap:5px;align-items:flex-end;justify-content:center}
.adsc7-bar{width:24px;border-radius:3px 3px 0 0;min-height:8px}
.adsc7-bar-house{background:#8b98aa}.adsc7-bar-off{background:#1297d4}
.adsc7-chart-label{font-size:9px;line-height:1.15;text-align:center;color:#536178;height:34px;padding-top:5px;overflow:hidden}
.adsc7-next .adsc7-section-head{margin-bottom:0}
.adsc7-next .adsc5-consult-details{justify-self:end}
.adsc7-benefits{margin:18px 26px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.adsc7-benefits>div{background:#fff;border:1px solid #dfe7f1;border-radius:10px;padding:15px 18px}
.adsc7-benefits strong{display:block;color:#0b2e59;font-size:13px}
.adsc7-benefits small{display:block;color:#68768a;margin-top:5px}
.adsc7-report-details{justify-self:end}
.adsc7-report-details>summary{white-space:nowrap;border:1px solid #8db6df}
@media(max-width:1100px){
  .adsc7-results-grid{grid-template-columns:1fr}
  .adsc7-kpis{grid-template-columns:repeat(2,1fr)}
  .adsc7-section-head{grid-template-columns:40px minmax(0,1fr)}
  .adsc7-section-head>.adsc7-add-role,.adsc7-section-head>.adsc7-role-limit,.adsc7-section-head>.adsc5-report-details,.adsc7-section-head>.adsc5-consult-details{grid-column:2}
  .adsc7-hero{grid-template-columns:1fr}.adsc7-hero-mark{justify-self:start}
}
@media(max-width:700px){
  .adsc7-hero{padding:28px 18px}.adsc7-hero h1{font-size:36px}.adsc7-hero p{font-size:15px}
  .adsc7-panel{margin-left:12px;margin-right:12px;padding:14px}
  .adsc7-kpis{grid-template-columns:1fr}
  .adsc7-benefits{margin-left:12px;margin-right:12px;grid-template-columns:1fr 1fr}
  .adsc7-build-actions>*{width:100%}
  .adsc7-report-details{justify-self:stretch}
  .adsc7-report-details>summary{white-space:normal;text-align:center}
}


/* v7.0.2 workforce row alignment polish */
.adsc7-team-table tbody td{
  vertical-align:middle;
}
.adsc7-team-table tbody td > select,
.adsc7-team-table tbody td > input{
  display:block;
  height:40px;
  min-height:40px;
  margin:0;
  line-height:1.2;
}
.adsc7-team-table .adsc7-benefits{
  height:40px;
  min-height:40px;
  margin:0;
}
.adsc7-action-cell{
  vertical-align:middle!important;
}
.adsc7-action-cell .adsc7-remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
  vertical-align:middle;
}


/* v7.0.3 finished landing-page footer */
.adsc703-trust{margin:20px 26px 0}
.adsc703-trust h2{margin:0 0 12px;color:#0b2e59;font-size:22px}
.adsc703-trust-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.adsc703-trust-grid article{min-height:150px;border:1px solid #dfe7f1;border-radius:14px;background:#fff;padding:16px 10px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.adsc703-trust-grid img{width:40px;height:40px;object-fit:contain;margin-bottom:9px}
.adsc703-trust-grid strong{color:#0b2e59;font-size:14px;line-height:1.08}
.adsc703-trust-grid small{color:#6a788b;font-size:10px;line-height:1.2;margin-top:8px}
.adsc703-proof-strip{margin:14px 26px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.adsc703-proof-strip>div{border:1px solid #dfe7f1;border-radius:12px;background:#f8fbfe;padding:14px 16px;text-align:center}
.adsc703-proof-strip strong{display:block;color:#0b4a8e;font-size:22px;line-height:1}
.adsc703-proof-strip span{display:block;color:#66758a;font-size:11px;margin-top:5px;font-weight:700}
.adsc703-finish-cta{margin:16px 26px 0;background:#0b3868;border-radius:14px;color:#fff;padding:28px 32px;display:grid;grid-template-columns:1.45fr .95fr 130px;gap:28px;align-items:center}
.adsc703-cta-copy h2{margin:0 0 7px;color:#fff;font-size:24px}
.adsc703-cta-copy p{margin:0 0 12px;color:#eaf2fb;font-size:13px;line-height:1.45}
.adsc703-cta-copy ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;font-size:11px;color:#fff}
.adsc703-cta-copy li:before{content:"✓";color:#76d5ff;font-weight:800;margin-right:7px}
.adsc703-cta-action{display:flex;align-items:center;justify-content:center}
.adsc703-consult-btn{width:100%;min-height:48px;border:0;border-radius:8px;background:#1b9fd3;color:#fff;font-size:14px;font-weight:800;padding:12px 16px;cursor:pointer}
.adsc703-consult-btn:hover{filter:brightness(.96)}
.adsc703-qr-wrap{text-align:center}
.adsc703-qr-wrap img{width:94px;height:94px;object-fit:contain;background:#fff;padding:6px;border-radius:4px}
.adsc703-qr-wrap small{display:block;color:#dbe9f7;font-size:10px;margin-top:6px}
.adsc703-footer{margin:0 26px;padding:16px 10px 4px;border-top:1px solid #dfe7f1;display:flex;justify-content:center;gap:42px;flex-wrap:wrap}
.adsc703-footer a{color:#35516e;text-decoration:none;font-size:12px;font-weight:700}
.adsc703-footer a:hover{text-decoration:underline}
@media(max-width:1100px){
  .adsc703-trust-grid{grid-template-columns:repeat(3,1fr)}
  .adsc703-finish-cta{grid-template-columns:1fr 1fr}
  .adsc703-qr-wrap{grid-column:2;justify-self:center}
}
@media(max-width:700px){
  .adsc703-trust,.adsc703-proof-strip,.adsc703-finish-cta,.adsc703-footer{margin-left:12px;margin-right:12px}
  .adsc703-trust-grid{grid-template-columns:1fr 1fr}
  .adsc703-proof-strip{grid-template-columns:1fr}
  .adsc703-finish-cta{grid-template-columns:1fr;padding:22px 18px}
  .adsc703-cta-copy ul{grid-template-columns:1fr}
  .adsc703-qr-wrap{grid-column:auto;justify-self:center}
  .adsc703-footer{gap:12px;flex-direction:column;align-items:center}
}


/* v7.0.4 approved CTA/footer refinement */
.adsc703-finish-cta{grid-template-columns:1.35fr 1.15fr 130px}
.adsc704-cta-center{display:flex;flex-direction:column;gap:18px;align-items:stretch}
.adsc704-cta-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.adsc704-cta-metrics>div{text-align:center;padding:0 13px;border-right:1px solid rgba(255,255,255,.25)}
.adsc704-cta-metrics>div:last-child{border-right:0}
.adsc704-cta-metrics strong{display:block;color:#fff;font-size:20px;line-height:1.05}
.adsc704-cta-metrics span{display:block;color:#e6f1fb;font-size:10px;line-height:1.25;margin-top:5px}
.adsc704-footer{display:grid;grid-template-columns:180px repeat(3,auto) 1fr;align-items:center;justify-content:stretch;gap:26px;padding-top:18px;padding-bottom:10px}
.adsc704-footer-logo img{display:block;max-width:175px;height:auto}
.adsc704-tagline{justify-self:end;color:#5f7288;font-size:14px;line-height:1.25;border-bottom:3px solid #1297d4;padding-bottom:6px}
@media(max-width:1100px){
  .adsc703-finish-cta{grid-template-columns:1fr}
  .adsc703-qr-wrap{grid-column:auto}
  .adsc704-footer{grid-template-columns:1fr 1fr;justify-items:center}
  .adsc704-tagline{justify-self:center}
}
@media(max-width:700px){
  .adsc704-cta-metrics{grid-template-columns:1fr;gap:10px}
  .adsc704-cta-metrics>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.18);padding:7px 0}
  .adsc704-cta-metrics>div:last-child{border-bottom:0}
  .adsc704-footer{grid-template-columns:1fr;gap:12px}
  .adsc704-tagline{justify-self:center}
}


/* v7.1.1 centered wide desktop layout + UI polish */
.adsc5-app.adsc7-app{
  width:100%;
  max-width:1600px;
  margin-left:auto;
  margin-right:auto;
  position:static;
  left:auto;
  right:auto;
  transform:none;
}

@media(min-width:1201px){
  /*
   * Keep the calculator centered inside the WordPress page flow.
   * Use a wide max-width instead of viewport breakout transforms,
   * which avoids GoDaddy/theme wrapper clipping and right-shift issues.
   */
  .adsc5-app.adsc7-app{
    width:calc(100% - 48px);
    max-width:1600px;
    margin:0 auto;
  }

  .adsc5-breadcrumb{
    padding-left:32px;
    padding-right:32px;
  }

  .adsc7-hero{
    padding:44px 52px;
    grid-template-columns:minmax(0,1.65fr) minmax(210px,.35fr);
  }

  .adsc7-hero h1{
    font-size:clamp(46px,3.15vw,62px);
    max-width:1040px;
  }

  .adsc7-hero p{
    font-size:18px;
    max-width:930px;
  }

  .adsc7-panel{
    margin-left:32px;
    margin-right:32px;
    padding:24px 26px;
  }

  .adsc703-trust,
  .adsc703-finish-cta,
  .adsc703-footer{
    margin-left:32px;
    margin-right:32px;
  }

  /* Section typography */
  .adsc7-section-head h2{font-size:24px}
  .adsc7-section-head p{font-size:13px}
  .adsc7-kicker{font-size:13px}
  .adsc7-role-limit{font-size:12px}

  /* Workforce table column balance */
  .adsc7-team-table{
    min-width:1120px;
    font-size:13px;
    table-layout:fixed;
  }

  .adsc7-team-table th{
    font-size:12px;
    padding:11px 12px;
  }

  .adsc7-team-table td{
    padding:9px 12px;
  }

  .adsc7-team-table th:nth-child(1),
  .adsc7-team-table td:nth-child(1){width:38px}

  .adsc7-team-table th:nth-child(2),
  .adsc7-team-table td:nth-child(2){width:22%}

  .adsc7-team-table th:nth-child(3),
  .adsc7-team-table td:nth-child(3){width:31%}

  .adsc7-team-table th:nth-child(4),
  .adsc7-team-table td:nth-child(4){width:9%}

  .adsc7-team-table th:nth-child(5),
  .adsc7-team-table td:nth-child(5){width:13%}

  .adsc7-team-table th:nth-child(6),
  .adsc7-team-table td:nth-child(6){width:11%}

  .adsc7-team-table th:nth-child(7),
  .adsc7-team-table td:nth-child(7){width:60px}

  .adsc7-team-table select,
  .adsc7-team-table input{
    font-size:15px;
  }

  /* More visual weight for primary actions */
  .adsc7-calculate{
    min-width:280px;
    min-height:50px;
    padding:14px 24px;
    font-size:15px;
  }

  .adsc7-report-details>summary{
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px 22px;
    font-size:15px;
    font-weight:800;
  }

  .adsc7-kpis{
    gap:14px;
    margin-top:10px;
    margin-bottom:24px;
  }

  .adsc7-kpis>div{
    padding:18px 18px;
  }

  .adsc7-kpis small{
    font-size:12px;
  }

  .adsc7-kpis strong{
    font-size:29px;
  }

  .adsc7-results-grid h3{
    font-size:19px;
  }

  .adsc7-breakdown-table{
    font-size:12px;
  }

  .adsc7-breakdown-table th{
    font-size:11px;
  }

  .adsc7-breakdown-table td{
    font-size:12px;
  }

  .adsc703-trust h2{font-size:24px}
  .adsc703-trust-grid strong{font-size:15px}
  .adsc703-trust-grid small{font-size:11px}

  .adsc703-cta-copy h2{font-size:27px}
  .adsc703-cta-copy p{font-size:14px}
  .adsc703-cta-copy ul{font-size:12px}
  .adsc703-consult-btn{font-size:15px}
  .adsc704-cta-metrics strong{font-size:22px}
  .adsc704-cta-metrics span{font-size:11px}
  .adsc703-footer a{font-size:13px}
}

@media(max-width:1200px){
  .adsc5-app.adsc7-app{
    width:100%;
    max-width:1600px;
    margin-left:auto;
    margin-right:auto;
    position:static;
    left:auto;
    transform:none;
  }
}


/* v7.1.2 balanced wide desktop canvas
   Uses normal centering and widens common WordPress content wrappers only
   when they actually contain the calculator. No transform breakout. */
@media(min-width:1201px){

  /* Modern-browser enhancement: let the calculator page use the viewport
     instead of being trapped inside a narrow theme content column. */
  main:has(.adsc5-app.adsc7-app),
  .site-main:has(.adsc5-app.adsc7-app),
  .wp-block-post-content:has(.adsc5-app.adsc7-app),
  .entry-content:has(.adsc5-app.adsc7-app){
    width:100%!important;
    max-width:none!important;
  }

  .wp-block-post-content:has(.adsc5-app.adsc7-app),
  .entry-content:has(.adsc5-app.adsc7-app){
    padding-left:0!important;
    padding-right:0!important;
  }

  /* About 32px minimum desktop gutter, capped at a comfortable 1540px.
     This is intentionally a little tighter than v7.1.1. */
  .adsc5-app.adsc7-app{
    width:min(1540px,calc(100vw - 64px));
    max-width:1540px;
    margin-left:auto;
    margin-right:auto;
    position:static;
    left:auto;
    right:auto;
    transform:none;
  }

  /* Tighten only the desktop outer spacing; content remains roomy. */
  .adsc7-panel{
    margin-left:24px;
    margin-right:24px;
  }

  .adsc703-trust,
  .adsc703-finish-cta,
  .adsc703-footer{
    margin-left:24px;
    margin-right:24px;
  }

  .adsc5-breadcrumb{
    padding-left:28px;
    padding-right:28px;
  }

  .adsc7-hero{
    padding-left:48px;
    padding-right:48px;
    grid-template-columns:minmax(0,1.72fr) minmax(205px,.28fr);
  }

  /* Keep v7.1.1 typography, but give KPI content a little more air. */
  .adsc7-kpis{
    gap:16px;
  }

  .adsc7-kpis>div{
    padding-left:20px;
    padding-right:20px;
  }
}


/* v7.1.3 true mobile workforce-card layout
   Prevents the wide desktop workforce table from being clipped on iPhone. */
@media(max-width:820px){

  .adsc7-panel{
    overflow:visible;
  }

  .adsc7-team-table-wrap{
    overflow:visible;
    border:0;
    border-radius:0;
  }

  .adsc7-team-table{
    display:block;
    width:100%;
    min-width:0!important;
    table-layout:auto;
    border-collapse:separate;
  }

  .adsc7-team-table thead{
    display:none;
  }

  .adsc7-team-table tbody{
    display:block;
    width:100%;
  }

  .adsc7-team-table .adsc7-role-row{
    display:block;
    width:100%;
    margin:0 0 16px;
    padding:16px;
    border:1px solid #dfe7f1;
    border-radius:12px;
    background:#fff;
    box-shadow:0 3px 12px rgba(15,40,80,.035);
  }

  .adsc7-team-table .adsc7-role-row td{
    display:block;
    width:100%!important;
    padding:0!important;
    margin:0 0 13px;
    border:0!important;
    text-align:left!important;
  }

  .adsc7-team-table .adsc7-role-row td:last-child{
    margin-bottom:0;
  }

  .adsc7-team-table .adsc7-row-number{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    font-size:0;
    margin-bottom:14px!important;
  }

  .adsc7-team-table .adsc7-row-number:before{
    content:"Role " attr(data-mobile-label);
    font-size:18px;
    line-height:1.2;
    font-weight:800;
    color:#0b2e59;
  }

  /* Use the row's data-index as the visible Role number. */
  .adsc7-team-table .adsc7-role-row .adsc7-row-number:before{
    content:"Role " attr(data-index-fallback);
  }

  .adsc7-team-table .adsc7-role-row td:nth-child(2):before,
  .adsc7-team-table .adsc7-role-row td:nth-child(3):before,
  .adsc7-team-table .adsc7-role-row td:nth-child(4):before,
  .adsc7-team-table .adsc7-role-row td:nth-child(5):before,
  .adsc7-team-table .adsc7-role-row td:nth-child(6):before,
  .adsc7-team-table .adsc7-role-row td:nth-child(7):before{
    display:block;
    margin:0 0 6px;
    color:#0b2e59;
    font-size:13px;
    line-height:1.2;
    font-weight:800;
  }

  .adsc7-team-table .adsc7-role-row td:nth-child(2):before{content:"Industry"}
  .adsc7-team-table .adsc7-role-row td:nth-child(3):before{content:"Role / Function"}
  .adsc7-team-table .adsc7-role-row td:nth-child(4):before{content:"Number of Employees"}
  .adsc7-team-table .adsc7-role-row td:nth-child(5):before{content:"Current Annual Salary (USD)"}
  .adsc7-team-table .adsc7-role-row td:nth-child(6):before{content:"Benefits & Overhead (%)"}
  .adsc7-team-table .adsc7-role-row td:nth-child(7):before{content:"Actions"}

  .adsc7-team-table select,
  .adsc7-team-table input{
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:8px 12px!important;
    font-size:16px!important;
    border-radius:8px;
  }

  .adsc7-action-cell{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }

  .adsc7-action-cell:before{
    flex:0 0 100%;
  }

  .adsc7-remove{
    width:44px!important;
    height:44px!important;
    margin:0!important;
  }

  .adsc7-build-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .adsc7-build-actions .adsc7-add-role,
  .adsc7-build-actions .adsc7-calculate{
    width:100%;
    min-width:0;
    min-height:50px;
    font-size:15px;
  }

  .adsc7-section-head{
    grid-template-columns:40px minmax(0,1fr);
    align-items:start;
  }

  .adsc7-section-head>.adsc7-add-role,
  .adsc7-section-head>.adsc7-role-limit{
    grid-column:2;
    justify-self:stretch;
  }

  .adsc7-section-head>.adsc7-add-role{
    width:100%;
  }

  .adsc7-kpis{
    grid-template-columns:1fr!important;
  }

  .adsc7-results-grid{
    grid-template-columns:1fr!important;
  }

  .adsc7-chart{
    min-height:220px;
    overflow:hidden;
  }

  .adsc7-chart-plot{
    overflow-x:auto;
    justify-content:flex-start;
  }

  .adsc7-chart-group{
    min-width:90px;
  }
}


/* v7.1.5 mobile results containment
   Keeps Savings Breakdown and Cost Comparison fully inside the phone viewport. */
@media(max-width:820px){

  /* Critical min-width reset for CSS-grid children. */
  .adsc7-results-grid,
  .adsc7-results-grid > div,
  .adsc5-table-wrap,
  .adsc7-chart{
    width:100%;
    max-width:100%;
    min-width:0!important;
    box-sizing:border-box;
  }

  /* Turn the desktop savings table into readable mobile cards. */
  .adsc5-table-wrap{
    overflow:visible!important;
  }

  .adsc7-breakdown-table{
    display:block;
    width:100%!important;
    min-width:0!important;
    border-collapse:separate;
  }

  .adsc7-breakdown-table thead{
    display:none;
  }

  .adsc7-breakdown-table tbody{
    display:block;
    width:100%;
  }

  .adsc7-breakdown-table tbody tr{
    display:block;
    width:100%;
    margin:0 0 12px;
    padding:12px 14px;
    background:#fff;
    border:1px solid #dfe7f1;
    border-radius:10px;
  }

  .adsc7-breakdown-table tbody td{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:start;
    width:100%!important;
    max-width:100%;
    padding:7px 0!important;
    border-bottom:1px solid #edf1f5!important;
    text-align:right!important;
    font-size:13px!important;
    overflow-wrap:anywhere;
  }

  .adsc7-breakdown-table tbody td:last-child{
    border-bottom:0!important;
  }

  .adsc7-breakdown-table tbody td:before{
    color:#506079;
    font-size:12px;
    font-weight:800;
    text-align:left;
  }

  .adsc7-breakdown-table tbody td:nth-child(1):before{content:"Role / Function"}
  .adsc7-breakdown-table tbody td:nth-child(2):before{content:"Employees"}
  .adsc7-breakdown-table tbody td:nth-child(3):before{content:"In-House Annual Cost"}
  .adsc7-breakdown-table tbody td:nth-child(4):before{content:"Offshore Annual Cost"}
  .adsc7-breakdown-table tbody td:nth-child(5):before{content:"Annual Savings"}
  .adsc7-breakdown-table tbody td:nth-child(6):before{content:"Savings %"}

  .adsc7-breakdown-table tbody td:first-child{
    font-weight:800;
    color:#0b2e59;
  }

  /* Total becomes its own compact summary card. */
  .adsc7-breakdown-table tfoot{
    display:block;
    width:100%;
  }

  .adsc7-breakdown-table tfoot tr{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 14px;
    width:100%;
    padding:12px 14px;
    background:#f2f7fb;
    border:1px solid #d7e3ed;
    border-radius:10px;
  }

  .adsc7-breakdown-table tfoot th{
    display:block;
    width:auto!important;
    padding:4px 0!important;
    border:0!important;
    background:transparent!important;
    text-align:left!important;
    font-size:12px!important;
  }

  .adsc7-breakdown-table tfoot th:first-child{
    grid-column:1 / -1;
    font-size:15px!important;
    color:#0b2e59;
  }

  /* Keep comparison chart contained and allow only the chart itself to scroll. */
  .adsc7-chart{
    overflow:hidden!important;
    padding:12px;
  }

  .adsc7-chart-legend{
    width:100%;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:8px 14px;
  }

  .adsc7-chart-plot{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto!important;
    overflow-y:hidden;
    display:flex;
    justify-content:flex-start!important;
    gap:8px;
    padding:0 2px 4px;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }

  .adsc7-chart-group{
    flex:0 0 82px!important;
    min-width:82px!important;
    max-width:82px;
  }

  .adsc7-chart-bars{
    width:100%;
    gap:4px;
  }

  .adsc7-bar{
    width:21px;
  }

  .adsc7-chart-label{
    width:82px;
    height:auto;
    min-height:40px;
    font-size:9px;
    white-space:normal;
    overflow-wrap:anywhere;
  }

  /* Never let the whole page acquire horizontal scroll from results. */
  .adsc5-app.adsc7-app{
    overflow-x:hidden;
  }
}
