@import url("/assets/account-login.css");
@layer components {
  .account-google-host { min-height:46px; margin-top:32px; display:grid; place-items:center; }
  .api-waiting, .api-error, .api-success-symbol { display:none; }
  #page[data-state="waiting"] #api-content, #page[data-state="error"] #api-content { display:none; }
  #page[data-state="waiting"] .api-waiting, #page[data-state="error"] .api-error { display:block; }
  #page[data-state="success"] .api-success-symbol { display:grid; }
  #page[data-state="success"] #google-button, #page[data-state="success"] .api-login-note { display:none; }

  /* Approved browser approval screen, 2026-10-18. Login presentation stays shared. */
  .activation-page { padding:40px 24px 20px; }
  .activation-page .account-login-content { width:min(100%,384px); padding-bottom:24px; }
  .activation-page .account-login-brand { gap:13px; margin-bottom:32px; }
  .activation-page .account-mark { width:46px; height:46px; }
  .activation-page .account-wordmark { font-size:50px; letter-spacing:-2.8px; }
  .activation-page h1 { font-size:28px; word-break:keep-all; }
  .activation-page h1:focus { outline:none; }
  .activation-request { margin-top:26px; padding:18px 20px; border:1px solid #ffffff17; border-radius:8px; background:#1a1f26; text-align:left; }
  .activation-pc { display:flex; align-items:center; gap:12px; min-width:0; }
  .activation-pc > div { min-width:0; }
  .activation-pc-icon { width:36px; height:36px; display:grid; place-items:center; flex-shrink:0; color:#c5cedb; }
  .activation-pc-icon svg { width:26px; height:26px; }
  .activation-label { color:#a0a9b6; font-size:11px; line-height:1.5; }
  .activation-pc h2 { margin:2px 0 0; font-size:17px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
  .activation-code-section { margin-top:16px; padding-top:15px; border-top:1px solid #ffffff17; }
  .activation-code-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .activation-code-row strong { font-family:"Cascadia Code","SFMono-Regular",Consolas,monospace; font-size:23px; font-weight:500; line-height:1.5; letter-spacing:1px; }
  .activation-duration { display:flex; justify-content:space-between; gap:16px; margin-top:15px; padding-top:13px; border-top:1px solid #ffffff17; color:#a0a9b6; font-size:12px; line-height:1.6; }
  .activation-duration strong { color:#cbd3df; font-weight:500; }
  .activation-page .activation-button { min-height:44px; padding:10px 15px; border:1px solid #414c5b; border-radius:6px; background:#202630; color:#edf1f7; font-size:13px; line-height:22px; font-weight:500; }
  .activation-button:hover:not(:disabled) { background:#29323f; }
  .activation-page .activation-primary { display:block; width:100%; margin-top:24px; border-color:#edf1f7; background:#edf1f7; color:#15181d; font-weight:600; }
  .activation-primary:hover:not(:disabled) { background:#fff; border-color:#fff; }
  .activation-page .activation-quiet { min-height:44px; padding:10px 0 10px 12px; border:0; border-radius:4px; background:none; color:#a0a9b6; font-size:12px; line-height:24px; white-space:nowrap; }
  .activation-quiet:hover { color:#edf1f7; text-decoration:underline; text-underline-offset:4px; }
  .activation-page button:disabled { cursor:default; opacity:.5; }
  .activation-account { display:flex; align-items:center; gap:10px; margin-top:20px; text-align:left; }
  .activation-avatar { width:32px; height:32px; flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:#2b3440; color:#d4dce8; font-size:13px; }
  .activation-account-info { flex:1; min-width:0; }
  .activation-account-info strong { font-size:12px; font-weight:500; line-height:1.7; overflow-wrap:anywhere; }
  .activation-account-info p { color:#a0a9b6; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
  .activation-page .activation-hint { margin-top:13px; color:#a0a9b6; font-size:12px; line-height:1.7; word-break:keep-all; }
  .activation-entry { margin-top:28px; text-align:left; }
  .activation-entry label { display:block; margin-bottom:8px; color:#c5cedb; font-size:12px; }
  .activation-entry input { width:100%; height:48px; padding:10px 14px; border:1px solid #414c5b; border-radius:6px; background:#1a1f26; color:#edf1f7; font-family:"Cascadia Code",Consolas,monospace; font-size:22px; text-align:center; letter-spacing:2px; }
  .activation-entry input::placeholder { color:#737e8c; }
  .activation-entry input[aria-invalid="true"] { border-color:#f2c3b6; }
  .activation-entry .activation-primary { margin-top:14px; }
  .activation-page .activation-input-error { margin-top:9px; color:#f2c3b6; font-size:12px; line-height:1.7; }
  .activation-input-error:empty { display:none; }
  .activation-google-host { min-height:44px; margin-top:28px; display:grid; place-items:center; }
  .activation-google-host > div, .activation-google-host iframe { max-width:100%; }
  .activation-login-code { margin-top:16px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0 8px; color:#a0a9b6; font-size:12px; }
  .activation-login-code strong { color:#cbd3df; font-family:Consolas,monospace; font-weight:500; letter-spacing:1px; }
  .activation-login-code .activation-quiet { padding-left:4px; }
  .activation-result { margin-top:24px; }
  .activation-result > p:first-child { color:#d5dfea; font-size:15px; font-weight:500; overflow-wrap:anywhere; }
  .activation-secondary { width:100%; margin-top:26px; }
  .activation-page .account-orbit { width:72px; height:72px; margin:0 auto 28px; }
  .activation-page[data-state="checking"] .account-login-brand, .activation-page[data-state="approving"] .account-login-brand { display:none; }
  .activation-page .account-login-footer { padding-top:0; gap:12px; }
  .activation-page .account-login-footer a { min-height:44px; display:flex; align-items:center; }
  .activation-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  @container account (max-width:420px) {
    .activation-page .account-login-brand { margin-bottom:27px; }
    .activation-page .account-mark { width:42px; height:42px; }
    .activation-page .account-wordmark { font-size:46px; }
    .activation-page h1 { font-size:26px; }
    .activation-request { padding:16px; margin-top:23px; }
    .activation-code-row strong { font-size:22px; }
  }
  .activation-page [hidden] { display:none; }
}
