/* Refina V3 Venn, SEO GEO AEO introduction diagram, approved 21 November 2026.
   Spec: memory/specs/SPEC-8641-venn-v3-integration.md
   Source design: prototypes/native-visuals/venn-v3/ (approved-content.json, README.md).
   Every rule is scoped under .v3-venn (SPEC-8641 V3-21); no global selector, no
   redefinition of core.css tokens. DBSP 17.15 gotchas for this component sit in
   digital-brand-style-protocol.md section 17.15, block V3. */

.v3-venn {
  --v3-gold: linear-gradient(to bottom, #caaf73 0%, #a8894c 50%, #7f6334 100%);
  --v3-green: linear-gradient(to bottom, #4ade80 0%, #25d366 50%, #128c4a 100%);
  --v3-blue: linear-gradient(to bottom, #91c4f0 0%, #407eb9 50%, #205184 100%);
  --v3-ease: cubic-bezier(.4, 0, .2, 1);
  --v3-step: 100svh;
  --v3-svh: 100svh;
  position: relative;
  width: 100%;
  font-family: var(--font-text);
  color: var(--c-navy, #0a1020);
}

/* V3-07. Stage step read from a hidden 100svh probe, same pattern as sector-rail.js. */
.v3-venn__probe { position: absolute; inset: 0; height: 100svh; width: 1px; visibility: hidden; pointer-events: none; }

.v3-venn .v3-track { position: relative; }
.v3-venn.is-enhanced .v3-track { height: calc(var(--v3-step) * 4); } /* V3-FOUR-STAGE-OVERRIDE: four stages, 0 to 3 */

/* V3-28 (repaired for re-release, SPEC-8641, defect found at live verification
   of 83b395322, reverted 9b9343052). The pinned frame is .v3-pin, not
   .v3-venn, following the working card-rail pattern (card-rail.css:9-34): a
   tall position:relative wrapper (here .v3-track, V3-07 above, height 5 *
   100svh) holds a position:sticky viewport band (.v3-pin) nested inside it.
   The pre-release defect put position:sticky and an explicit 100svh height
   on .v3-venn itself, the ANCESTOR of .v3-track: that trapped .v3-track's
   real 500svh inside its own fixed-height sticky box, so .wrap and the
   chapter section (.service-intro-statement, a .page-service .section,
   min-height only) never grew past 100svh, the chapter supplied no scroll
   room for the five stages, and the diagram scrolled out of the pinned band
   from stage 2 onward. .v3-venn now keeps its default height:auto (root
   rule above) and no transform, so .v3-track's 500svh sizes .v3-venn and, in
   turn, .wrap and the chapter section, in both layouts; .v3-pin alone pins
   to the viewport band below the header and above the scroll indicator.
   Desktop split and mobile stacked both pin .v3-pin; only the band tokens
   differ (the two media blocks below). */
.v3-venn .v3-pin {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(.6rem, 1.6vh, 1.1rem);
  min-width: 0;
}

@media (min-width: 1184px) and (min-height: 690px) {
  .page-ai-search-authority .v3-venn.is-enhanced .v3-pin {
    position: sticky;
    top: 0;
    height: var(--v3-svh, 100svh);
    box-sizing: border-box;
    padding-block: var(--v3-band-top, calc(var(--header-h) + .75rem)) var(--v3-band-foot, calc(var(--scroll-indicator-reserve-desktop) + .5rem));
  }
}
@media not ((min-width: 1184px) and (min-height: 690px)) {
  .page-ai-search-authority .v3-venn.is-enhanced .v3-pin {
    position: sticky;
    top: 0;
    height: var(--v3-svh, 100svh);
    box-sizing: border-box;
    padding-block: var(--v3-band-top, calc(var(--header-h) + .75rem)) var(--v3-band-foot, calc(var(--scroll-indicator-reserve) + .5rem));
  }
}

/* V3-25/26/27/28. Desktop split: the introduction's own .wrap becomes the grid,
   copy in column 1, V3 in column 2, no separate host element (SPEC-8641). Grid
   placement only; the sticky band is .v3-pin, repaired above. */
@media (min-width: 1184px) and (min-height: 690px) {
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.is-enhanced:not(.v3-copy-tall)) {
    max-width: none !important;
    display: grid;
    grid-template-columns: minmax(33.5rem, 45%) 1fr;
    grid-template-rows: auto;
    column-gap: 3rem;
  }
  /* V3-25 repair. The copy column pins in the same band as .v3-pin, so the
     heading and lede stay beside V3 at every stage; dir rtl mirrors the
     columns on Arabic pages with no extra rule. */
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.is-enhanced:not(.v3-copy-tall)) > .v3-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: 0;
    height: var(--v3-svh, 100svh);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: var(--v3-band-top, calc(var(--header-h) + .75rem)) var(--v3-band-foot, calc(var(--scroll-indicator-reserve-desktop) + .5rem));
  }
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.is-enhanced:not(.v3-copy-tall)) > .v3-venn {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
}
/* core.css SPEC-1292 centres the lede as a direct .wrap child; the same rule
   follows it into .v3-copy. */
@media (min-width: 768px) {
  .page-ai-search-authority .service-intro-statement .v3-copy > p { margin-inline: auto; }
}
.page-ai-search-authority .service-intro-statement:has(.v3-venn.is-enhanced) {
  padding-block: 0;
}
.page-ai-search-authority .service-intro-statement:has(.v3-venn.is-enhanced)::before {
  content: none;
}
/* STACKED-INTRO-LANDING (master directive 22.16, 21 November 2026). In the
   stacked layout the heading and lede form one measured copy region, at least
   one small viewport tall, its content centred between the header and the scroll
   button. When it fits, its one landing puts its top at the viewport top and its
   foot at the viewport foot; when the text is taller, venn-v3.js lands its top
   first and its foot second. Its own gold rule sits 2vw above its foot (DBSP 17.15
   item 28), hidden on phones in landscape with every other end rule (R2). The
   same applies on wide screens when V3-45 sets .v3-copy-tall. */
@media not ((min-width: 1184px) and (min-height: 690px)) {
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.is-enhanced) > .v3-copy {
    position: relative;
    box-sizing: border-box;
    min-height: var(--v3-svh, 100svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: calc(var(--header-h, 3.5rem) + 1rem) calc(var(--scroll-indicator-reserve, 5rem) + .5rem);
  }
}
@media (min-width: 1184px) and (min-height: 690px) {
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.v3-copy-tall) > .v3-copy {
    position: relative;
    box-sizing: border-box;
    min-height: var(--v3-svh, 100svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: calc(var(--header-h, 3.5rem) + 1rem) calc(var(--scroll-indicator-reserve-desktop, 5rem) + .5rem);
  }
}
.page-ai-search-authority .service-intro-statement > .wrap > .v3-copy::after { content: none; }
@media not ((min-width: 1184px) and (min-height: 690px)) {
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.is-enhanced) > .v3-copy::after {
    content: '';
    position: absolute;
    bottom: 2vw;
    left: 0;
    right: 0;
    width: 60%;
    margin-inline: auto;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #a8894c 15%, #a8894c 85%, transparent 100%);
    pointer-events: none;
  }
}
@media (min-width: 1184px) and (min-height: 690px) {
  .page-ai-search-authority .service-intro-statement > .wrap:has(> .v3-venn.v3-copy-tall) > .v3-copy::after {
    content: '';
    position: absolute;
    bottom: 2vw;
    left: 0;
    right: 0;
    width: 60%;
    margin-inline: auto;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #a8894c 15%, #a8894c 85%, transparent 100%);
    pointer-events: none;
  }
}
@media (max-width: 932px) and (orientation: landscape) {
  .page-ai-search-authority .service-intro-statement > .wrap > .v3-copy::after { display: none; }
}

