.required-mark {
  color: #ad311d;
  font-style: normal;
  margin-left: 0.25em;
}
.password-wrap,
.dial-wrap,
.auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding-right: 44px;
}
.password-wrap button {
  position: absolute;
  right: 3px;
  height: 36px;
  width: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dial-wrap select {
  max-width: 42%;
}
.dial-wrap input {
  min-width: 0;
}
.auth-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 20px;
}
.auth-form label[hidden] {
  display: none;
}
.auth-form :is(.required-hint, .consent, .auth-actions) {
  grid-column: 1/-1;
}
.free-tool.is-locked {
  background: #f1f0ee;
  color: #675f56;
}
.dcard a.account-link,
a.account-link,
.auth-actions a,
.auth-form a,
.auth-footer a {
  text-decoration: underline;
  cursor: pointer;
}
.auth-form :is(button, select) {
  cursor: pointer;
}
.auth-success {
  color: #246044;
}
@media (min-width: 621px) {
  .auth-form-register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.free-tools .free-tool-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.free-tools .free-tool:not(.is-locked) {
  background: white;
}
.free-tool:has(.chip) > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.free-tool .chip {
  white-space: nowrap;
}
.auth-form :is(input:not([type="checkbox"]):not([type="hidden"]), select) {
  width: 100%;
  min-width: 0;
}
.auth-form.form-section {
  padding: clamp(16px, 3vw, 28px);
}
.auth-form label,
.auth-form .password-wrap {
  min-width: 0;
}
@media (max-width: 700px) {
  .free-tools .free-tool-row {
    grid-template-columns: 1fr;
  }
}
.auth-form label:not(.consent),
.profile-edit label:has(.required-mark) {
  display: block;
}
.auth-form label[hidden] {
  display: none;
}
.auth-form label > :is(input:not([type="checkbox"]), select, .dial-wrap),
.auth-form .password-wrap,
.profile-edit label:has(.required-mark) > :is(input, select) {
  margin-top: 6px;
}
.auth-form .consent {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-form .consent input {
  width: auto;
}
.ctx .ctx-in .samp {
  margin-left: auto;
}
.auth-form .dial-wrap {
  margin-top: 6px;
}
.profile-edit label[hidden],
.auth-form label[hidden] {
  display: none;
}
.page-section .auth-form .auth-actions .btn{width:auto;margin:0}
.auth-actions>*{white-space:nowrap}

.auth-form .required-hint { margin: 0; }
.free-tool .chip-done { background: #e7eef1; color: #1c3d66; }
.free-tool .chip-wait { background: #fff0d1; color: #71501c; }
.free-tool .chip-locked { background: #e4e2de; color: #514e49; }

.auth-form :is(input:not([type="checkbox"]):not([type="hidden"]), select) {
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
  height: 48px;
  color: var(--charcoal);
}
.auth-form input::placeholder,
.auth-form select:has(option[value=""]:checked) {
  color: #8c8275;
  opacity: 1;
}
.auth-form select option {
  color: var(--charcoal);
}
.auth-form select {
  appearance: none;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 15px center, right 10px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
