/* InHouse-ICT Statuspagina — weergave */
.ihs {
	--ihs-navy: #0B1F33;
	--ihs-text: #3B4A5C;
	--ihs-muted: #5B6878;
	--ihs-line: #E2E6EB;
	--ihs-soft: #F4F6F8;
	--ihs-none: #DCE3EA;
	--ihs-ok: #0E7C66;
	--ihs-ok-dark: #0A5E4D;
	--ihs-ok-bg: #E7F4F0;
	--ihs-warn: #B45309;
	--ihs-warn-bg: #FDF1E3;
	--ihs-bad: #B91C1C;
	--ihs-bad-bg: #FCE8E8;
	--ihs-maint: #1D4ED8;
	--ihs-maint-bg: #E8EEFC;
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--ihs-text);
	font-size: 17px;
	line-height: 1.6;
	box-sizing: border-box;
}
.ihs *, .ihs *::before, .ihs *::after { box-sizing: border-box; }
.ihs p, .ihs h2, .ihs h3, .ihs ol, .ihs ul { margin: 0; }

.ihs-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ihs-ok); margin-bottom: 12px !important; }
.ihs-h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ihs-navy); }
.ihs-h2--gap { margin-bottom: 40px !important; }
.ihs-h3 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ihs-navy); margin-bottom: 8px !important; }
.ihs-h3--gap { margin-bottom: 12px !important; }
.ihs-muted { font-size: 15px; color: var(--ihs-muted); }
.ihs-link { color: var(--ihs-ok); font-weight: 600; text-decoration: none; }
.ihs-link:hover { color: var(--ihs-ok-dark); text-decoration: underline; }
.ihs-empty { padding: 24px 0; color: var(--ihs-muted); }

/* Kleuren per status */
.ihs-bg--operational { background: var(--ihs-ok); }
.ihs-bg--degraded { background: var(--ihs-warn); }
.ihs-bg--outage { background: var(--ihs-bad); }
.ihs-bg--maintenance { background: var(--ihs-maint); }
.ihs-bg--none { background: var(--ihs-none); }

/* Totaalstatus */
.ihs-banner { background: #FFFFFF; border-radius: 20px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--ihs-line); }
.ihs-banner-main { display: flex; align-items: center; gap: 18px; }
.ihs-banner-icon { width: 52px; height: 52px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ihs-ok-bg); color: var(--ihs-ok); }
.ihs-banner-icon svg { width: 26px; height: 26px; }
.ihs-banner--degraded .ihs-banner-icon { background: var(--ihs-warn-bg); color: var(--ihs-warn); }
.ihs-banner--outage .ihs-banner-icon { background: var(--ihs-bad-bg); color: var(--ihs-bad); }
.ihs-banner--maintenance .ihs-banner-icon { background: var(--ihs-maint-bg); color: var(--ihs-maint); }
.ihs-banner--degraded { box-shadow: inset 6px 0 0 var(--ihs-warn); }
.ihs-banner--outage { box-shadow: inset 6px 0 0 var(--ihs-bad); }
.ihs-banner--maintenance { box-shadow: inset 6px 0 0 var(--ihs-maint); }
.ihs-banner-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.25; color: var(--ihs-navy); }
.ihs-banner-sub { font-size: 15px; color: var(--ihs-muted); margin-top: 2px !important; }

