/* Carte - comptes par temperature commerciale */

.map-temp-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--tt-border);
  border-radius: 10px;
  background: var(--tt-surface);
}

.map-temp-panel > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.map-temp-panel > header strong {
  color: var(--tt-fg);
  font-size: 13px;
}

.map-temp-panel > header span {
  color: var(--tt-fg-3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-temp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.map-temp-col {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--tt-border);
  border-radius: 9px;
  background: var(--tt-surface-2);
}

.map-temp-head {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  margin-bottom: 7px;
}

.map-temp-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tt-accent);
}

.map-temp-col.is-hot .map-temp-head span { background: var(--tt-danger); }
.map-temp-col.is-warm .map-temp-head span { background: var(--tt-warn); }
.map-temp-col.is-cold .map-temp-head span { background: var(--tt-accent); }

.map-temp-head strong {
  color: var(--tt-fg);
  font-size: 12px;
}

.map-temp-head em {
  color: var(--tt-fg-3);
  font-family: var(--tt-font-mono, ui-monospace);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.map-temp-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.map-temp-list p {
  margin: 0;
  color: var(--tt-fg-4);
  font-size: 11px;
}

.map-temp-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  width: 100%;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--tt-fg);
  text-align: left;
  cursor: pointer;
}

.map-temp-account:hover,
.map-temp-account:focus-visible {
  border-color: var(--tt-accent-border);
  background: var(--tt-accent-soft);
  outline: none;
}

.map-temp-account strong,
.map-temp-account span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-temp-account strong {
  font-size: 12px;
}

.map-temp-account span {
  grid-column: 1;
  color: var(--tt-fg-3);
  font-size: 11px;
}

.map-temp-account em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--tt-fg-2);
  font-family: var(--tt-font-mono, ui-monospace);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
