/* ==========================================================================
   Mockups de interface
   Cada .screen é um container: o tamanho de fonte da .ui é proporcional à
   largura, então 1em = 10px "de projeto" e tudo escala junto, como uma imagem
   — mas nítido em qualquer densidade de tela e sem peso de download.
   Regra interna: só elementos de texto (folhas) mudam font-size.
   ========================================================================== */

.screen {
  container-type: inline-size;
  position: relative;
  aspect-ratio: var(--w) / var(--h);
}

.ui {
  --ui-bg: #ffffff;
  --ui-fg: #16171c;
  --ui-muted: #686b76;
  --ui-line: #ececea;
  --ui-soft: #f6f6f4;
  --ui-accent: #4651d1;
  --ui-ok: #1f7a50;
  --ui-ok-bg: #e6f4ec;
  --ui-wait: #9a5b00;
  --ui-wait-bg: #fff2dc;
  --ui-info: #3e48c0;
  --ui-info-bg: #eaecfb;

  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ui-bg);
  color: var(--ui-fg);
  font-family: var(--font);
  font-size: calc(100cqi / var(--w));
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  user-select: none;
  -webkit-user-select: none;
}

.ui b,
.ui strong {
  font-weight: 600;
}

.ui small {
  font-size: 1.15em;
  color: var(--ui-muted);
}

.ui em {
  font-style: normal;
}

.ui svg {
  width: 1.5em;
  height: 1.5em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  min-width: 0;
}

.ui-h {
  font-size: 2.2em;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ui-avatar {
  display: grid;
  place-items: center;
  width: 3.2em;
  height: 3.2em;
  flex: none;
  border-radius: 50%;
  background: #e7e9fa;
  color: var(--ui-accent);
  font-size: 1em;
  font-weight: 650;
  letter-spacing: 0;
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: 3.6em;
  padding: 0 1.4em;
  border-radius: 0.8em;
  background: var(--ui-fg);
  color: #fff;
  white-space: nowrap;
}

.ui-btn b {
  font-size: 1.25em;
  font-weight: 560;
}

.ui-btn svg {
  width: 1.4em;
  height: 1.4em;
}

.ui-btn.is-ghost {
  background: #fff;
  color: var(--ui-fg);
  box-shadow: inset 0 0 0 1px #e2e2de;
}

.ui-pill {
  justify-self: end;
  padding: 0.35em 0.8em;
  border-radius: 99em;
  background: #f0f0ed;
  color: #5c5f6a;
  font-size: 1.05em;
  font-weight: 560;
  white-space: nowrap;
}

.ui-pill.is-ok { background: var(--ui-ok-bg); color: var(--ui-ok); }
.ui-pill.is-wait { background: var(--ui-wait-bg); color: var(--ui-wait); }
.ui-pill.is-info { background: var(--ui-info-bg); color: var(--ui-info); }

.ui-seg {
  display: inline-flex;
  padding: 0.3em;
  border-radius: 0.8em;
  background: #f1f1ee;
}

.ui-seg span {
  padding: 0.45em 1em;
  border-radius: 0.6em;
  font-size: 1.1em;
  font-weight: 540;
  color: var(--ui-muted);
}

.ui-seg .is-on {
  background: #fff;
  color: var(--ui-fg);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.04), 0 1px 2px rgb(0 0 0 / 0.06);
}

.ui-brand {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.ui-brand b {
  font-size: 1.6em;
  font-weight: 660;
  letter-spacing: -0.03em;
}

.ui-mark {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 0.42em, transparent 0.45em),
    var(--ui-accent);
}

/* --------------------------------------------------------------------------
   Pauta — visão geral (hero)
   -------------------------------------------------------------------------- */

.ui--pauta {
  display: grid;
  grid-template-columns: 20em minmax(0, 1fr);
}

.ui-side {
  display: flex;
  flex-direction: column;
  gap: 2.6em;
  padding: 2.2em 1.4em 1.8em;
  background: #fafaf8;
  border-right: 1px solid var(--ui-line);
}

.ui-side .ui-brand {
  padding-left: 0.8em;
}

.ui-nav,
.ui-side-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.ui-side-foot {
  margin-top: auto;
  gap: 1.4em;
}

