/* Compact catalog presentation; original style APIs and catalog remain authoritative. */
#citation-styles-workbench{display:flex;flex-direction:column;gap:20px;min-width:0}
#citation-styles-workbench .page-head{margin-bottom:0}
#citation-styles-workbench .page-head p{font-weight:400}
#citation-styles-workbench .style-saved-section h2{font-size:15px;font-weight:600;margin:0 0 12px}
#citation-styles-workbench .style-saved-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#citation-styles-workbench .style-saved-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--surface);min-width:0}
#citation-styles-workbench .style-saved-card.selected{background:var(--accent-soft);border-color:var(--accent)}
#citation-styles-workbench .style-saved-select,#citation-styles-workbench .style-saved-remove{border:0;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;min-height:32px}
#citation-styles-workbench .style-saved-select{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#citation-styles-workbench .style-saved-remove{font-size:12px;color:var(--ink-2)}
#citation-styles-workbench .style-saved-card .tag{width:fit-content}
#citation-styles-workbench .csl-help{margin:0}
html[data-workspace="mainland"] #citation-styles-workbench .workspace{grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:18px;align-items:start}
#citation-styles-workbench .toolbar{padding:14px 16px}
#citation-styles-workbench .tabs{gap:8px}
#citation-styles-workbench .tab{font-size:12px;font-weight:500;padding:8px 4px}
#citation-styles-workbench .filters{gap:8px}
#citation-styles-workbench .list-head{font-size:12px;padding:10px 16px}
#citation-styles-workbench .style-table-wrap{overflow-x:auto}
#citation-styles-workbench .style-table{width:100%;border-collapse:collapse;table-layout:fixed}
#citation-styles-workbench .style-table th{text-align:left;font-size:12px;font-weight:500;color:var(--muted);padding:12px;border-bottom:1px solid var(--border)}
#citation-styles-workbench .style-table th:first-child{width:57%}
#citation-styles-workbench .style-table th:nth-child(2){width:23%}
#citation-styles-workbench .style-table td{padding:6px 12px;border-bottom:1px solid var(--border);font-size:13px;overflow-wrap:anywhere}
#citation-styles-workbench .style-row{cursor:pointer;min-height:44px}
#citation-styles-workbench .style-row:hover,#citation-styles-workbench .style-row.selected{background:var(--accent-soft)}
#citation-styles-workbench .style-row-title{font-weight:600;display:block}
#citation-styles-workbench .style-row-action{min-height:32px;padding:5px 10px;border-radius:16px;font-size:12px}
#citation-styles-workbench .pagination{flex-wrap:wrap;gap:7px}
#citation-styles-workbench .page-btn{min-width:34px;min-height:34px}
#citation-styles-workbench .preview-title{font-weight:600}
#citation-styles-workbench .preview-panel{max-height:calc(100vh - 40px);overflow:auto}
#citation-styles-workbench .info-grid dd{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){html[data-workspace="mainland"] #citation-styles-workbench .workspace{grid-template-columns:1fr}#citation-styles-workbench .preview-panel{position:static;max-height:none}#citation-styles-workbench .style-saved-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#citation-styles-workbench .style-saved-list{grid-template-columns:1fr}html[data-workspace="mainland"] #citation-styles-workbench .filters{grid-template-columns:1fr}#citation-styles-workbench .style-table th:first-child{width:48%}#citation-styles-workbench .style-table th:nth-child(2){width:25%}#citation-styles-workbench .style-table :is(td,th){padding:9px 7px}#citation-styles-workbench .style-row-action{min-height:38px;padding:6px 8px}}
