/* The Choreo Labs Docs theme (site/wso2-theme/ in the Platform repo). */

/* ---- fonts.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* The theme's font, Sora, for text and headings: the variable font's normal
   style (weights 100 to 800), one file per script, copied from
   @fontsource-variable/sora 5.3.0 (SIL Open Font License 1.1, fonts/OFL.txt).
   A browser loads only the files for the characters a page uses. */

/* sora-latin-ext-wght-normal */
@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/documentation/_platform/theme/v0/fonts/sora-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* sora-latin-wght-normal */
@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/documentation/_platform/theme/v0/fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Sora: the bar's and the Landing page's font (the Choreo Labs designs,
   2026-11). @fontsource-variable/sora 5.3.0, latin and latin-ext. */

/* sora-latin-ext-wght-normal */
@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/documentation/_platform/theme/v0/fonts/sora-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* sora-latin-wght-normal */
@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/documentation/_platform/theme/v0/fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---- theme.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* The Choreo Labs theme: every colour, type, radius, shadow and spacing
   value, keyed on Docusaurus's [data-theme], with Infima's --ifm-* mapped
   onto them. The theme's other stylesheets (chrome.css, api-reference.css,
   layouts.css, custom.css, nav-icons.css, code.css) read only these variables.

   Source: the Choreo Labs Docs designs (the Landing and article pages,
   2026-11) and choreolabs.com's tokens: navy #0b1633 text, orange #ff4600
   accents, #c43300 links, blue #1f4fff focus and current page, Sora for text
   and headings. Sizes are the designs' px on a 16px root, written in rem so
   text follows the reader's browser setting. Dark mode is the brand's deep
   navy. See spec/chrome-and-version-switching.md ("Theme and accessibility").

   WCAG 2.2 AA: test/contrast.test.mjs checks every text pair here in both
   modes, the focus ring at 3:1, and links at 3:1 from the text around them
   (links in running text are not underlined until hover or focus). Orange
   #ff4600 is 3.4:1 on white: in light mode it is for accents only (bars,
   dashes, arrows, chevrons); links use #c43300, the Action button is white
   on #d83b00. */

:root,
html[data-theme='light'] {
  /* Type */
  --wso2-font-family: 'Sora Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wso2-font-display: 'Sora Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wso2-font-mono: SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;

  /* Colours */
  --wso2-bg: #ffffff;
  --wso2-surface: #ffffff; /* dropdown panels and cards */
  --wso2-raised: #f4f6fa; /* the search field, the footer, tiles on hover */
  --wso2-text: #0b1633; /* navy: headings and running text */
  --wso2-text-strong: #0b1633; /* sidebar group labels */
  --wso2-text-muted: #5a6072;
  --wso2-text-faint: #8a93a6; /* placeholders and separators: never body text */
  --wso2-divider: rgba(11, 22, 51, 0.1);
  --wso2-border: rgba(11, 22, 51, 0.16); /* buttons, selectors, pagination, the Copy page menu */
  --wso2-border-hover: #0b1633; /* a hovered selector, button or card */
  --wso2-link: #c43300;
  --wso2-link-hover: #a32a00;
  --wso2-link-weight: 600; /* with the 3:1 from the text, the cue that marks a link */
  --wso2-accent: #ff4600; /* bars, dashes, arrows, chevrons: never text on white */
  --wso2-accent-strong: #d83b00; /* hover borders */
  --wso2-focus: #1f4fff;
  --wso2-on-accent: #0b1633;
  --wso2-action: #d83b00; /* the Action button */
  --wso2-action-hover: #c43300;
  --wso2-on-action: #ffffff;
  --wso2-hover: #f4f6fa;
  --wso2-selected: #eceef2; /* the current breadcrumb, badges */
  --wso2-active: #0b1633; /* the current page in the sidebar, the current menu row */
  --wso2-active-bg: #eaf6ff; /* their blue wash */
  --wso2-active-bar: #1f4fff; /* the bar at the current page's left edge */
  --wso2-card-border: rgba(11, 22, 51, 0.16);
  --wso2-table-border: rgba(11, 22, 51, 0.1);
  --wso2-table-head-bg: #f4f6fa;
  --wso2-code-bg: #0b1633; /* code blocks: navy in light mode, deeper in dark */
  --wso2-code-fg: #e6e9f0;
  --wso2-code-muted: #aeb6c6; /* code block title and buttons */
  --wso2-code-divider: rgba(255, 255, 255, 0.08);
  --wso2-code-hover: rgba(255, 255, 255, 0.08);
  /* Code block syntax colours (code.css), both modes: Oceanic Next, as
     prism-react-renderer ships it, each at least 4.5:1 on --wso2-code-bg. */
  --wso2-code-comment: #999999;
  --wso2-code-keyword: #c5a5c5;
  --wso2-code-string: #8dc891;
  --wso2-code-number: #5a9bcf;
  --wso2-code-boolean: #ff8b50;
  --wso2-code-tag: #fc929e;
  --wso2-code-builtin: #d8dee9;
  --wso2-code-function: #79b6f2;
  --wso2-code-variable: #d7deea;
  --wso2-code-class-name: #fac863;
  --wso2-nav-icon-color: #8a93a6; /* sidebar icons (nav-icons.css): muted, the same in every state */
  --wso2-code-inline-bg: #f4f6fa;
  --wso2-code-inline-fg: #0b1633;
  --wso2-code-inline-border: rgba(11, 22, 51, 0.1);
  --wso2-overlay: rgba(11, 22, 51, 0.48); /* behind the phone menu */
  --wso2-hint-ok: #1a6b43;
  --wso2-hint-missing: #b42318;
  --wso2-info-fg: #0b1633;
  --wso2-info-bg: #eef2ff;
  --wso2-info-border: #c9d5ff;
  --wso2-info-icon: #1f4fff;
  --wso2-warning-fg: #8f2400;
  --wso2-warning-bg: #fff3ed;
  --wso2-warning-border: #ffc7b0;
  --wso2-error-fg: #7a1f17;
  --wso2-error-bg: #fdeeec;
  --wso2-error-border: #f6c6c0;

  /* Admonitions: the designs' grey card with an uppercase label; each type
     has its own icon and label colour. */
  --wso2-admonition-bg: #f4f6fa;
  --wso2-admonition-border: rgba(11, 22, 51, 0.1);
  --wso2-admonition-note: #5a6072;
  --wso2-admonition-tip: #1a6b43;
  --wso2-admonition-info: #1f4fff;
  --wso2-admonition-warning: #8f2400;
  --wso2-admonition-danger: #b42318;

  /* The header: follows the colour mode, a little translucent over the page */
  --wso2-header-bg: #ffffff;
  --wso2-header-opacity: 92%;
  --wso2-kbd-bg: #ffffff; /* the Ctrl K keys */

  /* The Landing page: the dotted hero, then the product band, navy in both
     modes, the Solutions and Support bars, then the Learn band. Its content
     runs the full width between gutters of 6% of the window (24-120px), and
     the header and footer on it line up with that. */
  --wso2-landing-gutter: clamp(1.5rem, 6vw, 7.5rem);
  --wso2-landing-dot: #1f4fff; /* the hero's dots, drawn at 10-80% opacity */
  --wso2-landing-heading: #0b1633;
  --wso2-landing-lead: #5a6072; /* the hero's line */
  --wso2-landing-arrow: #c43300; /* arrows off the band */
  --wso2-landing-field-bg: #ffffff; /* the hero's search box */
  --wso2-landing-field-border: rgba(11, 22, 51, 0.1);
  --wso2-landing-field-text: #5a6072;
  --wso2-landing-chip-bg: #ffffff; /* the hero's search filters and popular links */
  --wso2-landing-chip-border: rgba(11, 22, 51, 0.1);
  --wso2-landing-chip-text: #0b1633;
  --wso2-landing-chip-hover: #0b1633; /* a hovered chip's border */
  --wso2-landing-chip-on-bg: #0b1633; /* a chosen filter */
  --wso2-landing-chip-on-text: #ffffff;
  --wso2-band-bg: #050a1c;
  --wso2-band-card: #0b1633;
  --wso2-band-card-border: rgba(255, 255, 255, 0.12);
  --wso2-band-card-hover: rgba(255, 255, 255, 0.5); /* a hovered card's border */
  --wso2-band-text: #ffffff;
  --wso2-band-text-muted: #d6dcea;
  --wso2-band-hover: #ff4600;
  --wso2-band-focus: #3d8bff;
  --wso2-learn-bg: #f4f6fa; /* the Learn, Community and Contribute band */
  --wso2-learn-border: transparent;
  --wso2-learn-text: #0b1633;
  --wso2-learn-label: #5a6072;
  --wso2-learn-hover: #8f2400;
  --wso2-glossary-mark: rgba(255, 70, 0, 0.16); /* the Glossary filter's matched words */

  /* The footer */
  --wso2-footer-bg: #f4f6fa;

  /* API reference method badges and the download button */
  --wso2-api-get: #1a6b43;
  --wso2-api-post: #0b5c86;
  --wso2-api-put: #8a4b00;
  --wso2-api-delete: #b42318;
  --wso2-api-other: #5a6072;
  --wso2-api-on-primary: #ffffff;

  /* Radius, shadows, spacing */
  --wso2-radius-xs: 4px;
  --wso2-radius-code: 5px; /* inline code */
  --wso2-radius-row: 8px; /* sidebar rows and menu rows */
  --wso2-radius: 8px;
  --wso2-radius-lg: 12px; /* dropdowns, cards, code blocks */
  --wso2-radius-xl: 16px;
  --wso2-radius-pill: 999px; /* the Action button, chips, feedback buttons */
  --wso2-shadow-sm: 0 2px 6px rgba(11, 22, 51, 0.06);
  --wso2-shadow-md: 0 8px 24px rgba(11, 22, 51, 0.09);
  --wso2-shadow-dropdown: 0 12px 40px rgba(11, 22, 51, 0.14), 0 2px 6px rgba(11, 22, 51, 0.06);
  --wso2-header-height: 56px;
  --wso2-header-padding: 24px;
  --wso2-sidebar-width: 284px;
  --wso2-toc-width: 232px;
  --wso2-content-max-width: 872px; /* 760px of text inside the padding */
  --wso2-content-padding: 56px;
  --wso2-phone-margin: 16px;
  /* Code blocks: 1rem at the sides (Infima's --ifm-pre-padding, one value,
     since Docusaurus computes with it), less above and below the code. */
  --wso2-code-padding: 1rem;
  --wso2-code-padding-block: 0.875rem;

  /* Motion (none under prefers-reduced-motion, below) */
  --wso2-hover-transition: color 0.12s, background-color 0.12s, border-color 0.12s;
  --wso2-chevron-transition: transform 0.2s;
  --wso2-drawer-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode: the brand's deep navy. Links are #f05a24 rather than the
   designs' #ff8a5c, which is 2.1:1 from the text: this keeps them 3:1 from
   it and every pair at AA. */
html[data-theme='dark'] {
  --wso2-bg: #050a1c;
  --wso2-surface: #070d22;
  --wso2-raised: #070d22;
  --wso2-text: #f2f4f7;
  --wso2-text-strong: #f2f4f7;
  --wso2-text-muted: #aeb6c6;
  --wso2-text-faint: #6f7a93;
  --wso2-divider: rgba(255, 255, 255, 0.1);
  --wso2-border: rgba(255, 255, 255, 0.16);
  --wso2-border-hover: #f2f4f7;
  --wso2-link: #f05a24;
  --wso2-link-hover: #ff7a45;
  --wso2-accent: #ff6e33;
  --wso2-accent-strong: #ff4600;
  --wso2-focus: #3d8bff;
  --wso2-on-accent: #050a1c;
  --wso2-action-hover: #c43300;
  --wso2-hover: #0e1630;
  --wso2-selected: #0e1630;
  --wso2-active: #f2f4f7;
  --wso2-active-bg: rgba(61, 139, 255, 0.14);
  --wso2-active-bar: #3d8bff;
  --wso2-card-border: rgba(255, 255, 255, 0.16);
  --wso2-table-border: rgba(255, 255, 255, 0.1);
  --wso2-table-head-bg: #070d22;
  --wso2-code-bg: #030714;
  --wso2-nav-icon-color: #6f7a93;
  --wso2-code-inline-bg: #0e1630;
  --wso2-code-inline-fg: #f2f4f7;
  --wso2-code-inline-border: rgba(255, 255, 255, 0.1);
  --wso2-overlay: rgba(0, 0, 0, 0.6);
  --wso2-hint-ok: #7fd1a3;
  --wso2-hint-missing: #f59a90;
  --wso2-info-fg: #dfe6ff;
  --wso2-info-bg: rgba(61, 139, 255, 0.1);
  --wso2-info-border: rgba(61, 139, 255, 0.35);
  --wso2-info-icon: #3d8bff;
  --wso2-warning-fg: #ffb594;
  --wso2-warning-bg: #1f120d;
  --wso2-warning-border: #5c2a14;
  --wso2-error-fg: #f8c9c3;
  --wso2-error-bg: #2c1513;
  --wso2-error-border: #5e2a24;
  --wso2-admonition-bg: #070d22;
  --wso2-admonition-border: rgba(255, 255, 255, 0.1);
  --wso2-admonition-note: #aeb6c6;
  --wso2-admonition-tip: #7fd1a3;
  --wso2-admonition-info: #7fb4ff;
  --wso2-admonition-warning: #ffb594;
  --wso2-admonition-danger: #f59a90;
  --wso2-header-bg: #050a1c;
  --wso2-kbd-bg: #070d22;
  --wso2-landing-dot: #5c80ff;
  --wso2-landing-heading: #ffffff;
  --wso2-landing-lead: #c9cfda;
  --wso2-landing-arrow: #ff4600;
  --wso2-landing-field-bg: rgba(255, 255, 255, 0.06);
  --wso2-landing-field-border: rgba(255, 255, 255, 0.22);
  --wso2-landing-field-text: rgba(255, 255, 255, 0.7);
  --wso2-landing-chip-bg: transparent;
  --wso2-landing-chip-border: rgba(255, 255, 255, 0.24);
  --wso2-landing-chip-text: #ffffff;
  --wso2-landing-chip-hover: #ffffff;
  --wso2-landing-chip-on-bg: #ffffff;
  --wso2-landing-chip-on-text: #0b1633;
  --wso2-learn-bg: #0b1633;
  --wso2-learn-border: rgba(255, 255, 255, 0.08);
  --wso2-learn-text: #ffffff;
  --wso2-learn-label: #d6dcea;
  --wso2-learn-hover: #ff4600;
  --wso2-glossary-mark: rgba(255, 110, 51, 0.3);
  --wso2-footer-bg: #030714;
  --wso2-api-get: #7fd1a3;
  --wso2-api-post: #8fd0f5;
  --wso2-api-put: #ffc266;
  --wso2-api-delete: #f59a90;
  --wso2-api-other: #aeb6c6;
  --wso2-api-on-primary: #050a1c;
  --wso2-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --wso2-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --wso2-shadow-dropdown: 0 12px 40px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Infima on the theme, in both modes (Infima's own html[data-theme='dark']
   rule would otherwise win over a :root mapping). */
:root,
html[data-theme='light'],
html[data-theme='dark'] {
  --ifm-color-primary: var(--wso2-link);
  --ifm-color-primary-dark: var(--wso2-link-hover);
  --ifm-color-primary-darker: var(--wso2-link-hover);
  --ifm-color-primary-darkest: var(--wso2-link-hover);
  --ifm-color-primary-light: var(--wso2-link);
  --ifm-color-primary-lighter: var(--wso2-link);
  --ifm-color-primary-lightest: var(--wso2-link);
  --ifm-background-color: var(--wso2-bg);
  --ifm-background-surface-color: var(--wso2-bg);
  --ifm-navbar-background-color: var(--wso2-header-bg);
  --ifm-footer-background-color: var(--wso2-footer-bg);
  --ifm-font-color-base: var(--wso2-text);
  --ifm-heading-color: var(--wso2-text);
  --ifm-link-color: var(--wso2-link);
  --ifm-link-hover-color: var(--wso2-link-hover);
  --ifm-link-decoration: none;
  --ifm-link-hover-decoration: none;
  --ifm-hover-overlay: var(--wso2-hover);
  --ifm-color-emphasis-100: var(--wso2-hover);
  --ifm-color-emphasis-300: var(--wso2-divider);
  --ifm-color-emphasis-700: var(--wso2-text-muted);
  --ifm-color-content-secondary: var(--wso2-text-muted);
  --ifm-font-family-base: var(--wso2-font-family);
  --ifm-heading-font-family: var(--wso2-font-display);
  --ifm-font-family-monospace: var(--wso2-font-mono);
  --ifm-font-size-base: 100%;
  --ifm-line-height-base: 1.75;
  --ifm-heading-font-weight: 600;
  --ifm-h1-font-size: 2.25rem;
  --ifm-h2-font-size: 1.5rem;
  --ifm-h3-font-size: 1.25rem;
  --ifm-h4-font-size: 1.0625rem;
  --ifm-global-radius: var(--wso2-radius);
  --ifm-global-shadow-md: var(--wso2-shadow-dropdown);
  --ifm-code-font-size: 0.875em;
  --ifm-code-background: var(--wso2-code-inline-bg);
  --ifm-code-border-radius: var(--wso2-radius-code);
  --ifm-code-padding-vertical: 1px;
  --ifm-code-padding-horizontal: 5px;
  --ifm-pre-background: var(--wso2-code-bg);
  --ifm-pre-color: var(--wso2-code-fg);
  --ifm-pre-border-radius: var(--wso2-radius-lg);
  --ifm-pre-line-height: 1.5;
  --ifm-pre-padding: var(--wso2-code-padding);
  --ifm-table-border-color: var(--wso2-table-border);
  --ifm-table-stripe-background: transparent;
  --ifm-table-head-background: var(--wso2-table-head-bg);
  --ifm-table-cell-padding: 0.625rem 0.875rem;
  --ifm-navbar-height: var(--wso2-header-height);
  --ifm-navbar-padding-vertical: 0;
  --ifm-navbar-padding-horizontal: var(--wso2-header-padding);
  --ifm-navbar-shadow: none;
  --ifm-navbar-link-color: var(--wso2-text);
  --ifm-navbar-link-hover-color: var(--wso2-text);
  --ifm-menu-color: var(--wso2-text-muted);
  --ifm-menu-color-active: var(--wso2-active);
  --ifm-menu-color-background-active: var(--wso2-active-bg);
  --ifm-menu-color-background-hover: var(--wso2-hover);
  --ifm-toc-border-color: var(--wso2-divider);
  --ifm-toc-link-color: var(--wso2-text-muted);
  --ifm-breadcrumb-item-background-active: var(--wso2-selected);
  --ifm-alert-border-left-width: 1px;
  --doc-sidebar-width: var(--wso2-sidebar-width);
}

/* Motion: every animation and transition is off for readers who ask for
   less. 1ms rather than none, so Docusaurus's collapsibles still get the
   transitionend event they finish on (as Docusaurus itself does). */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* ---- chrome.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Platform chrome: the header and its menus, notices, page feedback, footer
   and Landing. Reads only theme.css's variables;
   test/contrast.test.mjs checks every text pair built from them against
   WCAG 2.2 AA, in both colour modes. Add new text pairs to that test. */

.wso2-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 2px; }

/* ---- The header ---------------------------------------------------------- */
/* One sticky 56px bar that follows the colour mode, a little translucent over
   the page: the wordmark, the products button and version selector on the
   left; search, the colour-mode toggle and the Action button on the right. */
.navbar {
  background: color-mix(in srgb, var(--wso2-header-bg) var(--wso2-header-opacity), transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--wso2-text); border-bottom: 1px solid var(--wso2-divider); box-shadow: none;
  font-size: 0.875rem; font-weight: 400;
}
/* The open phone drawer is fixed to the viewport, which a backdrop filter
   on the header would make it fixed to instead. */
.navbar.navbar-sidebar--show { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--wso2-header-bg); }
.navbar__items { gap: 0.5rem; }
.navbar__items--right { gap: 0.25rem; }
.navbar__toggle { color: var(--wso2-text); }
/* The stock brand link is empty (no navbar.logo or title): the Brand item replaces it. */
a.navbar__brand:empty { display: none; }

