*, *::before, *::after { margin: 0; padding: 0; }
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
    padding: 20px 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface2);
}
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 10px; letter-spacing: 1.2px; }
.hero h1 { margin-bottom: 8px; color: var(--text); font-size: 28px; font-weight: 700; letter-spacing: -.8px; line-height: 1.2; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 680px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hero-actions .button { min-height: 44px; padding: 9px 16px; font-size: 12px; gap: 9px; }
.hero-visual { display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero-visual svg { width: 100%; max-width: 200px; height: auto; }
.visual-surface { fill: var(--surface); stroke: var(--border); }
.visual-tint { fill: var(--surface2); }
.visual-line { stroke: var(--border); }
.visual-blue { stroke: var(--brand-blue); }
.visual-light { fill: var(--brand-light); }
.monitor-section { scroll-margin-top: 18px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { font-size: 22px; letter-spacing: -.6px; line-height: 1.3; }
.section-heading p { margin-top: 7px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.section-tag { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); background: var(--surface2); font-size: 11px; font-weight: 500; }
.section-tag i { color: var(--accent); }
.status-banner { display: flex; align-items: center; gap: 12px; padding: 17px 20px; margin-bottom: 16px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.6; }
.status-banner.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-border); }
.status-banner.err { background: var(--err-bg); color: var(--err); border: 1px solid var(--err-border); }
.status-banner.warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }
.status-banner.loading { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); }
.banner-icon { font-size: 20px; flex-shrink: 0; }
.refresh-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 0 2px; margin: 20px 0 12px; }
.section-label { margin-right: auto; color: var(--text-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.last-update { color: var(--text-muted); font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
#next-refresh { padding-left: 14px; border-left: 1px solid var(--border); }
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; background: var(--surface); box-shadow: var(--shadow); scrollbar-color: var(--brand-light) var(--surface2); }
table { width: 100%; min-width: 770px; border-collapse: collapse; font-size: 14px; }
thead { background: var(--surface2); }
th { padding: 16px 22px; text-align: left; color: var(--text-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 18px 22px; color: var(--text); vertical-align: middle; }
tbody tr { position: relative; border-bottom: 1px solid var(--border); transition: background .15s; cursor: default; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface2); }
.td-name { font-weight: 650; font-size: 14px; white-space: nowrap; }
.td-muted { color: var(--text-muted); font-size: 12px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-border); }
.badge.err { background: var(--err-bg); color: var(--err); border: 1px solid var(--err-border); }
.badge.warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.dot-ok { background: var(--ok); }
.dot-err { background: var(--err); }
.dot-warn { background: var(--warn); }
.sparkline { display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 18px; color: var(--text-muted); font-size: 11px; line-height: 1.6; }
.legend-label { font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.mobile-table-hint { display: none; color: var(--text-muted); font-size: 11px; }
.information-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 28px; margin-top: 48px; }
.information-card { min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface2); }
.information-card h2 { margin: 10px 0 14px; font-size: 21px; letter-spacing: -.5px; }
.information-card p { color: var(--text-muted); font-size: 13px; line-height: 1.85; }
.service-explainer { display: grid; gap: 14px; margin: 20px 0; }
.service-explainer div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; }
.service-explainer dt { color: var(--text); font-size: 12px; font-weight: 650; line-height: 1.7; }
.service-explainer dd { color: var(--text-muted); font-size: 12px; line-height: 1.7; }
.information-card .source-note { padding-top: 16px; border-top: 1px solid var(--border); font-size: 11px; }
.contact-card { background: var(--surface); }
.contact-main { display: flex; align-items: center; gap: 14px; margin: 24px 0 20px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface2); }
.contact-icon { display: flex; justify-content: center; align-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--surface); color: var(--accent); font-size: 18px; }
.contact-main a { display: inline-block; color: var(--accent); font-size: 27px; font-weight: 700; letter-spacing: -.8px; text-decoration: none; }
.contact-main p { font-size: 11px; line-height: 1.7; }
.contact-main .contact-availability { margin-left: auto; color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.contact-list { display: grid; gap: 14px; list-style: none; margin-top: 22px; }
.contact-list li { display: grid; gap: 4px; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
.contact-list strong { color: var(--text); font-weight: 600; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
footer { padding: 30px 28px; border-top: 1px solid var(--border); background: var(--surface2); }
.footer-inner { max-width: 1184px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand img { display: block; width: 170px; height: auto; }
.footer-brand p { color: var(--text-muted); font-size: 11px; line-height: 1.6; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.logos img { display: block; height: auto; max-width: 100%; }
.logo-marcus img { width: 223px; }
.logo-kamsoft img { width: 155px; }
.partners-label { color: var(--text-muted); font-size: 11px; }
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 16px 28px; border-top: 1px solid var(--border); background: var(--surface); box-shadow: 0 -4px 24px rgba(20,45,80,.06); color: var(--text-muted); font-size: 12px; line-height: 1.7; }
.cookie-bar span { max-width: 900px; }
.cookie-btn { min-height: 44px; flex-shrink: 0; padding: 10px 22px; border: none; border-radius: var(--radius-sm); background: var(--brand-blue); color: #FFFFFF; font-size: 13px; font-weight: 600; cursor: pointer; }
.cookie-btn:hover { background: #2D64AE; }
.popover { display: none; position: fixed; z-index: 200; min-width: 280px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 32px rgba(20,45,80,.15); pointer-events: none; }
.popover.visible { display: block; }
.popover.mobile { left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; min-width: unset; width: 100%; padding: 20px; border-radius: var(--radius) var(--radius) 0 0; pointer-events: all; }
.popover-title { margin-bottom: 12px; color: var(--text-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.popover-close { float: right; padding: 0; border: none; background: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 320px; padding: 14px 18px; border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(20,45,80,.15); color: #FFFFFF; font-size: 13px; font-weight: 500; animation: slideIn .25s ease; }
.toast.ok { background: #18744B; }
.toast.err { background: #BD363B; }
.skeleton { height: 12px; border-radius: 4px; background: linear-gradient(90deg,var(--surface2) 25%,var(--border) 50%,var(--surface2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (max-width: 1000px) {
    .hero { grid-template-columns: minmax(0, 1fr) 160px; padding: 18px 24px; gap: 18px; }
    .hero h1 { font-size: 26px; }
    th, td { padding-left: 18px; padding-right: 18px; }
    .information-grid { gap: 20px; }
    .information-card { padding: 24px; }
    .contact-main { padding: 16px; gap: 10px; }
}
@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; padding: 18px 22px; }
    .hero h1 { font-size: 26px; }
    .hero-visual { display: none; }
    .hero p { max-width: 560px; }
    .information-grid { grid-template-columns: 1fr; margin-top: 32px; }
    .section-heading h2 { font-size: 20px; }
    .section-tag { display: none; }
    .mobile-table-hint { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; }
    .footer-inner { flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 480px) {
    .hero { padding: 16px 18px; border-radius: 14px; margin-bottom: 20px; }
    .hero .eyebrow { font-size: 9px; letter-spacing: .8px; margin-bottom: 6px; }
    .hero h1 { font-size: 24px; letter-spacing: -.6px; }
    .hero p { font-size: 12px; }
    .hero-actions { flex-wrap: nowrap; gap: 8px; margin-top: 10px; }
    .hero-actions .button { width: auto; min-width: 0; padding: 9px 10px; font-size: 11px; gap: 6px; }
    .status-banner { padding: 14px; font-size: 12px; gap: 10px; }
    .refresh-bar { align-items: flex-start; gap: 8px; }
    .section-label { width: 100%; }
    #last-update { width: 100%; }
    #next-refresh { border: 0; padding: 0; }
    .legend { gap: 8px 14px; }
    .legend-label { width: 100%; }
    .information-card { padding: 22px; }
    .information-card h2 { font-size: 20px; }
    .service-explainer div { grid-template-columns: 78px 1fr; }
    .contact-main .contact-availability { font-size: 10px; }
    .contact-icon { width: 34px; height: 34px; font-size: 15px; }
    .cookie-bar { padding: 16px; gap: 12px; flex-wrap: wrap; justify-content: flex-start; font-size: 11px; }
    .toast-container { bottom: 16px; right: 16px; left: 16px; }
    .toast { max-width: 100%; }
    footer { padding: 26px 16px; }
    .partners-label { width: 100%; }
}
