/* IG Pro Apps website redesign, delivery 1 (qa/SITE_REDESIGN_SPEC_AR.md, qa/IDENTITY_REVIEW_AR.md; owner 2026-11-11).
   Loaded only by templates/rd_layout.html (home page and the program pages already in the new form).
   One palette named by role, light first; dark only when the visitor switches it on. One accent colour.
   Two self-hosted fonts. Spacing in steps of 4 and 8. Logical properties, so Arabic mirrors by itself.
   Class names start with "rd-" (the rebuild into the "ig" app renames "ig-" and some "ig-" names). */

/* ---------- fonts (self-hosted; nothing is loaded from another site) ---------- */
@font-face { font-family: RdInter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/igproapps/fonts/ig-inter-latin.woff2") format("woff2"); unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0329, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Noto Sans Arabic (SIL Open Font License 1.1), Arabic letters only: digits stay Latin (identity review 1.7). */
@font-face { font-family: RdArabic; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/igproapps/fonts/rd-noto-sans-arabic-400.woff2") format("woff2"); unicode-range: U+0600-065F, U+066A-06EF, U+06FA-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: RdArabic; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/assets/igproapps/fonts/rd-noto-sans-arabic-700.woff2") format("woff2"); unicode-range: U+0600-065F, U+066A-06EF, U+06FA-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

/* ---------- palette by role (identity review 4) ---------- */
:root {
	--rd-bg: #ffffff;
	--rd-band: #f4f7fb;
	--rd-text: #12233d;
	--rd-heading: #1f3a6e;
	--rd-muted: #5a6b82;
	--rd-accent: #1c5fd4;
	--rd-on-accent: #ffffff;
	--rd-accent-soft: #e8f0fd;
	--rd-line: #dfe6ef;
	--rd-ctl: #7b8aa0;
	--rd-ok: #0f7a55;
	--rd-err: #b42318;
	--rd-warn: #8a5a00;
	--rd-wa: #0b7a3e;
	--rd-shadow: 0 8px 24px -12px rgba(18, 35, 61, 0.28);
	--rd-font: RdInter, RdArabic, "Segoe UI", Tahoma, system-ui, -apple-system, "Noto Sans", sans-serif;
	--rd-lh: 1.5;
	--rd-lh-head: 1.2;
	--rd-header-h: 56px;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--rd-bg: #0e1622;
	--rd-band: #141f2e;
	--rd-text: #eaf0f8;
	--rd-heading: #eaf0f8;
	--rd-muted: #a3b2c6;
	--rd-accent: #6ea3ff;
	--rd-on-accent: #08152b;
	--rd-accent-soft: #1a2b47;
	--rd-line: #27364a;
	--rd-ctl: #5d7190;
	--rd-ok: #4ccf9f;
	--rd-err: #ff8a80;
	--rd-warn: #f0c060;
	--rd-wa: #3ed083;
	--rd-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}
:root[lang="ar"] { --rd-lh: 1.7; --rd-lh-head: 1.35; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--rd-header-h) + 12px); }
body { margin: 0; background: var(--rd-bg); color: var(--rd-text); font-family: var(--rd-font); font-size: 16px; line-height: var(--rd-lh); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
[hidden] { display: none !important; }
img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { margin: 0; color: var(--rd-heading); line-height: var(--rd-lh-head); font-weight: 700; text-wrap: balance; }
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--rd-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
/* A link inside a sentence keeps the line height but is easier to hit (target size, WCAG 2.2). */
.rd-main p > a, .rd-main li > a:not([class]), .rd-footer p > a, .rd-consent a { padding-block: 8px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
small { font-size: 14px; }
:focus-visible { outline: 2px solid var(--rd-accent); outline-offset: 2px; border-radius: 6px; }
.rd-sr, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rd-skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100; background: var(--rd-accent); color: var(--rd-on-accent); padding: 12px 16px; border-radius: 12px; }
.rd-skip:focus { inset-inline-start: 12px; }
.rd-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.rd-narrow { max-width: 760px; }
.rd-narrow--start { margin-inline: max(16px, calc((100% - 1160px) / 2)) auto; }
.rd-center { text-align: center; }
.rd-nowrap { white-space: nowrap; }
/* A phone number or an e-mail address inside an Arabic sentence: left to right, never broken (QA ج-1, ج-3).
   An address wider than the line ends with "…"; the whole address stays in the box above and in the title. */
.rd-ltr { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.rd-ltr--mail { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.rd-dark { display: none; }
:root[data-theme="dark"] .rd-dark { display: block; }
:root[data-theme="dark"] .rd-light { display: none; }
.rd-ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:root[dir="rtl"] .rd-crumbs .rd-ic, :root[dir="rtl"] .rd-search__go svg { transform: scaleX(-1); }
.rd-review-bar { background: var(--rd-accent-soft); color: var(--rd-text); text-align: center; padding: 8px 16px; font-size: 14px; }

/* ---------- controls: three shapes only (identity review 8) ---------- */
.rd-btn, .ig-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; white-space: nowrap; border-radius: 12px; border: 1px solid var(--rd-ctl); background: var(--rd-bg); color: var(--rd-text); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color 0.15s, border-color 0.15s; }
.rd-btn:hover, .ig-btn:hover { border-color: var(--rd-accent); text-decoration: none; }
.rd-btn--primary, .ig-btn--primary { background: var(--rd-accent); border-color: var(--rd-accent); color: var(--rd-on-accent); }
.rd-btn--primary:hover, .ig-btn--primary:hover { filter: brightness(0.92); }
.rd-btn--text { border-color: transparent; background: transparent; color: var(--rd-accent); padding: 0 8px; }
.rd-btn--sm, .ig-btn--sm { padding: 0 12px; font-size: 15px; }
.rd-btn--xs { min-height: 48px; padding: 0 16px; font-size: 15px; }
.rd-iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 48px; height: 48px; padding: 0 8px; border: 0; background: transparent; color: var(--rd-text); border-radius: 12px; font-weight: 600; font-size: 14px; }
.rd-iconbtn:hover { background: var(--rd-band); }
.rd-iconbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ig-input, .rd-input { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); }
.lbl, .ig-country label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 4px; }
.ig-form__status { min-height: 0; margin: 8px 0 0; font-size: 14px; }
.ig-form__status.is-ok { color: var(--rd-ok); }
.ig-form__status.is-error { color: var(--rd-err); }
.ig-hp { position: absolute; inset-inline-start: -9999px; }

/* ---------- header ---------- */
.rd-header { position: sticky; top: 0; z-index: 50; background: var(--rd-bg); border-bottom: 1px solid var(--rd-line); }
.rd-header__in { display: flex; align-items: center; gap: 8px; min-height: calc(var(--rd-header-h) - 1px); }
.rd-logo { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.rd-header .rd-logo__full { display: none; height: 32px; width: auto; }
.rd-logo__mark { height: 36px; width: 36px; border-radius: 8px; }
/* Board 2026-11-17, rule 8 (desktop D-M8): the full wordmark at every width, phones included, from the owner's own files
   (rd/*-light-bg.svg = his IGPRO_APPS_dark.svg, navy letters, light theme; rd/*-dark-bg.svg = his IGPRO_APPS_light.svg,
   white letters, dark theme; matched by SHA-1 and letter colour). The IG tile is no longer shown in the header. */
.rd-header .rd-logo__full.rd-light { display: block; }
:root[data-theme="dark"] .rd-header .rd-logo__full.rd-light { display: none; }
:root[data-theme="dark"] .rd-header .rd-logo__full.rd-dark { display: block; }
.rd-header .rd-logo__mark { display: none; }
.rd-nav { display: none; }
.rd-header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.rd-header__search { display: none; }
.rd-lang { position: relative; }
.rd-lang summary { list-style: none; cursor: pointer; }
.rd-lang summary::-webkit-details-marker { display: none; }
.rd-lang__name { display: none; }
.rd-lang__list { position: absolute; inset-inline-end: 0; top: calc(100% + 4px); z-index: 60; width: 208px; max-height: min(70vh, 480px); overflow: auto; padding: 8px; background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 12px; box-shadow: var(--rd-shadow); }
.rd-lang__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--rd-text); text-decoration: none; }
.rd-lang__list a:hover { background: var(--rd-band); }
.rd-lang__list a[aria-current] { background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 600; }
.rd-drop { border-top: 1px solid var(--rd-line); background: var(--rd-bg); padding: 12px 0 16px; box-shadow: var(--rd-shadow); }
.rd-menu nav > a, .rd-menu nav > button { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--rd-line); background: none; color: var(--rd-text); text-decoration: none; font-weight: 600; text-align: start; }
.rd-menu .rd-search { margin-bottom: 8px; }
.rd-noscript-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; font-size: 15px; }
@media (max-width: 479px) {
	/* QA M-1: the language list stays inside the screen in both directions. */
	.rd-lang { position: static; }
	.rd-lang__list { position: fixed; inset-inline: 16px; top: calc(var(--rd-header-h) + 4px); width: auto; max-height: calc(100vh - var(--rd-header-h) - 24px); max-height: calc(100dvh - var(--rd-header-h) - 24px); }
	/* While the visit-measurement bar shows, the list ends above it and scrolls. */
	:root:has(.rd-consent:not([hidden])) .rd-lang__list { max-height: calc(100vh - var(--rd-header-h) - 84px); max-height: calc(100dvh - var(--rd-header-h) - 84px); }
	.rd-header .rd-btn--sm { padding: 0 10px; font-size: 14px; }
	.rd-header .rd-btn--text { padding: 0 6px; }
	.rd-lang .rd-iconbtn { padding: 0 4px; }
	.rd-header .rd-logo__full { height: 26px; }
}
@media (min-width: 480px) {
	.rd-lang__name { display: inline; }
	.rd-header .rd-logo__full.rd-light { display: block; }
	:root[data-theme="dark"] .rd-header .rd-logo__full.rd-light { display: none; }
	:root[data-theme="dark"] .rd-header .rd-logo__full.rd-dark { display: block; }
	.rd-logo__mark { display: none; }
}
@media (min-width: 960px) {
	:root { --rd-header-h: 64px; }
	.rd-nav { display: flex; gap: 4px; margin-inline-start: 16px; }
	.rd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; }
	.rd-nav a:hover { background: var(--rd-band); }
	.rd-header__search { display: inline-flex; }
	.rd-menu-btn { display: none; }
	.rd-header .rd-logo__full { height: 36px; }
	.rd-btn, .ig-btn { min-height: 44px; }
	.rd-iconbtn { height: 44px; min-width: 44px; }
	.rd-btn--xs { min-height: 44px; }
	.rd-search__clear, .rd-search__go { width: 44px; height: 44px; }
	.rd-search__box { padding-inline: 12px 4px; }
}

/* ---------- profession box ---------- */
.rd-search { position: relative; text-align: start; }
.rd-search__label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 4px; color: var(--rd-heading); }
.rd-search__box { display: flex; align-items: center; height: 56px; border: 2px solid var(--rd-accent); border-radius: 12px; background: var(--rd-bg); padding-inline: 12px 2px; }
.rd-search__box:focus-within { outline: 2px solid var(--rd-accent); outline-offset: 2px; }
.rd-search__ic { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--rd-muted); stroke-width: 1.75; stroke-linecap: round; }
.rd-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 8px; font-size: 16px; outline: none; }
.rd-search input::placeholder { color: var(--rd-muted); opacity: 1; }
.rd-search input::-webkit-search-cancel-button { display: none; }
.rd-search__clear, .rd-search__go { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border: 0; border-radius: 10px; background: transparent; color: var(--rd-muted); }
.rd-search__go { background: var(--rd-accent); color: var(--rd-on-accent); }
.rd-search__clear svg, .rd-search__go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rd-suggest { position: absolute; inset-inline: 0; top: calc(100% + 4px); z-index: 30; max-height: min(60vh, 440px); overflow: auto; padding: 4px; background: var(--rd-bg); border: 1px solid var(--rd-ctl); border-radius: 12px; box-shadow: var(--rd-shadow); animation: rd-in 0.15s ease-out; }
@keyframes rd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.rd-suggest a.rd-opt { display: block; min-height: 48px; padding: 8px 12px; border-radius: 8px; color: var(--rd-text); text-decoration: none; }
.rd-suggest a.rd-opt:hover, .rd-suggest a.rd-opt.is-active { background: var(--rd-accent-soft); }
.rd-opt b { display: block; font-weight: 600; }
.rd-opt small { display: block; color: var(--rd-muted); font-size: 14px; }
.rd-suggest__msg { margin: 0; padding: 8px 12px; font-size: 15px; color: var(--rd-text); }
.rd-suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 8px; }
.rd-suggest__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--rd-ctl); border-radius: 999px; color: var(--rd-text); text-decoration: none; font-size: 14px; }
.rd-suggest__chips a:hover { border-color: var(--rd-accent); }
.rd-suggest__wa { display: block; padding: 8px 12px 12px; font-weight: 600; }

