/* Mentor Pilot · estrutura: menu lateral + área principal */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }

.side {
  flex: 1 1 240px; max-width: 100%;
  background: var(--side); color: #F4F2EE;
  padding: 22px 14px;
  display: flex; flex-direction: column; gap: 20px;
}
.main {
  flex: 999 1 560px; min-width: 0;
  padding: 26px clamp(16px, 3vw, 40px) 64px;
  display: flex; flex-direction: column; gap: 22px;
}

.page { display: flex; flex-direction: column; gap: 20px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.page-head p { margin-top: 4px; color: var(--muted); }
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

.row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.row.stretch { align-items: stretch; }
.grow { flex: 1 1 320px; min-width: 0; }
.grow-2 { flex: 2 1 420px; min-width: 0; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.scroll-x { overflow-x: auto; padding-bottom: 6px; }

/* ---- menu lateral ---- */
.brand { background: transparent; border: 0; display: flex; align-items: center; gap: 12px; color: #fff; text-align: left; padding: 4px 6px; min-height: 48px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; color: #fff; flex: none; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; line-height: 1; }
.brand-sub { font-size: 12px; color: #A8ABB5; }

.me { display: flex; align-items: center; gap: 12px; background: var(--side-2); border-radius: 14px; padding: 12px; }
.me-name { font-weight: 600; font-size: 15px; }

.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: transparent; color: #D6D8DD; border: 0; border-radius: 12px;
  padding: 6px 10px 6px 6px; min-height: 48px; font-weight: 500;
}
.nav-item:hover { background: var(--side-2); }
.nav-item .tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #0F1115; }
.nav-item.on { color: #0F1115; font-weight: 700; }
.nav-item.on .tile { background: #fff !important; }
.nav-label { flex: 1; }
.nav-badge { background: #F97316; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }

.side-title { color: #A8ABB5; font-size: 12px; font-weight: 600; padding: 0 6px; }
.agent-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.agent-chip { background: var(--side-2); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; }
.agent-chip span { display: flex; align-items: center; gap: 6px; }
.agent-chip small { font-size: 11px; color: #A8ABB5; font-weight: 500; }
.int-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.int-chip { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; background: #14532D; color: #BBF7D0; }
.int-chip.wait { background: #7C2D12; color: #FED7AA; }
