/* The themed header and footer (components/themed, ThemedFrame). Loaded only by ThemedFrame, after themes.css.
   Copied from the designer's "Themes 2026-11-15" preview/assets/base.css and layouts.css (his class names and --ol-*
   tokens), every rule scoped under [data-theme] so nothing reaches the classic pages. Additions are marked "stage:":
   - the old site's stylesheets stay in the document (bootstrap, sitestyles, eshop), so a few of their global rules are
     undone inside the frame (links in Arial 14px, h4 in Playfair, focus outlines removed with !important, the
     counters' absolute badges, bootstrap's .btn);
   - parts the preview did not have: sub-menus and the account menu (.dd), the cart/quotation counters (.hdr-cart),
     the account inside the phone menu (.acct-m), the suggestion list of the code search (.suggest), the skip link.
   No colour is written here: every colour comes from a token (or is a mix of a token with transparent). */

/* ---------- base.css: shared ---------- */
.olt[data-theme]{background:var(--ol-color-bg);color:var(--ol-color-text);font-family:var(--ol-font-body);font-size:var(--ol-text-body);
  font-weight:var(--ol-font-body-weight);line-height:var(--ol-text-line-height);-webkit-font-smoothing:antialiased;min-width:0}
[data-theme] *,[data-theme] *::before,[data-theme] *::after{box-sizing:border-box}
[data-theme] img{max-width:100%;display:block}
[data-theme] a{color:inherit;font-family:inherit;font-size:inherit}
[data-theme] b,[data-theme] strong{font-weight:var(--ol-font-strong-weight)}
[data-theme] button,[data-theme] input,[data-theme] select,[data-theme] textarea{font:inherit;color:inherit}
[data-theme] p{margin:0}
[data-theme] h1,[data-theme] h2,[data-theme] h3,[data-theme] h4{color:inherit}
/* stage: eshop.css / commonStyles.css remove every focus outline with !important */
[data-theme] :focus-visible{outline:3px solid var(--ol-color-focus)!important;outline-offset:2px}
[data-theme] [hidden]{display:none!important}
[data-theme] .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}
[data-theme] .wrap{max-width:calc(var(--ol-space-container) + 2 * var(--ol-space-gutter));margin:0 auto;padding:0 var(--ol-space-gutter)}
/* stage: skip link, shown when it has the keyboard focus */
[data-theme] .olt-skip{position:absolute;left:8px;top:-60px;z-index:80;background:var(--ol-color-surface);color:var(--ol-color-text);padding:10px 16px;border-radius:var(--ol-radius-md);box-shadow:var(--ol-shadow-overlay);text-decoration:none}
[data-theme] .olt-skip:focus{top:8px}
[data-theme] main:focus{outline:none!important}

/* Buttons (stage: bootstrap's .btn line-height, margin and vertical-align undone) */
[data-theme] .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--ol-button-height);padding:0 var(--ol-button-pad-x);
  border-radius:var(--ol-button-radius);font-family:var(--ol-font-body);font-size:var(--ol-button-font-size);font-weight:var(--ol-button-font-weight);
  letter-spacing:var(--ol-button-tracking);text-transform:var(--ol-button-transform);text-decoration:none;border:1.5px solid transparent;cursor:pointer;
  white-space:nowrap;background:none;line-height:1.2;margin:0;vertical-align:middle;
  transition:background-color var(--ol-motion-duration) var(--ol-motion-ease),color var(--ol-motion-duration),border-color var(--ol-motion-duration)}
