body {background:#fbf8f1;color:#003b49;margin:0}
[hidden] {display:none!important}
.ts-wrap {max-width:1040px;margin:auto;padding:0 clamp(1.1rem,4vw,3.5rem);box-sizing:border-box}
.ts-header {border-bottom:1px solid #e8dcc3;background:#fffdf7}
.ts-header .ts-wrap {display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px}
.ts-header nav {display:flex;flex-wrap:wrap;gap:clamp(.5rem,2vw,1.4rem);font:600 1rem 'Roboto Condensed',Arial,sans-serif}
.ts-wrap a {color:#1e606b;text-underline-offset:.19em}
.ts-wrap h1,.ts-wrap h2,.ts-wrap h3 {font-family:'Crimson Text',Georgia,serif;color:#003b49;font-weight:600;letter-spacing:-.02em}
.ts-wrap h1 {font-size:clamp(2.65rem,6vw,4.8rem);line-height:1.01;margin:.25em 0}
.ts-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,25%);gap:clamp(1.5rem,5vw,5rem);align-items:center;margin:clamp(1.8rem,5vw,4.5rem) 0}
.ts-hero h1 {hyphens:none;overflow-wrap:normal;text-wrap:balance}
.ts-hero-links {display:flex;align-items:center;flex-wrap:wrap;gap:1rem 1.5rem}
#zugang,#downloads-title {scroll-margin-top:1rem}
.ts-hero p,.ts-card p,.ts-usage {font:400 1.12rem/1.5 'Crimson Text',Georgia,serif}
.ts-hero .ts-lead {font-size:1.47rem;line-height:1.2}
.ts-hero figure {margin:0}
.ts-hero img {width:100%;height:auto;box-shadow:0 9px 22px #003b4925}
.ts-author,.ts-hero .ts-author,.ts-hero figcaption,.ts-sample small,.ts-footer,.ts-fields small {font:400 .96rem/1.35 'Roboto Condensed',Arial,sans-serif}
.ts-hero .ts-author {font-size:1.08rem;margin:0;color:#1e606b}
.ts-hero figcaption {margin-top:.5rem}
.ts-sample {font:600 1.1rem 'Roboto Condensed',Arial,sans-serif}
.ts-sample small {display:inline-block;margin-inline-start:.4rem}
.ts-card {margin:2rem 0;padding:clamp(1.25rem,4vw,2.6rem);border:1px solid #e8dcc3;background:#fffdf7}
.ts-card h2,.ts-card h1 {font-size:clamp(2rem,4vw,2.8rem);margin:0;line-height:1.1}
.ts-card h3 {font-size:1.6rem;margin:2rem 0 .75rem}
.ts-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1.5rem}
.ts-card form,.ts-card button,.ts-card input,.ts-card select,.ts-primary,#notice {font:400 1.04rem/1.4 'Roboto Condensed',Arial,sans-serif}
.ts-fields label {display:flex;flex-direction:column;gap:.3rem;font-weight:600}
.ts-card input:not([type=checkbox]),.ts-card select {box-sizing:border-box;width:100%;min-height:44px;padding:.55rem .7rem;background:#fffdf7;color:#003b49;border:1px solid #819591;border-radius:3px}
.ts-fields small {font-weight:400;color:#315961}
.ts-card fieldset {border:0;border-block-start:1px solid #e8dcc3;margin:1.8rem 0 1rem;padding:1rem 0 0}
.ts-card legend {font-weight:600;padding:0 .7rem 0 0}
.ts-check {display:flex;gap:.7rem;align-items:flex-start;margin:0 0 .8rem;max-width:70ch}
.ts-check input {width:1.15rem;height:1.15rem;flex:none;margin:.12rem 0 0;accent-color:#1e606b}
.ts-detail {margin:1.4rem 0;color:#174b55}
.ts-detail summary {cursor:pointer;font-weight:600}
.ts-detail .ts-fields {margin-top:1rem}
dialog#downloads {box-sizing:border-box;width:min(48rem,calc(100% - 2rem));max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);margin:auto;color:#003b49;overscroll-behavior:contain}
dialog#downloads::backdrop {background:rgb(0 35 44 / .62)}
dialog#downloads.ts-inline-downloads {position:static;width:100%;max-height:none;margin:2rem 0}
.ts-dialog-header {display:flex;align-items:start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.ts-dialog-header button {background:transparent;border:0;color:#1e606b;text-decoration:underline;cursor:pointer;padding:.5rem 0;min-height:44px}
.ts-wrap .ts-primary {display:inline-block;background:#1e606b;color:#fffdf7;padding:.7rem 1.1rem;border:1px solid #1e606b;border-radius:4px;text-decoration:none;cursor:pointer;font-weight:600}
.ts-primary:disabled {opacity:.65;cursor:wait}
.ts-wrap :focus-visible {outline:3px solid #1e606b;outline-offset:3px}
#downloads-title:focus {outline:none}
.ts-status {margin:1rem 0}
.ts-status:empty {display:none}
.ts-status[data-error="true"] {border-inline-start:3px solid #973412;padding:.45rem .7rem;color:#782d14}
#file-list {padding:0;list-style:none}
#file-list li {border-top:1px solid #e8dcc3}
#file-list a {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:1rem;padding:.65rem 0;text-decoration:none}
#file-list a:hover .ts-file-action,#file-list a:focus .ts-file-action {text-decoration-thickness:2px}
#file-list small {grid-column:1;color:#315961}
.ts-file-action {grid-column:2;grid-row:1 / span 2;font:600 1rem 'Roboto Condensed',Arial,sans-serif;text-decoration:underline;text-underline-offset:.19em}
.ts-footer {margin-top:3rem;padding-top:1rem;padding-bottom:1.4rem;border-top:1px solid #e8dcc3}
@media(max-width:590px){.ts-hero{grid-template-columns:1fr}.ts-hero figure{max-width:145px}.ts-fields{grid-template-columns:1fr}.ts-header .ts-wrap{min-height:62px}.ts-header nav{font-size:.95rem}.ts-usage{font-size:1rem}#file-list a{grid-template-columns:1fr}#file-list .ts-file-action{grid-column:1;grid-row:auto;margin-top:.25rem}}
