:root {
    --outerwhisper-nps-primary: #4f46e5;
    --outerwhisper-nps-primary-hover: #4338ca;
    --outerwhisper-nps-primary-soft: rgba(79, 70, 229, 0.1);
    --outerwhisper-nps-accent-blue: #104689;
    --outerwhisper-nps-text: #0f172a;
    --outerwhisper-nps-text-muted: #475569;
    --outerwhisper-nps-bg: #f6f7fc;
    --outerwhisper-nps-card-bg: #ffffff;
    --outerwhisper-nps-border: #e2e8f0;
    --outerwhisper-nps-detractor-bg: #fce7e7;
    --outerwhisper-nps-detractor-border: #f8c6c6;
    --outerwhisper-nps-detractor-text: #991b1b;
    --outerwhisper-nps-detractor-accent: #ef4444;
    --outerwhisper-nps-passive-bg: #fef3d6;
    --outerwhisper-nps-passive-border: #f5dda3;
    --outerwhisper-nps-passive-text: #92400e;
    --outerwhisper-nps-passive-accent: #eab308;
    --outerwhisper-nps-promoter-bg: #dcfce7;
    --outerwhisper-nps-promoter-border: #b7efc9;
    --outerwhisper-nps-promoter-text: #166534;
    --outerwhisper-nps-promoter-accent: #16a34a;
    --outerwhisper-nps-shadow: 0 20px 50px -15px rgba(79, 70, 229, 0.12), 0 8px 20px -10px rgba(15, 23, 42, 0.06);
    --outerwhisper-nps-radius: 20px;
}

body.page-template-template-nps-calculator {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background: radial-gradient(circle at 18% 8%, rgba(79, 70, 229, 0.08) 0%, rgba(246, 247, 252, 0) 42%),
    radial-gradient(circle at 86% 24%, rgba(99, 102, 241, 0.1) 0%, rgba(246, 247, 252, 0) 40%),
    var(--outerwhisper-nps-bg);
    color: var(--outerwhisper-nps-text);
    overflow-x: hidden;
}

.outerwhisper-nps-hero {
    padding-top: 52px;
    margin-bottom: 36px;
}

.outerwhisper-nps-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
}

.outerwhisper-nps-hero-copy {
    min-width: 0;
}

.outerwhisper-nps-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background-color: var(--outerwhisper-nps-primary-soft);
    color: var(--outerwhisper-nps-primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.outerwhisper-nps-title {
    font-size: clamp(2.15rem, 4.4vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--outerwhisper-nps-text);
    margin: 0 0 16px 0;
    text-wrap: balance;
}

.outerwhisper-nps-subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--outerwhisper-nps-text-muted);
    max-width: 560px;
    margin: 0 0 24px 0;
}

.outerwhisper-nps-usp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.outerwhisper-nps-usp-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--outerwhisper-nps-text);
}

.outerwhisper-nps-usp-item i {
    color: var(--outerwhisper-nps-primary);
    font-size: 1.05rem;
}

.outerwhisper-nps-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    min-width: 0;
    padding: 16px 8px;
}

.outerwhisper-nps-visual-backdrop {
    position: relative;
    width: 100%;
    max-width: 470px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 6px;
}

.outerwhisper-nps-visual-backdrop::before {
    content: '';
    position: absolute;
    inset: -48px -40px;
    background: radial-gradient(
            ellipse closest-side at 55% 50%,
            rgba(129, 140, 248, 0.2) 0%,
            rgba(165, 180, 252, 0.12) 45%,
            rgba(199, 210, 254, 0.04) 75%,
            rgba(199, 210, 254, 0) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.outerwhisper-nps-preview-question-card {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 18px 40px -12px rgba(79, 70, 229, 0.16);
    transform: rotate(-2.5deg);
}

.outerwhisper-nps-preview-question-text {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--outerwhisper-nps-text);
    margin: 0 0 12px 0;
}

.outerwhisper-nps-preview-scale {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 4px;
}

.outerwhisper-nps-preview-tile {
    aspect-ratio: 1 / 1.05;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.outerwhisper-nps-preview-tile-detractor {
    background-color: #fee2e2;
    color: #b91c1c;
}

.outerwhisper-nps-preview-tile-passive {
    background-color: #fef3c7;
    color: #92400e;
}

.outerwhisper-nps-preview-tile-promoter {
    background-color: #dcfce7;
    color: #15803d;
}

.outerwhisper-nps-preview-arrow {
    position: absolute;
    left: 48%;
    bottom: 4px;
    width: 72px;
    height: 36px;
    color: #2563eb;
    pointer-events: none;
    z-index: 1;
}

.outerwhisper-nps-preview-score-card {
    position: relative;
    z-index: 1;
    flex: 0 0 132px;
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 22px 44px -12px rgba(79, 70, 229, 0.22);
    transform: rotate(3.5deg) translateY(14px);
}

.outerwhisper-nps-preview-spark {
    position: absolute;
    top: -16px;
    right: -8px;
    width: 34px;
    height: 30px;
    color: #1d4ed8;
    pointer-events: none;
}

.outerwhisper-nps-preview-score-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--outerwhisper-nps-text);
    margin-bottom: 4px;
}

