/* Sample page — match create page UI (Outfit + navy/gold) */

.sales-start-page.sm-page {
  --sm-navy: #051b44;
  --sm-primary: #051b44;
  --sm-ink: #051b44;
  --sm-muted: #66788c;
  --sm-gold: #fcb61b;
  --sm-gold-bright: #fcb61b;
  --sm-gold-deep: #fcb61b;
  --sm-input: #eef3f9;
  --sm-input-border: #e2eaf3;
  --sm-line: #e8edf4;
  --sm-surface: #f4f7fb;
  --sm-link: #0f1c2e;
  --sm-radius: 12px;
  --sm-shadow: 0 24px 64px rgba(10, 22, 41, 0.12);

  font-family: Outfit, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--sm-ink);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(201, 172, 112, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(16, 43, 78, 0.06), transparent 45%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 40%, #f5f7fa 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body:has(.sales-start-page.sm-page) {
  font-family: Outfit, sans-serif;
  background: #f7f9fc;
}

.sales-start-page.sm-page *,
.sales-start-page.sm-page *::before,
.sales-start-page.sm-page *::after {
  box-sizing: border-box;
}

.sales-start-page.sm-page h1,
.sales-start-page.sm-page h2,
.sales-start-page.sm-page h3 {
  font-family: inherit;
  font-weight: 650;
  color: var(--sm-primary);
  letter-spacing: normal;
}

.sales-start-page.sm-page p {
  color: var(--sm-muted);
}

/* Floor: nothing below 16px on page / modals */
.sm-page,
body:has(.sm-page) .modal,
body:has(.sm-page) .save-sheet,
body:has(.sm-page) .exchange-sheet {
  font-size: 16px;
}

/* ── Header ── */
.sm-page .sm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 237, 244, 0.9);
}

.sm-page .sm-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sm-page .sales-brand {
  font-family: inherit;
  font-size: 22px;
  font-weight: 650;
  color: var(--sm-ink);
  gap: 12px;
}

.sm-page .sales-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fcb61b, #b8954f);
  color: var(--sm-navy);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(201, 172, 112, 0.35);
}

.sm-page .sales-back {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--sm-muted);
  gap: 6px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: color 0.15s;
}

.sm-page .sales-back:hover {
  color: var(--sm-ink);
}

/* ── Modern stroke icons ── */
.sm-page .icon,
body:has(.sm-page) .modal .icon,
body:has(.sm-page) .modal-close .icon,
body:has(.sm-page) .save-close .icon,
body:has(.sm-page) .exchange-close .icon,
body:has(.sm-page) .save-sheet .icon,
body:has(.sm-page) .exchange-sheet .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.sm-page .icon path,
.sm-page .icon circle,
.sm-page .icon rect,
.sm-page .icon line,
body:has(.sm-page) .modal .icon path,
body:has(.sm-page) .modal .icon circle,
body:has(.sm-page) .modal .icon rect,
body:has(.sm-page) .modal .icon line,
body:has(.sm-page) .save-sheet .icon path,
body:has(.sm-page) .save-sheet .icon circle,
body:has(.sm-page) .save-sheet .icon rect,
body:has(.sm-page) .exchange-sheet .icon path,
body:has(.sm-page) .exchange-sheet .icon circle,
body:has(.sm-page) .exchange-sheet .icon rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sm-page .sales-back .icon {
  transform: none;
  width: 16px;
  height: 16px;
}

/* ── Layout ── */
.sm-page .sm-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  padding: 48px 40px 80px;
  align-items: start;
}

.sm-page .sm-main {
  animation: sm-rise 0.55s ease both;
}

.sm-page .sm-aside {
  animation: sm-rise 0.7s ease 0.08s both;
}

@keyframes sm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Intro ── */
.sm-page .sm-intro {
  margin-bottom: 8px;
}

.sm-page .sales-kicker {
  display: block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sm-gold-deep);
  margin-bottom: 14px;
  letter-spacing: normal;
}

.sm-page .sm-main h1 {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.1;
  font-weight: 650;
  color: var(--sm-primary);
  max-width: 520px;
  letter-spacing: normal;
}

