.lc-sms-dialog .sheet-box {
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100vw - 40px));
  height: auto;
  max-height: min(850px, calc(100dvh - 48px));
  overflow: hidden;
  border-radius: 22px;
}
.lc-sms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-2);
}
.lc-sms-toolbar h2 { margin: 0; font-size: 24px; font-weight: 600; outline: none; }
.lc-sms-toolbar .btn { min-height: 40px; flex-shrink: 0; }
.lc-sms-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.sms-connection { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.sms-connection[data-state=connecting] { --sms-status-color: #dea000; }
.sms-connection[data-state=ready] { --sms-status-color: #23a55a; }
.sms-connection[data-state=unavailable] { --sms-status-color: #dc4545; }
.sms-connection-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; color: var(--sms-status-color); background: currentColor; box-shadow: 0 0 7px currentColor; }
.lc-sms-dialog .lc-sms-toolbar .sms-reconnect { padding: 4px 0; font-size: 12px; }
.lc-sms-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 28px 28px; }
.lc-sms-dialog .ac-ph { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.lc-sms-dialog .ac-ph-render { width: 64px; height: 64px; object-fit: contain; flex: none; }
.lc-sms-dialog .ac-ph-main { min-width: 0; }
.lc-sms-dialog .sz-page-sub { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.lc-sms-dialog .ac-cond { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; color: #238344; }
.lc-sms-dialog .ac-cond li { display: flex; gap: 6px; align-items: center; }
.lc-sms-dialog .ac-cond svg { width: 14px; height: 14px; }
.lc-sms-dialog svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.lc-sms-dialog [hidden] { display: none !important; }
.lc-sms-dialog .sz-steps { display: grid; gap: 24px; }
.lc-sms-dialog .sz-step { min-width: 0; }
.lc-sms-dialog .sz-step-heading { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.lc-sms-dialog .sz-step-heading > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f0f0f2; color: var(--ink-2); font-size: 12px; flex: none; }
.lc-sms-dialog .sz-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.lc-sms-dialog .sz-field-head label { font-size: 13px; font-weight: 500; }
.lc-sms-dialog .sz-required { color: #d74444; }
.lc-sms-dialog .sz-field-hint { color: var(--ink-2); font-size: 12px; }
.lc-sms-dialog .sz-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 15px var(--f-mono); box-sizing: border-box; }
.lc-sms-dialog .sz-input:focus { border-color: var(--blue); outline: 3px solid #0071e322; outline-offset: 1px; }
.lc-sms-dialog .sz-input[aria-invalid=true] { border-color: #d74444; }
.lc-sms-dialog .sz-btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.lc-sms-dialog .sz-btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: 22px; font: 500 14px var(--f-text); cursor: pointer; transition: background .18s, opacity .18s; }
.lc-sms-dialog .sz-btn svg { width: 16px; height: 16px; }
.lc-sms-dialog .sz-btn-primary { background: var(--blue); color: #fff; }
.lc-sms-dialog .sz-btn-primary:hover { background: #0077ed; }
.lc-sms-dialog .sz-btn-ghost { background: #f5f5f7; color: var(--ink); }
.lc-sms-dialog .sz-btn:disabled { opacity: .45; cursor: default; }
.lc-sms-dialog .text-button { border: 0; padding: 8px 0; background: transparent; color: var(--link); font: inherit; cursor: pointer; }
.lc-sms-dialog .text-button:disabled { opacity: .5; }
.lc-sms-dialog .lc-input-feedback { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.lc-sms-dialog .lc-input-feedback svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.lc-sms-dialog .lc-input-feedback[data-state=available] { color: #238344; }
.lc-sms-dialog .lc-input-feedback[data-state=error], .lc-sms-dialog .lc-input-feedback[data-state=used] { color: #c83434; }
.lc-sms-dialog .sms-instructions { margin: 26px 0 0; padding: 20px 0 0 20px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.lc-sms-dialog .sms-instructions li + li { margin-top: 8px; }

@media (min-width: 1069px) and (max-width: 1190px) {
  .gnav .gnav-links { gap: 16px; }
}
@media (max-width: 1068px) {
  .gnav .gnav-links { gap: 12px; overflow-x: auto; scrollbar-width: none; }
  .gnav .gnav-links > .gnav-link { flex-shrink: 0; padding-left: 0; padding-right: 0; }
  .gnav .gnav-links::-webkit-scrollbar { display: none; }
}
@media (max-width: 734px) {
  .lc-sms-dialog .sheet-box { inset: auto 0 0; width: 100%; height: auto; max-height: calc(100dvh - 12px); border-radius: 20px 20px 0 0; }
  .lc-sms-toolbar { padding: 16px 20px; }
  .lc-sms-toolbar h2 { font-size: 22px; }
  .lc-sms-body { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); }
  .lc-sms-dialog .ac-ph { gap: 12px; }
  .lc-sms-dialog .ac-ph-render { width: 48px; height: 48px; }
  .lc-sms-dialog .sz-input { font-size: 16px; }
}
