/* Additive signup controls. Existing ASG panels, typography and layout are retained. */
.asg-studio-check { display:flex; align-items:flex-start; gap:.6rem; margin:1rem 0; line-height:1.55; flex-wrap:wrap; }
.asg-studio-check input { width:1.1rem; min-width:1.1rem; height:1.1rem; margin-top:.25rem; }
#studioEntryStatus { overflow-wrap:anywhere; }
#studioPlanSelect { margin-bottom:1.25rem; }
html:not(.asg-signup-first) .asg-signup-only { display:none!important; }
.asg-signup-first .asg-shell { width:100%; max-width:none; margin-inline:0; box-sizing:border-box; }
.asg-signup-first [data-panel="validate"], .asg-signup-first [data-panel="otp"] { display:none!important; }
.asg-signup-first #studioSignedIn[hidden], .asg-signup-first #studioEntryForm[hidden] { display:none!important; }

/* Clean entrance. The complete editor remains available after verification. */
.asg-studio-welcome { display: none; }
.asg-entry-nav { display: none !important; }
.asg-entry-pending .asg-entry-nav { display: inline-flex !important; }
.asg-entry-pending :is(.asg-studio-hero, .asg-studio-trustbar, #asgSetupWorkspace, .asg-studio-closing, .asg-workspace-footer) { display: none !important; }
.asg-entry-pending .asg-studio-welcome { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: calc(100svh - 68px); width: 100%; }
.asg-entry-pending .asg-welcome-story { background: linear-gradient(135deg, #eaf8ff, #c8eaff); border-right: 1px solid #d2e2ef; padding: clamp(28px, 4vw, 220px); display: flex; flex-direction: column; justify-content: space-between; gap: 60px; min-width: 0; }
.asg-welcome-brand { display: flex; align-items: center; gap: 16px; color: #152b40; text-decoration: none; }
.asg-welcome-brand img { width: 76px; height: 60px; object-fit: contain; }
.asg-welcome-brand span { display: grid; gap: 5px; }
.asg-welcome-brand strong { font-size: 15px; }
.asg-welcome-brand small { font-size: 11px; color: #536b80; }
.asg-welcome-story h1 { font-size: clamp(55px, 5.6vw, 190px); line-height: 1.06; letter-spacing: -.055em; color: #112d45; margin: 18px 0 28px; font-weight: 700; }
.asg-welcome-story h1 em { font-style: normal; color: #284cd1; }
.asg-welcome-story p { color: #41617b; font-size: clamp(15px, 1vw, 27px); line-height: 1.8; max-width: 48ch; }
.asg-welcome-story p.asg-eyebrow { font-size: clamp(10px, .7vw, 18px); }
.asg-welcome-steps { display: flex; gap: 12px; padding: 0; margin: 28px 0 0; list-style: none; }
.asg-welcome-steps li { padding: 6px 13px; border: 1px solid #b6d8ee; border-radius: 24px; color: #254c6d; font-size: clamp(11px, .75vw, 20px); background: rgb(255 255 255 / 35%); }
.asg-welcome-story p.asg-welcome-caption { font-size: clamp(10px, .7vw, 18px); max-width: none; }
.asg-welcome-access { padding: clamp(30px, 4vw, 220px); min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: linear-gradient(140deg, #fff, #f7f9fe); }
.asg-entry-pending .asg-welcome-access [data-panel="signup"] { display: block !important; padding: 0; border: 0; background: transparent; max-width: 1000px; }
.asg-welcome-access .asg-entry-card { font-size: clamp(15px, .85vw, 25px); }
.asg-welcome-payment { width: 100%; max-width: 1000px; padding: 4px 10px; font-size: clamp(12px, .8vw, 23px); line-height: 1.7; color: #53657b; scroll-margin-top: 90px; }
.asg-welcome-payment strong { color: #20384e; }
.asg-welcome-payment p { margin: 10px 0; }
.asg-welcome-payment a { color: #2843ce; text-underline-offset: 3px; }
#studioSignupHome .asg-entry-card { max-width: 750px; }
.asg-signup-first:not(.asg-entry-pending) :is(.asg-studio-hero, .asg-studio-trustbar, .asg-studio-closing) { display: none; }
.asg-signup-first:not(.asg-entry-pending) .asg-shell { padding-top: 24px; }
.asg-signup-first .asg-studio-plan-intro { margin-bottom: 24px; }
.asg-studio-plan-intro h3 { margin: 8px 0 12px; font-size: 28px; color: #18344c; }
.asg-studio-plan-intro p { color: #52677d; line-height: 1.6; }
.asg-studio-plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.asg-studio-plan-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; background: #fff; border: 1px solid #cedbea; border-radius: 12px; padding: clamp(18px, 2vw, 45px); color: #1b3550; font: inherit; cursor: pointer; min-width: 0; }
.asg-studio-plan-card>span { font-size: 20px; font-weight: 700; }
.asg-studio-plan-card>small { line-height: 1.55; color: #50657b; font-size: 13px; }
.asg-studio-plan-card>strong { font-size: clamp(23px, 2vw, 46px); line-height: 1.3; letter-spacing: -.04em; margin-top: 6px; overflow-wrap: anywhere; }
.asg-studio-plan-card>b { color: #314dc4; font-size: 13px; margin-top: auto; padding-top: 8px; }
.asg-studio-plan-card[aria-pressed="true"] { border-color: #344de1; background: #f6f8ff; box-shadow: inset 0 0 0 1px #344de1; }
.asg-studio-plan-card:focus-visible { outline: 3px solid #6a92f1; outline-offset: 3px; }
.asg-studio-plan-card:disabled { cursor: default; opacity: .75; }
.asg-checkout-disclosure { margin: 22px 0; padding: 22px; background: #f6f9fe; border: 1px solid #d7e2ef; border-radius: 12px; color: #354e65; line-height: 1.7; }
.asg-checkout-disclosure h4 { margin: 0 0 12px; color: #16334e; font-size: 18px; }
.asg-checkout-disclosure ul { padding-left: 20px; }
.asg-checkout-disclosure li { margin: 8px 0; }
.asg-checkout-disclosure a { color: #2944ca; }
.asg-studio-check { flex-wrap: nowrap; }
@media (max-width: 1000px) {
  .asg-entry-pending .asg-studio-welcome { grid-template-columns: 1fr 1.1fr; }
  .asg-entry-pending .asg-welcome-story, .asg-welcome-access { padding: 32px 24px; }
  .asg-welcome-story h1 { font-size: clamp(46px, 5.6vw, 70px); }
}
@media (max-width: 760px) {
  .asg-entry-pending .asg-studio-welcome { grid-template-columns: 1fr; }
  .asg-entry-pending .asg-welcome-story { gap: 20px; border-right: 0; border-bottom: 1px solid #d2e2ef; padding: 28px 24px; }
  .asg-welcome-brand, .asg-welcome-caption { display: none; }
  .asg-welcome-story h1 { font-size: 45px; margin: 12px 0; }
  .asg-welcome-story h1 br { display: none; }
  .asg-welcome-story h1 br::after { content: ' '; }
  .asg-welcome-story p { margin: 12px 0 0; }
  .asg-welcome-story .asg-eyebrow { margin-top: 0; }
  .asg-welcome-steps { margin-top: 18px; }
  .asg-welcome-access { padding: 26px 16px; }
  .asg-studio-plan-cards { grid-template-columns: 1fr; }
  .asg-studio-plan-card { padding: 20px; }
}

.asg-signup-first:not(.asg-entry-pending) #studioSignupHome .asg-entry-tabs { display: none; }
.asg-studio-check input[type="checkbox"] { min-height: 1.1rem; padding: 0; flex: 0 0 1.1rem; }
.asg-studio-check>span { font: inherit; color: inherit; }

.asg-signup-first .asg-plan-select-source { display: none; }
.asg-signup-first [data-panel="plan"]>.asg-note:not(#customQuoteNote) { display: none; }

/* Email account: each setup keeps its own ID, independent of its website. */
.asg-account-picker { display: none; }
.asg-account-select :is(.asg-studio-welcome,.asg-studio-hero,.asg-studio-trustbar,#asgSetupWorkspace,.asg-studio-closing) { display:none !important; }
.asg-account-select .asg-account-picker { display:block; padding:clamp(24px,4vw,180px); width:100%; box-sizing:border-box; }
.asg-account-picker>header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:30px; }
.asg-account-picker h1 { font-size:clamp(28px,3vw,64px); line-height:1.2; margin:10px 0 18px; }
.asg-account-picker p { color:#52677d; line-height:1.65; overflow-wrap:anywhere; }
.asg-account-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:18px; }
.asg-account-list article { border:1px solid #d7e2ef; border-radius:12px; padding:24px; background:#fff; min-width:0; }
.asg-account-list h2 { margin-top:0; font-size:22px; overflow-wrap:anywhere; }
.asg-account-list a { display:block; margin-top:14px; color:#2843ce; }
.asg-new-profile { margin-top:32px; padding:28px; border:1px solid #d7e2ef; border-radius:12px; background:#f8faff; }
@media(max-width:600px){.asg-account-picker>header{flex-wrap:wrap}.asg-new-profile{padding:20px}.asg-new-profile .asg-form-grid.two{grid-template-columns:1fr}}

/* Reset confirmation: native dialog semantics with ASG presentation. */
.asg-reset-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:30px;border:1px solid #dbe3ef;border-radius:20px;background:#fff;color:#142438;font:400 16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 24px 90px #102b4a38}
.asg-reset-dialog::backdrop{background:rgba(15,30,48,.48);backdrop-filter:blur(4px)}
.asg-reset-dialog form{margin:0}
.asg-reset-eyebrow{color:#2455d6;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.asg-reset-dialog h2{margin:10px 0 12px;font-size:26px;line-height:1.2;letter-spacing:-.025em}
.asg-reset-dialog p{margin:0 0 16px;color:#526173}
.asg-reset-dialog .asg-reset-note{padding:14px 16px;background:#f3f7fc;border:1px solid #e2eaf4;border-radius:12px;font-size:14px}
.asg-reset-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}
.asg-reset-actions button{min-height:44px;cursor:pointer;font:inherit;font-weight:650;padding:10px 18px;border-radius:999px}
.asg-reset-actions button:focus-visible{outline:3px solid #91b6ff;outline-offset:3px}
@media(max-width:420px){.asg-reset-dialog{padding:22px}.asg-reset-actions button{flex:1}}

.asg-profile-helper{margin:0 0 24px;padding:18px 20px;border:1px solid #d9e4f1;border-radius:16px;background:#f7faff}
.asg-profile-helper summary{cursor:pointer;font-weight:700;color:#173454}.asg-profile-helper summary small{margin-left:8px;font-weight:400;color:#62748a}
.asg-profile-helper p{font-size:14px;line-height:1.5;color:#52647b}
.asg-helper-options{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:12px;align-items:end}
.asg-helper-options label{display:grid;gap:6px;font-size:13px;font-weight:600}.asg-helper-options input,.asg-helper-options select{box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #ccd8e7;border-radius:9px;background:white;color:#152a41;font:inherit}
.asg-helper-status:empty{display:none}.asg-helper-suggestions{max-height:420px;overflow:auto;overscroll-behavior:contain;margin:14px 0;border:1px solid #dce5ef;border-radius:10px;background:#fff}
.asg-helper-suggestion{display:flex!important;align-items:flex-start;gap:12px;padding:14px;border-bottom:1px solid #e7edf4}.asg-helper-suggestion:last-child{border-bottom:0}.asg-helper-suggestion input{width:18px!important;height:18px;flex:0 0 18px;margin-top:3px}.asg-helper-suggestion span{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.asg-helper-suggestion strong{display:block;margin-bottom:5px}.asg-helper-suggestion small{display:block;color:#687a90;margin-top:6px}
@media(max-width:640px){.asg-helper-options{grid-template-columns:1fr}.asg-profile-helper{padding:16px}.asg-helper-options button{width:100%}}