.sm-page .sm-accent {
  color: var(--sm-gold-deep);
  display: inline-block;
}

.sm-page .sales-start-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--sm-muted);
  margin-top: 16px;
  max-width: 460px;
}

.sm-page .sm-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 16px 0;
  border-top: 1px solid var(--sm-line);
  border-bottom: 1px solid var(--sm-line);
  font-size: 16px;
  font-weight: 500;
}

.sm-page .sm-plan > span {
  color: var(--sm-gold-deep);
}

.sm-page .sm-plan > a {
  color: var(--sm-muted);
  font-weight: 550;
  white-space: nowrap;
  font-size: 15px;
  transition: color 0.15s;
}

.sm-page .sm-plan > a:hover {
  color: var(--sm-link);
}

.sm-page .sm-disclosure {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: #7a8799;
  max-width: 460px;
}

.sm-page .sm-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.sm-page .sm-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 550;
  color: var(--sm-muted);
  min-height: 40px;
  transition: color 0.15s;
}

.sm-page .sm-text-link:hover {
  color: var(--sm-link);
}

.sm-page .sm-text-link .icon {
  width: 14px;
  height: 14px;
}

/* ── Buttons — same as home page ── */
.sm-page .btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px !important;
  padding: 8px 20px;
  font-size: 1.0625rem !important;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid #102b4e;
  color: #102b4e;
  box-shadow: none;
  letter-spacing: normal;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sm-page .btn .icon {
  width: 17px;
  height: 17px;
  color: inherit;
}

.sm-page .btn.primary {
  background: #102b4e;
  border-color: #102b4e;
  color: #fff;
}

.sm-page .btn:hover,
.sm-page .btn.primary:hover {
  background: #ddb65b;
  border-color: #ddb65b;
  color: #fff;
}

.sm-page .btn:hover .icon {
  color: #fff;
}

.sm-page .btn.wide {
  width: 100%;
}

.sm-page .btn.small {
  min-height: 48px !important;
  padding: 8px 20px;
  font-size: 1.0625rem !important;
  border-radius: 999px;
}

/* ── Aside / card preview ── */
.sm-page .sm-aside {
  position: sticky;
  top: 96px;
  padding: 28px 24px 24px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(8, 18, 34, 0.72) 0%, rgba(7, 14, 26, 0.88) 100%),
    url("../assets/signin-aside-bg.jpg") center / cover no-repeat,
    var(--sm-navy);
  color: #fff;
  box-shadow: var(--sm-shadow);
}

.sm-page .sm-aside-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(201, 172, 112, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(65, 106, 170, 0.2), transparent 50%);
  pointer-events: none;
}

.sm-page .sm-preview,
.sm-page .sm-benefits {
  position: relative;
  z-index: 1;
}

.sm-page .sm-preview .profile {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  color: var(--sm-ink);
}