/* ---------- first screen ---------- */
.rd-hero { padding: 20px 0 8px; text-align: center; }
.rd-hero__in { max-width: 720px; }
.rd-hero h1 span { color: var(--rd-accent); }
.rd-hero__sub { margin: 8px auto 16px; color: var(--rd-muted); font-size: 16px; max-width: 60ch; }
.rd-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 12px; font-size: 14px; color: var(--rd-text); }
/* Final QA (2026-11-12): a line that wraps keeps its check mark beside it, at the start of its first line. */
.rd-ticks li { display: inline-flex; align-items: flex-start; gap: 4px; max-width: 100%; text-align: start; }
.rd-ticks .rd-ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--rd-ok); stroke-width: 2.5; }
.rd-phoneline--home { justify-content: center; text-align: start; }
.rd-found { margin-top: 12px; padding: 12px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-band); text-align: start; }
.rd-found__head { font-weight: 600; margin-bottom: 8px; }
.rd-found p:last-child { margin-bottom: 0; }

/* ---------- groups ---------- */
.rd-groups-sec { padding: 16px 0 32px; }
.rd-groups-sec .rd-h2 { font-size: 18px; margin-bottom: 12px; }
.rd-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 8px; }
.rd-group { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; scroll-margin-top: calc(var(--rd-header-h) + 8px); transition: border-color 0.15s, background-color 0.15s; }
.rd-group:hover { border-color: var(--rd-accent); text-decoration: none; }
.rd-group.is-open { border-color: var(--rd-accent); box-shadow: inset 0 0 0 1px var(--rd-accent); background: var(--rd-accent-soft); }
.rd-group__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--rd-accent-soft); color: var(--rd-accent); }
.rd-group.is-open .rd-group__ic { background: var(--rd-bg); }
/* The list fades in without moving (tester round 2026-11-11: nothing may move under the finger after the tap). */
.rd-panel { grid-column: 1 / -1; padding: 12px; border-radius: 16px; background: var(--rd-band); border: 1px solid var(--rd-line); animation: rd-fade 0.15s ease-out; }
@keyframes rd-fade { from { opacity: 0; } to { opacity: 1; } }
.rd-panel__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rd-panel__jump a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rd-ctl); border-radius: 999px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 14px; }
.rd-panel__jump a:hover { border-color: var(--rd-accent); color: var(--rd-accent); }
.rd-panel__jump small { font-weight: 400; color: var(--rd-muted); }
.rd-panel__sub { font-size: 14px; font-weight: 700; color: var(--rd-muted); margin: 12px 4px 4px; scroll-margin-top: calc(var(--rd-header-h) + 8px); }
.rd-panel__sub:first-child, .rd-panel__jump + .rd-panel__sub { margin-top: 0; }
.rd-proglist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.rd-prog { display: block; min-height: 48px; padding: 8px 12px; border-radius: 10px; background: var(--rd-bg); border: 1px solid var(--rd-line); text-decoration: none; color: var(--rd-text); }
.rd-prog:hover { border-color: var(--rd-accent); text-decoration: none; }
.rd-prog__name { display: block; font-weight: 600; color: var(--rd-accent); }
.rd-prog__name small { color: var(--rd-muted); font-weight: 400; }
.rd-prog__who { display: block; font-size: 14px; color: var(--rd-muted); }
.rd-groups__all { margin: 16px 0 0; }
@media (min-width: 640px) {
	.rd-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.rd-proglist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.rd-panel { padding: 16px; }
}
@media (min-width: 960px) {
	.rd-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rd-group { min-height: 72px; padding: 12px; font-size: 16px; gap: 12px; }
	.rd-proglist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- sections ---------- */
/* Between two sections: 48 px on phones, 80 px on computers (identity review 7.3). */
.rd-sec { padding: 24px 0; }
.rd-sec.rd-band { padding: 32px 0; }
.rd-band { background: var(--rd-band); }
.rd-h2 { margin-bottom: 16px; }
.rd-lead { color: var(--rd-muted); max-width: 70ch; }
/* Organisations card (owner 2026-11-11): small, in the lower part of the home page; same shape as the other cards. */
.rd-org { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-org > .rd-ic { color: var(--rd-accent); margin-top: 2px; }
.rd-org__body { min-width: 0; flex: 1; }
.rd-org h2 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.rd-org p { margin: 0; color: var(--rd-muted); font-size: 15px; }
.rd-org .rd-org__who { margin-top: 8px; color: var(--rd-text); font-weight: 600; }
.rd-org__who a { white-space: nowrap; unicode-bidi: isolate; }
.rd-org .rd-org__act { margin-top: 12px; }
/* The button stays inside the card on phones: its words may wrap, its height stays 48 or more. */
.rd-org .rd-org__act .rd-btn { white-space: normal; max-width: 100%; padding-block: 8px; line-height: 1.3; }
/* ---------- page for authorities, institutions and ministries (/organisations) ---------- */
.rd-orghero { padding: 24px 0 32px; }
.rd-badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 700; font-size: 14px; }
.rd-orghero__lead { margin: 12px 0 0; color: var(--rd-muted); font-size: 17px; max-width: 62ch; }
.rd-orghero__acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; }
.rd-offers { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.rd-offer { padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-offer > .rd-ic { color: var(--rd-accent); }
.rd-offer h3 { margin: 8px 0 4px; }
.rd-offer p { margin: 0; color: var(--rd-muted); }
.rd-who { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rd-who li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--rd-ctl); border-radius: 999px; background: var(--rd-bg); font-weight: 600; }
.rd-who .rd-ic { width: 20px; height: 20px; color: var(--rd-accent); }
.rd-proof { display: grid; gap: 0; }
.rd-proof li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--rd-line); }
.rd-proof a { display: inline-flex; align-items: center; min-height: 44px; }
.rd-proof .rd-ic { width: 20px; height: 20px; margin-top: 4px; color: var(--rd-ok); stroke-width: 2.25; }
.rd-orgcall { max-width: 620px; margin-inline: auto; padding: 24px 16px; border: 2px solid var(--rd-accent); border-radius: 16px; background: var(--rd-bg); text-align: center; }
.rd-orgcall__who { margin: 0; color: var(--rd-muted); font-weight: 600; }
.rd-orgcall__num { display: block; width: fit-content; margin: 8px auto 16px; padding-block: 4px; font-size: 28px; font-weight: 700; color: var(--rd-heading); text-decoration: none; unicode-bidi: isolate; white-space: nowrap; }
.rd-orgcall__num:hover { text-decoration: underline; }
.rd-steps--four p { margin-top: 0; color: var(--rd-text); }
.rd-steps--four li { align-items: center; }
.rd-orghero__more { margin: 12px 0 0; }
.rd-orghero__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.rd-howsupport { margin: 20px 0 0; color: var(--rd-muted); }
.rd-orgcall__acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 420px; margin-inline: auto; }
@media (min-width: 800px) {
	.rd-orghero { padding: 48px 0 56px; }
	.rd-orghero__acts { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
	.rd-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rd-steps.rd-steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rd-steps--four li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; align-items: start; }
	.rd-steps--four b { grid-row: auto; }
	.rd-steps--four p { grid-column: auto; }
	.rd-orgcall__acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .rd-offers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rd-steps { display: grid; gap: 16px; counter-reset: none; }
.rd-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.rd-steps b { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 700; }
.rd-steps h3 { align-self: center; }
.rd-steps p { grid-column: 2; margin: 4px 0 0; color: var(--rd-muted); }
.rd-needpc { display: flex; gap: 8px; align-items: flex-start; margin: 24px 0 0; padding: 12px; border-radius: 12px; background: var(--rd-accent-soft); color: var(--rd-text); }
.rd-needpc .rd-ic { color: var(--rd-accent); }
/* Phones show the "send me the link" note instead: it says the same and offers the way out. */
.rd-needpc:has(+ .ig-mobile-note:not([hidden])) { display: none; }
.rd-look { display: grid; gap: 24px; align-items: center; }
@media (max-width: 799px) { .rd-look__text > .rd-h2 { text-align: center; } }
.rd-benefits { display: grid; gap: 16px; }
.rd-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.rd-benefits .rd-ic { color: var(--rd-accent); margin-top: 2px; }
.rd-benefits p { margin: 4px 0 0; color: var(--rd-muted); }
.rd-shot { margin: 0; }
.rd-shot img { width: 100%; border: 1px solid var(--rd-line); border-radius: 16px; box-shadow: var(--rd-shadow); background: var(--rd-band); }
.rd-shot a { display: block; border-radius: 16px; }
.rd-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--rd-muted); }
.rd-trust { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rd-trust__item { padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-trust__item > .rd-ic { color: var(--rd-accent); float: inline-start; margin-inline-end: 8px; }
.rd-trust__item p { margin: 4px 0 0; color: var(--rd-muted); font-size: 15px; }
.rd-trust__item .rd-trust__proof { margin-top: 8px; color: var(--rd-text); font-size: 15px; }
.rd-faq details { border-bottom: 1px solid var(--rd-line); }
.rd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; cursor: pointer; font-weight: 600; list-style: none; }
.rd-faq summary::-webkit-details-marker { display: none; }
.rd-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--rd-accent); flex: none; }
.rd-faq details[open] summary::after { content: "\2212"; }
.rd-faq p { color: var(--rd-muted); margin: 0 0 16px; }
.rd-faq + p { margin-top: 16px; }
.rd-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
/* Consistency round (QA 2026-11-11): one form on both pages; equal buttons that fill their cells. */
.rd-contact--row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.rd-contact--row li { display: flex; }
.rd-contact--row a { flex: 1; justify-content: flex-start; text-align: start; padding: 8px 12px; font-size: 15px; }
/* The same two lines in every button: what it is, then the number or the address. */
.rd-contact__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.rd-contact__t > span:first-child { color: var(--rd-muted); font-weight: 600; font-size: 14px; }
.rd-contact__t .rd-ltr { overflow: hidden; text-overflow: ellipsis; text-align: match-parent; }
@media (min-width: 800px) { .rd-contact--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rd-contact--row a { padding: 8px; } }
.rd-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; }
.rd-contact a:hover { border-color: var(--rd-accent); }
.rd-contact .rd-ic { color: var(--rd-accent); }
.rd-reviews { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rd-review { margin: 0; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; }
.rd-review blockquote { margin: 8px 0; }
.rd-review__stars span { color: var(--rd-line); }
.rd-review__stars span.on { color: var(--rd-warn); }
.rd-review figcaption { color: var(--rd-muted); font-size: 14px; }
@media (min-width: 800px) {
	h1 { font-size: 42px; }
	h2 { font-size: 28px; }
	h3 { font-size: 20px; }
	.rd-hero { padding: 40px 0 16px; }
	.rd-hero__sub { font-size: 17px; }
	.rd-ticks { font-size: 15px; }
	.rd-sec { padding: 40px 0; }
	.rd-sec.rd-band { padding: 56px 0; }
	.rd-groups-sec { padding: 16px 0 56px; }
	.rd-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.rd-look { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
}

/* ---------- program page ---------- */
.rd-phead { padding: 12px 0 32px; }
.rd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 14px; margin-bottom: 12px; }
.rd-crumbs a { display: inline-flex; align-items: center; min-height: 40px; color: var(--rd-accent); }
.rd-crumbs a[aria-current] { color: var(--rd-text); font-weight: 600; text-decoration: none; }
.rd-crumbs .rd-ic { width: 16px; height: 16px; color: var(--rd-muted); }
.rd-phead__grid { display: grid; gap: 24px; align-items: center; }
.rd-phead__who { margin: 8px 0 0; font-weight: 600; color: var(--rd-text); }
.rd-phead__sum { margin: 8px 0 0; color: var(--rd-muted); max-width: 60ch; }
.rd-price { margin: 16px 0 0; font-size: 18px; color: var(--rd-text); }
.rd-price__num { font-weight: 700; font-size: 24px; color: var(--rd-heading); white-space: nowrap; }
.rd-price .ig-approx { color: var(--rd-muted); font-size: 15px; }
.rd-price__for { margin: 4px 0 0; font-size: 14px; color: var(--rd-muted); }
.rd-next { margin: 12px 0 0; font-size: 14px; color: var(--rd-text); max-width: 60ch; }
/* Phones: the parts that lead to the account page give way to the "send me the link" button (rd.js sets data-rd-phone). */
:root[data-rd-phone] [data-rd-desk] { display: none !important; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rd-phead .rd-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .rd-phead .rd-actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.rd-nocard { display: flex; align-items: center; gap: 4px; margin: 12px 0 0; font-size: 14px; color: var(--rd-text); }
.rd-nocard .rd-ic { width: 18px; height: 18px; color: var(--rd-ok); stroke-width: 2.5; }
.rd-phoneline { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 4px 12px; min-height: 48px; border-radius: 12px; background: var(--rd-accent-soft); color: var(--rd-text); font-size: 15px; }
.rd-phoneline .rd-ic { color: var(--rd-accent); }
.rd-phoneline span { font-weight: 600; }
#sendlink { scroll-margin-top: calc(var(--rd-header-h) + 8px); }
.rd-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.rd-quick a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 4px 8px; border: 1px solid var(--rd-ctl); border-radius: 12px; color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; text-align: center; }
.rd-quick a:hover { border-color: var(--rd-accent); color: var(--rd-accent); }
.rd-two { display: grid; gap: 32px; }
.rd-checks { display: grid; gap: 8px; }
.rd-checks li, .ig-checks li { display: flex; gap: 8px; align-items: flex-start; }
.rd-checks .rd-ic { width: 20px; height: 20px; margin-top: 3px; color: var(--rd-ok); stroke-width: 2.25; }
.rd-more { margin-top: 12px; display: grid; gap: 4px; font-size: 15px; }
.rd-more a { display: inline-flex; align-items: center; min-height: 40px; }
section[id], .rd-phead { scroll-margin-top: calc(var(--rd-header-h) + 8px); }
@media (min-width: 800px) {
	.rd-phead { padding: 16px 0 48px; }
	.rd-phead__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
	.rd-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}

/* ---------- packages on the program page (templates/ig_packages.html, restyled; prices unchanged) ---------- */
.ig-plans { margin-top: 16px; }
.ig-country-pick { margin-bottom: 12px; font-size: 15px; }
.ig-country-pick summary { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 44px; cursor: pointer; list-style: none; }
.ig-country-pick summary::-webkit-details-marker { display: none; }
.ig-country-pick__change { color: var(--rd-accent); text-decoration: underline; text-underline-offset: 3px; }
.ig-country { max-width: 420px; margin-bottom: 12px; }
.ig-quote__meta, .ig-local, .ig-plans__note { color: var(--rd-muted); font-size: 14px; }
.ig-billing { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); margin-bottom: 16px; }
.ig-billing__opt { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--rd-text); font-weight: 600; font-size: 15px; }
.ig-billing__opt[aria-pressed="true"] { background: var(--rd-accent); color: var(--rd-on-accent); }
.ig-billing__opt:disabled { color: var(--rd-muted); cursor: not-allowed; }
.ig-billing__save { font-weight: 400; font-size: 14px; }
.ig-plans__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ig-plan { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.ig-plan.is-picked { border-color: var(--rd-accent); box-shadow: inset 0 0 0 1px var(--rd-accent); }
.ig-plan__summary { color: var(--rd-muted); font-size: 14px; margin: 4px 0 8px; min-height: calc(2 * 14px * var(--rd-lh)); }
.ig-plan__size { display: none; }
.ig-plan__reveal { display: flex; flex-direction: column; flex: 1; }
.ig-plan__price { display: flex; align-items: baseline; gap: 0; font-size: 16px; color: var(--rd-heading); }
:root[data-rd-cur]:not([data-rd-cur="$"]) .ig-plan__cur { margin-inline-end: 0.25em; }
.ig-plan__price strong { font-size: 30px; font-weight: 700; line-height: 1.1; }
.ig-plan__per { color: var(--rd-muted); font-size: 14px; margin: 0 0 8px; }
.ig-plan__save { color: var(--rd-ok); font-size: 14px; margin: 0 0 8px; }
.ig-plan__list { display: grid; gap: 4px; margin: 4px 0 16px; font-size: 14px; }
.ig-plan__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--rd-accent); }
.ig-plan .ig-btn { margin-top: auto; }
.ig-plans__note { margin-top: 16px; }
.ig-approx { white-space: nowrap; }