[data-theme] .btn-primary{background:var(--ol-button-primary-bg);color:var(--ol-button-primary-text)}
[data-theme] .btn-primary:hover{background:var(--ol-button-primary-hover-bg);color:var(--ol-button-primary-text)}
/* stage: the designer's white button and see-through button on the dark bar, with the bar's own tokens */
[data-theme] .btn-white{background:var(--ol-header-text);color:var(--ol-header-bg)}
[data-theme] .btn-white:hover{background:var(--ol-header-muted);color:var(--ol-header-bg)}
[data-theme] .btn-ghost{border-color:color-mix(in srgb,var(--ol-header-text) 70%,transparent);color:var(--ol-header-text)}
[data-theme] .btn-ghost:hover{background:color-mix(in srgb,var(--ol-header-text) 10%,transparent);color:var(--ol-header-text)}
[data-theme] .btn-sm{min-height:calc(var(--ol-button-height) - 8px);padding:0 calc(var(--ol-button-pad-x) - 6px);font-size:calc(var(--ol-button-font-size) - 1px)}
[data-theme] .icon-btn{display:none;background:none;border:0;color:inherit;padding:10px;cursor:pointer;line-height:0}
[data-theme] .m-only{display:none!important}

/* Search (spec's header; the form is Home2Search's) */
[data-theme] .search{position:relative;display:flex;align-items:stretch;background:var(--ol-color-surface);border:1.5px solid var(--ol-color-line-strong);border-radius:var(--ol-radius-md);max-width:640px}
[data-theme] .search>svg{flex:none;align-self:center;margin-left:14px;color:var(--ol-color-text-muted)}
[data-theme] .search input{flex:1;border:0;background:transparent;padding:0 14px;min-height:48px;min-width:0;font-size:16px;color:var(--ol-color-text)}
[data-theme] .search input:focus{outline:none!important}
[data-theme] .search:focus-within{box-shadow:0 0 0 2px var(--ol-color-focus)}
[data-theme] .search .btn{border-radius:0 var(--ol-radius-md) var(--ol-radius-md) 0;min-height:48px;background:var(--ol-button-primary-bg);color:var(--ol-button-primary-text);border:0}
[data-theme] .search .btn:hover{background:var(--ol-button-primary-hover-bg)}
/* stage: the suggestion list of Home2Search */
[data-theme] .search .suggest{position:absolute;left:-1.5px;right:-1.5px;top:calc(100% + 4px);z-index:60;list-style:none;margin:0;padding:4px 0;background:var(--ol-color-surface);
  color:var(--ol-color-text);border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-md);box-shadow:var(--ol-shadow-overlay);max-height:70vh;overflow:auto}
[data-theme] .search .suggest li{display:flex;align-items:center;gap:12px;padding:6px 12px;cursor:pointer}
[data-theme] .search .suggest li[aria-selected="true"]{background:var(--ol-color-bg-alt)}
[data-theme] .search .suggest img,[data-theme] .search .suggest .noimg{width:40px;height:40px;flex:none;object-fit:contain;background:var(--ol-card-media-bg);border-radius:var(--ol-radius-sm)}
[data-theme] .search .suggest .txt{display:flex;flex-direction:column;min-width:0}
[data-theme] .search .suggest b{font-family:var(--ol-font-code)}
[data-theme] .search .suggest small{color:var(--ol-color-text-muted);font-size:var(--ol-text-small);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Header base */
[data-theme] .hdr{position:var(--ol-header-position);top:0;z-index:50;background:var(--ol-header-bg);color:var(--ol-header-text);border-bottom:var(--ol-header-border);box-shadow:var(--ol-shadow-header);font-family:var(--ol-font-body)}
[data-theme] .hdr .logo{flex:none}
/* stage: sitestyles.css squeezes ".logo img" to width 50% !important on phones */
[data-theme] .hdr .logo img{height:var(--ol-header-logo-height);width:auto!important;max-width:none}
[data-theme] .hdr-nav a,[data-theme] .hdr-nav .dd-btn{text-decoration:none;font-size:var(--ol-text-nav-size);font-weight:var(--ol-text-nav-weight);letter-spacing:var(--ol-text-nav-tracking);text-transform:var(--ol-text-nav-transform);white-space:nowrap}
[data-theme] .hdr a:hover{text-decoration:none}

/* stage: sub-menus and the account menu */
[data-theme] .dd{position:relative;display:inline-flex}
[data-theme] .dd-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:6px 0;cursor:pointer;color:inherit}
[data-theme] .dd-label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-width:0}
[data-theme] .dd-btn>.ic{transition:transform var(--ol-motion-duration) var(--ol-motion-ease)}
[data-theme] .dd.is-open .dd-btn>.ic{transform:rotate(180deg)}
[data-theme] .dd-menu{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:60;min-width:220px;list-style:none;margin:0;padding:8px 0;
  background:var(--ol-header-bg);color:var(--ol-header-text);border:1px solid color-mix(in srgb,var(--ol-header-text) 18%,transparent);border-radius:var(--ol-radius-md);box-shadow:var(--ol-shadow-overlay)}
