/* app.css — App-specific styles not covered by graf-design-system v3.2.0 */

/* Material Symbols icon sizing (graf defines container sizes, these are direct font sizes) */
.icon-xs  { font-size: 0.9rem; }
.icon-sm  { font-size: 1.0rem; }
.icon-md  { font-size: 1.2rem; }
.icon-lg  { font-size: 1.3rem; }
.icon-xl  { font-size: 1.5rem; }
.icon-2xl { font-size: 2.5rem; }
.icon-3xl { font-size: 3.0rem; }

/* Form validation SVG backgrounds (brand-colored check/error icons) */
.graf-form-control.is-valid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2300809E' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.graf-form-control.is-invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23800028'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23800028' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

/* Loading state for form controls */
.graf-form-control.loading {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-width='2' d='M10 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

/* Field group validation (wizard-specific) */
.field-group {
    position: relative;
    margin-bottom: 1rem;
}

.field-group.has-success .graf-form-control {
    border-color: var(--graf-primary);
}

.field-group.has-error .graf-form-control {
    border-color: var(--graf-danger, #e74c3c);
}

.field-group.has-error .graf-form-control:focus {
    border-color: var(--graf-danger, #e74c3c);
    box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
}

/* Required field indicator */
.required-label::after {
    content: " *";
    color: var(--graf-danger, #e74c3c);
    font-weight: bold;
}

/* Footer promotional banner */
#footer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-top: 2px solid var(--graf-primary);
    box-shadow: var(--graf-shadow-lg);
    display: none;
    animation: graf-reveal 0.5s var(--graf-ease-out-expo, ease-out) forwards;
    z-index: 1040;
}

#footer-banner.show {
    display: block;
}

body.banner-active {
    padding-bottom: 180px;
    transition: padding-bottom 0.5s ease-out;
}

@media (max-width: 768px) {
    body.banner-active { padding-bottom: 150px; }
}
@media (max-width: 576px) {
    body.banner-active { padding-bottom: 130px; }
}

.banner-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.banner-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--graf-dark-red, #800028);
    border: none;
    border-radius: var(--graf-border-radius-full, 9999px);
    width: 32px;
    height: 32px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--graf-transition-all, all 0.25s ease);
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-close:hover {
    background-color: var(--graf-dark-red, #800028);
    color: white;
    transform: scale(1.1);
}

.banner-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.banner-link img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 150px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banner-container { padding: 8px; }
    .banner-link img { max-height: 120px; }
    .banner-close { width: 28px; height: 28px; font-size: 18px; top: 3px; right: 3px; }
}

@media (max-width: 576px) {
    .banner-container { padding: 5px; }
    .banner-link img { max-height: 100px; }
    .banner-close { width: 24px; height: 24px; font-size: 16px; }
}

/* FAQ accordion using native <details> */
.graf-faq-list details {
    border: 1px solid var(--graf-border, #e8e4dc);
    border-radius: var(--graf-border-radius, 0.375rem);
    overflow: hidden;
}

.graf-faq-list details summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    background-color: var(--graf-surface-subtle, #f5f3ef);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.graf-faq-list details summary::-webkit-details-marker {
    display: none;
}

.graf-faq-list details summary::before {
    content: '\e5cf'; /* expand_more */
    font-family: 'Material Symbols Outlined';
    font-size: 1.25rem;
    color: var(--graf-primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.graf-faq-list details[open] summary::before {
    transform: rotate(180deg);
}

.graf-faq-list details summary:hover {
    background-color: var(--graf-warm-100, #f5f3ef);
}

.graf-faq-list details .graf-card-body {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--graf-border, #e8e4dc);
}

/* Wizard form card headers (graf-styled, no Bootstrap) */
.graf-card-header-primary {
    background-color: var(--graf-primary);
    color: #fff;
    padding: 1rem 1.25rem;
}

/* Form elements — graf equivalents for Bootstrap form classes */
.graf-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--graf-body-color, #2d2a26);
}

.graf-form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--graf-body-color, #2d2a26);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid var(--graf-border, #e8e4dc);
    border-radius: var(--graf-border-radius, 0.375rem);
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.graf-form-select:focus {
    border-color: var(--graf-primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 128, 158, 0.25);
}

.graf-form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--graf-text-secondary, var(--graf-warm-500));
}

.graf-input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.graf-input-group > .graf-form-control,
.graf-input-group > .graf-form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.graf-input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--graf-body-color, #2d2a26);
    text-align: center;
    white-space: nowrap;
    background-color: var(--graf-surface-subtle, #f5f3ef);
    border: 1px solid var(--graf-border, #e8e4dc);
    border-radius: var(--graf-border-radius, 0.375rem);
}

.graf-input-group > :not(:first-child) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.graf-input-group > :not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Native tooltip replacement for data-bs-toggle="tooltip" */
.graf-tooltip-trigger {
    position: relative;
    cursor: help;
}

.graf-tooltip-trigger .graf-tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1070;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 16px;
    max-width: 420px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--graf-white, #fff);
    background-color: var(--graf-warm-900, #1a1816);
    border-radius: 6px;
    transition: opacity 0.15s ease-in-out;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
}

.graf-tooltip-trigger .graf-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--graf-warm-900, #1a1816) transparent transparent transparent;
}

/* Remove bold from tooltip content (some templates have <strong> inside) */
.graf-tooltip-trigger .graf-tooltip-content strong {
    font-weight: 400;
}

.graf-tooltip-trigger:hover .graf-tooltip-content,
.graf-tooltip-trigger:focus .graf-tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Content spacing below sticky header */
.graf-header + main,
.graf-navbar + main {
    margin-top: var(--graf-spacing-lg, 1.5rem);
}

/* Loading spinner (replaces Bootstrap spinner-border) */
.graf-spinner {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    vertical-align: -0.125em;
    border: 0.25em solid var(--graf-primary);
    border-right-color: transparent;
    border-radius: 50%;
    animation: graf-spin 0.75s linear infinite;
}

@keyframes graf-spin {
    to { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .graf-header, .graf-navbar, .graf-footer, .graf-btn, .graf-wizard-steps, #footer-banner {
        display: none !important;
    }
    .graf-card {
        border: none !important;
        box-shadow: none !important;
    }
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .graf-btn-primary { border: 2px solid #000; }
    .graf-form-control:focus { border: 2px solid #000; outline: 2px solid #000; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
    .graf-btn, .graf-form-control, .graf-navbar-link {
        min-height: 44px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

/* Mobile font size (prevent zoom on iOS) */
@media (max-width: 768px) {
    .graf-form-control { font-size: 16px; }
}

/* Fix #1: Footer legal links spacing — add gaps between items */
.graf-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
}


/* Footer brand column — match HBU's 200px minimum width */
.graf-footer-brand {
    min-width: 200px;
}

/* Fix #8: Banner — screen width up to image natural width, centered */
.banner-link img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.banner-container {
    max-width: 100%;
    padding: 0;
}

/* ============================================ */
/* Graf UI Migration — New utility classes      */
/* ============================================ */

/* Footer disclaimer — contained width, centered, no bold */
.graf-footer-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 24px;
    font-weight: 400;
}

/* Brand primary color for icons (replaces inline style="color: var(--graf-primary)") */
.graf-icon-primary { color: var(--graf-primary); }

/* Brand accent dark color for icons */
.graf-icon-accent { color: var(--graf-dark-red, #800028); }

/* Small text utility */
.graf-text-sm { font-size: 0.875rem; }

/* Smaller text */
.graf-text-smaller { font-size: 0.9em; }

/* Success card border */
.graf-card-success-border { border-color: var(--graf-success, #27ae60); }

/* Success card header */
.graf-card-header-success {
    background-color: var(--graf-success, #27ae60);
    color: #fff;
    padding: 1rem 1.25rem;
}

/* Warning alert with left border accent */
.graf-alert-warning-accent {
    background-color: var(--graf-warning-bg, #fff3cd);
    border-left: 4px solid var(--graf-warning, #f39c12);
}

/* Info alert with left border accent */
.graf-alert-info-accent {
    border-left: 4px solid var(--graf-primary);
}

/* Representative form block header */
.graf-card-header-light {
    background-color: var(--graf-warm-100, #f5f3ef);
}

/* Waiting page large alert */
.graf-alert-waiting {
    font-size: 1.2em;
    padding: 2rem;
}

/* Loading message min-height */
.graf-loading-message { min-height: 1.5em; }

/* Spinner animation for inline loading indicators */
@keyframes graf-icon-spin {
    to { transform: rotate(360deg); }
}
.graf-icon-spin {
    animation: graf-icon-spin 1s linear infinite;
}

/* Legislation section heading */
.legislation-section-heading {
    text-align: center;
    color: var(--graf-primary);
    margin-bottom: 2rem;
}

/* ── Graf Share Panel (floating bottom share bar) ──────────────────── */
.graf-share-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--graf-surface, #fff);
    border-top: 2px solid var(--graf-primary);
    box-shadow: var(--graf-shadow-lg, 0 -4px 12px rgba(0,0,0,0.15));
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.4s var(--graf-ease-out-expo, ease-out);
    padding: 0.75rem 1rem;
}

.graf-share-panel.is-visible {
    transform: translateY(0);
}

body.graf-share-panel-active {
    padding-bottom: 70px;
    transition: padding-bottom 0.4s ease-out;
}

.graf-share-panel-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.graf-share-panel-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--graf-body-color, #2d2a26);
    white-space: nowrap;
}

.graf-share-panel-label .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--graf-primary);
}

.graf-share-panel-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.graf-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--graf-border-radius-full, 9999px);
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--graf-warm-400, #999);
}

.graf-share-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--graf-shadow-md, 0 4px 8px rgba(0,0,0,0.15));
}

.graf-share-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Platform colors */
.graf-share-facebook { background-color: #1877f2; }
.graf-share-linkedin { background-color: #0a66c2; }
.graf-share-twitter  { background-color: #1da1f2; }
.graf-share-whatsapp { background-color: #25d366; }
.graf-share-email    { background-color: var(--graf-primary, #00809e); }
.graf-share-copy     { background-color: var(--graf-warm-600, #666); }
.graf-share-native   { background-color: var(--graf-primary, #00809e); }

.graf-share-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--graf-warm-500, #999);
    padding: 0.25rem;
    margin-left: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.graf-share-panel-close:hover {
    color: var(--graf-body-color, #2d2a26);
}

.graf-share-panel-close .material-symbols-outlined {
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .graf-share-panel-inner {
        justify-content: center;
    }
    .graf-share-panel-label {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
    }
    .graf-share-btn {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .graf-share-panel { transition: none; }
    .graf-share-btn:hover { transform: none; }
}

/* Toast notification system */
.graf-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 350px;
}

.graf-toast {
    padding: 0.75rem 1rem;
    border-radius: var(--graf-border-radius-md, 0.5rem);
    color: #fff;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--graf-shadow-lg);
    animation: graf-reveal 0.3s var(--graf-ease-out-expo, ease-out);
    cursor: pointer;
}

.graf-toast-success { background-color: var(--graf-success, #27ae60); }
.graf-toast-danger { background-color: var(--graf-danger, #e74c3c); }
.graf-toast-warning { background-color: var(--graf-warning, #f39c12); color: var(--graf-body-color, #2d2a26); }
.graf-toast-info { background-color: var(--graf-info, #3498db); }

.graf-toast .material-symbols-outlined { font-size: 1.25rem; }

.graf-toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.7;
}
.graf-toast-close:hover { opacity: 1; }

@media (max-width: 576px) {
    .graf-toast-container { left: 1rem; right: 1rem; max-width: none; }
}


/* ── Legislation page ──────────────────────────────────────────────── */
.legislation-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.legislation-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--graf-primary);
}

.legislation-header h1 {
    color: var(--graf-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legislation-intro {
    font-size: 1.1rem;
    color: var(--graf-text-secondary);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.section-card {
    background: var(--graf-surface, white);
    border-left: 5px solid var(--graf-primary);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.section-card h2 {
    color: var(--graf-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-card h3 {
    color: var(--graf-danger-dark);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.section-card h4 {
    color: var(--graf-warning-dark);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.section-card p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--graf-body-color, #2d2a26);
}

.section-card strong {
    color: var(--graf-danger-dark);
}

.section-card ul, .section-card ol {
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.8;
}

.section-card li {
    margin-bottom: 0.5rem;
}

.relevance-box {
    background-color: var(--graf-warm-100);
    border-left: 4px solid var(--graf-warning-dark);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.relevance-box strong {
    color: var(--graf-warning-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: var(--graf-primary);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--graf-border, #e8e4dc);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--graf-surface-subtle, #f5f0eb);
}

.comparison-table tbody tr:hover {
    background-color: var(--graf-warm-100);
}

.faq-section {
    background: linear-gradient(135deg, var(--graf-warm-50) 0%, var(--graf-warm-100) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--graf-surface, white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.faq-question {
    color: var(--graf-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.faq-answer {
    color: var(--graf-body-color, #2d2a26);
    line-height: 1.8;
    padding-left: 2rem;
}

.sources-section {
    background-color: var(--graf-surface-subtle, #f5f0eb);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.sources-section h2 {
    color: var(--graf-primary);
    margin-bottom: 1rem;
}

.sources-section ul {
    list-style: none;
    padding: 0;
}

.sources-section li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sources-section li .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--graf-primary);
}

.note-box {
    background-color: var(--graf-warm-100);
    border-left: 4px solid var(--graf-warning-dark);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
    font-style: italic;
}

.section-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.legislation-page blockquote {
    border-left: 4px solid var(--graf-warning-dark);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--graf-warm-500);
}

@media (max-width: 768px) {
    .legislation-header h1 {
        font-size: 2rem;
    }
    .section-card {
        padding: 1.5rem;
    }
    .section-card h2 {
        font-size: 1.5rem;
    }
    .comparison-table {
        font-size: 0.9rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ── Security warning ──────────────────────────────────────────────── */
#security-warning {
    border-left: 4px solid #ff9800;
    background-color: #fff3e0;
    border-color: #ff9800;
}

#security-warning .material-symbols-outlined {
    color: #f57c00;
}

/* ── Representative cards ──────────────────────────────────────────── */
.representative-card {
    transition: all 0.3s ease;
}
