.smd-wrap {
    --smd-bg: #f5f7fb;
    --smd-card: #ffffff;
    --smd-text: #0f172a;
    --smd-muted: #64748b;
    --smd-line: #e2e8f0;
    --smd-soft: #f8fafc;
    --smd-primary: #2563eb;
    --smd-primary-dark: #1d4ed8;
    --smd-green: #16a34a;
    --smd-red: #dc2626;
    --smd-orange: #ea580c;
    --smd-purple: #7c3aed;
    --smd-teal: #0891b2;
    color: var(--smd-text);
    margin: 0 20px 0 2px;
}

.smd-v4 {
    max-width: none;
    width: auto;
}


/* Shortcode full-width mode */
.smd-shortcode-shell {
    --smd-shortcode-page-padding: clamp(12px, 2vw, 28px);
    width: 100%;
    max-width: 100%;
    clear: both;
}

.smd-shortcode-fullwidth {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--smd-shortcode-page-padding);
    padding-right: var(--smd-shortcode-page-padding);
    overflow-x: clip;
}

.smd-shortcode-shell .smd-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.smd-shortcode-flush .smd-hero {
    margin-top: 0;
}

.smd-shortcode-message {
    padding: 16px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e3a8a;
    font-weight: 700;
}

@supports not (overflow: clip) {
    .smd-shortcode-fullwidth {
        overflow-x: hidden;
    }
}

.smd-wrap * {
    box-sizing: border-box;
}

.smd-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin: 24px 0 18px;
    padding: 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .24), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #312e81 100%);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .20);
    overflow: hidden;
    position: relative;
}

.smd-hero:after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    right: -70px;
    bottom: -80px;
}

.smd-hero-copy,
.smd-hero-actions {
    position: relative;
    z-index: 1;
}

.smd-eyebrow,
.smd-section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.smd-eyebrow {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    color: rgba(255,255,255,.92);
    margin-bottom: 12px;
}

.smd-section-kicker {
    color: var(--smd-primary);
    margin-bottom: 4px;
}

.smd-hero h1 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.smd-hero p {
    max-width: 760px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.smd-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.smd-hero-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.9);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
}

.smd-hero-actions,
.smd-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.smd-btn {
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.smd-btn:hover,
.smd-export-chip:hover,
.smd-mini-link:hover {
    transform: translateY(-1px);
}

.smd-btn-primary {
    color: #ffffff;
    background: var(--smd-primary);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
}

.smd-btn-primary:hover,
.smd-btn-primary:focus {
    color: #ffffff;
    background: var(--smd-primary-dark);
}

.smd-btn-light {
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

.smd-btn-light:hover,
.smd-btn-light:focus {
    color: #0f172a;
}

.smd-btn-ghost {
    background: #eef2ff;
    color: #1e40af;
}

.smd-control-panel,
.smd-panel,
.smd-note,
.smd-loading,
.smd-error {
    background: var(--smd-card);
    border: 1px solid var(--smd-line);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.smd-control-panel {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 18px;
    margin-bottom: 18px;
    position: sticky;
    top: 32px;
    z-index: 20;
}

.smd-control-heading h2,
.smd-panel h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--smd-text);
}

.smd-control-heading p,
.smd-card-title-row p {
    color: var(--smd-muted);
    margin: 5px 0 0;
    font-size: 12px;
}

.smd-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(135px, 1fr)) minmax(220px, 1.35fr) auto;
    gap: 12px;
    align-items: end;
}

.smd-filter-grid label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.smd-filter-grid label span {
    color: #334155;
    font-size: 12px;
    font-weight: 750;
}

.smd-filter-grid input,
.smd-filter-grid select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background-color: #ffffff;
    color: var(--smd-text);
    padding: 0 12px;
}

.smd-filter-grid input:focus,
.smd-filter-grid select:focus {
    border-color: var(--smd-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .13);
    outline: none;
}

.smd-loading,
.smd-error {
    padding: 18px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--smd-muted);
    font-weight: 700;
}

.smd-error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.smd-loader-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--smd-primary);
    box-shadow: 20px 0 0 rgba(37, 99, 235, .45), 40px 0 0 rgba(37, 99, 235, .20);
    animation: smdPulse 1s infinite ease-in-out;
}

@keyframes smdPulse {
    50% { opacity: .45; transform: translateY(-1px); }
}

.smd-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.smd-summary-item {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--smd-line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.smd-summary-item span,
.smd-summary-item small,
.smd-card-label,
.smd-card-sub,
.smd-insight-item small,
.smd-flow-meta,
.smd-action-head span {
    color: var(--smd-muted);
}

.smd-summary-item span,
.smd-card-label,
.smd-action-head span,
.smd-insight-item span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.smd-summary-item strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    margin: 8px 0 2px;
    color: var(--smd-text);
}

.smd-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    margin: 0 0 18px;
    width: max-content;
    max-width: 100%;
    background: #eaf0f8;
    border-radius: 999px;
    overflow: auto;
}

.smd-tab {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #475569;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
}

.smd-tab.is-active {
    background: #ffffff;
    color: var(--smd-primary);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.smd-tab-panel {
    display: none;
}

.smd-tab-panel.is-active {
    display: block;
}

.smd-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.smd-card {
    position: relative;
    overflow: hidden;
    min-height: 152px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--smd-line);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}

.smd-card:before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--smd-primary);
}

.smd-card.green:before { background: var(--smd-green); }
.smd-card.red:before { background: var(--smd-red); }
.smd-card.orange:before { background: var(--smd-orange); }
.smd-card.purple:before { background: var(--smd-purple); }
.smd-card.teal:before { background: var(--smd-teal); }
.smd-card.dark:before { background: #0f172a; }

.smd-card-top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.smd-card-top .dashicons {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--smd-primary);
    font-size: 18px;
}

