/* FEBRY.OPS Carbon Lime Glyph V1 · Website V379 · presentation only
   Grid 24x24 · source vectors in /assets/febry-glyph-v1/ · no JS dependency. */
:root{--febry-glyph-lime:#B6FF40;--febry-glyph-carbon:#090D0B}
:where(a,button,h2,h3,h4,summary,strong,label,li)[data-febry-glyph]{--febry-glyph-color:var(--febry-glyph-lime)}
:where(a,button,h2,h3,h4,summary,strong,label,li)[data-febry-glyph]{display:inline-flex;align-items:center;column-gap:7px}
:where(a,button,h2,h3,h4,summary,strong,label,li)[data-febry-glyph]::before{
 content:"";display:block;flex:none;width:16px;height:16px;
 background-color:var(--febry-glyph-color);
 -webkit-mask-image:var(--febry-glyph);mask-image:var(--febry-glyph);
 -webkit-mask-size:contain;mask-size:contain;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 -webkit-mask-position:center;mask-position:center;
 pointer-events:none;
}
:where(h2,h3,h4)[data-febry-glyph]::before{width:20px;height:20px}
/* Existing button foreground: lime button needs carbon icon, without changing button colors. */
:where(a,button)[data-febry-glyph]:is(.cl-button-primary,.primary,.sd-primary,.simple-primary,.febry-solid-btn,.ms-buy-submit,.action):not(.tg-action){--febry-glyph-color:var(--febry-glyph-carbon)}
:where(a,button)[data-febry-glyph]:is(.btn,.cl-button,.button,.action){column-gap:8px}
/* The 4 mobile tabs already contain original inline SVG; retain them for fallback,
   replace artwork only when this stylesheet loads. No click-handler changes. */
#msMobileNav [data-mobile-tab] .nav-icon{display:inline-grid;place-items:center;position:relative}
#msMobileNav [data-mobile-tab] .nav-icon svg{display:none!important}
#msMobileNav [data-mobile-tab] .nav-icon::before{
 content:"";display:block;width:21px;height:21px;background:currentColor;
 -webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;pointer-events:none
}
#msMobileNav [data-mobile-tab="chat"] .nav-icon::before{-webkit-mask-image:url('/assets/febry-glyph-v1/I09-chat-bubble-lime.svg');mask-image:url('/assets/febry-glyph-v1/I09-chat-bubble-lime.svg')}
#msMobileNav [data-mobile-tab="template"] .nav-icon::before{-webkit-mask-image:url('/assets/febry-glyph-v1/I10-template-list-lime.svg');mask-image:url('/assets/febry-glyph-v1/I10-template-list-lime.svg')}
#msMobileNav [data-mobile-tab="posting"] .nav-icon::before{-webkit-mask-image:url('/assets/febry-glyph-v1/I11-posting-panel-lime.svg');mask-image:url('/assets/febry-glyph-v1/I11-posting-panel-lime.svg')}
#msMobileNav [data-mobile-tab="me"] .nav-icon::before{-webkit-mask-image:url('/assets/febry-glyph-v1/I12-saya-profile-lime.svg');mask-image:url('/assets/febry-glyph-v1/I12-saya-profile-lime.svg')}
/* Profile hub uses an icon compartment: replace the original drawing in place. */
.ms-mobile-profile-action[data-febry-glyph]{display:flex}
.ms-mobile-profile-action[data-febry-glyph]::before{display:none}
.ms-mobile-profile-action[data-febry-glyph] .ms-mobile-profile-icon{display:inline-grid;place-items:center}
.ms-mobile-profile-action[data-febry-glyph] .ms-mobile-profile-icon svg{display:none!important}
.ms-mobile-profile-action[data-febry-glyph] .ms-mobile-profile-icon::before{
 content:"";display:block;width:19px;height:19px;background-color:var(--febry-glyph-lime);
 -webkit-mask:var(--febry-glyph) center/contain no-repeat;
 mask:var(--febry-glyph) center/contain no-repeat;pointer-events:none
}
li[data-febry-glyph]{list-style:none;display:flex;align-items:center;gap:6px}
/* Choice labels keep native radio click geometry; the glyph sits at the far edge. */
label.simple-delivery-option[data-febry-glyph]{position:relative;display:flex;padding-right:max(28px,1.8em)}
label.simple-delivery-option[data-febry-glyph]::before{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin:0}
/* Do not scale the existing mobile nav or enlarge its tap zones. */
@media(max-width:390px){:where(a,button)[data-febry-glyph]::before{width:15px;height:15px}:where(a,button)[data-febry-glyph]{column-gap:6px}}
@media(prefers-reduced-motion:reduce){:where(a,button)[data-febry-glyph]::before{animation:none}}
:where([data-febry-glyph="I01"]){--febry-glyph:url("/assets/febry-glyph-v1/I01-home-lime.svg")}
:where([data-febry-glyph="I02"]){--febry-glyph:url("/assets/febry-glyph-v1/I02-website-services-lime.svg")}
:where([data-febry-glyph="I03"]){--febry-glyph:url("/assets/febry-glyph-v1/I03-ms-chat-product-lime.svg")}
:where([data-febry-glyph="I04"]){--febry-glyph:url("/assets/febry-glyph-v1/I04-pricing-tag-lime.svg")}
:where([data-febry-glyph="I05"]){--febry-glyph:url("/assets/febry-glyph-v1/I05-portfolio-grid-lime.svg")}
:where([data-febry-glyph="I06"]){--febry-glyph:url("/assets/febry-glyph-v1/I06-help-faq-lime.svg")}
:where([data-febry-glyph="I07"]){--febry-glyph:url("/assets/febry-glyph-v1/I07-contact-message-lime.svg")}
:where([data-febry-glyph="I08"]){--febry-glyph:url("/assets/febry-glyph-v1/I08-external-link-lime.svg")}
:where([data-febry-glyph="I09"]){--febry-glyph:url("/assets/febry-glyph-v1/I09-chat-bubble-lime.svg")}
:where([data-febry-glyph="I10"]){--febry-glyph:url("/assets/febry-glyph-v1/I10-template-list-lime.svg")}
:where([data-febry-glyph="I11"]){--febry-glyph:url("/assets/febry-glyph-v1/I11-posting-panel-lime.svg")}
:where([data-febry-glyph="I12"]){--febry-glyph:url("/assets/febry-glyph-v1/I12-saya-profile-lime.svg")}
:where([data-febry-glyph="I13"]){--febry-glyph:url("/assets/febry-glyph-v1/I13-simple-dashboard-lime.svg")}
:where([data-febry-glyph="I14"]){--febry-glyph:url("/assets/febry-glyph-v1/I14-calendar-schedule-lime.svg")}
:where([data-febry-glyph="I15"]){--febry-glyph:url("/assets/febry-glyph-v1/I15-threads-accounts-lime.svg")}
:where([data-febry-glyph="I16"]){--febry-glyph:url("/assets/febry-glyph-v1/I16-quota-gauge-lime.svg")}
:where([data-febry-glyph="I17"]){--febry-glyph:url("/assets/febry-glyph-v1/I17-caption-compose-lime.svg")}
:where([data-febry-glyph="I18"]){--febry-glyph:url("/assets/febry-glyph-v1/I18-ai-spark-lime.svg")}
:where([data-febry-glyph="I19"]){--febry-glyph:url("/assets/febry-glyph-v1/I19-image-reference-lime.svg")}
:where([data-febry-glyph="I20"]){--febry-glyph:url("/assets/febry-glyph-v1/I20-link-attach-lime.svg")}
:where([data-febry-glyph="I21"]){--febry-glyph:url("/assets/febry-glyph-v1/I21-chain-reply-lime.svg")}
:where([data-febry-glyph="I22"]){--febry-glyph:url("/assets/febry-glyph-v1/I22-draft-download-lime.svg")}
:where([data-febry-glyph="I23"]){--febry-glyph:url("/assets/febry-glyph-v1/I23-burst-speed-lime.svg")}
:where([data-febry-glyph="I24"]){--febry-glyph:url("/assets/febry-glyph-v1/I24-safe-interval-lime.svg")}
:where([data-febry-glyph="I25"]){--febry-glyph:url("/assets/febry-glyph-v1/I25-excel-import-lime.svg")}
:where([data-febry-glyph="I26"]){--febry-glyph:url("/assets/febry-glyph-v1/I26-posting-queue-lime.svg")}
:where([data-febry-glyph="I27"]){--febry-glyph:url("/assets/febry-glyph-v1/I27-draft-preview-lime.svg")}
:where([data-febry-glyph="I28"]){--febry-glyph:url("/assets/febry-glyph-v1/I28-edit-text-lime.svg")}
:where([data-febry-glyph="I29"]){--febry-glyph:url("/assets/febry-glyph-v1/I29-delete-trash-lime.svg")}
:where([data-febry-glyph="I30"]){--febry-glyph:url("/assets/febry-glyph-v1/I30-refresh-sync-lime.svg")}
:where([data-febry-glyph="I31"]){--febry-glyph:url("/assets/febry-glyph-v1/I31-global-timezone-lime.svg")}
:where([data-febry-glyph="I32"]){--febry-glyph:url("/assets/febry-glyph-v1/I32-published-check-lime.svg")}
:where([data-febry-glyph="I33"]){--febry-glyph:url("/assets/febry-glyph-v1/I33-settings-gear-lime.svg")}
:where([data-febry-glyph="I34"]){--febry-glyph:url("/assets/febry-glyph-v1/I34-language-globe-lime.svg")}
:where([data-febry-glyph="I35"]){--febry-glyph:url("/assets/febry-glyph-v1/I35-hide-text-lime.svg")}
:where([data-febry-glyph="I36"]){--febry-glyph:url("/assets/febry-glyph-v1/I36-credit-wallet-lime.svg")}
:where([data-febry-glyph="I37"]){--febry-glyph:url("/assets/febry-glyph-v1/I37-referral-gift-lime.svg")}
:where([data-febry-glyph="I38"]){--febry-glyph:url("/assets/febry-glyph-v1/I38-oauth-shield-lime.svg")}
:where([data-febry-glyph="I39"]){--febry-glyph:url("/assets/febry-glyph-v1/I39-admin-members-lime.svg")}
:where([data-febry-glyph="I40"]){--febry-glyph:url("/assets/febry-glyph-v1/I40-admin-orders-lime.svg")}
:where([data-febry-glyph="I41"]){--febry-glyph:url("/assets/febry-glyph-v1/I41-landing-page-lime.svg")}
:where([data-febry-glyph="I42"]){--febry-glyph:url("/assets/febry-glyph-v1/I42-multipage-website-lime.svg")}
:where([data-febry-glyph="I43"]){--febry-glyph:url("/assets/febry-glyph-v1/I43-responsive-devices-lime.svg")}
:where([data-febry-glyph="I44"]){--febry-glyph:url("/assets/febry-glyph-v1/I44-ui-design-lime.svg")}
:where([data-febry-glyph="I45"]){--febry-glyph:url("/assets/febry-glyph-v1/I45-source-code-lime.svg")}
:where([data-febry-glyph="I46"]){--febry-glyph:url("/assets/febry-glyph-v1/I46-analytics-chart-lime.svg")}
:where([data-febry-glyph="I47"]){--febry-glyph:url("/assets/febry-glyph-v1/I47-qris-payment-lime.svg")}
:where([data-febry-glyph="I48"]){--febry-glyph:url("/assets/febry-glyph-v1/I48-support-headset-lime.svg")}