/* ---------- pricing page (site delivery 2, drawing 9-pricing-page.html) ---------- */
.rd-amount { unicode-bidi: isolate; white-space: nowrap; }
.rd-pricehead { padding-bottom: 8px; }
.rd-pricehead__lead { margin: 8px 0 8px; font-size: 17px; }
.rd-pricehead__cty { margin: 0; }
.rd-pricehead__cty .ig-country { margin-top: 4px; }
.rd-calcsec { padding-top: 8px; }
.rd-calc { display: grid; gap: 16px; align-items: start; }
.rd-calc__steps { display: grid; gap: 16px; min-width: 0; }
.rd-pick, .rd-pricebox { min-width: 0; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-pick h2, .rd-pricebox h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; }
.rd-pick__n { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--rd-accent-soft); color: var(--rd-accent); font-size: 15px; }
.rd-pick__find { margin-bottom: 4px; }
.rd-pick .lbl { margin-top: 12px; }
.rd-who-uses { margin: 12px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.rd-who-uses legend { font-weight: 600; font-size: 14px; margin-bottom: 4px; padding: 0; }
.rd-opt-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--rd-ctl); border-radius: 12px; cursor: pointer; }
.rd-opt-row:has(input:checked) { border-color: var(--rd-accent); box-shadow: inset 0 0 0 1px var(--rd-accent); background: var(--rd-accent-soft); }
.rd-opt-row input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--rd-accent); }
.rd-opt-row b { display: block; font-weight: 600; }
.rd-opt-row small { display: block; color: var(--rd-muted); font-size: 14px; line-height: 1.35; }
.rd-sizes { display: grid; gap: 8px; }
.rd-quickprice { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--rd-accent-soft); font-size: 15px; }
.rd-quickprice b { color: var(--rd-heading); unicode-bidi: isolate; white-space: nowrap; }
.rd-quickprice a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.rd-own { margin-top: 8px; }
.rd-own summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--rd-accent); font-weight: 600; }
.rd-stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; border-bottom: 1px solid var(--rd-line); }
.rd-stepper label { font-weight: 600; min-width: 0; }
.rd-stepper__ctl { display: inline-flex; align-items: center; gap: 4px; flex: none; direction: ltr; }
.rd-stepper__ctl button { width: 44px; height: 44px; border: 1px solid var(--rd-ctl); border-radius: 10px; background: var(--rd-bg); color: var(--rd-accent); font-size: 20px; font-weight: 600; }
.rd-stepper__ctl button:hover { border-color: var(--rd-accent); }
.rd-stepper__ctl input { width: 64px; height: 44px; text-align: center; border: 1px solid var(--rd-ctl); border-radius: 10px; background: var(--rd-bg); font-weight: 600; -moz-appearance: textfield; }
.rd-stepper__ctl input::-webkit-inner-spin-button, .rd-stepper__ctl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rd-pricebox { background: var(--rd-band); }
.rd-pricebox .ig-billing { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 8px; }
.rd-pricebox__why { margin: 0 0 8px; color: var(--rd-warn); font-size: 14px; font-weight: 600; }
.rd-pricebox__empty { margin: 8px 0 16px; color: var(--rd-muted); }
.rd-pricebox__for { margin: 4px 0; color: var(--rd-muted); font-size: 14px; }
.rd-pricebox__big { margin: 0; color: var(--rd-heading); }
.rd-pricebox__big bdi { font-size: 36px; font-weight: 700; line-height: 1.15; }
.rd-pricebox__big small { color: var(--rd-muted); font-weight: 600; font-size: 15px; }
.rd-pricebox__pay { margin: 4px 0 8px; font-weight: 600; }
.rd-pricebox .ig-local { margin: 0 0 8px; }
.rd-pricebox__note { color: var(--rd-muted); font-size: 14px; margin: 8px 0 0; }
.rd-pricebox__go { width: 100%; margin-top: 12px; white-space: normal; padding-block: 8px; }
.rd-pricebox__more { margin: 8px 0 0; text-align: center; }
.rd-pricebox__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.rd-lines { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 15px; }
.rd-lines th { font-weight: 400; text-align: start; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--rd-line); }
:root[dir="rtl"] .rd-lines th { padding: 6px 0 6px 8px; }
.rd-lines td { text-align: end; padding: 6px 0; border-bottom: 1px solid var(--rd-line); white-space: nowrap; vertical-align: top; }
.rd-lines__total th, .rd-lines__total td { font-weight: 700; color: var(--rd-heading); }
.rd-incl { display: grid; gap: 12px; }
.rd-incl li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-incl .rd-ic { color: var(--rd-accent); margin-top: 2px; }
.rd-incl b { display: block; color: var(--rd-heading); }
.rd-types { margin: 8px 0 16px; }
.rd-typetable { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 8px; }
.rd-typetable th, .rd-typetable td { text-align: start; padding: 8px 4px; border-bottom: 1px solid var(--rd-line); vertical-align: top; }
.rd-typetable td:last-child { white-space: nowrap; }
.rd-typetable td small { display: block; color: var(--rd-muted); font-size: 13px; white-space: normal; }
.rd-pricewa { margin-top: 16px; }
.rd-pricewa a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 800px) { .rd-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
	.rd-calc { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
	.rd-pricebox { position: sticky; top: calc(var(--rd-header-h) + 16px); }
	.rd-quickprice { display: none !important; }
	.rd-incl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rd-pick, .rd-pricebox { padding: 24px; }
}

/* ---------- "send me the link" for phone visitors (templates/includes/ig_mobile_note.html) ---------- */
.ig-mobile-note { margin-top: 16px; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.ig-linkme { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ig-linkme > * { min-width: 0; }
.ig-linkme__note { font-size: 14px; color: var(--rd-muted); margin: 0; }
.ig-linkme__share { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.ig-linkme .ig-form__status.is-ok { margin: 4px 0 0; padding: 12px; border: 2px solid var(--rd-ok); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); font-size: 16px; font-weight: 600; }
.ig-linkme .ig-form__status.is-ok::before { content: "\2713\00a0"; color: var(--rd-ok); font-weight: 700; }

/* ---------- footer ---------- */
.rd-footer { background: var(--rd-band); border-top: 1px solid var(--rd-line); padding: 32px 0 88px; font-size: 14px; color: var(--rd-text); }
.rd-footer__in { display: grid; gap: 24px; }
.rd-footer__brand img { height: 40px; width: auto; margin-bottom: 12px; }
.rd-footer__brand p { margin: 0 0 4px; }
.rd-footer h2 { font-size: 14px; font-weight: 700; color: var(--rd-heading); margin: 0 0 4px; }
.rd-social { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-top: 12px; }
.rd-social h2 { width: 100%; }
.rd-social a { display: inline-grid; place-items: center; width: 36px; height: 40px; border-radius: 10px; color: var(--rd-text); }
.rd-social a:hover { background: var(--rd-bg); color: var(--rd-accent); }
.rd-footer__links { display: grid; gap: 16px; }
.rd-footer__links > div { display: flex; flex-wrap: wrap; gap: 0 16px; }
.rd-footer__links h2 { width: 100%; }
.rd-footer__links a { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 0; color: var(--rd-text); text-decoration: none; }
.rd-footer__links a:hover { color: var(--rd-accent); text-decoration: underline; }
.rd-footer__bar { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rd-line); color: var(--rd-muted); }
@media (min-width: 800px) {
	.rd-footer__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
	.rd-footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rd-footer__links > div { display: block; }
	.rd-footer__links a { display: flex; }
}

/* ---------- floating parts: one rule (identity review 11) ---------- */
.rd-consent { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 8px 16px; min-height: 56px; padding: 4px 16px; background: var(--rd-bg); border-top: 1px solid var(--rd-ctl); box-shadow: 0 -6px 18px -12px rgba(18, 35, 61, 0.35); font-size: 14px; line-height: 1.3; }
.rd-consent p { margin: 0; min-width: 0; }
.rd-consent__btns { display: flex; gap: 8px; flex: none; }
.rd-consent__btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.rd-consent__btns .rd-btn { min-width: 64px; }
.rd-consent:not([hidden]) ~ .rd-help { display: none; }
.rd-help { position: fixed; inset-inline-end: 12px; bottom: 16px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.rd-help__fab { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px 0 12px; border: 0; border-radius: 28px; background: var(--rd-accent); color: var(--rd-on-accent); font-weight: 600; font-size: 15px; box-shadow: var(--rd-shadow); }
:root[dir="rtl"] .rd-help__fab { padding: 0 12px 0 16px; }
.rd-help__fab svg, .rd-help__menu svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.rd-help__menu { display: grid; gap: 4px; min-width: 220px; padding: 8px; background: var(--rd-bg); border: 1px solid var(--rd-ctl); border-radius: 16px; box-shadow: var(--rd-shadow); animation: rd-in 0.15s ease-out; }
.rd-help__menu a, .rd-help__menu button { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 16px; text-align: start; }
.rd-help__menu a:hover, .rd-help__menu button:hover { background: var(--rd-band); }
.rd-help__wa svg { color: var(--rd-wa); }
.rd-footer:has(.ig-ast.is-open, .ig-fb.is-open) .rd-help { display: none; }

/* "Ask us" and "Feedback or idea" panels (templates/includes/ig_assistant.html, ig_feedback.html): opened
   from the help button; their own floating buttons are not shown. */
.ig-ast__fab, .ig-fb__btn { display: none !important; }
.ig-ast__panel, .ig-fb__panel { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; width: min(380px, 100vw - 32px); max-height: min(600px, 100vh - 32px); max-height: min(600px, 100dvh - 32px); background: var(--rd-bg); color: var(--rd-text); border: 1px solid var(--rd-ctl); border-radius: 16px; box-shadow: var(--rd-shadow); overflow: hidden; font-size: 15px; }
.ig-ast__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--rd-line); color: var(--rd-heading); }
:root[dir="rtl"] .ig-ast__head { padding: 8px 16px 8px 8px; }
.ig-ast__close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; font-size: 24px; line-height: 1; color: var(--rd-text); }
.ig-ast__close:hover { background: var(--rd-band); }
.ig-ast__log { flex: 1; min-height: 120px; overflow: auto; padding: 12px; display: grid; gap: 8px; align-content: start; }
.ig-ast__msg { padding: 8px 12px; border-radius: 12px; background: var(--rd-band); max-width: 92%; }
.ig-ast__msg--me { justify-self: end; background: var(--rd-accent-soft); }
.ig-ast__prog { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
.ig-ast__links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
.ig-ast__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 8px; }
.ig-ast__chips button { min-height: 40px; padding: 0 12px; border: 1px solid var(--rd-ctl); border-radius: 999px; background: var(--rd-bg); font-size: 14px; }
.ig-ast__chips button:hover { border-color: var(--rd-accent); }
.ig-ast__form { display: flex; gap: 8px; padding: 0 12px 8px; }
.ig-ast__note { margin: 0; padding: 0 12px 12px; font-size: 14px; color: var(--rd-muted); }
.ig-fb__form { overflow: auto; padding: 4px 16px 16px; }
.ig-fb__form .ig-btn { margin-top: 12px; }
.ig-fb__hint { font-size: 14px; color: var(--rd-muted); margin: 4px 0; }
.ig-fb__shot canvas { max-width: 100%; border: 1px solid var(--rd-line); border-radius: 8px; }
.ig-fb__form input[type="file"] { max-width: 100%; font-size: 14px; }

