/* HIXOR concept-v10 — CONTRAST FIXES (2026-11-15, full-site WCAG
   audit). Built from concept-v8.css (the readable source, which
   carries the same edits); the v9 build was the minified concept
   sheet in production. Changes vs v9: --cx-panel deepened
   (.66/.82 -> .84/.92) so glass cards over light surfaces stay
   dark; eyebrow + card-arrow azure -> --cx-cyan-txt; concept-std
   card-body .meta -> --cx-ink2; and the appended "8. CONTRAST
   FIXES" section at the end (glass-card .muted/.meta lifted,
   author-card lines, catalogue price small, .btn-primary label
   colour restored in band contexts).
   NOTE: v10 ships UNMINIFIED — the minifier's output write is
   blocked in the current build environment; the content is the
   diff-verified edited v8 source. Re-minify when the environment
   allows; the rules are identical either way. */
/* HIXOR concept-v8 — SHARE PANEL + PRINT (2026-11-14, owner-approved
   mock): built from concept-v7.css; everything above the new final
   section "7. SHARE PANEL + PRINT (v8)" is byte-identical to v7.
   Section 7 styles the expanding article share panel (pill button,
   dark navy panel, brand tiles, QR view, copy confirmation,
   bookmark hint) and adds the @media print rules that turn an
   article into a clean black-on-white text printout, plus the
   screen-hidden .print-url-line shown only in print.
   concept-v7.css stays deployed: the inquiry Worker's baked
   contact pages still reference older concept sheets.
 — VISITOR DISCOVERY (2026-11-14, owner-approved):
   built from concept-v6.css; the ONLY changes are additive, in the
   new final section "6. VISITOR DISCOVERY (v7)": the homepage
   "Latest guides" cards get the learn cards' thumbnail treatment,
   and guide cards (home / learn / category) gain a solid NEW chip
   for guides published within 14 days of the build (the flag is
   computed in app/content.py from the registry's published dates).
   Everything else is byte-identical to v6.
   HIXOR concept-v6 — ARTICLE FIXES (2026-11-14, owner's live review
   of the v5 rollout on his monitor). Built from concept-v5.css;
   everything outside section 3 (ARTICLE) is unchanged. Section 3
   changes: (1) the article hero is capped (400px desktop / 230px
   mobile, object-fit cover) — it rendered 1185x791 and dominated
   the head; (2) the sticky TOC moves OUT of the right rail into
   its own LEFT rail, plain with no panel (the owner's 2026-11-08
   approved layout): in v5 the TOC was the right rail's first flex
   item with position:sticky and a TRANSLUCENT rgba(8,17,40,.62)
   background, so on scroll the sources box slid underneath it and
   its links showed through the TOC panel, interleaving with the
   TOC entries (owner's photo, reproduced in QA). The right rail
   keeps sources / action / related / author, now on SOLID
   backgrounds, and nothing in either rail is sticky except the
   lone left TOC, so no two rail items can ever overlap;
   (3) the mini quiz is a collapsed <details> teaser by default;
   (4) .article-visual styles the new mid-article illustration.
   HIXOR concept-v4 — SITE-WIDE ROLLOUT of the concept-v3 design
   system (2026-11-14, owner: "apply the design concept on all
   HIXOR's pages"). Built from concept-v3.css: the shared shell
   section now also answers to body.concept-site (which base.html
   puts on EVERY page), the article treatment covers all 14
   guides, and the new section 5 carries the concept language to
   every remaining page type via body.concept-std. The v3 page
   sections (home / learn / article / hub) and the contrast
   hardening are byte-identical to v3. Original v3 note follows.
   HIXOR concept-v3 — TEMPLATE-LEVEL redesign toward the owner's AI
   concept boards (PREVIEW, 2026-11-14). Supersedes concept-v2.css
   (the v2 layout with the v3 polish pass below applied).
   The v2 layer: supersedes concept-v1.css,
   whose CSS-only re-skin the owner rejected as "very far from what
   I expected": v2 restructures the pages themselves (in the preview
   templates) and ships REAL generated raster art as static assets:
     /static/img/globe-japan-hero-v2.webp    (hero key visual)
     /static/img/learn-band-circuit-v2.webp  (learn header band)
     /static/img/ai-chip-motif-v2.webp       (AI Hub hero motif)
   Design goals (owner): INTERACTIVE, TRUSTWORTHY, cyber-security
   themed, RETAIN visitors longer, and MORE VISUALS TO GUIDE AND
   SCAN — every card carries an image, a thumbnail or an icon tile.

   Loaded by base.html on every page (v4) plus the page sheets'
   own references; rules are scoped under body.concept-site /
   .concept-home / .concept-learn / .concept-article /
   .concept-hub / .concept-std. Copy is unchanged (see the
   rollout report for the text-diff proof); layout regroups
   existing blocks only.

   Hard rules honoured: NO filter: blur(), NO mix-blend-mode, no
   backdrop-filter added — glows are radial-gradient fades and
   box-shadows; glass = translucent gradient + 1px line + inset top
   highlight. Padded components pin their children's margins.
   Palette follows the production theme-dark tokens (text #DBE7F5 /
   #B9CDE4 / #9DB4CC on navy, all >= ~6:1).

   v3 POLISH PASS (2026-11-14, owner's phone review of v2):
   1. BUTTON CONTRAST — "the text on the button is hard to read":
      the AI Hub CTA's white label sat on the #00C8F0 end of its
      gradient (2.00:1). EVERY gradient carrying a text label on
      the concept pages is re-stopped so its LIGHTEST stop gives
      white bold text >= 4.5:1 (see the "v3 contrast hardening"
      section; chip-pressed and rail-action rules are fixed in
      place). Brightness-lift hovers are removed on those buttons
      (a 1.06 lift pulls #0077B6 back to ~4.4:1).
   2. HERO COMPOSITION — the forecast console no longer overlaps
      the globe art (negative margin removed; it reads as a
      mistake, not a design), and the globe is un-boxed: no card
      frame/border/radius — a radial mask fades its edges into
      the hero background it was generated to match. Nothing on
      the homepage overlaps anything else. */

/* ================= shared tokens ================= */
body.concept-home,body.concept-learn,body.concept-article,body.concept-hub,body.concept-site{
  --cx-navy:#101D42;           /* Deep Slate Indigo (brand) */
  --cx-ink:#DBE7F5;            /* primary text on navy */
  --cx-ink2:#B9CDE4;           /* body text on navy */
  --cx-mut:#9DB4CC;            /* muted text on navy */
  --cx-cyan:#00C8F0;           /* brand cyan */
  --cx-azure:#4FC3FF;          /* links on navy */
  --cx-cyan-txt:#8FE3FF;       /* cyan text on navy */
  --cx-line:rgba(110,180,245,.24);
  --cx-panel:linear-gradient(160deg,rgba(23,42,92,.84),rgba(10,20,48,.92));
  --cx-shadow:inset 0 1px 0 rgba(160,210,255,.16),0 14px 44px -14px rgba(0,0,0,.60);
  --cx-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}

/* ================= dark shell (all four pages) =================
   v2 change vs v1: the HOMEPAGE joins the full-dark shell — the
   boards are immersive end to end; the only light surfaces left are
   deliberate trust bands (the global strip, the article card, the
   SECURITY ACTION card). */
