/* Dimau blue glass v2. Visual roles only: each app keeps its subject imagery,
   native working layout, semantic status colours and approved artwork. */
:root{
 --dimau-font:Manrope,system-ui,sans-serif;
 --dimau-page-title:clamp(2rem,1.7rem + 1.3vw,2.75rem);
 --dimau-section-title:clamp(1.5rem,1.3rem + .8vw,2rem);
 --dimau-card-title:clamp(1.25rem,1.15rem + .4vw,1.5rem);
 --dimau-body:1rem;--dimau-small:.875rem;--dimau-caption:.75rem;
 --dimau-ink:#0b2540;--dimau-muted:#284b68;--dimau-blue:#075b94;
 --dimau-glass:rgba(238,248,255,.78);--dimau-glass-dense:rgba(238,248,255,.9);
 --dimau-edge:rgba(41,139,210,.48);--dimau-light:0 0 0 1px rgba(70,173,255,.36),0 0 22px rgba(35,150,245,.25),inset 0 1px rgba(255,255,255,.7);
 --dui-font-body:var(--dimau-font);--dui-font-display:var(--dimau-font);
 --dui-text-4xl:var(--dimau-page-title);--dui-text-3xl:var(--dimau-section-title);--dui-text-2xl:var(--dimau-card-title);
 --dui-accent:var(--dimau-blue);--dui-card-bg:var(--dimau-glass);--dui-card-blur:blur(12px);
}
body{font-family:var(--dimau-font);font-size:var(--dimau-body);line-height:1.65}
body :is(h1,h2,h3,h4,h5,h6,p,blockquote,dt,dd,label,summary,button,input,select,textarea,th,td){font-family:var(--dimau-font)!important}
body :is(h1,h2,h3){font-weight:800;letter-spacing:-.025em;line-height:1.2;text-wrap:balance}
.dimau-page-title{font-size:var(--dimau-page-title)!important}
.dimau-section-title{font-size:var(--dimau-section-title)!important}
.dimau-card-title{font-size:var(--dimau-card-title)!important}
body :is(input,select,textarea){font-size:1rem}
.dimau-glass{background:var(--dimau-glass)!important;color:var(--dimau-ink)!important;border:1px solid var(--dimau-edge);border-radius:20px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 8px 28px rgba(8,58,100,.12),inset 0 1px rgba(255,255,255,.72)}
.dimau-glass :is(h1,h2,h3,p){color:var(--dimau-ink)}
.dimau-glass-dense{background:var(--dimau-glass-dense)!important}
body :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #075b94;outline-offset:3px}
.dimau-glass:focus-within{border-color:#2195ed;box-shadow:var(--dimau-light)}
@media(hover:hover){.dimau-glass:hover{border-color:#2195ed;box-shadow:var(--dimau-light)}.dimau-glass :is(p,h1,h2,h3,label,summary):hover{text-shadow:0 0 14px rgba(0,139,255,.42)}}
@media(prefers-reduced-transparency:reduce){.dimau-glass{background:#eef8ff!important;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.dimau-glass{transition:none!important}.dimau-glass:hover{transform:none!important}}
@media(forced-colors:active){.dimau-glass{background:Canvas!important;color:CanvasText!important;border-color:CanvasText;box-shadow:none;backdrop-filter:none}.dimau-glass :is(h1,h2,h3,p){color:CanvasText}body :is(a,button,summary,input,select,textarea):focus-visible{outline-color:Highlight}}
@media print{.dimau-glass{background:white!important;color:black!important;box-shadow:none;backdrop-filter:none}}

/* Bible native adapter. Reading controls and user text-size settings retain their roles. */
body{font-family:var(--dimau-font)!important;font-weight:400;--ink:var(--dimau-ink);--ink-soft:var(--dimau-muted);--glass:var(--dimau-glass);--glass-strong:var(--dimau-glass-dense);--accent:var(--dimau-blue)}
body .brandname{font-family:var(--dimau-font);font-size:18px;line-height:1.3;font-weight:700}body .brandname small{font:400 12px/1.4 var(--dimau-font);color:var(--dimau-muted)}
body header .bar{min-height:64px}body .logotile,body .logotile img{width:36px;height:36px;object-fit:contain;flex-shrink:0}
body :is(.card,.landing-intro,.landing-feature,.landing-disclosure,.landing-shortcuts h2){background:var(--dimau-glass)!important;color:var(--dimau-ink)!important;border-color:var(--dimau-edge);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 28px #083a641f,inset 0 1px #ffffffb8}
body :is(.card,.landing-intro,.landing-feature,.landing-disclosure):focus-within{box-shadow:var(--dimau-light)}
body .landing-intro{padding:32px;border-radius:24px}
body .landing-intro::before{border-color:#1487d735}
body .landing-intro h1{font-size:var(--dimau-page-title);line-height:1.15;font-weight:800;letter-spacing:-.035em;max-width:none;color:var(--dimau-ink)}
body .landing-intro h1 span{font-family:var(--dimau-font);font-size:var(--dimau-card-title);font-weight:700;color:var(--dimau-muted)}
body .landing-intro :is(.landing-kicker,.landing-lede,.landing-search-link,.landing-facts,.landing-facts b){color:var(--dimau-ink)}
body .landing-kicker{font-size:.75rem;letter-spacing:.08em}body .landing-lede{font-size:1rem;line-height:1.65}
body :is(.landing-button,.landing-button.secondary){background:#075b94;border-color:#075b94;color:white;font-family:var(--dimau-font)}body :is(.landing-button small,.landing-button.secondary small){font:500 .75rem/1.4 var(--dimau-font);color:white}
body .landing-button.secondary{background:rgba(255,255,255,.65);color:#075b94}body .landing-button.secondary small{color:#075b94}
body .landing-search-link{font-size:.875rem;line-height:1.6}body .landing-facts{font-size:.75rem}
body :is(.landing-search-title,.landing-shortcuts h2){font-size:var(--dimau-section-title);font-weight:800;line-height:1.2}
body #view-home #dailyRef{font-size:var(--dimau-card-title)}body #view-home #dailyText{font-family:var(--dimau-font);font-size:1.0625rem;line-height:1.8}
body :is(.landing-section-kicker .coltitle,.landing-day-label,#view-home #dailyMeta){font-size:.75rem;color:var(--dimau-muted)}
body :is(.landing-search-copy,.landing-feature span,.landing-extra>summary){font-size:.875rem;color:var(--dimau-muted)}
body .landing-feature strong{font:800 1rem/1.35 var(--dimau-font)}
body .landing-art{background:rgba(255,255,255,.2);border-color:#ffffffa8}
body #view-home :is(#q,#searchVersion){font-size:1rem}body #view-home #searchOut{font-size:.875rem}
body :is(.btn,.bula){min-height:44px}body .landing-disclosure>summary{font-size:1rem;min-height:52px}
body main>h1{font-size:var(--dimau-page-title)}
@media(min-width:761px){body header .bar{min-height:72px}}
@media(max-width:760px){body .landing-intro{padding:24px 20px}body .landing-art{width:108px;background:none}body .landing-primary-actions{grid-template-columns:1fr 1fr}body .landing-facts{gap:8px 12px}body #view-home>.card{padding:22px 20px}body .landing-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:359px){body .landing-primary-actions,body .landing-feature-grid{grid-template-columns:1fr}}
@media(hover:hover){body :is(.card,.landing-intro,.landing-feature,.landing-disclosure):hover{box-shadow:var(--dimau-light)}body :is(.landing-button,.landing-button.secondary):hover{background:#064d7d;color:white}body .landing-button.secondary:hover small{color:white}body :is(.card,.landing-intro,.landing-feature) :is(p,h1,h2,h3,summary):hover{text-shadow:0 0 14px #008bff6b}}
@media(prefers-reduced-transparency:reduce){body :is(.card,.landing-intro,.landing-feature,.landing-disclosure,.landing-shortcuts h2){background:#eef8ff!important;backdrop-filter:none}}
@media(forced-colors:active){body :is(.card,.landing-intro,.landing-feature,.landing-disclosure,.landing-shortcuts h2){background:Canvas!important;color:CanvasText!important;border-color:CanvasText;box-shadow:none}body .landing-intro :is(h1,h1 span,p,a,li,b),body .landing-feature span{color:CanvasText}}

/* History lighting v1 — exact museum text/control glow; existing app roles retained.
   Controls at rest use the Dimau Kit house tile (leaf corners, glass tile, 1.5px blue edge, navy
   label) so buttons the app builds itself match the kit's .dk-btn; the current choice uses the
   kit's sky "on" tile with a 2px edge. */
@layer dimau-history-lighting {
 /* A disclosure summary is a tile too, so it gets inner padding unless the app sets its own. */
 :where(summary){padding:10px 14px}
 :root{--dimau-history-rest-shadow:0 0 0 1px rgba(95,177,244,.36),0 2px 10px rgba(30,144,255,.2),inset 0 1px 5px rgba(255,255,255,.94);--dimau-history-edge:#68b6f1}
 :where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))){background:var(--dk-tile,rgba(240,248,255,.86))!important;color:var(--dk-navy,#000080)!important;border:1.5px solid var(--dk-blue,#1e90ff)!important;border-radius:var(--dk-leaf,4px 16px 4px 16px)!important;box-shadow:var(--dk-ring,var(--dimau-history-rest-shadow))!important;text-transform:none!important;letter-spacing:normal!important}
 :where(:is(.btn-primary,.button-primary,.primary,.landing-button:not(.secondary),.dm-btn:not(.dm-btn-quiet):not(.dm-btn-ink)):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))){background:linear-gradient(135deg,#168bf0,#2874b2)!important;color:#fff!important;border-color:#1579c8!important}
 :where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))):is([aria-pressed="true"],[aria-selected="true"],[aria-current="page"],.active,.is-active,.selected,.is-current,.on){background:var(--dk-tile-on,rgba(135,206,235,.92))!important;color:var(--dk-navy,#000080)!important;border-width:2px!important}
 :where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))):is(:focus-visible,:active){box-shadow:var(--museum-control-glow)!important;text-shadow:var(--museum-text-glow)!important}
 @media(hover:hover) and (pointer:fine){:where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))):hover{box-shadow:var(--museum-control-glow)!important;text-shadow:var(--museum-text-glow)!important}}
 @media(prefers-reduced-motion:reduce){:where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))){transition:none!important;animation:none!important}}
 @media(forced-colors:active){:where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))){background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;outline-color:ButtonText!important;box-shadow:none!important;text-shadow:none!important}:where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))):focus-visible{outline:3px solid Highlight!important;outline-offset:3px!important;box-shadow:none!important;text-shadow:none!important}}
 @media print{:where(:is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],select,summary,a.btn,a.button,a.dui-btn,a.dm-btn,a.dm-chip,a.landing-button,header nav a,.nav-tabs a):not(:disabled):not([aria-disabled="true"]):not([role="switch"]):not([role="checkbox"]):not([role="radio"]):not(.danger):not(.destructive):not(.btn-danger):not(.btn-destructive):not(.btn-warning):not(.btn-success):not([data-variant="destructive"]):not([data-tone="danger"]):not([data-service]):not([data-platform]):not([class*="social"]):not([class*="share-app"]):not(:has(img,canvas,video))){box-shadow:none!important;text-shadow:none!important}}
}
/* Shared museum lighting. Important layer beats older page-specific overrides.
   Shadows only: no image filters, colour changes, layout shifts or animation. */
