:root {
    
    --primary-color: #002b80; 
    --primary-hover: #001f5c;
    --secondary-color: #0284c7; 
    --secondary-hover: #0369a1;
    --accent-color: #d97706; 
    --accent-hover: #b45309;
    --accent-light: #fef3c7;
    --accent-vibrant: #fbbf24;
    --text-color: #1e293b; 
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --bg-color: #f8fafc; 
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: 0 4px 20px -2px rgba(0, 43, 128, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --card-shadow-hover: 0 12px 28px -4px rgba(0, 43, 128, 0.08), 0 4px 8px -2px rgba(0, 43, 128, 0.03);
    --glass-blur: blur(12px);
    --highlight-bg: #f0f7ff;
    --finance-bg: #f0f7ff;
    --nav-bg: rgba(255, 255, 255, 0.92);
    --nav-border: rgba(226, 232, 240, 0.9);
    --header-overlay-1: rgba(0, 40, 120, 0.88);
    --header-overlay-2: rgba(2, 132, 199, 0.85);
    --focus-outline: 3px solid var(--secondary-color);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.dark-mode {
    --primary-color: #60a5fa !important; 
    --primary-hover: #93c5fd !important;
    --secondary-color: #38bdf8 !important; 
    --accent-color: #fbbf24 !important; 
    --text-color: #f8fafc !important; 
    --text-muted: #94a3b8 !important;
    --bg-color: #0b1120 !important; 
    --card-bg: rgba(30, 41, 59, 0.95) !important;
    --card-border: rgba(51, 65, 85, 0.85) !important;
    --card-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important;
    --highlight-bg: rgba(30, 58, 138, 0.35) !important;
    --finance-bg: rgba(30, 58, 138, 0.4) !important;
    --nav-bg: rgba(15, 23, 42, 0.95) !important;
    --nav-border: rgba(51, 65, 85, 0.85) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #93c5fd !important;
}

body.dark-mode .section h2 {
    color: #60a5fa !important;
    border-bottom-color: #38bdf8 !important;
}

body.dark-mode p,
body.dark-mode li {
    color: #e2e8f0 !important;
}

body.dark-mode strong {
    color: #ffffff !important;
}

body.dark-mode a:not(.btn-system):not(.tab-btn):not(.chip-btn):not(.btn-facebook):not(.btn-load-more):not(.chat-action-btn) {
    color: #38bdf8 !important;
}

body.dark-mode .doc-icon {
    color: #38bdf8 !important;
}

body.dark-mode .step-number {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.4) !important;
}

body.dark-mode .steps-list li:hover .step-number {
    background: #2563eb !important;
}

body.dark-mode .news-list > li,
body.dark-mode .steps-list > li {
    background: rgba(15, 23, 42, 0.75) !important;
    border-color: rgba(51, 65, 85, 0.85) !important;
}

body.dark-mode .news-list > li:hover,
body.dark-mode .steps-list > li:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .news-list > li > div > strong {
    color: #93c5fd !important;
}

body.dark-mode .news-list > li > div {
    color: #cbd5e1 !important;
}

body.dark-mode .finance-card {
    background: #172554 !important;
    border-color: #3b82f6 !important;
}

body.dark-mode .finance-card h3 {
    color: #93c5fd !important;
}

body.dark-mode .finance-card .amount {
    color: #38bdf8 !important;
}

body.dark-mode .highlight-box {
    background: rgba(30, 58, 138, 0.35) !important;
    border-left-color: #38bdf8 !important;
}

body.dark-mode .highlight-box h3 {
    color: #60a5fa !important;
}

body.dark-mode .highlight-box p,
body.dark-mode .highlight-box li {
    color: #f1f5f9 !important;
}

body.dark-mode .contact-list h4 {
    color: #60a5fa !important;
}

body.dark-mode .contact-list p {
    color: #cbd5e1 !important;
}

body.dark-mode .contact-list a {
    color: #38bdf8 !important;
}

body.dark-mode .btn-system {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark-mode .btn-expand {
    background: #1e293b !important;
    color: #93c5fd !important;
    border-color: #3b82f6 !important;
}

body.dark-mode .btn-expand:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark-mode .info-bubble {
    background: #451a03 !important;
    border-color: #f59e0b !important;
    color: #fde68a !important;
}

body.dark-mode .info-bubble::before {
    border-color: #451a03 transparent transparent transparent !important;
}

body.dark-mode .expandable-content.collapsed::after {
    background: linear-gradient(to bottom, rgba(30,41,59,0), #1e293b 90%) !important;
}

body.dark-mode footer {
    background: #080d1a !important;
    color: #cbd5e1 !important;
    border-top-color: #0284c7 !important;
    border-bottom-color: #1e293b !important;
}

body.dark-mode .footer-info p {
    color: #94a3b8 !important;
}

body.dark-mode .footer-links a {
    color: #93c5fd !important;
}

body.dark-mode .copyright-notice {
    color: #64748b !important;
    border-top-color: #1e293b !important;
}

body.dark-mode .logo-box {
    background: #1e293b !important;
    border-color: #334155 !important;
}

.chat-consultant-form {
    background: rgba(239, 246, 255, 0.85);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dark-mode .chat-consultant-form {
    background: rgba(30, 58, 138, 0.35);
    border-color: rgba(59, 130, 246, 0.4);
}
.chat-form-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #ffffff;
    color: #1e293b;
}
.dark-mode .chat-form-input {
    background: #0f172a;
    border-color: #475569;
    color: #f1f5f9;
}
.chat-form-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.chat-form-btn:hover {
    filter: brightness(1.1);
}

.chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
    margin-bottom: 8px;
}
.dark-mode .chat-typing {
    background: #1e293b;
}
.chat-typing span {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.dark-mode .chat-typing span {
    background: #93c5fd;
}
.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.2); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    font-family: var(--font-body);
    font-size: 15px; 
    line-height: 1.55;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.4s ease, color 0.4s ease, font-size 0.3s ease;
    overflow-x: hidden;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    letter-spacing: -0.015em;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 2000;
    text-decoration: none;
    font-weight: bold;
    transition: top 0.3s ease;
    font-size: 0.9rem;
}
.skip-link:focus { top: 0; outline: var(--focus-outline); outline-offset: 2px; }
*:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }

