body:has(#signin) {margin:0}
#signin {
	--paper:#f8f5ee; --line:#e7e1d4; --muted:#64716c;
	display:grid; place-items:center; min-height:100vh; box-sizing:border-box; padding:32px 16px;
	background:var(--paper); color:#10231e; font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.si-card {box-sizing:border-box;width:min(420px,100%);padding:36px 32px 28px;background:white;border:1px solid var(--line);border-radius:20px;text-align:center;box-shadow:0 8px 24px rgba(16,35,30,.10),0 2px 6px rgba(16,35,30,.06)}
.si-tile {display:grid;place-items:center;width:92px;height:92px;margin:0 auto 14px;border-radius:22px;background:var(--paper);isolation:isolate}
.si-tile img {width:80px;height:80px;mix-blend-mode:multiply}
.si-card h1 {font-size:26px;letter-spacing:-.02em;margin:0}
.si-card .lead {color:#34443f;margin:8px 0 24px}
.gbtn {width:100%;height:46px;border:1px solid #d6cfbf;border-radius:10px;background:white;display:flex;align-items:center;justify-content:center;gap:12px;font:inherit;font-size:15px;font-weight:700;color:inherit;cursor:pointer}
.gbtn:hover {background:var(--paper)}
.gbtn:focus-visible {outline:2px solid #2e9b45;outline-offset:2px}
.si-foot,.si-family {font-size:12px;color:var(--muted)}
.si-foot {margin:18px 0 0}
.si-family {margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.si-family b {color:#1b6830}
.si-err {margin-top:14px;text-align:left;padding:12px 14px;border:1px solid #f0d29a;background:#fbf0da;color:#34443f;font-size:13px;border-radius:10px}
.spin {box-sizing:border-box;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
@media (prefers-reduced-motion:no-preference) {.spin {animation:signin-spin .7s linear infinite}}
@keyframes signin-spin {to {transform:rotate(360deg)}}
.announce {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

.team-account {position:fixed;bottom:0;left:0;box-sizing:border-box;width:min(252px,100vw);padding:14px;background:#133a2b;color:white;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.account-trigger {display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;anchor-name:--account}
.account-trigger:hover {background:#1c4a37}
.account-avatar {display:grid;place-items:center;width:32px;height:32px;background:#d9ebd3;color:#133a2b;border-radius:50%;font-size:12px;font-weight:700}
.account-trigger strong {display:block;font-size:13px;line-height:1.2}
.account-trigger small,.account-family {color:#97b9a6}
.account-trigger:popover-open,.team-account:has(:popover-open) .account-trigger {background:#1c4a37}
.account-family {padding:10px 8px 0;font-size:11px;line-height:1.4}
#account-actions {position:fixed;inset:auto auto 120px 14px;position-anchor:--account;bottom:anchor(top,120px);margin:0 0 6px;box-sizing:border-box;width:min(300px,calc(100vw - 28px));max-height:60vh;overflow:auto;padding:6px;background:white;color:#10231e;border:1px solid #e7e1d4;border-radius:12px;box-shadow:0 8px 24px rgba(16,35,30,.10),0 2px 6px rgba(16,35,30,.06)}
#account-actions header {padding:10px 10px 8px;border-bottom:1px solid #e7e1d4;margin-bottom:4px}
#account-actions header small {display:block;color:#64716c;font-size:12px;overflow-wrap:anywhere}
#account-actions header small+small {margin-top:4px}
.account-action {display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer;line-height:1.5;font-family:inherit;font-size:13px;font-weight:600}
.account-action:hover {background:#f8f5ee}

@media (min-width:760px) {
 body:has(.team-account) {background:#f8f5ee;margin-left:276px}
 .team-account {top:0;display:flex;flex-direction:column;justify-content:flex-end}
 .account-trigger {border-top:1px solid #245a44}
}

.si-password {margin-top:14px}
.si-password summary {color:#1b6830;cursor:pointer}
.si-password form {margin-top:14px;display:grid;gap:12px;text-align:left}
.si-password label {display:grid;gap:4px}
.si-password input {box-sizing:border-box;width:100%;border:1px solid #d6cfbf;border-radius:10px;padding:10px 12px;font:inherit;color:inherit}
