/* Area: team — styles for src/next/areas/team.js views. Tokens only (see next.css :root). */
.team-seat { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 22px; border-radius: var(--r-md); background: var(--olive-tint); border: 1.5px solid var(--olive-soft); }
.team-seat .chip { min-height: 38px; font-size: 14px; }
.team-tabs { margin-bottom: 22px; }
.team-tabs .chip { text-decoration: none; }
.team-kpis { margin-bottom: 24px; }
.team-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.team-attn { display: flex; flex-direction: column; gap: 14px; }
.team-attn-card { border-radius: var(--r-md); background: var(--card-2); border: 1.5px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.team-who { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.team-evidence { margin: 0; font-size: 16px; line-height: 1.45; }
.team-err { margin: 0; min-height: 0; color: var(--alert); font-size: 14px; font-weight: 700; }
.team-err:empty { display: none; }
.team-invite { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1.5px solid var(--line); }
.team-invite .field { flex: 1; min-width: 200px; }
.team-member-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.team-member-head > div:first-of-type { flex: 1; min-width: 220px; }
.team-select { min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--card); padding: 0 12px; font-size: 15px; max-width: 200px; }
.team-select:focus { outline: 0; border-color: var(--olive); }
.team-unread { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--olive); color: var(--on-dark); font-size: 14px; font-weight: 800; }
.team-quote { font-size: 14px; color: var(--ink-2); font-weight: 600; border-left: 3px solid var(--olive-soft); padding-left: 10px; }
.team-replying { background: var(--olive-tint); border-radius: var(--r-sm); padding: 10px 14px; }
.team-post-body { margin: 12px 0 0; font-size: 17px; line-height: 1.5; white-space: pre-wrap; }
.team-preview { padding: 18px; font-size: 17px; line-height: 1.5; white-space: pre-wrap; }
.team-caps { margin-top: 10px; gap: 8px; }
.team-caps .chip { min-height: 36px; padding: 0 14px; font-size: 14px; }
.team-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.team-thread { display: flex; flex-direction: column; gap: 12px; max-height: 40vh; overflow-y: auto; }
.team-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.team-pick input { width: 22px; height: 22px; }
.phone .team-two { grid-template-columns: 1fr; }
.phone .team-seat { margin-bottom: 16px; }
.phone .team-select { max-width: 100%; flex: 1; }
@media (max-width: 1180px) { .team-two { grid-template-columns: 1fr; } }

/* ---------- deal portals ---------- */
.portal-thread { display: grid; gap: 10px; }
.portal-msg { max-width: 85%; padding: 12px 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.portal-msg.me { justify-self: end; background: var(--olive-tint); }
.portal-msg p { margin: 0 0 4px; white-space: pre-wrap; }
.portal-msg .muted { font-size: 14px; }
