/* FleetPanda docs chrome over Scalar.
 *
 * Quiet surfaces, hairlines and generous type, with the brand spent in one
 * place: the gradient at the top of a page. Scalar injects its stylesheet at
 * runtime, so tokens are declared on its mode classes and marked important.
 */
:root {
  --fp-bar: 60px;
  --scalar-custom-header-height: var(--fp-bar);
  --fp-orange: #FA6300;
  --fp-navy: #12213A;
  --fp-ease: cubic-bezier(.2, .7, .2, 1);

  --fp-bg: #FFFFFF;
  --fp-bg-soft: #F7F8FA;
  --fp-ink: #12213A;
  --fp-ink-2: #4F5B6D;
  --fp-ink-3: #7A8698;
  --fp-line: #E6E8EC;
  --fp-accent: #C94E00;
  --fp-bar-bg: rgba(255, 255, 255, .82);
  --fp-tint: rgba(250, 99, 0, .09);
  --fp-shadow: 0 1px 2px rgba(18, 33, 58, .05);
  --fp-shadow-lift: 0 2px 4px rgba(18, 33, 58, .04), 0 14px 32px -10px rgba(18, 33, 58, .16);
  --fp-shadow-pop: 0 2px 6px rgba(18, 33, 58, .06), 0 30px 60px -16px rgba(18, 33, 58, .26);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --fp-bg: #0B1322; --fp-ink: #F2F4F8; }
}
/* The chosen mode wins over the OS, once Scalar has set it. */
:root:has(body.light-mode) { color-scheme: light; background: #FFFFFF; }
:root:has(body.dark-mode) { color-scheme: dark; background: #0B1322; }
body.light-mode {
  color-scheme: light;
  --fp-bg: #FFFFFF;
  --fp-ink: #12213A;
}
body.dark-mode {
  color-scheme: dark;
  --fp-bg: #0B1322;
  --fp-bg-soft: #111C30;
  --fp-ink: #F2F4F8;
  --fp-ink-2: #A9B4C6;
  --fp-ink-3: #7B889C;
  --fp-line: #1E2B43;
  --fp-accent: #FF8A3D;
  --fp-bar-bg: rgba(11, 19, 34, .78);
  --fp-tint: rgba(255, 138, 61, .13);
  --fp-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --fp-shadow-lift: 0 2px 4px rgba(0, 0, 0, .25), 0 18px 36px -12px rgba(0, 0, 0, .55);
  --fp-shadow-pop: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 60px -16px rgba(0, 0, 0, .7);
}

:root, body.light-mode {
  --scalar-font: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif !important;
  --scalar-font-code: 'Source Code Pro', ui-monospace, Menlo, Monaco, monospace !important;
  --scalar-color-1: #12213A !important;
  --scalar-color-2: #4F5B6D !important;
  --scalar-color-3: #7A8698 !important;
  --scalar-color-accent: #C94E00 !important;
  --scalar-background-1: #FFFFFF !important;
  --scalar-background-2: #F7F8FA !important;
  --scalar-background-3: #EEF0F4 !important;
  --scalar-background-accent: rgba(250, 99, 0, .09) !important;
  --scalar-border-color: #E6E8EC !important;
  --scalar-sidebar-background-1: #FFFFFF !important;
  --scalar-sidebar-color-1: #12213A !important;
  --scalar-sidebar-color-2: #4F5B6D !important;
  --scalar-sidebar-border-color: #E6E8EC !important;
  --scalar-sidebar-item-active-background: transparent !important;
  --scalar-sidebar-color-active: #C94E00 !important;
  --scalar-sidebar-item-hover-background: #F4F5F7 !important;
  --scalar-sidebar-item-hover-color: #12213A !important;
  --scalar-sidebar-search-background: #FFFFFF !important;
  --scalar-sidebar-search-border-color: #E6E8EC !important;
  --scalar-sidebar-search-color: #4F5B6D !important;
  --scalar-sidebar-indent-border: transparent !important;
  --scalar-sidebar-indent-border-active: transparent !important;
  --scalar-sidebar-indent-border-hover: transparent !important;
  --scalar-button-1: #12213A !important;
  --scalar-button-1-color: #FFFFFF !important;
  --scalar-button-1-hover: #1B2E4D !important;
  --scalar-radius: 6px !important;
  --scalar-radius-lg: 10px !important;
  --scalar-bold: 600 !important;
}
/* Scalar's own method and code colours are pale (a yellow PATCH is 1.7:1); these clear 3:1 on the three light backgrounds, most 4.5:1. */
body.light-mode {
  --scalar-color-green: #0B7A4B !important;
  --scalar-color-red: #C4302B !important;
  --scalar-color-yellow: #946200 !important;
  --scalar-color-blue: #1F5FBF !important;
  --scalar-color-orange: #B84500 !important;
  --scalar-color-purple: #6B3FC4 !important;
}
body.dark-mode {
  --scalar-color-1: #F2F4F8 !important;
  --scalar-color-2: #A9B4C6 !important;
  --scalar-color-3: #7B889C !important;
  --scalar-color-accent: #FF8A3D !important;
  --scalar-background-1: #0B1322 !important;
  --scalar-background-2: #111C30 !important;
  --scalar-background-3: #1A2740 !important;
  --scalar-background-accent: rgba(255, 138, 61, .13) !important;
  --scalar-border-color: #1E2B43 !important;
  --scalar-sidebar-background-1: #0B1322 !important;
  --scalar-sidebar-color-1: #F2F4F8 !important;
  --scalar-sidebar-color-2: #A9B4C6 !important;
  --scalar-sidebar-border-color: #1E2B43 !important;
  --scalar-sidebar-item-active-background: transparent !important;
  --scalar-sidebar-color-active: #FF8A3D !important;
  --scalar-sidebar-item-hover-background: #131F35 !important;
  --scalar-sidebar-item-hover-color: #F2F4F8 !important;
  --scalar-sidebar-search-background: #111C30 !important;
  --scalar-sidebar-search-border-color: #1E2B43 !important;
  --scalar-sidebar-search-color: #A9B4C6 !important;
  --scalar-button-1: #F2F4F8 !important;
  --scalar-button-1-color: #0B1322 !important;
  --scalar-button-1-hover: #FFFFFF !important;
}

body {
  margin: 0;
  background: var(--fp-bg);
  color: var(--fp-ink);
  font-family: var(--scalar-font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- top bar ---------- */
.fp-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--fp-bar); box-sizing: border-box;
  display: flex; align-items: stretch; gap: 28px;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
  background: var(--fp-bar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--fp-line);
  font-size: 14px;
}
body { padding-top: var(--fp-bar); }
.fp-brand { display: flex; align-items: center; gap: 9px; flex: none; color: var(--fp-ink); text-decoration: none; font-weight: 650; font-size: 15px; letter-spacing: -.012em; }
.fp-brand img { width: 26px; height: 26px; display: block; }
.fp-brand em { font-style: normal; font-weight: 400; color: var(--fp-ink-3); }

.fp-tabs { display: flex; align-items: stretch; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.fp-tabs::-webkit-scrollbar { display: none; }
.fp-tabs a { position: relative; display: flex; align-items: center; color: var(--fp-ink-2); text-decoration: none; font-weight: 500; white-space: nowrap; transition: color .15s; }
.fp-tabs a { gap: 7px; }
.fp-tabs img { width: 18px; height: 18px; opacity: .72; transition: opacity .15s; }
.fp-tabs a:hover img, .fp-tabs a.on img { opacity: 1; }
.fp-tabs a:hover { color: var(--fp-ink); }
.fp-tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--fp-orange); transform: scaleX(0); transition: transform .22s var(--fp-ease); }
.fp-tabs a.on { color: var(--fp-ink); }
.fp-tabs a.on::after { transform: scaleX(1); }

.fp-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
.fp-search { display: flex; align-items: center; gap: 8px; width: 210px; height: 34px; padding: 0 8px 0 10px; margin-right: 8px; border: 1px solid var(--fp-line); border-radius: 8px; background: var(--fp-bg-soft); color: var(--fp-ink-3); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s; }
.fp-search:hover { border-color: var(--fp-ink-3); }
.fp-search span { flex: 1; text-align: left; }
.fp-search kbd { font: inherit; font-size: 11px; padding: 2px 5px; border-radius: 4px; border: 1px solid var(--fp-line); background: var(--fp-bg); }
.fp-ghost { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--fp-ink-2); font: inherit; font-weight: 500; cursor: pointer; transition: background .15s, color .15s; }
.fp-ghost:hover, .fp-ghost[aria-expanded="true"] { background: var(--fp-bg-soft); color: var(--fp-ink); }
.fp-ghost svg { display: block; transition: transform .2s var(--fp-ease); }
.fp-ghost[aria-expanded="true"] svg { transform: rotate(180deg); }
.fp-icon { width: 34px; padding: 0; justify-content: center; }
.fp-aa { font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
body.dark-mode .fp-sun, body:not(.dark-mode) .fp-moon { display: none; }
.fp-bar :focus-visible, #fp-page :focus-visible { outline: 2px solid var(--fp-orange); outline-offset: 2px; border-radius: 6px; }

.fp-pop { position: relative; }
.fp-panel { position: absolute; right: 0; top: calc(100% + 13px); width: 300px; box-sizing: border-box; padding: 6px; background: var(--fp-bg); border: 1px solid var(--fp-line); border-radius: 12px; box-shadow: var(--fp-shadow-pop); animation: fp-rise .16s var(--fp-ease); transform-origin: top right; }
.fp-panel[hidden] { display: none; }
@keyframes fp-rise { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
.fp-panel > a, .fp-panel > button { display: flex; align-items: flex-start; gap: 12px; width: 100%; box-sizing: border-box; padding: 10px; border: 0; border-radius: 8px; background: none; color: var(--fp-ink-2); text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: background .12s; }
.fp-panel > a:hover, .fp-panel > button:hover, .fp-panel > a:focus-visible, .fp-panel > button:focus-visible { background: var(--fp-bg-soft); }
.fp-panel > * > svg { flex: none; margin-top: 1px; color: var(--fp-ink-3); }
.fp-panel b { display: block; color: var(--fp-ink); font-weight: 550; font-size: 14px; }
.fp-panel small { display: block; margin-top: 2px; color: var(--fp-ink-3); font-size: 12.5px; line-height: 1.35; }
.fp-panel--size { width: 216px; padding: 12px; }
.fp-panel-label { display: block; margin-bottom: 10px; color: var(--fp-ink-3); font-size: 12px; font-weight: 500; }
.fp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 2px; border-radius: 8px; background: var(--fp-bg-soft); }
.fp-steps button { height: 34px; border: 0; border-radius: 6px; background: none; color: var(--fp-ink-2); font-family: inherit; font-weight: 500; cursor: pointer; }
.fp-steps button:nth-child(1) { font-size: 12px; } .fp-steps button:nth-child(2) { font-size: 14px; } .fp-steps button:nth-child(3) { font-size: 16px; } .fp-steps button:nth-child(4) { font-size: 19px; }
.fp-steps button.on { background: var(--fp-bg); color: var(--fp-ink); box-shadow: var(--fp-shadow); }

.fp-toast { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 10px; background: var(--fp-navy); color: #F2F4F8; font-size: 13px; box-shadow: var(--fp-shadow-pop); animation: fp-rise .18s var(--fp-ease); }
.fp-toast[hidden] { display: none; }
.fp-toast svg { color: #4ADE80; flex: none; }
.fp-toast code { font-family: var(--scalar-font-code); font-size: 12px; }

/* ---------- sidebar ---------- */
.t-doc__sidebar > div:first-child { display: none !important; } /* its search moved to the bar */
.darklight-reference { display: none !important; }              /* its switch moved to the bar */
.t-doc__sidebar > ul { padding: 20px 12px !important; }
.t-doc__sidebar .scalar-sidebar-indent { display: none !important; }
.t-doc__sidebar li > a, .t-doc__sidebar li > div > a { padding-block: 6px !important; transition: background .12s, color .12s; }
.t-doc__sidebar li ul li > a, .t-doc__sidebar li ul li > div > a { padding-left: 10px !important; }
.t-doc__sidebar [aria-current], .t-doc__sidebar a[aria-selected="true"] { font-weight: 550; }
li[data-sidebar-id$="/description/introduction"] { display: none !important; }

/* One app at a time. Its name is the sidebar's heading, not a collapsible row. */
li[data-sidebar-id*="/tag-group/"] { display: none !important; } /* the page shows the one being read */
li[data-sidebar-id*="/tag-group/"] > div > a { pointer-events: none; background: none !important; color: var(--fp-ink-3) !important; font-size: 12px; font-weight: 600; padding: 0 10px 8px !important; }
li[data-sidebar-id*="/tag-group/"] > div > button { display: none !important; }

/* An API group, then a resource when the group has more than one, then its operations in normal text. */
.t-doc__sidebar li[data-sidebar-id*="/tag/"] > div > a { margin-top: 10px; font-size: calc(20px * var(--fp-scale, 1)) !important; line-height: 1.25 !important; font-weight: 600; letter-spacing: -.012em; }
.t-doc__sidebar li[data-sidebar-id*="/tag/"] > div > a:not([aria-current]) { color: var(--fp-ink); }
.t-doc__sidebar li[data-sidebar-id*="/tag/"] > div > button { margin-top: 10px; }
.t-doc__sidebar li[data-fp-resource]::before { content: attr(data-fp-resource); display: block; padding: 14px 10px 4px 22px; font-size: calc(18px * var(--fp-scale, 1)); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--fp-ink); }
/* Each level steps in; a guide line runs beside the operations, and stops at the next resource heading. */
.t-doc__sidebar li[data-sidebar-id*="/tag/"] > ul > li > a { position: relative; margin-left: 34px; padding-left: 8px !important; border-radius: 8px; }
.t-doc__sidebar li[data-sidebar-id*="/tag/"] > ul > li > a::before { content: ''; position: absolute; left: -6px; top: -1px; bottom: -1px; width: 1px; background: var(--fp-line); pointer-events: none; }
.t-doc__sidebar li[data-sidebar-id*="/tag/"] > ul > li > a[aria-current] { background: var(--fp-tint); }

/* ---------- which sections show ---------- */
.introduction-section { display: none !important; }
body[data-fp-view="home"] .t-doc__sidebar { display: none !important; }
body[data-fp-view="home"] .references-layout { display: block !important; }
body[data-fp-view="home"] .t-doc__header, body[data-fp-view="home"] .references-header { display: none !important; }
body[data-fp-view="home"] .tag-section-container { display: none !important; }

/* ---------- reading ---------- */
.scalar-app h1, .scalar-app h2, .scalar-app h3,
.scalar-app .section-header, .scalar-app .tag-section-header, .scalar-app .operation-title {
  font-family: var(--scalar-font) !important;
  font-weight: 600;
  letter-spacing: -.016em;
}
/* A group, then an operation, then that operation's parts (Path Parameters, Responses). */
.scalar-app .section-header-label { font-size: calc(28px * var(--fp-scale, 1)) !important; letter-spacing: -.022em; }
.scalar-app h3.section-header-label { font-size: calc(22px * var(--fp-scale, 1)) !important; letter-spacing: -.016em; }
.scalar-app h4.section-header-label { font-size: calc(16px * var(--fp-scale, 1)) !important; font-weight: 600; letter-spacing: -.006em; }
.scalar-app .markdown { line-height: 1.65; }
.scalar-app .markdown p, .scalar-app .markdown li { color: var(--scalar-color-2); }
.scalar-app .scalar-card { border-radius: 10px !important; box-shadow: var(--fp-shadow); }
.scalar-app .section:not(.introduction-section) { border-color: var(--fp-line) !important; }

/* ---------- hero ---------- */
#fp-page { display: block; }
.section-container:has(> #fp-page) { padding: 0 !important; max-width: none !important; }
/* Scalar forces a nested .dark-mode on request and code cards, whatever the page's mode. */
body.dark-mode .scalar-app .dark-mode, body.dark-mode.scalar-app .dark-mode {
  --scalar-background-1: #12213A !important;
  --scalar-background-2: #1A2B47 !important;
  --scalar-background-3: #243655 !important;
  --scalar-border-color: #2A3B59 !important;
}
body.light-mode .dark-mode {
  color-scheme: light;
  --scalar-color-1: #12213A !important;
  --scalar-color-2: #4F5B6D !important;
  --scalar-color-3: #7A8698 !important;
  --scalar-color-accent: #C94E00 !important;
  --scalar-background-1: #FFFFFF !important;
  --scalar-background-2: #F7F8FA !important;
  --scalar-background-3: #EEF0F4 !important;
  --scalar-background-4: rgba(18, 33, 58, .06) !important;
  --scalar-background-accent: rgba(250, 99, 0, .09) !important;
  --scalar-border-color: #E6E8EC !important;
  --scalar-color-green: #0B7A4B !important;
  --scalar-color-red: #C4302B !important;
  --scalar-color-yellow: #946200 !important;
  --scalar-color-blue: #1F5FBF !important;
  --scalar-color-orange: #C94E00 !important;
  --scalar-color-purple: #6B3FC4 !important;
}
body[data-fp-hero="no"] #fp-page, body[data-fp-view="start"] #fp-page { display: none; }
.fp-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0E1A30; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%); }
.fp-hero-in { position: relative; z-index: 2; box-sizing: border-box; max-width: 780px; padding: 72px 60px 112px; }
.fp-hero--home .fp-hero-in { max-width: 1120px; margin-inline: auto; padding: 104px 40px 150px; }
.fp-hero h1 { margin: 0; font-size: calc(46px * var(--fp-scale, 1)); line-height: 1.06; font-weight: 650; letter-spacing: -.032em; color: #fff; }
.fp-hero--home h1 { font-size: calc(64px * var(--fp-scale, 1)); letter-spacing: -.04em; }
.fp-eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #FFB27A; }
.fp-lead { margin: 18px 0 0; max-width: 620px; font-size: calc(18px * var(--fp-scale, 1)); line-height: 1.5; color: rgba(255, 255, 255, .78); }
.fp-hero--home .fp-lead { font-size: calc(20px * var(--fp-scale, 1)); }

.fp-mesh { position: absolute; inset: 0; z-index: 0; }
.fp-mesh i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.fp-mesh i:nth-child(1) { width: 62%; aspect-ratio: 1; right: -16%; top: -70%; background: #FA6300; opacity: .92; animation: fp-a 22s ease-in-out infinite alternate; }
.fp-mesh i:nth-child(2) { width: 42%; aspect-ratio: 1; right: 22%; top: 8%; background: #E0306B; opacity: .5; animation: fp-b 28s ease-in-out infinite alternate; }
.fp-mesh i:nth-child(3) { width: 36%; aspect-ratio: 1; right: -8%; bottom: -60%; background: #FFB547; opacity: .72; animation: fp-c 25s ease-in-out infinite alternate; }
@keyframes fp-a { to { transform: translate(-9%, 12%) scale(1.08); } }
@keyframes fp-b { to { transform: translate(12%, -10%) scale(.92); } }
@keyframes fp-c { to { transform: translate(-14%, -12%) scale(1.1); } }
.fp-banner { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.has-banner::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 26, 48, .86), rgba(14, 26, 48, .25) 75%); }
.fp-tile img { width: 26px; height: 26px; object-fit: contain; }
/* App icons are drawn near-black, so they turn white on anything dark. */
body.dark-mode .fp-tile img, body.dark-mode .fp-tabs img, .fp-tile--glass img { filter: brightness(0) invert(1); }
.fp-route { position: absolute; top: 0; right: 0; width: 42%; height: 100%; z-index: 1; }
@media (max-width: 1100px) { .fp-route { display: none; } }
.fp-route path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.fp-route circle { fill: #fff; opacity: .9; }
.fp-route .fp-truck { fill: #fff; opacity: 1; filter: drop-shadow(0 0 7px #fff); }

/* ---------- landing and app pages ---------- */
.fp-body { box-sizing: border-box; max-width: 1120px; padding: 20px 60px 40px; }
body[data-fp-view="home"] .fp-body { margin-inline: auto; padding: 0 40px 96px; position: relative; z-index: 3; }
.fp-h { margin: 44px 0 16px; font-size: 15px; font-weight: 600; letter-spacing: -.008em; color: var(--fp-ink); }
.fp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.fp-cards--apps { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.fp-card { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--fp-line); border-radius: 12px; background: var(--fp-bg); box-shadow: var(--fp-shadow); color: inherit; text-decoration: none; transition: transform .2s var(--fp-ease), box-shadow .2s var(--fp-ease), border-color .2s; }
.fp-card:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-lift); border-color: transparent; }
.fp-card b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--fp-ink); }
.fp-card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--fp-ink-2); }
.fp-card--app { padding: 24px; }
.fp-card--app b { margin-top: 18px; font-size: 19px; letter-spacing: -.018em; }
.fp-card--app p { flex: 1; font-size: 14px; }
.fp-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--fp-ink-3); }
.fp-go { color: var(--fp-ink-3); display: flex; transition: transform .2s var(--fp-ease), color .2s; }
.fp-card:hover .fp-go { transform: translateX(3px); color: var(--fp-accent); }
.fp-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; background: var(--fp-tint); color: var(--fp-accent); align-self: flex-start; }
.fp-tile--glass { margin-bottom: 22px; background: rgba(255, 255, 255, .13); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.fp-facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--fp-line); }
.fp-facts dt { font-size: 12px; font-weight: 500; color: var(--fp-ink-3); }
.fp-facts dd { display: flex; align-items: center; gap: 6px; margin: 5px 0 0; font-size: 14px; color: var(--fp-ink); min-height: 26px; }
.fp-facts code { font-family: var(--scalar-font-code); font-size: 13px; word-break: break-all; }
.fp-copy { display: inline-flex; padding: 5px; border: 0; border-radius: 6px; background: none; color: var(--fp-ink-3); cursor: pointer; transition: background .12s, color .12s; }
.fp-copy:hover { background: var(--fp-bg-soft); color: var(--fp-ink); }

