#kth-converter-app {
    font-family: 'Segoe UI', Roboto, sans-serif;
    max-width: 700px;
    margin: 40px auto;
}

.conv-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

.conv-header {
    background: #0f172a;
    color: white;
    padding: 30px;
    text-align: center;
}

.tool-tag {
    background: rgba(255,255,255,0.1);
    color: #94a3b8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.conv-header h2 { color: white; margin: 10px 0 5px; font-size: 24px; }
.conv-header p { font-size: 14px; color: #94a3b8; margin: 0; }

.conv-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.conv-tabs button {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: 0.2s;
    border-bottom: 3px solid transparent;
}

.conv-tabs button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #fff;
}

.conv-body { padding: 30px; }

.conv-input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.conv-group { flex: 1; }
.conv-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.conv-group input, .custom-select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.conv-divider { text-align: center; margin: 20px 0; color: #cbd5e1; }

.conv-result-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.result-item {
    background: #f1f5f9;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.res-val {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    word-break: break-all;
}

.res-unit {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.conv-info { padding: 0 30px 20px; text-align: center; color: #94a3b8; }

@media (max-width: 600px) {
    .conv-input-row { flex-direction: column; }
    .conv-tabs { flex-direction: column; }
}