/* The diagram itself. */
.v3-venn .v3-diagram {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  container-name: v3-diagram;
  width: min(100%, 66vh, 720px);
  aspect-ratio: 1331 / 1120;
  margin: 0 auto;
  overflow: visible;
}
@media (min-width: 769px) and (min-height: 570px) {
  .v3-venn .v3-diagram { width: min(100%, 76vh, 820px); }
}
@media (max-width: 600px) {
  .v3-venn .v3-diagram { width: min(100%, 64svh, 590px); }
}
@media (max-width: 370px) {
  .v3-venn.is-enhanced .v3-pin { padding-inline: 0 !important; }
  .v3-venn .v3-diagram { width: min(calc(100vw - 6px), 64svh, 590px) !important; }
}
@media (max-height: 500px) and (orientation: landscape) {
  /* V3-17R. The landscape band starts below the header, so the diagram is
     sized to the height left between the header and the stage buttons. */
  .v3-venn { --v3-land-w: min(69vw, calc((100svh - var(--header-h, 3.5rem) - 5rem) * 1331 / 1120), 400px); }
  .v3-venn .v3-diagram { width: var(--v3-land-w); }
}

.v3-venn .v3-disc {
  --v3-scale: 1;
  position: absolute;
  width: 50.4%;
  aspect-ratio: 1;
  left: var(--v3-x);
  top: var(--v3-y);
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 32%);
  background-image: radial-gradient(ellipse at 26% 16%, rgba(255, 255, 255, .27) 0%, rgba(255, 255, 255, .075) 37%, transparent 71%), var(--v3-gradient);
  /* V3-CIRCLE-EDGE-CLIPPING. With the default padding-box origin the gradient
     tile repeats into the 1px border band, painting its darkest colour as a flat
     sliver on the top arcs and its lightest on the AEO bottom arc. */
  background-origin: border-box;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .31), 0 12px 32px rgba(12, 27, 44, .13), 0 2px 8px rgba(12, 27, 44, .08);
  opacity: .90;
  display: grid;
  place-items: center;
  text-align: center;
  transform: scale(var(--v3-scale));
  transition: transform .25s var(--v3-ease), opacity .25s var(--v3-ease), box-shadow .25s var(--v3-ease);
  z-index: var(--v3-layer);
  overflow: hidden;
}
.v3-venn .v3-disc.v3-seo { --v3-x: 6.8%; --v3-y: 6.1%; --v3-gradient: var(--v3-blue); --v3-layer: 1; }
.v3-venn .v3-disc.v3-geo { --v3-x: 44.3%; --v3-y: 6.1%; --v3-gradient: var(--v3-gold); --v3-layer: 2; }
.v3-venn .v3-disc.v3-aeo { --v3-x: 25.6%; --v3-y: 33.3%; --v3-gradient: var(--v3-green); --v3-layer: 3; }
.v3-venn .v3-diagram[data-stage="1"] .v3-disc.v3-seo.is-active,
.v3-venn .v3-diagram[data-stage="2"] .v3-disc.v3-geo.is-active,
.v3-venn .v3-diagram[data-stage="3"] .v3-disc.v3-aeo.is-active { opacity: 1; }
.v3-venn .v3-diagram:is([data-stage="1"], [data-stage="2"], [data-stage="3"]) .v3-disc { opacity: .72; }
.v3-venn .v3-diagram[data-stage] .v3-disc.is-active {
  --v3-scale: 1.10;
  z-index: 10;
  overflow: visible;
  background-image: radial-gradient(ellipse at 29% 16%, rgba(255, 255, 255, .54) 0%, rgba(255, 255, 255, .31) 39%, rgba(255, 255, 255, .08) 76%, transparent 90%), var(--v3-gradient);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .34), 0 19px 40px rgba(10, 23, 38, .23), 0 4px 12px rgba(10, 23, 38, .12);
}