@layer dimau-history-lighting {
  :root {
    --museum-control-glow: 0 0 0 2px rgba(255,255,255,.98),
      0 0 14px 4px rgba(56,189,248,.95),
      0 0 32px 8px rgba(30,144,255,.72),
      inset 0 0 18px 3px rgba(240,249,255,.65);
    --museum-text-glow: 0 0 1px #fff,
      0 0 5px rgba(255,255,255,.98),
      0 0 12px rgba(125,211,252,.95),
      0 0 22px rgba(56,189,248,.8);
  }

  /* Keyboard users and touch presses receive the same lighting as a mouse. */
  :where(button, [role="button"], input[type="button"], input[type="submit"],
    input[type="reset"], select, summary):not(:disabled):not([aria-disabled="true"]):is(:focus-visible, :active) {
    box-shadow: var(--museum-control-glow) !important;
    text-shadow: var(--museum-text-glow) !important;
  }

  :where(button, a[href], [role="button"], input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):not(:disabled):not([aria-disabled="true"]):focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 4px !important;
    box-shadow: var(--museum-control-glow) !important;
    text-shadow: var(--museum-text-glow) !important;
  }

  @media (hover: hover) and (pointer: fine) {
    :where(button, [role="button"], input[type="button"], input[type="submit"],
      input[type="reset"], select, summary):not(:disabled):not([aria-disabled="true"]):hover {
      box-shadow: var(--museum-control-glow) !important;
      text-shadow: var(--museum-text-glow) !important;
    }

    /* Text can light up without a border or a new click action. */
    :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, label, legend, summary,
      figcaption, blockquote, span, small, strong, b, em, i, a, button,
      input, textarea, text, tspan, td, th, caption, code, pre, time,
      address, cite, q, abbr, u, mark, div:not(:has(*)), .label, .room-sign, .status):not(:disabled):not([aria-disabled="true"]):not(:where(:disabled, [aria-disabled="true"]) *):hover {
      text-shadow: var(--museum-text-glow) !important;
    }
  }
}