.ui-nav span,
.ui-side-foot > span {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.85em 1em;
  border-radius: 0.8em;
  color: #6b6e79;
}

.ui-nav b,
.ui-side-foot > span b {
  font-size: 1.3em;
  font-weight: 520;
}

.ui-nav .is-active {
  background: #fff;
  color: var(--ui-fg);
  box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgb(0 0 0 / 0.04);
}

.ui-nav .is-active svg {
  color: var(--ui-accent);
}

.ui-account {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1.2em 1em 0;
  border-top: 1px solid var(--ui-line);
}

.ui-account b {
  font-size: 1.25em;
}

.ui-account small {
  font-size: 1.1em;
}

.ui-main {
  display: flex;
  flex-direction: column;
  gap: 2.2em;
  min-width: 0;
  padding: 2.6em 3em 3em;
}

.ui-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2em;
}

.ui-top small {
  font-size: 1.2em;
}

.ui-top-actions {
  display: flex;
  gap: 1em;
}

.ui-input {
  display: flex;
  align-items: center;
  gap: 0.7em;
  width: 22em;
  height: 3.6em;
  padding: 0 1.2em;
  border-radius: 0.8em;
  box-shadow: inset 0 0 0 1px #e4e4e0;
  color: var(--ui-muted);
}

.ui-input small {
  font-size: 1.2em;
}

.ui--pauta .ui-btn {
  background: var(--ui-accent);
}

.ui-kpis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4em;
}

.ui-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 1.6em 1.8em;
  border-radius: 1.2em;
  box-shadow: inset 0 0 0 1px var(--ui-line);
}

.ui-kpi small {
  font-size: 1.2em;
}

.ui-kpi strong {
  font-size: 2.8em;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.ui-delta {
  font-size: 1.1em;
  color: var(--ui-muted);
}

.ui-delta.is-up {
  color: var(--ui-ok);
}

.ui-progress {
  display: block;
  height: 0.5em;
  margin-top: 0.3em;
  border-radius: 1em;
  background: #eceefb;
  overflow: hidden;
}

.ui-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ui-accent);
}

.ui-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.4em;
  flex: 1;
  min-height: 0;
}

.ui-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.8em 2em;
  border-radius: 1.2em;
  box-shadow: inset 0 0 0 1px var(--ui-line);
}

.ui-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.ui-card-head > b {
  font-size: 1.4em;
}

.ui-link {
  color: var(--ui-accent) !important;
  font-weight: 540;
}

.ui-legend {
  display: flex;
  gap: 1.6em;
  margin-top: 0.8em;
}

.ui-legend span {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.1em;
  color: var(--ui-muted);
}

.ui-legend span::before {
  content: "";
  width: 1.2em;
  height: 0.2em;
  border-radius: 1em;
  background: var(--ui-accent);
}

.ui-legend .is-prev::before {
  background: #c9cbd3;
}

.ui .ui-chart {
  flex: 1 1 0;
  width: 100%;
  height: 0;
  min-height: 0;
  margin-top: 1.4em;
  overflow: visible;
}

.ui-chart path {
  vector-effect: non-scaling-stroke;
}

.ui-chart .ui-grid {
  stroke: #efefec;
  stroke-width: 1;
}

.ui-chart .ui-area {
  fill: rgb(70 81 209 / 0.07);
  stroke: none;
}

.ui-chart .ui-line {
  stroke: var(--ui-accent);
  stroke-width: 2.25;
}

.ui-chart .ui-line-prev {
  stroke: #c9cbd3;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.ui-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8em;
}

.ui-axis small {
  font-size: 1.05em;
}

.ui-tip {
  position: absolute;
  top: 5.6em;
  right: 2em;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 0.55em 0.9em;
  border-radius: 0.7em;
  background: var(--ui-fg);
  color: #fff;
}

.ui-tip b {
  font-size: 1.3em;
}

.ui-tip small {
  font-size: 1.05em;
  color: #b6b8c3;
}

.ui-list {
  margin-top: 0.8em;
}

.ui-list li {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8em;
  padding: 1.05em 0;
  border-top: 1px solid #f0f0ed;
}

.ui-list li:first-child {
  border-top: 0;
}