.v3-venn .v3-label { width: 66%; position: relative; transform: translate(var(--v3-lx, 0), var(--v3-ly, 0)); transition: transform .25s var(--v3-ease), opacity .25s var(--v3-ease); display: grid; justify-items: center; gap: .35em; }
.v3-venn .v3-seo .v3-label { --v3-lx: -13%; --v3-ly: -65%; }
.v3-venn .v3-geo .v3-label { --v3-lx: 13%; --v3-ly: -65%; }
.v3-venn .v3-aeo .v3-label { --v3-ly: 27%; }
.v3-venn .v3-acronym { display: block; font: 400 8.2cqw / 1 var(--font-display); margin: 0; }
.v3-venn .v3-short { font-size: clamp(.7rem, 2.8cqw, 1.2rem); line-height: 1.2; margin: 0; }
/* V3-03. Hide the background subtitle below 520px container width, Floor R/M (V3-04). */
.v3-venn .v3-diagram { container: v3-diagram / inline-size; }
@container v3-diagram (width < 520px) {
  .v3-venn .v3-diagram .v3-label .v3-short,
  .v3-venn .v3-diagram .v3-rv-bg-label .v3-rv-bg-short { display: none !important; }
}
.v3-venn .v3-diagram:is([data-stage="1"], [data-stage="2"], [data-stage="3"]) .v3-disc:not(.is-active) .v3-label { opacity: 0; visibility: hidden; }
.v3-venn .v3-disc.is-active .v3-label { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; padding: 0; margin: 0; }
.v3-venn .v3-disc.is-active .v3-acronym, .v3-venn .v3-disc.is-active .v3-short { display: none; }
.v3-venn .v3-definition { display: none; }
.v3-venn .v3-disc.is-active .v3-definition {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 1;
  text-align: justify;
  text-align-last: justify;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.2;
  transition: none;
  pointer-events: none;
  contain: layout style;
}
/* V3-04 hard blocker. The plain unfitted fallback text (fit() finds no shared
   profile) never renders below Floor M's 10px foreground, on any viewport. */