@media (max-width: 479px) {
	/* Tester round (2026-11-11): one row, 64 px (identity review 11): a short question and two buttons of the same
	   weight, 48 px high. */
	.rd-consent { justify-content: space-between; gap: 8px; padding: 8px 12px 7px; min-height: 64px; }
	.rd-consent p { flex: 1; }
	.rd-consent__btns .rd-btn { padding: 0 12px; }
	/* QA B-9: on phones the help button is a 48 px circle with the icon only (its name stays for screen readers). */
	.rd-help__fab { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
	:root[dir="rtl"] .rd-help__fab { padding: 0; }
	.rd-help__fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.rd-header, .rd-help, .rd-consent, .ig-ast, .ig-fb { display: none !important; }
}

/* Translation QA round (2026-11-12). Program page hero: the two buttons take the width of the longer one; when two of
   that width do not fit side by side, rd.js adds rd-actions--stack and they stack at full width (all 16 languages).
   Without rd.js a long label wraps inside its button instead of being cut. */
.rd-phead .rd-actions .rd-btn { white-space: normal; }
.rd-phead .rd-actions.rd-actions--measure > .rd-btn { width: max-content; white-space: nowrap; }
@media (min-width: 800px) { .rd-phead .rd-actions.rd-actions--stack { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); } }
/* Plan cards: a long label (id, pt) takes two lines inside its button instead of leaving it. */
.ig-plan .ig-btn { white-space: normal; padding-block: 8px; line-height: 1.3; }
/* Japanese headline: break between phrases, never inside a word (browsers without auto-phrase keep their normal breaking). */
:lang(ja) h1 { word-break: auto-phrase; }
/* Korean (auditor, delivery 2 batch 1, 2026-11-12): every Korean text breaks between words (eojeol), never inside one;
   overflow-wrap: anywhere is only the safety for one long word in a narrow box. Replaces the rule for headings only. */
:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- pages in the new frame (templates/rd_frame.html; delivery 2 batch 1, spec 4.0) ----------
   The content of these pages is not redesigned yet: it keeps its old classes, styled by site.bundle.css. Here that
   content is brought onto this palette, type and controls, so the visitor does not feel on another site: no ivory or
   navy bands, no gold buttons, links or icons. "#rd-main.rd-legacy" outranks the old sheet's long selectors and
   its !important rules (an id beats any chain of classes). Words, links and forms are untouched. */
#rd-main.rd-legacy {
	--ig-bg: var(--rd-bg); --ig-bg-2: var(--rd-band); --ig-surface: var(--rd-bg); --ig-surface-strong: var(--rd-bg); --ig-glass: var(--rd-bg);
	--ig-border: var(--rd-line); --ig-border-gold: var(--rd-line); --ig-text: var(--rd-text); --ig-muted: var(--rd-muted); --ig-faint: var(--rd-muted);
	--ig-accent: var(--rd-accent); --ig-eyebrow: var(--rd-accent); --ig-gold: var(--rd-accent); --ig-gold-strong: var(--rd-accent); --ig-gold-deep: var(--rd-accent);
	--ig-blue: var(--rd-accent); --ig-blue-deep: var(--rd-accent); --ig-danger: var(--rd-err); --ig-turq: var(--rd-ok);
	--ig-shadow: none; --ig-font: var(--rd-font); --ig-max: 1160px; --ig-r-sm: 12px; --ig-r-md: 16px; --ig-r-lg: 16px; --ig-r-xl: 16px;
	--qy-navy: var(--rd-heading); --qy-blue: var(--rd-accent); --qy-blue-2: var(--rd-accent); --qy-sky: var(--rd-accent-soft); --qy-soft: var(--rd-band); --qy-line: var(--rd-line);
	font-family: var(--rd-font); font-size: 16px; line-height: var(--rd-lh); color: var(--rd-text); background: var(--rd-bg);
}
#rd-main.rd-legacy :is(h1, h2, h3, h4) { color: var(--rd-heading); font-weight: 700; letter-spacing: 0; line-height: var(--rd-lh-head); }
#rd-main.rd-legacy h1 { font-size: 28px; }
#rd-main.rd-legacy h2 { font-size: 22px; }
#rd-main.rd-legacy h3 { font-size: 18px; }
#rd-main.rd-legacy a:not(.ig-btn):not(.qy-btn) { color: var(--rd-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#rd-main.rd-legacy :is(.ig-card, .ig-tile, .ig-plan, .ig-panel, .ig-family, .qy-card, .ig-faq__item, .ig-calc, .ig-callout) { border-radius: 16px !important; border-color: var(--rd-line) !important; box-shadow: none !important; background: var(--rd-bg); color: var(--rd-text); }
#rd-main.rd-legacy :is(.ig-card, .ig-tile, .qy-card) p { color: var(--rd-muted); }
#rd-main.rd-legacy .ig-lead, #rd-main.rd-legacy .qy-lead { color: var(--rd-muted); font-size: 16px; }
#rd-main.rd-legacy .ig-eyebrow { color: var(--rd-accent); }
/* The page head: white, like the new pages; the breadcrumb like theirs. */
#rd-main.rd-legacy :is(.ig-page-head, .ig-page-head--art) { background: var(--rd-bg) !important; border-bottom: 0; padding: 16px 0 8px !important; margin-top: 0 !important; }
#rd-main.rd-legacy .ig-page-head h1 { font-size: 28px; margin: 0 0 8px; }
#rd-main.rd-legacy .ig-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 14px; margin-bottom: 8px; color: var(--rd-muted); }
#rd-main.rd-legacy .ig-breadcrumb a { display: inline-flex; align-items: center; min-height: 40px; }
#rd-main.rd-legacy .ig-container { width: min(1160px, 100% - 32px); }
#rd-main.rd-legacy .ig-section { padding-block: 24px; }
/* Controls: the three shapes of the new pages (identity review 8). */
#rd-main.rd-legacy :is(.ig-btn, .qy-btn) { min-height: 48px; padding: 0 20px; border-radius: 12px !important; border: 1px solid var(--rd-ctl) !important; background: var(--rd-bg) !important; color: var(--rd-text) !important; box-shadow: none !important; font-weight: 600; font-size: 16px; text-decoration: none; transform: none; }
#rd-main.rd-legacy :is(.ig-btn, .qy-btn):hover { border-color: var(--rd-accent) !important; }
#rd-main.rd-legacy :is(.ig-btn--primary, .qy-btn--primary) { background: var(--rd-accent) !important; border-color: var(--rd-accent) !important; color: var(--rd-on-accent) !important; }
#rd-main.rd-legacy :is(.ig-btn--sm) { min-height: 44px; padding: 0 14px; font-size: 15px; }
#rd-main.rd-legacy .ig-btn.ig-btn--client { background: var(--rd-bg) !important; color: var(--rd-text) !important; border: 1px solid var(--rd-ctl) !important; }
#rd-main.rd-legacy :is(.ig-input, .ig-textarea, select.ig-input) { min-height: 48px; border: 1px solid var(--rd-ctl) !important; border-radius: 12px !important; background: var(--rd-bg) !important; color: var(--rd-text) !important; box-shadow: none !important; font-size: 16px; }
#rd-main.rd-legacy :is(.ig-chip[aria-pressed="true"], .ig-billing__opt[aria-pressed="true"]) { background: var(--rd-accent) !important; color: var(--rd-on-accent) !important; border-color: var(--rd-accent) !important; }
#rd-main.rd-legacy .ig-radio:has(input:checked) { border-color: var(--rd-accent); box-shadow: 0 0 0 1px var(--rd-accent); }
#rd-main.rd-legacy :is(.ig-steps-row b, .ig-tile__mark, .qy-steps li > span) { background: var(--rd-accent-soft) !important; color: var(--rd-accent) !important; }
#rd-main.rd-legacy :is(.ig-plan.is-featured, .ig-plan.is-picked) { border-color: var(--rd-accent) !important; box-shadow: inset 0 0 0 1px var(--rd-accent) !important; }
#rd-main.rd-legacy .ig-plan__flag { background: var(--rd-accent); color: var(--rd-on-accent); }
/* "How it works" blocks: no navy panels, gold lines or gradient words. */
#rd-main.rd-legacy .qy-ic { background: var(--rd-accent-soft) !important; box-shadow: none !important; }
#rd-main.rd-legacy .qy-ic svg { stroke: var(--rd-accent) !important; }
#rd-main.rd-legacy .qy-grad { background: none !important; color: var(--rd-accent) !important; -webkit-text-fill-color: currentColor; }
#rd-main.rd-legacy :is(.qy-hero, .qy-sec--soft) { background: var(--rd-band) !important; }
#rd-main.rd-legacy .qy-hero::before { display: none; }
#rd-main.rd-legacy :is(.qy-banner, .qy-final) { background: var(--rd-band) !important; border: 1px solid var(--rd-line) !important; color: var(--rd-text) !important; }
#rd-main.rd-legacy :is(.qy-banner, .qy-final) :is(h2, h3, p, li, span:not(.qy-ic)) { color: var(--rd-text) !important; }
#rd-main.rd-legacy .qy-btn--ghost { color: var(--rd-text) !important; }
#rd-main.rd-legacy .qy-pill { background: var(--rd-bg); border-color: var(--rd-ctl); color: var(--rd-text); }
#rd-main.rd-legacy :is(.qy-more, .qy-stats strong) { color: var(--rd-accent); }
#rd-main.rd-legacy .qy-steps__pic { background: var(--rd-accent-soft) !important; box-shadow: none !important; }
#rd-main.rd-legacy .qy-steps__pic svg { stroke: var(--rd-accent) !important; }
#rd-main.rd-legacy .qy-steps__pic span, #rd-main.rd-legacy .qy-num li::before { background: var(--rd-accent) !important; color: var(--rd-on-accent) !important; }
#rd-main.rd-legacy .qy-checks li::before { background: var(--rd-accent-soft) !important; color: var(--rd-ok) !important; }
#rd-main.rd-legacy :is(.qy-gloss dt, .qx-link span, .qx-row em.qx-wait) { color: var(--rd-accent) !important; }
#rd-main.rd-legacy .qx-link i { background: repeating-linear-gradient(90deg, var(--rd-accent) 0 8px, transparent 8px 14px) !important; }
#rd-main.rd-legacy .qx-link i::after { border-inline-start-color: var(--rd-accent) !important; }
#rd-main.rd-legacy :is(.qx-pc__screen, .qx-mob) { border-color: var(--rd-heading) !important; background: var(--rd-bg) !important; }
#rd-main.rd-legacy :is(.qx-pc__side, .qx-pc__stand) { background: var(--rd-heading) !important; }
#rd-main.rd-legacy .qx-mob__top { background: var(--rd-accent) !important; color: var(--rd-on-accent) !important; }
#rd-main.rd-legacy .qx-mob__row { box-shadow: inset 3px 0 0 var(--rd-accent) !important; background: var(--rd-band) !important; }
#rd-main.rd-legacy .qx-hub { background: var(--rd-accent) !important; color: var(--rd-on-accent) !important; box-shadow: 0 0 0 8px var(--rd-accent-soft) !important; }
#rd-main.rd-legacy .qx-hub * { color: var(--rd-on-accent) !important; }
/* Decorative art of the old look beside long texts and panels (aria-hidden pictures): not shown in the new frame. */
#rd-main.rd-legacy :is(.ig-prose-aside, .ig-trust__art, .ig-side-art) { display: none !important; }
#rd-main.rd-legacy :is(.ig-prose-wrap, .ig-trust) { display: block; }
#rd-main.rd-legacy .ig-prose { max-width: 760px; }
@media (min-width: 800px) {
	#rd-main.rd-legacy h1, #rd-main.rd-legacy .ig-page-head h1 { font-size: 42px; }
	#rd-main.rd-legacy h2 { font-size: 28px; }
	#rd-main.rd-legacy h3 { font-size: 20px; }
	#rd-main.rd-legacy .ig-page-head { padding: 24px 0 8px !important; }
	#rd-main.rd-legacy .ig-section { padding-block: 40px; }
}
@media (min-width: 960px) {
	#rd-main.rd-legacy :is(.ig-btn, .qy-btn) { min-height: 44px; }
	#rd-main.rd-legacy .ig-input { min-height: 44px; }
}
/* Targets of at least 24 px on pages in the new frame (spec 4.0, check 6): the "try it" link of a program card and a
   heading that is a link (country pages). */
