.commission-hero {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 72%);
}

.commission-hero h1 {
    max-width: 860px;
}

.max-w-800 {
    max-width: 800px;
}

.quick-note {
    background: #ffffff;
    border: 1px solid rgba(13, 110, 253, 0.12);
    border-left: 4px solid rgba(13, 110, 253, 0.35);
}

.calculator-sticky {
    position: sticky;
    top: 12px;
    z-index: 1;
}

.commission-tool-section {
    scroll-margin-top: 1rem;
}

#commissionForm .form-control,
#commissionForm .form-select,
#commissionForm .btn {
    min-height: 44px;
}

#commissionForm .btn {
    touch-action: manipulation;
}

.result-panel {
    min-height: 100%;
}

.result-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 0.85rem;
    background: rgba(13, 110, 253, 0.12);
    color: #084298;
    font-size: 1.25rem;
    font-weight: 700;
}

.commission-meter {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 1rem;
}

.commission-bar {
    min-height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd, #6ea8fe);
    transition: width 180ms ease-out;
}

.metric-card {
    min-height: 112px;
    padding: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.9rem;
    background: #ffffff;
}

.metric-card [data-result-key] {
    font-variant-numeric: tabular-nums;
}

.formula-box {
    min-height: 54px;
    white-space: pre-wrap;
    word-break: break-word;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin: 0;
}

.step-number {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.14);
    color: #084298;
    font-weight: 700;
}

.scenario-btn {
    min-height: 44px;
    touch-action: manipulation;
}

@media (max-width: 991.98px) {
    .calculator-sticky {
        position: static;
        top: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .commission-bar {
        transition: none;
    }
}