body.high-contrast { background-color: #000 !important; color: #ff0 !important; --primary-color: #ff0 !important; --secondary-color: #000 !important; --accent-color: #ff0 !important; --text-color: #ff0 !important; --bg-color: #000 !important; }
body.high-contrast * { background-color: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
body.high-contrast img:not(.eu-logotypy) { filter: grayscale(100%) contrast(120%); }
body.highlight-links a, body.highlight-links button { background-color: #ff0 !important; color: #000 !important; text-decoration: underline !important; text-decoration-thickness: 3px !important; }
body.hide-images img { display: none !important; }
body.hide-images header { background: #333 !important; }
body.hide-images .leaflet-container { filter: grayscale(100%); }

.eu-logos { 
    background-color: #fff; 
    padding: 16px 5%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-bottom: 1px solid #e2e8f0; 
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.dark-mode .eu-logos {
    background-color: #0f172a;
    border-bottom-color: rgba(51, 65, 85, 0.8);
}
.eu-logos a { display: inline-block; transition: var(--transition-smooth); }
.eu-logos a:hover { transform: scale(1.02); }
.eu-logos img.eu-logotypy { height: 95px; width: auto; max-width: 100%; object-fit: contain; display: block; flex-shrink: 0; min-width: 260px; }

nav {
    background-color: var(--nav-bg); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 4px 25px rgba(0,0,0,0.06); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    padding: 10px 5%; 
    transition: var(--transition-smooth); 
}
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-mobile-brand {
    display: none;
}
.nav-mobile-toggle {
    display: none;
}
.nav-actions-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 8px; 
    margin: 0; 
    padding: 0; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
}
.nav-link-icon {
    display: none;
}

.nav-links a.tab-link {
    text-decoration: none; 
    display: inline-block; 
    font-family: inherit; 
    font-size: 0.95rem; 
    color: var(--primary-color); 
    font-weight: 600; 
    padding: 8px 14px; 
    border-radius: 8px; 
    transition: var(--transition-smooth); 
    position: relative; 
    overflow: hidden; 
}
.dark-mode .nav-links a.tab-link {
    color: #93c5fd;
}
.nav-links a.tab-link:hover { 
    background-color: rgba(0, 51, 153, 0.08); 
    transform: translateY(-2px); 
}
.dark-mode .nav-links a.tab-link:hover {
    background-color: rgba(59, 130, 246, 0.15);
    color: #fff;
}
.nav-links a.tab-link.active { 
    background-color: var(--primary-color); 
    color: #fff !important; 
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.25); 
    transform: translateY(-2px); 
}

.btn-theme-toggle {
    background: rgba(0, 43, 128, 0.08);
    border: 1px solid var(--nav-border);
    color: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.btn-theme-toggle:hover {
    transform: rotate(20deg) scale(1.1);
    background: rgba(0, 43, 128, 0.15);
}
.dark-mode .btn-theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #f5ce0a;
    border-color: rgba(255, 255, 255, 0.2);
}

header { 
    background: linear-gradient(135deg, var(--header-overlay-1, rgba(0, 48, 143, 0.85)), var(--header-overlay-2, rgba(1, 165, 198, 0.85))), url('img/back.png') center/cover; 
    color: #fff; 
    padding: 3rem 1rem; 
    text-align: center; 
}
header h1 { 
    margin: 0; 
    font-size: clamp(1.5rem, 3.2vw, 2.05rem); 
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    line-height: 1.25;
    color: #ffffff; 
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3); 
}
header p { 
    font-size: 1.0rem; 
    margin-top: 8px; 
    font-weight: 400; 
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2); 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hashtags { 
    margin-top: 12px; 
    font-weight: 600; 
    color: var(--accent-vibrant, #fbbf24); 
    font-size: 0.85rem; 
    letter-spacing: 0.5px; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); 
}

main.container { width: 90%; max-width: 1100px; margin: auto; overflow: hidden; padding: 2rem 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }

.section { 
    background: var(--card-bg); 
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border); 
    padding: 1.8rem 2rem; 
    margin-bottom: 2rem; 
    border-radius: 14px; 
    box-shadow: var(--card-shadow); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}
.section:hover { 
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover); 
}
.dark-mode .section:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}
.section h2 { 
    color: var(--primary-color); 
    border-bottom: 2px solid var(--secondary-color); 
    padding-bottom: 6px; 
    margin-top: 0; 
    margin-bottom: 14px;
    display: inline-block; 
    font-size: 1.28rem; 
    font-weight: 700;
    line-height: 1.3;
}
.dark-mode .section h2 {
    color: #60a5fa;
}
.dark-mode h3, .dark-mode h4 {
    color: #93c5fd;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }

.highlight-box { 
    background: var(--highlight-bg); 
    padding: 16px 18px; 
    border-left: 4px solid var(--primary-color); 
    border-radius: 8px; 
    transition: var(--transition-smooth); 
}
.highlight-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 6px;
    line-height: 1.35;
}
.highlight-box p, .highlight-box li {
    font-size: 0.92rem;
    line-height: 1.55;
}
.dark-mode .highlight-box {
    border-left-color: var(--secondary-color);
}
.highlight-box:hover { transform: translateX(3px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

.finance-card { 
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%); 
    border: 1px solid rgba(2, 132, 199, 0.25); 
    padding: 22px 20px; 
    text-align: center; 
    border-radius: 14px; 
    box-shadow: 0 4px 16px -2px rgba(0, 43, 128, 0.05);
    transition: var(--transition-smooth); 
    cursor: default; 
    position: relative;
    overflow: hidden;
}
.finance-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}
.dark-mode .finance-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
}
.finance-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 24px -2px rgba(0, 48, 143, 0.12); 
    border-color: rgba(2, 132, 199, 0.45);
}
.finance-card h3 { 
    margin-top: 0; 
    margin-bottom: 6px;
    color: var(--text-muted); 
    font-size: 0.82rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.dark-mode .finance-card h3 {
    color: #94a3b8;
}
.finance-card .amount { 
    font-size: 1.55rem; 
    font-weight: 800; 
    color: var(--primary-color); 
    margin: 4px 0; 
    letter-spacing: -0.3px;
}
.dark-mode .finance-card .amount { color: #38bdf8; }

.project-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
@media (max-width: 900px) {
    .project-pillars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 4px 14px rgba(0, 43, 128, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}
.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 43, 128, 0.09);
    border-color: rgba(1, 165, 198, 0.4);
}
.dark-mode .pillar-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.dark-mode .pillar-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 43, 128, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.dark-mode .pillar-icon-box {
    background: rgba(147, 197, 253, 0.12);
}

.pillar-title {
    margin: 0 0 8px 0;
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--primary-color);
}
.dark-mode .pillar-title {
    color: #93c5fd;
}

.pillar-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-color);
}
.dark-mode .pillar-desc {
    color: #cbd5e1;
}

.project-details-accordion {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.dark-mode .project-details-accordion {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(51, 65, 85, 0.7);
}
.project-details-accordion[open] {
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 4px 16px rgba(0, 43, 128, 0.06);
}

.project-details-summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    user-select: none;
    list-style: none;
}
.project-details-summary::-webkit-details-marker {
    display: none;
}
.dark-mode .project-details-summary {
    color: #93c5fd;
}
.project-details-summary:hover {
    background: rgba(0, 43, 128, 0.04);
}
.dark-mode .project-details-summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.summary-indicator {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 4px 10px;
    background: rgba(1, 165, 198, 0.1);
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}
.dark-mode .summary-indicator {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.project-details-body {
    padding: 0 18px 18px 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px dashed #e2e8f0;
}
.dark-mode .project-details-body {
    border-top-color: rgba(51, 65, 85, 0.7);
}

.cal-booking-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 16px rgba(0, 43, 128, 0.05);
    margin-top: 15px;
}
.dark-mode .cal-booking-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.85);
}
.cal-booking-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cal-booking-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.dark-mode .cal-booking-icon {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.btn-cal-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--secondary-color);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.25);
    transition: var(--transition-smooth);
}
.btn-cal-toggle:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}
.btn-cal-toggle.open {
    background: #475569;
    box-shadow: 0 3px 8px rgba(71, 85, 105, 0.2);
}
.btn-cal-toggle.open:hover {
    background: #334155;
}
.btn-cal-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.btn-cal-toggle.open .btn-cal-arrow {
    transform: rotate(180deg);
}