[data-theme] .dd.is-open .dd-menu{display:block}
[data-theme] .dd-menu a{display:block;padding:8px 16px;text-decoration:none;font-size:14px;font-weight:var(--ol-font-body-weight);letter-spacing:0;text-transform:none;white-space:nowrap;border:0}
[data-theme] .dd-menu a:hover,[data-theme] .dd-menu a[aria-current]{background:color-mix(in srgb,var(--ol-header-text) 10%,transparent)}
[data-theme] .acct .dd-menu{left:auto;right:0}
[data-theme] .acct .dd-btn{font-size:14px;font-weight:var(--ol-font-strong-weight)}
[data-theme] .acct-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* stage: the cart and quotation counters (eshop.css draws .productsNum as a small absolute badge) */
[data-theme] .hdr-cart{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:13px;white-space:nowrap;padding:4px 6px;border-radius:var(--ol-radius-md)}
[data-theme] .hdr .productsNum,[data-theme] .hdr .productsNumQuotation{position:static;display:inline-block;width:auto;height:auto;min-width:20px;padding:1px 6px;
  border-radius:9px;background:var(--ol-color-accent);color:var(--ol-color-on-accent);font-size:11px;line-height:16px;font-weight:700;text-align:center;vertical-align:middle}
[data-theme] .acct-m{flex-direction:column}
/* stage: the counters' words are read out but not shown on the dark bars (they would push the menu to a second row) */
[data-theme] .hdr.v-modern-bar .cart-l,[data-theme] .hdr.v-darklight-overlay .cart-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[data-theme] .acct-m-name{display:flex;align-items:center;gap:8px;padding:13px 0;font-weight:var(--ol-font-strong-weight);border-bottom:1px solid color-mix(in srgb,var(--ol-header-text) 20%,transparent)}

/* Footer base (stage: font and h4 of the old sitestyles.css undone; the old a:hover rule has !important) */
[data-theme] .ftr{background:var(--ol-footer-bg);color:var(--ol-footer-text);padding:var(--ol-footer-pad-y) 0;font-size:14px;font-family:var(--ol-font-body)}
[data-theme] .ftr a{color:var(--ol-footer-link);text-decoration:none}
[data-theme] .ftr a:hover{text-decoration:underline!important;color:var(--ol-footer-link)}
[data-theme] .ftr h4{margin:0 0 12px;font-family:var(--ol-font-body);font-size:14px;font-weight:500;line-height:1.3;color:var(--ol-footer-link)}
[data-theme] .ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
[data-theme] .ftr .social{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px}
[data-theme] .ftr .social a,[data-theme] .ftr .social span{display:inline-flex;line-height:0}
[data-theme] .ftr .social em{font-size:20px;line-height:20px}
[data-theme] .ftr .legal{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12.5px;color:var(--ol-footer-muted);border-top:1px solid var(--ol-color-line);margin-top:34px;padding-top:18px}

/* ---------- layouts.css: B · Modern ---------- */
[data-theme] .hdr.v-modern-bar .hdr-in{display:flex;align-items:center;gap:28px;min-height:var(--ol-header-height)}
[data-theme] .hdr.v-modern-bar .hdr-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px;flex:1;min-width:0}
[data-theme] .hdr.v-modern-bar .hdr-nav>a,[data-theme] .hdr.v-modern-bar .hdr-nav .dd-btn{opacity:.85;padding:6px 0;border-bottom:2px solid transparent}
[data-theme] .hdr.v-modern-bar .hdr-nav>a:hover,[data-theme] .hdr.v-modern-bar .hdr-nav .dd-btn:hover{opacity:1}
[data-theme] .hdr.v-modern-bar .hdr-nav>a[aria-current],[data-theme] .hdr.v-modern-bar .hdr-nav .dd-btn[aria-current]{opacity:1;border-bottom-color:var(--ol-color-accent)}
[data-theme] .hdr.v-modern-bar .hdr-actions{display:flex;gap:10px;align-items:center}
[data-theme] .hdr.v-modern-bar .btn-sm{min-height:40px;font-size:14px}
/* stage (owner, 28 Nov 2026): the logo stands at the edge of the window and the buttons at the other edge, so the
   whole menu fits in one row */
