.tkd-technical-calculators {
    color: #1f2937;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    margin: 24px 0;
    width: 100%;
}

.tkd-technical-calculators * {
    box-sizing: border-box;
    font-size: 16px;
}

.tkd-technical-calculators__toolbar {
    background: #ffffff;
    margin-bottom: 10px;
    padding: 0;
}

.tkd-technical-calculators__tabs {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tkd-technical-calculators__tab {
    align-items: center;
    background: #FEEDEE !important;
    border: 1px solid #FB8688 !important;
    border-radius: 10px;
    color: #334155 !important;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.35;
    min-height: 44px;
    padding: 6px;
    text-align: center;
    margin-bottom: 5px;
    margin-right:0;
}


.tkd-technical-calculators__tab.is-active,
.tkd-technical-calculators__tab[aria-selected="true"] {
    background: #fa5356 !important;
    color: #fff !important;
}

.tkd-technical-calculators__content {
    width: 100%;
}

.tkd-technical-calculators__group {
    width: 100%;
}

.tkd-technical-calculators__group .tool-container,
.tkd-technical-calculators__group .mechanical-tool-container,
.tkd-technical-calculators__group .elec-tool-container,
.tkd-technical-calculators__group .vacuum-tool-container,
.tkd-technical-calculators__group .valve-tool-container {
    background: #efeffd !important;
    border: 1px solid #d9e2ec !important;
    border-radius: 16px !important;
    color: #1f2937 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 16px !important;
    width: 100% !important;
}

.tkd-technical-calculators__group .tool-container::before,
.tkd-technical-calculators__group .mechanical-tool-container::before,
.tkd-technical-calculators__group .elec-tool-container::before,
.tkd-technical-calculators__group .vacuum-tool-container::before,
.tkd-technical-calculators__group .valve-tool-container::before {
    display: none !important;
}

.tkd-technical-calculators__group .tool-title,
.tkd-technical-calculators__group .elec-tool-title,
.tkd-technical-calculators__group .vacuum-tool-title,
.tkd-technical-calculators__group .valve-tool-title {
    color: #1f2937 !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

.tkd-technical-calculators__group .tool,
.tkd-technical-calculators__group .elec-tool,
.tkd-technical-calculators__group .vacuum-tool,
.tkd-technical-calculators__group .valve-tool {
    display: none !important;
    margin-top: 12px !important;
}

.tkd-technical-calculators__group .tool.active,
.tkd-technical-calculators__group .elec-tool.active,
.tkd-technical-calculators__group .vacuum-tool.active,
.tkd-technical-calculators__group .valve-tool.active {
    display: block !important;
}

.tkd-technical-calculators__group .tool-heading,
.tkd-technical-calculators__group .elec-tool-heading,
.tkd-technical-calculators__group .vacuum-tool-heading,
.tkd-technical-calculators__group .valve-tool-heading {
    font-size: 18px !important;
    margin: 0 0 8px !important;
    text-align: center;
}

.tkd-technical-calculators__group .tool-desc,
.tkd-technical-calculators__group .elec-tool-desc,
.tkd-technical-calculators__group .vacuum-tool-desc,
.tkd-technical-calculators__group .valve-tool-desc {
    font-size: 16px !important;
    margin: 0 0 10px !important;
}

.tkd-technical-calculators__group .tool-label,
.tkd-technical-calculators__group .elec-tool-label,
.tkd-technical-calculators__group .vacuum-tool-label,
.tkd-technical-calculators__group .valve-tool-label {
    color: #1f2937 !important;
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.tkd-technical-calculators__group .tool-select,
.tkd-technical-calculators__group .tool-input,
.tkd-technical-calculators__group .tool-unit,
.tkd-technical-calculators__group .tool-output,
.tkd-technical-calculators__group .tool-button,
.tkd-technical-calculators__group .elec-tool-select,
.tkd-technical-calculators__group .elec-tool-input,
.tkd-technical-calculators__group .elec-tool-unit,
.tkd-technical-calculators__group .elec-tool-output,
.tkd-technical-calculators__group .elec-tool-button,
.tkd-technical-calculators__group .vacuum-tool-select,
.tkd-technical-calculators__group .vacuum-tool-input,
.tkd-technical-calculators__group .vacuum-tool-unit,
.tkd-technical-calculators__group .vacuum-tool-output,
.tkd-technical-calculators__group .vacuum-tool-button,
.tkd-technical-calculators__group .valve-tool-select,
.tkd-technical-calculators__group .valve-tool-input,
.tkd-technical-calculators__group .valve-tool-unit,
.tkd-technical-calculators__group .valve-tool-output,
.tkd-technical-calculators__group .valve-tool-button {
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 16px !important;
    margin: 6px 0 !important;
    max-width: 100% !important;
    min-height: 42px !important;
    padding: 9px 12px !important;
    width: 100% !important;
}

.tkd-technical-calculators__group .tool-select,
.tkd-technical-calculators__group .tool-input,
.tkd-technical-calculators__group .tool-unit,
.tkd-technical-calculators__group .tool-output,
.tkd-technical-calculators__group .elec-tool-select,
.tkd-technical-calculators__group .elec-tool-input,
.tkd-technical-calculators__group .elec-tool-unit,
.tkd-technical-calculators__group .elec-tool-output,
.tkd-technical-calculators__group .vacuum-tool-select,
.tkd-technical-calculators__group .vacuum-tool-input,
.tkd-technical-calculators__group .vacuum-tool-unit,
.tkd-technical-calculators__group .vacuum-tool-output,
.tkd-technical-calculators__group .valve-tool-select,
.tkd-technical-calculators__group .valve-tool-input,
.tkd-technical-calculators__group .valve-tool-unit,
.tkd-technical-calculators__group .valve-tool-output {
    background: #ffffff !important;
    border: 1px solid #d9e2ec !important;
    color: #1f2937 !important;
}

.tkd-technical-calculators__group .tool-output,
.tkd-technical-calculators__group .elec-tool-output,
.tkd-technical-calculators__group .vacuum-tool-output,
.tkd-technical-calculators__group .valve-tool-output {
    background: #f8fafc !important;
    font-weight: 700 !important;
}

.tkd-technical-calculators__group .tool-button,
.tkd-technical-calculators__group .elec-tool-button,
.tkd-technical-calculators__group .vacuum-tool-button,
.tkd-technical-calculators__group .valve-tool-button {
    background: #fa5356 !important;
    border: 0 !important;
    color: #fff !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.tkd-technical-calculators__group .example-link {
    color: #fa5356 !important;
    cursor: pointer;
    display: inline-block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

.tkd-technical-calculators__group .tool-example,
.tkd-technical-calculators__group .elec-tool-example,
.tkd-technical-calculators__group .vacuum-tool-example,
.tkd-technical-calculators__group .valve-tool-example {
    background: #FEEDEE !important;
    border: 1px solid #bde7df !important;
    border-radius: 10px !important;
    color: #1f2937 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    padding: 10px 12px !important;
}

@media (max-width: 767px) {
    .tkd-technical-calculators__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tkd-technical-calculators__tab {
        min-height: 42px;
        padding: 10px;
    }
}

@media (max-width: 520px) {
    .tkd-technical-calculators__tabs {
        grid-template-columns: 1fr;
    }
}