.steps-list, .contact-list { list-style: none; padding: 0; margin: 0; }

.steps-list > li, .contact-list > li { 
    background: rgba(255, 255, 255, 0.7); 
    border: 1px solid var(--card-border); 
    margin-bottom: 8px; 
    padding: 12px 16px; 
    border-radius: 8px; 
    display: flex; 
    align-items: flex-start; 
    transition: var(--transition-smooth); 
}

.dark-mode .steps-list > li {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(51, 65, 85, 0.7);
}

.steps-list > li:hover { 
    transform: translateX(4px); 
    box-shadow: 0 4px 14px rgba(0,0,0,0.05); 
    border-color: var(--secondary-color); 
}

.news-topic-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-topic-item {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 43, 128, 0.03);
    transition: var(--transition-smooth);
    overflow: hidden;
}
.news-topic-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 14px rgba(0, 43, 128, 0.07);
}
.news-topic-item.expanded {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 43, 128, 0.09);
}
.news-topic-item.latest {
    border-left: 4px solid var(--secondary-color);
    position: relative;
    animation: pulseLatestNews 3s ease-in-out infinite;
}

.news-topic-item.latest:hover,
.news-topic-item.latest.expanded {
    animation: none !important;
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 43, 128, 0.12);
}

.news-topic-item.latest .news-topic-icon-box {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

@keyframes pulseLatestNews {
    0%, 100% {
        border-color: var(--card-border);
        box-shadow: 0 2px 6px rgba(0, 43, 128, 0.04), 0 0 0 0 rgba(2, 132, 199, 0);
    }
    50% {
        border-color: rgba(2, 132, 199, 0.45);
        box-shadow: 0 4px 18px rgba(2, 132, 199, 0.15), 0 0 0 4px rgba(2, 132, 199, 0.18);
    }
}

.news-topic-bar {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}
.news-topic-bar:hover {
    background: rgba(0, 43, 128, 0.02);
}
.news-topic-item.expanded .news-topic-bar {
    background: rgba(2, 132, 199, 0.04);
    border-bottom: 1px solid rgba(0, 43, 128, 0.08);
}

.news-topic-row-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
    min-width: 0;
}

.news-topic-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
    transition: transform 0.2s ease;
}
.news-topic-bar:hover .news-topic-icon-box {
    transform: scale(1.06);
}

.news-topic-meta-wrap {
    flex-grow: 1;
    min-width: 0;
}

.news-topic-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 3px;
}

.news-topic-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}
.news-topic-date svg {
    color: var(--secondary-color);
}
.news-topic-time {
    color: #94a3b8;
    margin-left: 2px;
}

.news-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.news-tag-pill.tag-recruitment {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.news-tag-pill.tag-ai {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.news-tag-pill.tag-bur {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.news-tag-pill.tag-faq {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}
.news-tag-pill.tag-general {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.news-badge-latest {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(2, 132, 199, 0.3);
}

.news-badge-latest::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
    animation: pulseBadgeDot 1.6s ease-in-out infinite;
}

@keyframes pulseBadgeDot {
    0%, 100% { opacity: 0.55; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.25); }
}

.news-topic-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    transition: color 0.2s ease;
}
.news-topic-bar:hover .news-topic-title {
    color: var(--secondary-color);
}

.news-topic-action {
    flex-shrink: 0;
}

.btn-topic-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #0284c7;
    color: #ffffff !important;
    font-size: 0.86rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.news-topic-bar:hover .btn-topic-toggle {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.topic-chevron {
    transition: transform 0.3s ease;
}
.news-topic-item.expanded .topic-chevron {
    transform: rotate(180deg);
}

.news-topic-drawer {
    display: none;
    padding: 20px 22px 18px 22px;
    background: #ffffff;
    animation: drawerFadeIn 0.3s ease-out;
}
.news-topic-item.expanded .news-topic-drawer {
    display: block;
}

@keyframes drawerFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-topic-body {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-color, #334155);
}
.news-topic-body p { margin: 10px 0; }
.news-topic-body p:first-child { margin-top: 0; }
.news-topic-body p:last-child { margin-bottom: 0; }
.news-topic-body strong { color: var(--primary-color); font-weight: 700; }
.dark-mode .news-topic-body strong { color: #93c5fd; }
.news-topic-body a { color: var(--secondary-color); text-decoration: underline; font-weight: 600; }
.news-topic-body a:hover { color: var(--primary-color); }
.news-topic-body ul, .news-topic-body ol { margin: 8px 0 12px 24px; padding: 0; }
.news-topic-body li {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 3px 0 !important;
    margin: 2px 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    display: list-item !important;
}

.news-topic-close-bar {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 43, 128, 0.1);
    display: flex;
    justify-content: flex-end;
}
.btn-topic-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--text-muted, #64748b);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-topic-close:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #f8fafc;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-load-more:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 43, 128, 0.2);
    transform: translateY(-2px);
}
.load-more-badge {
    padding: 2px 7px;
    background: rgba(0, 43, 128, 0.08);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 800;
}
.btn-load-more:hover .load-more-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.dark-mode .news-topic-item {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.85);
}
.dark-mode .news-topic-item:hover,
.dark-mode .news-topic-item.expanded {
    border-color: #38bdf8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.dark-mode .news-topic-item.latest {
    border-left-color: #38bdf8;
    animation: pulseLatestNewsDark 3s ease-in-out infinite;
}

