/* Shared by the standalone portal and Mini App; one reading layout. */
.docs-page { margin: 0; background: #0b1019; color: #eef3fb; font: 16px/1.65 Arial, sans-serif; color-scheme: dark; }
.docs-page *, .voice-docs *, .docs-dialog * { box-sizing: border-box; }
.docs-page a, .voice-docs a, .docs-dialog-footer a { color: #69b7ff; text-underline-offset: 3px; }
.docs-page a:hover, .voice-docs a:hover { color: #b4ddff; }
.docs-site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1160px; margin: auto; padding: 22px 28px; border-bottom: 1px solid #283647; }
.docs-site-header a { color: #f4f7fc; text-decoration: none; font-weight: 700; font-size: 18px; }
.docs-site-header a span { color: #80c7ff; margin-left: 8px; font-size: 13px; }
.docs-release { font-size: 12px; color: #a5b1c3; white-space: nowrap; }
.docs-release-meta { margin: 0 0 12px; color: #91a4bc; font: 12px/1.4 Arial,sans-serif; }
.docs-dialog-release { display: block; margin-top: 5px; }
.docs-page main { max-width: 1160px; margin: auto; padding: 28px; }
.voice-docs { color: #c5d0e0; font: 15px/1.7 Arial, sans-serif; text-align: left; overflow-wrap: anywhere; }
.voice-docs [hidden] { display: none !important; }
.voice-docs .docs-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.voice-docs .docs-button, .docs-dialog .docs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #426084; border-radius: 12px; background: #172539; color: #f2f7ff; font: 600 14px/1.4 Arial, sans-serif; text-decoration: none; cursor: pointer; box-shadow: none; }
.voice-docs .docs-button-primary { background: #0070df; border-color: #57aeff; color: #fff; }
.voice-docs .docs-button:disabled { opacity: .65; cursor: wait; }
.voice-docs .docs-files { border: 1px solid #2b3c53; border-radius: 12px; margin: 0 0 28px; padding: 0 14px; }
.voice-docs summary { min-height: 44px; cursor: pointer; padding: 10px 0; font-weight: 600; color: #e4eefb; }
.voice-docs .docs-files p { margin: 0 0 8px; font-size: 14px; }
.voice-docs .docs-files div { display: flex; gap: 4px 22px; flex-wrap: wrap; padding-bottom: 10px; }
.voice-docs .docs-files a { display: inline-flex; align-items: center; min-height: 44px; }
.voice-docs .docs-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; align-items: start; }
.voice-docs .docs-navigation { position: sticky; top: 20px; min-width: 0; }
.voice-docs .docs-navigation label { display: block; font-size: 13px; color: #b4c2d5; margin-bottom: 8px; }
.voice-docs .docs-search-row { display: flex; border: 1px solid #42516a; border-radius: 10px; background: #131e2e; overflow: hidden; }
.voice-docs [data-docs-search] { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.voice-docs [data-docs-reset] { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #c9dcf7; font: 24px/1 Arial,sans-serif; cursor: pointer; }
.voice-docs .docs-toc { margin-top: 16px; }
.voice-docs .docs-toc nav { display: flex; flex-direction: column; }
.voice-docs .docs-toc a { font-size: 14px; line-height: 1.45; min-height: 44px; display: flex; align-items: center; padding: 8px 10px; color: #b9cce4; border-left: 2px solid #314760; text-decoration: none; }
.voice-docs .docs-toc a:hover { background: #18293f; border-color: #5caeff; color: #fff; }
.voice-docs .docs-article { min-width: 0; }
.voice-docs h1 { color: #f4f7fc; font-size: clamp(24px, 3vw, 34px); line-height: 1.22; font-weight: 750; margin: 0 0 18px; letter-spacing: -.5px; }
.voice-docs h2 { color: #f1f6ff; font-size: 22px; line-height: 1.3; margin: 0 0 18px; font-weight: 700; scroll-margin-top: 20px; }
.voice-docs p { margin: 0 0 16px; }
.voice-docs strong { color: #f0f5fc; }
.voice-docs ul, .voice-docs ol { margin: 0 0 20px; padding-left: 24px; }
.voice-docs li { margin-bottom: 7px; }
.voice-docs .docs-section { margin-bottom: 36px; }
.voice-docs .docs-section + .docs-section { padding-top: 26px; border-top: 1px solid #28384d; }
.voice-docs code { color: #95d0ff; background: #172436; border-radius: 4px; padding: 2px 4px; font: .87em/1.6 Consolas,monospace; overflow-wrap: anywhere; }
.voice-docs .docs-code { position: relative; margin: 18px 0; border: 1px solid #35465e; border-radius: 12px; overflow: hidden; background: #0c1522; }
.voice-docs pre { margin: 0; padding: 18px; max-width: 100%; overflow-x: auto; tab-size: 2; white-space: pre; }
.voice-docs pre code { padding: 0; background: transparent; color: #d1e7fb; font-size: 13px; overflow-wrap: normal; }
.voice-docs .docs-code-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2c3b50; min-height: 44px; padding-left: 14px; color: #a7bad2; font-size: 12px; }
.voice-docs .docs-code-bar button { background: transparent; border: 0; border-left: 1px solid #35465e; min-height: 44px; padding: 8px 14px; font: 13px Arial,sans-serif; color: #94cdff; cursor: pointer; }
.voice-docs .docs-table { max-width: 100%; overflow-x: auto; margin: 18px 0; border: 1px solid #35465e; border-radius: 10px; }
.voice-docs table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.voice-docs th, .voice-docs td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid #2a394d; min-width: 130px; }
.voice-docs th { background: #18273b; color: #f2f6fc; }
.voice-docs tr:last-child td { border-bottom: 0; }
.voice-docs .docs-empty { padding: 20px; border: 1px solid #426084; border-radius: 12px; }
.voice-docs .docs-copy-status { min-height: 24px; font-size: 13px; color: #b0d9fc; }
.voice-docs :focus-visible, .docs-dialog :focus-visible, .docs-page :focus-visible { outline: 2px solid #8ac7ff; outline-offset: 3px; }
.docs-skip { position: absolute; left: 12px; top: -100px; background: #142b45; padding: 12px; z-index: 10; }
.docs-skip:focus { top: 12px; }
#modal-api-docs .docs-dialog { width: min(1040px,calc(100vw - 32px)); max-width: 1040px; height: min(900px,90dvh); max-height: 90dvh; padding: 0; display: flex; flex-direction: column; border: 1px solid #31597b; border-radius: 22px; background: #0f1826; overflow: hidden; }
.docs-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #2d4059; flex-shrink: 0; }
.docs-dialog-header h2 { color: #f5f8ff; font: 700 19px/1.3 Arial,sans-serif; margin: 5px 0 0; }
.docs-eyebrow { font: 600 10px/1.3 Arial,sans-serif; letter-spacing: 1px; color: #8dcaff; }
.docs-dialog .docs-close { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #425775; border-radius: 12px; background: #172539; color: #dceaff; font: 26px/1 Arial,sans-serif; cursor: pointer; }
.docs-dialog-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px; }
.docs-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; border-top: 1px solid #2d4059; flex-shrink: 0; font: 13px/1.4 Arial,sans-serif; }
.docs-dialog-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 761px) { .voice-docs .docs-toc summary { display: none; } .voice-docs .docs-toc:not([open]) > nav { display: flex; } }
@media (max-width: 760px) {
  .docs-page main { padding: 22px 18px; } .docs-site-header { padding: 18px; }
  .docs-site-header a { font-size: 16px; } .docs-release { font-size: 11px; }
  .voice-docs .docs-layout { display: block; } .voice-docs .docs-navigation { position: static; margin-bottom: 28px; }
  .voice-docs .docs-toc { border: 1px solid #3a4f6b; border-radius: 10px; padding: 0 12px; }
  .voice-docs .docs-toc nav { padding-bottom: 10px; } .voice-docs .docs-toc:not([open]) > nav { display: none; }
  .voice-docs h1 { font-size: 25px; } .voice-docs h2 { font-size: 21px; }
  .voice-docs .docs-tools { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .voice-docs .docs-button { padding-inline: 10px; font-size: 13px; }
  .voice-docs .docs-files { margin-bottom: 20px; }
  .voice-docs td:first-child { min-width: 110px; } .voice-docs th,.voice-docs td { padding: 10px; }
  #modal-api-docs .docs-dialog { width: 100%; height: calc(100dvh - var(--app-overlay-safe-top) - var(--app-overlay-safe-bottom)); max-height: calc(100dvh - var(--app-overlay-safe-top) - var(--app-overlay-safe-bottom)); border-radius: 18px; }
  .docs-dialog-header { padding: 12px 14px; } .docs-dialog-scroll { padding: 18px 14px; }
  .docs-dialog-footer { padding: 8px 14px; }
}
@media print { .docs-site-header,.docs-tools,.docs-files,.docs-navigation,.docs-code-bar,.docs-copy-status { display: none !important; } .docs-page,.voice-docs { background: white; color: black; } .voice-docs .docs-layout { display: block; } .voice-docs h1,.voice-docs h2,.voice-docs strong,.voice-docs code { color: black; } .voice-docs pre { white-space: pre-wrap; } }
.docs-copy-buffer { position: fixed; width: 1px; height: 1px; opacity: 0; left: 0; top: 0; }
