/* Native developer surfaces: system fonts, no external assets or tracking. */
:root {
  font:
    16px/1.6 system-ui,
    sans-serif;
  color: #202b40;
  background: #f4f6fa;
  --dx-muted: #56647a;
  --line: #d9e0ec;
  --brand: #2454cf;
  --dark: #101725;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: var(--dark);
  color: #edf2ff;
  padding: 20px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 750;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span {
  color: #8facff;
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
nav a {
  color: #c9d5f1;
  text-decoration: none;
  font-size: 0.9rem;
}
nav a[aria-current] {
  color: var(--dx-accent);
  border-bottom: 0;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 12px;
  top: 4px;
  background: white;
  z-index: 9;
}
main {
  max-width: 1180px;
  margin: 36px auto;
  padding: 0 24px 64px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 12px 0 20px;
}
h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h3 {
  font-size: 1rem;
}
p {
  max-width: 80ch;
}
a {
  color: var(--brand);
}
.intro {
  max-width: 800px;
  margin-bottom: 28px;
}
.muted,
small {
  color: var(--dx-muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--brand);
}
section,
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin: 20px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.grid > .card {
  margin: 0;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}
.row > label {
  flex: 1;
  min-width: 180px;
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin: 12px 0;
}
input,
select,
textarea {
  font: inherit;
  font-size: 0.9rem;
  width: 100%;
  border: 1px solid #72849a;
  border-radius: 10px;
  background: white;
  color: #202b40;
  padding: 10px;
  margin-top: 5px;
}
textarea,
pre,
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
}
textarea {
  min-height: 110px;
  resize: vertical;
  tab-size: 2;
}
input[type='checkbox'] {
  width: auto;
  margin-right: 8px;
}
button,
.button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  background: var(--brand);
  border: 1px solid transparent;
  border-radius: 10px;
  color: white;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.secondary {
  background: #eef3ff;
  border-color: #cdd9f6;
  color: #244999;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #658bff;
  outline-offset: 3px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 2px 10px;
  font-size: 0.8rem;
}
.notice {
  padding: 14px 18px;
  border-left: 4px solid #d39b1c;
  background: #fff8e6;
  margin: 18px 0;
}
.success {
  border-color: #27846d;
  background: #edf9f4;
}
.error {
  border-color: #c33b46;
  background: #fff0f1;
}
.status {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}
.steps {
  align-self: start;
  position: sticky;
  top: 16px;
  margin: 0;
  padding: 16px;
}
.steps button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 5px 0;
  background: transparent;
  color: #304365;
}
.steps button[aria-pressed='true'] {
  background: #e9efff;
  color: #1d4fc7;
}
.steps small {
  display: block;
  padding: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 480px;
  overflow: auto;
  font-size: 0.82rem;
  line-height: 1.6;
  background: #111a2b;
  color: #e8eeff;
  border-radius: 10px;
  padding: 18px;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.recipe-description {
  margin-bottom: 20px;
}
.operation {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}
.request-meta {
  font-size: 0.8rem;
  color: var(--dx-muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.provider {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.provider strong {
  display: block;
}
.browser-output {
  max-height: 220px;
  overflow: auto;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  color: var(--dx-muted);
  font-size: 0.8rem;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .steps {
    position: static;
  }
  .steps button {
    display: inline-block;
    width: auto;
  }
  h1 {
    font-size: 2rem;
  }
  main {
    padding: 0 16px 40px;
  }
  section {
    padding: 18px;
  }
}
[hidden] {
  display: none !important;
}

/* 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);
}
