:root {
  color-scheme: light;
  --navy: #101d35;
  --navy-2: #172b4c;
  --blue: #2463eb;
  --blue-2: #1450d2;
  --cyan: #18b7c9;
  --ink: #18253b;
  --muted: #68758a;
  --line: #e2e8f1;
  --surface: #ffffff;
  --canvas: #f5f8fc;
  --soft-blue: #eaf1ff;
  --green: #15826d;
  --green-bg: #e7f6f1;
  --amber: #a86a08;
  --amber-bg: #fff4df;
  --red: #b43e3e;
  --red-bg: #fff0ee;
  --shadow: 0 18px 50px rgba(16, 29, 53, .08);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: inherit; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; z-index: 10; top: -60px; right: 16px; background: white; color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); }
.header-inner { width: min(1180px, calc(100% - 36px)); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 138px; }
.brand img { width: 140px; max-height: 46px; object-fit: contain; object-position: right center; }
.brand-fallback { align-items: center; gap: 9px; color: var(--navy); font-weight: 700; letter-spacing: .04em; }
.brand-fallback:not([hidden]) { display: inline-flex; }
.brand-symbol { width: 34px; height: 34px; display: inline-grid; place-items: center; background: var(--blue); color: white; font-weight: 700; border-radius: 10px 3px 10px 3px; font-family: Arial, sans-serif; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #59667a; font-size: 14px; }
.main-nav a { padding: 9px 0; transition: color .18s ease; }
.main-nav a:hover, .main-nav .nav-active { color: var(--blue); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; color: white; background: var(--blue); border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 600; box-shadow: 0 7px 16px rgba(36,99,235,.18); }
.header-cta:hover, .button-primary:hover { background: var(--blue-2); transform: translateY(-1px); }
#app { min-height: 72vh; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.hero { position: relative; overflow: hidden; padding: 68px 0 52px; color: white; background: radial-gradient(circle at 14% 35%, rgba(24,183,201,.2), transparent 27%), radial-gradient(circle at 89% 15%, rgba(54,112,238,.28), transparent 30%), linear-gradient(125deg, #0f1c33 0%, #172a49 62%, #142c56 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .21; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, black 25%, black 70%, transparent); }
.hero::after { content: ""; position: absolute; width: 290px; height: 290px; border: 1px solid rgba(70,190,226,.26); border-radius: 50%; left: -90px; bottom: -185px; box-shadow: 0 0 0 24px rgba(70,190,226,.035),0 0 0 48px rgba(70,190,226,.035),0 0 0 72px rgba(70,190,226,.035); }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #91dcf0; font-size: 13px; font-weight: 600; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #37d6bd; box-shadow: 0 0 0 5px rgba(55,214,189,.13); }
.hero h1 { margin: 15px 0 12px; max-width: 690px; font-size: clamp(34px, 5vw, 54px); line-height: 1.23; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: #78a8ff; }
.hero-copy { max-width: 600px; margin: 0; color: #c7d3e5; font-size: 16px; }
.search-panel { margin-top: 30px; max-width: 670px; padding: 7px; display: flex; gap: 8px; background: white; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.search-panel input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 11px 14px; color: var(--navy); direction: ltr; text-align: left; font-family: Arial, sans-serif; font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.search-panel input::placeholder { color: #95a1b2; font-size: 15px; font-weight: 400; letter-spacing: 0; direction: rtl; text-align: right; }
.search-panel button { border: 0; padding: 11px 22px; background: var(--blue); color: white; font-weight: 600; border-radius: 10px; cursor: pointer; transition: .18s ease; }
.search-hints { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 13px; color: #b4c2d8; font-size: 12px; }
.hint-code { color: #d7e6ff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); padding: 2px 9px; border-radius: 6px; direction: ltr; font-family: Arial, sans-serif; letter-spacing: .05em; }
.hero-visual { justify-self: center; position: relative; width: min(100%, 355px); padding: 19px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055)); box-shadow: 0 28px 60px rgba(0,0,0,.18); transform: rotate(-2deg); }
.visual-top { display: flex; align-items: center; justify-content: space-between; color: #dce7f5; font-size: 12px; }
.live-indicator { color: #7ae3c3; display: flex; align-items: center; gap: 7px; }
.live-indicator::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #55dbaf; }
.code-screen { margin: 16px 0 12px; padding: 18px; border-radius: 13px; background: #0b1425; border: 1px solid rgba(150,180,225,.2); }
.code-screen small { color: #92a5c0; font-size: 11px; }
.big-code { margin-top: 2px; color: #83aaff; direction: ltr; text-align: left; font: 700 38px/1.3 Arial, sans-serif; letter-spacing: .09em; }
.screen-caption { display: flex; justify-content: space-between; color: #c4d1e3; font-size: 12px; }
.progress-line { height: 5px; border-radius: 9px; background: #2b3b58; margin-top: 12px; overflow: hidden; }
.progress-line span { display: block; height: 100%; width: 71%; background: linear-gradient(90deg, #28b8c7, #527fff); border-radius: inherit; }
.visual-stats { display: flex; align-items: center; justify-content: space-between; color: #d7e2f1; font-size: 12px; }
.visual-stats strong { color: white; font-size: 18px; direction: ltr; font-family: Arial,sans-serif; }
.hero-mini-note { position: absolute; bottom: -23px; right: -20px; padding: 7px 11px; background: white; color: var(--navy); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); font-size: 11px; transform: rotate(2deg); }
.hero-mini-note b { color: var(--green); }
.section { padding: 62px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-kicker { color: var(--blue); font-size: 12px; font-weight: 700; }
.section-head h2 { margin: 5px 0 0; color: var(--navy); font-size: clamp(24px, 3vw, 32px); line-height: 1.35; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 510px; }
.codes-layout { display: grid; grid-template-columns: 1fr 276px; gap: 22px; align-items: start; }
.code-list { display: grid; gap: 11px; }
.code-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: white; border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; transition: .18s ease; }
.code-card:hover { border-color: #b7cdf9; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18,55,110,.07); }
.code-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.code-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; color: var(--blue); background: var(--soft-blue); border-radius: 11px; font-size: 20px; font-weight: 700; }
.code-title { min-width: 0; }
.code-title strong { display: block; color: var(--navy); font-size: 15px; }
.code-title span { color: var(--muted); display: block; font-size: 12px; margin-top: 2px; }
.code-pill { font: 700 14px Arial,sans-serif; color: var(--blue); background: #f1f5ff; direction: ltr; padding: 7px 10px; border-radius: 8px; white-space: nowrap; }
.severity { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 99px; }
.severity::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.severity-low { color: var(--green); background: var(--green-bg); }
.severity-medium { color: var(--amber); background: var(--amber-bg); }
.severity-high { color: var(--red); background: var(--red-bg); }
.side-card { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 24px rgba(16,29,53,.04); }
.side-card h3 { margin: 0 0 7px; color: var(--navy); font-size: 17px; }
.side-card p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.side-card .mini-list { list-style: none; padding: 0; margin: 0 0 18px; color: #47566d; font-size: 12px; }
.side-card .mini-list li { display: flex; gap: 8px; padding: 5px 0; }
.side-card .mini-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.button-primary, .button-outline { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 10px; font-size: 13px; font-weight: 600; transition: .18s ease; }
.button-primary { color: white; background: var(--blue); }
.button-outline { color: var(--blue); border: 1px solid #cbd8f0; background: white; }
.button-outline:hover { background: #f2f6ff; border-color: #9db7ee; }
.side-card .button-primary, .side-card .button-outline { width: 100%; margin-top: 8px; }
.notice { display: flex; align-items: flex-start; gap: 11px; padding: 15px 17px; border: 1px solid #f0d7a7; border-radius: 12px; color: #70541e; background: #fff9eb; font-size: 12px; margin-top: 24px; }
.notice-icon { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; color: var(--amber); border: 1px solid #ead29f; border-radius: 50%; font-weight: 700; }
.how-section { background: #eef3fa; border-block: 1px solid #e4ebf5; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step-card { padding: 21px; background: white; border: 1px solid #e4ebf3; border-radius: 14px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--blue); background: var(--soft-blue); border-radius: 10px; font: 700 14px Arial,sans-serif; }
.step-card h3 { margin: 12px 0 4px; color: var(--navy); font-size: 16px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }
.subscription-band { padding: 30px; overflow: hidden; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 25px; color: white; border-radius: 18px; background: radial-gradient(circle at 88% 20%,rgba(77,143,255,.35),transparent 30%), linear-gradient(115deg,#111f39,#193966); }
.subscription-band h2 { margin: 4px 0; font-size: 25px; }
.subscription-band p { margin: 0; color: #c9d8ec; font-size: 13px; }
.subscription-band .eyebrow { color: #88daeb; }
.subscription-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: end; }
.subscription-band .button-primary { color: var(--navy); background: white; }
.subscription-band .button-outline { color: white; border-color: rgba(255,255,255,.35); background: transparent; }
.subscription-band .button-outline:hover { background: rgba(255,255,255,.1); }
.detail-hero { padding: 36px 0 27px; color: white; background: linear-gradient(116deg,#101d35,#1b3764); }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #b5c5dd; font-size: 12px; margin-bottom: 18px; }
.breadcrumb a:hover { color: white; }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-code { color: #81a9ff; direction: ltr; text-align: right; font: 700 clamp(38px,6vw,58px)/1 Arial,sans-serif; letter-spacing: .08em; }
.detail-definition { margin: 10px 0 8px; font-size: 21px; font-weight: 600; }
.detail-lead { color: #c4d2e4; max-width: 700px; margin: 0; font-size: 14px; }
.detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; color: #dce8fb; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); font-size: 11px; }
.tag.severity { border: 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 23px; align-items: start; }
.detail-main { display: grid; gap: 16px; }
.content-card { padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.content-card h2 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 17px; }
.card-mark { width: 30px; height: 30px; display: inline-grid; place-items: center; color: var(--blue); background: var(--soft-blue); border-radius: 9px; font-size: 14px; }
.content-card p { margin: 0; color: #56647a; font-size: 13px; }
.bullet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bullet-list li { position: relative; padding-right: 21px; color: #4b5a70; font-size: 13px; }
.bullet-list li::before { content: ""; position: absolute; right: 1px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #55a6ec; box-shadow: 0 0 0 4px #edf5ff; }
.diagnostic-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: diag; }
.diagnostic-steps li { counter-increment: diag; position: relative; padding: 0 44px 18px 0; color: #506078; font-size: 13px; }
.diagnostic-steps li:last-child { padding-bottom: 0; }
.diagnostic-steps li::before { content: counter(diag); position: absolute; right: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--blue); background: var(--soft-blue); font: 700 12px Arial,sans-serif; }
.diagnostic-steps li:not(:last-child)::after { content: ""; position: absolute; right: 13px; top: 30px; bottom: 2px; width: 1px; background: #d6e2f3; }
.diagnostic-steps strong { display: block; margin-bottom: 2px; color: var(--navy); }
.detail-aside { display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; gap: 14px; position: sticky; top: 95px; }
.detail-aside .search-panel { display: grid; grid-template-columns: minmax(0,1fr); margin-top: 14px; }
.detail-aside .search-panel input { width: 100%; min-height: 44px; }
.access-card { padding: 20px; color: white; border-radius: 14px; background: linear-gradient(155deg,#172c4d,#102039); }
.access-card .lock-icon { width: 39px; height: 39px; display: grid; place-items: center; color: #b4d0ff; background: rgba(255,255,255,.11); border-radius: 11px; font-size: 18px; }
.access-card h2 { margin: 12px 0 5px; font-size: 18px; }
.access-card p { margin: 0; color: #c4d3e8; font-size: 12px; }
.access-card .button-primary { width: 100%; margin-top: 16px; background: #2b6df1; }
.access-card .button-outline { width: 100%; margin-top: 8px; color: white; border-color: rgba(255,255,255,.28); background: transparent; }
.access-note { color: #b9c7d9; font-size: 10px; margin-top: 10px; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.related-link { display: block; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.related-link:hover { border-color: #b9cdf5; background: #f6f9ff; }
.related-link strong { display: block; color: var(--blue); direction: ltr; text-align: right; font: 700 13px Arial,sans-serif; }
.related-link span { display: block; color: var(--muted); margin-top: 3px; font-size: 10px; line-height: 1.5; }
.empty-state { width: min(650px,calc(100% - 36px)); margin: 46px auto 65px; text-align: center; padding: 36px 24px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 17px; color: var(--blue); background: var(--soft-blue); font-size: 24px; }
.empty-state h1 { margin: 0 0 6px; color: var(--navy); font-size: 24px; }
.empty-state p { margin: 0 auto 18px; max-width: 430px; color: var(--muted); font-size: 13px; }
.inline-search { max-width: 470px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--blue); font-size: 13px; font-weight: 600; }
.site-footer { background: #0d192d; color: #d5dfed; padding: 29px 0 14px; }
.footer-inner { width: min(1120px,calc(100% - 36px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: white; font-weight: 700; direction: ltr; text-align: left; }
.footer-brand small { display: block; color: #9aacbf; font-size: 10px; font-weight: 400; direction: rtl; text-align: right; }
.footer-inner p { max-width: 500px; color: #9eafc5; font-size: 11px; margin: 0; }
.footer-inner > a { white-space: nowrap; color: #a8c4ff; font-size: 12px; }
.footer-note { width: min(1120px,calc(100% - 36px)); margin: 22px auto 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); color: #8293aa; text-align: center; font-size: 10px; }
@media (max-width: 850px) {
  .hero-content { grid-template-columns: 1fr .72fr; gap: 22px; }
  .hero-visual { width: 100%; }
  .codes-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .detail-layout { grid-template-columns: minmax(0,1fr); }
  .detail-aside { position: static; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 66px; width: calc(100% - 24px); gap: 10px; }
  .brand { min-width: unset; }
  .brand img { width: 112px; max-height: 38px; }
  .main-nav { gap: 13px; font-size: 11px; }
  .main-nav a:nth-child(2) { display: none; }
  .header-cta { padding: 8px 10px; font-size: 10px; }
  .hero { padding: 45px 0 43px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-copy { font-size: 14px; }
  .hero-visual { display: none; }
  .search-panel { margin-top: 23px; }
  .search-panel input { font-size: 15px; padding: 10px 9px; }
  .search-panel button { padding: 9px 13px; font-size: 12px; }
  .container { width: calc(100% - 24px); }
  .section { padding: 44px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 7px; }
  .section-head p { font-size: 12px; }
  .code-card { padding: 12px; gap: 8px; }
  .code-info { gap: 9px; }
  .code-icon { flex-basis: 34px; height: 34px; }
  .code-title strong { font-size: 13px; }
  .code-title span { font-size: 10px; }
  .code-pill { font-size: 12px; padding: 6px 7px; }
  .steps-grid { grid-template-columns: 1fr; }
  .subscription-band { padding: 23px 18px; flex-direction: column; align-items: stretch; }
  .subscription-band h2 { font-size: 22px; }
  .subscription-actions { justify-content: stretch; }
  .subscription-actions > a { flex: 1; }
  .detail-hero { padding: 27px 0 23px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .detail-head { align-items: start; flex-direction: column; gap: 8px; }
  .detail-definition { font-size: 18px; }
  .detail-lead { font-size: 12px; }
  .content-card { padding: 17px; }
  .footer-inner { width: calc(100% - 24px); align-items: start; flex-direction: column; }
  .footer-note { width: calc(100% - 24px); text-align: right; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* Navigation drawer, language selector and diagnostic-family filters. */
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: white; color: var(--navy); border-radius: 9px; padding: 8px 12px; cursor: pointer; font-size: 12px; font-weight: 600; }
.menu-glyph { font: 700 17px/1 Arial,sans-serif; color: var(--blue); }
.drawer-backdrop { position: fixed; z-index: 20; inset: 0; background: rgba(8,20,39,.78); backdrop-filter: blur(2px); }
.site-drawer { position: fixed; z-index: 21; top: 0; right: 0; left: auto; bottom: 0; width: min(500px, 86vw); height: 100dvh; overflow-y: auto; background: #fff; color: var(--ink); box-shadow: -20px 0 70px rgba(0,0,0,.2); animation: drawer-in .24s ease-out both; }
.site-drawer[hidden], .drawer-backdrop[hidden] { display: none !important; }
.drawer-inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 25px 20px; }
.drawer-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-brand { display: inline-flex; align-items: center; min-height: 42px; }
.drawer-brand img { width: 148px; height: 42px; object-fit: contain; object-position: right center; }
.drawer-brand-fallback:not([hidden]) { display: inline-block; color: var(--navy); font-size: 21px; font-weight: 700; letter-spacing: .04em; }
.drawer-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f4f7fb; color: #708097; font: 400 28px/1 Arial,sans-serif; cursor: pointer; }
.drawer-links { padding: 14px 0; display: grid; }
.drawer-links a { padding: 12px 3px; color: var(--navy); font-size: 17px; font-weight: 600; border-bottom: 1px solid #f1f4f8; }
.drawer-links a:hover { color: var(--blue); }
.drawer-links .drawer-sub-link { padding-inline-start: 24px; color: #8190a5; font-size: 14px; font-weight: 500; border-bottom: 0; }
.drawer-section { padding: 13px 0 15px; border-top: 1px solid var(--line); }
.drawer-section-title { margin-bottom: 12px; color: var(--navy); font-size: 16px; font-weight: 700; }
.drawer-family-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.drawer-family-grid button { display: flex; align-items: center; gap: 10px; min-height: 47px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; text-align: start; cursor: pointer; }
.drawer-family-grid button:hover { border-color: #b4caf4; background: #f7f9ff; }
.drawer-family-grid b { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; color: var(--blue); background: var(--soft-blue); font: 700 15px Arial,sans-serif; }
.drawer-family-grid span { font-size: 12px; font-weight: 600; }
.drawer-subtitle { margin: 14px 0 8px; color: #77869b; font-size: 12px; font-weight: 600; }
.system-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.system-tags span { padding: 4px 9px; border-radius: 99px; color: #5f6f84; background: #f1f4f8; font-size: 10px; }
.language-section { padding-bottom: 18px; }
.language-heading { color: #8391a4; text-transform: uppercase; letter-spacing: .08em; font: 700 12px Arial,sans-serif; }
.language-grid { display: grid; direction: ltr; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.language-grid button:last-child { grid-column: 3; }
.language-grid button { min-height: 55px; display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; gap: 4px 7px; border: 1px solid #e2e6ed; border-radius: 9px; background: white; color: #8290a3; cursor: pointer; transition: .16s ease; }
.language-grid button:hover { border-color: #9eb7e6; background: #f8faff; }
.language-grid button.is-selected { color: #17476c; border-color: #244c6a; box-shadow: inset 0 0 0 1px #244c6a; background: #f5f9fc; }
.language-code { font: 700 15px Arial,sans-serif; }
.language-flag { font-size: 16px; line-height: 1; }
.language-name { grid-column: 1 / -1; font-size: 9px; line-height: 1.1; }
.drawer-bottom { margin-top: auto; padding-top: 14px; position: sticky; bottom: 0; background: linear-gradient(0deg,#fff 86%,rgba(255,255,255,0)); }
.drawer-trial { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 52px; border-radius: 11px; background: #f6c500; color: #14243a; font-weight: 700; }
.drawer-trial:hover { background: #e9b900; }
.drawer-bottom small { display: block; margin-top: 8px; color: #8391a4; text-align: center; font-size: 10px; }
body.drawer-open { overflow: hidden; }
.category-section { background: #fff; }
.family-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin-bottom: 18px; }
.family-tile { display: flex; align-items: center; gap: 10px; min-height: 75px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); text-align: start; cursor: pointer; transition: .16s ease; }
.family-tile:hover { border-color: #a9c1ee; transform: translateY(-1px); }
.family-tile.is-active { border-color: #2e65c6; background: #f3f7ff; box-shadow: inset 0 0 0 1px #2e65c6; }
.family-letter { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: white; font: 700 17px Arial,sans-serif; }
.family-tile.is-active .family-letter { background: var(--blue); }
.family-tile b, .family-tile small { display: block; }
.family-tile b { font-size: 12px; }
.family-tile small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.family-arrow { margin-inline-start: auto; color: #91a0b4; font: 15px Arial,sans-serif; }
.filter-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 11px; padding: 14px; background: #f5f8fc; border: 1px solid #e7edf5; border-radius: 12px; }
.filter-control { display: grid; gap: 5px; min-width: 190px; }
.filter-control > span { color: #607086; font-size: 11px; font-weight: 600; }
.filter-control select { min-height: 39px; padding: 6px 10px; border: 1px solid #dfe6ef; border-radius: 8px; background: white; color: var(--navy); font: inherit; font-size: 12px; }
.filter-data-note { flex: 1 1 260px; margin: 0; color: #607086; font-size: 11px; line-height: 1.6; }
.catalog-tag { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: auto; padding: 7px 10px; border-radius: 99px; color: #89600b; background: #fff3da; font-size: 10px; }
.catalog-dot { width: 7px; height: 7px; border-radius: 50%; background: #e9a50e; }
.filter-note { margin: 12px 0 0; padding: 9px 12px; color: #52647a; background: #eef4ff; border-radius: 8px; font-size: 11px; }
.code-list-heading { margin-top: 27px; }
.empty-category { display: flex; align-items: center; gap: 14px; min-height: 108px; padding: 19px; border: 1px dashed #cbd6e5; border-radius: 13px; background: #fafdff; }
.empty-category-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: #eef3fa; color: var(--blue); font: 700 18px Arial,sans-serif; }
.empty-category strong { color: var(--navy); font-size: 13px; }
.empty-category p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.translation-note { margin: 14px auto; width: min(1120px,calc(100% - 36px)); padding: 9px 12px; border-inline-start: 3px solid #e4b51a; border-radius: 6px; color: #6d5b2d; background: #fff9e8; font-size: 11px; }
.translation-note.is-hidden { display: none; }
.chat-fab { position: fixed; z-index: 4; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 54px; min-height: 54px; padding: 0 17px; border-radius: 99px; color: white; background: #e45620; box-shadow: 0 9px 25px rgba(111,52,18,.24); }
.chat-fab > span { font: 700 25px/1 Arial,sans-serif; transform: rotate(180deg); }
.chat-fab small { font-size: 11px; font-weight: 600; }
.chat-fab:hover { background: #c94718; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: .8; } to { transform: translateX(0); opacity: 1; } }
[dir="ltr"] .drawer-brand img { object-position: left center; }
[dir="ltr"] .detail-code { text-align: left; }
[dir="ltr"] .related-link strong { text-align: left; }
@media (max-width: 850px) {
  .family-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chat-fab { display: none; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 65px; width: calc(100% - 20px); gap: 8px; }
  .brand { min-width: auto; }
  .brand img { width: 105px; height: 38px; }
  .main-nav { display: none; }
  .menu-toggle { margin-inline-start: auto; min-height: 40px; padding: 7px 9px; font-size: 10px; }
  .header-cta { min-height: 40px; padding: 8px 9px; font-size: 9px; white-space: nowrap; }
  .site-drawer { width: min(450px,88vw); }
  .drawer-inner { padding-inline: 18px; }
  .family-grid { gap: 7px; }
  .family-tile { min-height: 72px; padding: 8px 9px; gap: 7px; }
  .family-letter { width: 31px; height: 31px; flex-basis: 31px; font-size: 15px; }
  .family-tile b { font-size: 11px; }
  .family-tile small { font-size: 9px; line-height: 1.45; }
  .filter-toolbar { align-items: stretch; gap: 10px; }
  .filter-control { min-width: 100%; }
  .filter-control select { width: 100%; min-height: 44px; }
  .filter-data-note { flex-basis: 100%; }
  .catalog-tag { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) { .site-drawer { animation: none; } }


/* Warm service-menu palette inspired by the supplied reference. */
.header-cta { color: #14243a; background: #f6c500; box-shadow: 0 7px 16px rgba(166,126,0,.18); }
.header-cta:hover, .button-primary:hover { color: #14243a; background: #e7b900; }
.search-panel button, .button-primary, .access-card .button-primary { color: #14243a; background: #f6c500; }
.search-panel button:hover { background: #e7b900; }
.hero h1 em { color: #f6c500; }
.progress-line span { background: linear-gradient(90deg,#f6c500,#e45620); }
.subscription-band .button-primary { color: #14243a; background: #f6c500; }
.menu-glyph { color: #e45620; }

.product-request-section { background: #f7f8fa; border-block: 1px solid #eceff2; }
.request-product-card { display: grid; grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr); gap: 20px; padding: 18px; border: 1px solid #e4e7eb; border-radius: 17px; background: #fff; box-shadow: 0 15px 38px rgba(16,29,53,.06); }
.request-product-summary { padding: 25px; border-radius: 13px; color: #fff; background: linear-gradient(155deg,#13243a,#0d192b); }
.request-product-tag { display: inline-block; padding: 5px 9px; border-radius: 99px; color: #14243a; background: #f6c500; font: 700 10px/1.4 Arial,sans-serif; letter-spacing: .05em; }
.request-product-summary h3 { margin: 20px 0 9px; font-size: 23px; line-height: 1.45; }
.request-product-summary p { margin: 0; color: #d4dce6; font-size: 13px; }
.vehicle-request-form { display: grid; gap: 15px; padding: 8px; align-content: start; }
.request-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.request-field { display: grid; align-content: start; gap: 6px; color: #35445a; font-size: 12px; font-weight: 700; }
.request-field select, .request-manual-input { width: 100%; min-height: 43px; padding: 8px 11px; border: 1px solid #dfe3e8; border-radius: 8px; color: #1c2a3d; background: #fff; font: inherit; font-size: 12px; }
.request-field select:focus, .request-manual-input:focus { outline: 2px solid rgba(36,99,235,.22); border-color: #70839a; }
.request-field select:disabled { color: #8b95a3; background: #f6f7f8; }
.request-systems { min-width: 0; padding: 12px; border: 1px solid #e5e8ec; border-radius: 10px; }
.request-systems legend { padding: 0 6px; color: #29384d; font-size: 12px; font-weight: 700; }
.request-system-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.request-system-choice { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 9px; border: 1px solid #eaedf0; border-radius: 8px; color: #455266; background: #fff; font-size: 11px; cursor: pointer; }
.request-system-choice:has(input:checked) { border-color: #27435c; color: #172b40; background: #f3f6f8; box-shadow: inset 0 0 0 1px #27435c; }
.request-system-choice input { accent-color: #e2b600; margin: 0; }
.request-system-choice input:disabled { opacity: .5; }
.request-system-all { grid-column: 1 / -1; color: #172b40; background: #fff8d8; border-color: #f0d46a; font-weight: 700; }
.request-source-note { margin: 0; color: #778395; font-size: 10px; line-height: 1.65; }
.request-status { padding: 9px 11px; border-radius: 8px; color: #766124; background: #fff9e4; font-size: 11px; }
.request-status.is-ready { color: #244936; background: #edf7f0; }
.request-submit { justify-self: start; min-width: 190px; border: 0; cursor: pointer; }
.request-submit:disabled { cursor: not-allowed; opacity: .55; transform: none; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .request-product-card { grid-template-columns: 1fr; padding: 11px; }
  .request-product-summary { padding: 18px; }
  .request-product-summary h3 { margin-top: 13px; font-size: 19px; }
  .vehicle-request-form { padding: 4px; }
}
@media (max-width: 480px) {
  .request-fields, .request-system-grid { grid-template-columns: 1fr; }
  .request-system-all { grid-column: auto; }
  .request-submit { width: 100%; }
}


/* OBDex catalogue and source-provided repair fields */
.dtc-source-summary { display: block; margin: 12px 0 18px; color: #203047; font-size: 12px; line-height: 1.7; }
.dataset-error { margin: 12px 0; color: #8a3a20; font-size: 12px; line-height: 1.6; }
.dtc-source-summary strong { display: block; margin-bottom: 5px; color: #11243a; font-size: 14px; }
.dtc-source-summary p { margin: 4px 0; }
.dtc-source-summary a { display: inline-flex; margin-top: 6px; color: #315873; font-weight: 700; text-decoration: underline; }
.code-list-heading h2 { color: #13243a; }
.dtc-source-pill { display: inline-block; max-width: 150px; padding: 5px 8px; border: 1px solid #e8d58a; border-radius: 99px; color: #715b17; background: #fff9df; font-size: 10px; line-height: 1.4; }
.dtc-more-button { display: block; min-width: 220px; margin: 20px auto 0; cursor: pointer; }
.dtc-all-loaded { margin: 14px 0; color: #718095; text-align: center; font-size: 11px; }
.dtc-source-record { padding: clamp(18px,3vw,30px); }
.dtc-record-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid #e9edf2; }
.dtc-record-heading h2 { margin: 6px 0 0; color: #14243a; font-size: clamp(18px,2.3vw,24px); line-height: 1.45; }
.dtc-source-language { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #65758a; font-size: 10px; }
.dtc-source-language button { min-width: 38px; min-height: 31px; border: 1px solid #dce3ea; border-radius: 7px; color: #51647a; background: #fff; font: 700 10px Arial,sans-serif; cursor: pointer; }
.dtc-source-language button.is-selected { border-color: #294e6c; color: #17344d; background: #edf3f8; box-shadow: inset 0 0 0 1px #294e6c; }
.dtc-record-content { padding-top: 16px; }
.dtc-description[dir="ltr"], .dtc-detail-columns li[dir="ltr"], .related-link span[dir="ltr"], .dtc-sources li[dir="ltr"], .dtc-references li[dir="ltr"] { direction: ltr; text-align: left; unicode-bidi: plaintext; }
.dtc-description { margin: 0 0 18px; color: #39485c; font-size: 14px; line-height: 1.9; }
.dtc-detail-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.dtc-detail-columns section { min-width: 0; padding: 14px; border: 1px solid #e8edf2; border-radius: 10px; background: #fcfdff; }
.dtc-detail-columns h3, .dtc-related h3 { margin: 0 0 9px; color: #172b40; font-size: 13px; }
.dtc-detail-columns .bullet-list { margin: 0; padding-inline-start: 20px; color: #46566b; font-size: 11px; line-height: 1.7; }
.dtc-detail-columns .bullet-list li + li { margin-top: 5px; }
.dtc-detail-columns code { color: #294e6c; font-size: 10px; }
.dtc-field-note { margin: 8px 0 0; color: #8591a0; font-size: 9px; }
.dtc-likelihood { display: inline-block; margin-inline-start: 6px; padding: 2px 6px; border-radius: 99px; color: #6f5a1a; background: #fff4d0; font-size: 9px; }
.dtc-disclaimer { margin: 16px 0; padding: 11px 13px; border-inline-start: 3px solid #e2b600; border-radius: 7px; color: #5e5437; background: #fff9e8; font-size: 10px; line-height: 1.7; }
.dtc-related { margin-top: 18px; }
.dtc-related h3 { padding-bottom: 8px; border-bottom: 1px solid #edf0f3; }
.dtc-sources, .dtc-references { margin-top: 12px; padding: 11px 13px; border: 1px solid #e8edf2; border-radius: 9px; color: #526277; background: #fff; font-size: 10px; }
.dtc-sources summary, .dtc-references summary { color: #243951; font-weight: 700; cursor: pointer; }
.dtc-sources ul { overflow-wrap: anywhere; padding-inline-start: 20px; line-height: 1.7; }
.dtc-sources li + li { margin-top: 5px; }
.dtc-reviewed { color: #7c8794; font-size: 9px; }
.dtc-license-note { margin-top: 14px; padding-top: 11px; border-top: 1px solid #e9edf2; color: #7b8796; font-size: 9px; line-height: 1.65; }
.dtc-license-note a { color: #315873; text-decoration: underline; }
.dtc-no-data { color: #8995a4; font-size: 10px; }
.dtc-record-heading h2[dir="ltr"], .detail-definition[dir="ltr"] { direction: ltr; text-align: left; }
@media (max-width: 680px) {
  .dtc-record-heading { display: grid; }
  .dtc-detail-columns { grid-template-columns: 1fr; }
  .dtc-source-language { justify-content: flex-start; }
  .dtc-source-summary { font-size: 11px; }
  .dtc-more-button { width: 100%; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
}

.dtc-provenance { margin: 8px 0 0; color: #7c8794; font-size: 9px; line-height: 1.6; }
