/* xPage Help Center
 * Built on the xPage admin's frame: a black sidebar and a white page panel on a gray
 * backdrop, the admin's system grays and type sizes, line icons without backgrounds. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); 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; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }

/* ---------------------------------------------------------------- tokens
 * The xPage admin's own palette (customers_frontend/src/styles/index.css): system grays,
 * black for actions, purple only as a faint light, Drop's lime only on its tag. */
:root {
  --title: #101828;
  --subtitle: #1d2939;
  --label: #344054;
  --s600: #475467;
  --s500: #667085;
  --s400: #98a2b3;
  --border: #d0d5dd;
  --s200: #eaecf0;
  --s100: #f5f6f8;
  --s50: #f9fafb;
  --bg: #fcfcfd;
  --backdrop: #d0d5dd;
  --white: #ffffff;
  --lime: #d8ff65;
  --on-lime: #1a2306;
  --panel-shadow: 0 0 0 1px rgb(16 24 40 / 0.16), 0 1px 3px rgb(16 24 40 / 0.18), 0 3px 8px -2px rgb(16 24 40 / 0.24);
  --card-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
  --pop-shadow: 0 12px 24px -8px rgb(16 24 40 / 0.2), 0 0 0 1px rgb(16 24 40 / 0.06);
  --rail-w: 13.25rem;
  --gap: 8px;
  --sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
[dir="rtl"] { --sans: "IBM Plex Sans Arabic", "Inter", "Inter Fallback", Tahoma, Arial, sans-serif; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; background: var(--backdrop); }
body { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--title); background: var(--backdrop); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgb(16 24 40 / 0.14); }
:focus-visible { outline: 2px solid var(--title); outline-offset: 2px; border-radius: 6px; }
.i { flex: none; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 300; padding: 8px 14px; color: #fff; background: #000; border-radius: 8px; font-size: 13px; transition: top 0.2s; }
.skip:focus { top: 12px; }
.dot { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; }
.dot-drop { background: var(--lime); box-shadow: 0 0 3px rgb(216 255 101 / 0.45); }
.blink { animation: blink 3.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.ico { flex: none; display: inline-grid; place-items: center; color: var(--s500); }
.ico-lg { color: var(--label); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 19px; letter-spacing: -0.04em; line-height: 1; font-family: "Inter", "Inter Fallback", Arial, sans-serif; }
.logo .xmark { width: 14px; height: 14px; }
.logo-drop { margin-inline-start: 5px; padding: 3px 4px; color: var(--on-lime); background: var(--lime); border-radius: 4px; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; transform: translateY(1px); }

/* Buttons: black keycap for actions, white for secondary */
.btn { min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, transform 0.1s; }
.btn:active { transform: scale(0.98); }
.btn-dark { color: #fff; background: linear-gradient(180deg, #2b2f36, #101828); border-color: #0b0f17; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 1px 2px rgb(16 24 40 / 0.25); }
.btn-dark:hover { background: linear-gradient(180deg, #353a42, #1d2939); }
.btn-light { color: var(--label); background: var(--white); border-color: var(--border); box-shadow: 0 1px 2px rgb(16 24 40 / 0.05); }
.btn-light:hover { color: var(--title); background: var(--s50); }
.btn-sm { min-height: 32px; padding: 0 12px; }
.btn-xs { min-height: 26px; padding: 0 9px; font-size: 12px; gap: 6px; border-radius: 7px; }
[dir="rtl"] .btn .i-arrow-right, [dir="rtl"] .btn .i-arrow, [dir="rtl"] .i-chevron, [dir="rtl"] .i-arrow-left, [dir="rtl"] .i-arrow-right { scale: -1 1; }
.kbd { min-width: 22px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; font: 500 11px var(--sans); color: var(--s500); background: var(--white); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; }

/* ---------------------------------------------------------------- the frame */
.frame { min-height: 100vh; padding: var(--gap); display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.panel { min-width: 0; min-height: calc(100vh - var(--gap) * 2); display: flex; flex-direction: column; background: var(--bg); border-radius: 16px; box-shadow: var(--panel-shadow); }
main { flex: 1; }

/* ---------------------------------------------------------------- the rail (admin sidebar) */
.rail { position: sticky; top: var(--gap); height: calc(100vh - var(--gap) * 2); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; color: #fff; background: #000; border-radius: 16px; box-shadow: var(--panel-shadow), inset 0 1px 0 rgb(255 255 255 / 0.1), inset 0 0 0 1px rgb(255 255 255 / 0.05); }
.rail-glow { position: absolute; inset: 0 0 auto; z-index: -1; height: 160px; background: radial-gradient(120% 90% at 0% 0%, rgb(124 84 210 / 0.45), transparent 60%); pointer-events: none; }
.rail-drop .rail-glow { background: radial-gradient(120% 90% at 0% 0%, rgb(216 255 101 / 0.16), transparent 60%); }
[dir="rtl"] .rail-glow { background: radial-gradient(120% 90% at 100% 0%, rgb(124 84 210 / 0.45), transparent 60%); }
.rail-head { padding: 14px 16px 12px 18px; display: flex; align-items: center; justify-content: space-between; }
[dir="rtl"] .rail-head { padding: 14px 18px 12px 16px; }
.rail-logo { display: inline-flex; align-items: center; gap: 7px; }
.rail-logo .tag { padding: 3px 5px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #000; background: #fff; border-radius: 4px; }
.rail-close { display: none; width: 28px; height: 28px; place-items: center; color: rgb(255 255 255 / 0.7); background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.rail-search { padding: 0 8px 12px; }
.rail-divider { margin: 0 12px; height: 1px; flex: none; background: linear-gradient(90deg, rgb(255 255 255 / 0.15), rgb(255 255 255 / 0.1), transparent); }
[dir="rtl"] .rail-divider { background: linear-gradient(270deg, rgb(255 255 255 / 0.15), rgb(255 255 255 / 0.1), transparent); }
.rail-nav { flex: 1; min-height: 0; padding: 10px 8px 8px; display: flex; flex-direction: column; gap: 1px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.15) transparent; }
.nav-section { padding: 16px 10px 6px; display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.5); }
.nav-section span { flex: none; }
.nav-section .line { flex: 1; height: 1px; background: linear-gradient(90deg, rgb(255 255 255 / 0.12), transparent); }
[dir="rtl"] .nav-section .line { background: linear-gradient(270deg, rgb(255 255 255 / 0.12), transparent); }
.nav-item { position: relative; min-height: 30px; padding-block: 6px; padding: 0 10px; display: flex; align-items: center; gap: 8px; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1; color: rgb(255 255 255 / 0.75); transition: background-color 0.2s, color 0.2s; }
.nav-item .i { position: relative; width: 16px; height: 16px; color: rgb(255 255 255 / 0.6); transition: color 0.2s; }
.nav-item:hover { color: #fff; background: rgb(255 255 255 / 0.06); }
.nav-item:hover .i { color: #fff; }
.nav-label { position: relative; flex: 1; min-width: 0; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nav-count { position: relative; font-size: 11px; font-weight: 500; color: rgb(255 255 255 / 0.4); }
.nav-item.is-active { color: #fff; font-weight: 600; background: none; }
.nav-item.is-active .i { color: #fff; }
.pill { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(90deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.07)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(0 0 0 / 0.45), inset 0 0 0 1px rgb(255 255 255 / 0.09); }
.pill i { position: absolute; inset-inline-start: 0; top: 50%; width: 2px; height: 14px; translate: 0 -50%; border-radius: 0 999px 999px 0; background: #fff; box-shadow: 0 0 8px 1px rgb(255 255 255 / 0.5); }
[dir="rtl"] .pill i { border-radius: 999px 0 0 999px; }
.nav-children { margin: 1px 0 4px; margin-inline-start: 17.5px; padding: 2px 0; padding-inline-start: 6px; display: flex; flex-direction: column; gap: 1px; border-inline-start: 1px solid rgb(255 255 255 / 0.08); }
.sub-item { position: relative; min-height: 28px; padding: 5px 8px; display: flex; align-items: center; border-radius: 6px; font-size: 13px; font-weight: 500; line-height: 18px; color: rgb(255 255 255 / 0.6); transition: background-color 0.2s, color 0.2s; }
.sub-item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sub-item:hover { color: #fff; background: rgb(255 255 255 / 0.04); }
.sub-item i { position: absolute; inset-inline-start: -7px; top: 6px; bottom: 6px; width: 1px; border-radius: 1px; background: #fff; opacity: 0; transition: opacity 0.2s; }
.sub-item.is-active { color: #fff; font-weight: 600; background: rgb(255 255 255 / 0.06); }
.sub-item.is-active i { opacity: 1; box-shadow: 0 0 6px rgb(255 255 255 / 0.6); }
.rail-foot { flex: none; }
.switcher { position: relative; padding: 4px 8px 6px; }
.switcher summary { height: 40px; padding: 0 8px; display: flex; align-items: center; gap: 8px; list-style: none; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: background-color 0.2s; }
.switcher summary::-webkit-details-marker { display: none; }
.switcher summary:hover, .switcher[open] summary { background: rgb(255 255 255 / 0.06); }
.switcher summary .i { color: rgb(255 255 255 / 0.5); }
.sw-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { width: 24px; height: 24px; flex: none; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; letter-spacing: 0.02em; color: #0b0f17; background: #e9e4f8; border-radius: 6px; }
.av-drop { background: var(--lime); color: var(--on-lime); }
.av-all { background: #fff; }

/* Search: dark in the rail, white in the hero */
.search { position: relative; width: 100%; }
.search-form { height: 32px; padding: 0 6px 0 10px; display: flex; align-items: center; gap: 8px; color: rgb(255 255 255 / 0.5); background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.05)); border-radius: 8px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(255 255 255 / 0.09); transition: box-shadow 0.2s, color 0.2s; }
[dir="rtl"] .search-form { padding: 0 10px 0 6px; }
.search-form:focus-within { color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(255 255 255 / 0.22); }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0; color: #fff; background: transparent; border: 0; outline: 0; font: inherit; font-size: 13px; }
.search input::placeholder { color: rgb(255 255 255 / 0.5); }
.search input::-webkit-search-cancel-button { display: none; }
.search-rail .kbd { color: rgb(255 255 255 / 0.6); background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.12); }
.search-big { max-width: 600px; }
.search-big .search-form { height: 48px; padding: 0 10px 0 16px; gap: 10px; color: var(--s500); background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 8px 24px -8px rgb(0 0 0 / 0.6); }
[dir="rtl"] .search-big .search-form { padding: 0 16px 0 10px; }
.search-big .search-form:focus-within { color: var(--title); box-shadow: 0 0 0 3px rgb(255 255 255 / 0.25), 0 8px 24px -8px rgb(0 0 0 / 0.6); }
.search-big input { color: var(--title); font-size: 15px; }
.search-big input::placeholder { color: var(--s400); }
.search-results { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 60; width: max(100%, min(520px, calc(100vw - 32px))); max-height: min(70vh, 480px); padding: 4px; overflow-y: auto; overscroll-behavior: contain; color: var(--title); background: #fff; border-radius: 10px; box-shadow: var(--pop-shadow); text-align: start; animation: pop 0.15s var(--ease) both; }
.sr-item { padding: 8px 10px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; border-radius: 7px; }
.sr-item:hover, .sr-item[aria-selected="true"] { background: var(--s100); }
.sr-item .ico { color: var(--s500); }
.sr-item b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-item small { display: block; font-size: 12px; color: var(--s500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-item mark { color: inherit; background: var(--s200); border-radius: 3px; }
.sr-badge { padding: 2px 7px; font-size: 11px; font-weight: 600; color: var(--label); background: var(--s100); border: 1px solid var(--s200); border-radius: 999px; white-space: nowrap; }
.sr-empty { padding: 12px; font-size: 13px; color: var(--s600); }
@keyframes pop { from { opacity: 0; transform: translateY(-3px); } }

/* ---------------------------------------------------------------- top bar of the panel */
.topbar { position: sticky; top: 0; z-index: 40; min-height: 52px; padding: 10px 20px; display: flex; align-items: center; gap: 12px; background: rgb(252 252 253 / 0.92); border-bottom: 1px solid var(--s200); border-radius: 16px 16px 0 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tb-where { flex: 1; min-width: 0; }
.tb-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--title); }
.tb-title .i { color: var(--s500); }
.tb-actions { display: flex; align-items: center; gap: 8px; }
.tb-menu { display: none; width: 32px; height: 32px; place-items: center; color: var(--label); background: #fff; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.tb-cta .short { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--s500); }
.crumbs a:hover { color: var(--title); }
.crumbs [aria-current] { font-weight: 600; color: var(--title); }
.crumbs .i { color: var(--s400); }

/* Menus (language, switcher) */
.lang { position: relative; }
.lang summary { height: 32px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; list-style: none; color: var(--label); background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 2px rgb(16 24 40 / 0.05); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--s50); }
.menu { position: absolute; z-index: 80; top: calc(100% + 6px); inset-inline-end: 0; min-width: 180px; padding: 4px; display: grid; gap: 1px; color: var(--title); background: #fff; border-radius: 10px; box-shadow: var(--pop-shadow); animation: pop 0.15s var(--ease) both; }
.menu-up { top: auto; bottom: calc(100% + 4px); inset-inline: 8px; min-width: 0; }
.menu a { padding: 7px 8px; display: flex; align-items: center; gap: 9px; border-radius: 7px; font-size: 13px; font-weight: 500; }
.menu a:hover, .menu a[aria-current] { background: var(--s100); }
.menu a .i-check { margin-inline-start: auto; }
.menu b { min-width: 24px; padding: 2px 0; display: inline-grid; place-items: center; font-size: 10px; letter-spacing: 0.04em; color: var(--s600); background: var(--s100); border: 1px solid var(--s200); border-radius: 5px; }
.menu .av-all { border: 1px solid var(--s200); }

/* ---------------------------------------------------------------- content */
.content { width: 100%; max-width: 880px; margin: 0 auto; padding: 28px 28px 48px; }
.content-wide { max-width: 1120px; }
.content-doc { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 48px; align-items: start; }
.card { background: #fff; border: 1px solid var(--s200); border-radius: 12px; box-shadow: var(--card-shadow); }
.section { margin-top: 36px; }
.section-head { margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.section-head h2 { font-size: 16px; font-weight: 600; }
.section-head p { width: 100%; font-size: 13px; color: var(--s500); }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--label); }
.more:hover { color: var(--title); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s500); }

/* Home: the dark card at the top, like the admin's launch card */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 36px 28px; color: #fff; background: #0b0b0d; border-radius: 16px; box-shadow: 0 0 0 1px rgb(16 24 40 / 0.6), 0 8px 24px -12px rgb(16 24 40 / 0.5); }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgb(124 84 210 / 0.38), transparent 70%); pointer-events: none; }
.hero-drop .hero-glow { background: radial-gradient(60% 90% at 100% 0%, rgb(216 255 101 / 0.14), transparent 70%); }
[dir="rtl"] .hero-glow { background: radial-gradient(60% 90% at 0% 0%, rgb(124 84 210 / 0.38), transparent 70%); }
[dir="rtl"] .hero-drop .hero-glow { background: radial-gradient(60% 90% at 0% 0%, rgb(216 255 101 / 0.14), transparent 70%); }
.hero .eyebrow { color: rgb(255 255 255 / 0.55); }
.hero h1 { margin-top: 10px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
.hero .lead { margin-top: 8px; max-width: 560px; font-size: 14px; color: rgb(255 255 255 / 0.65); }
.hero .search { margin-top: 22px; }
.hero-foot { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: rgb(255 255 255 / 0.45); }
.popular a { color: rgb(255 255 255 / 0.75); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.25); text-underline-offset: 3px; }
.popular a:hover { color: #fff; text-decoration-color: #fff; }

/* Product filter: a segmented control */
.pfilter { display: inline-flex; padding: 3px; gap: 2px; background: rgb(255 255 255 / 0.06); border-radius: 9px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.pfilter a { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; color: rgb(255 255 255 / 0.65); border-radius: 7px; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.pfilter a:hover { color: #fff; }
.pfilter a[aria-current] { color: #0b0b0d; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }

/* Product choice (main home) */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.choice-top { display: grid; gap: 8px; }
.choice-logo .logo { font-size: 24px; }
.choice-logo .logo .xmark { width: 17px; height: 17px; }
.choice-top p { font-size: 14px; color: var(--s600); }
.choice-points { list-style: none; display: grid; gap: 8px; }
.choice-points li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--label); }
.choice-points .i { color: var(--title); }
.choice .btn { align-self: flex-start; margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--label); background: #fff; border: 1px solid var(--s200); border-radius: 7px; transition: border-color 0.15s, color 0.15s; }
.chips a .i { color: var(--s500); }
.chips a:hover { color: var(--title); border-color: var(--border); }

/* Topic cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cat-card { padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.15s, box-shadow 0.15s; }
.cat-card:hover { border-color: var(--border); box-shadow: 0 4px 12px -4px rgb(16 24 40 / 0.12); }
.cat-card .ico { margin-bottom: 6px; justify-content: start; color: var(--title); }
.cat-card h3 { font-size: 14px; font-weight: 600; }
.cat-card p { font-size: 13px; line-height: 1.5; color: var(--s500); }
.cat-card ul { margin: 6px 0 2px; padding-top: 8px; list-style: none; display: grid; gap: 4px; border-top: 1px solid var(--s100); }
.cat-card li { font-size: 12.5px; color: var(--s600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-card small { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--label); }

/* AI and support bands */
.ai-band, .support-band { margin-top: 36px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.ai-band .ico, .support-band .ico { color: var(--title); }
.ai-copy { flex: 1; min-width: 0; }
.ai-band .eyebrow { margin-bottom: 4px; }
.ai-band h2, .support-band h2 { font-size: 14px; font-weight: 600; }
.ai-band p:not(.eyebrow), .support-band p { margin-top: 2px; font-size: 13px; color: var(--s500); }
.support-band { justify-content: space-between; }
.support-band > div { display: flex; align-items: center; gap: 14px; }

/* Rows */
.rows { display: grid; gap: 6px; }
.row { padding: 12px 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--s200); border-radius: 10px; box-shadow: var(--card-shadow); transition: border-color 0.15s; }
.row:hover { border-color: var(--border); }
.row-n { width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--label); border: 1px solid var(--s200); border-radius: 6px; }
.row-text { min-width: 0; display: grid; gap: 1px; }
.row-text b { font-size: 13.5px; font-weight: 600; }
.row-text small { font-size: 12.5px; color: var(--s500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row > .i { color: var(--s400); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }

/* FAQ */
.faq-list { display: grid; gap: 6px; }
.faq { background: #fff; border: 1px solid var(--s200); border-radius: 10px; box-shadow: var(--card-shadow); }
.faq summary { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--s400); transition: rotate 0.2s; }
.faq[open] summary .i { rotate: 180deg; }
.faq-a { padding: 0 14px 14px; font-size: 13px; line-height: 1.6; color: var(--s600); }
.faq-a p + p { margin-top: 6px; }
.faq-a a { color: var(--title); text-decoration: underline; text-underline-offset: 3px; }
.faq-guide { margin-top: 8px; display: inline-flex !important; align-items: center; gap: 4px; font-weight: 600; text-decoration: none !important; }
.faq-tools { margin: 20px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field { flex: 1; max-width: 360px; height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 8px; color: var(--s500); background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 1px 2px rgb(16 24 40 / 0.05); }
.field:focus-within { border-color: var(--title); box-shadow: 0 0 0 3px rgb(16 24 40 / 0.08); }
.field input { flex: 1; min-width: 0; color: var(--title); background: transparent; border: 0; outline: 0; font: inherit; font-size: 13px; }
#faq-count { font-size: 12.5px; color: var(--s500); }
.faq-empty { padding: 16px; text-align: center; font-size: 13px; color: var(--s500); }

/* Page heads (topics, FAQ) */
.page-head { display: flex; align-items: flex-start; gap: 14px; }
.page-head .ico { margin-top: 3px; }
.page-head h1 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.page-head .lead { margin-top: 4px; font-size: 14px; color: var(--s500); }
.meta { margin: 22px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--s500); }
.other-cats { margin-top: 36px; }
.other-cats h2 { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--s600); }

/* Article */
.doc { min-width: 0; max-width: 720px; }
.art-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--s200); }
.art-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--s500); }
.art-cat:hover { color: var(--title); }
.art-head h1 { margin-top: 10px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.art-head .lead { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--s600); }
.art-meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12.5px; color: var(--s500); }
.art-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.badge { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--label); background: var(--s100); border: 1px solid var(--s200); border-radius: 6px; }
.badge .dot-drop { background: #8fc400; box-shadow: none; }
.copy-link { margin-inline-start: auto; }
.doc-toc { position: sticky; top: 72px; }
.toc p { margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s500); }
.toc ol { list-style: none; display: grid; gap: 1px; border-inline-start: 1px solid var(--s200); }
.toc a { margin-inline-start: -1px; padding: 4px 12px; display: block; font-size: 12.5px; line-height: 1.4; color: var(--s500); border-inline-start: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.toc a:hover { color: var(--title); }
.toc a.active { color: var(--title); font-weight: 600; border-color: var(--title); }
.toc-mobile { display: none; margin-bottom: 18px; }
.toc-mobile summary { padding: 10px 14px; display: flex; justify-content: space-between; list-style: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile .toc { padding: 0 14px 12px; }
.toc-mobile .toc p { display: none; }

/* ---------------------------------------------------------------- prose */
.prose { font-size: 15px; line-height: 1.7; color: var(--subtitle); }
.prose > * + * { margin-top: 1em; }
.prose h2 { position: relative; margin-top: 2em; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--title); }
.prose h3 { position: relative; margin-top: 1.6em; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--title); }
.prose h2 + *, .prose h3 + * { margin-top: 0.55em; }
.prose .anchor { position: absolute; inset-inline-start: -0.9em; color: var(--s400); opacity: 0; font-weight: 400; transition: opacity 0.15s; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose a { color: var(--title); font-weight: 500; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
.prose a:hover { text-decoration-color: var(--title); }
.prose strong { font-weight: 600; color: var(--title); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--s400); }
.prose code { padding: 1px 5px; font: 500 0.87em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--s100); border: 1px solid var(--s200); border-radius: 5px; }
.prose pre { padding: 14px 16px; overflow-x: auto; color: #e6e8ee; background: #0b0b0d; border-radius: 10px; font-size: 13px; line-height: 1.6; }
.prose pre code { padding: 0; color: inherit; background: none; border: 0; }
.prose kbd { padding: 0 5px; font: 500 0.85em var(--sans); background: #fff; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; }
.prose blockquote { margin-inline: 0; padding: 10px 14px; color: var(--label); background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; font-size: 14px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--s200); border-radius: 10px; box-shadow: var(--card-shadow); }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; }
.prose th { padding: 9px 12px; text-align: start; font-size: 12px; font-weight: 600; color: var(--s600); background: var(--s50); border-bottom: 1px solid var(--s200); white-space: nowrap; }
.prose td { padding: 9px 12px; border-bottom: 1px solid var(--s100); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 500; color: var(--title); }

/* Admin path chip: [[Settings › Payments]] */
.ui-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 0 6px; vertical-align: 1px; font-size: 0.86em; font-weight: 600; line-height: 1.65; color: var(--title); background: #fff; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; white-space: nowrap; }
.ui-path .i { color: var(--s400); }

/* Callouts: one neutral card, the icon tells the kind */
.callout { padding: 12px 14px; background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; font-size: 14px; line-height: 1.6; }
.callout > * + * { margin-top: 0.4em; }
.callout-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.callout-warning { background: #fffaf5; border-color: #fbe3cc; }
.callout-warning .callout-title { color: #b54708; }

/* Numbered steps */
.steps > ol { list-style: none; padding: 0; counter-reset: step; display: grid; }
.steps > ol > li { position: relative; margin: 0; padding: 0 0 18px; padding-inline-start: 38px; counter-increment: step; }
.steps > ol > li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--title); background: #fff; border: 1px solid var(--border); border-radius: 7px; box-shadow: var(--card-shadow); }
.steps > ol > li::after { content: ""; position: absolute; inset-inline-start: 11.5px; top: 30px; bottom: 4px; width: 1px; background: var(--s200); }
.steps > ol > li:last-child { padding-bottom: 0; }
.steps > ol > li:last-child::after { display: none; }
.steps > ol > li > * + * { margin-top: 0.45em; }

/* Screenshots */
.shot { margin: 1.6em 0 !important; }
.shot-frame { width: fit-content; max-width: 100%; margin-inline: auto; overflow: hidden; background: #fff; border: 1px solid var(--s200); border-radius: 12px; box-shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 12px 28px -16px rgb(16 24 40 / 0.3); }
.shot-bar { height: 28px; padding: 0 10px; display: flex; align-items: center; gap: 5px; background: var(--s50); border-bottom: 1px solid var(--s200); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--s200); }
.shot-bar span { margin-inline: auto; padding: 1px 32px; font-size: 10.5px; color: var(--s500); background: #fff; border: 1px solid var(--s200); border-radius: 5px; }
.shot img { width: auto; max-width: 100%; }
.shot figcaption { margin-top: 8px; font-size: 12.5px; color: var(--s500); text-align: center; }

/* Related, pager */
.related { margin-top: 40px; }
.related h2 { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.pager { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pager a { padding: 12px 14px; display: grid; gap: 3px; transition: border-color 0.15s; }
.pager a:hover { border-color: var(--border); }
.pager .next { text-align: end; }
.pager small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--s500); }
.pager .next small { justify-content: flex-end; }
.pager b { font-size: 13.5px; font-weight: 600; }

/* Footer: a quiet line at the bottom of the panel */
.ftr { padding: 16px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; font-size: 12px; color: var(--s500); border-top: 1px solid var(--s200); }
.ftr nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ftr a:hover { color: var(--title); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .content-doc { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { display: none; }
  .toc-mobile { display: block; }
  .doc { max-width: none; }
}
@media (max-width: 1020px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .choices { grid-template-columns: 1fr; }
}
/* Below 1024px, like the admin, the sidebar slides in over the page */
@media (max-width: 1023px) {
  .frame { display: block; padding: 0; }
  .panel { min-height: 100vh; border-radius: 0; box-shadow: none; }
  .topbar { border-radius: 0; padding: 8px 12px; }
  .tb-menu { display: grid; }
  .rail { position: fixed; top: 8px; bottom: 8px; inset-inline-start: 8px; z-index: 120; width: min(var(--rail-w), calc(100vw - 48px)); height: auto; transform: translateX(calc(-100% - 16px)); transition: transform 0.3s var(--ease); }
  [dir="rtl"] .rail { transform: translateX(calc(100% + 16px)); }
  body.rail-open .rail { transform: none; }
  .rail-close { display: grid; }
  .rail-scrim { position: fixed; inset: 0; z-index: 110; background: rgb(16 24 40 / 0.4); animation: fade 0.2s both; }
  body.rail-open { overflow: hidden; }
}
@keyframes fade { from { opacity: 0; } }
@media (max-width: 640px) {
  .content { padding: 18px 14px 36px; }
  .hero { padding: 24px 18px 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .tb-cta .long { display: none; }
  .tb-cta .short { display: inline; }
  .support-band, .ai-band { flex-direction: column; align-items: flex-start; }
  .pager { grid-template-columns: 1fr; }
  .copy-link { margin-inline-start: 0; }
  .ftr { padding: 14px; }
  .search-big .kbd { display: none; }
  .pfilter { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .rail, .topbar, .doc-toc, .ftr, .support-band, .pager, .related, .copy-link { display: none !important; }
  .frame { display: block; padding: 0; }
  .panel { box-shadow: none; }
  body { background: #fff; }
}

/* Eligible countries */
.countries { margin: 8px 0 24px; }
.country-group { margin-top: 18px; }
.country-group[hidden], .countries li[hidden] { display: none; }
.prose .country-letter { margin: 0 0 6px; padding-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--s500); border-bottom: 1px solid var(--border); }
.prose .countries ul { margin: 0; padding: 0; list-style: none; columns: 3 180px; column-gap: 24px; }
.prose .countries li { margin: 0; padding: 4px 6px; font-size: 14px; color: var(--title); break-inside: avoid; border-radius: 6px; scroll-margin-top: 90px; }
.prose .countries li::before { content: none; }
.prose .countries li:target { background: #f2f4f7; border-inline-start: 2px solid var(--title); font-weight: 600; }
.prose .countries li + li { margin-top: 0; }
.prose .countries sup { color: var(--s500); }
.prose .country-none, .prose .country-note { margin-top: 14px; font-size: 13px; color: var(--s500); }