.sm-page .profile-cover {
  height: 88px;
  background: var(--profile-color, #101e32);
  color: #c3d0e2;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.sm-page .org-mark {
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--gold, #c9ac70);
}

.sm-page .profile-body {
  padding: 0 24px 24px;
  text-align: center;
}

.sm-page .profile-body > .avatar {
  width: 85px;
  height: 85px;
  font-size: 27px;
  font-weight: 650;
  border: 6px solid #fff;
  border-radius: 28px;
  margin: -32px auto 15px;
  position: relative;
  background: linear-gradient(145deg, #fcb61b, #b8954f);
  color: var(--sm-navy);
  display: grid;
  place-items: center;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(201, 172, 112, 0.35);
}

.sm-page .profile-name {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: normal;
  color: var(--sm-primary);
  font-family: inherit;
}

.sm-page .profile-role {
  font-size: 16px;
  margin-top: 6px;
  color: var(--sm-muted);
}

.sm-page .profile-org {
  font-size: 16px;
  margin-top: 4px;
  color: #9aa3b0;
}

.sm-page .verify-btn {
  border: 0;
  background: #eaf4ef;
  color: #258161;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  cursor: pointer;
}

.sm-page .verify-btn .icon {
  width: 15px;
  height: 15px;
  color: #1f8a5b;
}

.sm-page .profile-bio {
  font-size: 16px;
  line-height: 1.6;
  margin: 18px auto;
  max-width: 330px;
  color: var(--sm-muted);
}

.sm-page .profile-actions {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.sm-page .profile-actions .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sm-page .profile-section {
  text-align: left;
  border-top: 1px solid var(--sm-line);
  padding-top: 18px;
  margin-top: 18px;
}

.sm-page .profile-section h3 {
  font-size: 16px;
  font-weight: 620;
  letter-spacing: normal;
  color: var(--sm-primary);
}

.sm-page .sm-exchange-label {
  margin: 4px 0 0;
  text-align: center;
}

.sm-page .sm-protocol-note {
  text-align: left;
}

.sm-page .sm-protocol-note-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sm-page .sm-protocol-note-row > .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--sm-primary);
}

.sm-page .sm-protocol-note strong {
  display: block;
  font-size: 16px;
  font-weight: 620;
  color: var(--sm-primary);
  line-height: 1.35;
}

.sm-page .sm-protocol-note p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sm-muted);
}

.sm-page .sm-offer .sales-kicker {
  display: block;
  margin-bottom: 10px;
}

.sm-page .sm-offer h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.2px;
  line-height: 1.35;
  color: var(--sm-primary);
  margin: 0 0 10px;
}

.sm-page .sm-offer .tiny {
  display: block;
  margin-bottom: 14px;
}

.sm-page .sm-offer .btn {
  width: 100%;
}

.sm-page .sm-film {
  display: block;
  width: 100%;
  position: relative;
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #152b43;
  line-height: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.sm-page .sm-film img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.sm-page .sm-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.18) 0%, rgba(8, 18, 32, 0.08) 42%, rgba(8, 18, 32, 0.72) 100%);
  pointer-events: none;
}

.sm-page .sm-film-kicker,
.sm-page .sm-film-play,
.sm-page .sm-film-title {
  position: absolute;
  z-index: 1;
  left: 16px;
}

.sm-page .sm-film-kicker {
  top: 16px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

.sm-page .sm-film-play {
  bottom: 52px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 254, 245, 0.94);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 550;
  color: #1d334c;
  line-height: 1.2;
}

.sm-page .sm-film-play .icon {
  width: 14px;
  height: 14px;
}

.sm-page .sm-film-title {
  bottom: 16px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.3px;
  color: #fff;
  line-height: 1.2;
}

.sm-page .between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sm-page .tiny {
  font-size: 16px;
  color: #8b97a6;
}

.sm-page .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sm-page .social {
  min-height: 42px;
  border: 1px solid var(--sm-input-border);
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--sm-primary);
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.sm-page .social:hover {
  border-color: var(--sm-gold);
  background: #f8f1e3;
}

.sm-page .social .icon {
  width: 16px;
  height: 16px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 9px;
  background: #f4f7fb;
  color: var(--sm-gold-deep);
}

.sm-page .social:hover .icon {
  background: #fff;
  color: var(--sm-navy);
}

.sm-page .social .icon + .icon {
  width: 13px;
  height: 13px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #9aa3b0;
  margin-left: 2px;
}

.sm-page .link-btn {
  border: 0;
  background: none;
  color: var(--sm-link);
  font-weight: 550;
  font-size: 16px;
  font-family: inherit;
  padding: 8px 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.sm-page .link-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.sm-page .link-btn .icon {
  width: 14px;
  height: 14px;
}

.sm-page .profile-credit {
  font-size: 16px;
  color: #abb2bd;
  padding: 16px;
  border-top: 1px solid var(--sm-line);
  text-align: center;
  letter-spacing: normal;
}

.sm-page .profile-credit button {
  border: 0;
  background: none;
  color: #9ca6b4;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  padding: 0 0 0 10px;
  cursor: pointer;
}

.sm-page .profile-credit button:hover {
  color: var(--sm-primary);
}

.sm-page .sm-preview-meta {
  margin-top: 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #a8b5c8;
}

.sm-page .sm-benefits {
  padding: 22px 8px 4px;
}

.sm-page .sm-benefits > strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--sm-gold-bright);
  line-height: 1.5;
}