.dark-mode .news-topic-item.latest:hover,
.dark-mode .news-topic-item.latest.expanded {
    animation: none !important;
    border-color: #38bdf8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

@keyframes pulseLatestNewsDark {
    0%, 100% {
        border-color: rgba(51, 65, 85, 0.85);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(56, 189, 248, 0);
    }
    50% {
        border-color: rgba(56, 189, 248, 0.55);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(56, 189, 248, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-topic-item.latest,
    .dark-mode .news-topic-item.latest,
    .news-badge-latest::before {
        animation: none !important;
    }
}
.dark-mode .news-topic-bar:hover {
    background: rgba(255, 255, 255, 0.03);
}
.dark-mode .news-topic-item.expanded .news-topic-bar {
    background: rgba(56, 189, 248, 0.08);
    border-bottom-color: rgba(51, 65, 85, 0.85);
}
.dark-mode .news-topic-icon-box {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}
.dark-mode .news-topic-title {
    color: #f1f5f9;
}
.dark-mode .news-topic-bar:hover .news-topic-title {
    color: #38bdf8;
}
.dark-mode .news-topic-date {
    color: #94a3b8;
}
.dark-mode .news-tag-pill.tag-recruitment {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.4);
}
.dark-mode .news-tag-pill.tag-ai {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    border-color: rgba(37, 99, 235, 0.4);
}
.dark-mode .news-tag-pill.tag-bur {
    background: rgba(22, 163, 74, 0.18);
    color: #86efac;
    border-color: rgba(22, 163, 74, 0.4);
}
.dark-mode .news-tag-pill.tag-faq {
    background: rgba(126, 34, 206, 0.18);
    color: #d8b4fe;
    border-color: rgba(126, 34, 206, 0.4);
}
.dark-mode .news-tag-pill.tag-general {
    background: rgba(71, 85, 105, 0.25);
    color: #cbd5e1;
    border-color: rgba(71, 85, 105, 0.5);
}
.dark-mode .news-topic-drawer {
    background: rgba(15, 23, 42, 0.6);
}
.dark-mode .news-topic-body {
    color: #cbd5e1;
}
.dark-mode .news-topic-close-bar {
    border-top-color: rgba(51, 65, 85, 0.7);
}
.dark-mode .btn-topic-close {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(51, 65, 85, 0.8);
    color: #cbd5e1;
}
.dark-mode .btn-topic-close:hover {
    background: rgba(51, 65, 85, 1);
    color: #ffffff;
}
.dark-mode .btn-load-more {
    background: rgba(30, 41, 59, 0.8);
    border-color: #38bdf8;
    color: #38bdf8;
}
.dark-mode .btn-load-more:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

@media (max-width: 640px) {
    .news-topic-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px;
    }
    .news-topic-row-main {
        align-items: flex-start;
    }
    .news-topic-action {
        width: 100%;
    }
    .btn-topic-toggle {
        width: 100%;
        justify-content: center;
        padding: 9px 14px;
    }
    .news-topic-drawer {
        padding: 16px 14px 14px 14px;
    }
}

.doc-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 16px 0;
}
.doc-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #f1f5f9;
    color: var(--text-color);
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.doc-filter-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}
.doc-filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 43, 128, 0.2);
}
.doc-filter-count {
    display: inline-block;
    padding: 1px 7px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.08);
}
.doc-filter-btn.active .doc-filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.doc-group-divider {
    list-style: none;
    margin: 20px 0 8px 0;
    padding: 8px 4px 6px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid rgba(0, 43, 128, 0.12);
}
.doc-group-divider:first-child {
    margin-top: 0;
}
.doc-group-icon {
    font-size: 1.15rem;
}
.doc-group-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-item-row {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 6px rgba(0, 43, 128, 0.03);
    transition: var(--transition-smooth);
}
.doc-item-row:hover {
    transform: translateX(3px);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 18px rgba(0, 43, 128, 0.07);
}

.doc-row-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
    min-width: 0;
}

.doc-format-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.doc-format-pdf {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}
.doc-format-docx, .doc-format-doc {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.doc-format-xlsx {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.doc-format-pending, .doc-format-dok {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.doc-meta-wrap {
    flex-grow: 1;
    min-width: 0;
}
.doc-title-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.doc-num-prefix {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.doc-item-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
}
.doc-item-desc {
    margin: 3px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.doc-action-wrap {
    flex-shrink: 0;
}
.btn-doc-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #0284c7;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.btn-doc-download:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.badge-doc-soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}
.doc-soon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.dark-mode .doc-item-row {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.85);
}
.dark-mode .doc-item-row:hover {
    border-color: #38bdf8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.dark-mode .doc-item-title {
    color: #f1f5f9;
}
.dark-mode .doc-num-prefix {
    color: #38bdf8;
}
.dark-mode .doc-item-desc {
    color: #94a3b8;
}
.dark-mode .doc-group-divider {
    border-bottom-color: rgba(51, 65, 85, 0.85);
}
.dark-mode .doc-group-title {
    color: #93c5fd;
}
.dark-mode .doc-filter-btn {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(51, 65, 85, 0.8);
    color: #cbd5e1;
}
.dark-mode .doc-filter-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
.dark-mode .doc-format-pdf {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
    color: #f87171;
}
.dark-mode .doc-format-docx, .dark-mode .doc-format-doc {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    color: #60a5fa;
}
.dark-mode .doc-format-pending, .dark-mode .doc-format-dok {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(51, 65, 85, 0.8);
    color: #94a3b8;
}
.dark-mode .badge-doc-soon {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(51, 65, 85, 0.8);
    color: #94a3b8;
}

@media (max-width: 640px) {
    .doc-item-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px;
    }
    .doc-row-main {
        align-items: flex-start;
    }
    .doc-action-wrap {
        width: 100%;
    }
    .btn-doc-download {
        width: 100%;
        justify-content: center;
        padding: 9px 14px;
    }
    .badge-doc-soon {
        width: 100%;
        justify-content: center;
        padding: 7px 12px;
    }
}

.contact-list > li { border: none; background: transparent; padding: 6px 0; margin-bottom: 4px; }
.contact-list > li:hover { transform: translateX(3px); }
.contact-list h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}
.contact-list p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 3px 0 0 0;
    color: var(--text-color);
}

.doc-icon {
    font-size: 1.25rem; 
    margin-right: 12px; 
    margin-top: 2px; 
    color: var(--primary-color); 
    transition: transform 0.3s ease; 
    flex-shrink: 0;
}
.doc-list li:hover .doc-icon, .news-list li:hover .doc-icon, .contact-list li:hover .doc-icon { transform: scale(1.08); }

.step-number { 
    background: var(--secondary-color); 
    color: #fff; 
    font-weight: 700; 
    font-size: 0.85rem; 
    width: 26px; 
    height: 26px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    margin-right: 12px; 
    margin-top: 1px;
    flex-shrink: 0; 
    transition: var(--transition-smooth); 
    box-shadow: 0 2px 5px rgba(1, 165, 198, 0.3); 
}
.steps-list li:hover .step-number { 
    transform: scale(1.08); 
    background-color: var(--primary-color); 
    box-shadow: 0 3px 8px rgba(0, 43, 128, 0.3); 
}
.steps-list h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}
.steps-list p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 4px 0 0 0;
}

.btn-system { 
    display: inline-block; 
    background-color: var(--primary-color); 
    color: #fff !important; 
    padding: 10px 22px; 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 700; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2); 
    transition: var(--transition-smooth); 
    text-align: center; 
    border: none; 
    font-family: inherit; 
    cursor: pointer; 
}
.btn-system:hover { filter: brightness(0.9); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 51, 153, 0.3); }
.btn-system:active { transform: translateY(1px) scale(0.98); }
.btn-system:disabled { opacity: 0.55; cursor: not-allowed; filter: grayscale(40%); box-shadow: none; }
.btn-system:disabled:hover, .btn-system:disabled:active { transform: none; filter: grayscale(40%); box-shadow: none; }