@media (prefers-reduced-motion: reduce) {
  .fp-mesh i { animation: none; }
  .fp-route .fp-truck { display: none; }
  .fp-card, .fp-card:hover { transform: none; transition: none; }
}

/* ---------- narrow ---------- */
@media (max-width: 1000px) {
  .fp-search { width: 34px; padding: 0; justify-content: center; margin-right: 0; border-color: transparent; background: none; }
  .fp-search span, .fp-search kbd { display: none; }
}
@media (max-width: 720px) {
  :root { --fp-bar: 104px; }
  .fp-bar { flex-wrap: wrap; align-items: center; gap: 0 12px; padding-inline: 16px 10px; align-content: flex-start; }
  .fp-brand { height: 56px; }
  .fp-actions { height: 56px; }
  .fp-tabs { order: 3; flex: 1 0 100%; height: 47px; gap: 20px; }
  .fp-panel { position: fixed; left: 12px; right: 12px; top: 58px; width: auto; }
  .fp-hero-in, .fp-hero--home .fp-hero-in { padding: 52px 20px 84px; }
  .fp-hero h1 { font-size: calc(36px * var(--fp-scale, 1)); }
  .fp-hero--home h1 { font-size: calc(44px * var(--fp-scale, 1)); }
  .fp-lead, .fp-hero--home .fp-lead { font-size: calc(16px * var(--fp-scale, 1)); }
  .fp-body, body[data-fp-view="home"] .fp-body { padding: 8px 16px 48px; }
  .fp-cards { grid-template-columns: 1fr; }
}