/* The wordmark: the logo, then "Docs" as a third word, in the logo's text
   size (96% of its height) on its baseline (85% down). */
.wso2-brand {
  --wso2-logo-height: 20px;
  display: inline-flex; align-items: baseline; gap: calc(var(--wso2-logo-height) * 0.3);
  margin: 0 0.25rem 0 0; color: var(--wso2-text); line-height: 1; white-space: nowrap;
}
.wso2-brand:hover { color: var(--wso2-text); text-decoration: none; }
.wso2-brand__logo { display: block; width: auto; height: var(--wso2-logo-height); position: relative; top: calc(var(--wso2-logo-height) * 0.148); }
.wso2-brand__logo--dark { display: none; }
html[data-theme='dark'] .wso2-brand__logo--light { display: none; }
html[data-theme='dark'] .wso2-brand__logo--dark { display: block; }
.wso2-brand__text { font-size: calc(var(--wso2-logo-height) * 0.96); font-weight: 400; letter-spacing: -0.005em; }
/* A thin line between the wordmark and the selectors, where there are any. */
.navbar__items:has(.wso2-products) .wso2-brand { margin-right: 0.375rem; padding-right: 1rem; border-right: 1px solid var(--wso2-border); }

/* The products button and the version selector: outlined, 34px. */
.wso2-menu { position: relative; padding: 0; }
.wso2-menu__button {
  display: inline-flex; align-items: center; gap: 0.5rem; max-width: 22rem; height: 34px;
  padding: 0 0.75rem; border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius);
  background: none; color: var(--wso2-text);
  font: inherit; font-size: 0.875rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: var(--wso2-hover-transition);
}
summary.wso2-menu__button { list-style: none; }
summary.wso2-menu__button::-webkit-details-marker { display: none; }
.wso2-menu__button:hover, .wso2-menu__button[aria-expanded='true'], details[open] > .wso2-menu__button { border-color: var(--wso2-border-hover); }
.wso2-menu__button-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wso2-menu__icon { flex: none; }
.wso2-caret {
  width: 0.4rem; height: 0.4rem; border-style: solid; border-color: var(--wso2-text-muted); border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg); flex: none; transition: var(--wso2-chevron-transition);
}
.wso2-menu__button[aria-expanded='true'] .wso2-caret, details[open] > .wso2-menu__button .wso2-caret { transform: translateY(1px) rotate(-135deg); }

/* Dropdowns: panels with radius 12 and the raised shadow, rows that tint on
   hover; the current row is the blue wash. */
.wso2-menu__panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: calc(var(--ifm-z-index-fixed) + 1);
  min-width: 16.25rem; max-height: calc(100vh - var(--ifm-navbar-height) - 1.5rem); overflow-y: auto; padding: 0.375rem;
  background: var(--wso2-surface); color: var(--wso2-text); font-size: 0.875rem; font-weight: 400;
  border: 1px solid var(--wso2-divider); border-radius: var(--wso2-radius-lg); box-shadow: var(--wso2-shadow-dropdown);
}
.wso2-menu__panel[hidden] { display: none; }
.wso2-menu__group { padding: 0.25rem 0 0.375rem; }
.wso2-menu__group-label {
  margin: 0; padding: 0.375rem 0.625rem 0.125rem;
  font-size: 0.75rem; line-height: 1.3; font-weight: 600; color: var(--wso2-text-muted);
}
.wso2-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wso2-menu__link {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.625rem; border-radius: var(--wso2-radius-row);
  color: var(--wso2-text); font-weight: 500; line-height: 1.35; transition: var(--wso2-hover-transition);
}
.wso2-menu__link:hover { background: var(--wso2-hover); color: var(--wso2-text); text-decoration: none; }
/* The current one carries aria-current (a stable hook, the same specificity as a class). */
.wso2-menu__link[aria-current] { background: var(--wso2-active-bg); color: var(--wso2-active); font-weight: 600; }
.wso2-latest {
  margin-left: 0.5rem; padding: 0 0.5rem; border-radius: var(--wso2-radius-pill); background: var(--wso2-selected);
  color: var(--wso2-hint-ok); font-size: 0.6875rem; font-weight: 600;
}
.wso2-menu__muted { color: var(--wso2-text-muted); font-weight: 400; }
.wso2-hint { flex: none; font-size: 0.75rem; font-weight: 500; color: var(--wso2-text-muted); white-space: nowrap; }
.wso2-hint--same { color: var(--wso2-hint-ok); }
.wso2-hint--missing { color: var(--wso2-hint-missing); }
.wso2-badge, .wso2-chip-tag {
  margin-left: 0.4rem; padding: 0 0.5rem; font-size: 0.6875rem; font-weight: 600; line-height: 1.5; border: 1px solid var(--wso2-border);
  border-radius: var(--wso2-radius-pill); color: var(--wso2-text-muted); vertical-align: 1px;
}
.wso2-chip-tag { margin-left: 0; }
.wso2-menu__footer { border-top: 1px solid var(--wso2-divider); margin-top: 0.375rem; padding-top: 0.375rem; }
.wso2-menu__action {
  display: block; width: 100%; padding: 0.5rem 0.625rem; border: 0; border-radius: var(--wso2-radius-row);
  background: none; color: var(--wso2-link); font: inherit; font-weight: 600; text-align: left; cursor: pointer;
}
.wso2-menu__action:hover { color: var(--wso2-link-hover); background: var(--wso2-hover); }
.wso2-external { color: var(--wso2-text-muted); }

