/* Integration pages (/en/integrations/<erp>/): hero lockup, fact strip, split, data table, setup steps.
   Everything else comes from sections.css and homepage.css. */
.it-hero { padding-top: 56px !important; }
.it-hero h1 { margin: 0; text-wrap: balance; }
.it-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; font-size: 13px; color: var(--muted); }
.it-crumbs a { color: var(--ink-3); text-decoration: none; }
.it-crumbs a:hover { color: var(--accent); }
.it-crumbs [aria-current] { color: var(--ink); }
.it-lockup { display: flex; align-items: center; gap: 14px; }
.it-lockup img { display: block; width: auto; height: 30px; }
.it-lockup img.orcha { height: 28px; }
.it-lockup img.sap { height: 52px; margin: -8px 0; }
.it-lockup img.datev { height: 36px; }
.it-lockup .x { font-size: 22px; color: var(--muted); }
.it-lockup .it-wm { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }

.it-facts { margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.it-facts > div { padding: 22px 24px 22px 0; display: grid; gap: 6px; align-content: start; border-bottom: 1px solid var(--line); }
.it-facts > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.it-facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.it-facts dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }

/* Exactly five fact tiles (AI assistants hub): one row on wide screens */
@media (min-width: 1101px) {
  .it-facts:has(> div:nth-child(5)):not(:has(> div:nth-child(6))) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .it-facts:has(> div:nth-child(5)):not(:has(> div:nth-child(6))) > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .it-facts:has(> div:nth-child(5)):not(:has(> div:nth-child(6))) > div:not(:nth-child(1)) { padding-left: 20px; border-left: 1px solid var(--line); }
}
.ai-logo { display: inline-block; height: 24px; width: auto; vertical-align: middle; margin-right: 8px; flex: none; }
.it-facts dt .ai-logo { height: 22px; margin: 0 8px 0 0; }

.it-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.it-split > div { display: grid; gap: 20px; align-content: start; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.it-split > div.us { background: var(--bg-soft); }
.it-split b { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }

.it-table-wrap { margin-top: 56px; overflow-x: auto; }
.it-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.it-table th { padding: 0 24px 12px 0; text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.it-table td { padding: 16px 24px 16px 0; vertical-align: top; color: var(--ink-3); line-height: 1.45; border-bottom: 1px solid var(--line); }
.it-table td:first-child { color: var(--ink); }
.it-table code { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.it-soon { margin-left: 8px; padding: 2px 7px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--accent); background: var(--accent-soft); }

.ag-card .top .sx-tag + .go { margin-left: 12px; }
.ex-more.it-ways { margin-top: 0; border-top: 0; }

.it-setup { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: start; }
.it-setup .sx-head { margin-bottom: 40px; }
.it-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.it-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.it-steps .n { font-family: var(--mono); font-size: 11px; color: var(--accent); padding-top: 4px; }
.it-steps b { display: block; font-size: 17px; font-weight: 500; }
.it-steps p { margin: 4px 0 0; font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.it-box { display: grid; gap: 20px; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); }
.it-box > b { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }

@media (max-width: 1100px) {
  .it-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-facts > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .it-facts > div:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .it-setup { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .it-facts, .it-split { grid-template-columns: 1fr; }
  .it-facts > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .it-split > div, .it-box { padding: 24px; }
}

/* Conceptual app mock-ups on the Slack and Teams pages (illustrations, not screenshots) */
.mk { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mk-step { display: grid; gap: 12px; min-width: 0; }
.mk-label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mk-win { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(20, 20, 40, .4); font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #1d1c1d; font-size: 14px; line-height: 1.45; }
.mk-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #e8e8e8; font-size: 13px; font-weight: 700; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2bac76; display: inline-block; }
.mk-msg { display: flex; gap: 10px; padding: 14px; }
.mk-av { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.mk-body { min-width: 0; flex: 1; }
.mk-who { font-weight: 700; }
.mk-app { margin-left: 6px; padding: 1px 4px; border-radius: 3px; background: #e8e8e8; font-size: 10px; font-weight: 600; }
.mk-time { margin-left: 6px; color: #616061; font-size: 12px; font-weight: 400; }
.mk-block { margin-top: 8px; padding-left: 12px; border-left: 4px solid #2eb67d; }
.mk-title { font-weight: 700; }
.mk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 8px 0; }
.mk-fields dt { margin: 0; color: #616061; font-size: 12px; }
.mk-fields dd { margin: 0; font-weight: 600; }
.mk-lines { margin: 8px 0; padding: 8px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; font-size: 13px; }
.mk-lines div { display: flex; justify-content: space-between; gap: 8px; }
.mk-warn { margin: 8px 0; padding: 6px 8px; border: 1px solid #f1d98a; border-radius: 6px; background: #fff8e6; font-size: 12px; }
.mk-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mk-btn { padding: 6px 14px; border: 1px solid #bbb; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; }
.mk-btn.ok { border-color: #007a5a; background: #007a5a; color: #fff; }
.mk-btn.no { border-color: #b3261e; color: #b3261e; }
.mk-btn.teams { border-color: #5b5fc7; background: #5b5fc7; color: #fff; }
.mk-file { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; }
.mk-dialog { margin: 14px; padding: 16px; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .35); }
.mk-dialog h4 { margin: 0 0 6px; font-size: 15px; }
.mk-dialog p { margin: 0 0 12px; color: #4a4a4a; font-size: 13px; }
.mk-done { color: #007a5a; font-weight: 700; }
.mk-audit { margin: 0 14px 14px; padding: 8px 10px; border-radius: 8px; background: #f4f4f6; font-size: 12px; color: #4a4a4a; }
.mk-card { margin: 14px; padding: 12px 14px; border: 1px solid #e1dfdd; border-radius: 8px; background: #fff; }
.mk-card .mk-title { font-size: 15px; }
.mk-cap { margin: 18px 0 0; max-width: 760px; color: var(--ink-3); font-size: 13px; line-height: 1.5; }
@media (max-width: 1000px) { .mk { grid-template-columns: 1fr; } }