/* Diensten */
.ihs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.ihs-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ihs-muted); }
.ihs-legend li { display: flex; align-items: center; gap: 8px; }
.ihs-swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.ihs-card { border: 1px solid var(--ihs-line); border-radius: 20px; padding: 8px 32px; background: #FFFFFF; }
.ihs-service { padding: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.ihs-service + .ihs-service { border-top: 1px solid var(--ihs-line); }
.ihs-service-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ihs-service-name { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ihs-navy); }
.ihs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ihs-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ihs-pill--operational { background: var(--ihs-ok-bg); color: var(--ihs-ok-dark); }
.ihs-pill--degraded { background: var(--ihs-warn-bg); color: #8A3F05; }
.ihs-pill--outage { background: var(--ihs-bad-bg); color: #991515; }
.ihs-pill--maintenance { background: var(--ihs-maint-bg); color: var(--ihs-maint); }
.ihs-bars { display: flex; gap: 3px; height: 34px; }
.ihs-bar { flex: 1 1 0; min-width: 0; border-radius: 2px; transition: opacity 0.15s ease; }
.ihs-bar:hover { opacity: 0.7; }
.ihs-bars-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ihs-muted); }
.ihs-from-30 { display: none; }

/* Meldingen */
.ihs-incident { background: #FFFFFF; border-radius: 20px; padding: 32px; margin-bottom: 24px; border: 1px solid var(--ihs-line); }
.ihs-incident--outage { box-shadow: inset 6px 0 0 var(--ihs-bad); }
.ihs-incident--degraded { box-shadow: inset 6px 0 0 var(--ihs-warn); }
.ihs-incident-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.ihs-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 16px !important; }
.ihs-incident-top .ihs-tag { margin-bottom: 0 !important; }
.ihs-tag--maintenance { background: var(--ihs-maint-bg); color: var(--ihs-maint); }
.ihs-tag--degraded { background: var(--ihs-warn-bg); color: #8A3F05; }
.ihs-tag--outage { background: var(--ihs-bad-bg); color: #991515; }
.ihs-affected { font-size: 15px; font-weight: 600; color: var(--ihs-navy); margin-bottom: 8px !important; }
.ihs-content p { margin-bottom: 12px; }
.ihs-content p:last-child { margin-bottom: 0; }
.ihs-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.ihs-panel { background: #FFFFFF; border-radius: 20px; padding: 32px; min-width: 0; }
.ihs-panel--maint { flex: 1 1 340px; }
.ihs-panel--past { flex: 1.4 1 420px; }
.ihs-when { margin-bottom: 12px !important; }
.ihs-maint--next { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--ihs-line); }
.ihs-past { padding: 16px 0; border-top: 1px solid var(--ihs-line); }
.ihs-past summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.ihs-past summary::-webkit-details-marker { display: none; }
.ihs-past summary:focus-visible { outline: 2px solid var(--ihs-ok); outline-offset: 4px; border-radius: 4px; }
.ihs-past-title { font-weight: 600; color: var(--ihs-navy); }
.ihs-past-state { font-size: 14px; font-weight: 600; color: var(--ihs-ok-dark); }
.ihs-past > .ihs-muted { margin-top: 4px !important; }
.ihs-past-body { margin-top: 16px; padding: 16px 20px; background: var(--ihs-soft); border-radius: 12px; font-size: 16px; }

/* Tijdlijn */
.ihs-timeline { list-style: none; padding: 0; margin-top: 20px !important; border-left: 2px solid var(--ihs-line); }
.ihs-timeline li { position: relative; padding: 0 0 18px 20px; font-size: 16px; }
.ihs-timeline li:last-child { padding-bottom: 0; }
.ihs-timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--ihs-navy); }
.ihs-timeline-head { margin-bottom: 2px !important; }
.ihs-timeline-head strong { color: var(--ihs-navy); }
.ihs-timeline-head time { font-size: 14px; color: var(--ihs-muted); margin-left: 6px; }

@media (max-width: 767px) {
	.ihs-h2 { font-size: 30px; }
	.ihs-banner { padding: 22px 20px; }
	.ihs-banner-title { font-size: 20px; }
	.ihs-card { padding: 4px 20px; }
	.ihs-panel, .ihs-incident { padding: 24px 20px; }
	/* Op een telefoon alleen de laatste 30 dagen. */
	.ihs-bar:nth-child(-n+60) { display: none; }
	.ihs-from-90 { display: none; }
	.ihs-from-30 { display: inline; }
	.ihs-bars-legend span:nth-child(3) { display: none; }
}
