.label-filter-fields,.shelf-label-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.label-filter-fields{padding-block:12px}.label-filter-fields label,.shelf-label-controls label{display:flex;flex-direction:column;gap:6px}.label-filter-fields small{grid-column:1/-1;color:var(--muted,#9aac9b)}.shelf-label-search{border:1px solid #31463a;border-radius:12px;padding:14px;margin:16px 0}.shelf-label-search>summary{cursor:pointer;font-weight:600;min-height:44px;align-content:center}.shelf-label-search>summary span{font-size:12px;font-weight:400;color:#a5b6a9;margin-left:8px}.shelf-label-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.shelf-label-actions button,.label-management-row button,.detail-labels button,.card-labels-dialog #label-close{min-height:44px;border:1px solid #3a5c48;border-radius:8px;padding:8px 10px;background:#11231a;color:#dce9df}.shelf-label-actions span{display:flex;gap:8px}.shelf-label-search #shelf-label-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px}.shelf-label-search [hidden]{display:none!important}.shelf-card-result{display:flex;flex-direction:column;gap:6px;min-width:0;border:1px solid #31463a;border-radius:10px;padding:8px}.shelf-card-result strong,.shelf-card-result small{overflow-wrap:anywhere}.shelf-card-image{border:0;background:none;padding:0;aspect-ratio:63/88;position:relative}.shelf-card-image img{height:100%;width:100%;object-fit:contain}.shelf-copy-select{min-height:44px;display:flex;align-items:center}.shelf-copy-select span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.shelf-copy-select input{width:22px;height:22px}.shelf-card-result .text-button{text-align:left;font-size:12px}.card-labels-dialog{width:min(620px,calc(100vw - 24px))}#label-create{display:flex;align-items:end;gap:10px}#label-create label{flex:1;min-width:0}#label-create input{width:100%}.label-management-row{display:flex;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid #31463a;padding:10px 0}.label-management-row>span{overflow-wrap:anywhere}.label-management-row>div{display:flex;flex-wrap:wrap;justify-content:end;gap:5px}.detail-labels{margin:10px 0}@media(max-width:600px){.shelf-label-controls{grid-template-columns:1fr 1fr}.shelf-label-controls>label:first-child{grid-column:1/-1}.label-management-row{align-items:start;flex-direction:column}.label-management-row>div{justify-content:start}.shelf-label-search>summary span{display:block;margin:2px 0}}