.ui-time {
  font-size: 1.2em !important;
  font-weight: 600;
  color: var(--ui-fg) !important;
}

.ui-list b {
  font-size: 1.25em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-list .ui-stack small {
  font-size: 1.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Esboço (camada de baixo do comparador)
   Mesma marcação, outro tratamento: o wireframe que vira produto.
   -------------------------------------------------------------------------- */

.is-sketch .ui {
  --sk-fill: #e6e6e1;
  --sk-line: #c9c9c2;
  background: #f7f7f4;
}

.is-sketch .ui * {
  color: transparent !important;
}

.is-sketch .ui :is(b, small, strong, em, .ui-delta, .ui-legend span) {
  background: var(--sk-fill);
  border-radius: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.is-sketch .ui :is(.ui-kpi strong) {
  background: #dcdcd6;
}

.is-sketch .ui svg:not(.ui-chart),
.is-sketch .ui svg:not(.ui-chart) * {
  color: var(--sk-line) !important;
}

.is-sketch .ui-side {
  background: transparent;
  border-right: 1px dashed var(--sk-line);
}

.is-sketch .ui :is(.ui-kpi, .ui-card, .ui-input) {
  background: transparent;
  box-shadow: none;
  outline: 1px dashed var(--sk-line);
  outline-offset: -1px;
}

.is-sketch .ui :is(.ui-btn, .ui-nav .is-active, .ui-seg, .ui-seg .is-on, .ui-tip, .ui-pill) {
  background: transparent !important;
  box-shadow: none;
  outline: 1px dashed var(--sk-line);
  outline-offset: -1px;
}

.is-sketch .ui :is(.ui-btn, .ui-tip, .ui-pill, .ui-seg) :is(b, small) {
  background: var(--sk-fill);
}

.is-sketch .ui :is(.ui-mark, .ui-avatar) {
  background: transparent;
  outline: 1px dashed var(--sk-line);
  outline-offset: -1px;
  color: transparent;
}

.is-sketch .ui-progress {
  background: transparent;
  outline: 1px dashed var(--sk-line);
}

.is-sketch .ui-progress i,
.is-sketch .ui-legend span::before {
  background: var(--sk-line);
}

.is-sketch .ui-chart .ui-area,
.is-sketch .ui-chart .ui-line-prev {
  display: none;
}

.is-sketch .ui-chart .ui-line {
  stroke: #b3b3ab;
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
}

.is-sketch .ui-chart .ui-grid {
  stroke: #e3e3dd;
}

.is-sketch .ui-list li {
  border-top-style: dashed;
  border-top-color: #deded8;
}

.is-sketch .ui-account {
  border-top: 1px dashed var(--sk-line);
}

/* Anotações de UX — só existem no esboço */
.is-sketch .ui [data-note]::after {
  content: attr(data-note);
  position: absolute;
  top: -0.85em;
  right: 1.2em;
  padding: 0.15em 0.6em;
  border-radius: 0.4em;
  background: var(--accent);
  color: #fff;
  font-size: 1.05em;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.4;
}

.is-sketch .ui-nav[data-note]::after {
  top: -1.9em;
  right: 0.2em;
}

/* --------------------------------------------------------------------------
   Norte — dashboard escuro
   -------------------------------------------------------------------------- */

.ui--norte {
  --ui-bg: #121419;
  --ui-fg: #eceef3;
  --ui-muted: #8b8e9b;
  --nt-panel: #171a20;
  --nt-line: rgb(255 255 255 / 0.07);
  --nt-accent: #5fd4a6;
  --nt-warn: #f2b45a;
  display: flex;
  flex-direction: column;
}

.nt-top {
  display: flex;
  align-items: center;
  gap: 3.2em;
  padding: 1.6em 2.4em;
  border-bottom: 1px solid var(--nt-line);
}

.nt-logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.nt-logo i {
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--nt-accent) 0 50%, #2d6b56 50% 100%);
}

.nt-logo b {
  font-size: 1.7em;
  font-weight: 660;
  letter-spacing: -0.04em;
}

.nt-tabs {
  display: flex;
  gap: 2.4em;
}

.nt-tabs b {
  position: relative;
  font-size: 1.25em;
  font-weight: 520;
  color: var(--ui-muted);
}

.nt-tabs .is-on {
  color: var(--ui-fg);
}

.nt-tabs .is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.36em;
  height: 0.16em;
  border-radius: 1em;
  background: var(--ui-fg);
}

.nt-right {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-left: auto;
}

.nt-live {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.nt-live i {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--nt-accent);
  box-shadow: 0 0 0 0.3em rgb(95 212 166 / 0.18);
}

.nt-chip {
  display: flex;
  align-items: center;
  gap: 0.6em;
  height: 3.2em;
  padding: 0 1em;
  border-radius: 0.8em;
  box-shadow: inset 0 0 0 1px var(--nt-line);
  color: var(--ui-muted);
}

.nt-chip small {
  color: var(--ui-fg);
}

.ui--norte .ui-avatar {
  background: #2a2d36;
  color: #d5d7e0;
}

.nt-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4em;
  padding: 2em 2.4em 0;
}