/* The products panel: the groups on the left, the chosen group's entries on
   the right. The chosen group is in the text colour with an orange dash. */
.wso2-products__panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  width: min(36.25rem, calc(100vw - 3rem)); padding: 0;
}
.wso2-products__groups { display: flex; flex-direction: column; gap: 2px; padding: 0.875rem 1.125rem 0.875rem 1.25rem; border-right: 1px solid var(--wso2-border); }
.wso2-products__group {
  display: flex; align-items: center; gap: 0.625rem; padding: 0.4375rem 0; border: 0; background: none;
  color: var(--wso2-text-muted); font: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1.35; text-align: left;
  cursor: pointer; transition: var(--wso2-hover-transition);
}
.wso2-products__group::after { content: ''; flex: none; width: 0; height: 2px; background: var(--wso2-accent); transition: width 0.2s; }
.wso2-products__group:hover { color: var(--wso2-text); }
.wso2-products__group[aria-selected='true'] { color: var(--wso2-text); font-weight: 600; }
.wso2-products__group[aria-selected='true']::after { width: 20px; }
.wso2-products__entries { min-width: 0; padding: 0.875rem 1.25rem; }
.wso2-products__pane[hidden] { display: none; }
.wso2-products__name {
  margin: 0; padding-bottom: 0.875rem; border-bottom: 1px solid var(--wso2-border);
  color: var(--wso2-text); font-size: 1.125rem; font-weight: 600; line-height: 1.3;
}
.wso2-products__desc { margin: 0.75rem 0 0; color: var(--wso2-text-muted); font-size: 0.875rem; line-height: 1.5; }
.wso2-products__list { display: flex; flex-direction: column; gap: 2px; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.wso2-products__link {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.4375rem 0;
  color: var(--wso2-text); font-size: 0.875rem; line-height: 1.35; transition: var(--wso2-hover-transition);
}
.wso2-products__link:hover { color: var(--wso2-link-hover); text-decoration: none; }
.wso2-products__link[aria-current] { font-weight: 600; }
.wso2-products__link[aria-current]::before {
  content: ''; flex: none; width: 6px; height: 6px; margin: 0 0.125rem 0 -0.875rem; border-radius: 50%; background: var(--wso2-accent);
}
/* Without JavaScript: every group's links, one group after another. */
.wso2-products__panel--all { display: block; width: min(24rem, calc(100vw - 3rem)); }
.wso2-products__panel--all .wso2-products__pane + .wso2-products__pane { margin-top: 1.5rem; }

/* Search: a quiet field in the header, a large box on the Landing hero. */
.wso2-search {
  display: inline-flex; align-items: center; gap: 0.625rem; width: 18.75rem; height: 36px; margin: 0;
  padding: 0 0.5rem 0 0.75rem; border: 1px solid var(--wso2-divider); border-radius: var(--wso2-radius);
  background: var(--wso2-raised); color: var(--wso2-text-muted); font: inherit; font-size: 0.875rem; cursor: pointer;
  transition: var(--wso2-hover-transition);
}
.wso2-search:hover { border-color: var(--wso2-border-hover); }
.wso2-search__icon { flex: none; color: var(--wso2-text-muted); }
.wso2-search__label { flex: 1; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.wso2-search__keys {
  padding: 1px 0.375rem; border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius-code);
  background: var(--wso2-kbd-bg); box-shadow: none; color: var(--wso2-text-muted); font: 600 0.6875rem var(--wso2-font-mono);
}
.wso2-search--hero {
  width: min(35rem, 100%); height: 52px; padding: 0 0.75rem 0 1rem; gap: 0.75rem;
  border-color: var(--wso2-border); border-radius: var(--wso2-radius-lg); background: var(--wso2-bg); font-size: 1rem;
}
.wso2-search--hero .wso2-search__keys { margin-left: auto; }

/* Icon buttons: the colour-mode toggle, 36px, tinting on hover. Each mode's
   icon shows from the page's [data-theme], before hydration too. */
.wso2-icon-button {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: var(--wso2-radius); background: none; color: var(--wso2-text-muted); cursor: pointer;
  transition: var(--wso2-hover-transition);
}
.wso2-icon-button:hover { background: var(--wso2-hover); color: var(--wso2-text); }
.navbar .wso2-mode-item { padding: 0; }
.wso2-mode__icon--dark { display: none; }
html[data-theme='dark'] .wso2-mode__icon--light { display: none; }
html[data-theme='dark'] .wso2-mode__icon--dark { display: block; }
/* Docusaurus's own toggle (three states) stays for its colour-mode script;
   ours replaces it, in the header and in the phone drawer. No Platform
   component uses clean-btn. */
.navbar__items--right > div:has(> button.clean-btn),
.navbar-sidebar__brand > div:has(> button.clean-btn) { display: none; }

/* The Action button: an icon and a short label on the action colour, a pill. */
.wso2-action {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 36px; margin-left: 0.25rem; padding: 0 1rem;
  border-radius: var(--wso2-radius-pill); background: var(--wso2-action); color: var(--wso2-on-action);
  font-size: 0.875rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: var(--wso2-hover-transition);
}
.wso2-action:hover { background: var(--wso2-action-hover); color: var(--wso2-on-action); text-decoration: none; }
.wso2-action__icon { flex: none; }
.wso2-action__icon * { fill: currentColor; }
.wso2-action__icon [stroke]:not([stroke='none']) { stroke: currentColor; }
.wso2-action--block { display: flex; justify-content: center; height: 44px; margin: 0; }

/* The phone drawer's own rows: the colour mode, the Action button. */
.wso2-drawer-row { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.25rem 0.25rem var(--ifm-menu-link-padding-horizontal); color: var(--wso2-text-muted); }
.wso2-drawer-action { padding: 0.75rem 0 0.25rem; }

/* Phones and tablets: two rows. The wordmark, a search icon and the menu
   button on the first; the products button and version selector, compact,
   on the second. The colour-mode toggle and the Action button are in the
   menu; the products panel and the version list span the header. */
@media (max-width: 996px) {
  :root, html[data-theme='light'], html[data-theme='dark'] { --wso2-header-height: 92px; }
  .navbar { height: var(--ifm-navbar-height); padding: 0.5rem var(--wso2-phone-margin); }
  .navbar__inner { flex-wrap: wrap; align-content: center; justify-content: flex-start; row-gap: 0.5rem; column-gap: 0.375rem; }
  .navbar__inner > .navbar__items { display: contents; }
  .navbar__inner::after { content: ''; order: 3; flex-basis: 100%; height: 0; }
  .navbar .wso2-brand, .navbar__items:has(.wso2-products) .wso2-brand { --wso2-logo-height: 18px; order: 0; margin-right: auto; padding-right: 0; border-right: 0; }
  /* Docusaurus places the search box absolutely on phones; here it is in the row. */
  .navbar__items--right > div:has(> .wso2-search) { order: 1; position: static; }
  /* Infima's toggle is display: inherit, which would be the contents above. */
  .navbar__toggle { display: flex; order: 2; margin: 0; }
  .navbar .wso2-products { order: 4; }
  .navbar .wso2-edition-dropdown { order: 5; }
  .navbar .wso2-mode-item, .navbar .wso2-action.navbar__item { display: none; }
  .navbar .wso2-menu.navbar__item { display: block; position: static; }
  .wso2-menu__button { height: 32px; padding: 0 0.625rem; gap: 0.375rem; font-size: 0.8125rem; }
  .wso2-products .wso2-menu__button { max-width: 14rem; }
  .wso2-menu__panel { left: var(--wso2-phone-margin); right: var(--wso2-phone-margin); width: auto; min-width: 0; top: calc(100% + 4px); }
  .wso2-products__panel { grid-template-columns: minmax(0, 1fr); width: auto; }
  .wso2-products__groups { padding: 0.625rem 1rem; border-right: 0; border-bottom: 1px solid var(--wso2-border); }
  .wso2-products__entries { padding: 0.625rem 1rem 0.625rem 1.5rem; }
  .navbar .wso2-search { width: 36px; padding: 0; justify-content: center; border-color: transparent; background: none; }
  .navbar .wso2-search .wso2-search__label, .navbar .wso2-search .wso2-search__keys { display: none; }
}

/* ---- Breadcrumb's section crumb ------------------------------------------ */
/* The sidebar is the Doc space's own tree (sidebar rows, custom.css); the
   section shows in the breadcrumb's first crumb. */
.wso2-crumb-section .breadcrumbs__link { color: var(--wso2-text-muted); }

/* ---- Sub Doc space lines ------------------------------------------------- */
/* The sidebar is the Doc space's own tree (sidebar rows, custom.css). A
   platform's sidebar ends with one line per sub Doc space: its name as a
   sidebar row, a small version pill beside it whose panel floats over the
   rows below (nothing moves when it opens), as wide as the line so it never
   goes past the sidebar's edges, and, for the one being read, its tree under
   it, with the sidebar's chevron after the pill to close and open it.
   [user decision 2026-11-02] [user decision 2026-11-18] [user decision 2026-11-20] */
/* The line, not the pill, places the panel: the open line's pill sits left
   of its chevron, where a panel right-aligned to it ran off the left edge. */
.wso2-sub__row { position: relative; display: flex; align-items: center; gap: 0.25rem; }
.wso2-sub__row > .wso2-sub__name { flex: 1 1 auto; min-width: 0; }
.wso2-sub__menu { flex: none; position: static; }
.wso2-sub__button {
  display: inline-flex; align-items: center; gap: 0.375rem; height: 26px; max-width: 9rem;
  padding: 0 0.5rem; border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius);
  background: var(--wso2-surface); color: var(--wso2-text); font: inherit; font-size: 0.75rem; font-weight: 600;
  line-height: 1; cursor: pointer; transition: var(--wso2-hover-transition);
}
.wso2-sub__button:hover, .wso2-sub__button[aria-expanded='true'] { border-color: var(--wso2-accent); color: var(--wso2-active); }
.wso2-sub__panel { left: 0; right: 0; top: calc(100% + 6px); min-width: 0; font-size: 0.875rem; }
.wso2-sub__panel .wso2-menu__group-label { border-bottom: 0; padding: 0.375rem 0.625rem 0.125rem; font-size: 0.75rem; color: var(--wso2-text-muted); }
.wso2-sub--open > .wso2-sub__row > .wso2-sub__name { font-weight: 600; color: var(--wso2-text-strong); }
.wso2-sub--open > .wso2-sub__row > .wso2-sub__name[aria-current='page'] { background: none; color: var(--wso2-text-strong); }
.wso2-sub__tree { margin-top: 0.125rem; }

/* ---- Announcement and Edition notices ---------------------------------- */
.wso2-announcement {
  display: flex; justify-content: center; align-items: center; gap: 1rem; padding: 0.5rem 1rem;
  background: var(--wso2-info-bg); color: var(--wso2-info-fg); font-size: 0.875rem;
}
.wso2-announcement__text { margin: 0; text-align: center; }
.wso2-announcement a, .wso2-notice a { color: inherit; text-decoration: underline; font-weight: 600; }
.wso2-announcement__dismiss, .wso2-notice__dismiss {
  border: 0; background: none; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 0 0.25rem;
}
.wso2-notices { margin-bottom: 1.25rem; display: grid; gap: 0.5rem; }
.wso2-notice {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem;
  border: 1px solid; border-radius: var(--wso2-radius); font-size: 0.875rem; line-height: 1.55;
}
.wso2-notice__body { flex: 1; }
.wso2-notice--info, .wso2-notice--switch { background: var(--wso2-info-bg); border-color: var(--wso2-info-border); color: var(--wso2-info-fg); }
.wso2-notice--warning { background: var(--wso2-warning-bg); border-color: var(--wso2-warning-border); color: var(--wso2-warning-fg); }
.wso2-notice--eol { background: var(--wso2-error-bg); border-color: var(--wso2-error-border); color: var(--wso2-error-fg); }
/* The notices only the browser knows (after a switch, the remembered-Edition
   offer) arrive after the page has drawn, so they float over the bottom
   corner, above Docusaurus's back-to-top button, and never push the article
   down. Their tint sits on the page's own background, as in the page area,
   since the dark tint is translucent. */
.wso2-notices--floating {
  position: fixed; right: 1.3rem; bottom: 5rem; z-index: var(--ifm-z-index-fixed);
  width: min(24rem, calc(100vw - 2.6rem)); margin: 0;
}
.wso2-notices--floating .wso2-notice {
  background: linear-gradient(var(--wso2-info-bg), var(--wso2-info-bg)), var(--wso2-bg);
  box-shadow: var(--wso2-shadow-dropdown);
  animation: wso2-notice-in 0.2s var(--wso2-drawer-easing);
}
@keyframes wso2-notice-in { from { opacity: 0; transform: translateY(0.5rem); } }

