/* Sales Presentation — standalone slide deck, sp- prefix */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.sales-presentation {
    margin: 0;
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: #2d3748;
    background: #f0f2f5;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    min-height: 100vh;
}

/* ── Top nav ── */
.sp-nav {
    background: #1a2942;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.sp-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.sp-nav-logo-mark {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1ab394, #0d9577);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.sp-nav-logo-text {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
}
.sp-nav-title {
    color: rgba(255,255,255,.6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
}
.sp-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-nav-counter {
    color: rgba(255,255,255,.5);
    font-size: 12px;
    font-weight: 600;
    padding: 0 8px;
    white-space: nowrap;
}
.sp-nav-btn {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.8);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.sp-nav-btn:hover { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }
.sp-nav-btn--disabled {
    opacity: .3;
    pointer-events: none;
}
.sp-nav-btn--primary {
    background: #1ab394;
    border-color: #1ab394;
    color: #fff;
}
.sp-nav-btn--primary:hover { background: #0d9577; border-color: #0d9577; color: #fff; }
.sp-nav-btn--pdf { color: rgba(255,255,255,.65); }
.sp-nav-btn--pdf:hover { color: #fff; }
.sp-nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* ── Slide wrapper ── */
.sp-slide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

/* ── Cover slide ── */
.sp-cover {
    background: linear-gradient(135deg, #1a2942 0%, #1e3a5f 55%, #1ab394 100%);
    border-radius: 14px;
    padding: 56px 56px 48px;
    color: #fff;
    box-shadow: 0 12px 40px rgba(26,41,66,.28);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.sp-cover::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.sp-cover-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-cover-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 12px;
    max-width: 720px;
}
.sp-cover-subtitle {
    font-size: 18px;
    opacity: .8;
    margin: 0 0 40px;
    max-width: 640px;
    line-height: 1.5;
}
.sp-cover-kpis {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.sp-cover-kpi {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 16px 24px;
    min-width: 130px;
    text-align: center;
}
.sp-cover-kpi-num {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    color: #1ab394;
    text-shadow: 0 0 20px rgba(26,179,148,.4);
}
.sp-cover-kpi-label {
    font-size: 11px;
    opacity: .65;
    margin-top: 5px;
    font-weight: 600;
    line-height: 1.3;
}
/* Keep all KPI boxes in one row; labels wrap inside the box instead */
.sp-cover-kpis--row { flex-wrap: nowrap; }
.sp-cover-kpis--row .sp-cover-kpi {
    flex: 1 1 0;
    min-width: 0;
}
.sp-cover-kpis--row .sp-cover-kpi-num { white-space: nowrap; }
@media (max-width: 768px) {
    .sp-cover-kpis--row { flex-wrap: wrap; }
    .sp-cover-kpis--row .sp-cover-kpi { flex-basis: calc(50% - 10px); }
}

/* ── Section title ── */
.sp-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1ab394;
    margin-bottom: 6px;
}
.sp-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a2942;
    margin: 0 0 6px;
    line-height: 1.2;
}
.sp-section-lead {
    font-size: 15px;
    color: #4a6580;
    margin: 0 0 32px;
    line-height: 1.6;
    max-width: 700px;
}

/* ── Cards ── */
.sp-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8ef;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
}
.sp-card-header {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf3;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sp-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1ab394, #0d9577);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}
.sp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2942;
    margin: 0;
}
.sp-card-body { padding: 24px; }

/* ── Grid layouts ── */
.sp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sp-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .sp-grid-2, .sp-grid-3 { grid-template-columns: 1fr; }
}

/* ── Feature tiles ── */
.sp-feature {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8ef;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}
.sp-feature-icon--green  { background: linear-gradient(135deg, #1ab394, #0d9577); }
.sp-feature-icon--navy   { background: linear-gradient(135deg, #1a2942, #2d4a7a); }
.sp-feature-icon--teal   { background: linear-gradient(135deg, #0891b2, #0e7490); }
.sp-feature-icon--purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

.sp-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2942;
    margin: 0;
}
.sp-feature-text {
    font-size: 13px;
    color: #4a6580;
    line-height: 1.6;
    margin: 0;
}

/* ── Problem / contrast block ── */
.sp-contrast-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 768px) { .sp-contrast-row { grid-template-columns: 1fr; } }

.sp-contrast-block {
    border-radius: 12px;
    padding: 24px;
}
.sp-contrast-block--bad {
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.sp-contrast-block--good {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.sp-contrast-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-contrast-block--bad  .sp-contrast-label { color: #dc2626; }
.sp-contrast-block--good .sp-contrast-label { color: #059669; }
.sp-contrast-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sp-contrast-list li {
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.sp-contrast-block--bad  .sp-contrast-list li { color: #7f1d1d; }
.sp-contrast-block--good .sp-contrast-list li { color: #14532d; }
.sp-contrast-list li i { margin-top: 2px; flex-shrink: 0; }
.sp-card-body > .sp-contrast-list li.sp-contrast-sub { padding-left: 24px; color: #64748b; margin-top: -4px; }
.sp-contrast-list--cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
@media (max-width: 640px) { .sp-contrast-list--cols { grid-template-columns: 1fr; } }

/* Bullet list on the dark cover */
.sp-cover-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    max-width: 680px;
}
.sp-cover-list li {
    font-size: 17px;
    line-height: 1.5;
    opacity: .85;
    padding-left: 22px;
    position: relative;
    margin-bottom: 6px;
}
.sp-cover-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1ab394;
}

/* ── Workshop list ── */
.sp-workshop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.sp-workshop-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #334155;
}
.sp-workshop-item:last-child { border-bottom: none; }
.sp-workshop-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #edfaf6;
    color: #1ab394;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #b8e8de;
}
.sp-workshop-name { font-weight: 600; flex: 1; }
.sp-workshop-tag {
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.sp-workshop-tag--annex { background: #f0fdf4; color: #059669; border: 1px solid #bbf7d0; }
.sp-workshop-tag--clause { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

/* ── Phase banner ── */
.sp-phase {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-bottom: 1px solid #e2e8ef;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-phase--plan    { background: #eff6ff; color: #2563eb; }
.sp-phase--do      { background: #f0fdf4; color: #059669; }
.sp-phase--check   { background: #fefce8; color: #ca8a04; }
.sp-phase--act     { background: #fdf4ff; color: #9333ea; }

/* ── Module pills ── */
.sp-module-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sp-module-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8ef;
    border-left: 3px solid #1ab394;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sp-module-pill i { color: #1ab394; font-size: 13px; flex-shrink: 0; }

.sp-module-grid--list {
    flex-direction: column;
    gap: 5px;
}
.sp-module-grid--list .sp-module-pill { width: 100%; }
.sp-module-pill-name { flex: 1; }
.sp-module-pill-ref {
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .2px;
}

/* ── Stat row ── */
.sp-stat-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.sp-stat-box {
    flex: 1;
    min-width: 140px;
    background: #fff;
    border: 1px solid #e2e8ef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.sp-stat-num {
    font-size: 36px;
    font-weight: 900;
    color: #1ab394;
    line-height: 1;
    margin-bottom: 4px;
}
.sp-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.4;
}

/* ── Quote / highlight block ── */
.sp-highlight {
    background: linear-gradient(135deg, #1a2942 0%, #1e3a5f 100%);
    border-radius: 12px;
    padding: 28px 32px;
    color: #fff;
    margin-bottom: 20px;
}
.sp-highlight-text {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    opacity: .95;
}
.sp-highlight-sub {
    font-size: 13px;
    opacity: .6;
    margin: 0;
}

/* ── Step list ── */
.sp-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sp-step {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}
.sp-step:last-child { border-bottom: none; }
.sp-step-num-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
}
.sp-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1ab394;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-step-line {
    width: 2px;
    flex: 1;
    background: #e2e8ef;
    margin-top: 6px;
    min-height: 12px;
}
.sp-step-content {}
.sp-step-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2942;
    margin: 0 0 4px;
}
.sp-step-text {
    font-size: 13px;
    color: #4a6580;
    line-height: 1.6;
    margin: 0;
}

/* ── CTA block ── */
.sp-cta {
    background: linear-gradient(135deg, #1ab394 0%, #0d9577 100%);
    border-radius: 12px;
    padding: 36px 40px;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 28px rgba(26,179,148,.3);
}
.sp-cta-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}
.sp-cta-sub {
    font-size: 15px;
    opacity: .85;
    margin: 0 0 28px;
}
.sp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0d9577;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: box-shadow .15s, transform .1s;
}
.sp-cta-btn:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.2);
    transform: translateY(-1px);
    color: #0d9577;
    text-decoration: none;
}

/* ── Footer ── */
.sp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 0;
    border-top: 1px solid #e2e8ef;
    margin-top: 40px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Divider ── */
.sp-divider { border: none; border-top: 1px solid #e2e8ef; margin: 28px 0; }

/* ── Screenshot ── */
.sp-screenshot {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 1px solid #e2e8ef;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    margin-top: 16px;
    cursor: zoom-in;
}

/* ── Lightbox ── */
.sp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.sp-lightbox.active { display: flex; }
.sp-lightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
    cursor: default;
    object-fit: contain;
}
.sp-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: .65;
    padding: 0;
}
.sp-lightbox-close:hover { opacity: 1; }
.sp-screenshot-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.sp-screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.sp-screenshot-gallery .sp-screenshot { margin-top: 0; }
@media (max-width: 768px) {
    .sp-screenshot-row,
    .sp-screenshot-gallery { grid-template-columns: 1fr; }
}

/* ── Module showcase (grouped screenshot boxes) ── */
.sp-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.sp-showcase-col { display: flex; flex-direction: column; gap: 14px; }
.sp-module-showcase {
    background: #fff;
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.sp-module-showcase-hd {
    background: #1a2942;
    color: rgba(255,255,255,.9);
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-module-showcase-hd i { opacity: .7; font-size: 12px; }
.sp-module-showcase-bd {
    padding: 10px;
    display: grid;
    gap: 8px;
}
.sp-module-showcase-bd--1 { grid-template-columns: 1fr; }
.sp-module-showcase-bd--2 { grid-template-columns: 1fr 1fr; }
.sp-module-showcase-bd--3 { grid-template-columns: 1fr 1fr 1fr; }
.sp-module-showcase-bd .sp-screenshot { margin-top: 0; }
@media (max-width: 768px) { .sp-showcase-grid { grid-template-columns: 1fr; } }

/* ── Spacing utilities ── */
.sp-mb-16 { margin-bottom: 16px; }
.sp-mb-20 { margin-bottom: 20px; }
.sp-mb-24 { margin-bottom: 24px; }
.sp-mb-28 { margin-bottom: 28px; }
.sp-mb-0  { margin-bottom: 0; }
.sp-mt-0  { margin-top: 0; }

.sp-feature--center { justify-content: center; }

/* Vertical stack of features next to a card in a grid column */
.sp-col-stack { display: flex; flex-direction: column; gap: 16px; }
.sp-section-title--sm { font-size: 22px; }

/* Checklists used inside cards/features outside the bad/good contrast blocks */
.sp-card-body > .sp-contrast-list li i,
.sp-feature > .sp-contrast-list li i {
    color: #1ab394;
}
.sp-card-body > .sp-contrast-list li,
.sp-feature > .sp-contrast-list li {
    color: #334155;
}

/* ── Screenshot caption ── */
.sp-shot-caption {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin: 8px 0 0;
    letter-spacing: .2px;
}

/* ── Cover badge pills ── */
.sp-cover-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.sp-quarter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
}
.sp-quarter-badge i { color: #1ab394; }
/* Badge pills on a light slide background (outside the dark cover) */
.sp-cover-badges--light .sp-quarter-badge {
    background: linear-gradient(135deg, #1ab394, #0d9577);
    border-color: #0d9577;
    color: #fff;
    box-shadow: 0 2px 6px rgba(13,149,119,.25);
}
.sp-cover-badges--light .sp-quarter-badge i { color: #fff; }

/* External links inside slide text */
.sp-link { color: #0d9577; text-decoration: none; border-bottom: 1px dotted #0d9577; }
.sp-link:hover { color: #1ab394; border-bottom-style: solid; }

/* Labelled rows of badge pills on the cover (rcm-service-portfolio) */
.sp-cover-tags { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sp-cover-tag-row { display: flex; align-items: flex-start; gap: 12px; }
.sp-cover-tag-label {
    flex: 0 0 90px;
    padding-top: 7px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    opacity: .6;
}
@media (max-width: 640px) {
    .sp-cover-tag-row { flex-direction: column; gap: 6px; }
    .sp-cover-tag-label { flex-basis: auto; padding-top: 0; }
}

/* ── Print ── */
@media print {
    body.sales-presentation { background: #fff; }
    .sp-nav { display: none !important; }
    .sp-lightbox { display: none !important; }
    .sp-slide { padding: 24px; }
}

/* ── Documentation deliverables (isms-workshops slide 6) ── */
.sp-module-pill-ref--mandatory {
    background: #dcfce7;
    color: #047857;
}
.sp-doc-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 12px;
    color: #64748b;
}
.sp-doc-legend .sp-module-pill-ref:not(:first-child) { margin-left: 14px; }
.sp-doc-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0;
}

/* ── Roles & time commitment (isms-workshops slide 7) ── */
.sp-card-icon--navy { background: linear-gradient(135deg, #1a2942, #2d4a7a); }
.sp-table-wrap { overflow-x: auto; }
.sp-role-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #334155;
}
.sp-role-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #64748b;
    background: #f8fafc;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8ef;
}
.sp-role-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eef2f6;
    vertical-align: top;
    line-height: 1.45;
}
.sp-role-table tbody tr:last-child td { border-bottom: none; }
.sp-role-name   { font-weight: 700; color: #1a2942; min-width: 180px; }
.sp-role-nowrap { white-space: nowrap; }
.sp-role-effort { font-weight: 700; color: #0d9577; }
.sp-role-note {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #e2e8ef;
    background: #f8fafc;
}

/* Icon + title side by side at the top of a feature box */
.sp-feature-head { display: flex; align-items: center; gap: 12px; }

/* ── Commercial tables & pricing (rcm-privacy-guide) ── */
.sp-role-table tr.sp-role-total td { background: #f0fdf9; font-weight: 700; color: #1a2942; }

/* Rows belonging to the same entity: teal bar on the left, indented follow-up rows, stronger border between groups */
.sp-role-table tr.sp-role-grouped td:first-child { border-left: 3px solid #1ab394; }
.sp-role-table tr.sp-role-group-start td { border-top: 2px solid #cbd5e1; }
.sp-role-table tbody tr.sp-role-group-start:first-child td { border-top: none; }
.sp-role-table tr.sp-role-child td { border-bottom-style: dashed; }
.sp-role-table tr.sp-role-grouped td:not(:first-child) { padding-left: 36px; }
.sp-role-table tr.sp-role-grouped td:nth-child(2)::before {
    content: "\21B3";
    color: #1ab394;
    font-weight: 700;
    margin: 0 8px 0 -18px;
}
.sp-role-table--no-start-arrow tr.sp-role-group-start td:nth-child(2),
.sp-role-table--no-start-arrow tr.sp-role-total td:nth-child(2) { padding-left: 16px; }
.sp-role-table--no-start-arrow tr.sp-role-group-start td:nth-child(2)::before,
.sp-role-table--no-start-arrow tr.sp-role-total td:nth-child(2)::before { content: none; }
.sp-stat-num--old { color: #94a3b8; text-decoration: line-through; }