.nt-kpis > div {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 1.6em 1.8em;
  border-radius: 1.2em;
  background: var(--nt-panel);
  box-shadow: inset 0 0 0 1px var(--nt-line);
}

.nt-kpis small {
  font-size: 1.2em;
}

.nt-kpis strong {
  font-size: 3em;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.nt-sub {
  font-size: 1.1em;
  color: var(--ui-muted);
}

.nt-sub.is-up { color: var(--nt-accent); }
.nt-sub.is-warn { color: var(--nt-warn); }

.nt-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.4em;
  flex: 1;
  min-height: 0;
  padding: 1.4em 2.4em 2.4em;
}

.nt-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.8em 2em;
  border-radius: 1.2em;
  background: var(--nt-panel);
  box-shadow: inset 0 0 0 1px var(--nt-line);
}

.nt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.nt-head b {
  font-size: 1.4em;
}

.nt-head small {
  font-size: 1.1em;
}

.nt-chart {
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.9em;
  margin-top: 2em;
  min-height: 0;
}

.nt-chart span {
  position: relative;
}

.nt-chart span::before,
.nt-chart span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.2em;
  border-radius: 0.4em 0.4em 0.15em 0.15em;
}

.nt-chart span::before {
  height: calc(var(--p) * (100% - 2.2em));
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05);
}

.nt-chart span::after {
  height: calc(var(--v) * (100% - 2.2em));
  left: 18%;
  right: 18%;
  background: #3c8f73;
}

.nt-chart .is-now::after {
  background: var(--nt-accent);
}

.nt-chart small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 1.05em;
  text-align: center;
}

.nt-routes ul {
  margin-top: 1em;
}

.nt-routes li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7em 3.2em;
  align-items: center;
  gap: 1.2em;
  padding: 1.15em 0;
  border-top: 1px solid var(--nt-line);
}

.nt-routes li:first-child {
  border-top: 0;
}

.nt-routes b {
  font-size: 1.25em;
}

.nt-routes .ui-stack small {
  font-size: 1.05em;
}

.nt-meter {
  height: 0.5em;
  border-radius: 1em;
  background: rgb(255 255 255 / 0.08);
  overflow: hidden;
}

.nt-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--nt-accent);
}

.nt-meter.is-warn i {
  background: var(--nt-warn);
}

.nt-pct {
  text-align: right;
  color: var(--ui-fg) !important;
}

/* --------------------------------------------------------------------------
   Encontro — landing page no celular
   -------------------------------------------------------------------------- */

.ui--evento {
  --ui-bg: #f3ece1;
  --ui-fg: #1d1b17;
  --ui-muted: #625c51;
  --ev-accent: #b5441f;
  display: flex;
  flex-direction: column;
}

.ev-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5em 2.8em 0.6em;
}

.ev-status b {
  font-size: 1.45em;
}

.ev-status span {
  display: flex;
  align-items: flex-end;
  gap: 0.25em;
}

.ev-status i {
  width: 0.35em;
  border-radius: 0.1em;
  background: var(--ui-fg);
}

.ev-status i:nth-child(1) { height: 0.6em; }
.ev-status i:nth-child(2) { height: 0.85em; }
.ev-status i:nth-child(3) { width: 2.2em; height: 1.05em; margin-left: 0.4em; border-radius: 0.3em; }

