/* Log-in, sign-up, activation and password-reset pages (public, server-rendered).
   One layout: a pine brand band carrying the page title, then a white sheet with the form.
   Phones: the sheet rises over the band. Wide screens: band on the left, form on the right. */
:root{--pine:#173a36;--pine-2:#1f4a44;--lime:#dfedb6;--ink:#163630;--green:#1f6b4b;--green-dark:#16563b;--muted:#53685f;--line:#d5e0d9;--field:#b6c9be;--paper:#f2f6f2;--error:#a2321f}
*{box-sizing:border-box}
html{background:var(--pine)}
body{margin:0;background:#fff;color:var(--ink);font:16px/1.6 'Segoe UI',Roboto,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;-webkit-text-size-adjust:100%}
a{color:var(--green)}
input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #c3a14a;outline-offset:2px}

/* Brand band */
.acct-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.acct-band{background:var(--pine);color:#e9f0e4;padding:max(16px,env(safe-area-inset-top)) 20px 46px}
.acct-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}
.acct-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:650;font-size:17px;letter-spacing:-.01em}
.acct-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--lime);color:var(--pine);font:italic 700 20px/1 Georgia,'Times New Roman',serif;padding-bottom:2px}
.acct-lang{color:#e9f0e4;text-decoration:none;font-size:14px;font-weight:600;padding:8px 12px;border:1px solid rgba(223,237,182,.35);border-radius:999px;min-height:40px;display:inline-flex;align-items:center}
.acct-lang:hover{background:rgba(223,237,182,.12)}
.acct-intro{margin-top:26px;max-width:30rem}
.acct-intro h1{margin:0;color:#fff;font:400 34px/1.15 Georgia,'Noto Serif SC','Songti SC','Times New Roman',serif;letter-spacing:-.015em}
.acct-intro p{margin:10px 0 0;color:#c8d8c6;font-size:16px;line-height:1.55}

/* Form sheet */
.acct-sheet{flex:1;position:relative;margin-top:-24px;background:#fff;border-radius:22px 22px 0 0;padding:22px 20px max(28px,env(safe-area-inset-bottom))}
.account-card{width:100%;max-width:440px;margin:0 auto}
.account-card p{margin:0 0 14px;overflow-wrap:anywhere}
.account-card>h1{font-size:26px;line-height:1.3;margin:0 0 12px}
.lead{color:#3f5a4f}

/* Log in / Create account switch */
.acct-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;margin:0 0 22px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.acct-switch a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;color:var(--muted);font-weight:600;text-decoration:none}
.acct-switch a[aria-current=page]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(23,58,54,.14),0 0 0 1px rgba(23,58,54,.06)}

/* Fields and buttons */
form{display:grid;gap:18px;margin:18px 0}
label{display:grid;gap:6px;font-size:15px;font-weight:600}
input{font:inherit;font-weight:400;min-height:52px;padding:12px 14px;border:1px solid var(--field);border-radius:10px;background:#fff;color:var(--ink);width:100%;transition:border-color .15s,box-shadow .15s}
input:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(31,107,75,.2)}
.acct-hint{font-size:13px;font-weight:400;color:var(--muted)}
.acct-field{display:grid;gap:6px}
.acct-field-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.acct-field-head a{font-size:14px;font-weight:600;text-decoration:none}
.acct-field-head a:hover{text-decoration:underline}
.acct-pw{position:relative}
.acct-pw input{padding-right:84px}
button,.button{font:inherit;font-weight:650;min-height:54px;border:0;border-radius:12px;background:var(--green);color:#fff;cursor:pointer;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;width:100%}
button:hover,.button:hover{background:var(--green-dark)}
button[disabled]{opacity:.72;cursor:progress}
.account-card .acct-reveal{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:auto;min-height:40px;padding:0 12px;border-radius:8px;background:none;color:var(--green);font-size:14px;font-weight:600}
.account-card .acct-reveal:hover{background:var(--paper)}
.google-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;margin:0 0 4px;border:1.5px solid var(--field);border-radius:12px;background:#fff;color:var(--ink);font-weight:650;text-decoration:none}
.google-button:hover{background:var(--paper);border-color:#9fb6aa}
/* Google and Apple share one shape (Apple's guidelines: Apple's button is black with the white mark, no smaller than the others). */
.provider-buttons{display:grid;gap:10px;margin:0 0 4px}
.provider-buttons .google-button{margin:0}
.account-card .apple-button,.apple-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;border:1.5px solid #000;border-radius:12px;background:#000;color:#fff;font-weight:650;text-decoration:none}
.account-card .apple-button:hover,.apple-button:hover{background:#1d1d1f;color:#fff}
.apple-button svg{margin-top:-3px}
.provider-button:focus-visible{outline:3px solid #9ea64a;outline-offset:3px}
.provider-tip{margin:10px 0 2px!important;text-align:center;font-size:14px;color:var(--muted)}
.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;margin:16px 0 0}
.divider:before,.divider:after{content:'';flex:1;border-top:1px solid var(--line)}
.error{background:#fdf0ec;border-left:3px solid var(--error);color:var(--error);padding:10px 12px;border-radius:6px;font-size:14px;margin:0}
.error[hidden]{display:none}
.fine{font-size:13px;color:var(--muted)}
.alt{font-size:14px}

/* Sign-up sequence */
.acct-steps{list-style:none;counter-reset:step;margin:26px 0 0;padding:18px 0 0;border-top:1px solid var(--line);display:grid;gap:12px}
.acct-steps li{counter-increment:step;display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start;color:#3f5a4f;font-size:15px}
.acct-steps li:before{content:counter(step);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--paper);border:1px solid var(--line);color:var(--pine);font:600 14px/1 'Segoe UI',Roboto,sans-serif}

.account-foot{font-size:12px;color:var(--muted);margin:28px 0 0;text-align:center}

/* Older single-card markup (Google sign-in hand-off page) */
.account-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;background:var(--paper)}
.account-page .account-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 24px}

@media(max-width:360px){.acct-intro h1{font-size:30px}.acct-sheet{padding-left:16px;padding-right:16px}.acct-band{padding-left:16px;padding-right:16px}}

@media(min-width:900px){
 .acct-shell{display:grid;grid-template-columns:minmax(360px,5fr) 7fr}
 .acct-band{display:flex;flex-direction:column;padding:32px 52px 40px;position:sticky;top:0;height:100vh}
 .acct-intro{margin:auto 0;padding-bottom:48px}
 .acct-intro h1{font-size:54px;line-height:1.08}
 .acct-intro p{font-size:18px;margin-top:16px}
 .acct-sheet{margin:0;border-radius:0;background:var(--paper);display:flex;flex-direction:column;justify-content:center;padding:48px 32px}
 .acct-sheet .account-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px 34px 30px;box-shadow:0 1px 0 rgba(23,58,54,.04)}
}
@media(prefers-reduced-motion:reduce){input{transition:none}}
.google-switch{margin:8px 0 0!important;text-align:center;font-size:14px}.google-switch a{color:var(--muted);text-decoration:underline}
.acct-consent{display:flex!important;gap:10px;align-items:flex-start;margin:0 0 16px;font-size:14px!important;font-weight:400!important;line-height:1.55;color:var(--muted)}.acct-consent input{width:20px;height:20px;min-height:0;flex:none;margin-top:1px;accent-color:var(--green)}

button.danger{background:#a23126;border-color:#a23126;color:#fff}button.danger:hover{background:#8a281e}
.acct-delete-list{margin:8px 0 12px;padding-left:20px;line-height:1.6}
/* Tap targets (F5) */
.acct-lang,.acct-brand{min-height:44px}
.alt a{display:inline-block;padding:12px 0}

/* 2-step page: recovery code as a secondary choice (2026-11-15). */
.acct-recovery{margin:18px 0 0}.acct-recovery summary{cursor:pointer;color:var(--green);font-size:15px;font-weight:600;padding:8px 0}.acct-recovery form{margin-top:10px}

/* Private preview notice (opened without a session). */
.private-preview{max-width:30rem;margin:18vh auto 0;padding:0 24px;font:16px/1.6 system-ui,sans-serif;color:#173a36;text-align:center}.private-preview h1{font-size:22px;line-height:1.35;margin:0 0 10px}.private-preview .go{display:inline-block;margin-top:14px;padding:12px 28px;border-radius:10px;background:#21674f;color:#fff;font-weight:650;text-decoration:none}
/* EasyOwnSite wordmark */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/montserrat-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/static/fonts/montserrat-latin-700-normal.woff2) format('woff2')}
.eos-word{font-family:'Montserrat','Segoe UI',Arial,sans-serif;font-weight:500;letter-spacing:-.02em}.eos-word b{font-weight:700}.eos-mark{flex:none;display:block}
.acct-brand .eos-logo{display:block;height:26px;width:auto}
