/* Nowoczesny design strony FAQ z naciskiem na WCAG 2.2 AA */
:root {
    --primary-color: #002d69;
    --primary-hover: #001f4d;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --white: #ffffff;
    --focus-ring: 3px solid #ffbf47;
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Dark Mode - Pełna obsługa WCAG 2.2 */
[data-theme="dark"] {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --primary-color: #4dabf7;
    --primary-hover: #74c0fc;
    --white: #1e1e1e;
    --shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* High Contrast Mode */
[data-theme="high-contrast"] {
    --bg-color: #000000;
    --card-bg: #000000;
    --text-color: #ffff00;
    --text-muted: #ffff00;
    --border-color: #ffffff;
    --primary-color: #00ff00;
    --primary-hover: #00ff00;
    --white: #000000;
    --focus-ring: 4px solid #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.2s, color 0.2s;
}

/* WCAG Skip Link */
.skip-link {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 3000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    border: 2px solid white;
}
.skip-link:focus {
    top: 0;
    outline: var(--focus-ring);
}

/* Font Size Utilities */
html.font-sm { font-size: 14px; }
html.font-md { font-size: 16px; }
html.font-lg { font-size: 20px; }

/* Enhanced Focus States for WCAG 2.1 */
:focus-visible {
    outline: var(--focus-ring) !important;
    outline-offset: 2px;
}

button:focus, a:focus, input:focus, textarea:focus {
    outline: var(--focus-ring);
    outline-offset: 2px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sidebar layout */
.content-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 2rem;
    align-items: start;
}
.qa-main { min-width: 0; }
.sidebar {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}
.sidebar-inner {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
}
.sidebar-title {
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-list { list-style: none; }
.sidebar-cat-item { margin-bottom: 0.35rem; }
.sidebar-cat-link {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
}
.sidebar-cat-link:hover,
.sidebar-cat-link.is-active {
    background: var(--primary-color);
    color: #fff;
}
.sidebar-sub-list {
    list-style: none;
    padding-left: 0.75rem;
    border-left: 2px solid var(--border-color);
    margin: 0.2rem 0 0.35rem 0.5rem;
}
.sidebar-sub-link {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.18rem 0.4rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.sidebar-sub-link:hover,
.sidebar-sub-link.is-active {
    color: var(--primary-color);
    background: rgba(0, 45, 105, 0.07);
    font-weight: 600;
}
[data-theme="dark"] .sidebar-sub-link:hover,
[data-theme="dark"] .sidebar-sub-link.is-active {
    background: rgba(77, 171, 247, 0.15);
    color: var(--primary-color);
}
[data-theme="high-contrast"] .sidebar-cat-link.is-active,
[data-theme="high-contrast"] .sidebar-sub-link.is-active {
    outline: 2px solid var(--primary-color);
}
@media (max-width: 900px) {
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}
@media print {
    .content-layout { display: block; }
    .sidebar { display: none; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.site-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.site-logo {
    height: 50px;
    width: auto;
}
.logo a:focus {
    outline: var(--focus-ring);
}

.header-nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.admin-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}
.admin-link:hover { text-decoration: underline; color: var(--primary-color); }
.admin-link:focus { outline: var(--focus-ring); }

.print-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0;
}

/* Theme Switcher */
.theme-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.font-size-controls, .theme-mode-controls {
    display: flex;
    gap: 4px;
}

.font-size-controls {
    border-right: 1px solid var(--border-color);
    padding-right: 10px;
}

.theme-btn {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
}
.theme-btn:hover { border-color: var(--primary-color); background: var(--card-bg); }
.theme-btn:focus { outline: var(--focus-ring); }

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    border-radius: 4px;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    position: absolute;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: "";
    top: -8px;
    left: 0;
}

.hamburger-inner::after {
    content: "";
    bottom: -8px;
    left: 0;
}

/* Stan aktywny hamburgera */
.menu-toggle[aria-expanded="true"] .hamburger-inner {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Wyszukiwarka */
.search-section {
    padding: 3rem 0;
    text-align: center;
}
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}
#search-input {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s;
}
#search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,86,179,0.2);
}

.btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}
[data-theme="high-contrast"] .btn-primary { color: #000000; }

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    outline: var(--focus-ring);
}

/* Wyniki wyszukiwania - dropdown */
.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
}
.search-results-list { list-style: none; }
.search-results-list li { border-bottom: 1px solid var(--border-color); }
.search-results-list a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-color);
}
.search-results-list a:hover, .search-results-list a:focus {
    background-color: var(--bg-color);
    outline: none;
    box-shadow: inset 4px 0 0 var(--primary-color);
}

/* Akordeon i Treść FAQ */
.section-title {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.category-block {
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.subcategory-block {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--border-color);
}
.subcategory-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.question-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
}

.question-header {
    display: flex;
    align-items: stretch;
}