[data-theme] .hdr.v-modern-bar .hdr-in{max-width:none;padding-left:40px;padding-left:clamp(16px,2.2vw,40px);padding-right:40px;padding-right:clamp(16px,2.2vw,40px)}
/* stage (owner, 1 Dec 2026, late: "the menu was fine before; make it as it was, with the difference that the logo
   goes all the way to the left"): on a wide window the logo stands at the left edge of the window (as on 28 Nov),
   the buttons at the right edge, and the menu in the middle, centred in the room between them (30 Nov). The rule of
   30 Nov that moved the logo to where the page's content starts, and the try of 1 Dec that centred the whole bar
   from 1600 px, are both gone.
   Below 1280 px the menu button takes over (see "phone and tablet"), with the bar as it was. */
@media (min-width:1280px){
  [data-theme] .hdr.v-modern-bar .hdr-nav{justify-content:center}
}
[data-theme] .ftr.v-modern-columns .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
[data-theme] .ftr.v-modern-columns .logo-f{height:34px;width:auto;margin-bottom:14px}
[data-theme] .ftr.v-modern-columns .legal{border-color:color-mix(in srgb,var(--ol-footer-text) 18%,transparent)}

/* ---------- layouts.css: C · Dark Light ---------- */
[data-theme] .hdr.v-darklight-overlay{transition:background-color .5s,box-shadow .5s}
/* stage: the preview centred the menu between two equal columns (1fr auto 1fr); the real menu is longer and the
   signed-in customer's account and counters sit beside it, so the menu takes the free middle space, centred in it */
