/* sms-trial-popup-20261021.css */
.hana-sms-trial-number{color:#0759ba;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;font-weight:700;white-space:nowrap}
.hana-sms-trial-number:hover{color:#e66d17}
.hana-sms-trial-number:focus-visible{outline:2px solid #f5812d;outline-offset:2px;border-radius:2px}
.hana-sms-trial-setting{margin-top:16px}
.hana-sms-trial-setting-hint{margin:4px 0 16px;color:#65758b}
.hana-sms-trial-dialog{width:min(600px,calc(100vw - 24px));max-height:min(92vh,850px);border:1px solid #d8e2ef;border-radius:16px;padding:0 24px 22px;background:#fff;color:#18304d;box-shadow:0 24px 70px #0d244544;overflow:auto;font-family:inherit;font-size:14px;line-height:1.5}
.hana-sms-trial-dialog::backdrop{background:#14243d80;backdrop-filter:blur(2px)}
.hana-sms-trial-dialog > header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0 16px;border-bottom:1px solid #e5ebf2;background:#fff!important;color:#122d4e!important;box-shadow:none!important}
.hana-sms-trial-dialog > header h2{margin:0;font-size:22px;letter-spacing:-.04em;color:#122d4e!important}
.hana-sms-trial-badge{display:inline-block;margin-left:10px;padding:3px 7px;vertical-align:middle;border-radius:5px;background:#eef4fb;color:#4d6683;font-size:11px;letter-spacing:0}
.hana-sms-trial-close{border:0;background:transparent;color:#667993;font-size:25px;line-height:1;cursor:pointer}
.hana-sms-trial-line{display:grid;grid-template-columns:112px 1fr;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f6}
.hana-sms-trial-line span{color:#65758b}
.hana-sms-trial-line strong{font-weight:650;color:#18304d;overflow-wrap:anywhere}
.hana-sms-trial-template{margin:18px 0 10px;padding:7px 11px;border:1px solid #bfd2e9;border-radius:7px;background:#f3f8ff;color:#15589f;font-weight:650;cursor:pointer}
.hana-sms-trial-dialog label{display:block;font-weight:650;color:#2c415b}
.hana-sms-trial-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:125px;margin-top:6px;padding:12px;border:1px solid #cbd8e7;border-radius:8px;background:#fff;color:#18304d;font:inherit;resize:vertical}
.hana-sms-trial-dialog textarea:focus{outline:2px solid #86b8ee;outline-offset:1px}
.hana-sms-trial-photo{display:grid;grid-template-columns:72px 1fr;align-items:center;column-gap:12px;row-gap:4px;min-height:76px;margin-top:14px;padding:12px;border:1px dashed #9eb9d7;border-radius:9px;background:#fafcff}
.hana-sms-trial-photo.is-dragging{border-color:#1262b6;background:#eaf4ff;box-shadow:inset 0 0 0 1px #1262b6}
.hana-sms-trial-photo strong{grid-column:2;color:#304b69}
.hana-sms-trial-photo span{grid-column:2;color:#697d96;font-size:12px;overflow-wrap:anywhere}
.hana-sms-trial-photo img{grid-column:1;grid-row:1 / span 3;width:72px;height:64px;object-fit:cover;border-radius:6px}
.hana-sms-trial-photo img[hidden]{display:none}
.hana-sms-trial-photo:has(img[hidden]){grid-template-columns:1fr}
.hana-sms-trial-photo:has(img[hidden]) strong,.hana-sms-trial-photo:has(img[hidden]) span{grid-column:1}
.hana-sms-trial-photo-controls{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:5px}
.hana-sms-trial-photo:has(img[hidden]) .hana-sms-trial-photo-controls{grid-column:1}
.hana-sms-trial-dialog .hana-sms-trial-photo-button{padding:5px 9px;border:1px solid #bfd2e9;border-radius:6px;background:#fff;color:#15589f;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.hana-sms-trial-dialog .hana-sms-trial-photo-button[hidden]{display:none}
.hana-sms-trial-dialog .hana-sms-trial-photo-choice{display:inline-flex;align-items:center;gap:5px;color:#304b69;font-size:12px;cursor:pointer}
.hana-sms-trial-dialog .hana-sms-trial-photo-choice[hidden]{display:none}
.hana-sms-trial-cost{margin:14px 0 0;padding:9px 12px;border-radius:7px;background:#eef5ff;color:#1558a3;font-weight:700}
.hana-sms-trial-notice{margin:10px 0 0;color:#8b5c22;font-size:12px}
.hana-sms-trial-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:20px}
.hana-sms-trial-dialog footer a,.hana-sms-trial-dialog footer button{box-sizing:border-box;min-height:36px;padding:7px 12px;border:1px solid #cad8e7;border-radius:7px;background:#fff;color:#244663;font:inherit;text-decoration:none;cursor:pointer}
.hana-sms-trial-dialog footer .hana-sms-trial-send{border-color:#135fbd;background:#135fbd;color:#fff;font-weight:700}
.hana-sms-trial-dialog footer .hana-sms-trial-send:disabled{border-color:#d6e0ea;background:#edf2f7;color:#71839a;cursor:not-allowed}
@media(max-width:600px){.hana-sms-trial-dialog{padding:0 16px 16px}.hana-sms-trial-line{grid-template-columns:94px 1fr}.hana-sms-trial-dialog footer a,.hana-sms-trial-dialog footer button{flex:1 1 auto;text-align:center}}


/* Compact photo row: existing drag, paste, MMS and restore handlers remain intact. */
.hana-sms-trial-photo{grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:1px;min-height:0;margin-top:12px;padding:8px 10px;border:1px solid #d8e3ef;background:#f8fbff}
.hana-sms-trial-photo img{grid-column:1;grid-row:1 / span 2;width:48px;height:48px}
.hana-sms-trial-photo strong{grid-column:2;grid-row:1;align-self:end}
.hana-sms-trial-photo span{grid-column:2;grid-row:2;align-self:start}
.hana-sms-trial-photo span:empty{display:none}
.hana-sms-trial-photo-controls{grid-column:3;grid-row:1 / span 2;display:flex;flex-wrap:nowrap;gap:6px;margin-top:0}
.hana-sms-trial-photo:has(img[hidden]){grid-template-columns:minmax(0,1fr) auto}
.hana-sms-trial-photo:has(img[hidden]) strong,.hana-sms-trial-photo:has(img[hidden]) span{grid-column:1}
.hana-sms-trial-photo:has(img[hidden]) .hana-sms-trial-photo-controls{grid-column:2}
.hana-sms-trial-dialog .hana-sms-trial-photo-button{min-height:30px;padding:4px 8px}
.hana-sms-trial-dialog .hana-sms-trial-photo-button[aria-label]{width:30px;padding:4px;font-size:17px;line-height:1}
@media(max-width:480px){.hana-sms-trial-photo{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto}.hana-sms-trial-photo strong{grid-column:2;grid-row:1}.hana-sms-trial-photo span{grid-column:2;grid-row:3}.hana-sms-trial-photo-controls{grid-column:2;grid-row:2;justify-content:flex-start}.hana-sms-trial-photo:has(img[hidden]){grid-template-columns:minmax(0,1fr)}.hana-sms-trial-photo:has(img[hidden]) strong,.hana-sms-trial-photo:has(img[hidden]) span,.hana-sms-trial-photo:has(img[hidden]) .hana-sms-trial-photo-controls{grid-column:1}}

/* The counter describes the SMS limit without showing a price. */
.hana-sms-trial-cost{font-size:12px;font-weight:650;background:#f3f7fc}
.hana-sms-trial-notice:empty{display:none}

.hana-sms-trial-dialog footer .hana-sms-trial-send{width:100%;min-height:44px}

/* sms-dialog-compact-20261024.css */
.hana-sms-trial-dialog {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 28px));
  max-height: min(88vh, 620px);
  padding: 0 18px 16px;
  font-size: 13px;
}
.hana-sms-trial-dialog > header {
  padding: 12px 0 9px;
}
.hana-sms-trial-dialog > header h2 {
  font-size: 18px;
}
.hana-sms-trial-line {
  grid-template-columns: 96px minmax(0,1fr);
  gap: 8px;
  padding: 6px 0;
}
.hana-sms-trial-dialog textarea {
  height: 92px;
  min-height: 92px;
  margin-top: 4px;
  padding: 9px;
}
.hana-sms-trial-cost {
  margin-top: 8px;
  padding: 6px 9px;
}
.hana-sms-trial-notice {
  margin-top: 6px;
}
.hana-sms-trial-dialog footer {
  margin-top: 12px;
}
.hana-sms-trial-dialog footer .hana-sms-trial-send {
  width: auto;
  min-width: 100px;
  min-height: 36px;
}
@media (max-width: 600px) {
  .hana-sms-trial-dialog { padding: 0 14px 14px; }
  .hana-sms-trial-line { grid-template-columns: 82px minmax(0,1fr); }
  .hana-sms-trial-dialog footer button { flex: 1 1 auto; }
}

