html,
body {
  min-height: 100%;
}

/* Guia visual do Portal do Cliente */
.olam-guide-page {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
  scroll-behavior: smooth;
}

.olam-guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.42fr);
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid color-mix(in srgb, #2f6fed 14%, var(--bs-border-color));
  border-radius: var(--olam-radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(122, 92, 196, 0.18), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, #2f6fed 8%, var(--olam-surface)), var(--olam-surface) 60%);
  box-shadow: 0 20px 48px rgba(42, 53, 72, 0.1);
}

.olam-guide-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 20rem;
  height: 20rem;
  border: 2.8rem solid rgba(159, 0, 67, 0.04);
  border-radius: 50%;
  content: "";
}

.olam-guide-hero-copy,
.olam-guide-quick-links {
  position: relative;
  z-index: 1;
}

.olam-guide-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
}

.olam-guide-hero-copy > p:not(.olam-eyebrow) {
  max-width: 48rem;
  margin-bottom: 1.25rem;
  color: var(--olam-text-muted);
  font-size: 1.04rem;
}

.olam-guide-example-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: #21633e;
  background: color-mix(in srgb, #1f9d55 11%, var(--olam-surface));
  font-size: 0.82rem;
  font-weight: 700;
}

.olam-guide-quick-links {
  display: grid;
  gap: 0.65rem;
}

.olam-guide-quick-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
  border-radius: 0.85rem;
  color: var(--olam-quase-preto);
  background: color-mix(in srgb, var(--olam-surface) 88%, transparent);
  box-shadow: 0 7px 18px rgba(42, 53, 72, 0.06);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.olam-guide-quick-links a:hover {
  border-color: color-mix(in srgb, #2f6fed 40%, transparent);
  transform: translateX(0.2rem);
}

.olam-guide-quick-links i {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.65rem;
  color: #2f6fed;
  background: color-mix(in srgb, #2f6fed 10%, var(--olam-surface));
}

.olam-guide-section {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
  scroll-margin-top: 1rem;
}

.olam-guide-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.olam-guide-heading > span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--olam-borgonha), #c82c70);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(159, 0, 67, 0.2);
}

.olam-guide-heading h2,
.olam-guide-screen-copy h3,
.olam-guide-notice h2,
.olam-guide-video-placeholder h2 {
  margin: 0;
  color: var(--olam-quase-preto);
  font-family: var(--olam-font-titulo);
}

.olam-guide-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.olam-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.olam-guide-steps article {
  position: relative;
  min-height: 13rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, #2f6fed 12%, transparent);
  border-radius: 1rem;
  background: linear-gradient(145deg, color-mix(in srgb, #2f6fed 5%, var(--olam-surface)), var(--olam-surface));
}

.olam-guide-steps article > i {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.9rem;
  color: #2f6fed;
  background: color-mix(in srgb, #2f6fed 11%, var(--olam-surface));
  font-size: 1.2rem;
}

.olam-guide-step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: color-mix(in srgb, var(--olam-cinza-azulado) 24%, transparent);
  font-family: var(--olam-font-titulo);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.olam-guide-steps h3,
.olam-guide-signals h3 {
  margin-bottom: 0.4rem;
  color: var(--olam-quase-preto);
  font-size: 1rem;
  font-weight: 800;
}

.olam-guide-steps p,
.olam-guide-signals p {
  margin: 0;
  color: var(--olam-text-muted);
  font-size: 0.9rem;
}

.olam-guide-screen-card {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(26rem, 1.28fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 10%, transparent);
}

.olam-guide-screen-card:first-of-type {
  padding-top: 0.5rem;
  border-top: 0;
}

.olam-guide-screen-card--reverse .olam-guide-screen-copy {
  order: 2;
}

.olam-guide-screen-tag {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  color: var(--olam-borgonha);
  background: color-mix(in srgb, var(--olam-borgonha) 9%, var(--olam-surface));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.olam-guide-screen-copy h3 {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
}

.olam-guide-screen-copy p,
.olam-guide-screen-copy li {
  color: var(--olam-text-muted);
}

.olam-guide-screen-copy ul {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.olam-guide-mock {
  min-width: 0;
  padding: clamp(0.85rem, 2vw, 1.25rem);
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 13%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--olam-cinza-claro) 55%, var(--olam-surface));
  box-shadow: 0 16px 32px rgba(42, 53, 72, 0.09);
}

.olam-guide-mock-toolbar,
.olam-guide-project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.olam-guide-mock-toolbar {
  margin-bottom: 0.85rem;
  color: var(--olam-quase-preto);
  font-weight: 800;
}

.olam-guide-mock-toolbar small {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: var(--olam-surface);
  font-weight: 500;
}

.olam-guide-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.olam-guide-metrics > span {
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem;
  border-radius: 0.75rem;
  background: var(--olam-surface);
  box-shadow: 0 3px 12px rgba(42, 53, 72, 0.05);
}

.olam-guide-metrics small,
.olam-guide-project-row small,
.olam-guide-chart small {
  display: block;
  color: var(--olam-text-muted);
  font-size: 0.68rem;
}

.olam-guide-metrics strong {
  color: var(--olam-quase-preto);
  font-family: var(--olam-font-titulo);
  font-size: 1.6rem;
}

.olam-guide-chart {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 0.7rem;
  padding: 0.8rem;
  border-radius: 0.75rem;
  background: var(--olam-surface);
}

.olam-guide-chart > div {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2f6fed 0 68%, color-mix(in srgb, #2f6fed 10%, var(--olam-surface)) 68%);
}

.olam-guide-chart > div::after {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--olam-surface);
  content: "68%";
  display: grid;
  place-items: center;
  color: var(--olam-quase-preto);
  font-size: 0.72rem;
  font-weight: 800;
}

.olam-guide-chart p {
  margin: 0;
}

.olam-guide-project-row {
  padding: 0.85rem;
  border-radius: 0.8rem;
  background: var(--olam-surface);
}

.olam-guide-project-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, #2f6fed, #7a5cc4);
}

.olam-guide-project-row > span:nth-child(2) {
  flex: 1 1 auto;
  color: var(--olam-quase-preto);
}

.olam-guide-project-progress {
  display: flex;
  min-width: 7.5rem;
  align-items: center;
  gap: 0.5rem;
}

.olam-guide-project-progress i {
  overflow: hidden;
  width: 5rem;
  height: 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, #2f6fed 10%, var(--olam-surface));
}

.olam-guide-project-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f6fed;
}

.olam-guide-fake-button,
.olam-guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.olam-guide-fake-button {
  border: 1px solid var(--bs-border-color);
  color: var(--olam-cinza-azulado);
}

.olam-guide-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(9.5rem, 1fr));
  gap: 0.55rem;
  overflow-x: auto;
}

.olam-guide-kanban-column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 9.5rem;
  padding: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--status-color) 18%, transparent);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--status-color) 5%, var(--olam-surface));
}

.olam-guide-kanban-column > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 0.55rem;
  color: #fff;
  background: var(--status-color);
  font-size: 0.72rem;
}

.olam-guide-kanban-column > strong small {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.olam-guide-kanban-column > span {
  display: grid;
  gap: 0.65rem;
  padding: 0.65rem;
  border-left: 3px solid var(--status-color);
  border-radius: 0.6rem;
  color: var(--olam-quase-preto);
  background: var(--olam-surface);
  box-shadow: 0 4px 12px rgba(42, 53, 72, 0.07);
  font-size: 0.72rem;
}

.olam-guide-kanban-column em {
  color: var(--olam-text-muted);
  font-size: 0.62rem;
  font-style: normal;
}

.olam-guide-validation h4 {
  margin: 0.8rem 0 0.4rem;
  color: var(--olam-quase-preto);
  font-size: 1rem;
}

.olam-guide-validation > p {
  padding: 0.6rem;
  border-radius: 0.55rem;
  color: var(--olam-text-muted);
  background: var(--olam-surface);
  font-size: 0.78rem;
}

.olam-guide-validation > div {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.olam-guide-validation-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6d4db5;
  font-size: 0.75rem;
  font-weight: 800;
}

.olam-guide-action {
  gap: 0.35rem;
}

.olam-guide-action--outline {
  border: 1px solid var(--bs-border-color);
  color: var(--olam-cinza-azulado);
  background: var(--olam-surface);
}

.olam-guide-action--success {
  color: #fff;
  background: #1f9d55;
}

.olam-guide-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.olam-guide-signals article {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 8.2rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 11%, transparent);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--olam-cinza-claro) 48%, var(--olam-surface));
}

.olam-guide-signals article > i,
.olam-guide-signals article > .badge {
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.olam-guide-signals article > i {
  font-size: 1.2rem;
}

.signal-message { color: var(--olam-borgonha); }
.signal-validation { color: #a87800; }

.olam-guide-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.olam-guide-notice,
.olam-guide-video-placeholder {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 11rem;
  padding: 1.4rem;
  border: 1px solid color-mix(in srgb, var(--notice-color) 20%, transparent);
  border-radius: var(--olam-radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--notice-color) 8%, var(--olam-surface)), var(--olam-surface));
  box-shadow: var(--olam-shadow);
}

.olam-guide-notice { --notice-color: #2f6fed; }
.olam-guide-video-placeholder { --notice-color: #7a5cc4; }

.olam-guide-notice > span,
.olam-guide-video-placeholder > span {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: var(--notice-color);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--notice-color) 25%, transparent);
  font-size: 1.35rem;
}