#rd-main.rd-legacy .ig-pcard__try { display: inline-flex; align-items: center; min-height: 24px; }
#rd-main.rd-legacy :is(h2, h3, h4) > a:only-child { display: inline-flex; align-items: center; min-height: 24px; }
/* "You are here" links: at least 24 px wide even for a one-letter word (Korean "홈"). */
.rd-crumbs a, #rd-main.rd-legacy .ig-breadcrumb a { min-width: 24px; justify-content: center; }
/* Korean (keep-all, above) keeps whole words: a two-column grid of the old pages may not grow wider than the phone,
   a count pill stays on one line, and the visit-measurement bar stays within 64 px. */
#rd-main.rd-legacy :is(.ig-grid, .ig-grid--2, .ig-grid--3) > * { min-width: 0; }
#rd-main.rd-legacy .ig-pill { white-space: nowrap; flex: none; }
#rd-main.rd-legacy .ig-sector-block__head { flex-wrap: wrap; }
/* Long words (German compounds, Korean keep-all) never push old-page content wider than the phone. */
#rd-main.rd-legacy :is(h1, h2, h3, h4, p, li, dd, td, th, .ig-card, .ig-quote__meta) { overflow-wrap: anywhere; min-width: 0; }
#rd-main.rd-legacy :is(p, li) { hyphens: auto; }
/* Footer links: at least 24 px wide (Japanese "国"). */
.rd-footer__links a { min-width: 24px; }
/* The visit-measurement bar stays within 64 px on a phone in every language (three short lines at most). */
@media (max-width: 720px) {
	.rd-consent { padding: 6px 10px 5px; gap: 6px; }
	.rd-consent p { font-size: 13px; line-height: 1.2; }
	.rd-consent__btns { gap: 6px; }
	.rd-consent__btns .rd-btn { min-width: 48px; padding: 0 10px; }
}
/* A long button label (German) wraps inside its card instead of leaving it. */
#rd-main.rd-legacy :is(.ig-btn, .qy-btn) { max-width: 100%; white-space: normal; text-align: center; height: auto; padding-block: 10px; }
/* The arrow inside a main button of the old pages takes the button's text colour (contrast 4.5). */
#rd-main.rd-legacy :is(.ig-btn--primary, .qy-btn--primary) * { color: inherit !important; }
#rd-main.rd-legacy .qy-note { color: var(--rd-muted); }
/* Dark theme on pages in the new frame: site.bundle.css colours every link gold (":root[data-theme=dark] a"); the
   frame keeps the colours it has on the redesigned pages, and the old steps' text uses the muted colour. */
:root[data-theme="dark"] :is(.rd-header, .rd-menu, .rd-footer, .rd-consent, .rd-help) a { color: inherit; }
:root[data-theme="dark"] :is(.rd-header, .rd-menu, .rd-footer, .rd-consent, .rd-help) a:is(.rd-logo, .rd-btn--text, [href^="tel:"], [href^="mailto:"]),
:root[data-theme="dark"] .rd-consent p a { color: var(--rd-accent); }
:root[data-theme="dark"] :is(.rd-header, .rd-menu, .rd-footer, .rd-help) a.rd-btn--primary { color: var(--rd-on-accent); }
#rd-main.rd-legacy .qy-steps p { color: var(--rd-muted); }
/* "How it works" picture of a program screen: its rows take the band and line colours (no gold, readable in both themes). */
#rd-main.rd-legacy .qx-row { background: var(--rd-band); }
#rd-main.rd-legacy .qx-row span { background: var(--rd-line); }
#rd-main.rd-legacy :is(.qy-banner, .qy-final) :is(.ig-btn--primary, .qy-btn--primary) :is(span, b, i, em) { color: inherit !important; }
/* Old pictures and icons in the new palette (no gold): program-card icon frames, the "how it works" diagram and the
   side bars of the program-screen picture. */
#rd-main.rd-legacy .ig-vcard__icon { border-color: var(--rd-line); }
#rd-main.rd-legacy .qx-pc__side i { background: var(--rd-line); }
#rd-main.rd-legacy :is(.qi-spoke, .qi-arrow) { stroke: var(--rd-accent); }
#rd-main.rd-legacy .qi-node { fill: var(--rd-bg); stroke: var(--rd-accent); }
#rd-main.rd-legacy .qi-core { fill: var(--rd-accent); stroke: var(--rd-accent); }
#rd-main.rd-legacy .qi-core__t { fill: var(--rd-on-accent); color: var(--rd-on-accent); }
#rd-main.rd-legacy .qi-svg marker path { fill: var(--rd-accent); }
:root[data-theme="dark"] a.rd-skip { color: var(--rd-on-accent); }
#rd-main.rd-legacy .ig-eyebrow { background: var(--rd-accent-soft); border-color: var(--rd-line); color: var(--rd-accent); }
#rd-main.rd-legacy .ig-pill { background: var(--rd-bg); border-color: var(--rd-line); color: var(--rd-text); backdrop-filter: none; -webkit-backdrop-filter: none; }
#rd-main.rd-legacy .qx-pc__main b { background: var(--rd-line); }
#rd-main.rd-legacy .qi-cap { fill: var(--rd-accent); color: var(--rd-accent); }
#rd-main.rd-legacy .qi-cap--small { fill: var(--rd-muted); color: var(--rd-muted); }
#rd-main.rd-legacy :is(.qi-card, .qi-doc) { fill: var(--rd-bg); stroke: var(--rd-line); }
:root[data-theme="dark"] #rd-main.rd-legacy .qx-row em:not(.qx-wait) { color: #4ade80; }
#rd-main.rd-legacy .qi-card__head { fill: var(--rd-line); }
#rd-main.rd-legacy .qi-ic { stroke: var(--rd-accent); }
#rd-main.rd-legacy .qi-lbl { fill: var(--rd-heading); color: var(--rd-heading); }
#rd-main.rd-legacy :is(.qi-card__band, .qi-doc__head) { fill: var(--rd-accent); }
#rd-main.rd-legacy .qi-card__photo { fill: var(--rd-band); }
#rd-main.rd-legacy .qi-card__line { fill: var(--rd-line); }
#rd-main.rd-legacy :is(.qi-card__num, .qi-doc__k) { fill: var(--rd-text); }
#rd-main.rd-legacy .qi-doc__k--code { fill: var(--rd-accent); }
#rd-main.rd-legacy .qi-doc__cut { stroke: var(--rd-line); }

