/* DREAM BLANKS | monochrome garment zipper scrollbar + mobile Quick Help.
   Public front-end only. Native scrolling remains the source of truth. */
@media screen {
  :root { --db-zipper-width:16px; }
  /* Graceful native scrollbar for users without JavaScript / forced colors. */
  @supports selector(::-webkit-scrollbar) {
    html:has(body.db-public):not(.db-zipper-ready)::-webkit-scrollbar { width:14px; }
    html:has(body.db-public):not(.db-zipper-ready)::-webkit-scrollbar-track { background:repeating-linear-gradient(0deg,#444 0 2px,#151515 2px 6px); }
    html:has(body.db-public):not(.db-zipper-ready)::-webkit-scrollbar-thumb { background:#a9a9a9;border:3px solid #262626;border-radius:4px; }
  }
  html.db-zipper-ready {scrollbar-width:none}
  html.db-zipper-ready::-webkit-scrollbar {width:0;height:0;display:none}
  html.db-zipper-ready body.db-public {padding-right:var(--db-zipper-width)}
  .db-zipper-rail {
    position:fixed;right:0;top:var(--db-public-header-height,0px);bottom:0;width:var(--db-zipper-width);
    z-index:57;display:block;isolation:isolate;background:linear-gradient(90deg,#080808,#242424 27%,#242424 73%,#080808);
    border-left:1px solid #555;cursor:ns-resize;touch-action:none;user-select:none;overflow:hidden;
  }
  .db-zipper-rail[hidden] {display:none!important}
  .db-zipper-rail::before {
    content:"";position:absolute;top:0;bottom:0;left:3px;right:3px;pointer-events:none;
    /* Offset metal teeth on two fabric tapes, meeting at the center seam. */
    background-image:repeating-linear-gradient(to bottom,#b9b9b9 0 2px,#626262 2px 3px,transparent 3px 7px),
      repeating-linear-gradient(to bottom,transparent 0 3px,#e1e1e1 3px 5px,#747474 5px 6px,transparent 6px 7px);
    background-size:56% 100%,56% 100%;background-position:left top,right top;background-repeat:no-repeat;
    filter:drop-shadow(0 1px 0 #000);
  }
  .db-zipper-slider {
    position:absolute;top:0;left:1px;right:1px;height:48px;pointer-events:none;transform:translateY(0);
    filter:drop-shadow(0 2px 2px #000b);
  }
  .db-zipper-slider::before {
    content:"";position:absolute;left:0;right:0;top:0;height:26px;
    background:linear-gradient(105deg,#484848 0%,#e0e0e0 25%,#aaa 46%,#efefef 65%,#656565 100%);
    border:1px solid #202020;border-radius:4px 4px 5px 5px;clip-path:polygon(0 0,100% 0,89% 100%,11% 100%);
  }
  .db-zipper-slider::after {
    content:"";position:absolute;top:14px;left:3px;right:3px;height:31px;
    border:2px solid #dedede;border-radius:3px 3px 5px 5px;background:linear-gradient(#333 0 33%,#111 33% 82%,#777 82%);
    box-shadow:inset 0 0 0 1px #444,0 1px 0 #000;
  }
  .db-zipper-rail:focus-visible {outline:2px solid white;outline-offset:-2px}
  html.db-intro-active .db-zipper-rail,html.db-faq-modal-open .db-zipper-rail {visibility:hidden}
  @media(max-width:700px) {
    :root {--db-zipper-width:10px}
    /* No touch interception; mobile users swipe normally. The zipper still follows their scroll. */
    html.db-zipper-ready body.db-public {padding-right:0}
    .db-zipper-rail {pointer-events:none;opacity:.88}
    .db-zipper-rail::before {left:1px;right:1px}
    .db-zipper-slider {left:0;right:0;height:34px}
    .db-zipper-slider::before {height:19px}
    .db-zipper-slider::after {top:10px;left:2px;right:2px;height:21px;border-width:1px}
  }
  /* Compact icon + readable inquiry label: one accessible link, never two controls. */
  body.db-public .db-inquiry-symbol {display:block;width:22px;height:22px;flex:0 0 22px}
  body.db-public .db-inquire-label {display:inline-block;white-space:nowrap;font-weight:850;line-height:1.2;letter-spacing:.055em}
  body.db-public .db-global-actions .db-inquire-icon,
  body.db-public .db-inquire-icon {display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:auto;min-width:0;min-height:44px;padding:10px 16px;flex:0 0 auto;border-radius:999px;font-size:11px;text-decoration:none}
  body.db-public .db-global-actions .db-inquire-icon:hover {background:#d9d9d9}
  body.db-public .db-global-mobile .db-mobile-inquire {display:flex;justify-content:center;align-items:center;gap:9px}
  body.db-page-landing .hero .hero-actions {flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;width:100%}
  body.db-page-landing .hero .hero-actions .db-inquire-icon {width:auto;height:auto;min-width:0;min-height:50px;flex:0 0 auto;padding:12px 19px;gap:8px;border-radius:999px;background:#fafafa;color:#121212;border:1px solid #fafafa;font-size:12px}
  body.db-page-landing .hero .hero-actions .db-inquire-icon:hover {background:#ddd;border-color:#ddd}
  body.db-page-landing .hero .hero-actions .db-explore-products {width:auto;min-height:50px;flex:0 1 auto;display:inline-flex;align-items:center;justify-content:center}
  body.db-public .db-inquire-icon:focus-visible {outline:2px solid #999;outline-offset:3px}
  @media(max-width:700px) {
    body.db-public .db-global-actions .db-global-btn.db-inquire-icon {display:inline-flex;width:auto;height:auto;min-height:40px;min-width:0;flex:0 0 auto;padding:9px 10px;gap:5px;font-size:9px;letter-spacing:.025em}
    body.db-public .db-global-actions .db-inquire-label {letter-spacing:.025em}
    body.db-public .db-global-actions .db-inquiry-symbol {width:17px;height:17px;flex-basis:17px}
    body.db-public .db-global-actions {gap:7px}
    body.db-page-landing .hero .hero-actions .db-inquire-icon,
    body.db-page-landing .hero .hero-actions .db-explore-products {flex:1 1 auto;min-height:48px;padding:10px 12px;font-size:11px}
  }
  @media(max-width:375px) {
    /* Keep the full inquiry label, client login and menu visible even at 320px.
       On the narrowest phones use the recognizable DB brand mark alone. */
    body.db-public .db-global-actions {gap:5px}
    body.db-public .db-global-nav {gap:7px}
    body.db-public .db-global-brand {gap:6px}
    body.db-public .db-global-brand img {width:46px;height:32px}
    body.db-public .db-global-brand-text {display:none}
    body.db-public .db-global-actions .db-global-client-icon {width:37px;height:37px;min-width:37px;min-height:37px;flex:0 0 37px}
  }
  /* Desktop popup, mobile modal: one scroll container and permanently available search/close. */
  body.db-page-landing .db-faq-backdrop {position:fixed;inset:0;z-index:128;background:#0009;backdrop-filter:blur(3px);display:none}
  body.db-page-landing .db-faq-backdrop[hidden] {display:none!important}
  body.db-page-landing .float-chat-toggle {right:calc(22px + var(--db-zipper-width));z-index:132}
  body.db-page-landing .float-chat-panel {
    z-index:130;right:calc(22px + var(--db-zipper-width));max-height:min(700px,calc(100dvh - var(--db-public-header-height,100px) - 105px));overflow:hidden;
    min-width:0;flex-direction:column;box-shadow:0 20px 60px #0006;border:1px solid #565656;
  }
  body.db-page-landing .float-chat-panel.open {display:flex}
  body.db-page-landing .float-chat-panel.is-full {
    top:calc(var(--db-public-header-height,100px) + 12px);bottom:22px;right:calc(22px + var(--db-zipper-width));height:auto;max-height:none;
    width:min(840px,calc(100vw - 64px));
  }
  body.db-page-landing .float-chat-panel.is-full .float-chat-body {width:100%;max-width:none}
  body.db-page-landing .float-chat-top {position:relative;top:auto;flex:0 0 auto;padding:13px 16px;gap:10px}
  body.db-page-landing .db-faq-window-controls {display:flex;gap:6px;flex-shrink:0}
  body.db-page-landing .db-faq-window-controls button {width:36px;height:36px;flex:0 0 36px;cursor:pointer}
  body.db-page-landing .db-faq-searchbar {flex:0 0 auto;background:#fafafa;border-bottom:1px solid #d0d0ce;padding:10px 14px}
  body.db-page-landing .db-faq-searchbar label {font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.075em;display:block;margin-bottom:5px;color:#333}
  body.db-page-landing .db-faq-searchbar .chat-search {position:static;margin:0;padding:0;background:transparent;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  body.db-page-landing .db-faq-searchbar input {min-width:0;width:100%;padding:10px 12px;font-size:16px;min-height:44px;border:1px solid #b7b7b7;border-radius:5px}
  body.db-page-landing .db-faq-searchbar button {font-size:11px;min-height:44px;border-radius:5px;background:#111;border-color:#111;color:white;padding:9px 14px}
  body.db-page-landing .float-chat-body {flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:15px}
  body.db-page-landing .float-chat-panel .chat-categories {flex-wrap:wrap;overflow:visible;gap:5px}
  body.db-page-landing .float-chat-panel .chat-category {min-height:38px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  body.db-page-landing .float-chat-panel .faq-list {max-height:none;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:0}
  body.db-page-landing .float-chat-panel .faq-btn {width:100%;min-height:44px;max-width:100%;padding:11px 30px 11px 12px;white-space:normal;overflow-wrap:anywhere;font-size:13px}
  body.db-page-landing .float-chat-panel .faq-btn.is-selected,
  body.db-page-landing .float-chat-panel .faq-btn.is-selected:hover {background:#151515;border-color:#151515;color:white}
  body.db-page-landing .float-chat-panel .faq-btn.is-selected:after {color:white}
  body.db-page-landing .float-chat-panel .chat-answer {margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
  body.db-page-landing .float-chat-panel .chat-actions {grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:7px}
  body.db-page-landing .float-chat-panel .chat-actions a {overflow-wrap:anywhere;min-height:44px;display:flex;align-items:center;justify-content:center}
  body.db-page-landing .float-chat-panel .messenger-wide {white-space:normal;text-align:center;min-height:44px}
  body.db-page-landing .float-chat-toggle[aria-expanded="true"] {z-index:131}
  html.db-faq-expanded body.db-page-landing .float-chat-toggle {visibility:hidden}
  @media(max-width:700px), (max-height:540px) {
    html.db-faq-modal-open,html.db-faq-modal-open body.db-page-landing {overflow:hidden!important;overscroll-behavior:none}
    body.db-page-landing .db-faq-backdrop:not([hidden]) {display:block}
    body.db-page-landing .float-chat-toggle {bottom:calc(12px + env(safe-area-inset-bottom,0px));right:calc(12px + var(--db-zipper-width));}
    html.db-faq-modal-open body.db-page-landing .float-chat-toggle {visibility:hidden}
    body.db-page-landing .float-chat-panel.open,
    body.db-page-landing .float-chat-panel.open.is-full {
      left:8px!important;right:8px!important;top:calc(var(--db-faq-vv-top,0px) + max(8px,env(safe-area-inset-top,0px)));
      bottom:auto!important;width:auto!important;height:calc(var(--db-faq-vv-height,100dvh) - max(8px,env(safe-area-inset-top,0px)) - max(8px,env(safe-area-inset-bottom,0px)))!important;
      max-height:none!important;max-width:none;margin:0;border-radius:12px;animation:none;
    }
    body.db-page-landing .float-chat-top {padding:12px;gap:8px}
    body.db-page-landing .qa-site-logo {width:49px}
    body.db-page-landing .qa-site-brand {gap:8px}
    body.db-page-landing .qa-site-copy strong {font-size:15px}
    body.db-page-landing .float-chat-top .float-chat-size,
    body.db-page-landing .float-chat-top .db-faq-minimize {display:none}
    body.db-page-landing .float-chat-top .db-faq-dismiss {width:44px;height:44px;flex:0 0 44px;font-size:25px}
    body.db-page-landing .db-faq-searchbar {padding:10px 12px}
    body.db-page-landing .float-chat-body {padding:12px 12px 20px}
    body.db-page-landing .float-chat-body .qa-intro {margin:0;padding:12px}
    body.db-page-landing .float-chat-panel .faq-btn {font-size:14px}
  }
  @media(prefers-reduced-motion:reduce) {
    body.db-page-landing .float-chat-panel.open {animation:none;transition:none}
    html:has(body.db-page-landing) {scroll-behavior:auto}
  }
  @media(forced-colors:active) {
    html.db-zipper-ready {scrollbar-width:auto}
    html.db-zipper-ready::-webkit-scrollbar {width:auto;display:block}
    html.db-zipper-ready body.db-public {padding-right:0}
    .db-zipper-rail {display:none}
  }
}
@media print { .db-zipper-rail,.db-faq-backdrop {display:none!important} }


/* Meaningful, monochrome CTA symbols. Keep current text and button layout. */
body.db-public .db-cta-symbol{display:inline-block;width:18px;height:18px;flex:0 0 18px;vertical-align:middle}
body.db-public .db-catalog-cta{gap:8px}
body.db-public .db-detail-quote{display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.db-public .db-cta-with-icon{gap:8px}
body.db-public .db-contact-cta-links .db-cta-symbol{width:18px;height:18px;flex-basis:18px}
body.db-public .db-global-actions .db-inquiry-symbol{width:20px;height:20px;flex-basis:20px}
@media(max-width:700px){body.db-public .db-global-actions .db-inquiry-symbol{width:17px;height:17px;flex-basis:17px}}