.ev-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6em 2.4em;
}

.ev-nav b {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.ev-nav em {
  color: var(--ev-accent);
}

.ev-burger {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
}

.ev-burger i {
  width: 2em;
  height: 0.18em;
  border-radius: 1em;
  background: var(--ui-fg);
}

.ev-hero {
  display: flex;
  flex-direction: column;
  padding: 2.8em 2.4em 3.2em;
}

.ev-eyebrow {
  font-size: 1.2em !important;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ev-accent) !important;
}

.ev-title {
  margin-top: 0.45em;
  font-size: 4.5em;
  font-weight: 700 !important;
  font-stretch: 104%;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.ev-text {
  margin-top: 1.1em;
  font-size: 1.5em !important;
  line-height: 1.45;
}

.ev-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.2em;
  padding: 1.5em 1.8em;
  border-radius: 1.2em;
  background: var(--ev-accent);
  color: #fff;
}

.ev-cta b {
  font-size: 1.55em;
}

.ev-cta small {
  font-size: 1.4em;
  color: #fff;
  opacity: 0.92;
}

.ev-people {
  display: flex;
  align-items: center;
  margin-top: 2em;
  padding-left: 0.8em;
}

.ev-people i {
  display: grid;
  place-items: center;
  width: 3em;
  height: 3em;
  margin-left: -0.8em;
  border-radius: 50%;
  background: #d9cdb9;
  box-shadow: 0 0 0 0.25em var(--ui-bg);
  font-size: 1em;
  font-style: normal;
  font-weight: 650;
}

