.visibility-toolbar{gap:6px;flex-wrap:wrap}.hidden-count{font-size:11px;color:var(--muted,#6d776e);white-space:nowrap}.hidden-badge{display:inline-block;padding:1px 5px;border-radius:4px;background:#ebe3d4;color:#725932;font-size:10px;font-weight:500}.aggregate-card.is-hidden{border-style:dashed;background:#faf7f1}.inventory-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:2px 0 7px;color:var(--muted,#6d776e);font-size:11px}.inventory-selection button{font-size:11px;padding:3px 5px}.machine-select-tools{display:flex;align-items:center;gap:10px;padding:5px 0;font-size:11px;color:var(--muted,#6d776e)}.machine-select-tools button{font-size:11px;padding:3px 5px}.checkbox-dragging,.checkbox-dragging *{user-select:none!important;cursor:crosshair!important}.machine-option,.group-choice,.hidden-option,.selection-cell,.item-actions label{touch-action:pan-y}.aggregate-card:has([data-select-item]:checked){outline:2px solid #6b9a61;outline-offset:-2px;background:#f0f6e9}.selection-cell:has(input:checked){background:#edf3e5}.machine-option:has(input:checked),.group-choice:has(input:checked){background:#e9f0e0}.hide-items-button{white-space:nowrap}#hiddenDialog{width:min(880px,94vw)}.hidden-intro{font-size:12px;margin:0 0 7px;line-height:1.6}.hidden-tabs{display:flex;gap:5px;margin:7px 0}.hidden-tabs button{padding:6px 12px;font-size:12px}.hidden-tabs button.active{background:#e2edd8;color:#244d32;border-color:#9cb48d}.hidden-filters{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:6px;margin:7px 0}.hidden-filters input,.hidden-filters select{min-width:0}.hidden-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:6px 0;font-size:11px}.hidden-tools button{font-size:11px;padding:4px 7px}.hidden-list{max-height:47vh;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;align-content:start;padding:2px}.hidden-option{display:flex;align-items:center;gap:6px;min-height:43px;padding:5px 6px;border:1px solid #e3e7dc;border-radius:6px;background:#fff;cursor:pointer;font-size:12px;min-width:0}.hidden-option img{width:32px;height:32px;object-fit:contain;flex:none}.hidden-option input{flex:none}.hidden-option-info{min-width:0;flex:1;line-height:1.35}.hidden-option-info strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.hidden-option-info small{display:block;color:#74806e;font-size:10px}.hidden-option:has(input:checked){background:#f4eee3;border-color:#d4bd96}.hidden-option.inherited{background:#f6f0e7;border-style:dashed}.hidden-option input:disabled{cursor:default}.hidden-option.inherited small{color:#8b6839}.hidden-summary{font-size:12px;padding:7px 0;color:#56674f}.hidden-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px;border-top:1px solid #e4e8de;padding-top:8px}.hidden-dialog-footer .action-row{margin:0}.hidden-readonly{color:#8b6839}.hidden-quick-hide{margin-left:auto}.hidden-list .empty{grid-column:1/-1}.hidden-selection-hint{font-size:10px;color:#7b8475}.hidden-select-caption{font-size:11px;color:#7a6545}.aggregate-card .hidden-badge{position:static;font-size:9px;padding:1px 4px}.aggregate-card{position:relative}@media(max-width:700px){.hidden-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hidden-filters{grid-template-columns:1fr 1fr}.hidden-filters input{grid-column:1/-1}.hidden-dialog-footer{align-items:flex-start}.visibility-toolbar{justify-content:flex-start}.hidden-quick-hide{margin-left:0}}@media(max-width:420px){.hidden-list{grid-template-columns:1fr 1fr}.hidden-option{padding:4px;gap:4px}.hidden-option img{width:25px;height:25px}}

body[data-density=compact] #overviewPanel>.section-heading{flex-wrap:wrap;gap:7px}body[data-density=compact] .visibility-toolbar{gap:5px}body[data-density=compact] #filterVisibility{font-size:11px;padding:5px 7px}body[data-density=compact] #hiddenDialog .hidden-tools button{padding:4px 7px;font-size:11px}body[data-density=compact] #hiddenDialog .hidden-option input{margin:0}body[data-density=compact] #hiddenDialog .hidden-tabs button{padding:6px 10px}

/* Keep the save controls visible; only the option list scrolls. */
body[data-density=compact] #hiddenDialog[open]{display:flex;flex-direction:column;height:min(820px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);overflow:hidden}
#hiddenDialog>:not(#hiddenList){flex-shrink:0}
#hiddenDialog #hiddenList{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
#hiddenDialog .hidden-dialog-footer{background:#fff}
.aggregate-card .item-actions .hidden-badge{position:static;inset:auto;flex:0 0 auto;line-height:1.4;font-size:9px}
@media(max-width:420px){body[data-density=compact] #hiddenDialog{padding:14px}.hidden-dialog-footer{gap:5px}.hidden-dialog-footer .action-row{gap:6px}.hidden-summary{font-size:11px;line-height:1.5}.hidden-intro{font-size:11px}.hidden-tabs{margin:5px 0}.hidden-filters{margin:5px 0}.hidden-tools{gap:5px}}