.olam-guide-notice h2,
.olam-guide-video-placeholder h2 {
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

.olam-guide-notice p:last-child,
.olam-guide-video-placeholder p:last-child {
  margin: 0;
  color: var(--olam-text-muted);
  font-size: 0.88rem;
}

.olam-guide-faq details {
  border-top: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
}

.olam-guide-faq details:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
}

.olam-guide-faq summary {
  padding: 1rem 0.2rem;
  color: var(--olam-quase-preto);
  font-weight: 800;
  cursor: pointer;
}

.olam-guide-faq details p {
  max-width: 58rem;
  padding: 0 0.2rem 1rem;
  color: var(--olam-text-muted);
}

[data-bs-theme="dark"] .olam-guide-example-label {
  color: #78e2a5;
}

[data-bs-theme="dark"] .olam-guide-page :is(
  .olam-guide-quick-links a,
  .olam-guide-heading h2,
  .olam-guide-screen-copy h3,
  .olam-guide-steps h3,
  .olam-guide-signals h3,
  .olam-guide-notice h2,
  .olam-guide-video-placeholder h2,
  .olam-guide-mock-toolbar,
  .olam-guide-metrics strong,
  .olam-guide-chart > div::after,
  .olam-guide-project-row > span:nth-child(2),
  .olam-guide-kanban-column > span,
  .olam-guide-validation h4,
  .olam-guide-faq summary
) {
  color: var(--bs-body-color);
}

@media (max-width: 1100px) {
  .olam-guide-screen-card {
    grid-template-columns: 1fr;
  }

  .olam-guide-screen-card--reverse .olam-guide-screen-copy {
    order: 0;
  }

  .olam-guide-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .olam-guide-hero,
  .olam-guide-steps,
  .olam-guide-support-grid {
    grid-template-columns: 1fr;
  }

  .olam-guide-project-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .olam-guide-project-progress {
    order: 4;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .olam-guide-metrics,
  .olam-guide-signals {
    grid-template-columns: 1fr;
  }

  .olam-guide-validation > div {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Kanban moderno */
.olam-board-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
  border-radius: var(--olam-radius-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(212, 175, 55, 0.18), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, #7a5cc4 7%, var(--olam-surface)), var(--olam-surface) 58%);
  box-shadow: 0 18px 42px rgba(42, 53, 72, 0.1);
}

.olam-board-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border: 2.5rem solid rgba(159, 0, 67, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.olam-board-hero-copy,
.olam-board-progress-card {
  position: relative;
  z-index: 1;
}

.olam-board-hero-copy h1 {
  max-width: 58rem;
  margin: 0;
  color: var(--olam-quase-preto);
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.olam-board-hero-copy > p:last-child {
  max-width: 46rem;
  margin: 0.65rem 0 0;
  color: var(--olam-text-muted);
}

.olam-board-progress-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem 0.85rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--olam-surface) 90%, transparent);
  box-shadow: 0 14px 32px rgba(42, 53, 72, 0.1);
  backdrop-filter: blur(12px);
}

.olam-board-progress-icon {
  display: inline-grid;
  grid-row: 1;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--olam-borgonha), #c82c70);
  box-shadow: 0 8px 18px rgba(159, 0, 67, 0.24);
}

.olam-board-progress-card small,
.olam-board-progress-card strong {
  display: block;
}

.olam-board-progress-card small {
  color: var(--olam-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.olam-board-progress-card strong {
  color: var(--olam-borgonha);
  font-family: var(--olam-font-titulo);
  font-size: 1.8rem;
  line-height: 1.05;
}

.olam-board-progress-card .progress {
  grid-column: 1 / -1;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--olam-cinza-azulado) 10%, transparent);
}

.olam-board-progress-card .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--olam-borgonha), var(--olam-dourado));
}

.olam-board-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.olam-board-summary article {
  --summary-color: #2f6fed;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 5.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--summary-color) 13%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--summary-color) 5%, var(--olam-surface));
  box-shadow: 0 10px 24px rgba(42, 53, 72, 0.065);
}

.olam-board-summary article.green { --summary-color: #1f9d55; }
.olam-board-summary article.purple { --summary-color: #7a5cc4; }
.olam-board-summary article.gold { --summary-color: #c99a13; }
.olam-board-summary article.blue { --summary-color: #2f6fed; }

.olam-board-summary article > i {
  display: inline-grid;
  flex: 0 0 2.5rem;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  color: #fff;
  background: var(--summary-color);
  box-shadow: 0 7px 16px color-mix(in srgb, var(--summary-color) 24%, transparent);
}

.olam-board-summary strong,
.olam-board-summary span {
  display: block;
}

.olam-board-summary strong {
  color: var(--summary-color);
  font-size: 1.2rem;
  line-height: 1.1;
}

.olam-board-summary span {
  margin-top: 0.15rem;
  color: var(--olam-text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.olam-board-surface {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
  border-radius: var(--olam-radius-lg);
  box-shadow: 0 18px 42px rgba(42, 53, 72, 0.085);
}

.olam-board-surface > .card-body {
  background: var(--olam-surface);
}

.olam-board-section-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.olam-board-section-heading > span {
  display: inline-grid;
  flex: 0 0 2.7rem;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  color: #fff;
  background: #7a5cc4;
  box-shadow: 0 8px 18px rgba(122, 92, 196, 0.22);
}

.olam-board-section-heading > span.green {
  background: #1f9d55;
  box-shadow: 0 8px 18px rgba(31, 157, 85, 0.22);
}

.olam-board-section-heading h2 {
  margin: 0;
  color: var(--olam-quase-preto);
  font-family: var(--olam-font-titulo);
  font-size: 1.35rem;
}

.olam-board-section-heading p {
  margin: 0.12rem 0 0;
  color: var(--olam-text-muted);
  font-size: 0.8rem;
}

.olam-board-section-heading.compact {
  margin-bottom: 1rem;
}

.olam-project-board-page .olam-board-tabs {
  display: inline-flex;
  gap: 0.3rem;
  margin-bottom: 1.35rem !important;
  padding: 0.3rem;
  border: 0;
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--olam-cinza-azulado) 8%, transparent);
}

.olam-project-board-page .olam-board-tabs .nav-link {
  border-radius: 0.7rem;
  padding: 0.55rem 1rem;
}

.olam-project-board-page .olam-board-tabs .nav-link.active {
  background: var(--olam-surface);
  color: var(--olam-borgonha);
  box-shadow: 0 5px 14px rgba(42, 53, 72, 0.11);
}

.olam-project-board-page .olam-kanban-grid {
  gap: 1rem;
  margin: 0 -0.3rem -0.3rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 10%, transparent);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--olam-cinza-claro) 65%, var(--olam-surface)), var(--olam-surface));
}

.olam-project-board-page .olam-kanban-grid-6 {
  grid-template-columns: repeat(6, minmax(13rem, 1fr));
  align-items: start;
  overflow-x: auto;
}

