/* FEBRY.OPS V398 — Unified Carbon Lime Premium surfaces.
   Purely presentational. Avoids imagery, logos, canvas, status controls, and inputs.
   Foreground colors have been audited separately at the source CSS declaration level.
*/
:root{
  --fo-surface-glow: radial-gradient(120% 100% at 0% 0%,rgba(182,255,64,.135) 0%,rgba(182,255,64,.042) 34%,transparent 62%);
  --fo-surface-rim: radial-gradient(105% 95% at 100% 0%,rgba(110,173,60,.125),transparent 57%);
  --fo-surface-base: linear-gradient(155deg,#142017 0%,#101912 50%,#090D0B 100%);
}
/* Cards and panels: gradient is deliberately clear but remains a flat, lightweight CSS effect. */
body :is(
 .cl-product,.cl-feature,.fa-product-card,.fa-panel,.fa-apps-tile,
 .ms-tier-card,.ms-ui-showcase,.ms-buy-summary,.ms-buy-form,.ms-buy-choice,
 .ms-credit-benefits,.ms-global-time-info,.ms-info-accordion,.ms-feature-grid article,
 .group,.package,.addon-card,.notice,.privacy-promise,.project-flow,
 .ws308-info-card,.ws308-type-card,.ws309-benefit-group,
 .card,.side-card,.sidebar-card,.panel,.feature,.login-card,
 .brand-card,.v81-panel,.cl-panel,.cl-hero-note,.ms-info-shell
 ){
  background-image:var(--fo-surface-glow),var(--fo-surface-rim),var(--fo-surface-base)!important;
}
/* Featured cards get an understated stronger top-right highlight. */
body :is(.ms-tier-card.featured,.cl-product.featured,.package.featured,.fa-product-card.featured){
  background-image:
    radial-gradient(120% 100% at 100% 0%,rgba(182,255,64,.18),transparent 50%),
    radial-gradient(110% 90% at 0% 0%,rgba(182,255,64,.095),transparent 54%),
    linear-gradient(155deg,#16241a,#090D0B)!important;
}
/* Preserve the MS-Chat APP card's dedicated border treatment. */
body.fa-page[data-fa-route="apps"] .fa-apps-tile{
  background:
    radial-gradient(120% 100% at 0% 0%,rgba(182,255,64,.13),transparent 58%) padding-box,
    linear-gradient(145deg,#101b13,#090D0B) padding-box,
    linear-gradient(125deg,#B6FF40,#4A732B 60%,#A7DE44) border-box!important;
}
/* Product-preview display uses its own stage and image backgrounds. */
body.cl-ms #loginView .ms-ui-showcase{
 background-image:
   radial-gradient(100% 100% at 0% 0%,rgba(182,255,64,.13),transparent 53%),
   radial-gradient(90% 90% at 100% 0%,rgba(110,173,60,.09),transparent 54%),
   linear-gradient(150deg,#122017,#090D0B)!important;
}
body.cl-ms #informationView #msPricingTrack>.ms-tier-card,
body.cl-ms #informationView #msPricingTrack>.ms-tier-card.featured{
 background-image:
   radial-gradient(105% 100% at 100% 0%,rgba(182,255,64,.15),transparent 54%),
   radial-gradient(120% 90% at 0% 0%,rgba(182,255,64,.07),transparent 55%),
   linear-gradient(145deg,#142017,#090D0B)!important;
}
/* Text tokens: aliases used by old layouts must resolve to off-white, not gray. */
body{--fo-text:#F5F9F3;--fo-ink:#090D0B;--fo-lime:#B6FF40;}
/* Common descriptions and metadata: readable solid off-white; highlighted text stays lime. */
body :is(.ms-ui-bottom p,.ms-ui-current span,.ms-pricing-hint,.ms-pricing-swipe,
 .ms-tier-cycle,.ms-tier-metric small,.ms-tier-capacity small,.ms-credit-note,
 .row p,.amount small,.lead,.mini-note,.section-head p,.privacy-copy p,
 .fa-note,.fa-expiry,.fa-stat small){color:#F5F9F3!important;}
/* Preserve dark foreground on filled lime buttons and selected controls. */
/* Keep ID-specific actions separate so their specificity does not leak to
   .fa-register / .fa-toggle and block theme overrides in Light Mode. */
body :is(.fa-btn.primary,.fa-register,.fa-toggle,.fa-login.active,
 .ms-ui-devices [aria-pressed="true"],.ms-ui-tabs [aria-selected="true"]),
body :is(#msOrderSection .ms-buy-submit,#msPricingTrack .ms-buy-card-link){color:#090D0B!important;-webkit-text-fill-color:#090D0B!important;}
/* Focus remains unmistakable. */
:where(a,button,input,select,textarea,summary):focus-visible{outline-color:#B6FF40;}
@media(prefers-reduced-motion:reduce){.fa-apps-tile{transition:none!important;}}
/* Outlined display lettering uses off-white strokes rather than legacy gray. */
body.cl-pricing .outline{-webkit-text-stroke-color:#F5F9F3!important;}
/* Browser-default placeholder gray is normalized as well. */
body :is(input,textarea)::placeholder{color:#F5F9F3!important;opacity:1;}
/* Remove inherited browser body margin on legacy redirect-only pages. */
body{margin:0;}
/* Older catalog JavaScript emits one muted-green help label as an inline style. */
body [style*="color:#7d9a7d"],body [style*="color: #7d9a7d"]{color:#F5F9F3!important;}