/* ---------- start page and sign-in providers (sign-in batch 1, drawing 18-A / 18-B / 18-C) ---------- */
.rd-start { padding-top: 16px; }
.rd-start__cols { display: grid; gap: 24px; }
@media (min-width: 900px) { .rd-start__cols { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 48px; } .rd-start__side { padding-top: 120px; } }
.rd-start h1 { margin: 0 0 12px; color: var(--rd-heading); font-size: 28px; line-height: var(--rd-lh-head); }
.rd-start__again { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--rd-accent); border-radius: 12px; background: var(--rd-accent-soft); }
.rd-steps4 { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: rdst; font-size: 14px; color: var(--rd-muted); }
.rd-steps4 li { display: inline-flex; align-items: center; gap: 6px; counter-increment: rdst; }
.rd-steps4 li:not(.is-done)::before { content: counter(rdst); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--rd-ctl); font-weight: 700; font-size: 13px; }
.rd-steps4 li.is-done { color: var(--rd-ok); font-weight: 600; }
.rd-steps4 li.is-done .rd-ic { width: 24px; height: 24px; stroke-width: 2.5; }
.rd-steps4 li.is-now { color: var(--rd-text); font-weight: 700; }
.rd-steps4 li.is-now::before { background: var(--rd-accent); border-color: var(--rd-accent); color: var(--rd-on-accent); }
.rd-start__prog { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-start__prog-ic { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--rd-accent-soft); color: var(--rd-accent); }
.rd-start__prog-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rd-start__prog-t small { color: var(--rd-muted); font-size: 14px; }
.rd-start__prog > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 600; }
.rd-start__find { margin: 0 0 18px; }
.rd-start__find-q { margin: 0 0 8px; font-weight: 700; }
.rd-start__lead { margin: 0 0 8px; font-weight: 700; }
.rd-start__how { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: rdh; display: grid; gap: 10px; }
.rd-start__how li { counter-increment: rdh; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
.rd-start__how li::before { content: counter(rdh); grid-row: span 2; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 700; }
.rd-start__how b { color: var(--rd-text); }
.rd-start__how span { color: var(--rd-muted); font-size: 15px; }
.rd-start__mail { margin: 12px 0 0; text-align: center; }
.rd-start__mail a, .rd-start__other a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 600; }
.rd-start__note { margin: 6px 0 12px; color: var(--rd-muted); font-size: 15px; }
.rd-start__h2 { margin: 0 0 4px; font-size: 18px; color: var(--rd-heading); }
.rd-start__other { margin: 10px 0 0; font-size: 15px; }
.rd-start__side .rd-ticks { flex-direction: column; justify-content: flex-start; align-items: flex-start; margin: 0 0 14px; font-size: 15px; }
.rd-start__phone { display: none; }
:root[data-rd-phone] .rd-start__phone { display: block; }
.rd-start__pcnote { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--rd-band); }
.rd-start__pcnote .rd-ic { color: var(--rd-accent); }
.rd-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--rd-muted); font-size: 14px; }
.rd-or::before, .rd-or::after { content: ""; flex: 1; height: 1px; background: var(--rd-line); }
/* The three providers: equal, full width, 48 px; brand colours (Google, Apple, Microsoft guidelines; see rd_providers.html). */
.rd-prov { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 420px; }
.rd-prov__btn { display: flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; border: 1px solid; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none !important; }
.rd-prov__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-prov__logo { flex: none; width: 20px; height: 20px; }
.rd-prov__btn--google { background: #ffffff; border-color: #747775; color: #1f1f1f !important; font-weight: 500; }
.rd-prov__btn--apple { background: #ffffff; border-color: #000000; color: #000000 !important; }
.rd-prov__btn--microsoft { background: #ffffff; border-color: #8c8c8c; color: #5e5e5e !important; }
:root[data-theme="dark"] .rd-prov__btn--google { background: #131314; border-color: #8e918f; color: #e3e3e3 !important; }
:root[data-theme="dark"] .rd-prov__btn--apple { background: #ffffff; border-color: #ffffff; color: #000000 !important; }
:root[data-theme="dark"] .rd-prov__btn--microsoft { background: #2f2f2f; border-color: #2f2f2f; color: #ffffff !important; }
.rd-prov__btn:hover { filter: brightness(.97); }
/* Account page after sign-in (drawing 18-C) */
.rd-welcome { display: block; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--rd-ok); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); overflow-wrap: anywhere; }
.rd-welcome::before { content: "✓"; margin-inline-end: 8px; color: var(--rd-ok); font-weight: 700; }
.rd-agree { margin: 4px 0 10px; color: var(--rd-text); font-size: 15px; }
.rd-opt { color: var(--rd-muted); font-weight: 400; }
/* 1366x768: the third provider button ends above the visit-measurement bar (56 px) in the first screen. */
@media (min-width: 900px) {
	.rd-start { padding-top: 4px; }
	.rd-start .rd-crumbs { margin-bottom: 6px; }
	.rd-start .rd-steps4 { margin-bottom: 8px; }
	.rd-start .rd-badge { margin-bottom: 6px; }
	.rd-start h1 { margin-bottom: 8px; }
	.rd-start__prog { margin-bottom: 12px; padding: 8px 12px; }
	.rd-start__how { gap: 4px; margin-bottom: 12px; }
	.rd-start__how span { font-size: 14px; }
	.rd-start__lead { margin-bottom: 4px; }
	.rd-prov { gap: 8px; }
}
/* Start page without a program: the search box's own label is shown (no second heading), the note is short. */
.rd-start__find .rd-search__label.rd-sr { position: static !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important; overflow: visible !important; white-space: normal !important; margin: 0 0 6px !important; display: block; font-weight: 700; color: var(--rd-text); }
.rd-start__find .rd-start__note { margin: 6px 0 0; font-size: 14px; }
@media (min-width: 900px) { .rd-start__find { margin-bottom: 10px; } }
@media (min-width: 900px) {
	.rd-start__how li { display: block; position: relative; padding-inline-start: 34px; line-height: 1.4; }
	.rd-start__how li::before { position: absolute; inset-inline-start: 0; top: 0; width: 24px; height: 24px; font-size: 13px; }
	.rd-start__how b::after { content: " · "; color: var(--rd-muted); font-weight: 400; }
}
/* Account page "Your next step" steps (seen while building drawing 18-C): the space for the number is on the side where
   the number is drawn, in both directions (in Arabic the number covered the word). */
.ig-next__steps li { padding-left: 10px !important; padding-right: 10px !important; padding-inline-start: 34px !important; }

/* Consolidated fix report A3: on the home page the header's "Start free" hides while the profession box is on screen
   (rd.js sets data-rd-find-visible); without JavaScript it stays. */
:root[data-rd-find-visible] .rd-header [data-rd-start] { display: none; }
/* «راسلنا من هنا» (E4) */
.rd-msgbox { display: grid; gap: 10px; justify-items: center; margin-top: 12px; }
.rd-msgbox__mail { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.rd-msgbox__mail a { display: inline-flex; align-items: center; min-height: 44px; }
.rd-msgbox__form { display: grid; gap: 6px; width: 100%; max-width: 520px; text-align: start; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-msgbox__form[hidden] { display: none; }
.rd-msgbox__form .lbl { font-weight: 600; font-size: 15px; margin-top: 4px; }
.rd-msgbox__form .ig-input { min-height: 48px; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); font: inherit; }
.rd-msgbox__form textarea.ig-input { min-height: 110px; resize: vertical; }
.rd-msgbox__form [aria-invalid="true"] { border-color: var(--rd-err); box-shadow: 0 0 0 1px var(--rd-err); }
.rd-msgbox__form .rd-btn { justify-self: start; margin-top: 6px; }
.rd-msgbox__note { margin: 2px 0 0; color: var(--rd-muted); font-size: 14px; }
.rd-msgbox__status { margin: 4px 0 0; font-size: 15px; }
.rd-msgbox__status.is-ok { color: var(--rd-ok); }
.rd-msgbox__status.is-err { color: var(--rd-err); }
.rd-msgbox .ig-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rd-narrow--start .rd-msgbox { justify-items: start; }
.rd-footer__name { font-weight: 600; }

/* R4 (auditor): the client code inside the diagram's centre circle is on the accent colour in both themes. */
#rd-main.rd-legacy .qi-core__c { fill: var(--rd-on-accent); color: var(--rd-on-accent); }
/* R15 (auditor): in Spanish and Polish the header was 1-2 px wider than a 356 px content width; the language button may shrink. */
@media (max-width: 379px) {
	.rd-lang, .rd-lang .rd-iconbtn { min-width: 0; }
	.rd-header .rd-btn--sm { padding: 0 8px; }
}
.rd-msgbox__fielderr { margin: 2px 0 0; color: var(--rd-err); font-size: 14px; font-weight: 600; }

/* Tester report R3, T4: the header "Sign in" opens two lines (rd_layout.html); same panel rules as the language list. */
.rd-signin__list { width: 236px; }
.rd-signin__list a { font-weight: 600; }
.rd-signin > summary.rd-btn { list-style: none; }
/* Tester report R3, T6: once sent, the success box takes the form's place (site.bundle.js adds ig-linkme--done). */
.ig-linkme--done > :not([data-ig-status]) { display: none !important; }
.ig-linkme--done [data-ig-status]:focus { outline: 2px solid var(--rd-accent); outline-offset: 2px; }
/* Tester report R3, T4: "Already have an account? Sign in" first on the start page for a visitor who came to sign in. */
.rd-start__first { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-band); font-weight: 600; }

/* ---------- site delivery 2, batch 2: all programs, how it works, trust, help, about, contact (2026-11-12) ---------- */
/* The same palette, type, three control shapes, 48 px targets on phones and 44 on computers, as the pages above. */
.rd-h2--sm { font-size: 18px; margin-bottom: 12px; }
.rd-h3 { font-size: 18px; margin-bottom: 8px; }
.rd-answer { font-size: 17px; font-weight: 600; color: var(--rd-text); max-width: 62ch; }
.rd-allfind { max-width: 640px; margin-top: 16px; }
/* All programs: "Go to a field", then every field with flat rows. */
.rd-idx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rd-idx a { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.rd-idx a:hover { border-color: var(--rd-accent); }
.rd-idx__name { flex: 1; min-width: 0; }
.rd-idx small, .rd-area__h small { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 700; font-size: 13px; text-align: center; }
.rd-area { scroll-margin-top: calc(var(--rd-header-h) + 8px); border-top: 1px solid var(--rd-line); }
.rd-area__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rd-area__h > span:nth-child(2) { flex: 1; min-width: 0; }
.rd-area__sub { margin: 16px 0 8px; font-size: 15px; font-weight: 700; color: var(--rd-muted); }
.rd-rows .rd-prog { min-height: 56px; }
.rd-prog__also { display: block; margin-top: 2px; font-size: 13px; color: var(--rd-muted); font-style: italic; }
.rd-up { margin: 12px 0 0; }
.rd-up a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
/* How it works: the questions as buttons, and the two places of the records. */
.rd-qnav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.rd-qnav a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.rd-qnav a:hover { border-color: var(--rd-accent); }
.rd-qnav .rd-ic { color: var(--rd-accent); }
.rd-where { display: grid; gap: 12px; align-items: stretch; margin-top: 16px; }
.rd-where__box { padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-where__box h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rd-where__box h3 .rd-ic { color: var(--rd-accent); }
.rd-where__note { margin: 12px 0 0; font-size: 14px; color: var(--rd-muted); }
.rd-where__pass { display: flex; align-items: center; gap: 12px; padding: 4px 8px; color: var(--rd-text); font-size: 15px; }
.rd-where__pass p { margin: 0; }
.rd-where__arrow { flex: none; width: 2px; height: 40px; margin-inline: 19px; background: var(--rd-accent); position: relative; }
.rd-where__arrow::after { content: ""; position: absolute; bottom: -2px; left: -5px; border: 6px solid transparent; border-top-color: var(--rd-accent); border-bottom: 0; }
.rd-fold > summary { font-size: 18px; }
.rd-fold .rd-two { margin-top: 8px; }
.rd-fold .rd-two h3 { margin-bottom: 8px; }
/* Trust: six protections as short rows; proofs and documents as links. */
.rd-six { display: grid; gap: 12px; }
.rd-six li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--rd-line); }
.rd-six li > .rd-ic { color: var(--rd-accent); margin-top: 2px; }
.rd-six h3 { font-size: 17px; }
.rd-six p { margin: 4px 0 0; color: var(--rd-muted); }
.rd-proof--links li { align-items: center; }
.rd-proof--links li > .rd-ic { color: var(--rd-accent); margin-top: 0; }
.rd-proof--links div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.rd-proof--links b { font-weight: 600; }
.rd-docs { display: grid; gap: 8px; margin-bottom: 24px; }
.rd-docs a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 12px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; }
.rd-docs a:hover { border-color: var(--rd-accent); }
.rd-docs b { color: var(--rd-accent); font-weight: 600; }
.rd-docs small { color: var(--rd-muted); }
/* Help: the box that filters the questions on the page, and the topics. */
.rd-hfind { max-width: 640px; margin-top: 16px; }
.rd-hfind__count { min-height: 0; margin: 8px 0 0; font-size: 14px; color: var(--rd-muted); }
.rd-hfind__none { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--rd-band); border: 1px solid var(--rd-line); }
.rd-hfind__none p { margin: 0; font-weight: 600; }
.rd-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rd-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rd-ctl); border-radius: 999px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.rd-topics a:hover { border-color: var(--rd-accent); color: var(--rd-accent); }
.rd-hgroup { scroll-margin-top: calc(var(--rd-header-h) + 8px); }
.rd-hgroup + .rd-hgroup { margin-top: 32px; }
/* About and contact: the company's card, three columns, the contact grid. */
.rd-idcard { margin-top: 16px; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); max-width: 620px; }
.rd-idcard__name { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 18px; color: var(--rd-heading); }
.rd-idcard__name .rd-ic { color: var(--rd-accent); }
.rd-idcard dl { display: grid; gap: 8px; margin: 0; }
.rd-idcard dl > div { display: grid; gap: 0; }
.rd-idcard dt { font-size: 14px; font-weight: 600; color: var(--rd-muted); }
.rd-idcard dd { margin: 0; }
.rd-idcard dd a { display: inline-block; padding-block: 8px; }
.rd-cols3 { display: grid; gap: 24px; }
.rd-cols3 p { color: var(--rd-text); }
.rd-cols3 a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.rd-contactgrid { display: grid; gap: 16px; }
.rd-contactgrid__side .rd-idcard:first-child { margin-top: 0; }
.rd-contactgrid__side p a { display: inline-flex; align-items: center; min-height: 44px; }
/* The account page: "send the download link to my e-mail" (sign-in batch 2, drawing 18-d). */
.rd-sendlink { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rd-line); }
@media (min-width: 640px) {
	.rd-idx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rd-qnav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rd-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	.rd-idx { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rd-qnav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.rd-qnav a { min-height: 64px; }
	.rd-where { grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 1fr); gap: 16px; }
	.rd-where__pass { flex-direction: column; text-align: center; padding: 8px; }
	.rd-where__arrow { width: 100%; height: 2px; margin: 0; }
	.rd-where__arrow::after { bottom: auto; top: -5px; left: auto; right: -2px; border: 6px solid transparent; border-left-color: var(--rd-accent); border-right: 0; }
	:root[dir="rtl"] .rd-where__arrow::after { right: auto; left: -2px; border-left-color: transparent; border-right: 6px solid var(--rd-accent); border-left: 0; }
	.rd-six { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.rd-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rd-cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
	.rd-contactgrid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: start; }
}
/* A line of links (or a short question and its link) that wraps as one line, no separators. */
.rd-linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 12px 0 0; font-size: 15px; }
.rd-linkrow a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.rd-note { margin: 12px 0 0; font-size: 14px; color: var(--rd-muted); }

/* D2B2 fix round: the theme switch in the header (M5); room at the end of the page for the round help button on phones (L9). */
.rd-themebtn svg { fill: none; }
@media (max-width: 799px) { .rd-main { padding-bottom: 72px; } }

/* ---------- Site delivery 2, batch 3 and sign-in batch 3 (2026-11-16) ----------
   Legal documents (drawing 14): the six documents in a side list (a folded list at the top on a phone), the date and
   "Print" under the title, a numbered table of contents built from the document's own headings (rd.js), and a line of
   about 68 characters. Not one word of the legal text changes. Secondary pages (drawing 15): title band, content,
   "your next step" box. Updates (drawing 24), accessibility (drawing 25), download (drawing 16), account (drawings 20-21). */
