
/* Scent Ecosystem visual refresh — additive layer, preserves the existing data and layout */
.fgx[data-cx-theme="light"]:not(.fgx-archive){
 --fgx-bg:#FFF9EF;--fgx-soft:#FFF0DE;--fgx-text:#29483C;--fgx-heading:#142F26;--fgx-muted:#718579;
 --fgx-line:rgba(53,107,88,.22);--fgx-accent:#356B58;--fgx-accent-rgb:53,107,88;
 --cx-glass:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,246,232,.76));
 color:var(--fgx-text);
 background:
  radial-gradient(ellipse at 92% 3%,rgba(255,190,145,.38),transparent 30%),
  radial-gradient(ellipse at 4% 22%,rgba(207,235,255,.4),transparent 32%),
  linear-gradient(160deg,#FFF9EF 0%,#FFF4E5 52%,#F8EBD9 100%);
 border:1px solid rgba(255,255,255,.85);
 box-shadow:0 24px 60px rgba(63,79,61,.13),inset 0 1px 0 rgba(255,255,255,.95);
}
.fgx[data-cx-theme="dark"]:not(.fgx-archive){
 --fgx-bg:#101A17;--fgx-soft:#172923;--fgx-text:#D7E9DE;--fgx-heading:#F3F4E9;--fgx-muted:#9BB6A7;
 --fgx-line:rgba(117,180,148,.22);--fgx-accent:#00D084;--fgx-accent-rgb:0,208,132;
 --cx-glass:linear-gradient(145deg,rgba(26,48,40,.92),rgba(8,20,17,.88));
 color:var(--fgx-text);
 background:
  radial-gradient(ellipse at 90% 0%,rgba(0,208,132,.13),transparent 31%),
  radial-gradient(ellipse at 5% 35%,rgba(255,168,0,.07),transparent 28%),
  linear-gradient(160deg,#0F1714 0%,#0B1512 55%,#07100E 100%);
 border:1px solid rgba(103,171,135,.25);
 box-shadow:0 28px 70px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.035);
}
/* Shared dimensional panels */
.fgx:not(.fgx-archive) .fgx-card,
.fgx:not(.fgx-archive) .fgx-block,
.fgx:not(.fgx-archive) .fgx-en{
 position:relative;isolation:isolate;overflow:hidden;
 border-radius:24px;
 transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-card,
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-block,
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-en{
 background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,246,232,.82));
 border-color:rgba(120,151,137,.28);
 box-shadow:0 12px 28px rgba(54,81,65,.10),0 2px 5px rgba(54,81,65,.06),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.65);
}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-card,
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-block,
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-en{
 background:linear-gradient(145deg,rgba(25,45,37,.96),rgba(9,21,17,.94));
 border-color:rgba(91,161,125,.25);
 box-shadow:0 16px 34px rgba(0,0,0,.24),inset 0 1px 0 rgba(220,255,230,.07),inset 0 -1px 0 rgba(0,0,0,.25);
}
.fgx:not(.fgx-archive) .fgx-card::before,
.fgx:not(.fgx-archive) .fgx-block::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
 background:radial-gradient(ellipse at 12% 0%,rgba(var(--fgx-accent-rgb),.10),transparent 42%);
}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-card:hover,
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-block:hover{
 transform:translateY(-3px);box-shadow:0 20px 42px rgba(54,81,65,.15),inset 0 1px 0 #fff;
}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-card:hover,
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-block:hover{
 transform:translateY(-3px);border-color:rgba(0,208,132,.42);box-shadow:0 20px 42px rgba(0,0,0,.34),0 0 26px rgba(0,208,132,.07),inset 0 1px 0 rgba(220,255,230,.1);
}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-h{color:#17372B}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-h{color:#F1F4E8}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-h::before{background:linear-gradient(180deg,#356B58,#FFBE91)}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-h::before{background:linear-gradient(180deg,#00D084,#FFB000);box-shadow:0 0 14px rgba(0,208,132,.3)}
/* Header and spec tiles */
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-brand__link,
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-spec{background:linear-gradient(145deg,#fff,#FFF0DE);border-color:rgba(53,107,88,.2);box-shadow:0 8px 20px rgba(53,107,88,.08),inset 0 1px 0 #fff}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-brand__link,
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-spec{background:linear-gradient(145deg,#1B3028,#101C17);border-color:rgba(0,208,132,.2);box-shadow:0 8px 22px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.05)}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-brand__mark{background:radial-gradient(circle at 30% 20%,#fff,#E7F0E8);color:#356B58}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-brand__mark{background:radial-gradient(circle at 30% 20%,#284C3C,#0B1712);color:#00D084;box-shadow:0 0 20px rgba(0,208,132,.16)}
/* Orbit system: botanical observatory instead of the bottle illustration */
.fgx:not(.fgx-archive) .fgx-orbit-card{--fgx-section-color:#D5A64A;--cx-rgb:213,166,74}
.fgx:not(.fgx-archive) .fgx-orbit{
 max-width:620px;overflow:hidden;border-radius:50%;
 background-image:url("../images/scent-orbit-garden.svg");
 background-size:cover;background-position:center;
 box-shadow:inset 0 0 80px rgba(0,0,0,.08);
}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-orbit{
 background:#E9F0E5 url("../images/scent-orbit-garden.svg") center/cover no-repeat;
 box-shadow:inset 0 0 0 1px rgba(53,107,88,.14),inset 0 0 70px rgba(255,255,255,.48),0 16px 32px rgba(53,107,88,.10);
}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-orbit{
 background:#081713 url("../images/scent-orbit-garden.svg") center/cover no-repeat;
 box-shadow:inset 0 0 0 1px rgba(0,208,132,.22),inset 0 0 80px rgba(0,0,0,.48),0 0 38px rgba(0,208,132,.08);
}
.fgx:not(.fgx-archive) .fgx-orbit__core{display:none!important}
.fgx:not(.fgx-archive) .fgx-orbit::before{
 width:88%;height:88%;margin:-44% 0 0 -44%;
 border:1px solid rgba(218,185,112,.44);
 background:conic-gradient(from 25deg,transparent 0 68%,rgba(0,208,132,.18) 82%,transparent 100%);
 box-shadow:0 0 35px rgba(0,208,132,.08),inset 0 0 35px rgba(255,255,255,.06);
}
.fgx:not(.fgx-archive) .fgx-orbit::after{
 width:13%;height:13%;margin:-6.5% 0 0 -6.5%;
 background:radial-gradient(circle,#FFF0B7 0%,rgba(244,196,48,.38) 20%,rgba(0,208,132,.14) 48%,transparent 72%);
 filter:blur(1px);animation:cx-pulse 4s ease-in-out infinite;
}
.fgx:not(.fgx-archive) .fgx-orbit__ring{border-style:solid;border-color:color-mix(in srgb,var(--c) 42%,transparent);box-shadow:0 0 18px color-mix(in srgb,var(--c) 12%,transparent),inset 0 0 12px color-mix(in srgb,var(--c) 8%,transparent)}
.fgx:not(.fgx-archive) .fgx-orbit__ring--base{--c:#00D084}
.fgx:not(.fgx-archive) .fgx-orbit__ring--heart{--c:#78BDA4}
.fgx:not(.fgx-archive) .fgx-orbit__ring--top{--c:#F4C430}
.fgx:not(.fgx-archive) .fgx-orbit__ring--other{--c:#FFB36B}
.fgx:not(.fgx-archive) .fgx-orbit__orb{
 position:relative;border:1px solid rgba(255,255,255,.7);
 background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.9),rgba(255,255,255,.2) 20%,color-mix(in srgb,var(--c) 58%,#10251D) 58%,#07130F 100%);
 box-shadow:0 8px 18px rgba(0,0,0,.22),inset 0 2px 5px rgba(255,255,255,.75),inset 0 -8px 14px rgba(0,0,0,.28),0 0 18px color-mix(in srgb,var(--c) 35%,transparent);
 transform:translateZ(0);
}
.fgx:not(.fgx-archive) .fgx-orbit__orb::after{content:"";position:absolute;inset:7% 13% 48%;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.55),transparent);filter:blur(2px);pointer-events:none}
.fgx:not(.fgx-archive) .fgx-orbit__orb img{position:relative;z-index:1;filter:drop-shadow(0 3px 4px rgba(0,0,0,.22))}
.fgx:not(.fgx-archive) .fgx-orbit__name{border:1px solid rgba(220,190,120,.35);backdrop-filter:blur(8px);text-shadow:none}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-orbit__name{background:rgba(255,249,239,.86);color:#234638;box-shadow:0 4px 12px rgba(45,76,58,.12)}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-orbit__name{background:rgba(5,18,14,.82);color:#E9F4E9;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-orbit__legend{color:#38564A}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-orbit__lg{color:#38564A}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-orbit__lg{color:#D7E9DE}
/* Color-coded sections use the two supplied palettes */
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-spec__icon{background:linear-gradient(145deg,#fff,#E8F0E9);color:#356B58;box-shadow:0 4px 10px rgba(53,107,88,.12)}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-spec__icon{background:linear-gradient(145deg,#234738,#0D1D16);color:#00D084;box-shadow:0 0 14px rgba(0,208,132,.12)}
.fgx[data-cx-theme="light"]:not(.fgx-archive) .fgx-val{background:rgba(255,255,255,.72);border-color:rgba(53,107,88,.16);color:#234638}
.fgx[data-cx-theme="dark"]:not(.fgx-archive) .fgx-val{background:rgba(3,17,13,.4);border-color:rgba(0,208,132,.18);color:#E4F3E9}
@media (prefers-reduced-motion:reduce){
 .fgx:not(.fgx-archive) .fgx-card,.fgx:not(.fgx-archive) .fgx-block,.fgx:not(.fgx-archive) .fgx-en{transition:none}
 .fgx:not(.fgx-archive) .fgx-orbit__ring,.fgx:not(.fgx-archive) .fgx-orbit__in,.fgx:not(.fgx-archive) .fgx-orbit::before,.fgx:not(.fgx-archive) .fgx-orbit::after{animation:none!important}
}