.outerwhisper-nps-preview-score-value {
    display: block;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    color: #166534;
    margin-bottom: 8px;
}

.outerwhisper-nps-preview-score-value.is-good {
    color: #15803d;
}

.outerwhisper-nps-preview-score-value.is-fair {
    color: #b45309;
}

.outerwhisper-nps-preview-score-value.is-critical {
    color: #b91c1c;
}

.outerwhisper-nps-preview-score-value.is-empty {
    color: #64748b;
}

.outerwhisper-nps-calculator-section {
    margin-bottom: 28px;
}

.outerwhisper-nps-card {
    background-color: var(--outerwhisper-nps-card-bg);
    border: 1px solid var(--outerwhisper-nps-border);
    border-radius: var(--outerwhisper-nps-radius);
    box-shadow: var(--outerwhisper-nps-shadow);
}

.outerwhisper-nps-calculator-card {
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.outerwhisper-nps-input-pane {
    min-width: 0;
    padding-right: 28px;
    border-right: 1px solid var(--outerwhisper-nps-border);
}

.outerwhisper-nps-input-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.outerwhisper-nps-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--outerwhisper-nps-text);
    margin: 0;
}

.outerwhisper-nps-input-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.outerwhisper-nps-mode-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    background-color: #f1f5f9;
    border: 1px solid var(--outerwhisper-nps-border);
    border-radius: 9999px;
    gap: 4px;
}

.outerwhisper-nps-mode-btn {
    border: none;
    background: transparent;
    color: var(--outerwhisper-nps-text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.outerwhisper-nps-mode-btn:hover {
    color: var(--outerwhisper-nps-text);
}

.outerwhisper-nps-mode-btn.is-active {
    background-color: var(--outerwhisper-nps-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.35);
}

.outerwhisper-nps-mode-btn:focus-visible,
.outerwhisper-nps-reset-btn:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.35);
    outline-offset: 2px;
}

.outerwhisper-nps-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 9999px;
    border: 1px solid var(--outerwhisper-nps-border);
    background-color: #ffffff;
    color: var(--outerwhisper-nps-text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.outerwhisper-nps-reset-btn:hover {
    color: var(--outerwhisper-nps-text);
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.outerwhisper-nps-input-hint {
    font-size: 0.94rem;
    color: var(--outerwhisper-nps-text-muted);
    margin: 0 0 20px 0;
}

.outerwhisper-nps-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.75fr) minmax(112px, 0.95fr) minmax(138px, 1.15fr);
    gap: 10px;
}

.outerwhisper-nps-single-grid .outerwhisper-nps-bucket {
    padding: 12px 10px;
}

.outerwhisper-nps-single-grid .outerwhisper-nps-bucket-label {
    white-space: nowrap;
    font-size: 0.78rem;
}

.outerwhisper-nps-single-grid[hidden],
.outerwhisper-nps-group-grid[hidden] {
    display: none;
}

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

.outerwhisper-nps-bucket {
    border-radius: 14px;
    padding: 12px;
    border: 1px solid transparent;
    min-width: 0;
}

.outerwhisper-nps-bucket-detractor {
    background-color: var(--outerwhisper-nps-detractor-bg);
    border-color: var(--outerwhisper-nps-detractor-border);
}

.outerwhisper-nps-bucket-passive {
    background-color: var(--outerwhisper-nps-passive-bg);
    border-color: var(--outerwhisper-nps-passive-border);
}

.outerwhisper-nps-bucket-promoter {
    background-color: var(--outerwhisper-nps-promoter-bg);
    border-color: var(--outerwhisper-nps-promoter-border);
}

.outerwhisper-nps-bucket-label {
    display: block;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.outerwhisper-nps-bucket-detractor .outerwhisper-nps-bucket-label {
    color: var(--outerwhisper-nps-detractor-text);
}

.outerwhisper-nps-bucket-passive .outerwhisper-nps-bucket-label {
    color: var(--outerwhisper-nps-passive-text);
}

.outerwhisper-nps-bucket-promoter .outerwhisper-nps-bucket-label {
    color: var(--outerwhisper-nps-promoter-text);
}

.outerwhisper-nps-score-inputs-7 {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.outerwhisper-nps-score-inputs-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.outerwhisper-nps-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.outerwhisper-nps-field-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--outerwhisper-nps-text);
    font-variant-numeric: tabular-nums;
}