/* ---- End of page: feedback and page actions ---------------------------- */
.wso2-page-end { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--wso2-divider); }
.wso2-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.markdown .wso2-feedback p { margin: 0; }
.wso2-feedback__question { font-weight: 600; }
.wso2-feedback__buttons, .wso2-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wso2-feedback__reasons { display: grid; gap: 0.5rem; flex-basis: 100%; }
.wso2-button, .wso2-chip {
  padding: 0.3rem 0.9rem; border: 1px solid var(--wso2-border); border-radius: 999px;
  background: var(--wso2-bg); color: var(--wso2-text); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: var(--wso2-hover-transition);
}
.wso2-button:hover, .wso2-chip:hover { background: var(--wso2-hover); border-color: var(--wso2-border-hover); }
.wso2-page-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; }
.wso2-muted { color: var(--wso2-text-muted); }

/* ---- Footer ------------------------------------------------------------ */
/* Choreo Labs' logo, then the columns with uppercase titles and muted links,
   then the copyright and legal links over a line, on the raised grey. */
.wso2-footer {
  border-top: 1px solid var(--wso2-divider); background: var(--wso2-footer-bg); color: var(--wso2-text-muted);
  font-size: 0.875rem; line-height: 1.5;
}
.wso2-footer a { color: var(--wso2-text-muted); transition: var(--wso2-hover-transition); }
.wso2-footer a:hover { color: var(--wso2-link-hover); text-decoration: none; }
.wso2-footer ul { list-style: none; margin: 0; padding: 0; }
.wso2-footer__inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 2rem;
  max-width: 90rem; margin: 0 auto; padding: 3rem var(--wso2-header-padding) 2rem;
}
.wso2-footer a.wso2-footer__logo { align-self: start; }
.wso2-footer__mark { display: block; width: auto; height: 22px; }
.wso2-footer__mark--dark { display: none; }
html[data-theme='dark'] .wso2-footer__mark--light { display: none; }
html[data-theme='dark'] .wso2-footer__mark--dark { display: block; }
.wso2-footer__title { margin: 0 0 0.875rem; color: var(--wso2-text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.wso2-footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.wso2-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  max-width: 90rem; margin: 0 auto; padding: 1.125rem var(--wso2-header-padding) 1.75rem;
  border-top: 1px solid var(--wso2-divider); font-size: 0.8125rem;
}
.wso2-footer__bottom p { margin: 0 auto 0 0; }
.wso2-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
/* "Cookie settings" opens the consent tool's preference center: a button drawn as the row's links. */
.wso2-footer__button { padding: 0; border: 0; background: none; color: var(--wso2-text-muted); font: inherit; cursor: pointer; transition: var(--wso2-hover-transition); }
.wso2-footer__button:hover { color: var(--wso2-link-hover); }
@media (max-width: 760px) {
  .wso2-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; padding: 2.25rem var(--wso2-phone-margin) 1.5rem; gap: 1.5rem; }
  .wso2-footer__logo { grid-column: 1 / -1; }
  .wso2-footer__bottom { padding: 1.125rem var(--wso2-phone-margin) 1.5rem; }
}

/* ---- Landing ----------------------------------------------------------- */
/* A search-first hero on the page background with blue dots behind it, then
   the navy product band (navy in both modes), the Solutions and Support bars
   and the Learn band with the Learn, Community and Contribute columns. Its
   content runs the full width between the landing gutters, and the header and
   footer on this page line up with it. */
.wso2-landing { color: var(--wso2-text); }
html:has(.wso2-landing) .navbar {
  padding-left: var(--wso2-landing-gutter);
  padding-right: var(--wso2-landing-gutter);
}
html:has(.wso2-landing) .navbar .wso2-brand { --wso2-logo-height: 25px; }
html:has(.wso2-landing) .wso2-footer__inner, html:has(.wso2-landing) .wso2-footer__bottom {
  max-width: none;
  padding-left: var(--wso2-landing-gutter);
  padding-right: var(--wso2-landing-gutter);
}
.wso2-hero-band { position: relative; overflow: hidden; }
.wso2-hero__dots {
  position: absolute; top: 0; right: 0; bottom: 0; left: 48%; width: 52%; height: 100%; pointer-events: none;
  color: var(--wso2-landing-dot);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40%); mask-image: linear-gradient(to right, transparent, black 40%);
}
.wso2-hero { position: relative; z-index: 1; padding: clamp(3rem, 5vw, 4.5rem) var(--wso2-landing-gutter) 1.75rem; }
.wso2-hero__title {
  margin: 0; font-family: var(--wso2-font-display); font-size: clamp(2.5rem, 4.3vw, 4.5rem); line-height: 1.06; font-weight: 600;
  letter-spacing: -0.045em; color: var(--wso2-landing-heading);
}
.wso2-hero__text {
  max-width: 40rem; margin: 1.5rem 0; color: var(--wso2-landing-lead);
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.65;
}
.wso2-landing .wso2-search--hero {
  width: min(40rem, 100%); height: 48px; padding: 0 0.875rem 0 1.125rem; font-size: 0.875rem; border-color: var(--wso2-landing-field-border); background: var(--wso2-landing-field-bg); color: var(--wso2-landing-field-text);
}
.wso2-landing .wso2-search--hero:hover { border-color: var(--wso2-landing-chip-hover); }
.wso2-landing .wso2-search--hero .wso2-search__icon { color: var(--wso2-landing-field-text); }
.wso2-landing .wso2-search--hero .wso2-search__keys { border-color: var(--wso2-landing-field-border); background: transparent; color: var(--wso2-landing-field-text); }
/* The chips under the search box: two rows tall at least (2 × 32px and the
   8px between), so the hero keeps its height with one row or none. */
.wso2-hero__chips { min-height: 4.5rem; margin-top: 1.75rem; }
.wso2-popular ul { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 51.25rem; margin: 0; padding: 0; list-style: none; }
.wso2-landing .wso2-hero-filters { max-width: 51.25rem; margin: 0; }
.wso2-popular a, .wso2-landing .wso2-hero-filters .wso2-search-chip {
  display: inline-flex; align-items: center; height: 2rem; padding: 0 0.875rem; border: 1px solid var(--wso2-landing-chip-border); border-radius: var(--wso2-radius-pill);
  background: var(--wso2-landing-chip-bg); color: var(--wso2-landing-chip-text); font-size: 0.8125rem; font-weight: 500; transition: var(--wso2-hover-transition);
}
.wso2-popular a:hover, .wso2-landing .wso2-hero-filters .wso2-search-chip:hover { border-color: var(--wso2-landing-chip-hover); color: var(--wso2-landing-chip-text); text-decoration: none; }
.wso2-landing .wso2-hero-filters .wso2-search-chip[aria-pressed='true'] {
  border-color: var(--wso2-landing-chip-on-bg); background: var(--wso2-landing-chip-on-bg); color: var(--wso2-landing-chip-on-text); font-weight: 600;
}
.wso2-landing .wso2-hero-filters__cloud { border-right-color: var(--wso2-landing-chip-border); }
.wso2-dash { display: block; width: 40px; height: 3px; margin-bottom: 1.375rem; background: var(--wso2-accent); }
.wso2-arrow { color: var(--wso2-landing-arrow); font-weight: 500; }

.wso2-band { background: var(--wso2-band-bg); color: var(--wso2-band-text); }
.wso2-band :focus-visible { outline-color: var(--wso2-band-focus); }
.wso2-band__inner { padding: 4.5rem var(--wso2-landing-gutter); }
.wso2-band__title, .wso2-bar__head h2 {
  margin: 0 0 2rem; font-family: var(--wso2-font-display); font-size: clamp(2rem, 3.8vw, 3.75rem); font-weight: 600;
  letter-spacing: -0.045em; line-height: 1; color: inherit;
}
.wso2-band__title { margin-bottom: 5rem; }
.wso2-bar__head h2 { color: var(--wso2-landing-heading); }
.wso2-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
/* A Category's card: its title links to its Cloud Doc space or first entry,
   with an arrow; the rest of its entries are rows between lines, each with
   its arrow. A card with no rows is one link, all of it, and a card with
   rows takes two rows of the grid. */
.wso2-family {
  position: relative; display: flex; flex-direction: column; gap: 0.625rem; padding: 1.5rem;
  border: 1px solid var(--wso2-band-card-border); border-radius: var(--wso2-radius-lg); background: var(--wso2-band-card);
  transition: var(--wso2-hover-transition);
}
.wso2-family:not(.wso2-family--link) { grid-row: span 2; }
.wso2-family:hover { border-color: var(--wso2-band-card-hover); }
.wso2-family__title {
  margin: 0; font-family: var(--wso2-font-display); font-size: 1rem; font-weight: 600; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--wso2-band-text);
}
.wso2-family__title a { display: inline-flex; align-items: baseline; gap: 0.5rem; color: var(--wso2-band-text); }
.wso2-family__title a:hover { color: var(--wso2-band-text); text-decoration: none; }
.wso2-family--link .wso2-family__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.wso2-family__go { color: var(--wso2-band-hover); transition: transform 0.2s; }
.wso2-family:hover .wso2-family__title .wso2-family__go { transform: translateX(4px); }
.wso2-family__text { margin: 0; color: var(--wso2-band-text-muted); font-size: 0.875rem; line-height: 1.5; }
.wso2-family__list { margin-top: auto; padding-top: 0.75rem; }
.wso2-family__label {
  display: block; margin-bottom: 0.375rem; color: var(--wso2-band-text-muted);
  font-size: 0.75rem; font-weight: 600; line-height: 1.6; letter-spacing: 0.06em; text-transform: uppercase;
}
.wso2-family ul { margin: 0; padding: 0; border-top: 1px solid var(--wso2-band-card-border); list-style: none; }
.wso2-family li { border-bottom: 1px solid var(--wso2-band-card-border); }
.wso2-family li a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0;
  color: var(--wso2-band-text); font-size: 0.875rem; font-weight: 500; line-height: 1.5; transition: var(--wso2-hover-transition);
}
.wso2-family li a:hover { color: var(--wso2-band-hover); text-decoration: none; }
.wso2-family li a:hover .wso2-family__go { transform: translateX(4px); }

.wso2-landing__more { padding: 4.5rem var(--wso2-landing-gutter); }
.wso2-landing__more:empty { display: none; }
.wso2-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem 4rem; align-items: center;
  padding: 2.25rem 0; border-bottom: 1px solid var(--wso2-divider);
}
.wso2-bar:first-child { padding-top: 0; }
.wso2-bar__head .wso2-dash { margin-bottom: 1rem; }
.wso2-bar__head h2 { margin-bottom: 0.5rem; }
.wso2-bar__head p { margin: 0; color: var(--wso2-text-muted); font-size: 0.9375rem; }
.wso2-bar__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.wso2-tile {
  display: flex; gap: 0.875rem; align-items: flex-start; height: 100%; padding: 1.25rem;
  border: 1px solid var(--wso2-divider); border-radius: var(--wso2-radius-lg); color: var(--wso2-text); transition: var(--wso2-hover-transition);
}
.wso2-tile:hover { border-color: var(--wso2-border-hover); background: var(--wso2-raised); color: var(--wso2-text); text-decoration: none; }
.wso2-tile__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px;
  border-radius: 10px; background: var(--wso2-raised); color: var(--wso2-text);
}
.wso2-tile:hover .wso2-tile__icon { background: var(--wso2-bg); }
.wso2-tile__icon svg * { fill: currentColor; }
.wso2-tile__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.wso2-tile__label { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.wso2-tile__text { color: var(--wso2-text-muted); font-size: 0.875rem; line-height: 1.5; }
.wso2-landing__note {
  margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--wso2-divider);
  color: var(--wso2-text-muted); font-size: 0.875rem; line-height: 1.5;
}
.wso2-landing__note:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.wso2-bar + .wso2-landing__note { border-top: 0; margin-top: 0; padding-top: 2.25rem; }
.wso2-landing__note a { font-weight: 600; white-space: nowrap; }
.wso2-learn { padding: 4.5rem var(--wso2-landing-gutter); border-top: 1px solid var(--wso2-learn-border); background: var(--wso2-learn-bg); color: var(--wso2-learn-text); }
.wso2-landing__columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.wso2-column__title {
  margin: 0 0 0.875rem; color: var(--wso2-learn-label); font-family: var(--wso2-font-family);
  font-size: 0.75rem; font-weight: 600; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase;
}
.wso2-column ul { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; list-style: none; line-height: 1.5; }
.wso2-column a { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--wso2-learn-text); font-size: 0.875rem; font-weight: 500; transition: var(--wso2-hover-transition); }
.wso2-column a:hover { color: var(--wso2-learn-hover); text-decoration: none; }
.wso2-column__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--wso2-learn-text); }
.wso2-column__icon svg * { fill: currentColor; }
/* The Glossary (site/src/components/chrome/Glossary.js): one reading column;
   each term a two-column row, the term left and its definition right, stacked
   on phones; the term a link opens carries the orange bar. */
