:root {
  --ink: #333333;
  --muted: #777777;
  --line: #ededed;
  --paper: #f4f4f5;
  --green: #697dc2;
  --soft: #f1f3fa;
  --orange: #697dc2;
}

body {
  background: #f4f4f5;
}

body[data-step="form"],
body[data-step="success"] {
  --green: #2f2f2f;
  --soft: #f0f0f0;
  --orange: #666666;
}

body[data-step="blacklist-success"] {
  --green: #07c160;
  --soft: #e5f7ed;
  --orange: #666666;
}

body[data-step="form"] .form {
  padding-top: 26px;
}

body[data-step="form"] .form label em {
  color: #555555;
}

body[data-step="form"] .form input:focus,
body[data-step="form"] .form textarea:focus {
  border-color: #555555;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

body[data-step="form"] .error {
  color: #333333;
  background: #f3f3f3;
  border-color: #d8d8d8;
}

body[data-step="form"] .primary,
body[data-step="success"] .primary {
  background: #2f2f2f;
  box-shadow: 0 12px 25px rgba(51, 51, 51, 0.18);
}

body[data-step="success"] .reference {
  background: #f6f6f6;
  border-color: #a8a8a8;
}

.visually-hidden {
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reason-screen {
  background: #ffffff;
}

.reason-prompt {
  min-height: 40px;
  margin: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  color: #777777;
  background: #eeeeef;
  font-size: 14px;
  line-height: 1.4;
}

.reason-screen .reason-list {
  background: #ffffff;
  border-top: 0;
}

.reason-screen .reason-row {
  min-height: 54px;
  padding: 0 46px 0 16px;
  position: relative;
  gap: 0;
  border-bottom-color: #eeeeef;
}

.reason-screen .reason-row::after {
  width: 10px;
  height: 10px;
  position: absolute;
  right: 20px;
  top: 50%;
  content: "";
  border-top: 2px solid #b0b1b2;
  border-right: 2px solid #b0b1b2;
  transform: translateY(-50%) rotate(45deg);
}

.reason-screen .reason-row em,
.reason-screen .reason-row small {
  display: none;
}

.reason-screen .reason-row span {
  display: block;
}

.reason-screen .reason-row strong {
  color: #222222;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.reason-screen .reason-row > b {
  display: none;
}

.action-screen .reason-row {
  min-height: 76px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.action-screen .reason-row strong {
  line-height: 1.55;
}

.action-error {
  margin: 16px;
  padding: 11px 13px;
  color: #333333;
  background: #f3f3f3;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-size: 12px;
}

.app {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  border-color: #ededed;
  box-shadow: 0 24px 80px rgba(51, 51, 51, 0.08);
}

#flow {
  flex: 0 0 auto;
}

.footer {
  flex: 1 0 124px;
  min-height: 124px;
  padding: 20px 24px 28px;
  background: #eeeeef;
}

.footer button {
  color: #6678a8;
  font-size: 15px;
}

.mark {
  box-shadow: 0 8px 18px rgba(105, 125, 194, 0.22);
}

.secure i {
  background: #697dc2;
  box-shadow: 0 0 0 3px rgba(105, 125, 194, 0.14);
}

.target {
  border-color: #ededed;
  background: #ffffff;
}

.progress + .content,
.progress + .form {
  padding-top: 26px;
}

.reason-row:active {
  background: #f7f7f8;
}

@media (max-width: 760px) {
  .app {
    min-height: 100vh;
  }
}

.form > label,
.upload-head label {
  color: #333333;
}

.form > input:not(.honeypot),
.form textarea {
  background: #ffffff;
  border-color: #dedede;
}

.form input:focus,
.form textarea:focus {
  border-color: #697dc2;
  box-shadow: 0 0 0 3px rgba(105, 125, 194, 0.12);
}

.preview button {
  background: rgba(51, 51, 51, 0.78);
}

.add-file {
  color: #777777;
  background: #fafafa;
  border-color: #d6d6d6;
}

.primary {
  box-shadow: 0 12px 25px rgba(105, 125, 194, 0.22);
}

.reference {
  background: #fafafe;
  border-color: #b9c3e2;
}

.steps i {
  background: #d7d7d7;
}

.modal {
  --green: #2f2f2f;
  --orange: #666666;
  background: rgba(51, 51, 51, 0.52);
}

.modal .primary {
  box-shadow: 0 12px 25px rgba(51, 51, 51, 0.18);
}

.modal .close {
  color: #777777;
  background: #f4f4f5;
}

body[data-step="blacklist-success"] .app,
.blacklist-success {
  background: #f4f4f5;
}

.blacklist-success {
  min-height: 100vh;
  padding: 100px 34px 42px;
}

.blacklist-success .success-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  background: #07c160;
  border: 0;
  font-size: 0;
}

.blacklist-success .success-mark svg {
  width: 32px;
  height: 32px;
  display: block;
}

.blacklist-success .success-mark path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blacklist-success h2 {
  font-size: 25px;
}

.blacklist-success p {
  max-width: 360px;
  margin-top: 22px;
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

.blacklist-final-line {
  display: block;
  text-align: center;
}

.blacklist-success .primary {
  width: min(100%, 280px);
  min-height: 48px;
  background: #07c160;
  border-radius: 4px;
  box-shadow: none;
}

.auth-shell {
  place-items: center;
}

.auth-card {
  min-height: 520px;
}

.auth-message {
  min-height: 420px;
  padding: 70px 34px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.auth-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #697dc2;
  border: 8px solid #f1f3fa;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
}

.auth-icon-error {
  color: #697dc2;
  background: #ffffff;
  border-color: #f1f3fa;
}

.auth-message h2 {
  margin: 0;
  color: #333333;
  font-size: 25px;
}

.auth-message p {
  max-width: 330px;
  margin: 14px 0 0;
  color: #777777;
  font-size: 13px;
  line-height: 1.8;
}

.auth-retry {
  width: min(100%, 280px);
  margin-top: 30px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
