/* LBR · LP /diagnostico v3 · telas fictícias do LBR System (decorativas, aria-hidden) */
.app { position: relative; background: var(--white); border: 1px solid rgba(10, 46, 63, 0.08); border-radius: var(--r-app); box-shadow: var(--shadow-image); overflow: hidden; text-align: left; font-size: 14px; color: var(--navy); }
.app__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); color: rgba(255, 255, 255, 0.85); font-size: 12px; white-space: nowrap; overflow: hidden; }
.app__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); flex: none; }
.app__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; }
.app__body { padding: 20px 20px 32px; }
.app p { margin: 0; }
.illus { position: absolute; right: 10px; bottom: 8px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-600); background: rgba(255, 255, 255, 0.92); padding: 2px 6px; border-radius: var(--r-sm); }

/* Status e indicadores */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st--ok { color: var(--ok); } .st--warn { color: var(--warn); } .st--bad { color: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--gray-200); border-radius: 8px; padding: 12px; }
.kpi__label { font-size: 12px; color: var(--gray-600); margin: 0 0 4px; }
.kpi__value { font-size: 20px; font-weight: 500; margin: 0 0 6px !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars__label { margin-top: 18px !important; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 8px; border-bottom: 1px solid var(--gray-200); }
.bars > span { flex: 1; height: var(--h); background: var(--navy-100); border-radius: 2px 2px 0 0; }
.bars > span:last-child { background: var(--navy); }

/* Demo do hero */
.demo-h { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }
.demo-h .sheet { display: none; }
.motion-on .demo-h .sheet {
  display: block; position: absolute; top: 40%; left: 50%; width: 210px; margin-left: -105px; z-index: 2; opacity: 0;
  background: var(--white); border: 1px solid var(--gray); border-radius: var(--r-md); box-shadow: var(--shadow-md); font-size: 11px; overflow: hidden;
}
.sheet__name { display: block; padding: 6px 8px; background: #1D6F42; color: var(--white); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet td { border: 1px solid var(--gray-200); padding: 4px 6px; font-variant-numeric: tabular-nums; }
.sheet td.err { color: var(--bad); font-weight: 500; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.dash__label { font-size: 13px; color: var(--gray-600); }
.dash__big { font-size: clamp(32px, 5vw, 48px); font-weight: 300; letter-spacing: -0.02em; margin-top: 4px !important; font-variant-numeric: tabular-nums; }
.dash__delta { color: var(--ok); font-weight: 500; font-size: 14px; }
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-md); background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.tag:nth-child(2) { background: var(--orange); color: var(--navy-700); }
.tag:nth-child(3) { background: var(--navy-100); color: var(--navy); }
@media (min-width: 640px) { .demo-h .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) {
  .tags { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
  .tag { position: absolute; }
  .tag:nth-child(1) { right: calc(100% - 12px); top: 34%; rotate: -4deg; white-space: nowrap; }
  .tag:nth-child(2) { left: calc(100% - 24px); top: 58%; rotate: 3deg; white-space: nowrap; }
  .tag:nth-child(3) { left: 8%; bottom: -14px; rotate: -2deg; white-space: nowrap; }
}

/* Meta com dono */
.okr__title { font-weight: 500; font-size: 16px; }
.okr__owner { font-size: 12px; color: var(--gray-600); margin: 2px 0 12px !important; }
.meter { height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.meter__fill { display: block; height: 100%; width: var(--w); background: var(--ok); }
.okr__pct { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-600); margin: 6px 0 16px !important; font-variant-numeric: tabular-nums; }
.actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.action { display: grid; grid-template-columns: 18px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 13px; }
.check { position: relative; display: inline-block; width: 18px; height: 18px; flex: none; border: 1.5px solid var(--gray); border-radius: var(--r-md); transition: background-color 200ms var(--ease), border-color 200ms var(--ease); }
.is-done > .check { background: var(--ok); border-color: var(--ok); }
.is-done > .check::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.is-done .action__txt { color: var(--gray-600); text-decoration: line-through; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--navy-100); color: var(--navy); font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.action__date { font-size: 12px; color: var(--gray-600); font-variant-numeric: tabular-nums; }

/* Reunião com registro */
.agenda { list-style: none; margin: 0 0 4px; padding: 0; }
.agenda li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--gray-200); font-size: 13px; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-sm); background: var(--navy-100); color: var(--navy); margin: 14px 0 12px; }

/* Comercial e financeiro */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.col { background: var(--sand); border-radius: 8px; padding: 8px; min-height: 112px; }
.col__name { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-600); margin: 0 0 8px !important; }
.deal { background: var(--white); border: 1px solid var(--gray-200); border-radius: 6px; padding: 8px; font-size: 12px; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.deal strong { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal--hot { border-color: var(--ok); box-shadow: var(--shadow-md); position: relative; z-index: 1; }
.deal-slot { height: 0; }
.cash { margin-top: 16px; }
.cash__head { display: flex; justify-content: space-between; align-items: baseline; }
.cash__plus { color: var(--ok); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.bars--cash > .bar-stack { display: flex; flex-direction: column-reverse; background: var(--navy); }
.seg-new { display: block; height: var(--h); background: var(--orange); border-radius: 2px 2px 0 0; margin-top: auto; }

/* Copiloto LBR */
.chat__body { display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.msg { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; max-width: 88%; }
.msg p { margin: 0; }
.msg p + p { margin-top: 8px; }
.msg--bot { background: var(--sand); align-self: flex-start; border-top-left-radius: 2px; }
.msg--user { background: var(--navy); color: var(--white); align-self: flex-end; border-top-right-radius: 2px; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__actions span { font-size: 12px; font-weight: 500; padding: 5px 10px; border: 1px solid var(--navy); border-radius: var(--r-md); background: var(--white); }
.typing { display: none; align-self: flex-start; gap: 4px; padding: 12px 14px; background: var(--sand); border-radius: 10px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-600); }
.chat__input { margin-top: auto !important; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 13px; color: var(--gray-600); }
