.po-sms-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid #d7e7e8;
  border-radius: 24px;
  background: #fff;
  color: #132940;
  box-shadow: 0 24px 85px #102a3c40;
  text-align: center;
  font-family: inherit;
}

.po-sms-dialog::backdrop { background: #102a3c88; backdrop-filter: blur(3px); }
.po-sms-dialog button { font: inherit; cursor: pointer; }
.po-sms-dialog button:focus-visible { outline: 2px solid #087d75; outline-offset: 3px; }
.po-sms-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: 1px solid #deeaeb;
  border-radius: 50%;
  background: #f5f9f9;
  color: #36526b;
  font-size: 22px !important;
  line-height: 1;
}
.po-sms-close:hover { background: #e9f3f2; }
.po-sms-brand { display: block; margin: 0 auto 16px; }
.po-sms-saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f6f2;
  color: #08786e;
  font-size: 12px;
  font-weight: 700;
}
.po-sms-dialog h2 { margin: 0; font-size: clamp(23px, 5vw, 29px); line-height: 1.15; }
.po-sms-hint { margin: 10px 0 22px; color: #536a7e; font-size: 14px; line-height: 1.55; }
.po-sms-hint strong { color: #132940; white-space: nowrap; }
.po-sms-field { position: relative; }
.po-sms-field input {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  opacity: 0;
  font-size: 16px;
  cursor: text;
}
.po-sms-cells {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, 1.6vw, 9px);
}
.po-sms-cells span {
  display: grid;
  place-items: center;
  height: clamp(45px, 12vw, 56px);
  border: 1px solid #cbdcde;
  border-radius: 10px;
  background: #f6f9fa;
  color: #132940;
  font-size: clamp(19px, 5vw, 24px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.po-sms-cells span:not(:empty) { border-color: #a3d3cc; background: #eff8f6; }
.po-sms-field:focus-within .is-current { border-color: #0a8c81; box-shadow: 0 0 0 2px #c3e8e2; }
.po-sms-error { margin: 9px 0 0; color: #a13030; font-size: 13px; line-height: 1.45; }
.po-sms-error:empty { display: none; }
.po-sms-confirm {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 8px 12px;
  border: 0;
  border-radius: 11px;
  background: #087e75;
  color: #fff;
  font-weight: 750 !important;
}
.po-sms-confirm:hover:not(:disabled) { background: #066d65; }
.po-sms-confirm:disabled { background: #e0eeec; color: #4d6b6b; cursor: default; }
.po-sms-resend {
  min-height: 34px;
  margin-top: 12px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #08786e;
  font-size: 13px !important;
  font-variant-numeric: tabular-nums;
}
.po-sms-resend:disabled { color: #526b7d; cursor: default; }
