/* MTWAFIQ v23.00 · the glass layer (design v0.1, D55–D58, the owner's "Yes, all five", 18 Nov 2026).
   Loaded last on every page. Content and layouts are unchanged; the shared surfaces become frosted glass over MTWAFIQ-teal glass textures
   made from the owner's Magnific sets (shared/assets/img/glass). Reading first: AA contrast, solid fallback without backdrop-filter,
   and the visitor's "reduce transparency" and "reduce motion" settings are respected. */
:root,[data-theme=light]{
  --gl-tex:url(../img/glass/dawn-teal.webp);--gl-base:#EEF6F6;
  --gl-fill:linear-gradient(140deg,rgba(255,255,255,.80),rgba(255,255,255,.58));--gl-solid:#FFFFFF;
  --gl-edge:rgba(255,255,255,.95);--gl-line:rgba(15,116,113,.14);
  --gl-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 24px 60px -28px rgba(15,80,80,.30);
  --gl-veil:rgba(246,251,251,.55);--gl-head:rgba(255,255,255,.62);--gl-blur:18px;--card:rgba(255,255,255,.80);--gl-calm:rgba(246,251,251,.46);
}
[data-theme=dark]{
  --gl-tex:url(../img/glass/dawn-teal-dark.webp);--gl-base:#071316;
  --gl-fill:linear-gradient(140deg,rgba(255,255,255,.10),rgba(255,255,255,.035));--gl-solid:#0F1D21;
  --gl-edge:rgba(255,255,255,.16);--gl-line:rgba(93,248,208,.12);
  --gl-shadow:0 1px 0 rgba(255,255,255,.12) inset,0 30px 70px -30px rgba(0,0,0,.85);
  --gl-veil:rgba(6,16,19,.50);--gl-head:rgba(8,20,24,.55);--gl-blur:20px;--card:rgba(15,29,33,.80);--gl-calm:rgba(6,16,19,.22);
}
/* the page: one fixed glass texture, with soft MTWAFIQ glows. v23.02 (owner, 18 Nov 10:11): the patterned teal glass (C) replaces the ribbed stripes */
body{background:var(--gl-base)}
/* small faint text sits on the patterned glass too: in light mode it takes the muted tone, readable at 4.5:1 or more (review, v23.02) */
html:not([data-theme=dark]) body{--faint:#3E444B!important}
/* the earlier starry sky (mono.css, data-sky) retires too: these win over it */
body::before{content:""!important;position:fixed!important;inset:0!important;z-index:-1!important;pointer-events:none;animation:none!important;background-size:auto!important;background-position:0 0!important;background:
  radial-gradient(48vmax 40vmax at 12% 18%,rgba(31,181,178,.22),transparent 70%),
  radial-gradient(40vmax 36vmax at 92% 78%,rgba(236,108,37,.10),transparent 70%),
  radial-gradient(36vmax 30vmax at 70% 8%,rgba(76,174,63,.12),transparent 70%),
  linear-gradient(var(--gl-calm),var(--gl-calm)),var(--gl-tex) center/cover no-repeat,var(--gl-base)!important}
.band,main > section{background:transparent}
.band:not(.page-hero),main > section.alt{background:var(--gl-veil)}
.aurora{display:none}                                   /* the starry and aurora backgrounds retire (D56) */
/* glass surfaces */
.site-header,.site-header.scrolled{background:var(--gl-head);border-bottom:1px solid var(--gl-line);box-shadow:none}
.cx-panel,.card,.tile,.panel,.cx-card,.st-card,.bc-card,.idc-card,.mini,.cx-pill,.f-cta,dialog,.modal,.sheet,.dcv-card,.dcv-box{
  background:var(--gl-fill);border:1px solid var(--gl-edge);box-shadow:var(--gl-shadow);
  -webkit-backdrop-filter:blur(var(--gl-blur)) saturate(140%);backdrop-filter:blur(var(--gl-blur)) saturate(140%)}
.cx-pill{box-shadow:none}
.page-hero{position:relative;background:transparent}
.page-hero > .wrap{position:relative;z-index:1}
/* the footer keeps its dark design (white text) in both modes: smoked glass, so its links stay readable on light pages too (owner QA, 18 Nov 09:25) */
.site-footer{background-color:rgba(7,19,22,.94)!important;border-top:1px solid rgba(93,248,208,.14);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
/* the one main action on a page's opening panel: MTWAFIQ orange, in its deep tone so white text reads at AA (4.6:1 and more) (as the owner's "orange like the Initiate button" rule for the CTA) */
:is(.page-hero,.dm-hero) .btn-primary:not(:disabled):not([aria-disabled=true]){--bcol:#EC6C25;--btc:#EC6C25}
:root[data-theme][data-theme] :is(.page-hero,.dm-hero) .btn-primary:not(:disabled):not([aria-disabled=true]){color:#FFFFFF!important;background:linear-gradient(135deg,#C4531A,#B5501A)!important;border-color:rgba(255,255,255,.35)!important}
/* the signature line under each page title */
.page-hero h1::after{content:"";display:block;width:96px;height:4px;margin-top:18px;border-radius:4px;background:linear-gradient(90deg,#EC6C25,#4CAE3F,#1FB5B2)}
:root .page-hero[style*="text-align:center"] h1::after,:root .page-hero .center h1::after,:root .page-hero.dm-hero h1::after{margin-inline:auto!important}   /* a centred title: its line under its middle (owner QA 10:17) */
/* the Demo Center's journey sections (owner QA, 18 Nov 09:30): each list on its own glass panel; the site-wide section spacing
   (124px above and below) does not apply to these inner sections */
.dcv-sec{padding:4px 20px 12px;margin:0 0 16px;background:var(--gl-fill);border:1px solid var(--gl-edge);border-radius:14px;box-shadow:var(--gl-shadow);-webkit-backdrop-filter:blur(var(--gl-blur)) saturate(140%);backdrop-filter:blur(var(--gl-blur)) saturate(140%)}
.dcv-sec h3{margin-top:14px}
/* the 0 to 10 scale: its two end labels sit under its first and last box */
.dcv-box fieldset{width:fit-content;max-width:100%}
/* reading and comfort */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .cx-panel,.card,.tile,.panel,.cx-card,.st-card,.bc-card,.idc-card,.mini,.cx-pill,.f-cta,dialog,.modal,.sheet,.dcv-card,.dcv-box,.dcv-sec{background:var(--gl-solid)}
  .site-header,.site-header.scrolled{background:var(--gl-solid)}}
@media (prefers-reduced-transparency:reduce){
  body::before{background:var(--gl-base)}
  .cx-panel,.card,.tile,.panel,.cx-card,.st-card,.bc-card,.idc-card,.mini,.cx-pill,.f-cta,dialog,.modal,.sheet,.dcv-card,.dcv-box,.dcv-sec,.site-header,.site-header.scrolled{background:var(--gl-solid);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media (prefers-reduced-transparency:reduce){.site-footer{background-color:#0B1418!important;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media print{body::before{display:none}body{background:#fff}}
/* the two card boxes (design section 3): the card on glass, the verse or message on a frosted panel with the teal edge */
.amb-card{background:var(--gl-fill);border:1px solid var(--gl-edge);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
.amb-q{background:var(--gl-fill);border:1px solid var(--gl-edge);border-inline-start:4px solid #1FB5B2;border-radius:0 14px 14px 0;box-shadow:var(--gl-shadow)}
[dir=rtl] .amb-q{border-radius:14px 0 0 14px}
.amb-scene{background:url(../img/glass/dawn-teal.webp) center/cover,linear-gradient(135deg,#1FB5B2,#4CAE3F)}
.amb-scene.amb-t-cel{background:linear-gradient(135deg,rgba(236,108,37,.85),rgba(245,179,1,.75)),url(../img/glass/dawn-teal.webp) center/cover}
.amb-scene.amb-t-gentle{background:url(../img/glass/frost-teal.webp) center/cover}
.amb-card .amb-scene header{background:rgba(255,255,255,.42);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 10px 24px -14px rgba(0,0,0,.35)}
@media (prefers-reduced-transparency:reduce){.amb-card,.amb-q{background:var(--gl-solid);-webkit-backdrop-filter:none;backdrop-filter:none}}
/* My Space (the app): the work area shows the glass texture through a light veil; its cards and tiles are frosted */
.ap{--ap-bg:rgba(255,255,255,.66);--ap-bg2:rgba(246,250,250,.70);--ap-line:rgba(15,116,113,.16)}
[data-theme=dark] .ap{--ap-bg:rgba(14,22,26,.62);--ap-bg2:rgba(255,255,255,.05);--ap-line:rgba(255,255,255,.12)}
.ap-work{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ap-card,.ap-k,.ap-new{-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:var(--gl-shadow)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.ap{--ap-bg:#FFFFFF;--ap-bg2:#F6F8F8}[data-theme=dark] .ap{--ap-bg:#0E1117;--ap-bg2:#0A0C10}}
@media (prefers-reduced-transparency:reduce){.ap{--ap-bg:#FFFFFF;--ap-bg2:#F6F8F8}[data-theme=dark] .ap{--ap-bg:#0E1117;--ap-bg2:#0A0C10}}

/* v23.05 (owner, 18 Nov 2026 17:53: "there is no mouse over effect, standardize mouse over effect in the whole site"): v22.00's one hover
   (mono.css) now reaches every card and tile on both sites, including the ones drawn in My Space, the Demo Center and the tools: the card
   rises 3px and takes a 2px ring and a soft glow of its own colour (--btc: a phase card its phase colour, everything else turquoise).
   Keyboard focus on a card, or on its link or button, shows the same (typing in a field does not move it). People who reduce motion get the ring and glow without the rise. */
:is(html:not([data-brand]),html[data-brand=mtwafiq]) :is(.idc-layers > li,.et-ph,.idc-close,.vid-card,.wd-rcard,.rg-card,.cta-card,.xa-card,.play-card,.fg-tile,.doc,.live-card,.ms-card,.ms-tile,.cm-svc,.stl-card,.st-card,.px-tile,.da-tile,.aw-tile,.aop-card,.wl-tile,.wl-card,.wb-card,.ap-card,.od-card,.bc-card,.rf-card,.de-card,.os-card,.av-card,.dcx-card,.duel-card,.amb-card,.stp-card,.uld-card,.e2e-p,.coe-svc,.title-card,.q-card,.why-i,.hl-card,.tile,.cx-tile,.fx-card,.pt-card,.b54-card,.wd-tcard,.aop-tile,.mt-tile):not([data-no-hv]){transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
:is(html:not([data-brand]),html[data-brand=mtwafiq]) :is(.idc-layers > li,.et-ph,.idc-close,.vid-card,.wd-rcard,.rg-card,.cta-card,.xa-card,.play-card,.fg-tile,.doc,.live-card,.ms-card,.ms-tile,.cm-svc,.stl-card,.st-card,.px-tile,.da-tile,.aw-tile,.aop-card,.wl-tile,.wl-card,.wb-card,.ap-card,.od-card,.bc-card,.rf-card,.de-card,.os-card,.av-card,.dcx-card,.duel-card,.amb-card,.stp-card,.uld-card,.e2e-p,.coe-svc,.title-card,.q-card,.why-i,.hl-card,.tile,.cx-tile,.fx-card,.pt-card,.b54-card,.wd-tcard,.aop-tile,.mt-tile):not([data-no-hv]):is(:hover,:focus-visible,:has(a:focus-visible,button:focus-visible)){transform:translateY(-3px)!important;border-color:var(--btc,var(--bt1,#1FB5B2))!important;box-shadow:0 0 0 2px var(--btc,var(--bt1,#1FB5B2)),0 20px 40px -24px color-mix(in srgb,var(--btc,var(--bt1,#1FB5B2)) 60%,#000000)!important}
:is(html:not([data-brand]),html[data-brand=mtwafiq]) .et-ph:not([data-no-hv]):is(:hover,:focus-visible,:has(a:focus-visible,button:focus-visible)){box-shadow:inset 0 6px 0 var(--btc),0 0 0 2px var(--btc),0 20px 40px -24px color-mix(in srgb,var(--btc) 60%,#000000)!important}
@media (prefers-reduced-motion:reduce){:is(html:not([data-brand]),html[data-brand=mtwafiq]) :is(.idc-layers > li,.et-ph,.idc-close,.vid-card,.wd-rcard,.rg-card,.cta-card,.xa-card,.play-card,.fg-tile,.doc,.live-card,.ms-card,.ms-tile,.cm-svc,.stl-card,.st-card,.px-tile,.da-tile,.aw-tile,.aop-card,.wl-tile,.wl-card,.wb-card,.ap-card,.od-card,.bc-card,.rf-card,.de-card,.os-card,.av-card,.dcx-card,.duel-card,.amb-card,.stp-card,.uld-card,.e2e-p,.coe-svc,.title-card,.q-card,.why-i,.hl-card,.tile,.cx-tile,.fx-card,.pt-card,.b54-card,.wd-tcard,.aop-tile,.mt-tile):not([data-no-hv]){transition:none}:is(html:not([data-brand]),html[data-brand=mtwafiq]) :is(.idc-layers > li,.et-ph,.idc-close,.vid-card,.wd-rcard,.rg-card,.cta-card,.xa-card,.play-card,.fg-tile,.doc,.live-card,.ms-card,.ms-tile,.cm-svc,.stl-card,.st-card,.px-tile,.da-tile,.aw-tile,.aop-card,.wl-tile,.wl-card,.wb-card,.ap-card,.od-card,.bc-card,.rf-card,.de-card,.os-card,.av-card,.dcx-card,.duel-card,.amb-card,.stp-card,.uld-card,.e2e-p,.coe-svc,.title-card,.q-card,.why-i,.hl-card,.tile,.cx-tile,.fx-card,.pt-card,.b54-card,.wd-tcard,.aop-tile,.mt-tile):not([data-no-hv]):is(:hover,:focus-visible,:has(a:focus-visible,button:focus-visible)){transform:none!important}}

/* drop-down lists (owner QA, 20 Nov 08:57): the open list is always solid, with dark text on light and light text on dark.
   Fields on glass are see-through, and browsers drew their open list white with the light text, so it could not be read */
select{color-scheme:light}
[data-theme=dark] select{color-scheme:dark}
select option,select optgroup{background-color:#FFFFFF;color:#0A0F14}
[data-theme=dark] select option,[data-theme=dark] select optgroup{background-color:#0F2230;color:#EEF5F8}
select option:disabled{color:#6B7680}

/* v23.23 (owner, 20 Nov 2026 09:34): the pointer highlight for training sessions. Whatever the mouse is over (a panel, a step, an option, a row, a line of text, a button or a field) is outlined or tinted, so the audience sees what is being pointed at. Mice only, never touch. v23.24 (owner 09:55): a frame keeps its marker while the mouse is anywhere inside it; the element under the mouse is marked too. v23.25 (owner 09:58): one line per element, no second ring. v23.28 (owner 13:05, "mark the outer frame only when mouse hover; don't mark the inside elements"): only the outermost frame under the mouse is marked. */
@media all{:root{--mt-hv:#0089C7}:root[data-theme=dark]{--mt-hv:#22D3EE}:is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details){transition:outline-color .12s}:is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details):hover:not(:is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details) :is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details)):not(:has(:is(a,button,label,[role=button],[onclick]):is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details):hover)),:is(a,button,label,[role=button],[onclick]):is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details):hover:not(:has(:is(a,button,label,[role=button],[onclick]):is(.card,.panel,.tile,.sec,.sc,.step,.job,.tour,.cx-card,.cx-panel,.st-card,.bc-card,.idc-card,.mini,.dcv-card,.dcv-box,.dcv-sec,.cc-card,.sw-bpmn,figure,blockquote,details):hover)){outline:2px solid var(--mt-hv);outline-offset:-2px}}
