.tag-picker { margin: 14px 0; padding: 14px; border: 1px solid #3b3b3b; border-radius: 7px; background: #191919; min-width: 0; }
.tag-search-label, .tag-summary-label { display: block; margin-bottom: 8px; color: #bbb; font-size: 12px; }
.tag-picker .tag-search { width: 100%; padding: 10px; border: 1px solid #444; border-radius: 5px; background: #111; color: #fff; font: inherit; font-size: 13px; }
.tag-selected, .tag-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-chip, .tag-option { border: 1px solid #444; border-radius: 5px; background: #282828; padding: 6px 9px; color: #ddd; font: inherit; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
button.tag-chip, .tag-option { cursor: pointer; }
.tag-chip { background: #3a2222; border-color: #814242; color: #ffd0d0; }
.tag-option[aria-pressed="true"] { background: #512727; border-color: #ff3b3b; color: #fff; }
.tag-option:hover, button.tag-chip:hover { border-color: #ff7777; }
.tag-category { border-top: 1px solid #333; margin-top: 12px; padding-top: 10px; }
.tag-category summary { color: #ccc; font-size: 13px; cursor: pointer; }
.tag-category summary span { float: right; color: #ff8080; }
.tag-options { padding-bottom: 4px; }
.tag-picker-status { margin: 8px 0 0; color: #ccc; font-size: 12px; }
.tag-picker-status:empty { display: none; }
.tag-summary { margin: 12px 0; }
.tag-empty { color: #888; font-size: 12px; }
.tag-save-status { color: #bbb; font-size: 12px; line-height: 1.4; }
.tag-editor { width: 100%; }
.tag-editor > summary { margin: 12px 0; color: #ff9191; cursor: pointer; font-size: 13px; }
.tag-save-button { background: #ff3b3b; border: 1px solid #ff3b3b; color: #fff; border-radius: 6px; padding: 9px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.tag-save-button:disabled { opacity: .55; cursor: wait; }
.tag-picker button:focus-visible, .tag-picker input:focus-visible, .tag-save-button:focus-visible { outline: 2px solid #ff3b3b; outline-offset: 3px; }
.admin-level-card { flex-wrap: wrap; }
.admin-level-card > :first-child { flex: 1 1 230px; }
.admin-level-card .tag-editor, .admin-level-card .tag-level-summary { flex-basis: 100%; }
.lab-tag-group { margin-top: 13px; }
.lab-tag-group h3 { margin: 0 0 6px; color: #aaa; font-size: 12px; }
.lab-level-details .tag-editor, .lab-level-details .tag-summary { grid-column: 1 / -1; }
