.enc-tools-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
}

.enc-tools-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.enc-tools-tab {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: #eef2ff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
}

.enc-tools-tab.is-active {
    background: #f1c232;
    color: #111827;
    box-shadow: 0 10px 24px rgba(241, 194, 50, 0.28);
}

.enc-tools-pane {
    display: none;
}

.enc-tools-pane.is-active {
    display: block;
}

.enc-tool-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
}

.enc-tool-head {
    padding: 24px 24px 18px;
}

.enc-tool-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #b8860b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.enc-tool-title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.3;
    color: #111827;
    text-transform: none;
}

.enc-tool-summary {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.9;
}

.enc-tool-toggle-row {
    padding: 0 24px 24px;
}

.enc-tool-toggle {
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.enc-tool-toggle:hover,
.enc-tool-toggle:focus {
    background: #1f2937;
    color: #ffffff;
}

.enc-tool-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
    border-top: 1px solid transparent;
}

.enc-tool-card.is-open .enc-tool-body {
    max-height: 1600px;
    padding: 24px;
    border-top-color: #e5e7eb;
}

.enc-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.enc-tool-field {
    margin-bottom: 0;
}

.enc-tool-field label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.enc-tool-field input,
.enc-tool-field select {
    width: 100%;
    height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    color: #0f172a;
    background: #ffffff;
}

.enc-tool-field input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-right: 8px;
}

.enc-tool-check {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-top: 28px;
    color: #334155;
    font-size: 14px;
}

.enc-tool-submit {
    margin-top: 18px;
    border: 0;
    border-radius: 12px;
    padding: 14px 20px;
    background: #f1c232;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.enc-tool-result {
    margin-top: 22px;
    padding: 20px;
    border-radius: 16px;
    background: #eefbf2;
    border: 1px solid #b7e4c7;
    display: none;
}

.enc-tool-result.is-visible {
    display: block;
}

.enc-tool-result-title {
    margin: 0 0 12px;
    color: #166534;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.enc-tool-result-main {
    font-size: 28px;
    line-height: 1.2;
    color: #14532d;
    font-weight: 800;
    margin-bottom: 12px;
}

.enc-tool-result-lines {
    display: grid;
    gap: 8px;
    color: #14532d;
    font-size: 14px;
}

.enc-tool-faq {
    margin-top: 20px;
    padding: 18px 18px 4px;
    border-radius: 16px;
    background: #fff7df;
    border: 1px solid #f8df8b;
}

.enc-tool-faq h4 {
    margin: 0 0 10px;
    color: #8a6700;
    font-size: 16px;
    text-transform: none;
}

.enc-tool-faq p {
    color: #7c5b00;
    font-size: 14px;
    line-height: 1.8;
}

.enc-tool-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.enc-tool-subtab {
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f8fbff;
    color: #1d4ed8;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

.enc-tool-subtab.is-active {
    background: #dbeafe;
}

.enc-tool-subpane {
    display: none;
}

.enc-tool-subpane.is-active {
    display: block;
}

@media (max-width: 767px) {
    .enc-tools-shell {
        padding: 18px;
    }

    .enc-tool-grid {
        grid-template-columns: 1fr;
    }

    .enc-tool-title {
        font-size: 24px;
    }

    .enc-tool-check {
        padding-top: 0;
        min-height: auto;
    }
}
