.tk-cash-out-calculator {
    --tk-border: #d6dde5;
    --tk-ink: #17202a;
    --tk-muted: #5e6b78;
    --tk-panel: #ffffff;
    --tk-soft: #f5f8fb;
    --tk-accent: #116c64;
    --tk-accent-dark: #0b514b;
    --tk-danger: #a83c35;
    box-sizing: border-box;
    color: var(--tk-ink);
    font-family: inherit;
    margin: 24px 0;
    max-width: 1040px;
}

.tk-cash-out-calculator *,
.tk-cash-out-calculator *::before,
.tk-cash-out-calculator *::after {
    box-sizing: border-box;
}

.tk-cash-out-calculator__header {
    margin-bottom: 18px;
}

.tk-cash-out-calculator__header h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.15;
    margin: 0 0 6px;
}

.tk-cash-out-calculator__header p {
    color: var(--tk-muted);
    margin: 0;
}

.tk-cash-out-calculator__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.tk-cash-out-calculator__panel,
.tk-cash-out-calculator__results {
    background: var(--tk-panel);
    border: 1px solid var(--tk-border);
    border-radius: 8px;
    padding: 18px;
}

.tk-cash-out-calculator label {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
}

.tk-cash-out-calculator label span {
    color: var(--tk-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.tk-cash-out-calculator input {
    appearance: none;
    background: #fff;
    border: 1px solid var(--tk-border);
    border-radius: 6px;
    color: var(--tk-ink);
    font: inherit;
    min-height: 44px;
    padding: 9px 11px;
    width: 100%;
}

.tk-cash-out-calculator input:focus {
    border-color: var(--tk-accent);
    box-shadow: 0 0 0 3px rgba(17, 108, 100, 0.14);
    outline: none;
}

.tk-cash-out-calculator__split {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tk-cash-out-calculator__property {
    color: var(--tk-accent-dark);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tk-cash-out-calculator dl {
    margin: 0;
}

.tk-cash-out-calculator dl > div {
    align-items: baseline;
    border-bottom: 1px solid var(--tk-border);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 10px 0;
}

.tk-cash-out-calculator dt {
    color: var(--tk-muted);
    font-weight: 650;
}

.tk-cash-out-calculator dd {
    font-weight: 800;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.tk-cash-out-calculator__total dt,
.tk-cash-out-calculator__total dd {
    color: var(--tk-ink);
}

.tk-cash-out-calculator__cash-out {
    background: var(--tk-soft);
    border: 1px solid var(--tk-border);
    border-radius: 8px;
    margin-top: 16px;
    padding: 16px;
}

.tk-cash-out-calculator__cash-out span {
    color: var(--tk-muted);
    display: block;
    font-weight: 750;
    margin-bottom: 4px;
}

.tk-cash-out-calculator__cash-out strong {
    color: var(--tk-accent-dark);
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.tk-cash-out-calculator__disclaimer {
    color: var(--tk-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 12px 0 0;
}

.tk-cash-out-calculator--negative .tk-cash-out-calculator__cash-out strong {
    color: var(--tk-danger);
}

@media (max-width: 780px) {
    .tk-cash-out-calculator__grid,
    .tk-cash-out-calculator__split {
        grid-template-columns: 1fr;
    }

    .tk-cash-out-calculator__panel,
    .tk-cash-out-calculator__results {
        padding: 15px;
    }
}
