/* Same dark/orange design system as the existing Margem360 presentation. */
.m360-access-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(980px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: clamp(20px, 4vw, 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: radial-gradient(ellipse at 100% 0, rgba(255,122,0,.11), transparent 48%), #141416;
  color: #f5f5f7;
  font-family: 'Albert Sans', system-ui, sans-serif;
  box-shadow: 0 40px 120px #000c;
  color-scheme: dark;
}
.m360-access-dialog:not(.m360-show-pricing) { width: min(460px, calc(100% - 24px)); }
.m360-access-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(9px); }
html:has(.m360-access-dialog[open]) { overflow: hidden; }
.m360-access-dialog *, .m360-locked-screen * { box-sizing: border-box; }
.m360-access-dialog [hidden] { display: none !important; }
.m360-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.m360-dialog-brand { color: #f5f5f7; font-size: 19px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.m360-dialog-brand span { color: #ff7a00; }
.m360-dialog-close { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff1a; border-radius: 50%; background: #ffffff0b; color: #f5f5f7; font-size: 26px; line-height: 1; cursor: pointer; }
.m360-dialog-close:hover { background: #ffffff1a; }
.m360-access-dialog h2 { margin: 0; max-width: 710px; color: #f5f5f7; font-size: clamp(24px, 4vw, 34px); line-height: 1.13; font-weight: 700; letter-spacing: -.04em; }
.m360-dialog-subtitle { margin: 12px 0 24px; color: #a1a1a6; font-size: 15px; line-height: 1.55; }
.m360-access-dialog label { display: block; margin: 16px 0 7px; font-size: 13px; font-weight: 650; color: #e5e5e7; }
.m360-access-dialog input { display: block; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #ffffff25; border-radius: 12px; outline: none; background: #212124; color: #f5f5f7; font: inherit; font-size: 15px; }
.m360-access-dialog input:focus { border-color: #ff922e; box-shadow: 0 0 0 3px #ff7a0028; }
.m360-access-dialog button { font-family: inherit; cursor: pointer; }
.m360-access-dialog button:disabled { cursor: not-allowed; opacity: .42; }
.m360-access-dialog button:focus-visible, .m360-locked-screen a:focus-visible, .m360-locked-screen button:focus-visible { outline: 2px solid #ffb67a; outline-offset: 3px; }
.m360-primary { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 46px; padding: 11px 17px; border: none; border-radius: 999px; background: #ff7a00; color: #171717; font-weight: 750; font-size: 14px; text-decoration: none; }
.m360-primary:hover:not(:disabled) { background: #ff922e; }
.m360-auth-submit { margin-top: 24px; }
.m360-trial-phone-note {font-size:12px;line-height:1.5;color:#a1a1aa;margin:10px 0 18px;}
.m360-trial-submit {margin-top:2px;}
.m360-trial-back {display:block;margin:14px auto 0;}

.m360-switch-copy { color: #a1a1a6; text-align: center; font-size: 13px; margin: 19px 0 0; }
.m360-text-button { padding: 4px 0; background: none; border: none; color: #ffad60; font-size: 13px; font-weight: 650; }
.m360-text-button:hover { color: #ffca9a; text-decoration: underline; }
.m360-status { min-height: 18px; margin: 15px 0 0; color: #ffd09f; line-height: 1.5; font-size: 13px; }
.m360-resend { display: block; margin: 14px auto 0; }
.m360-price-eyebrow { color: #ff9c42; font-size: 11px; letter-spacing: .12em; font-weight: 800; margin: 0 0 10px; }
.m360-price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 12px; margin-top: 22px; }
.m360-price-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 336px; padding: 23px 20px 18px; border: 1px solid #ffffff1b; border-radius: 19px; background: #1c1c1f; }
.m360-price-card-featured { border-color: #ff7a0099; background: radial-gradient(ellipse at 100% 0, #ff7a001c,transparent 65%), #1c1c1f; }
.m360-price-tag { position: absolute; top: -12px; left: 16px; padding: 5px 11px; border-radius: 999px; background: #ff7a00; color: #171717; font-size: 10px; font-weight: 850; letter-spacing: .05em; }
.m360-price-card h3 { margin: 0 0 15px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.m360-price-card strong { display: block; white-space: nowrap; font-size: clamp(24px, 3.1vw, 35px); font-weight: 750; line-height: 1.1; letter-spacing: -.05em; }
.m360-price-card strong span { color: #a1a1a6; font-weight: 500; letter-spacing: 0; font-size: 13px; }
.m360-price-card p { min-height: 48px; margin: 13px 0 12px; color: #a1a1a6; font-size: 13px; line-height: 1.5; }
.m360-price-card ul { list-style: none; margin: 0 0 22px; padding: 15px 0 0; border-top: 1px solid #ffffff14; display: grid; gap: 9px; }
.m360-price-card li { color: #e5e5e7; font-size: 12px; line-height: 1.3; }
.m360-price-card li::before { content: '✓'; margin-right: 9px; color: #ff9c42; font-weight: 900; }
.m360-price-card .m360-primary { margin-top: auto; font-size: 13px; }
.m360-price-legal { margin: 12px 0 20px; color: #a1a1a6; font-size: 12px; line-height: 1.5; }
.m360-trial-row { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 19px 16px; border: 1px solid #ffffff1c; border-radius: 16px; background: #ffffff07; }
.m360-trial-heading { font-size: 15px; font-weight: 650; }
.m360-trial-button { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: 11px 24px; border: 1px solid #ff7a00; border-radius: 999px; color: #ffb67a; background: #ff7a0017; font-size: 14px; font-weight: 700; }
.m360-trial-button:hover:not(:disabled) { background: #ff7a0028; }
.m360-trial-note { color: #a1a1a6; font-size: 12px; line-height: 1.45; text-align: center; }
.m360-signout { display: block; margin: 12px auto 0; }
.m360-locked-screen { position: relative; isolation: isolate; min-height: 100dvh; overflow: hidden; background: #000; color: #f5f5f7; font-family: 'Albert Sans', system-ui, sans-serif; }
.m360-locked-header { position: relative; z-index: 2; padding: 19px clamp(18px, 6vw, 80px); border-bottom: 1px solid #ffffff12; background: #000d; }
.m360-locked-backdrop { position: absolute; inset: 60px 0 0; opacity: .35; filter: blur(14px); transform: scale(1.04); }
.m360-locked-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.m360-locked-panel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 17px; width: min(560px,calc(100% - 32px)); margin: max(12vh,50px) auto 60px; padding: 35px 24px; border: 1px solid #ffffff25; border-radius: 24px; background: #141416ec; text-align: center; }
.m360-locked-panel h1 { font-size: clamp(24px,4vw,36px); font-weight: 750; margin: 0; letter-spacing: -.045em; }
.m360-locked-panel p { font-size: 15px; line-height: 1.55; color: #a1a1a6; margin: 0; }
.m360-locked-panel .m360-primary { max-width: 230px; }
.m360-locked-panel a { color: #ffad60; font-size: 13px; text-decoration: none; }
.m360-locked-panel .m360-locked-notice { color: #ffbd7e; }
@media(max-width:740px) {
  .m360-access-dialog { padding: 21px 16px; border-radius: 20px; }
  .m360-price-grid { grid-template-columns: 1fr; gap: 12px; }
  .m360-price-card { min-height: 0; padding: 22px 18px 17px; }
  .m360-price-card p { min-height: 0; }
  .m360-price-card strong { font-size: 30px; }
  .m360-price-card ul { margin-bottom: 20px; }
  .m360-price-card-featured { margin-top: 9px; }
}
@media(prefers-reduced-motion: reduce) {
  .m360-access-dialog::backdrop { backdrop-filter: none; }
}
