.tip-hero {
    background: #ffffff;
    border-bottom: 1px solid #e4ece6;
}

.tip-eyebrow {
    color: #287653;
}

.tip-hero h1 {
    max-width: 880px;
    color: #17252b;
    font-size: 2.45rem;
    line-height: 1.15;
}

.tip-lead {
    max-width: 800px;
    color: #43534d;
    font-size: 1.08rem;
    line-height: 1.7;
}

.tip-example-note {
    padding: 1.1rem 1.25rem;
    border-left: 4px solid #d16d50;
    border-radius: 8px;
    background: #fff5f0;
    color: #3a2923;
}

.tip-tool-section {
    background: #f5f9f6;
    scroll-margin-top: 1rem;
}

.tip-tool-panel,
.tip-result-panel {
    padding: 1.5rem;
    border: 1px solid #dce8df;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(32, 69, 48, 0.06);
}

.tip-live-mark,
.tip-result-icon {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.6rem;
    border-radius: 8px;
    background: #e9f4ed;
    color: #216a49;
    font-size: 1.15rem;
    font-weight: 700;
}

.tip-result-icon {
    background: #fff0e9;
    color: #a34732;
}

.tip-total-highlight {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    background: #216a49;
    color: #ffffff;
}

.tip-total-highlight strong {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.tip-total-highlight b {
    color: #ffffff;
}

.tip-breakdown th {
    color: #40534a;
    font-weight: 500;
}

.tip-breakdown td {
    color: #17252b;
    font-variant-numeric: tabular-nums;
}

.tip-formula-block {
    padding: 1rem;
    border: 1px solid #e2eae4;
    border-radius: 8px;
    background: #f8fbf9;
    overflow-wrap: anywhere;
}

.tip-formula-block p {
    color: #31423a;
}

.tip-error-summary {
    padding: 0.75rem 0.9rem;
    border: 1px solid #f0c6bb;
    border-radius: 8px;
    background: #fff2ee;
    color: #8d3120;
}

.tip-soft-band {
    background: #f4f8f5;
}

.tip-info-panel,
.tip-table-wrap {
    padding: 1.15rem;
    border: 1px solid #e0e9e2;
    border-radius: 8px;
    background: #ffffff;
}

.tip-table-wrap {
    padding: 0;
    overflow: hidden;
}

.tip-step-number {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e9f4ed;
    color: #216a49;
    font-weight: 700;
}

.tip-cta-band {
    background: #263d34;
    color: #ffffff;
}

.tip-cta-band h2,
.tip-cta-band p {
    color: #ffffff;
}

.tip-cta-band .btn-outline-light {
    color: #ffffff;
}

.tip-hero a,
.tip-info-panel a,
.tip-tool-panel button,
.tip-tool-panel input,
.tip-tool-panel select {
    touch-action: manipulation;
}

.tip-tool-panel :focus-visible,
.tip-info-panel a:focus-visible,
.tip-cta-band a:focus-visible {
    outline: 3px solid rgba(209, 109, 80, 0.45);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .tip-hero h1 {
        font-size: 2rem;
    }

    .tip-tool-panel,
    .tip-result-panel {
        padding: 1.1rem;
    }

    .tip-total-highlight strong {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
