@font-face {
  font-family: Geist;
  src: url('./fonts/Geist-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --azul: #0047bb;
  --azul-escuro: #003a99;
  --azul-claro: #e8eef9;
  --marinho: #0b1f3a;
  --aco: #8fa0b5;
  --cinzento-claro: #f4f6f9;
  --texto-2: #48576b;
  --linha: #dde3ea;
  --linha-forte: #6b7d93;
  --sucesso: #1d7a36;
  --erro: #b3261e;
  --raio: 8px;
  --raio-grande: 12px;
  --fonte: Geist, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--fonte);
  color: var(--marinho);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #fff; }
body { min-width: 320px; min-height: 100vh; margin: 0; font-size: 14px; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #7aa7fa; outline-offset: 3px; }
button:disabled, input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.phase-strip {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 5px 16px;
  border-bottom: 1px solid #e7ebf0;
  background: #f9fafc;
  color: #56677e;
  font-size: 11px;
  letter-spacing: .015em;
}
.phase-strip__dot, .connection-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 100%; background: #c48823; }

.entry { display: grid; width: min(1160px, 100%); min-height: calc(100vh - 32px); margin: 0 auto; grid-template-columns: 1.02fr .98fr; }
.entry__brand { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(38px, 7vw, 92px) clamp(28px, 7vw, 88px) 32px; }
.entry__logo { width: min(250px, 72%); height: auto; margin-bottom: clamp(58px, 9vw, 108px); }
.eyebrow { margin: 0 0 11px; color: var(--azul); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.entry h1 { margin: 0; color: var(--marinho); font-size: clamp(38px, 5vw, 58px); font-weight: 620; letter-spacing: -.055em; line-height: 1.03; }
.entry__description { max-width: 355px; margin: 21px 0 0; color: var(--texto-2); font-size: 16px; line-height: 1.6; }
.entry__notice { display: flex; max-width: 430px; align-items: flex-start; gap: 12px; margin-top: 54px; padding-top: 18px; border-top: 1px solid var(--linha); color: var(--texto-2); }
.entry__notice p { margin: 0; font-size: 13px; line-height: 1.55; }
.notice-mark { display: inline-flex; width: 20px; height: 20px; flex: 0 0 20px; align-items: center; justify-content: center; border: 1px solid #b7c2d0; border-radius: 50%; color: var(--marinho); font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.entry__foot { margin: auto 0 0; padding-top: 46px; color: #738196; font-size: 11px; }
.entry__panel { display: flex; min-height: 670px; align-items: center; justify-content: center; padding: 52px clamp(28px, 6vw, 72px); border-left: 1px solid var(--linha); background: var(--cinzento-claro); }
.entry-card { width: min(440px, 100%); padding: 0; }
.entry-card h2 { margin: 0 0 9px; font-size: 28px; font-weight: 620; letter-spacing: -.04em; line-height: 1.15; }
.entry-card > p, .entry-card .muted { margin: 0 0 27px; color: var(--texto-2); }
.entry-card__intro { margin: 0 0 25px; color: var(--texto-2); }
.entry-form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field--spaced { margin-top: 8px; }
.field label, .field-label { color: var(--marinho); font-size: 12px; font-weight: 620; }
.field input, .field select { width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #bcc7d4; border-radius: var(--raio); background: #fff; color: var(--marinho); }
.field input::placeholder { color: #8491a3; }
.field-hint { margin: -1px 0 0; color: #637186; font-size: 11px; }
.setup-account { margin: 14px 0; padding: 0 0 13px; border-bottom: 1px solid #dbe1e8; }
.setup-account:last-of-type { border-bottom: 0; }
.setup-account strong { display: block; margin: 0 0 7px; font-size: 13px; }
.setup-key { margin-top: 20px; padding-top: 18px; border-top: 1px solid #d2dbe5; }
.form-error { margin: 14px 0 0 !important; color: var(--erro) !important; font-size: 12px; }
.form-success { margin: 14px 0 0 !important; color: var(--sucesso) !important; font-size: 12px; }
.form-footnote { margin: 16px 0 0 !important; color: #637186 !important; font-size: 11px; line-height: 1.55; }

.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: var(--raio); font-size: 12px; font-weight: 620; line-height: 1; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.button--primary { border-color: var(--azul); background: var(--azul); color: white; }
.button--primary:hover:not(:disabled) { border-color: var(--azul-escuro); background: var(--azul-escuro); }
.button--secondary { border-color: #bdc9d7; background: #fff; color: #42536a; }
.button--secondary:hover { border-color: var(--azul); color: var(--azul); }
.preview-button { width: 100%; margin-top: 10px; }
.button:disabled { border-color: #cbd3de; background: #e0e5ec; color: #718096; }
.entry-form .button { width: 100%; min-height: 46px; margin-top: 4px; }

.application { min-height: calc(100vh - 32px); background: #fff; }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; height: 70px; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid var(--linha); background: rgba(255, 255, 255, .98); }
.topbar__brand { display: inline-flex; align-items: center; gap: 15px; color: inherit; text-decoration: none; }
.topbar__brand img { display: block; width: 176px; height: auto; }
.brand-divider { width: 1px; height: 23px; background: var(--linha-forte); }
.brand-label { color: #526177; font-size: 13px; font-weight: 520; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.connection-label { display: inline-flex; align-items: center; gap: 8px; color: #68778b; font-size: 11px; }
.connection-label .connection-dot { width: 6px; height: 6px; }
.connection-label.is-connected .connection-dot { background: var(--sucesso); }
.user-button { display: inline-flex; align-items: center; gap: 9px; padding: 3px 0; border: 0; background: transparent; cursor: default; }
.user-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #c9d5e3; border-radius: 50%; background: #f6f8fb; color: var(--azul); font-size: 12px; font-weight: 650; }
.user-name { max-width: 160px; overflow: hidden; color: var(--marinho); font-size: 12px; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.user-button > svg { width: 15px; height: 15px; fill: none; stroke: #617187; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.signout-button { padding: 7px 0 7px 14px; border: 0; border-left: 1px solid var(--linha); background: transparent; color: var(--texto-2); font-size: 11px; cursor: pointer; }
.signout-button:hover { color: var(--azul); }
.app-layout { display: grid; min-height: calc(100vh - 102px); grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 70px; display: flex; height: calc(100vh - 102px); flex-direction: column; overflow-y: auto; padding: 28px 15px 16px; border-right: 1px solid var(--linha); background: #fff; }
.sidebar__section-label { padding: 0 12px; color: #79879a; font-size: 9px; font-weight: 680; letter-spacing: .12em; }
.main-nav { display: grid; gap: 3px; margin: 13px 0 32px; }
.mail-navigation { display: grid; align-content: start; }
.nav-item { position: relative; display: flex; min-height: 42px; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #42536a; text-align: left; cursor: pointer; }
.nav-item svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.nav-item span { font-size: 12px; font-weight: 520; }
.nav-item:hover { background: #f6f8fb; color: var(--azul); }
.nav-item.is-active { background: #f1f5fb; color: var(--azul); }
.nav-item.is-active::before { position: absolute; top: 8px; bottom: 8px; left: 0; width: 3px; border-radius: 3px; background: var(--azul); content: ''; }
.sidebar__section-label--mail { margin-bottom: 13px; }
.mailbox-nav { display: grid; gap: 2px; }
.mailbox-link { display: flex; min-height: 36px; align-items: center; gap: 10px; padding: 0 11px; border: 0; border-radius: 6px; background: transparent; color: #53647a; font-size: 11px; text-align: left; cursor: pointer; }
.mailbox-link:hover, .mailbox-link.is-selected { background: #f6f8fb; color: var(--marinho); }
.mailbox-link__dot { width: 7px; height: 7px; flex: 0 0 auto; border: 1px solid #8494a9; border-radius: 50%; }
.mailbox-link[data-kind="shared"] .mailbox-link__dot { border-color: var(--azul); background: var(--azul); }
.mailbox-link__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-empty { margin: 0; padding: 0 11px; color: #7a8798; font-size: 11px; }
.sidebar__section-label--folders { margin: 24px 0 10px; }
.folder-nav { display: grid; gap: 2px; }
.folder-link { display: flex; min-height: 34px; align-items: center; gap: 10px; padding: 0 11px; border: 0; border-radius: 6px; background: transparent; color: #53647a; font-size: 11px; text-align: left; cursor: pointer; }
.folder-link:hover:not(:disabled), .folder-link.is-selected { background: #f1f5fb; color: var(--azul); }
.folder-link.is-selected { font-weight: 620; }
.folder-link__icon { display: inline-flex; width: 17px; height: 17px; flex: 0 0 auto; align-items: center; justify-content: center; color: #8794a5; }
.folder-link__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.folder-link__label { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-link__count { min-width: 17px; padding: 1px 5px; border-radius: 10px; background: #edf2f8; color: #68798f; font-size: 9px; text-align: center; }
.folder-link[data-role="inbox"] .folder-link__icon, .folder-link[data-role="custom"] .folder-link__icon { color: var(--azul); }
.folder-link:disabled { color: #8b97a8; cursor: not-allowed; }
.folder-create { display: inline-flex; min-height: 34px; align-items: center; gap: 9px; margin: 6px 0 0; padding: 0 11px; border: 0; background: transparent; color: #7b899b; font-size: 10px; text-align: left; }
.folder-create:disabled { color: #929eac; cursor: not-allowed; }
.folder-create span { font-size: 16px; line-height: 1; }
.selected-folder { display: none; }
.sidebar__bottom { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 14px 11px 1px; border-top: 1px solid var(--linha); color: #708096; font-size: 10px; }
.lock-icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto; align-items: center; justify-content: center; color: #687990; }
.lock-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.lock-icon--blue { color: var(--azul); }

.main-content { min-width: 0; padding: 34px clamp(26px, 4vw, 62px) 65px; }
.view { display: none; width: min(1190px, 100%); margin: 0 auto; }
.view.is-visible { display: block; }
.page-heading { display: flex; min-height: 96px; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid var(--linha); }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading h1 { margin: 0; color: var(--marinho); font-size: clamp(27px, 3vw, 35px); font-weight: 620; letter-spacing: -.045em; line-height: 1.1; }
.page-subtitle { margin: 8px 0 0; color: var(--texto-2); font-size: 12px; }
.heading-actions { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 1px; }
.status-chip { display: inline-flex; min-height: 26px; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #dde3ea; border-radius: 20px; color: #627187; font-size: 10px; white-space: nowrap; }
.status-chip > span { width: 6px; height: 6px; border-radius: 50%; background: #c48823; }
.status-chip--on > span { background: var(--sucesso); }

.mail-toolbar { display: flex; min-height: 62px; align-items: center; gap: 18px; border-bottom: 1px solid var(--linha); }
.search-box { display: flex; min-width: 210px; max-width: 325px; height: 34px; flex: 1; align-items: center; gap: 8px; margin-left: auto; padding: 0 9px; border: 1px solid #d7dee7; border-radius: 6px; background: #fbfcfd; color: #8290a2; }
.search-box > svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--marinho); font-size: 11px; }
.search-box input::placeholder { color: #8b97a8; }
.search-box kbd { flex: 0 0 auto; padding: 1px 4px; border: 1px solid #d9dfe7; border-radius: 3px; color: #8b97a8; font-family: var(--fonte); font-size: 9px; }
.icon-button { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid #d7dee7; border-radius: 6px; background: #fff; color: #748298; }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.selected-mailbox { display: none; }
.mail-content { min-height: 410px; }
.message-list { border-bottom: 1px solid var(--linha); }
.message-row { display: grid; width: 100%; min-height: 70px; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 9px; border: 0; border-bottom: 1px solid var(--linha); background: #fff; text-align: left; cursor: pointer; }
.message-list > [role="listitem"]:last-child .message-row { border-bottom: 0; }
.message-row:hover { background: #f8fafc; }
.message-row__unread { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.message-row--unread .message-row__unread { background: var(--azul); }
.message-row__main { display: grid; min-width: 0; grid-template-columns: minmax(100px, .75fr) minmax(120px, 1fr); align-items: baseline; gap: 2px 14px; }
.message-row__sender, .message-row__subject { overflow: hidden; color: #31445d; font-size: 11px; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.message-row__email { overflow: hidden; color: #78869a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.message-row__subject { grid-column: 1 / -1; color: #65758b; font-size: 10px; font-weight: 450; }
.message-row--unread .message-row__sender, .message-row--unread .message-row__subject { color: var(--marinho); font-weight: 650; }
.message-row__meta { display: flex; min-width: 80px; flex-direction: column; align-items: flex-end; gap: 5px; color: #8491a2; font-size: 9px; white-space: nowrap; }
.message-row__attachment { color: var(--azul); font-size: 15px; line-height: 1; }
.load-more { display: block; min-height: 38px; margin: 15px auto; padding: 0 15px; border: 1px solid #ccd5e0; border-radius: 6px; background: #fff; color: #52647a; font-size: 10px; cursor: pointer; }
.load-more:hover { border-color: var(--azul); color: var(--azul); }
.message-detail { min-height: 410px; padding: 17px 9px 30px; }
.message-back { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 24px; padding: 4px 0; border: 0; background: transparent; color: #53657c; font-size: 10px; cursor: pointer; }
.message-back:hover { color: var(--azul); }
.message-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.message-detail h2 { margin: 0 0 8px; color: var(--marinho); font-size: 19px; font-weight: 610; letter-spacing: -.025em; overflow-wrap: anywhere; }
.message-detail__from { margin: 0; color: #6b7a8f; font-size: 10px; overflow-wrap: anywhere; }
.message-more-actions { position: relative; width: max-content; margin-top: 16px; color: #5e7087; font-size: 10px; }
.message-more-actions summary { cursor: pointer; list-style: none; }
.message-more-actions summary::-webkit-details-marker { display: none; }
.message-more-actions summary::after { padding-left: 7px; color: #8895a6; content: '⌄'; }
.message-more-actions[open] summary { color: var(--azul); }
.message-more-actions__menu { display: grid; width: min(260px, calc(100vw - 70px)); gap: 2px; margin-top: 7px; padding: 6px 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.message-more-actions__menu button { min-height: 30px; padding: 0 8px; border: 0; background: transparent; color: #8a96a5; font-size: 10px; text-align: left; }
.message-more-actions__menu button:disabled { cursor: not-allowed; }
.message-detail__body { min-height: 130px; margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--linha); color: #33465e; font: 11px/1.75 var(--fonte); white-space: pre-wrap; overflow-wrap: anywhere; }
.message-attachments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 17px; }
.message-attachments__label { flex: 0 0 100%; margin: 0; color: #78869a; font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.attachment-link { max-width: 100%; overflow: hidden; padding: 6px 9px; border: 1px solid #d9e0e8; border-radius: 5px; color: #3d5879; font-size: 10px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.attachment-link:hover { border-color: var(--azul); color: var(--azul); }
.empty-state { display: flex; align-items: center; text-align: center; }
.empty-state--mail { min-height: 410px; flex-direction: column; justify-content: center; padding: 40px 18px; }
.empty-state__icon { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid #dce3ec; border-radius: 50%; color: #74859a; }
.empty-state__icon--mail { margin-bottom: 23px; background: #fbfcfd; }
.empty-state__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.empty-state--mail .eyebrow { margin-bottom: 9px; }
.empty-state--mail h2 { max-width: 440px; margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.empty-state--mail > p:not(.eyebrow) { max-width: 465px; margin: 11px 0 0; color: var(--texto-2); font-size: 12px; line-height: 1.65; }
.empty-state__footnote { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: #68788c; font-size: 10px; }
.blue-rule { display: inline-block; width: 23px; height: 2px; background: var(--azul); }
.list-footer { display: flex; min-height: 38px; justify-content: space-between; gap: 14px; padding: 11px 0 0; border-top: 1px solid var(--linha); color: #7a8798; font-size: 10px; }

.filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 17px; padding: 18px 0 16px; border-bottom: 1px solid var(--linha); }
.filter-field { display: grid; min-width: 155px; flex: 1; gap: 5px; }
.filter-field > span { color: #768498; font-size: 9px; font-weight: 630; letter-spacing: .07em; text-transform: uppercase; }
.filter-field input, .filter-field select { width: 100%; height: 33px; padding: 0 9px; border: 1px solid #d9e0e8; border-radius: 5px; background: #fafbfd; color: #64748a; font-size: 10px; }
.opportunity-board { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 0 19px; margin-top: 24px; }
.opportunity-column { min-height: 138px; border-top: 2px solid var(--azul); }
.opportunity-column__heading { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--linha); }
.opportunity-column__heading h2 { margin: 0; color: #243850; font-size: 11px; font-weight: 620; }
.opportunity-column__count { color: #8a97a8; font-size: 10px; }
.opportunity-column__empty { padding: 14px 0; color: #8a97a8; font-size: 10px; }
.opportunity-row { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.opportunity-row strong { color: #334860; font-size: 10px; font-weight: 620; }
.opportunity-row span { color: #728096; font-size: 9px; }
.commercial-more { margin: 24px 0 0; padding-top: 17px; border-top: 1px solid var(--linha); }
.commercial-more h2 { margin: 0 0 6px; font-size: 12px; font-weight: 620; }
.commercial-more p { margin: 0; color: var(--texto-2); font-size: 11px; }
.empty-state--commercial { align-items: flex-start; gap: 13px; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--linha); text-align: left; }
.empty-state--commercial .blue-rule { margin-top: 8px; }
.empty-state--commercial h2 { margin: 0; font-size: 12px; font-weight: 620; }
.empty-state--commercial p { margin: 0; color: var(--texto-2); font-size: 11px; }

.assistant-panel { width: min(820px, 100%); margin: 27px auto 0; overflow: hidden; border: 1px solid var(--linha); border-radius: var(--raio-grande); background: #fff; box-shadow: 0 8px 28px rgba(11, 31, 58, .045); }
.assistant-panel__intro { display: flex; min-height: 340px; flex-direction: column; align-items: center; justify-content: center; padding: 34px 25px; background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); text-align: center; }
.assistant-symbol { display: grid; width: 58px; height: 58px; margin-bottom: 19px; place-items: center; border: 1px solid #d5dee9; border-radius: 50%; background: #fff; color: var(--azul); }
.assistant-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.3; }
.assistant-panel__intro .eyebrow { margin-bottom: 8px; }
.assistant-panel__intro h2 { margin: 0; font-size: 20px; font-weight: 610; letter-spacing: -.03em; }
.assistant-panel__intro > p:last-child { max-width: 475px; margin: 9px 0 0; color: var(--texto-2); font-size: 11px; line-height: 1.65; }
.assistant-lock-note { display: flex; align-items: flex-start; gap: 11px; margin: 0 18px 14px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 7px; background: #f9fafc; }
.assistant-lock-note strong { display: block; margin: 0 0 3px; color: #30435d; font-size: 11px; font-weight: 630; }
.assistant-lock-note p { margin: 0; color: var(--texto-2); font-size: 10px; line-height: 1.55; }
.assistant-compose { display: flex; align-items: flex-end; gap: 10px; margin: 0 18px; padding: 10px; border: 1px solid #d5dde7; border-radius: 9px; background: #fff; }
.assistant-compose textarea { min-height: 42px; flex: 1; resize: vertical; padding: 11px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--marinho); font-size: 12px; }
.assistant-compose textarea:focus-visible { outline-offset: 0; }
.assistant-compose textarea::placeholder { color: #8996a6; }
.assistant-compose .button { min-height: 42px; white-space: nowrap; }
.assistant-privacy { margin: 0; padding: 12px 18px 15px; color: #77869a; font-size: 10px; text-align: center; }

.mobile-nav { display: none; }
.toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; max-width: min(420px, calc(100vw - 40px)); padding: 13px 16px; border: 1px solid #d6dee9; border-left: 3px solid var(--azul); border-radius: 6px; background: #fff; box-shadow: 0 8px 28px rgba(11, 31, 58, .12); color: var(--marinho); font-size: 12px; }

@media (max-width: 920px) {
  .app-layout { grid-template-columns: 203px minmax(0, 1fr); }
  .sidebar { padding-right: 11px; padding-left: 11px; }
  .main-content { padding-right: 27px; padding-left: 27px; }
  .connection-label { display: none; }
  .opportunity-board { grid-template-columns: repeat(2, minmax(175px, 1fr)); }
}

@media (max-width: 700px) {
  .phase-strip { min-height: 30px; font-size: 10px; }
  .entry { min-height: calc(100vh - 30px); grid-template-columns: 1fr; }
  .entry__brand { padding: 29px 25px 20px; }
  .entry__logo { width: 190px; margin-bottom: 31px; }
  .entry h1 { font-size: 38px; }
  .entry__description { max-width: 400px; margin-top: 11px; font-size: 13px; }
  .entry__notice { max-width: 500px; margin-top: 22px; padding-top: 13px; }
  .entry__notice p { font-size: 11px; }
  .entry__foot { display: none; }
  .entry__panel { min-height: auto; align-items: flex-start; padding: 28px 25px 40px; border-top: 1px solid var(--linha); border-left: 0; }
  .entry-card h2 { font-size: 24px; }
  .topbar { height: 61px; padding: 0 16px; }
  .topbar__brand { gap: 10px; }
  .topbar__brand img { width: 140px; }
  .brand-divider { height: 20px; }
  .brand-label { font-size: 11px; }
  .topbar__right { gap: 10px; }
  .user-button { gap: 0; }
  .user-avatar { width: 29px; height: 29px; }
  .user-name, .user-button > svg { display: none; }
  .signout-button { padding: 5px 0 5px 9px; font-size: 10px; }
  .app-layout { display: block; min-height: calc(100vh - 91px); }
  .sidebar { display: none; }
  .main-content { padding: 27px 20px 88px; }
  .page-heading { min-height: 0; align-items: flex-start; padding-bottom: 19px; }
  .page-heading h1 { font-size: 29px; }
  .page-subtitle { max-width: 350px; font-size: 11px; }
  .heading-actions { flex-direction: column-reverse; align-items: flex-end; gap: 8px; }
  .heading-actions .button { min-height: 35px; padding: 0 10px; font-size: 10px; }
  .heading-actions .button svg { display: none; }
  .status-chip { min-height: 23px; padding: 0 7px; font-size: 9px; }
  .mail-toolbar { min-height: 55px; gap: 10px; }
  .selected-mailbox { display: flex; min-height: 47px; align-items: center; gap: 11px; border-bottom: 1px solid var(--linha); }
  .selected-mailbox label { flex: 0 0 auto; color: #738197; font-size: 10px; }
  .selected-mailbox select { width: 100%; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid #d7dee7; border-radius: 6px; background: #fff; color: var(--marinho); font-size: 10px; }
  .selected-folder { display: flex; min-height: 47px; align-items: center; gap: 11px; border-bottom: 1px solid var(--linha); }
  .selected-folder label { flex: 0 0 auto; color: #738197; font-size: 10px; }
  .selected-folder select { width: 100%; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid #d7dee7; border-radius: 6px; background: #fff; color: var(--marinho); font-size: 10px; }
  .mail-toolbar { flex-wrap: nowrap; padding-bottom: 10px; }
  .search-box { min-width: 0; max-width: none; min-height: 34px; flex: 1; justify-content: flex-start; padding: 0 9px; }
  .search-box input { display: block; min-width: 0; }
  .search-box kbd { display: none; }
  .search-box > svg { width: 15px; height: 15px; }
  .icon-button { width: 32px; height: 32px; }
  .mail-content { min-height: 370px; }
  .empty-state--mail { min-height: 370px; padding: 36px 8px; }
  .empty-state__icon { width: 58px; height: 58px; }
  .empty-state--mail h2 { max-width: 370px; font-size: 17px; }
  .empty-state--mail > p:not(.eyebrow) { max-width: 390px; font-size: 11px; }
  .message-row { min-height: 67px; gap: 8px; padding: 10px 3px; }
  .message-row__main { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .message-row__email { display: none; }
  .message-row__subject { grid-column: auto; }
  .message-row__meta { min-width: 58px; font-size: 8px; }
  .message-detail { padding-right: 2px; padding-left: 2px; }
  .message-detail h2 { font-size: 17px; }
  .list-footer { flex-direction: column; gap: 4px; font-size: 9px; }
  .filter-row { gap: 10px; }
  .filter-field { min-width: calc(50% - 7px); }
  .filter-field input, .filter-field select { height: 34px; }
  .opportunity-board { grid-template-columns: 1fr; gap: 15px; margin-top: 18px; }
  .opportunity-column { min-height: 92px; }
  .empty-state--commercial { flex-wrap: wrap; gap: 9px; }
  .empty-state--commercial p { flex-basis: calc(100% - 33px); margin-left: 32px; }
  .assistant-panel { margin-top: 21px; }
  .assistant-panel__intro { min-height: 280px; padding: 26px 18px; }
  .assistant-lock-note { margin-right: 12px; margin-left: 12px; }
  .assistant-compose { gap: 6px; margin-right: 12px; margin-left: 12px; padding: 7px; }
  .assistant-compose { flex-direction: column; }
  .assistant-compose .button { align-self: flex-end; }
  .mobile-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; height: 60px; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--linha); background: rgba(255, 255, 255, .98); }
  .mobile-nav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #708096; }
  .mobile-nav__item svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
  .mobile-nav__item span { font-size: 9px; }
  .mobile-nav__item.is-active { color: var(--azul); }
}

@media (max-width: 380px) {
  .topbar { padding: 0 11px; }
  .topbar__brand img { width: 122px; }
  .topbar__brand { gap: 7px; }
  .brand-label { font-size: 10px; }
  .signout-button { padding-left: 7px; font-size: 9px; }
  .main-content { padding-right: 15px; padding-left: 15px; }
  .page-heading h1 { font-size: 26px; }
  .page-heading { gap: 10px; }
  .heading-actions .button { max-width: 108px; font-size: 9px; }
  .assistant-lock-note { padding: 11px; }
}
