/* Statuspagina (1.76.161): /status/, de statusregel als link en de portaalbalk bij een storing */

/* Statusregel (menu, portaalvoet) is nu een link naar /status/ */
a.nsl-status, .nsl-nav__list a.nsl-status, .nsl-nav__list a.nsl-status:hover { display: inline-flex; padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; text-decoration: none; }
a.nsl-status:hover .nsl-status__l > span { text-decoration: underline; text-underline-offset: 3px; }
.nsl-status.is-maint i { background: #8a5ce6; }

/* Kop: de stand in één regel */
.nsl-sph { display: inline-flex; align-items: center; gap: .32em; }
.nsl-sph i { flex: none; width: .3em; height: .3em; border-radius: 50%; background: #05d9e8; animation: nslMxPulse 1.8s ease-in-out infinite; }
.nsl-sph.is-partial i { background: #fcee0a; }
.nsl-sph.is-down i { background: #ff2a6d; animation-duration: .8s; }
.nsl-sph.is-maint i { background: #8a5ce6; }
@media (prefers-reduced-motion: reduce) { .nsl-sph i { animation: none; } }

.nsl-sp { --sp-ok: #05d9e8; --sp-deg: #fcee0a; --sp-down: #ff2a6d; --sp-maint: #8a5ce6; --sp-none: rgba(255, 255, 255, .07); padding-top: 28px; }
.nsl-sp__h { margin: 46px 0 16px; }
.nsl-sp > .nsl-wrap > .nsl-sp__h:first-child { margin-top: 0; }
.nsl-sp__headrow { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 46px 0 16px; }
.nsl-sp__headrow .nsl-sp__h { margin: 0; }
.nsl-sp > .nsl-wrap > .nsl-sp__headrow:first-child { margin-top: 0; }
.nsl-sp__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font: 500 .74rem/1 var(--f-mono); color: var(--dim); }
.nsl-sp__legend span { display: inline-flex; align-items: center; gap: 6px; }
.nsl-sp__legend span::before { content: ""; width: 8px; height: 14px; border-radius: 2px; background: var(--sp-ok); }
.nsl-sp__legend .is-deg::before { background: var(--sp-deg); }
.nsl-sp__legend .is-down::before { background: var(--sp-down); }
.nsl-sp__legend .is-maint::before { background: var(--sp-maint); }
.nsl-sp__legend .is-none::before { background: var(--sp-none); }

/* Storing en onderhoud */
.nsl-sp-inc { margin: 0 0 14px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--sp-deg); background: rgba(19, 16, 33, .62); }
.nsl-sp-inc.is-major { border-left-color: var(--sp-down); }
.nsl-sp-inc.is-maint { border-left-color: var(--sp-maint); }
.nsl-sp-inc header h3 { margin: 6px 0 4px; font-size: 1.25rem; }
.nsl-sp-inc header p { margin: 0; color: var(--muted); font-size: .92rem; }
.nsl-sp-inc__tag { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sp-deg); }
.nsl-sp-inc.is-major .nsl-sp-inc__tag { color: var(--sp-down); }
.nsl-sp-inc.is-maint .nsl-sp-inc__tag { color: #b89cf5; }

.nsl-sp-tl { list-style: none; margin: 16px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--line-2); display: grid; gap: 14px; }
.nsl-sp-tl li { position: relative; }
.nsl-sp-tl li::before { content: ""; position: absolute; left: -22.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.nsl-sp-tl li:first-child::before { background: #fff; }
.nsl-sp-tl b { color: #fff; font-size: .95rem; }
.nsl-sp-tl time { margin-left: 10px; font: 500 .78rem var(--f-mono); color: var(--dim); }
.nsl-sp-tl p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* Onderdelen met 90 dagen */
.nsl-sp-group { margin: 0 0 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(19, 16, 33, .5); overflow: hidden; }
.nsl-sp-group__h { margin: 0; padding: 14px 20px 0; font: 600 .74rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.nsl-sp-row { padding: 14px 20px 16px; }
.nsl-sp-row + .nsl-sp-row { border-top: 1px solid var(--line); }
.nsl-sp-row__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.nsl-sp-row__name { display: grid; gap: 2px; min-width: 0; }
.nsl-sp-row__name b { color: #fff; font: 600 1rem var(--f-display); }
.nsl-sp-row__name small { color: var(--muted); font-size: .85rem; }
.nsl-sp-row.is-child { padding-left: 34px; padding-top: 10px; padding-bottom: 12px; }
.nsl-sp-row.is-child .nsl-sp-row__name b { font-size: .9rem; font-weight: 500; color: #dcd7f0; }
.nsl-sp-row.is-child .nsl-sp-bars { height: 18px; }

.nsl-sp-state { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 600 .85rem/1 var(--f-display); color: var(--sp-ok); white-space: nowrap; }
.nsl-sp-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nsl-sp-state.is-deg { color: var(--sp-deg); }
.nsl-sp-state.is-down { color: var(--sp-down); }
.nsl-sp-state.is-maint { color: #b89cf5; }
.nsl-sp-state.is-unknown { color: var(--dim); }

.nsl-sp-bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 30px; }
.nsl-sp-bars i { display: block; border-radius: 2px; background: var(--sp-ok); opacity: .85; transition: opacity .15s, transform .15s; }
.nsl-sp-bars i:hover { opacity: 1; transform: scaleY(1.08); }
.nsl-sp-bars i.is-deg { background: var(--sp-deg); }
.nsl-sp-bars i.is-down { background: var(--sp-down); }
.nsl-sp-bars i.is-maint { background: var(--sp-maint); }
.nsl-sp-bars i.is-none { background: var(--sp-none); opacity: 1; }
.nsl-sp-row__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font: 500 .74rem/1.2 var(--f-mono); color: var(--dim); }
.nsl-sp-row__foot span:nth-child(2) { color: var(--muted); }
.nsl-sp-30 { display: none; }

/* Geschiedenis */
.nsl-sp-quiet { display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); color: var(--muted); }
.nsl-sp-hist { list-style: none; margin: 0; padding: 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.nsl-sp-hist > li + li { border-top: 1px solid var(--line); }
.nsl-sp-hist summary { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 20px; cursor: pointer; list-style: none; }
.nsl-sp-hist summary::-webkit-details-marker { display: none; }
.nsl-sp-hist summary:hover { background: rgba(255, 255, 255, .02); }
.nsl-sp-hist summary time { font: 500 .8rem var(--f-mono); color: var(--dim); }
.nsl-sp-hist__t { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--sp-deg); }
.nsl-sp-hist__t.is-major { border-left-color: var(--sp-down); }
.nsl-sp-hist__t.is-maint { border-left-color: var(--sp-maint); }
.nsl-sp-hist__t b { color: #fff; font-weight: 600; }
.nsl-sp-hist__t small { color: var(--muted); font-size: .85rem; }
.nsl-sp-hist details .nsl-sp-tl { margin: 0 20px 18px 104px; }

/* Abonneren */
.nsl-sp-sub { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; margin-top: 56px; padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(19, 16, 33, .62); scroll-margin-top: 110px; }
.nsl-sp-sub__text h2 { margin: 0 0 8px; }
.nsl-sp-sub__text p { margin: 0; }
.nsl-sp-sub__form { display: grid; gap: 14px; align-content: start; }
.nsl-sp-sub__groups { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; border: 0; }
.nsl-sp-sub__groups .nsl-check { align-items: center; color: var(--text); }
.nsl-sp-sub__form .nsl-btn { justify-self: start; }
.nsl-sp-sub__form small { font-size: .82rem; }
.nsl-sp-foot { margin-top: 28px; text-align: center; font-size: .92rem; }

@media (max-width: 760px) {
	.nsl-sp-bars { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; height: 26px; }
	.nsl-sp-bars i.is-old { display: none; }
	.nsl-sp-90 { display: none; }
	.nsl-sp-30 { display: inline; }
	.nsl-sp-row { padding: 14px 16px; }
	.nsl-sp-row.is-child { padding-left: 24px; }
	.nsl-sp-group__h { padding: 14px 16px 0; }
	.nsl-sp-sub { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
	.nsl-sp-hist summary { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
	.nsl-sp-hist details .nsl-sp-tl { margin: 0 16px 16px 22px; }
	.nsl-sp-inc { padding: 18px 16px; }
}

/* Portaal: balk bij een storing of onderhoud dat jouw diensten raakt (geen gekleurd vlak, alleen een rand) */
.nsl-banner.nsl-spb { background: rgba(19, 16, 33, .72); border: 1px solid var(--app-line, var(--line-2)); border-left: 3px solid #fcee0a; }
.nsl-banner.nsl-spb--down { border-left-color: #ff2a6d; }
.nsl-banner.nsl-spb--maint { border-left-color: #8a5ce6; }
.nsl-banner.nsl-spb b { color: #fff; }
.nsl-banner.nsl-spb a { color: #c7b2f5; }
.nsl-banner.nsl-spb small { color: var(--app-muted, var(--muted)); }
