/* CRAFT Members front-end identity, derived from CRAFT Compass brand tokens. */
.cm-auth {
  --cm-primary: #28006f;
  --cm-primary-2: #3f1e8c;
  --cm-accent: #f4511e;
  --cm-accent-dark: #ae3100;
  --cm-bg: #fdf9fb;
  --cm-paper: #fff;
  --cm-surface: #f7f2f8;
  --cm-ink: #1d1a21;
  --cm-muted: #66606e;
  --cm-line: #d9d2df;
  --cm-good: #166b4b;
  --cm-good-soft: #e8f5ef;
  --cm-error: #a5221b;
  --cm-shadow: 0 18px 55px rgba(34, 19, 57, .09);
  color: var(--cm-ink);
  background: transparent;
  font-family: inherit;
  line-height: 1.5;
}
.cm-auth *, .cm-auth *::before, .cm-auth *::after { box-sizing: border-box; }
.cm-auth :focus-visible { outline: 3px solid #f4511e; outline-offset: 3px; }
.cm-auth a { color: var(--cm-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cm-auth a:hover { color: var(--cm-accent-dark); }
.cm-main { width: min(1110px, 100%); min-width: 0; margin: 0 auto; padding: 42px 0 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, 510px); gap: clamp(40px, 6vw, 82px); align-items: center; }
.cm-main-no-story { grid-template-columns: minmax(0, 510px); justify-content: center; }
.cm-story { position: relative; padding: 14px 0 8px; }
.cm-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--cm-accent-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.cm-eyebrow span { width: 29px; height: 2px; background: var(--cm-primary); }
.cm-story h1 { max-width: 570px; margin: 0 0 23px; color: var(--cm-primary); font-family: inherit; font-size: clamp(40px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.cm-story-copy { max-width: 475px; margin: 0; color: #585260; font-size: 17px; line-height: 1.75; }
.cm-story-rule { width: min(360px, 90%); margin: 47px 0 19px; display: grid; grid-template-columns: 1fr 23px 66px; gap: 8px; align-items: center; }
.cm-story-rule span { height: 1px; background: #d8d1dd; }
.cm-story-rule span:nth-child(2) { height: 3px; background: var(--cm-accent); }
.cm-story-rule span:nth-child(3) { background: var(--cm-primary); opacity: .35; }
.cm-story-foot { margin: 0; color: #77717c; font-size: 12px; letter-spacing: .035em; }
.cm-card { position: relative; z-index: 1; padding: 36px 38px 26px; background: rgba(255,255,255,.94); border: 1px solid #e4dfe7; border-radius: 12px; box-shadow: var(--cm-shadow); }
.cm-card-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 22px; }
.cm-card-kicker { color: var(--cm-accent-dark); font-size: 10px; font-weight: 850; letter-spacing: .115em; text-transform: uppercase; }
.cm-step-mark { display: flex; gap: 5px; }
.cm-step-mark i { display: block; width: 17px; height: 3px; border-radius: 5px; background: #e6dfe9; }
.cm-step-mark i:first-child { background: var(--cm-accent); }
.cm-card h2 { margin: 0 0 9px; color: var(--cm-ink); font-family: inherit; font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.cm-intro { margin: 0 0 25px; color: #69636f; font-size: 13px; line-height: 1.65; }
.cm-intro > :first-child { margin-top: 0; }
.cm-intro > :last-child { margin-bottom: 0; }
.cm-story .cm-story-copy > :first-child { margin-top: 0; }
.cm-story .cm-story-copy > :last-child { margin-bottom: 0; }
.cm-form { display: grid; gap: 16px; margin: 0; }
.cm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm-field { min-width: 0; display: grid; gap: 7px; }
.cm-field label { color: #312c36; font-size: 12px; font-weight: 740; }
.cm-auth .cm-field input[type="text"], .cm-auth .cm-field input[type="email"], .cm-auth .cm-field input[type="password"] { appearance: none !important; width: 100% !important; min-height: 48px !important; padding: 0 13px !important; border: 1px solid #89818f !important; border-radius: 6px !important; background: #fff !important; color: var(--cm-ink) !important; box-shadow: none !important; font: inherit !important; font-size: 14px !important; transition: border-color .15s ease, box-shadow .15s ease; }
.cm-field input::placeholder { color: #6d6672; opacity: 1; }
.cm-field input:focus { border-color: #6744a1; outline: 0; box-shadow: 0 0 0 3px rgba(40,0,111,.13); }
.cm-label-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cm-label-line a { font-size: 11px; font-weight: 650; }
.cm-optional { margin-left: 5px; color: #6d6672; font-size: 10px; font-weight: 500; }
.cm-required-marker { color: #a5221b; font-weight: 800; }
.cm-required-key { margin: -8px 0 0; color: #6d6672; font-size: 11px; }
.cm-hint { margin: -1px 0 0; color: #746e79; font-size: 11px; line-height: 1.4; }
.cm-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 1px 0; }
.cm-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--cm-primary); }
.cm-consent label { color: #514b57; font-size: 11px; line-height: 1.55; }
.cm-art13 { margin: -2px 0 0; padding: 12px 13px; border-left: 3px solid var(--cm-primary); border-radius: 0 5px 5px 0; background: #f7f4fa; color: #413a49; font-size: 12px; line-height: 1.65; }
.cm-art13 p { margin: 0; }
.cm-art13 a, .cm-privacy-actions > p a { color: var(--cm-primary); font-weight: 700; text-underline-offset: 2px; }
.cm-auth .cm-consent label { font-size: 12px; }
.cm-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cm-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 17px; border: 1px solid transparent; border-radius: 6px; font: inherit; font-size: 12px; font-weight: 780; text-decoration: none !important; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.cm-button:hover { transform: translateY(-1px); }
.cm-button-primary { color: #fff !important; background: var(--cm-primary); }
.cm-button-primary:hover { color: #fff !important; background: var(--cm-primary-2); }
.cm-button-secondary { color: var(--cm-primary) !important; background: #fff; border-color: #89818f; }
.cm-button-secondary:hover { background: var(--cm-surface); }
.cm-button-full { width: 100%; }
.cm-button span { font-size: 16px; font-weight: 500; }
.cm-form-note { margin: -3px 0 0; color: #746e79; font-size: 11px; line-height: 1.5; }
.cm-card-foot { margin: 21px 0 0; padding-top: 18px; border-top: 1px solid #ece7ee; text-align: center; }
.cm-card-foot p { margin: 0; color: #77717c; font-size: 11px; }
.cm-card-foot a { margin-left: 3px; font-weight: 750; }
.cm-notice { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; margin: 0 0 20px; padding: 15px; border: 1px solid; border-radius: 7px; }
.cm-notice p { margin: 0; color: inherit; font-size: 12px; line-height: 1.65; }
.cm-notice-info { color: #493477; background: #f3effb; border-color: #d8caef; }
.cm-notice-success { color: #14563d; background: #eaf6f0; border-color: #b6dbc9; }
.cm-notice-error { color: #8f201a; background: #fff0ee; border-color: #f0c4bd; }
.cm-notice-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(40,0,111,.1); font-size: 14px; font-weight: 800; }
.cm-notice-success .cm-notice-icon { background: #d5ecdf; }
.cm-notice-error .cm-notice-icon { background: #f9dcd7; }
.cm-resend-form { margin-top: 21px; padding-top: 20px; border-top: 1px solid #ece7ee; }
.cm-account-preview { display: grid; gap: 12px; }
.cm-profile-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fbf9fc; border: 1px solid #e8e2eb; border-radius: 7px; }
.cm-profile-card > div { min-width: 0; display: grid; gap: 3px; }
.cm-profile-card strong { color: #302a35; font-size: 13px; }
.cm-profile-card > div span { color: #6d6672; font-size: 10px; }
.cm-avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--cm-primary); font-size: 12px; font-weight: 750; }
.cm-member-badge { margin-left: auto; padding: 5px 8px; border-radius: 20px; color: #155a40; background: #e1f2e9; font-size: 9px; font-weight: 750; }
.cm-account-section { padding: 14px; border: 1px solid #e8e2eb; border-radius: 7px; }
.cm-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.cm-section-title h3 { margin: 0; color: #332d38; font-size: 12px; font-weight: 750; }
.cm-section-title > span { color: #6a5a87; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.cm-link-button { padding: 3px 0; border: 0; color: var(--cm-primary); background: none; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.cm-level-pill { width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #e3d8f2; border-radius: 20px; color: var(--cm-primary); background: #f3effb; font-size: 10px; font-weight: 700; }
.cm-level-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--cm-accent); }
.cm-detail-line { display: grid; grid-template-columns: 84px 1fr; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid #eee9f0; color: #3f3944; font-size: 10px; }
.cm-detail-line span { color: #78717d; }
.cm-tool-row { min-height: 56px; display: grid; grid-template-columns: 34px 1fr 20px; gap: 11px; align-items: center; padding: 8px 1px; border-top: 1px solid #eee9f0; text-decoration: none !important; }
.cm-tool-row > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.cm-tool-row strong { color: var(--cm-ink); font-size: 10px; }
.cm-tool-row small { overflow: hidden; color: #706a76; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cm-tool-row > b { color: var(--cm-accent-dark); font-size: 13px; text-align: right; }
.cm-tool-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: var(--cm-primary); font-size: 13px; font-weight: 800; }
.cm-tool-mark-orange { color: #fff; background: var(--cm-accent); }
.cm-account-form { margin-top: 13px; padding-top: 13px; border-top: 1px solid #eee9f0; }
.cm-account-form .cm-button { margin-top: 1px; }
.cm-account-section .cm-level-pill + .cm-level-pill { margin-left: 5px; }
.cm-privacy-actions .cm-form-note { color: #514b57; font-size: 12px; line-height: 1.65; }
.cm-privacy-actions > p { margin: 0; color: #514b57; font-size: 12px; }
/* Let Herrington's transparent desktop header reserve its actual rendered height. */
@media (min-width: 1201px) {
  body.craft-members-auth-page.bd-px-header--transparent #pxl-header-elementor .px-header--transparent { position: relative; }
  body.craft-members-auth-page.bd-px-header--transparent #pxl-main { padding-top: 0; }
}
@media (max-width: 860px) {
  .cm-main { grid-template-columns: minmax(0,1fr) minmax(340px,460px); gap: 28px; }
  .cm-main-no-story { grid-template-columns: minmax(0, 510px); }
  .cm-story h1 { font-size: clamp(38px, 5.8vw, 52px); }
  .cm-story-copy { font-size: 15px; }
  .cm-card { padding: 30px 27px 23px; }
}
@media (max-width: 700px) {
  .cm-main { width: 100%; padding: 28px 0 32px; grid-template-columns: 1fr; gap: 24px; align-content: start; }
  .cm-story { padding: 0; }
  .cm-eyebrow { margin-bottom: 14px; font-size: 8px; }
  .cm-story h1 { max-width: 520px; margin-bottom: 11px; font-size: clamp(35px, 9vw, 46px); }
  .cm-story-copy { max-width: 540px; font-size: 13px; line-height: 1.65; }
  .cm-story-rule, .cm-story-foot { display: none; }
  .cm-card { padding: 25px 21px 20px; border-radius: 9px; }
  .cm-card-top { margin-bottom: 16px; }
  .cm-card h2 { font-size: 25px; }
  .cm-intro { margin-bottom: 21px; font-size: 12px; }
  .cm-field-row { gap: 10px; }
  .cm-field-row .cm-field label { font-size: 11px; }
  .cm-auth .cm-field input[type="text"], .cm-auth .cm-field input[type="email"], .cm-auth .cm-field input[type="password"] { min-height: 46px !important; font-size: 16px !important; }
}
@media (max-width: 390px) {
  .cm-card { padding-inline: 17px; }
  .cm-field-row { grid-template-columns: 1fr; }
  .cm-story h1 { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-auth *, .cm-auth *::before, .cm-auth *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
