
/* Shared member and search surfaces; original prototype stylesheet stays untouched. */
body.modal-open{overflow:hidden}#auth-dialog,#search-dialog.site-search-dialog{position:fixed;inset:0;border:1px solid #e3eaf6;padding:0;background:#fff;color:#23344d;max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 28px 100px #11254230}
#auth-dialog::backdrop,#search-dialog::backdrop{background:rgba(24,39,65,.42);backdrop-filter:blur(5px)}
#auth-dialog{width:min(460px,calc(100% - 32px));max-width:460px;border-radius:20px}#auth-dialog:not([open]){display:none}.auth-card{padding:34px 36px 24px;position:relative}.auth-close,.search-close{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:9px;background:#f5f7fb;color:#76859c;font:24px/1 sans-serif;cursor:pointer}.auth-close{position:absolute;right:16px;top:16px}.auth-close:hover,.search-close:hover{background:#eaf0fc;color:#2563eb}.auth-brand{display:inline-flex;align-items:center;gap:9px;font-size:14px;color:#466189;font-weight:650;text-decoration:none}.auth-brand>span{display:grid;place-items:center;width:31px;height:31px;background:#edf3ff;color:#2563eb;border-radius:9px}.auth-brand .icon{width:18px;height:18px}.auth-heading{margin:0 32px 20px 0}.auth-kicker{font-size:11px;letter-spacing:1px;color:#9aa8bd}.auth-heading h2{font-size:22px;line-height:1.5;letter-spacing:-.5px;margin:0;color:#1c3154;white-space:nowrap}.auth-heading p{font-size:13px;line-height:1.8;color:#8a99af;margin:0}.auth-tabs{display:flex;gap:8px;border-bottom:1px solid #e9edf5;margin-bottom:23px}.auth-tabs button{flex:1;border:0;border-bottom:2px solid transparent;padding:10px 0 12px;background:transparent;font-size:14px;color:#8c9ab1;cursor:pointer}.auth-tabs button[aria-selected=true]{color:#2563eb;border-color:#2563eb;font-weight:650}.auth-field{display:block;font-size:13px;color:#536985;margin:16px 0;line-height:1.5}.auth-field>input,.auth-password-wrap{display:flex;align-items:center;width:100%;height:45px;margin-top:7px;padding:0 13px;border:1px solid #dbe4f1;border-radius:9px;background:#fcfdff;box-sizing:border-box;font:inherit;font-size:14px;line-height:1.5;color:#263b5b}.auth-field input{outline:none;min-width:0;font-family:inherit;font-size:14px;line-height:1.5}.auth-field input::placeholder{color:#afbacb}.auth-field>input:focus,.auth-password-wrap:focus-within{border-color:#8eaff8;box-shadow:0 0 0 3px #edf3ff}.auth-password-wrap>input{height:100%;flex:1;border:0;background:transparent;width:100%;padding:0}.auth-password-wrap>button{border:0;background:transparent;color:#9aa9be;display:flex;align-items:center;cursor:pointer;padding:5px}.auth-password-wrap .icon{width:17px;height:17px}.auth-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:13px 0 3px;font-size:11px;color:#a1adbf}.auth-options button,.auth-back,.auth-dialog .text-link,.member-guest .text-link,.member-record-actions .text-link{background:none;border:0;color:#3b6cd1;font:inherit;font-size:12px;cursor:pointer;padding:0}.auth-password-hint{font-size:11px;line-height:1.7;color:#95a2b7}.auth-error{font-size:12px;line-height:1.7;color:#dc5266;margin:8px 0}.auth-error:empty{display:none}.auth-notice{font-size:12px;line-height:1.8;background:#f4f7fd;color:#788da9;padding:12px;border-radius:8px}.auth-submit.button{width:100%;height:45px;padding:0 20px;font-size:14px;white-space:nowrap;border-radius:9px;margin-top:17px;display:flex;align-items:center;justify-content:center}.auth-back{display:block;margin:18px auto 0;font-size:12px}.auth-footer{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #edf1f7;margin-top:27px;padding-top:19px;font-size:11px;color:#acb7c8}.auth-footer .icon{width:13px;height:13px}.auth-success{text-align:center;padding:20px 0}.auth-success>span{display:grid;place-items:center;width:48px;height:48px;margin:0 auto;background:#eaf8f0;color:#2d9a6c;border-radius:50%;font-size:24px}.auth-success h3{font-size:20px;margin:17px 0 10px}.auth-success p{font-size:13px;line-height:1.9;color:#8d9bb0}.auth-success>.button{font-size:13px;margin-top:15px}
#search-dialog.site-search-dialog{width:min(680px,calc(100% - 32px));max-width:680px;border-radius:18px;padding:25px 27px}.site-search-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.site-search-top span{font-size:10px;letter-spacing:1.6px;color:#99a9c0}.site-search-top h2{margin:5px 0 0;font-size:19px;line-height:1.5}.site-search-form{display:flex;align-items:center;gap:12px;padding:7px 8px 7px 14px;border:1px solid #d9e4f6;border-radius:12px;background:#f8faff}.site-search-form>.icon{width:20px;height:20px;flex:none;color:#8da7d2}.site-search-form input{min-width:0;width:0;flex:1;border:0;outline:none;padding:0;height:44px;background:transparent;font:inherit;font-size:14px;line-height:1.5;color:#2d456c;box-shadow:none}.site-search-form input::placeholder{color:#9caac0}.site-search-form .search-submit{flex:none;width:76px;height:44px;padding:0;border-radius:8px;font-size:14px;white-space:nowrap;display:flex;align-items:center;justify-content:center}.site-search-form:focus-within{border-color:#91b3fb;box-shadow:0 0 0 3px #f0f5ff}.site-search-suggestions{margin-top:24px;padding-top:21px;border-top:1px solid #eef2f8}.site-search-suggestions p{font-size:12px;color:#8a9ab3;margin:0 0 13px}.site-search-suggestions>div{display:flex;flex-wrap:wrap;gap:9px}.site-search-suggestions a{font-size:12px;color:#5c79a9;background:#f2f6fd;border-radius:6px;padding:7px 12px}.site-search-suggestions small{display:block;text-align:right;color:#a9b5c7;font-size:10px;margin-top:23px}
.member-space{padding-bottom:70px}.member-space-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0 27px}.member-space-header h1{font-size:32px;line-height:1.5;margin:8px 0 10px}.member-space-header p{font-size:15px;color:#95a3b8;line-height:1.8;margin:0}.member-space-header>.button{font-size:13px;white-space:nowrap}.member-space-header .icon{width:15px;height:15px}.member-navigation{display:flex;gap:8px;padding:6px;background:#f4f7fc;border:1px solid #e8eef7;border-radius:11px;margin-bottom:24px;overflow-x:auto}.member-navigation>a{padding:10px 20px;border-radius:7px;color:#7d8ea9;font-size:14px;white-space:nowrap}.member-navigation>a.active{color:#2d60bd;background:#fff;box-shadow:0 2px 7px #3349760a;font-weight:650}.member-guest{text-align:center;padding:48px 25px 45px;border:1px solid #e4ebf6;border-radius:16px;background:linear-gradient(150deg,#fbfdff,#f3f7ff);margin:24px auto 70px}.member-guest-icon{display:grid;place-items:center;width:60px;height:60px;background:#e7efff;border-radius:17px;color:#537ecb;margin:auto}.member-guest-icon .icon{width:29px;height:29px}.member-guest h2{font-size:25px;margin:23px 0 14px}.member-guest p{font-size:14px;line-height:1.9;color:#8a9ab3}.member-guest>div{display:flex;justify-content:center;gap:14px;margin:26px 0 20px}.member-guest .button{font-size:14px;padding:11px 22px}.member-guest .text-link{font-size:12px}.member-records{border:1px solid #e3ebf7;border-radius:14px;background:#fff;padding:23px}.member-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.member-record-toolbar>p{font-size:13px;color:#91a1b8;margin:0}.member-record-search{display:flex;align-items:center;gap:9px;background:#f7f9fd;border:1px solid #e6edf8;border-radius:8px;padding:9px 12px}.member-record-search .icon{width:15px;height:15px;color:#a6b6cd}.member-record-search input{border:0;background:transparent;font:inherit;font-size:13px;line-height:1.5;outline:none;width:170px;min-width:0}.member-record-card{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #edf2f8;min-width:0}.member-record-card:last-child{border:0}.member-record-icon{flex:none;width:41px;height:41px;border-radius:11px;background:#f0f5ff;color:#7595cb;display:grid;place-items:center;font-size:22px}.member-record-main{min-width:0;flex:1}.member-record-main strong{display:block;font-size:15px;line-height:1.7;color:#3d557a;font-weight:600;overflow-wrap:anywhere}.member-record-main p{font-size:12px;color:#a1adc0;line-height:1.7;margin:7px 0 0}.member-record-actions{display:flex;gap:14px;align-items:center;flex:none}.member-record-actions button{font-size:12px;white-space:nowrap}.member-record-remove{padding:0;border:0;background:transparent;color:#9aa9bf;cursor:pointer}.member-record-card.unavailable{opacity:.65}.member-record-empty{text-align:center;padding:45px 20px}.member-record-empty>span{font-size:40px;color:#adc1e6}.member-record-empty h2{font-size:20px;color:#627d9e;margin:14px 0}.member-record-empty p{font-size:13px;color:#a4b0c1;line-height:1.9}.member-record-empty .button{font-size:13px;margin-top:16px}.member-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:25px;font-size:13px;color:#98a9bf}.member-pagination button{font-size:12px}.member-sync-banner,.member-record-login{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;background:#f2f7ff;border:1px solid #dfeafa;border-radius:10px;margin-bottom:22px;color:#7992b8;font-size:12px;line-height:1.8}.member-sync-banner .button,.member-record-login .button{font-size:12px;white-space:nowrap}.member-record-login{margin:22px 0 0}.member-space .member-welcome h2{font-size:24px}.member-space .member-welcome p{font-size:13px}.member-space .member-metrics span{font-size:13px}.member-space .member-section h2{font-size:21px}.member-space .member-section label{font-size:13px;color:#7286a4}.member-space .member-section input,.member-space .member-section textarea{font-size:14px;padding:11px}.member-space .member-section .button{font-size:13px}.member-space .member-section p.muted{font-size:13px;line-height:1.8}.member-space .member-password{padding:14px;margin-top:24px;border:1px solid #e5ecf7}.member-space .member-password summary{font-size:13px;color:#6d86ab}
@media(max-width:760px){.member-space-header h1{font-size:27px}.member-space-header p{font-size:13px}.member-space-header{align-items:flex-start}.member-space-header>.button{font-size:12px;padding:10px 13px}.member-navigation{gap:4px}.member-navigation>a{padding:9px 15px;font-size:13px}.member-records{padding:17px}.member-record-actions{flex-direction:column;align-items:flex-end;gap:10px}.member-record-card{gap:11px}.member-record-main strong{font-size:14px}.member-sync-banner,.member-record-login{flex-wrap:wrap;gap:12px}.member-record-toolbar{gap:12px}.member-record-search input{width:120px}.member-guest h2{font-size:21px}.member-guest p{font-size:13px}}
@media(max-width:480px){.auth-card{padding:29px 24px 20px}.auth-heading h2{font-size:20px}.auth-options{font-size:10px}.auth-options button{font-size:11px}#search-dialog.site-search-dialog{padding:21px 19px}.site-search-top h2{font-size:18px}.site-search-form{gap:8px;padding-left:11px}.site-search-form input{font-size:13px}.site-search-form .search-submit{width:63px;font-size:13px}.member-space-header{display:block}.member-space-header>.button{display:inline-flex;margin-top:17px}.member-record-toolbar{flex-wrap:wrap}.member-record-search{width:100%;box-sizing:border-box}.member-record-search input{flex:1;width:100%}.member-record-main p{font-size:11px}.member-record-icon{width:33px;height:33px;font-size:18px}.member-record-actions button{font-size:11px}.member-record-card{gap:9px}.member-space .member-welcome{padding:20px}.member-space .member-welcome h2{font-size:21px}.member-space .member-welcome>button{margin-left:auto}.member-space .member-avatar-large{width:56px;height:56px;font-size:24px}}


@media(max-width:760px){.auth-field input,.site-search-form input{font-size:16px}}

.auth-dialog[data-mode=register] .auth-tabs{margin-bottom:15px}.auth-dialog[data-mode=register] .auth-field{margin:12px 0}.auth-dialog[data-mode=register] .auth-footer{margin-top:20px;padding-top:15px}

.auth-dialog[data-mode=register] .auth-kicker,.auth-dialog[data-mode=register] .auth-footer{display:none}.auth-dialog[data-mode=register] .auth-field{margin:10px 0}
/* Shared Google member entry; disabled configurations stay hidden. */
.google-login-entry{max-width:360px;width:100%;margin:20px auto 0}.google-login-divider{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:12px;margin-bottom:15px}.google-login-divider:before,.google-login-divider:after{content:"";height:1px;background:#e2e8f0;flex:1}.google-login-consent{display:flex!important;align-items:flex-start!important;gap:8px!important;color:#8190a5;font-size:12px!important;line-height:1.7;text-align:left;margin-top:12px}.google-login-consent input{width:14px!important;height:14px!important;min-height:0!important;flex:none;margin:3px 0 0!important;padding:0!important}.google-login-error,[data-google-bind-error]{font-size:12px;color:#b45309;line-height:1.7}.google-account{margin:24px 0;padding:18px 0;border-block:1px solid #e2e8f0}.google-account h3{font-size:16px}.google-account p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.google-login-entry[hidden],.google-account[hidden]{display:none!important}
.auth-field-hint{font-size:11px;line-height:1.65;color:#95a2b7;margin:-4px 0 8px}
.member-section [data-form-message].is-error{color:#dc2626}.member-section [data-form-message].is-success{color:#15803d}
.account-link.active{color:var(--blue);font-weight:650}.saved-entry.active{background:#e1ecff;border-color:#9fc0fb}
.member-navigation{align-items:center;margin-top:4px}
.member-navigation>.member-nav-cta{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid #dce6f5;border-radius:8px;background:#fff;color:#345078;font-size:13px;font-weight:500}
.member-navigation>.member-nav-cta:hover{border-color:#a5c2f4;color:var(--blue)}
.member-navigation>.member-nav-cta .icon{width:14px;height:14px}
