dialog {
  width: 500px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid #e3eae5;
  border-radius: 22px;
  box-shadow: 0 24px 80px #123e3540;
  background: #fff;
  color: var(--ink);
}
dialog::backdrop {
  background: #123a356b;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9eeeb;
  margin-bottom: 20px;
}
.dialog-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e6f1ec;
  color: #226e58;
}
.dialog-symbol .ui-icon {
  width: 23px;
  height: 23px;
}
.dialog-heading h2 {
  flex: 1;
  font-size: 22px;
  line-height: 1.35;
  color: #24483c;
}
.dialog-heading .icon-button {
  background: #f6f8f6;
  color: #65766c;
  border: 1px solid #e6ece7;
  width: 44px;
  height: 44px;
  min-height: 44px;
  font-size: 25px;
}
dialog p {
  color: #627268;
  font-size: 14px;
}
dialog label {
  color: #37594b;
  font-size: 15px;
}
dialog form > label {
  margin: 18px 0 9px;
}
dialog input, dialog select, dialog textarea {
  min-width: 0;
  max-width: 100%;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 12px;
  border-color: #d9e4dc;
}
dialog textarea::placeholder {
  font-size: 14px;
}
.form-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 13px;
  background: #f3f7f5;
  margin: 0 0 20px;
}
.form-person > div {
  min-width: 0;
}
.form-person strong, .form-person span:not(.worker-initials) {
  display: block;
}
.form-person strong {
  font-size: 17px;
  color: #2e4e41;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.form-person span:not(.worker-initials) {
  font-size: 12px;
  color: #6d7c73;
  margin-top: 2px;
  letter-spacing: .5px;
}
.form-person small {
  font-size: 13px;
  margin-top: 5px;
  color: #60776a;
}
.arrival-time-block label {
  margin-bottom: 10px;
}
#arrival-time {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1.5px;
  height: 68px;
  padding: 13px 18px;
  background: #fcfefd;
  color: #195f4d;
  border: 1.5px solid #a5c9b7;
  border-radius: 14px;
}
#arrival-time::placeholder {
  color: #809a8e;
  font-weight: 400;
}
#arrival-time-help {
  font-size: 13px;
  margin: 8px 2px 0;
  color: #677c6d;
}
dialog .arrival-rule {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 20px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #856020;
  background: #fff7e7;
  border: 1px solid #f2e5c9;
  border-radius: 12px;
}
.arrival-rule .ui-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
#arrival-form .muted {
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
}
dialog .form-actions {
  padding-top: 18px;
  border-top: 1px solid #e9eeeb;
  margin-top: 20px;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
}
dialog .form-actions button {
  min-height: 50px;
  font-size: 15px;
  line-height: 1.45;
  padding: 12px 16px;
}
dialog .form-actions .primary, dialog .form-actions .danger {
  flex: 1;
}
dialog .form-actions .secondary {
  min-width: 72px;
}
dialog .notice {
  font-size: 14px;
  background: #f2f6f3;
  border: 1px solid #dfe8e1;
}
.radio-options strong, .account strong {
  font-size: 15px;
}
.radio-options small {
  font-size: 13px;
}
@media (max-width: 540px) {
  dialog {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .dialog-heading {
    gap: 10px;
  }
  .dialog-heading h2 {
    font-size: 20px;
  }
  .dialog-symbol {
    width: 36px;
    height: 40px;
    border-radius: 11px;
  }
  .form-person {
    padding: 12px;
  }
}
@media (max-width: 360px) {
  .dialog-heading h2 {
    font-size: 19px;
  }
  .dialog-symbol {
    display: none;
  }
  dialog .form-actions button {
    font-size: 14px;
    padding: 12px 10px;
  }
}
