/* Shared runtime styles for the static build of the Claude Design pages.
   Mirrors what the design runtime applied to the page and drives the
   data-if="..." conditionals produced by build.py. */
html,body{height:100%;margin:0}
#dc-root,#dc-root>.sc-host{height:100%}
body{background:var(--bg,#F2F2EF)}
[hidden]{display:none!important}
/* viewport: the runtime's "narrow" is matchMedia('(max-width: 960px)') */
@media (max-width:960px){
  [data-if~="isWide"]{display:none!important}
  html:not([data-menu]) [data-if~="menuOpen"]{display:none!important}
  html:not([data-side]) [data-if~="showSide"]{display:none!important}
}
@media (width > 960px){
  [data-if~="isNarrow"]{display:none!important}
  [data-if~="menuOpen"]{display:none!important}
}
/* theme toggle icon */
html:not([data-mode="auto"]) [data-if~="isAuto"]{display:none!important}
html:not([data-mode="dark"]) [data-if~="isDark"]{display:none!important}
html:not([data-mode="light"]) [data-if~="isLight"]{display:none!important}
/* cookie banner */
html[data-cookies] [data-if~="showCookies"]{display:none!important}
/* checkout: company fields */
html:not([data-company]) [data-if~="isCompany"]{display:none!important}
/* withdraw form -> confirmation */
html[data-withdrawn] [data-if~="showForm"]{display:none!important}
html:not([data-withdrawn]) [data-if~="showDone"]{display:none!important}