[data-theme] .hdr.v-darklight-overlay .hdr-in{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:var(--ol-header-height);gap:24px}
[data-theme] .hdr.v-darklight-overlay .hdr-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 30px;gap:4px clamp(18px,1.5vw,30px)}
[data-theme] .hdr.v-darklight-overlay.has-account .hdr-in{column-gap:18px}
[data-theme] .hdr.v-darklight-overlay.has-account .hdr-nav{column-gap:16px}
[data-theme] .hdr.v-darklight-overlay.has-account .hdr-actions{gap:10px}
[data-theme] .hdr.v-darklight-overlay.has-account .acct-name{max-width:150px}
[data-theme] .hdr.v-darklight-overlay .hdr-nav>a,[data-theme] .hdr.v-darklight-overlay .hdr-nav .dd-btn{color:var(--ol-header-muted);padding:6px 0;border-bottom:1px solid transparent;transition:color .3s}
[data-theme] .hdr.v-darklight-overlay .hdr-nav>a:hover,[data-theme] .hdr.v-darklight-overlay .hdr-nav>a[aria-current],
[data-theme] .hdr.v-darklight-overlay .hdr-nav .dd-btn:hover,[data-theme] .hdr.v-darklight-overlay .hdr-nav .dd-btn[aria-current]{color:var(--ol-header-text);border-bottom-color:var(--ol-color-accent)}
[data-theme] .hdr.v-darklight-overlay .hdr-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px}
/* stage: only the search icon shows on wide screens (the preview showed the menu button there too) */
[data-theme] .hdr.v-darklight-overlay .hdr-actions .search-btn{display:inline-flex}
[data-theme] .hdr.v-darklight-overlay .hdr-login{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:12.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--ol-color-accent);white-space:nowrap}
[data-theme] .hdr.v-darklight-overlay.is-overlay{position:absolute;top:auto;left:0;right:0;background:linear-gradient(180deg,color-mix(in srgb,var(--ol-header-bg) 55%,transparent),transparent);box-shadow:none}
[data-theme] .hdr.v-darklight-overlay.is-overlay.is-solid{position:fixed;top:0;background:var(--ol-header-bg);box-shadow:var(--ol-shadow-header)}
[data-theme] .hdr.v-darklight-overlay .productsNum,[data-theme] .hdr.v-darklight-overlay .productsNumQuotation{background:var(--ol-color-accent)}
[data-theme] .ftr.v-darklight-columns .top{display:grid;grid-template-columns:1fr 3fr;gap:48px}
[data-theme] .ftr.v-darklight-columns .logo-f{height:46px;width:auto}
[data-theme] .ftr.v-darklight-columns .cols{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
[data-theme] .ftr.v-darklight-columns h4{text-transform:uppercase;letter-spacing:.2em;font-size:11.5px;color:var(--ol-color-accent);font-weight:500;margin-bottom:18px}
[data-theme] .ftr.v-darklight-columns ul{gap:10px}
[data-theme] .ftr.v-darklight-columns .legal{margin-top:72px}

/* ---------- layouts.css: D · Spec ---------- */
[data-theme] .hdr.v-spec-utility .util{background:var(--ol-header-utility-bg);color:var(--ol-header-utility-text);font-size:13px}
[data-theme] .hdr.v-spec-utility .util-in{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:16px}
[data-theme] .hdr.v-spec-utility .util-in>span{display:inline-flex;align-items:center;gap:8px}
[data-theme] .hdr.v-spec-utility .util-in .ic{color:var(--ol-color-accent)}
[data-theme] .hdr.v-spec-utility .util-r{display:flex;gap:20px}
[data-theme] .hdr.v-spec-utility .util a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
[data-theme] .hdr.v-spec-utility .util a:hover{text-decoration:underline!important}
[data-theme] .hdr.v-spec-utility .hdr-in{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;min-height:var(--ol-header-height)}
[data-theme] .hdr.v-spec-utility .hdr-search{min-width:0}
[data-theme] .hdr.v-spec-utility .hdr-search .search{max-width:680px;width:100%;border-width:2px}
[data-theme] .hdr.v-spec-utility .hdr-search input,[data-theme] .hdr.v-spec-utility .hdr-search .btn{min-height:42px}
[data-theme] .hdr.v-spec-utility .hdr-actions{display:flex;gap:6px;align-items:center}
[data-theme] .hdr.v-spec-utility .hdr-act{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:500;text-decoration:none;padding:4px 10px;border-radius:var(--ol-radius-md);white-space:nowrap}
[data-theme] .hdr.v-spec-utility .hdr-act:hover{background:var(--ol-color-bg-alt)}
[data-theme] .hdr.v-spec-utility .hdr-act b{background:var(--ol-color-accent);border-radius:9px;padding:0 6px;font-size:11px}
[data-theme] .hdr.v-spec-utility .hdr-nav{border-top:1px solid var(--ol-color-line)}
[data-theme] .hdr.v-spec-utility .nav-in{display:flex;flex-wrap:wrap;gap:0 28px}
[data-theme] .hdr.v-spec-utility .hdr-nav a,[data-theme] .hdr.v-spec-utility .hdr-nav .dd-btn{padding:11px 0;border-bottom:3px solid transparent;color:var(--ol-header-text)}
[data-theme] .hdr.v-spec-utility .hdr-nav a:hover,[data-theme] .hdr.v-spec-utility .hdr-nav .dd-btn:hover{color:var(--ol-color-link)}
[data-theme] .hdr.v-spec-utility .hdr-nav a[aria-current],[data-theme] .hdr.v-spec-utility .hdr-nav .dd-btn[aria-current]{border-bottom-color:var(--ol-color-accent)}
[data-theme] .hdr.v-spec-utility .dd-menu a{padding:8px 16px;border:0}
[data-theme] .hdr.v-spec-utility .acct .dd-btn{padding:4px 10px}
[data-theme] .ftr.v-spec-directory .cols{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr 1.4fr;gap:28px}
[data-theme] .ftr.v-spec-directory .f-groups ul{columns:2;column-gap:18px;display:block;font-size:13px}
[data-theme] .ftr.v-spec-directory .f-groups li{margin-bottom:4px;break-inside:avoid}
[data-theme] .ftr.v-spec-directory .num{font-family:var(--ol-font-mono);color:var(--ol-footer-muted)}
[data-theme] .ftr.v-spec-directory h4{text-transform:uppercase;letter-spacing:.06em;font-size:12.5px;font-weight:700}
[data-theme] .ftr.v-spec-directory .legal{align-items:center}
[data-theme] .ftr.v-spec-directory .logo-f{height:22px;width:auto}

/* ---------- reduced motion (base.css) ---------- */
@media (prefers-reduced-motion:reduce){
  [data-theme] *,[data-theme] *::before,[data-theme] *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* ---------- phone and tablet ---------- */
/* stage: the menu button. The designer's switch is at 900 px; with the real menu (7 items, longer than the preview's)
   the Modern bar no longer fits in one row below 1280 px (Dark Light: see below), so it uses the menu button up to there.
   Spec has its own menu row and keeps 900 px. */
@media (max-width:1279px){
  [data-theme] .hdr.v-modern-bar .icon-btn{display:inline-flex}
  [data-theme] .hdr.v-modern-bar .m-only{display:inline-flex!important}
  [data-theme] .hdr.v-modern-bar .hdr-nav{display:none!important}
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;position:absolute;left:0;right:0;top:100%;
    background:var(--ol-header-bg);color:var(--ol-header-text);padding:8px var(--ol-space-gutter-mobile) 20px;gap:0;box-shadow:var(--ol-shadow-overlay);
    border-top:1px solid color-mix(in srgb,var(--ol-header-text) 25%,transparent);max-height:calc(100vh - 100%);overflow-y:auto}
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav a,[data-theme] .hdr.v-modern-bar.is-open .hdr-nav .dd-btn{padding:13px 0;border-bottom:1px solid color-mix(in srgb,var(--ol-header-text) 20%,transparent);font-size:16px;white-space:normal}
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav>div{display:flex;flex-direction:column}
  /* stage: in the opened menu a sub-menu opens in place */
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav .dd{flex-direction:column}
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav .dd-btn{width:100%;justify-content:space-between}
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav .dd-menu{position:static;box-shadow:none;border:0;padding:0 0 0 16px;min-width:0;background:none}
  [data-theme] .hdr.v-modern-bar.is-open .hdr-nav .dd-menu a{padding:11px 0;white-space:normal}
  [data-theme] .hdr.v-modern-bar .hdr-in{justify-content:space-between}
}
/* Dark Light's spaced capitals need more room: the menu button up to 1359 px, and up to 1439 px for a signed-in customer */
@media (max-width:1359px){
  [data-theme] .hdr.v-darklight-overlay .icon-btn{display:inline-flex}
  [data-theme] .hdr.v-darklight-overlay .m-only{display:inline-flex!important}
  [data-theme] .hdr.v-darklight-overlay .hdr-nav{display:none!important}
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;position:absolute;left:0;right:0;top:100%;
    background:var(--ol-header-bg);color:var(--ol-header-text);padding:8px var(--ol-space-gutter-mobile) 20px;gap:0;box-shadow:var(--ol-shadow-overlay);
    border-top:1px solid color-mix(in srgb,var(--ol-header-text) 25%,transparent);max-height:calc(100vh - 100%);overflow-y:auto}
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav a,[data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav .dd-btn{padding:13px 0;border-bottom:1px solid color-mix(in srgb,var(--ol-header-text) 20%,transparent);font-size:16px;white-space:normal}
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav>div{display:flex;flex-direction:column}
  /* stage: in the opened menu a sub-menu opens in place */
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav .dd{flex-direction:column}
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav .dd-btn{width:100%;justify-content:space-between}
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav .dd-menu{position:static;box-shadow:none;border:0;padding:0 0 0 16px;min-width:0;background:none}
  [data-theme] .hdr.v-darklight-overlay.is-open .hdr-nav .dd-menu a{padding:11px 0;white-space:normal}
}
@media (max-width:1439px){
  [data-theme] .hdr.v-darklight-overlay.has-account .icon-btn{display:inline-flex}
  [data-theme] .hdr.v-darklight-overlay.has-account .m-only{display:inline-flex!important}
  [data-theme] .hdr.v-darklight-overlay.has-account .hdr-nav{display:none!important}
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;position:absolute;left:0;right:0;top:100%;
    background:var(--ol-header-bg);color:var(--ol-header-text);padding:8px var(--ol-space-gutter-mobile) 20px;gap:0;box-shadow:var(--ol-shadow-overlay);
    border-top:1px solid color-mix(in srgb,var(--ol-header-text) 25%,transparent);max-height:calc(100vh - 100%);overflow-y:auto}
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav a,[data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav .dd-btn{padding:13px 0;border-bottom:1px solid color-mix(in srgb,var(--ol-header-text) 20%,transparent);font-size:16px;white-space:normal}
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav>div{display:flex;flex-direction:column}
  /* stage: in the opened menu a sub-menu opens in place */
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav .dd{flex-direction:column}
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav .dd-btn{width:100%;justify-content:space-between}
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav .dd-menu{position:static;box-shadow:none;border:0;padding:0 0 0 16px;min-width:0;background:none}
  [data-theme] .hdr.v-darklight-overlay.has-account.is-open .hdr-nav .dd-menu a{padding:11px 0;white-space:normal}
}
@media (max-width:1100px){
  [data-theme] .hdr.v-spec-utility .util-r a:nth-child(n+2){display:none}
}
@media (max-width:900px){
  [data-theme] .hdr.v-spec-utility .icon-btn{display:inline-flex}
  [data-theme] .hdr.v-spec-utility .m-only{display:inline-flex!important}
  [data-theme] .hdr.v-spec-utility .hdr-nav{display:none!important}
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;position:absolute;left:0;right:0;top:100%;
    background:var(--ol-header-bg);color:var(--ol-header-text);padding:8px var(--ol-space-gutter-mobile) 20px;gap:0;box-shadow:var(--ol-shadow-overlay);
    border-top:1px solid color-mix(in srgb,var(--ol-header-text) 25%,transparent);max-height:calc(100vh - 100%);overflow-y:auto}
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav a,[data-theme] .hdr.v-spec-utility.is-open .hdr-nav .dd-btn{padding:13px 0;border-bottom:1px solid color-mix(in srgb,var(--ol-header-text) 20%,transparent);font-size:16px;white-space:normal}
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav>div{display:flex;flex-direction:column}
  /* stage: in the opened menu a sub-menu opens in place */
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav .dd{flex-direction:column}
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav .dd-btn{width:100%;justify-content:space-between}
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav .dd-menu{position:static;box-shadow:none;border:0;padding:0 0 0 16px;min-width:0;background:none}
  [data-theme] .hdr.v-spec-utility.is-open .hdr-nav .dd-menu a{padding:11px 0;white-space:normal}
  [data-theme] .wrap{padding:0 var(--ol-space-gutter-mobile)}
  [data-theme] .hdr .logo img{height:var(--ol-header-logo-height-mobile)}
  [data-theme] .hdr .acct{display:none}
  [data-theme] .hdr .cart-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  /* Modern */
  [data-theme] .hdr.v-modern-bar .hdr-in{min-height:var(--ol-header-height-mobile);gap:8px}
  [data-theme] .hdr.v-modern-bar .hdr-actions{gap:2px}
  [data-theme] .hdr.v-modern-bar .hdr-actions .btn{display:none}
  [data-theme] .ftr.v-modern-columns .cols{grid-template-columns:1fr 1fr}
  [data-theme] .ftr.v-modern-columns .cols>div:first-child{grid-column:1/-1}
  /* Dark Light */
  [data-theme] .hdr.v-darklight-overlay .hdr-in{min-height:var(--ol-header-height-mobile);gap:8px}
  [data-theme] .hdr.v-darklight-overlay .hdr-actions{gap:4px}
  [data-theme] .hdr.v-darklight-overlay .hdr-login span{display:none}
  [data-theme] .ftr.v-darklight-columns .top{grid-template-columns:minmax(0,1fr)}
  [data-theme] .ftr.v-darklight-columns .cols{grid-template-columns:1fr 1fr}
  [data-theme] .ftr.v-darklight-columns .legal{margin-top:40px}
  /* Spec */
  [data-theme] .hdr.v-spec-utility .util-in>span:first-child{font-size:12px}
  [data-theme] .hdr.v-spec-utility .util-r{display:none}
  [data-theme] .hdr.v-spec-utility .hdr-in{grid-template-columns:auto 1fr;gap:10px 14px;min-height:var(--ol-header-height-mobile);padding-top:8px;padding-bottom:10px}
  [data-theme] .hdr.v-spec-utility .hdr-actions{justify-content:flex-end}
  [data-theme] .hdr.v-spec-utility .hdr-act{padding:4px 6px}
  [data-theme] .hdr.v-spec-utility .hdr-act span{font-size:11px}
  [data-theme] .hdr.v-spec-utility .hdr-search{grid-column:1/-1;grid-row:2}
  [data-theme] .hdr.v-spec-utility .hdr-search .search{max-width:none}
  [data-theme] .hdr.v-spec-utility.is-open .nav-in{flex-direction:column;flex-wrap:nowrap;gap:0;padding:0;width:100%;max-width:none;margin:0}
  [data-theme] .ftr.v-spec-directory .cols{grid-template-columns:minmax(0,1fr)}
  [data-theme] .ftr.v-spec-directory .f-groups ul{columns:2}
}

