@font-face{font-family:"Josefin Slab";font-style:normal;font-weight:300 700;font-display:swap;src:url("/account-brand/fonts/josefin-slab-latin-normal.woff2") format("woff2")}
@font-face{font-family:"Josefin Slab";font-style:italic;font-weight:300 700;font-display:swap;src:url("/account-brand/fonts/josefin-slab-latin-italic.woff2") format("woff2")}
:root{font-family:"Josefin Slab","PingFang SC","Microsoft YaHei",serif;color:#111;background:#fff;color-scheme:light;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100vh;min-height:100svh;padding:48px 24px;display:flex;align-items:center;justify-content:center;background:#fff}
a{color:inherit;text-underline-offset:4px}a:hover{color:#555}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #111;outline-offset:5px}
[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.icon{display:block;flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.account-card{width:100%;max-width:360px;margin:auto;transition:opacity 200ms ease,translate 200ms ease}.brand{display:block;width:fit-content;margin:0 auto 36px;text-decoration:none}.brand img{display:block;object-fit:contain}.brand picture img{width:200px;height:200px}#account-brand{width:88px;height:88px}
.welcome{text-align:center}.login-pill{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 28px;border-radius:999px;background:#111;color:#fff;text-decoration:none;font-size:20px;font-weight:600;letter-spacing:.02em}.login-pill em{font-weight:400;color:inherit}.login-pill:hover{background:#333;color:#fff}.login-pill[aria-disabled=true]{opacity:.45;cursor:wait}
h1,h2,p{overflow-wrap:anywhere}h1,h2{text-align:center;font-size:20px;font-weight:600;line-height:1.4;margin:0 0 18px}h1 em,h2 em{margin-left:4px;font-size:19px}h1{margin-bottom:22px}em{font-style:italic;font-weight:400;color:#777}h2 em{display:inline-block}.step-heading{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:18px}.step-heading h2{margin:0}.methods{display:flex;justify-content:center;align-items:flex-start;gap:36px;margin:28px -12px 8px}.method{display:flex;flex:0 1 auto;max-width:150px;min-width:0;flex-direction:column;align-items:center;text-decoration:none;text-align:center;gap:12px;font-size:16px;line-height:1.35;color:#111}.method em{display:block;margin-top:2px;font-size:14px;color:#888;white-space:nowrap}.google-button{display:block;width:64px;height:64px;border-radius:50%}.method:hover .google-button{box-shadow:0 0 0 3px #f0f0f0}.method .circle{pointer-events:none}
.circle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:56px;height:56px;padding:0;border:1.5px solid transparent;border-radius:50%;background:#111;color:#fff;text-decoration:none;line-height:1;font-size:20px;transition:transform 150ms ease,background-color 150ms ease}.circle.small{width:44px;height:44px}.circle.small .icon{width:18px;height:18px}.circle.large{width:64px;height:64px}.circle.large .icon{width:26px;height:26px}.circle.outline{background:#fff;border-color:#111;color:#111}a.circle:hover,button.circle:hover{background:#333;color:#fff;transform:translateY(-1px)}a.circle.outline:hover,button.circle.outline:hover{background:#111;color:#fff}.circle:disabled,.circle:disabled:hover{background:#c8c8c8;color:#fff;transform:none;border-color:transparent}.circle.outline:disabled{background:#fff;border-color:#c8c8c8;color:#aaa}.circle[aria-busy=true]::after{content:"";position:absolute;inset:5px;border:1px solid currentColor;border-left-color:transparent;border-radius:50%;animation:busy-turn 800ms linear infinite}.circle[aria-busy=true] .icon{opacity:.35}
.field{display:flex;align-items:center;gap:14px;min-height:54px;padding:10px 0;border-bottom:1.5px solid #111;margin:12px 0;text-align:left}.field>.icon{width:20px;height:20px}.field input,.field select{flex:1;min-width:0;width:100%;padding:4px 0;border:0;border-radius:0;background:transparent;font-size:20px;line-height:1.5}.field input::placeholder{color:#777;font-style:italic;opacity:1}.field select{padding-right:4px;cursor:pointer;font-size:20px}.field:focus-within{border-bottom-width:2.5px;padding-bottom:9px}.field input:focus-visible,.field select:focus-visible{outline:none}.field input:disabled,.field select:disabled{opacity:.5}.actions{display:flex;align-items:center;justify-content:center;gap:24px;margin:26px 0 10px}.heading-icon{margin-top:0;margin-bottom:20px}
.links{display:flex;justify-content:center;gap:12px 18px;flex-wrap:wrap;margin-top:24px;font-size:14px;line-height:1.6}.links button{padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:4px}.links button:disabled{color:#888;text-decoration:none}.hint{color:#555;font-size:14px;line-height:1.65;margin:20px 0 0}.hint em{display:block;font-size:14px;margin-top:2px}.centered{text-align:center}.notice{font-family:system-ui,sans-serif;color:#333;font-size:13px;line-height:1.7;text-align:center;margin:0 0 20px;padding:12px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.notice:empty,.hint:empty{display:none}.consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0;color:#555;font-size:13px;line-height:1.65;text-align:left}.consent input{flex:none;width:16px;height:16px;margin:3px 0 0;accent-color:#111}.consent em{display:block;font-size:13px}.phone-number-row{display:flex;align-items:center;gap:14px}.phone-number{flex:1;min-width:0}.dial-code{font-size:20px;white-space:nowrap;font-variant-numeric:tabular-nums}#phone-send-count{font-size:18px;font-variant-numeric:tabular-nums}#phone-send.is-counting .phone-send-icon{display:none}#phone-form input[name=code]{letter-spacing:.1em}#phone-form input[name=code]::placeholder{letter-spacing:normal}#phone-auth>h2{margin-bottom:20px}.invitation-code{text-align:center;letter-spacing:.08em}#invitation-success .success-icon{width:72px;height:72px}#invitation-success .success-icon .icon{width:30px;height:30px}.identity{text-align:center;font-size:18px}#password-form,#settings>#phone-auth{margin-top:40px;padding-top:28px;border-top:1px solid #ddd}#settings .hint{text-align:center}
.welcome:not([hidden]),.auth-content:not([hidden]){animation:account-enter 200ms ease-out both}body.is-leaving .account-card{opacity:0;translate:0 -6px;pointer-events:none}@keyframes account-enter{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes busy-turn{to{transform:rotate(360deg)}}
@media(max-width:480px){body{padding:32px 22px}.brand{margin-bottom:28px}.methods{gap:24px}.method{font-size:15px}.method em{font-size:13px}.field{gap:10px}.phone-number-row{gap:10px}}
@media(max-height:600px){body{padding-top:24px;padding-bottom:24px}.brand{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}body.is-leaving .account-card{translate:none}}

/* The complete account flow shares Built's city-to-quill entry layout. These
   overrides stay within the entry shell; device dialogs keep their own layout. */
body.account-entry{display:block;padding:16px;min-height:100svh;font-family:"Josefin Slab","Noto Serif SC","Songti SC","SimSun","PingFang SC","Microsoft YaHei",Georgia,serif}
body.account-entry:lang(ja){font-family:"Josefin Slab","Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif}
body.account-entry:lang(ko){font-family:"Josefin Slab","Noto Serif KR","AppleMyungjo","Batang",serif}
.account-shell{width:100%;min-height:calc(100svh - 76px);display:grid;grid-template-columns:minmax(360px,1fr) minmax(0,1.05fr);gap:16px;color:#111;background:#fff}
.account-panel{min-width:0;display:flex;flex-direction:column;padding:16px 12px 8px clamp(24px,5vw,72px)}
.account-shell .account-card{width:100%;max-width:420px;min-width:0;margin:0;padding:32px 0;flex:1;display:flex;flex-direction:column;justify-content:center}
.account-shell .entry-tagline{margin:0 0 24px;font-size:clamp(44px,5.2vw,76px);font-style:italic;font-weight:400;line-height:1;letter-spacing:-.01em;text-wrap:balance;overflow-wrap:normal}
.account-shell .entry-tagline:is(:lang(zh),:lang(ja),:lang(ko)){font-style:normal;font-weight:300;font-size:clamp(34px,3.8vw,50px);letter-spacing:.06em}
.account-shell .brand{display:flex;align-items:center;gap:12px;margin:0 0 36px;text-decoration:none}
.account-shell .brand picture img,.account-shell #account-brand{width:56px;height:56px}
.account-shell .brand-name{margin:0;color:#111;font-size:30px;font-weight:600;line-height:1;letter-spacing:.04em}
.account-art{position:sticky;top:32px;align-self:start;min-width:0;height:calc(100svh - 76px - clamp(16px,3vw,48px) - clamp(16px,3vw,48px));min-height:360px;margin:clamp(16px,3vw,48px)}
.account-art img{display:block;width:100%;height:100%;object-fit:contain}
.account-footer{width:100%;max-width:420px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;color:#737373;font-size:13px}
.account-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.account-footer a{min-height:44px;display:inline-flex;align-items:center;text-underline-offset:2px}
.account-footer select{max-width:160px;min-width:44px;min-height:44px;border:0;background:transparent;font-size:16px;color:#737373}
.account-shell h1,.account-shell h2{text-align:left;font-size:20px;line-height:1.3;letter-spacing:.02em}
.account-shell h1 em,.account-shell h2 em{font-size:17px}
.account-shell .step-heading{justify-content:flex-start;gap:12px;margin-bottom:16px}
.account-shell .step-heading h2{margin:0}
.account-shell .step-heading .circle.small{width:44px;height:44px;border-radius:14px}
.account-shell .step-heading .circle.outline{border:1px solid #e2e2e2;background:#fff;color:#525252}
.account-shell .step-heading>span.circle{background:#ededed;color:#171717;border:0}
.account-shell .welcome{display:grid;gap:12px;text-align:left}
.account-shell .welcome>a,.account-shell .method{display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;min-width:0;max-width:none;min-height:60px;padding:12px 18px;border:1px solid #e2e2e2;border-radius:18px;background:#fff;color:#111;text-decoration:none;text-align:left;font-size:18px;font-weight:600;line-height:1.3;box-shadow:0 1px 2px #0000000a,0 6px 18px #0000000a;transition:border-color 150ms ease,box-shadow 150ms ease}
.account-shell .welcome>a:hover,.account-shell .method:hover{border-color:#cfcfcf;background:#fff;color:#111;box-shadow:0 1px 2px #0000000d,0 8px 22px #00000012}
.account-shell .welcome>a::after,.account-shell .method::after{content:"↵";flex:none;margin-left:auto;color:#a3a3a3;font-size:20px;font-weight:400}
.account-shell .welcome>a>span,.account-shell .method>span:last-child{flex:1;min-width:0}
.account-shell .welcome>a em,.account-shell .method em{font-size:14px;font-weight:400;color:#737373;white-space:normal}
.account-shell .methods{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;align-items:stretch;gap:12px;margin:20px 0 8px}
.account-shell .method{flex-direction:row}
.account-shell .method .circle,.account-shell .google-button,.account-shell .welcome>a>.icon{width:32px;height:32px;min-width:32px;border:0;border-radius:10px;background:#ededed;color:#171717}
.account-shell .method .circle .icon{width:18px;height:18px}
.account-shell .method:hover .google-button{box-shadow:none}
.account-shell .welcome>a>.icon{padding:7px}
.account-shell #welcome-login>.icon{background:#111;color:#fff}
.account-shell .field{gap:12px;min-height:56px;padding:0 16px;margin:12px 0;border:1px solid #e2e2e2;border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000a,0 6px 18px #00000008;transition:border-color 150ms ease,box-shadow 150ms ease}
.account-shell .field>.icon{width:18px;height:18px;color:#8a8a8a}
.account-shell .field input,.account-shell .field select{min-height:54px;padding:10px 0;font-size:17px;line-height:1.4}
.account-shell .field input::placeholder{color:#a3a3a3}
.account-shell .field:focus-within{padding-bottom:0;border-width:1px;border-color:#111;box-shadow:0 0 0 3px #11111112}
.account-shell .field select{appearance:auto}
.account-shell .actions{flex-direction:column;align-items:stretch;gap:12px;margin:16px 0 10px}
.account-shell .actions>:is(button,a).circle{width:100%;height:auto;min-height:56px;padding:12px 18px;gap:10px;border-radius:16px;border-width:1px;font-size:17px;line-height:1.35;transform:none}
.account-shell .actions>:is(button,a).circle.outline{border-color:#e2e2e2;background:#ececec;color:#171717}
.account-shell .actions>:is(button,a).circle.outline:hover{background:#e2e2e2;color:#111}
.account-shell .actions>.circle [data-button-label],.account-shell #phone-send [data-button-label]{position:static;display:block;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;border:0}
.account-shell .actions>.circle[aria-busy=true]{padding-right:40px}
.account-shell .actions>.circle[aria-busy=true]::after{inset:auto 16px auto auto;top:calc(50% - 8px);width:16px;height:16px;border-width:1.5px}
.account-shell .heading-icon{align-items:flex-start;margin-top:0;margin-bottom:16px}
.account-shell .heading-icon>.circle{width:44px;height:44px;border-radius:14px;background:#ededed;color:#171717}
.account-shell .links{justify-content:flex-start;gap:4px 18px;margin-top:12px;font-size:14px}
.account-shell .links>a,.account-shell .links>button{display:inline-flex;align-items:center;min-height:44px;min-width:44px;text-align:left}
.account-shell .hint{margin-top:16px;font-size:14px;line-height:1.6;color:#737373}
.account-shell .notice{margin:0 0 16px;padding:12px 14px;border:1px solid #e5e5e5;border-radius:14px;background:#fafafa;text-align:left;font-size:14px}
.account-shell .consent{min-height:44px;align-items:flex-start;font-size:14px;line-height:1.6}
.account-shell .consent input{width:18px;height:18px;margin-top:3px}
.account-shell .phone-number-row{gap:8px;align-items:center}
.account-shell .dial-code{font-size:17px}
.account-shell #phone-send{width:118px;min-width:92px;height:auto;min-height:56px;padding:10px 12px;gap:6px;border:1px solid #e2e2e2;border-radius:16px;background:#fff;color:#111;font-size:14px;line-height:1.25;transform:none}
.account-shell #phone-send .icon{width:16px;height:16px}
.account-shell #phone-send:hover:not(:disabled){background:#fafafa}
.account-shell #phone-send:disabled{color:#a3a3a3;background:#fff}
.account-shell #phone-send.is-counting [data-button-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-shell #invitation-success .actions{align-items:stretch}
.account-shell #invitation-success .success-icon{align-self:flex-start;width:56px;height:56px;border-radius:16px}
.account-shell #settings .identity,.account-shell #settings .hint{text-align:left}
.account-shell #password-form,.account-shell #settings>#phone-auth{margin-top:28px;padding-top:24px}
@media(max-width:860px){
 body.account-entry{padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
 .account-shell{grid-template-columns:minmax(0,1fr);min-height:calc(100svh - 76px)}
 .account-panel{min-width:0;padding:8px 4px 4px}
 .account-shell .account-card{margin:0 auto;padding:24px 0}
 .account-footer{margin:0 auto}
 .account-art{display:none}
}
@media(max-width:480px){
 .account-shell .entry-tagline{font-size:clamp(40px,12vw,52px);margin-bottom:18px}
 .account-shell .entry-tagline:is(:lang(zh),:lang(ja),:lang(ko)){font-size:clamp(30px,9.4vw,42px)}
 .account-shell .brand{margin-bottom:28px}
 .account-shell .brand picture img,.account-shell #account-brand{width:48px;height:48px}
 .account-shell .brand-name{font-size:26px}
 .account-shell .welcome>a,.account-shell .method{min-height:58px}
}
@media(max-width:360px){
 .account-shell .phone-number-row{flex-wrap:wrap}
 .account-shell .phone-number-row .phone-number{flex-basis:100%;margin-bottom:0}
 .account-shell #phone-send{width:100%}
}
@media(max-height:640px){
 .account-shell .account-card{padding-top:12px;padding-bottom:12px}
 .account-shell .entry-tagline{font-size:40px;margin-bottom:12px}
 .account-shell .brand{margin-bottom:20px}
 .account-shell .brand picture img,.account-shell #account-brand{width:44px;height:44px}
 .account-art{min-height:240px}
}

/* One heading pattern on every step: [back] Title on a single row, exactly like the method list.
   The decorative icon chip next to Back repeated the title, so it is dropped. Layout only — the
   script, element IDs and endpoints are unchanged. */
.account-shell .auth-content{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
.account-shell .auth-content>*{grid-column:1/-1;min-width:0}
.account-shell .auth-content>#email-heading:not([hidden]){grid-column:1;grid-row:1;margin:0 0 16px}
.account-shell .auth-content:has(>#email-heading:not([hidden]))>#title{grid-column:2;grid-row:1;margin:0 0 16px}
.account-shell :is(#email-heading,#phone-auth>.step-heading)>span.circle{display:none}
.account-shell #phone-auth{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
.account-shell #phone-auth>*{grid-column:1/-1;min-width:0}
.account-shell #phone-auth>.step-heading{grid-column:1;grid-row:1;margin:0 0 16px}
.account-shell #phone-auth>#phone-title{grid-column:2;grid-row:1;margin:0 0 16px}
/* The phone / email switch belongs with the other links under the form. */
.account-shell #auth-links+#phone-choice{margin-top:0}
/* Invitation step: same heading as the other steps (no decorative chip), text left-aligned like the fields. */
.account-shell #invitation-form>.heading-icon{display:none}
.account-shell .hint.centered{text-align:left}

/* Keep the language control in normal flow so it never covers a short-screen form. */
.account-header{min-height:44px;display:flex;justify-content:flex-end;align-items:center;padding:0 6px}
.language-picker{position:relative;display:inline-flex;align-items:center;border:1px solid #e5e5e5;border-radius:999px;background:#fff}
.language-picker>.icon{position:absolute;left:10px;width:13px;height:13px;color:#737373;pointer-events:none}
.language-picker select{height:30px;min-width:110px;padding:4px 6px 4px 28px;border:0;border-radius:999px;background:transparent;font-size:13px;cursor:pointer}
.language-picker:focus-within{outline:2px solid #111;outline-offset:3px}
.language-picker select:focus-visible{outline:none}
.company-footer{display:block;padding:12px 0 4px;line-height:1.6}
.company-footer p{margin:0 0 4px}
.company-footer address{font-style:normal}

/* Unavailable sign-in methods remain visible without suggesting an active action. */
.account-shell .method:disabled,.account-shell .method[aria-disabled="true"]{color:#999;background:#fafafa;border-color:#ececec;box-shadow:none;cursor:default}
.account-shell .method:disabled::after,.account-shell .method[aria-disabled="true"]::after{content:none}
.account-shell .method:disabled .circle,.account-shell .method[aria-disabled="true"] .circle{background:#f0f0f0;color:#a3a3a3}
.method small{display:block;font-size:12px;font-weight:400;color:#999;margin-top:3px}
.links a[aria-disabled="true"]{color:#999;text-decoration:none;cursor:default}
