/* AIZEN IoT Integration: documentation layout. Brand tokens and shared
   az-* components load first from assets/aizen/aizen.css. */
:root {
  --sidebar-width: 248px;
  --header-height: 64px;
}
/* Element resets sit below shared components (see shared/styles/tokens.css). */
@layer site-base {
  html { scroll-padding-top: 96px; overflow-anchor: none; }
  a { color: inherit; text-decoration: none; }
  button, a, select { touch-action: manipulation; }
  button { border: 0; background: none; }
  button:focus-visible, a:focus-visible, select:focus-visible { border-radius: 6px; }
  h1, h2, h3, h4, p { margin-top: 0; }
  svg { flex-shrink: 0; }
  kbd { font-family: inherit; font-size: 12px; line-height: 1.6; }
  code { font-family: var(--az-font-mono); }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 22px 16px 24px; display: flex; flex-direction: column; color: var(--az-color-text); background: var(--az-color-surface-muted); border-right: 1px solid var(--az-color-border-subtle); z-index: 40; overflow-y: auto; }
.sidebar-brand { padding: 0 12px; margin-bottom: 28px; }
.nav-caption { padding: 0 12px; margin-bottom: 10px; color: var(--az-color-text-muted); font-size: 12px; font-weight: 500; letter-spacing: var(--az-tracking-caps); text-transform: uppercase; }
.nav-list { display: grid; gap: 4px; }
.nav-link { min-height: 46px; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link.active { color: var(--az-navy); }
.sidebar-bottom { margin-top: auto; padding: 30px 12px 0; font-size: 12px; color: var(--az-color-text-muted); }
.sidebar-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.main { margin-left: var(--sidebar-width); min-height: 100vh; }
.topbar { position: sticky; top: 0; height: var(--header-height); padding: 0 44px; display: flex; align-items: center; gap: 16px; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--az-color-border-subtle); z-index: 30; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--az-color-text-muted); }
.breadcrumbs .icon { width: 14px; height: 14px; }
.breadcrumbs b { font-weight: 500; color: var(--az-navy); }
.menu-toggle, .mobile-brand, .mobile-scrim { display: none; }
.content { max-width: 1320px; margin: 0 auto; padding: 36px 44px 0; }
.page-header { padding: 0; margin-bottom: 28px; background: white; }
.page-header h1 { color: var(--az-navy); font-size: 36px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 12px; }
.page-header .lead { color: var(--az-color-text-muted); font-size: 18px; font-weight: 300; line-height: 1.6; max-width: 75ch; margin-bottom: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--az-color-text-muted); font-size: 12px; font-weight: 500; letter-spacing: var(--az-tracking-caps); text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--az-bright-blue); }
/* Overview: brand hero panel (navy with the ripple motif). */
.page-header.overview-hero { padding: 24px 28px; margin-bottom: 24px; background: var(--az-navy); }
.overview-hero h1 { color: var(--az-white); font-size: 32px; margin-bottom: 10px; }
.overview-hero .lead { color: var(--az-white); font-size: 16px; font-weight: 400; max-width: 75ch; }
.detail .page-header h1 { font-size: 32px; letter-spacing: -.7px; margin-bottom: 10px; }
.detail .page-header { margin-bottom: 24px; }
.doc-meta { display: flex; gap: 16px; color: var(--az-color-text-muted); font-size: 12px; margin-top: 12px; }
.flow-panel { padding: 18px 22px; margin-top: 28px; background: var(--az-color-surface-muted); border: 1px solid var(--az-color-border-subtle); border-radius: var(--az-radius-lg); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; font-size: 15px; font-weight: 500; color: var(--az-navy); }
.flow { display: grid; grid-template-columns: 1fr .75fr 1fr .75fr 1fr; align-items: center; gap: 3px; }
.flow-node { text-align: center; min-width: 0; }
.node-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 10px; background: white; border: 1px solid var(--az-color-border); border-radius: 50%; }
.node-icon .icon { width: 24px; height: 24px; color: var(--az-navy); }
.flow-node strong { display: block; color: var(--az-navy); font-size: 14px; font-weight: 500; }
.flow-node small { display: block; font-size: 12px; color: var(--az-color-text-muted); margin-top: 2px; }
.flow-node.center .node-icon { background: var(--az-navy); border-color: var(--az-navy); }
.flow-node.center .node-icon .icon { color: var(--az-bright-blue); }
.flow-connector { position: relative; align-self: start; margin-top: 26px; height: 1px; background: var(--az-navy); color: var(--az-navy); }
.flow-connector::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.flow-connector span { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 400; }
.flow-connector.teal { background: var(--az-bright-blue); color: var(--az-blue-text); }
.flow-connector .flow-arrow { display: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 15px; }
.section-heading h2 { margin: 0; color: var(--az-navy); font-size: 20px; font-weight: 500; letter-spacing: -.3px; }
.integration-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.integration-card { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 20px; }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--az-navy); color: var(--az-white); }
.card-icon .icon { width: 18px; height: 18px; }
.integration-card h3 { color: var(--az-navy); font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 9px; }
.integration-card p { font-size: 15px; color: var(--az-color-text-muted); line-height: 1.6; margin-bottom: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 14px; margin-top: auto; color: var(--az-color-action); font-size: 14px; font-weight: 500; }
.card-link .icon { width: 16px; height: 16px; }
.integration-card:hover .card-link span { text-decoration: underline; text-underline-offset: 4px; }
.table-wrap { overflow: auto; max-width: 100%; border: 1px solid var(--az-color-border-subtle); border-radius: var(--az-radius-md); }
table { width: 100%; border-collapse: collapse; text-align: left; min-width: 520px; font-size: 14px; line-height: 1.65; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--az-color-border-subtle); vertical-align: top; }
th { color: var(--az-navy); background: var(--az-color-surface-muted); font-weight: 700; font-size: 13px; }
th[scope="row"] { background: white; color: var(--az-color-text-muted); width: 24%; font-size: 14px; }
tr:last-child td, tr:last-child th[scope="row"] { border-bottom: 0; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 40px; align-items: start; }
.reference { min-width: 0; font-size: 16px; line-height: 1.7; }
.reference h2 { color: var(--az-color-text); font-size: 23px; font-weight: 600; line-height: 1.35; letter-spacing: -.4px; margin: 38px 0 16px; padding-top: 26px; border-top: 1px solid var(--az-color-border-subtle); }
.reference > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.reference h3 { color: var(--az-color-text); font-size: 18px; font-weight: 500; line-height: 1.5; margin: 24px 0 12px; }
.reference h4 { color: var(--az-color-text); font-size: 16px; font-weight: 500; margin: 22px 0 10px; }
.reference h2:focus, .reference h3:focus { outline: none; }
.reference p { margin-bottom: 15px; max-width: 74ch; }
.reference ul, .reference ol { padding-left: 22px; margin: 12px 0 20px; }
.reference li { margin: 5px 0; padding-left: 2px; }
.reference b, .reference strong { color: var(--az-color-text); font-weight: 500; }
.reference hr { display: none; }
.reference a { color: var(--az-color-action); text-decoration: underline; text-decoration-color: var(--az-bright-blue); text-underline-offset: 4px; }
.reference a:hover { text-decoration-color: var(--az-navy); }
:not(pre) > code { font-size: .88em; color: var(--az-navy); background: var(--az-navy-tint); padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.reference .table-wrap { margin: 15px 0 23px; }
.reference table { min-width: 500px; }
.reference .table-wrap code { white-space: normal; }
.reference table.two-columns { min-width: 0; table-layout: fixed; }
.reference table.two-columns th:first-child, .reference table.two-columns td:first-child { width: 42%; }
.reference table.two-columns a { overflow-wrap: anywhere; }
.code-block { border: 1px solid var(--az-color-border-subtle); border-radius: var(--az-radius-md); background: #F7FAFB; overflow: hidden; margin: 16px 0 22px; max-width: 100%; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 16px; border-bottom: 1px solid var(--az-color-border-subtle); color: var(--az-color-text-muted); font-size: 12px; }
.copy-code { display: inline-flex; align-items: center; gap: 6px; color: var(--az-color-text-muted); font-size: 12px; min-height: 30px; padding: 2px 5px; border-radius: 4px; }
.copy-code.is-copied { color: var(--az-color-success); }
.copy-code:hover { color: var(--az-navy); background: var(--az-navy-tint); }
.copy-code .icon { width: 14px; height: 14px; }
.reference pre { margin: 0; padding: 18px 20px; overflow: auto; max-width: 100%; font-size: 14px; line-height: 1.65; tab-size: 2; }
.reference pre code { color: var(--az-navy); font-size: inherit; line-height: inherit; padding: 0; background: transparent; border-radius: 0; overflow-wrap: normal; }
.code-key { color: #174d85; }
.code-string { color: #216a49; }
.code-number { color: #8c4e17; }
.code-boolean { color: #7547a2; font-weight: 500; }
.code-null { color: #666475; }
.code-method { color: #174d85; font-weight: 600; }
.section-nav { position: sticky; top: 88px; max-height: calc(100vh - 112px); overflow-y: auto; padding: 0; }
.doc-toc > span { display: block; font-size: 12px; font-weight: 500; color: var(--az-color-text); margin: 0 0 13px 12px; }
.section-links { display: flex; flex-direction: column; gap: 3px; border-left: 1px solid var(--az-color-border-subtle); }
.section-links a { font-size: 13px; color: var(--az-color-text-muted); line-height: 1.5; padding: 7px 10px 7px 12px; border-left: 2px solid transparent; margin-left: -1px; }
.section-links a:hover { color: var(--az-navy); background: var(--az-color-surface-muted); }
.section-links a.active { color: var(--az-navy); background: var(--az-blue-tint); border-left-color: var(--az-bright-blue); font-weight: 500; }
.section-picker { display: none; }
.source-note { font-size: 14px; color: var(--az-color-text-muted); background: var(--az-color-surface-muted); border-left: 3px solid var(--az-bright-blue); border-radius: var(--az-radius-md); padding: 13px 16px; margin: 18px 0 24px; }
.source-note strong { display: block; color: var(--az-color-text); margin-bottom: 3px; font-weight: 500; }
.anchor-alias { display: block; height: 0; }
.page-next { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--az-color-border-subtle); border-radius: var(--az-radius-lg); box-shadow: var(--az-shadow-sm); padding: 18px 22px; margin: 32px 0; transition: border-color var(--az-duration), box-shadow var(--az-duration); }
.page-next:hover { border-color: var(--az-navy); box-shadow: var(--az-shadow-md); }
.page-next small { display: block; color: var(--az-color-text-muted); font-size: 12px; margin-bottom: 4px; }
.page-next strong { color: var(--az-navy); font-size: 15px; font-weight: 500; }
.page-next > .icon { color: var(--az-navy); }
.copy-status { position: fixed; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
/* Reference tools */
.search-trigger { margin-left: auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--az-color-border); border-radius: var(--az-radius-pill); padding: 8px 10px 8px 16px; color: var(--az-color-text-muted); background: var(--az-white); font-size: 14px; min-height: 40px; width: 288px; }
.search-trigger:hover { border-color: var(--az-navy); }
.search-trigger .icon { width: 17px; height: 17px; }
.search-shortcut { margin-left: auto; padding: 0 8px; border: 1px solid var(--az-color-border); border-radius: var(--az-radius-pill); color: var(--az-color-text-muted); background: var(--az-color-surface-muted); white-space: nowrap; }
.panel-note { color: var(--az-color-text-muted); font-size: 12px; }
#page-overview .section-heading { margin-top: 0; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; color: var(--az-color-text-muted); font-size: 12px; padding: 0 0 12px; }
.card-facts span { display: inline-flex; align-items: center; gap: 6px; }
.card-facts span::before { content: ""; width: 5px; height: 5px; background: var(--az-bright-blue); border-radius: 50%; }
.card-link { width: 100%; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--az-color-border-subtle); }
.integration-card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform var(--az-duration) var(--az-ease); }
.doc-meta { gap: 12px; align-items: center; }
.heading-anchor { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 8px; padding: 3px; opacity: 0; border-radius: 4px; text-decoration: none !important; color: var(--az-navy-subtle) !important; }
.heading-anchor .icon { width: 16px; height: 16px; }
.reference h2:hover .heading-anchor, .reference h3:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.recommendation { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 2px 10px; border-radius: var(--az-radius-pill); background: var(--az-color-success-bg); color: var(--az-color-success); font-size: 12px; font-weight: 500; line-height: 1.5; }
.endpoint-block { display: flex; align-items: center; position: relative; margin: 10px 0 13px; background: #F7FAFB; }
.endpoint-block pre { flex: 1; padding: 15px 16px; min-width: 0; }
.endpoint-block .copy-code { flex-shrink: 0; margin-right: 12px; }
.endpoint-block .copy-code > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.endpoint-block .code-method { color: var(--az-color-success); background: var(--az-color-success-bg); padding: 3px 8px; border-radius: var(--az-radius-pill); font-size: 12px; }
.reference table.schema-table { min-width: 0; }
.schema-table th[scope="row"] { width: 31%; color: var(--az-color-text); }
.schema-table th[scope="row"] code { background: transparent; padding: 0; color: #184a7d; font-size: 13px; }
.schema-table td.field-type { width: 15%; font-size: 13px; color: var(--az-color-text-muted); }
.schema-table td.field-description { font-size: 14px; }
.section-links a.subsection-link { padding: 5px 10px 5px 24px; font-size: 12px; }
.section-links a.group-active { color: var(--az-navy); }
.example-tabs { margin: 18px 0 28px; border: 1px solid var(--az-color-border-subtle); border-radius: var(--az-radius-md); overflow: hidden; }
.tab-list { display: flex; align-items: center; gap: 8px; padding: 6px 12px 0; background: var(--az-color-surface-muted); border-bottom: 1px solid var(--az-color-border-subtle); }
.tab-list button { position: relative; min-height: 42px; padding: 7px 14px 11px; color: var(--az-color-text-muted); font-size: 14px; border-radius: 4px 4px 0 0; }
.tab-list button:hover { color: var(--az-navy); background: rgb(255 255 255 / .7); }
.tab-list button[aria-selected="true"] { color: var(--az-navy); font-weight: 600; }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 10px; right: 10px; height: 3px; background: var(--az-bright-blue); border-radius: 3px; }
.example-tabs .example-heading { display: none; }
.example-tabs .code-block { margin: 0; border: 0; border-radius: 0; }
.example-tabs .code-toolbar { background: white; }
.search-dialog { position: fixed; top: 14vh; bottom: auto; margin: 0 auto; padding: 0; width: min(640px, calc(100% - 40px)); max-height: 75vh; border: 1px solid var(--az-color-border-subtle); border-radius: var(--az-radius-lg); color: var(--az-color-text); background: white; box-shadow: var(--az-shadow-lg); overflow: hidden; }
.search-dialog::backdrop { background: rgb(15 59 111 / .35); backdrop-filter: blur(3px); }
.search-input-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--az-color-border-subtle); }
.search-input-row > .icon { color: var(--az-color-text-muted); }
.search-input-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--az-color-text); border: 0; padding: 4px 0; background: transparent; outline: none; }
.search-input-row input::placeholder { color: var(--az-color-text-muted); }
.search-close { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 5px; color: var(--az-color-text-muted); }
.search-close:hover { background: var(--az-color-surface-muted); }
.search-close .icon { width: 18px; height: 18px; }
.search-results-area { max-height: min(54vh, 480px); overflow: auto; padding: 14px 10px; }
.search-summary { font-size: 12px; color: var(--az-color-text-muted); margin: 0 10px 10px; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results a { display: block; padding: 12px; border: 1px solid transparent; border-radius: 7px; }
.search-results a:hover, .search-results a:focus { background: var(--az-blue-tint); border-color: #BFE6FF; outline: none; }
.search-result-page { display: block; color: var(--az-color-text-muted); font-size: 12px; margin-bottom: 3px; }
.search-result-title { color: var(--az-navy); font-size: 15px; font-weight: 600; }
.search-result-snippet { display: block; color: var(--az-color-text-muted); font-size: 13px; line-height: 1.6; margin-top: 4px; overflow-wrap: anywhere; }
.search-results mark { color: var(--az-navy); background: #CCEDFF; border-radius: 2px; }
.search-empty { margin: 25px 10px 32px; color: var(--az-color-text-muted); font-size: 14px; }
.search-footer { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--az-color-border-subtle); padding: 10px 20px; background: var(--az-color-surface-muted); color: var(--az-color-text-muted); font-size: 12px; }
.search-footer kbd { background: white; border: 1px solid var(--az-color-border-subtle); padding: 0 4px; border-radius: 3px; }
@media (max-width: 1150px) {
  .content { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 28px; padding-right: 28px; }
  .doc-layout { display: flex; flex-direction: column; gap: 0; }
  .section-nav { order: -1; align-self: stretch; top: var(--header-height); z-index: 20; max-height: none; overflow: visible; background: rgb(255 255 255 / .97); border-top: 1px solid var(--az-color-border-subtle); border-bottom: 1px solid var(--az-color-border-subtle); margin: 0 0 24px; padding: 10px 0; }
  .doc-toc { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .doc-toc > span { margin: 0; flex-shrink: 0; font-size: 12px; color: var(--az-color-text-muted); }
  .section-links { display: none; }
  .section-picker { display: block; width: auto; min-width: 0; max-width: 70%; color: var(--az-navy); font-size: 15px; line-height: 1.5; background: white; border: 1px solid var(--az-color-border); border-radius: var(--az-radius-pill); padding: 8px 30px 8px 14px; }
  .reference { width: 100%; }
  .flow-connector span { font-size: 12px; }
}
@media (max-width: 850px) and (min-width: 761px) {
  :root { --sidebar-width: 224px; }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .nav-link { padding-left: 9px; padding-right: 9px; gap: 8px; }
  .nav-link .icon { width: 16px; height: 16px; }
  .content { padding-left: 24px; padding-right: 24px; }
  .integration-cards { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  :root { --header-height: 72px; --sidebar-width: 264px; }
  body { font-size: 16px; }
  .sidebar { visibility: hidden; transform: translateX(-100%); transition: transform .15s; padding: 30px 22px 24px; }
  .sidebar.open { visibility: visible; transform: translateX(0); }
  .mobile-scrim.open { display: block; position: fixed; inset: 0; background: rgb(15 59 111 / .45); z-index: 35; }
  .main { margin-left: 0; }
  .topbar { padding: 0 20px; gap: 16px; }
  .menu-toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 3px; margin-left: -4px; }
  .mobile-brand { display: block; min-width: 0; }
  .breadcrumbs { display: none; }
  .content { padding: 24px 22px 0; }
  .page-header { margin-bottom: 24px; }
  .page-header h1 { font-size: 32px; letter-spacing: -.8px; margin-bottom: 10px; }
  .detail .page-header h1 { font-size: 29px; letter-spacing: -.6px; }
  .page-header .lead { font-size: 16px; line-height: 1.7; }
  .doc-meta { font-size: 12px; margin-top: 11px; }
  .eyebrow { font-size: 12px; margin-bottom: 8px; }
  .section-nav { padding: 9px 0; margin-bottom: 22px; }
  .section-picker { font-size: 16px; max-width: 70%; min-height: 42px; }
  .reference { font-size: 16px; }
  .reference h2 { font-size: 23px; margin-top: 30px; padding-top: 23px; }
  .reference h3 { font-size: 18px; margin-top: 23px; }
  .reference h4 { font-size: 16px; }
  .reference pre, .reference pre code { font-size: 13px; line-height: 1.7; }
  .reference pre { padding: 16px; }
  .code-toolbar { padding: 6px 12px; font-size: 12px; }
  .copy-code { font-size: 12px; min-height: 34px; }
  .source-note { font-size: 14px; padding: 13px 14px; }
  .integration-cards { grid-template-columns: 1fr; gap: 15px; }
  .integration-card { padding: 16px 18px; }
  .integration-card h3 { font-size: 20px; }
  .integration-card p { font-size: 16px; }
  .card-link { font-size: 14px; }
  .section-heading { margin-top: 26px; }
  .section-heading h2 { font-size: 20px; }
  .flow-panel { padding: 20px 21px 22px; }
  .panel-heading { margin-bottom: 22px; }
  .panel-heading h2 { font-size: 15px; }
  .flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .flow-node { display: grid; grid-template-columns: 48px 1fr; column-gap: 13px; align-items: center; text-align: left; width: 100%; max-width: 330px; }
  .node-icon { width: 48px; height: 48px; margin: 0; grid-row: 1 / 3; }
  .flow-node strong { font-size: 15px; align-self: end; }
  .flow-node small { font-size: 12px; margin: 0; align-self: start; }
  .flow-connector { display: flex; align-items: center; width: 100%; max-width: 330px; height: 46px; gap: 14px; padding: 0; margin: 0; background: transparent; align-self: center; }
  .flow-connector.teal { background: transparent; }
  .flow-connector::after { display: none; }
  .flow-connector .flow-arrow { display: block; width: 24px; height: 38px; margin-left: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .flow-connector span { position: static; transform: none; font-size: 12px; }
  table, .reference table { font-size: 14px; }
  th { font-size: 13px; }
  th, td { padding: 11px 13px; }
  .page-next { padding: 16px 18px; }
  .page-header.overview-hero { padding: 20px; }
  .overview-hero h1 { font-size: 36px; }
  .overview-hero .lead { font-size: 19px; }
}
@media (max-width: 980px) { .search-trigger { width: 218px; } .search-shortcut { display: none; } }
@media (max-width: 760px) {
  .search-trigger { width: 36px; height: 40px; min-height: 40px; padding: 7px; border-color: transparent; background: transparent; }
  .search-trigger > span, .search-trigger > kbd { display: none; }
  .search-trigger .icon { width: 21px; height: 21px; }
  .search-dialog { top: 18px; width: calc(100% - 24px); max-height: calc(100dvh - 36px); }
  .search-input-row { padding: 12px; gap: 10px; }
  .search-results-area { max-height: calc(100dvh - 158px); }
  .search-footer { padding: 10px 14px; }
  .search-footer > span:first-child { display: none; }
  .search-footer > span:last-child { margin-left: auto; }
  .panel-note { display: none; }
  .integration-card h3 { font-size: 21px; }
  .card-facts { padding-bottom: 12px; }
  .heading-anchor { opacity: .65; }
}
@media (max-width: 600px) {
  .schema-table thead { display: none; }
  .schema-table tbody { display: block; }
  .schema-table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--az-color-border-subtle); }
  .schema-table tr:last-child { border-bottom: 0; }
  .schema-table th[scope="row"], .schema-table td { display: block; width: auto; padding: 0; border: 0; }
  .schema-table th[scope="row"] { min-width: 0; }
  .schema-table th[scope="row"] code { font-size: 13px; overflow-wrap: anywhere; }
  .schema-table td.field-type { width: auto; font-size: 12px; white-space: nowrap; color: var(--az-color-text-muted); }
  .schema-table td.field-description { grid-column: 1 / -1; font-size: 14px; line-height: 1.65; }
  .endpoint-block .copy-code { margin-right: 9px; }
  .endpoint-block pre { padding: 14px; }
}
@media (max-width: 360px) {
  .content { padding-left: 18px; padding-right: 18px; }
  .topbar { padding-left: 18px; padding-right: 18px; }
  .section-picker { max-width: 65%; padding-left: 8px; font-size: 15px; }
  .detail .page-header h1 { font-size: 27px; }
  .integration-card { padding: 18px; }
}

@media (min-width: 601px) and (max-width: 1023px) {
  .integration-cards { grid-template-columns: 1fr 1fr; }
  .reference pre, .reference pre code { font-size: 14px; }
  .flow-panel { max-width: none; }
}

/* Keep the last panel clear of the footer at every viewport size. */
.content { padding-bottom: 40px; }

/* Compact overview: prioritize the integration choices over decorative space. */
.overview-hero .az-kicker { margin-bottom: 8px; font-size: 12px; }
#page-overview .card-link { padding-top: 10px; }
@media (max-width: 760px) { .overview-hero h1 { font-size: 28px; } .overview-hero .lead { font-size: 16px; max-width: none; } }
