/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-hover: #1f2b47;
    --bg-input: #0d1b2a;
    --border: #2a2a4a;
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --text-muted: #555;
    --accent: #4ecca3;
    --accent-hover: #3db892;
    --blue: #4a9eff;
    --green: #4ecca3;
    --yellow: #f0c040;
    --orange: #e8883a;
    --red: #e74c6f;
    --feed-color: #4ecca3;
    --candidata-color: #f0c040;
    --secundaria-color: #e8883a;
    --descarte-color: #e74c6f;
    --pending-color: #666;
    --radius: 8px;
    --radius-sm: 4px;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --transition: 0.2s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
}

/* ═══ LAYOUT ═══ */
#app {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
}

/* --- Header --- */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

#header h1 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

#header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* --- Main area --- */
#main {
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
}

/* --- Sidebar --- */
#sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 12px;
}

.filter-section {
    margin-bottom: 16px;
}

.filter-section h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.filter-section select,
.filter-section input {
    width: 100%;
    padding: 6px 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    margin-bottom: 6px;
}

.filter-section select:focus,
.filter-section input:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-row {
    display: flex;
    gap: 6px;
}

.filter-row input {
    flex: 1;
}

/* --- Content area --- */
#content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* --- Toolbar --- */
#toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    min-height: 44px;
}

#toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

#toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

#selection-info {
    font-size: 13px;
    color: var(--accent);
    display: none;
}

/* --- Status bar --- */
#statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-secondary);
}

