.dsth-library {
    --dsth-ink: #292321;
    --dsth-accent: #812d36;
    --dsth-border: #e5d9d4;
    color: var(--dsth-ink);
    font-family: "Noto Serif", Georgia, "Times New Roman", serif;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.dsth-library a { color: var(--dsth-accent); }
.dsth-library a:focus-visible,
.dsth-library button:focus-visible,
.dsth-library input:focus-visible,
.dsth-library select:focus-visible { outline: 2px solid var(--dsth-accent); outline-offset: 3px; }
.dsth-library h2, .dsth-library h3 { font-family: inherit; letter-spacing: normal; text-transform: none; }
.dsth-library h2 { margin: 1.4rem 0 .55rem; font-size: 1.5rem; }
.dsth-library h3 { margin: .15rem 0 .3rem; font-size: 1.2rem; }
.dsth-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: .8rem;
    align-items: end;
    padding: 1rem;
    border: 1px solid var(--dsth-border);
    border-top: 3px solid var(--dsth-accent);
    background: #faf7f4;
}
.dsth-form label { display: block; margin: 0; }
.dsth-form label span { display: block; margin-bottom: .2rem; }
.dsth-form .dsth-search { grid-column: 1 / -1; }
.dsth-form input, .dsth-form select, .dsth-form button {
    width: 100%; min-height: 2.65rem; margin: 0; font: inherit; box-sizing: border-box;
}
.dsth-form button {
    background: var(--dsth-accent); color: white; border: 1px solid var(--dsth-accent);
    text-transform: none; letter-spacing: normal; cursor: pointer;
}
.dsth-nav, .dsth-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .9rem 0; }
.dsth-nav a, .dsth-quick a { display: inline-block; padding: .35rem .75rem; border: 1px solid var(--dsth-border); }
.dsth-nav a[aria-current="page"] { background: var(--dsth-accent); color: white; border-color: var(--dsth-accent); }
.dsth-quick a { border: 0; padding: .2rem .5rem; text-decoration: underline; }
.dsth-row { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--dsth-border); }
.dsth-row p { margin: 0; }
.dsth-thumb { flex: 0 0 min(25%, 8rem); }
.dsth-thumb img, .dsth-file img { display: block; max-width: 100%; height: auto; }
.dsth-meta { font-size: .9rem; color: #674f48; }
.dsth-file { padding: .8rem 0; border-bottom: 1px solid var(--dsth-border); }
.dsth-file strong, .dsth-file img { display: block; margin-bottom: .35rem; }
.dsth-file a { margin-right: .85rem; text-decoration: underline; }