.smd-card.green .dashicons { background: #ecfdf5; color: var(--smd-green); }
.smd-card.red .dashicons { background: #fef2f2; color: var(--smd-red); }
.smd-card.orange .dashicons { background: #fff7ed; color: var(--smd-orange); }
.smd-card.purple .dashicons { background: #f5f3ff; color: var(--smd-purple); }
.smd-card.teal .dashicons { background: #ecfeff; color: var(--smd-teal); }
.smd-card.dark .dashicons { background: #f1f5f9; color: #0f172a; }

.smd-card-top .smd-card-icon,
.smd-card-top .smd-rupee-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--smd-primary);
    font-size: 18px;
    font-weight: 850;
    line-height: 1;
}

.smd-card.green .smd-rupee-icon { background: #ecfdf5; color: var(--smd-green); }
.smd-card.dark .smd-rupee-icon { background: #f1f5f9; color: #0f172a; }
.smd-card.red .smd-rupee-icon { background: #fef2f2; color: var(--smd-red); }
.smd-card.orange .smd-rupee-icon { background: #fff7ed; color: var(--smd-orange); }
.smd-card.purple .smd-rupee-icon { background: #f5f3ff; color: var(--smd-purple); }
.smd-card.teal .smd-rupee-icon { background: #ecfeff; color: var(--smd-teal); }

.smd-card-value {
    font-size: 31px;
    font-weight: 850;
    color: var(--smd-text);
    line-height: 1.05;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

.smd-card-sub {
    min-height: 18px;
    font-size: 12px;
    line-height: 1.4;
}

.smd-card-progress,
.smd-flow-bar,
.smd-mini-bar {
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 999px;
}

.smd-card-progress {
    height: 7px;
    margin-top: 16px;
}

.smd-card-progress span,
.smd-flow-bar span,
.smd-mini-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--smd-primary), #38bdf8);
}

.smd-layout-two {
    display: grid;
    grid-template-columns: 1.55fr .85fr;
    gap: 18px;
    margin-bottom: 18px;
}

.smd-panel {
    padding: 20px;
}

.smd-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.smd-flow {
    display: grid;
    gap: 12px;
}

.smd-flow-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.smd-flow-marker {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--smd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.smd-flow-body {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    background: #fbfdff;
}

.smd-flow-row,
.smd-flow-meta,
.smd-mini-row-top,
.smd-action-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.smd-flow-label {
    font-weight: 800;
    color: #334155;
}

.smd-flow-value {
    font-size: 20px;
    color: var(--smd-text);
}

.smd-flow-bar {
    height: 8px;
    margin: 10px 0 8px;
}

.smd-flow-meta {
    font-size: 11px;
}

.smd-insights {
    display: grid;
    gap: 12px;
}

.smd-insight-item {
    padding: 15px;
    border: 1px solid var(--smd-line);
    border-radius: 16px;
    background: var(--smd-soft);
}

.smd-insight-item strong {
    display: block;
    margin: 7px 0 4px;
    font-size: 18px;
    color: var(--smd-text);
}

.smd-grid {
    display: grid;
    gap: 18px;
}

.smd-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smd-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.smd-wide {
    grid-column: 1 / -1;
}

.smd-chart-card {
    min-height: 360px;
}

.smd-chart-card canvas {
    width: 100% !important;
    height: 290px !important;
    margin-top: 10px;
}

.smd-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.smd-action-item {
    border: 1px solid var(--smd-line);
    border-radius: 18px;
    padding: 16px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.smd-action-item:before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #94a3b8;
}

.smd-action-item.high:before { background: var(--smd-red); }
.smd-action-item.medium:before { background: var(--smd-orange); }
.smd-action-item.low:before { background: var(--smd-green); }

.smd-action-head strong {
    font-size: 26px;
    color: var(--smd-text);
}

.smd-action-label {
    min-height: 38px;
    margin: 10px 0 14px;
    font-weight: 800;
    color: #334155;
    line-height: 1.35;
}

.smd-mini-link,
.smd-export-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    transition: transform .16s ease, box-shadow .16s ease;
}

.smd-mini-link {
    color: var(--smd-primary);
    background: #eff6ff;
    padding: 8px 12px;
}

.smd-mini-list {
    display: grid;
    gap: 12px;
}

.smd-mini-row {
    display: grid;
    gap: 8px;
}

.smd-mini-row-top span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: #334155;
}

.smd-mini-row-top strong {
    color: var(--smd-text);
}

.smd-mini-bar {
    height: 8px;
}

.smd-export-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.smd-export-chip {
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 10px 13px;
}

.smd-export-chip:hover,
.smd-export-chip:focus,
.smd-mini-link:hover,
.smd-mini-link:focus {
    color: #1e40af;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
}

.smd-table-wrap {
    overflow: auto;
    border: 1px solid var(--smd-line);
    border-radius: 16px;
}

.smd-table {
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
    min-width: 1180px;
}

.smd-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc !important;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 900;
    border-bottom: 1px solid var(--smd-line) !important;
    padding: 13px 12px !important;
}

.smd-table tbody td {
    padding: 13px 12px !important;
    vertical-align: middle;
    border-bottom: 1px solid #edf2f7 !important;
}

.smd-table tbody tr:hover td {
    background: #f8fbff;
}

.smd-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
    background: #f1f5f9;
    color: #475569;
}

.smd-pill.yes { background: #dcfce7; color: #166534; }
.smd-pill.no { background: #fee2e2; color: #991b1b; }
.smd-pill.warn { background: #fef3c7; color: #92400e; }
.smd-pill.danger { background: #fee2e2; color: #991b1b; }
.smd-pill.neutral { background: #eef2ff; color: #3730a3; }

.smd-empty {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: var(--smd-muted);
    background: #f8fafc;
    font-weight: 700;
}

.smd-note {
    padding: 15px 16px;
    color: #475569;
    margin: 18px 0 30px;
    line-height: 1.5;
    background: #fffbeb;
    border-color: #fde68a;
}


/* v4 polish: wider canvas, calmer spacing, clearer data warnings */
.smd-v4 {
    max-width: none;
    width: calc(100% - 20px);
}

.smd-v4 .smd-hero {
    margin-top: 18px;
    padding: 24px 26px;
    border-radius: 22px;
}

.smd-v4 .smd-hero h1 {
    font-size: clamp(26px, 2.7vw, 38px);
    letter-spacing: -.03em;
}

.smd-v4 .smd-hero p {
    max-width: 900px;
}

.smd-v4 .smd-control-panel {
    grid-template-columns: 190px 1fr;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.smd-data-warnings {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #fbbf24;
    background: #fffbeb;
    color: #78350f;
    box-shadow: 0 12px 30px rgba(180, 83, 9, .08);
}

.smd-warning-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    margin-bottom: 8px;
}

.smd-data-warnings ul {
    margin: 0 0 8px 20px;
    list-style: disc;
}

.smd-data-warnings li {
    margin: 4px 0;
    font-weight: 650;
}

.smd-data-warnings p {
    margin: 0;
    color: #92400e;
    font-size: 12px;
}

.smd-v4 .smd-summary-strip {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.smd-v4 .smd-cards {
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 16px;
}

.smd-v4 .smd-card {
    min-height: 142px;
}

.smd-v4 .smd-layout-two {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
}

.smd-v4 .smd-chart-card {
    min-height: 340px;
}

.smd-v4 .smd-chart-card canvas {
    height: 270px !important;
}

.smd-v4 .smd-flow-body {
    padding: 14px;
}

.smd-v4 .smd-card-sub {
    min-height: 34px;
}

.smd-v4 .smd-note {
    font-size: 12px;
}

@media (max-width: 1280px) {
    .smd-filter-grid {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }

    .smd-cards {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .smd-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .smd-wrap {
        margin-right: 10px;
    }

    .smd-hero,
    .smd-control-panel,
    .smd-layout-two {
        grid-template-columns: 1fr;
        display: grid;
    }

    .smd-hero-actions,
    .smd-filter-actions {
        justify-content: flex-start;
    }

    .smd-control-panel {
        position: static;
    }

    .smd-summary-strip,
    .smd-chart-grid,
    .smd-secondary-grid,
    .smd-action-grid {
        grid-template-columns: 1fr;
    }

    .smd-cards {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 600px) {
    .smd-hero {
        padding: 22px;
        border-radius: 20px;
    }

    .smd-filter-grid,
    .smd-cards {
        grid-template-columns: 1fr;
    }

    .smd-card-title-row,
    .smd-flow-row,
    .smd-flow-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Version 8 additions */
.smd-conversion-card,
.smd-payment-summary-card,
.smd-duplicate-card,
.smd-activity-card {
    margin-top: 18px;
}

.smd-conversion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.smd-small-metric {
    border: 1px solid var(--smd-line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 16px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smd-small-metric span {
    color: var(--smd-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.smd-small-metric strong {
    font-size: 24px;
    letter-spacing: -.03em;
    color: var(--smd-text);
}

.smd-small-metric small {
    color: var(--smd-muted);
    line-height: 1.45;
}

.smd-action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

button.smd-mini-link {
    border: 0;
    background: #eef2ff;
    color: #1d4ed8;
    cursor: pointer;
    font-weight: 800;
}

.smd-inline-exports {
    grid-column: 1 / -1;
    margin-top: 0;
}

.smd-duplicate-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.smd-duplicate-group {
    border: 1px solid var(--smd-line);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.smd-duplicate-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--smd-line);
}

.smd-duplicate-head span {
    color: var(--smd-muted);
    font-weight: 800;
}

.smd-duplicate-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.smd-duplicate-group li {
    margin: 0;
    padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.smd-duplicate-group li:last-child {
    border-bottom: 0;
}

.smd-duplicate-group li span {
    color: var(--smd-muted);
}

.smd-activity-list {
    display: grid;
    gap: 10px;
}

.smd-activity-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--smd-line);
    background: #ffffff;
    border-radius: 14px;
}

.smd-activity-item strong,
.smd-activity-item small,
.smd-activity-meta span {
    display: block;
}

.smd-activity-item small {
    color: var(--smd-muted);
    margin-top: 4px;
}

.smd-activity-meta {
    text-align: right;
    min-width: 160px;
    color: var(--smd-muted);
    font-size: 12px;
}

.smd-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}

.smd-modal.is-open {
    display: block;
}

.smd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
}

.smd-modal-dialog {
    position: relative;
    width: min(980px, calc(100vw - 36px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 24px auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 35px 80px rgba(15, 23, 42, .32);
}

.smd-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.smd-profile-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-right: 38px;
    margin-bottom: 18px;
}

.smd-profile-head h2 {
    margin: 4px 0 0;
    font-size: 26px;
    letter-spacing: -.03em;
}

.smd-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.smd-profile-field {
    border: 1px solid var(--smd-line);
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
}

.smd-profile-field span {
    display: block;
    color: var(--smd-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}

.smd-profile-field strong {
    display: block;
    word-break: break-word;
}

.smd-profile-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.smd-profile-step {
    display: flex;
    gap: 10px;
    border: 1px solid var(--smd-line);
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
}

.smd-profile-step > span {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 999px;
    margin-top: 3px;
    background: #cbd5e1;
}

.smd-profile-step.done > span {
    background: var(--smd-green);
}

.smd-profile-step.todo > span {
    background: var(--smd-orange);
}

.smd-profile-step strong,
.smd-profile-step small {
    display: block;
}

.smd-profile-step small {
    color: var(--smd-muted);
    margin-top: 3px;
}

.smd-loading-inline,
.smd-error-inline {
    min-height: 180px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: var(--smd-muted);
    font-weight: 800;
}

.smd-error-inline {
    color: var(--smd-red);
}

@media (max-width: 780px) {
    .smd-profile-head,
    .smd-activity-item,
    .smd-duplicate-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .smd-activity-meta {
        text-align: left;
        min-width: 0;
    }

    .smd-modal-dialog {
        padding: 18px;
        border-radius: 18px;
    }
}

/* Version 9 prediction UI */
.smd-prediction-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
}

.smd-prediction-table-wrap {
    overflow-x: auto;
}

.smd-prediction-table th,
.smd-prediction-table td {
    vertical-align: top;
    padding: 13px 12px;
}

.smd-prediction-table td strong,
.smd-prediction-table td small {
    display: block;
}

.smd-prediction-table td small {
    color: var(--smd-muted);
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
}

.smd-recommendations {
    display: grid;
    gap: 10px;
}

.smd-recommendation-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--smd-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.smd-recommendation-item span {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 900;
    font-size: 12px;
}

.smd-recommendation-item p {
    margin: 0;
    color: var(--smd-text);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

@media (max-width: 600px) {
    .smd-shortcode-fullwidth {
        padding-left: 10px;
        padding-right: 10px;
    }
}


.smd-category-table { min-width: 980px; }
.smd-category-summary-card .smd-small-metric strong { color: var(--smd-primary); }

/* v15 prediction upgrades */
.smd-prediction-planner-card {
    border: 1px solid rgba(37, 99, 235, .16);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.smd-planner-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    gap: 12px;
    align-items: end;
}

.smd-planner-grid label {
    display: grid;
    gap: 6px;
}

.smd-planner-grid label span {
    color: var(--smd-muted);
    font-size: 12px;
    font-weight: 800;
}

.smd-planner-grid input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--smd-line);
    border-radius: 12px;
    padding: 8px 10px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(15, 23, 42, .03);
}

.smd-planner-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.smd-target-grid,
.smd-whatif-grid {
    margin-top: 16px;
}

.smd-warning-recommendations {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--smd-line);
}

.smd-warning-recommendations h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--smd-text);
}

.smd-recommendation-item.warning span {
    background: #fef3c7;
    color: #92400e;
}

.smd-priority-list {
    display: grid;
    gap: 10px;
    max-height: 530px;
    overflow: auto;
    padding-right: 4px;
}

.smd-priority-item {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--smd-line);
    background: #fff;
}

.smd-priority-item.high {
    border-color: #fecaca;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.smd-priority-item.medium {
    border-color: #fde68a;
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.smd-priority-score {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.smd-priority-item.high .smd-priority-score {
    background: #fee2e2;
    color: #991b1b;
}

.smd-priority-item.medium .smd-priority-score {
    background: #fef3c7;
    color: #92400e;
}

.smd-priority-score strong {
    font-size: 18px;
    line-height: 1;
}

.smd-priority-score span {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 4px;
}

.smd-priority-body strong,
.smd-priority-body small,
.smd-priority-body p {
    display: block;
}

.smd-priority-body strong {
    font-size: 14px;
    color: var(--smd-text);
}

.smd-priority-body small {
    margin-top: 3px;
    color: var(--smd-muted);
    font-size: 11px;
    font-weight: 800;
}

.smd-priority-body p {
    margin: 6px 0 0;
    color: var(--smd-muted);
    font-size: 12px;
    line-height: 1.45;
}

.smd-category-prediction-table {
    min-width: 1100px;
}

@media (max-width: 1200px) {
    .smd-planner-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
}

@media (max-width: 760px) {
    .smd-planner-grid {
        grid-template-columns: 1fr;
    }
    .smd-priority-item {
        grid-template-columns: 52px 1fr;
    }
    .smd-priority-item .smd-mini-link {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* v16 UI/UX refresh ------------------------------------------------------ */
.smd-v16 {
    --smd-page: #f4f7fb;
    --smd-card: rgba(255,255,255,.96);
    --smd-card-solid: #ffffff;
    --smd-line: #dbe4ef;
    --smd-text: #0b1220;
    --smd-muted: #667085;
    --smd-soft: #f8fafc;
    --smd-primary: #2457e6;
    --smd-primary-dark: #183fb0;
    --smd-ring: rgba(36,87,230,.16);
    --smd-shadow-sm: 0 8px 22px rgba(15,23,42,.055);
    --smd-shadow-md: 0 18px 46px rgba(15,23,42,.075);
    --smd-shadow-lg: 0 28px 70px rgba(15,23,42,.14);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
    width: calc(100% - 20px);
    max-width: none;
    margin: 0 20px 0 0;
    padding-bottom: 34px;
    color: var(--smd-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.smd-shortcode-shell {
    background:
        radial-gradient(circle at top left, rgba(36,87,230,.10), transparent 34vw),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 42%, #f8fafc 100%);
}

.smd-shortcode-shell .smd-v16 {
    width: 100%;
    margin: 0;
    padding: clamp(10px, 1.4vw, 22px) 0 36px;
}

.smd-v16 a:focus,
.smd-v16 button:focus,
.smd-v16 input:focus,
.smd-v16 select:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--smd-ring) !important;
}

.smd-v16 .smd-hero {
    min-height: 214px;
    align-items: stretch;
    margin: 18px 0 16px;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 30px;
    background:
        radial-gradient(circle at 85% 18%, rgba(125,211,252,.34), transparent 18rem),
        radial-gradient(circle at 8% 92%, rgba(129,140,248,.28), transparent 22rem),
        linear-gradient(135deg, #07111f 0%, #102a63 48%, #172554 100%);
    box-shadow: var(--smd-shadow-lg);
}

.smd-v16 .smd-hero:before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255,255,255,.10), transparent 44%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 82px);
    pointer-events: none;
}

.smd-v16 .smd-hero:after {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -150px;
    border-color: rgba(255,255,255,.15);
    box-shadow: inset 0 0 0 42px rgba(255,255,255,.035);
}

.smd-v16 .smd-eyebrow {
    padding: 7px 12px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
}

.smd-v16 .smd-hero h1 {
    max-width: 860px;
    margin-bottom: 12px;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
    letter-spacing: -.055em;
}

.smd-v16 .smd-hero p {
    max-width: 940px;
    color: rgba(255,255,255,.84);
    font-size: 15.5px;
}

.smd-v16 .smd-hero-meta span {
    min-height: 32px;
    padding: 8px 12px;
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
    font-weight: 750;
}

.smd-v16 .smd-hero-actions {
    align-content: flex-start;
    min-width: 210px;
}

.smd-v16 .smd-btn {
    min-height: 44px;
    padding: 0 17px;
    border-radius: 14px;
    font-weight: 850;
    letter-spacing: -.01em;
}

.smd-v16 .smd-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 30px rgba(37,99,235,.25);
}

.smd-v16 .smd-btn-light {
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 30px rgba(15,23,42,.18);
}

.smd-v16 .smd-btn-ghost {
    background: #eef4ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.smd-v16 .smd-control-panel,
.smd-v16 .smd-panel,
.smd-v16 .smd-summary-item,
.smd-v16 .smd-card,
.smd-v16 .smd-small-metric,
.smd-v16 .smd-action-item,
.smd-v16 .smd-duplicate-group,
.smd-v16 .smd-activity-item,
.smd-v16 .smd-modal-dialog {
    border-color: var(--smd-line);
    background: var(--smd-card);
    box-shadow: var(--smd-shadow-sm);
}

.smd-v16 .smd-control-panel {
    grid-template-columns: 210px minmax(0,1fr);
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 22px;
    position: sticky;
    top: 36px;
    backdrop-filter: blur(18px);
}

.smd-shortcode-shell .smd-v16 .smd-control-panel {
    position: relative;
    top: auto;
}

.smd-v16 .smd-control-heading h2,
.smd-v16 .smd-panel h2 {
    font-size: 18px;
    letter-spacing: -.025em;
}

.smd-v16 .smd-control-heading p,
.smd-v16 .smd-card-title-row p {
    max-width: 720px;
    color: var(--smd-muted);
    line-height: 1.55;
}

.smd-v16 .smd-filter-grid {
    grid-template-columns: repeat(4, minmax(132px, 1fr)) minmax(260px, 1.55fr) auto;
    gap: 11px;
}

.smd-v16 .smd-filter-grid label span {
    color: #475467;
    font-size: 11.5px;
}

.smd-v16 .smd-filter-grid input,
.smd-v16 .smd-filter-grid select,
.smd-v16 .smd-planner-grid input {
    min-height: 44px;
    border-color: #d0d7e2;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(15,23,42,.02);
    font-size: 13px;
}

.smd-v16 .smd-loading,
.smd-v16 .smd-error {
    border-radius: 20px;
    box-shadow: var(--smd-shadow-sm);
}

.smd-v16 .smd-summary-strip {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.smd-v16 .smd-summary-item {
    position: relative;
    overflow: hidden;
    padding: 17px;
    border-radius: 22px;
}

.smd-v16 .smd-summary-item:after,
.smd-v16 .smd-small-metric:after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    right: -42px;
    top: -42px;
    border-radius: 999px;
    background: rgba(36,87,230,.075);
    pointer-events: none;
}

.smd-v16 .smd-summary-item strong {
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 900;
    letter-spacing: -.045em;
}

.smd-v16 .smd-tabs {
    position: sticky;
    top: 128px;
    z-index: 19;
    width: 100%;
    gap: 6px;
    padding: 7px;
    margin: 0 0 16px;
    border: 1px solid var(--smd-line);
    border-radius: 18px;
    background: rgba(238,244,255,.86);
    box-shadow: var(--smd-shadow-sm);
    backdrop-filter: blur(16px);
}

.smd-shortcode-shell .smd-v16 .smd-tabs {
    position: relative;
    top: auto;
}

.smd-v16 .smd-tab {
    flex: 1 0 auto;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 13px;
    color: #475467;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.smd-v16 .smd-tab:hover {
    background: rgba(255,255,255,.56);
    color: #1d4ed8;
}

.smd-v16 .smd-tab.is-active {
    color: #123b9f;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15,23,42,.10);
}

.smd-v16 .smd-cards {
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 16px;
}

.smd-v16 .smd-card {
    min-height: 158px;
    padding: 18px;
    border-radius: 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.smd-v16 .smd-card:hover,
.smd-v16 .smd-small-metric:hover,
.smd-v16 .smd-action-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--smd-shadow-md);
    border-color: #c7d2fe;
}

.smd-v16 .smd-card:before {
    height: 5px;
    background: linear-gradient(90deg, var(--smd-primary), #60a5fa);
}

.smd-v16 .smd-card .dashicons,
.smd-v16 .smd-card .smd-rupee-icon {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    font-size: 20px;
}

.smd-v16 .smd-card-value {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 950;
}

.smd-v16 .smd-card-label,
.smd-v16 .smd-summary-item span,
.smd-v16 .smd-small-metric span,
.smd-v16 .smd-action-head span {
    color: #667085;
    letter-spacing: .055em;
}

.smd-v16 .smd-card-sub {
    min-height: 28px;
    color: #667085;
}

.smd-v16 .smd-card-progress,
.smd-v16 .smd-flow-bar,
.smd-v16 .smd-mini-bar {
    background: #e7edf6;
}

.smd-v16 .smd-layout-two {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    gap: 16px;
}

.smd-v16 .smd-panel {
    padding: 20px;
    border-radius: 24px;
}

.smd-v16 .smd-card-title-row {
    align-items: center;
    padding-bottom: 4px;
}

.smd-v16 .smd-section-kicker {
    color: #1d4ed8;
    background: #eef4ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 5px 9px;
    margin-bottom: 8px;
}

.smd-v16 .smd-flow {
    gap: 10px;
}

.smd-v16 .smd-flow-step {
    grid-template-columns: 42px 1fr;
}

.smd-v16 .smd-flow-marker {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
}

.smd-v16 .smd-flow-body {
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.smd-v16 .smd-flow-value {
    font-size: 23px;
    font-weight: 900;
}

.smd-v16 .smd-chart-grid,
.smd-v16 .smd-secondary-grid {
    gap: 16px;
}

.smd-v16 .smd-chart-card {
    min-height: 342px;
}

.smd-v16 .smd-chart-card canvas {
    height: 255px !important;
}

.smd-v16 .smd-action-grid {
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.smd-v16 .smd-action-item {
    border-radius: 22px;
}

.smd-v16 .smd-action-label {
    min-height: 0;
}

.smd-v16 .smd-conversion-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.smd-v16 .smd-small-metric {
    position: relative;
    overflow: hidden;
    min-height: 124px;
    border-radius: 20px;
}

.smd-v16 .smd-small-metric strong {
    font-size: 28px;
    font-weight: 950;
}

.smd-v16 .smd-table-wrap {
    border-radius: 20px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(15,23,42,.02);
}

.smd-v16 .smd-table {
    width: 100%;
    font-size: 13px;
}

.smd-v16 .smd-table thead th {
    padding: 14px 12px !important;
    background: #f4f7fb !important;
    color: #475467;
}

.smd-v16 .smd-table tbody td {
    padding: 14px 12px !important;
}

.smd-v16 .smd-table tbody tr:nth-child(even) td {
    background: rgba(248,250,252,.62);
}

.smd-v16 .smd-table tbody tr:hover td {
    background: #eef6ff;
}

.smd-v16 .smd-pill {
    min-height: 26px;
    padding: 4px 10px;
    font-weight: 900;
}

.smd-v16 .smd-export-chip,
.smd-v16 .smd-mini-link,
.smd-v16 button.smd-mini-link {
    border-radius: 12px;
    padding: 9px 12px;
    background: #eef4ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
}

.smd-v16 .smd-note {
    border-radius: 20px;
}

.smd-v16 .smd-modal-backdrop {
    background: rgba(2,6,23,.60);
    backdrop-filter: blur(8px);
}

.smd-v16 .smd-modal-dialog {
    border-radius: 28px;
    box-shadow: 0 40px 100px rgba(2,6,23,.38);
}

.smd-v16 .smd-prediction-planner-card {
    background:
        radial-gradient(circle at top right, rgba(36,87,230,.10), transparent 18rem),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.smd-v16 .smd-planner-grid {
    grid-template-columns: repeat(5, minmax(145px, 1fr)) auto;
}

.smd-v16 .smd-priority-list {
    max-height: 560px;
}

.smd-v16 .smd-priority-item {
    border-radius: 18px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.smd-v16 .smd-priority-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--smd-shadow-sm);
}

.smd-v16 .smd-recommendation-item {
    border-radius: 18px;
}

.smd-v16 .smd-data-warnings {
    border-radius: 22px;
    box-shadow: var(--smd-shadow-sm);
}

@media (max-width: 1500px) {
    .smd-v16 .smd-filter-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
    .smd-v16 .smd-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 1280px) {
    .smd-v16 .smd-summary-strip {
        grid-template-columns: repeat(2, minmax(190px, 1fr));
    }
    .smd-v16 .smd-layout-two {
        grid-template-columns: 1fr;
    }
    .smd-v16 .smd-planner-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
}

@media (max-width: 960px) {
    .smd-v16 {
        width: 100%;
        margin-right: 0;
    }
    .smd-v16 .smd-hero {
        display: grid;
        grid-template-columns: 1fr;
    }
    .smd-v16 .smd-control-panel {
        grid-template-columns: 1fr;
        position: relative;
        top: auto;
    }
    .smd-v16 .smd-tabs {
        position: relative;
        top: auto;
        border-radius: 16px;
    }
    .smd-v16 .smd-tab {
        flex: 0 0 auto;
    }
    .smd-v16 .smd-filter-grid,
    .smd-v16 .smd-planner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .smd-v16 .smd-chart-card canvas {
        height: 230px !important;
    }
}

@media (max-width: 640px) {
    .smd-shortcode-fullwidth {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
    .smd-v16 .smd-hero {
        min-height: 0;
        padding: 22px;
        border-radius: 24px;
    }
    .smd-v16 .smd-hero h1 {
        font-size: 31px;
    }
    .smd-v16 .smd-summary-strip,
    .smd-v16 .smd-filter-grid,
    .smd-v16 .smd-cards,
    .smd-v16 .smd-planner-grid,
    .smd-v16 .smd-conversion-grid,
    .smd-v16 .smd-chart-grid,
    .smd-v16 .smd-secondary-grid {
        grid-template-columns: 1fr;
    }
    .smd-v16 .smd-card-title-row,
    .smd-v16 .smd-flow-row,
    .smd-v16 .smd-flow-meta,
    .smd-v16 .smd-profile-head,
    .smd-v16 .smd-activity-item,
    .smd-v16 .smd-duplicate-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .smd-v16 .smd-flow-step {
        grid-template-columns: 34px 1fr;
    }
    .smd-v16 .smd-flow-marker {
        width: 34px;
        height: 34px;
        border-radius: 13px;
    }
    .smd-v16 .smd-panel {
        padding: 16px;
        border-radius: 20px;
    }
    .smd-v16 .smd-modal-dialog {
        width: calc(100vw - 20px);
        padding: 18px;
        border-radius: 22px;
    }
}

/* --------------------------------------------------------------------------
   Version 19 — redesigned Predictions workspace
   -------------------------------------------------------------------------- */
.smd-v19 .smd-predictions-panel {
    --smd-predict-ink: #0b1739;
    --smd-predict-blue: #2457e6;
    --smd-predict-indigo: #4338ca;
    --smd-predict-cyan: #0891b2;
    --smd-predict-soft: #f4f7ff;
    --smd-predict-line: #dce5f3;
}

.smd-v19 .smd-prediction-command {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 3vw, 38px);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 14%, rgba(56, 189, 248, .26), transparent 22rem),
        radial-gradient(circle at 12% 120%, rgba(99, 102, 241, .34), transparent 24rem),
        linear-gradient(135deg, #0b1739 0%, #162f73 54%, #312e81 100%);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
}

.smd-v19 .smd-prediction-command:before,
.smd-v19 .smd-prediction-command:after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.smd-v19 .smd-prediction-command:before {
    width: 250px;
    height: 250px;
    right: -76px;
    top: -96px;
    border: 1px solid rgba(255, 255, 255, .15);
}

.smd-v19 .smd-prediction-command:after {
    width: 130px;
    height: 130px;
    right: 86px;
    top: -40px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.smd-v19 .smd-prediction-command-copy,
.smd-v19 .smd-prediction-command-meta {
    position: relative;
    z-index: 1;
}

.smd-v19 .smd-prediction-command-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #dbeafe;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.smd-v19 .smd-prediction-command h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -.05em;
    font-weight: 950;
}

.smd-v19 .smd-prediction-command-copy > p {
    max-width: 760px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
    line-height: 1.7;
}

.smd-v19 .smd-prediction-command-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.smd-v19 .smd-prediction-command-meta > span {
    min-height: 102px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(12px);
}

.smd-v19 .smd-prediction-command-meta strong,
.smd-v19 .smd-prediction-command-meta small {
    display: block;
}

.smd-v19 .smd-prediction-command-meta strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
}

.smd-v19 .smd-prediction-command-meta small {
    margin-top: 8px;
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    line-height: 1.45;
}

.smd-v19 .smd-prediction-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 7px;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.smd-v19 .smd-prediction-nav-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.smd-v19 .smd-prediction-nav-btn:hover,
.smd-v19 .smd-prediction-nav-btn.is-active {
    background: #eef4ff;
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px #dbeafe;
}

.smd-v19 .smd-prediction-zone {
    margin-top: 30px;
    scroll-margin-top: 115px;
}

.smd-v19 .smd-prediction-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin: 0 2px 13px;
}

.smd-v19 .smd-prediction-section-head h2 {
    margin: 2px 0 0;
    color: var(--smd-predict-ink);
    font-size: clamp(21px, 2vw, 29px);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.smd-v19 .smd-prediction-section-head > p {
    max-width: 520px;
    margin: 0;
    color: #64748b;
    text-align: right;
    font-size: 12.5px;
    line-height: 1.6;
}

.smd-v19 .smd-prediction-summary-card {
    padding: 18px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .06), transparent 22rem),
        #fff;
}

.smd-v19 .smd-prediction-summary-grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 12px;
}

.smd-v19 #smd-prediction-summary .smd-small-metric {
    min-height: 136px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
}

.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(1),
.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(2) {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(3),
.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(4) {
    border-color: #ddd6fe;
    background: linear-gradient(180deg, #fbfaff 0%, #f5f3ff 100%);
}

.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(5),
.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(6) {
    border-color: #bae6fd;
    background: linear-gradient(180deg, #f7fdff 0%, #ecfeff 100%);
}

.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(7),
.smd-v19 #smd-prediction-summary .smd-small-metric:nth-child(8) {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fffdf8 0%, #fff7ed 100%);
}

.smd-v19 .smd-prediction-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 0;
    padding: 11px 13px;
    border-color: #dbeafe;
    border-radius: 14px;
    background: #f8fbff;
    color: #51637a;
    font-weight: 700;
}

.smd-v19 .smd-prediction-note:before {
    content: 'i';
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 950;
}

.smd-v19 .smd-weekly-snapshot-card {
    margin-top: 12px;
    padding: 18px;
    border-radius: 24px;
}

.smd-v19 .smd-weekly-forecast-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.smd-v19 .smd-weekly-forecast-grid .smd-small-metric {
    min-height: 108px;
    background: #f8fafc;
    box-shadow: none;
}

.smd-v19 .smd-prediction-planner-card {
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
}

.smd-v19 .smd-prediction-planner-layout {
    display: grid;
    grid-template-columns: minmax(420px, .86fr) minmax(0, 1.14fr);
    min-height: 100%;
}

.smd-v19 .smd-planner-controls-card {
    padding: clamp(20px, 2.4vw, 30px);
    border-right: 1px solid var(--smd-predict-line);
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .08), transparent 18rem),
        linear-gradient(180deg, #fbfdff 0%, #f5f8ff 100%);
}

.smd-v19 .smd-planner-results-card {
    display: grid;
    gap: 0;
    align-content: start;
    padding: clamp(20px, 2.4vw, 30px);
    background: #fff;
}

.smd-v19 .smd-planner-block-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin-bottom: 15px;
}

.smd-v19 .smd-planner-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #eaf1ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 950;
}

.smd-v19 .smd-planner-block-head h3 {
    margin: 1px 0 3px;
    color: var(--smd-predict-ink);
    font-size: 16px;
    letter-spacing: -.02em;
}

.smd-v19 .smd-planner-block-head p {
    margin: 0;
    color: #718096;
    font-size: 11.5px;
    line-height: 1.5;
}

.smd-v19 .smd-planner-target-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.smd-v19 .smd-planner-boost-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 11px;
}

.smd-v19 .smd-planner-grid label {
    gap: 7px;
}

.smd-v19 .smd-planner-grid label span {
    color: #53627a;
    font-size: 11px;
    letter-spacing: .01em;
}

.smd-v19 .smd-planner-grid input {
    min-height: 46px;
    border-color: #ccd7e7;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
}

.smd-v19 .smd-planner-grid input:focus {
    outline: 0;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.smd-v19 .smd-planner-divider {
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(90deg, transparent 0%, #dbe5f2 12%, #dbe5f2 88%, transparent 100%);
}

.smd-v19 .smd-planner-actions {
    margin-top: 18px;
}

.smd-v19 .smd-planner-actions .smd-btn {
    min-height: 42px;
}

.smd-v19 .smd-planner-result-section + .smd-planner-result-section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e7edf5;
}

.smd-v19 .smd-planner-result-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.smd-v19 .smd-planner-result-head span {
    color: var(--smd-predict-ink);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.015em;
}

.smd-v19 .smd-planner-result-head small {
    color: #94a3b8;
    font-size: 10.5px;
}

.smd-v19 .smd-target-grid,
.smd-v19 .smd-whatif-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
}

.smd-v19 .smd-target-grid .smd-small-metric,
.smd-v19 .smd-whatif-grid .smd-small-metric {
    min-height: 118px;
    padding: 15px;
    border-radius: 17px;
    background: #f8fafc;
    box-shadow: none;
}

.smd-v19 .smd-target-grid .smd-small-metric strong,
.smd-v19 .smd-whatif-grid .smd-small-metric strong {
    font-size: 24px;
}

.smd-v19 .smd-planner-result-section-whatif .smd-small-metric {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.smd-v19 .smd-prediction-chart-grid {
    gap: 14px;
}

.smd-v19 .smd-prediction-chart-card {
    min-height: 360px;
    padding: 20px;
    border-radius: 24px;
}

.smd-v19 .smd-prediction-chart-card canvas {
    height: 275px !important;
}

.smd-v19 .smd-chart-card-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.smd-v19 .smd-chart-card-head span {
    display: block;
    margin-bottom: 3px;
    color: #2563eb;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.smd-v19 .smd-chart-card-head h2 {
    margin: 0;
}

.smd-v19 .smd-chart-card-head p {
    max-width: 440px;
    margin: 0;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: right;
}

.smd-v19 .smd-pipeline-opportunity-chart {
    min-height: 390px;
}

.smd-v19 .smd-prediction-risk-tables {
    gap: 14px;
}

.smd-v19 .smd-prediction-risk-tables .smd-panel,
.smd-v19 .smd-prediction-action-grid .smd-panel,
.smd-v19 .smd-category-prediction-full {
    border-radius: 24px;
}

.smd-v19 .smd-prediction-table-wrap {
    margin-top: 6px;
    border: 1px solid #e3eaf4;
    border-radius: 18px;
    background: #fff;
}

.smd-v19 .smd-prediction-table {
    margin: 0;
    border: 0;
    box-shadow: none;
}

.smd-v19 .smd-prediction-table thead th {
    background: #f5f8fc !important;
    color: #53627a;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.smd-v19 .smd-prediction-table tbody tr:last-child td {
    border-bottom: 0;
}

.smd-v19 .smd-prediction-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: 14px;
    margin-top: 14px;
}

.smd-v19 .smd-priority-list {
    max-height: 600px;
    padding-right: 6px;
}

.smd-v19 .smd-priority-item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    border-radius: 17px;
    box-shadow: none;
}

.smd-v19 .smd-priority-score {
    width: 54px;
    height: 54px;
    border-radius: 15px;
}

.smd-v19 .smd-priority-body > strong {
    color: var(--smd-predict-ink);
    font-size: 13.5px;
}

.smd-v19 .smd-priority-body small,
.smd-v19 .smd-priority-body p {
    color: #718096;
}

.smd-v19 .smd-recommendation-card {
    align-self: start;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .06), transparent 18rem),
        #fff;
}

.smd-v19 .smd-recommendation-item {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 11px;
    border-radius: 15px;
    background: #f9fbfe;
    box-shadow: none;
}

.smd-v19 .smd-recommendation-item span {
    width: 26px;
    height: 26px;
}

.smd-v19 .smd-warning-recommendations {
    margin-top: 16px;
}

.smd-v19 .smd-category-prediction-full {
    padding: 18px;
}

.smd-v19 .smd-category-prediction-full .smd-prediction-table-wrap {
    margin-top: 0;
}

@media (max-width: 1380px) {
    .smd-v19 .smd-prediction-command {
        grid-template-columns: 1fr;
    }

    .smd-v19 .smd-prediction-command-meta {
        max-width: 720px;
    }

    .smd-v19 .smd-prediction-summary-grid,
    .smd-v19 .smd-weekly-forecast-grid {
        grid-template-columns: repeat(2, minmax(190px, 1fr));
    }

    .smd-v19 .smd-prediction-planner-layout {
        grid-template-columns: 1fr;
    }

    .smd-v19 .smd-planner-controls-card {
        border-right: 0;
        border-bottom: 1px solid var(--smd-predict-line);
    }

    .smd-v19 .smd-prediction-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .smd-v19 .smd-prediction-command-meta {
        grid-template-columns: 1fr;
    }

    .smd-v19 .smd-prediction-command-meta > span {
        min-height: 0;
    }

    .smd-v19 .smd-prediction-section-head,
    .smd-v19 .smd-chart-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .smd-v19 .smd-prediction-section-head > p,
    .smd-v19 .smd-chart-card-head p {
        max-width: none;
        text-align: left;
    }

    .smd-v19 .smd-planner-target-inputs,
    .smd-v19 .smd-planner-boost-inputs,
    .smd-v19 .smd-target-grid,
    .smd-v19 .smd-whatif-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .smd-v19 .smd-prediction-command {
        padding: 22px;
        border-radius: 24px;
    }

    .smd-v19 .smd-prediction-command h2 {
        font-size: 32px;
    }

    .smd-v19 .smd-prediction-nav {
        width: 100%;
        border-radius: 16px;
    }

    .smd-v19 .smd-prediction-zone {
        margin-top: 24px;
    }

    .smd-v19 .smd-prediction-summary-grid,
    .smd-v19 .smd-weekly-forecast-grid,
    .smd-v19 .smd-planner-target-inputs,
    .smd-v19 .smd-planner-boost-inputs,
    .smd-v19 .smd-target-grid,
    .smd-v19 .smd-whatif-grid {
        grid-template-columns: 1fr;
    }

    .smd-v19 .smd-planner-controls-card,
    .smd-v19 .smd-planner-results-card {
        padding: 17px;
    }

    .smd-v19 .smd-planner-result-head {
        display: block;
    }

    .smd-v19 .smd-planner-result-head small {
        display: block;
        margin-top: 4px;
    }

    .smd-v19 .smd-prediction-chart-card {
        min-height: 320px;
        padding: 16px;
    }

    .smd-v19 .smd-prediction-chart-card canvas {
        height: 235px !important;
    }

    .smd-v19 .smd-priority-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .smd-v19 .smd-priority-item .smd-mini-link {
        grid-column: 1 / -1;
        justify-self: stretch;
        text-align: center;
    }
}

/* v20 — Non-payment reason intelligence */
.smd-v19 .smd-nonpayment-zone {
    --smd-nonpay-ink: #172554;
    --smd-nonpay-muted: #64748b;
    --smd-nonpay-line: #e2e8f0;
    --smd-nonpay-soft: #f8fafc;
    --smd-nonpay-blue: #2563eb;
    --smd-nonpay-amber: #d97706;
    --smd-nonpay-red: #dc2626;
}

.smd-v19 .smd-nonpayment-overview-card {
    overflow: hidden;
    padding: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.smd-v19 .smd-nonpayment-summary-grid {
    padding: 20px 20px 14px;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.smd-v19 .smd-nonpayment-summary-grid .smd-conversion-card {
    min-height: 132px;
    border: 1px solid #e7edf7;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.smd-v19 .smd-nonpayment-note {
    margin: 0 20px 20px;
    padding: 14px 16px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
    color: #475569;
    font-size: 12px;
    line-height: 1.65;
}

.smd-v19 .smd-nonpayment-layout {
    align-items: stretch;
    gap: 16px;
}

.smd-v19 .smd-nonpayment-breakdown-card,
.smd-v19 .smd-nonpayment-delegate-card {
    min-width: 0;
}

.smd-v19 .smd-nonpayment-reason-table td:first-child strong,
.smd-v19 .smd-nonpayment-delegate-table td:nth-child(2) strong {
    color: var(--smd-nonpay-ink);
}

.smd-v19 .smd-nonpayment-reason-table td:first-child small,
.smd-v19 .smd-nonpayment-delegate-table td small {
    display: block;
    margin-top: 5px;
    color: var(--smd-nonpay-muted);
    line-height: 1.45;
}

.smd-v19 .smd-nonpayment-reason-table .smd-pill.neutral {
    color: #334155;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.smd-v19 .smd-nonpayment-signal {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.smd-v19 .smd-nonpayment-delegate-table td:nth-child(2) {
    min-width: 250px;
}

.smd-v19 .smd-nonpayment-delegate-table td:nth-child(4) strong {
    display: block;
    font-size: 16px;
    color: #0f172a;
}

.smd-v19 .smd-nonpayment-delegate-table .smd-mini-link {
    white-space: nowrap;
}

.smd-v19 #smd-prediction-nonpayment:target,
.smd-v19 #smd-prediction-nonpayment.smd-nav-highlight {
    scroll-margin-top: 110px;
}

@media (max-width: 1380px) {
    .smd-v19 .smd-nonpayment-summary-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .smd-v19 .smd-nonpayment-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .smd-v19 .smd-nonpayment-summary-grid {
        grid-template-columns: 1fr;
        padding: 14px 14px 10px;
    }

    .smd-v19 .smd-nonpayment-note {
        margin: 0 14px 14px;
    }
}
