/* FEBRY.OPS V424 — Public Light Mode matches Invoice Studio.
   Snow #FFFFFF · Ivory #FFFAF0 · Slate #F8FAFC · border #E2E8F0 · ink #562F00.
   Dark Carbon Lime, customer media, screenshots, documents and PDF are unchanged. */
.fo-theme-switch{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:74px;min-height:34px;padding:6px 10px;flex:none;border-radius:9px;border:1px solid #43613f;background:#142017;color:#B6FF40;font:700 11px/1.1 system-ui,-apple-system,'Segoe UI',sans-serif;white-space:nowrap;cursor:pointer;z-index:100;transition:background-color .16s,border-color .16s}
.fo-theme-switch:hover{border-color:#B6FF40;background:#1b2b1e}
.fo-theme-switch:focus-visible{outline:2px solid #B6FF40;outline-offset:3px}
.fo-theme-icon{font-size:16px;line-height:1}.fo-theme-label{letter-spacing:.015em}
.fo-theme-floating{position:fixed;right:12px;top:74px;box-shadow:0 8px 22px #0003;z-index:2000}
.fo-public-actions .fo-theme-switch,.febry-services-actions .fo-theme-switch{order:-1}
@media(max-width:650px){.fo-theme-switch{min-width:34px;width:35px;min-height:35px;padding:7px;gap:0}.fo-theme-label{display:none}.fo-theme-floating{top:auto;bottom:76px;right:12px}}

/* Browser content theme is explicitly selected by the user, NOT by OS or browser. */
:root[data-fo-theme="light"]{
 color-scheme:light!important;
 --fo-snow:#FFFFFF;--fo-ivory:#FFFAF0;--fo-slate:#F8FAFC;--fo-border:#E2E8F0;--fo-barrel:#562F00;
 --fo-cream-glow:linear-gradient(145deg,#FFFFFF 0%,#FFFAF0 100%);
 --fo-inner-gradient:linear-gradient(155deg,#FFFFFF 0%,#FFFAF0 100%);
 --fo-border:#E2E8F0;
 --cl-carbon:#FFFFFF;--cl-forest:#FFFAF0;--cl-ivory:#562F00;--cl-border:#E2E8F0;--cl-muted:#562F00;
 --bg:#FFFFFF;--panel:#FFFAF0;--panel2:#FFFFFF;--fg:#562F00;--text:#562F00;--muted:#562F00;--line:#E2E8F0;
 --febry-bg:#FFFFFF;--febry-panel:#FFFAF0;--febry-line:#E2E8F0;--febry-text:#562F00;--febry-muted:#562F00;
 --fo-surface-glow:linear-gradient(150deg,#FFFFFF,#FFFAF0);
 --fo-surface-rim:none;
 --fo-surface-base:linear-gradient(160deg,#FFFFFF,#FFFAF0);
 background:#FFFFFF!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body,
:root[data-fo-theme="light"] body.cl-page,
:root[data-fo-theme="light"] body.fa-page{
 background:#FFFFFF!important;color:#562F00!important;color-scheme:light!important;
}
:root[data-fo-theme="light"] body *{color-scheme:light}
/* The light-mode text color must win over old inline gradients and -webkit-text-fill.
   Do NOT use this selector in dark mode; existing Carbon Lime style stays untouched. */
:root[data-fo-theme="light"] body :is(h1,h2,h3,h4,h5,h6,p,span,small,strong,b,em,i,label,a,button,input,textarea,select,option,legend,summary,li,dt,dd,th,td,output,time,code,blockquote,figcaption){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;text-shadow:none!important;
}
:root[data-fo-theme="light"] body :is(input,textarea,select,button){accent-color:#562F00;caret-color:#562F00}
:root[data-fo-theme="light"] body :is(input,textarea)::placeholder{color:#562F00!important;opacity:.7}
:root[data-fo-theme="light"] body :is(input,textarea,select,option){background:#FFFFFF!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(button,.btn,.fa-btn,.cl-btn,.fo-theme-switch,.fa-toggle,.fa-register){
 background:linear-gradient(160deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body :is(.btn-main,.primary,.fa-register,.fa-toggle,.cl-button-primary,.cl-btn.primary,.fa-btn.primary,.cl-cta-primary){
 background:#FFFAF0!important;border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body :is(button,a,input,textarea,select):focus-visible{outline:2px solid #562F00!important;outline-offset:2px}
:root[data-fo-theme="light"] body :is(hr,.divider,.section-divider){border-color:#E2E8F0!important;background-color:#FFFAF0!important}
/* All visible borders in the light UI use Butterscotch, including pseudo frames. */
:root[data-fo-theme="light"] body :is(header,footer,nav,main,section,article,aside,div,form,fieldset,table,th,td,button,a,input,select,textarea,details,summary){border-color:#E2E8F0!important}
/* Shared site backgrounds; avoid coloring layout-only wrappers. */
:root[data-fo-theme="light"] body :is(.cl-nav,.fa-top,.febry-services-header,.topbar,.fo-public-header,.fo-home-rail,.site-header,.nav,.fa-footer,.cl-footer,.site-footer){
 background:#FFFFFF!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] 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,.fa-stat,.fa-app-tool-tile,.ms-price-grid article,.ms-price-grid .package,.ms-plan-compare,.ms-usage-compare,.ms-usage-card,.ms-usage-stat,.ms-quota-note,.ms-usage-head,.ms-public-info .platform-card,.ms-info-only-note,.cl-showcase,.cl-show-window,.cl-show-bubble,.cl-show-result,.cl-show-footer,.cl-show-top,.cl-show-stats>div,.cl-show-metric,.fa-guarantee,.fa-gate,.fa-frame .fa-note,.fa-account .fa-panel,.ms-feature-grid>article,.ms-plan-table th,.login-hero-points>div){
 background:linear-gradient(150deg,#FFFFFF 0%,#FFFAF0 100%)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
/* Do not let the old dark gradient or a transparent text mask erase content. */
:root[data-fo-theme="light"] body :is(.cl-hero,.cl-section,.cl-home-main,.cl-service-section,.cl-hero-copy,.cl-cta,.cl-products,.fa-section,.ms-public-info,.ms-price-head,.ms-how,.ms-info-toolbar,.login-wrap,.ms-info-shell,.ms-platform-roadmap){
 background-color:transparent!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-home #clHome{
 background:#FFFFFF!important;background-image:none!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-home #clHome::before{opacity:0!important}
:root[data-fo-theme="light"] body.cl-home :is(.cl-hero,.cl-section,.cl-container,.cl-products,.cl-section-head){background:transparent!important;color:#562F00!important}
:root[data-fo-theme="light"] body.cl-home :is(.cl-showcase,.cl-showcase>div,.cl-showcase .cl-show-window,.cl-showcase .cl-show-bubble,.cl-showcase .cl-show-result,.cl-showcase .cl-show-top,.cl-showcase .cl-show-footer){
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-home :is(.cl-showcase,.cl-showcase *){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root[data-fo-theme="light"] body.cl-ms #loginView :is(.login-hero-copy,.login-hero-points>div,.cl-ms-benefits){
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-ms :is(.ms-ui-showcase,.ms-ui-gallery,.ms-info-update,.ms-global-time-info,.ms-tier-availability,.ms-price-grid article,.ms-plan-compare,.ms-usage-compare,.ms-usage-card,.ms-usage-stat,.ms-feature-grid article,.ms-public-info .platform-card,.ms-plan-table th,.ms-plan-table td){
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-ms :is(.ms-price-grid article,.ms-plan-compare,.ms-usage-compare,.ms-usage-card,.ms-usage-stat,.ms-feature-grid article,.platform-card,.ms-global-time-info) :is(h2,h3,h4,span,p,small,b,strong,li,td,th){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root[data-fo-theme="light"] body.cl-ms :is(.ms-ui-heading,.ms-price-head,.ms-public-info,.ms-how,.ms-usage-head){background-color:transparent!important;color:#562F00!important}
:root[data-fo-theme="light"] body.cl-services :is(.hero,.hero>*:not(img),.febry-services-cta,.ws308-info-card,.ws308-type-card){border-color:#E2E8F0!important;color:#562F00!important}
/* Strongly isolate the apps directory from hardcoded neon and dark marketing cards. */
:root[data-fo-theme="light"] body.fa-page[data-fa-route="apps"] .fa-apps-tile{
 background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;border:1px solid #E2E8F0!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.fa-page[data-fa-route="apps"] :is(.fa-unified-wordmark,.fa-unified-soon){
 background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.fa-page[data-fa-route="apps"] :is(.fa-unified-copy strong,.fa-unified-copy small,.fa-unified-soon){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root[data-fo-theme="light"] body.fa-page :is(.fa-guarantee,.fa-panel-link,.fa-stat,.fa-settings,.fa-setting select,.fa-login,.fa-note,.fa-section .fa-cta-row a,.fa-intro .fa-cta-row a){background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;color:#562F00!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(.fa-panel,.fo-directory-v416,.fa-footer,.cl-footer){border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(.fo-directory-v416 a,.fo-directory-v416 span,.fo-public-actions a,.fa-links a){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
/* Pricing & supporting information surfaces. */
:root[data-fo-theme="light"] body.cl-pricing :is(.package,.card,.panel,.cl-product,.pricing-card,.price-card){background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important}
:root[data-fo-theme="light"] body :is(.shell,.main-content,.content-area,.workspace,.sidebar,.sidebar-panel,.main-panel,.drawer,.modal,.dialog,.login-wrap,.login-card,.ms-content,.ms-sidebar,.ms-panel){color:#562F00!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(.sidebar,.drawer,.modal,.dialog,.login-card,.ms-sidebar,.ms-panel){background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important}
/* Accessible hover / active / disabled states keep to the same 3 colors. */
:root[data-fo-theme="light"] body :is(a,button):hover:not(:disabled){color:#562F00!important}
:root[data-fo-theme="light"] body :is(button,.btn,.fa-btn,.cl-btn):hover:not(:disabled){background:#FFFAF0!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(button,.btn,.fa-btn,.cl-btn)[disabled]{opacity:.5!important}
:root[data-fo-theme="light"] body :is(.fo-theme-switch,.fo-theme-floating){background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;box-shadow:none!important;color:#562F00!important}
:root[data-fo-theme="light"] body :is(.fo-theme-switch span,.fo-theme-switch .fo-theme-icon){color:#562F00!important}
/* Gradients and overlays are palette-only; visual status photos and uploaded artwork stay untouched. */
@media(max-width:650px){:root[data-fo-theme="light"] .fo-theme-floating{box-shadow:none}}

/* High-specificity branding corrections discovered by offline computed-style QA.
   Earlier marketing selectors used ID specificity and were winning over the
   generic light palette (e.g. #clHeroTitle em, #msProductPreview). */
:root:root[data-fo-theme="light"] body.cl-home #clHeroTitle em,
:root:root[data-fo-theme="light"] body.cl-home #clHome .cl-hero h1 em,
:root:root[data-fo-theme="light"] body.cl-home #clHome :is(.cl-eyebrow,.cl-feature-num,.cl-product-tag),
:root:root[data-fo-theme="light"] body.cl-ms #loginView :is(.ms-ui-eyebrow,.ms-global-time-eyebrow,.ms-info-kicker),
:root:root[data-fo-theme="light"] body.cl-ms #informationView :is(.ms-info-kicker,.platform-date,.ms-global-time-chip){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;text-shadow:none!important;
}
:root:root[data-fo-theme="light"] body.cl-home #clHome :is(.cl-owner-intro,.cl-owner-feature,.cl-guarantee-card,.cl-work a,.cl-cta,.cl-show-window,.cl-show-result>div,.cl-show-pips i){
 background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root:root[data-fo-theme="light"] body.cl-home #clHome :is(.cl-owner-intro,.cl-owner-feature,.cl-guarantee-card,.cl-show-result>div) :is(b,strong,span,small,p){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}
:root:root[data-fo-theme="light"] body.cl-ms #loginView .cl-ms-owner,
:root:root[data-fo-theme="light"] body.cl-ms #msProductPreview :is(.ms-ui-showcase,.ms-ui-stage,.ms-ui-stage-mobile,.ms-ui-devices,.ms-ui-dialog,.ms-ui-tabs button),
:root:root[data-fo-theme="light"] body.cl-ms #informationView :is(.ms-info-update,.ms-public-info .platform-card,.ms-global-time-info,.ms-plan-compare,.ms-usage-compare,.ms-price-grid article){
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;box-shadow:none!important;color:#562F00!important;
}
:root:root[data-fo-theme="light"] body.cl-ms #msProductPreview :is(.ms-ui-browse-head,.ms-ui-bottom,.ms-ui-stage,.ms-ui-footer,.ms-ui-current,.ms-ui-tabs,.ms-ui-actions){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root:root[data-fo-theme="light"] body.cl-ms #msProductPreview :is(.ms-ui-browse-head strong,.ms-ui-browse-head span,.ms-ui-bottom p){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root:root[data-fo-theme="light"] body.cl-ms #msProductPreview .ms-ui-stage{box-shadow:none!important}
/* Consistent links and accent buttons, including heritage selectors with IDs. */
:root:root[data-fo-theme="light"] body :is(.cl-button-primary,.cl-button-ghost,.cl-button,.fa-apps-open,.cl-nav .cl-nav-links a,.fa-top a,.fo-home-utility,.ms-ui-devices button){background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root:root[data-fo-theme="light"] body.cl-ms #loginView :is(.btn,.button,.cl-btn),
:root:root[data-fo-theme="light"] body.cl-ms #msProductPreview .ms-ui-devices button{background:#FFFAF0!important;color:#562F00!important;-webkit-text-fill-color:#562F00!important;border-color:#E2E8F0!important}
/* Product screenshot pixels and original uploaded images are intentionally outside
   CSS theme control; the document-canvas remains white for accurate PDF export. */
/* Price blocks and legacy text-only DIVs do not inherit from span/h1 rules. */
:root:root[data-fo-theme="light"] body :is(div,section,article,aside,header,footer,nav,main,details,summary,form,fieldset,table,tbody,tr){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root:root[data-fo-theme="light"] body.cl-ms #loginView .eyebrow,
:root:root[data-fo-theme="light"] body.cl-ms #loginView .login-hero-copy .eyebrow,
:root:root[data-fo-theme="light"] body.cl-ms #informationView :is(.ms-global-time-eyebrow,.ms-info-kicker,.ms-global-time-chip){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root:root[data-fo-theme="light"] body.cl-ms .topbar .fa-guest .fa-login,
:root:root[data-fo-theme="light"] body.cl-ms .topbar .fa-guest .fa-register,
:root:root[data-fo-theme="light"] body.cl-home .cl-nav .fa-guest .fa-login,
:root:root[data-fo-theme="light"] body.fa-page .fa-top .fa-guest .fa-login{
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;color:#562F00!important;-webkit-text-fill-color:#562F00!important;border-color:#E2E8F0!important;
}
/* Final palette sweep: handle high-specificity legacy states and authentication. */
:root:root[data-fo-theme="light"] body :is(.fa-register,.fa-login,.fa-auth .fa-btn.primary,.cl-product-media--network,.fa-auth,.fa-auth-card,.fa-auth-form,.fa-auth-panel,.fa-auth-header){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;border-color:#E2E8F0!important;
}
:root:root[data-fo-theme="light"] body :is(.fa-auth,.fa-auth-card,.fa-auth-form,.fa-auth-panel,.cl-product-media--network){
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;
}
:root:root[data-fo-theme="light"] body.cl-pricing :is(.old,.drawer-arrow,.brand,.febry-brand-logo,.btn,.cta a,main a){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}
:root:root[data-fo-theme="light"] body.cl-pricing :is(main a,.cta a){background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important}
:root:root[data-fo-theme="light"] body.cl-ms #msProductPreview .ms-ui-devices button{
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;background:#FFFAF0!important;
}
:root:root[data-fo-theme="light"] body.cl-home .fa-register,
:root:root[data-fo-theme="light"] body.cl-ms .fa-register,
:root:root[data-fo-theme="light"] body.fa-page .fa-register,
:root:root[data-fo-theme="light"] body.fa-page #faLoginSubmit{
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}

/* V418 / COLOR SYSTEM COMPLETION
   Single palette, all public index surfaces. This stylesheet replaces v417,
   rather than adding a second independent theme file. No UI rule applies
   without [data-fo-theme="light"]. Customer media / invoice paper excluded. */
:root[data-fo-theme="light"] {
 --fo-ui-bg:#FFFFFF;--fo-ui-surface:#FFFAF0;--fo-ui-ink:#562F00;
 --fo-ui-tint:linear-gradient(145deg,#FFFFFF 0%,#FFFAF0 100%);
 /* User-selected theme stays independent of prefers-color-scheme. */
}
:root[data-fo-theme="light"] body{background:#FFFFFF!important;background-image:none!important;color:#562F00!important}
:root[data-fo-theme="light"] body :is(.cl-footer,.fa-footer,.foot,footer){color:#562F00!important;border-color:#E2E8F0!important}
/* Links and top-level controls always remain legible, including inline fill masks. */
:root[data-fo-theme="light"] body :is(button,a,input,textarea,select,option,summary,details,th,td,li,small,strong,span,b,i,label,em,p,h1,h2,h3,h4,h5,h6){color:#562F00!important;-webkit-text-fill-color:#562F00!important;text-shadow:none!important}
:root[data-fo-theme="light"] body :is(button,.btn,.cl-button,.btn-primary,.fa-btn,.cl-btn,.febry-services-cta,.fab-button,.fab, .btn-ghost){
 background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;background-color:#FFFAF0!important;
 border-color:#E2E8F0!important;color:#562F00!important;-webkit-text-fill-color:#562F00!important;
 box-shadow:none!important;
}
:root[data-fo-theme="light"] body :is(button,a,[role="button"],input,textarea,select):focus-visible{outline:2px solid #562F00!important;outline-offset:2px}
:root[data-fo-theme="light"] body :is(input,textarea,select,option){background:#FFFFFF!important;color:#562F00!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(.cl-floating-top,.back-to-top,.scroll-to-top,.cl-scroll-top,.fab){background:#FFFAF0!important;color:#562F00!important;border-color:#E2E8F0!important}
/* Brand/logo in Light Mode: real dark logo silhouette (no neon glow) on
   bordered butterscotch capsule. Dark Mode retains the original bitmap. */
:root[data-fo-theme="light"] body :is(.febry-brand-logo,.febry-global-brand,.drawer-brand-wrap .febry-brand-logo){
 display:inline-flex;align-items:center;justify-content:center;min-width:0;
 padding:4px 9px!important;border:1px solid #E2E8F0!important;
 border-radius:12px!important;background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;
 filter:none!important;box-shadow:none!important;text-shadow:none!important;
}
:root[data-fo-theme="light"] body img.febry-site-logo{
 content:url('/assets/febryops-logo-barrel-v418.webp')!important;
 filter:none!important;-webkit-filter:none!important;
 box-shadow:none!important;opacity:1!important;
}
:root[data-fo-theme="light"] body :is(.cl-brand,.cl-brand img,.logo,.logo img){text-shadow:none!important;filter:none!important;box-shadow:none!important}
/* Header, drawers, footers do not carry leftover black panels. */
:root[data-fo-theme="light"] body :is(.cl-nav,.fa-top,.topbar,.febry-services-header,.febry-services-mobile-panel,.febry-services-mobile-head,.nav,.drawer,.site-header,.mobile-menu,.cl-footer,.fa-footer,.site-footer,.foot){
 background:#FFFFFF!important;background-image:none!important;border-color:#E2E8F0!important;box-shadow:none!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body :is(.febry-services-menu-btn span,.cl-mobile-menu span,.hamburger span){background:#562F00!important}
/* Common marketing panels, notices, sidebars, outlines, and utilities. */
:root[data-fo-theme="light"] body :is(.cl-showcase,.cl-show-window,.cl-show-bubble,.cl-show-result>div,.cl-work a,.cl-cta,.cl-owner-feature,.cl-owner-intro,.cl-guarantee-card,.cl-product,.cl-feature,.fa-panel,.fa-apps-tile,.fa-app-tool-tile,.fa-guarantee,.fa-settings,.fa-account,.fa-auth-card,.fa-stat,.fa-gate,.fa-note,.ms-v298-demo,.ms-benefit-row,.ms-global-time-info,.ms-usage-head,.ms-usage-card,.ms-usage-stat,.ms-referral-pricing-v285,.ms-universal-wallet-v408,.ms-plan-matrix,.ms-plan-matrix-compact,.ms-info-update,.ms-info-accordion,.ms-feature-grid article,.ms-tier-card,.ms-price-grid article){
 background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important;
 border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
/* All comparison table cells use cashmere + butterscotch, no charcoal surfaces. */
:root[data-fo-theme="light"] body :is(.ms-plan-matrix,.ms-plan-matrix-compact,.ms-plan-table,.ws308-compare-table,.ms-usage-compare,.ms-plan-compare,table.compare,table.comparison){
 background:#FFFFFF!important;background-image:none!important;border:1px solid #E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body :is(.ms-plan-matrix,.ms-plan-matrix-compact,.ms-plan-table,.ws308-compare-table,.ms-usage-compare,.ms-plan-compare,table.compare,table.comparison) :is(td,th,tr){
 background:#FFFFFF!important;background-image:none!important;border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body :is(.ms-plan-matrix,.ms-plan-matrix-compact,.ms-plan-table,.ws308-compare-table,.ms-usage-compare,.ms-plan-compare,table.compare,table.comparison) :is(thead th,.section-title,.group-head,tr:has(th[colspan]) th){
 background:#FFFAF0!important;border-color:#E2E8F0!important;
}
/* WEBSITE SERVICES: source of the dark-card leakage in V417. */
:root[data-fo-theme="light"] body.cl-services :is(
 .cl-service-owner,.ws308-browser,.ws308-map li,.ws308-subtypes>div,
 .ws309-benefit-foot,.ws309-all-packages,.ws310-promo-window,
 .ws308-blueprint,.ws308-blueprint-header,.ws308-type-card,
 .ws309-benefit-group,.ws309-benefit-card,.ws309-benefit-grid article,
 .ws309-benefit-grid>div,.ws310-promo,.ws310-promo-card,
 .ws308-info-card,.ws308-map,.ws308-tabs,.ws308-step,
 .ws308-subtypes,.ws309-reassurance,.notice,.status,
 .ws308-compare-table,.ws308-compare-table-wrapper,.ms-universal-wallet-v408,
 .ms-plan-matrix,.ms-plan-matrix-compact,.telegram-center,
 .febry-services-cta,.febry-services-mobile-panel,.febry-services-mobile-panel>a,
 .ws308-order-note,.ws308-order-summary,.faq-item,.payment-item,.pay-total,
 .order-card,.step,.card,.panel,.kpi,.event,.feature,.feature-card,
 .project-flow,.privacy-promise,.package,.addon-card,.pricing-card,
 .ws308-spotlight,.ws308-cta,.ws309-benefit-foot,.ws309-benefit-card
 ){
 background:linear-gradient(150deg,#FFFFFF 0%,#FFFAF0 100%)!important;
 border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
/* Blueprints and many business cards used unclassified inner DIV backgrounds. */
:root[data-fo-theme="light"] body.cl-services :is(.ws308-subtypes,.ws308-map,.ws308-blueprint,.ws309-benefit-grid,.ws309-benefit-group,.ws308-section,.ws310-promo-window) :is(div,li,p,span){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-services :is(.ws308-subtypes>div,.ws308-map>li,.ws308-compare-table :is(th,td),.ws308-blueprint .ws308-browser,.ws310-promo-window>div){
 background:#FFFFFF!important;background-image:none!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-services :is(.ws308-map>li:nth-child(odd),.ws308-compare-table thead th,.ws308-compare-table tr:has(th[colspan]) th){
 background:#FFFAF0!important;background-image:none!important;
}
/* Services uses several fixed-color dark strips that were outside generic cards. */
:root[data-fo-theme="light"] body.cl-services :is(.ws309-benefit-foot,.ws309-all-packages,.ws308-note,.ws308-scope-note,.ws308-footer-note,.ws309-recap,.ws309-benefits-intro,.ws308-compare-head,.ws310-promo-footer,.ms-universal-wallet-v408){
 background:#FFFAF0!important;background-image:none!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-services :is(.ws308-blueprint,.ws309-benefit-card,.ws309-benefit-grid article,.ws308-cta,.ws310-promo-window,.ws310-promo-card){background:linear-gradient(150deg,#FFFFFF,#FFFAF0)!important}
:root[data-fo-theme="light"] body.cl-services :is(.febry-services-menu-btn,.febry-services-menu-close,.febry-services-cta,.febry-services-mobile-cta,.febry-services-mobile-panel>a,.ws308-compare-table :is(th,td),.ws308-browser,.ws308-blueprint li,.ws309-benefit-grid>div) *{
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}
/* Break the visual dependency on old lime-filled icons without overriding real art. */
:root[data-fo-theme="light"] body.cl-services :is(.ws308-layout-list,.ws308-map,.ws309-benefit-grid) :is(svg,svg *),
:root[data-fo-theme="light"] body :is(.febry-services-links,.cl-nav-links,.fo-directory-v416) :is(svg,svg *){
 color:#562F00!important;stroke:#562F00!important;
}
/* Strict three-color gradients, not fourth-color translucent beige/green. */
:root[data-fo-theme="light"] body.cl-services :is(.ws308-blueprints,.ws308-section,.ws309-benefits,.ws310-promo,.ws308-compare,.ws308-pricing,.ws308-flow,.ws308-order){
 color:#562F00!important;border-color:#E2E8F0!important;
}
/* Homepage footer three-column grid (V416's duplicated row is removed in HTML). */
.fo-footer-v418{display:grid;grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,64px);align-items:start;padding:37px 0 42px!important}
.fo-footer-v418>.fo-footer-brand-v418{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.fo-footer-v418>.fo-footer-brand-v418 p{margin:0;line-height:1.55;max-width:25ch}
.fo-footer-v418>.fo-footer-brand-v418 small{opacity:.8;font-size:11px}
.fo-footer-v418 .fo-footer-links-v418{display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0}
.fo-footer-v418 .fo-footer-links-v418 strong{font-size:11px;font-weight:800;letter-spacing:.12em;margin:0 0 4px}
.fo-footer-v418 .fo-footer-links-v418 a{margin:0!important;padding:0!important;font-size:13px;line-height:1.35;text-decoration:none;white-space:normal;overflow-wrap:break-word}
.fo-footer-v418 .fo-footer-links-v418 a:hover{text-decoration:underline}
@media(max-width:700px){.fo-footer-v418{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.fo-footer-v418>.fo-footer-brand-v418{grid-column:1/-1}.fo-footer-v418 .fo-footer-links-v418{gap:10px}}
@media(max-width:390px){.fo-footer-v418{gap:24px 15px}.fo-footer-v418 .fo-footer-links-v418 a{font-size:12px}}
:root[data-fo-theme="light"] .fo-footer-v418 .fo-footer-links-v418 strong{color:#562F00!important}
/* Mobile compatibility: preserve width/layout and prevent accidentally wide navs. */
@media(max-width:700px){
 body.cl-home .fo-footer-v418{width:100%;min-width:0}
 body.cl-services :is(.febry-services-header,.febry-services-nav){max-width:100vw}
 body.cl-services :is(.ws308-compare-table-wrapper,.ws308-compare-scroll,.ws308-compare-table-shell){max-width:100%;overflow-x:auto}
}

/* Final V418 selectors from computed-style audit of legacy public pages. */
:root[data-fo-theme="light"] body.cl-services .ws308-jump a,
:root[data-fo-theme="light"] body.cl-ms .ms-info-update .ms-update-columns>div,
:root[data-fo-theme="light"] body.cl-ms .ms-info-update .ms-update-columns span {
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
 border-color:#E2E8F0!important;box-shadow:none!important;
}

:root[data-fo-theme="light"] body.cl-services :is(.ws323-extra-fields,.ws323-benefit-details,.ws308-blueprint .ws308-map li,.ws308-blueprint .ws308-subtypes>div,.ws308-action-links>a,.ws308-blueprints a,.ws308-blueprints details,.cl-service-owner){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-ms :is(#msBuyLoginRow,#msBuyThreadsRow,#msBuyReferralRow,.ms-buy-total,.ms-v327-policy,.ms-buy-choice,.ms-referral-pricing-v285 span,.ms-buy-form .ms-buy-code){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-pricing :is(.web-free-note,.flow-step,#packageBenefitPopover,#analyticsDetailPopover,.ms-referral-pricing-v285 span,.ms-referral-v285 span){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-pricing nav:not(.fo-directory-v416){background:#FFFFFF!important;border-color:#E2E8F0!important;color:#562F00!important}
/* Footer navigation must never inherit the legacy fixed full-screen mobile nav. */
body.cl-home #clHome .fo-footer-v418 .fo-footer-links-v418{
 position:static!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
 width:auto!important;height:auto!important;min-height:0!important;max-width:100%!important;margin:0!important;padding:0!important;
 transform:none!important;overflow:visible!important;box-shadow:none!important;backdrop-filter:none!important;
 background:transparent!important;border:0!important;
}
body.cl-home #clHome .fo-footer-v418 .fo-footer-links-v418 a{display:block!important;width:auto!important;min-width:0!important}
/* Dark Theme footer should be just as tidy; only the new footer layout is shared. */
body.cl-home #clHome .fo-footer-v418{isolation:isolate}

/* Remaining public index widgets identified in the exhaustive 25-page audit. */
/* High-specificity legacy bright-lime action buttons and icon backgrounds. */
:root:root:root[data-fo-theme="light"] body.cl-services main :is(a.button,button.action,button.action.pick),
:root:root:root[data-fo-theme="light"] body.cl-pricing main a.btn.primary{
 background:#FFFAF0!important;background-image:none!important;
 border-color:#E2E8F0!important;color:#562F00!important;-webkit-text-fill-color:#562F00!important;
 box-shadow:none!important;
}
:root:root:root[data-fo-theme="light"] body.cl-services .ws310-promo-shape div{
 background:#FFFAF0!important;background-image:none!important;border-color:#E2E8F0!important;
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}

/* Legacy Website Services CTA and badge palette sweep: no lime or charcoal
   on UI components when the user explicitly selects Light Mode. */
:root[data-fo-theme="light"] body.cl-services main :is(a,button) {
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;
 border-color:#E2E8F0!important;color:#562F00!important;-webkit-text-fill-color:#562F00!important;
 box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-services main :is(b,em,span):not(.ws308-index):not(.v306-visual-chip){
 background-color:transparent!important;background-image:none!important;
}
:root[data-fo-theme="light"] body.cl-services main :is(.ws308-index,.ws309-feature-icon,.v306-visual-chip,.ws308-mini-line,.ws310-promo-window .ws310-promo-window-icon){
 background:#FFFAF0!important;border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-services main .ws310-promo-window :is(div,span):not(.ws310-promo-window){
 border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-ms :is(.ms-tier-coming,.threads-safety-icon){background:#FFFAF0!important;border-color:#E2E8F0!important;color:#562F00!important}
:root[data-fo-theme="light"] body :is(.fo-theme-switch,.fo-theme-floating,button,.btn,.cl-button,.fa-btn):hover:not(:disabled){border-color:#E2E8F0!important}

:root:root[data-fo-theme="light"] body.cl-public #loginForm #loginId,
:root:root[data-fo-theme="light"] body.cl-public #loginForm #loginPassword{
 background:#FFFFFF!important;background-image:none!important;color:#562F00!important;border-color:#E2E8F0!important;
}
:root:root[data-fo-theme="light"] body.cl-ms .fa-workspace-gate-content>a{
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;color:#562F00!important;border-color:#E2E8F0!important;
}

:root[data-fo-theme="light"] body.cl-public :is(nav,header.top){background:#FFFFFF!important;color:#562F00!important;border-color:#E2E8F0!important;}
:root[data-fo-theme="light"] body.cl-paktra :is(.device .screen,.device .hud,.workflow .step,.account-box .bigstat,.download .download-card){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-paktra .device :is(span,div,strong,p,small){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root[data-fo-theme="light"] body.cl-public :is(
 .price-cards.compact-pricing>div,.memory-stack>div,.memory-stack.verdict-stack>div,
 .platform-native-grid>article,.sku-scope-grid>div,.market-method>article,.expert-modules>article,
 .market-memory-grid>div,.capability-deepdive article,.capability-deepdive .sku-scope-grid>div,
 .compact-pricing>div,.market-method>article){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-public #loginForm input{background:#FFFFFF!important;color:#562F00!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body.cl-ms :is(.fa-workspace-gate,.fa-workspace-gate-content,.ms-v298-mode,.ms-v298-steps>span,.ms-tier-capacity>div,.ms-referral-perks>span){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-ms .fa-workspace-gate :is(a,span,strong,p){color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root[data-fo-theme="light"] body.fo-catalog-v418 :is(.hero-showcase .visual-feature,.summary-strip,.filterbar,.note-section,.last-cta a.secondary,footer){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important;
}
/* Keep screenshots and catalog actual product visuals intact. */

/* V419 — SOURCE-GROUNDED LEGACY GRADIENT PURGE
   Fix panels found by a full computed-style audit of V418 (not a global
   wildcard overriding customer images, SVG artwork, editor canvas, or video).
   Dark Mode is unmodified because every rule is scoped to Light Mode. */
:root[data-fo-theme="light"] body.cl-services :is(
 .cl-service-art,.ws308-mini-hero,.ws308-page-grid>div,
 .ws309-feature,.ws308-caution,.ws310-promo-window,
 .v306-visual,.v306-visual--website
),
:root[data-fo-theme="light"] body.cl-ms :is(
 .ms-buy,.threads-safety-note,.v306-visual,.v306-visual--ms
){
 background:linear-gradient(150deg,#FFFFFF 0%,#FFFAF0 100%)!important;
 border-color:#E2E8F0!important;color:#562F00!important;
 box-shadow:none!important;text-shadow:none!important;
}
/* The pricing carousel intentionally used a two-ID V397 dark gradient. */
:root:root[data-fo-theme="light"] body.cl-ms #informationView #msPricingTrack > .ms-tier-card,
:root:root[data-fo-theme="light"] body.cl-ms #informationView #msPricingTrack > .ms-tier-card.featured,
:root:root[data-fo-theme="light"] body.cl-ms #informationView #msPricingTrack > .ms-tier-card.is-coming-soon{
 background:linear-gradient(155deg,#FFFFFF 0%,#FFFAF0 100%)!important;
 border-color:#E2E8F0!important;box-shadow:none!important;
}
/* V397 also forced dark gradient on internal pricing metrics. */
:root:root[data-fo-theme="light"] body.cl-ms #informationView :is(
 .ms-tier-metric,.ms-tier-capacity>div,.ms-credit-benefits,
 .ms-tier-card .ms-benefit-row,.ms-buy-steps>*,.ms-buy-total,
 .ms-buy-grand,.ms-buy-summary,.ms-buy-form
){
 background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;
 border-color:#E2E8F0!important;color:#562F00!important;
 box-shadow:none!important;
}
/* Service page inner previews are interactive mockups, not uploaded media. */
:root:root[data-fo-theme="light"] body.cl-services :is(
 .ws308-mini-hero,.ws308-page-grid>div,.ws308-mini-strip>span,
 .ws308-mini-cta,.ws308-mini-line,.ws309-feature-icon,
 .ws308-browser,.ws308-page-nav,.ws308-mini-strip,
 .ws308-page-grid,.ws308-browser-top,
 .ws308-map li,.ws308-subtypes>div,.ws308-compare-table
){border-color:#E2E8F0!important;color:#562F00!important;box-shadow:none!important}
:root:root[data-fo-theme="light"] body.cl-services :is(
 .ws308-mini-hero,.ws308-page-grid>div,.ws308-mini-strip>span,
 .ws308-mini-cta,.ws308-mini-line,.ws309-feature-icon
){background:#FFFAF0!important;background-image:none!important}
/* Every text glyph in the remaining panels uses Barrel, incl SVG UI icons.
   Do not recolor imported customer images or actual screenshots. */
:root[data-fo-theme="light"] body.cl-services :is(
 .ws309-feature,.ws308-caution,.ws308-mini-hero,.ws308-page-grid,
 .cl-service-art,.v306-visual
) :is(p,span,small,strong,b,em,h1,h2,h3,h4,a,li,i,label,figcaption),
:root[data-fo-theme="light"] body.cl-ms :is(
 .ms-tier-card,.ms-buy,.threads-safety-note,.v306-visual
) :is(p,span,small,strong,b,em,h1,h2,h3,h4,a,li,i,label,figcaption){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
 text-shadow:none!important;
}
/* Replace the remaining dark chart/illustration frame, but NOT the image. */
:root[data-fo-theme="light"] body .v306-visual :is(
 .v306-visual-head,.v306-visual-chip,.v306-visual-caption,.v306-ms-editorial-heading
){background:#FFFAF0!important;border-color:#E2E8F0!important;color:#562F00!important}
:root[data-fo-theme="light"] body .v306-visual :is(img,picture){
 background:#FFFFFF!important;border-color:#E2E8F0!important;
 filter:none!important;
}
/* Explicit site palette for user-controlled select/checkbox, while preserving
   standard keyboard focus and not bypassing browser form validation. */
:root[data-fo-theme="light"] body.cl-ms #informationView :is(
 .ms-buy-choice,.ms-buy-fieldset,.ms-buy-addon-block,.ms-buy-referral,
 .ms-buy-referral-applied,.ms-buy-result,.ms-buy-result-grid,
 .ms-pricing-arrow,.ms-pricing-dots button,.ms-tier-card details,
 .ms-tier-card summary,.ms-tier-card .ms-tier-capacity>div
){background-color:#FFFFFF!important;background-image:none!important;
 border-color:#E2E8F0!important;color:#562F00!important}
:root[data-fo-theme="light"] body.cl-ms #informationView #msPricingTrack .ms-tier-card :is(
 .ms-tier-metric,.ms-credit-benefits,.ms-tier-capacity>div
){background:linear-gradient(155deg,#FFFFFF,#FFFAF0)!important;border-color:#E2E8F0!important}
/* Keep explicit emphasis in the three-color palette; no inherited lime. */
:root[data-fo-theme="light"] body.cl-services :is(
 .ws308-mini-hero em,.ws308-mini-strip span,.ws308-mini-cta,.ws309-feature-icon
){background:#FFFAF0!important;border-color:#E2E8F0!important;color:#562F00!important}
/* Public subpages: previously omitted fixed-color surfaces discovered by
   automated computed-style audit of all 25 public entrypoints. */
:root[data-fo-theme="light"] body.cl-home .cl-product-media,
:root[data-fo-theme="light"] body.cl-public :is(.qa-item,.difference-highlight,.top-btn,.logo-box),
:root[data-fo-theme="light"] body.cl-paktra :is(.device,.cam,.platform,.paktra-plan),
:root[data-fo-theme="light"] body.cl-ms .ms-v298-intro,
:root[data-fo-theme="light"] body.fo-catalog-v418 .hero-showcase,
:root[data-fo-theme="light"] body .fo-wd-comingsoon .status,
:root[data-fo-theme="light"] body .status:where(:not([data-state])){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;
 background-color:#FFFAF0!important;
 border-color:#E2E8F0!important;color:#562F00!important;
 box-shadow:none!important;text-shadow:none!important;
}
:root[data-fo-theme="light"] body.cl-public .qa-item{
 background:#FFFFFF!important;background-image:none!important;border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-public header.topbar .top-btn{
 background:#FFFAF0!important;background-image:none!important;
 border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-public :is(.logo-box,.difference-highlight),
:root[data-fo-theme="light"] body.cl-paktra :is(.device,.cam,.platform,.paktra-plan){
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;
 background-color:#FFFAF0!important;border-color:#E2E8F0!important;
}
/* Optimize old inline badges (not user-uploaded image backgrounds). */
:root[data-fo-theme="light"] body.cl-public .sku-scope-grid :is(span,small,b),
:root[data-fo-theme="light"] body.cl-public .market-memory-grid :is(span,small,b),
:root[data-fo-theme="light"] body.cl-public .expert-modules :is(span,small,b),
:root[data-fo-theme="light"] body.cl-public .difference-highlight :is(span,small,b){
 background:#FFFAF0!important;background-image:none!important;
 border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-paktra .cam :is(div,span,p,b,strong),
:root[data-fo-theme="light"] body.cl-paktra .platform :is(span,p,b,strong),
:root[data-fo-theme="light"] body.cl-paktra .paktra-plan :is(span,p,b,strong){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-public .lang,
:root[data-fo-theme="light"] body.fa-page .status{
 background:#FFFAF0!important;background-image:none!important;
 border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.fo-catalog-v418 .hero-showcase{
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;
 border-color:#E2E8F0!important;
}
:root[data-fo-theme="light"] body.cl-public .feature-pills>span{
 background:#FFFAF0!important;background-image:none!important;
 border-color:#E2E8F0!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-public .difference-grid>article{
 background:linear-gradient(145deg,#FFFFFF,#FFFAF0)!important;
 border-color:#E2E8F0!important;color:#562F00!important;
}

/* V420: explicitly opt out of browser-managed automatic darkening. Does not
   override experimental Brave Night Mode, extensions or accessibility settings. */
:root[data-fo-theme="light"],:root[data-fo-theme="light"] body{color-scheme:light!important;}
:root[data-fo-theme="light"] :is(input,textarea,select,button,dialog,details){color-scheme:light!important;}




/* V424 — shared public topbars, buttons and identity based on Invoice Studio.
   Styles are scoped to the user-selected LIGHT theme only. */
:root[data-fo-theme="light"] body {
  --fo-ui-bg:#FFFFFF;--fo-ui-surface:#FFFAF0;--fo-ui-muted:#F8FAFC;
  --fo-ui-line:#E2E8F0;--fo-ui-ink:#562F00;
}
:root[data-fo-theme="light"] body :is(.cl-nav,.fa-top,.fo-public-header,.febry-services-header,header.topbar,.site-header,body>nav:first-of-type){
  background:#FFFFFF!important;background-image:none!important;
  border-color:#E2E8F0!important;box-shadow:none!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body :is(.cl-nav,.fa-top-inner,.fo-public-header,.febry-services-nav,.site-header,.topbar-inner){
  min-height:62px;align-items:center;gap:10px;
}
:root[data-fo-theme="light"] body :is(
  .cl-nav-links>a,.fo-public-links>a,.fa-links>a,.febry-services-links>a,
  .navlinks>a,.top-actions>a,.fo-directory-v416>a,.febry-services-cta,
  .cl-nav-cta,.fa-toggle,.fa-login,.fa-register,.fo-theme-switch,
  .fo-prefs-toggle,.cl-mobile-menu>summary,.febry-services-menu-btn,
  .febry-global-drawer .febry-global-links>a
){
  background:#FFFFFF!important;background-image:none!important;
  border:1px solid #E2E8F0!important;border-radius:9px!important;
  color:#562F00!important;-webkit-text-fill-color:#562F00!important;
  box-shadow:none!important;text-shadow:none!important;
  font-weight:650!important;
}
:root[data-fo-theme="light"] body :is(
  .cl-nav-links>a,.fo-public-links>a,.fa-links>a,.febry-services-links>a,
  .navlinks>a,.top-actions>a,.fo-theme-switch,.fo-prefs-toggle,
  .fa-toggle,.fa-login,.fa-register,.cl-mobile-menu>summary
){padding:8px 10px!important;min-height:36px;align-items:center;gap:7px;white-space:nowrap}
:root[data-fo-theme="light"] body :is(
  .cl-nav-links>a,.fo-public-links>a,.fa-links>a,.febry-services-links>a,
  .navlinks>a,.top-actions>a,.fo-directory-v416>a,.fa-toggle,.fa-login,
  .fa-register,.fo-theme-switch,.febry-services-cta
):hover{background:#F8FAFC!important;border-color:#E2E8F0!important}
:root[data-fo-theme="light"] body :is(.cl-mobile-menu[open]>div,
 .febry-global-drawer,.febry-services-mobile-panel,.fa-panel,.fo-prefs-panel,
 .istudio-site-nav-panel){background:#FFFFFF!important;background-image:none!important;
 border-color:#E2E8F0!important;box-shadow:0 10px 28px rgba(86,47,0,.07)!important;color:#562F00!important}
:root[data-fo-theme="light"] body :is(.cl-mobile-menu[open]>div>a,.febry-services-mobile-panel>a){
 background:#FFFFFF!important;border:1px solid #E2E8F0!important;border-radius:9px!important;
 color:#562F00!important;-webkit-text-fill-color:#562F00!important}
:root[data-fo-theme="light"] body :is(.cl-brand,.febry-brand-logo,.fa-brand,.fo-public-brand .febry-brand-logo){
 background:#FFFFFF!important;border:1px solid #E2E8F0!important;border-radius:10px!important;
 box-shadow:none!important;filter:none!important;padding:3px 6px!important;min-height:39px;
 display:inline-flex!important;align-items:center;justify-content:center}
:root[data-fo-theme="light"] body :is(.cl-brand img,.febry-site-logo,.fa-brand img){
 max-height:37px!important;width:auto!important;max-width:158px!important;object-fit:contain!important;
 filter:none!important;box-shadow:none!important}
:root[data-fo-theme="light"] body :is(.cl-section,.fa-section,.cl-product,.fa-apps-tile,.ms-tier-card,.ws309-feature,.ws308-blueprint,.qa-item,.package,.pricing-card,.ms-buy-form,.ms-buy-summary){
 border-color:#E2E8F0!important;box-shadow:none!important}
:root[data-fo-theme="light"] body :is(.cl-product,.fa-apps-tile,.ms-tier-card,.ws309-feature,.ws308-blueprint,.qa-item,.package,.pricing-card,.ms-buy-form,.ms-buy-summary){
 background:#FFFAF0!important;background-image:none!important}
:root[data-fo-theme="light"] body :is(.cl-product a,.fa-apps-tile a,.ms-tier-card a,.ws309-feature a,
 .fa-apps-open,.cl-btn,.cl-button,.cl-button-primary,.fa-btn,.febry-services-cta){
 border-color:#E2E8F0!important;box-shadow:none!important;color:#562F00!important}
:root[data-fo-theme="light"] body :is(.cl-product a,.fa-apps-tile a,.ms-tier-card a,.ws309-feature a):hover{
 background:#F8FAFC!important}
:root[data-fo-theme="light"] body :is(.cl-nav-links a[data-febry-glyph],.fo-public-links a[data-febry-glyph],.febry-services-links a[data-febry-glyph])::before{
 background-color:#562F00!important}
@media(max-width:900px){
 :root[data-fo-theme="light"] body :is(.cl-nav,.fa-top-inner,.fo-public-header,.febry-services-nav,.topbar-inner){
  min-height:56px;gap:6px}
 :root[data-fo-theme="light"] body :is(.cl-brand img,.febry-site-logo,.fa-brand img){max-height:32px!important;max-width:130px!important}
 :root[data-fo-theme="light"] body :is(.cl-mobile-menu>summary,.fo-theme-switch,.fa-toggle,.febry-services-menu-btn){min-height:36px}
}
/* V424 — small legacy public panels outside the marketing component system. */
:root[data-fo-theme="light"] body.cl-public :is(.quick-rules>div,.cap-grid>.cap,.schedule-guide,.table-wrap,.guide-table tbody tr,.drawer-panel,.drawer-links>a,.drawer-close){
 background:#FFFAF0!important;background-image:none!important;border-color:#E2E8F0!important;
 box-shadow:none!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-public :is(.quick-rules>div,.cap-grid>.cap,.schedule-guide,.drawer-panel) :is(b,strong,span,small,p,a){
 color:#562F00!important;-webkit-text-fill-color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-public :is(.mistake,.mistakes>div,.guide-table th,.guide-table td,.table-wrap,.filters,.filter,.fav-btn){
 background:#FFFFFF!important;background-image:none!important;border-color:#E2E8F0!important;
 box-shadow:none!important;color:#562F00!important;
}
:root[data-fo-theme="light"] body.cl-ms :is(.tester-renew-note,.eyebrow,.ms-tier-note,.ms-buy-note),
:root[data-fo-theme="light"] body.cl-pricing :is(.affiliate-use-card,.web-fast-track,.eta-strip){
 background:#FFFAF0!important;background-image:none!important;border-color:#E2E8F0!important;
 color:#562F00!important;
}