.info-bubble {
    display: block;
    width: fit-content;
    max-width: 90%;
    position: relative;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #f59e0b;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 auto 16px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.dark-mode .info-bubble {
    background: rgba(120, 53, 15, 0.35);
    border-color: #f59e0b;
    color: #fde68a;
}
.info-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #f59e0b transparent transparent transparent;
}
.info-bubble::before {
    content: "";
    position: absolute;
    bottom: -6.5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px 7px 0 7px;
    border-style: solid;
    border-color: #fffbeb transparent transparent transparent;
    z-index: 1;
}
.dark-mode .info-bubble::before {
    border-color: #3b2207 transparent transparent transparent;
}

.system-callout-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 4px 20px -2px rgba(0, 43, 128, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 32px auto 40px;
    max-width: 680px;
    width: 100%;
    box-sizing: border-box;
    transition: var(--transition-smooth);
    animation: pulseLatestNews 3s ease-in-out infinite;
}
.system-callout-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}
.system-callout-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -4px rgba(0, 43, 128, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(2, 132, 199, 0.4);
}

.system-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    border-radius: 20px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0369a1;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.system-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
    animation: harmPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.system-card-main-text {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text-heading);
    margin: 0 0 8px 0;
    max-width: 580px;
}
.system-card-date-info {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 22px 0;
}
.system-card-date-info strong {
    color: var(--primary-color);
}

.dark-mode .system-callout-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.85);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    animation: pulseLatestNewsDark 3s ease-in-out infinite;
}
.dark-mode .system-callout-card::before {
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
}
.dark-mode .system-callout-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.6);
}
.dark-mode .system-card-badge {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}
.dark-mode .system-pulse-dot {
    background-color: #38bdf8;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
}
.dark-mode .system-card-main-text {
    color: #f8fafc;
}
.dark-mode .system-card-date-info {
    color: #94a3b8;
}
.dark-mode .system-card-date-info strong {
    color: #93c5fd;
}

.btn-system-active,
a.btn-system-active {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    padding: 13px 28px !important;
    background-color: #002b80 !important;
    background: linear-gradient(135deg, #002b80 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 43, 128, 0.28) !important;
    transition: var(--transition-smooth);
    animation: pulseSystemBtn 2.8s ease-in-out infinite !important;
    cursor: pointer;
}
.btn-system-active:hover,
a.btn-system-active:hover {
    background-color: #001f5c !important;
    background: linear-gradient(135deg, #001f5c 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45) !important;
    animation: none !important;
}
.btn-system-active:active,
a.btn-system-active:active {
    transform: translateY(1px) scale(0.98);
}

@keyframes pulseSystemBtn {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 43, 128, 0.25), 0 0 0 0 rgba(2, 132, 199, 0.6);
    }
    50% {
        box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4), 0 0 0 6px rgba(2, 132, 199, 0.28);
    }
}

.dark-mode .btn-system-active,
body.dark-mode a.btn-system-active {
    background-color: #1d4ed8 !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4) !important;
    animation: pulseSystemBtnDark 2.8s ease-in-out infinite !important;
}
.dark-mode .btn-system-active:hover,
body.dark-mode a.btn-system-active:hover {
    background-color: #1e40af !important;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 26px rgba(56, 189, 248, 0.5) !important;
    animation: none !important;
}

@keyframes pulseSystemBtnDark {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35), 0 0 0 0 rgba(56, 189, 248, 0.6);
    }
    50% {
        box-shadow: 0 8px 26px rgba(56, 189, 248, 0.5), 0 0 0 6px rgba(56, 189, 248, 0.3);
    }
}


.btn-facebook { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    background-color: #1877F2; 
    color: #fff !important; 
    padding: 8px 16px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.88rem; 
    border-radius: 8px; 
    margin-top: 10px; 
    box-shadow: 0 3px 8px rgba(24, 119, 242, 0.2); 
    transition: var(--transition-smooth); 
}
.btn-facebook:hover { background-color: #145dbf; transform: translateY(-2px); box-shadow: 0 5px 12px rgba(24, 119, 242, 0.3); }
.btn-facebook svg { width: 16px; height: 16px; margin-right: 6px; fill: currentColor; transition: transform 0.3s ease; }
.btn-facebook:hover svg { transform: scale(1.08); }

.map-container { transition: var(--transition-smooth); }
.map-container:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important; }

