/* ═══════════════════════════════════════════════════════
   МЕБЕЛЕН КАЛКУЛАТОР — Professional UI
   Clean, compact, toolbar-style design
   ═══════════════════════════════════════════════════════ */

/* ═══ RESET & BASE ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e8ecf1;
    min-height: 100vh;
    padding: 12px;
    font-size: 14px;
    color: #2c2c2c;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* ═══ HEADER ═══ */
header {
    background: #3b4f6b;
    color: white;
    padding: 18px 24px;
    text-align: center;
}

h1 { font-size: 1.6em; margin-bottom: 4px; font-weight: 600; }
.subtitle { font-size: 0.9em; opacity: 0.8; font-weight: 400; }

/* ═══ TABS ═══ */
.tabs {
    display: flex;
    background: #f5f6f8;
    padding: 0;
    flex-wrap: wrap;
    border-bottom: 1px solid #dde1e6;
}

.tab {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.88em;
    color: #6b7280;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    min-width: 110px;
    background: transparent;
}

.tab:hover {
    background: #ebedf0;
    color: #374151;
}

.tab.active {
    color: #2563eb;
    background: white;
    border-bottom: 2px solid #2563eb;
}

/* ═══ TAB CONTENT ═══ */
.tab-content { display: none; padding: 20px 24px; }
.tab-content.active { display: block; }

.section-title {
    font-size: 1.25em;
    color: #1f2937;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
}

.section-description {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 0.92em;
}