.wso2-glossary { box-sizing: border-box; width: 100%; min-width: 0; max-width: 1040px; margin: 0 auto; padding: 3rem var(--wso2-landing-gutter) 4.5rem; }
.wso2-glossary [hidden] { display: none; }
.wso2-glossary__head h1 {
  margin: 0.75rem 0; color: var(--wso2-text-strong); font-family: var(--wso2-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.15;
}
.wso2-glossary__lede { max-width: 46rem; margin: 0 0 1.75rem; color: var(--wso2-text-muted); font-size: 1rem; line-height: 1.6; }
.wso2-glossary__filter { position: relative; max-width: 30rem; margin: 0 0 0.5rem; }
.wso2-glossary__filter svg { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); color: var(--wso2-text-muted); pointer-events: none; }
.wso2-glossary__filter input {
  box-sizing: border-box; width: 100%; height: 2.75rem; padding: 0 1rem 0 2.6rem;
  border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius-pill); background: var(--wso2-bg);
  color: var(--wso2-text); font: inherit; font-size: 0.9375rem;
}
.wso2-glossary__filter input::placeholder { color: var(--wso2-text-muted); }
.wso2-glossary__filter input:hover { border-color: var(--wso2-border-hover); }
.wso2-glossary__filter input:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 1px; border-color: transparent; }
.wso2-glossary__status { min-height: 1.25rem; margin: 0 0 1rem; color: var(--wso2-text-muted); font-size: 0.8125rem; }
.wso2-glossary__jump ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.wso2-glossary__jump a {
  display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius-pill);
  color: var(--wso2-text); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; transition: var(--wso2-hover-transition);
}
.wso2-glossary__jump a:hover { border-color: var(--wso2-border-hover); color: var(--wso2-link-hover); text-decoration: none; }
.wso2-glossary__jump a.wso2-glossary__pill--empty { opacity: 0.45; pointer-events: none; }
.wso2-glossary__count { margin-left: 0.4rem; color: var(--wso2-text-muted); font-weight: 500; }
.wso2-glossary__section { margin-top: 3rem; }
.wso2-glossary__section h2 {
  display: flex; align-items: baseline; gap: 0.5rem; margin: 0 0 0.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--wso2-divider); color: var(--wso2-text-strong); font-family: var(--wso2-font-display);
  font-size: 1.5rem; letter-spacing: -0.02em; scroll-margin-top: 5rem;
}
.wso2-glossary dl { margin: 0; }
.wso2-glossary__term {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 2.5rem;
  margin: 0 -0.75rem; padding: 1.25rem 0.75rem; border-bottom: 1px solid var(--wso2-divider); border-radius: 6px; scroll-margin-top: 5rem;
}
.wso2-glossary__term:target { background: var(--wso2-selected); box-shadow: inset 3px 0 0 var(--wso2-accent); }
.wso2-glossary__term dt { margin: 0; color: var(--wso2-text-strong); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }
.wso2-glossary__term dd { margin: 0; color: var(--wso2-text); font-size: 0.9375rem; line-height: 1.65; }
.wso2-glossary__term dd p { margin: 0; }
.wso2-glossary__term dd p + p { margin-top: 0.5rem; }
.wso2-glossary__type {
  display: block; margin-top: 0.35rem; color: var(--wso2-text-muted);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.wso2-glossary__anchor { margin-left: 0.35rem; color: var(--wso2-text-muted); font-weight: 400; opacity: 0; transition: opacity 0.15s; }
.wso2-glossary__anchor:hover { text-decoration: none; }
.wso2-glossary__term:hover .wso2-glossary__anchor, .wso2-glossary__section h2:hover .wso2-glossary__anchor, .wso2-glossary__anchor:focus-visible { opacity: 1; }
.wso2-glossary mark { padding: 0 1px; border-radius: 2px; background: var(--wso2-glossary-mark); color: inherit; }
.wso2-glossary__empty { margin: 3rem 0 0; color: var(--wso2-text-muted); }
.wso2-glossary__empty button { padding: 0; border: 0; background: none; color: var(--wso2-link); font: inherit; font-weight: 600; cursor: pointer; }
.wso2-glossary__empty button:hover { color: var(--wso2-link-hover); text-decoration: underline; }
@media (max-width: 760px) {
  .wso2-glossary__term { grid-template-columns: minmax(0, 1fr); row-gap: 0.4rem; }
  .wso2-glossary__type { display: inline-block; margin: 0 0 0 0.5rem; }
  .wso2-glossary__jump { margin: 0 calc(-1 * var(--wso2-landing-gutter)); overflow-x: auto; scrollbar-width: none; }
  .wso2-glossary__jump ul { flex-wrap: nowrap; width: max-content; padding: 0 var(--wso2-landing-gutter) 0.25rem; }
}
@media (max-width: 1199px) {
  .wso2-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wso2-catalog { grid-template-columns: minmax(0, 1fr); }
  .wso2-hero__dots { left: 20%; width: 80%; opacity: 0.55; }
  .wso2-band__inner, .wso2-landing__more, .wso2-learn { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .wso2-bar { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 0; }
  .wso2-bar__tiles, .wso2-landing__columns { grid-template-columns: minmax(0, 1fr); }
  .wso2-landing__columns { gap: 1.5rem; }
}

/* The 404 page (NotFound/Content), after choreolabs.com's: a large 404, one
   heading, one line, a search button that opens the pop-up, and a pill to the
   docs home. */
.wso2-not-found {
  display: flex; flex-direction: column; align-items: center; max-width: 40rem; padding: 4.5rem 1rem 6rem; text-align: center;
}
.wso2-not-found__code {
  margin: 0; color: var(--wso2-action); font: 700 clamp(5rem, 14vw, 8rem) / 1 var(--wso2-font-display); letter-spacing: -0.04em;
}
.wso2-not-found__title { margin: 1.5rem 0 0.75rem; font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.wso2-not-found__text { margin: 0 0 2rem; color: var(--wso2-text-muted); }
.wso2-not-found__search { margin: 0 0 1.5rem; cursor: text; }
.wso2-not-found__home { height: 44px; margin: 0; padding: 0 1.75rem; font-size: 1rem; }

/* ---- api-reference.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* `layout: api-reference` pages: the API's own navigation on the left,
   operations in the middle, request and response samples on the right.
   Reads only theme.css's variables; the method badges' colours there meet
   WCAG 2.2 AA in both modes (checked by test/api-reference.test.mjs). */

/* Full width: the API page has no Edition sidebar and no TOC column. */
html.wso2-api-page main .container { max-width: none; }
html.wso2-api-page .theme-doc-breadcrumbs { margin-bottom: 0.5rem; }

.wso2-api {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2.5rem;
}

.wso2-api__nav {
  position: sticky;
  top: calc(var(--ifm-navbar-height) + 1rem);
  align-self: start;
  max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
  overflow-y: auto;
  font-size: 0.85rem;
  border-right: 1px solid var(--wso2-divider);
  padding-right: 0.75rem;
}
.wso2-api__nav ul { list-style: none; padding-left: 0; margin: 0; }
.wso2-api__nav ul ul { padding-left: 0.5rem; margin-bottom: 0.5rem; }
.wso2-api__nav li { margin: 0; }
.wso2-api__nav p { margin: 0; }
.wso2-api__nav > div > ul > li > p > a { font-weight: 600; display: block; padding: 0.3rem 0; }
.wso2-api__nav ul ul a { display: flex; gap: 0.4rem; align-items: baseline; padding: 0.15rem 0; color: var(--wso2-text); }
.wso2-api__nav a:hover { color: var(--wso2-link-hover); text-decoration: none; }
/* Each contents link is at least 24px tall (WCAG 2.2 2.5.8, target size). */
.wso2-api__nav a { display: block; min-height: 24px; }
.wso2-api__nav ul ul a { align-items: center; }
.wso2-api__back { display: block; font-weight: 600; margin-bottom: 0.75rem; }

.wso2-api__header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1.5rem; }
.wso2-api__download, .wso2-api__download:hover { color: var(--wso2-api-on-primary); }
.wso2-api__version { font-size: 0.85rem; padding: 0.1rem 0.5rem; border: 1px solid var(--wso2-divider); border-radius: 999px; }
.wso2-api__server { flex-basis: 100%; margin: 0; }
.wso2-api__server code { word-break: break-all; }

.wso2-api-tag > h2 { margin-top: 3rem; padding-top: 1rem; border-top: 2px solid var(--wso2-divider); }

.wso2-api-op {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--wso2-divider);
}
.wso2-api-op__main > h3 { margin-top: 0; }
.wso2-api-op__samples {
  position: sticky;
  top: calc(var(--ifm-navbar-height) + 1rem);
  align-self: start;
  max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
  overflow-y: auto;
  padding: 0.75rem;
  border-radius: var(--wso2-radius);
  background: var(--wso2-bg);
  border: 1px solid var(--wso2-divider);
}
.wso2-api-code { margin: 0 0 0.75rem; }
.wso2-api-code__title {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.6rem;
  border: 1px solid var(--wso2-divider); border-bottom: 0;
  border-radius: var(--wso2-radius) var(--wso2-radius) 0 0;
}
.wso2-api-code__copy {
  font: inherit; font-weight: 500; cursor: pointer; padding: 0 0.5rem; border-radius: 4px;
  color: var(--wso2-text); background: transparent; border: 1px solid var(--wso2-divider);
}
.wso2-api-code__copy:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 2px; }
.wso2-api-code__pre {
  margin: 0; max-height: 28rem; font-size: 0.8rem; white-space: pre;
  border: 1px solid var(--wso2-divider);
  border-radius: 0 0 var(--wso2-radius) var(--wso2-radius);
}

.wso2-api-endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.wso2-api-endpoint code { word-break: break-all; }
.wso2-api-endpoint__deprecated { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--wso2-api-delete); }

.wso2-api-method {
  display: inline-block;
  min-width: 3.2em;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  padding: 0 0.3rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--wso2-api-other);
  flex-shrink: 0;
}
.wso2-api-method--get { color: var(--wso2-api-get); }
.wso2-api-method--post { color: var(--wso2-api-post); }
.wso2-api-method--put { color: var(--wso2-api-put); }
.wso2-api-method--delete { color: var(--wso2-api-delete); }

.wso2-api-table { font-size: 0.85rem; }
.wso2-api-table td p:last-child { margin-bottom: 0; }
.wso2-api-table td:first-child { white-space: nowrap; }

.wso2-api-details { margin: 0 0 1rem; border: 1px solid var(--wso2-divider); border-radius: var(--wso2-radius); }
.wso2-api-details > summary { cursor: pointer; padding: 0.4rem 0.75rem; font-weight: 600; font-size: 0.85rem; }
.wso2-api-details > summary:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 2px; }
.wso2-api-details__body { padding: 0 0.75rem 0.25rem; }

.wso2-api-schema { padding: 1rem 0; border-top: 1px solid var(--wso2-divider); }
.wso2-api-schema > h3 { margin-top: 0; }

