.proces-kop {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d1d1d1;
}

.proces-kop h2,
.proces-kop p { margin: 0; }

.proces-kop p {
    margin-top: 6px;
    color: #4a4a4a;
    line-height: 1.45;
}

.proces-status {
    justify-self: start;
    padding: 4px 8px;
    border: 1px solid #8cbfa3;
    border-radius: 4px;
    color: #0f5f3b;
    background: #e9f5ee;
    font-size: 12px;
    font-weight: 600;
}

.proces-stappen {
    display: grid;
    gap: 0;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.proces-stappen li {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    min-height: 48px;
    color: #666;
}

.proces-stappen li:not(:last-child)::after {
    position: absolute;
    top: 25px;
    bottom: 0;
    left: 13px;
    width: 2px;
    background: #d6d6d6;
    content: "";
}

.proces-stappen li.voltooid:not(:last-child)::after { background: #4c9a70; }

.proces-stap-markering {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #aaa;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.proces-stappen .voltooid .proces-stap-markering {
    border-color: #137247;
    color: #fff;
    background: #137247;
}

.proces-stappen .huidig {
    color: #202020;
}

.proces-stappen .huidig .proces-stap-markering {
    border: 2px solid #0f6cbd;
    color: #0f6cbd;
    background: #eef6fc;
}

.proces-stappen small {
    display: block;
    margin-top: 2px;
    color: #0f6cbd;
}

.proces-ronde,
.proces-vergrendeling,
.proces-geen-actie {
    margin: 12px 0;
    padding: 10px 12px;
    border-left: 3px solid #0f6cbd;
    background: #f3f8fc;
    line-height: 1.4;
}

.proces-vergrendeling {
    border-left-color: #b17800;
    background: #fff8e8;
}

.proces-acties,
.proces-historie {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #d1d1d1;
}

.proces-acties h3,
.proces-historie h3 { margin: 0 0 12px; }

.proces-toelichting {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: 600;
}

.proces-toelichting textarea {
    min-height: 82px;
    padding: 9px 10px;
    resize: vertical;
    border: 1px solid #8a8886;
    border-radius: 2px;
    font: inherit;
    font-weight: 400;
}

.proces-toelichting textarea:focus {
    outline: 2px solid #0f6cbd;
    outline-offset: -2px;
}

.proces-toelichting small { color: #616161; font-weight: 400; }

.proces-actieknoppen { display: grid; gap: 8px; }

.proces-actie {
    display: grid;
    gap: 3px;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    text-align: left;
    border: 1px solid #0f6cbd;
    border-radius: 3px;
    color: #fff;
    background: #0f6cbd;
    cursor: pointer;
}

.proces-actie small { color: inherit; opacity: .9; }

.proces-actie.waarschuwing {
    border-color: #9d5d00;
    color: #6b3e00;
    background: #fff4ce;
}

.proces-actie:disabled { cursor: not-allowed; opacity: .52; }
.proces-actie:not(:disabled):hover { filter: brightness(.94); }

.proces-historie > ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.proces-historie > ol > li {
    padding: 10px;
    border: 1px solid #d1d1d1;
    border-left: 3px solid #4c9a70;
    border-radius: 3px;
    background: #fff;
}

.proces-historie li > div {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.proces-historie time { color: #616161; font-size: 11px; white-space: nowrap; }
.proces-historie p { margin: 5px 0; color: #4a4a4a; }
.proces-historie blockquote { margin: 8px 0; padding: 8px 10px; border-left: 2px solid #9d5d00; background: #fff8e8; }
.proces-historie details { margin-top: 8px; }
.proces-historie dl { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 8px; }
.proces-historie dt { color: #616161; }
.proces-historie dd { margin: 0; overflow-wrap: anywhere; }
.proces-historie code { font-size: 10px; }

@media (max-width: 700px) {
    .proces-kop { grid-template-columns: 1fr; }
    .proces-historie li > div { display: grid; }
    .proces-historie dl { grid-template-columns: 1fr; }
}
