:root {
  color-scheme: light;
  --bg: #0a0c10;
  --surface: #12151c;
  --border: #242a36;
  --text: #e6e9ef;
  --dx-muted: #8b95a7;
  --dx-accent: #5b8cff;
  --good: #3fcf8e;
  --ink: #1a1f2b;
  --paper: #f4f6fa;
  --rule: #d9dee8;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(91, 140, 255, 0.1), transparent 58%),
    radial-gradient(900px 480px at 96% 0%, rgba(63, 207, 142, 0.06), transparent 55%), var(--paper);
  color: var(--ink);
  font:
    15px/1.55 ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

a {
  color: #2f5fbf;
}

a:hover {
  color: #1d3f8a;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: 16px clamp(16px, 4vw, 40px);
  color-scheme: dark;
  color: var(--text);
  background: radial-gradient(900px 180px at 12% 0%, rgba(91, 140, 255, 0.18), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  background: linear-gradient(135deg, var(--dx-accent), #8f6bff 55%, var(--good));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.topbar h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.topbar .tagline {
  margin: 2px 0 0;
  max-width: 62ch;
  color: var(--dx-muted);
  font-size: 13px;
  line-height: 1.4;
}

.topbar .tagline code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: #d5def2;
}

.topbar-links {
  display: flex;
  gap: 8px;
  flex: none;
}

.topbar-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #2c3444;
  background: rgba(255, 255, 255, 0.03);
}

.topbar-links a:hover {
  border-color: var(--dx-accent);
  color: white;
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(10, 12, 16, 0.96);
  border-bottom: 1px solid var(--border);
  color-scheme: dark;
}

.tabs a {
  color: var(--dx-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.tabs a:hover {
  color: var(--text);
  border-color: #2c3444;
}

.tabs a[aria-current='page'] {
  color: white;
  background: rgba(91, 140, 255, 0.18);
  border-color: rgba(91, 140, 255, 0.45);
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.page.wide {
  width: min(1100px, calc(100% - 32px));
}

.hero {
  margin-bottom: 28px;
}

.hero h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero p {
  margin: 0;
  max-width: 62ch;
  color: #4a5568;
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.cards a:hover {
  border-color: #9db4e8;
  transform: translateY(-1px);
}

.cards h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.cards p {
  margin: 0;
  color: #5b6578;
  font-size: 14px;
}

.cards .meta {
  display: inline-block;
  margin-top: 12px;
  color: #2f5fbf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--dx-accent);
  background: rgba(91, 140, 255, 0.08);
  color: #3a4558;
  font-size: 14px;
}

.note code,
.guide code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.guide h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.guide h2:first-child {
  margin-top: 0;
}

.guide h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.guide p,
.guide li {
  color: #3a4558;
}

.guide ul,
.guide ol {
  padding-left: 1.2em;
}

.guide li + li {
  margin-top: 4px;
}

.guide pre {
  overflow-x: auto;
  margin: 12px 0 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: #10141c;
  color: #d9e2f2;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
}

.guide table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 13.5px;
}

.guide th,
.guide td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}

.guide th {
  color: #5b6578;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide .callout {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7e8;
  border: 1px solid #f0d7a0;
  color: #5a4718;
  font-size: 14px;
}

.guide .source {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: #6b7384;
  font-size: 13px;
}

@media (max-width: 640px) {
  .topbar-links,
  .tabs {
    width: 100%;
  }
}

/* Shared documentation navigation and readable resource tables. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 10px 16px;
  background: #fff;
  color: #182b49;
  border: 2px solid #315fc0;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid #2c63ca;
  outline-offset: 3px;
}
.eyebrow {
  color: #465975;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 750;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.primary-link {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 16px;
  color: #fff;
  background: #234da1;
  text-decoration: none;
  font-weight: 650;
}
.primary-link:hover {
  color: #fff;
  background: #173776;
}
.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  margin: 22px 0;
}
.panel {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 28px);
  margin: 22px 0;
}
.panel h2 {
  margin-top: 0;
  line-height: 1.25;
}
.panel p {
  max-width: 90ch;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table-scroll th,
.table-scroll td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  vertical-align: top;
}
.table-scroll th {
  background: #eef2f8;
  color: #21334e;
}
.table-scroll tr:nth-child(even) td {
  background: #f8fafd;
}
.table-scroll code {
  overflow-wrap: anywhere;
}
.doc-footer {
  padding: 25px 0;
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  color: #4c5c73;
  font-size: 13px;
}
.panel pre {
  overflow-x: auto;
  max-width: 100%;
}
.guide-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.guide .hero h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 36px);
}
.guide-index {
  position: sticky;
  top: 18px;
  margin-top: 22px;
}
.guide-index nav {
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
}
.guide-index .eyebrow {
  margin: 0 0 12px;
}
.guide-index a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  text-decoration: none;
}
.guide-chapters {
  min-width: 0;
}
.guide-chapters section[id] {
  scroll-margin-top: 24px;
}
@media (max-width: 860px) {
  .guide-layout {
    display: block;
  }
  .guide-index {
    position: static;
  }
  .guide-index nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }
  .guide-index .eyebrow {
    width: 100%;
  }
}
.hero h2 {
  max-width: 28ch;
  line-height: 1.14;
}
@media (max-width: 640px) {
  .table-scroll table {
    min-width: 620px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .panel {
    padding: 18px;
  }
  .topbar-links {
    flex-wrap: wrap;
  }
}

/* Developer experience: shared visual contract across native services. */
:root {
  --dx-bg: #f5f8f8;
  --dx-ink: #183138;
  --dx-muted: #526970;
  --dx-line: #e2e8f0;
  --dx-accent: #006b68;
  --brand: var(--dx-accent);
}
body {
  background: var(--dx-bg);
  color: var(--dx-ink);
  font:
    15px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
header,
.topbar {
  background: white;
  color: var(--dx-ink);
  border-bottom: 1px solid var(--dx-line);
  padding: 18px max(24px, calc((100% - 1280px) / 2));
  gap: 24px;
  color-scheme: light;
}
header .brand,
.brand span,
.topbar h1 {
  color: var(--dx-ink);
}
.logo {
  display: none;
}
header nav a,
.topbar-links a {
  color: var(--dx-muted);
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 8px 10px;
  font-size: 14px;
}
header nav a:hover,
.topbar-links a:hover,
header nav a[aria-current],
.topbar-links a[aria-current] {
  color: var(--dx-accent);
  background: #e5f2ef;
  border: 0;
}
.tagline {
  color: var(--dx-muted) !important;
}
main {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 24px 48px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 21px;
  line-height: 1.35;
}
a {
  color: var(--dx-accent);
}
p {
  max-width: 80ch;
}
.intro {
  margin-bottom: 24px;
}
.intro h1 {
  margin: 8px 0 12px;
}
section,
.card,
.panel {
  border-color: var(--dx-line);
  box-shadow: none;
  border-radius: 10px;
}
button,
.button {
  background: var(--dx-accent);
  border: 1px solid var(--dx-accent);
  border-radius: 10px;
  min-height: 42px;
}
button.secondary {
  color: var(--dx-accent);
  background: #edf6f4;
  border-color: #b7d4ce;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid #2b9e93 !important;
  outline-offset: 3px;
}
.layout,
.workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.steps,
.workspace-nav {
  position: sticky;
  top: 20px;
  padding: 12px;
  margin: 0;
  border: 1px solid var(--dx-line);
  border-radius: 10px;
  background: white;
}
.steps button,
.workspace-nav button {
  display: block;
  width: 100%;
  margin: 4px 0;
  padding: 10px 12px;
  text-align: left;
  color: var(--dx-muted);
  border: 0;
  background: transparent;
  font-weight: 600;
}
.steps button[aria-pressed='true'],
.workspace-nav button[aria-pressed='true'] {
  color: var(--dx-accent);
  background: #e5f2ef;
}
.steps small,
.workspace-nav small {
  display: block;
  padding: 12px;
  color: var(--dx-muted);
}
.workspace-content {
  min-width: 0;
}
.workspace-content > .panel:first-child {
  margin-top: 0;
}
.connection-panel {
  margin-bottom: 24px;
}
.connection-panel h2 {
  margin-bottom: 6px;
}
.notice {
  border-left-color: var(--dx-accent);
  background: #edf6f4;
}
.hint,
.muted,
small {
  color: var(--dx-muted);
}
.docs-navigation {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dx-line);
}
.docs-navigation a {
  color: var(--dx-accent);
  font-size: 14px;
  text-decoration: none;
}
.docs-navigation a[aria-current] {
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.guided-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 16px;
}
.guided-fields details {
  grid-column: 1/-1;
}
.guided-fields textarea {
  min-height: 80px;
}
.request-advanced {
  border-top: 1px solid var(--dx-line);
  padding-top: 16px;
}
.workspace-status {
  padding: 12px 16px;
  border: 1px solid var(--dx-line);
  border-radius: 10px;
  background: white;
  margin: 0 0 20px;
}
.workspace-status span {
  display: block;
  overflow-wrap: anywhere;
}
.workspace-status strong {
  color: var(--dx-accent);
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .layout,
  .workspace {
    grid-template-columns: 1fr;
  }
  .steps,
  .workspace-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .steps button,
  .workspace-nav button {
    width: auto;
  }
  .steps small,
  .workspace-nav small {
    display: none;
  }
  header,
  .topbar {
    padding: 16px;
  }
  main {
    padding: 0 16px 32px;
  }
  h1 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Ana M manual v1.6: official typefaces and semantic brand roles. */
@font-face {
  font-family: 'Manrope';
  src: url('./brand/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./brand/DMSans.ttf') format('truetype');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --dx-bg: #f8fafc;
  --dx-ink: #283139;
  --dx-muted: #52636d;
  --dx-accent: #00525b;
  --brand: #00525b;
  --dx-accent: #00525b;
  --ink: #283139;
  --paper: #f8fafc;
  --dx-muted: #52636d;
}
body {
  font:
    16px/1.5 'DM Sans',
    system-ui,
    sans-serif;
  background: var(--dx-bg);
  color: var(--dx-ink);
}
h1,
h2,
h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}
input,
select,
textarea {
  font-size: 16px;
}
button,
.button {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  min-height: 44px;
  background: #00525b;
  color: white;
}
button.secondary {
  background: #00c2a7;
  color: #002244;
  border-color: #00c2a7;
}
header .brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
header .brand img {
  display: block;
  width: 120px;
  height: auto;
}
header .brand span {
  font:
    600 16px 'Manrope',
    system-ui,
    sans-serif;
  color: #00525b;
}
.brand-logo {
  display: block;
  width: 120px;
  height: auto;
}
.topbar .brand {
  gap: 20px;
}
.topbar h1 {
  color: #00525b;
}
.topbar .tagline {
  display: none;
}
:focus-visible {
  outline-color: #00525b !important;
}
.steps button[aria-pressed='true'],
.workspace-nav button[aria-pressed='true'] {
  color: #00525b;
  background: #e5f4f2;
}
.page {
  max-width: 1280px;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 12px;
  top: 4px;
  background: white;
  z-index: 100;
}

/* Shared guide geometry: task navigation beside readable content. */
header {
  justify-content: space-between;
}
.page,
.page.wide {
  width: 100%;
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 24px 48px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.docs-layout > .docs-navigation {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 20px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  gap: 4px;
}
.docs-navigation a {
  color: var(--dx-accent);
  padding: 10px 12px;
  border-radius: 10px;
}
.docs-navigation a[aria-current] {
  background: #e5f4f2;
  text-decoration: none;
  color: #00525b;
}
.docs-content {
  min-width: 0;
}
.docs-content > section:first-child {
  margin-top: 0;
}
.primary-link,
.primary-link:hover {
  background: #00525b;
  color: #fff;
}
.cards .meta {
  color: #00525b;
}
@media (max-width: 800px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-layout > .docs-navigation {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .page,
  .page.wide {
    padding: 0 16px 32px;
  }
}

.workspace-content,
.docs-content {
  min-width: 0;
}
.workspace {
  background: color-mix(in oklch, var(--dx-bg) 70%, white);
}