/* V381 — MS-Chat desktop hamburger layout regression from Glyph V379.
   A link was display:block and the new mask pseudo-element became a separate line.
   Scope this to the legacy desktop #menu; mobile global navigation remains untouched. */
@media (min-width:901px){
  body.cl-ms #menu.menu{
    box-sizing:border-box;
    width:min(224px,calc(100vw - 28px));
    max-height:calc(100vh - 88px);
    max-height:calc(100dvh - 88px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#36513b #0F1912;
    padding:6px;
    border-radius:13px;
  }
  body.cl-ms #menu.menu > a{
    box-sizing:border-box;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding:8px 9px;
    font-size:11.5px;
    line-height:1.3;
    border-radius:8px;
    white-space:normal;
    text-decoration:none;
    overflow-wrap:break-word;
  }
  body.cl-ms #menu.menu > a[data-febry-glyph]::before{
    content:"";
    display:block;
    flex:0 0 15px;
    width:15px;
    height:15px;
    margin:0;
    background:var(--febry-glyph-color,#B6FF40);
  }
  body.cl-ms #menu.menu > a:not([data-febry-glyph]){
    padding-left:32px;
  }
  body.cl-ms #menu.menu > a:focus-visible{
    outline:2px solid #B6FF40;
    outline-offset:-2px;
  }
  body.cl-ms #menu.menu::-webkit-scrollbar{width:6px}
  body.cl-ms #menu.menu::-webkit-scrollbar-thumb{background:#36513b;border-radius:6px}
}
