/* ===== Localmail — mockup ilustrativo da plataforma (tema claro) ===== */
.lm-mock {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 232px 1fr;
  grid-template-rows: 62px 1fr;
  height: 640px;
  color: #1f2330;
  font-size: clamp(13px, 0.527vw, 14px);
  text-align: left;
  --lm-red: #D61334;
}

/* topo */
.lm-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid #eef0f4;
}
.lm-top img { height: clamp(20px, 1.02vw, 26px); width: auto; }
.lm-search {
  flex: 1;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f2f3f7;
  border-radius: 99px;
  padding: 9px 16px;
  color: #8a8fa3;
  font-weight: 500;
}
.lm-search svg { flex: none; }
.lm-user {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--lm-red);
  color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

/* sidebar */
.lm-side {
  border-right: 1px solid #eef0f4;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.lm-compose {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #e7e9ef;
  border-radius: 99px;
  padding: 10px 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(31, 35, 48, 0.07);
  margin: 0 4px 14px;
  align-self: flex-start;
}
.lm-compose svg { color: var(--lm-red); }
.lm-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  color: #4a4f63;
  font-weight: 500;
  white-space: nowrap;
  gap: 8px;
}
.lm-item.active {
  background: #f9e9ec;
  color: var(--lm-red);
  font-weight: 700;
}
.lm-item small { font-size: 12px; font-weight: 600; color: inherit; opacity: 0.85; }
.lm-label-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #9aa0b4;
  margin: 16px 12px 6px;
}
.lm-marker {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px;
  color: #4a4f63;
  font-weight: 500;
}
.lm-marker i {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--mk);
  flex: none;
}

/* lista */
.lm-main { display: flex; flex-direction: column; overflow: hidden; }
.lm-filters { display: flex; gap: 8px; padding: 14px 20px 12px; flex-wrap: wrap; }
.lm-chip {
  border: 1px solid #e7e9ef;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #5a5f73;
  white-space: nowrap;
}
.lm-chip.active { background: #fdeef1; border-color: #f0c3cd; color: var(--lm-red); }
.lm-listhead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 20px 10px;
  font-weight: 700;
  white-space: nowrap;
  gap: 12px;
}
.lm-listhead small { font-weight: 600; color: #9aa0b4; font-size: 12px; }
.lm-row {
  display: flex; align-items: center; gap: 13px;
  padding: 10px 20px;
  border-top: 1px solid #f1f2f6;
  min-height: 0;
  flex: 1;
}
.lm-row.unread { background: #fdf2f4; }
.lm-star { color: #c6cad6; flex: none; display: flex; }
.lm-row.unread .lm-star { color: var(--lm-red); }
.lm-ava {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--av, #6a7184);
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.lm-name { width: 96px; flex: none; font-weight: 700; font-size: clamp(12px, 0.508vw, 13px); white-space: nowrap; }
.lm-tag {
  font-size: 10px; font-weight: 700;
  color: #fff;
  background: var(--tg);
  border-radius: 5px;
  padding: 2px 8px;
  line-height: 1.5;
  flex: none;
}
.lm-bar {
  height: 8px;
  border-radius: 99px;
  background: #e9ebf1;
  flex: 1 1 auto;
  min-width: 20px;
}
.lm-time {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #9aa0b4;
  flex: none;
  white-space: nowrap;
}
.lm-row.unread .lm-time { color: var(--lm-red); }

@media (max-width: 900px) {
  .lm-mock { grid-template-columns: 1fr; height: 560px; }
  .lm-side { display: none; }
  .lm-name { width: 78px; }
  .lm-tag { display: none; }
}
@media (max-width: 560px) {
  .lm-mock { height: 520px; font-size: 13px; }
  .lm-search { display: none; }
  .lm-top { justify-content: space-between; }
  .lm-filters { padding: 12px 14px 10px; }
  .lm-row { padding: 8px 14px; gap: 10px; }
  .lm-listhead { padding: 4px 14px 8px; }
}