/* ---------- what stays out ---------- */
.scalar-app a[href*="scalar.com"],
.explore-scalar-pill, .explore-scalar-cta, .selected-client-action,
.generate-sdk-button, .agent-button-container, [class*="ask-agent"] { display: none !important; }

/* ---------- account ---------- */
.fp-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--fp-navy); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: box-shadow .15s; }
body.dark-mode .fp-avatar { background: #F2F4F8; color: #0B1322; }
.fp-avatar:hover, .fp-avatar[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--fp-tint); }
.fp-pop[hidden] { display: none; }
.fp-panel--account { width: 240px; }
.fp-who { padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--fp-line); }
.fp-who small { margin: 0 0 4px; }
.fp-who b { overflow-wrap: anywhere; }
.fp-panel--account > button svg { margin-top: 0; }
.fp-panel--account > button b { font-weight: 500; }

/* ---------- loading, unavailable ---------- */
.fp-notice { box-sizing: border-box; max-width: 440px; margin: 0 auto; padding: 120px 24px; text-align: center; color: var(--fp-ink-2); font-size: 15px; line-height: 1.5; }
.fp-notice p { margin: 0 0 16px; }
.fp-retry { height: 34px; padding: 0 16px; border: 1px solid var(--fp-line); border-radius: 8px; background: var(--fp-bg); color: var(--fp-ink); font: inherit; font-weight: 500; cursor: pointer; transition: background .15s; }
.fp-retry:hover { background: var(--fp-bg-soft); }
.fp-search[hidden] { display: none; }

