* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 1px solid #e1e8ed;
}

.login-box h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
}

.login-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
    background: #ffffff;
}

.login-box input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.login-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}

.error-message {
    display: none;
    color: #d13438;
    margin-top: 15px;
    font-size: 14px;
}

/* Main Application */
.app-container {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    border: 1px solid #e1e8ed;
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 3px solid #0078d4;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
}

.main-content {
    padding: 30px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 1px solid #d1d9e0;
    flex-wrap: wrap;
    background: #f5f7fa;
    padding: 5px;
    border-radius: 8px 8px 0 0;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #5a6c7d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 6px 6px 0 0;
}

.tab-button:hover {
    color: #0078d4;
    background: rgba(0, 120, 212, 0.05);
}

.tab-button.active {
    color: #0078d4;
    background: #ffffff;
    border-bottom-color: #0078d4;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Section */
.section {
    background: linear-gradient(145deg, #fafbfc 0%, #f5f7fa 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Horizontal Inputs */
.horizontal-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Input Groups */
.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-group input[type="number"],
.input-group input[type="text"],
.input-group input[type="email"] {
    padding: 10px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: #ffffff;
}

.input-group input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.input-group input:readonly {
    background: #f5f7fa;
    cursor: not-allowed;
    color: #5a6c7d;
}

/* Radio Groups */
.radio-group-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.radio-group-inline label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
    padding: 8px 16px;
    background: #f5f7fa;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    transition: all 0.25s ease;
    flex: 1;
}

.radio-group-inline label:hover {
    background: #e8eef3;
    border-color: #b8c5d0;
}

.radio-group-inline input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #b8c5d0;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.radio-group-inline input[type="radio"]:checked {
    background: #0078d4;
    border-color: #0078d4;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.radio-group-inline input[type="radio"]:checked + span {
    font-weight: 500;
    color: #0078d4;
}

.radio-group-inline label:has(input[type="radio"]:checked) {
    background: #e3f2fd;
    border-color: #0078d4;
}

/* Segment Tabs */
.segment-tabs-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.segment-tab {
    padding: 10px 20px;
    background: linear-gradient(145deg, #f5f7fa 0%, #e8eef3 100%);
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    color: #5a6c7d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.segment-tab:hover {
    background: linear-gradient(145deg, #e8eef3 0%, #dce4eb 100%);
    border-color: #b8c5d0;
}

.segment-tab.active {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border-color: #0078d4;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.duplicate-segment-tab {
    padding: 10px 16px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.duplicate-segment-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}

.duplicate-segment-tab svg {
    stroke: white;
}

.add-segment-tab {
    padding: 10px 20px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.add-segment-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}

/* Segment Content */
.segment-content,
.gate-content {
    display: none;
}

.segment-content.active,
.gate-content.active {
    display: block;
}

/* Segment Header Controls */
.segment-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
}

/* Gate Header Controls */
.gate-header-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
}

.delete-gate-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #d13438 0%, #a02c2f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(209, 52, 56, 0.3);
}

.delete-gate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(209, 52, 56, 0.4);
}

.delete-segment-btn,
#deleteCurrentGateBtn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #d13438 0%, #a02c2f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(209, 52, 56, 0.3);
}

.delete-segment-btn:hover,
#deleteCurrentGateBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(209, 52, 56, 0.4);
}

.segment-content h3 {
    color: #2c3e50;
    font-size: 18px;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

/* Length Rows */
.segment-lengths {
    margin-bottom: 15px;
}

.length-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
}

.length-number {
    font-weight: 600;
    color: #0078d4;
    min-width: 30px;
    text-align: center;
    font-size: 16px;
}

.length-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    font-size: 14px;
    min-width: 150px;
    background: #ffffff;
}

.length-input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

/* Switch Container */
.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-container input[type="checkbox"] {
    width: 50px;
    height: 26px;
    appearance: none;
    background: #b8c5d0;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.switch-container input[type="checkbox"]:checked {
    background: #0078d4;
}

.switch-container input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-container input[type="checkbox"]:checked::before {
    transform: translateX(24px);
}

.switch-label {
    font-size: 14px;
    color: #5a6c7d;
    white-space: nowrap;
}

.delete-length-btn {
    padding: 8px 12px;
    background: linear-gradient(135deg, #d13438 0%, #a02c2f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(209, 52, 56, 0.3);
}

.delete-length-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(209, 52, 56, 0.4);
}

/* Manual Materials */
.manual-material-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
    flex-wrap: wrap;
}

.material-accessories-switch-container {
    flex: 0 0 auto;
    min-width: 220px;
}

.material-number {
    font-weight: 600;
    color: #0078d4;
    min-width: 30px;
    text-align: center;
    font-size: 16px;
}

.material-type {
    flex: 2;
    padding: 10px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
    background: #ffffff;
}

.material-type:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.material-dimension,
.material-length,
.material-quantity {
    flex: 1;
    padding: 10px;
    border: 1px solid #d1d9e0;
    border-radius: 6px;
    font-size: 14px;
    min-width: 120px;
    background: #ffffff;
}

.material-dimension:focus,
.material-length:focus,
.material-quantity:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.delete-material-btn {
    padding: 8px 12px;
    background: linear-gradient(135deg, #d13438 0%, #a02c2f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(209, 52, 56, 0.3);
}

.delete-material-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(209, 52, 56, 0.4);
}