/* Compact header tabs keep their lighting inside the button and scroll row. */
@layer dimau-history-lighting {
  [data-museum-visitor-experience] header nav > button {
    --museum-control-glow: inset 0 0 0 1px rgba(30,144,255,.8),
      inset 0 0 8px rgba(56,189,248,.28);
    --museum-text-glow: 0 0 3px rgba(240,249,255,.85);
  }
  [data-museum-visitor-experience] header nav > button:not(:disabled):not([aria-disabled="true"]):focus-visible {
    outline: 2px solid #1E90FF !important;
    outline-offset: -3px !important;
  }
}

@layer dimau-history-lighting{@media(forced-colors:active){:root{--museum-control-glow:none!important;--museum-text-glow:none!important;--dimau-history-rest-shadow:none!important}:root body :is(button,a,input,select,textarea,summary,h1,h2,h3,h4,h5,h6,p,li,span,label,td,th):is(:hover,:focus-visible,:active){text-shadow:none!important;box-shadow:none!important}}}

@layer dimau-history-lighting{:where(:root body :is(.card,.landing-intro,.landing-feature,.landing-disclosure)){border-color:#70b7ea!important;outline:1px solid rgba(95,177,244,.35);outline-offset:-1px;box-shadow:var(--dimau-history-rest-shadow)!important}:where(:root body :is(.card,.landing-intro,.landing-feature,.landing-disclosure)):focus-within{box-shadow:var(--museum-control-glow)!important}@media(hover:hover) and (pointer:fine){:where(:root body :is(.card,.landing-intro,.landing-feature,.landing-disclosure)):hover{box-shadow:var(--museum-control-glow)!important}}@media(forced-colors:active){:where(:root body :is(.card,.landing-intro,.landing-feature,.landing-disclosure)){outline-color:CanvasText!important;box-shadow:none!important}}@media print{:where(:root body :is(.card,.landing-intro,.landing-feature,.landing-disclosure)){box-shadow:none!important}}}

/* Dimau header lighting â€” 18 October 2026. History's original artwork stays intact. */
@layer dimau-history-lighting {
 :root {
  --dimau-header-rest:0 0 0 1px rgba(135,206,235,.35),0 0 12px rgba(30,144,255,.45),inset 0 0 14px rgba(30,144,255,.18);
  --dimau-header-lit:0 0 0 2px rgba(255,255,255,.98),0 0 14px 4px rgba(56,189,248,.95),0 0 32px 8px rgba(30,144,255,.72),inset 0 0 18px 3px rgba(240,249,255,.65);
 }
 /* A decorative tile around the existing mark preserves its size and header position. */
 html:root body .dimau-owner-logo-frame {position:relative!important;isolation:isolate;overflow:visible!important;background:transparent!important;}
 html:root body .dimau-owner-logo-frame::before {
  content:""!important;position:absolute!important;left:50%!important;top:50%!important;inset:auto auto auto auto;
  width:48px!important;height:48px!important;transform:translate(-50%,-50%)!important;box-sizing:border-box!important;
  border:1.5px solid #1e90ff!important;border-radius:14px!important;background:#fff!important;
  box-shadow:var(--dimau-header-rest)!important;pointer-events:none;z-index:-1;
 }
 html:root body .dimau-owner-logo-frame img {position:relative!important;z-index:1;}
 html:root body .dimau-owner-logo-frame:is(:hover,:focus-within)::before,
 html:root body a:focus-visible .dimau-owner-logo-frame::before {box-shadow:var(--dimau-header-lit)!important;}
 /* Some native headers place the original image directly in the brand link. */
 html:root body :is(img.dimau-owner-logo,img[src*="dimau-owner-logo"],img[src$="/dimau-fintech-logo.png"]):not(.dimau-owner-logo-frame img) {
  border-color:#1e90ff!important;border-radius:8px!important;outline:1.5px solid #1e90ff!important;outline-offset:4.5px!important;
  box-shadow:0 0 0 4.5px #fff,0 0 0 6px rgba(135,206,235,.35),0 0 12px 6px rgba(30,144,255,.45),inset 0 0 14px rgba(30,144,255,.18)!important;
 }
 html:root body :is(img.dimau-owner-logo,img[src*="dimau-owner-logo"],img[src$="/dimau-fintech-logo.png"]):not(.dimau-owner-logo-frame img):hover,
 html:root body a:focus-visible :is(img.dimau-owner-logo,img[src*="dimau-owner-logo"],img[src$="/dimau-fintech-logo.png"]):not(.dimau-owner-logo-frame img) {box-shadow:var(--dimau-header-lit)!important;}
 /* History already has this native48px tile; keep one border and one glow. */
 html:root body a[class*="visitor-experience_dialogLogo"] .dimau-owner-logo-frame::before {content:none!important;}
 html:root body a[class*="visitor-experience_dialogLogo"] {border-color:#1e90ff!important;box-shadow:var(--dimau-header-rest)!important;}
 html:root body a[class*="visitor-experience_dialogLogo"]:is(:hover,:focus-visible) {box-shadow:var(--dimau-header-lit)!important;}
 html:root body #root#root :is(button.music-mini__play,button.nav-music__play),
 html:root body #app#app button#sk-hero-play,
 html:root body button[data-music-toggle][data-music-toggle] {box-shadow:var(--dimau-header-rest)!important;overflow:visible!important;}
 html:root body #root#root :is(button.music-mini__play,button.nav-music__play):is(:hover,:focus-visible,:active),
 html:root body #app#app button#sk-hero-play:is(:hover,:focus-visible,:active),
 html:root body button[data-music-toggle][data-music-toggle]:is(:hover,:focus-visible,:active) {box-shadow:var(--dimau-header-lit)!important;}
 @media(max-width:720px){
  html:root body .dimau-owner-logo-frame::before {border-radius:10px!important;}
  html:root body :is(img.dimau-owner-logo,img[src*="dimau-owner-logo"],img[src$="/dimau-fintech-logo.png"]):not(.dimau-owner-logo-frame img) {border-radius:4px!important;}
 }
 @media(prefers-reduced-motion:reduce){html:root body .dimau-owner-logo-frame::before {transition:none!important;}}
 @media(forced-colors:active){
  html:root body .dimau-owner-logo-frame::before {background:Canvas!important;border-color:CanvasText!important;box-shadow:none!important;}
  html:root body :is(img.dimau-owner-logo,img[src*="dimau-owner-logo"],img[src$="/dimau-fintech-logo.png"]) {outline-color:CanvasText!important;box-shadow:none!important;}
  html:root body #root#root :is(button.music-mini__play,button.nav-music__play),html:root body #app#app button#sk-hero-play,html:root body button[data-music-toggle][data-music-toggle] {box-shadow:none!important;}
 }
 @media print{html:root body .dimau-owner-logo-frame::before,html:root body img.dimau-owner-logo {box-shadow:none!important;}}
}

/* Fiji History native tile buttons — 18 October 2026.
   Matches museum-ui.js: asymmetric corners, frosted glass, navy type and blue edge. */
@layer dimau-history-lighting {
 html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a){
  background:rgba(240,248,255,.86)!important;
  backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);
  border:1.5px solid #1e90ff!important;border-radius:4px 16px 4px 16px!important;
  color:#000080!important;text-shadow:none!important;outline:none;
  box-shadow:0 0 0 1px rgba(135,206,235,.35),0 0 12px rgba(30,144,255,.45),inset 0 0 14px rgba(30,144,255,.18)!important;
  font-weight:700!important;min-height:44px;
 }
 html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a) :is(small,.bi){color:inherit!important}
 html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):is(.on,.active,[aria-pressed="true"],[aria-selected="true"],[aria-current="page"]){
  background:rgba(135,206,235,.92)!important;border-color:#000080!important;
  box-shadow:inset 0 0 0 1px #000080,0 0 12px rgba(30,144,255,.45)!important;
 }
 @media(hover:hover){html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):not(:disabled):hover{background:rgba(214,238,250,.95)!important}}
 html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):focus-visible{outline:3px solid #000080!important;outline-offset:3px!important}
 html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):disabled{opacity:.55;cursor:not-allowed}
 @media(prefers-reduced-transparency:reduce){html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a){background:#f0f8ff!important;backdrop-filter:none;-webkit-backdrop-filter:none}html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):is(.on,[aria-pressed="true"],[aria-selected="true"]){background:#87ceeb!important}}
 @media(forced-colors:active){html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a){background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important}html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):is(.on,[aria-pressed="true"],[aria-selected="true"]){background:Highlight!important;color:HighlightText!important}html:root body :is(.btn,.pill,.bula,.landing-button,.chapnav button,.sd-tab,.sd-button,.sd-primary,.sd-row-button,select,.book,.bx-gallery,.toolbar button,.back,.chapters a,.nav a):focus-visible{outline-color:Highlight!important}}
}