/* ═══ BUTTONS ═══ */
.btn {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn:hover { background: var(--bg-hover); }
.btn.active { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.danger { border-color: var(--red); color: var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-icon { padding: 6px 8px; }

/* ═══ GALLERY VIEW ═══ */
#gallery {
    overflow-y: auto;
    padding: 16px;
    flex: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.photo-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.photo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.photo-card.selected {
    border-color: var(--accent);
}

.photo-card .thumb {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    background: var(--bg-primary);
}

.photo-card .card-info {
    padding: 8px 10px;
}

.photo-card .card-id {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.photo-card .card-meta {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.photo-card .card-score {
    font-weight: 700;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 3px;
}

.photo-card .card-checkbox {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.photo-card.selected .card-checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.verdict-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.verdict-feed { background: var(--feed-color); color: #000; }
.verdict-candidata { background: var(--candidata-color); color: #000; }
.verdict-secundaria { background: var(--orange); color: #000; }
.verdict-descarte { background: var(--descarte-color); color: #fff; }
.verdict-pending { background: var(--pending-color); color: #fff; }

.score-feed { color: var(--feed-color); }
.score-candidata { color: var(--candidata-color); }
.score-secundaria { color: var(--orange); }
.score-descarte { color: var(--descarte-color); }

/* ═══ TABLE VIEW ═══ */
#table-view {
    overflow: auto;
    flex: 1;
    display: none;
}

#photo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#photo-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

#photo-table th {
    background: var(--bg-card);
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 2px solid var(--border);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

#photo-table th:hover { color: var(--accent); }
#photo-table th .sort-arrow { margin-left: 4px; font-size: 10px; }

#photo-table td {
    padding: 6px 10px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

#photo-table tr { cursor: pointer; }
#photo-table tr:hover { background: var(--bg-hover); }
#photo-table tr.selected { background: rgba(78, 204, 163, 0.1); }

#photo-table .cell-score {
    font-weight: 700;
    text-align: center;
}

#photo-table .cell-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
}

/* ═══ DETAIL MODAL ═══ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    width: 95vw;
    max-width: 1200px;
    height: 90vh;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    overflow: hidden;
}

.modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    padding: 16px;
}

.modal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-data {
    overflow-y: auto;
    padding: 16px;
    border-left: 1px solid var(--border);
}

/* --- Tabs --- */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: nowrap;
    overflow-x: auto;
}


.tab {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* --- Data fields --- */
.data-group {
    margin-bottom: 16px;
}

.data-group h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 13px;
}

.data-row .label { color: var(--text-secondary); }
.data-row .value { font-weight: 500; text-align: right; }

/* --- Scores grid --- */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.score-cell {
    text-align: center;
    padding: 6px 4px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

.score-cell .score-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.score-cell .score-value {
    font-size: 16px;
    font-weight: 700;
}

.global-score {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin: 12px 0;
}

/* --- Editable fields --- */
.editable-field {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.editable-field label {
    font-size: 12px;
    color: var(--text-secondary);
    min-width: 70px;
}

.editable-field select,
.editable-field input {
    flex: 1;
    padding: 4px 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
}

/* --- Discussion --- */
.discussion-area {
    margin-top: 12px;
}

.discussion-area textarea {
    width: 100%;
    padding: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 8px;
}

.revision-history {
    margin-top: 12px;
}

.revision-item {
    padding: 8px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    font-size: 12px;
}

.revision-item .rev-date { color: var(--text-muted); }
.revision-item .rev-scores { color: var(--yellow); }

/* ═══ MOSAIC MODAL ═══ */
.mosaic-grid {
    display: grid;
    gap: 4px;
    padding: 16px;
    overflow-y: auto;
    height: 100%;
}

.mosaic-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mosaic-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mosaic-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mosaic-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mosaic-item .mosaic-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

/* ═══ IMPORT/EXPORT MODAL ═══ */
.ie-modal {
    max-width: 600px;
    width: 90vw;
    height: auto;
    max-height: 80vh;
    padding: 20px;
}

.ie-modal h2 { margin-bottom: 16px; }

.ie-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 12px 0;
    max-height: 200px;
    overflow-y: auto;
}

.ie-columns label {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
}

.ie-columns input[type="checkbox"] { accent-color: var(--accent); }

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
    margin: 12px 0;
    cursor: pointer;
    transition: var(--transition);
}

.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--accent);
    color: var(--accent);
}

/* ═══ FULLSCREEN ═══ */
.fullscreen-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fullscreen-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fullscreen-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
}

/* ═══ LOADING ═══ */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-secondary);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══ TOAST ═══ */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    animation: slideIn 0.3s ease;
    max-width: 350px;
}

.toast.success { background: var(--green); color: #000; }
.toast.error { background: var(--red); color: #fff; }
.toast.info { background: var(--blue); color: #fff; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ═══ PAGINATION ═══ */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination .btn { padding: 4px 10px; }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    #main { grid-template-columns: 1fr; }
    #sidebar { display: none; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-data { max-height: 50vh; }
}

/* ═══ PHASE BADGES ═══ */
.phase-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.phase-1 {
    background: rgba(74, 158, 255, 0.15);
    color: var(--blue);
    border: 1px solid rgba(74, 158, 255, 0.3);
}
.phase-2 {
    background: rgba(78, 204, 163, 0.15);
    color: var(--green);
    border: 1px solid rgba(78, 204, 163, 0.3);
}
.phase-3 {
    background: rgba(255, 165, 0, 0.15);
    color: #e6941a;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

/* ═══ THREAD DISCOVERY SCREEN ═══ */
.thread-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-primary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.thread-screen {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.thread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.thread-header h2 {
    font-size: 16px;
    color: var(--text-primary);
}

.thread-reading {
    padding: 10px 20px;
    background: rgba(74, 158, 255, 0.08);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.thread-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    flex: 1;
    overflow: hidden;
}

.thread-photos-panel {
    overflow-y: auto;
    padding: 12px;
    border-right: 1px solid var(--border);
}

.thread-photos-panel h3,
.thread-threads-panel h3 {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.thread-photos-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.thread-photo-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thread-photo-item:hover {
    background: var(--bg-hover);
}

.thread-photo-item.assigned {
    border-color: var(--accent);
    background: rgba(78, 204, 163, 0.08);
}

.thread-photo-item img {
    width: 80px;
    height: 54px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.thread-photo-info {
    flex: 1;
    min-width: 0;
}

.thread-photo-id {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.thread-photo-concept {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.thread-photo-tags {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.thread-tag {
    font-size: 10px;
    padding: 1px 6px;
    background: rgba(74, 158, 255, 0.15);
    color: var(--blue);
    border-radius: 3px;
}

/* Thread cards */
.thread-threads-panel {
    overflow-y: auto;
    padding: 12px;
}

.thread-threads-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.thread-card {
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thread-card:hover {
    background: var(--bg-hover);
}

.thread-card.selected {
    border-color: var(--accent);
    background: rgba(78, 204, 163, 0.05);
}

.thread-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.thread-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.thread-source-badge {
    font-size: 12px;
}

.thread-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.thread-card-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.thread-strength-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3px;
}

.strength-fuerte { color: var(--green); }
.strength-medio { color: var(--yellow); }
.strength-emergente { color: var(--text-muted); }

.thread-card-photolist {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.thread-photo-chip {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.thread-photo-chip:hover {
    background: var(--red);
    color: white;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    font-size: 14px;
    opacity: 0.5;
    transition: var(--transition);
}

.btn-icon:hover {
    opacity: 1;
}

/* Thread strength indicator on card */
.thread-strength-fuerte { border-left: 3px solid var(--green); }
.thread-strength-medio { border-left: 3px solid var(--yellow); }
.thread-strength-emergente { border-left: 3px solid var(--text-muted); }

.pub-code {
    font-size: 10px;
    font-weight: 700;
    color: #4ECDC4;
    background: rgba(78, 205, 196, 0.12);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 3px;
    padding: 1px 5px;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.share-popover {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 12px;
    min-width: 380px;
}
.share-popover-inner input:focus {
    outline: none;
    border-color: var(--accent);
}
/* ═══ MOSAIC VIEW ═══ */
#mosaic-view {
    padding: 12px;
    overflow-y: auto;
    height: calc(100vh - var(--toolbar-height, 50px));
}

#mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 10px;
}

.mosaic-item {
    position: relative;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    transition: border-color 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.mosaic-item:hover {
    border-color: var(--accent);
    transform: scale(1.005);
}

.mosaic-item img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

.mosaic-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    padding: 16px 10px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mosaic-id {
    font-size: 11px;
    color: #ccc;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mosaic-score {
    font-size: 14px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
}