.delete-material-btn svg,
.delete-segment-btn svg,
.delete-segment-tab svg {
    stroke: white;
}

.save-button svg {
    stroke: white;
}

/* Buttons */
.add-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.add-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}

.save-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 20px auto 0;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}

.calculate-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.4);
}

/* Suggestions Box */
.suggestions-box {
    background: linear-gradient(145deg, #e3f2fd 0%, #d1e7f7 100%);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #90caf9;
}

.suggestions-box h3 {
    color: #1565c0;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

#suggestionsList,
.gate-suggestions-list,
.segment-suggestions-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.suggestions-summary {
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #90caf9;
}

.suggestions-summary h4 {
    color: #1565c0;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.suggestions-summary p {
    color: #2c3e50;
    font-size: 13px;
    line-height: 1.6;
    margin: 5px 0;
}

.suggestion-option {
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    line-height: 1.6;
}

.suggestion-option:hover {
    border-color: #0078d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

.suggestion-option.selected {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border-color: #0078d4;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

/* Results Section */
.results-section {
    display: none;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(145deg, #fafbfc 0%, #f5f7fa 100%);
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.results-section.active {
    display: block;
}

.results-section h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: #ffffff;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #0078d4;
    border: 1px solid #e1e8ed;
    border-left: 4px solid #0078d4;
}

.result-label {
    color: #2c3e50;
    font-weight: 500;
}

.result-value {
    color: #0078d4;
    font-weight: bold;
}

/* Optimization Section */
.optimization-section {
    margin-top: 30px;
}

.optimization-section h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.optimization-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e1e8ed;
}

.optimization-item strong {
    color: #0078d4;
}

/* Download Button */
.download-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.4);
}

/* Version Info Header */
.version-info-header {
    position: absolute;
    top: 15px;
    right: 20px;
    text-align: right;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1d9e0;
}

.version-number {
    color: #0078d4;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}

.version-date {
    color: #5a6c7d;
    font-size: 11px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 22px;
    }

    .main-content {
        padding: 20px;
    }

    .horizontal-inputs {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .length-row,
    .manual-material-row {
        flex-direction: column;
        align-items: stretch;
    }

    .length-number,
    .material-number {
        text-align: left;
    }

    .switch-container {
        justify-content: flex-start;
    }

    #suggestionsList,
    .gate-suggestions-list {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Test konzola
═══════════════════════════════════════════════════════════════════════════ */

.tc-section { margin-top: 24px; }

.tc-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

/* Status bar */
.tc-status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f6f8;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #444;
    margin-bottom: 12px;
}

.tc-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #bbb;
}
.tc-dot-ok  { background: #28a745; }
.tc-dot-none { background: #ffc107; }
.tc-dot-err  { background: #dc3545; }

/* Action buttons */
.tc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tc-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}
.tc-btn:disabled { opacity: 0.55; cursor: default; }
.tc-btn:not(:disabled):hover { opacity: 0.88; transform: translateY(-1px); }

.tc-btn-capture    { background: #0078d4; color: #fff; }
.tc-btn-run        { background: #28a745; color: #fff; }
.tc-btn-recapture  { background: #6c757d; color: #fff; }

/* Loading / messages */
.tc-loading {
    padding: 14px;
    font-size: 13px;
    color: #555;
    font-style: italic;
}

.tc-msg {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 8px;
}
.tc-msg-ok  { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.tc-msg-err { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Summary bar */
.tc-summary {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}
.tc-summary-pass { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.tc-summary-fail { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Scenario cards */
.tc-scenario { margin-bottom: 8px; border: 1px solid #dde2e8; border-radius: 8px; overflow: hidden; }

.tc-scenario-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 600;
}
.tc-scen-pass { background: #e8f5e9; color: #1b5e20; }
.tc-scen-fail { background: #fdecea; color: #7f1d1d; }
.tc-scenario-header:hover { filter: brightness(0.97); }

.tc-scen-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}
.tc-badge-pass { background: #28a745; color: #fff; }
.tc-badge-fail { background: #dc3545; color: #fff; }

.tc-scen-name { flex: 1; }
.tc-scen-arrow { font-size: 11px; color: inherit; }

/* Scenario body */
.tc-scenario-body { padding: 12px 14px; background: #fff; }

.tc-scen-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

/* Group label */
.tc-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #34acbc;
    margin: 10px 0 4px;
}
.tc-group-label:first-child { margin-top: 0; }

/* Comparison table */
.tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 4px;
}
.tc-table thead tr {
    background: #f4f6f8;
}
.tc-table th {
    padding: 5px 8px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #dde2e8;
}
.tc-table td {
    padding: 4px 8px;
    border-bottom: 1px solid #f0f0f0;
}
.tc-row-pass { background: #fff; }
.tc-row-fail { background: #fff5f5; }

.tc-field-name { color: #333; }
.tc-val        { font-family: 'Consolas', monospace; color: #2c3e50; }
.tc-row-fail .tc-val:nth-child(2) { color: #dc3545; font-weight: 700; }
.tc-row-fail .tc-val:nth-child(3) { color: #28a745; font-weight: 700; }

.tc-icon {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}
.tc-row-pass .tc-icon { color: #28a745; }
.tc-row-fail .tc-icon { color: #dc3545; }