/* History pill rows v2 — 18 October 2026. Native actions and artwork retained. */
@layer dimau-history-lighting{
html:root body:not(#dimau-pill-unused) :is(body>header :is(button,summary,a.btn,a.button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled),.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled),.bw-line button,.bula-btn,button[data-bula-open]){box-sizing:border-box!important;min-height:44px!important;border:1px solid #1e90ff!important;border-radius:4px 16px!important;background:rgba(240,248,255,.86)!important;color:#000080!important;box-shadow:0 0 0 1px rgba(135,206,235,.35),0 0 12px rgba(30,144,255,.45),inset 0 0 14px rgba(30,144,255,.18)!important;outline:0;font-family:Manrope,system-ui,sans-serif!important;font-weight:700!important;font-size:14px!important;line-height:1.2!important;letter-spacing:normal!important;text-transform:none!important;padding:10px 16px!important;white-space:nowrap!important;text-decoration:none!important;}
html:root body:not(#dimau-pill-unused) :is(body>header :is(button,summary,a.btn,a.button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled):is([aria-current="page"],[aria-selected="true"],.active,.on),.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled):is([aria-current="page"],[aria-selected="true"],.active,.on),.bw-line button:is([aria-current="page"],[aria-selected="true"],.active,.on),.bula-btn:is([aria-current="page"],[aria-selected="true"],.active,.on),button[data-bula-open]:is([aria-current="page"],[aria-selected="true"],.active,.on)){background:rgba(218,239,255,.98)!important;box-shadow:inset 0 0 0 1px #1e90ff,0 0 0 1px rgba(135,206,235,.35),0 0 12px rgba(30,144,255,.45),inset 0 0 14px rgba(30,144,255,.18)!important;}
html:root body:not(#dimau-pill-unused) :is(body>header :is(button,summary,a.btn,a.button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled):focus-visible,.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled):focus-visible,.bw-line button:focus-visible,.bula-btn:focus-visible,button[data-bula-open]:focus-visible){outline:2px solid #1e90ff!important;outline-offset:-3px!important;box-shadow:0 0 0 2px rgba(255,255,255,.98),0 0 14px 4px rgba(56,189,248,.95),0 0 32px 8px rgba(30,144,255,.72),inset 0 0 18px 3px rgba(240,249,255,.65)!important;}
@media(hover:hover) and (pointer:fine){html:root body:not(#dimau-pill-unused) :is(body>header :is(button,summary,a.btn,a.button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled):hover,.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled):hover,.bw-line button:hover,.bula-btn:hover,button[data-bula-open]:hover){background:rgba(240,248,255,.98)!important;box-shadow:0 0 0 2px rgba(255,255,255,.98),0 0 14px 4px rgba(56,189,248,.95),0 0 32px 8px rgba(30,144,255,.72),inset 0 0 18px 3px rgba(240,249,255,.65)!important;}
}
html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) :is(.tabs){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;scrollbar-color:#1e90ff rgba(30,144,255,.18)!important;overscroll-behavior-x:contain;scroll-padding-inline:8px;padding-bottom:10px!important;-webkit-overflow-scrolling:touch;}
html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) :is(.tabs>*){flex:0 0 auto!important;}
html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) :is(.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled)){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex:0 0 auto!important;height:40px!important;min-height:40px!important;padding:7px 12px!important;white-space:nowrap!important;}
html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) :is(.tabs)::-webkit-scrollbar{height:6px!important;width:6px!important}html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) :is(.tabs)::-webkit-scrollbar-track{background:rgba(30,144,255,.18)!important;border-radius:999px!important}html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) :is(.tabs)::-webkit-scrollbar-thumb{background:#1e90ff!important;border-radius:999px!important;box-shadow:0 0 6px rgba(30,144,255,.5)!important}html:root body:not(#dimau-pill-unused) :is(header .brandname){font-family:Manrope,system-ui,sans-serif!important;font-size:18px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:normal!important;}
html:root body:not(#dimau-pill-unused) :is(header .brandname small){font-size:12px!important;line-height:1.3!important;}
header .bar{min-height:64px!important;padding:8px 12px!important;gap:10px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;align-items:center!important}header .logotile{grid-column:1!important;grid-row:1!important}header .brandname{grid-column:2!important;grid-row:1!important}header #btnAccount,header .back{grid-column:3!important;grid-row:1!important}header #bula{grid-column:2/4!important;grid-row:2!important;justify-self:start!important}header .spacer{display:none!important}.tabs .bi{font-size:14px!important;line-height:1.2!important}.tabs .bi small{font-size:12px!important;line-height:1.3!important}
html:root body:not(#dimau-pill-unused) :is(body>header input[type="search"]){box-sizing:border-box!important;min-width:0!important;min-height:44px!important;border:1px solid #1e90ff!important;border-radius:4px 16px!important;background:rgba(240,248,255,.86)!important;color:#000080!important;box-shadow:0 0 0 1px rgba(135,206,235,.35),0 0 12px rgba(30,144,255,.45),inset 0 0 14px rgba(30,144,255,.18)!important;font-size:16px!important;}
@media(forced-colors:active){html:root body:not(#dimau-pill-unused) :is(body>header :is(button,summary,a.btn,a.button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled),.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled),.bw-line button,.bula-btn,button[data-bula-open]){background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;}
html:root body:not(#dimau-pill-unused) :is(.tabs){scrollbar-color:auto!important;}
}
@media print{html:root body:not(#dimau-pill-unused) :is(body>header :is(button,summary,a.btn,a.button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled),.tabs :is(a,button):not(.brand):not(.brand-symbol):not(.logo-tile):not(.logotile):not(.sk-site-brand):not([class*="music"]):not([class*="flagBadge"]):not([data-music-toggle]):not(#sk-hero-play):not(:has(img.dimau-owner-logo)):not(.danger):not([aria-disabled="true"]):not(:disabled),.bw-line button,.bula-btn,button[data-bula-open]){box-shadow:none!important;}
}
}

/* Responsive Bible shell: one predictable brand row, clear wrapping labels. */
html:root body header .bar{grid-template-columns:48px minmax(0,1fr) auto auto!important;gap:12px!important;padding:12px 20px!important;min-height:76px!important;max-width:1120px;margin-inline:auto}
html:root body header .logotile{width:48px!important;height:48px!important;display:grid;place-items:center;overflow:visible;background:#fff;border:1.5px solid #1e90ff;border-radius:12px}
html:root body header .logotile img{width:36px!important;height:36px!important;object-fit:contain}
html:root body header .brandname{min-width:0;overflow-wrap:anywhere}
html:root body header #bula{grid-column:3!important;grid-row:1!important}
html:root body header :is(#btnAccount,.back){grid-column:4!important;grid-row:1!important}
html:root body main{padding-bottom:96px}
html:root body :is(.landing-copy,.card,.sd-shell,.reader,.searchrow){min-width:0}
html:root body .landing-button{min-width:0}
html:root body .landing-disclosure>summary{gap:12px}
html:root body .bulapanel{white-space:normal;text-align:left;line-height:1.6;font-weight:400}
html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) .tabs button{height:auto!important;min-height:52px!important}
@media(max-width:760px){
 html:not(:has(.dk-header)){scroll-padding-top:88px}
 html:root body header .bar{grid-template-columns:44px minmax(0,1fr) auto auto!important;padding:10px 12px!important;gap:8px!important;min-height:68px!important}
 html:root body header .logotile{width:44px!important;height:44px!important}
 html:root body:not(#dimau-pill-unused) header .brandname{font-size:15px!important}
 html:root body:not(#dimau-pill-unused) header .brandname small{font-size:12px!important}
 html:root body:not(#dimau-pill-unused):not(#bible-header-a):not(#bible-header-b) header :is(#bula,#btnAccount){padding:8px!important;font-size:12px!important;white-space:normal!important}
 html:root body .account-full{display:none}
 html:root body .landing-intro{padding:20px 16px;gap:12px}
 html:root body .landing-art{width:64px;margin:0}
 html:root body .landing-intro h1{font-size:clamp(28px,8vw,36px)}
 html:root body .landing-intro h1 span{font-size:20px}
 html:root body .landing-kicker{font-size:12px;margin-bottom:10px}
 html:root body .landing-lede{margin:12px 0 18px}
 html:root body #view-home>.card{padding:20px 16px}
 html:root body #view-home .landing-daily{min-height:0}
 html:root body .landing-section-kicker{flex-wrap:wrap;gap:4px}
 html:root body .landing-daily-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 html:root body .landing-daily-actions .btn{min-width:0;padding:10px 8px}
 html:root body .landing-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html:root body .landing-feature{padding:14px;min-height:0}
 html:root body .landing-feature strong{padding-right:12px}
 html:root body .landing-feature span{font-size:12px}
 html:root body .bulapanel{max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px)}
}
@media(max-width:359px){
 html:root body header .bar{gap:6px!important;padding-inline:10px!important}
 html:root body:not(#dimau-pill-unused) header .brandname{font-size:13px!important}
 html:root body .landing-primary-actions{grid-template-columns:1fr}
}

@layer dimau-history-lighting{
 html:root body header .bar{grid-template-columns:48px minmax(0,1fr) auto auto!important;gap:12px!important;padding:12px 20px!important;min-height:76px!important}
 html:root body header #bula{grid-column:3!important;grid-row:1!important}
 html:root body header :is(#btnAccount,.back){grid-column:4!important;grid-row:1!important}
 html:root body header .logotile{width:48px!important;height:48px!important}
 html:root body:not(#dimau-pill-unused):not(#dimau-pill-row-size) .tabs button{height:auto!important;min-height:52px!important}
 @media(max-width:760px){
 html:root body header .bar{grid-template-columns:44px minmax(0,1fr) auto 72px!important;padding:10px 12px!important;gap:8px!important;min-height:68px!important}
 html:root body header .logotile{width:44px!important;height:44px!important}
 html:root body:not(#dimau-pill-unused) header .brandname{font-size:15px!important}
 html:root body:not(#dimau-pill-unused) header .brandname small{font-size:12px!important}
 html:root body:not(#dimau-pill-unused):not(#bible-header-a):not(#bible-header-b) header :is(#bula,#btnAccount){padding:8px!important;font-size:12px!important;white-space:normal!important}
 }
 @media(max-width:359px){html:root body header .bar{gap:6px!important;padding-inline:10px!important}html:root body:not(#dimau-pill-unused) header .brandname{font-size:13px!important}}
}
@layer dimau-history-lighting{@media(max-width:760px){html:root body header .bar{width:100%!important;box-sizing:border-box!important}html:root body:not(#bible-header-a):not(#bible-header-b):not(#bible-header-c) header :is(#bula,#btnAccount){min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}}}

/* Dimau consistent native header v1 — 18 October 2026. */
@layer dimau-history-lighting{
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .brandname){font-size:18px!important;font-weight:800!important;line-height:21.6px!important;letter-spacing:normal!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .brandname small){font-size:12px!important;line-height:15.6px!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .bar){grid-template-columns:48px minmax(0,1fr) auto auto!important;padding:8px 12px!important;gap:8px!important;min-height:64px!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .logotile){width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;min-height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;overflow:visible!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .brandname){font-size:18px!important;line-height:21.6px!important;margin:0!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .brandname small){font-size:12px!important;line-height:15.6px!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header #bula){grid-column:3!important;grid-row:1!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header #btnAccount,header .back){grid-column:4!important;grid-row:1!important;}
@media(max-width:600px){html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .bar){grid-template-columns:48px minmax(0,1fr) auto!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .brandname){grid-column:2/-1!important;grid-row:1!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header #bula){grid-column:1/3!important;grid-row:2!important;justify-self:start!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header #btnAccount,header .back){grid-column:3!important;grid-row:2!important;justify-self:end!important;}
}html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .logotile .dimau-owner-logo-frame){display:block!important;width:36px!important;height:36px!important;line-height:0!important;}
html:root body:not(#dimau-consistency-a):not(#dimau-consistency-b):not(#dimau-consistency-c) :is(header .logotile .dimau-owner-logo){display:block!important;width:36px!important;height:36px!important;}
}
