/********************************************************
*
* Pluginname:   AS User Updates
* Ordner:       as_user_updates
* Datei:        as_user_updates.css
* Version:      1.06
* Datum:        01.10.2026
* Autor:        Alfred Steckel
* OpenSource: GPL-3.0-or-later
*
*********************************************************/
.asu { --asu-accent: #1794dd; --asu-border: #c7d3d9; font: 15px/1.5 Arial, sans-serif; letter-spacing: 0; }
.asu *, .asu *::before, .asu *::after { box-sizing: border-box; }
.asu [hidden] { display: none !important; }
.asu h2 { font-size: 24px; margin: 0 0 18px; }
.asu-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.asu-filters a { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px; border: 1px solid var(--asu-accent); border-radius: 6px; color: #fff; background: var(--asu-accent); text-decoration: none; font-weight: bold; text-align: center; overflow-wrap: anywhere; }
.asu-filters a:hover, .asu-filters a[aria-current] { background: #0877b4; border-color: #0877b4; }
.asu-filter-panel { border: 1px solid currentColor; border-radius: 8px; padding: 14px; margin: 0 0 18px; font-size: 1rem; line-height: 1.8; }
.asu-category-control { margin: 0 0 12px; }
.asu-category-control label { display: block; margin: 0 0 6px; font-weight: 700; }
.asu-filter-line, .asu-search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.asu-filter-line select { flex: 1 1 320px; min-width: 240px; }
.asu-filter-panel input[type="search"], .asu-filter-panel select { display: block; width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 1px solid #b9c7d1; border-radius: 5px; font: inherit; }
.asu-search { border: 0; border-radius: 0; padding: 0; margin: 0; background: transparent; }
.asu-search input[type="search"] { flex: 1 1 280px; min-width: 220px; }
.asu-filter-button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 118px; flex: 0 0 118px; margin: 0; padding: 0 14px; border: 0; border-radius: 5px; background: #1794dd; color: #fff !important; text-decoration: none; font-size: .95rem; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; }
button.asu-filter-button { appearance: none; -webkit-appearance: none; }
.asu-filter-button.secondary { background: #657783; }
.asu-icon { width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--asu-border); border-radius: 6px; background: transparent; color: inherit; font: bold 23px/1 Arial, sans-serif; cursor: pointer; }
.asu :is(a, button, input, summary):focus-visible { outline: 3px solid #1794dd; outline-offset: 3px; }
.asu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.asu-component { min-width: 0; }
.asu-card { border: 1px solid var(--asu-border); border-radius: 7px; overflow: hidden; min-width: 0; }
.asu-card-media { height: 104px; display: flex; justify-content: center; align-items: center; background: #f1f5f6; }
.asu-card-media img { display: block; width: 72px; height: 72px; object-fit: contain; }
.asu-card-body { padding: 18px; }
.asu-package-kind { margin: 0 0 4px; font-size: 13px; font-weight: bold; }
.asu-card h3 { margin: 0 0 14px; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.asu-card dl { margin: 0 0 18px; }
.asu-card dl > div { margin: 0 0 10px; }
.asu-card dt { font-size: 13px; opacity: .75; }
.asu-card dd { margin: 0; overflow-wrap: anywhere; }
.asu-card .asu-version { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
.asu-card .asu-version dt { font-size: inherit; opacity: 1; }
.asu-actions { display: flex; gap: 10px; align-items: stretch; }
.asu-download { display: inline-flex; flex: 1; min-width: 0; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 8px; color: #fff; background: #1794dd; border: 1px solid #1794dd; border-radius: 6px; text-align: center; text-decoration: none; font-weight: bold; overflow-wrap: anywhere; }
.asu-download:hover { color: #fff; background: #0877b4; }
.asu-download > span { font-size: 23px; flex-shrink: 0; }
.asu-history { margin-top: 10px; }
.asu-history summary { cursor: pointer; padding: 7px 0; }
.asu-history-list { display: grid; gap: 12px; padding-top: 8px; }
.asu-dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 22px; border: 1px solid var(--asu-border); border-radius: 7px; background: #fff; color: #24343b; overflow: auto; font: 15px/1.5 Arial, sans-serif; }
.asu-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.asu-dialog-head { display: flex; gap: 14px; align-items: start; justify-content: space-between; }
.asu-dialog-head h3 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.asu-dialog .asu-icon { flex-shrink: 0; }
.asu-info-date { font-size: 13px; }
.asu-info-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.asu-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.asu-standalone { margin: 0; padding: 28px 20px; background: #fff; color: #24343b; }
.asu-standalone > .asu { max-width: 1120px; margin: 0 auto; }
@media (max-width: 900px) { .asu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .asu-filter-line, .asu-search-row { display: block; } .asu-filter-panel .asu-filter-line select, .asu-filter-panel input[type="search"], .asu-filter-panel .asu-filter-button { width: 100%; min-width: 0; flex: 0 0 auto; margin: 0 0 10px; } }
@media (max-width: 580px) { .asu-grid { grid-template-columns: minmax(0, 1fr); } .asu-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .asu-standalone { padding: 20px 16px; } }