@media (max-width: 1280px) {
  .wso2-api-op { grid-template-columns: minmax(0, 1fr); }
  .wso2-api-op__samples { position: static; max-height: none; }
}
@media (max-width: 996px) {
  .wso2-api { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .wso2-api__nav { position: static; max-height: 50vh; border-right: 0; border-bottom: 1px solid var(--wso2-divider); padding: 0 0 0.75rem; }
}

/* ---- layouts.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Page layouts: overview cards and catalogs (plugins/remark-layouts.mjs,
   site/src/components/layouts/). Reads only theme.css's variables, whose
   text pairs test/contrast.test.mjs checks in both colour modes. */

/* ---- overview ------------------------------------------------------------- */
.wso2-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.wso2-overview-card {
  border: 1px solid var(--wso2-divider);
  border-radius: var(--wso2-radius-lg);
  padding: 1rem 1.25rem;
  background: var(--wso2-bg);
  min-width: 0;
}
/* .markdown first: custom.css's .markdown h2, ul and li rules load after this file. */
.markdown .wso2-overview-card > h2,
.markdown .wso2-overview-card > h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
/* The rule under a card's heading in the legacy cards: the card draws its own edge. */
.markdown .wso2-overview-card > hr { display: none; }
.markdown .wso2-overview-card > p { color: var(--wso2-text-muted); margin-bottom: 0.75rem; }
.markdown .wso2-overview-card > ul,
.markdown .wso2-overview-card > ol { padding-left: 0; list-style: none; margin-bottom: 0; }
.markdown .wso2-overview-card > ul > li,
.markdown .wso2-overview-card > ol > li { margin: 0.35rem 0; }
.markdown .wso2-overview-card li > p { margin: 0; }
.markdown .wso2-overview-card li > p + p { color: var(--wso2-text-muted); font-size: 0.9rem; }

/* ---- catalog -------------------------------------------------------------- */
.wso2-layout-catalog { margin-top: 1.5rem; }
.wso2-layout-catalog__controls { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.wso2-layout-catalog__search input {
  min-width: min(100%, 18rem);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--wso2-divider);
  border-radius: var(--wso2-radius);
  background: var(--wso2-bg);
  color: var(--wso2-text);
  font: inherit;
}
.wso2-layout-catalog__search input:focus-visible,
.wso2-layout-catalog__chip:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 2px; }
.wso2-layout-catalog__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wso2-layout-catalog__chip {
  border: 1px solid var(--wso2-divider);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  background: var(--wso2-bg);
  color: var(--wso2-text);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.wso2-layout-catalog__chip:hover { background: var(--wso2-hover); }
.wso2-layout-catalog__chip[aria-pressed='true'] { background: var(--wso2-selected); border-color: var(--wso2-text); font-weight: 600; }
.wso2-layout-catalog__status { min-height: 1.5rem; margin: 0.75rem 0 0.25rem; color: var(--wso2-text-muted); font-size: 0.875rem; }
/* .markdown first, as for the overview cards: custom.css's list rules load after this file. */
.markdown .wso2-layout-catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.markdown .wso2-layout-catalog__item {
  position: relative;
  border: 1px solid var(--wso2-divider);
  border-radius: var(--wso2-radius-lg);
  padding: 1rem 1.25rem;
  margin: 0;
  min-width: 0;
}
.markdown .wso2-layout-catalog__item[hidden] { display: none; }
.markdown .wso2-layout-catalog__item > p { margin: 0 0 0.5rem; }
.markdown .wso2-layout-catalog__item > p:last-child { margin-bottom: 0; }
.markdown .wso2-layout-catalog__item > p:nth-of-type(3) { font-size: 0.875rem; }
.markdown .wso2-layout-catalog__item > p:nth-of-type(2) { color: var(--wso2-text-muted); }
.markdown .wso2-layout-catalog__logo p { margin: 0 0 0.5rem; }
.wso2-layout-catalog__logo img { height: 2.25rem; width: auto; max-width: 8rem; object-fit: contain; }
.wso2-layout-catalog__badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-size: 0.75rem; padding: 0.05rem 0.5rem; border-radius: 999px;
  background: var(--wso2-info-bg); color: var(--wso2-info-fg);
}
.wso2-layout-catalog__badge--deprecated { background: var(--wso2-warning-bg); color: var(--wso2-warning-fg); }

/* ---- custom.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Doc pages on the theme (theme.css): the stock Docusaurus layout, restyled
   to the Choreo Labs Docs article design. Reads only theme.css's variables. Sizes
   are the design's px on a 16px root, in rem or em. */

/* ---- Layout ------------------------------------------------------------- */
.theme-doc-sidebar-container { border-right: 1px solid var(--wso2-divider) !important; }

/* Desktop: sidebar 284px, contents column 232px, the content column between
   them up to 760px of text inside 56px padding. The doc page's <main> and the <div>
   around its <article> are reached through stable class names and
   structure, never Docusaurus's CSS-module names, which change with its
   version (test/theme-bundle.test.mjs). */
@media (min-width: 997px) {
  .docs-doc-page main > .container { max-width: none; margin: 0; padding: 0; }
  .docs-doc-page main > .container > .row { margin: 0; flex-wrap: nowrap; }
  .docs-doc-page main > .container > .row > .col { flex: 1 1 auto; min-width: 0; max-width: none !important; padding: 0; }
  .docs-doc-page main > .container > .row > .col--3 { flex: 0 0 var(--wso2-toc-width); max-width: var(--wso2-toc-width) !important; }
  /* A page without a contents column (no headings, or hide_table_of_contents)
     keeps its width free, so its content column sits where it would beside
     one instead of centring further right (issue #50). API pages are full
     width by design (api-reference.css). */
  .docs-doc-page:not(.wso2-api-page) main > .container > .row > .col:only-child { padding-right: var(--wso2-toc-width); }
  .docs-doc-page main .row > .col > div:has(> article) {
    max-width: var(--wso2-content-max-width); margin: 0 auto;
    padding: 1.75rem var(--wso2-content-padding) 4rem;
  }
  /* API pages keep the padding but not the reading width: the API's own
     navigation and its operations share the full width (api-reference.css). */
  .docs-doc-page.wso2-api-page main .row > .col > div:has(> article) { max-width: none; }
}
/* Phones and tablets: 16px side margins. */
@media (max-width: 996px) {
  .docs-doc-page main > .container { padding-left: var(--wso2-phone-margin); padding-right: var(--wso2-phone-margin); }
  .docs-doc-page main .row > .col > div:has(> article) { padding: 0 0 3rem; }
}

/* ---- Running text ------------------------------------------------------- */
.markdown { --ifm-leading: 1rem; line-height: 1.75; }
.markdown :is(h1, h2, h3, h4, h5, h6) { font-family: var(--wso2-font-display); font-weight: 600; color: var(--wso2-text); }
.markdown h1,
.markdown h1:first-child {
  font-size: 2.25rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0.25rem 0 1.125rem; text-wrap: balance;
}
.markdown h2,
.markdown > h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.01em; margin: 2.5rem 0 0.625rem; }
.markdown h3,
.markdown > h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.005em; margin: 2rem 0 0.5rem; }
.markdown h4,
.markdown > h4 { font-size: 1.0625rem; line-height: 1.4; margin: 1.5rem 0 0.5rem; }
.markdown p,
.markdown > p { margin: 1rem 0; }
.markdown ul,
.markdown ol,
.markdown > ul { margin: 1rem 0; padding-left: 1.5rem; }
.markdown li { margin: 0 0 0.375rem; }
.markdown li:last-child { margin-bottom: 0; }
.markdown li > p { margin: 0.375rem 0; }
.markdown li > ul,
.markdown li > ol { margin: 0.375rem 0; }
.markdown ol ol, .markdown ul ol { list-style-type: lower-alpha; }
.markdown ol ol ol, .markdown ul ol ol { list-style-type: lower-roman; }
.markdown hr { border-color: var(--wso2-divider); }
.markdown strong { font-weight: 600; }
.markdown li::marker { color: var(--wso2-text-faint); }

/* Links in running text: semibold, and at least 3:1 from the text around
   them in both modes (WCAG 2.2 1.4.1, technique G183), underlined on hover
   and focus. test/contrast.test.mjs. */
.markdown :is(p, li, td, th, dd, blockquote) a:not([class*='wso2-']) {
  font-weight: var(--wso2-link-weight); text-decoration: none;
}
.markdown :is(p, li, td, th, dd, blockquote) a:not([class*='wso2-']):is(:hover, :focus-visible) {
  text-decoration: underline; text-underline-offset: 0.15em;
}
.markdown a { transition: var(--wso2-hover-transition); }
.markdown a:hover { color: var(--wso2-link-hover); }

/* Inline code */
code {
  border: 1px solid var(--wso2-code-inline-border); color: var(--wso2-code-inline-fg);
  font-family: var(--wso2-font-mono); vertical-align: baseline;
}
/* A block's code takes the block's colour: the API samples' <pre> is navy too. */
a code, pre code { color: inherit; }

/* Code blocks: a navy block in both modes; syntax colours in code.css.
   The title is the block's first <div> when a second follows. */
div.theme-code-block {
  --prism-background-color: var(--wso2-code-bg);
  --prism-color: var(--wso2-code-fg);
  border-radius: var(--wso2-radius-lg); box-shadow: none; font-size: 1rem;
}
.theme-code-block code { border: 0; }
.theme-code-block pre { font-size: 0.875rem; line-height: 1.5; }
/* Less padding above and below the code than at its sides: --ifm-pre-padding
   (theme.css) is the side padding, one value, so Docusaurus's calc()s with
   it (the buttons, title, highlighted lines, line numbers) stay valid. In a
   code block the padding is on the pre's code; a pre of its own has it. */
pre,
.theme-code-block pre > code { padding-block: var(--wso2-code-padding-block); }
.theme-code-block > div:first-child:not(:last-child) { border-bottom-color: var(--wso2-code-divider); color: var(--wso2-code-muted); font-family: var(--wso2-font-mono); font-size: 0.75rem; }
/* The copy and wrap buttons keep Docusaurus's border (--ifm-color-emphasis-300,
   the divider colour), as they had while the theme was bundled before
   Docusaurus's own CSS. */
.theme-code-block button { color: var(--wso2-code-muted); background: var(--wso2-code-bg); }
.theme-code-block button:hover { color: var(--wso2-code-fg); background: var(--wso2-code-hover); }
/* The buttons in the block's top right corner, at half the padding above the
   code (Docusaurus's half of --ifm-pre-padding would put them lower), so
   they sit beside the first line. */
.theme-code-block pre + div { top: calc(var(--wso2-code-padding-block) / 2); }

/* Tables: a 1px frame, a tinted head row */
.markdown table {
  width: fit-content; max-width: 100%;
  border: 1px solid var(--wso2-table-border); border-collapse: collapse;
  font-size: 0.875rem; line-height: 1.6; background: var(--wso2-bg);
}
.markdown table thead tr { border-bottom: 0; background: var(--wso2-table-head-bg); }
.markdown table tr { border-top: 0; background: none; }
.markdown table th, .markdown table td { border: 0; padding: 0.625rem 0.875rem; vertical-align: top; }
.markdown table th { font-weight: 600; text-align: left; color: var(--wso2-text); }
.markdown table td { border-top: 1px solid var(--wso2-table-border); }
/* Long code in a cell wraps rather than making the table scroll on a phone. */
.markdown table :is(td, th) code { overflow-wrap: anywhere; }

/* Admonitions: the design's grey card, an uppercase label with its icon in
   the type's colour; no thick left border. The heading (icon and title) is
   the first <div>, the content the second. */
.theme-admonition {
  --wso2-admonition: var(--wso2-admonition-note);
  margin: 1.5rem 0; padding: 0.875rem 1.125rem;
  border: 1px solid var(--wso2-admonition-border); border-radius: var(--wso2-radius);
  background: var(--wso2-admonition-bg); color: var(--wso2-text); box-shadow: none;
  font-size: 0.9375rem; line-height: 1.65;
}
.theme-admonition-tip { --wso2-admonition: var(--wso2-admonition-tip); }
.theme-admonition-info { --wso2-admonition: var(--wso2-admonition-info); }
.theme-admonition-warning, .theme-admonition-caution { --wso2-admonition: var(--wso2-admonition-warning); }
.theme-admonition-danger { --wso2-admonition: var(--wso2-admonition-danger); }
.theme-admonition > div:first-child {
  display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.375rem;
  font: 700 0.75rem / 1.5 var(--wso2-font-family); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--wso2-admonition);
}
.theme-admonition > div:first-child:last-child { margin-bottom: 0; }
.theme-admonition > div:first-child > span:first-child { display: inline-flex; margin: 0; line-height: 0; }
.theme-admonition > div:first-child > span:first-child svg { width: 1rem; height: 1rem; fill: var(--wso2-admonition); }
.theme-admonition > div + div > :first-child { margin-top: 0; }
.theme-admonition > div + div > :last-child { margin-bottom: 0; }
.theme-admonition a { color: var(--wso2-link); }

/* Collapsible details: the admonitions' grey card, an orange arrow. */
.markdown details {
  --ifm-alert-background-color: var(--wso2-admonition-bg);
  --ifm-alert-background-color-highlight: var(--wso2-hover);
  --ifm-alert-border-color: var(--wso2-admonition-border);
  --ifm-alert-foreground-color: var(--wso2-text);
  --docusaurus-details-decoration-color: var(--wso2-accent);
  border: 1px solid var(--wso2-admonition-border); border-radius: var(--wso2-radius); box-shadow: none;
}

/* Tabs: a bordered card. The labels sit on a tinted strip, on one line (the
   strip scrolls when they don't fit); the current one takes the page colour
   and an orange underline, never orange text. A hovered label gets a wash
   and a faint underline. A panel of text is padded; a panel that is only a
   code block is flush, so the block fills the card under the strip. The
   panels are inside Infima's .margin-top--md, whose margin is !important. */
