/*
 * Archivo: style.css
 * Autores: Artai Bringas y Javier Rodríguez
 * Fecha: 26 de mayo del 2026
 * Función: Hoja de estilos completa del panel.
 * Licencia: MIT
 */

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

html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: #222;
  background: #fff;
  overflow: hidden;
}

#root { height: 100vh; display: flex; flex-direction: column; }

.layout { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: 220px;
  min-width: 220px;
  background: #f5f5f5;
  border-right: 1px solid #d0d0d0;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  overflow-y: auto;
  gap: 0;
}

.main-area { flex: 1; overflow-y: auto; min-width: 0; }
#main-content { padding: 20px 24px; }

.sidebar-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: #111;
}

.sidebar-file {
  font-size: 12px;
  color: #555;
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 2px;
}

.dirty-badge {
  display: block;
  font-size: 11px;
  color: #b94040;
  margin-bottom: 4px;
}

.sidebar-count {
  font-size: 12px;
  color: #888;
  margin-bottom: 14px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.nav-link {
  display: block;
  padding: 6px 8px;
  text-decoration: none;
  color: #333;
  border-radius: 3px;
  font-size: 13px;
}
.nav-link:hover { background: #e4e4e4; }
.nav-link.active { background: #1a73e8; color: #fff; }

.pending-notice {
  font-size: 12px;
  color: #1a73e8;
  padding: 4px 0;
  margin-bottom: 8px;
}

.sidebar-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #d0d0d0;
}

button, .btn {
  display: inline-block;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  border: 1px solid #bbb;
  background: #fff;
  color: #222;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
button:hover, .btn:hover { background: #f0f0f0; }
button:disabled, .btn:disabled { opacity: 0.5; cursor: default; }

.btn-primary { background: #1a73e8; color: #fff; border-color: #1557b0; }
.btn-primary:hover { background: #1557b0; }

.btn-danger { background: #dc3545; color: #fff; border-color: #b02a37; }
.btn-danger:hover { background: #b02a37; }

.btn-sm { padding: 3px 8px; font-size: 12px; }
.btn-full { width: 100%; }

.btn-link {
  background: none;
  border: none;
  color: #1a73e8;
  padding: 0;
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}
.btn-link:hover { color: #1557b0; }

input[type="text"],
input[type="number"],
input[type="file"],
select,
textarea {
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 5px 8px;
  color: #222;
  background: #fff;
}
input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus { outline: 2px solid #1a73e8; outline-offset: -1px; }

textarea {
  resize: vertical;
  width: 100%;
  font-family: monospace;
  font-size: 13px;
}

.error-box {
  background: #ffeaea;
  border: 1px solid #e57373;
  color: #b00020;
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 3px;
  font-size: 13px;
  white-space: pre-wrap;
}

.info-box {
  background: #e8f4fd;
  border-left: 3px solid #1a73e8;
  padding: 8px 12px;
  margin: 8px 0;
  font-size: 13px;
  color: #333;
}

.muted { color: #888; font-size: 13px; }

.home {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 24px;
}

.home-top { margin-bottom: 20px; }
.home-title { font-size: 24px; font-weight: 700; margin-bottom: 4px; color: #111; }
.home-subtitle { color: #666; font-size: 14px; }

.home-demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e8f4fd;
  border: 1px solid #c5d8f5;
  border-radius: 4px;
  padding: 9px 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #333;
}
.home-demo-bar span { flex: 1; }
.btn-icon {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
  line-height: 1;
}
.btn-icon:hover { color: #333; }

.home-setup-card {
  border: 2px dashed #c5d8f5;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 24px;
  background: #fafcff;
}
.home-setup-icon { font-size: 36px; margin-bottom: 12px; }
.home-setup-card h2 { font-size: 16px; margin-bottom: 8px; color: #111; }
.home-setup-card p { color: #666; font-size: 13px; line-height: 1.6; margin-bottom: 18px; max-width: 380px; margin-left: auto; margin-right: auto; }
.btn-lg { padding: 8px 20px; font-size: 14px; }

.home-folder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 8px;
}
.home-folder-name { font-size: 13px; font-weight: 600; color: #222; }

.home-file-list-wrap { margin-bottom: 12px; }

.home-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: #aaa;
  font-size: 12px;
}
.home-divider::before,
.home-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #e0e0e0;
}

.home-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.view-header { margin-bottom: 16px; }
.view-header h2 { font-size: 18px; margin-bottom: 4px; }
.view-desc { color: #666; font-size: 13px; }

.sql-editor { margin-bottom: 4px; }
.sql-editor textarea { height: 110px; }
.sql-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 10px;
}
.hint { color: #999; font-size: 12px; }

.visual-form {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 14px;
}

.query-section { margin-bottom: 14px; }
.query-section:last-child { margin-bottom: 0; }
.query-section h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #555; letter-spacing: 0.05em; margin-bottom: 8px; }

.filter-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: nowrap;
}
.filter-field-sel { min-width: 160px; max-width: 200px; }
.filter-op-sel { min-width: 120px; }
.filter-val-input { flex: 1; min-width: 80px; }
.filter-val-empty { flex: 1; }

.sort-controls { display: flex; gap: 8px; }
.sort-controls select { flex: 1; }

.visual-actions { display: flex; gap: 8px; align-items: center; margin-top: 14px; }

.sql-preview {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 8px 10px;
  margin: 8px 0;
}
.sql-preview pre {
  font-family: monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
  color: #333;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 6px;
}
.results-count { font-size: 13px; color: #555; }

.table-wrapper {
  overflow: auto;
  max-height: calc(100vh - 280px);
  border: 1px solid #d0d0d0;
  border-radius: 3px;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: max-content;
  font-size: 13px;
}

.data-table th {
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  padding: 5px 10px;
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.data-table td {
  border: 1px solid #e8e8e8;
  padding: 3px 10px;
  white-space: nowrap;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-table tbody tr:hover { background: #f0f7ff; }
.data-table tbody tr:nth-child(even) { background: #fafafa; }
.data-table tbody tr:nth-child(even):hover { background: #f0f7ff; }

.editable-cell { cursor: pointer; }
.editable-cell:hover { background: #fffde7 !important; }

.cell-input {
  width: 100%;
  min-width: 140px;
  border: 1px solid #1a73e8;
  padding: 1px 4px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  background: #fff;
}

.col-delete { width: 32px; text-align: center; }
.col-delete button { padding: 1px 5px; font-size: 12px; }

.readonly-note { font-size: 12px; color: #888; margin-top: 6px; }

.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
  font-size: 13px;
  color: #555;
}

.no-results { color: #888; padding: 20px 0; font-size: 13px; }

.guide { max-width: 800px; }
.guide h2 {
  font-size: 17px;
  margin: 28px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
  color: #111;
}
.guide h2:first-child { margin-top: 0; }
.guide h3 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; color: #222; }
.guide p { line-height: 1.7; margin-bottom: 8px; color: #333; }
.guide ul, .guide ol { padding-left: 22px; margin-bottom: 10px; }
.guide li { line-height: 1.7; margin-bottom: 3px; color: #333; }
.guide code {
  background: #f0f0f0;
  border: 1px solid #ddd;
  padding: 1px 5px;
  border-radius: 2px;
  font-family: monospace;
  font-size: 12px;
  color: #333;
}
.guide pre {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px 12px;
  border-radius: 3px;
  overflow-x: auto;
  margin: 8px 0 12px;
  font-family: monospace;
  font-size: 12px;
  line-height: 1.5;
}
.guide table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0 16px;
  font-size: 12px;
}
.guide th {
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  padding: 5px 10px;
  text-align: left;
  font-weight: 700;
}
.guide td {
  border: 1px solid #d0d0d0;
  padding: 4px 10px;
  vertical-align: top;
}
.guide tr:nth-child(even) td { background: #fafafa; }
.guide .note {
  background: #e8f4fd;
  border-left: 3px solid #1a73e8;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}
.guide .warn {
  background: #fff8e1;
  border-left: 3px solid #f9a825;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

.home-folder-section { margin-bottom: 0; }

.folder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.folder-label { color: #555; font-size: 13px; }

.setup-box {
  background: #f5f9ff;
  border: 1px solid #c5d8f5;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 4px;
}
.setup-box p { color: #333; line-height: 1.6; margin-bottom: 12px; }

.file-list { margin: 4px 0 10px; }

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  margin-bottom: 4px;
  background: #fff;
}
.file-item:hover { background: #f5f5f5; }
.file-item-name {
  flex: 1;
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-item-meta { font-size: 12px; color: #888; white-space: nowrap; }

.new-file-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.new-file-row input { flex: 1; }

.home-sep {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 20px 0;
}

.solo-section h3 {
  font-size: 13px;
  color: #777;
  font-weight: 600;
  margin-bottom: 12px;
}

.incognito-notice {
  font-size: 11px;
  color: #b00020;
  background: #ffeaea;
  border: 1px solid #e57373;
  border-radius: 3px;
  padding: 4px 7px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #fff;
  border-radius: 6px;
  padding: 24px;
  width: 400px;
  max-width: calc(100vw - 40px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
}

.modal-section { margin-bottom: 14px; }

.modal-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-filename-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.modal-filename-row .modal-input {
  flex: 1;
  border-radius: 3px 0 0 3px;
  border-right: none;
}

.modal-ext {
  padding: 5px 9px;
  border: 1px solid #bbb;
  border-radius: 0 3px 3px 0;
  background: #f5f5f5;
  font-size: 13px;
  color: #555;
  white-space: nowrap;
}

.modal-input {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 5px 8px;
  color: #222;
}
.modal-input:focus { outline: 2px solid #1a73e8; outline-offset: -1px; }

.modal-radio-group { display: flex; flex-direction: column; gap: 8px; }
.modal-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
.modal-radio-label input[type="radio"] { margin: 0; }

.modal-warn {
  background: #fff8e1;
  border-left: 3px solid #f9a825;
  padding: 8px 10px;
  font-size: 12px;
  color: #5d4037;
  line-height: 1.5;
  margin-bottom: 10px;
  border-radius: 0 3px 3px 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e0e0e0;
}



.stats-kpi-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.stats-kpi {
  flex: 1;
  min-width: 120px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 14px;
}

.stats-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: #1a73e8;
  line-height: 1.2;
  margin-bottom: 3px;
}

.stats-kpi-label {
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stats-section {
  margin-bottom: 22px;
}

.stats-section h3 {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e8e8e8;
}

.stats-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.stats-table th {
  text-align: left;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px 3px 0;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 600;
}

.stats-table tr:hover td { background: #f5f5f5; }

.stats-td-domain {
  padding: 4px 8px 4px 0;
  color: #222;
  min-width: 160px;
}

.stats-td-n {
  padding: 4px 16px 4px 0;
  color: #555;
  text-align: right;
  white-space: nowrap;
  min-width: 50px;
}

.stats-td-bar { width: 100%; padding: 4px 0; }

.stats-bar {
  height: 8px;
  background: #1a73e8;
  border-radius: 2px;
  min-width: 2px;
}
.stats-bar-orange { background: #f57c00; }
.stats-bar-green  { background: #2e7d32; }

.stats-hour-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 90px;
  padding-bottom: 28px;
  position: relative;
}

.stats-hour-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-hour-bar-wrap {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: flex-end;
}

.stats-hour-bar {
  width: 100%;
  background: #1a73e8;
  border-radius: 2px 2px 0 0;
  min-height: 1px;
}

.stats-hour-label {
  font-size: 9px;
  color: #999;
  margin-top: 3px;
  text-align: center;
}

.stats-hour-n {
  font-size: 9px;
  color: #bbb;
  text-align: center;
  min-height: 11px;
}

.modal-pw-display {
  width: 100%;
  min-height: 34px;
  line-height: 34px;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 0 8px;
  font-size: 20px;
  letter-spacing: 3px;
  color: #222;
  cursor: text;
  box-sizing: border-box;
  outline: none;
}
.modal-pw-display:focus {
  outline: 2px solid #1a73e8;
  outline-offset: -1px;
}
.modal-pw-display:empty::before {
  content: 'Contraseña';
  color: #aaa;
  font-size: 13px;
  letter-spacing: normal;
}



.onboarding-box { max-width: 480px; }

.onboarding-step-indicator {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}
.onboarding-dot-active { background: #1a73e8; }

.onboarding-body {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 4px;
  min-height: 80px;
}
.onboarding-body strong { color: #111; }

.save-mode {
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.save-mode-ok {
  background: #e6f4ea;
  color: #1e4d2b;
  border: 1px solid #b7dfc3;
}
.save-mode-saving {
  background: #e8f4fd;
  color: #1a4a6e;
  border: 1px solid #b0d4f0;
}
.save-mode-warn {
  background: #fff3e0;
  color: #7a3b00;
  border: 1px solid #ffcc80;
}
.save-mode-file {
  display: block;
  font-weight: 600;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-banner {
  background: #fff3e0;
  border-left: 3px solid #f57c00;
  color: #7a3b00;
  padding: 9px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  border-radius: 0 3px 3px 0;
  line-height: 1.5;
}
.session-banner strong { color: #5d2e00; }
.session-banner em { font-style: normal; font-weight: 600; }

.nf-opt-card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px 12px;
  align-items: flex-start !important;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.nf-opt-card:has(input:checked) {
  border-color: #1a73e8;
  background: #f0f7ff;
}
.nf-opt-card input[type="radio"] { margin-top: 2px; flex-shrink: 0; }
.nf-opt-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nf-opt-body strong { font-size: 13px; color: #111; }
.nf-opt-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.save-mode-toggle {
  display: block;
  margin-top: 6px;
  background: none;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  opacity: 0.8;
  color: inherit;
  width: 100%;
  text-align: left;
}
.save-mode-toggle:hover { opacity: 1; background: rgba(0,0,0,0.06); }

.home-folder-btns { display: flex; gap: 6px; }

.tag-list-card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #fff;
}
.tag-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list-name {
  font-weight: 700;
  font-size: 14px;
  color: #111;
}
.tag-list-actions { display: flex; gap: 6px; }
.tag-list-entries { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.tag-entry-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 3px 0;
}
.tag-entry-icon { color: #999; font-size: 11px; }
.tag-entry-value { flex: 1; color: #333; font-family: monospace; font-size: 12px; }
.tag-entry-add { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.tag-entry-add .modal-input { flex: 1; }

.tag-new-list {
  border: 1px dashed #c0c0c0;
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 10px;
  background: #fafafa;
}
.tag-new-list h3 { font-size: 13px; margin-bottom: 10px; color: #555; }
.tag-new-row { display: flex; gap: 8px; align-items: center; }
.tag-new-row .modal-input { flex: 1; }

.view-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.view-header-row h2 { margin-bottom: 4px; }

.col-actions {
  width: 36px;
  text-align: center;
  padding: 3px 4px;
}
.col-actions button { padding: 2px 6px; font-size: 12px; }

.stats-hint { font-size: 11px; color: #aaa; font-weight: 400; }

.tag-controls {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.tag-auto-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #222;
  cursor: pointer;
  margin-bottom: 10px;
}
.tag-bulk-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.stats-period-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.stats-period-btn {
  padding: 4px 12px;
  font-family: inherit;
  font-size: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 14px;
  background: #fff;
  color: #555;
  cursor: pointer;
}
.stats-period-btn:hover  { background: #f0f0f0; }
.stats-period-btn.active { background: #1a73e8; color: #fff; border-color: #1557b0; }

.filter-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.filter-section-header h3 { margin-bottom: 0; }

.combinator-toggle {
  display: flex;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  overflow: hidden;
}
.comb-btn {
  padding: 3px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: #fff;
  color: #666;
  cursor: pointer;
  border-left: 1px solid #d0d0d0;
}
.comb-btn:first-child { border-left: none; }
.comb-btn:hover { background: #f0f0f0; }
.comb-btn.comb-active {
  background: #1a73e8;
  color: #fff;
}

.filter-not-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #b00020;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 2px;
  user-select: none;
}
.filter-not-label input[type="checkbox"] { margin: 0; accent-color: #b00020; }

.comb-pill {
  display: block;
  margin: 4px 0 4px 28px;
  padding: 2px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid #1a73e8;
  border-radius: 10px;
  background: #fff;
  color: #1a73e8;
  cursor: pointer;
  width: fit-content;
  transition: background 0.15s, color 0.15s;
}
.comb-pill:hover { background: #e8f0fe; }
.comb-pill-or {
  border-color: #e65100;
  color: #e65100;
}
.comb-pill-or:hover { background: #fff3e0; }

.home-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.onboarding-step-label {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.onboarding-box { max-width: 520px; }
.onboarding-body { min-height: 90px; }
.about-page { max-width: 500px; }
.about-table { border-collapse: collapse; width: 100%; margin-top: 8px; font-size: 14px; }
.about-table td { padding: 10px 16px 10px 0; border-bottom: 1px solid #e8e8e8; vertical-align: top; line-height: 1.6; }
.about-table tr:last-child td { border-bottom: none; }
.about-label { font-weight: 700; color: #555; width: 110px; white-space: nowrap; }
.about-page a { color: #1a73e8; }