/* ---------- sign-in ---------- */
body.fp-signin-page { min-height: 100vh; padding-top: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; background: radial-gradient(70% 46% at 50% 0, var(--fp-tint), transparent 70%), var(--fp-bg); }
.fp-signin-theme { position: fixed; top: 14px; right: 14px; }
.fp-signin { box-sizing: border-box; width: 100%; max-width: 400px; padding: 32px 24px 64px; text-align: center; }
.fp-signin-mark { width: 52px; height: 52px; display: block; margin: 0 auto 22px; }
.fp-signin h1 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.02em; color: var(--fp-ink); }
.fp-signin h1 em { font-style: normal; font-weight: 400; color: var(--fp-ink-3); }
.fp-signin-sub { margin: 10px 0 30px; font-size: 14.5px; line-height: 1.5; color: var(--fp-ink-2); }
.fp-signin form { text-align: left; }
.fp-signin label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--fp-ink-2); }
.fp-field { position: relative; }
.fp-field input { box-sizing: border-box; width: 100%; height: 44px; padding: 0 44px 0 14px; border: 1px solid var(--fp-line); border-radius: 10px; background: var(--fp-bg); color: var(--fp-ink); font: inherit; font-size: 15px; box-shadow: var(--fp-shadow); transition: border-color .15s, box-shadow .15s; }
.fp-field input:focus { outline: none; border-color: var(--fp-orange); box-shadow: 0 0 0 3px var(--fp-tint); }
.fp-field input[aria-invalid="true"] { border-color: var(--fp-accent); }
.fp-reveal { position: absolute; top: 5px; right: 5px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 7px; background: none; color: var(--fp-ink-3); cursor: pointer; transition: background .12s, color .12s; }
.fp-reveal:hover { background: var(--fp-bg-soft); color: var(--fp-ink); }
.fp-reveal .fp-eye-off, .fp-reveal.on .fp-eye { display: none; }
.fp-reveal.on .fp-eye-off { display: block; }
.fp-msg { min-height: 20px; margin: 10px 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--fp-accent); }
.fp-submit { width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--fp-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 550; cursor: pointer; transition: background .15s, opacity .15s; }
body.dark-mode .fp-submit { background: #F2F4F8; color: #0B1322; }
.fp-submit:hover { background: #1B2E4D; }
body.dark-mode .fp-submit:hover { background: #fff; }
.fp-submit:disabled { opacity: .6; cursor: default; }
.fp-signin :focus-visible, .fp-signin-theme:focus-visible { outline: 2px solid var(--fp-orange); outline-offset: 2px; border-radius: 8px; }
.fp-signin-noscript { margin: 0; text-align: center; color: var(--fp-ink-2); }