.accordion-trigger {
    flex: 1;
    text-align: left;
    background-color: var(--card-bg);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.btn-copy-link {
    background: var(--card-bg);
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.2s;
}
.btn-copy-link:hover, .btn-copy-link:focus {
    background: var(--bg-color);
    color: var(--primary-color);
}
.btn-copy-link.copied {
    background: #28a745;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.accordion-trigger:hover, .accordion-trigger:focus {
    background-color: var(--bg-color);
}
.accordion-trigger[aria-expanded="true"] {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.accordion-content {
    background-color: var(--card-bg);
    padding: 0.5rem 1.5rem 2rem 3rem; /* Zwiększone lewe wcięcie */
    font-size: 1rem;
    color: var(--text-color);
}
.accordion-content[hidden] { display: none; }

.answer-body {
    border-left: 3px solid var(--border-color); /* Subtelna linia boczna */
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Formatowanie list wewnątrz odpowiedzi */
.answer-body ul, .answer-body ol {
    margin-left: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.answer-body li {
    margin-bottom: 0.5rem;
}

/* Tabele - WCAG i Responsywność */
.answer-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    display: block; /* Umożliwia przewijanie na mobile */
    overflow-x: auto;
}
.answer-body th, .answer-body td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}
.answer-body th {
    background-color: var(--bg-color);
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.answer-body tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}
[data-theme="dark"] .answer-body tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}
[data-theme="high-contrast"] .answer-body th {
    border-bottom: 2px solid var(--text-color);
}

/* Feedback Loop */
.feedback-container {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.feedback-label { font-size: 0.9rem; color: var(--text-muted); }
.btn-feedback {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}
.btn-feedback:hover { border-color: var(--primary-color); }

/* Breadcrumb */
.breadcrumb-nav { margin-bottom: 0.75rem; }

/* Tryb czytania – oznaczone pytania */
.question-item.is-read {
    border-left: 3px solid #28a745;
    background: rgba(40, 167, 69, 0.04);
    border-radius: 0 8px 8px 0;
}
[data-theme="dark"] .question-item.is-read {
    border-left-color: #51cf66;
    background: rgba(81, 207, 102, 0.07);
}
[data-theme="high-contrast"] .question-item.is-read {
    border-left: 3px solid var(--primary-color);
    background: transparent;
}
.read-badge {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #28a745;
    background: rgba(40, 167, 69, 0.12);
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-left: 0.4rem;
    margin-right: 0.1rem;
}
[data-theme="dark"] .read-badge { color: #51cf66; background: rgba(81, 207, 102, 0.15); }
[data-theme="high-contrast"] .read-badge { color: var(--primary-color); background: transparent; border: 1px solid var(--primary-color); }
.is-read .read-badge { display: inline-flex; }
@media print { .read-badge { display: none !important; } }

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: var(--bg-color);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin: 0 0.45rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}
@media print {
    .breadcrumb-nav { display: none; }
}

/* Powiązane pytania */
.related-questions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}
.related-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.related-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.related-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.15s;
}
.related-link::before { content: '→'; font-size: 0.8rem; }
.related-link:hover { text-decoration: underline; color: var(--primary-hover); }
.related-link:focus { outline: var(--focus-ring); border-radius: 3px; }

/* Top 5 popularnych pytań */
.top5-section {
    margin-bottom: 1.75rem;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}
.top5-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem;
}
.top5-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    counter-reset: top5;
}
.top5-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    counter-increment: top5;
    padding: .5rem .6rem;
    border-radius: 8px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: background .15s;
}
.top5-item:hover { background: var(--hover-bg, #f0f4ff); }
.top5-item::before {
    content: counter(top5);
    min-width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    flex-shrink: 0;
}
.top5-link {
    flex: 1;
    text-decoration: none;
    color: var(--text-color);
    min-width: 0;
}
.top5-link:hover .top5-question { text-decoration: underline; color: var(--primary-color); }
.top5-question {
    display: block;
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top5-meta {
    display: block;
    font-size: .76rem;
    color: var(--muted-color, #6c757d);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top5-badge {
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0,45,105,.08);
    border-radius: 20px;
    padding: .15rem .65rem;
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .top5-question { white-space: normal; }
    .top5-meta { white-space: normal; }
}
@media print { .top5-section { display: none; } }

/* Historia przeglądania */
.recently-viewed-section {
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
}
.recently-viewed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}
.recently-viewed-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}
.recently-viewed-clear {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.recently-viewed-clear:hover { border-color: var(--primary-color); color: var(--primary-color); }
.recently-viewed-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin: 0;
    padding: 0;
}
.history-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-color);
    transition: background 0.15s, border-color 0.15s;
    display: inline-block;
}
.history-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.history-link:focus { outline: var(--focus-ring); border-radius: 20px; }
@media print { .recently-viewed-section { display: none; } }

/* Inquiry Form Section */
.inquiry-section {
    margin-top: 5rem;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}
.inquiry-section h2 { color: var(--primary-color); margin-bottom: 1rem; }
.form-control {
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.form-control::placeholder { color: var(--text-muted); }

/* Footer */
.site-footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* RWD */
@media (max-width: 992px) {
    .header-nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        overflow-y: auto;
    }

    .header-nav-container.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .main-nav .admin-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .theme-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .font-size-controls, .theme-mode-controls {
        width: 100%;
        justify-content: space-between;
    }

    .font-size-controls {
        border-right: none;
        padding-right: 0;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .search-wrapper { flex-direction: column; }
    .btn { width: 100%; }
    .logo a span { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .logo a span { display: none; } /* Pokaż tylko logo na bardzo małych ekranach */
}

/* Style Druku - WCAG i profesjonalny wygląd */
@media print {
    .site-header, .search-section, .inquiry-section, .site-footer, .feedback-container, .theme-controls, .skip-link, .btn-copy-link, .admin-link {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .accordion-content {
        display: block !important;
        padding: 0 !important;
        border: none !important;
    }
    .question-item {
        border: none !important;
        border-bottom: 1pt solid #ccc !important;
        margin-bottom: 20pt !important;
        page-break-inside: avoid;
    }
    .accordion-trigger {
        font-weight: bold !important;
        font-size: 14pt !important;
        padding-left: 0 !important;
    }
    .accordion-icon { display: none !important; }
    .category-title {
        page-break-before: always;
        border-bottom: 2pt solid black !important;
    }
    .answer-body {
        border-left: none !important;
        padding-left: 0 !important;
    }
}
