@font-face{font-family:Inter;src:url('/site/assets/inter-latin-400-normal.woff2');font-display:swap}@font-face{font-family:Inter;font-weight:700;src:url('/site/assets/inter-latin-700-normal.woff2');font-display:swap}
*{box-sizing:border-box}body{margin:0;background:#fff;color:#061B3B;font:400 16px/1.7 Inter,Arial,sans-serif}a{color:#007F9F;text-underline-offset:4px}a:focus-visible{outline:3px solid #007F9F;outline-offset:5px;border-radius:3px}h1,h2,h3{line-height:1.2;letter-spacing:-.035em;margin:0 0 16px}h1{font-size:clamp(32px,4.6vw,58px)}h2{font-size:clamp(24px,3vw,36px)}h3{font-size:23px}p{margin:0 0 18px}p,li,h1,h2,h3,a{overflow-wrap:anywhere}video,audio{max-width:100%;display:block;margin:12px 0}video{height:auto}img{max-width:100%;height:auto}main{max-width:1240px;margin:auto;padding:0 28px 42px}.site-header,.site-footer{max-width:1240px;margin:auto;padding:22px 28px}.site-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #DFE7ED}.brand img{display:block;width:158px;height:auto}.site-header nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.site-header nav a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:#061B3B;font-size:14px}.site-header nav a[aria-current]{color:#007F9F;border-bottom:2px solid #007F9F}.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 22px;border-radius:9px;background:#06364F;color:white;text-decoration:none;font-weight:700;font-size:14px}.site-header nav .button{color:white}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#007F9F;margin-bottom:13px}.muted{color:#65758B}.journal-hero{padding:54px 0 38px;max-width:950px}.journal-hero p:last-child{font-size:19px;color:#65758B}.featured{padding:36px;border:1px solid #DFE7ED;border-radius:16px;background:linear-gradient(125deg,#EAF6F8,#fff);margin:0 0 34px;display:grid;grid-template-columns:1fr 2.5fr;gap:30px}.featured:has(.featured-cover){grid-template-columns:1.2fr 1fr;padding:0;overflow:hidden}.featured-cover{display:block;width:100%;height:100%;min-height:280px;object-fit:cover}.featured:has(.featured-cover)>div{padding:30px}.card-cover{display:block;width:calc(100% + 52px);max-width:none;aspect-ratio:16/9;object-fit:cover;margin:-26px -26px 22px;border-radius:9px 9px 0 0}.featured h2{max-width:800px}.featured h2 a,.post-card h3 a{color:#061B3B;text-decoration:none}.featured h2 a:hover,.post-card h3 a:hover{text-decoration:underline}.article-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:26px 0}.article-toolbar h2{font-size:22px;margin:0}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.post-card{min-width:0;border:1px solid #DFE7ED;border-radius:10px;padding:26px;display:flex;flex-direction:column}.post-card p{color:#65758B}.post-card>a:last-child{margin-top:auto;min-height:44px;display:flex;align-items:center;font-weight:700;font-size:14px}.pager{display:flex;justify-content:center;gap:22px;align-items:center;margin:30px 0}.pager a{padding:9px 18px;min-height:44px;border:1px solid #DFE7ED;border-radius:24px}.empty-state{padding:36px;border:1px solid #DFE7ED;background:#EAF6F8;border-radius:12px;margin:20px 0 36px}.empty-state h2{font-size:26px}.breadcrumb{font-size:13px;padding:25px 0;color:#65758B}.article-heading{max-width:850px;margin:15px auto 28px}.article-heading .excerpt{font-size:21px;color:#65758B}.article-meta{font-size:13px;color:#65758B}.cover{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:14px;margin-bottom:32px;background:#EAF6F8}.reading-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1.25fr);gap:28px;align-items:start}.reading-nav{font-size:13px;border-right:1px solid #DFE7ED;padding-right:18px}.reading-nav a{display:block;padding:10px 0;min-height:44px}.reading-layout>div{min-width:0}.article-body{min-width:0;overflow-wrap:anywhere}.article-body h1{font-size:34px}.article-body h2{font-size:29px;margin-top:32px}.article-body h3{margin-top:26px}.article-body img{border-radius:9px}.article-body pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#EAF6F8;border-radius:8px}.article-body blockquote{margin:24px 0;border-left:3px solid #007F9F;padding:15px 20px;background:#EAF6F8}.article-body ul,.article-body ol{padding-left:24px}.article-aside{background:#06364F;color:white;padding:24px;border-radius:11px}.article-aside h2{font-size:24px}.article-aside p{font-size:14px;color:#fff}.article-aside .button{background:white;color:#06364F;width:100%;padding:11px}.article-end{border-top:1px solid #DFE7ED;margin-top:30px;padding-top:20px}.journal-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#06364F;color:white;border-radius:12px;padding:32px;margin-top:42px}.journal-cta h2{font-size:30px;margin-bottom:9px}.journal-cta p{margin:0}.journal-cta .button{background:white;color:#06364F;flex-shrink:0}.site-footer{border-top:1px solid #DFE7ED;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:13px;color:#65758B}.site-footer nav{display:flex;gap:20px;flex-wrap:wrap}.site-footer a{min-height:44px;display:inline-flex;align-items:center}.skip{position:absolute;top:-100px;left:12px;background:white;padding:12px;z-index:2}.skip:focus{top:12px}
@media(hover:hover) and (pointer:fine){.button:hover{box-shadow:0 4px 14px #061b3b25}.post-card:hover{border-color:#007F9F}}
@media(max-width:1000px){.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reading-layout{grid-template-columns:minmax(0,3fr) minmax(0,1.2fr)}.reading-nav{grid-column:1/-1;display:flex;gap:18px;border:0;flex-wrap:wrap}.reading-nav .eyebrow{display:none}.featured{grid-template-columns:1fr;gap:4px}.site-header{flex-wrap:wrap}.site-header nav{gap:17px}}
@media(max-width:640px){.featured:has(.featured-cover){grid-template-columns:1fr}.featured:has(.featured-cover)>div{padding:24px}.featured-cover{min-height:0;aspect-ratio:16/9}.card-cover{width:calc(100% + 44px);margin:-22px -22px 20px}main{padding:0 18px 28px}.site-header,.site-footer{padding:18px}.site-header nav{width:100%;gap:16px}.site-header nav .button{width:100%}.journal-hero{padding:32px 0 20px}.featured{padding:24px}.article-grid,.reading-layout{grid-template-columns:minmax(0,1fr)}.article-aside{margin-top:8px}.journal-cta{flex-direction:column;align-items:flex-start;padding:25px}.journal-cta h2{font-size:26px}.article-heading .excerpt{font-size:18px}.post-card{padding:22px}.article-toolbar{align-items:flex-start;flex-direction:column}.empty-state{padding:24px}.cover{margin-bottom:22px}}

/* R111 listing proportions; original Inter/logo/palette intentionally override mockup identity. */
.site-header{padding-top:12px;padding-bottom:12px;min-height:88px}.brand img{width:136px}.journal-hero{position:relative;isolation:isolate;max-width:none;min-height:300px;padding:42px 0 74px;margin:0 -28px;padding-left:28px;padding-right:28px;overflow:hidden;background:#EAF6F8}.journal-hero h1{font-size:clamp(30px,3.65vw,48px);max-width:760px;position:relative;z-index:1}.journal-hero p{position:relative;z-index:1;max-width:730px}.journal-hero p:last-child{font-size:17px}.journal-art{position:absolute;right:0;top:0;width:44%;aspect-ratio:395/245;overflow:hidden;z-index:-1;mask-image:linear-gradient(to right,transparent,#000 30%)}.journal-art img{position:absolute;max-width:none;width:264.56%;left:-164.56%;top:-22.45%;height:auto}.featured{position:relative;margin:-28px 0 24px;z-index:1;gap:0}.featured:has(.featured-cover){grid-template-columns:1.1fr 1fr}.featured-cover{min-height:0;aspect-ratio:2.05;object-fit:cover}.featured:has(.featured-cover)>div{padding:28px 34px;align-self:center}.featured h2{font-size:clamp(27px,3vw,39px)}.featured .article-meta{margin-bottom:12px}.blog-browse{margin:20px 0 12px;display:flex;align-items:center;gap:14px;justify-content:space-between}.topic-links{display:flex;flex-wrap:wrap;gap:8px}.topic-links a{display:inline-flex;align-items:center;min-height:40px;padding:7px 15px;border-radius:24px;background:#EAF6F8;color:#06364F;font-size:12px;text-decoration:none}.topic-links a[aria-current]{background:#06364F;color:#fff}.blog-search{display:flex;gap:6px;align-items:center}.blog-search input{width:180px;min-width:0;min-height:42px;border:1px solid #DFE7ED;border-radius:22px;padding:9px 14px;font:inherit;font-size:13px;color:#061B3B;background:#fff}.blog-search button{border:0;cursor:pointer;padding:9px 14px}.browse-note{font-size:12px;color:#65758B;margin:0 0 18px}.article-grid{gap:20px}.post-card{padding:18px}.post-card h3{font-size:21px;margin-bottom:8px}.post-card p{font-size:14px;line-height:1.5;margin-bottom:12px}.post-card .article-meta{font-size:12px}.card-cover{width:calc(100% + 36px);margin:-18px -18px 16px;aspect-ratio:2/1}.reading-time{font-size:12px;color:#65758B;margin-top:auto}.post-card>a:last-child{font-size:13px;min-height:32px}.pager{margin:22px 0}.pager span{background:#007F9F;color:#fff;border-radius:24px;padding:8px 15px;font-size:13px}.journal-cta{margin:22px -28px 0;padding:26px 36px;border-radius:0}.journal-cta h2{font-size:27px}.journal-cta p{font-size:14px}.site-footer{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:28px;padding-top:28px}.site-footer h2{font-size:14px;letter-spacing:0;margin-bottom:8px}.site-footer nav{display:flex;flex-direction:column;gap:0;align-items:flex-start}.site-footer nav a{min-height:30px;font-size:12px}.site-footer .brand img{width:120px}.footer-copyright{grid-column:1/-1;margin:0;font-size:12px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.blog-browse{align-items:flex-start;flex-direction:column}.journal-hero h1{max-width:72%}.journal-art{width:52%;height:auto;aspect-ratio:395/245}.journal-hero p:last-child{max-width:55%}.featured:has(.featured-cover)>div{padding:24px}.featured h2{font-size:29px}.site-footer{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.journal-hero{margin:0 -18px;padding:30px 18px 160px;min-height:0}.journal-hero h1{max-width:100%;font-size:32px}.journal-hero p:last-child{font-size:16px;max-width:100%}.journal-art{top:auto;bottom:0;right:0;width:100%;height:160px;mask-image:linear-gradient(to bottom,transparent,#000 25%)}.journal-art img{width:264.56%;left:-164.56%;top:-14vw;}.featured{margin-top:-14px}.featured:has(.featured-cover){grid-template-columns:1fr}.featured-cover{aspect-ratio:1.8}.featured h2{font-size:27px}.blog-search{width:100%}.blog-search input{flex:1;width:100%}.topic-links a{min-height:44px}.article-grid{gap:18px}.post-card{padding:18px}.card-cover{width:calc(100% + 36px);margin:-18px -18px 16px}.journal-cta{margin:28px -18px 0;padding:26px 18px}.site-footer{gap:24px 18px}.site-footer>div:first-child{grid-column:1/-1}.site-footer nav a{min-height:36px}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{background:#fff}.site-header,.site-footer{border-color:#e2e9f1}
.journal-hero{background:#f3f7fc}
.featured,.post-card,.article-aside,.empty-state{border-color:#e0e8f1;border-radius:14px;box-shadow:0 2px 9px rgb(6 27 59 / 4%)}
.featured,.post-card,.article-aside{background:#fff}.empty-state{background:#f4f8fd}
.topic-links a{background:#edf4fc}.topic-links a[aria-current]{background:#06364F;color:#fff}
.button{border-radius:11px}.blog-search input{border-color:#dce6f0}.journal-cta{border-radius:16px}
.card-cover{border-radius:13px 13px 0 0}
@media(hover:hover) and (pointer:fine){.post-card:hover{border-color:#bdd0e2;box-shadow:0 5px 16px rgb(6 27 59 / 6%)}.topic-links a:not([aria-current]):hover{background:#e4eefb}}
@keyframes dfx-blog-enter-r144{from{opacity:.84;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
 .journal-hero>h1,.journal-hero>.eyebrow,.article-heading>h1{animation:dfx-blog-enter-r144 260ms cubic-bezier(.2,.7,.2,1) both}
 .post-card,.topic-links a{transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease}
 .journal-hero:focus-within>h1,.article-heading:focus-within>h1{animation:none}
}
@media(prefers-reduced-motion:reduce){.journal-hero>h1,.journal-hero>.eyebrow,.article-heading>h1{animation:none}.post-card,.topic-links a{transition:none}}

/* Locked brand palette. Import once in every web surface. */
:root {
  --dfx-ink: #061B3B;
  --dfx-primary: #06364F;
  --dfx-accent: #007F9F;
  --dfx-surface: #FFFFFF;
  --dfx-muted: #65758B;
  --dfx-border: #DFE7ED;
  --dfx-selected: #EAF6F8;
  /* Self-hosted visual match to the approved main-page sans-serif reference.
     The original raster font identity is unknown; no per-screen overrides. */
  --dfx-font-family: 'Inter', sans-serif;
  --dfx-weight-body: 400;
  --dfx-weight-label: 500;
  --dfx-weight-control: 600;
  --dfx-weight-heading: 700;
}

:root {
  --dfx-feedback-fast: 160ms;
  --dfx-feedback-ease: cubic-bezier(.2, .7, .2, 1);
}

:is(button, a.button):focus-visible {
  outline: 3px solid var(--dfx-accent);
  outline-offset: 3px;
}
.solutions a.service:focus-visible {
  outline: 3px solid var(--dfx-surface);
  outline-offset: -4px;
}
:is(button, a.button)[aria-busy="true"] { cursor: progress; }
.customer-workspace :is(input, select, textarea)[aria-invalid="true"],
.auth-form :is(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--panel-failed, #b42318);
}

@media (prefers-reduced-motion: no-preference) {
  :is(button, a.button) {
    transition: background-color var(--dfx-feedback-fast) ease,
      border-color var(--dfx-feedback-fast) ease,
      box-shadow var(--dfx-feedback-fast) ease,
      transform var(--dfx-feedback-fast) var(--dfx-feedback-ease);
  }
  :is(a.service, a.dashboard-stat, .overview-work-grid a) {
    transition: background-color var(--dfx-feedback-fast) ease,
      box-shadow var(--dfx-feedback-fast) ease;
  }
  @media (hover: hover) and (pointer: fine) {
    :is(button, a.button):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover {
      transform: translateY(-1px);
      box-shadow: 0 3px 10px color-mix(in srgb, var(--dfx-primary) 16%, transparent);
    }
  }
  :is(button, a.button):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):active {
    transform: translateY(1px);
    transition-duration: 80ms;
  }
}

@media (hover: hover) and (pointer: fine) {
  .solutions a.service:hover { box-shadow: inset 0 0 0 1px #ffffff50; }
  :is(a.dashboard-stat, .overview-work-grid a):hover {
    box-shadow: inset 0 0 0 1px var(--dfx-accent);
  }
}

@media (max-width: 760px), (pointer: coarse) {
  :is(.public-header, .public-footer, .site-header, .site-footer) nav a,
  .header-actions > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  :is(.public-header, .public-footer, .site-header, .site-footer) nav { row-gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :is(button, a.button, a.service, a.dashboard-stat, .overview-work-grid a) {
    transition: none;
    transform: none;
  }
}

/* Shared interaction finish. Global rules cover link/button decoration;
   corners and gradients below use explicit surface boundaries. Import last.
   No layout, typography or state
   colors are changed. Native check/radio/range/file controls, tabs, pill badges,
   joined table rows and authentication surfaces retain their existing shapes. */
/* The owner requested no word/icon underlines in any interaction state. The
   important flag intentionally wins legacy hover rules, without touching
   editorial <u>/<del> text, colors, button fills or navigation selection. */
:is(a[href], button):is(:link, :visited, :hover, :active, :focus, :focus-visible),
button {
  text-decoration-line: none !important;
}

/* Keep a non-color keyboard cue after removing link underlines. Existing
   higher-specificity white outlines on dark surfaces remain authoritative. */
:where(a[href], button):focus-visible {
  outline: 3px solid var(--dfx-accent, #007f9f);
  outline-offset: 3px;
}

/* Approved resting non-color differentiation for otherwise unshaped prose
   links. Navigation, CTA buttons, media and heading links keep their weights. */
:where(p, li, dd, td, figcaption) > a[href]:not(.button):not([class*="button"]):not(:has(img, svg)):not(:where(nav *)) {
  font-weight: var(--dfx-weight-control, 600);
}
@media (prefers-reduced-motion: no-preference) {
  :where(a[href]:not(.button)) {
    transition: color var(--dfx-feedback-fast, 160ms) ease,
      background-color var(--dfx-feedback-fast, 160ms) ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(a[href], button) { transition: none; }
}

/* Public/legal/blog pages share this header marker; the React application does
   not. Only existing boxed CTA classes opt in, never hamburger/media controls,
   inline links, native widgets or the public sign-in form's own controls. */
body:has([data-responsive-header]) {
  --dfx-public-control-finish: linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 7%));
}
body:has([data-responsive-header]) :is(a.button, button.button, .lf-primary, .lf-secondary, .lf-final-link) {
  border-radius: 8px;
}
body:has([data-responsive-header]) :is(a.button, button.button, .lf-primary, .lf-final-link):not(.secondary):not(.light):not(.danger):not(.destructive):not(:disabled):not([aria-disabled="true"]) {
  background-image: var(--dfx-public-control-finish);
  --dfx-control-lighting-highlight: rgb(255 255 255 / 10%);
}

.dashboard-clean:is([data-panel="customer"], [data-panel="admin"]) .shell .workspace {
  --dfx-control-radius: 8px;
  --dfx-card-radius: 10px;
  --dfx-control-finish: linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 7%));
}

.dashboard-clean:is([data-panel="customer"], [data-panel="admin"]) .shell .workspace > main :is(
  button:not([role="tab"]), a.button,
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]),
  select, textarea
):not(:where(.auth-page *, .auth-viewport-frame *, .admin-entry-gate *)) {
  border-radius: var(--dfx-control-radius);
}

/* These are existing standalone bordered cards, not list rows or status chips. */
.dashboard-clean:is([data-panel="customer"], [data-panel="admin"]) .shell .workspace > main :is(
  .card, .empty-card, .overview-card, .cm-card, .as-card, .be-card,
  .manual-card, .pay-panel, .pay-filter-card, .support-panel,
  .order-detail-card, .service-focus-card, .service-builder-summary,
  .price-review-summary, .cart-review-summary, .extension-plan-card,
  .customer-subscription-card, .training-purchase-card
):not(:where(.auth-page *, .auth-viewport-frame *, .admin-entry-gate *)) {
  border-radius: var(--dfx-card-radius);
}

/* Only known filled primary controls receive the finish. Using a translucent
   dark overlay preserves the existing brand base and white-label contrast.
   Without gradient support the existing solid background remains the fallback.
   Unclassified/custom controls deliberately keep their current presentation. */
.dashboard-clean:is([data-panel="customer"], [data-panel="admin"]) .shell .workspace > main :is(
  button:not([class]), button.primary, a.button
):not(.secondary):not(.danger):not(.destructive):not([role="tab"]):not(:disabled):not([aria-disabled="true"]):not(:where(.auth-page *, .auth-viewport-frame *, .admin-entry-gate *)) {
  background-image: var(--dfx-control-finish);
  --dfx-control-lighting-highlight: rgb(255 255 255 / 10%);
}

/* System high-contrast colors remain authoritative, with no decorative fill. */
@media (forced-colors: active) {
  body:has([data-responsive-header]) { --dfx-public-control-finish: none; }
  .dashboard-clean:is([data-panel="customer"], [data-panel="admin"]) .shell .workspace {
    --dfx-control-finish: none;
  }
}

/* Pointer interaction stays quiet; keyboard focus retains its visible outline. */
:where(a[href], button, [role="button"], summary, [tabindex]):not(:focus-visible) {
  outline: none !important;
}
.portfolio-filter label:focus-within:not(:has(:focus-visible)) {
  outline: none !important;
}

/* The sheen is a pointer-transparent decoration above the existing fill. It
   sits below text/icons, preserving their contrast, sizing and hit areas.
   The cart action keeps its existing ::after arrow; use its unused ::before. */
@media screen and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  :where(button, a.button, a[role="button"], .lf-primary, .lf-secondary, .lf-final-link) {
    position: relative;
    isolation: isolate;
  }
  :is(button, a.button, a[role="button"], .lf-primary, .lf-secondary, .lf-final-link):not(.cart-order-primary):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"])::after,
  .cart-order-primary:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"])::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(110deg, transparent 15%, rgb(0 127 159 / 6%) 38%, var(--dfx-control-lighting-highlight, rgb(255 255 255 / 1.5%)) 50%, rgb(0 127 159 / 5%) 62%, transparent 85%);
    background-size: 220% 100%;
    background-position: 100% 0;
    opacity: 0;
  }
  :is(button, a.button, a[role="button"], .lf-primary, .lf-secondary, .lf-final-link):not(.cart-order-primary):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover::after,
  .cart-order-primary:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover::before {
    opacity: 1;
    background-position: 0 0;
  }
  :where(p, li, dd, td, figcaption) > a[href]:not(.button):not([class*="button"]):not(:has(img, svg)):not(:where(nav *)):hover {
    background-image: linear-gradient(110deg, transparent, rgb(0 127 159 / 9%), transparent);
    background-size: 220% 100%;
    background-position: 0 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    :is(button, a.button, a[role="button"], .lf-primary, .lf-secondary, .lf-final-link):not(.cart-order-primary)::after,
    .cart-order-primary::before {
      transition: opacity 160ms ease;
    }
    :is(button, a.button, a[role="button"], .lf-primary, .lf-secondary, .lf-final-link):not(.cart-order-primary):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover::after,
    .cart-order-primary:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover::before,
    :where(p, li, dd, td, figcaption) > a[href]:not(.button):not([class*="button"]):not(:has(img, svg)):not(:where(nav *)):hover {
      animation: dfx-control-lighting 420ms ease-out 1;
    }
  }
}
@keyframes dfx-control-lighting {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

:root {
  --dfx-popup-radius: 14px;
  --dfx-popup-sheen: rgb(255 255 255 / 60%);
  --dfx-popup-control-radius: 10px;
  --dfx-popup-base: var(--tools-bg, var(--dfx-surface, #fff));
  --dfx-popup-ink: var(--tools-text, var(--dfx-ink, #061b3b));
  --dfx-popup-edge: var(--tools-border, var(--dfx-border, #dfe7ed));
  --dfx-popup-shadow: 0 18px 44px rgb(6 27 59 / 14%), 0 3px 9px rgb(6 27 59 / 6%), inset 0 1px 0 rgb(255 255 255 / 70%);
  --dfx-popup-control-shadow: 0 2px 5px rgb(6 27 59 / 5%), inset 0 1px 0 rgb(255 255 255 / 80%);
}

/* Shared surface treatment only: existing dialog sizes, scrolling, stacking and
   dismissal guards remain owned by each flow. */
html body :is(dialog, .overview-date-editor, .customer-site-menu) {
  border-radius: var(--dfx-popup-radius) !important;
  border-color: var(--dfx-popup-edge) !important;
  background-color: var(--dfx-popup-base) !important;
  background-image: linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(0 127 159 / 3%)) !important;
  box-shadow: var(--dfx-popup-shadow) !important;
}
@supports (backdrop-filter: blur(1px)) {
  html body :is(dialog, .overview-date-editor, .customer-site-menu) {
    background-color: color-mix(in srgb, var(--dfx-popup-base) 94%, transparent) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
  }
}
html body :is(select, .overview-date-filter > summary) {
  border-radius: var(--dfx-popup-control-radius) !important;
  box-shadow: var(--dfx-popup-control-shadow) !important;
}
html body :is(select, .overview-date-filter > summary):not(:focus-visible) {
  outline: none !important;
}
html body :is(select, .overview-date-filter > summary):not(:focus-visible):not([aria-invalid="true"]):not(:disabled) {
  border-color: var(--dfx-popup-edge) !important;
}
html body :is(select, .overview-date-filter > summary):focus-visible {
  outline: 2px solid var(--dfx-accent, #007f9f) !important;
  outline-offset: 3px;
}

/* Native single-select semantics, keyboard/typeahead and form events remain.
   Browsers without customizable select support retain their own accessible picker. */
@supports (appearance: base-select) {
  select:not([multiple]):not([size]), select[size="1"]:not([multiple]),
  select:not([multiple]):not([size])::picker(select), select[size="1"]:not([multiple])::picker(select) {
    appearance: base-select;
  }
  select:not([multiple]):not([size]), select[size="1"]:not([multiple]) {
    align-items: center;
    gap: 8px;
  }
  select:not([multiple]):not([size])::picker-icon, select[size="1"]:not([multiple])::picker-icon {
    color: currentColor;
    opacity: .75;
    flex: none;
  }
  select:not([multiple]):not([size])::picker(select), select[size="1"]:not([multiple])::picker(select) {
    box-sizing: border-box;
    margin-block: 6px;
    padding: 6px;
    border: 1px solid var(--dfx-popup-edge);
    border-radius: var(--dfx-popup-radius);
    background: var(--dfx-popup-base);
    color: var(--dfx-popup-ink);
    box-shadow: var(--dfx-popup-shadow);
    max-block-size: min(340px, 60dvh);
    max-inline-size: calc(100vw - 24px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  @supports (backdrop-filter: blur(1px)) {
    select:not([multiple]):not([size])::picker(select), select[size="1"]:not([multiple])::picker(select) {
      background: color-mix(in srgb, var(--dfx-popup-base) 94%, transparent);
      -webkit-backdrop-filter: blur(18px) saturate(120%);
      backdrop-filter: blur(18px) saturate(120%);
    }
  }
  select:not([multiple]):not([size]) option, select[size="1"]:not([multiple]) option {
    box-sizing: border-box;
    min-block-size: 40px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 0;
    color: var(--dfx-popup-ink);
    background: transparent;
    font: inherit;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    align-items: center;
    gap: 10px;
  }
  select:not([multiple]):not([size]) option:checked, select[size="1"]:not([multiple]) option:checked {
    background-color: var(--tools-hover, var(--dfx-selected, #eaf6f8));
    font-weight: var(--dfx-weight-control, 600);
  }
  select:not([multiple]):not([size]) option:disabled, select[size="1"]:not([multiple]) option:disabled { opacity: .55; }
  select:not([multiple]):not([size]) option:focus-visible, select[size="1"]:not([multiple]) option:focus-visible {
    outline: 2px solid var(--dfx-accent, #007f9f);
    outline-offset: -2px;
  }
  @media (hover: hover) and (pointer: fine) {
    select:not([multiple]):not([size]) option:not(:disabled):hover, select[size="1"]:not([multiple]) option:not(:disabled):hover {
      background-color: var(--tools-hover, var(--dfx-selected, #eaf6f8));
      background-image: linear-gradient(110deg, rgb(0 127 159 / 4%), var(--dfx-popup-sheen), rgb(0 127 159 / 6%));
    }
    @media (prefers-reduced-motion: no-preference) {
      select:not([multiple]):not([size]) option, select[size="1"]:not([multiple]) option { transition: background-color 160ms ease; }
      select:not([multiple]):not([size]) option:not(:disabled):hover, select[size="1"]:not([multiple]) option:not(:disabled):hover { background-size: 200% 100%; animation: dfx-popup-option-light 320ms ease-out 1; }
    }
  }
}

@media (max-width: 600px) {
  html body [data-responsive-header] > nav[aria-label="Main navigation"] {
    border-radius: var(--dfx-popup-radius);
    border-color: var(--dfx-popup-edge);
    background: var(--dfx-popup-base);
    box-shadow: var(--dfx-popup-shadow);
  }
  @supports (backdrop-filter: blur(1px)) {
    html body [data-responsive-header] > nav[aria-label="Main navigation"] {
      background: color-mix(in srgb, var(--dfx-popup-base) 94%, transparent);
    }
  }
}
@media (hover: hover) and (pointer: fine) {
  html body .customer-site-menu a:hover,
  html body [data-responsive-header][data-menu-open="true"] > nav > a:hover {
    background-color: var(--tools-hover, var(--dfx-selected, #eaf6f8));
    background-image: linear-gradient(110deg, rgb(0 127 159 / 4%), var(--dfx-popup-sheen), rgb(0 127 159 / 6%));
  }
}
@media (prefers-reduced-transparency: reduce) {
  html body :is(dialog, .overview-date-editor, .customer-site-menu),
  html body [data-responsive-header][data-menu-open="true"] > nav {
    background-color: var(--dfx-popup-base) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  select::picker(select) { background: var(--dfx-popup-base) !important; backdrop-filter: none; }
}
@media (forced-colors: active) {
  html body :is(dialog, .overview-date-editor, .customer-site-menu),
  html body [data-responsive-header][data-menu-open="true"] > nav {
    background: Canvas !important;
    color: CanvasText !important;
    border-color: CanvasText !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  select::picker(select) { background: Canvas !important; color: CanvasText !important; border-color: CanvasText !important; box-shadow: none !important; backdrop-filter: none; }
  html body :is(select, .overview-date-filter > summary) { box-shadow: none !important; }
  html body :is(select, .overview-date-filter > summary):focus-visible { outline-color: Highlight !important; }
  select option { background-image: none !important; animation: none !important; }
  select option:checked { background: Highlight !important; color: HighlightText !important; }
  select option:focus-visible { outline-color: Highlight !important; }
}


/* Typing fields match :focus-visible even after a mouse click. The tiny shared
   modality helper keeps pointer focus quiet while Tab/keyboard focus is visible.
   Without JavaScript, existing accessible browser focus remains unchanged. */
html[data-dfx-focus-source="pointer"] body :is(input, select, option, textarea, button, a[href], summary, [role="button"], [tabindex]):focus {
  outline: none !important;
}
html[data-dfx-focus-source="pointer"] body :is(input, select, textarea):focus {
  box-shadow: none !important;
}
html[data-dfx-focus-source="pointer"] body :is(.india-mobile-entry, .payment-phone-input, .portfolio-filter label):focus-within {
  outline: none !important;
}

/* Script-free native Blog keeps a neutral visible focus cue without relaxing CSP. */
html:not([data-dfx-focus-source]) body .blog-search input:focus-visible{outline:2px solid var(--dfx-ink,#061b3b);outline-offset:2px}

@keyframes dfx-popup-option-light{from{background-position:100% 0}to{background-position:0 0}}

html[data-site-theme="dark"]{--dfx-popup-sheen:rgb(255 255 255 / 6%)}
@media (pointer: coarse) {
  select:not([multiple]):not([size]) option, select[size="1"]:not([multiple]) option { min-block-size: 44px; }
}
