.tool-version {
  display: block;
  margin-top: 3px;
  color: #3f5148;
  font-size: 11px;
  font-weight: 800;
}

.password-layout {
  grid-template-areas: "settings result";
  grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
}

.settings-panel {
  grid-area: settings;
}

.password-layout .result-card {
  grid-area: result;
  align-self: start;
}

.password-output {
  min-height: 84px;
  margin: 10px 0 12px;
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.45;
  user-select: text;
}

.password-output.is-empty {
  color: #b7c1ba;
  font-family: inherit;
  font-size: 13px;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.result-actions #copyPassword {
  grid-column: 1 / -1;
}

.result-actions button {
  min-height: 48px;
}

.result-actions button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.copy-note,
.passphrase-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.passphrase-note {
  margin-bottom: 12px;
}

.symbol-choice {
  margin-top: 14px;
}

.password-maker-note {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .password-layout {
    grid-template-areas:
      "result"
      "settings";
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .password-hero {
    padding: 24px 0 16px;
  }

  .password-hero h1 {
    margin: 16px auto 12px;
    font-size: 42px;
    line-height: .93;
  }

  .password-hero .hero-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  .password-workspace {
    padding-top: 0;
  }

  .password-workspace .privacy-strip {
    padding: 10px 12px;
    font-size: 12px;
  }

  .password-workspace .work-card-header {
    align-items: center;
    flex-direction: row;
    padding: 12px 14px;
  }

  .password-workspace .work-card-header h2 {
    font-size: 21px;
  }

  .password-workspace .work-card-header p {
    display: none;
  }

  .password-layout .result-card,
  .password-layout .panel {
    padding: 16px;
  }

  .result-actions {
    grid-template-columns: 1fr 1fr;
  }

  .result-actions button {
    width: auto;
  }
}

@media (max-width: 390px) {
  .password-hero h1 {
    font-size: 38px;
  }

  .password-output {
    min-height: 74px;
    font-size: 14px;
  }

  .tool-version {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-actions button {
    transition: none;
  }
}
