.jqfw {
    --jqfw-accent: var(--focus-color, #d23349);
    --jqfw-line: var(--main-border-color, rgba(128, 128, 128, .25));
    --jqfw-muted: var(--muted-color, #666);
    color: inherit;
    max-width: 100%;
}

.jqfw-heading { margin: 0 0 8px; font-size: 22px; line-height: 1.35; }

.jqfw-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--jqfw-line);
}

.jqfw-filters label { display: grid; gap: 5px; min-width: 130px; font-size: 13px; }
.jqfw-filters .jqfw-device-filter { min-width: 220px; }
.jqfw-filters input, .jqfw-filters select {
    width: 100%; min-height: 38px; padding: 6px 10px;
    border: 1px solid var(--jqfw-line); border-radius: 4px;
    background: var(--main-bg-color, transparent); color: inherit;
}
.jqfw-filters button {
    min-height: 38px; padding: 6px 18px; border: 0; border-radius: 4px;
    background: var(--jqfw-accent); color: #fff; cursor: pointer;
}
.jqfw-summary, .jqfw-empty { margin: 15px 0; color: var(--jqfw-muted); }
.jqfw-release { border-bottom: 1px solid var(--jqfw-line); padding: 17px 0; }
.jqfw-release-head, .jqfw-release-foot { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.jqfw-release-head h3 { margin: 4px 0 0; font-size: 19px; line-height: 1.4; }
.jqfw-meta { color: var(--jqfw-muted); font-size: 13px; }
.jqfw-meta span { margin-left: 9px; color: var(--jqfw-accent); }
.jqfw-build { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; white-space: nowrap; }
.jqfw-release-foot { margin-top: 9px; color: var(--jqfw-muted); font-size: 13px; }
.jqfw a { color: var(--jqfw-accent); }
.jqfw details { margin-top: 12px; }
.jqfw summary { cursor: pointer; width: fit-content; color: var(--jqfw-accent); }
.jqfw-table-wrap { overflow-x: auto; margin-top: 12px; }
.jqfw-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.jqfw-table th, .jqfw-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--jqfw-line); }
.jqfw-table th { white-space: nowrap; }
.jqfw-pages { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px 0; }
.jqfw-note { color: var(--jqfw-muted); font-size: 13px; }
.jqfw-article { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--jqfw-line); }

@media (max-width: 600px) {
    .jqfw-filters label { min-width: calc(50% - 6px); flex: 1; }
    .jqfw-filters .jqfw-device-filter { min-width: 100%; }
    .jqfw-filters button { width: 100%; }
    .jqfw-release-head { display: block; }
    .jqfw-build { display: inline-block; margin-top: 7px; }
    .jqfw-release-foot { display: block; }
    .jqfw-release-foot > * { display: block; margin-top: 8px; }
    .jqfw-table, .jqfw-table tbody { display: block; width: 100%; }
    .jqfw-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .jqfw-table tr {
        display: grid; grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--jqfw-line);
    }
    .jqfw-table th, .jqfw-table td { border: 0; padding: 0; min-width: 0; }
    .jqfw-table th[scope="row"] { grid-column: 1; grid-row: 1; }
    .jqfw-table td:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--jqfw-muted); }
    .jqfw-table td:nth-child(3) { grid-column: 1; grid-row: 3; color: var(--jqfw-muted); }
    .jqfw-table td:nth-child(4) { grid-column: 1; grid-row: 4; white-space: nowrap; }
}
