/* The sign-in screen uses the existing house photograph and local system fonts. */
body.auth-page{margin:0;background:#f8f7f3;color:#292e2b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5}
.auth-page .public{min-height:100svh}
.auth-layout{display:grid;grid-template-columns:minmax(420px,.92fr) minmax(0,1.08fr);min-height:100svh;max-width:1920px;margin:0 auto}
.auth-panel{min-width:0;display:flex;flex-direction:column;padding:42px clamp(32px,5vw,84px) 28px}
.auth-brand{display:block;padding:0;margin:0}
.auth-brand img{display:block;object-fit:contain;object-position:left center;width:220px;max-width:100%;height:34px}
.auth-brand>span{font:600 26px Georgia,serif}
.auth-brand p{margin:9px 0 0;color:#666b65;font-size:13px;letter-spacing:.01em}
.auth-content{flex:1;display:flex;align-items:center;padding:64px 0 72px}
.auth-card{width:100%;max-width:360px;margin:0 auto}
.auth-card h1{font-family:inherit;font-size:32px;line-height:1.2;font-weight:600;letter-spacing:-.7px;margin:0 0 12px;color:#292e2b}
.auth-intro{font-size:15px;line-height:1.65;color:#666b65;margin:0 0 30px;max-width:350px}
.auth-form{margin:0}
.auth-form label{display:block;margin:0 0 8px;font-size:14px;font-weight:500;line-height:1.4;color:#353a36}
.auth-form input:not([type=checkbox]){display:block;width:100%;min-width:0;height:48px;border:1px solid #bfc4bc;border-radius:5px;padding:11px 13px;background:#fff;color:#292e2b;font:inherit;line-height:1.4;margin:0 0 22px;box-shadow:none;transition:border-color .12s}
.auth-form input:not([type=checkbox]):hover{border-color:#8b958b}
.auth-form input:not([type=checkbox]):focus{outline:2px solid #526b5c;outline-offset:2px;border-color:#526b5c}
.auth-password{position:relative;margin-bottom:24px}
.auth-password input:not([type=checkbox]){margin-bottom:0}
.auth-password.has-toggle input{padding-right:88px}
.auth-password-toggle{position:absolute;right:5px;top:5px;min-height:38px;padding:7px 9px;background:transparent;border:0;border-radius:3px;color:#45594b;font-family:inherit;font-size:12px;font-weight:500;box-shadow:none}
.auth-password-toggle:hover{background:#f1f3ef}
.auth-password-toggle[hidden]{display:none}
.auth-submit{display:block;width:100%;min-height:48px;padding:12px 18px;border:1px solid #354c3e;border-radius:5px;background:#354c3e;color:white;font:600 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;text-align:center;box-shadow:none}
.auth-submit:hover{background:#293d31;border-color:#293d31}
.auth-submit:disabled{opacity:.65;cursor:wait}
.auth-page :is(button,a):focus-visible{outline:2px solid #526b5c;outline-offset:4px}
.auth-help{margin:24px 0 0;font-size:13px;color:#666b65;line-height:1.8}
.auth-help a{color:#354c3e;text-decoration:underline;text-underline-offset:3px}
.auth-footer{width:100%;max-width:360px;margin:0 auto;padding-top:18px;border-top:1px solid #e3e5de;color:#73796f;font-size:12px;line-height:1.6}.auth-footer small{font:inherit}
.auth-photo{position:relative;display:flex;flex-direction:column;min-width:0;margin:24px 24px 22px 0}
.auth-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center;border-radius:3px;background:#e8e5de}

.auth-notice{padding:12px 14px;margin:0 0 22px;border-left:3px solid #a9493c;background:#f4e9e5;color:#803a30;font-size:14px;line-height:1.6}
.auth-notice.success{border-color:#526b5c;background:#eaf0e9;color:#354c3e}
.auth-back{display:inline-block;margin:0 0 24px;font-size:13px;color:#526b5c;text-decoration:underline;text-underline-offset:3px}
.auth-form .auth-trust{display:flex;align-items:center;gap:10px;margin:6px 0 8px;font-size:13px;cursor:pointer}
.auth-trust input[type=checkbox]{appearance:auto;width:17px;height:17px;margin:0;flex:0 0 17px;accent-color:#354c3e}
.auth-field-note{font-size:12px;color:#666b65;margin:8px 0 24px;line-height:1.6}
.auth-form #auth-code{font-variant-numeric:tabular-nums;letter-spacing:.18em;font-size:21px}
.auth-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.auth-without-photo{display:block;max-width:620px}
.auth-without-photo .auth-panel{min-height:100svh}
@media(min-width:1600px){.auth-panel{padding-left:100px;padding-right:100px}.auth-card,.auth-footer{max-width:390px}}
@media(max-width:850px){.auth-layout{grid-template-columns:minmax(340px,1fr) minmax(0,.85fr)}.auth-panel{padding:32px 30px 24px}.auth-photo{margin:18px 18px 18px 0}}
@media(max-width:700px){.auth-layout{display:block;max-width:520px}.auth-panel{min-height:100svh;padding:32px 26px 22px}.auth-brand img{width:200px;height:30px}.auth-brand p{margin-top:7px;font-size:12px}.auth-content{padding:54px 0 60px;align-items:flex-start}.auth-card{max-width:none}.auth-card h1{font-size:29px}.auth-photo{display:none}.auth-footer{max-width:none;font-size:11px;padding-top:16px}.auth-intro{font-size:14px}.auth-form input:not([type=checkbox]){font-size:16px}.auth-help{font-size:12px}}
@media(prefers-reduced-motion:reduce){.auth-form input{transition:none}}
