/* Local styles for the [zelfdiagnose] shortcode. No external assets. */
.zd {
    --zd-ink: #292a28;
    --zd-muted: #575952;
    --zd-paper: #f7f6f2;
    --zd-line: #ddded6;
    --zd-red: #922126;
    --zd-focus: #2367b5;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    color: var(--zd-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    text-align: left;
}

.zd *,
.zd *::before,
.zd *::after {
    box-sizing: border-box;
}

.zd [hidden] {
    display: none !important;
}

.zd a {
    color: var(--zd-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.zd a:hover {
    text-decoration-thickness: 2px;
}

.zd :is(a, summary):focus-visible {
    outline: 3px solid var(--zd-focus);
    outline-offset: 4px;
}

.zd :is(h2, h3, h4, h5, p, ul, ol, dl) {
    margin-top: 0;
}

.zd :is(p, ul, ol, dl) {
    margin-bottom: 1rem;
}

.zd :is(h2, h3, h4, h5) {
    color: var(--zd-ink);
    font-family: inherit;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
}

.zd .zd__header {
    margin-bottom: 1.75rem;
}

.zd .zd__introduction {
    margin-bottom: 1.75rem;
    padding: 1.75rem;
    border: 1px solid #d8d6ca;
    border-radius: 6px;
    /*background: #eeece4;*/
    background: #f0e9e9;
    background: var(--red);

    *{
        color: #fff !important;
    }
}

.zd .zd__introduction .zd__header {
    margin-bottom: 1.25rem;
}

.zd .zd__introduction .zd__scope {
    margin-bottom: 0;
    border-left-color: #c1bfb1;
}

.zd .zd__context-toggle {
    cursor: pointer;
}

.zd .zd__context-toggle .zd__context-title {
    display: inline;
    margin: 0;
}

.zd .zd__context-toggle:focus-visible {
    outline: 3px solid #2367b5;
    outline-offset: 3px;
}

.zd .zd__form {
  margin-bottom: 1.75rem;
  padding: 1.75rem;
  border: 1px solid #d8d6ca;
  border-radius: 6px;
  /*background: #eeece4;*/
  background: #fff;
}

.zd .zd__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--zd-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.zd .zd__title {
    margin: 0 0 1rem;
    font-size: clamp(27px, 4vw, 38px);
    letter-spacing: -0.6px;
}

.zd .zd__intro {
    max-width: 70ch;
    margin-bottom: 1rem;
    font-size: 18px;
}

.zd .zd__scope,
.zd .zd__disclaimer,
.zd .zd__help,
.zd .zd__confidence {
    color: var(--zd-muted);
    font-size: 15px;
}

.zd .zd__scope {
    padding-left: 1rem;
    border-left: 3px solid var(--zd-line);
}

.zd .zd__summary > summary {
    min-height: 44px;
    padding: 0.65rem 0;
    font-weight: 700;
    cursor: pointer;
}

.zd .zd__stage,
.zd .zd__result {
    min-width: 0;
    padding: 1.75rem;
    border: 1px solid var(--zd-line);
    border-radius: 6px;
    background: #fff;
}

.zd .zd__stage > .zd__result {
    padding: 0;
    border: 0;
}

.zd .zd__stage.zd__stage--welcome {
    display: flex;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
}

.zd .zd__progress {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--zd-line);
    color: var(--zd-muted);
    font-size: 14px;
}

.zd .zd__step-label {
    margin-bottom: 0.65rem;
    color: var(--zd-muted);
    font-size: 14px;
    font-weight: 700;
}

.zd .zd__question {
    margin: 0 0 0.75rem;
    font-size: clamp(22px, 3vw, 28px);
}

.zd .zd__help {
    margin-bottom: 1.25rem;
}

.zd .zd__notice,
.zd .zd__noscript {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid #8c681f;
    background: #fbf5e7;
    color: #51411d;
    font-size: 15px;
}

.zd .zd__notice > :last-child,
.zd .zd__noscript > :last-child {
    margin-bottom: 0;
}

.zd .zd__status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.zd .zd__result > h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(25px, 3.5vw, 32px);
    letter-spacing: -0.3px;
}

.zd .zd__conclusion {
    padding: 1.5rem;
    border: 1px solid #d5dde3;
    border-radius: 4px;
    background: #eef2f5;
}

