:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0d1118;
  --panel-soft: #121824;
  --text: #f6f7fb;
  --muted: #a4adbd;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #45b8ff;
  --brand-strong: #7cdbb4;
  --warning: #f2c879;
  --danger: #f07777;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(69, 184, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 82% 4%, rgba(124, 219, 180, 0.1), transparent 24rem),
    linear-gradient(180deg, #080b10 0%, #07090d 42%, #0a0d12 100%);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.desktop-nav,
.hero-actions,
.trust-row,
.form-row,
.window-bar,
.preview-topline,
.margin-flow,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(69, 184, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(69, 184, 255, 0.25), rgba(124, 219, 180, 0.18));
}

.desktop-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.ghost-link:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-actions {
  gap: 14px;
}

.ghost-link {
  color: var(--muted);
  font-size: 14px;
}

.button,
.trial-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(69, 184, 255, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #45b8ff, #63d6a5);
  color: #061018;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(69, 184, 255, 0.18);
  cursor: pointer;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.62fr);
  gap: 54px;
  align-items: center;
  max-width: 1260px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 76px 32px 68px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-text,
.section p,
.final-cta p,
.signup-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 24px;
}

.section-actions {
  margin: 26px 0 0;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.signup-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.signup-card h2 {
  font-size: 34px;
}

.trial-form {
  margin-top: 26px;
}

.trial-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.form-row {
  gap: 10px;
}

.trial-form input {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
}

.trial-form input::placeholder {
  color: var(--muted);
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--brand-strong);
  font-size: 13px;
  line-height: 1.5;
}

.platform-type {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.provision-flow {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.provision-flow li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--muted);
}

.provision-flow strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(69, 184, 255, 0.13);
  color: var(--brand);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 98px 32px;
}

.section-heading {
  max-width: 860px;
}

.document-capture {
  border-top: 1px solid var(--line);
}

.capture-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.capture-flow article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(124, 219, 180, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(124, 219, 180, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.capture-flow span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(124, 219, 180, 0.14);
  color: var(--brand-strong);
  font-weight: 800;
}

.capture-flow p {
  font-size: 15px;
}

.platforms {
  border-top: 1px solid var(--line);
}

.platform-grid,
.metric-grid,
.saas-grid {
  display: grid;
  gap: 16px;
}

.platform-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  margin-top: 38px;
}