/* ---------- Pure White (designer's round 3, preview/assets/extra.css "O · Pure White"): Modern's structure on a white
   bar. stage: the black logo is chosen in the components (no inverted picture); colours from tokens ---------- */
[data-theme][data-theme="purewhite"] .hdr{border-bottom:var(--ol-header-border)}
[data-theme][data-theme="purewhite"] .btn-primary:hover{background:var(--ol-color-bg);color:var(--ol-color-text);box-shadow:inset 0 0 0 1.5px var(--ol-color-text)}
[data-theme][data-theme="purewhite"] .hdr-nav a[aria-current],[data-theme][data-theme="purewhite"] .hdr-nav .dd-btn[aria-current]{border-bottom-color:var(--ol-color-text)}
/* owner, 2 Dec 2026 ("can it go left, to be at the edge as the logo is"): from 1280 px, where the header shows its
   full bar, the page's content starts where the logo starts and ends where the header's buttons end. The header's
   side space is min(2.2vw,40px); 15px is the window's scroll bar, which 100vw counts in. Replaces the 86 % column
   of 1 Dec (from 1600 px). Below 1280 px nothing changes. */
/* owner, 2 Dec 2026, later ("look at live and make the distances left and right about the same, for the logo and
   for the page"): live keeps its logo 110 px from the left edge, its menu 91 px from the right edge and its content
   about 110 px from both. The side space here is 110 px from a 1530 px window up; between 1280 and 1530 px it grows
   from 40 to 110 px, so that the menu still fits in one row on a small laptop. */
@media (min-width:1280px){[data-theme][data-theme="purewhite"],[data-theme][data-theme="modern"]{--ol-space-container:calc(100vw - 15px - 2 * clamp(40px,calc(40px + (100vw - 1280px) * .28),110px))}}

/* the header: owner, 2 Dec 2026, later ("look at live and make the distances left and right about the same, for the logo and
   for the page"): live keeps its logo 110 px from the left edge, its menu 91 px from the right edge and its content
   about 110 px from both. The side space here is 110 px from a 1530 px window up; between 1280 and 1530 px it grows
   from 40 to 110 px, so that the menu still fits in one row on a small laptop. */
@media (min-width:1280px){[data-theme] .hdr.v-modern-bar .hdr-in{padding-left:110px;padding-left:clamp(40px,calc(40px + (100vw - 1280px) * .28),110px);padding-right:110px;padding-right:clamp(40px,calc(40px + (100vw - 1280px) * .28),110px)}}