.zd .zd__conclusion .zd__confidence {
    margin-bottom: 0;
}

.zd .zd__badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid #bdc6ce;
    border-radius: 4px;
    background: #e4e9ed;
    color: #3f4b55;
    font-size: 13px;
    font-weight: 700;
}

.zd .zd__badge--critical {
    border-color: #e1b6b8;
    background: #fcebec;
    color: #8d2025;
}

.zd .zd__badge--high {
    border-color: #e4ce9f;
    background: #fcf4e3;
    color: #765216;
}

.zd .zd__section {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--zd-line);
}

.zd .zd__section-title {
    margin-bottom: 0.8rem;
    font-size: 21px;
}

.zd .zd__section-title--numbered {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.zd .zd__section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 26px;
    line-height: 1;
}

.zd .zd__section-label {
    min-width: 0;
    padding-top: 0.5rem;
}

.zd .zd__list,
.zd .zd__steps {
    margin-left: 0;
    padding-left: 1.5rem;
}

.zd .zd__list > li {
    padding-left: 0.25rem;
    margin-bottom: 0.65rem;
}

.zd .zd__steps > .zd__step {
    margin-bottom: 1.2rem;
    padding-left: 0.35rem;
}

.zd .zd__step::marker {
    font-weight: 700;
    color: var(--zd-red);
}

.zd .zd__step > h5 {
    margin-bottom: 0.5rem;
    font-size: 17px;
}

.zd .zd__step > :last-child {
    margin-bottom: 0;
}

.zd .zd__risk {
    display: inline-block;
    margin: 0 0 0.45rem;
    color: var(--zd-muted);
    font-size: 13px;
    font-weight: 700;
}

.zd .zd__risk--careful {
    color: #765216;
}

.zd .zd__risk--specialist {
    color: var(--zd-red);
}

.zd .zd__summary {
    margin: 1rem 0;
}

.zd .zd__summary-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
    gap: 0.5rem 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--zd-line);
    font-size: 15px;
}

.zd .zd__summary-row dt {
    font-weight: 700;
}

.zd .zd__summary-row dd {
    margin: 0;
}

.zd .zd__sources {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
}

.zd .zd__sources li {
    margin: 0;
    padding: 0;
}

.zd .zd__sources a {
    display: inline-block;
    min-height: 44px;
    padding: 0.5rem 0;
    line-height: 1.5;
}

.zd .zd__report-section .zd__help,
.zd .zd__navigation .zd__help {
    margin-bottom: 1rem;
}

.zd .zd__report-section .zd__summary {
    margin: 0;
    padding: 0 1rem;
    border: 1px solid var(--zd-line);
    border-radius: 4px;
    background: var(--zd-paper);
}

.zd .zd__report-section .zd__summary > summary {
    min-height: 48px;
    padding: 0.75rem 0;
}

.zd .zd__report-section .zd__summary[open] {
    padding-bottom: 1rem;
}

.zd .zd__handoff {
    margin-top: 1.75rem;
    padding: 1.25rem;
    border-left: 3px solid var(--zd-red);
    background: var(--zd-paper);
}

.zd .zd__handoff > :last-child {
    margin-bottom: 0;
}

.zd .zd__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem 1.5rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--zd-line);
    color: var(--zd-muted);
    font-size: 16px;
}

.zd .zd__contact-copy {
    min-width: 0;
}

.zd .zd__contact-copy .zd__section-title {
    margin-bottom: 0.6rem;
}

.zd .zd__contact-copy > p {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .zd {
        margin: 1.25rem auto;
        font-size: 16px;
    }

    .zd .zd__intro {
        font-size: 17px;
    }

    .zd .zd__introduction,
    .zd .zd__conclusion,
    .zd .zd__stage,
    .zd .zd__result,
    .zd .zd__form {
        padding: 1.15rem;
    }

    .zd .zd__summary-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .zd .zd__handoff {
        padding: 1rem;
    }

    .zd .zd__footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}


@media (prefers-reduced-motion: reduce) {
    .zd,
    .zd * {
        scroll-behavior: auto;
        animation: none;
        transition: none;
    }
}

.zd .zd__footer > .zd__disclaimer {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--zd-line);
    font-size: 15px;
}
