/* Stage 5.8.33 R9: first-paint ICC background studio, owned by Branding.
   Style values are an explicit server/client allowlist, never CSS from CMS.
   Legacy website background remains untouched while style = original. */
html { --icc-bg-default: #7b8c7e; --icc-bg-tint-layer: none; }
html[data-icc-background-style="original"] { background-color: var(--icc-bg-color,var(--icc-bg-default)); }
html[data-icc-background-style="original"] body { --page-bg: var(--icc-bg-color,var(--icc-bg-default)); }

:is(html[data-icc-background-style="emerald"],[data-icc-bg-preview="emerald"]){
  --icc-design-base:#245b45;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92' viewBox='0 0 92 92'%3E%3Cg fill='none' stroke='%23f3e7c9' opacity='.055' stroke-width='.6'%3E%3Cpath d='M46 4 58 29 86 18 75 46 86 74 58 63 46 88 34 63 6 74 17 46 6 18 34 29Z'/%3E%3Ccircle cx='46' cy='46' r='20'/%3E%3Cpath d='M0 46h92M46 0v92'/%3E%3C/g%3E%3C/svg%3E"),radial-gradient(circle at 12% 21%,rgba(255,255,255,.08),transparent 24%),radial-gradient(circle at 88% 18%,rgba(223,199,139,.12),transparent 30%),radial-gradient(circle at 88% 90%,rgba(7,43,27,.38),transparent 42%),linear-gradient(145deg,#347257,#245b45 52%,#193f31);
  --icc-design-size:92px 92px,cover,cover,cover,cover;
}
:is(html[data-icc-background-style="carpet"],[data-icc-bg-preview="carpet"]){
  --icc-design-base:#067d91;
  --icc-design-image:url('/assets/icc-mosque-carpet.svg');
  --icc-design-size:1440px 1200px;
}
:is(html[data-icc-background-style="ivory"],[data-icc-bg-preview="ivory"]){
  --icc-design-base:#e9dac0;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%237c6546' opacity='.18' stroke-width='1.4'%3E%3Cpath d='M60 5 80 40 115 60 80 80 60 115 40 80 5 60 40 40Z'/%3E%3Cpath d='M60 28 92 60 60 92 28 60Z'/%3E%3Ccircle cx='60' cy='60' r='13'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(135deg,#f9f1df,#e9dac0 65%,#cdb998);
  --icc-design-size:120px 120px,cover;
}
:is(html[data-icc-background-style="midnight"],[data-icc-bg-preview="midnight"]){
  --icc-design-base:#10294b;
  --icc-design-image:url('/assets/icc-midnight-domes.svg'),radial-gradient(circle at 72% 20%,rgba(255,222,149,.36),transparent 12%),radial-gradient(ellipse at 25% 110%,rgba(42,100,148,.48),transparent 62%),linear-gradient(145deg,#061324,#10294b 57%,#193a60);
  --icc-design-size:cover;
}
:is(html[data-icc-background-style="copper"],[data-icc-bg-preview="copper"]){
  --icc-design-base:#b8603f;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='220'%3E%3Cpath d='M10 220V105Q10 12 80 12Q150 12 150 105V220M30 220V109Q30 44 80 44Q130 44 130 109V220' stroke='%23ffddad' opacity='.3' fill='none' stroke-width='2'/%3E%3C/svg%3E"),radial-gradient(circle at 90% 12%,rgba(255,238,186,.6),transparent 40%),linear-gradient(125deg,#a04c32,#c9784c 48%,#e3a873);
  --icc-design-size:160px 220px,cover,cover;
}
:is(html[data-icc-background-style="andalusian"],[data-icc-bg-preview="andalusian"]){
  --icc-design-base:#0a5570;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130'%3E%3Cg stroke='%23c3dfc8' opacity='.38' fill='none' stroke-width='3'%3E%3Cpath d='M65 5 84 46 125 65 84 84 65 125 46 84 5 65 46 46Z'/%3E%3Cpath d='M65 28 102 65 65 102 28 65Z'/%3E%3Ccircle cx='65' cy='65' r='13'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(120deg,#05314e,#0a5570 60%,#168b9a);
  --icc-design-size:130px 130px,cover;
}
:is(html[data-icc-background-style="olive"],[data-icc-bg-preview="olive"]){
  --icc-design-base:#617a55;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%23e5e5c9' opacity='.35' stroke-width='1.6'%3E%3Cpath d='M38 236Q160 120 186 0M85 194Q25 150 18 95Q76 103 85 194M114 150Q182 165 227 113Q164 96 114 150M158 84Q105 60 96 11Q150 15 158 84'/%3E%3C/g%3E%3C/svg%3E"),radial-gradient(ellipse at 82% 14%,rgba(244,243,186,.3),transparent 44%),linear-gradient(145deg,#4d6446,#73886a 55%,#344b3c);
  --icc-design-size:240px 240px,cover,cover;
}
:is(html[data-icc-background-style="burgundy"],[data-icc-bg-preview="burgundy"]){
  --icc-design-base:#702b43;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%23edc48e' opacity='.25' stroke-width='1.3'%3E%3Cpath d='M90 2C90 40 40 40 40 90S90 140 90 178M90 2C90 40 140 40 140 90S90 140 90 178M2 90C40 90 40 40 90 40S140 90 178 90M2 90C40 90 40 140 90 140S140 90 178 90'/%3E%3Ccircle cx='90' cy='90' r='29'/%3E%3Cpath d='M90 66 110 90 90 114 70 90Z'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(138deg,#401b2b,#702b43 57%,#8c3d45);
  --icc-design-size:180px 180px,cover;
}
:is(html[data-icc-background-style="dawn"],[data-icc-bg-preview="dawn"]){
  --icc-design-base:#d5adad;
  --icc-design-image:url('/assets/icc-dawn-minarets.svg'),radial-gradient(circle at 76% 32%,rgba(255,236,186,.82),transparent 15%),linear-gradient(180deg,#8c7da0,#d5adad 46%,#f2ceb0 79%,#dec19f);
  --icc-design-size:cover;
}
:is(html[data-icc-background-style="celestial"],[data-icc-bg-preview="celestial"]){
  --icc-design-base:#27353c;
  --icc-design-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cg fill='none' stroke='%23d6b87b' opacity='.49' stroke-width='.9'%3E%3Cpath d='M85 3 106 64 167 85 106 106 85 167 64 106 3 85 64 64Z'/%3E%3Ccircle cx='85' cy='85' r='30'/%3E%3Ccircle cx='85' cy='85' r='12'/%3E%3Cpath d='M3 3 167 167M167 3 3 167' stroke-width='.35'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(120deg,#161d22,#27353c 55%,#101921);
  --icc-design-size:170px 170px,cover;
}
/* One root canvas for the published design: the ordinary body must never
   expose an unrelated default layer behind the artwork. No fixed attachment,
   color blend or body-sized multi-gradient layer on scroll. This lets the
   browser reuse static root canvas painting rather than repaint a full-page
   fixed body background on every scroll frame. */
html[data-icc-background-style]:not([data-icc-background-style="original"]){
  background-color:var(--icc-design-base);
  background-image:var(--icc-bg-tint-layer),var(--icc-design-image);
  background-size:cover,var(--icc-design-size,cover);
  background-repeat:no-repeat,repeat;
  background-attachment:scroll;
}
html[data-icc-background-style]:not([data-icc-background-style="original"]) body{
  background:transparent;
}
/* Admin preview uses the same artwork without changing the published site. */
.icc-bg-art{background-color:var(--icc-design-base,#7b8c7e);background-image:var(--icc-bg-tint-layer),var(--icc-design-image,none);background-size:cover,var(--icc-design-size,cover);background-repeat:no-repeat,repeat}
.icc-bg-art[data-icc-bg-preview="original"]{background-color:var(--icc-bg-color,#7b8c7e);background-image:none}
.icc-bg-swatch{--icc-bg-tint-layer:linear-gradient(transparent,transparent)}
.icc-bg-swatch[data-icc-bg-preview="carpet"]{background-size:cover,100% 100%;}
