.akbk7-at-calculator {
    max-width: 1040px;
    border: 1px solid #e3e7e5;
    border-radius: 8px;
    padding: 28px;
    background: #ffffff;
    color: #666666;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(59, 66, 81, 0.06);
}

.akbk7-at-calculator *,
.akbk7-at-calculator *::before,
.akbk7-at-calculator *::after {
    box-sizing: border-box;
}

.akbk7-at-header {
    margin-bottom: 18px;
}

.akbk7-at-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.akbk7-at-flow span {
    flex: 0 0 auto;
    min-height: 30px;
    border: 1px solid #d7e1de;
    border-radius: 999px;
    padding: 5px 9px 5px 6px;
    background: #f7faf9;
    color: #3b4251;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.akbk7-at-flow strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 5px;
    border-radius: 50%;
    background: #55a098;
    color: #ffffff;
    font-size: 0.74rem;
}

.akbk7-at-workspace {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}

.akbk7-at-main {
    min-width: 0;
}

.akbk7-at-side {
    position: static;
    border: 1px solid #dfe8e6;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbfa;
}

.akbk7-at-side::after {
    content: "";
    display: table;
    clear: both;
}

.akbk7-at-side h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.akbk7-at-side p {
    margin: 0 0 12px;
    color: #666666;
    font-size: 0.94rem;
}

.akbk7-at-mini-card {
    display: inline-block;
    width: calc(33.333% - 8px);
    min-width: 190px;
    margin: 8px 8px 0 0;
    border-top: 1px solid #dfe7e4;
    padding: 8px 0 0;
    vertical-align: top;
}

.akbk7-at-mini-card strong,
.akbk7-at-mini-card span {
    display: block;
}

.akbk7-at-mini-card span {
    color: #666666;
    font-size: 0.9rem;
}

.akbk7-at-kicker {
    margin: 0 0 6px;
    color: #55a098;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
}

.akbk7-at-header h2 {
    margin: 0 0 8px;
    color: #3b4251;
    font-family: Raleway, Arial, Helvetica, sans-serif;
    font-size: clamp(1.6rem, 2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0;
}

.akbk7-at-note,
.akbk7-at-source,
.akbk7-at-context {
    color: #666666;
    font-size: 0.96rem;
}

.akbk7-at-context {
    margin: -6px 0 14px;
}

.akbk7-at-step {
    border-top: 1px solid #e7ecea;
    padding-top: 16px;
    margin-top: 16px;
}

.akbk7-at-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    cursor: pointer;
    font-weight: 900;
}

.akbk7-at-details > summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #edf7f6;
    color: #55a098;
}

.akbk7-at-details[open] > summary::after {
    content: "-";
}

.akbk7-at-step h3,
.akbk7-at-faq h3,
.akbk7-at-summary h3 {
    margin: 0 0 14px;
    color: #3b4251;
    font-family: Raleway, Arial, Helvetica, sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
}

.akbk7-at-choice-grid,
.akbk7-at-inline-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.akbk7-at-choice-grid label,
.akbk7-at-checkboxes label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 42px;
    border: 1px solid #dce4e2;
    border-radius: 8px;
    padding: 9px 10px;
    background: #ffffff;
    cursor: pointer;
}

.akbk7-at-choice-grid label:has(input:checked) {
    border-color: #55a098;
    background: #f1faf9;
    box-shadow: inset 0 0 0 1px #55a098;
}

.akbk7-at-choice-grid label:hover,
.akbk7-at-choice-grid label:focus-within {
    border-color: #85c4be;
    background: #f8fcfb;
}

.akbk7-at-choice-title,
.akbk7-at-choice-desc {
    display: block;
}

.akbk7-at-choice-title {
    color: #3b4251;
    font-size: 0.95rem;
    line-height: 1.28;
}

.akbk7-at-choice-desc {
    display: none;
    margin-top: 5px;
    color: #666666;
    font-size: 0.88rem;
    font-weight: 400;
}

.akbk7-at-choice-grid label:has(input:checked) .akbk7-at-choice-desc,
.akbk7-at-choice-grid label:hover .akbk7-at-choice-desc,
.akbk7-at-choice-grid label:focus-within .akbk7-at-choice-desc {
    display: block;
}

.akbk7-at-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-weight: 700;
}

.akbk7-at-procedure-cards {
    margin-top: 8px;
    border: 1px solid #e3e7e5;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.akbk7-at-field input,
.akbk7-at-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #ccd7d3;
    border-radius: 6px;
    padding: 9px 11px;
    background: #ffffff;
    color: #3b4251;
    font: inherit;
    font-weight: 400;
}

.akbk7-at-field input:focus::placeholder {
    color: transparent;
}

.akbk7-at-checkboxes {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.akbk7-at-source-box {
    max-height: 170px;
    overflow: auto;
    border: 1px solid #d8e2df;
    border-radius: 8px;
    margin: 0 0 14px;
    padding: 12px;
    background: #f7faf9;
    color: #666666;
    font-size: 0.92rem;
}

.akbk7-at-actions,
.akbk7-at-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.akbk7-at-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 10px 15px;
    background: #55a098;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.akbk7-at-button:hover,
.akbk7-at-button:focus {
    color: #ffffff;
    background: #477f79;
}

.akbk7-at-button-secondary {
    border: 1px solid #c9d1ce;
    background: #eef3f1;
    color: #55a098;
}

.akbk7-at-button-secondary:hover,
.akbk7-at-button-secondary:focus {
    background: #dfe8e5;
    color: #55a098;
}

.akbk7-at-error,
.akbk7-at-result {
    margin-top: 20px;
    border-radius: 8px;
    padding: 18px;
}

.akbk7-at-error {
    border: 1px solid #e2b7b7;
    background: #fff4f4;
    color: #8a1f1f;
}

.akbk7-at-result {
    border: 1px solid #cce3df;
    background: #f7fbfa;
}

.akbk7-at-summary dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0 0 18px;
}

.akbk7-at-summary dl div {
    min-width: 0;
}

.akbk7-at-summary dt {
    color: #666666;
    font-size: 0.86rem;
    font-weight: 700;
}

.akbk7-at-summary dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.akbk7-at-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8e2df;
    border-radius: 8px;
    background: #ffffff;
}

.akbk7-at-summary table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.akbk7-at-summary th,
.akbk7-at-summary td {
    border-bottom: 1px solid #e4ebe8;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.akbk7-at-summary th {
    background: #eef7f6;
    color: #3b4251;
}

.akbk7-at-total-row td {
    font-weight: 900;
}

.akbk7-at-total {
    margin: 16px 0 8px;
    color: #55a098;
    font-size: 1.75rem;
    font-weight: 900;
}

.akbk7-at-faq {
    margin-top: 24px;
    border-top: 1px solid #e3e7e5;
    padding-top: 18px;
}

.akbk7-at-faq details {
    border-bottom: 1px solid #e3e7e5;
    padding: 10px 0;
}

.akbk7-at-faq summary {
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 720px) {
    .akbk7-at-calculator {
        padding: 18px;
    }

    .akbk7-at-choice-grid,
    .akbk7-at-inline-fields,
    .akbk7-at-summary dl,
    .akbk7-at-workspace {
        grid-template-columns: 1fr;
    }

    .akbk7-at-flow {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .akbk7-at-flow span {
        flex: 0 0 auto;
    }

    .akbk7-at-mini-card {
        display: block;
        width: 100%;
        min-width: 0;
        margin-right: 0;
    }

    .akbk7-at-button,
    .akbk7-at-result-actions a {
        width: 100%;
    }
}