body.concept-home,body.concept-learn,body.concept-article,body.concept-hub,body.concept-site{
  background:
    radial-gradient(1100px 520px at 85% -10%,rgba(0,200,240,.15),transparent 60%),
    radial-gradient(900px 520px at -10% 32%,rgba(8,105,212,.16),transparent 60%),
    linear-gradient(180deg,#0A1A3D 0%,#050F26 55%,#03081A 100%);
  background-color:#050F26;
  color:var(--cx-ink);
}
/* backdrop orbs re-tinted for navy (they are radial-gradient fades) */
body.concept-home .orb-purple,body.concept-learn .orb-purple,body.concept-article .orb-purple,body.concept-hub .orb-purple,body.concept-site .orb-purple{background:radial-gradient(closest-side,rgba(79,70,229,.30),rgba(79,70,229,0))}
body.concept-home .orb-pink,body.concept-learn .orb-pink,body.concept-article .orb-pink,body.concept-hub .orb-pink,body.concept-site .orb-pink{background:radial-gradient(closest-side,rgba(6,182,212,.26),rgba(6,182,212,0))}
body.concept-home .orb-blue,body.concept-learn .orb-blue,body.concept-article .orb-blue,body.concept-hub .orb-blue,body.concept-site .orb-blue{background:radial-gradient(closest-side,rgba(14,165,233,.26),rgba(14,165,233,0))}
/* shared text colours on the shell */
body.concept-home .muted,body.concept-learn .muted,body.concept-article .muted,body.concept-hub .muted,body.concept-site .muted{color:var(--cx-mut)}
body.concept-home .lead,body.concept-learn .lead,body.concept-article .lead,body.concept-hub .lead,body.concept-site .lead{color:var(--cx-ink2)}
body.concept-home .breadcrumb,body.concept-learn .breadcrumb,body.concept-article .breadcrumb,body.concept-hub .breadcrumb,body.concept-home .breadcrumb a,body.concept-learn .breadcrumb a,body.concept-article .breadcrumb a,body.concept-hub .breadcrumb a,body.concept-site .breadcrumb,body.concept-site .breadcrumb a{color:var(--cx-mut)}
body.concept-home .breadcrumb a:hover,body.concept-learn .breadcrumb a:hover,body.concept-article .breadcrumb a:hover,body.concept-hub .breadcrumb a:hover,body.concept-site .breadcrumb a:hover{color:var(--cx-azure)}
/* eyebrow becomes the boards' mono ops label */
body.concept-home .eyebrow,body.concept-learn .eyebrow,body.concept-article .eyebrow,body.concept-hub .eyebrow,body.concept-site .eyebrow{
  font-family:var(--cx-mono);letter-spacing:.14em;
  color:var(--cx-cyan-txt);background:rgba(3,155,225,.10);border-color:rgba(79,195,255,.32);
}

/* ================= dark header chrome (all four) ==================
   The real logo asset is near-black, so it sits UNMODIFIED on a
   light plate to stay legible on the dark bar (as production does
   on its own dark pages). */
body.concept-home .glass-nav,body.concept-learn .glass-nav,body.concept-article .glass-nav,body.concept-hub .glass-nav,body.concept-site .glass-nav{
  background:rgba(4,11,26,.88);border-bottom:1px solid var(--cx-line);
}
body.concept-home .brand,body.concept-learn .brand,body.concept-article .brand,body.concept-hub .brand,body.concept-site .brand{color:#fff}
body.concept-home .brand img,body.concept-learn .brand img,body.concept-article .brand img,body.concept-hub .brand img,body.concept-site .brand img{
  background:#F2F7FD;border-radius:10px;padding:5px 7px;width:46px;height:40px;
  box-shadow:0 0 0 1px rgba(110,180,245,.35),0 0 18px rgba(3,155,225,.35);
}
body.concept-home .main-nav a,body.concept-learn .main-nav a,body.concept-article .main-nav a,body.concept-hub .main-nav a,body.concept-site .main-nav a{color:var(--cx-ink2)}
body.concept-home .main-nav a:hover,body.concept-learn .main-nav a:hover,body.concept-article .main-nav a:hover,body.concept-hub .main-nav a:hover,body.concept-site .main-nav a:hover{color:var(--cx-azure)}
body.concept-home .main-nav a[aria-current="page"],body.concept-learn .main-nav a[aria-current="page"],body.concept-article .main-nav a[aria-current="page"],body.concept-hub .main-nav a[aria-current="page"],body.concept-site .main-nav a[aria-current="page"]{color:var(--cx-azure)}
body.concept-home .lang-selector a,body.concept-learn .lang-selector a,body.concept-article .lang-selector a,body.concept-hub .lang-selector a,body.concept-site .lang-selector a{color:var(--cx-mut)}
body.concept-home .lang-selector [aria-current="true"],body.concept-learn .lang-selector [aria-current="true"],body.concept-article .lang-selector [aria-current="true"],body.concept-hub .lang-selector [aria-current="true"],body.concept-site .lang-selector [aria-current="true"]{color:#fff}
body.concept-home .menu-btn,body.concept-learn .menu-btn,body.concept-article .menu-btn,body.concept-hub .menu-btn,body.concept-site .menu-btn{
  background:rgba(16,29,66,.6);border-color:var(--cx-line);color:var(--cx-ink);
}
body.concept-home .mobile-menu,body.concept-learn .mobile-menu,body.concept-article .mobile-menu,body.concept-hub .mobile-menu,body.concept-site .mobile-menu{
  background:#03081A;border-bottom:1px solid var(--cx-line);
}
/* footer: deep shell tone with a hairline top edge */
body.concept-home .site-footer,body.concept-learn .site-footer,body.concept-article .site-footer,body.concept-hub .site-footer,body.concept-site .site-footer{
  background:#03081A;border-top:1px solid rgba(110,180,245,.18);
}

/* ================= 1. HOME — board-4 composition =================
   Hero = two columns on desktop: real copy left; right column is
   the generated globe key visual (un-boxed in v3, edges masked
   into the hero ground) with the LIVE forecast card seated BELOW
   it as its own glass console — clean spacing, no overlap
   (markup + forecast-badge.js wiring untouched — only the seat
   moved). Below: the real global
   strip stays as the board's light band, the three entry cards read
   as an icon feature strip, and every later section is dark glass. */
body.concept-home .hero{
  text-align:left;padding:3.5rem 0 4.5rem;
  background:linear-gradient(180deg,#0A1734 0%,var(--cx-navy) 60%,#0A1734 100%);
}
/* home-v1's drawn circuit corner is retired — the real art replaces it */
body.concept-home .hero::after{content:none}
body.concept-home .hero::before{
  -webkit-mask-image:radial-gradient(90% 85% at 30% 20%,#000 25%,transparent 75%);
  mask-image:radial-gradient(90% 85% at 30% 20%,#000 25%,transparent 75%);
}
body.concept-home .hero-grid{display:grid;gap:2rem;align-items:center}
@media(min-width:960px){
  body.concept-home .hero-grid{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:2.75rem}
  /* the JA headline's first phrase （サイバーセキュリティを、 = 12
     full-width glyphs, nowrap by design) must fit the copy column:
     2.7rem x 12 = ~518px < the ~580px column at container width */
  body.concept-home .hero h1{font-size:2.7rem}
}
body.concept-home .hero-copy .lead{margin:0 0 1.6rem;max-width:34rem}
body.concept-home .hero-actions{margin:0;justify-content:flex-start}
@media(max-width:767px){
  body.concept-home .hero{padding:2.5rem 0 3.25rem}
  body.concept-home .hero-actions{justify-content:stretch}
}
/* the globe key visual — v3: UN-BOXED. No card frame, border or
   radius: the art was generated on a dark ground matched to this
   hero, and a radial mask fades its rectangular edges into that
   ground so it reads as part of the hero, not a picture in a box. */
body.concept-home .hero-side{position:relative;min-width:0}
body.concept-home .hero-globe{
  display:block;width:100%;height:auto;
  -webkit-mask-image:radial-gradient(118% 118% at 50% 46%,#000 50%,transparent 90%);
  mask-image:radial-gradient(118% 118% at 50% 46%,#000 50%,transparent 90%);
}
/* the live forecast console — v3: its own panel BELOW the art with
   deliberate spacing (v2's negative-margin overlap read on the
   owner's phone as an accident, so it is gone at every width) */
body.concept-home .hero-side .tf-badge-card{
  position:relative;margin:1.5rem 0 0;
  align-items:flex-start;text-align:left;padding:1.6rem 1.5rem;gap:.7rem;
  background:
    linear-gradient(115deg,rgba(255,255,255,.09),rgba(255,255,255,0) 42%),
    radial-gradient(420px 200px at 88% -10%,rgba(0,200,240,.20),rgba(0,200,240,0) 70%),
    linear-gradient(180deg,rgba(18,34,74,.96),rgba(9,20,46,.98));
  border-color:rgba(0,200,240,.5);
  box-shadow:inset 0 1px 0 rgba(160,210,255,.22),0 24px 48px -18px rgba(2,8,24,.75);
}
@media(max-width:767px){
  body.concept-home .hero-side .tf-badge-card{margin:1.25rem 0 0;padding:1.35rem 1.15rem}
}
body.concept-home .tf-badge-levels{justify-content:flex-start;gap:1.75rem}
body.concept-home .tf-badge-group{align-items:flex-start}
body.concept-home .tf-badge-card .arrow{margin-top:.15rem}
/* light band: the real global strip, centred as on the boards */
body.concept-home .global-strip{margin-top:.5rem}
/* entry cards = the visual feature strip (icon bands stay the visual) */
body.concept-home .home-cards .card-band{height:84px}
body.concept-home .home-cards .card-band svg{width:44px;height:44px}
/* section rhythm + headings on the dark shell */
body.concept-home main .section{padding:2.75rem 0}
body.concept-home .section > .container > h2{
  color:#fff;border-left:.32rem solid var(--cx-cyan);
  padding-left:.8rem;margin:0 0 1.1rem;
  text-shadow:0 0 22px rgba(0,160,255,.22);
}
body.concept-home main .lead{color:var(--cx-ink2)}
body.concept-home .section p > a,body.concept-home .source-note a{color:var(--cx-azure)}
/* dark glass cards for advisories / tools / services */
body.concept-home .card{
  background:var(--cx-panel);border:1px solid var(--cx-line);
  border-radius:1.25rem;box-shadow:var(--cx-shadow);
}
@media (hover:hover) and (pointer:fine){
  body.concept-home .card:hover{
    border-color:rgba(0,200,240,.5);
    box-shadow:inset 0 1px 0 rgba(160,210,255,.16),0 20px 44px -16px rgba(0,0,0,.7);
  }
}
body.concept-home .card-band{height:76px;border-bottom:1px solid rgba(0,200,240,.35)}
body.concept-home .card-band svg{width:40px;height:40px}
body.concept-home .card-body{gap:.4rem}
body.concept-home .card-body h3{color:#fff;margin:0}
body.concept-home .card-body p{margin:0}
body.concept-home .card-body .muted{color:var(--cx-ink2)}
body.concept-home .card-body .meta{color:var(--cx-mut)}
body.concept-home .card .arrow{color:var(--cx-cyan-txt)}
body.concept-home .tag{
  background:rgba(0,200,240,.10);border-color:rgba(0,200,240,.4);color:#AEE6FA;
}
/* re-assert the entry-strip cards AFTER the generic glass rule
   (home-v1's deeper gradient reads better at strip size) */
body.concept-home .home-cards .card{
  background:linear-gradient(165deg,#13234E 0%,var(--cx-navy) 55%,#0B1734 100%);
  border:1px solid rgba(0,200,240,.28);border-radius:1.25rem;
  box-shadow:0 18px 36px -18px rgba(8,20,48,.55);
}
body.concept-home .price{color:#fff}
body.concept-home .price small{color:var(--cx-mut);white-space:nowrap}
body.concept-home .source-note{color:var(--cx-mut);margin:1rem 0 0}
/* AI Hub featured panel: harmonise with the shell, add glow edge */
body.concept-home .hub-entry-featured{
  border:1px solid rgba(0,200,240,.35);
  box-shadow:inset 0 1px 0 rgba(160,210,255,.14),0 24px 48px -20px rgba(0,0,0,.65);
}
/* trust strip: keep the indigo panel + white SECURITY ACTION card */
body.concept-home .trust-strip{
  background:linear-gradient(180deg,var(--cx-navy),#0C1A3C);
  border:1px solid rgba(0,200,240,.25);border-radius:1.25rem;
}
body.concept-home .trust-strip h2{color:#fff;margin:0 0 .75rem}
body.concept-home .trust-strip p{margin:0 0 .5rem;color:var(--cx-ink2)}
body.concept-home .trust-strip .muted{color:var(--cx-mut)}
body.concept-home .trust-strip .sa-card{border-radius:1rem;margin:1.25rem 0}
body.concept-home .trust-strip .sa-card p{margin:0;color:var(--deepDark)}

/* ================= 2. LEARN INDEX ================= */
/* header band: the generated circuit/shield art across the top of
   the first section, fading into the shell; text stays left + calm */
body.concept-learn main .section:first-of-type{position:relative}
body.concept-learn main .section:first-of-type::before{
  content:"";position:absolute;left:0;right:0;top:0;height:430px;pointer-events:none;
  background-image:
    linear-gradient(90deg,rgba(4,10,24,.86) 0%,rgba(4,10,24,.45) 52%,rgba(4,10,24,.10) 100%),
    url("/static/img/learn-band-circuit-v2.webp");
  background-size:cover,cover;
  background-position:center,center 38%;
  -webkit-mask-image:linear-gradient(180deg,#000 58%,transparent 98%);
  mask-image:linear-gradient(180deg,#000 58%,transparent 98%);
}
body.concept-learn main .section:first-of-type > .container{position:relative;z-index:1}
@media(max-width:767px){
  body.concept-learn main .section:first-of-type::before{height:340px}
}
body.concept-learn h1{color:#fff;text-shadow:0 0 26px rgba(0,160,255,.30)}
/* cyan slash before section headings (the boards' signature mark) */
body.concept-learn main h2::before{
  content:"/";color:var(--cx-cyan);font-weight:800;margin-right:.32em;
}
body.concept-learn main h2{color:#fff}
/* filter chips — the page's REAL topic filter, restyled as glass pills */
body.concept-learn .chip{
  background:rgba(10,24,54,.6);border-color:var(--cx-line);color:var(--cx-ink2);
}
body.concept-learn .chip:hover{border-color:rgba(0,200,240,.55);color:#fff}
body.concept-learn .chip[aria-pressed="true"]{
  /* v3: light stop #00A8D8 (2.77:1) -> #0077B6 (4.87:1) for the white label */
  background:linear-gradient(120deg,#0869D4,#0077B6);border-color:rgba(0,200,240,.6);
  color:#fff;font-weight:700;box-shadow:0 6px 18px -6px rgba(0,160,220,.55);
}
/* v3 OWNER ADDITION: the guide list is grouped by category in
   native <details>, EVERY group collapsed by default so the list
   never overwhelms. The summary repeats the group's real category
   name (existing string) plus its published-guide count (a bare
   number — UI chrome, not copy). Cards keep the v2 treatment. */
body.concept-learn details.topic-group{
  margin:1.25rem 0 0;border:1px solid var(--cx-line);border-radius:1.25rem;
  background:rgba(8,17,40,.45);box-shadow:var(--cx-shadow);overflow:hidden;
}
body.concept-learn details.topic-group[hidden]{display:none}
body.concept-learn .topic-summary{
  display:flex;align-items:center;gap:.75rem;cursor:pointer;list-style:none;
  min-height:56px;padding:1rem 1.25rem;
  background:linear-gradient(160deg,rgba(23,42,92,.75),rgba(10,20,48,.9));
}
body.concept-learn .topic-summary::-webkit-details-marker{display:none}
body.concept-learn .topic-summary:focus-visible{outline:3px solid var(--cx-cyan);outline-offset:2px}
body.concept-learn .topic-name{
  flex:1;color:#fff;font-size:1.25rem;font-weight:800;line-height:1.35;
}
body.concept-learn .topic-name::before{
  content:"/";color:var(--cx-cyan);font-weight:800;margin-right:.32em;
}
body.concept-learn .topic-count{
  font-family:var(--cx-mono);font-size:.85rem;font-weight:700;color:var(--cx-cyan-txt);
  background:rgba(0,200,240,.10);border:1px solid rgba(0,200,240,.45);
  border-radius:var(--radius-pill);padding:.18rem .65rem;
}
body.concept-learn .topic-summary::after{
  content:"";width:.62rem;height:.62rem;flex:none;margin-right:.2rem;
  border-right:2px solid var(--cx-cyan);border-bottom:2px solid var(--cx-cyan);
  transform:rotate(45deg);transition:transform .18s ease;
}
body.concept-learn details.topic-group[open ] .topic-summary{
  border-bottom:1px solid var(--cx-line);
  background:linear-gradient(160deg,rgba(8,105,212,.35),rgba(10,20,48,.9));
}
body.concept-learn details.topic-group[open ] .topic-summary::after{transform:rotate(225deg)}
body.concept-learn details.topic-group .topic-grid{padding:1.25rem}
@media(max-width:767px){
  body.concept-learn .topic-summary{padding:.9rem 1rem}
  body.concept-learn .topic-name{font-size:1.12rem}
  body.concept-learn details.topic-group .topic-grid{padding:1rem}
}
/* category + guide cards: dark glass panels */
body.concept-learn .card{
  background:var(--cx-panel);border:1px solid var(--cx-line);box-shadow:var(--cx-shadow);
}
@media (hover:hover) and (pointer:fine){
  body.concept-learn .card:hover{
    border-color:rgba(0,200,240,.5);
    box-shadow:inset 0 1px 0 rgba(160,210,255,.16),0 20px 44px -16px rgba(0,0,0,.7);
  }
}
body.concept-learn .card-band{border-bottom:1px solid rgba(0,200,240,.35)}
body.concept-learn .card-body h3{color:#fff}
body.concept-learn .card-body .muted{color:var(--cx-ink2)}
body.concept-learn .card-body .meta{color:var(--cx-mut)}
body.concept-learn .card .arrow{color:var(--cx-cyan-txt)}
body.concept-learn .tag{
  background:rgba(0,200,240,.10);border-color:rgba(0,200,240,.4);color:#AEE6FA;
}
body.concept-learn .tag-planned{
  background:rgba(255,255,255,.06);border-color:var(--cx-line);color:var(--cx-mut);
}
/* NEW in v2: every guide card carries its real hero image as a
   thumbnail (640px derivatives in static/img/guides/thumbs/), so
   the index scans visually before a word is read */
body.concept-learn .card-thumb{
  display:block;width:100%;aspect-ratio:16/10;object-fit:cover;flex:none;
  border-bottom:1px solid rgba(0,200,240,.35);
  background:#0A1734;
}
/* guides without an image get the circuit motif tile + category icon */
body.concept-learn .card-thumb-motif{
  display:flex;align-items:center;justify-content:center;
  background-image:
    linear-gradient(120deg,rgba(5,13,32,.35),rgba(5,13,32,.05)),
    url("/static/img/learn-band-circuit-v2.webp");
  background-size:cover;background-position:center 40%;
  color:#AEE6FA;
}
body.concept-learn .card-thumb-motif svg{width:46px;height:46px}
/* closing prose blocks (AI Hub / forecast links) */
body.concept-learn .prose h2{color:#fff}
body.concept-learn .prose p{color:var(--cx-ink2)}
body.concept-learn .prose a{color:var(--cx-azure)}

/* ================= 3. ARTICLE (all guides) =================
   Dark title band across the top (globe art), the body on ONE light
   reading card, a LEFT rail holding only the sticky TOC (plain, the
   owner's 2026-11-08 layout — v6 moved it out of the right rail,
   see the header note), and a RIGHT RAIL (aside.article-rail)
   holding the sources box, the action box (the article's real next
   step: NO fake newsletter form), related articles with
   thumbnails, and the author card. Interactive layer already on
   the page and kept: reading-progress bar + scroll-spy
   (article-v2.js); on mobile the right rail stacks after the body
   and article-rail-v3.js clones the TOC into a collapsible box on
   top. */
@media(min-width:1200px){
  body.concept-article .article-layout-v2{
    display:grid;grid-template-columns:15rem minmax(0,1fr) 21rem;
    column-gap:2rem;align-items:start;
    grid-template-areas:"head head head" "tocleft main rail";
  }
  body.concept-article .article-layout-v2 .article-head{grid-area:head}
  body.concept-article .article-layout-v2 .article-main{grid-area:main}
  body.concept-article .article-layout-v2 .article-rail{grid-area:rail}
  body.concept-article .article-layout-v2 .article-toc-rail{grid-area:tocleft}
  /* .prose caps these at 42rem for the classic centre column; the
     v2 band and card take the full main-column width instead */
  body.concept-article .article-layout-v2 .article-head,
  body.concept-article .article-layout-v2 .article-main{max-width:none}
}
body.concept-article .article-rail{display:flex;flex-direction:column;gap:1.25rem;margin-top:1.5rem}
/* LEFT TOC rail (v6): the TOC lives alone in this column — plain,
   no panel, nothing else exists here that could slide under it.
   Below 1200px it stacks in flow above the body (the no-JS path);
   article-rail-v3.js hides it there once the collapsible clone is
   in place. On desktop it is the one sticky element of the layout. */
body.concept-article .article-toc-rail{margin:0 0 1.25rem}
body.concept-article .article-toc-rail .toc{margin:0;padding:.25rem 0 0}
@media(min-width:1200px){
  body.concept-article .article-rail{margin-top:0}
  /* align-self:stretch is load-bearing: the grid uses
     align-items:start, which would shrink this rail to the TOC's
     own height and leave position:sticky no room to travel. */
  body.concept-article .article-toc-rail{margin:0;align-self:stretch}
  body.concept-article .article-toc-rail .toc{position:sticky;top:5rem}
}
/* --- dark title band (globe art seated right, under a navy wash) --- */
body.concept-article .article-head{
  background-image:
    linear-gradient(90deg,rgba(6,13,32,.96) 40%,rgba(6,13,32,.74) 66%,rgba(6,13,32,.34) 100%),
    url("/static/img/globe-japan-hero-v2.webp"),
    linear-gradient(160deg,rgba(23,42,92,.85),rgba(8,17,40,.95));
  background-repeat:no-repeat;
  background-position:0 0,right -30px center,0 0;
  background-size:auto,auto 165%,auto;
  background-color:#060D20;
  border:1px solid var(--cx-line);border-radius:var(--radius-panel);
  box-shadow:var(--cx-shadow);
  padding:1.6rem 1.25rem 1.5rem;margin-bottom:1.5rem;
}
@media(min-width:768px){
  body.concept-article .article-head{padding:2.2rem 2.4rem 2rem}
}
@media(max-width:767px){
  body.concept-article .article-head{
    background-image:
      linear-gradient(180deg,rgba(6,13,32,.90) 30%,rgba(6,13,32,.72) 100%),
      url("/static/img/globe-japan-hero-v2.webp"),
      linear-gradient(160deg,rgba(23,42,92,.85),rgba(8,17,40,.95));
    background-position:0 0,center top,0 0;
    background-size:auto,auto 120%,auto;
  }
}
/* band children: margins pinned (boxed-component rule) */
body.concept-article .article-head .eyebrow{margin:0}
body.concept-article .article-head h1{margin:.75rem 0 .6rem;color:#fff}
body.concept-article .article-head .meta{margin:0 0 .35rem;color:var(--cx-mut)}
body.concept-article .article-head .byline{margin:0;color:var(--cx-mut)}
body.concept-article .article-head .keypoints{margin:1.25rem 0 0}
body.concept-article .article-head .guide-hero{margin:1.25rem 0 0}
body.concept-article .article-head .share-row{margin:1.15rem 0 0}
body.concept-article .article-head .share-label{color:#fff}
/* key-points box: deep navy, cyan check badges */
body.concept-article .keypoints{
  background:linear-gradient(150deg,rgba(0,200,240,.12),rgba(8,105,212,.10));
  border:1px solid rgba(0,200,240,.42);border-radius:var(--radius-inner);
  padding:1.05rem 1.2rem;
}
body.concept-article .keypoints-h{color:#fff;margin:0 0 .55rem}
body.concept-article .keypoints ul{list-style:none;margin:0;padding:0}
body.concept-article .keypoints li{
  position:relative;margin:.45rem 0;padding-left:1.75rem;color:var(--cx-ink);
}
body.concept-article .keypoints li:first-child{margin-top:0}
body.concept-article .keypoints li:last-child{margin-bottom:0}
body.concept-article .keypoints li::before{
  content:"✓";position:absolute;left:0;top:.12em;
  width:1.2rem;height:1.2rem;border-radius:50%;
  background:rgba(0,200,240,.15);border:1px solid rgba(0,200,240,.45);
  color:var(--cx-cyan);font-size:.78rem;font-weight:800;line-height:1.15rem;text-align:center;
}
/* hero image: cyan-ringed frame on the band. v6: CAPPED — the
   natural 3:2 photo rendered 1185x791px and swallowed the head
   (owner's photo). A fixed-height cover crop keeps it an
   illustration under the key-points box at a consistent size. */
body.concept-article .guide-hero{
  display:block;width:100%;height:400px;object-fit:cover;object-position:center;
  border:1px solid rgba(0,200,240,.35);border-radius:var(--radius-card);
  box-shadow:0 16px 36px -14px rgba(0,0,0,.6);
}
@media(max-width:767px){
  body.concept-article .guide-hero{height:230px}
}
/* --- right-rail panels: sources keeps the panel chrome, now on a
   SOLID background (v6: the v5 rgba(8,17,40,.62) translucency is
   what let the sources links show through the stuck TOC panel).
   The TOC no longer lives here — see .article-toc-rail above. --- */
body.concept-article .article-rail .sources-box{
  background:#0A1734;border:1px solid var(--cx-line);
  border-radius:var(--radius-panel);box-shadow:var(--cx-shadow);
  padding:1.15rem 1.25rem;margin:0;
}
body.concept-article .toc-h{color:#fff;margin:0 0 .5rem}
body.concept-article .toc ol{margin:0}
body.concept-article .toc li{color:var(--cx-mut)}
body.concept-article .toc a{color:var(--cx-ink2)}
body.concept-article .toc a:hover{color:var(--cx-azure)}
body.concept-article .toc a.toc-active{color:var(--cx-azure)}
body.concept-article .sources-h{color:#fff;margin:0 0 .5rem;font-size:1rem}
body.concept-article .sources-box ul{margin:0;padding-left:1.15rem}
body.concept-article .sources-box li{color:var(--cx-ink2);margin:.3rem 0}
body.concept-article .sources-box a{color:var(--cx-azure)}
/* --- rail action box: the article's REAL next step (no fake form) --- */
body.concept-article .rail-action{
  background:
    radial-gradient(300px 160px at 85% -10%,rgba(0,200,240,.22),rgba(0,200,240,0) 70%),
    linear-gradient(160deg,#172A5C,#081128);
  border:1px solid rgba(0,200,240,.45);border-radius:var(--radius-panel);
  box-shadow:var(--cx-shadow);
  padding:1.3rem 1.25rem;text-align:center;
}
body.concept-article .rail-action-icon{display:block;margin:0 auto .7rem}
body.concept-article .rail-action-btn{
  display:block;text-decoration:none;text-align:center;
  /* v3: light stop #00A8D8 (2.77:1) -> #0077B6 (4.87:1) for the white label */
  background:linear-gradient(120deg,#0869D4,#0077B6);color:#fff;
  font-weight:800;font-size:1.02rem;letter-spacing:.02em;
  border-radius:var(--radius-pill);padding:.85rem 1.25rem;min-height:44px;
  box-shadow:0 12px 26px -10px rgba(0,160,220,.6),inset 0 1px 0 rgba(255,255,255,.35);
}
body.concept-article .rail-action-btn:hover{background:linear-gradient(120deg,#0077B6,#0869D4)}
/* --- rail related articles: thumbnail cards, same real text --- */
body.concept-article .rail-related-h{color:#fff;font-size:1.15rem;margin:0 0 .8rem}
body.concept-article .rail-related-h::before{
  content:"/";color:var(--cx-cyan);font-weight:800;margin-right:.3em;
}
body.concept-article .rail-rel-card{
  display:flex;gap:.85rem;text-decoration:none;
  background:linear-gradient(160deg,#172A5C,#0A1430);border:1px solid var(--cx-line);
  border-radius:var(--radius-inner);box-shadow:var(--cx-shadow);
  padding:.8rem;margin:0 0 .8rem;
}
body.concept-article .rail-rel-card:last-child{margin-bottom:0}
@media (hover:hover) and (pointer:fine){
  body.concept-article .rail-rel-card:hover{border-color:rgba(0,200,240,.5)}
}
body.concept-article .rail-rel-thumb{
  width:92px;aspect-ratio:4/3;object-fit:cover;flex:none;
  border-radius:.6rem;border:1px solid rgba(0,200,240,.3);background:#0A1734;
}
body.concept-article .rail-rel-body{display:flex;flex-direction:column;gap:.3rem;min-width:0}
body.concept-article .rail-rel-body .tag{
  background:rgba(0,200,240,.10);border-color:rgba(0,200,240,.4);color:#AEE6FA;align-self:flex-start;
}
body.concept-article .rail-rel-title{color:#fff;font-weight:700;font-size:.97rem;line-height:1.45}
body.concept-article .rail-rel-sum{color:var(--cx-ink2);font-size:.83rem;line-height:1.55}
body.concept-article .rail-rel-body .meta{color:var(--cx-mut)}
body.concept-article .rail-rel-body .arrow{color:var(--cx-azure);font-weight:800;font-size:.85rem;margin-top:auto}
/* --- author card closes the rail --- */
body.concept-article .article-rail .author-card{
  background:linear-gradient(160deg,#172A5C,#0A1430);border:1px solid var(--cx-line);
  border-radius:var(--radius-panel);box-shadow:var(--cx-shadow);
  padding:1.3rem 1.25rem;margin:0;
}
body.concept-article .author-card>*{margin-top:0}
body.concept-article .author-photo{box-shadow:0 0 0 2px rgba(0,200,240,.5)}
body.concept-article .author-name{color:#fff}
body.concept-article .author-role,body.concept-article .author-sa,body.concept-article .author-reviewed{color:var(--cx-mut)}
body.concept-article .author-desc{color:var(--cx-ink2)}
body.concept-article .author-contact a{color:var(--cx-azure)}
/* --- mobile TOC: the JS-cloned collapsible above the body --- */
body.concept-article .toc-mobile-slot{margin:0 0 1.25rem}
@media(min-width:1200px){
  body.concept-article .toc-mobile-slot{display:none}
}
body.concept-article .toc-mobile{
  background:rgba(8,17,40,.62);border:1px solid var(--cx-line);
  border-radius:var(--radius-panel);box-shadow:var(--cx-shadow);
  padding:.35rem 1.25rem;
}
body.concept-article .toc-mobile summary{
  cursor:pointer;color:#fff;font-weight:800;font-size:.95rem;
  padding:.75rem 0;list-style:none;display:flex;align-items:center;gap:.5rem;min-height:44px;
}
body.concept-article .toc-mobile summary::-webkit-details-marker{display:none}
body.concept-article .toc-mobile summary::after{
  content:"";margin-left:auto;width:.6rem;height:.6rem;flex:none;
  border-right:2px solid var(--cx-cyan);border-bottom:2px solid var(--cx-cyan);
  transform:rotate(45deg);transition:transform .18s ease;
}
body.concept-article .toc-mobile[open ] summary::after{transform:rotate(225deg)}
body.concept-article .toc-mobile .toc{
  background:none;border:none;box-shadow:none;border-radius:0;
  padding:0 0 .9rem;margin:0;
}
/* --- light reading card --- */
body.concept-article .article-main{
  background:linear-gradient(180deg,#FFFFFF,#F7FAFD);
  border:1px solid #D8E4F2;border-radius:var(--radius-panel);
  box-shadow:0 24px 50px -22px rgba(0,0,0,.55);
  padding:1.6rem 1.25rem 1.9rem;color:var(--deepDark);
}
@media(min-width:768px){
  body.concept-article .article-main{padding:2.4rem 2.6rem 2.6rem}
}
body.concept-article .article-main>:first-child{margin-top:0}
body.concept-article .article-main>:last-child{margin-bottom:0}
/* the shell's light-on-navy .lead/.muted rules must NOT reach into
   the light card — inside it, production's dark text colours rule */
body.concept-article .article-main .lead{color:var(--gray700)}
body.concept-article .article-main .muted{color:var(--gray500)}
/* section headings: cyan slash + a small per-section inline-SVG icon
   (badge for facts, shield for lessons, list for the checklist,
   arrow for the next step) — drawn icons only, no emoji, no fonts */
body.concept-article .article-main h2{
  padding-left:2.05rem;
  background-repeat:no-repeat;background-position:0 .22em;background-size:1.45rem 1.45rem;
}
body.concept-article .article-main h2::before{
  content:"/";color:#0A96D8;font-weight:800;margin-right:.3em;
}
body.concept-article .article-main h2#sec-facts{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A84C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.2l2.4 2.4 4.6-4.9'/%3E%3C/svg%3E")}
body.concept-article .article-main h2#sec-lesson1,
body.concept-article .article-main h2#sec-lesson2,
body.concept-article .article-main h2#sec-lesson3,
body.concept-article .article-main h2#sec-lesson4,
body.concept-article .article-main h2#sec-lesson5{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A84C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 2.6V11c0 4.6-3 7.7-7 9.2C8 18.7 5 15.6 5 11V5.6z'/%3E%3Cpath d='M9 11.6l2.1 2.1 3.9-4'/%3E%3C/svg%3E")}
body.concept-article .article-main h2#sec-checklist{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A84C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l1.2 1.2L7.4 5'/%3E%3Cpath d='M4 12l1.2 1.2L7.4 11'/%3E%3Cpath d='M4 18l1.2 1.2L7.4 17'/%3E%3Cpath d='M11 6h9'/%3E%3Cpath d='M11 12h9'/%3E%3Cpath d='M11 18h9'/%3E%3C/svg%3E")}
body.concept-article .article-main h2#sec-next{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A84C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M13 9l3 3-3 3'/%3E%3C/svg%3E")}
/* the checklist reads as check cards (the board's step cards) */
body.concept-article .article-main h2#sec-checklist + ul{
  list-style:none;margin:1rem 0 1.25rem;padding:0;display:grid;gap:.55rem;
}
body.concept-article .article-main h2#sec-checklist + ul li{
  position:relative;margin:0;
  background:#F2F8FE;border:1px solid #CFE3F5;border-radius:var(--radius-inner);
  padding:.72rem .95rem .72rem 2.55rem;line-height:1.6;
}
body.concept-article .article-main h2#sec-checklist + ul li::before{
  content:"✓";position:absolute;left:.8rem;top:.72rem;
  width:1.25rem;height:1.25rem;border-radius:.4rem;
  background:linear-gradient(140deg,#0869D4,#00A8D8);color:#fff;
  font-size:.8rem;font-weight:800;line-height:1.25rem;text-align:center;
}
body.concept-article .article-main .flow-figure img{
  border-radius:var(--radius-inner);box-shadow:0 12px 28px -12px rgba(16,29,66,.35);
}
/* mid-article visual break (v6, owner): one generated illustration
   per guide at a mid-article H2 boundary, column width, 16:9 */
body.concept-article .article-visual{margin:1.75rem 0}
body.concept-article .article-visual img{
  display:block;width:100%;height:auto;
  border-radius:var(--radius-inner);box-shadow:0 12px 28px -12px rgba(16,29,66,.35);
}
/* mini quiz (v6, owner): collapsed teaser by default — the section
   shows its title, note and this one <details> bar (start label +
   question count); the questions render only once it is opened.
   Collapsed in the server HTML, so there is no flash of the full
   quiz; native <details> keeps it working with JavaScript off. */
body.concept-article .quiz-fold{
  margin:1rem 0 0;border:1px solid var(--gray200);border-radius:var(--radius-card);
  background:rgba(255,255,255,.6);padding:0 1.25rem;
}
body.concept-article .quiz-open{
  cursor:pointer;list-style:none;display:flex;align-items:center;gap:.75rem;
  padding:1rem 0;min-height:44px;
}
body.concept-article .quiz-open::-webkit-details-marker{display:none}
body.concept-article .quiz-open-label{font-weight:800;color:#0869D4}
body.concept-article .quiz-open-count{color:var(--gray500);font-size:.9rem}
body.concept-article .quiz-open::after{
  content:"";margin-left:auto;width:.6rem;height:.6rem;flex:none;
  border-right:2px solid #0869D4;border-bottom:2px solid #0869D4;
  transform:rotate(45deg);transition:transform .18s ease;
}
body.concept-article .quiz-fold[open ] .quiz-open::after{transform:rotate(225deg)}
body.concept-article .quiz-fold .quiz-q:first-of-type{margin-top:0}
body.concept-article .quiz-fold .quiz-q:last-of-type{margin-bottom:1.25rem}
/* reading-progress hairline: a touch taller, with the cyan glow */
body.concept-article .reading-progress{
  height:3px;box-shadow:0 0 10px rgba(0,200,240,.55);
}

/* ================= 4. AI HUB INDEX ================= */
body.concept-hub .hub-wrap{color:var(--cx-ink)}
body.concept-hub .hub-wrap a{color:var(--cx-azure)}
/* hub-v8 was written for the light theme: its plain paragraphs
   (.prose p = --gray700) are unreadable on navy, so the hub's body
   copy is lifted to the shell's ink tones explicitly */
body.concept-hub .hub-wrap p{color:var(--cx-ink2)}
body.concept-hub .hub-bubble p{color:var(--cx-ink)}
body.concept-hub .hub-deal li{color:var(--cx-ink)}
body.concept-hub .hub-foot p{color:var(--cx-mut)}
body.concept-hub .hub-wrap .hub-btn,body.concept-hub .hub-wrap .hub-activity{color:#fff}
/* hero: dark glass panel; the generated AI-chip art floats top-right
   as a masked layer (radial mask fades its edges into the panel) */
body.concept-hub .hub-hero{
  position:relative;overflow:hidden;
  background-color:#0A1734;
  background-image:
    radial-gradient(90% 120% at 0% 0%,rgba(8,105,212,.16),rgba(8,105,212,0) 55%),
    radial-gradient(80% 100% at 100% 0%,rgba(0,200,240,.16),rgba(0,200,240,0) 55%),
    linear-gradient(165deg,rgba(23,42,92,.72),rgba(8,17,40,.92));
  border:1px solid var(--cx-line);border-radius:var(--radius-panel);
  box-shadow:var(--cx-shadow);
}
body.concept-hub .hub-hero::before{
  content:"";position:absolute;top:0;right:0;width:330px;height:330px;pointer-events:none;
  background:url("/static/img/ai-chip-motif-v2.webp") center/cover no-repeat;
  -webkit-mask-image:radial-gradient(closest-side,#000 52%,transparent 74%);
  mask-image:radial-gradient(closest-side,#000 52%,transparent 74%);
  opacity:.95;
}
@media(max-width:640px){
  body.concept-hub .hub-hero::before{width:210px;height:210px}
}
body.concept-hub .hub-hero>*{position:relative;z-index:1}
body.concept-hub .hub-hero h1{color:#fff;text-shadow:0 0 26px rgba(0,160,255,.25)}
body.concept-hub .hub-tagline{color:#EAF4FF}
/* concierge bubble goes dark glass; its tail follows */
body.concept-hub .hub-bubble{
  background:rgba(7,15,36,.78);border-color:var(--cx-line);color:var(--cx-ink);
  box-shadow:0 12px 28px -14px rgba(0,0,0,.6);
}
body.concept-hub .hub-bubble::before{
  background:#0A1734;border-left-color:var(--cx-line);border-bottom-color:var(--cx-line);
}
@media(max-width:640px){
  body.concept-hub .hub-bubble-hero::before{border-top-color:var(--cx-line)}
}
body.concept-hub .hub-chloe-chip{
  background:rgba(0,200,240,.12);border-color:rgba(0,200,240,.45);color:var(--cx-cyan-txt);
}
/* floating icon tiles: deep glass, brighter strokes (CSS stroke
   overrides the SVG presentation attribute) */
body.concept-hub .hub-tile{
  background:linear-gradient(140deg,rgba(8,105,212,.35),rgba(0,200,240,.26));
  border-color:rgba(0,200,240,.4);
}
body.concept-hub .hub-tile svg{stroke:#7FD8FF}
/* the "good deal" list: cyan checks instead of dots */
body.concept-hub .hub-deal li::before{content:"✓";color:var(--cx-cyan);left:.15em}
/* section headings: white with the cyan slash */
body.concept-hub .hub-h2{color:#fff}
body.concept-hub .hub-h2::before{
  content:"/";color:var(--cx-cyan);font-weight:800;margin-right:.3em;
}
/* font-size toggle + sort buttons: dark glass pills */
body.concept-hub .hub-fontbtn{
  background:rgba(10,24,54,.6);border-color:var(--cx-line);color:var(--cx-ink2);
}
body.concept-hub .hub-fontbtn[aria-pressed="true"]{
  /* v3: guidesTo #00C8F0 (2.00:1) -> #0077B6 (4.87:1) for the white label */
  background:linear-gradient(120deg,#0869D4,#0077B6);
  border-color:transparent;color:#fff;
}
body.concept-hub .hub-sort-btn{
  background:rgba(10,24,54,.6);border-color:var(--cx-line);color:var(--cx-ink2);
}
body.concept-hub .hub-sort-btn:hover{border-color:rgba(0,200,240,.55);color:#fff}
body.concept-hub .hub-sort-btn.hub-chosen{
  border-color:rgba(0,200,240,.65);background:rgba(0,200,240,.12);
  box-shadow:inset 0 0 0 1px rgba(0,200,240,.65);color:#fff;
}
body.concept-hub .hub-sort-caption{color:var(--cx-ink2)}
/* tool cards: dark glass panels with a per-tool icon tile.
   The tile icon is keyed to the card's OWN open-tool link via :has(),
   so the hub's sort feature can reorder cards without mismatching
   icons: mic = voice, eye = hallucination, message = prompt dojo,
   sparkles = creative duel, video = deepfake, shield = fallback. */
body.concept-hub .hub-card{
  background:var(--cx-panel);border:1px solid var(--cx-line);
  box-shadow:var(--cx-shadow);
}
body.concept-hub .hub-card::before{
  content:"";display:block;width:52px;height:52px;border-radius:14px;flex:none;
  border:1px solid rgba(0,200,240,.4);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 2.6V11c0 4.6-3 7.7-7 9.2C8 18.7 5 15.6 5 11V5.6z'/%3E%3Cpath d='M9 11.6l2.1 2.1 3.9-4'/%3E%3C/svg%3E") center/26px 26px no-repeat,
    linear-gradient(140deg,rgba(8,105,212,.50),rgba(0,200,240,.32));
  box-shadow:0 8px 20px -8px rgba(0,160,220,.5);
}
body.concept-hub .hub-card:has(a[href$="/voice/"])::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a3 3 0 0 1 3 3v5a3 3 0 0 1-6 0V6a3 3 0 0 1 3-3z'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0'/%3E%3Cpath d='M12 18v3'/%3E%3C/svg%3E") center/26px 26px no-repeat,linear-gradient(140deg,rgba(8,105,212,.50),rgba(0,200,240,.32))}
body.concept-hub .hub-card:has(a[href$="/hallucination/"])::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/26px 26px no-repeat,linear-gradient(140deg,rgba(8,105,212,.50),rgba(0,200,240,.32))}
body.concept-hub .hub-card:has(a[href$="/prompt-dojo/"])::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v7a2.5 2.5 0 0 1-2.5 2.5H12l-4.6 3.8v-3.8H6.5A2.5 2.5 0 0 1 4 13.5z'/%3E%3C/svg%3E") center/26px 26px no-repeat,linear-gradient(140deg,rgba(8,105,212,.50),rgba(0,200,240,.32))}
body.concept-hub .hub-card:has(a[href$="/creative-duel/"])::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l1.7 4.6 4.8 1.4-4.8 1.4L12 16l-1.7-4.6L5.5 10l4.8-1.4z'/%3E%3Cpath d='M18.6 16.6l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E") center/26px 26px no-repeat,linear-gradient(140deg,rgba(8,105,212,.50),rgba(0,200,240,.32))}
body.concept-hub .hub-card:has(a[href$="/deepfake/"])::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M15 10.5l6-3.5v10l-6-3.5'/%3E%3C/svg%3E") center/26px 26px no-repeat,linear-gradient(140deg,rgba(8,105,212,.50),rgba(0,200,240,.32))}
body.concept-hub .hub-card h3{color:#fff}
body.concept-hub .hub-card p{color:var(--cx-ink2)}
body.concept-hub .hub-card .hub-time{color:var(--cx-cyan-txt)}
body.concept-hub .hub-card .hub-btn-main{
  box-shadow:0 10px 24px -8px rgba(0,160,220,.55);
}
/* lists, path, closing, footer note */
body.concept-hub .hub-list li,body.concept-hub .hub-path li{color:var(--cx-ink)}
body.concept-hub .hub-activity{box-shadow:0 10px 24px -8px rgba(0,160,220,.5)}
body.concept-hub .hub-closing-quote{color:var(--cx-ink)}
body.concept-hub .hub-foot{border-top-color:var(--cx-line);color:var(--cx-mut)}

/* ================= v3 contrast hardening =================
   Buttons defined in the base/page sheets (site-v14, home-v1,
   home-hub-v2, hub-v8) sit under this sheet in the cascade, so
   their label-carrying gradients are re-stopped here, scoped to
   the concept pages only. Measured white-label ratios, BEFORE ->
   AFTER (lightest stop): hub-entry CTA 2.00 -> 4.87; hero primary
   2.58 -> 5.14 (hover 2.25 -> 4.87); hub main buttons 2.00 ->
   4.87; share-Facebook 2.68 -> 5.70; share-LINE 1.85 -> 4.92;
   share-copy 2.77 -> 4.87. Ghost/secondary buttons were audited
   and already pass (hero secondary #EAF4FF on the dark hero is
   ~14:1; menu/sort/font ghost pills are light text on dark
   glass), so they are deliberately untouched. */
/* homepage hero primary CTA (base gradient lives in home-v1.css) */
body.concept-home .hero .btn-primary{
  background:linear-gradient(180deg,#096FC4,#0869D4);color:#fff;font-weight:800;
}
body.concept-home .hero .btn-primary:hover{
  background:linear-gradient(180deg,#0A6FD0,#0077B6);color:#fff;
}
/* homepage AI Hub featured CTA + its "new" pill (home-hub-v2.css).
   Selector note: the label colour must beat the shell's own link
   rule body.concept-home .section p > a (specificity 0,2,3) — in
   v2 that rule silently overrode the button's white with
   --cx-azure #4FC3FF, which IS the washed-out label the owner
   photographed. The .hub-entry-featured a.… form is (0,3,2). */
body.concept-home .hub-entry-featured a.hub-entry-btn{
  background:linear-gradient(120deg,#0869D4,#0077B6);color:#fff;font-weight:800;
}
body.concept-home .hub-entry-featured a.hub-entry-btn:hover{
  background:linear-gradient(120deg,#0077B6,#0869D4);color:#fff;
}
body.concept-home .hub-new-pill{
  background:linear-gradient(120deg,#0869D4,#0077B6);color:#fff;
}
/* AI Hub main/play/activity buttons (hub-v8.css guides gradient);
   the brightness(1.06) hover lift is removed — it would pull the
   light stop back under 4.5:1 — and replaced with the reversed
   gradient, like the other CTAs */
body.concept-hub .hub-wrap .hub-btn-main,body.concept-hub .hub-wrap .hub-btn-play,
body.concept-hub .hub-wrap .hub-activity{
  background:linear-gradient(120deg,#0869D4,#0077B6);color:#fff;
}
body.concept-hub .hub-wrap .hub-btn-main:hover,body.concept-hub .hub-wrap .hub-btn-play:hover,
body.concept-hub .hub-wrap .hub-activity:hover{
  filter:none;background:linear-gradient(120deg,#0077B6,#0869D4);color:#fff;
}
/* article share buttons (site-v14.css brand ramps): the X button
   is near-black and already passes; Facebook/LINE/copy ramps are
   darkened within their own hues, and the shared brightness(1.08)
   hover lift is removed so hover stays on-spec too */
body.concept-article .share-btn:hover{filter:none}
body.concept-article .share-facebook{background:linear-gradient(180deg,#1464C8 0%,#1263C7 55%,#0D4FA3 100%)}
body.concept-article .share-line{background:linear-gradient(180deg,#04823E 0%,#037A33 55%,#046C2E 100%)}
body.concept-article .share-copy{background:linear-gradient(180deg,#0077B6 0%,#0869D4 100%)}

/* ================= 5. STANDARD PAGES (site-wide rollout) =====
   body.concept-std carries the concept language to every page
   type that was not part of the v2/v3 proof set: a dark band
   page header, the light reading card for prose (the article
   pattern), dark glass cards, cyan-slash section headings and
   the v3 button system. Text and content are untouched — this
   section is presentation only. Dense reading pages (legal,
   service detail, about, contact, the tool exercises) get the
   shell + band + card layer; their inner typography keeps the
   base sheet's light-theme rules inside the card. */

/* --- band header panel for reading pages: the article-head
   treatment as a standalone panel above the light card --- */
body.concept-std .page-band{
  position:relative;color:var(--cx-ink);
  border:1px solid var(--cx-line);border-radius:var(--radius-panel);
  box-shadow:var(--cx-shadow);
  padding:2.1rem 2.2rem;margin:0 0 1.4rem;
  background:
    linear-gradient(100deg,rgba(5,11,26,.90) 26%,rgba(5,11,26,.52) 60%,rgba(5,11,26,.30)),
    url("/static/img/hero-globe-v2.webp") right -70px top -30px/auto 135% no-repeat,
    radial-gradient(560px 260px at 88% -10%,rgba(0,200,240,.20),rgba(0,200,240,0) 70%),
    linear-gradient(160deg,#13234E 0%,var(--cx-navy) 55%,#0B1734 100%);
}
body.concept-std .page-band h1{color:#fff;margin:.55rem 0 .4rem;text-shadow:0 0 26px rgba(0,160,255,.25)}
body.concept-std .page-band .lead{color:var(--cx-ink2);margin:0}
body.concept-std .page-band p{color:var(--cx-ink2)}
body.concept-std .page-band .muted{color:var(--cx-mut)}
body.concept-std .page-band a{color:var(--cx-azure)}
body.concept-std .page-band .notice{
  background:rgba(7,15,36,.72);border:1px solid rgba(0,200,240,.35);
  border-left:4px solid var(--cx-cyan);color:var(--cx-ink);
  margin:1.1rem 0 0;max-width:44rem;
}
body.concept-std .page-band .notice p{color:var(--cx-ink2)}
@media(max-width:640px){
  body.concept-std .page-band{padding:1.55rem 1.2rem}
}

/* --- the light reading card: .prose keeps a light surface so
   long text, forms, tables and the JS tool exercises keep their
   designed contrast (the .article-main move) --- */
body.concept-std .prose{
  background:linear-gradient(180deg,#FFFFFF 0%,#F7FAFD 100%);
  color:var(--deepDark);
  border:1px solid rgba(148,184,228,.6);border-radius:var(--radius-panel);
  box-shadow:0 22px 44px -20px rgba(2,8,24,.6);
  padding:1.9rem 2.1rem;
}
body.concept-std .prose>:first-child{margin-top:0}
body.concept-std .prose>:last-child{margin-bottom:0}
@media(max-width:640px){
  body.concept-std .prose{padding:1.4rem 1.15rem}
}

/* --- index pages: full-bleed band section (circuit art under a
   dark wash, fading into the shell — the learn-index move) --- */
body.concept-std main .page-band-sec{position:relative}
body.concept-std main .page-band-sec::before{
  content:"";position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;
  background-image:
    linear-gradient(90deg,rgba(4,10,24,.88) 0%,rgba(4,10,24,.50) 52%,rgba(4,10,24,.14) 100%),
    url("/static/img/learn-band-circuit-v2.webp");
  background-size:cover,cover;
  background-position:center,center 38%;
  -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 99%);
  mask-image:linear-gradient(180deg,#000 55%,transparent 99%);
}
body.concept-std main .page-band-sec>.container{position:relative;z-index:1}
body.concept-std .page-band-sec h1{color:#fff;text-shadow:0 0 26px rgba(0,160,255,.30)}
body.concept-std .page-band-sec .lead{color:var(--cx-ink2)}
body.concept-std .page-band-sec .notice{
  background:rgba(7,15,36,.72);border:1px solid rgba(0,200,240,.35);
  border-left:4px solid var(--cx-cyan);color:var(--cx-ink);
}
body.concept-std .page-band-sec .notice a{color:var(--cx-azure)}
body.concept-std .page-band-sec p>a{color:var(--cx-azure)}
body.concept-std .page-band-sec .declaration{
  background:rgba(7,15,36,.72);border-color:var(--cx-line);color:var(--cx-ink);
}
body.concept-std .page-band-sec .declaration .muted{color:var(--cx-mut)}

/* --- section headings + flow text on the dark shell --- */
body.concept-std main .section>.container>h2{color:#fff}
body.concept-std main .section>.container>h2::before{
  content:"/";color:var(--cx-cyan);font-weight:800;margin-right:.32em;
}
body.concept-std main .section>.container>h3{color:#fff}
body.concept-std main .section>.container>.lead{color:var(--cx-ink2)}
body.concept-std main .section>.container>p>a{color:var(--cx-azure)}
body.concept-std main .section>.container>.muted{color:var(--cx-mut)}

/* --- dark glass cards (mirrors the home/learn card rules) --- */
body.concept-std .card{
  background:var(--cx-panel);border:1px solid var(--cx-line);
  border-radius:1.25rem;box-shadow:var(--cx-shadow);
}
@media (hover:hover) and (pointer:fine){
  body.concept-std .card:hover{
    border-color:rgba(0,200,240,.5);
    box-shadow:inset 0 1px 0 rgba(160,210,255,.16),0 20px 44px -16px rgba(0,0,0,.7);
  }
}
body.concept-std .card-band{border-bottom:1px solid rgba(0,200,240,.35)}
body.concept-std .card-body h3{color:#fff}
body.concept-std .card-body .muted{color:var(--cx-ink2)}
body.concept-std .card-body .meta{color:var(--cx-ink2)}
body.concept-std .card .arrow{color:var(--cx-cyan-txt)}
body.concept-std .tag{
  background:rgba(0,200,240,.10);border-color:rgba(0,200,240,.4);color:#AEE6FA;
}
body.concept-std .tag-planned{
  background:rgba(255,255,255,.06);border-color:var(--cx-line);color:var(--cx-mut);
}
body.concept-std .card .price{color:#fff}
body.concept-std .card .price small{color:var(--cx-mut);white-space:nowrap}
/* Muted text inside the LIGHT cards keeps a readable dark tone
   (the shell's --cx-mut is tuned for dark surfaces only). The
   service detail price box also uses .price, on white — the
   card-scoped rule above leaves it the base sheet's dark ink. */
body.concept-std .prose .muted,body.concept-std .article-main .muted,
body.concept-article .article-main .muted{color:#5A6B84}
/* NOTE: .tag-coming-soon (the paused-service 3D plaque) is
   deliberately NOT restyled — it keeps its site-v14 design. */

/* --- filter chips on the dark shell (intelligence index) --- */
body.concept-std .chip{
  background:rgba(10,24,54,.6);border-color:var(--cx-line);color:var(--cx-ink2);
}
body.concept-std .chip:hover{border-color:rgba(0,200,240,.55);color:#fff}
body.concept-std .chip[aria-pressed="true"]{
  background:linear-gradient(120deg,#0869D4,#0077B6);border-color:rgba(0,200,240,.6);
  color:#fff;font-weight:700;box-shadow:0 6px 18px -6px rgba(0,160,220,.55);
}

/* --- services catalogue list: glass rows on the dark shell --- */
body.concept-std .catalogue-list{display:grid;gap:.9rem}
body.concept-std .catalogue-list li{
  background:var(--cx-panel);border:1px solid var(--cx-line);
  border-radius:1.1rem;box-shadow:var(--cx-shadow);padding:1.05rem 1.25rem;
}
body.concept-std .catalogue-list .cat-name{color:#fff}
body.concept-std .catalogue-list .price{color:var(--cx-cyan-txt)}
body.concept-std .catalogue-list .muted{color:var(--cx-ink2)}
body.concept-std .catalogue-list a{color:var(--cx-azure)}
body.concept-std .planned-panel{
  background:var(--cx-panel);border:1px solid var(--cx-line);
  border-radius:1.1rem;padding:1.2rem 1.3rem;
}
body.concept-std .planned-panel .muted{color:var(--cx-ink2)}

/* --- buttons: the v3 gradient system (white bold label,
   lightest stop #0077B6 = 4.87:1; hover reverses the gradient
   instead of lifting brightness) --- */
body.concept-std .btn-primary{
  background:linear-gradient(120deg,#0869D4,#0077B6);color:#fff;font-weight:800;
  box-shadow:0 10px 24px -8px rgba(0,160,220,.55);
}
body.concept-std .btn-primary:hover{
  background:linear-gradient(120deg,#0077B6,#0869D4);color:#fff;
}

/* --- advisories: the article pattern (band head + light main +
   dark TOC panel) on the advisory template's own classes --- */
body.concept-std .article-head{
  position:relative;color:var(--cx-ink);
  border:1px solid var(--cx-line);border-radius:var(--radius-panel);
  box-shadow:var(--cx-shadow);
  padding:2.1rem 2.2rem;max-width:none;
  background:
    linear-gradient(100deg,rgba(5,11,26,.90) 26%,rgba(5,11,26,.52) 60%,rgba(5,11,26,.30)),
    url("/static/img/hero-globe-v2.webp") right -70px top -30px/auto 135% no-repeat,
    radial-gradient(560px 260px at 88% -10%,rgba(0,200,240,.20),rgba(0,200,240,0) 70%),
    linear-gradient(160deg,#13234E 0%,var(--cx-navy) 55%,#0B1734 100%);
}
body.concept-std .article-head h1{color:#fff;text-shadow:0 0 26px rgba(0,160,255,.25)}
body.concept-std .article-head .meta{
  color:var(--cx-cyan-txt);font-family:var(--cx-mono);font-size:.85rem;letter-spacing:.02em;
}
body.concept-std .article-head .byline{color:var(--cx-mut)}
body.concept-std .article-head .keypoints{
  background:#0A1734;border:1px solid rgba(0,200,240,.4);color:var(--cx-ink);
  box-shadow:inset 0 1px 0 rgba(120,200,255,.14);
}
body.concept-std .article-head .keypoints-h{color:#fff}
body.concept-std .article-head .keypoints li{color:var(--cx-ink)}
body.concept-std .article-head .keypoints li::marker{color:var(--cx-cyan)}
body.concept-std .article-head .trust-block{
  background:rgba(7,15,36,.72);border:1px solid var(--cx-line);color:var(--cx-ink);
}
body.concept-std .article-head .trust-block h2{color:#fff}
body.concept-std .article-head .trust-block dt{color:var(--cx-cyan-txt)}
body.concept-std .article-head .trust-block dd{color:var(--cx-ink)}
body.concept-std .article-head .trust-block a{color:var(--cx-azure)}
body.concept-std .article-head .trust-block .limitations{color:var(--cx-mut)}
body.concept-std .article-main{
  background:linear-gradient(180deg,#FFFFFF 0%,#F7FAFD 100%);
  color:var(--deepDark);
  border:1px solid rgba(148,184,228,.6);border-radius:var(--radius-panel);
  box-shadow:0 22px 44px -20px rgba(2,8,24,.6);
  padding:1.9rem 2.1rem;max-width:none;
}
body.concept-std .article-main h2::before{
  content:"/";color:#0090C8;font-weight:800;margin-right:.3em;
}
body.concept-std .toc{
  background:rgba(10,22,50,.66);border:1px solid var(--cx-line);
  border-radius:var(--radius-panel);box-shadow:var(--cx-shadow);
  padding:1.15rem 1.25rem;color:var(--cx-ink);
}
body.concept-std .toc-h{color:#fff}
body.concept-std .toc a{color:var(--cx-ink2)}
body.concept-std .toc a:hover{color:#fff}
body.concept-std .toc li::marker{color:var(--cx-cyan)}
body.concept-std .author-card{
  background:var(--cx-panel);border:1px solid var(--cx-line);
  border-radius:var(--radius-panel);box-shadow:var(--cx-shadow);color:var(--cx-ink);
}
body.concept-std .author-card .author-name{color:#fff}
body.concept-std .author-card .author-desc{color:var(--cx-ink2)}
body.concept-std .author-card .author-meta{color:var(--cx-mut)}
@media(max-width:640px){
  body.concept-std .article-head{padding:1.55rem 1.2rem}
  body.concept-std .article-main{padding:1.4rem 1.15rem}
}

/* --- About company table on phones: the base sheet pins the
   label column to nowrap, whose min-content (EN labels) exceeds
   the card's inner width at 390px and pushes the value column
   off the card. Labels may wrap inside the concept card. --- */
@media(max-width:640px){
  body.concept-std .company-table th{white-space:normal;width:34%}
  body.concept-std .company-table th,body.concept-std .company-table td{padding:.6rem .7rem}
  body.concept-std .company-table td{overflow-wrap:anywhere}
}

/* --- AI Hub tool pages: the cyan slash joins the hub's own
   section headings inside the light card --- */
body.concept-std .hub-h2::before{
  content:"/";color:#0090C8;font-weight:800;margin-right:.3em;
}

/* ================= 6. FORECAST (shell only) =================
   The forecast page keeps its own theme-dark content design and
   markup untouched; it receives the concept shell (section 0)
   through body.concept-site. Only its lead tone is confirmed
   against the shell here. */
body.concept-site.theme-dark .tf-wrap .lead{color:var(--cx-ink2)}

/* ================= print guard =================
   Dark shells must never print light text on white paper. */
@media print{
  body.concept-home,body.concept-learn,body.concept-article,body.concept-hub,body.concept-std{background:#fff;color:#0F172A}
  body.concept-std .page-band,body.concept-std .article-head,body.concept-std .card,
  body.concept-std .catalogue-list li,body.concept-std .toc,body.concept-std .author-card{
    background:#fff;border-color:#ccc;box-shadow:none;
  }
  body.concept-std .page-band h1,body.concept-std .article-head h1,
  body.concept-std .card-body h3{color:#0F172A}
  body.concept-std .page-band-sec::before{display:none}
  body.concept-article .article-head,
  body.concept-article .article-rail .sources-box,body.concept-article .article-rail .author-card,
  body.concept-article .rail-action,body.concept-hub .hub-hero,
  body.concept-hub .hub-card,body.concept-learn .card,body.concept-home .card{
    background:#fff;border-color:#ccc;box-shadow:none;
  }
  body.concept-article .article-head h1,body.concept-article .keypoints-h,
  body.concept-article .sources-h,body.concept-article .toc-h,
  body.concept-article .author-name,body.concept-article .rail-related-h,
  body.concept-hub .hub-hero h1,body.concept-hub .hub-card h3,
  body.concept-learn .card-body h3,body.concept-home .card-body h3{color:#0F172A}
  body.concept-article .keypoints li,body.concept-article .sources-box li,
  body.concept-article .author-desc,body.concept-hub .hub-card p,
  body.concept-learn .card-body .muted,body.concept-home .card-body .muted{color:#374151}
  body.concept-article .article-rail,body.concept-article .article-toc-rail,body.concept-article .toc-mobile-slot{display:none}
}

/* ================= 6. VISITOR DISCOVERY (v7, 2026-11-14) =========
   Homepage "Latest guides" cards reuse the learn-card pattern, so
   they need the same thumbnail treatment the learn scope carries.
   The NEW chip is a solid label chip (cyan face, deep-navy text —
   it must read as a LABEL, never as a button: no gradient, no
   shadow, no hover state). It sits inline right after the card's
   category tag, in the same position on every card type. */
body.concept-home .card-thumb{
  display:block;width:100%;aspect-ratio:16/10;object-fit:cover;flex:none;
  border-bottom:1px solid rgba(0,200,240,.35);
  background:#0A1734;
}
body.concept-home .new-chip,body.concept-learn .new-chip,
body.concept-std .new-chip{
  /* .card-body is a flex column: without align-self the chip would
     stretch into a full-width bar (caught in the v7 render QA). As a
     flex item it lands on its own row directly under the category
     tag — the same position on every card type. */
  display:inline-block;align-self:flex-start;
  background:#00C8F0;color:#0A1734;text-align:center;
  font-size:.68rem;font-weight:800;letter-spacing:.09em;line-height:1;
  padding:.28rem .5rem .24rem;border-radius:999px;
}

/* ================= 7. SHARE PANEL + PRINT (v8) =================
   The expanding article share panel (owner-approved mock,
   2026-11-14): a gradient pill in the article head (repeated at
   the end of the body) opens a dark navy panel — brand tiles for
   X / Facebook / LINE + copy-link, a second row for bookmark /
   QR / print, an in-panel copy confirmation and bookmark hint,
   and a QR view rendered locally by qrcode-generator-v1.js.
   Children margins are pinned to 0 throughout (boxed-component
   rule: no UA margins inside the panel). The print block turns
   the article into a clean text printout. */

/* screen: the canonical-URL line exists only for print */
body.concept-article .print-url-line{display:none}

body.concept-article .share-wrap{position:relative;margin:1.15rem 0 0}
body.concept-article .article-main .share-wrap{margin:2rem 0 0}
body.concept-article .share-pill{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.62rem 1.15rem;border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(120deg,#2563EB,#1E40AF);
  color:#fff;font:inherit;font-size:.95rem;font-weight:700;line-height:1;
  box-shadow:0 6px 18px rgba(8,30,80,.35);
}
body.concept-article .share-pill:hover{background:linear-gradient(120deg,#1E40AF,#2563EB)}
body.concept-article .share-pill .share-chev{transition:transform .18s ease}
body.concept-article .share-pill[aria-expanded="true"] .share-chev{transform:rotate(180deg)}
body.concept-article .share-pill:focus-visible,
body.concept-article .share-panel button:focus-visible,
body.concept-article .share-panel a:focus-visible{
  outline:2px solid #00C8F0;outline-offset:2px;
}

body.concept-article .share-panel{
  position:absolute;top:calc(100% + .55rem);left:0;z-index:80;
  width:min(352px,calc(100vw - 1.5rem));
  background:linear-gradient(165deg,#10224E 0%,#081226 100%);
  border:1px solid rgba(0,200,240,.38);border-radius:1.1rem;
  box-shadow:0 22px 48px rgba(2,8,26,.55);
  padding:1rem 1rem 1.05rem;color:#E8F1FF;
}
body.concept-article .share-panel[hidden]{display:none}
body.concept-article .share-panel .share-view[hidden]{display:none}
body.concept-article .share-panel-head{
  display:flex;align-items:center;justify-content:space-between;
  margin:0 0 .8rem;
}
body.concept-article .share-panel-title{
  display:inline-flex;align-items:center;gap:.5rem;margin:0;
  color:#fff;font-size:.98rem;font-weight:700;
}
body.concept-article .share-panel-title svg{color:#00C8F0}
body.concept-article .share-panel-x{
  display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;padding:0;border:0;border-radius:50%;
  background:transparent;color:#B9CFEF;cursor:pointer;
}
body.concept-article .share-panel-x:hover{background:rgba(255,255,255,.10);color:#fff}

body.concept-article .share-tiles{display:grid;gap:.5rem;margin:0}
body.concept-article .share-tiles-main{grid-template-columns:repeat(4,1fr)}
body.concept-article .share-tiles-sub{grid-template-columns:repeat(3,1fr);margin-top:.65rem}
body.concept-article .share-tile{
  display:flex;flex-direction:column;align-items:center;gap:.42rem;
  margin:0;padding:.3rem .05rem .05rem;border:0;border-radius:.8rem;
  background:transparent;color:#E8F1FF;cursor:pointer;
  font:inherit;text-decoration:none;
}
body.concept-article .share-tile-icon{
  display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;color:#fff;flex:none;
}
body.concept-article .share-tile:hover .share-tile-icon{filter:brightness(1.15)}
body.concept-article .share-tile-icon.is-x{background:#000}
body.concept-article .share-tile-icon.is-facebook{background:#1877F2}
body.concept-article .share-tile-icon.is-line{background:#06C755}
body.concept-article .share-tile-icon.is-copy{background:linear-gradient(160deg,#00A8E8,#0869D4)}
body.concept-article .share-tile-icon.is-sub{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(148,197,255,.38);color:#BFE3FF;
}
body.concept-article .share-glyph-line{
  font-size:.82rem;font-weight:800;letter-spacing:.06em;line-height:1;
}
body.concept-article .share-tile-label{
  margin:0;font-size:.72rem;line-height:1.3;text-align:center;color:#DCE9FB;
}

body.concept-article .share-note{
  display:flex;align-items:center;gap:.5rem;
  margin:.85rem 0 0;padding:.6rem .8rem;border-radius:.7rem;
  font-size:.85rem;line-height:1.45;
}
body.concept-article .share-note[hidden]{display:none}
body.concept-article .share-feedback{
  background:rgba(34,197,94,.16);border:1px solid rgba(34,197,94,.5);color:#D9FBE5;
}
body.concept-article .share-feedback svg{color:#4ADE80;flex:none}
body.concept-article .share-bm-hint{
  background:rgba(255,255,255,.07);border:1px solid rgba(148,197,255,.35);color:#DCE9FB;
}

body.concept-article .share-qr-h{
  margin:0 0 .7rem;text-align:center;color:#fff;font-weight:700;font-size:.95rem;
}
body.concept-article .share-qr-card{
  width:fit-content;margin:0 auto;padding:12px;border-radius:.9rem;background:#fff;
}
body.concept-article .share-qr-card canvas{
  display:block;width:min(232px,62vw);height:auto;image-rendering:pixelated;
}
body.concept-article .share-qr-url{
  margin:.7rem 0 0;text-align:center;font-size:.72rem;line-height:1.5;
  color:#9DB8DD;word-break:break-all;
}
body.concept-article .share-back{
  display:flex;align-items:center;gap:.45rem;margin:.85rem auto 0;
  padding:.55rem 1.1rem;border-radius:999px;cursor:pointer;font:inherit;
  font-size:.88rem;font-weight:600;color:#E8F1FF;
  background:transparent;border:1px solid rgba(148,197,255,.45);
}
body.concept-article .share-back:hover{background:rgba(255,255,255,.08)}
body.concept-article .share-close-mobile{
  display:none;width:100%;margin:.9rem 0 0;padding:.72rem;border-radius:.8rem;
  background:transparent;border:1px solid rgba(148,197,255,.45);
  color:#E8F1FF;font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;
}
@media(max-width:767px){
  body.concept-article .share-close-mobile{display:block}
}

/* --- print: clean text article, black on white --- */
@media print{
  @page{margin:16mm 13mm}
  body.concept-article{background:#fff!important}
  body.concept-article .site-header,body.concept-article .site-footer,
  body.concept-article .orbs,body.concept-article .reading-progress,
  body.concept-article .breadcrumb,body.concept-article .share-wrap,
  body.concept-article .article-toc-rail,body.concept-article .toc-mobile-slot,
  body.concept-article .quiz,body.concept-article .rail-action,
  body.concept-article .rail-related,body.concept-article .author-card,
  body.concept-article .guide-hero,body.concept-article .guide-cover,
  body.concept-article .print-hide{display:none!important}
  body.concept-article .container{max-width:none!important;width:auto!important;padding:0!important}
  body.concept-article .article-layout{display:block!important}
  body.concept-article .article-head{
    background:none!important;border:0!important;box-shadow:none!important;
    padding:0!important;margin:0 0 1rem!important;
  }
  body.concept-article .article-head *,body.concept-article .article-main *,
  body.concept-article .article-rail *{
    color:#000!important;text-shadow:none!important;box-shadow:none!important;
  }
  body.concept-article .keypoints{
    background:none!important;border:1px solid #000!important;
    padding:.8rem 1rem!important;
  }
  body.concept-article .keypoints li::before{
    background:#fff!important;border:1px solid #000!important;color:#000!important;
  }
  body.concept-article .article-main{
    background:none!important;border:0!important;padding:0!important;
  }
  body.concept-article .article-main h2{background-image:none!important}
  body.concept-article .article-main h2::before{color:#000!important}
  body.concept-article .article-main img{display:none!important}
  body.concept-article .article-rail{display:block!important;margin:1.5rem 0 0!important}
  body.concept-article .sources-box{
    background:none!important;border:1px solid #999!important;padding:.8rem 1rem!important;
  }
  body.concept-article a{color:#000!important;text-decoration:none!important}
  body.concept-article .print-url-line{
    display:block!important;margin:.4rem 0 0!important;
    font-size:.85rem;color:#000!important;word-break:break-all;
  }
}

/* ================= 8. CONTRAST FIXES (2026-11-15, full-site WCAG audit) =================
   Text styled for the wrong background, fixed at the writer:
   - .muted/.meta inside dark glass cards (--cx-panel over a light
     surround measured as low as 1.11:1 for the self-check star
     cards) lift to --cx-ink2.
   - Author-card lines on concept bodies that had no concept rule
     (site --gray500 on the dark card, 2.92:1) take --cx-mut, the
     tone concept-article already used.
   - The services catalogue price suffix takes --cx-mut on the
     dark rows.
   - Primary buttons inside section paragraphs on concept-std
     (catalog band, 2.45:1) keep their white label: the azure
     content-link rules no longer wash them out.
   concept-home is deliberately absent from the glass-card rules:
   homepage cards are governed by the home sheet. The
   concept-site selector therefore carries :not(.concept-home) —
   concept-site is the universal base class and appears on the
   homepage body too; without the guard these rules overrode the
   home sheet and put --cx-ink2 on the homepage's LIGHT cards
   (1.25:1, caught in the pre-deploy re-probe). */
body.concept-article .card.glass-panel .muted,body.concept-hub .card.glass-panel .muted,body.concept-learn .card.glass-panel .muted,body.concept-site:not(.concept-home) .card.glass-panel .muted,body.concept-std .card.glass-panel .muted{color:var(--cx-ink2)}
body.concept-article .card.glass-panel .meta,body.concept-hub .card.glass-panel .meta,body.concept-learn .card.glass-panel .meta,body.concept-site:not(.concept-home) .card.glass-panel .meta,body.concept-std .card.glass-panel .meta{color:var(--cx-ink2)}
body.concept-article .author-card .author-role,body.concept-article .author-card .author-sa,body.concept-article .author-card .author-reviewed,body.concept-hub .author-card .author-role,body.concept-hub .author-card .author-sa,body.concept-hub .author-card .author-reviewed,body.concept-learn .author-card .author-role,body.concept-learn .author-card .author-sa,body.concept-learn .author-card .author-reviewed,body.concept-site:not(.concept-home) .author-card .author-role,body.concept-site:not(.concept-home) .author-card .author-sa,body.concept-site:not(.concept-home) .author-card .author-reviewed,body.concept-std .author-card .author-role,body.concept-std .author-card .author-sa,body.concept-std .author-card .author-reviewed{color:var(--cx-mut)}
body.concept-std .catalogue-list .price small{color:var(--cx-mut)}
body.concept-std .page-band-sec p>a.btn-primary,body.concept-std main .section>.container>p>a.btn-primary{color:#fff}
