.smhg-doc {
    --smhg-green: #23463c;
    --smhg-ink: #202924;
    --smhg-border: #b8c8c0;
    color: var(--smhg-ink);
}
.smhg-doc h2 { color: var(--smhg-green); }
.smhg-doc [hidden] { display: none !important; }
.smhg-doc__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: .85rem 1rem;
    padding: 1.15rem;
    border: 1px solid var(--smhg-border);
    background: #f3f7f4;
    border-radius: .6rem;
}
.smhg-doc__form label { display: grid; gap: .3rem; font-weight: 600; min-width: 0; }
.smhg-doc__form input, .smhg-doc__form select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 2.7rem;
    padding: .45rem .6rem;
    border: 1px solid #70877c;
    border-radius: .25rem;
    background: #fff;
    color: var(--smhg-ink);
    font: inherit;
}
.smhg-doc button {
    width: fit-content;
    padding: .5rem .95rem;
    min-height: 2.6rem;
    border: 1px solid var(--smhg-green);
    border-radius: .3rem;
    background: var(--smhg-green);
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.smhg-doc button:disabled { opacity: .6; cursor: default; }
.smhg-doc :is(a, button, input, select, summary, ol):focus-visible {
    outline: 2px solid #12614b;
    outline-offset: 3px;
}
.smhg-doc__status { margin: 1rem 0 .5rem; }
.smhg-doc__results {
    display: grid;
    gap: .9rem;
    margin: 0;
    padding: 0 !important;
    list-style: none !important;
}
.smhg-doc__results > li {
    border: 1px solid var(--smhg-border);
    padding: 1rem;
    border-radius: .45rem;
    overflow-wrap: anywhere;
}
.smhg-doc .smhg-doc__source {
    margin: 0;
    padding: 0;
    font-size: .9em;
    color: var(--smhg-green);
}
.smhg-doc .smhg-doc__title {
    margin: .15rem 0 .5rem;
    padding: 0;
    font-size: 1.17em;
    font-weight: 700;
    white-space: pre-line;
}
.smhg-doc__fields {
    display: grid;
    gap: .5rem 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    margin: 0 0 .8rem;
}
.smhg-doc__fields dt { font-size: .9em; font-weight: 600; }
.smhg-doc__fields dd { white-space: pre-line; margin: 0; }
.smhg-doc a { color: #185945; font-weight: 600; text-decoration: underline; }
.smhg-doc__pager { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .85rem 0; }
.smhg-doc__documents { margin-top: 1.3rem; }
.smhg-doc__documents summary { cursor: pointer; font-weight: 600; }
.smhg-doc__documents ul { margin-top: .65rem; }
@media (max-width: 600px) {
    .smhg-doc__form { grid-template-columns: 1fr; }
}
