.dpk-tool {
    --dpk-ink: #172e32;
    --dpk-accent: #195750;
    --dpk-line: #b5c9c4;
    margin: 1.4em 0;
    padding: clamp(1rem, 4vw, 1.6rem);
    border: 1px solid var(--dpk-line);
    border-radius: .85rem;
    background: #f3f8f6;
    color: var(--dpk-ink);
    text-align: start;
}
.dpk-tool *, .dpk-tool { box-sizing: border-box; }
.dpk-tool [hidden] { display: none !important; }
.dpk-tool .dpk-progress {
    margin: 0 0 .6rem;
    color: var(--dpk-accent);
    font-size: .9rem;
    font-weight: 600;
}
.dpk-tool .dpk-step {
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.dpk-tool legend, .dpk-tool .dpk-result-title {
    margin: 0 0 .75rem;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
}
.dpk-tool .dpk-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    margin: 0 0 .45rem;
    padding: .5rem .7rem;
    border: 1px solid var(--dpk-line);
    border-radius: .45rem;
    background: #fff;
    color: var(--dpk-ink);
    cursor: pointer;
}
.dpk-tool input[type=radio] {
    appearance: auto;
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--dpk-accent);
}
.dpk-tool .dpk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .85rem 0 0;
}
.dpk-tool button {
    min-height: 2.75rem;
    padding: .55rem .8rem;
    border: 1px solid var(--dpk-accent);
    border-radius: .45rem;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
    cursor: pointer;
}
.dpk-tool .dpk-primary { background: var(--dpk-accent); color: #fff; }
.dpk-tool .dpk-secondary { background: #fff; color: var(--dpk-accent); }
.dpk-tool :focus-visible {
    outline: 2px solid #365aa7;
    outline-offset: 2px;
}
.dpk-tool .dpk-result-detail, .dpk-tool .dpk-result-note { margin: 0 0 .75rem; }
.dpk-tool .dpk-result-note, .dpk-tool .dpk-status { font-size: .9rem; }
.dpk-tool .dpk-summary-label { display: block; margin-bottom: .35rem; font-weight: 600; }
.dpk-tool .dpk-summary {
    display: block;
    width: 100%;
    padding: .6rem;
    border: 1px solid var(--dpk-line);
    border-radius: .45rem;
    background: #fff;
    color: var(--dpk-ink);
    font: inherit;
    resize: vertical;
}
.dpk-tool .dpk-status { margin: .5rem 0 0; }
.dpk-tool .dpk-status:empty { margin: 0; }
