/* kodza-guard 9c5286696e96 — generated by Kodza, do not edit.
   Theme guard: keeps a site's own CSS (WordPress themes, Bootstrap, CSS resets…) off this
   component. :not(#_) is always true and weighs as much as an id, so these lines win over
   theme rules made of classes and tags. Customise the component through its --kz-* variables. */

/* What the browser gives, where the component sets it only in some states: at the lowest weight, so its own rules below put it back */

:where(.kodza-code__copy):not(#_) {
  outline: revert;
  outline-offset: revert;
}

/* What the browser gives, on everything the component leaves to it */

.kodza-code:not(#_) {
  border: revert;
  padding: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  position: revert;
  outline-offset: revert;
  appearance: revert;
  max-height: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-code__head:not(#_) {
  margin: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  border-top-width: revert;
  border-right-width: revert;
  border-left-width: revert;
  border-top-style: revert;
  border-right-style: revert;
  border-left-style: revert;
  border-top-color: revert;
  border-right-color: revert;
  border-left-color: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-code__file:not(#_),
.kodza-code__words:not(#_),
.kodza-code__line:not(#_),
.kodza-code__c:not(#_),
.kodza-code__p:not(#_),
.kodza-code__s:not(#_),
.kodza-code__k:not(#_),
.kodza-code__prompt:not(#_),
.kodza-code__out:not(#_),
.kodza-code__words span:where(:not([class*="kodza-"])):not(#_),
.kodza-code__line span:where(:not([class*="kodza-"])):not(#_) {
  box-sizing: revert;
}

.kodza-code__copy:not(#_) {
  margin: revert;
  text-decoration: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  box-shadow: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
  white-space: revert;
  min-height: revert;
}

.kodza-code__pre:not(#_) {
  border: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  color: revert;
  font-weight: revert;
  font-style: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
  white-space: revert;
}

.kodza-code__pre code:where(:not([class*="kodza-"])):not(#_) {
  border: revert;
  margin: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-code:not(#_):where(:not([hidden])),
.kodza-code__pre:not(#_):where(:not([hidden])) {
  display: revert;
}

.kodza-code:not(#_):where([hidden]),
.kodza-code__pre:not(#_):where([hidden]) {
  display: none;
}

/* The component's own rules, one step stronger: real buttons and fields, what it sets on tags themes style (links, lists, headings, images…), and the root width (a theme may narrow it, never widen it) */

.kodza-code:not(#_) {
  border-radius: 14px;
  background: var(--kz-code-bg);
  box-shadow: inset 0 0 0 1px var(--kz-code-line);
  color: var(--kz-code-fg);
}

.kodza-code__head:not(#_) {
  display: flex;
  padding: 0 8px 0 18px;
  border-bottom: 1px solid var(--kz-code-line);
}

.kodza-code__copy:not(#_) {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--kz-code-fg);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kodza-code__copy:hover:not(#_) {
  background: var(--kz-code-mark);
  color: var(--kz-code-bright);
}

.kodza-code__copy:focus-visible:not(#_) {
  outline: 2px solid var(--kz-code-bright);
  outline-offset: 1px;
}

.kodza-code__pre:not(#_) {
  max-height: var(--kz-code-max-height);
  margin: 0;
  padding: 16px 0;
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.kodza-code__pre code:not(#_) {
  display: block;
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .kodza-code__copy:not(#_) {
    transition-duration: 0.01ms !important;
  }
}
