/* ─── JANELA FAKE DO DASHBOARD (surge de baixo pra cima, desdobrando como uma folha) ─── */
.dashboard-wrap {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 13vh;
  pointer-events: none;
}

.dashboard-window {
  position: relative;
  width: min(1040px, 92vw);
  height: min(620px, 78vh);
  background: #f4f5fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(132,90,223,0.25);
  display: flex;
  flex-direction: column;
  transform-origin: bottom center;
  transform: scaleX(0.55) scaleY(0.035);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.dashboard-wrap.visible .dashboard-window {
  transform: scaleX(1) scaleY(1);
  opacity: 1;
}

/* barra de título estilo app window */
.dash-titlebar {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #e9eaf2;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.dash-dot { width: 11px; height: 11px; border-radius: 50%; }
.dash-dot-red { background: #f4675e; }
.dash-dot-yellow { background: #f5bd4f; }
.dash-dot-green { background: #62c554; }
.dash-titlebar-label {
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #8a8a9a;
}

.dash-body {
  flex: 1;
  display: flex;
  min-height: 0;
  font-family: 'Inter', sans-serif;
}

/* sidebar */
.dash-sidebar {
  width: 190px; flex-shrink: 0;
  background: #171331;
  padding: 18px 12px;
  overflow-y: auto;
}
.dash-logo {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: #fff; padding: 4px 8px 18px;
}
.dash-logo span { color: #a07de8; }
.dash-nav-group { margin-bottom: 16px; }
.dash-nav-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #605a85; padding: 0 8px 6px;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px; border-radius: 8px;
  font-size: 0.76rem; color: #b7b2d6;
  cursor: default;
}
.dash-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-nav-item.active {
  background: linear-gradient(135deg, #845adf, #6a3fc4);
  color: #fff;
  font-weight: 600;
}

/* main */
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #f4f5fa; }
.dash-topbar {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px;
  background: #fff; border-bottom: 1px solid #e7e7f0;
  color: #6a6a80;
}
.dash-topbar svg { width: 16px; height: 16px; }
.dash-hamburger { color: #3a3a52; }
.dash-topbar-spacer { flex: 1; }
.dash-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #845adf, #5c3aab);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.dash-user { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.72rem; }
.dash-user strong { color: #26263a; font-weight: 600; }
.dash-user span { color: #9b9bb0; font-size: 0.66rem; }

.dash-content { flex: 1; overflow: hidden; padding: 0; position: relative; }
.dash-screen { display: none; flex-direction: column; height: 100%; padding: 20px 24px; overflow-y: auto; }
.dash-screen.active { display: flex; animation: dashScreenIn 0.45s cubic-bezier(0.16,1,0.3,1); }
@keyframes dashScreenIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dash-heading h3 { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 700; color: #201f36; margin-bottom: 3px; }
.dash-heading p { font-size: 0.74rem; color: #8a8aa0; margin-bottom: 16px; }
.dash-screen-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dash-btn-primary {
  flex-shrink: 0; border: none; cursor: default;
  background: linear-gradient(135deg, #845adf, #6a3fc4); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.74rem; font-weight: 600;
  padding: 9px 16px; border-radius: 9px;
  box-shadow: 0 4px 14px rgba(132,90,223,0.35);
}
.dash-btn-sm { padding: 8px 16px; }

.dash-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 16px;
}
.dash-card {
  background: #fff; border: 1px solid #ecebf5; border-radius: 12px;
  padding: 12px 14px; display: flex; gap: 10px;
}
.dash-card-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.dash-card-icon svg { width: 15px; height: 15px; color: #fff; }
.dash-card-icon-purple { background: #845adf; }
.dash-card-icon-orange { background: #e8a13a; }
.dash-card-icon-blue { background: #4b9de8; }
.dash-card-icon-teal { background: #2fb897; }
.dash-card-icon-red { background: #e8615a; }
.dash-card-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dash-card-label { font-size: 0.62rem; color: #9b9bb0; }
.dash-card-value { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 800; color: #201f36; }
.dash-spark { width: 100%; height: 16px; margin: 2px 0; }
.dash-card-delta { font-size: 0.6rem; font-weight: 600; }
.dash-up { color: #2fb897; }
.dash-up-warn { color: #e8a13a; }

.dash-panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; flex: 1; min-height: 220px; }
.dash-panel { background: #fff; border: 1px solid #ecebf5; border-radius: 12px; padding: 14px 16px; overflow: hidden; display: flex; flex-direction: column; }
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: #201f36; margin-bottom: 8px; }
.dash-panel-head a { font-size: 0.66rem; color: #845adf; font-weight: 600; }
.dash-panel-head-warn { color: #b5540f; }
.dash-panel-count { background: #fde3d0; color: #b5540f; border-radius: 100px; padding: 1px 9px; font-size: 0.68rem; }

.dash-activity-list, .dash-expiring-list { list-style: none; overflow-y: auto; }
.dash-activity-list li { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; border-bottom: 1px solid #f2f2f8; font-size: 0.7rem; color: #4a4a60; }
.dash-activity-list li:last-child { border-bottom: none; }
.dash-activity-list strong { color: #201f36; font-weight: 600; }
.dash-activity-list time { display: block; color: #b0b0c2; font-size: 0.62rem; margin-top: 1px; }
.dash-activity-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.dash-dot-purple { background: #845adf; }
.dash-dot-blue { background: #4b9de8; }
.dash-dot-orange { background: #e8a13a; }
.dash-dot-teal { background: #2fb897; }
.dash-dot-red { background: #e8615a; }

.dash-expiring-list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f2f2f8; }
.dash-expiring-list li:last-child { border-bottom: none; }
.dash-expiring-list strong { display: block; font-size: 0.72rem; color: #201f36; font-weight: 600; }
.dash-expiring-list span { font-size: 0.62rem; color: #9b9bb0; }
.dash-badge { background: #f2f2f8; color: #6a6a80; font-size: 0.64rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.dash-badge-urgent { background: #fde0dd; color: #d1443a; }

/* ─── TELA ACESSOS ─── */
.dash-stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 16px; }
.dash-stat { background: #fff; border: 1px solid #ecebf5; border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; }
.dash-stat-icon { width: 38px; height: 38px; border-radius: 10px; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; }
.dash-stat-icon svg { width: 19px; height: 19px; color: #fff; }
.dash-stat-body { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.dash-stat-label { font-size: 0.66rem; color: #9b9bb0; }
.dash-stat-num { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: #201f36; line-height: 1.05; }
.dash-stat-delta { grid-column: 2; justify-self: end; font-size: 0.6rem; font-weight: 600; }
.dash-down { color: #d1443a; }

.dash-tabs { display: inline-flex; gap: 4px; background: #edecf4; padding: 4px; border-radius: 10px; margin-bottom: 14px; }
.dash-tab { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: #7a7a90; padding: 7px 14px; border-radius: 7px; }
.dash-tab svg { width: 14px; height: 14px; }
.dash-tab b { background: #dcdaea; color: #6a6a80; font-size: 0.64rem; padding: 0 7px; border-radius: 100px; font-weight: 700; }
.dash-tab.active { background: #fff; color: #201f36; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.dash-tab.active b { background: #eee3ff; color: #845adf; }

.dash-toolbar { display: flex; gap: 10px; margin-bottom: 14px; }
.dash-search { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e7e7f0; border-radius: 9px; padding: 9px 12px; color: #a6a6bb; font-size: 0.74rem; }
.dash-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-select { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e7e7f0; border-radius: 9px; padding: 9px 12px; color: #4a4a60; font-size: 0.74rem; }
.dash-select svg { width: 14px; height: 14px; }

.dash-table-wrap { background: #fff; border: 1px solid #ecebf5; border-radius: 12px; overflow: hidden; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; font-size: 0.64rem; font-weight: 600; color: #9b9bb0; text-transform: none; padding: 11px 14px; border-bottom: 1px solid #f0eff7; background: #fafaff; }
.dash-table td { padding: 10px 14px; border-bottom: 1px solid #f4f3fa; font-size: 0.74rem; color: #4a4a60; vertical-align: middle; }
.dash-table tbody tr:last-child td { border-bottom: none; }
.dash-table tbody tr.dash-row-joao { background: rgba(132,90,223,0.05); }
.dash-td-comp { display: flex; align-items: center; gap: 10px; }
.dash-comp-ico { width: 30px; height: 30px; border-radius: 8px; background: #f0edfb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-comp-ico svg { width: 15px; height: 15px; stroke: #845adf; }
.dash-td-comp strong { display: block; color: #201f36; font-weight: 600; font-size: 0.75rem; }
.dash-td-comp small { color: #b5b5c6; font-size: 0.66rem; }
.dash-td-user { display: flex; align-items: center; gap: 8px; }
.dash-uava { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 0.66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-td-mono { font-family: 'Inter', sans-serif; color: #7a7a90; }
.dash-td-muted { color: #9b9bb0; }
.dash-status { font-size: 0.66rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.dash-status-off { background: #fde0dd; color: #d1443a; }
.dash-status-on { background: #d8f5ec; color: #1c9e78; }
.dash-edit { display: inline-flex; padding: 6px; border: 1px solid #ecebf5; border-radius: 7px; color: #9b9bb0; }
.dash-edit svg { width: 13px; height: 13px; }
.dash-table-foot { padding: 11px 14px; font-size: 0.7rem; color: #9b9bb0; border-top: 1px solid #f0eff7; }

/* ─── TELA EQUIPES ─── */
.dash-teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dash-team-card { position: relative; background: #fff; border: 1px solid #ecebf5; border-radius: 12px; padding: 16px 16px 14px; overflow: hidden; }
.dash-team-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #845adf; }
.dash-bar-teal { background: #2fb897; }
.dash-bar-orange { background: #e8a13a; }
.dash-bar-blue { background: #4b9de8; }
.dash-bar-red { background: #e8615a; }
.dash-bar-purple2 { background: #9b6ff0; }
.dash-team-top { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; }
.dash-team-ico { width: 36px; height: 36px; border-radius: 10px; background: #845adf; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-team-ico svg { width: 18px; height: 18px; color: #fff; }
.dash-team-top strong { display: block; font-size: 0.86rem; color: #201f36; font-weight: 700; }
.dash-team-top small { font-size: 0.68rem; color: #9b9bb0; }
.dash-team-stats { display: flex; gap: 24px; margin-bottom: 14px; }
.dash-team-stats b { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 800; color: #201f36; display: block; line-height: 1.1; }
.dash-team-stats span { font-size: 0.64rem; color: #9b9bb0; }
.dash-team-foot { display: flex; align-items: center; justify-content: space-between; }
.dash-team-avatars { display: flex; }
.dash-team-avatars span { width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 0.66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; margin-left: -8px; }
.dash-team-avatars span:first-child { margin-left: 0; }
.dash-team-avatars .dash-more { background: #edecf4 !important; color: #7a7a90; }
.dash-team-manage { font-size: 0.72rem; font-weight: 600; color: #845adf; }
.dash-team-target { box-shadow: 0 0 0 2px rgba(132,90,223,0.35); }

/* clique animado (sidebar, abas do painel, link "Gerenciar", etc.) */
.dash-nav-item { position: relative; }
.dash-team-manage { position: relative; display: inline-block; }
.dash-clicked { position: relative; }
.dash-clicked::after {
  content: ''; position: absolute; inset: -2px; border-radius: 8px;
  background: rgba(132,90,223,0.28);
  animation: navRipple 0.5s ease-out forwards;
  pointer-events: none;
}
.dash-nav-item.dash-clicked::after { background: rgba(255,255,255,0.35); }
@keyframes navRipple {
  0% { opacity: 0.9; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.03); }
}

/* seta que guia o usuário até "Acessos" */
.dash-pointer-arrow {
  position: absolute; top: 0; left: 0;
  width: 30px; height: 30px;
  opacity: 0;
  pointer-events: none;
  z-index: 9; /* acima do painel lateral (z-index 7) */
  transition: opacity 0.5s ease;
  will-change: transform;
}
.dash-pointer-arrow.visible { opacity: 1; }
.dash-pointer-arrow-inner {
  width: 100%; height: 100%;
  animation: pointerBob 1.3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)) drop-shadow(0 0 10px rgba(255,255,255,0.5));
}
.dash-pointer-arrow-inner svg { width: 100%; height: 100%; fill: #fff; }
@keyframes pointerBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* "toque" da seta ao clicar num item */
.dash-pointer-arrow.tapping .dash-pointer-arrow-inner { animation: pointerTap 0.35s ease; }
@keyframes pointerTap {
  0% { transform: scale(1); }
  40% { transform: scale(0.72); }
  100% { transform: scale(1); }
}

/* ─── PAINEL LATERAL DA EQUIPE ─── */
.dash-team-panel { position: absolute; inset: 0; z-index: 7; visibility: hidden; }
.dash-team-panel.open { visibility: visible; }
.tp-backdrop { position: absolute; inset: 0; background: rgba(20,18,40,0.35); opacity: 0; transition: opacity 0.4s ease; }
.dash-team-panel.open .tp-backdrop { opacity: 1; }
.tp-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(430px, 64%);
  background: #fff;
  box-shadow: -12px 0 44px rgba(0,0,0,0.22);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
  font-family: 'Inter', sans-serif;
}
.dash-team-panel.open .tp-drawer { transform: translateX(0); }
.tp-header { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; }
.tp-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tp-icon svg { width: 20px; height: 20px; color: #fff; }
.tp-title { flex: 1; }
.tp-title strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: #201f36; }
.tp-title small { font-size: 0.72rem; color: #9b9bb0; }
.tp-close { color: #b0b0c2; font-size: 0.9rem; cursor: default; }
.tp-tabs { display: flex; gap: 22px; padding: 0 20px; border-bottom: 1px solid #eeedf5; }
.tp-tab { position: relative; padding: 10px 0 12px; font-size: 0.8rem; font-weight: 600; color: #9b9bb0; display: inline-flex; align-items: center; gap: 6px; }
.tp-tab b { background: #edecf4; color: #7a7a90; font-size: 0.64rem; padding: 1px 7px; border-radius: 100px; font-weight: 700; }
.tp-tab.active { color: #6a3fc4; }
.tp-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #845adf; border-radius: 2px; }
.tp-tab.active b { background: #eee3ff; color: #845adf; }
.tp-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.tp-pane { display: none; }
.tp-pane.active { display: block; animation: dashScreenIn 0.35s ease; }
.tp-label { display: block; font-size: 0.76rem; font-weight: 600; color: #3a3a52; margin-bottom: 6px; }
.tp-label i { color: #e8615a; font-style: normal; }
.tp-input { border: 1px solid #e2e1ee; border-radius: 9px; padding: 10px 12px; font-size: 0.8rem; color: #201f36; margin-bottom: 16px; }
.tp-textarea { border: 1px solid #e2e1ee; border-radius: 9px; padding: 10px 12px; font-size: 0.8rem; color: #6a6a80; min-height: 70px; margin-bottom: 18px; }
.tp-databoxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-databox { border: 1px solid #eeedf5; border-radius: 10px; padding: 14px; text-align: center; }
.tp-databox b { display: block; font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800; color: #201f36; }
.tp-databox span { font-size: 0.68rem; color: #9b9bb0; }

.tp-section { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #a6a6bb; margin: 4px 0 8px; }
.tp-search { display: flex; align-items: center; gap: 8px; border: 1px solid #e2e1ee; border-radius: 9px; padding: 10px 12px; font-size: 0.78rem; color: #4a4a60; margin-bottom: 14px; position: relative; }
.tp-search svg { width: 15px; height: 15px; stroke: #a6a6bb; flex-shrink: 0; }
.tp-search-ph { color: #a6a6bb; }
.tp-caret { width: 1px; height: 15px; background: transparent; }
.tp-search.typing .tp-caret { background: #845adf; animation: tpCaret 1s step-end infinite; }
@keyframes tpCaret { 50% { opacity: 0; } }
.tp-dropdown { border: 1px solid #e2e1ee; border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); margin: -8px 0 14px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.25s ease, opacity 0.2s ease; }
.tp-dropdown.show { max-height: 60px; opacity: 1; }
.tp-drop-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 0.78rem; color: #201f36; background: #faf8ff; }
.tp-drop-item small { color: #9b9bb0; }

.tp-list { list-style: none; }
.tp-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #f0eff7; border-radius: 9px; margin-bottom: 8px; font-size: 0.78rem; color: #201f36; }
.tp-ava { width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tp-ava-cert { background: #845adf; }
.tp-ava-cert svg { width: 14px; height: 14px; color: #fff; }
.tp-li-name { flex: 1; font-weight: 600; }
.tp-li-name small { display: block; font-weight: 400; color: #9b9bb0; font-size: 0.68rem; }
.tp-cert strong { font-weight: 600; font-size: 0.78rem; }
.tp-cert small { color: #9b9bb0; }
.tp-x { color: #c4c4d2; font-size: 0.7rem; }
.tp-joao-row { display: none !important; }
.tp-joao-row.added { display: flex !important; animation: tpRowIn 0.4s ease; }
@keyframes tpRowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.tp-toast { background: #d8f5ec; color: #1c9e78; font-size: 0.74rem; font-weight: 600; padding: 10px 12px; border-radius: 9px; margin-top: 4px; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.tp-toast.show { opacity: 1; transform: translateY(0); }
.tp-footer { padding: 14px 20px; border-top: 1px solid #eeedf5; }
.tp-save { width: 100%; padding: 11px; font-size: 0.8rem; }

/* ─── JANELA DO EDGE + EFEITO DE TROCA ─── */
.dashboard-window.swap-out {
  transition: transform 0.5s ease, opacity 0.45s ease, filter 0.5s ease;
  transform: translateX(-135%) scale(0.95);
  opacity: 0; filter: blur(10px); pointer-events: none;
}
.edge-window {
  position: absolute; bottom: 13vh; left: 50%;
  width: min(1040px, 92vw); height: min(620px, 78vh);
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.15);
  transform: translate(-50%, 0) translateX(135%);
  opacity: 0; filter: blur(10px); pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.45s ease, filter 0.5s ease;
  display: flex; flex-direction: column;
  font-family: 'Inter', sans-serif;
}
.edge-window.swap-in { transform: translate(-50%, 0) translateX(0); opacity: 1; filter: blur(0); }
.edge-titlebar { display: flex; align-items: center; justify-content: space-between; background: #dfe1ea; padding: 6px 10px 0; }
.edge-tabs { display: flex; align-items: center; gap: 6px; }
.edge-tab { display: flex; align-items: center; gap: 8px; background: #f4f5fa; border-radius: 8px 8px 0 0; padding: 8px 12px; font-size: 0.72rem; color: #3a3a52; }
.edge-tab-fav svg { width: 13px; height: 13px; display: block; }
.edge-tab-x { color: #9b9bb0; font-size: 0.62rem; }
.edge-newtab { color: #6a6a80; font-size: 0.95rem; padding: 0 6px; }
.edge-winbtns { display: flex; align-items: center; gap: 16px; color: #5a5a70; font-size: 0.7rem; }
.edge-winbtns span:nth-child(1)::before { content: '—'; }
.edge-winbtns span:nth-child(2)::before { content: '▢'; }
.edge-toolbar { display: flex; align-items: center; gap: 10px; background: #f4f5fa; padding: 8px 12px; }
.edge-nav-btn { color: #5a5a70; font-size: 0.9rem; width: 20px; text-align: center; }
.edge-omnibox { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e0e0ec; border-radius: 100px; padding: 7px 14px; font-size: 0.74rem; color: #3a3a52; }
.edge-omnibox svg { width: 14px; height: 14px; }
.edge-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#845adf,#5c3aab); color: #fff; font-size: 0.66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.edge-favbar { display: flex; align-items: center; gap: 4px; background: #f4f5fa; padding: 4px 10px 8px; border-bottom: 1px solid #e2e2ee; }
.edge-fav { display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 7px; font-size: 0.72rem; color: #3a3a52; }
.edge-fav-ico { width: 16px; height: 16px; border-radius: 4px; color: #fff; font-size: 0.62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; text-transform: uppercase; }
.edge-content { flex: 1; background: #fff; position: relative; overflow: hidden; }
.edge-screen { position: absolute; inset: 0; display: none; flex-direction: column; }
.edge-screen.active { display: flex; animation: dashScreenIn 0.35s ease; }
.edge-screen[data-escreen="google"].active { align-items: center; justify-content: center; }
.edge-google { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; margin-top: -6%; }
.edge-google-logo { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 3.2rem; letter-spacing: -1px; }
.edge-google-search { display: flex; align-items: center; gap: 12px; width: min(460px, 70%); border: 1px solid #dfe1e5; border-radius: 100px; padding: 12px 20px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); color: #9aa0a6; font-size: 0.85rem; }
.edge-google-search svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── PÁGINAS "CERTIFICAÇÃO DIGITAL" (teste e resultado) ─── */
.ccd-header { flex-shrink: 0; display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 24px; border-bottom: 1px solid #ececec; }
.ccd-logo-mark { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#8cc63f 0 70%, transparent 70%); position: relative; }
.ccd-logo-mark::after { content: ''; position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.ccd-logo-text { display: flex; flex-direction: column; line-height: 1.05; color: #4a4a4a; }
.ccd-logo-text small { font-size: 0.68rem; }
.ccd-logo-text strong { font-size: 1rem; font-weight: 700; }

.ccd-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(120deg, #a9d5a0 0%, #6ba98c 45%, #1d4f57 100%);
  text-align: center; color: #fff;
}
.ccd-hero h2 { font-family: 'Sora', sans-serif; font-size: 2.1rem; font-weight: 400; }
.ccd-hero p { font-size: 0.85rem; line-height: 1.7; opacity: 0.95; }
.ccd-btn {
  margin-top: 6px; background: transparent; border: 1px solid rgba(255,255,255,0.9); color: #fff;
  border-radius: 100px; padding: 11px 34px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif; cursor: default; position: relative;
}

.ccd-result { flex: 1; overflow-y: auto; text-align: center; padding: 26px 24px 10px; background: #fff; }
.ccd-result h2 { font-family: 'Sora', sans-serif; font-size: 1.9rem; font-weight: 400; color: #4a8b3f; margin-bottom: 10px; }
.ccd-sub { font-size: 0.74rem; color: #8a8a8a; margin-bottom: 26px; }
.ccd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccd-col svg { width: 42px; height: 42px; margin: 0 auto 10px; display: block; }
.ccd-col h3 { font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 700; color: #2f3b2f; margin-bottom: 10px; }
.ccd-col p { font-size: 0.72rem; line-height: 1.6; color: #6a7a6a; }
.ccd-note { font-size: 0.72rem; color: #7ba36f; margin-top: 22px; }
.ccd-footer { flex-shrink: 0; background: #2b2b2b; color: #fff; text-align: center; padding: 12px; font-size: 0.74rem; font-weight: 700; }

/* ─── DIÁLOGO DE CERTIFICADO DO NAVEGADOR ─── */
.edge-certdlg {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-12px);
  width: min(460px, 82%); z-index: 5;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.edge-certdlg.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ecd-card { display: flex; background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 18px 50px rgba(0,0,0,0.28); overflow: hidden; }
.ecd-stripe { width: 5px; background: linear-gradient(180deg, #e8615a 0%, #e8a13a 60%, #f0c419 100%); flex-shrink: 0; }
.ecd-inner { flex: 1; padding: 12px 16px 10px; min-width: 0; text-align: left; }
.ecd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ecd-back { color: #5a5a70; font-size: 0.95rem; }
.ecd-lock svg { width: 15px; height: 15px; display: block; }
.ecd-title { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: #201f36; }
.ecd-sub { font-size: 0.72rem; color: #8a8aa0; margin-bottom: 10px; }
.ecd-info { background: #f4f4f9; border-radius: 6px; padding: 8px 10px; font-size: 0.68rem; color: #5a5a70; margin-bottom: 9px; }
.ecd-info b { color: #c0392b; }
.ecd-search { display: flex; align-items: center; gap: 8px; background: #f4f4f9; border-radius: 6px; padding: 8px 10px; font-size: 0.7rem; color: #a6a6bb; margin-bottom: 10px; }
.ecd-search svg { width: 13px; height: 13px; flex-shrink: 0; }
.ecd-group { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #a6a6bb; margin-bottom: 5px; }
.ecd-cert {
  display: flex; align-items: center; gap: 10px; position: relative;
  border: 1px solid #e6e6ef; border-radius: 8px; padding: 8px 10px; margin-bottom: 9px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ecd-cert-dim { opacity: 0.9; }
.ecd-cert.selected { border-color: #845adf; background: #faf8ff; }
.ecd-cert-ico { width: 30px; height: 30px; border-radius: 50%; background: #f6ece2; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ecd-cert-ico svg { width: 15px; height: 15px; }
.ecd-cert-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.ecd-cert-info strong { font-size: 0.7rem; font-weight: 700; color: #201f36; }
.ecd-cert-info span { font-size: 0.66rem; color: #6a6a80; }
.ecd-issuer { color: #7fa6c9 !important; }
.ecd-exp { color: #d1443a !important; }
.ecd-radio { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c4c4d2; flex-shrink: 0; position: relative; }
.ecd-cert.selected .ecd-radio { border-color: #845adf; }
.ecd-cert.selected .ecd-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #845adf; }
.ecd-details { background: #f4f4f9; border-radius: 6px; padding: 12px 10px; font-size: 0.68rem; color: #9b9bb0; margin: 4px 0 10px; }
.ecd-details i { font-style: italic; }
.ecd-details.filled { color: #4a4a60; font-style: normal; line-height: 1.6; }
.ecd-foot { display: flex; align-items: center; justify-content: space-between; }
.ecd-cancel { font-size: 0.74rem; color: #3a3a52; }
.ecd-use { position: relative; font-size: 0.74rem; color: #b8b8c8; transition: color 0.2s ease; }
.ecd-use.enabled { color: #6a3fc4; font-weight: 600; }

@media (max-width: 860px) {
  .dashboard-window { height: min(560px, 82vh); }
  .dash-sidebar { display: none; }
  .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-panels { grid-template-columns: 1fr; min-height: 0; }
  .dash-panel-expiring { display: none; }
  .dash-pointer-arrow { display: none; }
  .dash-stats3 { grid-template-columns: 1fr; }
  .dash-teams { grid-template-columns: 1fr; }
  .tp-drawer { width: 88%; }
}