.outerwhisper-nps-count-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 6px 4px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background-color: #ffffff;
    color: var(--outerwhisper-nps-text);
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    -moz-appearance: textfield;
}

.outerwhisper-nps-count-input::-webkit-outer-spin-button,
.outerwhisper-nps-count-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.outerwhisper-nps-count-input:focus {
    outline: none;
    border-color: var(--outerwhisper-nps-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.outerwhisper-nps-group-card {
    border-radius: 14px;
    padding: 16px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.outerwhisper-nps-group-input {
    height: 46px;
    font-size: 1.08rem;
    padding: 8px 12px;
}

.outerwhisper-nps-group-sub {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--outerwhisper-nps-text-muted);
    text-align: center;
}

.outerwhisper-nps-result-pane {
    min-width: 0;
}

.outerwhisper-nps-result-heading {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--outerwhisper-nps-text);
    margin: 0 0 10px 0;
}

.outerwhisper-nps-score-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.outerwhisper-nps-main-score {
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: var(--outerwhisper-nps-text);
}

.outerwhisper-nps-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.outerwhisper-nps-status-excellent {
    background-color: var(--outerwhisper-nps-promoter-bg);
    color: var(--outerwhisper-nps-promoter-text);
}

.outerwhisper-nps-status-good {
    background-color: #d1fae5;
    color: #065f46;
}

.outerwhisper-nps-status-fair {
    background-color: var(--outerwhisper-nps-passive-bg);
    color: var(--outerwhisper-nps-passive-text);
}

.outerwhisper-nps-status-critical {
    background-color: var(--outerwhisper-nps-detractor-bg);
    color: var(--outerwhisper-nps-detractor-text);
}

.outerwhisper-nps-status-empty {
    background-color: #e2e8f0;
    color: #475569;
}

.outerwhisper-nps-share-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--outerwhisper-nps-text-muted);
    font-variant-numeric: tabular-nums;
    margin-bottom: 20px;
}

.outerwhisper-nps-share-divider {
    color: #cbd5e1;
}

.outerwhisper-nps-spectrum {
    width: 100%;
}

.outerwhisper-nps-spectrum-track {
    position: relative;
    height: 12px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 45%, #eab308 56%, #22c55e 80%, #16a34a 100%);
    margin-bottom: 8px;
}

.outerwhisper-nps-spectrum-marker {
    position: absolute;
    top: 50%;
    left: 78%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #16a34a;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
    transform: translate(-50%, -50%);
    transition: left 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.outerwhisper-nps-spectrum-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--outerwhisper-nps-text-muted);
}

.outerwhisper-nps-info-section {
    margin-bottom: 28px;
}

.outerwhisper-nps-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: center;
}

.outerwhisper-nps-explain-box {
    padding: 12px 4px;
    min-width: 0;
}

.outerwhisper-nps-explain-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--outerwhisper-nps-text);
    margin: 0 0 12px 0;
}

.outerwhisper-nps-explain-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--outerwhisper-nps-text-muted);
    margin: 0 0 22px 0;
}

.outerwhisper-nps-explain-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 9999px;
    border: 1.5px solid var(--outerwhisper-nps-primary);
    background-color: #ffffff;
    color: var(--outerwhisper-nps-primary);
    font-size: 0.92rem;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.outerwhisper-nps-explain-cta:hover {
    background-color: var(--outerwhisper-nps-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.outerwhisper-nps-explain-cta:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.35);
    outline-offset: 2px;
}

.outerwhisper-nps-benchmark-card {
    padding: 24px 28px;
    min-width: 0;
}

.outerwhisper-nps-benchmark-title {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--outerwhisper-nps-text);
    margin: 0 0 16px 0;
}

.outerwhisper-nps-benchmark-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.outerwhisper-nps-benchmark-row {
    display: grid;
    grid-template-columns: 74px 110px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px 10px;
    border-radius: 10px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.outerwhisper-nps-benchmark-row:last-child {
    border-bottom: none;
}

.outerwhisper-nps-benchmark-row.is-current {
    background-color: rgba(79, 70, 229, 0.06);
}

.outerwhisper-nps-benchmark-range {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.outerwhisper-nps-benchmark-label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--outerwhisper-nps-text);
}

.outerwhisper-nps-benchmark-desc {
    font-size: 0.9rem;
    color: var(--outerwhisper-nps-text-muted);
    line-height: 1.45;
}

.outerwhisper-nps-formula-section {
    margin-bottom: 52px;
}

.outerwhisper-nps-formula-card {
    padding: 26px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.15fr);
    gap: 28px;
    align-items: center;
}

.outerwhisper-nps-formula-intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-right: 24px;
    border-right: 1px solid var(--outerwhisper-nps-border);
    min-width: 0;
}

