/* Painel da equipe. As cores claras identificam a área de trabalho. */
.admin-body {
  --paper: #f5f1e9;
  --ink: #27231e;
  --muted: #675e52;
  --rule: #ded6c8;
  --copper: #865127;
  background: var(--paper);
}
.admin-login {
  background: #171612;
  padding: clamp(18px, 5vw, 76px);
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1030px, 100%);
  border-radius: 18px;
  overflow: hidden;
  background: #21201c;
  border: 1px solid #544739;
}
.login-photo {
  background: linear-gradient(0deg, #100e0c55, transparent 60%),
    url("assets/sear-hero-churrasqueira-nado.webp") center / cover;
}
.login-card {
  width: 100%;
  padding: clamp(28px, 5vw, 72px);
  border: 0;
  background: transparent;
}
.login-card .brand { margin-bottom: 42px; }
.login-card h1, .admin-top h1 { font-family: var(--heading); font-weight: 500; line-height: 1.03; }
.login-card h1 { font-size: clamp(38px, 4.5vw, 62px); }
.login-card > p:not(.eyebrow) { font-size: 14px; color: #c3bcb2; }
.login-card input { min-height: 46px; }
.admin-sidebar { background: #201f1b; }
.admin-main { padding: clamp(20px, 3vw, 48px); color: var(--ink); }
.admin-top {
  padding: clamp(24px, 3vw, 46px);
  min-height: 182px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: #fff7e9;
  background: linear-gradient(90deg, #181612 8%, #181612eb 42%, #18161275 75%, #181612ac),
    url("assets/sear-corte-autoral.webp") center 52% / cover;
}
.admin-top h1 { color: #fff7e9; font-size: clamp(34px, 4vw, 60px); }
.admin-top h1 em { color: #e5bd8a; }
.admin-top .eyebrow { color: #dcc7a8; }
.admin-top .button { color: #fff3de; border-color: #ab987d; background: #201c17df; }
.stats { gap: 0; border: 1px solid var(--rule); border-radius: 10px; background: #fffcf6; overflow: hidden; }
.stats > div { border: 0; border-inline-end: 1px solid var(--rule); background: none; }
.stats > div:last-child { border: 0; }
.stats strong { font-family: var(--heading); color: var(--ink); font-weight: 500; }
.stats span, .detail-section h3 { color: var(--copper); font-weight: 700; }
.stats small, .detail-data span, .empty-list, .detail-empty p, .lead-sub { color: var(--muted); }
.lead-list-area, .detail-area { background: #fffdf8; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.list-header h2 { color: var(--ink); font: 500 25px var(--heading); }
.list-header h2 span { color: var(--copper); font: 600 13px var(--sans); }
.list-controls { grid-template-columns: minmax(0, 1fr) minmax(105px, 38%); }
.admin-area :is(input, select, textarea) {
  color-scheme: light;
  min-width: 0; color: var(--ink); background: #fffdf9; border: 1px solid #c6bcab;
}
.admin-area input::placeholder, .admin-area textarea::placeholder { color: #71685c; }
.admin-body :focus-visible { outline: 3px solid #b87735; outline-offset: 2px; }
.icon-button { color: var(--ink); border-color: var(--rule); }
.lead-item { border-color: var(--rule); color: var(--ink); }
.lead-item:hover, .lead-item.selected { background: #f5ecdf; }
.lead-name { font-size: 15px; }
.lead-meta { color: #514a40; font-size: 12px; }
.status-pill { background: #fae9cb; color: #674417; border-color: #e2cfa9; }
.detail-area { scroll-margin-top: 12px; }
.detail-content { padding: clamp(20px, 2.5vw, 38px); }
.detail-content h2, .detail-empty h3 { color: var(--ink); }
.detail-content h2 { font-size: clamp(28px, 3vw, 42px); overflow-wrap: anywhere; }
.detail-kicker { color: var(--copper); }
.detail-section { border-color: var(--rule); }
.detail-data > div, .detail-full, .detail-area label { color: var(--ink); font-size: 14px; }
.detail-data span { font-size: 12px; }
.detail-contact a { background: #292921; color: #fff6e7; border-color: #292921; }
.detail-contact a + a { color: var(--ink); background: transparent; border-color: var(--rule); }
.detail-area .form-error { color: #983420; }
.detail-empty { padding: 90px 24px; }
@media (max-width: 720px) {
  .login-layout { grid-template-columns: 1fr; max-width: 480px; }
  .login-photo { height: clamp(95px, 20vh, 160px); }
  .login-card .brand { margin-bottom: 22px; }
  .admin-top { flex-wrap: wrap; align-content: center; min-height: 155px; }
  .stats > div:nth-child(2) { border-inline-end: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .admin-main { padding: 16px 12px 40px; }
  .list-controls { grid-template-columns: 1fr; }
  .admin-area :is(input, select, textarea), .login-card input { font-size: 16px; }
}
