/* Shared, scoped account entrance for the ASG product page and Studio. */
.asg-entry-card {
  --entry-ink: #17283d;
  --entry-muted: #53657b;
  --entry-line: #dce4ef;
  --entry-blue: #344de1;
  color: var(--entry-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  padding: clamp(24px, 2.4vw, 72px);
  border: 1px solid var(--entry-line);
  border-radius: 18px;
  box-shadow: 0 20px 65px rgb(31 54 86 / 5%);
}
.asg-entry-card *, .asg-entry-card *::before, .asg-entry-card *::after { box-sizing: border-box; }
.asg-entry-card [hidden] { display: none !important; }
.asg-entry-tabs { display: flex; padding: 4px; gap: 4px; background: #f2f4f8; border: 1px solid var(--entry-line); border-radius: 9px; margin-bottom: 28px; }
.asg-entry-tabs button { width: 50%; min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--entry-muted); font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.asg-entry-tabs button[aria-pressed="true"] { background: #fff; color: var(--entry-blue); box-shadow: 0 1px 5px rgb(20 35 60 / 7%); }
.asg-eyebrow { font-size: .71rem; font-weight: 750; letter-spacing: .14em; line-height: 1.6; margin: 0 0 18px; }
.asg-entry-card .asg-eyebrow { color: var(--entry-muted); margin-bottom: 9px; }
.asg-entry-card h2 { font-size: clamp(25px, 2vw, 46px); letter-spacing: -.035em; line-height: 1.2; margin: 0 0 12px; color: var(--entry-ink); }
.asg-entry-intro { color: var(--entry-muted); font-size: .9rem; line-height: 1.6; margin: 0 0 22px; }
.asg-entry-card form { display: block; margin: 0; }
.asg-entry-card form label:not(.asg-entry-consent) { display: block; font-size: .8rem; font-weight: 600; color: var(--entry-ink); margin: 14px 0 7px; }
.asg-entry-card input:not([type="checkbox"]):not([type="hidden"]) { display: block; width: 100%; min-height: 45px; border: 1px solid #cdd8e7; border-radius: 7px; padding: 11px 12px; font: inherit; font-size: .9rem; color: var(--entry-ink); background: #fff; box-shadow: none; }
.asg-entry-card input::placeholder { color: #75859a; opacity: 1; }
.asg-entry-card .asg-entry-consent { display: flex; align-items: flex-start; gap: 10px; margin: 21px 0 16px; font-size: .76rem; color: var(--entry-muted); line-height: 1.6; font-weight: 400; }
.asg-entry-card input[type="checkbox"] { width: 15px; height: 15px; min-width: 15px; margin: 3px 0 0; accent-color: var(--entry-blue); }
.asg-entry-card a { color: #2843ce; text-underline-offset: 3px; }
.asg-entry-card .asg-entry-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; min-height: 46px; border-radius: 7px; background: var(--entry-blue); color: #fff; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; padding: 12px 16px; }
.asg-entry-submit:hover { filter: brightness(.94); }
.asg-entry-card button:disabled { opacity: .6; cursor: wait; }
.asg-entry-card :is(button,input,a,summary):focus-visible { outline: 3px solid #6a92f1; outline-offset: 3px; }
.asg-entry-card [data-entry-status] { margin: 16px 0 0; font-size: .87rem; line-height: 1.6; overflow-wrap: anywhere; color: #174c46; }
.asg-entry-card [data-entry-status]:empty { display: none; }
.asg-entry-card [data-entry-status][data-error="true"] { color: #a12c32; }
.asg-entry-card .asg-entry-payment { font-size: .76rem; line-height: 1.65; color: var(--entry-muted); margin: 18px 0 8px; }
.asg-entry-payment strong { display: block; color: #344b60; font-weight: 650; }
.asg-entry-card .asg-entry-payment-link { font-size: .76rem; }
.asg-entry-existing { border-top: 1px solid var(--entry-line); margin-top: 22px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .78rem; line-height: 1.6; }
.asg-entry-existing span { color: var(--entry-muted); }
.asg-entry-code { margin-top: 18px; border-top: 1px solid var(--entry-line); padding-top: 17px; font-size: .78rem; line-height: 1.6; }
.asg-entry-code summary { cursor: pointer; color: var(--entry-muted); }
.asg-entry-code p { margin: 12px 0 8px; }
@media (max-width: 540px) {
  .asg-entry-card { padding: 24px 20px; border-radius: 12px; }
  .asg-entry-card input:not([type="checkbox"]):not([type="hidden"]) { font-size: 16px; }
}

.asg-entry-optional { margin-top: 15px; font-size: .76rem; color: var(--entry-muted); }
.asg-entry-optional summary { cursor: pointer; }
.asg-entry-optional summary span { color: #66778b; }
/* Reset the older editor's generic label/input rules inside the entrance. */
.asg-entry-card input[type="checkbox"] { min-height: 15px; padding: 0; flex: 0 0 15px; }
.asg-entry-card .asg-entry-consent span { font: inherit; color: inherit; }
