* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f1923;
    color: #e0e0e0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

header h1 {
    font-size: 1.5rem;
    color: #4fc3f7;
}

.settings-btn {
    background: #1a2735;
    border: 1px solid #37474f;
    border-radius: 8px;
    color: #b0bec5;
    font-size: 1.1rem;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
}

.settings-btn:hover { border-color: #4fc3f7; }

/* Dashboard cards */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.card {
    background: #1a2735;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #263545;
}

.card h3 {
    font-size: 0.85rem;
    color: #80cbc4;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.status-badge {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.status-online {
    background: rgba(67, 160, 71, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(67, 160, 71, 0.3);
}

.status-offline {
    background: rgba(239, 83, 80, 0.15);
    color: #ef5350;
    border: 1px solid rgba(239, 83, 80, 0.3);
}

.status-unknown {
    background: rgba(120, 144, 156, 0.15);
    color: #90a4ae;
    border: 1px solid rgba(120, 144, 156, 0.3);
}

.card-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.card-header-buttons {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.card-move-up, .card-move-down, .card-collapse-btn {
    background: transparent;
    border: 1px solid #37474f;
    color: #78909c;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    padding: 0;
}

.card-move-up:hover, .card-move-down:hover, .card-collapse-btn:hover {
    color: #4fc3f7;
    border-color: #4fc3f7;
}

/* Collapsed card */
.card.collapsed .card-type,
.card.collapsed .card-metrics,
.card.collapsed .card-updated,
.card.collapsed .daichi-controls,
.card.collapsed .breezart-controls,
.card.collapsed .tuya-controls {
    display: none;
}

.card.collapsed h3 {
    margin-bottom: 0;
}

.card-type {
    font-size: 0.7rem;
    color: #607d8b;
    margin-bottom: 8px;
}

.card-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.metric-item {
    background: #0f1923;
    border-radius: 8px;
    padding: 10px;
}

.metric-label {
    font-size: 0.7rem;
    color: #78909c;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.metric-time {
    font-size: 0.65rem;
    color: #546e7a;
    margin-top: 2px;
}

.card-updated {
    font-size: 0.7rem;
    color: #546e7a;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #263545;
    text-align: right;
}

/* Climate agent panel */
.agent-panel { margin-bottom: 24px; }

.agent-card {
    background: #1a2735;
    border: 1px solid #263545;
    border-radius: 14px;
    padding: 18px 20px;
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.agent-header h2 {
    font-size: 1.1rem;
    color: #4fc3f7;
    margin: 0;
}

.agent-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.agent-toggle input { display: none; }

.agent-toggle-slider {
    width: 42px;
    height: 22px;
    background: #37474f;
    border-radius: 11px;
    position: relative;
    transition: background 0.2s;
}

.agent-toggle-slider::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: transform 0.2s;
}

.agent-toggle input:checked + .agent-toggle-slider {
    background: #43a047;
}

.agent-toggle input:checked + .agent-toggle-slider::after {
    transform: translateX(20px);
}

.agent-toggle-label {
    font-size: 0.85rem;
    color: #b0bec5;
}

.agent-error {
    background: #4a1414;
    border: 1px solid #ef5350;
    color: #ff8a80;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.agent-field label {
    font-size: 0.7rem;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.agent-temp {
    display: flex;
    align-items: center;
    gap: 6px;
}

.agent-temp input,
.agent-field select {
    background: #0f1923;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
    width: 100%;
}

.agent-temp input { width: 70px; flex: 0 0 auto; }

.agent-unit {
    color: #90a4ae;
    font-size: 0.85rem;
}

.agent-current {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
}

.agent-sub {
    font-size: 0.75rem;
    color: #78909c;
    margin-top: 2px;
}

.agent-actions {
    display: flex;
    gap: 10px;
}

.agent-btn {
    background: #4fc3f7;
    color: #0f1923;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.agent-btn:hover { filter: brightness(1.15); }
.agent-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.agent-btn-secondary {
    background: #263545;
    color: #e0e0e0;
    border: 1px solid #37474f;
}

.agent-interval {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 0.8rem;
    color: #90a4ae;
}
.agent-interval label { font-size: 0.75rem; color: #78909c; }
.agent-interval input {
    width: 50px;
    background: #0f1923;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 0.8rem;
    text-align: center;
}

.agent-meta {
    font-size: 0.7rem;
    color: #546e7a;
    margin-top: 10px;
    text-align: right;
}

/* Agent zones */
.agent-zones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.zone-card {
    background: #162230;
    border: 1px solid #263545;
    border-radius: 8px;
    padding: 12px 14px;
}

.zone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.zone-header .zone-name {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.95rem;
    font-weight: 600;
    flex: 1;
}
.zone-header .zone-name:focus {
    border-color: #37474f;
    background: #0f1923;
    outline: none;
}

.zone-delete {
    background: transparent;
    border: 1px solid #37474f;
    color: #78909c;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zone-delete:hover { color: #ff5252; border-color: #ff5252; }

.zone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.zone-field label {
    font-size: 0.65rem;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.zone-field select,
.zone-field input[type="number"] {
    background: #0f1923;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.85rem;
    width: 100%;
}

.zone-field .agent-temp input { width: 60px; flex: 0 0 auto; }

.zone-current {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.zone-current-stale {
    color: #ffb300;
    font-size: 1.05rem;
}

.zone-vent-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #b0bec5;
    cursor: pointer;
    white-space: nowrap;
}

.zone-vent-label input[type="checkbox"] {
    accent-color: #4fc3f7;
}

.zone-error {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #ff8a80;
}

.zone-status {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #78909c;
}

.zone-status-time {
    color: #546e7a;
    font-size: 0.7rem;
    white-space: nowrap;
}

/* Modal (agent logs) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: #1a2735;
    border: 1px solid #37474f;
    border-radius: 12px;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #263545;
}

.modal-header h2 {
    font-size: 1rem;
    color: #4fc3f7;
    margin: 0;
}

.modal-close {
    background: transparent;
    color: #90a4ae;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
}

.modal-close:hover { color: #ef5350; }

.modal-body {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
}

.log-empty {
    color: #90a4ae;
    text-align: center;
    padding: 30px 10px;
    font-size: 0.9rem;
}

.log-entry {
    background: #0f1923;
    border: 1px solid #263545;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.log-entry.has-error {
    border-color: rgba(239, 83, 80, 0.4);
    background: rgba(74, 20, 20, 0.25);
}

.log-head {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    color: #b0bec5;
}

.log-ts { color: #78909c; font-size: 0.75rem; white-space: nowrap; }
.log-summary { color: #80cbc4; font-size: 0.85rem; }

.log-actions {
    margin: 4px 0 0 16px;
    padding: 0;
    color: #b0bec5;
}

.log-actions li { margin: 2px 0; }

.log-errors { color: #ef5350; margin-top: 6px; font-size: 0.8rem; }
.log-offline { color: #ffa726; margin-top: 4px; font-size: 0.8rem; }

/* Export */
.export-btn {
    background: #1e88e5;
    color: #fff;
    border: 1px solid #1565c0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}
.export-btn:hover { filter: brightness(1.12); }

.export-btn-primary {
    background: #43a047;
    border-color: #2e7d32;
    padding: 8px 22px;
    font-size: 0.95rem;
}

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

.export-section h3 {
    font-size: 0.8rem;
    color: #4fc3f7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.export-source-actions {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.export-mini {
    background: transparent;
    border: 1px solid #37474f;
    color: #90a4ae;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 0.75rem;
    cursor: pointer;
}
.export-mini:hover { color: #4fc3f7; border-color: #4fc3f7; }

.export-sources {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px 12px;
    background: #0f1923;
    border: 1px solid #263545;
    border-radius: 6px;
    padding: 10px;
    max-height: 220px;
    overflow-y: auto;
}

.export-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #cfd8dc;
    cursor: pointer;
}

.export-source input[type="checkbox"] { accent-color: #4fc3f7; }

#export-metric {
    width: 100%;
    background: #0f1923;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
}

.export-hint {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #90a4ae;
}

.export-dates {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.export-dates label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #cfd8dc;
}

.export-dates input[type="date"] {
    background: #0f1923;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.85rem;
    color-scheme: dark;
}

.export-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    font-size: 0.9rem;
    color: #cfd8dc;
}

.export-radio input[type="radio"] { accent-color: #4fc3f7; }

.export-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.export-error {
    margin-top: 8px;
    color: #ef5350;
    font-size: 0.85rem;
    min-height: 1em;
}

/* Daichi controls */
.daichi-controls {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #263545;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.daichi-controls.busy { opacity: 0.6; pointer-events: none; }

.dc-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dc-top { justify-content: space-between; }

.dc-target {
    font-size: 0.8rem;
    color: #90a4ae;
}

.dc-target strong {
    color: #4fc3f7;
    font-size: 1rem;
    margin-left: 4px;
}

.dc-power {
    background: #263545;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.dc-power.on {
    background: #2e7d32;
    border-color: #43a047;
    color: #fff;
}

.dc-power.off {
    background: #c62828;
    border-color: #e53935;
    color: #fff;
}

.dc-power:hover { filter: brightness(1.15); }

.dc-temp {
    background: #0f1923;
    border-radius: 8px;
    padding: 6px 10px;
    gap: 6px;
}

.dc-temp-input {
    flex: 1;
    background: #1a2735;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.95rem;
    text-align: center;
    min-width: 0;
    width: 50px;
}

.dc-apply {
    background: #2e7d32;
    border-color: #43a047;
    color: #fff;
}

.dc-btn {
    background: #263545;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.dc-btn:hover {
    background: #4fc3f7;
    color: #0f1923;
    border-color: #4fc3f7;
}

.dc-modes {
    flex-wrap: wrap;
    gap: 4px;
}

.dc-mode {
    flex: 1 1 60px;
    background: #0f1923;
    color: #b0bec5;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.dc-mode:hover {
    border-color: #4fc3f7;
    color: #4fc3f7;
}

.dc-fans {
    gap: 6px;
    flex-wrap: wrap;
}

.dc-fan-label {
    font-size: 0.75rem;
    color: #90a4ae;
    margin-right: 4px;
}

.dc-fan {
    background: #0f1923;
    color: #b0bec5;
    border: 1px solid #37474f;
    border-radius: 6px;
    width: 32px;
    height: 28px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.dc-fan:hover {
    border-color: #4fc3f7;
    color: #4fc3f7;
}

.dc-fan.active {
    background: #4fc3f7;
    color: #0f1923;
    border-color: #4fc3f7;
}

.card-breezart {
    border-left: 3px solid #ff8a65;
}
.card-tuya {
    border-left: 3px solid #26a69a;
}
.breezart-controls {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1e3040;
}
.tuya-controls {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1e3040;
}
.dc-mode.active {
    background: #4fc3f7;
    color: #0f1923;
    border-color: #4fc3f7;
}

.dc-status {
    font-size: 0.75rem;
    color: #80cbc4;
    min-height: 1em;
}

.dc-status.error { color: #ef5350; }

/* Cameras */
.cameras-section {
    margin-bottom: 32px;
}

.cameras-section h2 {
    font-size: 1.1rem;
    color: #80cbc4;
    margin-bottom: 12px;
}

.cameras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.camera-card {
    background: #1a2735;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #263545;
}

.camera-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #0f1923;
}

.camera-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
}

.camera-name {
    font-size: 0.85rem;
    color: #b0bec5;
    font-weight: 500;
}

.camera-time {
    font-size: 0.7rem;
    color: #546e7a;
}

/* Controls */
.controls {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background: #1a2735;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #263545;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group label {
    font-size: 0.85rem;
    color: #90a4ae;
}

select {
    background: #0f1923;
    color: #e0e0e0;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #4fc3f7;
}

.period-buttons {
    display: flex;
    gap: 4px;
}

.period-buttons button {
    background: #0f1923;
    color: #90a4ae;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.period-buttons button:hover {
    border-color: #4fc3f7;
    color: #4fc3f7;
}

.period-buttons button.active {
    background: #4fc3f7;
    color: #0f1923;
    border-color: #4fc3f7;
    font-weight: 600;
}

/* Source sections */
.source-section {
    margin-bottom: 32px;
}

.source-header h2 {
    font-size: 1.1rem;
    color: #80cbc4;
    margin-bottom: 10px;
    user-select: none;
}

.source-header .collapse-arrow {
    display: inline-block;
    font-size: 0.8rem;
    color: #546e7a;
    transition: transform 0.2s;
    margin-right: 4px;
}

.source-section.collapsed .collapse-arrow {
    transform: rotate(-90deg);
}

.source-section.collapsed .metric-checkboxes,
.source-section.collapsed .chart-container {
    display: none;
}

.source-section.collapsed .source-header h2 {
    margin-bottom: 0;
}

/* Metric checkboxes */
.metric-checkboxes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    background: #1a2735;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #263545;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #b0bec5;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 2px solid #546e7a;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-dot {
    border-color: transparent;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.checkbox-label input[type="checkbox"]:not(:checked) + .checkbox-dot {
    background: transparent !important;
    border-color: #546e7a;
}

/* Chart */
.chart-container {
    background: #1a2735;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #263545;
    height: 400px;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive */
@media (max-width: 600px) {
    .controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .chart-container {
        height: 300px;
    }

    .metric-checkboxes {
        gap: 10px;
    }
}

/* Settings modal */
.settings-section {
    margin-bottom: 22px;
}

.settings-section h3 {
    font-size: 0.95rem;
    color: #80cbc4;
    margin: 0 0 10px;
}

.settings-hint {
    font-size: 0.78rem;
    color: #78909c;
    margin: 6px 0 10px;
}

.settings-blocks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-sources {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-source {
    background: #0f1923;
    border: 1px solid #263545;
    border-radius: 10px;
    padding: 12px 14px;
}

.settings-source-off {
    opacity: 0.55;
}

.settings-source-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.settings-source-name {
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    color: #e0e0e0;
    font-weight: 600;
    background: #1a2735;
    border: 1px solid #37474f;
    border-radius: 6px;
    padding: 6px 10px;
}

.settings-source-name:focus {
    outline: none;
    border-color: #4fc3f7;
}

.settings-source-name:disabled {
    opacity: 0.6;
}

.settings-source-type {
    font-size: 0.75rem;
    color: #78909c;
}

.settings-source-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 10px;
}

.settings-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #1c2a38;
    padding-top: 10px;
}

.settings-metric {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #b0bec5;
    cursor: pointer;
    user-select: none;
}

.settings-empty {
    font-size: 0.8rem;
    color: #607d8b;
}
