.nova-catalog-tools {
    position:relative; z-index:12; margin:0 0 20px; padding:15px;
    border:1px solid var(--nova-line); border-radius:12px;
    background:var(--nova-bg);
}
@media (min-width:1000px) {
    .nova-catalog-tools {
        position:sticky; top:var(--nova-catalog-top, 87px);
        background:color-mix(in srgb, var(--nova-bg) 94%, transparent);
        backdrop-filter:blur(16px);
    }
}
.nova-catalog-tools-top {display:grid;grid-template-columns:minmax(0,1fr) minmax(190px, 270px);gap:14px;align-items:center}
.nova-catalog-rail,.nova-catalog-chips,.nova-catalog-bottom,.nova-catalog-views,.nova-catalog-status,
.nova-catalog-dialog-head,.nova-catalog-search,.nova-catalog-row {display:flex;align-items:center}
.nova-catalog-rail,.nova-catalog-chips,.nova-catalog-search {min-width:0}
.nova-catalog-rail {gap:5px}
.nova-catalog-chips {
    flex:1;gap:6px;overflow-x:auto;scrollbar-width:none;
    /* Leave room inside the scrollport for button borders and the outer focus ring. */
    padding:6px;margin-block:-6px;scroll-padding-inline:6px;
}
.nova-catalog-chips::-webkit-scrollbar {display:none}
.nova-catalog-tools button,.nova-catalog-dialog button {cursor:pointer}
.nova-catalog-chip,.nova-catalog-more,.nova-catalog-search,.nova-catalog-dialog .nova-catalog-choice {
    background:var(--nova-panel-2); color:var(--nova-muted); border:1px solid var(--nova-line); border-radius:6px;
}
.nova-catalog-chip,.nova-catalog-more {
    display:inline-flex;align-items:center;justify-content:center;flex:none;gap:5px;min-height:37px;
    padding:5px 10px;font-size:12px!important;font-weight:650!important;white-space:nowrap;
}
.nova-catalog-chip[aria-pressed=true],.nova-catalog-views button[aria-pressed=true],
.nova-catalog-choice[aria-pressed=true] {background:var(--nova-accent);color:#273108;border-color:var(--nova-ink-accent)}
.nova-catalog-chip .material-icons-outlined,.nova-catalog-more .material-icons-outlined,
.nova-catalog-views .material-icons-outlined,.nova-catalog-search .material-icons-outlined {font-size:16px}
.nova-catalog-chip:not([aria-pressed=true]) .material-icons-outlined {display:none}
.nova-catalog-chip:hover:not([aria-pressed=true]),.nova-catalog-more:hover,.nova-catalog-choice:hover,.nova-catalog-search:focus-within {border-color:var(--nova-ink-accent);color:var(--nova-fg)}
.nova-catalog-scroll,.nova-catalog-close,.nova-catalog-views button,.nova-catalog-reset {
    display:inline-grid;place-items:center;padding:3px;background:transparent;color:var(--nova-muted);border:0;border-radius:4px;
}
.nova-catalog-scroll {width:22px;min-height:34px;flex:none}
.nova-catalog-scroll:disabled {opacity:.32;cursor:default}
.nova-catalog-more.is-active {border-color:var(--nova-ink-accent)}
.nova-catalog-more b {padding:2px 5px;background:var(--nova-soft);color:var(--nova-ink-accent);border-radius:4px;font-size:11px}
.nova-catalog-search {gap:8px;min-height:40px;margin:0;padding:6px 12px}
.nova-catalog-search input {width:100%;min-width:0;padding:2px 0;color:var(--nova-fg);background:transparent;border:0;font-size:13px}
.nova-catalog-search input:focus-visible {outline:none}
.nova-catalog-bottom {justify-content:space-between;gap:12px;border-top:1px solid var(--nova-line);padding-top:10px;margin-top:11px}
.nova-catalog-status {gap:7px;flex-wrap:wrap;color:var(--nova-muted);font-size:12px}
.nova-catalog-dot {width:5px;height:5px;border-radius:50%;background:var(--nova-accent);border:1px solid var(--nova-ink-accent)}
.nova-catalog-reset {font-size:12px!important;color:var(--nova-ink-accent);text-decoration:underline}
.nova-catalog-views {flex:none;gap:2px;padding:3px;border:1px solid var(--nova-line);border-radius:6px}
.nova-catalog-views button {width:30px;height:25px}
.nova-catalog-dialog {box-sizing:border-box;width:min(510px,calc(100% - 30px));max-height:80dvh;margin:auto;padding:20px;border:1px solid var(--nova-line);border-radius:11px;background:var(--nova-panel);color:var(--nova-fg);overflow-y:auto}
.nova-catalog-dialog::backdrop {background:#080a0ac4}
.nova-catalog-dialog-head {justify-content:space-between;margin-bottom:14px}
.nova-catalog-dialog-head h3 {margin:0;font-size:20px}
.nova-catalog-close {width:34px;height:34px}
.nova-catalog-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;max-height:48dvh;overflow-y:auto}
.nova-catalog-dialog .nova-catalog-choice {min-width:0;min-height:48px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:5px;text-align:left}
.nova-catalog-choice strong,.nova-catalog-row strong {overflow-wrap:anywhere}
.nova-catalog-choice small,.nova-catalog-row small {flex:none;color:var(--nova-muted);font-size:11px}
.nova-catalog-dialog .nova-catalog-choice[aria-pressed=true] {border-color:var(--nova-ink-accent);background:var(--nova-soft);color:var(--nova-ink-accent)}
.nova-catalog-list {display:grid;gap:6px}
.nova-catalog-row {min-height:52px;padding:10px 15px;gap:10px;border:1px solid var(--nova-line);border-radius:7px;background:var(--nova-panel)}
.nova-catalog-row:hover {border-color:var(--nova-ink-accent)}
.nova-catalog-row strong {flex:1}
.nova-category-catalog .nova-category-controls {margin:0;padding:0 0 13px;align-items:center}
.nova-category-controls .nova-chip {display:inline-flex;align-items:center;gap:7px}
.nova-category-controls .nova-chip-count {padding:1px 5px;border-radius:4px;background:var(--nova-soft);color:var(--nova-ink-accent);font-size:11px}
.nova-category-summary {min-height:52px;display:flex;align-items:center;color:var(--nova-muted);font-size:13px}
.nova-category-notice {
    display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:20px;
    margin:0 0 20px;padding:22px;border:1px solid #d7c08e;border-radius:9px;background:#fff8e9;color:#493a1b;
}
html[data-theme='dark'] .nova-category-notice {border-color:#63543b;background:#29251f;color:#f0e5cf}
.nova-category-notice-label {display:flex;gap:8px;align-items:flex-start;min-width:0;padding-top:3px}
.nova-category-notice-label .material-icons-outlined {color:#865908;font-size:20px}
html[data-theme='dark'] .nova-category-notice-label .material-icons-outlined {color:#e9bc75}
.nova-category-notice-label h3 {margin:0 0 3px;font-size:15px;font-weight:750;overflow-wrap:anywhere}
.nova-category-notice-label small {font-size:12px;color:var(--nova-muted);overflow-wrap:anywhere}
.nova-category-notice-body {min-width:0;align-self:center;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.nova-category-notice-body.is-large {font-size:clamp(19px,2.1vw,29px);line-height:1.4}
.nova-category-notice-body.is-bold {font-weight:750}
.nova-category-notice-body.is-magenta {color:#a31d61}
.nova-category-notice-body.is-purple {color:#7238a2}
.nova-category-notice-body.is-amber {color:#855208}
.nova-category-notice-body.is-green {color:#266341}
html[data-theme='dark'] .nova-category-notice-body.is-magenta {color:#ff92cf}
html[data-theme='dark'] .nova-category-notice-body.is-purple {color:#ceacff}
html[data-theme='dark'] .nova-category-notice-body.is-amber {color:#f3c570}
html[data-theme='dark'] .nova-category-notice-body.is-green {color:#93dab2}
.nova-category-pagination {display:flex;align-items:center;justify-content:center;gap:6px;margin:26px 0 0}
.nova-category-pagination .nova-chip {min-width:34px;text-align:center}
.nova-category-pagination .nova-chip[aria-current=page] {background:var(--nova-accent);color:#25300b;border-color:var(--nova-ink-accent)}
@media(max-width:700px) {
    .nova-category-notice {grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:16px;padding:17px 16px}
    .nova-category-notice-label {align-items:center;padding:0}
    .nova-category-notice-label>div {display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
    .nova-category-notice-label h3 {margin:0}
}
@media(max-width:820px) {
    .nova-catalog-tools-top {grid-template-columns:1fr;gap:8px}
    .nova-catalog-search input {font-size:16px}
}
@media(max-width:640px) {
    .nova-catalog-tools {padding:10px;margin-bottom:13px}
    .nova-catalog-scroll {width:16px}
    .nova-catalog-more {padding:5px 7px}
    .nova-catalog-more b {display:none}
    .nova-catalog-chip,.nova-catalog-more {min-height:40px}
}
