#gain-calculator {
    animation-duration: 0.9s;
    animation-name: animatetop;
    color: #0b1733;
    margin: 0 auto 34px;
    max-width: 1720px;
    padding: 0 22px 34px;
}

#gain-calculator * {
    box-sizing: border-box;
}

.gain-sr-only {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: fixed;
    white-space: nowrap;
    width: 1px;
}

.gain-hero {
    margin-bottom: 20px;
    max-width: 780px;
    padding-top: 8px;
    position: relative;
}

.gain-hero:after {
    background: linear-gradient(90deg, #96181b, rgba(150, 24, 27, 0));
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 14px;
    width: 86px;
}

.gain-hero h1 {
    color: #0b1733;
    font-size: 42px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 10px;
    text-align: left;
    text-transform: none;
}

.gain-hero p {
    color: #536179;
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
}

.gain-card {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(150, 24, 27, 0.12);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(39, 45, 52, 0.08);
}

.gain-card h2 {
    color: #0b1733;
    font-size: 18px;
    font-weight: 650;
    margin: 0 0 16px;
    text-align: left;
}

.gain-processes {
    margin-bottom: 14px;
    padding: 18px 22px;
}

.gain-config-inline {
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(78, 93, 120, 0.13);
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 14px;
}

.gain-config-inline h3 {
    color: #0b1733;
    font-size: 17px;
    font-weight: 650;
    margin: 0 0 14px;
}

.gain-config-summary {
    display: none;
}

.gain-mobile-quick-result,
.gain-mobile-sticky-summary {
    display: none;
}

.gain-live-grid {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    margin-bottom: 14px;
    position: relative;
}

.gain-live-aside {
    display: grid;
    gap: 14px;
}

.gain-results {
    padding: 18px;
}

.gain-config-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gain-control {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(78, 93, 120, 0.18);
    border-radius: 8px;
    min-height: 92px;
    padding: 14px;
}

.gain-control-label {
    align-items: center;
    color: #1f2d46;
    display: flex;
    font-size: 13px;
    font-weight: 650;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gain-control-label .material-icons {
    color: #96181B;
    font-size: 22px;
    margin-right: 2px;
}

.gain-stepper {
    display: grid;
    grid-template-columns: 44px minmax(58px, 1fr) 44px;
    margin: 0 auto;
    max-width: 184px;
}

.gain-stepper button,
.gain-stepper input,
.gain-segments button,
.gain-liquid-choice button {
    font-family: 'Segoe UI', Open Sans, Geneva, Verdana, sans-serif;
}

.gain-stepper button,
.gain-stepper input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 93, 120, 0.18);
    color: #0b1733;
    font-size: 17px;
    font-weight: 650;
    height: 36px;
    text-align: center;
}