.outerwhisper-nps-formula-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background-color: var(--outerwhisper-nps-primary-soft);
    color: var(--outerwhisper-nps-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.outerwhisper-nps-formula-heading {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--outerwhisper-nps-text);
    margin: 0 0 6px 0;
}

.outerwhisper-nps-formula-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--outerwhisper-nps-text-muted);
    margin: 0;
}

.outerwhisper-nps-formula-pill-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 24px;
    border-right: 1px solid var(--outerwhisper-nps-border);
}

.outerwhisper-nps-formula-pill {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    background-color: #e8ecff;
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.outerwhisper-nps-breakdown {
    min-width: 0;
}

.outerwhisper-nps-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 14px 0;
    padding: 0;
    list-style: none;
}

.outerwhisper-nps-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.outerwhisper-nps-breakdown-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--outerwhisper-nps-text);
}

.outerwhisper-nps-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.outerwhisper-nps-dot-promoter {
    background-color: var(--outerwhisper-nps-promoter-accent);
}

.outerwhisper-nps-dot-passive {
    background-color: var(--outerwhisper-nps-passive-accent);
}

.outerwhisper-nps-dot-detractor {
    background-color: var(--outerwhisper-nps-detractor-accent);
}

.outerwhisper-nps-breakdown-math {
    font-weight: 600;
    color: var(--outerwhisper-nps-text);
    text-align: right;
}

.outerwhisper-nps-equation-result {
    background-color: #eef2ff;
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--outerwhisper-nps-text);
}

@media (max-width: 1080px) {
    .outerwhisper-nps-calculator-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .outerwhisper-nps-input-pane {
        padding-right: 0;
        padding-bottom: 24px;
        border-right: none;
        border-bottom: 1px solid var(--outerwhisper-nps-border);
    }
    .outerwhisper-nps-formula-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .outerwhisper-nps-formula-intro,
    .outerwhisper-nps-formula-pill-wrap {
        padding-right: 0;
        padding-bottom: 18px;
        border-right: none;
        border-bottom: 1px solid var(--outerwhisper-nps-border);
    }
    .outerwhisper-nps-formula-pill-wrap {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .outerwhisper-nps-hero-grid,
    .outerwhisper-nps-info-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .outerwhisper-nps-single-grid {
        grid-template-columns: 1fr;
    }
    .outerwhisper-nps-group-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .outerwhisper-nps-main {
        padding: 32px 0 64px;
    }
    .outerwhisper-nps-calculator-card,
    .outerwhisper-nps-benchmark-card,
    .outerwhisper-nps-formula-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .outerwhisper-nps-score-inputs-7 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .outerwhisper-nps-benchmark-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 6px 12px;
    }
    .outerwhisper-nps-benchmark-desc {
        grid-column: 1 / -1;
    }
    .outerwhisper-nps-visual-backdrop {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .outerwhisper-nps-visual-backdrop::before {
        inset: -24px -12px;
    }
    .outerwhisper-nps-preview-question-card,
    .outerwhisper-nps-preview-score-card {
        transform: none;
    }
    .outerwhisper-nps-preview-arrow,
    .outerwhisper-nps-preview-spark {
        display: none;
    }
    .outerwhisper-nps-preview-score-card {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 14px 18px;
        flex-wrap: wrap;
    }
    .outerwhisper-nps-preview-score-value {
        font-size: 1.85rem;
        margin-bottom: 0;
    }
    .outerwhisper-nps-formula-pill {
        white-space: normal;
        text-align: center;
        width: 100%;
        font-size: 0.92rem;
    }
}

@media (max-width: 420px) {
    .outerwhisper-nps-score-inputs-7 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .outerwhisper-nps-mode-switch {
        width: 100%;
        justify-content: space-between;
    }
    .outerwhisper-nps-mode-btn {
        flex: 1 1 0;
        padding: 7px 8px;
        font-size: 0.78rem;
    }
    .outerwhisper-nps-reset-btn {
        width: 100%;
        justify-content: center;
    }
    .outerwhisper-nps-main-score {
        font-size: 2.75rem;
    }
    .outerwhisper-nps-breakdown-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .outerwhisper-nps-breakdown-math {
        text-align: left;
    }
    .outerwhisper-nps-explain-cta {
        width: 100%;
    }
    .outerwhisper-nps-preview-scale {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 340px) {
    .outerwhisper-nps-calculator-card,
    .outerwhisper-nps-benchmark-card,
    .outerwhisper-nps-formula-card {
        padding: 16px 12px;
    }
    .outerwhisper-nps-score-inputs-7,
    .outerwhisper-nps-score-inputs-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .outerwhisper-nps-formula-intro {
        flex-direction: column;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .outerwhisper-nps-spectrum-marker,
    .outerwhisper-nps-mode-btn,
    .outerwhisper-nps-explain-cta {
        transition: none;
    }
}