.olam-project-board-page .olam-kanban-column {
  gap: 0.65rem;
  min-width: 0;
  padding: 0.6rem;
  border: 1px solid color-mix(in srgb, var(--col-accent, #4d5a6f) 14%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--col-accent, #4d5a6f) 5%, var(--olam-surface));
  box-shadow: 0 8px 22px rgba(42, 53, 72, 0.055);
}

.olam-project-board-page .olam-kanban-column h3 {
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.78rem;
  background: linear-gradient(135deg, var(--col-accent, #4d5a6f), color-mix(in srgb, var(--col-accent, #4d5a6f) 82%, #1c2026));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--col-accent, #4d5a6f) 24%, transparent);
}

.olam-project-board-page .olam-kanban-column h3 .bi {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.17);
  font-size: 0.76rem;
}

.olam-project-board-page .olam-kanban-count {
  min-width: 1.65rem;
  height: 1.65rem;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.olam-project-board-page .olam-kanban-list {
  gap: 0.7rem;
  min-height: 8.2rem;
}

.olam-project-board-page .olam-cycle-task-card {
  gap: 0.72rem;
  min-height: 7rem;
  padding: 0.9rem;
  border-color: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 15%, var(--bs-border-color));
  border-radius: 0.9rem;
  box-shadow: 0 7px 18px rgba(42, 53, 72, 0.075);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.olam-project-board-page .olam-cycle-task-card:hover {
  border-color: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 32%, var(--bs-border-color));
  box-shadow: 0 14px 28px rgba(42, 53, 72, 0.14);
  transform: translateY(-3px);
}

.olam-cycle-task-card--portal {
  cursor: pointer;
}

.olam-project-board-page .olam-cycle-task-card--done {
  border-color: color-mix(in srgb, #1f9d55 28%, var(--bs-border-color));
  box-shadow: 0 8px 20px rgba(31, 157, 85, 0.11);
}

.olam-project-board-page .olam-task-title {
  font-size: 0.9rem;
}

.olam-task-due {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.24rem 0.45rem;
  border-radius: 0.5rem;
  color: #52627a;
  background: color-mix(in srgb, #2f6fed 8%, transparent);
  font-size: 0.68rem;
  font-weight: 700;
}

.olam-task-due time {
  font-weight: 800;
}

.olam-task-due.overdue {
  color: #b42331;
  background: color-mix(in srgb, #dc3545 10%, transparent);
}

.olam-project-board-page .olam-product-pill {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.olam-project-board-page .olam-task-avatar {
  box-shadow: 0 4px 10px rgba(42, 53, 72, 0.17);
}

.olam-project-board-page .olam-kanban-empty {
  min-height: 7rem;
  border-color: color-mix(in srgb, var(--col-accent, #4d5a6f) 20%, transparent);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--olam-surface) 68%, transparent);
  font-size: 0.77rem;
}

.olam-project-board-page .olam-board-filters {
  padding: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 11%, transparent);
  border-radius: 1rem;
  background: var(--olam-surface);
  box-shadow: 0 10px 26px rgba(42, 53, 72, 0.065);
}

.olam-project-board-page .olam-cycle-lane {
  border-color: color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
  box-shadow: 0 18px 42px rgba(42, 53, 72, 0.085);
}

.olam-project-board-page[data-cycle-board] .olam-cycle-lane.current .olam-cycle-lane-header {
  min-height: 4rem;
  padding: 0.82rem 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, #2f6fed 12%, var(--bs-border-color));
  background:
    linear-gradient(135deg, color-mix(in srgb, #2f6fed 6%, var(--olam-surface)), var(--olam-surface) 58%);
  box-shadow: inset 4px 0 0 #2f6fed;
  color: var(--olam-quase-preto);
}

.olam-project-board-page[data-cycle-board] .olam-cycle-lane.current .olam-lane-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.72rem;
  background: color-mix(in srgb, #2f6fed 12%, var(--olam-surface));
  color: #2f6fed;
  font-size: 1.05rem;
}

.olam-admin-cycle-kicker {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--olam-cinza-azulado);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.olam-admin-cycle-header h2 {
  color: var(--olam-quase-preto);
  font-size: 1.12rem;
}

.olam-admin-cycle-progress {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: min(15rem, 42vw);
}

.olam-admin-cycle-progress > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  white-space: nowrap;
}

.olam-admin-cycle-progress strong {
  color: var(--olam-quase-preto);
  font-size: 1rem;
  line-height: 1;
}

.olam-admin-cycle-progress span {
  color: var(--olam-cinza-azulado);
  font-size: 0.7rem;
}

.olam-admin-cycle-progress .progress {
  width: clamp(5rem, 9vw, 8.5rem);
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--olam-cinza-azulado) 13%, transparent);
}

.olam-admin-cycle-progress .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6fed, #7a5cc4);
}

.olam-board-table-panel {
  margin-top: 1.5rem;
}

[data-bs-theme="dark"] .olam-board-hero,
[data-bs-theme="dark"] .olam-board-progress-card,
[data-bs-theme="dark"] .olam-board-summary article,
[data-bs-theme="dark"] .olam-project-board-page .olam-kanban-grid,
[data-bs-theme="dark"] .olam-project-board-page .olam-kanban-column {
  background: var(--olam-surface);
}

[data-bs-theme="dark"] .olam-board-hero-copy h1,
[data-bs-theme="dark"] .olam-board-section-heading h2 {
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .olam-admin-cycle-header h2,
[data-bs-theme="dark"] .olam-admin-cycle-progress strong {
  color: var(--bs-body-color);
}

@media (max-width: 1199.98px) {
  .olam-board-hero {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.42fr);
  }

  .olam-board-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .olam-board-hero {
    grid-template-columns: 1fr;
  }

  .olam-project-board-page:not([data-cycle-board]) .olam-kanban-column {
    display: flex;
  }

  .olam-project-board-page:not([data-cycle-board]) .olam-kanban-grid {
    grid-template-columns: 1fr;
  }

  .olam-project-board-page[data-cycle-board] .olam-kanban-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

@media (max-width: 575.98px) {
  .olam-admin-cycle-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .olam-admin-cycle-progress {
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .olam-admin-cycle-progress .progress {
    flex: 1 1 auto;
    width: auto;
  }
}

/* Relatório administrativo de execução e evidências */
.olam-execution-report {
  --evidence-border: #dde3eb;
  --evidence-muted: #6f7b8d;
}

.olam-soft-alert {
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f7f9fc 100%);
  border-radius: 14px;
  color: #4d5a6f;
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
}

.olam-evidence-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.olam-evidence-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.olam-evidence-grid > div {
  background: #f7f9fc;
  border: 1px solid #e7ebf1;
  border-radius: 12px;
  min-width: 0;
  padding: 0.8rem 0.9rem;
}

.olam-evidence-grid span,
.olam-evidence-meta span {
  color: var(--evidence-muted);
  display: block;
  font-size: 0.76rem;
}

.olam-evidence-grid strong {
  display: block;
  font-size: 0.92rem;
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
}

.olam-evidence-task-list {
  display: grid;
  gap: 0.8rem;
}

.olam-evidence-task {
  background: #fff;
  border: 1px solid var(--evidence-border);
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(42, 52, 69, 0.06);
  overflow: hidden;
}

.olam-evidence-task > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  padding: 1rem 1.1rem;
}

.olam-evidence-task > summary::-webkit-details-marker {
  display: none;
}

.olam-evidence-task > summary::after {
  color: #9f0043;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 0.9rem;
  margin-left: -0.3rem;
  transition: transform 0.2s ease;
}

.olam-evidence-task[open] > summary::after {
  transform: rotate(180deg);
}

.olam-evidence-task > summary > span:first-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.olam-evidence-task > summary small {
  color: var(--evidence-muted);
  margin-top: 0.2rem;
}

.olam-evidence-task-content {
  border-top: 1px solid #edf0f4;
  padding: 1.1rem;
}

.olam-evidence-task-content h3 {
  font-family: var(--font-sans, inherit);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 1rem 0 0.65rem;
}

.olam-evidence-text {
  border-left: 3px solid #d4af37;
  margin-top: 0.9rem;
  padding: 0.2rem 0 0.2rem 0.8rem;
}

.olam-evidence-text span {
  color: var(--evidence-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.olam-evidence-text p {
  margin: 0.2rem 0 0;
  white-space: pre-line;
}

.olam-evidence-columns {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.olam-evidence-line,
.olam-evidence-meta {
  align-items: center;
  border-bottom: 1px solid #edf0f4;
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0;
}

.olam-evidence-line span {
  flex: 1;
}

.olam-evidence-line small {
  color: var(--evidence-muted);
}

.olam-evidence-line-block {
  border-bottom: 1px solid #edf0f4;
  padding-bottom: 0.45rem;
}

.olam-evidence-line-block .olam-evidence-line {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}

.olam-evidence-meta {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.1rem;
}

.olam-evidence-comments,
.olam-evidence-history {
  display: grid;
  gap: 0.65rem;
}

.olam-evidence-comments article,
.olam-evidence-history article {
  background: #f8f9fc;
  border: 1px solid #e7ebf1;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.olam-evidence-comments article > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.olam-evidence-comments article span,
.olam-evidence-history article > span {
  color: var(--evidence-muted);
  font-size: 0.75rem;
}

.olam-evidence-comments article p,
.olam-evidence-history article p {
  margin: 0.4rem 0 0;
  white-space: pre-line;
}

@media (max-width: 991.98px) {
  .olam-evidence-grid,
  .olam-evidence-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .olam-evidence-grid,
  .olam-evidence-grid.compact,
  .olam-evidence-columns {
    grid-template-columns: 1fr;
  }

  .olam-evidence-task > summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 575.98px) {
  .olam-board-hero {
    padding: 1.15rem;
  }

  .olam-board-summary {
    grid-template-columns: 1fr;
  }

  .olam-board-summary article {
    min-height: 4.7rem;
  }

  .olam-board-surface > .card-body {
    padding: 1rem !important;
  }

  .olam-project-board-page .olam-board-tabs {
    display: flex;
  }

  .olam-project-board-page .olam-board-tabs .nav-item,
  .olam-project-board-page .olam-board-tabs .nav-link {
    flex: 1;
  }

  .olam-project-board-page .olam-kanban-grid {
    padding: 0.65rem;
  }
}

/* Dashboard adaptativo de relatórios */
.olam-report-hero {
  gap: 1.5rem;
}

.olam-report-mode,
.olam-cycle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.olam-report-mode-custom,
.olam-cycle-badge.custom {
  color: #6842a3;
  background: color-mix(in srgb, #7a5cc4 14%, transparent);
}

.olam-report-mode-standard,
.olam-cycle-badge.standard {
  color: #1f5ebc;
  background: color-mix(in srgb, #2f6fed 13%, transparent);
}

.olam-report-mode-mixed {
  color: var(--olam-borgonha);
  background: color-mix(in srgb, var(--olam-borgonha) 11%, transparent);
}

.olam-report-metrics-modern {
  gap: 1rem;
}

.olam-report-metrics-modern .olam-report-metric {
  --metric-color: var(--olam-borgonha);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 9.2rem;
  overflow: hidden;
  border: 0;
  box-shadow: 0 14px 32px rgba(42, 53, 72, 0.09);
}

.olam-report-metrics-modern .olam-report-metric::after {
  position: absolute;
  right: -2.4rem;
  bottom: -3.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--metric-color) 10%, transparent);
  content: "";
}

.olam-report-metric-green { --metric-color: #1f9d55 !important; }
.olam-report-metric-purple { --metric-color: #7a5cc4 !important; }
.olam-report-metric-blue { --metric-color: #2f6fed !important; }
.olam-report-metric-orange { --metric-color: #e67e22 !important; }
.olam-report-metric-burgundy { --metric-color: #9f0043 !important; }

.olam-report-metric-icon {
  display: inline-grid;
  flex: 0 0 2.8rem;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  color: #fff;
  background: var(--metric-color);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--metric-color) 25%, transparent);
  font-size: 1.15rem;
}

.olam-report-metrics-modern .olam-report-metric p {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.olam-report-metrics-modern .olam-report-metric strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--metric-color);
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.olam-report-metrics-modern .olam-report-metric small {
  display: block;
  max-width: 13rem;
  color: var(--olam-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.olam-report-radar {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(0, 2.2fr);
  align-items: center;
  gap: 1.3rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 14%, transparent);
  border-radius: var(--olam-radius-lg);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--olam-cinza-claro) 72%, #fff), var(--olam-surface));
  box-shadow: var(--olam-shadow);
}

.olam-report-radar-title,
.olam-report-panel-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.olam-report-radar-title > span,
.olam-report-panel-heading > span {
  display: inline-grid;
  flex: 0 0 2.55rem;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.85rem;
  color: #fff;
  background: var(--olam-cinza-azulado);
  font-size: 1rem;
}

.olam-report-radar-title h2,
.olam-report-panel-heading h2 {
  margin: 0;
  color: var(--olam-quase-preto);
  font-family: var(--olam-font-titulo);
  font-size: 1.35rem;
}

.olam-report-radar-title p,
.olam-report-panel-heading p {
  margin: 0.2rem 0 0;
  color: var(--olam-text-muted);
  font-size: 0.82rem;
}

.olam-report-radar-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.olam-report-radar-items article {
  --radar-color: #4d5a6f;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 0.65rem;
  min-height: 4.5rem;
  padding: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--radar-color) 17%, transparent);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--radar-color) 7%, var(--olam-surface));
}

.olam-report-radar-items article.danger { --radar-color: #dc3545; }
.olam-report-radar-items article.warning { --radar-color: #e67e22; }
.olam-report-radar-items article.purple { --radar-color: #7a5cc4; }
.olam-report-radar-items article.blue { --radar-color: #2f6fed; }

.olam-report-radar-items article > i {
  grid-row: 1 / span 2;
  color: var(--radar-color);
  font-size: 1.15rem;
}

.olam-report-radar-items strong {
  color: var(--radar-color);
  font-size: 1.2rem;
  line-height: 1;
}

.olam-report-radar-items span {
  color: var(--olam-text-muted);
  font-size: 0.72rem;
  line-height: 1.15;
}

.olam-report-chart-grid-modern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.olam-report-chart-grid-modern .olam-report-panel,
.olam-report-insight-grid .olam-report-panel {
  border: 0;
  box-shadow: 0 14px 34px rgba(42, 53, 72, 0.08);
}

.olam-report-panel-heading {
  margin-bottom: 0.7rem;
}

.olam-report-panel-heading.compact {
  margin-bottom: 1rem;
}

.olam-report-panel-heading > span.purple { background: #7a5cc4; }
.olam-report-panel-heading > span.gold { background: #d4af37; }
.olam-report-panel-heading > span.blue { background: #2f6fed; }
.olam-report-panel-heading > span.green { background: #1f9d55; }
.olam-report-panel-heading > span.burgundy { background: #9f0043; }

.olam-report-chart.primary,
.olam-report-chart.effort {
  min-height: 20.6rem;
}

.olam-report-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  margin: -2.8rem 0 0;
  color: var(--olam-text-muted);
  font-size: 0.85rem;
}

.olam-report-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.olam-report-list {
  display: grid;
}

.olam-report-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.2rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--bs-border-color);
}

.olam-report-list article:first-child {
  border-top: 0;
}

.olam-report-list-icon {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.72rem;
  color: #2f6fed;
  background: color-mix(in srgb, #2f6fed 11%, transparent);
}

.olam-report-list-icon.danger {
  color: #dc3545;
  background: color-mix(in srgb, #dc3545 11%, transparent);
}

.olam-report-list-icon.green {
  color: #1f9d55;
  background: color-mix(in srgb, #1f9d55 11%, transparent);
}

.olam-report-list strong,
.olam-report-list small {
  display: block;
}

.olam-report-list strong {
  overflow: hidden;
  color: var(--olam-quase-preto);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.olam-report-list small {
  margin-top: 0.15rem;
  color: var(--olam-text-muted);
  font-size: 0.72rem;
}

.olam-report-list time {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: var(--olam-cinza-azulado);
  background: var(--olam-cinza-claro);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.olam-report-list time.overdue {
  color: #b42331;
  background: color-mix(in srgb, #dc3545 12%, transparent);
}

.olam-report-table-modern thead th {
  padding: 0.9rem 0.75rem;
  background: color-mix(in srgb, var(--olam-cinza-azulado) 94%, #fff);
  font-size: 0.76rem;
  letter-spacing: 0.015em;
}

.olam-report-table-modern tbody tr {
  transition: background 160ms ease;
}

.olam-report-table-modern tbody tr:hover {
  background: color-mix(in srgb, var(--olam-cinza-claro) 65%, transparent);
}

.olam-report-table.olam-report-table-modern td:nth-child(2) {
  display: table-cell;
}

.olam-table-progress {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 8rem;
}

.olam-table-progress > span {
  display: block;
  flex: 1;
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--olam-cinza-claro);
}

.olam-table-progress > span i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9f0043, #d4af37);
}

.olam-table-progress strong {
  min-width: 2.5rem;
  color: var(--olam-quase-preto);
  font-size: 0.76rem;
}

.olam-on-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

[data-bs-theme="dark"] .olam-report-radar,
[data-bs-theme="dark"] .olam-report-radar-items article {
  background: var(--olam-surface);
}

[data-bs-theme="dark"] .olam-report-radar-title h2,
[data-bs-theme="dark"] .olam-report-panel-heading h2,
[data-bs-theme="dark"] .olam-report-list strong,
[data-bs-theme="dark"] .olam-table-progress strong {
  color: var(--bs-body-color);
}

@media (max-width: 1199.98px) {
  .olam-report-metrics-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .olam-report-radar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .olam-report-chart-grid-modern,
  .olam-report-insight-grid {
    grid-template-columns: 1fr;
  }

  .olam-report-radar-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .olam-report-metrics-modern,
  .olam-report-radar-items {
    grid-template-columns: 1fr;
  }

  .olam-report-metrics-modern .olam-report-metric {
    min-height: 7.5rem;
  }

  .olam-report-list article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .olam-report-list time {
    grid-column: 2;
    justify-self: start;
  }
}

.olam-sidebar-header {
  position: relative;
}

.olam-sidebar-logo.olam-sidebar-logo-compact {
  display: none;
}

.olam-sidebar-toggle {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  right: -0.8rem;
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  color: #fff;
  background: var(--olam-borgonha);
  border: 2px solid var(--bs-body-bg);
  border-radius: 50%;
  box-shadow: 0 0.2rem 0.6rem rgba(28, 32, 38, 0.24);
  transition: background-color 0.2s ease;
}

.olam-sidebar-toggle:hover,
.olam-sidebar-toggle:focus-visible {
  background: var(--olam-borgonha-claro);
}

@media (min-width: 992px) {
  .olam-desktop-layout {
    flex-wrap: nowrap;
  }

  .olam-desktop-sidebar {
    position: relative;
    z-index: 5;
    flex: 0 0 16.666667%;
    width: 16.666667%;
    transition: flex-basis 0.25s ease, width 0.25s ease;
  }

  .olam-desktop-content {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar {
    flex-basis: 5rem;
    width: 5rem;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-sidebar-logo-full,
  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-sidebar-label,
  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-sidebar-user-details,
  .olam-sidebar-collapsed .olam-desktop-sidebar [data-olam-install] {
    display: none !important;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-sidebar-logo.olam-sidebar-logo-compact {
    display: block;
    width: 2.75rem;
    margin: 0 auto;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-sidebar-brand {
    padding-inline: 0.5rem;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .nav {
    padding-inline: 0 !important;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .nav-link {
    justify-content: center;
    gap: 0;
    margin-inline: 0.65rem;
    padding-inline: 0;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .nav-link i {
    width: auto;
    font-size: 1.15rem;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .mt-auto {
    padding-inline: 0.65rem !important;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-shell-actions,
  .olam-sidebar-collapsed .olam-desktop-sidebar .olam-sidebar-user {
    justify-content: center;
  }

  .olam-sidebar-collapsed .olam-desktop-sidebar form .btn {
    display: inline-grid;
    place-items: center;
    height: 2.35rem;
    padding: 0;
  }
}


.olam-app-shell {
  min-height: 100vh;
  background: var(--bs-body-bg);
}

.olam-sidebar-brand {
  display: block;
  padding: 1.5rem 0.75rem 1.25rem;
}

.olam-sidebar-logo {
  display: block;
  width: min(100%, 12.25rem);
  height: auto;
}

.olam-sidebar .nav {
  gap: 0.25rem;
}

.olam-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  font-weight: 600;
}

.olam-sidebar .nav-link i {
  width: 1.15rem;
  text-align: center;
}

.olam-mobile-topbar {
  background: var(--olam-cinza-azulado);
  color: #fff;
  min-height: 4.25rem;
}

.olam-mobile-logo {
  width: 10.75rem;
  height: auto;
}

.olam-mobile-actions,
.olam-shell-actions,
.olam-guest-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.olam-mobile-actions .btn,
.olam-guest-actions .btn,
.olam-shell-actions .btn[data-olam-theme-toggle] {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
}

.olam-shell-actions .btn[data-olam-install] {
  flex: 1 1 auto;
}

.olam-guest-actions {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

.olam-page {
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.olam-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.olam-eyebrow {
  color: var(--olam-text-muted);
  font-weight: 600;
  margin: 0;
}

.olam-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(212, 175, 55, 0.18);
  color: var(--olam-quase-preto);
  font-weight: 700;
}

.olam-status-pill.inactive {
  background: rgba(77, 90, 111, 0.12);
  color: var(--olam-cinza-azulado);
}

.olam-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(140deg, rgba(28, 32, 38, 0.72), rgba(77, 90, 111, 0.48), rgba(159, 0, 67, 0.34)),
    url('/images/fundologin.png') center / cover no-repeat,
    var(--bs-body-bg);
}

.olam-login-card {
  width: min(100%, 27rem);
  background: color-mix(in srgb, var(--olam-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1.25rem 3rem rgba(28, 32, 38, 0.28);
}

.olam-login-logo {
  width: min(100%, 19rem);
  height: auto;
  margin: 0 auto 1.5rem;
}
+
/* Login moderno e distinção entre os acessos */
.olam-login-page {
  padding: clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(140deg, rgba(24, 29, 37, 0.74), rgba(77, 90, 111, 0.42), rgba(159, 0, 67, 0.3)),
    url('/images/fundologin.png') center / cover no-repeat,
    var(--bs-body-bg);
}

.olam-login-card {
  --login-accent: var(--olam-borgonha);
  position: relative;
  overflow: hidden;
  width: min(100%, 31rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--login-accent) 9%, transparent), transparent 34%),
    color-mix(in srgb, var(--olam-surface) 94%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 1.5rem 4.5rem rgba(15, 23, 42, 0.32);
}

.olam-login-card--client { --login-accent: #2f6fed; }

.olam-login-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--login-accent), color-mix(in srgb, var(--login-accent) 38%, var(--olam-dourado)));
  content: "";
}

.olam-login-card .card-body { position: relative; z-index: 1; }

.olam-login-brand {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.olam-login-logo {
  width: min(100%, 16.5rem);
  height: auto;
  margin: 0;
}

.olam-login-access-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid color-mix(in srgb, var(--login-accent) 16%, transparent);
  border-radius: 999px;
  color: var(--login-accent);
  background: color-mix(in srgb, var(--login-accent) 8%, var(--olam-surface));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.olam-login-heading { margin-bottom: 1.45rem; }
.olam-login-heading h1 {
  margin-bottom: 0.38rem;
  color: var(--bs-body-color);
  font-size: clamp(1.75rem, 5vw, 2.15rem);
}
.olam-login-heading p {
  max-width: 23rem;
  margin: 0 auto;
  color: var(--olam-text-muted);
  font-size: 0.9rem;
}

.olam-login-form .form-label {
  margin-bottom: 0.42rem;
  color: var(--bs-body-color);
  font-size: 0.82rem;
}
.olam-login-field { position: relative; }
.olam-login-field > i {
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 3;
  color: var(--olam-text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.olam-login-field .form-control {
  min-height: 3.15rem;
  padding-inline: 2.75rem;
  border-color: color-mix(in srgb, var(--olam-cinza-azulado) 18%, transparent);
  border-radius: 0.8rem;
  background: color-mix(in srgb, var(--olam-surface) 88%, var(--bs-body-bg));
  box-shadow: 0 2px 8px rgba(42, 53, 72, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.olam-login-field .form-control:focus {
  border-color: color-mix(in srgb, var(--login-accent) 72%, transparent);
  background: var(--olam-surface);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--login-accent) 12%, transparent);
}
.olam-login-field .form-control:focus-visible { outline: 0; }
.olam-login-field .form-control.is-invalid { border-color: var(--bs-danger); }
.olam-login-form .invalid-feedback { display: block; }

.olam-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  z-index: 4;
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0.6rem;
  color: var(--olam-text-muted);
  background: transparent;
  transform: translateY(-50%);
}
.olam-password-toggle:hover,
.olam-password-toggle:focus-visible {
  color: var(--login-accent);
  background: color-mix(in srgb, var(--login-accent) 8%, transparent);
  outline: 0;
}

.olam-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.2rem 0 1.25rem;
  font-size: 0.82rem;
}
.olam-login-options .form-check { margin: 0; }
.olam-login-options a {
  color: var(--login-accent);
  font-weight: 700;
  text-decoration: none;
}
.olam-login-options a:hover { text-decoration: underline; }

.olam-login-submit {
  min-height: 3.05rem;
  border: 0;
  border-radius: 0.78rem;
  background: linear-gradient(135deg, var(--login-accent), color-mix(in srgb, var(--login-accent) 82%, #111827));
  box-shadow: 0 0.7rem 1.4rem color-mix(in srgb, var(--login-accent) 22%, transparent);
  font-weight: 800;
}
.olam-login-submit:hover,
.olam-login-submit:focus-visible {
  background: linear-gradient(135deg, color-mix(in srgb, var(--login-accent) 88%, #fff), var(--login-accent));
  transform: translateY(-1px);
}

.olam-login-switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--olam-cinza-azulado) 12%, transparent);
  border-radius: 0.85rem;
  color: var(--bs-body-color);
  background: color-mix(in srgb, var(--bs-body-bg) 52%, var(--olam-surface));
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.olam-login-switch:hover {
  border-color: color-mix(in srgb, var(--login-accent) 35%, transparent);
  color: var(--bs-body-color);
  box-shadow: 0 0.45rem 1.2rem rgba(42, 53, 72, 0.07);
  transform: translateY(-1px);
}
.olam-login-switch > span:first-child {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.7rem;
  color: var(--login-accent);
  background: color-mix(in srgb, var(--login-accent) 9%, var(--olam-surface));
}
.olam-login-switch small,
.olam-login-switch strong { display: block; }
.olam-login-switch small {
  margin-bottom: 0.1rem;
  color: var(--olam-text-muted);
  font-size: 0.69rem;
}
.olam-login-switch strong { font-size: 0.8rem; }
.olam-login-switch > i { color: var(--login-accent); }

.olam-login-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  color: var(--olam-text-muted);
  font-size: 0.7rem;
}

.olam-guest-actions {
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.8rem;
  background: rgba(20, 27, 38, 0.28);
  backdrop-filter: blur(12px);
}
.olam-guest-actions .btn {
  border: 0;
  color: rgba(255, 255, 255, 0.82);
}
.olam-guest-actions .btn:hover,
.olam-guest-actions .btn:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 575.98px) {
  .olam-login-page {
    align-items: start;
    padding: 4.5rem 0.85rem 1rem;
  }
  .olam-login-card { border-radius: 1.15rem; }
  .olam-login-card .card-body { padding: 1.5rem !important; }
  .olam-login-logo { width: min(100%, 14rem); }
  .olam-login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
}


.olam-metric {
  min-height: 9rem;
}

.olam-metric-value {
  display: block;
  font-family: var(--olam-font-titulo);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.olam-avatar {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--olam-borgonha);
  color: #fff;
  font-weight: 800;
}

.olam-placeholder-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(159, 0, 67, 0.1);
  color: var(--olam-borgonha);
  font-size: 1.4rem;
}

.olam-action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.olam-soft-alert {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: var(--olam-radius);
}

.olam-library-note {
  display: flex;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(159, 0, 67, 0.18);
  border-radius: var(--olam-radius-lg);
  background: rgba(159, 0, 67, 0.045);
  color: var(--olam-quase-preto);
  box-shadow: var(--olam-shadow);
}

.olam-library-note i {
  color: var(--olam-borgonha);
  font-size: 1.15rem;
  line-height: 1.5;
}

.olam-library-stats,
.olam-stage-filter,
.olam-form-switches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.olam-library-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  background: var(--olam-surface);
  color: var(--olam-text-muted);
  box-shadow: var(--olam-shadow);
}

.olam-library-stats strong {
  color: var(--olam-borgonha);
}

.olam-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: var(--olam-surface);
  color: var(--olam-quase-preto);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(44, 44, 44, 0.04);
}

.olam-filter-chip:hover,
.olam-filter-chip.active {
  border-color: var(--olam-borgonha);
  background: var(--olam-borgonha);
  color: #fff;
}

.olam-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.olam-library-group {
  min-width: 0;
  padding: 1.45rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-library-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.olam-product-icon {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 12%, transparent);
  color: var(--produto-cor, var(--olam-borgonha));
}

.olam-template-list {
  display: grid;
  gap: 0.95rem;
}

.olam-template-card {
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-left: 4px solid var(--produto-cor, var(--olam-borgonha));
  border-radius: var(--olam-radius);
  background: #f9fafb;
}

.olam-template-card.inactive {
  opacity: 0.68;
}

.olam-template-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.olam-template-summary {
  color: var(--olam-text-muted);
  font-size: 0.95rem;
}

.olam-template-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.olam-product-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  background: var(--olam-borgonha);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.olam-template-rich-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--bs-border-color);
}

.olam-template-rich-fields div {
  min-width: 0;
}

.olam-template-rich-fields dt {
  color: var(--olam-borgonha);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.olam-template-rich-fields dd {
  margin: 0.2rem 0 0;
  color: var(--olam-quase-preto);
  font-size: 0.9rem;
  line-height: 1.45;
}

.olam-empty-state {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 2rem;
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  text-align: center;
}

.olam-empty-state i {
  color: var(--olam-borgonha);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.olam-modal .modal-content {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  box-shadow: var(--olam-shadow-hover);
}

.olam-product-toggle-grid {
  display: grid;
  gap: 0.85rem;
}

.olam-product-toggle {
  display: block;
  cursor: pointer;
}

.olam-product-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.olam-product-toggle-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.8rem;
  padding: 0.95rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius);
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.olam-product-toggle input:checked + .olam-product-toggle-body {
  border-color: var(--produto-cor, var(--olam-borgonha));
  background: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 8%, #fff);
  box-shadow: var(--olam-shadow);
}

.olam-product-toggle-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 14%, transparent);
  color: var(--produto-cor, var(--olam-borgonha));
  font-size: 1.15rem;
}

.olam-product-toggle small {
  display: block;
  color: var(--olam-text-muted);
}

.olam-product-toggle.disabled {
  cursor: not-allowed;
}

.olam-product-toggle.disabled .olam-product-toggle-body {
  opacity: 0.5;
}

.olam-product-toggle-custom {
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
}

.olam-product-toggle-custom .olam-product-toggle-body {
  border-style: dashed;
  border-color: var(--olam-cinza-azulado);
}

.olam-product-toggle-custom.active .olam-product-toggle-body {
  border-style: solid;
  border-color: var(--olam-dourado, #d4af37);
  background: color-mix(in srgb, var(--olam-dourado, #d4af37) 10%, #fff);
  box-shadow: var(--olam-shadow);
}

.olam-product-toggle-custom .olam-product-toggle-icon {
  background: color-mix(in srgb, var(--olam-cinza-azulado) 14%, transparent);
  color: var(--olam-cinza-azulado);
}

.olam-product-toggle-custom.active .olam-product-toggle-icon {
  background: color-mix(in srgb, var(--olam-dourado, #d4af37) 18%, transparent);
  color: var(--olam-dourado, #d4af37);
}

.olam-cycle-preview {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
}

.olam-cycle-preview-step {
  min-height: 8.5rem;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius);
  background: #f9fafb;
}

.olam-cycle-preview-step.current {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.14);
}

.olam-cycle-step-icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 0.65rem;
  background: rgba(159, 0, 67, 0.1);
  color: var(--olam-borgonha);
  font-size: 1.05rem;
}

.olam-project-products {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.olam-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 9%, #fff);
  color: var(--olam-quase-preto);
  font-weight: 700;
}

.olam-product-chip i {
  color: var(--produto-cor, var(--olam-borgonha));
}

.olam-setup-stage-list {
  display: grid;
  gap: 1.25rem;
}

.olam-setup-stage {
  padding: 1.25rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-setup-stage.current {
  border-color: rgba(212, 175, 55, 0.55);
}

.olam-setup-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.olam-project-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.olam-project-task {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-left: 4px solid var(--produto-cor, var(--olam-cinza-azulado));
  border-radius: var(--olam-radius);
  background: #f9fafb;
}

.olam-project-task.inactive {
  opacity: 0.66;
}

.olam-project-task-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.olam-board-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.olam-board-toolbar .form-select {
  width: min(28rem, 100%);
}

.olam-board-stage-list {
  display: grid;
  gap: 1rem;
}

.olam-cycle-lane {
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-cycle-lane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  padding: 1rem 1.15rem;
}

.olam-cycle-lane.completed .olam-cycle-lane-header {
  background: var(--olam-borgonha);
  color: #fff;
}

.olam-cycle-lane.current .olam-cycle-lane-header {
  background: var(--olam-dourado);
  color: var(--olam-quase-preto);
}

.olam-cycle-lane.future .olam-cycle-lane-header {
  background: var(--olam-surface);
  color: var(--olam-cinza-azulado);
}

.olam-lane-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  color: currentColor;
  font-size: 1.2rem;
}

.olam-cycle-lane.future .olam-lane-icon {
  background: #eef1f5;
}

.olam-lane-summary {
  flex: 0 0 auto;
  font-weight: 800;
}

.olam-kanban-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.15rem;
}

.olam-kanban-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.olam-kanban-grid-preview {
  padding: 0;
}

.olam-kanban-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.olam-kanban-column h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.62rem 0.9rem;
  border-radius: 12px;
  background: var(--col-accent, #4d5a6f);
  color: #fff;
  font-family: var(--olam-font-corpo);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--col-accent, #4d5a6f) 30%, transparent);
}

.olam-kanban-column h3 .bi {
  font-size: 1rem;
}

.olam-kanban-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.olam-board-tabs {
  gap: 0.4rem;
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 0.9rem;
}

.olam-board-tabs .nav-link {
  color: var(--olam-cinza-azulado);
  font-family: var(--olam-font-corpo);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.5rem 1.15rem;
}

.olam-board-tabs .nav-link.active {
  background: var(--olam-borgonha);
  color: #fff;
}

.olam-comment-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--produto-cor, #4d5a6f) 14%, transparent);
  color: var(--produto-cor, #4d5a6f);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---- Card do Kanban: cabeçalho, badges, meta e ícones ---- */
.olam-cycle-task-card--done {
  border-color: #1f9d55;
  border-left-color: #1f9d55 !important;
  box-shadow: 0 0 0 1px rgba(31, 157, 85, 0.25);
}

.olam-task-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.olam-task-card-head .olam-task-title {
  flex: 1 1 auto;
  min-width: 0;
}

.olam-task-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.olam-task-meta-left,
.olam-task-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.olam-task-meta-left {
  flex-wrap: wrap;
}

.olam-approval-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

.olam-approval-icon.pendente {
  color: #a87800;
}

.olam-approval-icon.pendente::after {
  content: none;
}

.olam-approval-icon.ajustes {
  color: #dc3545;
}

.olam-approval-icon.aprovado {
  color: #1f9d55;
}

.olam-task-signals {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding-top: 0.08rem;
}

.olam-comment-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: var(--olam-borgonha);
  background: transparent;
  box-shadow: none;
  font-size: 1.05rem;
  line-height: 1;
}

.olam-comment-indicator.has-comments {
  color: var(--olam-text-muted, #7a8291);
  opacity: 0.78;
}

.olam-comment-indicator.unread {
  color: var(--olam-borgonha);
}

.olam-comment-indicator-label {
  color: var(--olam-borgonha);
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.olam-comment-indicator strong {
  position: absolute;
  top: -0.56rem;
  right: -0.48rem;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dc3545;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.olam-comment-indicator.has-comments strong {
  color: var(--olam-text-muted, #7a8291);
}

[data-bs-theme="dark"] .olam-approval-icon.pendente {
  color: #f0ce64;
}

[data-bs-theme="dark"] .olam-approval-icon.ajustes {
  color: #ff7a86;
}

[data-bs-theme="dark"] .olam-approval-icon.aprovado {
  color: #62d995;
}

.olam-board-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.olam-board-filters .form-select {
  width: auto;
  min-width: 11rem;
}

.olam-board-filters-search {
  position: relative;
  flex: 1 1 16rem;
  min-width: 12rem;
}

.olam-board-filters-search .bi {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--olam-text-muted, #7a8291);
  pointer-events: none;
}

.olam-board-filters-search .form-control {
  padding-left: 2.4rem;
}

.olam-attachment-group {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.7rem;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.olam-attachment-group .olam-attachment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  color: var(--olam-quase-preto);
}

.olam-attachment-thumb {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.5rem;
  background: var(--bs-tertiary-bg, #f4f6f9);
  overflow: hidden;
  font-size: 1.3rem;
  color: var(--olam-borgonha);
}

.olam-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.olam-attachment-info {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

.olam-attachment-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.olam-attachment-history {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px dashed var(--bs-border-color);
  background: var(--bs-tertiary-bg, #f7f8fa);
}

.olam-attachment-old {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  text-decoration: none;
  color: var(--olam-quase-preto);
  font-size: 0.8rem;
}

.olam-checklist {
  display: grid;
  gap: 0.35rem;
}

.olam-checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.6rem;
  background: var(--bs-tertiary-bg, #f7f8fa);
}

.olam-checklist-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(31, 157, 85, 0.12);
  color: #1f9d55;
  font-size: 0.75rem;
  font-weight: 700;
}

.olam-kanban-list {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 5rem;
}

.olam-cycle-task-card {
  display: grid;
  gap: 0.8rem;
  min-height: 6rem;
  padding: 0.95rem;
  border: 1px solid var(--bs-border-color);
  border-left: 4px solid var(--produto-cor, var(--olam-borgonha));
  border-radius: var(--olam-radius);
  background: #fff;
  color: var(--olam-quase-preto);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(44, 44, 44, 0.04);
  cursor: grab;
}

.olam-cycle-task-card:hover {
  color: var(--olam-quase-preto);
  box-shadow: var(--olam-shadow);
  transform: translateY(-1px);
}

.olam-task-title {
  font-weight: 800;
  line-height: 1.3;
}

.olam-task-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.olam-task-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--olam-cinza-azulado);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  overflow: hidden;
}

.olam-task-avatar.large {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1rem;
}

.olam-task-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.olam-kanban-empty {
  display: grid;
  place-items: center;
  min-height: 5rem;
  padding: 0.75rem;
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--olam-radius);
  color: var(--olam-text-muted);
  text-align: center;
}

.olam-task-ghost {
  opacity: 0.45;
}

.olam-mobile-status-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.9rem 1rem 0;
}

.olam-mobile-status-tabs button {
  flex: 0 0 auto;
  min-height: 2.25rem;
  border: 1px solid rgba(44, 44, 44, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--olam-quase-preto);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
}

.olam-mobile-status-tabs button.active {
  border-color: var(--olam-borgonha);
  background: var(--olam-borgonha);
  color: #fff;
}

.olam-task-detail-panel,
.olam-task-side-panel {
  padding: 1.25rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-rich-field {
  min-height: 5.2rem;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius);
  background: #f9fafb;
}

.olam-rich-field + .olam-rich-field {
  margin-top: 0.85rem;
}

.olam-rich-field span {
  display: block;
  color: var(--olam-cinza-azulado);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.olam-rich-field p {
  margin: 0;
  line-height: 1.6;
}

.olam-attachment-list,
.olam-comment-list,
.olam-log-list {
  display: grid;
  gap: 0.65rem;
}

.olam-attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: #f9fafb;
  color: var(--olam-quase-preto);
  text-decoration: none;
}

.olam-attachment-item span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.olam-attachment-item i {
  color: var(--olam-borgonha);
}

.olam-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.olam-comment {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.85rem;
  background: var(--olam-surface, #fff);
}

.olam-comment-body {
  min-width: 0;
  flex: 1 1 auto;
}

.olam-comment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.olam-comment-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.olam-comment-actions button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.4rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--olam-cinza-azulado);
  font-size: 0.78rem;
  font-weight: 700;
}

.olam-comment-actions button:hover {
  background: rgba(80, 96, 120, 0.09);
  color: var(--olam-quase-preto);
}

.olam-comment-actions button.danger:hover {
  background: rgba(220, 53, 69, 0.09);
  color: var(--bs-danger);
}

.olam-comment-content {
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.olam-comment-content > :last-child {
  margin-bottom: 0;
}

.olam-comment-content a {
  color: var(--olam-borgonha);
  font-weight: 650;
}

.olam-comment-edit-form {
  margin-top: 0.45rem;
}

.olam-atto-editor {
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--olam-surface, #fff);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.olam-atto-editor:focus-within {
  border-color: rgba(159, 0, 67, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(159, 0, 67, 0.1);
}

.olam-atto-editor.is-invalid {
  border-color: var(--bs-danger);
}

.olam-atto-toolbar {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-tertiary-bg, #f7f8fa);
}

.olam-atto-toolbar button {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--olam-cinza-azulado);
}

.olam-atto-toolbar button:hover,
.olam-atto-toolbar button:focus-visible {
  border-color: var(--bs-border-color);
  background: var(--olam-surface, #fff);
  color: var(--olam-borgonha);
}

.olam-atto-divider {
  width: 1px;
  height: 1.35rem;
  margin: 0 0.15rem;
  background: var(--bs-border-color);
}

.olam-atto-content {
  min-height: 6.5rem;
  max-height: 18rem;
  padding: 0.75rem 0.85rem;
  overflow-y: auto;
  outline: 0;
  line-height: 1.55;
}

.olam-atto-content:empty::before {
  content: attr(data-placeholder);
  color: var(--olam-text-muted);
  pointer-events: none;
}

.olam-atto-content p:last-child,
.olam-atto-content div:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .olam-comment-heading {
    display: block;
  }

  .olam-comment-actions {
    margin-bottom: 0.45rem;
  }

  .olam-comment-actions span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.olam-log-list article {
  padding-left: 0.75rem;
  border-left: 3px solid rgba(159, 0, 67, 0.22);
}

.olam-log-list span {
  display: block;
  color: var(--olam-text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

.olam-gantt-card,
.olam-report-panel,
.olam-report-metric {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-gantt-card {
  padding: 1rem;
}

.olam-gantt-scroll {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.olam-gantt-grid {
  display: grid;
  grid-template-columns: 14.5rem repeat(var(--week-count), minmax(6.5rem, 1fr));
  align-items: stretch;
}

.olam-gantt-corner,
.olam-gantt-month,
.olam-gantt-stage-head,
.olam-gantt-week,
.olam-gantt-stage-cell,
.olam-gantt-track {
  border-bottom: 1px solid var(--bs-border-color);
}

.olam-gantt-corner {
  border-right: 1px solid var(--bs-border-color);
}

.olam-gantt-month {
  min-height: 2.35rem;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(77, 90, 111, 0.18);
  color: var(--olam-quase-preto);
  font-family: var(--olam-font-titulo);
  font-weight: 800;
}

.olam-gantt-stage-head,
.olam-gantt-week {
  min-height: 2.35rem;
  display: grid;
  align-items: center;
  color: var(--olam-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.olam-gantt-stage-head {
  padding-left: 0.45rem;
  border-right: 1px solid var(--bs-border-color);
  letter-spacing: 0;
}

.olam-gantt-week {
  place-items: center;
  border-left: 1px dashed rgba(77, 90, 111, 0.16);
}

.olam-gantt-stage-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.5rem 0.75rem 0.5rem 0.45rem;
  border-right: 1px solid var(--bs-border-color);
  color: var(--olam-quase-preto);
  font-weight: 600;
}

.olam-gantt-stage-cell i {
  flex: 0 0 auto;
  color: var(--olam-cinza-azulado);
}

.olam-gantt-stage-cell span:last-child {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.olam-gantt-dot,
.olam-client-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
}

.olam-gantt-dot {
  background: var(--olam-borgonha);
}

.olam-gantt-track {
  position: relative;
  min-height: 3.25rem;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc((100% / var(--week-count)) - 1px),
    rgba(77, 90, 111, 0.14) calc((100% / var(--week-count)) - 1px),
    rgba(77, 90, 111, 0.14) calc(100% / var(--week-count))
  );
}

.olam-gantt-bar {
  position: absolute;
  left: var(--bar-left);
  width: max(0.75rem, var(--bar-width));
  border-radius: 999px;
}

.olam-gantt-bar.actual {
  top: 0.72rem;
  height: 1.1rem;
  background: var(--olam-borgonha);
}

.olam-gantt-bar.baseline {
  top: 1.95rem;
  height: 0.28rem;
  background: #aeb5c0;
}

.olam-gantt-bar.actual.critical {
  background: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.25);
}

.olam-gantt-stage-cell.critical span:last-child {
  color: #b42318;
  font-weight: 800;
}

.olam-gantt-critical-tag {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.12);
  color: #b42318 !important;
  font-size: 0.68rem;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.olam-gantt-legend i.actual.critical {
  height: 0.55rem;
  background: #b42318;
}

.olam-gantt-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 1rem 0.05rem 0;
  color: var(--olam-quase-preto);
  font-weight: 600;
}

.olam-gantt-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.olam-gantt-legend i {
  display: inline-block;
  width: 1.55rem;
  border-radius: 999px;
}

.olam-gantt-legend i.actual {
  height: 0.55rem;
  background: var(--olam-borgonha);
}

.olam-gantt-legend i.baseline {
  height: 0.28rem;
  background: #aeb5c0;
}

.olam-report-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.olam-report-actions .form-select {
  width: 14.5rem;
}

.olam-report-period-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.olam-report-period-filter label {
  position: relative;
}

.olam-report-period-filter label > span {
  color: var(--olam-text-muted);
  font-size: 0.62rem;
  font-weight: 800;
  left: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1;
  position: absolute;
  text-transform: uppercase;
  top: 0.42rem;
  z-index: 1;
}

.olam-report-period-filter .form-select {
  min-width: 11rem;
  padding-bottom: 0.35rem;
  padding-top: 1.08rem;
  width: 100%;
}

.olam-report-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.olam-report-metric {
  min-height: 9rem;
  padding: 1.45rem;
}

.olam-report-metric p {
  color: var(--olam-text-muted);
  font-weight: 800;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
}

.olam-report-metric strong {
  color: var(--olam-quase-preto);
  font-family: var(--olam-font-titulo);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.olam-report-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.olam-report-panel {
  padding: 1.45rem;
}

.olam-report-chart-wrap {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(10rem, 1fr);
  align-items: center;
  gap: 1rem;
}

.olam-report-chart {
  min-height: 16.25rem;
}

.olam-report-chart.effort {
  min-height: 17rem;
}

.olam-report-legend {
  display: grid;
  gap: 0.65rem;
  color: var(--olam-quase-preto);
  font-weight: 600;
}

.olam-report-legend span,
.olam-report-table td:nth-child(2) {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.olam-report-legend i {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
}

.olam-report-table {
  border-color: var(--bs-border-color);
}

.olam-report-table thead th {
  background: var(--olam-cinza-azulado);
  color: #fff;
  font-weight: 800;
  border: 0;
}

.olam-report-table tbody td {
  padding: 0.9rem 0.75rem;
}

.olam-on-time {
  color: #1f8a4c;
  font-weight: 800;
}

.olam-on-time.attention {
  color: #b87503;
}

.olam-client-form-panel,
.olam-client-table-panel,
.olam-team-form-panel,
.olam-team-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-client-form-panel,
.olam-team-form-panel {
  padding: 1.45rem;
}

.olam-client-table-panel {
  padding: 1rem;
}

.olam-client-table thead th {
  background: var(--olam-cinza-azulado);
  color: #fff;
  font-weight: 800;
  border: 0;
}

.olam-client-table tbody td {
  padding: 0.85rem 0.75rem;
}

.olam-client-table tr.inactive {
  opacity: 0.62;
}

.olam-client-color-dot {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
}

.olam-client-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  background: rgba(31, 138, 76, 0.12);
  color: #1f8a4c;
  font-weight: 800;
  font-size: 0.82rem;
}

.olam-client-status.inactive {
  background: rgba(77, 90, 111, 0.12);
  color: var(--olam-cinza-azulado);
}

.olam-icon-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.olam-icon-actions .btn {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--olam-cinza-azulado);
  text-decoration: none;
}

.olam-icon-actions .btn:hover {
  color: var(--olam-borgonha);
}

.olam-icon-actions .btn.danger {
  color: var(--olam-borgonha);
}

.olam-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.olam-team-card {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  min-height: 16rem;
  padding: 1.9rem 1.25rem;
  color: var(--olam-quase-preto);
  text-align: center;
}

.olam-team-card:hover {
  border-color: rgba(159, 0, 67, 0.3);
  box-shadow: var(--olam-shadow-hover);
}

.olam-team-photo,
.olam-photo-preview {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
}

.olam-team-photo {
  width: 6.25rem;
  height: 6.25rem;
  background: var(--olam-cinza-azulado);
  color: #fff;
  font-family: var(--olam-font-titulo);
  font-size: 2.25rem;
  font-weight: 800;
}

.olam-team-card:nth-child(3n + 1) .olam-team-photo {
  background: var(--olam-borgonha);
}

.olam-team-card:nth-child(3n) .olam-team-photo {
  background: var(--olam-dourado);
  color: var(--olam-quase-preto);
}

.olam-team-photo.inactive {
  filter: grayscale(1);
  opacity: 0.7;
}

.olam-team-photo img,
.olam-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.olam-team-card strong {
  font-family: var(--olam-font-titulo);
  font-size: 1.35rem;
}

.olam-team-role {
  min-height: 2.8rem;
  color: var(--olam-text-muted);
  font-size: 1rem;
}

.olam-team-stats {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
  color: var(--olam-text-muted);
}

.olam-team-stats span {
  display: grid;
  gap: 0.15rem;
}

.olam-team-stats strong {
  font-family: var(--olam-font-corpo);
  font-size: 1rem;
}

.olam-photo-uploader {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: var(--olam-text-muted);
  text-align: center;
}

.olam-photo-preview {
  width: 10.5rem;
  height: 10.5rem;
  border: 2px dashed #cbd1da;
  background: #fff;
  color: var(--olam-cinza-azulado);
  font-size: 2.5rem;
}

.olam-project-access-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.olam-project-access-list button {
  min-height: 2rem;
  border: 1px solid rgba(77, 90, 111, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--olam-quase-preto);
  font-weight: 700;
  padding: 0.25rem 0.8rem;
}

.olam-project-access-list button.active {
  border-color: var(--cliente-cor, var(--olam-borgonha));
  background: var(--cliente-cor, var(--olam-borgonha));
  color: #fff;
}

.olam-template-builder-panel,
.olam-template-launch-panel,
.olam-template-project-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-template-builder-panel,
.olam-template-launch-panel,
.olam-template-project-card {
  padding: 1.45rem;
}

.olam-template-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.olam-template-project-card {
  display: grid;
  gap: 1.1rem;
}

.olam-template-project-card.inactive {
  opacity: 0.66;
}

.olam-template-products {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.olam-template-products span,
.olam-template-products strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-weight: 800;
}

.olam-template-products span {
  border: 1px solid color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 34%, transparent);
  background: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha)) 9%, #fff);
  color: var(--olam-quase-preto);
}

.olam-template-products span i {
  color: var(--produto-cor, var(--olam-borgonha));
}

.olam-template-products strong {
  background: rgba(77, 90, 111, 0.1);
  color: var(--olam-cinza-azulado);
}

.olam-template-card-stats {
  display: flex;
  gap: 1rem;
  color: var(--olam-text-muted);
  font-weight: 700;
}

.olam-template-card-stats strong {
  color: var(--olam-borgonha);
}

.olam-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.5rem;
}

.olam-security-panel {
  min-width: 0;
  padding: 1.45rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--olam-radius-lg);
  background: var(--olam-surface);
  box-shadow: var(--olam-shadow);
}

.olam-security-symbol {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.75rem;
  background: rgba(159, 0, 67, 0.1);
  color: var(--olam-borgonha);
  font-size: 1.35rem;
}

.olam-security-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.olam-code-input,
.olam-recovery-grid code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
}

.olam-recovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.olam-recovery-grid code {
  display: block;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: #f9fafb;
  color: var(--olam-quase-preto);
  font-weight: 800;
  text-align: center;
}

.olam-empty-state.compact {
  min-height: 10rem;
}

[data-bs-theme="dark"] .olam-login-page {
  background:
    linear-gradient(140deg, rgba(10, 13, 18, 0.82), rgba(33, 38, 46, 0.66), rgba(159, 0, 67, 0.3)),
    url('/images/fundologin.png') center / cover no-repeat,
    var(--bs-body-bg);
}

[data-bs-theme="dark"] .olam-status-pill {
  color: #f4f1e1;
}

[data-bs-theme="dark"] .olam-status-pill.inactive {
  color: var(--olam-text-muted);
}

[data-bs-theme="dark"] .olam-library-note,
[data-bs-theme="dark"] .olam-template-card,
[data-bs-theme="dark"] .olam-product-toggle-body,
[data-bs-theme="dark"] .olam-cycle-preview-step,
[data-bs-theme="dark"] .olam-project-task,
[data-bs-theme="dark"] .olam-cycle-task-card,
[data-bs-theme="dark"] .olam-rich-field,
[data-bs-theme="dark"] .olam-attachment-item,
[data-bs-theme="dark"] .olam-mobile-status-tabs button,
[data-bs-theme="dark"] .olam-photo-preview,
[data-bs-theme="dark"] .olam-project-access-list button,
[data-bs-theme="dark"] .olam-template-products span,
[data-bs-theme="dark"] .olam-recovery-grid code {
  background: #20252d;
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .olam-product-toggle input:checked + .olam-product-toggle-body,
[data-bs-theme="dark"] .olam-product-chip,
[data-bs-theme="dark"] .olam-template-products span {
  background: color-mix(in srgb, var(--produto-cor, var(--olam-borgonha-claro)) 16%, #20252d);
}

[data-bs-theme="dark"] .olam-cycle-lane.future .olam-lane-icon,
[data-bs-theme="dark"] .olam-template-products strong,
[data-bs-theme="dark"] .olam-client-status.inactive {
  background: rgba(154, 163, 176, 0.12);
}

[data-bs-theme="dark"] .olam-template-rich-fields dd,
[data-bs-theme="dark"] .olam-filter-chip,
[data-bs-theme="dark"] .olam-library-stats span,
[data-bs-theme="dark"] .olam-gantt-month,
[data-bs-theme="dark"] .olam-gantt-stage-cell,
[data-bs-theme="dark"] .olam-gantt-legend,
[data-bs-theme="dark"] .olam-report-legend,
[data-bs-theme="dark"] .olam-report-metric strong,
[data-bs-theme="dark"] .olam-team-card,
[data-bs-theme="dark"] .olam-product-chip,
[data-bs-theme="dark"] .olam-template-products span,
[data-bs-theme="dark"] .olam-template-card-stats strong {
  color: var(--bs-body-color);
}

@media (max-width: 991.98px) {
  .olam-page-header {
    flex-direction: column;
  }

  .olam-page {
    padding-top: 1.5rem;
  }

  .olam-action-button,
  .olam-library-grid {
    width: 100%;
  }

  .olam-library-grid {
    grid-template-columns: 1fr;
  }

  .olam-stage-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .olam-filter-chip {
    flex: 0 0 auto;
  }

  .olam-template-card-main,
  .olam-template-actions {
    align-items: stretch;
  }

  .olam-template-card-main {
    flex-direction: column;
  }

  .olam-template-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .olam-template-rich-fields {
    grid-template-columns: 1fr;
  }

  .olam-cycle-preview,
  .olam-project-task-grid {
    grid-template-columns: 1fr;
  }

  .olam-setup-stage-header,
  .olam-project-task-main {
    align-items: stretch;
    flex-direction: column;
  }

  .olam-board-toolbar,
  .olam-cycle-lane-header {
    align-items: stretch;
    flex-direction: column;
  }

  .olam-board-toolbar,
  .olam-board-toolbar .form-select {
    width: 100%;
  }

  .olam-kanban-grid {
    grid-template-columns: 1fr;
  }

  .olam-kanban-column {
    display: none;
  }

  .olam-kanban-column.active-mobile {
    display: flex;
  }

  .olam-upload-row {
    grid-template-columns: 1fr;
  }

  .olam-report-actions,
  .olam-report-actions .form-select {
    width: 100%;
  }

  .olam-report-period-filter {
    width: 100%;
  }

  .olam-report-metrics,
  .olam-report-chart-grid,
  .olam-report-chart-wrap,
  .olam-security-grid {
    grid-template-columns: 1fr;
  }

  .olam-report-actions .olam-action-button {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }

  .olam-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .olam-team-grid {
    grid-template-columns: 1fr;
  }

  .olam-client-form-panel,
  .olam-client-table-panel,
  .olam-team-form-panel {
    padding: 1rem;
  }

  .olam-template-page-grid {
    grid-template-columns: 1fr;
  }

  .olam-template-builder-panel,
  .olam-template-launch-panel,
  .olam-template-project-card {
    padding: 1rem;
  }
}

.olam-execution-report .olam-report-panel-heading {
  justify-content: space-between;
}

.olam-execution-report .olam-report-panel-heading > div {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.olam-execution-report .olam-report-panel-icon {
  background: #4d5a6f;
  border-radius: 0.85rem;
  color: #fff;
  display: inline-grid;
  flex: 0 0 2.55rem;
  height: 2.55rem;
  place-items: center;
  width: 2.55rem;
}

.olam-execution-report .olam-report-panel-icon.burgundy { background: #9f0043; }
.olam-execution-report .olam-report-panel-icon.blue { background: #2f6fed; }
.olam-execution-report .olam-report-panel-icon.gold { background: #d4af37; }
.olam-execution-report .olam-report-panel-icon.green { background: #1f9d55; }

.olam-execution-report .olam-report-panel-heading > .olam-status-pill {
  background: rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  color: var(--olam-quase-preto);
  display: inline-flex;
  flex: 0 0 auto;
  height: auto;
  padding: 0.45rem 0.75rem;
  width: auto;
}

.olam-execution-report .olam-report-metric strong {
  font-size: clamp(1.55rem, 2.25vw, 2.1rem);
  white-space: nowrap;
}