/* ═══ FORM SECTION ═══ */
.form-section {
    background: #fafbfc;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.form-group { margin-bottom: 10px; }

label {
    display: block;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 4px;
    font-size: 0.88em;
}

input[type="text"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.92em;
    transition: border-color 0.2s;
    background: white;
    color: #1f2937;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}

.checkbox-label {
    font-weight: normal;
    display: inline;
}

/* ═══ BUTTONS ═══ */
.btn {
    background: #3b4f6b;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.88em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn:hover {
    background: #2d3d52;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary { background: #6b7280; }
.btn-secondary:hover { background: #4b5563; }

.btn-success { background: #059669; }
.btn-success:hover { background: #047857; }

.btn-danger { background: #dc2626; }
.btn-danger:hover { background: #b91c1c; }

.btn-warning { background: #d97706; color: white; }
.btn-warning:hover { background: #b45309; }

.btn-small { padding: 4px 10px; font-size: 0.82em; }

/* ═══ CABINET PREVIEW ═══ */
.cabinet-preview-card {
    background: #f8fafc;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s;
}

.cabinet-preview-card:hover {
    border-color: #2563eb;
}

.cabinet-icon {
    font-size: 56px;
    margin-bottom: 10px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1));
}

.cabinet-type-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 4px;
}

.cabinet-description {
    color: #6b7280;
    font-size: 0.88em;
    line-height: 1.4;
}

/* ═══ COLLAPSIBLE SECTIONS (Toolbar style) ═══ */
.collapsible {
    background: #f0f2f5;
    color: #1f2937;
    cursor: pointer;
    padding: 10px 14px;
    width: 100%;
    border: 1px solid #d1d5db;
    border-bottom: none;
    text-align: left;
    outline: none;
    font-size: 0.95em;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible + .collapsible-content + .collapsible {
    border-radius: 0;
    margin-top: -1px;
}

.collapsible:last-of-type,
.collapsible + .collapsible-content:last-of-type + .collapsible {
    border-radius: 0;
}

.collapsible:first-of-type {
    border-radius: 6px 6px 0 0;
}

.collapsible:hover {
    background: #e5e7eb;
}

.collapsible:after {
    content: '▸';
    font-size: 0.9em;
    transition: transform 0.2s;
    color: #9ca3af;
}

.collapsible.active {
    background: #e8edf2;
    border-bottom: 1px solid #d1d5db;
}

.collapsible.active:after {
    transform: rotate(90deg);
}

/* Collapsible content */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    margin-bottom: 0;
}

.collapsible-content.expanded {
    max-height: none !important;
    overflow: visible !important;
}

/* Last collapsible-content gets bottom border + radius */
.collapsible-content:last-of-type {
    border-bottom: 1px solid #d1d5db;
    border-radius: 0 0 6px 6px;
}

.collapsible-content-inner {
    padding: 12px 14px;
}

/* ═══ PRICE TABLE (Compact, professional) ═══ */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    background: white;
    font-size: 0.9em;
}

.price-table th {
    background: #f3f4f6;
    color: #4b5563;
    padding: 7px 10px;
    text-align: left;
    font-weight: 500;
    font-size: 0.88em;
    border-bottom: 1px solid #d1d5db;
}

.price-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #374151;
}

/* Зебра редове */
.price-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.price-table tbody tr:hover {
    background: #eff6ff;
}

/* Compact inputs in tables */
.price-table input[type="number"],
.price-table input[type="text"] {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 0.92em;
    background: white;
    color: #1f2937;
}

.price-table input[type="number"]:focus,
.price-table input[type="text"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.price-total {
    font-weight: 600;
    color: #059669;
    font-size: 0.95em;
}

/* ═══ TABLE ACTION BUTTONS ═══ */
.delete-row-btn {
    background: transparent;
    color: #9ca3af;
    border: none;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.88em;
    transition: color 0.2s, background 0.2s;
}

.delete-row-btn:hover {
    color: #dc2626;
    background: #fef2f2;
}

.add-row-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    min-height: 36px;
}

.add-row-section .btn {
    background: transparent;
    color: #2563eb;
    border: 1px dashed #93c5fd;
    padding: 4px 12px;
    font-size: 0.82em;
    font-weight: 500;
}

.add-row-section .btn:hover {
    background: #eff6ff;
    border-color: #2563eb;
    box-shadow: none;
}

/* ═══ ROW TOTALS ═══ */
.row-total {
    font-weight: 600;
    color: #059669;
    text-align: right;
    white-space: nowrap;
}

/* ═══ PROFILE SELECTOR ═══ */
.profile-selector {
    background: #f8fafc;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.profile-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ═══ CUSTOM DOOR SIZE ═══ */
.custom-door-size {
    background: #fffbeb;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #fbbf24;
}

/* ═══ RESULT & ERROR DISPLAYS ═══ */
.result-display {
    margin-top: 16px;
    padding: 14px;
    background: #f0fdf4;
    border-radius: 6px;
    border-left: 3px solid #059669;
    display: none;
}

.error-display {
    margin-top: 16px;
    padding: 14px;
    background: #fef2f2;
    border-radius: 6px;
    border-left: 3px solid #dc2626;
    display: none;
}

/* ═══ SPINNER ═══ */
.spinner {
    border: 3px solid #e5e7eb;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 0.8s linear infinite;
    margin: 16px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ═══ CABINET LIST ═══ */
.cabinet-list-item {
    background: white;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #2563eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}

.cabinet-list-item:hover {
    background: #f8fafc;
}

/* ═══ CUTLIST STYLES ═══ */
.sheet-visualization {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 8px;
    background: #fafbfc;
    margin: 8px 0;
}

.cutlist-part:hover {
    stroke-width: 2px;
    stroke: #dc2626;
}

.cutlist-label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    pointer-events: none;
    user-select: none;
}

.remove-part-btn, .remove-sheet-btn {
    transition: all 0.15s;
}

.remove-part-btn:hover, .remove-sheet-btn:hover {
    transform: scale(1.05);
    background-color: #b91c1c !important;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
   ═══════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
    body { padding: 6px; }

    .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        border-radius: 0;
    }
    header h1 {
        font-size: 1.2em !important;
    }
    header .subtitle {
        font-size: 0.78em !important;
    }
    header {
        padding: 12px 16px;
    }
    /* Табове — скролваеми хоризонтално */
    .tabs {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0 !important;
        padding-bottom: 2px;
    }
    .tabs::-webkit-scrollbar { display: none; }
    .tab {
        flex-shrink: 0 !important;
        padding: 8px 10px !important;
        font-size: 0.78em !important;
        white-space: nowrap;
    }
    /* Форма — колони стават редове */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .form-group {
        min-width: 100% !important;
        width: 100% !important;
    }
    /* Секции */
    .form-section {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    .section-title {
        font-size: 1.05em !important;
    }
    .tab-content {
        padding: 12px !important;
    }
    /* Бутони */
    .btn {
        padding: 8px 12px !important;
        font-size: 0.85em !important;
    }
    .btn-small {
        padding: 4px 8px !important;
        font-size: 0.78em !important;
    }
    /* Таблици — хоризонтален скрол */
    .price-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.82em;
    }
    .price-table th,
    .price-table td {
        padding: 5px 6px !important;
        white-space: nowrap;
    }
    /* Collapsible */
    .collapsible {
        padding: 8px 12px !important;
        font-size: 0.88em !important;
    }
    /* Проект списък */
    .cabinet-preview-card {
        padding: 10px !important;
    }
    /* 3D контейнер */
    #cabinet3dCanvas {
        height: 250px !important;
    }
    /* Help видео grid */
    .help-video-placeholder {
        padding: 16px 8px !important;
    }
    /* Profile grid → 1 колона */
    [style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    /* Extra elements */
    .extra-element-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    /* Бутони Нов проект / Зареди проект */
    [style*="display:flex;gap:10px;margin-bottom:20px"] {
        flex-direction: column !important;
    }
    /* Модали */
    [style*="max-width:500px"],
    [style*="max-width: 500px"] {
        width: 95% !important;
        max-width: 95% !important;
    }
}

@media screen and (max-width: 480px) {
    .tab {
        padding: 6px 8px !important;
        font-size: 0.72em !important;
    }
    header h1 {
        font-size: 1em !important;
    }
    .section-title {
        font-size: 0.95em !important;
    }
    #cabinet3dCanvas {
        height: 200px !important;
    }
    /* Help video — 1 колона */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════════════
   ПОМОЩ
   ═══════════════════════════════════════════════════════ */
.help-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.help-toolbar input[type="search"] {
    flex: 1;
    min-width: 220px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95em;
    background: white;
    color: #1f2937;
}
.help-toolbar .btn { margin: 0; }
.help-search-info {
    min-height: 18px;
    font-size: 0.82em;
    color: #6b7280;
    margin-bottom: 6px;
}
.help-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.help-toc a {
    padding: 3px 10px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.82em;
    color: #374151;
    text-decoration: none;
    background: #f9fafb;
    transition: background 0.15s, border-color 0.15s;
}
.help-toc a:hover { background: #eff6ff; border-color: #2563eb; color: #1e40af; }
.help-toc a.dim { opacity: 0.35; }

/* Раздели (details/summary) */
.help-section {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    margin-bottom: 6px;
    background: white;
    scroll-margin-top: 12px;
}
.help-section > summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.95em;
    color: #374151;
    background: #f0f2f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: background 0.15s;
}
.help-section > summary::-webkit-details-marker { display: none; }
.help-section > summary::after {
    content: '▸';
    font-weight: 400;
    color: #9ca3af;
    transition: transform 0.2s;
}
.help-section > summary:hover { background: #e5e7eb; }
.help-section[open] { border-color: #93c5fd; }
.help-section[open] > summary {
    background: #e8edf2;
    border-bottom: 1px solid #d1d5db;
    border-radius: 4px 4px 0 0;
    color: #1f2937;
}
.help-section[open] > summary::after { transform: rotate(90deg); }
.help-section.help-hidden { display: none; }

.help-body {
    padding: 14px 18px;
    font-size: 0.92em;
    line-height: 1.55;
    color: #4b5563;
}
.help-body p { margin: 0 0 10px; }
.help-body p:last-child { margin-bottom: 0; }
.help-body h4 {
    margin: 16px 0 6px;
    font-size: 0.98em;
    color: #1e40af;
}
.help-body h4:first-child { margin-top: 0; }
.help-body ul { margin: 0 0 10px 20px; }
.help-body li { margin-bottom: 5px; }
.help-body b, .help-body strong { color: #1f2937; }

.help-note {
    margin: 10px 0 0;
    padding: 8px 12px;
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    border-radius: 3px;
    color: #1e3a8a;
}
.help-muted { color: #9ca3af; }

kbd {
    display: inline-block;
    padding: 0 5px;
    border: 1px solid #d1d5db;
    border-bottom-width: 2px;
    border-radius: 3px;
    background: #f9fafb;
    font-family: inherit;
    font-size: 0.85em;
    color: #1f2937;
    line-height: 1.5;
}

/* Бърз старт */
.help-steps { display: flex; flex-direction: column; gap: 14px; }
.help-step { display: flex; align-items: flex-start; gap: 14px; }
.help-step-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #3b4f6b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.92em;
}
.help-step-content strong { color: #1f2937; }
.help-step-content p { margin: 3px 0 0; }

/* Таблици */
.help-keys, .help-plans {
    width: 100%;
    border-collapse: collapse;
    margin: 4px 0 12px;
    font-size: 0.95em;
}
.help-keys td, .help-plans td, .help-plans th {
    padding: 6px 10px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: top;
}
.help-keys td:first-child { white-space: nowrap; color: #1f2937; font-weight: 500; width: 1%; }
.help-plans th { background: #f3f4f6; color: #374151; font-weight: 600; text-align: center; }
.help-plans td:not(:first-child) { text-align: center; }
.help-plans td:first-child { color: #1f2937; }

/* Лента на 3D (схема) */
.help-ks-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 10px;
    background: #1f2937;
    border-radius: 4px;
    margin: 4px 0 8px;
}
.help-ks-bar span {
    padding: 3px 9px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.82em;
}
.help-ks-bar span.g { background: #059669; }
.help-ks-bar span.b { background: #2563eb; }
.help-ks-bar span.br { background: #92400e; }

/* Цветове на котите */
.help-swatches { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 10px; font-size: 0.92em; }
.help-swatches span { display: inline-flex; align-items: center; gap: 6px; }
.help-swatches i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; }
.help-c-blue { color: #2563eb; font-weight: 600; }
.help-c-red { color: #dc2626; font-weight: 600; }
.help-c-brown { color: #b45309; font-weight: 600; }
.help-c-purple { color: #7c3aed; font-weight: 600; }

/* Схема на ъгъла на плота */
.help-fig { display: block; width: 100%; max-width: 360px; margin: 6px 0 12px; }
.help-fig .f1 { fill: #e4e4e4; stroke: #1f2937; stroke-width: 1.2; }
.help-fig .f2 { fill: #d4d4d4; stroke: #1f2937; stroke-width: 1.2; }
.help-fig .j { stroke: #1f2937; stroke-width: 2.5; }
.help-fig .w { fill: #9ca3af; }
.help-fig text { font-size: 11px; fill: #374151; text-anchor: middle; dominant-baseline: middle; }
.help-fig text.s { text-anchor: start; }

/* Въпроси */
.help-faq .q { margin: 12px 0 3px; font-weight: 600; color: #1f2937; }
.help-faq .q:first-child { margin-top: 0; }
.help-faq .a { margin: 0 0 6px; }

/* Търсене — открито */
mark.help-hit { background: #fde68a; color: inherit; padding: 0 1px; border-radius: 2px; }

/* Поддръжка */
.help-support {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fafbfc;
    font-size: 0.92em;
}
.help-support strong { color: #1f2937; }
.help-support p { margin: 2px 0 0; color: #6b7280; }
.help-support-contacts { display: flex; gap: 18px; flex-wrap: wrap; color: #4b5563; }

@media screen and (max-width: 768px) {
    .help-body { padding: 12px; }
    .help-keys td:first-child { white-space: normal; width: auto; }
    .help-plans { font-size: 0.85em; }
    .help-plans td, .help-plans th { padding: 5px 4px; }
}

/* Тъмна тема */
[data-theme="dark"] .help-toolbar input[type="search"] { background: #111827; border-color: #374151; color: #e5e7eb; }
[data-theme="dark"] .help-toc a { background: #1f2937; border-color: #374151; color: #d1d5db; }
[data-theme="dark"] .help-toc a:hover { background: #1e3a8a; border-color: #3b82f6; color: #fff; }
[data-theme="dark"] .help-section { background: #1f2937; border-color: #374151; }
[data-theme="dark"] .help-section[open] { border-color: #3b82f6; }
[data-theme="dark"] .help-section > summary { background: #273244; color: #e5e7eb; }
[data-theme="dark"] .help-section > summary:hover { background: #2f3b4f; }
[data-theme="dark"] .help-section[open] > summary { background: #2b3a52; border-bottom-color: #374151; color: #f3f4f6; }
[data-theme="dark"] .help-body { color: #cbd5e1; }
[data-theme="dark"] .help-body b,
[data-theme="dark"] .help-body strong,
[data-theme="dark"] .help-step-content strong,
[data-theme="dark"] .help-faq .q,
[data-theme="dark"] .help-keys td:first-child,
[data-theme="dark"] .help-plans td:first-child,
[data-theme="dark"] .help-support strong { color: #f3f4f6; }
[data-theme="dark"] .help-body h4 { color: #93c5fd; }
[data-theme="dark"] .help-note { background: #172554; color: #bfdbfe; border-left-color: #3b82f6; }
[data-theme="dark"] kbd { background: #111827; border-color: #4b5563; color: #e5e7eb; }
[data-theme="dark"] .help-keys td, [data-theme="dark"] .help-plans td, [data-theme="dark"] .help-plans th { border-bottom-color: #374151; }
[data-theme="dark"] .help-plans th { background: #273244; color: #e5e7eb; }
[data-theme="dark"] .help-ks-bar { background: #111827; }
[data-theme="dark"] .help-fig .f1 { fill: #4b5563; stroke: #e5e7eb; }
[data-theme="dark"] .help-fig .f2 { fill: #374151; stroke: #e5e7eb; }
[data-theme="dark"] .help-fig .j { stroke: #e5e7eb; }
[data-theme="dark"] .help-fig .w { fill: #6b7280; }
[data-theme="dark"] .help-fig text { fill: #e5e7eb; }
[data-theme="dark"] .help-support { background: #1f2937; border-color: #374151; }
[data-theme="dark"] .help-support-contacts { color: #cbd5e1; }
[data-theme="dark"] mark.help-hit { background: #a16207; color: #fff; }
