/* Copyright (c) 2026 Bunch of Help LLC. Metric Cafe™. All rights reserved. Shared unauthenticated layout. */
:root{color-scheme:light;--auth-ink:#182f40;--auth-teal:#087e7b;--auth-line:#c8d8e1}
*{box-sizing:border-box}.auth-shell{margin:0;background:#f3f7f9;color:var(--auth-ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh}
.auth-header{background:#112f42;color:#fff;padding:12px 24px;font-size:20px;font-weight:750;min-height:52px;display:flex;align-items:center}.auth-header small{font-size:12px;text-transform:uppercase;letter-spacing:.1em;border-left:1px solid #79909e;margin-left:12px;padding-left:12px;color:#9ce0df}
.auth-shell main{max-width:100%;padding:24px 16px 20px;margin:0}.auth-shell .card,.auth-shell .signin-card{background:#fff;border:1px solid #d6e2e9;border-radius:16px;max-width:580px;width:100%;margin:0 auto;padding:26px 30px;box-shadow:0 6px 22px #19384d05}
.auth-shell h1{font-size:30px;line-height:1.18;letter-spacing:-.6px;margin:4px 0 14px}.auth-shell h2{font-size:19px;margin:0 0 8px}.auth-shell h3{font-size:16px;margin:16px 0 6px}.auth-shell p{margin:10px 0;overflow-wrap:anywhere}.auth-shell .eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#007b80;margin:0 0 8px}.auth-shell .quiet,.auth-shell .signin-intro{color:#526878;font-size:14px}
.auth-shell form{margin:14px 0 0}.auth-shell .field,.auth-shell .signin-form>label{display:block;font-weight:650;font-size:14px;margin:12px 0 5px}.auth-shell input:not([type=hidden]){display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;margin:5px 0 0;border:1px solid #aabfce;border-radius:7px;background:#fff;color:var(--auth-ink);font-size:16px;line-height:1.4}.auth-shell input{font-family:inherit;font-size:16px}
.auth-shell button,.auth-shell .button,.auth-shell .page-help>summary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #9eb9c7;border-radius:8px;background:#fff;color:#076b70;font:600 14px/1.4 system-ui;text-decoration:none;cursor:pointer;max-width:100%;overflow-wrap:anywhere;text-align:center}
.auth-shell .primary,.auth-shell form>button,.auth-shell .signin-form>button{background:var(--auth-teal);border-color:var(--auth-teal);color:#fff;margin-top:12px;min-width:160px}.auth-shell button:hover,.auth-shell .button:hover,.auth-shell summary:hover{background:#e9f5f4}.auth-shell .primary:hover,.auth-shell form>button:hover{background:#056561;color:#fff}.auth-shell button:active,.auth-shell .button:active{transform:translateY(1px)}.auth-shell button:disabled{opacity:.6;cursor:not-allowed}.auth-shell :focus-visible{outline:3px solid #2866c1;outline-offset:3px}.auth-shell input[aria-invalid=true]{border-color:#b92f26}
.auth-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.auth-shell .page-help{display:block;margin:16px 0 0;font-size:14px}.auth-shell .page-help>summary{list-style:none;min-height:44px;padding:10px 14px;font-weight:500}.auth-shell .page-help>summary:before{content:'?';border:1px solid currentColor;border-radius:50%;width:18px;height:18px;line-height:17px}.auth-shell summary::-webkit-details-marker{display:none}.auth-shell .help-content{margin-top:10px;padding:16px;border:1px solid #d4e2e7;border-radius:9px;background:#f6fafb}
.auth-shell .password-rules{display:flex;flex-wrap:wrap;gap:5px 14px;list-style:none;padding:0;margin:5px 0;font-size:12px;color:#4f6473}.password-rules li:before{content:'○';margin-right:5px}.password-rules li[data-met=true]{color:#176b4f}.password-rules li[data-met=true]:before{content:'✓'}.auth-shell #password-rules{margin-top:8px}.auth-shell #password-rules .quiet{font-size:12px}.auth-shell .password-match{font-size:12px;color:#526878;min-height:18px;margin:6px 0 0}.auth-shell .field-error{font-size:13px;color:#a32921}.auth-shell .field-error:empty{display:none}.auth-shell .notice,.auth-shell .signin-error{padding:10px 12px;border:1px solid #d3e2e6;border-radius:8px;font-size:14px}.auth-shell .error,.auth-shell .signin-error{background:#fff3f3;color:#a12626;border-color:#f0b9b6}
.auth-shell footer,.auth-shell .legal-footer{position:static;max-width:720px;margin:0 auto;padding:10px 18px 20px;text-align:center;color:#5b7180;font-size:11px;background:none;border:0}.auth-shell footer p{margin:4px 0}.auth-shell footer nav{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}.auth-shell a{color:#076b70}.auth-shell .skip{position:absolute;left:-10000px;top:8px;background:#fff;padding:10px;z-index:10}.auth-shell .skip:focus{left:8px}
@media(max-width:600px){.auth-header{padding:10px 16px}.auth-shell main{padding:16px 10px}.auth-shell .card,.auth-shell .signin-card{padding:22px 18px;border-radius:12px}.auth-shell h1{font-size:27px}.auth-shell form>button{width:100%}}
@media(max-height:800px) and (min-width:601px){.auth-shell main{padding-top:16px}.auth-shell .card,.auth-shell .signin-card{padding:20px 28px}.auth-shell h1{font-size:28px;margin-bottom:10px}.auth-shell form{margin-top:10px}.auth-shell .page-help{margin-top:12px}}

.password-control{display:flex;align-items:center;gap:8px}.password-control input{flex:1;min-width:0}.auth-shell .password-toggle,.password-control .password-toggle{flex:0 0 auto;min-width:0;min-height:44px;padding:8px 12px;margin:5px 0 0;white-space:nowrap;background:white;color:#076b70;font-size:13px}

/* Intrinsic secondary controls wrap only when their actual labels need room. */
.auth-actions{align-items:flex-start;gap:8px;margin-top:12px}
.auth-actions>*{flex:0 1 auto;min-width:0}
.auth-shell .auth-actions>.page-help{margin:0}
.auth-shell .auth-actions>.page-help[open]{flex-basis:100%}
.auth-shell main{padding-block:clamp(10px,2.2vh,22px) clamp(8px,1.5vh,16px)}
.auth-shell .card,.auth-shell .signin-card{padding-block:clamp(16px,2.7vh,26px)}
.auth-shell footer,.auth-shell .legal-footer{padding-block:8px clamp(12px,2vh,20px)}
@media(max-height:600px){.auth-header{padding-block:8px;min-height:44px}.auth-shell h1{margin-bottom:10px}.auth-shell form{margin-top:10px}.auth-shell .page-help{margin-top:10px}}
