body #unifiedCompendium .item-library-heading>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
body #unifiedCompendium .item-library-heading h2,body #unifiedCompendium .item-library-heading p{margin:0}
body #unifiedCompendium .item-filters{margin:9px 0;gap:8px}
body .comp-category-browser{margin:9px 0;padding-bottom:9px}
body .comp-category-browser>h3{display:inline;margin-right:10px}
body .comp-category-browser>p{display:inline;margin:0;font-size:12px}
body .comp-category-all{margin-top:8px}
body #compDrillChoices{gap:5px;margin-top:7px}
body #compDrillChoices button{min-height:32px;padding:5px 9px}
body #compCount{font-size:12px;margin:6px 0}
body #compResults{gap:6px;margin-top:6px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
body #compResults .item-card{min-height:72px;padding:8px 10px!important;gap:4px;background:#142438!important;border-color:#58718d;justify-content:center;overflow:hidden}
body #compResults .item-card strong{font-size:13px;line-height:1.35;color:#f0f6ff}
body #compResults .item-card small{font-size:11px;line-height:1.3;color:#b6cbe2}
body #compResults .item-tags{gap:4px;align-items:center}
body #compResults .item-tags span{font-size:11px;padding:1px 5px;line-height:1.4}
body #compResults .comp-kind-badge{color:#d5e9ff;background:#243e58;border-color:#6587aa}
body #compResults [data-entry-type="Magic items"] .comp-kind-badge,body #compResults [data-entry-type="Spells"] .comp-kind-badge{color:#ead8ff;background:#392951;border-color:#a47dcb}
body #compResults [data-entry-type="Creatures"] .comp-kind-badge,body #compResults [data-entry-type="Enemy abilities"] .comp-kind-badge{color:#ffd8c5;background:#493024;border-color:#b98564}
body #compResults [data-entry-type="Equipment"] .comp-kind-badge,body #compResults [data-entry-type="Services"] .comp-kind-badge{color:#bdf1de;background:#203e37;border-color:#69aa94}
body #compResults .comp-entry-selected{background:#3b311d!important;border-color:#edc66c!important;box-shadow:inset 3px 0 #edc66c!important}
body #compResults .item-card:hover{background:#213951!important}
@media(max-width:850px){body #compResults{grid-template-columns:1fr}}