.markdown .theme-tabs-container {
  border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius-lg);
  overflow: hidden; background: var(--wso2-bg);
}
.markdown .theme-tabs-container > .tabs {
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  margin: 0; padding: 0; list-style: none;
  background: var(--wso2-code-inline-bg); box-shadow: inset 0 -1px var(--wso2-divider);
}
.markdown .theme-tabs-container > .tabs::-webkit-scrollbar { display: none; }
.markdown .theme-tabs-container > .tabs > .tabs__item {
  flex-shrink: 0; margin: 0; padding: 0.625rem 0.875rem 0.5rem;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
  color: var(--wso2-text-muted);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.markdown .theme-tabs-container > .tabs > .tabs__item:hover {
  color: var(--wso2-text);
  background: color-mix(in srgb, var(--wso2-text) 7%, transparent);
  border-bottom-color: color-mix(in srgb, var(--wso2-accent) 38%, transparent);
}
.markdown .theme-tabs-container > .tabs > .tabs__item--active,
.markdown .theme-tabs-container > .tabs > .tabs__item--active:hover {
  color: var(--wso2-text); background: var(--wso2-bg); border-bottom-color: var(--wso2-accent);
}
.markdown .theme-tabs-container > .tabs > .tabs__item:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: -2px; }
.markdown .theme-tabs-container > .margin-top--md { margin-top: 0 !important; }
.markdown .theme-tabs-container [role='tabpanel'] { padding: 0.875rem 1.125rem; }
.markdown .theme-tabs-container [role='tabpanel'] > :last-child { margin-bottom: 0; }
.markdown .theme-tabs-container [role='tabpanel']:has(> .theme-code-block:only-child) { padding: 0; }
.markdown .theme-tabs-container [role='tabpanel'] > .theme-code-block:only-child { margin: 0; border-radius: 0; }

/* ---- Breadcrumbs: muted 13px crumbs between › separators, the current one in the text colour */
.theme-doc-breadcrumbs { margin-bottom: 0.875rem; }
.theme-doc-breadcrumbs .breadcrumbs__item { display: inline-flex; align-items: center; }
.theme-doc-breadcrumbs .breadcrumbs__item:not(:last-child)::after {
  content: '›'; background: none; filter: none; opacity: 1; width: auto; height: auto;
  margin: 0 0.375rem; color: var(--wso2-text-faint); font-size: 0.8125rem;
}
.theme-doc-breadcrumbs .breadcrumbs__link {
  padding: 0; border-radius: 0; background: none; color: var(--wso2-text-muted);
  font-size: 0.8125rem; line-height: 1.4; transition: var(--wso2-hover-transition);
}
.theme-doc-breadcrumbs .breadcrumbs__item--active .breadcrumbs__link {
  background: none; color: var(--wso2-text); font-weight: 500;
}
.theme-doc-breadcrumbs a.breadcrumbs__link:hover { background: none; color: var(--wso2-link-hover); }

/* ---- Sidebar ------------------------------------------------------------- */
/* Every entry, a page or a group, is a plain 14px row in sentence case; a
   group's children are indented under a thin line. An entry whose props say
   `divider: true` (DocSidebarItems: class wso2-sidebar-divider) has a thin
   line above it, where the source draws one. Hover tints the row; the current
   page is semibold on the blue wash with a blue bar at its left edge.
   Chevrons sit on the right. The nav-icons stylesheet adds a 16px icon and an
   8px gap before a label, inline in the link.
   [user decision 2026-11-17 (API Management sidebar)] */
.theme-doc-sidebar-container nav.menu { padding: 1.25rem 0.875rem 2.5rem 1.25rem; }
.menu { font-size: 0.875rem; line-height: 1.4; font-weight: 400; }
.menu .menu__list .menu__list { margin: 1px 0 0.25rem 0.625rem; padding-left: 0.875rem; border-left: 1px solid var(--wso2-divider); }
.menu .menu__list-item:not(:first-child) { margin-top: 1px; }
.menu .menu__link,
.menu .menu__caret {
  border-radius: var(--wso2-radius-row); color: var(--wso2-text-muted);
  line-height: inherit; transition: var(--wso2-hover-transition);
}
.menu .menu__link { position: relative; justify-content: flex-start; padding: 0.375rem 0.625rem; }
/* Top-level entries, pages and groups alike: rows in the text colour */
.theme-doc-sidebar-menu > .menu__list-item > .menu__link,
.theme-doc-sidebar-menu > .menu__list-item > .menu__list-item-collapsible > .menu__link { color: var(--wso2-text); font-weight: 500; }
/* The line above an entry that asks for one */
.menu .menu__list-item.wso2-sidebar-divider { margin-top: 0.625rem; padding-top: 0.625rem; border-top: 1px solid var(--wso2-divider); }
.menu .menu__list-item-collapsible { border-radius: var(--wso2-radius-row); }
.menu .menu__link:hover,
.menu .menu__list-item-collapsible:hover { background: var(--wso2-hover); color: var(--wso2-text); }
.menu .menu__list-item-collapsible:hover > .menu__link { background: none; color: var(--wso2-text); }
.menu .menu__list-item-collapsible--active { background: none; }
/* The group holding the page keeps its colour; only the page itself is the
   blue wash. */
.menu .menu__link--active:not([aria-current='page']) { background: none; }
.theme-doc-sidebar-menu > .menu__list-item > .menu__list-item-collapsible > .menu__link--active { color: var(--wso2-text-strong); }
.menu .menu__link[aria-current='page'],
.menu .menu__link[aria-current='page']:hover { background: var(--wso2-active-bg); color: var(--wso2-active); font-weight: 600; }
.menu .menu__link[aria-current='page']::before {
  content: ''; position: absolute; left: 0; top: 0.375rem; bottom: 0.375rem; width: 3px;
  border-radius: 2px; background: var(--wso2-active-bar);
}

/* Chevrons: right-pointing and grey, turning to 90° when the section is open. */
.menu .menu__caret { flex: none; padding: 0.375rem 0.5rem; background: none; }
.menu .menu__caret:hover { background: none; }
.menu .menu__caret::before,
.menu .menu__link--sublist-caret::after {
  content: ''; flex: none; width: 16px; min-width: 16px; height: 16px; margin-left: auto;
  background: var(--wso2-text-faint); filter: none;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z'/></svg>") center / contain no-repeat;
  transform: rotate(90deg); transition: var(--wso2-chevron-transition);
}
.menu .menu__list-item--collapsed .menu__caret::before,
.menu .menu__list-item--collapsed .menu__link--sublist::after,
.menu .menu__list-item--collapsed .menu__link--sublist-caret::after { transform: none; }

/* Sections open and close at once: Docusaurus's Collapsible animates the
   height inline; 1ms (as Docusaurus does under reduced motion) keeps the
   transitionend it finishes on. */
.menu .menu__list { transition-duration: 1ms !important; }

/* The phone menu: the panel slides in over a fading overlay. */
@media (max-width: 996px) {
  .navbar-sidebar .menu { font-size: 1rem; line-height: 1.5; }
}
/* The drawer is a page-coloured panel under a band with the wordmark and
   its close button. */
.navbar-sidebar {
  background-color: var(--wso2-bg); color: var(--wso2-text);
  opacity: 1; box-shadow: none;
  transition: transform 0.25s var(--wso2-drawer-easing), box-shadow 0.25s, visibility 0.25s;
}
.navbar-sidebar--show .navbar-sidebar { box-shadow: var(--wso2-shadow-dropdown); }
.navbar-sidebar__backdrop { background-color: var(--wso2-overlay); transition: opacity 0.25s, visibility 0.25s; }
.navbar-sidebar__item.menu { padding: 1rem var(--wso2-phone-margin); }
.navbar-sidebar__brand { background: var(--wso2-bg); color: var(--wso2-text); border-bottom: 1px solid var(--wso2-divider); box-shadow: none; }
.navbar-sidebar__back { background: none; margin-top: 0; color: var(--wso2-text-strong); }
.navbar-sidebar .menu__link { color: var(--wso2-text-muted); }

/* ---- Contents column ------------------------------------------------------ */
/* 13px links beside a 1px line; nested entries indented; the current one in
   the text colour, semibold, with an orange bar on the line. */
.theme-doc-toc-desktop { padding: 2rem 1.5rem 2rem 0.5rem; top: var(--ifm-navbar-height); }
.theme-doc-toc-desktop .table-of-contents {
  padding: 0; border-left: 1px solid var(--wso2-border); font-size: 0.8125rem; line-height: 1.4;
}
.theme-doc-toc-desktop .table-of-contents li { margin: 0; }
.theme-doc-toc-desktop .table-of-contents ul { padding-left: 0; font-size: inherit; }
.table-of-contents__link { display: block; padding: 0.3125rem 0; color: var(--wso2-text-muted); transition: var(--wso2-hover-transition); }
.theme-doc-toc-desktop .table-of-contents__link { margin-left: -1px; padding-left: 0.875rem; border-left: 2px solid transparent; }
.theme-doc-toc-desktop .table-of-contents ul .table-of-contents__link { padding-left: 1.75rem; }
.table-of-contents__link:hover,
.table-of-contents__link:hover code { color: var(--wso2-text); }
.table-of-contents__link--active { color: var(--wso2-text); font-weight: 600; }
.theme-doc-toc-desktop .table-of-contents__link--active { border-left-color: var(--wso2-accent); }

/* Phones: the contents column folds into a grey "On this page" box above the
   text, and the title steps down. */
.theme-doc-toc-mobile {
  --ifm-menu-color-background-active: var(--wso2-admonition-bg);
  border: 1px solid var(--wso2-admonition-border); border-radius: var(--wso2-radius); background: var(--wso2-admonition-bg);
}
.theme-doc-toc-mobile > button { color: var(--wso2-text); font-weight: 500; }
@media (max-width: 996px) {
  .markdown h1, .markdown h1:first-child { font-size: 1.75rem; }
  .markdown h2, .markdown > h2 { font-size: 1.375rem; }
}

/* ---- Previous / next ------------------------------------------------------ */
.pagination-nav { gap: 1rem; margin-top: 2rem; }
.pagination-nav__link {
  padding: 0.875rem 1.125rem; border: 1px solid var(--wso2-border); border-radius: var(--wso2-radius-lg);
  transition: var(--wso2-hover-transition);
}
.pagination-nav__link:hover { border-color: var(--wso2-border-hover); }
.pagination-nav__sublabel { margin-bottom: 0.125rem; color: var(--wso2-text-muted); font-size: 0.75rem; font-weight: 400; }
.pagination-nav__label { color: var(--wso2-link); font-size: 1rem; font-weight: 600; }

/* ---- Show-markers mode (local preview and PR previews only) -------------- */
.wso2-edition-marker {
  position: relative;
  outline: 2px dashed var(--wso2-accent);
  outline-offset: 4px;
  margin: 1.5rem 0;
  padding-top: 0.25rem;
}
.wso2-edition-marker--inline { display: inline; margin: 0; padding: 0; outline-offset: 1px; }
.wso2-edition-marker__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 0.4rem;
  margin-right: 0.4rem;
  border-radius: 4px;
  background: var(--wso2-accent);
  color: var(--wso2-on-accent);
}
.wso2-edition-marker[data-active='false'] { opacity: 0.35; outline-style: dotted; }
.wso2-edition-marker--page { outline: none; padding: 0.5rem 0.75rem; background: var(--wso2-bg); border-left: 4px solid var(--wso2-accent); }

/* Paired images: the light image and its dark twin both ship; the theme shows one. */
.wso2-paired-image__dark { display: none; }
html[data-theme='dark'] .wso2-paired-image__light { display: none; }
html[data-theme='dark'] .wso2-paired-image__dark { display: inline; }

/* Complete guides (lib/guide-sidebar.mjs): a guide's folder in the sidebar numbers
   its pages in circles (the current one in the active colour), each with its read
   time after the label, green with a tick once read on this browser. The read time
   shows again under the page title (.wso2-read-time). */
.theme-doc-sidebar-item-category.wso2-guide > .menu__list,
.theme-doc-sidebar-menu { counter-reset: wso2-guide; }
/* A guide's page shows the guide alone (lib/guide-sidebar.mjs guideView): its steps
   are the top level, drawn in the weight of a guide's steps, under "Go back". */
.theme-doc-sidebar-menu > .wso2-guide-step > .menu__link:not([aria-current='page']) { font-weight: 400; }
.menu .wso2-guide-back { margin-bottom: 0.75rem; }
.menu .wso2-guide-back > .menu__link { gap: 0.5rem; font-style: italic; font-weight: 400; color: var(--wso2-text-muted); }
.wso2-guide-back__icon { flex: none; }
.wso2-guide-step { counter-increment: wso2-guide; }
.wso2-guide-step > .menu__link { display: flex; align-items: flex-start; gap: 0.5rem; }
/* The circle takes the place of the active page's bar (.menu__link[aria-current]::before). */
.menu .wso2-guide-step > .menu__link::before {
  content: counter(wso2-guide); position: static; width: auto;
  flex: 0 0 1.25rem; height: 1.25rem; margin-top: 0.05rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--wso2-text-faint); color: var(--wso2-bg);
  font-size: 0.6875rem; font-weight: 600; font-style: normal;
}
.menu .wso2-guide-step > .menu__link[aria-current='page']::before { background: var(--wso2-active); }
.wso2-guide-step > .menu__link[data-read-time]::after {
  content: attr(data-read-time);
  margin-left: auto; padding-left: 0.25rem; white-space: nowrap;
  font-size: 0.6875rem; font-style: italic; font-weight: 400; line-height: 1.6rem; color: var(--wso2-text-muted);
}
.wso2-guide-step > .menu__link[data-read-time][data-visited]::after { content: attr(data-read-time) " \2713"; color: var(--wso2-hint-ok); }
.markdown .wso2-read-time { margin: -0.5rem 0 1.5rem; font-size: 0.875rem; font-style: italic; color: var(--wso2-text-muted); }
@media (max-width: 996px) {
  .wso2-guide-step > .menu__link[data-read-time]::after { display: none; }
  .menu .wso2-guide-back { display: none; }
}