.ev-people i:nth-child(2) { background: #c7b7a0; }
.ev-people i:nth-child(3) { background: #e4b9a5; }
.ev-people i:nth-child(4) { background: var(--ui-fg); color: #fff; }

.ev-people small {
  margin-left: 1em;
  font-size: 1.25em;
}

.ev-agenda {
  flex: 1;
  padding: 2.4em 2.4em;
  background: #ece3d5;
}

.ev-day {
  display: block;
  margin-bottom: 0.8em;
  font-size: 1.15em !important;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ev-agenda div {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  padding: 1.25em 0;
  border-top: 1px solid rgb(29 27 23 / 0.1);
}

.ev-agenda div small {
  font-size: 1.3em;
}

.ev-agenda div b {
  font-size: 1.4em;
  font-weight: 560;
}

/* --------------------------------------------------------------------------
   Ventura — sistema administrativo
   -------------------------------------------------------------------------- */

.ui--ventura {
  display: grid;
  grid-template-columns: 6.6em minmax(0, 1fr);
}

.vt-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
  padding: 2em 0;
  background: #f8f8f6;
  border-right: 1px solid var(--ui-line);
}

.vt-logo {
  display: grid;
  place-items: center;
  width: 3.4em;
  height: 3.4em;
  margin-bottom: 1.2em;
  border-radius: 0.9em;
  background: #2b2925;
  color: #f2ede4;
  font-size: 1em;
  font-weight: 700;
}

.vt-side > span:not(.vt-logo) {
  display: grid;
  place-items: center;
  width: 3.8em;
  height: 3.8em;
  border-radius: 0.9em;
  color: #8a8c94;
}

.vt-side .is-active {
  background: #fff;
  color: var(--ui-fg) !important;
  box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgb(0 0 0 / 0.05);
}

.vt-side svg {
  width: 1.7em;
  height: 1.7em;
}

.vt-main {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  min-width: 0;
  padding: 2.4em 2.8em;
}

.vt-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.vt-top small {
  font-size: 1.2em;
}

.vt-actions {
  display: flex;
  gap: 0.8em;
}

.vt-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2em;
}

.vt-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 1.4em 1.6em;
  border-radius: 1.1em;
  background: #f8f8f6;
}

.vt-stats b {
  font-size: 2.3em;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.vt-stats small {
  font-size: 1.1em;
}

.vt-stats .is-up {
  color: var(--ui-ok);
}

.vt-filters {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.vt-filters > span {
  display: flex;
  align-items: center;
  gap: 0.6em;
  height: 3.2em;
  padding: 0 1.1em;
  border-radius: 0.8em;
  box-shadow: inset 0 0 0 1px var(--ui-line);
  white-space: nowrap;
}

.vt-filters b {
  font-size: 1.2em;
  font-weight: 540;
}

.vt-filters span:not(.vt-search) small {
  padding: 0.1em 0.5em;
  border-radius: 0.5em;
  background: #f1f1ee;
  font-size: 1.05em;
}

.vt-filters .is-on {
  background: var(--ui-fg);
  color: #fff;
  box-shadow: none;
}

.vt-filters .is-on small {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}

.vt-search {
  flex: 1;
  margin-left: 0.6em;
  color: var(--ui-muted);
}

.vt-table {
  border-radius: 1.2em;
  box-shadow: inset 0 0 0 1px var(--ui-line);
  overflow: hidden;
}

.vt-tr {
  display: grid;
  grid-template-columns: 6.4em minmax(0, 1.7fr) 5.6em minmax(0, 1.5fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 1em;
  padding: 1.05em 1.6em;
  border-top: 1px solid #f0f0ed;
}

.vt-tr > :last-child {
  text-align: right;
}

.vt-tr b {
  font-size: 1.2em;
  font-weight: 560;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vt-tr > small {
  font-size: 1.15em;
}

.vt-th {
  border-top: 0;
  background: #fafaf8;
}

.vt-th small {
  font-size: 1.02em !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vt-tr .ui-pill {
  justify-self: start;
}

.vt-tr.is-selected {
  background: #f7f8fe;
  box-shadow: inset 0.25em 0 0 var(--ui-accent);
}

.vt-client {
  display: flex;
  align-items: center;
  gap: 0.8em;
  min-width: 0;
}

.vt-client i {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.6em;
  flex: none;
  border-radius: 50%;
  background: #efeee9;
  color: #6b6658;
  font-size: 0.95em;
  font-style: normal;
  font-weight: 650;
}

.vt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.vt-foot span {
  display: flex;
  gap: 0.6em;
}

.vt-foot svg {
  width: 3em;
  height: 3em;
  padding: 0.8em;
  border-radius: 0.7em;
  box-shadow: inset 0 0 0 1px var(--ui-line);
}

/* --------------------------------------------------------------------------
   Pauta — agenda semanal
   -------------------------------------------------------------------------- */

.ui--agenda {
  --c1: #4651d1;
  --c2: #c8692c;
  --c3: #2b8a63;
  display: flex;
  flex-direction: column;
}

.ag-top {
  display: flex;
  align-items: center;
  gap: 2.4em;
  padding: 1.6em 2.4em;
  border-bottom: 1px solid var(--ui-line);
}

.ag-week {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-left: 1.6em;
  color: var(--ui-muted);
}

.ag-week b {
  font-size: 1.5em;
  color: var(--ui-fg);
}

.ag-top .ui-seg {
  margin-left: auto;
}

.ui--agenda .ui-btn {
  background: var(--ui-accent);
}

.ag-body {
  display: grid;
  grid-template-columns: 21em minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.ag-side {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  padding: 2em 2.2em;
  border-right: 1px solid var(--ui-line);
}

.ag-label {
  margin-top: 0.8em;
  font-size: 1.05em !important;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ag-label:first-child {
  margin-top: 0;
}

.ag-pro {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.ag-pro i {
  width: 1.3em;
  height: 1.3em;
  border-radius: 0.35em;
  background: var(--c);
}

.ag-pro b {
  font-size: 1.25em;
  font-weight: 520;
}

.ag-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
}

.ag-stat b {
  font-size: 2.4em;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.ag-stat small {
  font-size: 1.2em;
}

.ag-cal {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ag-days,
.ag-grid {
  display: grid;
  grid-template-columns: 5.6em repeat(5, minmax(0, 1fr));
}

.ag-days {
  border-bottom: 1px solid var(--ui-line);
}

.ag-days span {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 1.3em 1.2em;
}

.ag-days small {
  font-size: 1.1em;
  font-weight: 560;
}

.ag-days b {
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ag-days .is-today b {
  color: var(--ui-accent);
}

.ag-grid {
  flex: 1;
  min-height: 0;
}

.ag-hours {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
}

.ag-hours small {
  padding: 0.5em 0 0 1.4em;
  font-size: 1.05em;
}

.ag-col {
  position: relative;
  border-left: 1px solid #f0f0ed;
  background-image: linear-gradient(#f0f0ed 1px, transparent 1px);
  background-size: 100% calc(100% / 6);
}

.ag-col.is-today {
  background-color: #fafaff;
}

.ag-ev {
  position: absolute;
  top: calc(var(--s) * 100% / 12 + 0.3em);
  left: 0.5em;
  right: 0.5em;
  height: calc(var(--l) * 100% / 12 - 0.6em);
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: 0.7em 0.9em;
  overflow: hidden;
  border-radius: 0.7em;
  background: color-mix(in srgb, var(--c) 10%, #fff);
  box-shadow: inset 0.25em 0 0 var(--c);
}

.ag-ev b {
  font-size: 1.15em;
  color: color-mix(in srgb, var(--c) 70%, #000);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ag-ev small {
  font-size: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ag-ev.is-free {
  background: transparent;
  box-shadow: inset 0 0 0 1px #d9d9d3;
  border: 0;
  outline: 1px dashed #c9c9c2;
  outline-offset: -1px;
}

.ag-ev.is-free b {
  color: var(--ui-muted);
}

.ag-now {
  position: absolute;
  top: calc(var(--s) * 100% / 12);
  left: 0;
  right: 0;
  height: 0.16em;
  background: #e5484d;
}

.ag-now::before {
  content: "";
  position: absolute;
  left: -0.45em;
  top: 50%;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #e5484d;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   Camadas (seção Diferencial) — componentes em tamanho real
   -------------------------------------------------------------------------- */

.layer-visual > * {
  width: 100%;
}

.lv-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgb(14 15 19 / 0.3);
  font-size: 0.9375rem;
}

.lv-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lv-card-head b {
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.lv-card-head small,
.lv-who small,
.lv-rows dt {
  font-size: 0.8125rem;
  color: var(--muted);
}

.lv-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--paper);
}

.lv-who .ui-avatar {
  width: 38px;
  height: 38px;
  font-size: 0.8125rem;
  font-family: var(--font);
}

.lv-who b {
  font-weight: 600;
}

.lv-rows {
  display: grid;
}

.lv-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.lv-rows dd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 540;
}

.lv-rows svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #1f8f7a;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.lv-btn {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 560;
}

.lv-code {
  overflow: hidden;
  border-radius: 18px;
  background: #14151a;
  color: #9a9dab;
  box-shadow: 0 24px 48px -32px rgb(14 15 19 / 0.5);
}

.lv-code-head,
.lv-code-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  font-size: 0.75rem;
}

.lv-code-head {
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  font-family: var(--mono);
}

.lv-code-foot {
  flex-wrap: wrap;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  color: #8fd1b9;
}

.lv-code-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lv-code-foot svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lv-code pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.75;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 0.15) transparent;
}

.lv-code pre:focus-visible {
  outline-offset: -2px;
}

.lv-code .k { color: #a9b0ee; }
.lv-code .f { color: #f1f2f6; }
.lv-code .t { color: #e6c99b; }

.lv-infra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: var(--paper-2);
}

.lv-metric,
.lv-integrations {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.lv-metric small,
.lv-integrations small {
  font-size: 0.8125rem;
  color: var(--muted);
}

.lv-metric b {
  font-size: 1.625rem;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.lv-metric svg {
  width: 100%;
  height: 28px;
  margin-top: 4px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.lv-uptime {
  display: flex;
  gap: 2px;
  height: 28px;
  margin-top: 4px;
  align-items: stretch;
}

.lv-uptime i {
  flex: 1;
  border-radius: 2px;
  background: #3ba776;
}

.lv-uptime i.is-dip {
  background: #e7a33e;
}

.lv-integrations {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lv-integrations small {
  margin-right: 6px;
}

.lv-integrations span {
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--paper);
  font-size: 0.8125rem;
  font-weight: 540;
}

.lv-deploy {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 4px;
}

.lv-deploy i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ba776;
}

.lv-deploy small {
  font-size: 0.8125rem;
  color: var(--muted);
}