.sync-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 219, 180, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(124, 219, 180, 0.12), rgba(69, 184, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.sync-banner strong {
  color: var(--text);
}

.sync-banner span {
  color: var(--muted);
  line-height: 1.55;
}

.resilience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.resilience-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(69, 184, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(69, 184, 255, 0.09), rgba(124, 219, 180, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.resilience-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 900;
}

.resilience-grid p {
  font-size: 15px;
}

.platform-card,
.metric-grid article,
.document-card,
.table-card,
.assistant-panel,
.module-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.platform-card {
  min-height: 250px;
  padding: 24px;
}

.platform-card.featured {
  background: linear-gradient(180deg, rgba(69, 184, 255, 0.14), rgba(255, 255, 255, 0.04));
  border-color: rgba(69, 184, 255, 0.28);
}

.platform-card.conversation-card {
  background: linear-gradient(180deg, rgba(124, 219, 180, 0.14), rgba(69, 184, 255, 0.05));
  border-color: rgba(124, 219, 180, 0.3);
}

.platform-card.api-card {
  background: linear-gradient(180deg, rgba(242, 200, 121, 0.12), rgba(255, 255, 255, 0.035));
  border-color: rgba(242, 200, 121, 0.28);
}

.platform-card p {
  min-height: 96px;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.platform-card strong {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(69, 184, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(69, 184, 255, 0.1);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  color: var(--brand-strong);
  font-weight: 800;
}

.integrations-section {
  border-top: 1px solid var(--line);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.integration-card {
  position: relative;
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.integration-logo img {
  display: block;
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65) contrast(0.92);
  opacity: 0.84;
  transition: filter 0.18s ease, opacity 0.18s ease;
}

.integration-card:hover .integration-logo img {
  filter: none;
  opacity: 1;
}

.integration-card strong,
.integration-card em {
  display: block;
}

.integration-card strong {
  margin-bottom: 7px;
  font-size: 16px;
}

.integration-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.integration-card.soon::after {
  content: "soon";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border: 1px solid rgba(242, 200, 121, 0.32);
  border-radius: 999px;
  color: var(--warning);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ml .integration-logo img,
.nube .integration-logo img {
  max-height: 28px;
}

.arca .integration-logo img {
  max-height: 30px;
  filter: grayscale(1) brightness(1.15) contrast(0.98);
}

.product-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 32px 70px;
}

.product-shell {
  overflow: hidden;
  min-height: 580px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.5);
}

.window-bar {
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e67575;
}

.window-bar span:nth-child(2) {
  background: #e8c774;
}

.window-bar span:nth-child(3) {
  background: #6bd39d;
  margin-right: 12px;
}

.app-preview {
  display: grid;
  grid-template-columns: 174px 1fr;
  min-height: 536px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid var(--line);
}

.preview-logo {
  margin-bottom: 18px;
  font-weight: 800;
}

.preview-sidebar span {
  padding: 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
}

.preview-sidebar .active {
  background: rgba(69, 184, 255, 0.14);
  color: var(--text);
}

.preview-main {
  padding: 22px;
}

.preview-topline {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-topline p,
.preview-topline strong {
  display: block;
  margin: 0;
}

.preview-topline p,
.metric-grid span,
.table-card span,
.document-card p {
  color: var(--muted);
  font-size: 13px;
}

.preview-topline strong {
  margin-top: 5px;
  font-size: 32px;
}

.preview-topline button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.metric-grid article {
  min-height: 116px;
  padding: 14px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.spark {
  height: 28px;
  margin-top: 16px;
  border-radius: 999px;
}

.spark-a {
  background: linear-gradient(90deg, #45b8ff 22%, rgba(69, 184, 255, 0.12) 22%);
}

.spark-b {
  background: linear-gradient(90deg, #f2c879 45%, rgba(242, 200, 121, 0.12) 45%);
}

.spark-c {
  background: linear-gradient(90deg, #7cdbb4 91%, rgba(124, 219, 180, 0.12) 91%);
}

.work-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.document-card,
.table-card {
  padding: 16px;
}

.status {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(124, 219, 180, 0.12);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.document-card strong {
  display: block;
  margin-bottom: 10px;
}

.table-card {
  display: grid;
  gap: 12px;
}

.table-card div {
  display: grid;
  grid-template-columns: 1fr 64px 64px;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.table-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.table-card em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 700;
}

.modules {
  border-top: 1px solid var(--line);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.module-list details {
  padding: 0;
}

.module-list summary {
  cursor: pointer;
  padding: 20px;
  color: var(--text);
  font-weight: 800;
}

.module-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
}

.module-list .module-highlight {
  border-color: rgba(124, 219, 180, 0.34);
  background:
    linear-gradient(180deg, rgba(124, 219, 180, 0.12), rgba(69, 184, 255, 0.05)),
    rgba(255, 255, 255, 0.045);
}

.module-list .module-highlight summary {
  color: var(--brand-strong);
}

.module-list .module-agent-highlight {
  border-color: rgba(69, 184, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(69, 184, 255, 0.13), rgba(124, 219, 180, 0.055)),
    rgba(255, 255, 255, 0.045);
}

.module-list .module-agent-highlight summary {
  color: var(--brand);
}

.module-list .module-bi-highlight {
  border-color: rgba(242, 200, 121, 0.34);
  background:
    linear-gradient(180deg, rgba(242, 200, 121, 0.12), rgba(69, 184, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
}

.module-list .module-bi-highlight summary {
  color: var(--warning);
}

.module-list .module-config-highlight {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(69, 184, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
}

.module-list .module-config-highlight summary {
  color: var(--text);
}

.api-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.api-panel {
  min-width: 0;
  max-width: 100%;
  padding: 22px;
  border: 1px solid rgba(242, 200, 121, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(242, 200, 121, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.api-node {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  padding: 0 16px;
  border: 1px solid rgba(242, 200, 121, 0.32);
  border-radius: var(--radius);
  background: rgba(242, 200, 121, 0.11);
  color: var(--text);
  font-weight: 800;
}

.api-connectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
  gap: 10px;
  margin: 18px 0;
}

.api-connectors span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.api-panel pre {
  max-width: 100%;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  color: var(--brand-strong);
  font-size: 13px;
  line-height: 1.7;
}

.bi-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.bi-copy {
  max-width: 520px;
}

.bi-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.bi-points span {
  padding: 9px 11px;
  border: 1px solid rgba(69, 184, 255, 0.26);
  border-radius: 999px;
  background: rgba(69, 184, 255, 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.bi-visual {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(69, 184, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.bi-toolbar,
.bi-kpis,
.bi-table div {
  display: grid;
}

.bi-toolbar {
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.bi-toolbar span,
.bi-kpis span,
.bi-table span {
  color: var(--muted);
  font-size: 13px;
}

.bi-kpis {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.bi-kpis article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.bi-kpis strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 24px;
}

.bi-kpis em,
.bi-table em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 800;
}

.bi-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 190px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.bi-chart span {
  flex: 1;
  min-width: 22px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #7cdbb4, #45b8ff);
}

.bi-table {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.bi-table div {
  grid-template-columns: 1fr 90px 70px;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bi-table div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.assistant-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.message {
  max-width: 82%;
  padding: 14px;
  border-radius: var(--radius);
  line-height: 1.5;
}

.user-message {
  justify-self: end;
  background: rgba(69, 184, 255, 0.16);
}

.ai-message {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-actions span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-size: 13px;
}

.report-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.margin-flow {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.margin-flow span {
  padding: 12px 14px;
  border: 1px solid rgba(69, 184, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(69, 184, 255, 0.07);
  color: var(--text);
  font-weight: 700;
}

.services-section {
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.services-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.services-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--warning);
  font-weight: 900;
}

.services-grid p {
  font-size: 15px;
}

.final-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 32px;
  text-align: center;
}

.final-cta .button {
  margin-top: 12px;
}

.site-footer {
  justify-content: space-between;
  min-height: 82px;
  padding: 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.accounting-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.78fr);
}

.accounting-console,
.profit-panel,
.dr-visual {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(69, 184, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.accounting-console {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  padding: 22px;
}

.console-toolbar,
.ledger-total,
.console-tags,
.accounting-arrow,
.mini-row,
.profit-kpis,
.trace-grid,
.dimension-board,
.centers-layout {
  display: grid;
}

.console-toolbar {
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: center;
}

.console-toolbar em,
.ledger-total em,
.mini-row span,
.dimension-board span,
.center-tree span,
.center-matrix span,
.profit-table span,
.profit-kpis span,
.dr-ledger span {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.console-toolbar em {
  grid-column: 2;
}

.ledger-total {
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(124, 219, 180, 0.22);
  border-radius: var(--radius);
  background: rgba(124, 219, 180, 0.08);
}

.ledger-total strong {
  font-size: 38px;
}

.ledger-lines,
.profit-table,
.dr-ledger,
.center-matrix {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.ledger-lines div,
.profit-table div,
.dr-ledger div,
.center-matrix div {
  display: grid;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ledger-lines div {
  grid-template-columns: minmax(0, 1fr) 96px 96px;
}

.profit-table div {
  grid-template-columns: minmax(0, 1fr) 88px 82px 70px;
}

.dr-ledger div,
.center-matrix div {
  grid-template-columns: minmax(0, 1fr) 92px 92px 72px;
}

.ledger-lines div:last-child,
.profit-table div:last-child,
.dr-ledger div:last-child,
.center-matrix div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ledger-lines strong,
.profit-table strong,
.dr-ledger strong,
.center-matrix strong {
  min-width: 0;
  font-size: 14px;
}

.ledger-lines div > span,
.profit-table div > span,
.dr-ledger div > span,
.center-matrix div > span {
  min-width: 0;
}

.ledger-lines em,
.profit-table em,
.dr-ledger em,
.center-matrix em,
.profit-kpis em,
.dimension-board em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 800;
}

.console-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.console-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(69, 184, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(69, 184, 255, 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.accounting-flow,
.centers-section,
.dr-section {
  border-top: 1px solid var(--line);
}

.trace-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.trace-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.trace-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--warning);
  font-weight: 900;
}

.trace-grid p {
  font-size: 15px;
}

.accounting-product .product-shell {
  min-height: 640px;
}

.accounting-workbench {
  display: grid;
  grid-template-columns: 174px 1fr;
  min-width: 0;
  min-height: 596px;
}

.workbench-main {
  min-width: 0;
  padding: 22px;
}

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  min-width: 0;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 16px;
}

.document-stack {
  min-width: 0;
  min-height: 238px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.strong-stack {
  border-color: rgba(124, 219, 180, 0.28);
  background: linear-gradient(180deg, rgba(124, 219, 180, 0.11), rgba(255, 255, 255, 0.035));
}

.document-stack strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.document-stack p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
}

.mini-row {
  grid-template-columns: 80px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-row em {
  color: var(--text);
  font-style: normal;
  font-weight: 800;
}

.accounting-arrow {
  place-items: center;
  min-height: 64px;
  border: 1px solid rgba(242, 200, 121, 0.22);
  border-radius: var(--radius);
  background: rgba(242, 200, 121, 0.08);
  color: var(--warning);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dimension-board {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dimension-board article,
.profit-kpis article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.dimension-board strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 17px;
}

.centers-layout {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: start;
  margin-top: 38px;
}

.center-tree {
  display: grid;
  gap: 12px;
}

.center-tree div {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid rgba(124, 219, 180, 0.2);
  border-radius: var(--radius);
  background: rgba(124, 219, 180, 0.065);
}

.center-tree div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-strong);
  box-shadow: 0 0 0 7px rgba(124, 219, 180, 0.09);
}

.center-tree strong,
.center-tree span {
  display: block;
}

.center-tree span {
  margin-top: 5px;
}

.profitability-section,
.final-accounting {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.profit-panel,
.dr-visual {
  min-width: 0;
  max-width: 100%;
  padding: 20px;
}

.profit-kpis {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.profit-kpis strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 23px;
}

.warning-text {
  color: var(--warning) !important;
}

.dr-visual {
  margin-top: 38px;
}

.dr-visual .margin-flow {
  margin-top: 0;
  margin-bottom: 16px;
}

.final-accounting {
  max-width: 1180px;
}

.agent-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.82fr);
}

.agent-orchestrator,
.query-console {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(69, 184, 255, 0.1), rgba(124, 219, 180, 0.04)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.agent-orchestrator {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.agent-status-bar,
.agent-command,
.agent-run-header,
.query-tags,
.agent-metrics,
.agent-result-table div {
  display: flex;
  align-items: center;
}

.agent-status-bar {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.agent-status-bar strong {
  color: var(--text);
}

.agent-status-bar em {
  font-style: normal;
}

.agent-chat {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.agent-chat .message {
  max-width: 92%;
}

.toolrail {
  display: grid;
  gap: 10px;
}

.toolrail div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid rgba(69, 184, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(69, 184, 255, 0.06);
}

.toolrail span {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(69, 184, 255, 0.16);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.toolrail strong,
.toolrail em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.toolrail em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.agent-command {
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(242, 200, 121, 0.26);
  border-radius: var(--radius);
  background: rgba(242, 200, 121, 0.09);
}

.agent-command span {
  color: var(--warning);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-command strong {
  font-size: 23px;
}

.agent-command button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(242, 200, 121, 0.34);
  border-radius: 7px;
  background: rgba(242, 200, 121, 0.14);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.agent-capabilities,
.excel-section,
.security-stack,
.agent-documents,
.agent-api {
  border-top: 1px solid var(--line);
}

.capability-matrix,
.security-grid,
.import-grid,
.agent-run-grid {
  display: grid;
  gap: 16px;
}

.capability-matrix {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.agent-card,
.security-grid article,
.import-grid article,
.agent-run-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.agent-card span,
.security-grid span,
.import-grid span,
.agent-run-grid span,
.query-card span,
.agent-metrics span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-card p,
.security-grid p,
.import-grid p {
  font-size: 15px;
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.workflow-lane {
  display: grid;
  gap: 10px;
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(124, 219, 180, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(124, 219, 180, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.workflow-lane strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.workflow-lane span {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 9, 13, 0.42);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.agent-workbench {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-workspace {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 540px;
}

.agent-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.36);
}

.agent-side strong {
  margin-bottom: 8px;
}

.agent-side span {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: var(--muted);
}

.agent-main-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.agent-run-header {
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.agent-run-header p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.agent-run-header strong {
  display: block;
  max-width: 680px;
  font-size: 26px;
  line-height: 1.18;
}

.agent-run-header span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(69, 184, 255, 0.22);
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.agent-run-grid {
  grid-template-columns: repeat(3, 1fr);
}

.agent-run-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.agent-run-grid em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.agent-result-table {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.agent-result-table div {
  grid-template-columns: 1fr 92px 82px;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.agent-result-table div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.agent-result-table strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.agent-result-table em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 800;
}

.import-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.import-grid article {
  min-height: 250px;
}

.analytics-agent {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.query-console {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.query-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.query-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.24;
}

.query-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.query-bars span {
  flex: 1;
  min-width: 28px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #7cdbb4, #45b8ff);
}

.query-tags,
.agent-metrics {
  flex-wrap: wrap;
  gap: 10px;
}

.query-tags span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.agent-metrics {
  margin-top: 26px;
}

.agent-metrics article {
  flex: 1 1 190px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.agent-metrics span {
  margin-bottom: 8px;
}

.agent-metrics strong {
  display: block;
  line-height: 1.35;
}

.security-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
}

.bi-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.86fr);
}

.bi-command-center {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(242, 200, 121, 0.09), rgba(69, 184, 255, 0.045)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.bi-screen-toolbar,
.bi-hero-kpis,
.bi-dashboard-grid,
.bi-mini-table div,
.bi-run-header,
.widget-title,
.rank-list div,
.drill-path,
.bi-ai-section {
  display: grid;
}

.bi-screen-toolbar {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.bi-screen-toolbar strong {
  color: var(--text);
}

.bi-screen-toolbar em {
  font-style: normal;
}

.bi-hero-kpis {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bi-hero-kpis article,
.bi-principles article,
.interaction-board article,
.area-grid article,
.drill-path article,
.tech-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.bi-hero-kpis span,
.bi-mini-table span,
.bi-side-panel span,
.bi-run-header p,
.widget-title span,
.rank-list span,
.gauge-card span,
.pivot-table span,
.area-grid span,
.tech-grid span {
  color: var(--muted);
  font-size: 13px;
}

.bi-hero-kpis strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 24px;
}

.bi-hero-kpis em,
.bi-mini-table em,
.rank-list em,
.pivot-table em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 800;
}

.bi-dashboard-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.bi-bars,
.line-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.bi-bars span,
.line-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #f2c879, #45b8ff);
}

.bi-filter-stack {
  display: grid;
  gap: 10px;
}

.bi-filter-stack span {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(242, 200, 121, 0.2);
  border-radius: var(--radius);
  background: rgba(242, 200, 121, 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.bi-mini-table {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.bi-mini-table div {
  grid-template-columns: minmax(0, 1fr) 88px 64px;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bi-mini-table div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bi-mini-table strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bi-story,
.bi-areas,
.operational-panels,
.technology-section {
  border-top: 1px solid var(--line);
}

.bi-principles,
.interaction-board,
.area-grid,
.tech-grid,
.panel-builder,
.bi-widget-grid {
  display: grid;
  gap: 16px;
}

.bi-principles,
.area-grid,
.panel-builder {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.bi-principles span,
.panel-builder span,
.drill-path span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--warning);
  font-weight: 900;
}

.bi-principles p,
.panel-builder p,
.interaction-board p,
.area-grid p,
.tech-grid p {
  font-size: 15px;
}

.panel-builder article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(242, 200, 121, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(242, 200, 121, 0.09), rgba(69, 184, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.bi-explore,
.drilldown-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.interaction-board {
  grid-template-columns: repeat(2, 1fr);
}

.interaction-board article {
  min-height: 190px;
}

.interaction-board strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.bi-workbench {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bi-workspace {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 650px;
}

.bi-side-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.36);
}

.bi-side-panel strong {
  margin-bottom: 8px;
}

.bi-side-panel span {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
}

.bi-side-panel .active {
  border-color: rgba(242, 200, 121, 0.28);
  background: rgba(242, 200, 121, 0.1);
  color: var(--text);
}

.bi-dashboard-main {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 24px;
}

.bi-run-header {
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.bi-run-header strong {
  display: block;
  max-width: 680px;
  font-size: 26px;
  line-height: 1.18;
}

.bi-run-header span {
  padding: 8px 10px;
  border: 1px solid rgba(242, 200, 121, 0.22);
  border-radius: 999px;
  color: var(--warning);
  font-size: 12px;
  font-weight: 800;
}

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

.bi-widget {
  min-width: 0;
  min-height: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.bi-widget.wide {
  grid-column: span 2;
}

.widget-title {
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.line-chart {
  min-height: 190px;
}

.rank-list,
.pivot-table,
.action-list,
.listview-mini {
  display: grid;
  gap: 10px;
}

.rank-list div {
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.gauge-card {
  display: grid;
  min-height: 150px;
  place-items: center;
  text-align: center;
}

.gauge-card strong {
  font-size: 68px;
  line-height: 1;
  color: var(--warning);
}

.action-list button {
  min-height: 42px;
  border: 1px solid rgba(69, 184, 255, 0.26);
  border-radius: 7px;
  background: rgba(69, 184, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.listview-mini div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 80px;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.listview-mini div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.listview-mini strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.listview-mini em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 800;
}

.pivot-table {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.pivot-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 70px 70px;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pivot-table div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.area-grid article:nth-child(2n),
.tech-grid article:nth-child(2n) {
  border-color: rgba(69, 184, 255, 0.18);
  background: rgba(69, 184, 255, 0.045);
}

.area-grid span,
.tech-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-weight: 900;
  text-transform: uppercase;
}

.drill-path {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.drill-path article {
  min-height: 180px;
}

.drill-path strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.bi-ai-section {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.tech-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 38px;
}

.config-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.82fr);
}

.config-console,
.automation-panel {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(69, 184, 255, 0.04)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.config-console {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.config-toolbar,
.config-preview,
.config-tags,
.permission-grid,
.security-layers,
.permission-workspace,
.permission-header,
.permission-table div,
.permission-actions,
.views-section,
.view-builder,
.skin-showcase,
.integration-config-grid,
.automation-section,
.automation-flow,
.config-points,
.governance-grid {
  display: grid;
}

.config-toolbar {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.config-toolbar strong {
  color: var(--text);
}

.config-toolbar em {
  font-style: normal;
}

.permission-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.permission-grid article,
.security-layers article,
.view-builder article,
.integration-config-grid article,
.governance-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.permission-grid span,
.permission-table span,
.permission-side span,
.permission-header p,
.view-builder span,
.integration-config-grid span,
.governance-grid span {
  color: var(--muted);
  font-size: 13px;
}

.permission-grid strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 18px;
}

.permission-grid em {
  color: var(--brand-strong);
  font-style: normal;
}

.config-preview {
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(124, 219, 180, 0.22);
  border-radius: var(--radius);
  background: rgba(124, 219, 180, 0.08);
}

.config-preview span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.config-preview button,
.permission-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(69, 184, 255, 0.26);
  border-radius: 7px;
  background: rgba(69, 184, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.config-tags,
.config-points {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.config-tags span,
.config-points span {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.security-section,
.skins-section,
.integration-config,
.governance-section {
  border-top: 1px solid var(--line);
}

.security-layers {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.security-layers span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--warning);
  font-weight: 900;
}

.security-layers p,
.view-builder p,
.integration-config-grid p,
.governance-grid p {
  font-size: 15px;
}

.permission-workbench {
  max-width: 1240px;
  border-top: 1px solid var(--line);
}

.permission-workspace {
  grid-template-columns: 240px 1fr;
  min-height: 520px;
}

.permission-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.36);
}

.permission-side strong {
  margin-bottom: 8px;
}

.permission-side span {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
}

.permission-side .active {
  border-color: rgba(69, 184, 255, 0.28);
  background: rgba(69, 184, 255, 0.1);
  color: var(--text);
}

.permission-main {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 24px;
}

.permission-header {
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.permission-header strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 28px;
}

.permission-header span {
  padding: 8px 10px;
  border: 1px solid rgba(69, 184, 255, 0.22);
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.permission-table {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.permission-table div {
  grid-template-columns: minmax(0, 1fr) 64px 64px 64px 64px;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.permission-table div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.permission-table strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.permission-table em {
  color: var(--brand-strong);
  font-style: normal;
  font-weight: 800;
}

.permission-actions {
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
  max-width: 100%;
  gap: 10px;
}

.views-section,
.automation-section {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.view-builder,
.integration-config-grid,
.governance-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.view-builder span,
.integration-config-grid span,
.governance-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-weight: 900;
  text-transform: uppercase;
}

.skin-showcase {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.skin-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.skin-card span {
  display: block;
  width: 100%;
  height: 92px;
  margin-bottom: 18px;
  border-radius: var(--radius);
}

.skin-card.blue span {
  background: linear-gradient(135deg, #45b8ff, #0d1118);
}

.skin-card.green span {
  background: linear-gradient(135deg, #7cdbb4, #15251e);
}

.skin-card.dark span {
  background: linear-gradient(135deg, #171c26, #050608);
}

.skin-card p {
  font-size: 15px;
}

.automation-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.automation-flow {
  gap: 10px;
}

.automation-flow span {
  padding: 14px;
  border: 1px solid rgba(242, 200, 121, 0.22);
  border-radius: var(--radius);
  background: rgba(242, 200, 121, 0.08);
  color: var(--text);
  font-weight: 800;
}

.governance-grid {
  margin-top: 38px;
}

@media (max-width: 1120px) {
  .hero,
  .api-section,
  .bi-section,
  .feature-band,
  .accounting-hero,
  .agent-hero,
  .bi-hero,
  .config-hero,
  .analytics-agent,
  .bi-explore,
  .drilldown-section,
  .bi-ai-section,
  .views-section,
  .automation-section,
  .profitability-section,
  .final-accounting,
  .centers-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signup-card {
    max-width: 680px;
  }

  .bi-copy {
    max-width: none;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sync-banner {
    grid-template-columns: 1fr;
  }

  .resilience-grid {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .capture-flow {
    grid-template-columns: 1fr;
  }

  .trace-grid,
  .dimension-board,
  .capability-matrix,
  .workflow-board,
  .import-grid,
  .bi-principles,
  .panel-builder,
  .area-grid,
  .tech-grid,
  .drill-path {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-layers,
  .view-builder,
  .integration-config-grid,
  .governance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-card p {
    min-height: 96px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    min-height: auto;
    padding: 18px;
  }

  .desktop-nav,
  .ghost-link {
    display: none;
  }

  .hero,
  .section,
  .product-strip,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 48px;
    gap: 36px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 34px;
  }

  .form-row,
  .app-preview,
  .accounting-workbench,
  .agent-workspace,
  .bi-workspace,
  .permission-workspace,
  .work-panel,
  .metric-grid,
  .platform-grid,
  .capture-flow,
  .resilience-grid,
  .api-connectors,
  .bi-kpis,
  .bi-hero-kpis,
  .bi-dashboard-grid,
  .permission-grid,
  .permission-actions,
  .security-layers,
  .view-builder,
  .skin-showcase,
  .integration-config-grid,
  .governance-grid,
  .config-tags,
  .config-points,
  .profit-kpis,
  .capability-matrix,
  .workflow-board,
  .import-grid,
  .security-grid,
  .agent-run-grid,
  .bi-principles,
  .panel-builder,
  .interaction-board,
  .area-grid,
  .tech-grid,
  .drill-path,
  .bi-widget-grid,
  .services-grid,
  .module-list,
  .trace-grid,
  .dimension-board,
  .console-tags,
  .workbench-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .integration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .integration-card {
    min-height: 136px;
    padding: 12px;
  }

  .integration-logo {
    height: 48px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .integration-logo img {
    max-height: 28px;
  }

  .ml .integration-logo img,
  .nube .integration-logo img,
  .arca .integration-logo img {
    max-height: 22px;
  }

  .integration-card strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .integration-card em {
    font-size: 12px;
  }

  .integration-card.soon::after {
    top: 8px;
    right: 8px;
    font-size: 9px;
  }

  .api-section {
    gap: 28px;
  }

  .api-section > * {
    min-width: 0;
    max-width: 100%;
  }

  .bi-section {
    gap: 28px;
  }

  .bi-visual {
    padding: 14px;
  }

  .bi-toolbar,
  .bi-table div {
    grid-template-columns: 1fr;
  }

  .bi-chart {
    height: 150px;
    gap: 8px;
  }

  .trial-form button {
    width: 100%;
  }

  .preview-sidebar {
    display: none;
  }

  .accounting-console {
    padding: 16px;
  }

  .agent-orchestrator,
  .bi-command-center,
  .query-console {
    padding: 16px;
  }

  .agent-status-bar,
  .bi-screen-toolbar,
  .config-toolbar,
  .agent-command,
  .config-preview,
  .agent-run-header,
  .bi-run-header,
  .permission-header,
  .agent-result-table div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .agent-command button {
    width: 100%;
  }

  .toolrail div {
    grid-template-columns: 1fr;
  }

  .toolrail span {
    grid-row: auto;
  }

  .agent-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bi-side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .permission-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .agent-run-header strong {
    font-size: 22px;
  }

  .bi-run-header strong {
    font-size: 22px;
  }

  .bi-widget.wide {
    grid-column: auto;
  }

  .bi-mini-table div {
    grid-template-columns: minmax(0, 1fr) 68px 52px;
  }

  .pivot-table div {
    grid-template-columns: minmax(0, 1fr) 48px 48px 48px;
  }

  .permission-table div {
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px 42px;
    gap: 8px;
  }

  .permission-table {
    padding: 12px;
  }

  .permission-table strong,
  .permission-table span,
  .permission-table em {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .pivot-table div > * {
    overflow-wrap: anywhere;
  }

  .ledger-total strong {
    font-size: 31px;
  }

  .ledger-lines,
  .profit-table,
  .dr-ledger,
  .center-matrix {
    overflow-x: visible;
  }

  .ledger-lines div {
    grid-template-columns: minmax(0, 1fr) 64px 64px;
    min-width: 0;
  }

  .profit-table div {
    grid-template-columns: minmax(0, 1fr) 62px 54px 52px;
    min-width: 0;
  }

  .dr-ledger div,
  .center-matrix div {
    grid-template-columns: minmax(0, 1fr) 64px 64px 52px;
    min-width: 0;
  }

  .ledger-lines div,
  .profit-table div,
  .dr-ledger div,
  .center-matrix div {
    gap: 8px;
  }

  .ledger-lines,
  .profit-table,
  .dr-ledger,
  .center-matrix {
    padding: 12px;
  }

  .ledger-lines strong,
  .profit-table strong,
  .dr-ledger strong,
  .center-matrix strong,
  .ledger-lines div > span,
  .profit-table div > span,
  .dr-ledger div > span,
  .center-matrix div > span {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .accounting-product .product-shell {
    min-height: auto;
  }

  .preview-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-shell {
    min-height: auto;
  }

  .message {
    max-width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}
