.qw-vault,
.qw-vault-login,
.qw-vault-notice {
  --qw-forest-800: #182a1a;
  --qw-forest-600: #2a4a2e;
  --qw-forest-400: #3c6942;
  --qw-forest-200: #77967b;
  --qw-sage-400: #91cbc3;
  --qw-sage-100: #d3eae7;
  --qw-bone: #ebece5;
  --qw-orange: #e97a0c;
  --qw-kraft: #ded9c7;
  --qw-neutral-50: #f7f7f5;
  --qw-neutral-200: #d7d9d2;
  --qw-neutral-700: #595e57;
  --qw-neutral-950: #1b1d1a;
  color: var(--qw-neutral-950);
  font-family: "Geom", sans-serif;
  letter-spacing: 0;
}

.qw-vault *,
.qw-vault-login *,
.qw-vault-notice * {
  box-sizing: border-box;
}

.qw-vault {
  background: var(--qw-neutral-50);
  border: 1px solid var(--qw-neutral-200);
  border-radius: 20px;
  margin: 32px 0;
  overflow: hidden;
}

.qw-vault-kicker {
  color: var(--qw-forest-400);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.qw-vault-header {
  background-color: var(--qw-bone);
  background-image:
    linear-gradient(rgba(60, 105, 66, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 105, 66, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 24px clamp(20px, 5vw, 72px) clamp(48px, 8vw, 96px);
}

.qw-vault-header__utility,
.qw-vault-header__main,
.qw-vault-footer {
  display: flex;
  justify-content: space-between;
}

.qw-vault-header__utility {
  align-items: center;
  border-bottom: 1px solid rgba(60, 105, 66, 0.25);
  gap: 24px;
  padding-bottom: 18px;
}

.qw-vault-session {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 16px;
  margin: 0;
}

.qw-vault-session a,
.qw-vault-text-link,
.qw-vault-login__reset {
  color: var(--qw-forest-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.qw-vault-header__main {
  align-items: end;
  gap: 48px;
  padding-top: clamp(48px, 7vw, 88px);
}

.qw-vault-header h1 {
  color: var(--qw-forest-800);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 600;
  line-height: 1;
  margin: 0 0 24px;
}

.qw-vault-header__main > div:first-child > p {
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
}

.qw-vault-header__actions,
.qw-vault-notice__actions {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.qw-vault-button,
.qw-vault .qw-vault-button {
  align-items: center;
  background: var(
    --theme-button-background-initial-color,
    var(--qw-forest-400)
  );
  border: var(--theme-button-border, 0);
  border-radius: var(--theme-button-border-radius, 100px);
  color: var(--theme-button-text-initial-color, #fff);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
}

.qw-vault-button:hover,
.qw-vault-button:focus-visible {
  background: var(--theme-button-background-hover-color, var(--qw-forest-600));
  color: var(--theme-button-text-hover-color, #fff);
}

.qw-vault .qw-vault-button--secondary {
  background: transparent;
  color: var(--qw-forest-600);
}

.qw-vault .qw-vault-button--secondary:hover,
.qw-vault .qw-vault-button--secondary:focus-visible {
  background: rgba(60, 105, 66, 0.08);
  color: var(--qw-forest-800);
}

.qw-vault-guidance {
  align-items: center;
  background: rgba(255, 255, 255, 0.58);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 40px;
  padding: 16px 20px;
}

.qw-vault-guidance p {
  color: var(--qw-neutral-700);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
}

.qw-vault-nav {
  background: var(--qw-forest-800);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 0 clamp(20px, 5vw, 72px);
}

.qw-vault-nav a {
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 8px;
  min-height: 92px;
  padding: 22px 16px;
  text-decoration: none;
}

.qw-vault-nav a:hover,
.qw-vault-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.qw-vault-nav span {
  color: var(--qw-sage-400);
  font-size: 11px;
  font-weight: 600;
}

.qw-vault-sections {
  padding: 0 clamp(20px, 5vw, 72px);
}

.qw-vault-section {
  scroll-margin-top: 32px;
  padding: clamp(56px, 8vw, 104px) 0;
}

.qw-vault-section + .qw-vault-section {
  border-top: 1px solid var(--qw-neutral-200);
}

.qw-vault-section__header {
  align-items: baseline;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(48px, 96px) 1fr;
  margin-bottom: 40px;
}

.qw-vault-section__header span {
  color: var(--qw-orange);
  font-size: 14px;
  font-weight: 600;
}

.qw-vault-section__header h2 {
  color: var(--qw-forest-800);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.qw-vault-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: min(120px, 10vw);
}

.qw-vault-asset {
  background: #fff;
  border: 1px solid var(--qw-neutral-200);
  border-radius: 20px;
  min-width: 0;
  overflow: hidden;
}

.qw-vault-asset--gallery {
  grid-column: 1 / -1;
}

.qw-vault-asset__gallery {
  background: var(--qw-bone);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}

.qw-vault-asset__gallery img {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.qw-vault-asset__preview {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: var(--qw-bone);
  display: flex;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.qw-vault-asset--dark .qw-vault-asset__preview {
  background: var(--qw-forest-400);
}

.qw-vault-asset--kraft .qw-vault-asset__preview {
  background-color: var(--qw-kraft);
  background-image: repeating-linear-gradient(
    17deg,
    transparent 0,
    transparent 3px,
    rgba(60, 55, 45, 0.035) 4px
  );
}

.qw-vault-asset__preview img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.qw-vault-swatch {
  align-items: end;
  aspect-ratio: 16 / 9;
  background: var(--qw-swatch);
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: end;
  padding: 16px;
  width: 100%;
}

.qw-vault-swatch span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  color: var(--qw-neutral-950);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 9px;
}

.qw-vault-asset__body {
  padding: 24px;
}

.qw-vault-asset__eyebrow {
  color: var(--qw-forest-400);
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.qw-vault-asset h3 {
  color: var(--qw-neutral-950);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.qw-vault-asset__description {
  color: var(--qw-neutral-700);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
}

.qw-vault-asset__description > :last-child {
  margin-bottom: 0;
}

.qw-vault-color-values {
  border-top: 1px solid var(--qw-neutral-200);
  margin: 20px 0 0;
  padding: 14px 0 0;
}

.qw-vault-color-values > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.qw-vault-color-values dt {
  color: var(--qw-neutral-700);
  font-size: 11px;
  font-weight: 600;
}

.qw-vault-color-values dd {
  margin: 0;
}

.qw-vault-color-values button {
  background: none;
  border: 0;
  color: var(--qw-neutral-950);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 4px 0 4px 12px;
}

.qw-vault-color-values button:hover,
.qw-vault-color-values button:focus-visible {
  color: var(--qw-forest-400);
  text-decoration: underline;
}

.qw-vault-tonal-system,
.qw-vault-type-system {
  margin: clamp(56px, 7vw, 88px) 0 0 min(120px, 10vw);
}

.qw-vault-tonal-system > header,
.qw-vault-type-system > header {
  border-top: 1px solid var(--qw-neutral-200);
  padding-top: 32px;
}

.qw-vault-tonal-system h3,
.qw-vault-type-system h3 {
  color: var(--qw-forest-800);
  font-size: 30px;
  line-height: 1.25;
  margin: 8px 0 10px;
}

.qw-vault-tonal-system > header > p:last-child,
.qw-vault-type-system > header > p:last-child {
  color: var(--qw-neutral-700);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.qw-vault-tonal-system__groups {
  display: grid;
  gap: 30px;
  margin-top: 32px;
}

.qw-vault-tone-family {
  min-width: 0;
}

.qw-vault-tone-family h4 {
  color: var(--qw-neutral-700);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.qw-vault-tone-family__ramp {
  display: grid;
  grid-template-columns: repeat(5, minmax(80px, 1fr));
  overflow-x: auto;
}

.qw-vault-tone-family__ramp--wide {
  grid-template-columns: repeat(11, minmax(84px, 1fr));
}

.qw-vault-tone {
  align-items: flex-start;
  aspect-ratio: 1 / 1;
  background: var(--qw-tone);
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 12px;
  text-align: left;
}

.qw-vault-tone--light {
  color: #fff;
}

.qw-vault-tone--dark {
  color: var(--qw-neutral-950);
}

.qw-vault-tone span {
  font-size: 11px;
  font-weight: 600;
}

.qw-vault-tone strong {
  font-size: 11px;
  font-weight: 500;
}

.qw-vault-tone:focus-visible {
  outline: 3px solid var(--qw-orange);
  outline-offset: -3px;
  position: relative;
  z-index: 1;
}

.qw-vault-type-specimens {
  margin-top: 32px;
}

.qw-vault-type-specimen {
  align-items: baseline;
  border-top: 1px solid var(--qw-neutral-200);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(130px, 180px) 1fr;
  padding: 24px 0;
}

.qw-vault-type-specimen > span {
  color: var(--qw-neutral-700);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.qw-vault-type-specimen > p {
  color: var(--qw-forest-800);
  font-family: "Geom", sans-serif;
  letter-spacing: 0;
  margin: 0;
}

.qw-vault-type-specimen--h1 > p {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.11;
}

.qw-vault-type-specimen--h2 > p {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.21;
}

.qw-vault-type-specimen--h3 > p {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.27;
}

.qw-vault-type-specimen--h4 > p {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
}

.qw-vault-type-specimen--h5 > p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.qw-vault-type-specimen--h6 > p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.qw-vault-type-specimen--body > p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.67;
}

.qw-vault-asset__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.qw-vault-asset__downloads a {
  border: 1px solid var(--qw-forest-200);
  border-radius: var(--theme-button-border-radius, 100px);
  color: var(--qw-forest-600);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 9px 12px;
  text-decoration: none;
}

.qw-vault-asset__downloads a:hover,
.qw-vault-asset__downloads a:focus-visible {
  background: var(--qw-sage-100);
  border-color: var(--qw-forest-400);
}

.qw-vault-empty,
.qw-vault-notice {
  padding: clamp(56px, 9vw, 120px) clamp(24px, 8vw, 112px);
}

.qw-vault-empty h2,
.qw-vault-notice h1 {
  color: var(--qw-forest-800);
  font-size: clamp(30px, 5vw, 48px);
  margin: 16px 0;
}

.qw-vault-footer {
  background: var(--qw-forest-800);
  color: var(--qw-sage-100);
  font-size: 12px;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
}

.qw-vault-footer p {
  margin: 0;
}

.qw-vault-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qw-vault-toast {
  background: var(--qw-neutral-950);
  border-radius: 4px;
  bottom: 24px;
  color: #fff;
  font-size: 13px;
  left: 50%;
  opacity: 0;
  padding: 10px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 12px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  z-index: 9999;
}

.qw-vault-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.qw-vault-login {
  background-color: var(--qw-bone);
  background-image:
    linear-gradient(rgba(60, 105, 66, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 105, 66, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid var(--qw-neutral-200);
  border-radius: 20px;
  margin: 40px auto;
  max-width: 560px;
  padding: clamp(32px, 7vw, 64px);
}

.qw-vault-login__mark {
  align-items: center;
  background: var(--qw-forest-400);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  height: 48px;
  justify-content: center;
  margin-bottom: 28px;
  width: 48px;
}

.qw-vault-login h1 {
  color: var(--qw-forest-800);
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1;
  margin: 14px 0 20px;
}

.qw-vault-login__intro {
  color: var(--qw-neutral-700);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.qw-vault-login form p {
  margin: 0 0 18px;
}

.qw-vault-login form label {
  color: var(--qw-forest-800);
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.qw-vault-login form input[type="text"],
.qw-vault-login form input[type="password"] {
  background: var(--theme-form-field-background-initial-color, #fff);
  border: var(--theme-form-field-border-width, 1px) solid
    var(--theme-form-field-border-initial-color, var(--qw-forest-200));
  border-radius: var(--theme-form-field-border-radius, 100px);
  min-height: var(--theme-form-field-height, 46px);
  padding: 10px 12px;
  width: 100%;
}

.qw-vault-login form input[type="text"]:focus,
.qw-vault-login form input[type="password"]:focus {
  background: var(--theme-form-field-background-focus-color, #fff);
  border-color: var(
    --theme-form-field-border-focus-color,
    var(--qw-forest-400)
  );
}

.qw-vault-login form .login-remember label {
  align-items: center;
  display: flex;
  font-weight: 400;
  gap: 8px;
}

.qw-vault-login form input[type="submit"] {
  background: var(--qw-forest-400);
  border: 0;
  border-radius: var(--theme-button-border-radius, 100px);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 46px;
  padding: 10px 18px;
  width: 100%;
}

.qw-vault-login__reset {
  display: inline-block;
  font-size: 13px;
  margin-top: 12px;
}

@media (max-width: 820px) {
  .qw-vault-header__main,
  .qw-vault-header__utility {
    align-items: flex-start;
    flex-direction: column;
  }

  .qw-vault-header__actions {
    width: 100%;
  }

  .qw-vault-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .qw-vault-asset__gallery {
    grid-template-columns: 1fr;
  }

  .qw-vault-guidance {
    align-items: flex-start;
    flex-direction: column;
  }

  .qw-vault-tonal-system,
  .qw-vault-type-system {
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .qw-vault {
    border-left: 0;
    border-right: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .qw-vault-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qw-vault-section__header {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .qw-vault-type-specimen {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .qw-vault-type-specimen--h1 > p {
    font-size: 40px;
  }

  .qw-vault-type-specimen--h2 > p {
    font-size: 32px;
  }

  .qw-vault-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qw-vault-toast {
    transition: none;
  }
}
