/* v1.9.4 Admin › OCR lab: per-player scan limits + Gemini key slots (1 to 5). */
.oq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; min-width: 0; }
.oq-hint { margin: 0; }
.oq-details { border-radius: 14px; border: 1px solid var(--sm-line, rgb(255 255 255 / .08)); background: var(--surface-container, rgb(255 255 255 / .03)); padding: 0 12px; min-width: 0; }
.oq-details > summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: .9rem; min-height: 44px; display: flex; align-items: center; }
.oq-details[open] > summary { border-bottom: 1px solid var(--sm-line, rgb(255 255 255 / .08)); margin-bottom: 8px; }
.oq-list { list-style: none; margin: 0; padding: 0 0 8px; display: grid; gap: 6px; }
.oq-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; min-width: 0; }
.oq-item__main { display: grid; gap: 2px; min-width: 0; }
.oq-item__main small { color: var(--on-surface-variant); overflow-wrap: anywhere; }
.oq-count { font-size: .8rem; color: var(--on-surface-variant); white-space: nowrap; }
.oq-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; align-items: end; padding: 4px 0 12px; }
.oq-add .btn { grid-column: 1 / -1; }
.oq-add__note { grid-column: 1 / -1; }
.oe-slots { padding-bottom: 4px; }
.oe-slot { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 7%, transparent); min-width: 0; }
.oe-slot.is-off { background: transparent; opacity: .72; }
.oe-slot.is-rest { background: color-mix(in srgb, #ffb74d 16%, transparent); }
.oe-slot__n { font-weight: 700; font-size: .85rem; }
.oe-slot__s { font-size: .8rem; justify-self: end; color: var(--primary); }
.oe-slot.is-off .oe-slot__s { color: var(--on-surface-variant); }
.oe-slot.is-rest .oe-slot__s { color: #ffb74d; }
.oe-slot small { grid-column: 1 / -1; color: var(--on-surface-variant); overflow-wrap: anywhere; }
