.kc-tehno {
    max-width: 1120px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}
.kc-tehno-title {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}
.kc-tehno-main {
    width: 480px;
    max-width: 100%;
    flex: 0 0 480px;
}
.kc-t-result {
    width: 480px;
    max-width: 100%;
    flex: 0 0 480px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 0;
}
@media (max-width: 1100px) {
    .kc-tehno-main,
    .kc-t-result {
        flex: 1 1 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .kc-t-result {
        margin-top: 24px;
    }
}
.kc-tehno-settings {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.kc-tehno-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}
.kc-tehno-row label {
    min-width: 140px;
    font-weight: 500;
}
.kc-tehno-row select,
.kc-tehno-row input[type="number"],
.kc-tehno-row input[type="text"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 180px;
}
.kc-tehno-modules {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.kc-tehno-col {
    flex: 1;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
}
.kc-tehno-col h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 15px;
}
.kc-t-module-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.kc-t-module-row select,
.kc-t-module-row input[type="number"] {
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.kc-t-module-row select { min-width: 80px; }
.kc-t-module-row input[type="number"] { width: 60px; text-align: center; }
.kc-t-btn-add {
    background: none;
    border: 1px dashed #999;
    color: #666;
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
}
.kc-t-btn-add:hover { background: #eee; border-color: #666; }
.kc-t-btn-del {
    background: none;
    border: none;
    color: #c00;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
}
.kc-t-btn-del:hover { color: #900; }
.kc-tehno-delivery {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 11px;
}
.kc-tehno-delivery h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 15px;
}
.kc-tehno-delivery label {
    font-size: 11px;
}
.kc-tehno-delivery select,
.kc-tehno-delivery input[type="text"] {
    font-size: 11px;
}
.kc-tehno-delivery .kc-t-city-hint {
    font-size: 11px;
}
.kc-t-delivery {
    margin-top: 16px;
    font-size: 11px;
}
.kc-t-delivery-row {
    padding: 8px 0;
    font-size: 11px;
    line-height: 1.5;
}
.kc-t-delivery-row small {
    font-size: 11px;
}
.kc-t-city-hint {
    color: #888;
    font-size: 11px;
}
.kc-t-city-wrap { position: relative; }
.kc-t-city-dd {
    position: absolute;
    top: 100%;
    left: 150px;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}
.kc-t-city-dd.kc-hidden { display: none; }
.kc-t-city-item {
    padding: 7px 12px;
    cursor: pointer;
    font-size: 13px;
}
.kc-t-city-item:hover,
.kc-t-city-item.kc-active { background: #e8f0fe; }
.kc-tehno-actions { text-align: center; margin-bottom: 20px; }
.kc-t-btn-calc {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}
.kc-t-btn-calc:hover { background: #005f8c; }
.kc-t-btn-calc:disabled { background: #999; cursor: default; }
.kc-t-result.kc-hidden { display: none; }
.kc-t-error { color: #c00; padding: 10px; }
.kc-t-table { width: 100%; border-collapse: collapse; }
.kc-t-table td, .kc-t-table th {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}
.kc-t-table th { font-weight: 600; padding-top: 12px; }
.kc-t-table .kc-t-total td { border-top: 2px solid #333; font-size: 16px; }
.kc-muted { color: #888; }
.kc-error { color: #c00; }