/* App-specific additions on top of the zonderslop kit (tokens only, no own colours). */
.am-flash { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--zs-radius-sm); background: var(--am-ok); color: var(--am-ok-ink); font-weight: 600; }
.am-errors { margin: 0 0 1.25rem; padding: .9rem 1rem; border-radius: var(--zs-radius-sm); background: var(--am-expired); color: var(--am-expired-ink); }
.am-errors ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.am-field .am-field__error { color: var(--zs-ink); font-weight: 600; }
.am-field [aria-invalid="true"] { outline: 2px solid var(--am-expired); outline-offset: 1px; }
.am-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.am-empty { padding: 2rem 1.25rem; border: 2px dashed var(--zs-line); border-radius: var(--zs-radius); text-align: center; color: var(--zs-muted); }
.am-pager { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.am-pager a, .am-pager span { padding: .45rem .8rem; border: 1px solid var(--zs-line); border-radius: var(--zs-radius-sm); }
.am-pager [aria-current] { background: var(--zs-brand); color: var(--zs-on-brand); border-color: var(--zs-brand); }
.am-prose { max-width: 46rem; }
.am-prose h2 { margin-top: 2rem; }
.am-prose ul, .am-prose ol { padding-left: 1.3rem; }
.am-sources { font-size: .9rem; color: var(--zs-muted); overflow-wrap: anywhere; }
.am-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1.5rem; }
.am-filters .am-field { min-width: 10rem; flex: 1 1 10rem; }
.am-filters .zs-btn { flex: 0 0 auto; }
.am-manage { display: grid; gap: 1rem; max-width: 46rem; }
.am-credits { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); padding: 0; list-style: none; }
.am-credits img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--zs-radius-sm); }
.am-credits p { margin: .35rem 0 0; font-size: .88rem; overflow-wrap: anywhere; }
.am-steps a { display: grid; justify-items: center; gap: .35rem; color: inherit; text-decoration: none; }
.am-steps a:hover, .am-steps a:focus-visible { color: var(--zs-ink); text-decoration: underline; }
.zs-section h1 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.8rem); overflow-wrap: break-word; hyphens: auto; }
.am-detail > * { min-width: 0; }