.v3-venn .v3-definition[data-fit="FAIL"] { font-size: max(10px, 2.35cqw); line-height: 1.3; }

/* V3-FIT (route C). When fit() finds no profile at the 10px floor, the circle
   copy stays in the DOM for assistive technology but is visually hidden, and
   .v3-fit-panel shows the same approved words beneath the diagram, replacing
   the legend at that moment. In short landscape it sits beside the diagram on
   the inline end side, so it mirrors for Arabic. */
.v3-venn .v3-fit-panel { display: none; }
.v3-venn.v3-fit-fallback .v3-disc.is-active .v3-definition[data-fit="FAIL"] {
  position: absolute; width: 1px; height: 1px; inset: auto; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.v3-venn.v3-fit-fallback .v3-fit-panel {
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  width: min(100%, 420px, calc(100vw - 1.5rem));
  padding-inline: .25rem;
  font-size: clamp(11px, 3.1vw, 13px);
  line-height: 1.3;
  text-align: center;
  color: #19283b;
}
.v3-venn.v3-fit-fallback .v3-legend { display: none; }
.page-ai-search-authority .v3-venn.is-enhanced.v3-fit-fallback .v3-pin { row-gap: .3rem; }
@media (max-height: 500px) and (orientation: landscape) {
  .v3-venn.v3-fit-fallback .v3-fit-panel {
    position: absolute;
    top: 50%;
    inset-inline-end: max(.75rem, env(safe-area-inset-right));
    transform: translateY(-50%);
    width: calc((100% - var(--v3-land-w)) / 2 - 1.5rem);
    margin: 0;
    font-size: 12px;
    text-align: start;
  }
}

/* V3-03/04. Below the readable width, the background subtitle is replaced, not
   deleted: a compact always visible legend beneath the diagram carries all
   three terms and subtitles so the approved content stays readable, never
   silently dropped (implementation release directive section 20.2, V3-03). */
.v3-venn .v3-legend { display: none; }
@media (max-width: 600px) {
  .v3-venn .v3-legend { display: block; }
}
.v3-venn .v3-legend {
  margin-top: .6rem;
  width: min(100%, 420px);
  font-size: max(9px, 2.6cqw);
  line-height: 1.35;
  text-align: center;
  color: #19283b;
}
.v3-venn .v3-legend span { display: inline; font-weight: 600; }
.v3-venn .v3-legend .v3-legend-row + .v3-legend-row::before { content: " "; }
.v3-venn .v3-legend .v3-legend-row { display: inline; }

.v3-venn .v3-hub { position: absolute; left: 50.8%; top: 42.3%; transform: translate(-50%, -50%); width: 20%; aspect-ratio: 1; border-radius: 50%; background: #092b49; border: .48cqw solid #cfb779; overflow: hidden; z-index: 45; isolation: isolate; pointer-events: none; box-shadow: 0 0 0 1px rgba(244, 222, 167, .7), inset 0 0 0 1px rgba(247, 229, 183, .28), 0 6px 20px rgba(6, 23, 46, .30), 0 1px 5px rgba(6, 23, 46, .19); }
.v3-venn .v3-hub img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Background native labels, visible at every stage outside the one active circle. */
.v3-venn .v3-rv-bg-labels { position: absolute; inset: 0; z-index: 30; pointer-events: none; display: none; }
.v3-venn .v3-diagram:is([data-stage="1"], [data-stage="2"], [data-stage="3"]) .v3-rv-bg-labels { display: block; }
.v3-venn .v3-rv-bg-label { position: absolute; text-align: center; color: #08192d; display: grid; place-items: center; line-height: 1.12; box-sizing: border-box; overflow: visible; }
.v3-venn .v3-rv-bg-label[hidden] { display: none !important; }
.v3-venn .v3-rv-bg-acronym { margin: 0; width: 100%; font-family: var(--font-text); font-weight: 600; font-size: var(--v3-safe-bg-font, 11px); line-height: 1.13; white-space: normal; word-break: normal; overflow-wrap: normal; hyphens: none; text-wrap: balance; }
.v3-venn .v3-rv-bg-short { margin: .28em 0 0; width: 100%; font-size: var(--v3-safe-short-font, 8px); line-height: 1.14; white-space: normal; word-break: normal; overflow-wrap: normal; hyphens: none; text-wrap: balance; }

.v3-venn .v3-rv-fitted-line { position: absolute; display: flex; white-space: nowrap; align-items: center; line-height: 1.14 !important; column-gap: 0; justify-content: center; pointer-events: none; }
.v3-venn .v3-rv-word { display: inline-block; flex-shrink: 0; white-space: nowrap; hyphens: none !important; word-break: normal !important; }

/* V3-06. Stage buttons, labelled group, routed through the provider; heading omitted. */
.v3-venn .v3-controls { margin-top: 0; }
.v3-venn .v3-stage-nav { display: flex; gap: clamp(5px, .9vw, 10px); flex-wrap: wrap; justify-content: center; align-items: center; max-width: min(96vw, 900px); }
.v3-venn .v3-stage-nav button { background: rgba(255, 255, 255, .25); border: 1px solid #ded5c9; border-radius: 999px; min-height: 42px; padding: 9px clamp(10px, 1.2vw, 16px); font: inherit; font-size: clamp(10px, 1vw, 12px); line-height: 1.25; color: #19283b; cursor: pointer; max-width: 185px; white-space: normal; text-wrap: balance; transition: background .25s var(--v3-ease), border-color .25s var(--v3-ease), color .25s var(--v3-ease); }
.v3-venn .v3-stage-nav button[aria-current="step"] { background: #0c1931; color: #fbf7ef; border-color: #0c1931; box-shadow: 0 3px 10px rgba(14, 27, 44, .13); }
.v3-venn .v3-stage-nav button:focus-visible { outline: 2px solid #916e36; outline-offset: 3px; }
@media (max-width: 700px) { .v3-venn .v3-stage-nav { gap: 5px; } .v3-venn .v3-stage-nav button { min-height: 42px; padding: 7px 9px; font-size: 10px; max-width: 110px; } }
@media (max-width: 420px) { .v3-venn .v3-stage-nav button { max-width: 92px; font-size: 9px; padding: 7px 6px; } }
/* V3-16. Clear the sitewide scroll button and label in every language. */
.v3-venn .v3-pin { padding-bottom: clamp(1rem, 4vh, 2.25rem); }

/* Static definitions, always in the accessible tree (V3-22/23). */
.v3-venn .v3-static-definitions { width: min(100%, 48rem); display: grid; gap: .75rem; padding: 0 1rem; }
.v3-venn.is-enhanced .v3-static-definitions { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; white-space: nowrap; }
.v3-venn .v3-static-definitions article { border-top: 1px solid #d9d2c8; padding-top: .6rem; }
.v3-venn .v3-static-definitions h3 { font: 400 1.6rem var(--font-display); margin: 0; }
.v3-venn .v3-static-definitions p { margin: .3rem 0; }
.v3-venn .v3-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Short landscape (V3-17): band between the header and the scroll button. The
   .page-ai-search-authority prefix matches the repaired V3-28 band rule's
   specificity above (0,0,4,0) so this compact padding wins over it here, now
   that the band padding lives on .v3-pin rather than .v3-venn (repair above). */
@media (max-height: 500px) and (orientation: landscape) {
  .page-ai-search-authority .v3-venn.is-enhanced .v3-pin { padding: calc(var(--header-h, 3.5rem) + 1rem) .35rem 1.6rem; gap: 0; }
  .v3-venn .v3-controls { margin-top: -.3rem; }
  .v3-venn .v3-stage-nav { gap: .2rem; flex-wrap: nowrap; }
  .v3-venn .v3-stage-nav button { font-size: 10px; padding: .25rem .5rem; min-height: 27px; }
  .v3-venn .v3-rv-bg-acronym { font-size: clamp(14px, 3.2cqw, 20px); }
  .v3-venn .v3-rv-bg-short { font-size: 9px; }
}

/* Reduced motion (V3-05). The pin and the five stages stay; transitions are instant. */
@media (prefers-reduced-motion: reduce) {
  .v3-venn .v3-disc, .v3-venn .v3-label, .v3-venn .v3-hub, .v3-venn .v3-definition, .v3-venn .v3-short { transition: none !important; }
}

/* Native display term CSS (non English languages), scoped to the component root,
   never the <html> element (SPEC-8641 revision of the prototype's data-native-venn
   attribute, which targeted <html> globally). */
.v3-venn.v3-native .v3-acronym { font-family: var(--font-text); font-weight: 600; font-size: clamp(8px, 1.48cqw, 14px); line-height: 1.18; white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none !important; text-wrap: balance; }
.v3-venn.v3-native .v3-label { width: 74%; gap: .36em; }
.v3-venn.v3-native .v3-short { font-size: clamp(7px, 1.28cqw, 11px); line-height: 1.18; }
.v3-venn.v3-native .v3-rv-bg-acronym { font-size: var(--v3-native-bg-font, clamp(7px, 1.8cqw, 13px)); line-height: 1.10; }
.v3-venn.v3-native .v3-rv-bg-short { font-size: var(--v3-native-short-font, clamp(6px, 1.18cqw, 10px)); line-height: 1.10; }
.v3-venn.v3-native .v3-stage-nav { max-width: min(94vw, 980px); }
.v3-venn.v3-native .v3-stage-nav button { font-size: clamp(9px, 1.25vw, 12px); max-width: 32%; white-space: normal; line-height: 1.18; }
.v3-venn.v3-native .v3-static-definitions h3 { font-size: 1rem; line-height: 1.15; }
@media (max-width: 600px) {
  .v3-venn.v3-native .v3-acronym { font-size: clamp(8px, 1.85cqw, 12px); }
  .v3-venn.v3-native .v3-short { font-size: clamp(6px, 1.35cqw, 9px); }
  .v3-venn.v3-native .v3-stage-nav button { font-size: clamp(8px, 2.35vw, 10px); padding: .3rem .42rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .v3-venn.v3-native .v3-acronym { font-size: clamp(7px, 1.25cqw, 10px); }
  .v3-venn.v3-native .v3-stage-nav button { font-size: 9px; }
}

/* Arabic. The outer grid mirrors (copy right, diagram left) through logical DOM
   order under dir="rtl" (multilingual rule 19.3); the circle geometry inside the
   diagram stays physical left/top, exactly as approved and unmirrored (17.16). */
[dir="rtl"] .v3-venn .v3-definition { text-align: right; text-align-last: right; }
[dir="rtl"] .v3-venn .v3-acronym, [dir="rtl"] .v3-venn .v3-rv-bg-acronym { direction: rtl; }

/* No JavaScript or unsupported browser (V3-10): the readable static diagram. */
.v3-venn:not(.is-enhanced) .v3-diagram { width: min(100%, 66vh, 720px); margin: 0 auto 1rem; }
.v3-venn:not(.is-enhanced) .v3-disc .v3-definition { display: none; }
.v3-venn:not(.is-enhanced) .v3-controls { display: none; }
.v3-venn:not(.is-enhanced) .v3-static-definitions { position: static; width: min(100%, 48rem); height: auto; overflow: visible; clip-path: none; white-space: normal; }