.gain-stepper button {
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.gain-stepper button:hover {
    background: #96181b;
    color: #fff;
}

.gain-stepper button:first-child {
    border-radius: 8px 0 0 8px;
}

.gain-stepper button:last-child {
    border-radius: 0 8px 8px 0;
}

.gain-stepper input {
    border-left: 0;
    border-right: 0;
}

.gain-range {
    accent-color: #96181b;
    width: 100%;
}

.gain-range-scale {
    color: #62708a;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
}

.gain-segments {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(78, 93, 120, 0.18);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.gain-segments button {
    background: transparent;
    border: 0;
    color: #26334d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    height: 36px;
}

.gain-segments button.is-active {
    background: linear-gradient(180deg, rgba(150, 24, 27, 0.94), #96181b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 8px 18px rgba(150, 24, 27, 0.22);
    color: #fff;
}

.gain-toggle {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 38px;
    user-select: none;
}

.gain-toggle input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.gain-toggle-track {
    background: linear-gradient(180deg, #8f98a8, #6f7888);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(24, 35, 56, 0.12);
    flex: 0 0 52px;
    height: 30px;
    position: relative;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.gain-toggle-track:before {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(24, 35, 56, 0.22);
    content: "";
    height: 24px;
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform 0.22s ease;
    width: 24px;
}

.gain-toggle input:checked+.gain-toggle-track {
    background: linear-gradient(180deg, #a91d20, #96181b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 18px rgba(150, 24, 27, 0.18);
}

.gain-toggle input:checked+.gain-toggle-track:before {
    transform: translateX(22px);
}

.gain-toggle-text {
    color: #26334d;
    font-size: 14px;
    font-weight: 650;
}

.gain-process-table {
    display: grid;
    gap: 0;
}

.gain-process-head,
.gain-process-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 1.18fr) minmax(110px, 0.42fr) minmax(260px, 0.82fr) minmax(112px, 0.35fr) minmax(92px, 0.28fr);
}

.gain-process-head {
    border-bottom: 1px solid rgba(78, 93, 120, 0.16);
    color: #4c5d76;
    font-size: 12px;
    font-weight: 650;
    padding: 0 8px 10px;
}

.gain-process-head span:not(:first-child) {
    text-align: center;
}

.gain-process-row {
    border-bottom: 1px solid rgba(78, 93, 120, 0.13);
    min-height: 56px;
    padding: 8px;
}

.gain-process-row:last-child {
    border-bottom: 1px solid #e8edf4;
}

.gain-process-info {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.gain-process-info .material-icons {
    align-items: center;
    background: rgba(150, 24, 27, 0.08);
    border-radius: 8px;
    color: #96181b;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 23px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.gain-process-info strong,
.gain-process-info small {
    display: block;
}

.gain-process-info strong {
    color: #0b1733;
    font-size: 14px;
}

.gain-process-info small {
    color: #65728a;
    font-size: 12px;
    line-height: 1.35;
}

.gain-time-input {
    align-items: center;
    color: #536179;
    display: inline-flex;
    font-size: 13px;
    gap: 4px;
    justify-content: center;
    justify-self: center;
    line-height: 1;
    min-height: 38px;
    white-space: nowrap;
    width: 100%;
}

.gain-time-input span {
    display: none;
}

.gain-time-input input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(78, 93, 120, 0.24);
    border-radius: 6px;
    color: #0b1733;
    font-size: 15px;
    font-weight: 650;
    height: 34px;
    line-height: 34px;
    margin: 0;
    text-align: center;
    width: 76px;
}

.gain-time-input input:focus {
    border-color: rgba(150, 24, 27, 0.46);
    box-shadow: 0 0 0 3px rgba(150, 24, 27, 0.08);
    outline: 0;
}

.gain-liquid-choice {
    background: #eaf0f7;
    border: 1px solid #ccd6e4;
    border-radius: 999px;
    box-shadow: inset 0 2px 5px rgba(20, 33, 61, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.86);
    cursor: grab;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding: 3px;
    position: relative;
    touch-action: pan-y;
    user-select: none;
}

.gain-liquid-choice.is-dragging {
    cursor: grabbing;
}

.gain-liquid-choice:before {
    background: linear-gradient(180deg, #b0bac8, #8d98a9);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 16px rgba(20, 33, 61, 0.16);
    content: "";
    height: calc(100% - 6px);
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform 0.24s ease;
    width: calc(50% - 3px);
}

.gain-liquid-choice.is-module:before {
    background: linear-gradient(180deg, #b22b2e, #96181b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 16px rgba(150, 24, 27, 0.24);
}

.gain-liquid-choice.is-module:before {
    transform: translateX(100%);
}

.gain-liquid-choice button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #26334d;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 650;
    gap: 5px;
    justify-content: center;
    min-height: 30px;
    overflow: hidden;
    padding: 6px 8px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
}

.gain-liquid-choice button:first-child {
    padding-left: 12px;
}

.gain-liquid-choice button:last-child {
    padding-right: 12px;
}

.gain-module-icon {
    flex: 0 0 15px;
    height: 18px;
    object-fit: contain;
    width: 18px;
}

.gain-liquid-choice.is-current .gain-module-icon {
    opacity: 0.72;
}

.gain-liquid-choice.is-module .gain-module-icon {
    opacity: 0.96;
}

.gain-module-button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gain-liquid-choice button:hover {
    color: #0b1733;
}

.gain-liquid-choice.is-current button:first-child,
.gain-liquid-choice.is-module button:last-child {
    color: #fff;
}

.gain-row-simulated,
.gain-row-gain {
    color: #0b1733;
    font-size: 15px;
    text-align: center;
}

.gain-row-gain {
    color: #07892f;
}

.gain-row-gain.is-zero {
    color: #536179;
}

.is-gain-positive {
    animation: gainPositivePulse 0.78s ease;
}

.is-gain-card-positive {
    animation: gainCardPositivePulse 0.78s ease;
}

.is-gain-bar-positive {
    animation: gainBarPositivePulse 0.78s ease;
}

.is-wallet-receiving {
    animation: gainWalletReceive 0.42s cubic-bezier(0.18, 0.9, 0.28, 1.2);
}

.gain-flying-coin {
    align-items: center;
    animation: gainCoinFly 0.95s linear forwards;
    background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.26) 24%, transparent 25%), radial-gradient(circle at 50% 50%, rgba(218, 224, 232, 0.72), rgba(148, 158, 172, 0.46));
    border: 1px solid rgba(116, 126, 140, 0.32);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.76), inset 0 -2px 5px rgba(57, 65, 78, 0.16), 0 10px 22px rgba(57, 65, 78, 0.13);
    color: rgba(63, 72, 86, 0.66);
    display: inline-flex;
    font-size: 8px;
    font-weight: 800;
    height: var(--coin-size, 22px);
    justify-content: center;
    left: 0;
    letter-spacing: 0;
    line-height: 1;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate(-50%, -50%);
    width: var(--coin-size, 22px);
    z-index: 9999;
}

.gain-flying-coin:before {
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: inherit;
    content: "";
    inset: 4px;
    position: absolute;
}

@keyframes gainPositivePulse {
    0% {
        transform: scale(1);
    }
    35% {
        color: #07892f;
        text-shadow: 0 0 18px rgba(7, 137, 47, 0.22);
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes gainCardPositivePulse {
    0% {
        box-shadow: 0 14px 30px rgba(39, 45, 52, 0.08);
    }
    38% {
        border-color: rgba(7, 137, 47, 0.26);
        box-shadow: 0 16px 34px rgba(7, 137, 47, 0.14);
    }
    100% {
        box-shadow: 0 14px 30px rgba(39, 45, 52, 0.08);
    }
}

@keyframes gainBarPositivePulse {
    0% {
        filter: brightness(1);
    }
    38% {
        filter: brightness(1.16) saturate(1.18);
        box-shadow: 0 0 18px rgba(7, 137, 47, 0.32);
    }
    100% {
        filter: brightness(1);
    }
}

@keyframes gainWalletReceive {
    0% {
        transform: scale(1);
    }
    42% {
        box-shadow: 0 0 0 7px rgba(7, 137, 47, 0.08);
        transform: scale(1.16);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes gainCoinFly {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.48) rotate(0deg);
    }
    10% {
        opacity: 0.86;
        transform: translate(calc(-50% + var(--coin-start-x)), calc(-50% + var(--coin-start-y))) scale(0.92) rotate(45deg);
    }
    52% {
        opacity: 0.82;
        transform: translate(calc(-50% + var(--coin-mid-x)), calc(-50% + var(--coin-mid-y))) scale(1) rotate(230deg);
    }
    86% {
        opacity: 0.78;
        transform: translate(calc(-50% + var(--coin-end-x)), calc(-50% + var(--coin-end-y))) scale(0.72) rotate(330deg);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--coin-x)), calc(-50% + var(--coin-y))) scale(0.38) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .is-gain-positive,
    .is-gain-card-positive,
    .is-gain-bar-positive,
    .is-wallet-receiving,
    .gain-flying-coin {
        animation: none;
    }
    .gain-flying-coin {
        display: none;
    }
}

.gain-kpi-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.gain-kpi {
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(78, 93, 120, 0.16);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    min-height: 88px;
    padding: 14px;
}

.gain-kpi .material-icons {
    align-items: center;
    background: rgba(150, 24, 27, 0.08);
    border-radius: 8px;
    color: #96181b;
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 28px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.gain-kpi-logo {
    align-items: center;
    background: rgba(150, 24, 27, 0.08);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    overflow: hidden;
    width: 48px;
}

.gain-kpi-logo img {
    height: 30px;
    object-fit: contain;
    width: 30px;
}

.gain-kpi small {
    color: #536179;
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}

.gain-kpi strong {
    color: #07892f;
    display: block;
    font-size: 25px;
}

.gain-chart-card,
.gain-total-card {
    padding: 18px 20px;
}

.gain-bars {
    display: grid;
    gap: 18px;
}

.gain-bar-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 96px 1fr 96px;
}

.gain-bar-row small {
    color: #65728a;
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.gain-bar-track {
    background: rgba(78, 93, 120, 0.1);
    border-radius: 999px;
    height: 24px;
    overflow: hidden;
}

.gain-bar {
    border-radius: 999px;
    display: block;
    height: 100%;
    transition: width 0.24s ease;
}

.gain-bar-current {
    background: linear-gradient(90deg, #96181b, #b52a2d);
}

.gain-bar-selected {
    background: linear-gradient(90deg, #07892f, #46b85f);
}

.gain-total-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(233, 248, 238, 0.86));
    overflow: hidden;
    padding: 16px 18px;
    position: relative;
}

.gain-total-card:after {
    align-items: center;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 58%), linear-gradient(135deg, rgba(7, 137, 47, 0.14), rgba(7, 137, 47, 0.04));
    border: 1px solid rgba(7, 137, 47, 0.14);
    border-radius: 50%;
    color: rgba(7, 137, 47, 0.42);
    content: "trending_up";
    display: inline-flex;
    font-family: 'Material Icons';
    font-size: 60px;
    height: 96px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: -12px;
    top: 22px;
    transform: rotate(-8deg);
    width: 96px;
}

.gain-total-card>* {
    position: relative;
    z-index: 1;
}

.gain-total-card strong {
    color: #07892f;
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
}

.gain-total-card p {
    color: #536179;
    line-height: 1.45;
    margin: 0;
}

.gain-cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.gain-live-aside .gain-cta-row {
    flex-direction: column;
}

.gain-button {
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    gap: 10px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    text-decoration: none;
}

.gain-button-outline {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(150, 24, 27, 0.55);
    color: #96181b;
}

.gain-button-primary {
    background: linear-gradient(180deg, #a91d20, #96181b);
    border: 1px solid #96181b;
    box-shadow: 0 10px 22px rgba(150, 24, 27, 0.18);
    color: #fff;
    min-width: 0;
}

.gain-button:hover {
    opacity: 0.86;
}

.gain-seo-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0 14px;
}

.gain-seo-grid .gain-card,
.gain-faq {
    padding: 18px 20px;
}

.gain-faq {
    margin-top: 14px;
}

.gain-seo-grid p,
.gain-faq p {
    color: #536179;
    line-height: 1.58;
    margin: 0;
}

.gain-faq details {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(78, 93, 120, 0.12);
    border-radius: 8px;
    margin-top: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gain-faq details:first-of-type {
    margin-top: 0;
}

.gain-faq details[open] {
    border-color: rgba(150, 24, 27, 0.22);
    box-shadow: 0 10px 22px rgba(39, 45, 52, 0.06);
}

.gain-faq summary {
    align-items: center;
    color: #0b1733;
    cursor: pointer;
    display: flex;
    font-weight: 650;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
    padding: 14px 16px;
}

.gain-faq summary::-webkit-details-marker {
    display: none;
}

.gain-faq summary:after {
    align-items: center;
    background: rgba(150, 24, 27, 0.08);
    border-radius: 50%;
    color: #96181b;
    content: "+";
    display: inline-flex;
    flex: 0 0 26px;
    font-size: 18px;
    height: 26px;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 26px;
}

.gain-faq details[open] summary:after {
    background: #96181b;
    color: #fff;
    content: "−";
    transform: rotate(180deg);
}

.gain-faq details p {
    border-top: 1px solid rgba(78, 93, 120, 0.1);
    padding: 0 16px 15px;
}

.gain-faq details[open] p {
    padding-top: 13px;
}

.gain-faq-grid {
    display: grid;
    gap: 14px;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gain-faq .gain-faq-item {
    background: #ffffff;
    border: 1px solid rgba(150, 24, 27, 0.12);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(39, 45, 52, 0.08);
    box-sizing: border-box;
    padding: 18px 20px;
}

.gain-faq .gain-faq-item details {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    margin-top: 0;
    overflow: visible;
    padding: 0;
}

.gain-faq .gain-faq-item summary {
    gap: 14px;
    padding: 0;
}

.gain-faq .gain-faq-item summary h3 {
    color: #96181B;
    font-size: 18px;
    font-weight: 650;
    margin: 0;
    text-align: left;
}

.gain-faq .gain-faq-item summary:after {
    align-items: center;
    background: rgba(150, 24, 27, 0.08);
    border: 1px solid rgba(150, 24, 27, 0.22);
    border-radius: 8px;
    color: #96181b;
    content: "\203A";
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 26px;
    font-weight: 300;
    height: 32px;
    justify-content: center;
    line-height: 28px;
    padding-bottom: 2px;
    transform: rotate(90deg);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 32px;
}

.gain-faq .gain-faq-item details[open] summary:after {
    background: #96181b;
    border-color: #96181b;
    color: #ffffff;
    content: "\203A";
    transform: rotate(-90deg);
}

.gain-faq .gain-faq-answer {
    margin-top: 14px;
}

.gain-faq .gain-faq-answer p {
    border-top: 0;
    padding: 0;
}


/* Modern FAQ */

.gain-faq {
    background: radial-gradient(circle at 96% 0%, rgba(150, 24, 27, 0.07), rgba(150, 24, 27, 0) 28%), linear-gradient(180deg, #ffffff, #fbfcfe);
    border-color: #e3e8ef;
    overflow: hidden;
    position: relative;
}

.gain-faq:before {
    background: linear-gradient(90deg, #96181b, rgba(150, 24, 27, 0));
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gain-faq>h2 {
    align-items: center;
    display: flex;
    font-size: 24px;
    gap: 12px;
    margin-bottom: 18px;
}

.gain-faq>h2:before {
    align-items: center;
    background: #fff1f1;
    border: 1px solid rgba(150, 24, 27, 0.14);
    border-radius: 12px;
    color: #96181b;
    content: "help";
    display: inline-flex;
    flex: 0 0 42px;
    font-family: 'Material Icons';
    font-size: 24px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
}

.gain-faq-grid {
    gap: 12px;
}

.gain-faq .gain-faq-item {
    background: #ffffff;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    padding: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gain-faq .gain-faq-item:hover {
    border-color: rgba(150, 24, 27, 0.22);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.gain-faq .gain-faq-item details[open] {
    background: linear-gradient(180deg, #ffffff, #fffafa);
}

.gain-faq .gain-faq-item summary {
    align-items: center;
    min-height: 72px;
    padding: 18px 20px;
}

.gain-faq .gain-faq-item summary h3 {
    color: #111c35;
    font-size: 17px;
    font-weight: 760;
    line-height: 1.35;
}

.gain-faq .gain-faq-item summary:after {
    background: #fff5f5;
    border: 1px solid #f0c6c7;
    border-radius: 10px;
    color: #96181b;
    content: "expand_more";
    font-family: 'Material Icons';
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    transform: rotate(0deg);
}

.gain-faq .gain-faq-item details[open] summary:after {
    background: #96181b;
    border-color: #96181b;
    color: #ffffff;
    content: "expand_less";
    transform: rotate(0deg);
}

.gain-faq .gain-faq-answer {
    border-top: 1px solid #edf1f6;
    margin: 0 20px 0;
    padding: 16px 0 20px;
}

.gain-faq .gain-faq-answer p {
    color: #56657d;
    font-size: 15px;
    line-height: 1.65;
}


/* Bootstrap-inspired refinement */

#gain-calculator {
    background: #f7f8fb;
    border-radius: 14px;
    padding-top: 22px;
}

.gain-hero {
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    max-width: none;
    padding: 28px 32px;
}

.gain-hero:after {
    background: #96181b;
    height: 4px;
    margin-top: 18px;
    width: 72px;
}

.gain-hero h1 {
    font-size: 44px;
    font-weight: 750;
    letter-spacing: 0;
}

.gain-hero p {
    color: #5f6c80;
    font-size: 18px;
}

.gain-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.gain-card h2,
.gain-config-inline h3 {
    color: #111c35;
    font-weight: 750;
}

.gain-processes,
.gain-results,
.gain-chart-card,
.gain-total-card,
.gain-seo-grid .gain-card,
.gain-faq {
    padding: 22px 24px;
}

.gain-config-inline {
    background: #f8fafc;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 18px;
}

.gain-control {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035);
}

.gain-control-label {
    color: #24314a;
}

.gain-control-label .material-icons,
.gain-process-info .material-icons,
.gain-kpi .material-icons {
    background: #fff1f1;
    border-radius: 10px;
    color: #96181b;
}

.gain-stepper button,
.gain-stepper input {
    background: #ffffff;
    border-color: #d6dde8;
}

.gain-stepper button:hover {
    background: #96181b;
}

.gain-segments {
    background: #edf1f6;
    border: 1px solid #dce3ec;
    border-radius: 10px;
    padding: 3px;
}

.gain-segments button {
    border-radius: 8px;
    height: 34px;
}

.gain-segments button.is-active {
    background: #96181b;
    box-shadow: 0 6px 14px rgba(150, 24, 27, 0.18);
}

.gain-process-head {
    background: #f8fafc;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 10px 12px;
}

.gain-process-row {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 10px;
    margin-bottom: 8px;
    min-height: 64px;
    padding: 10px 12px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gain-process-row:last-child {
    margin-bottom: 0;
}

.gain-process-row:hover {
    border-color: rgba(150, 24, 27, 0.24);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.gain-process-info strong {
    color: #111c35;
    font-weight: 750;
}

.gain-time-input input {
    background: #ffffff;
    border: 1px solid #d6dde8;
    border-radius: 8px;
}

.gain-time-input input:focus {
    border-color: #96181b;
    box-shadow: 0 0 0 4px rgba(150, 24, 27, 0.1);
}

.gain-liquid-choice {
    background: #eef2f7;
    border: 1px solid #d6dde8;
    box-shadow: none;
    min-height: 40px;
    padding: 4px;
}

.gain-liquid-choice:before {
    background: #98a3b3;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
    height: calc(100% - 8px);
    left: 4px;
    top: 4px;
    width: calc(50% - 4px);
}

.gain-liquid-choice.is-module:before {
    background: #96181b;
}

.gain-liquid-choice button {
    min-height: 32px;
}

.gain-kpi {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.gain-kpi strong,
.gain-total-card strong {
    color: #07892f;
    font-weight: 800;
}

.gain-chart-card,
.gain-total-card {
    background: #ffffff;
}

.gain-total-card {
    border-color: rgba(7, 137, 47, 0.2);
    box-shadow: 0 12px 26px rgba(7, 137, 47, 0.08);
}

.gain-bar-track {
    background: #edf1f6;
}

.gain-bar-current {
    background: #96181b;
}

.gain-bar-selected {
    background: #07892f;
}

.gain-button {
    border-radius: 8px;
    transition: box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.gain-button:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.gain-button-outline {
    background: #ffffff;
}

.gain-button-primary {
    background: #96181b;
    box-shadow: 0 10px 22px rgba(150, 24, 27, 0.22);
}

.gain-faq .gain-faq-item {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.gain-faq .gain-faq-item summary h3 {
    color: #111c35;
}

.gain-faq .gain-faq-item summary:after {
    background: #fff1f1;
    border-color: #f0c6c7;
    border-radius: 8px;
}


/* Modern result panel */

.gain-live-aside {
    gap: 16px;
}

.gain-results,
.gain-chart-card,
.gain-total-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(212, 220, 232, 0.95);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.gain-results {
    position: relative;
}

.gain-results:before,
.gain-chart-card:before,
.gain-total-card:before {
    background: linear-gradient(90deg, #96181b, rgba(150, 24, 27, 0));
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gain-results h2,
.gain-chart-card h2,
.gain-total-card h2 {
    font-size: 19px;
    margin-bottom: 13px;
}

.gain-kpi-grid {
    gap: 10px;
}

.gain-kpi {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 253, 0.9));
    border-color: rgba(214, 222, 234, 0.92);
    border-radius: 12px;
    box-shadow: none;
    min-height: 78px;
    padding: 14px 16px;
    position: relative;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gain-kpi:hover {
    border-color: rgba(150, 24, 27, 0.22);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.gain-kpi .material-icons {
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255, 241, 241, 0.75)), linear-gradient(145deg, rgba(150, 24, 27, 0.12), rgba(150, 24, 27, 0.05));
    border: 1px solid rgba(150, 24, 27, 0.13);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    flex-basis: 48px;
}

.gain-kpi-logo {
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255, 241, 241, 0.75)), linear-gradient(145deg, rgba(150, 24, 27, 0.12), rgba(150, 24, 27, 0.05));
    border: 1px solid rgba(150, 24, 27, 0.13);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gain-kpi small {
    color: #65728a;
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
}

.gain-result-summary {
    align-items: flex-start;
    background: radial-gradient(circle at 96% 0%, rgba(7, 137, 47, 0.12), rgba(7, 137, 47, 0) 34%), linear-gradient(135deg, rgba(7, 137, 47, 0.1), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(7, 137, 47, 0.18);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 22px rgba(7, 137, 47, 0.08);
    color: #3d4d66;
    display: flex;
    font-size: 14px;
    gap: 12px;
    line-height: 1.55;
    margin: 12px 0 0;
    padding: 14px;
}

.gain-result-summary .material-icons {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(7, 137, 47, 0.18);
    border-radius: 10px;
    color: #07892f;
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.gain-result-summary p {
    color: #31425d;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
    margin: 0;
}

.gain-kpi strong {
    color: #07892f;
    font-size: 27px;
    letter-spacing: 0;
    line-height: 1.12;
}

.gain-kpi strong {
    align-items: baseline;
    color: #07892f;
    display: flex;
    flex-wrap: wrap;
    font-size: 25px;
    font-weight: 850;
    gap: 4px;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 8px 22px rgba(7, 137, 47, 0.1);
}

.gain-kpi strong:after {
    background: linear-gradient(90deg, rgba(7, 137, 47, 0.28), rgba(7, 137, 47, 0));
    border-radius: 999px;
    content: "";
    display: block;
    flex: 0 0 58px;
    height: 3px;
    margin-top: 8px;
    width: 58px;
}

.gain-kpi-main {
    display: inline-block;
}

.gain-kpi-unit {
    color: #079339;
    display: inline-block;
    font-size: 0.68em;
    font-weight: 760;
}

.gain-kpi:nth-child(1) {
    background: radial-gradient(circle at 96% 18%, rgba(7, 137, 47, 0.08), rgba(7, 137, 47, 0) 34%), linear-gradient(135deg, #ffffff, #fbfdff);
}

.gain-kpi:nth-child(2) {
    background: radial-gradient(circle at 96% 18%, rgba(7, 137, 47, 0.08), rgba(7, 137, 47, 0) 34%), linear-gradient(135deg, #ffffff, #fbfdff);
}

.gain-kpi:nth-child(3) {
    background: radial-gradient(circle at 96% 18%, rgba(7, 137, 47, 0.07), rgba(7, 137, 47, 0) 34%), linear-gradient(135deg, #ffffff, #fbfdff);
}

.gain-chart-card {
    position: relative;
}

.gain-bars {
    gap: 20px;
}

.gain-bar-row {
    grid-template-columns: 96px minmax(0, 1fr) 92px;
}

.gain-bar-row>div:first-child strong {
    color: #14213d;
    font-size: 15px;
    line-height: 1.15;
}

.gain-bar-row>strong {
    color: #14213d;
    font-size: 15px;
    text-align: right;
}

.gain-bar-track {
    background: #edf1f6;
    height: 26px;
    padding: 4px;
}

.gain-bar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    height: 100%;
}

.gain-bar-current {
    background: linear-gradient(90deg, #96181b, #b92529);
}

.gain-bar-selected {
    background: linear-gradient(90deg, #07892f, #2ca84d);
}

.gain-total-card {
    background: radial-gradient(circle at 88% 8%, rgba(7, 137, 47, 0.11), rgba(7, 137, 47, 0) 34%), linear-gradient(135deg, #ffffff, #f4fff7);
    border-color: rgba(7, 137, 47, 0.22);
    position: relative;
}

.gain-total-card:before {
    background: linear-gradient(90deg, #07892f, rgba(7, 137, 47, 0));
}

.gain-total-card strong {
    font-size: 26px;
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: 12px;
}

.gain-total-card p {
    color: #52627b;
    font-size: 13px;
}


/* More expressive comparison chart */

.gain-chart-card .gain-bars {
    gap: 12px;
}

.gain-chart-card .gain-bar-row {
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    gap: 14px;
    grid-template-columns: 104px minmax(0, 1fr) 104px;
    padding: 12px;
}

.gain-chart-card .gain-bar-row>div:first-child strong {
    color: #111c35;
    font-size: 14px;
    font-weight: 800;
}

.gain-chart-card .gain-bar-row>strong {
    color: #111c35;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.gain-chart-card .gain-total-caption {
    color: #748197;
    font-size: 11px;
}

.gain-chart-card .gain-bar-track {
    background: linear-gradient(180deg, #edf1f6, #e7ecf3);
    border: 1px solid #dfe6ef;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
    height: 30px;
    padding: 4px;
}

.gain-chart-card .gain-bar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    min-width: 18px;
}

.gain-chart-card .gain-bar-current {
    background: linear-gradient(90deg, #96181b, #c8383b);
}

.gain-chart-card .gain-bar-selected {
    background: linear-gradient(90deg, #07892f, #35b958);
}


/* Software switch appearance */

.gain-liquid-choice {
    background: #eaf0f7;
    border: 1px solid #ccd6e4;
    box-shadow: inset 0 2px 5px rgba(20, 33, 61, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.86);
    min-height: 42px;
    padding: 4px;
}

.gain-liquid-choice:before {
    background: linear-gradient(180deg, #b0bac8, #8d98a9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 16px rgba(20, 33, 61, 0.16);
    height: calc(100% - 8px);
    left: 4px;
    top: 4px;
    width: calc(50% - 4px);
}

.gain-liquid-choice.is-module:before {
    background: linear-gradient(180deg, #b22b2e, #96181b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 16px rgba(150, 24, 27, 0.24);
}

.gain-liquid-choice button {
    min-height: 34px;
}


/* Final FAQ overrides */

.gain-faq {
    background: radial-gradient(circle at 96% 0%, rgba(150, 24, 27, 0.07), rgba(150, 24, 27, 0) 28%), linear-gradient(180deg, #ffffff, #fbfcfe);
    overflow: hidden;
    position: relative;
}

.gain-faq>h2 {
    align-items: center;
    display: flex;
    font-size: 24px;
    gap: 12px;
}

.gain-faq>h2:before {
    display: none;
}

.gain-faq-title-icon {
    align-items: center;
    background: #fff1f1;
    border: 1px solid rgba(150, 24, 27, 0.14);
    border-radius: 12px;
    color: #96181b;
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 24px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.gain-faq .gain-faq-item {
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

.gain-faq .gain-faq-item details {
    border-radius: inherit;
    overflow: hidden;
}

.gain-faq .gain-faq-item summary {
    min-height: 72px;
    padding: 18px 20px;
}

.gain-faq .gain-faq-item summary h3 {
    color: #111c35;
    font-size: 17px;
    font-weight: 760;
}

.gain-faq .gain-faq-item summary:after {
    display: none;
}

.gain-faq .gain-faq-item details[open] summary:after {
    display: none;
}

.gain-faq-chevron {
    align-items: center;
    background: #fff5f5;
    border: 1px solid #f0c6c7;
    border-radius: 10px;
    color: #96181b;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 22px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 34px;
}

.gain-faq .gain-faq-item details[open] .gain-faq-chevron {
    background: #96181b;
    border-color: #96181b;
    color: #ffffff;
    transform: rotate(180deg);
}

.gain-faq .gain-faq-answer {
    border-top: 1px solid #edf1f6;
    margin: 0 20px;
    padding: 16px 0 20px;
}

@media only screen and (max-width: 1180px) {
    #gain-calculator {
        padding: 0 18px 30px;
    }
    .gain-config-grid,
    .gain-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gain-live-grid {
        grid-template-columns: 1fr;
    }
    .gain-live-aside {
        position: static;
    }
    .gain-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .gain-process-head {
        display: none;
    }
    .gain-process-row {
        grid-template-columns: minmax(260px, 1fr) minmax(120px, 0.45fr) minmax(270px, 0.85fr) minmax(100px, 0.32fr) minmax(80px, 0.26fr);
    }
}

@media only screen and (max-width: 760px) {
    #gain-calculator {
        padding-bottom: 92px;
    }
    .gain-hero h1 {
        font-size: 28px;
    }
    .gain-hero {
        margin-bottom: 12px;
    }
    .gain-hero:after {
        margin-top: 10px;
    }
    .gain-mobile-quick-result {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 251, 245, 0.92));
        border: 1px solid rgba(7, 137, 47, 0.18);
        border-radius: 12px;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
        display: grid;
        gap: 8px;
        grid-template-columns: 1fr 1fr;
        margin: 0 0 12px;
        padding: 12px;
    }
    .gain-mobile-quick-result small {
        color: #667085;
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.02em;
        margin-bottom: 3px;
        text-transform: uppercase;
    }
    .gain-mobile-quick-result strong {
        color: #07892f;
        display: block;
        font-size: 18px;
        line-height: 1.15;
    }
    .gain-config-grid,
    .gain-kpi-grid,
    .gain-faq-grid,
    .gain-seo-grid {
        grid-template-columns: 1fr;
    }
    .gain-config-inline {
        margin-bottom: 12px;
        padding: 0;
    }
    .gain-config-summary {
        align-items: center;
        cursor: pointer;
        display: grid;
        gap: 6px;
        grid-template-columns: auto 1fr auto;
        list-style: none;
        min-height: 44px;
        padding: 8px 10px;
    }
    .gain-config-summary::-webkit-details-marker {
        display: none;
    }
    .gain-config-summary span:first-child {
        color: #0b1733;
        font-size: 14px;
        font-weight: 750;
    }
    .gain-config-summary strong {
        color: #667085;
        font-size: 11px;
        font-weight: 650;
        overflow: hidden;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .gain-config-summary .material-icons {
        align-items: center;
        background: #fff5f5;
        border: 1px solid #f0c6c7;
        border-radius: 8px;
        color: #96181b;
        display: inline-flex;
        font-size: 19px;
        height: 28px;
        justify-content: center;
        transition: transform 0.18s ease;
        width: 28px;
    }
    .gain-config-inline[open] .gain-config-summary .material-icons {
        transform: rotate(180deg);
    }
    .gain-config-grid {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 8px 8px;
    }
    .gain-control {
        border-radius: 8px;
        min-height: auto;
        padding: 8px;
    }
    .gain-control-label {
        align-items: flex-start;
        font-size: 11px;
        gap: 5px;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    .gain-control-label .material-icons {
        font-size: 18px;
    }
    .gain-control-label strong {
        display: block;
        margin-left: auto;
    }
    .gain-stepper {
        grid-template-columns: 34px minmax(44px, 1fr) 34px;
        max-width: 130px;
    }
    .gain-stepper button,
    .gain-stepper input {
        font-size: 14px;
        height: 31px;
    }
    .gain-range-scale {
        display: none;
    }
    .gain-segments button {
        font-size: 12px;
        height: 31px;
    }
    .gain-toggle {
        justify-content: flex-start;
        min-height: 31px;
    }
    .gain-toggle-track {
        flex-basis: 48px;
        height: 28px;
    }
    .gain-toggle-text {
        font-size: 11px;
    }
    .gain-processes {
        padding: 8px;
    }
    .gain-process-row {
        align-items: stretch;
        background: linear-gradient(180deg, #ffffff, #fbfcfe);
        border-radius: 10px;
        gap: 7px;
        grid-template-columns: 1fr;
        margin-bottom: 8px;
        min-height: 0;
        padding: 8px;
    }
    .gain-process-info {
        align-items: flex-start;
        gap: 8px;
    }
    .gain-process-info .material-icons {
        flex: 0 0 34px;
        font-size: 22px;
        height: 34px;
        width: 34px;
    }
    .gain-process-info strong {
        font-size: 13px;
        line-height: 1.2;
    }
    .gain-process-info small {
        font-size: 11px;
        line-height: 1.25;
    }
    .gain-time-input {
        background: #f8fafc;
        border: 1px solid #e3e8ef;
        border-radius: 8px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        justify-self: stretch;
        min-height: 36px;
        padding: 5px 8px;
        width: 100%;
    }
    .gain-time-input span {
        display: inline;
        font-weight: 650;
        line-height: 28px;
    }
    .gain-time-input input {
        border-radius: 7px;
        height: 28px;
        width: 58px;
    }
    .gain-liquid-choice {
        min-height: 40px;
        padding: 3px;
    }
    .gain-liquid-choice button {
        font-size: 12px;
        min-height: 32px;
        padding: 5px 7px;
    }
    .gain-module-icon {
        height: 15px;
        width: 15px;
    }
    .gain-row-simulated,
    .gain-row-gain {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e3e8ef;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        min-height: 34px;
        padding: 6px 8px;
        text-align: right;
    }
    .gain-row-simulated:before {
        color: #536179;
        content: attr(data-label);
        font-weight: 400;
    }
    .gain-row-gain:before {
        color: #536179;
        content: attr(data-label);
        font-weight: 400;
    }
    .gain-live-aside {
        gap: 10px;
    }
    .gain-results,
    .gain-chart-card,
    .gain-total-card {
        padding: 14px;
    }
    .gain-kpi-grid {
        gap: 8px;
    }
    .gain-kpi {
        min-height: auto;
        padding: 10px;
    }
    .gain-kpi strong {
        font-size: 21px;
    }
    .gain-bar-row {
        grid-template-columns: 1fr;
    }
    .gain-chart-card .gain-bar-row {
        grid-template-columns: 1fr;
    }
    .gain-chart-card .gain-bar-row>strong {
        text-align: left;
    }
    .gain-cta-row {
        flex-direction: column;
    }
    .gain-button,
    .gain-button-primary {
        width: 100%;
    }
    .gain-mobile-sticky-summary {
        -webkit-backdrop-filter: blur(18px);
        align-items: center;
        backdrop-filter: blur(18px);
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(7, 137, 47, 0.18);
        border-radius: 16px 16px 0 0;
        bottom: 0;
        box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.14);
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
        left: 0;
        padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 50;
    }
    .gain-mobile-sticky-summary strong {
        color: #07892f;
        display: block;
        font-size: 18px;
        line-height: 1.15;
    }
    .gain-mobile-sticky-summary span {
        color: #475467;
        display: block;
        font-size: 12px;
        margin-top: 2px;
    }
    .gain-mobile-sticky-button {
        align-items: center;
        background: #96181b;
        border: 1px solid #96181b;
        border-radius: 10px;
        color: #ffffff;
        display: inline-flex;
        font-size: 12px;
        font-weight: 750;
        justify-content: center;
        line-height: 1.15;
        min-height: 38px;
        padding: 8px 11px;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        width: 100%;
    }
    body:has(#gain-calculator) .cookie-consent-toggle {
        display: none !important;
    }
}

@media only screen and (max-width: 430px) {
    #gain-calculator {
        padding: 0 12px 92px;
    }
    .gain-config-grid {
        grid-template-columns: 1fr;
    }
    .gain-card,
    .gain-control,
    .gain-kpi {
        border-radius: 8px;
    }
}