.faq-controls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.faq-search { width: 100%; padding: 10px 14px; font-size: 0.92rem; border: 2px solid #e2e8f0; border-radius: 8px; font-family: inherit; transition: var(--transition-smooth); box-sizing: border-box; background: #fff; color: var(--text-color); }
.dark-mode .faq-search { background: rgba(15, 23, 42, 0.8); border-color: rgba(51, 65, 85, 0.8); color: #f1f5f9; }
.faq-search:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.15); }
.faq-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.faq-tag { background: #f1f5f9; border: 1px solid #cbd5e1; padding: 5px 12px; border-radius: 16px; font-size: 0.82rem; cursor: pointer; font-weight: 600; color: #475569; transition: var(--transition-smooth); }
.dark-mode .faq-tag { background: rgba(51, 65, 85, 0.5); border-color: rgba(71, 85, 105, 0.6); color: #cbd5e1; }
.faq-tag:hover { background: #e2e8f0; }
.dark-mode .faq-tag:hover { background: rgba(71, 85, 105, 0.7); }
.faq-tag.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item { margin-bottom: 10px; border: 1px solid var(--card-border); border-radius: 8px; background: rgba(255, 255, 255, 0.7); overflow: hidden; transition: var(--transition-smooth); }
.dark-mode .faq-item { background: rgba(30, 41, 59, 0.7); border-color: rgba(51, 65, 85, 0.7); }
.faq-item:hover { border-color: var(--primary-color); box-shadow: 0 3px 10px rgba(0,0,0,0.04); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 13px 15px; font-size: 0.95rem; font-weight: 700; color: var(--primary-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.dark-mode .faq-question { color: #93c5fd; }
.faq-question::after { content: '+'; font-size: 1.2rem; transition: transform 0.3s ease; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease-out; background: #f8fafc; padding: 0 15px; font-size: 0.9rem; line-height: 1.6;}
.dark-mode .faq-answer { background: rgba(15, 23, 42, 0.6); color: #e2e8f0; }
.faq-item.open .faq-answer { max-height: 800px; padding: 0 15px 14px 15px; border-top: 1px solid var(--card-border); }

.countdown-box { 
    background: rgba(0, 0, 0, 0.45); 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    padding: 8px 12px; 
    border-radius: 8px; 
    min-width: 52px; 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}
.countdown-value { 
    font-size: 1.45rem; 
    font-weight: 700; 
    color: var(--accent-vibrant, #fbbf24); 
    display: block; 
    line-height: 1; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); 
}
.countdown-label { 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    color: #f8fafc; 
    margin-top: 4px; 
    display: block; 
    opacity: 0.9; 
    font-weight: 600;
}

.harm-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px -2px rgba(0, 43, 128, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.harm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #94a3b8;
    transition: background 0.3s ease;
}

.harm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -4px rgba(0, 43, 128, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
    border-color: rgba(2, 132, 199, 0.35);
}

.dark-mode .harm-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.85);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}
.dark-mode .harm-card:hover {
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.6);
    border-color: rgba(56, 189, 248, 0.4);
}

.harm-card.active {
    border-color: #22c55e;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.55) 0%, #ffffff 100%);
    box-shadow: 0 8px 25px -3px rgba(34, 197, 94, 0.18), 0 3px 8px -2px rgba(34, 197, 94, 0.1);
}
.harm-card.active::before {
    background: linear-gradient(90deg, #10b981, #22c55e, #34d399);
    height: 5px;
}
.dark-mode .harm-card.active {
    background: linear-gradient(180deg, rgba(6, 78, 59, 0.25) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-color: #10b981;
    box-shadow: 0 8px 25px -3px rgba(16, 185, 129, 0.25);
}

.harm-card.upcoming::before {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.harm-card.closed-early::before {
    background: #ef4444;
}

.harm-card.ended {
    opacity: 0.85;
    background: #f8fafc;
}
.harm-card.ended::before {
    background: #cbd5e1;
}
.dark-mode .harm-card.ended {
    background: rgba(15, 23, 42, 0.65);
}
.dark-mode .harm-card.ended::before {
    background: #475569;
}

.harm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.harm-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.harm-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 43, 128, 0.07);
    color: var(--primary-color);
    flex-shrink: 0;
}
.dark-mode .harm-title-icon {
    background: rgba(147, 197, 253, 0.12);
    color: #93c5fd;
}
.harm-card.active .harm-title-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}
.dark-mode .harm-card.active .harm-title-icon {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.harm-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.2px;
}
.dark-mode .harm-title {
    color: #f1f5f9;
}

.harm-status-badge {
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.harm-status-badge.active {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}
.dark-mode .harm-status-badge.active {
    background: rgba(22, 101, 52, 0.45);
    color: #86efac;
    border-color: rgba(74, 222, 128, 0.4);
}

.harm-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #16a34a;
    display: inline-block;
    position: relative;
}
.harm-pulse-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: rgba(22, 163, 74, 0.4);
    animation: harmPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes harmPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    50% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.harm-status-badge.upcoming {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.dark-mode .harm-status-badge.upcoming {
    background: rgba(14, 116, 144, 0.35);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.35);
}

.harm-status-badge.closed-early {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.dark-mode .harm-status-badge.closed-early {
    background: rgba(153, 27, 27, 0.35);
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.35);
}

.harm-status-badge.ended {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}
.dark-mode .harm-status-badge.ended {
    background: #334155;
    color: #94a3b8;
    border-color: #475569;
}

.harm-dates-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.dark-mode .harm-dates-grid {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(51, 65, 85, 0.7);
}
.harm-card.active .harm-dates-grid {
    background: rgba(240, 253, 244, 0.6);
    border-color: rgba(134, 239, 172, 0.6);
}
.dark-mode .harm-card.active .harm-dates-grid {
    background: rgba(6, 78, 59, 0.2);
    border-color: rgba(52, 211, 153, 0.3);
}

.harm-date-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.harm-date-box.start { text-align: left; }
.harm-date-box.end { text-align: right; }

.harm-date-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}
.dark-mode .harm-date-label {
    color: #94a3b8;
}
.harm-date-box.start .harm-date-label { color: #15803d; }
.dark-mode .harm-date-box.start .harm-date-label { color: #86efac; }
.harm-date-box.end .harm-date-label { color: #b91c1c; }
.dark-mode .harm-date-box.end .harm-date-label { color: #fca5a5; }

.harm-date-val {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.2px;
    line-height: 1.25;
}
.dark-mode .harm-date-val {
    color: #ffffff;
}

.harm-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-top: 1px;
}
.dark-mode .harm-time-pill {
    color: #cbd5e1;
}
.harm-date-box.end .harm-time-pill {
    justify-content: flex-end;
}
.harm-mini-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.harm-date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    padding: 0 4px;
}
.dark-mode .harm-date-separator {
    color: #64748b;
}

.harm-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.harm-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.3;
}
.dark-mode .harm-meta-pill {
    background: rgba(51, 65, 85, 0.45);
    border-color: rgba(71, 85, 105, 0.5);
    color: #e2e8f0;
}
.harm-meta-pill svg {
    color: var(--primary-color);
    flex-shrink: 0;
}
.dark-mode .harm-meta-pill svg {
    color: #93c5fd;
}
.harm-meta-pill strong {
    font-weight: 700;
    color: #0f172a;
}
.dark-mode .harm-meta-pill strong {
    color: #ffffff;
}

.harm-notes {
    margin-top: 12px;
    padding: 9px 12px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.dark-mode .harm-notes {
    background: rgba(120, 53, 15, 0.25);
    border-color: rgba(217, 119, 6, 0.3);
    color: #fde68a;
}
.harm-notes-icon {
    flex-shrink: 0;
    font-size: 0.95rem;
}

.harm-action-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(34, 197, 94, 0.4);
}
.harm-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 14px;
    background: #16a34a;
    color: #ffffff !important;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}
.harm-action-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

footer { background: #fff; color: var(--text-color); padding: 2rem 5%; margin-top: 2rem; font-size: 0.8rem; border-top: 4px solid var(--secondary-color); border-bottom: 1px solid #e2e8f0; transition: var(--transition-smooth); }
.dark-mode footer { background: #0f172a; border-bottom-color: #1e293b; color: #cbd5e1; }
.footer-container { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 15px; max-width: 900px; margin: auto; }
.footer-logos { display: flex; gap: 15px; margin-bottom: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.logo-box { display: flex; align-items: center; justify-content: center; background-color: #fff; height: 60px; padding: 0 15px; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 3px 8px rgba(0,0,0,0.04); transition: var(--transition-smooth); text-decoration: none; }
.dark-mode .logo-box { background-color: rgba(30, 41, 59, 0.9); border-color: rgba(51, 65, 85, 0.8); }
.logo-box:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 6px 15px rgba(0,0,0,0.08); }
.logo-box img { max-height: 45px; width: auto; display: block; object-fit: contain; }
.footer-info { width: 100%; }
.footer-info p { margin: 5px 0; font-weight: 600; color: #475569; }
.dark-mode .footer-info p { color: #94a3b8; }
.copyright-notice { margin-top: 20px; padding-top: 10px; border-top: 1px solid #e2e8f0; font-size: 0.8rem; color: #64748b; }
.dark-mode .copyright-notice { border-top-color: rgba(51, 65, 85, 0.6); color: #94a3b8; }

.a11y-widget { position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 9999; display: flex; flex-direction: row; align-items: center; }
.a11y-toggle { background-color: var(--primary-color); color: #fff; border: none; padding: 10px; cursor: pointer; border-radius: 6px 0 0 6px; box-shadow: -2px 0 5px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; transition: background-color 0.3s; }
.a11y-toggle svg { width: 26px; height: 26px; fill: currentColor; }
.a11y-toggle:hover { filter: brightness(0.9); }
.a11y-panel { display: none; background: #fff; border: 2px solid var(--primary-color); border-right: none; border-radius: 6px 0 0 6px; padding: 12px; box-shadow: -4px 4px 15px rgba(0,0,0,0.1); flex-direction: column; gap: 8px; width: 200px; animation: fadeInRight 0.3s ease-out forwards; }
.dark-mode .a11y-panel { background: #1e293b; border-color: var(--secondary-color); color: #f1f5f9; }
.a11y-panel.open { display: flex; }
.a11y-panel h3 { margin: 0 0 8px 0; font-size: 1rem; color: var(--primary-color); text-align: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 5px; }
.dark-mode .a11y-panel h3 { color: #60a5fa; border-bottom-color: rgba(51, 65, 85, 0.6); }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
.a11y-btn { background: #f1f5f9; border: 1px solid #cbd5e1; padding: 6px; cursor: pointer; font-weight: bold; color: var(--text-color); border-radius: 4px; transition: background 0.2s; text-align: center; font-size: 0.85rem;}
.dark-mode .a11y-btn { background: #334155; border-color: #475569; color: #f1f5f9; }
.a11y-btn:hover { background: #e2e8f0; }
.dark-mode .a11y-btn:hover { background: #475569; }
.a11y-font-controls { display: flex; gap: 4px; justify-content: space-between; }
.a11y-font-controls button { flex: 1; }

.chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
    font-family: inherit;
}

.chatbot-launcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 43, 128, 0.35);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
}
.chatbot-launcher:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 43, 128, 0.45);
}
.chatbot-launcher-icon {
    font-size: 1.3rem;
}
.chatbot-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 12px;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.5);
    animation: pulseChatDot 2s infinite;
}
@keyframes pulseChatDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.chatbot-window {
    width: 380px;
    max-width: calc(100vw - 30px);
    height: 520px;
    max-height: calc(100vh - 100px);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 20, 60, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpChat 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes slideUpChat {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001e5c 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-avatar {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.robot-avatar-svg {
    width: 26px;
    height: 26px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: transform 0.25s ease;
}
.chatbot-launcher:hover .robot-avatar-svg {
    transform: scale(1.15) rotate(6deg);
}
.chatbot-avatar .robot-avatar-svg {
    width: 30px;
    height: 30px;
}
.chatbot-title {
    font-weight: 700;
    font-size: 0.95rem;
}
.chatbot-status {
    font-size: 0.75rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
}
.status-indicator {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
}
.chatbot-header-actions {
    display: flex;
    gap: 6px;
}
.chatbot-header-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.chatbot-header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(248, 250, 252, 0.7);
}
.dark-mode .chatbot-body {
    background: rgba(15, 23, 42, 0.7);
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: fadeInMsg 0.3s ease;
}
@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
    align-self: flex-start;
}
.chat-msg.user {
    align-self: flex-end;
}
.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
}
.chat-msg.bot .chat-bubble {
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--card-border);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.dark-mode .chat-msg.bot .chat-bubble {
    background: #1e293b;
    color: #f1f5f9;
    border-color: rgba(51, 65, 85, 0.8);
}
.chat-msg.user .chat-bubble {
    background: var(--primary-color);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 43, 128, 0.2);
}
.chat-time {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
    padding: 0 4px;
}
.chat-msg.user .chat-time {
    text-align: right;
}

.chat-h4 {
    margin: 10px 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}
.dark-mode .chat-h4 {
    color: #93c5fd;
}
.chat-list-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    line-height: 1.4;
    text-align: left;
}
.chat-bullet {
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.2;
    flex-shrink: 0;
}
.chat-num {
    color: #3b82f6;
    font-weight: bold;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-shrink: 0;
}
.chat-list-text {
    flex: 1;
}
.chat-spacer {
    height: 8px;
}

.chat-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
.chat-action-btn {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--primary-color);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.dark-mode .chat-action-btn {
    background: rgba(30, 58, 138, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}
.chat-action-btn:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateX(3px);
}

.chatbot-input-form {
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    align-items: center;
}
.chatbot-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.chatbot-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 44px 10px 14px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #ffffff;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s;
}
.dark-mode .chatbot-input {
    background: #0f172a;
    color: #f1f5f9;
}
.chatbot-input:focus {
    border-color: var(--primary-color);
}
.chat-char-count {
    position: absolute;
    right: 12px;
    font-size: 0.72rem;
    color: #94a3b8;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}
.dark-mode .chat-char-count {
    color: #64748b;
}
.chat-char-count.near-limit {
    color: #f59e0b;
    font-weight: 700;
}
.chat-char-count.at-limit {
    color: #ef4444;
    font-weight: 700;
}
.chatbot-send-btn {
    width: 38px;
    height: 38px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.chatbot-send-btn:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: scale(1.05);
}
.chatbot-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.chatbot-send-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.chatbot-mobile-back {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    margin-right: 2px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.chatbot-mobile-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-banned-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 10px 0;
    text-align: center;
}
.dark-mode .chat-banned-banner {
    background: rgba(127, 29, 29, 0.3);
    border-color: #991b1b;
    color: #fca5a5;
}

@media (max-width: 992px) {
    .eu-logos img.eu-logotypy { height: auto; width: 100%; min-height: 55px; max-width: 800px; min-width: unset; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 14px; }
    main.container { width: 92%; padding: 1.2rem 0; }
    .section { padding: 1.3rem 1.1rem; }
    header h1 { font-size: 1.55rem; line-height: 1.25; }
    header p { font-size: 0.92rem; }
    .section h2 { font-size: 1.18rem; }
    .finance-card .amount { font-size: 1.35rem; }

    
    nav { 
        padding: 10px 16px; 
    }
    .nav-container { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        flex-wrap: wrap; 
        width: 100%; 
    }
    .nav-mobile-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        min-width: 0;
    }
    .brand-title {
        font-weight: 800;
        font-size: 0.92rem;
        color: var(--primary-color);
        letter-spacing: 0.1px;
        line-height: 1.15;
    }
    .dark-mode .brand-title {
        color: #93c5fd;
    }
    .nav-actions-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .nav-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: rgba(0, 43, 128, 0.06);
        border: 1px solid var(--nav-border);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        transition: var(--transition-smooth);
    }
    .dark-mode .nav-mobile-toggle {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.15);
    }
    .hamburger-bar {
        display: block;
        width: 20px;
        height: 2px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .dark-mode .hamburger-bar {
        background-color: #93c5fd;
    }
    .nav-open .hamburger-bar:nth-child(1),
    #navToggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-open .hamburger-bar:nth-child(2),
    #navToggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .nav-open .hamburger-bar:nth-child(3),
    #navToggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 6px;
        margin-top: 10px;
        padding: 12px 0 6px 0;
        border-top: 1px solid var(--nav-border);
        list-style: none;
    }
    .nav-links.open {
        display: flex;
        animation: slideDownNavMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes slideDownNavMenu {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a.tab-link {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 8px;
        background: rgba(0, 43, 128, 0.03);
        border: 1px solid transparent;
    }
    .dark-mode .nav-links a.tab-link {
        background: rgba(255, 255, 255, 0.05);
    }
    .nav-links a.tab-link.active {
        background-color: var(--primary-color);
        color: #ffffff !important;
        border-color: var(--primary-color);
    }
    .dark-mode .nav-links a.tab-link.active {
        background-color: #2563eb;
        border-color: #3b82f6;
    }
    .nav-link-icon {
        display: inline-block;
        font-size: 1.15rem;
    }

    .finance-card .amount { font-size: 1.5rem; }
    .btn-system { font-size: 0.95rem; padding: 10px 20px; width: 100%; box-sizing: border-box; }
    .system-callout-card { padding: 22px 18px; margin: 25px auto 35px; }
    .system-card-main-text { font-size: 0.98rem; }
    .system-card-date-info { font-size: 0.88rem; margin-bottom: 18px; }
    .logo-box { height: 50px; padding: 0 10px; }
    .logo-box img { max-height: 35px; }

    
    .a11y-widget { top: auto; bottom: 90px; right: auto; left: 0; transform: none; flex-direction: row-reverse; }
    .a11y-toggle { border-radius: 0 6px 6px 0; box-shadow: 2px 0 5px rgba(0,0,0,0.15); }
    .a11y-panel { border-radius: 0 6px 6px 0; border-right: 2px solid var(--primary-color); border-left: none; box-shadow: 4px 4px 15px rgba(0,0,0,0.1); animation: fadeInLeft 0.3s ease-out forwards; }

    
    .chatbot-container { bottom: 15px; right: 15px; }
    .chatbot-launcher-label { display: none; }
    .chatbot-launcher { padding: 12px; border-radius: 50%; width: 54px; height: 54px; justify-content: center; box-shadow: 0 8px 25px rgba(0, 43, 128, 0.4); }
    
    .chatbot-window {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        height: 100vh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        z-index: 999999 !important;
        box-shadow: none !important;
        animation: slideUpMobile 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes slideUpMobile {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    body.chat-modal-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }

    .chatbot-mobile-back {
        display: flex !important;
    }
    .chatbot-header {
        padding: 12px 14px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        border-radius: 0;
    }
    .chatbot-header-actions .chatbot-header-btn {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    .chatbot-body {
        padding: 14px;
        font-size: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    .chat-msg {
        max-width: 90%;
    }
    .chat-bubble {
        font-size: 0.95rem;
        padding: 11px 15px;
        line-height: 1.5;
    }
    .chatbot-input-form {
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .chatbot-input {
        font-size: 16px !important; 
        padding: 11px 16px;
    }
    .chatbot-send-btn {
        width: 42px;
        height: 42px;
    }

    .map-container { min-height: 300px !important; }
}

@media (max-width: 480px) {
    
    .news-list > li, .steps-list > li, .contact-list > li { 
        flex-direction: row; 
        align-items: flex-start; 
        text-align: left; 
        padding: 12px 14px;
        gap: 12px;
    }
    .step-number { 
        margin-right: 0; 
        margin-bottom: 0; 
        flex-shrink: 0;
    }

    
    .harm-card {
        padding: 16px 16px;
        border-radius: 14px;
    }
    .harm-header {
        margin-bottom: 12px;
    }
    .harm-title {
        font-size: 1.02rem;
    }
    .harm-dates-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
        padding: 10px 12px;
    }
    .harm-date-box.end {
        text-align: left;
        border-top: 1px dashed #e2e8f0;
        padding-top: 8px;
    }
    .dark-mode .harm-date-box.end {
        border-top-color: rgba(51, 65, 85, 0.7);
    }
    .harm-date-box.end .harm-time-pill {
        justify-content: flex-start;
    }
    .harm-date-separator {
        display: none;
    }
    .harm-date-val {
        font-size: 0.98rem;
    }
    .harm-meta-pill {
        font-size: 0.78rem;
        width: 100%;
        box-sizing: border-box;
    }

    
    .finance-card {
        padding: 16px 14px;
    }
    .finance-card .amount {
        font-size: 1.35rem;
    }

    .countdown-box { min-width: 44px; padding: 6px 8px; }
    .countdown-value { font-size: 1.25rem; }
    .countdown-label { font-size: 0.62rem; }
    #countdown-timer { gap: 6px; }
    header h1 { font-size: 1.35rem; }
    header p { font-size: 0.88rem; }
}

@keyframes elegantFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.expandable-content {
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.expandable-content.collapsed {
    max-height: 250px;
    position: relative;
}

.expandable-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
    pointer-events: none;
}
.dark-mode .expandable-content.collapsed::after {
    background: linear-gradient(to bottom, rgba(30,41,59,0), #1e293b 90%);
}

.news-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color, #334155);
    text-align: left;
}
.dark-mode .news-body {
    color: #cbd5e1;
}
.news-body p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.news-body p:first-child {
    margin-top: 0;
}
.news-body p:last-child {
    margin-bottom: 0;
}
.news-body h4, .news-body h3 {
    margin: 14px 0 6px 0;
    font-size: 1.05rem;
    color: var(--primary-color, #003399);
}
.dark-mode .news-body h4, .dark-mode .news-body h3 {
    color: #93c5fd;
}
.news-body ul, .news-body ol {
    margin: 8px 0 12px 24px !important;
    padding: 0 !important;
    list-style-type: disc !important;
}
.news-body ol {
    list-style-type: decimal !important;
}
.news-body li {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 3px 0 !important;
    margin: 3px 0 !important;
    display: list-item !important;
    border-radius: 0 !important;
    transform: none !important;
    font-size: 0.93rem !important;
    line-height: 1.55 !important;
    color: inherit !important;
    text-align: left !important;
}
.news-body li:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
}

.btn-expand {
    display: inline-block;
    background: #f8fafc;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition-smooth);
}
.dark-mode .btn-expand {
    background: #1e293b;
    color: #60a5fa;
    border-color: #60a5fa;
}
.btn-expand:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.holiday-banner {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 51, 153, 0.2);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 90%;
    width: 550px;
    box-sizing: border-box;
    animation: slideDownToast 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    transition: all 0.4s ease;
}
@keyframes slideDownToast {
    from { opacity: 0; transform: translate(-50%, -30px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.holiday-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
}
.holiday-banner-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    animation: pulseHolidayIcon 1.5s infinite ease-in-out;
}
@keyframes pulseHolidayIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.holiday-banner strong {
    display: block;
    font-size: 1.02rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}
.holiday-banner span {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.4;
}
.holiday-banner-close {
    background: #f1f5f9;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.holiday-banner-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    header { background-attachment: initial !important; }
    .holiday-banner { animation: none !important; }
    #holiday-canvas { display: none !important; }
}

.chat-expand-btn {
    background: transparent;
    border-style: dashed;
    font-weight: 500;
}
.chat-expand-btn:hover {
    background: #eff6ff;
}
.dark-mode .chat-expand-btn {
    background: transparent;
}

.chat-rate {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}
.dark-mode .chat-rate {
    border-top-color: rgba(148, 163, 184, 0.3);
}
.chat-rate-label {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-right: auto;
}
.chat-rate-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.chat-rate-btn:hover {
    opacity: 1;
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.dark-mode .chat-rate-btn:hover {
    background: rgba(148, 163, 184, 0.18);
    border-color: rgba(148, 163, 184, 0.4);
}
.chat-rate-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 1px;
    opacity: 1;
}