.sm-page .sm-benefits > p {
  font-size: 16px;
  line-height: 1.65;
  margin-top: 8px;
  color: #a8b5c8;
}

.sm-page .sm-benefits > .sales-demo-disclosure {
  font-size: 16px !important;
  color: #7a8799;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 16px;
  padding-top: 14px;
}

/* ── Popups — sample page theme (Outfit, navy, gold) ── */
body:has(.sm-page) .modal-backdrop,
body:has(.sm-page) .save-backdrop,
body:has(.sm-page) .exchange-backdrop {
  font-family: Outfit, sans-serif;
  background: rgba(10, 22, 41, 0.55);
}

body:has(.sm-page) .modal,
body:has(.sm-page) .save-sheet,
body:has(.sm-page) .exchange-sheet {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sm-ink, #0f1c2e);
  background: #fff;
  border: 1px solid var(--sm-line, #e8edf4);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(10, 22, 41, 0.22);
  max-width: 520px;
  width: 100%;
}

body:has(.sm-page) .modal-head h2,
body:has(.sm-page) .save-head h2,
body:has(.sm-page) .exchange-head h2 {
  font-family: Outfit, sans-serif;
  font-weight: 650;
  letter-spacing: normal;
  color: var(--sm-primary, #102b4e);
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}

body:has(.sm-page) .modal-head p,
body:has(.sm-page) .save-head p,
body:has(.sm-page) .exchange-head p {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--sm-muted, #66788c);
  margin: 8px 0 0;
  line-height: 1.5;
}

body:has(.sm-page) .modal .btn,
body:has(.sm-page) .save-actions .btn,
body:has(.sm-page) .exchange-sheet .btn {
  font-family: Outfit, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 20px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid #102b4e;
  color: #102b4e;
  box-shadow: none;
  letter-spacing: normal;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body:has(.sm-page) .modal .btn .icon,
body:has(.sm-page) .save-actions .btn .icon,
body:has(.sm-page) .exchange-sheet .btn .icon {
  width: 17px;
  height: 17px;
  color: inherit;
}

body:has(.sm-page) .modal .btn.primary,
body:has(.sm-page) .save-actions .btn.primary,
body:has(.sm-page) .exchange-sheet .btn.primary {
  background: #102b4e;
  border-color: #102b4e;
  color: #fff;
}

body:has(.sm-page) .modal .btn:hover,
body:has(.sm-page) .modal .btn.primary:hover,
body:has(.sm-page) .save-actions .btn:hover,
body:has(.sm-page) .save-actions .btn.primary:hover,
body:has(.sm-page) .exchange-sheet .btn:hover,
body:has(.sm-page) .exchange-sheet .btn.primary:hover {
  background: #ddb65b;
  border-color: #ddb65b;
  color: #fff;
}

body:has(.sm-page) .modal .btn:hover .icon,
body:has(.sm-page) .save-actions .btn:hover .icon,
body:has(.sm-page) .exchange-sheet .btn:hover .icon {
  color: #fff;
}

body:has(.sm-page) .modal .btn.small {
  min-height: 48px;
  padding: 8px 20px;
  font-size: 1.0625rem;
  border-radius: 999px;
}

body:has(.sm-page) .modal .btn.wide,
body:has(.sm-page) .save-actions .btn,
body:has(.sm-page) .exchange-sheet .btn.wide {
  width: 100%;
}

body:has(.sm-page) .modal-close,
body:has(.sm-page) .save-close,
body:has(.sm-page) .exchange-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--sm-input-border, #e2eaf3);
  background: var(--sm-input, #eef3f9);
  color: var(--sm-muted, #66788c);
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

body:has(.sm-page) .modal-close:hover,
body:has(.sm-page) .save-close:hover,
body:has(.sm-page) .exchange-close:hover {
  background: #e4ecf4;
  color: var(--sm-navy, #0a1629);
}

body:has(.sm-page) .modal-close .icon,
body:has(.sm-page) .modal-close svg,
body:has(.sm-page) .save-close .icon,
body:has(.sm-page) .save-close svg,
body:has(.sm-page) .exchange-close .icon,
body:has(.sm-page) .exchange-close svg {
  width: 18px;
  height: 18px;
}

body:has(.sm-page) .save-person h3 {
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: normal;
  color: var(--sm-primary, #102b4e);
}

body:has(.sm-page) .save-role,
body:has(.sm-page) .save-note {
  font-size: 16px;
  font-weight: 400;
  color: var(--sm-muted, #66788c);
  line-height: 1.6;
}

body:has(.sm-page) .save-avatar {
  background: var(--sm-navy, #0a1629);
  color: var(--sm-gold, #c9ac70);
  font-family: Outfit, sans-serif;
  font-weight: 650;
  border-radius: 18px;
}

body:has(.sm-page) .save-badge {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 550;
}

body:has(.sm-page) .save-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body:has(.sm-page) .save-platforms .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 500;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--sm-input-border, #e2eaf3);
  background: #fff;
  color: var(--sm-primary, #102b4e);
  width: 100%;
}

body:has(.sm-page) .save-platforms .chip.selected {
  background: var(--sm-navy, #0a1629);
  border-color: var(--sm-navy, #0a1629);
  color: #fff;
}

body:has(.sm-page) .save-steps li {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  color: var(--sm-ink, #0f1c2e);
}

body:has(.sm-page) .save-steps li:before {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 550;
  background: var(--sm-input, #eef3f9);
  color: var(--sm-muted, #66788c);
}

body:has(.sm-page) .output-file {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  background: var(--sm-input, #eef3f9);
  color: var(--sm-muted, #66788c);
  border-radius: 12px;
}

body:has(.sm-page) .output-file .icon {
  color: var(--sm-gold-deep, #8a7342);
}

body:has(.sm-page) .save-fields span {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 500;
  background: #fcb51b82;
  color: var(--sm-gold-deep, #8a7342);
  border-radius: 999px;
  padding: 6px 12px;
}

body:has(.sm-page) .exchange-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom-color: var(--sm-line, #e8edf4);
  margin-bottom: 20px;
}

body:has(.sm-page) .exchange-tabs button {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--sm-muted, #66788c);
  margin: 0;
  padding: 12px 6px;
  width: 100%;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

body:has(.sm-page) .exchange-tabs button.active {
  color: var(--sm-primary, #102b4e);
  font-weight: 650;
  border-bottom-color: var(--sm-navy, #0a1629);
}

body:has(.sm-page) .exchange-field {
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--sm-primary, #102b4e);
}

body:has(.sm-page) .exchange-field input,
body:has(.sm-page) .exchange-field select {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: 12px;
  border: 1px solid var(--sm-input-border, #e2eaf3);
  background-color: #fff;
  color: var(--sm-ink, #0f1c2e);
  min-height: 52px;
}

body:has(.sm-page) .exchange-field input:focus,
body:has(.sm-page) .exchange-field select:focus {
  outline: none;
  border-color: #9bb4d4;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(65, 106, 170, 0.14);
}

body:has(.sm-page) .exchange-help,
body:has(.sm-page) .exchange-note,
body:has(.sm-page) .exchange-success .help,
body:has(.sm-page) .exchange-success p {
  font-size: 16px;
  font-weight: 400;
  color: var(--sm-muted, #66788c);
}

body:has(.sm-page) .exchange-consent {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--sm-ink, #0f1c2e);
}

body:has(.sm-page) .exchange-consent input {
  accent-color: var(--sm-navy, #0a1629);
}

body:has(.sm-page) .exchange-success h3 {
  font-family: Outfit, sans-serif;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: normal;
  color: var(--sm-primary, #102b4e);
}

body:has(.sm-page) .exchange-error {
  font-size: 16px;
}

.sample-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e8edf4;
}

.sample-contact-row h3 {
  font-size: 16px;
  font-weight: 620;
  letter-spacing: normal;
  color: #102b4e;
  font-family: Outfit, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sample-contact-row h3 .icon {
  width: 16px;
  height: 16px;
  color: #8a7342;
}

.sample-contact-row p {
  font-size: 16px;
  margin-top: 4px;
  color: #66788c;
}

.sample-contact-actions {
  display: grid;
  margin-top: 18px;
}

.sample-contact-actions .btn {
  width: 100%;
}

.sample-status {
  font-size: 16px;
  font-weight: 500;
  color: #258161;
  background: #eaf4ef;
  border-radius: 20px;
  padding: 6px 12px;
  white-space: nowrap;
  font-family: Outfit, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sample-status .icon {
  width: 14px;
  height: 14px;
  color: #1f8a5b;
}

.sample-help {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 16px;
  color: #66788c;
}

body:has(.sm-page) .field {
  display: grid;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #24364d;
  margin-bottom: 14px;
  font-family: Outfit, sans-serif;
}

body:has(.sm-page) .input,
body:has(.sm-page) textarea.input {
  width: 100%;
  border: 1px solid var(--sm-input-border, #e2eaf3);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 400;
  font-family: Outfit, sans-serif;
  color: var(--sm-ink, #0f1c2e);
  background: var(--sm-input, #eef3f9);
  min-height: 52px;
}

body:has(.sm-page) textarea.input {
  min-height: 120px;
  resize: vertical;
}

body:has(.sm-page) .input:focus,
body:has(.sm-page) textarea.input:focus {
  outline: none;
  border-color: #9bb4d4;
  background: #f5f8fc;
  box-shadow: 0 0 0 3px rgba(65, 106, 170, 0.14);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .sm-page .sm-layout {
    gap: 40px;
    padding: 40px 28px 64px;
  }
}

@media (max-width: 900px) {
  .sm-page .sm-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 640px;
    padding: 32px 24px 56px;
  }

  .sm-page .sm-main {
    order: 1;
  }

  .sm-page .sm-aside {
    position: static;
    order: 2;
  }

  .sm-page .sm-header-inner {
    padding: 12px 24px;
  }
}

@media (max-width: 700px) {
  .sm-page .sm-main h1 {
    font-size: 34px;
  }

  .sm-page .sales-start-lead,
  .sm-page .sm-plan,
  .sm-page .sm-disclosure {
    font-size: 15px;
  }

  .sm-page .sm-plan {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  body:has(.sm-page) .save-backdrop,
  body:has(.sm-page) .exchange-backdrop,
  body:has(.sm-page) .modal-backdrop {
    padding: 12px;
    align-items: flex-end;
  }

  body:has(.sm-page) .save-sheet,
  body:has(.sm-page) .exchange-sheet,
  body:has(.sm-page) .modal {
    max-width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 18px 18px 12px 12px;
  }

  body:has(.sm-page) .save-head,
  body:has(.sm-page) .exchange-head,
  body:has(.sm-page) .modal-head {
    padding: 20px 18px 0;
  }

  body:has(.sm-page) .save-body,
  body:has(.sm-page) .exchange-body,
  body:has(.sm-page) .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  body:has(.sm-page) .exchange-head h2,
  body:has(.sm-page) .save-head h2,
  body:has(.sm-page) .modal-head h2 {
    font-size: 22px;
  }

  body:has(.sm-page) .exchange-tabs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  body:has(.sm-page) .exchange-tabs button {
    width: 100%;
    padding: 14px 2px;
    text-align: left;
    white-space: nowrap;
  }

  body:has(.sm-page) .exchange-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sm-page .sm-header-inner {
    padding: 12px 18px;
  }

  .sm-page .sm-layout {
    padding: 24px 18px 48px;
  }

  .sm-page .sm-main h1 {
    font-size: 30px;
  }

  .sm-page .sm-aside {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .sm-page .profile-body {
    padding: 0 16px 20px;
  }

  .sm-page .profile-cover {
    padding: 18px 16px;
  }
  .save-person{
    align-items: self-start;
  }
 
}