.rd-phead--sec { padding-bottom: 24px; }
.rd-crumbs span[aria-current] { font-weight: 600; color: var(--rd-text); display: inline-flex; align-items: center; min-height: 40px; }
.rd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 8px 0 0; color: var(--rd-muted); font-size: 14px; }
.rd-meta .rd-btn { min-height: 44px; font-size: 14px; }
.rd-legal { display: grid; gap: 24px; padding: 8px 0 40px; }
.rd-legal__nav details { border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-band); }
.rd-legal__nav summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: 600; }
.rd-legal__nav ul { display: grid; gap: 2px; padding: 0 8px 8px; }
.rd-legal__nav a { display: flex; align-items: center; min-height: 44px; padding: 4px 8px; border-radius: 8px; color: var(--rd-text); text-decoration: none; }
.rd-legal__nav a:hover { background: var(--rd-accent-soft); }
.rd-legal__nav a[aria-current] { background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 700; }
.rd-doc { max-width: 68ch; min-width: 0; }
.rd-doc h2 { font-size: 21px; margin: 32px 0 8px; scroll-margin-top: calc(var(--rd-header-h) + 12px); }
.rd-doc h3 { font-size: 18px; margin: 20px 0 6px; }
.rd-doc p, .rd-doc li { margin: 0 0 12px; overflow-wrap: anywhere; }
.rd-doc ul, .rd-doc ol { padding-inline-start: 22px; margin: 0 0 12px; }
.rd-doc ul { list-style: disc; }
.rd-doc ol { list-style: decimal; }
.rd-doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 16px; }
.rd-doc :is(td, th) { border: 1px solid var(--rd-line); padding: 6px 8px; vertical-align: top; }
.rd-doc a { overflow-wrap: anywhere; }
.rd-doc .ig-lead { font-size: inherit; color: var(--rd-text); }
.rd-doc .ig-quote__meta, .rd-doc__note { font-size: 14px; color: var(--rd-muted); }
:root[lang="ar"] .rd-doc { font-size: 17px; line-height: 1.9; }
.rd-toc { margin: 16px 0 8px; padding: 12px 16px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-band); }
.rd-toc h2 { font-size: 16px; margin: 0 0 4px; }
.rd-toc ol { list-style: decimal; padding-inline-start: 22px; margin: 0; }
.rd-toc li { margin: 0; }
.rd-toc a { display: inline-flex; align-items: center; min-height: 40px; }
.rd-doc__up { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
@media (min-width: 960px) {
	.rd-legal { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 40px; }
	.rd-legal__nav { position: sticky; top: calc(var(--rd-header-h) + 16px); }
	.rd-legal__nav details { background: transparent; border: 0; }
	.rd-legal__nav summary { padding: 0 8px; pointer-events: none; color: var(--rd-muted); font-size: 14px; list-style: none; }
	.rd-legal__nav summary::-webkit-details-marker { display: none; }
}
.rd-nextbox { margin: 32px 0 8px; padding: 20px; border-radius: 16px; background: var(--rd-band); border: 1px solid var(--rd-line); }
.rd-nextbox h2 { font-size: 20px; margin: 0 0 8px; }
.rd-nextbox p { margin: 0; color: var(--rd-text); max-width: 60ch; }
.rd-nextbox .rd-actions { margin-top: 16px; }
.rd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.rd-chips a, .rd-chips button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rd-line); background: var(--rd-bg); color: var(--rd-text); font: inherit; font-size: 15px; text-decoration: none; cursor: pointer; }
.rd-chips [aria-pressed="true"], .rd-chips [aria-current] { background: var(--rd-accent); border-color: var(--rd-accent); color: var(--rd-on-accent); font-weight: 600; }
.rd-timeline { display: grid; gap: 0; margin: 8px 0 0; }
.rd-timeline > li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rd-line); }
.rd-timeline time { font-size: 14px; color: var(--rd-muted); }
.rd-timeline h2 { font-size: 19px; margin: 0; }
.rd-timeline p { margin: 0; color: var(--rd-text); max-width: 68ch; }
.rd-tag { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: var(--rd-accent-soft); color: var(--rd-accent); font-size: 13px; font-weight: 600; vertical-align: middle; }
.rd-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 0; }
.rd-follow a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.rd-follow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rd-list { display: grid; gap: 8px; padding-inline-start: 22px; list-style: disc; }
.rd-list li { max-width: 68ch; }
.rd-glist { display: grid; gap: 0; }
.rd-glist a { display: grid; gap: 2px; padding: 10px 0; min-height: 48px; border-bottom: 1px solid var(--rd-line); text-decoration: none; color: var(--rd-text); }
.rd-glist a b { color: var(--rd-accent); font-weight: 600; }
.rd-glist a span { font-size: 14px; color: var(--rd-muted); }
.rd-glist a:last-child { border-bottom: 0; }
.rd-gfold { border: 1px solid var(--rd-line); border-radius: 12px; padding: 0 16px; background: var(--rd-bg); }
.rd-gfold + .rd-gfold { margin-top: 8px; }
.rd-gfold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; font-weight: 600; list-style: none; }
.rd-gfold > summary::-webkit-details-marker { display: none; }
.rd-gfold > summary small { color: var(--rd-muted); font-weight: 400; }
.rd-gfold[open] > summary { border-bottom: 1px solid var(--rd-line); }
.rd-dlbox { display: grid; gap: 12px; padding: 20px; border-radius: 16px; border: 1px solid var(--rd-line); background: var(--rd-band); }
.rd-dlbox__os { margin: 0; font-weight: 600; }
.rd-dlbox .rd-actions { margin-top: 0; }
.rd-dlbox .rd-note a { min-height: 40px; display: inline-flex; align-items: center; }
/* Account (sign-in batch 3, drawings 20 and 21): the sections listed in a side column on a computer, as a grid of
   buttons above the sections on a phone; each section keeps its working forms. */
.rd-acct { display: grid; gap: 20px; }
.rd-acct__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rd-acct__nav a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.25; }
.rd-acct__nav a:hover { border-color: var(--rd-accent); }
.rd-acct__nav .rd-ic { flex: none; width: 20px; height: 20px; color: var(--rd-accent); }
.rd-acct__main { display: grid; gap: 16px; min-width: 0; }
.rd-acct__main > [id] { scroll-margin-top: calc(var(--rd-header-h) + 12px); }
.rd-acct__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--rd-line); }
.rd-acct__row p { margin: 0; max-width: 52ch; }
.rd-acct__row b { display: block; }
.rd-acct__row form { margin: 0; }
@media (min-width: 960px) {
	.rd-acct { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 32px; }
	.rd-acct__nav { position: sticky; top: calc(var(--rd-header-h) + 16px); }
	.rd-acct__nav ul { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.rd-acct__nav a { border-color: transparent; background: transparent; }
	.rd-acct__nav a:hover { background: var(--rd-accent-soft); }
}
@media print {
	.rd-footer, .rd-legal__nav, .rd-meta .rd-btn, .rd-doc__up, .rd-skip, .rd-nextbox, .rd-acct__nav { display: none !important; }
	.rd-legal { display: block; }
	.rd-doc { max-width: none; }
}
.rd-check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; min-height: 44px; }
.rd-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--rd-accent); }
.rd-acct__row p a { display: inline-flex; align-items: center; min-height: 40px; }
#rd-main.rd-legacy .rd-acct__nav a, #rd-main.rd-legacy .rd-acct__row .ig-btn { text-decoration: none; }
/* Batch 3 self-check: the computer part of the download box is a plain column (not the "use a computer" strip), so it never
   runs wider than a phone; news titles are full-height targets; the next-step button keeps its own colours inside pages
   whose content is still in the older classes. */
.rd-dlbox .rd-needpc { display: grid; gap: 12px; margin: 0; padding: 0; background: none; min-width: 0; }
.rd-dlbox .rd-needpc > * { min-width: 0; overflow-wrap: anywhere; }
.rd-timeline h2 a { display: inline-block; padding: 4px 0; }
#rd-main.rd-legacy .rd-nextbox a.rd-btn--primary { color: var(--rd-on-accent); text-decoration: none; }
/* Account (batch 3 self-check): the current step of "Needs you now" in full contrast (was white on light blue, 3.49). */
#rd-main.rd-legacy .ig-next__steps li.is-now { background: var(--rd-accent) !important; color: var(--rd-on-accent) !important; }
/* B-M2 (2026-11-16): Apple's own logo file in the Apple button, per the Human Interface Guidelines ("Sign in with Apple",
   custom buttons): the logo file is as tall as the button (inside its 1 px border), not cropped, no added padding; the
   title is 43% of the button's height (48 px: 20.6 px). */
.rd-prov__btn--apple { padding-block: 0; font-size: 20.6px; font-weight: 500; }
.rd-prov__logo--apple { width: auto; height: 46px; }
/* Q2 (2026-11-16): the owner line at the top of every legal document. */
.rd-doc__company { margin: 0 0 16px; padding: 12px 16px; border-inline-start: 4px solid var(--rd-accent); background: var(--rd-band); border-radius: 8px; color: var(--rd-text); }
/* SITE-33 (owner form 25/11): outside Egypt the local approximation comes first and the US dollar price follows in brackets, e.g. "≈ SAR 15 (4 USD)" (site.bundle.js fillApprox). */
.ig-usd--paren::before { content: "("; }
.ig-usd--paren::after { content: ")"; }
.rd-price .ig-approx:has(+ .ig-usd--paren) { color: inherit; font-size: inherit; }
.rd-price .ig-usd--paren { color: var(--rd-muted); font-size: 15px; }

/* ---------- SITE-58: the six old visitor pages, built from the drawings (qa/quality_bar_20261126/site55_proposals) ---------- */
.rd-muted { color: var(--rd-muted); }
.rd-pre { white-space: pre-line; }
.rd-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.rd-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rd-ctl); border-radius: 999px; background: var(--rd-bg); color: var(--rd-text); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.rd-chip[aria-pressed="true"] { background: var(--rd-accent); border-color: var(--rd-accent); color: var(--rd-on-accent); }

/* /sectors: search first, the 12 fields of the home page as cards. */
.rd-shead h1 { font-size: 32px; margin-bottom: 8px; }
@media (min-width: 900px) { .rd-shead h1 { font-size: 40px; } }
.rd-shead .rd-crumbs { justify-content: center; }
.rd-shead .rd-lead { margin-inline: auto; }
.rd-shead__find { max-width: 620px; margin: 16px auto 0; text-align: start; }
.rd-shead__find .rd-search__label { display: block; font-weight: 600; margin-bottom: 6px; }
.rd-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) { .rd-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .rd-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.rd-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-bg); }
.rd-field:hover { border-color: var(--rd-accent); }
.rd-field__head { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; color: var(--rd-heading); }
.rd-field__head:hover { text-decoration: none; }
.rd-field__name { flex: 1; min-width: 0; font-weight: 700; font-size: 18px; line-height: 1.25; }
.rd-field__count { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 700; font-size: 13px; white-space: nowrap; }
.rd-field__desc { margin: 0; color: var(--rd-muted); font-size: 15px; }
.rd-field__subs { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-main .rd-field__subs li > a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border: 1px solid var(--rd-line); border-radius: 999px; color: var(--rd-text); text-decoration: none; font-size: 14px; font-weight: 600; }
.rd-main .rd-field__subs li > a:hover { border-color: var(--rd-accent); color: var(--rd-accent); }
.rd-field__subs small { color: var(--rd-muted); font-weight: 400; }
.rd-field__all { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; text-decoration: none; }
.rd-field__all .rd-ic { width: 18px; height: 18px; }
:root[dir="rtl"] .rd-field__all .rd-ic { transform: scaleX(-1); }
.rd-scta { display: grid; gap: 16px; align-items: center; padding: 24px; border: 1px solid var(--rd-line); border-radius: 16px; }
@media (min-width: 900px) { .rd-scta { grid-template-columns: 1fr auto; padding: 32px; } }
.rd-scta .rd-h2 { margin-bottom: 8px; }
.rd-scta .rd-actions { margin-top: 0; }