/* Image zoom (site/src/components/image-zoom.js): an image in the text that zooms
   shows the zoom cursor; the viewer covers the page in its background colour, the
   image fitted to the window (or at full size, scrolled, when selected there). */
.markdown img[data-wso2-zoom] { cursor: zoom-in; }
.markdown img[data-wso2-zoom]:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 2px; }
.wso2-image-zoom {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 4.5rem;
  background: color-mix(in srgb, var(--wso2-bg) 97%, transparent);
  cursor: zoom-out;
}
.wso2-image-zoom__stage { margin: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.wso2-image-zoom__image {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border: 1px solid var(--wso2-border); border-radius: 6px; background: var(--wso2-bg);
  cursor: zoom-in;
}
.wso2-image-zoom--actual { overflow: auto; align-items: flex-start; justify-content: flex-start; }
.wso2-image-zoom--actual .wso2-image-zoom__stage { width: auto; height: auto; margin: auto; }
.wso2-image-zoom--actual .wso2-image-zoom__image { max-width: none; max-height: none; cursor: zoom-out; }
.wso2-image-zoom button {
  position: fixed; display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0 0 0.15rem; border-radius: 50%;
  border: 1px solid var(--wso2-border); background: var(--wso2-surface); color: var(--wso2-text);
  font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.wso2-image-zoom button:hover { border-color: var(--wso2-border-hover); }
.wso2-image-zoom button[hidden] { display: none; }
.wso2-image-zoom__close { top: 0.75rem; right: 0.75rem; }
.wso2-image-zoom__prev { left: 0.75rem; top: calc(50% - 1.25rem); }
.wso2-image-zoom__next { right: 0.75rem; top: calc(50% - 1.25rem); }
.wso2-image-zoom__count { position: fixed; bottom: 0.75rem; left: 0; right: 0; margin: 0; text-align: center; font-size: 0.8125rem; color: var(--wso2-text-muted); }
@media (max-width: 640px) {
  .wso2-image-zoom { padding: 3.5rem 0.75rem; }
  .wso2-image-zoom__prev, .wso2-image-zoom__next { top: auto; bottom: 0.5rem; }
}

/* Cards (site/src/components/Cards.js): a Markdown list of links, each a logo and a
   label. Tiles by default (the logo over the label, a hairline border, a hover tint);
   `--links` draws the logos over link text in a row, with no tile. */
.markdown .wso2-cards > ul { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.markdown .wso2-cards--center > ul { justify-content: center; }
.markdown .wso2-cards li { margin: 0; padding: 0; }
.markdown .wso2-cards li::before { content: none; }
.markdown .wso2-cards li > p { margin: 0; }
.markdown .wso2-cards a {
  width: 11rem;
  height: 11rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1rem;
  border: 1px solid var(--wso2-card-border);
  border-radius: 8px;
  background: var(--wso2-surface);
  color: var(--wso2-text);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: var(--wso2-hover-transition);
}
.markdown .wso2-cards a:hover { background: var(--wso2-hover); border-color: var(--wso2-border-hover); color: var(--wso2-text); text-decoration: none; }
.markdown .wso2-cards img { display: block; width: 4.5rem; height: 4.5rem; max-width: none; margin: 0; border: 0; box-shadow: none; object-fit: contain; }
/* The rule above outranks the paired-image rules, so a card shows one twin itself. */
.markdown .wso2-cards .wso2-paired-image__dark { display: none; }
html[data-theme='dark'] .markdown .wso2-cards .wso2-paired-image__light { display: none; }
html[data-theme='dark'] .markdown .wso2-cards .wso2-paired-image__dark { display: block; }
.markdown .wso2-cards--links > ul { gap: 0.5rem 1.75rem; align-items: flex-start; }
.markdown .wso2-cards--links a { width: auto; height: auto; gap: 0.5rem; padding: 0; border: 0; border-radius: 0; background: none; color: var(--wso2-link); font-weight: var(--wso2-link-weight); }
.markdown .wso2-cards--links a:hover { background: none; color: var(--wso2-link-hover); text-decoration: underline; }
.markdown .wso2-cards--links img { width: 3.125rem; height: 3.125rem; }

/* Steps (site/src/components/Steps.js): each `##` directly inside (or in a <ShowFor> there) is a step, its
   number in a circle (a CSS counter); the content sits under the heading, not the
   circle, and a line, measured by the component, joins the circles. */
.wso2-steps { --wso2-steps-circle: 2rem; --wso2-steps-gutter: 3.25rem; position: relative; counter-reset: wso2-step; margin: 2rem 0 2.5rem; }
.wso2-steps__line { display: none; position: absolute; left: calc(var(--wso2-steps-circle) / 2 - 1px); width: 2px; background: var(--wso2-text-faint); }
/* A step may sit in a content switch's <ShowFor> (its own div): drawn the same. */
.markdown .wso2-steps__content > h2,
.markdown .wso2-steps__content > .wso2-show-for > h2 { position: relative; margin: 2.5rem 0 0.75rem var(--wso2-steps-gutter); padding-top: 0.1rem; }
.markdown .wso2-steps__content > h2:first-child { margin-top: 0; }
.wso2-steps__content > :not(h2, .wso2-show-for),
.wso2-steps__content > .wso2-show-for > :not(h2) { margin-left: var(--wso2-steps-gutter); }
.wso2-steps__content > h2::before,
.wso2-steps__content > .wso2-show-for > h2::before {
  counter-increment: wso2-step;
  content: counter(wso2-step);
  position: absolute;
  left: calc(-1 * var(--wso2-steps-gutter));
  top: 0;
  width: var(--wso2-steps-circle);
  height: var(--wso2-steps-circle);
  border-radius: 50%;
  background: var(--wso2-text);
  color: var(--wso2-bg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
@media (max-width: 640px) {
  .wso2-steps { --wso2-steps-circle: 1.75rem; --wso2-steps-gutter: 2.5rem; }
}
/* Content switch (site/src/components/ContentSwitch.js): a label and a pill of
   options, as the catalog's chips; the chosen option's description under it.
   The component's own <style> hides the other options' <ShowFor> blocks. */
.wso2-content-switch { margin: 1.5rem 0 1rem; }
.wso2-content-switch__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.wso2-content-switch__label { color: var(--wso2-text-muted); font-size: 0.875rem; font-weight: 600; }
.wso2-content-switch__options { display: inline-flex; flex-wrap: wrap; padding: 0.2rem; border: 1px solid var(--wso2-divider); border-radius: 999px; }
.wso2-content-switch__options button {
  padding: 0.3rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wso2-text-muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.wso2-content-switch__options button:hover { background: var(--wso2-hover); color: var(--wso2-text); }
.wso2-content-switch__options button[aria-pressed='true'] { background: var(--wso2-selected); color: var(--wso2-text); font-weight: 600; }
.wso2-content-switch__options button:focus-visible { outline: 2px solid var(--wso2-focus); outline-offset: 2px; }
.markdown .wso2-content-switch__description { margin: 0.5rem 0 0; color: var(--wso2-text-muted); font-size: 0.875rem; }
/* A limited page's or folder's sidebar entry: the label after the text, the whole entry faded when inactive. */
.wso2-edition-marker--sidebar { display: inline; margin: 0; padding: 0; outline: none; }
.wso2-edition-marker--sidebar .wso2-edition-marker__label { margin: 0 0 0 0.4rem; font-size: 0.65rem; vertical-align: middle; }
.wso2-edition-marker--sidebar[data-active='false'] { opacity: 0.35; text-decoration: line-through; text-decoration-color: var(--wso2-accent); }
.wso2-dev-toolbar {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 1000;
  display: flex; gap: 0.6rem; align-items: center; padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--wso2-surface); color: var(--wso2-text); box-shadow: var(--wso2-shadow-dropdown); font-size: 0.85rem;
}
.wso2-dev-toolbar__hint { opacity: 0.7; }

/* ---- nav-icons.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Sidebar icons (Extension points): the inline SVG before a sidebar label
   (site/src/components/NavIcon). 16px, fitted keeping its shape (a narrow
   glyph is 14×16), 8px before the label, a muted grey in each colour mode
   (theme.css --wso2-nav-icon-color). It does not change on hover or for the
   active entry: only the label does. */
.wso2-nav-icon {
  display: inline-block;
  width: 16px;
  margin-right: 8px;
  text-align: center;
  vertical-align: middle;
  line-height: 0;
}

.wso2-nav-icon svg {
  display: inline-block;
  vertical-align: middle;
  fill: var(--wso2-nav-icon-color);
}

.wso2-nav-icon svg * {
  fill: var(--wso2-nav-icon-color);
}

/* The few drawn with a stroke keep it, in the same grey. */
.wso2-nav-icon svg [stroke]:not([stroke='none']) {
  stroke: var(--wso2-nav-icon-color);
}

/* The entries under one with an icon are indented 24px more, so their text
   lines up with its label's. */
.menu .menu__list-item:has(> .menu__list-item-collapsible .wso2-nav-icon) > .menu__list,
.menu .menu__list-item:has(> .menu__link .wso2-nav-icon) > .menu__list {
  padding-left: 24px;
}

/* ---- code.css ---- */
/*
 * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Code block syntax colours, by Prism's token classes, so the HTML carries
   no colour and a theme change reaches every deployment without a rebuild.
   The colours are theme.css's --wso2-code-* (Oceanic Next, the code theme
   prism-react-renderer ships, each at least 4.5:1 on the code background:
   test/contrast.test.mjs).

   A token can have several types (Prism nests them, e.g. "string variable"
   for $VAR in a bash string). prism-react-renderer gave such a token the
   colour of its last type that has one; the rules below do the same: first
   by type, then, later and so winning, by the type the class list ends with. */

.theme-code-block pre,
.theme-code-block .token-line { color: var(--wso2-code-fg); }
.theme-code-block pre { background-color: var(--wso2-code-bg); }

.theme-code-block .token:is(.comment, .block-comment, .prolog, .doctype, .cdata, .shebang) { color: var(--wso2-code-comment); }
.theme-code-block .token:is(.tag) { color: var(--wso2-code-tag); }
.theme-code-block .token:is(.selector, .char, .builtin, .inserted) { color: var(--wso2-code-builtin); }
.theme-code-block .token:is(.keyword, .attr-name) { color: var(--wso2-code-keyword); }
.theme-code-block .token:is(.atrule, .class-name) { color: var(--wso2-code-class-name); }
.theme-code-block .token:is(.property, .number, .function-name, .constant, .symbol, .deleted) { color: var(--wso2-code-number); }
.theme-code-block .token:is(.boolean) { color: var(--wso2-code-boolean); }
.theme-code-block .token:is(.operator, .entity, .url, .variable) { color: var(--wso2-code-variable); }
.theme-code-block .token:is(.function) { color: var(--wso2-code-function); }
.theme-code-block .token:is(.string, .attr-value, .punctuation) { color: var(--wso2-code-string); }

.theme-code-block .token:is([class$=' comment'], [class$=' block-comment'], [class$=' prolog'], [class$=' doctype'], [class$=' cdata'], [class$=' shebang']) { color: var(--wso2-code-comment); }
.theme-code-block .token:is([class$=' tag']) { color: var(--wso2-code-tag); }
.theme-code-block .token:is([class$=' selector'], [class$=' char'], [class$=' builtin'], [class$=' inserted']) { color: var(--wso2-code-builtin); }
.theme-code-block .token:is([class$=' keyword'], [class$=' attr-name']) { color: var(--wso2-code-keyword); }
.theme-code-block .token:is([class$=' atrule'], [class$=' class-name']) { color: var(--wso2-code-class-name); }
.theme-code-block .token:is([class$=' property'], [class$=' number'], [class$=' function-name'], [class$=' constant'], [class$=' symbol'], [class$=' deleted']) { color: var(--wso2-code-number); }
.theme-code-block .token:is([class$=' boolean']) { color: var(--wso2-code-boolean); }
.theme-code-block .token:is([class$=' operator'], [class$=' entity'], [class$=' url'], [class$=' variable']) { color: var(--wso2-code-variable); }
.theme-code-block .token:is([class$=' function']) { color: var(--wso2-code-function); }
.theme-code-block .token:is([class$=' string'], [class$=' attr-value'], [class$=' punctuation']) { color: var(--wso2-code-string); }

.theme-code-block .token.important { font-weight: 400; }
.theme-code-block .token.bold { font-weight: bold; }
.theme-code-block .token.italic { font-style: italic; }
.theme-code-block .token.namespace { opacity: 0.7; }
