/* Plugins uses the same full-width section tabs and library spacing as Templates. */
.files-view.plugin-library-view{padding:0;min-width:0}
.plugin-tabs{overflow-x:auto;scrollbar-width:thin;white-space:nowrap}
.plugin-tabs button{flex:0 0 auto}
.plugin-library-main{padding:24px 28px 48px}
.plugin-filters{display:flex;gap:12px;margin-bottom:20px}
.plugin-search{display:flex;align-items:center;gap:9px;flex:1;max-width:620px;min-width:0;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--muted)}
.plugin-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.plugin-search input{border:0;background:transparent;width:100%;min-width:0;height:36px;outline:none!important;font-size:12px;color:var(--ink)}
.plugin-filters select{width:190px;min-height:36px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:8px 12px;font-size:12px}
.plugin-count{margin:0 0 16px;font-size:12px;color:var(--muted)}
.plugin-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.plugin-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}
.plugin-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.plugin-glyph{width:38px;height:38px;display:grid;place-items:center;border-radius:7px;background:#eaf3f6;color:var(--accent)}
.plugin-glyph .ep-icon{width:21px;height:21px}
.plugin-status{padding:4px 7px;border-radius:4px;background:#f1f3f6;color:#637184;font-size:10px;white-space:nowrap}
.plugin-status.ready{background:#eaf5ef;color:#287454}.plugin-status.setup{background:#fff4df;color:#93661e}
.plugin-card-category{color:var(--accent);font-size:11px;font-weight:600;margin-bottom:5px}
.plugin-card h2{font-size:15px;line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere}
.plugin-card p{font-size:12px;line-height:1.65;margin:0 0 18px;color:var(--muted);flex:1}
.plugin-model{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-bottom:14px}.plugin-model span{font-weight:600;margin-inline-end:4px}
.plugin-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;min-height:36px}
.plugin-card-footer:has(>span:only-child){display:none}
.plugin-default{font-size:11px;font-weight:600;color:var(--accent);text-transform:capitalize}
.plugin-empty{grid-column:1/-1;text-align:center;padding:60px 24px;border:1px dashed #d5e0e7;background:#fff;border-radius:8px;color:var(--muted)}
.plugin-empty>.ep-icon{width:28px;height:28px}.plugin-empty h2{color:var(--ink);font-size:17px;margin:18px 0 6px}.plugin-empty p{margin:0 0 20px;font-size:13px}
@media(max-width:1100px){.plugin-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.plugin-library-main{padding:18px}.plugin-card{padding:18px}}
@media(max-width:620px){.plugin-cards{grid-template-columns:1fr}.plugin-filters{flex-wrap:wrap}.plugin-search{flex-basis:100%;max-width:none}.plugin-filters select{width:100%}}