/* /link: one narrow card per state, three-step bar, the code in boxes. */
.rd-lhead { padding-bottom: 16px; }
.rd-lhead .rd-lead { margin-inline: auto; }
.rd-lcard { max-width: 520px; margin-inline: auto; display: grid; gap: 12px; padding: 20px; background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 16px; box-shadow: var(--rd-shadow); }
@media (min-width: 600px) { .rd-lcard { padding: 28px; } }
.rd-lcard p { margin: 0; }
.rd-lsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; font-size: 13px; color: var(--rd-muted); }
.rd-lsteps li { display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; border-top: 3px solid var(--rd-line); padding-top: 8px; }
.rd-lsteps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rd-band); border: 1px solid var(--rd-line); color: var(--rd-muted); font-size: 12px; }
.rd-lsteps b .rd-ic { width: 14px; height: 14px; stroke-width: 3; }
.rd-lsteps .is-now { border-color: var(--rd-accent); color: var(--rd-text); font-weight: 600; }
.rd-lsteps .is-now b { background: var(--rd-accent); border-color: var(--rd-accent); color: var(--rd-on-accent); }
.rd-lsteps .is-done { border-color: var(--rd-ok); }
.rd-lsteps .is-done b { background: var(--rd-ok); border-color: var(--rd-ok); color: var(--rd-bg); }
.rd-lpract { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--rd-band); }
.rd-lpract > .rd-ic { width: 32px; height: 32px; flex: none; color: var(--rd-accent); }
.rd-lpract__name { font-weight: 700; font-size: 18px; color: var(--rd-heading); }
.rd-lcode__lbl { font-size: 14px; font-weight: 600; color: var(--rd-muted); }
.rd-lcode { display: flex; flex-wrap: wrap; gap: 6px; font: 700 18px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.rd-lcode span { display: grid; place-items: center; min-width: 64px; height: 40px; padding: 0 6px; border: 1px solid var(--rd-ctl); border-radius: 8px; background: var(--rd-bg); color: var(--rd-text); }
.rd-lstack { display: grid; gap: 8px; }
.rd-lstack .rd-btn, .rd-lfull { width: 100%; white-space: normal; }
.rd-lor { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--rd-muted); font-size: 14px; }
.rd-lor::before, .rd-lor::after { content: ""; flex: 1; border-top: 1px solid var(--rd-line); }
.rd-lsafe, .rd-psafe { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--rd-muted); }
.rd-lsafe .rd-ic, .rd-psafe .rd-ic { width: 20px; height: 20px; flex: none; color: var(--rd-ok); }
.rd-lmine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 12px; border: 1px dashed var(--rd-ctl); border-radius: 12px; font-size: 18px; }
.rd-lform { display: grid; gap: 12px; }
.rd-ldecl { padding: 12px; border: 1px solid var(--rd-line); border-radius: 12px; font-size: 15px; }
.rd-ldecl .rd-check { margin: 0; }
.rd-ldecl__sig { display: block; max-width: 220px; max-height: 80px; margin-top: 8px; background: #fff; border-radius: 8px; }
.rd-ldecl--missing { border-color: var(--rd-warn); color: var(--rd-text); }
.rd-result { display: flex; gap: 12px; align-items: flex-start; }
.rd-result > .rd-ic { width: 40px; height: 40px; padding: 8px; flex: none; border-radius: 50%; stroke-width: 2.25; }
.rd-result h2 { font-size: 20px; margin-bottom: 4px; }
.rd-result--ok > .rd-ic { background: color-mix(in srgb, var(--rd-ok) 14%, var(--rd-bg)); color: var(--rd-ok); }
.rd-result--wait > .rd-ic { background: var(--rd-accent-soft); color: var(--rd-accent); }
.rd-result--err > .rd-ic { background: color-mix(in srgb, var(--rd-warn) 14%, var(--rd-bg)); color: var(--rd-warn); }

/* /payment-result: one centred card, coloured by meaning (pending blue). */
.rd-pay { --rd-pay-c: var(--rd-err); max-width: 560px; margin-inline: auto; text-align: center; padding: 28px 20px; background: var(--rd-bg); border: 1px solid var(--rd-line); border-top: 4px solid var(--rd-pay-c); border-radius: 16px; box-shadow: var(--rd-shadow); }
@media (min-width: 600px) { .rd-pay { padding: 36px 40px; } }
.rd-pay--ok { --rd-pay-c: var(--rd-ok); }
.rd-pay--wait { --rd-pay-c: var(--rd-accent); }
.rd-pay--off { --rd-pay-c: var(--rd-muted); }
.rd-pay__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: color-mix(in srgb, var(--rd-pay-c) 14%, var(--rd-bg)); color: var(--rd-pay-c); }
.rd-pay__ic .rd-ic { width: 34px; height: 34px; stroke-width: 2.5; }
.rd-pay h1 { font-size: 26px; margin-bottom: 8px; }
.rd-pay .rd-lead { margin-inline: auto; }
.rd-pay__auto { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--rd-muted); }
.rd-pay__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--rd-accent); box-shadow: 0 0 0 4px var(--rd-accent-soft); }
.rd-pay__ref { margin: 12px auto 0; padding: 10px 12px; border-radius: 12px; background: var(--rd-band); font-size: 15px; overflow-wrap: anywhere; }
.rd-pay__ref small { color: var(--rd-muted); }
.rd-pay__next { display: grid; gap: 6px; max-width: 420px; margin: 12px auto 0; text-align: start; font-size: 15px; }
.rd-pay__next li { display: flex; gap: 8px; align-items: flex-start; }
.rd-pay__next .rd-ic { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rd-ok); }
.rd-pay__act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }

/* Minimal practice frame (/b, /e, /m; templates/rd_practice.html). */
.rd-phdr .rd-header__in { justify-content: space-between; }
.rd-pmain { min-height: 60vh; }
.rd-pfoot { border-top: 1px solid var(--rd-line); background: var(--rd-band); padding: 16px 0 24px; font-size: 14px; color: var(--rd-muted); }
.rd-pfoot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rd-pfoot img { height: 22px; width: auto; }
.rd-pfoot a { display: inline-flex; align-items: center; min-height: 40px; }
.rd-pcard { background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 16px; padding: 16px; box-shadow: var(--rd-shadow); min-width: 0; }
@media (min-width: 600px) { .rd-pcard { padding: 24px; } }
.rd-pfull { width: 100%; }
.rd-plbl { display: block; font-weight: 600; margin: 16px 0 0; }
.rd-pinput { display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 14px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-text); font: inherit; }
.rd-pbar { position: sticky; bottom: 0; z-index: 5; background: var(--rd-bg); border-top: 1px solid var(--rd-line); box-shadow: 0 -8px 24px -16px rgba(18, 35, 61, 0.4); padding: 12px 0; }
.rd-pdone { max-width: 520px; margin-inline: auto; text-align: center; }
.rd-pdone__ic { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; background: color-mix(in srgb, var(--rd-ok) 14%, var(--rd-bg)); color: var(--rd-ok); }
.rd-pdone__ic .rd-ic { width: 30px; height: 30px; stroke-width: 2.5; }
.rd-pdone__sum { font-weight: 700; color: var(--rd-heading); }
.rd-pdone:focus { outline: none; }
.rd-psafe { margin: 16px 0 0; }

/* /b */
.rd-psec { padding-top: 16px; }
.rd-book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 900px) { .rd-book { grid-template-columns: 320px minmax(0, 1fr); gap: 24px; } .rd-bprac { position: sticky; top: calc(var(--rd-header-h) + 16px); } }
.rd-bprac { display: grid; gap: 6px; }
.rd-bprac p { margin: 0; }
.rd-bprac h1 { font-size: 24px; }
.rd-bprac__avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--rd-accent-soft); color: var(--rd-accent); font-weight: 800; font-size: 26px; }
.rd-bprac__meta { display: flex; gap: 8px; align-items: center; color: var(--rd-text); }
.rd-bprac__meta .rd-ic { width: 20px; height: 20px; flex: none; color: var(--rd-muted); }
.rd-bprac .rd-bprac__or { margin-top: 8px; font-size: 14px; }
.rd-bform__title { font-size: 22px; margin-bottom: 4px; }
.rd-bstep { display: flex; align-items: center; gap: 8px; margin: 20px 0 8px; font-size: 17px; }
.rd-bstep b { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--rd-accent); color: var(--rd-on-accent); font-size: 13px; }
.rd-bmonth { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--rd-muted); }
.rd-bdays { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.rd-bday { flex: none; display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 8px 6px; border: 1px solid var(--rd-ctl); border-radius: 12px; background: var(--rd-bg); color: var(--rd-muted); font: inherit; font-size: 13px; cursor: pointer; }
.rd-bday b { font-size: 20px; color: var(--rd-text); }
.rd-bday[aria-pressed="true"] { background: var(--rd-accent); border-color: var(--rd-accent); color: var(--rd-on-accent); }
.rd-bday[aria-pressed="true"] b { color: var(--rd-on-accent); }
.rd-bperiods { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-bsend { margin: 16px -16px -16px; padding: 12px 16px; border-radius: 0 0 16px 16px; }
@media (min-width: 600px) { .rd-bsend { margin: 16px -24px -24px; padding: 16px 24px; } }

/* /e: emergency card */
.rd-ewrap { max-width: 640px; }
.rd-eband { background: #b42318; color: #fff; padding: 10px 0; }
.rd-eband__t { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.rd-eband__t .rd-ic { width: 24px; height: 24px; stroke-width: 2.25; }
.rd-esec { padding-top: 16px; }
.rd-ehead h1 { font-size: 30px; margin-bottom: 2px; }
.rd-ehead p { margin: 0 0 4px; }
.rd-everified { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--rd-ok) 12%, var(--rd-bg)); color: var(--rd-ok); font-weight: 700; font-size: 14px; }
.rd-everified .rd-ic { width: 18px; height: 18px; }
.rd-efacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 16px 0 4px; }
.rd-efact { display: grid; justify-items: start; align-content: start; gap: 2px; min-width: 0; padding: 10px 12px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-band); font-size: 13px; color: var(--rd-muted); }
.rd-efact b { font-size: 24px; line-height: 1.1; color: var(--rd-heading); }
.rd-efact .rd-ic { width: 20px; height: 20px; }
.rd-efact--alert { border-color: color-mix(in srgb, var(--rd-err) 40%, var(--rd-bg)); background: color-mix(in srgb, var(--rd-err) 8%, var(--rd-bg)); color: var(--rd-err); }
.rd-efact--alert b { color: var(--rd-err); }
.rd-eh { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 20px 0 8px; }
.rd-eh .rd-ic { width: 20px; height: 20px; flex: none; }
.rd-elist { display: grid; gap: 6px; }
.rd-elist li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; border: 1px solid var(--rd-line); border-radius: 12px; }
.rd-elist span { flex: 1; color: var(--rd-muted); }
.rd-elist--alert li { border-color: color-mix(in srgb, var(--rd-err) 40%, var(--rd-bg)); background: color-mix(in srgb, var(--rd-err) 6%, var(--rd-bg)); }
.rd-elist--alert b { font-size: 17px; color: var(--rd-err); }
.rd-esev { font-style: normal; font-weight: 700; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--rd-band); border: 1px solid var(--rd-line); color: var(--rd-text); }
.rd-esev--hi { background: #b42318; border-color: #b42318; color: #fff; }
.rd-esrc { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--rd-line); font-size: 14px; color: var(--rd-muted); }
.rd-ecall__btn { width: 100%; min-height: 56px; flex-wrap: wrap; gap: 4px 10px; white-space: normal; background: #0f7a55; border-color: #0f7a55; color: #fff; font-size: 17px; }
.rd-ecall__btn:hover { filter: brightness(0.92); border-color: #0f7a55; }
.rd-ecall__num { font-weight: 400; }

/* /m: table menu */
.rd-mwrap { max-width: 680px; }
.rd-mhead { padding-top: 16px; }
.rd-mtop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rd-mtop h1 { flex: 1; min-width: 0; font-size: 26px; }
.rd-mtable { padding: 6px 14px; border-radius: 999px; background: var(--rd-accent); color: var(--rd-on-accent); font-weight: 800; }
.rd-mcats { position: sticky; top: var(--rd-header-h); z-index: 4; margin-top: 8px; background: var(--rd-bg); border-bottom: 1px solid var(--rd-line); }
.rd-mcats .rd-wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 8px; align-items: center; }
.rd-mcats a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rd-ctl); color: var(--rd-text); text-decoration: none; font-weight: 600; }
.rd-mcats a[aria-current] { background: var(--rd-heading); border-color: var(--rd-heading); color: var(--rd-bg); }
.rd-msec { padding-top: 8px; padding-bottom: 0; }
.rd-msech { font-size: 19px; margin: 16px 0 8px; scroll-margin-top: calc(var(--rd-header-h) + 64px); }
.rd-mitems { display: grid; gap: 8px; }
.rd-mitem { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rd-line); border-radius: 14px; background: var(--rd-bg); }
.rd-mitem.is-in { border-color: var(--rd-accent); box-shadow: inset 0 0 0 1px var(--rd-accent); }
.rd-mitem__name { flex: 1; min-width: 0; font-weight: 600; }
.rd-mitem__price { color: var(--rd-muted); white-space: nowrap; }
.rd-madd { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rd-accent); background: var(--rd-bg); color: var(--rd-accent); font-size: 22px; font-weight: 700; cursor: pointer; }
.rd-mqty { display: none; flex: none; align-items: center; gap: 4px; padding: 2px; border-radius: 999px; background: var(--rd-accent-soft); }
.rd-mitem.is-in .rd-madd { display: none; }
.rd-mitem.is-in .rd-mqty { display: inline-flex; }
.rd-mqty button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--rd-accent); color: var(--rd-on-accent); font-size: 20px; cursor: pointer; }
.rd-mqty output { min-width: 22px; text-align: center; font-weight: 800; }
.rd-mform .rd-plbl { margin-bottom: 16px; }
.rd-mbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rd-mbar__sum { display: grid; }
.rd-mbar__sum b { font-size: 18px; white-space: nowrap; }
.rd-mbar .ig-form__status:empty { display: none; }
.rd-mbar .rd-btn[disabled] { opacity: .55; cursor: not-allowed; }
.rd-mrecap { display: grid; gap: 4px; max-width: 360px; margin: 8px auto 16px; text-align: start; }
.rd-mrecap li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--rd-line); }

/* Quality-bar 2026-11-26 (site re-check, found at 390 px): the header no longer pushes the menu button off the screen on
   phones. The theme switch and the "Sign in" panel are both inside the menu (rd_layout.html rd-menu), so the header
   keeps only the language, the main button and the menu below 640 px (re-check N-4: 480-560 px still overflowed). */
@media (max-width: 639px) {
	.rd-header .rd-themebtn, .rd-header .rd-signin { display: none; }
}
