/* The Standard — Pass 2.3
   White global canvas, flatter member browsing, stronger password language,
   and modern profile-sheet presentation. */
:root{
  --std-cream:#ffffff;
  --std-paper:#ffffff;
  --std-soft:#f6f6f4;
  --std-line:#e7e4df;
  --std2-cream:#ffffff;
  --std2-paper:#ffffff;
  --std2-line:#e7e4df;
}
html,body,.phone,.std-screen,.std21-onboarding,.std21-apply-screen,.std2-app,.std2-status,.std-date-screen,.std-chat{background:#fff!important}
body{color:#171512}

/* Core chrome now sits on a true white canvas. */
.std-topbar{background:rgba(255,255,255,.96)!important;border-bottom-color:#efede9}
.std-nav{background:rgba(255,255,255,.97)!important;border-top-color:#e9e6e1}
.std-chat-head,.std-chat-composer{background:rgba(255,255,255,.97)!important;border-color:#e9e6e1}
.std-chat-composer textarea{background:#fff!important;border-color:#ddd9d3}
.std-msg-bubble{background:#f2f1ee}
.std-sheet,.std-date-picker-sheet{background:#fff!important}
.std-profile-actions{background:rgba(255,255,255,.97)!important;border-top-color:#e9e6e1}

/* Keep utility surfaces restrained rather than beige. */
.std-open-card,.std-open-card.on{background:#fff!important;box-shadow:none;border-color:#dedad4}
.std-home-date-card{background:#fff!important;box-shadow:none;border-color:#dedad4}
.std-date-card{background:#fff!important;box-shadow:none;border-color:#e2ded8}
.std-date-slot{background:#fff!important;border-color:#ddd9d3}
.std-date-slot.selected{background:#fbf3f4!important}
.std-pref-card{background:#fff!important;box-shadow:none}
.std-pref-chips button,.std-pref-stepper button{background:#fff!important}
.std-membership-card{background:#fff!important;box-shadow:none;border-color:#dedad4}
.std-lock-card{background:#fff!important;box-shadow:none;border-radius:0;border:0;border-top:1px solid #e7e4df;border-bottom:1px solid #e7e4df;padding-left:8px;padding-right:8px}
.std-self-card{background:#fff!important;box-shadow:none;border-color:#e2ded8}
.std-self-actions .prefs{background:#fff!important}

/* Profiles should feel editorial, not like a grid of boxed product cards. */
.std-profile-grid{gap:22px 12px}
.std-profile-card{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.std-profile-card img{border-radius:14px;aspect-ratio:4/5}
.std-profile-card-copy{padding:8px 2px 0!important}
.std-profile-card-name{font-size:18px}
.std-profile-card-meta{min-height:auto;margin-top:3px;font-size:10px}
.std-profile-card-tag{display:none!important}

/* Applicant/application surfaces: white means white. */
.std21-apply-screen,.std21-onboarding{background:#fff!important}
.std21-progress,.std2-progress{background:#ebe8e3!important}
.std22-onboard-card{background:transparent!important;box-shadow:none!important;border-color:#e5e2dd!important}
.std21-password-fields input,.std21-line-input input{background:#fff}
.std2-market,.std2-textarea-wrap textarea,.std2-quick,.std2-verify{background:#fff!important}
.std2-photo-slot{background:#f5f4f1}
.std2-status-edit{background:#fff}

/* Returning sign-in shell also uses the white Standard language. */
.login-screen{background:#fff!important;color:#171512!important}
.login-back{color:#171512!important}
.login-title{color:#171512!important}
.login-sub,.login-foot,.login-shell-note,.signup-switch{color:#81786d!important}
.login-provider{background:#fff!important;color:#171512!important;border-color:#dedad4!important}
.login-provider.apple{background:#171512!important;color:#fff!important;border-color:#171512!important}
.login-provider.email{background:#fff!important;color:#171512!important;border-color:#dedad4!important}
.login-divider{color:#8b8379!important}.login-divider::before,.login-divider::after{background:#d8d4ce!important}
.login-field span{color:#81786d!important}
.login-input{background:#fff!important;color:#171512!important;border-color:#d9d5cf!important}
.login-input:focus{border-color:#8f1d2c!important;box-shadow:0 0 0 3px rgba(143,29,44,.08)!important}
.login-submit{background:#8f1d2c!important;color:#fff!important;border-color:#8f1d2c!important}
.login-email-back,.signup-switch button{color:#8f1d2c!important}

/* Best-effort white conversion for owner/settings surfaces still inherited from Prelude. */
.settings-screen,.settings-subscreen,.dating-pref-screen,.edit-profile-screen{background:#fff!important;color:#171512!important}
.settings-head,.settings-subhead,.edit-profile-header{background:rgba(255,255,255,.97)!important;border-color:#e9e6e1!important}
.settings-title,.settings-sub-title,.settings-row-title,.settings-info-body h3,.edit-profile-title{color:#171512!important}
.settings-subtitle,.settings-row-help,.settings-row-value,.settings-version,.settings-subcopy,.edit-profile-kicker,.edit-profile-help,.edit-field-label{color:#81786d!important}
.settings-section,.settings-row,.blocked-row,.edit-profile-section,.edit-field{border-color:#e9e6e1!important}
.settings-row,.edit-profile-back,.settings-back,.settings-sub-back{color:#171512!important}
.settings-signout{background:#f6f5f2!important}
.edit-field-input,.edit-field-select{color:#171512!important}
.edit-field-select{color-scheme:light!important}
.edit-field-input::placeholder{color:#aaa39a!important}

/* Password checklist is deliberately visible and length-forward. */
.std23-password-checks{display:grid;gap:7px;margin-top:19px}
.std23-password-check{color:#8b8278;font-size:12px;padding-left:21px;position:relative}
.std23-password-check::before{content:'○';position:absolute;left:0;top:-2px;font-size:16px}
.std23-password-check.ok{color:#476847}
.std23-password-check.ok::before{content:'✓'}

/* Modern member profile sheet: stays over the page the user came from. */
.std23-profile-layer{position:fixed;inset:0;z-index:220;background:rgba(17,14,12,.22);display:flex;align-items:flex-end;justify-content:center;animation:std23Fade .18s ease-out;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}
.std23-profile-sheet{position:relative;width:100%;height:96dvh;max-height:96dvh;background:#fff;border-radius:24px 24px 0 0;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 -20px 60px rgba(24,18,14,.18);animation:std23Up .28s cubic-bezier(.2,.8,.2,1);-webkit-overflow-scrolling:touch}
.std23-profile-sheet.closing{transform:translateY(105%);transition:transform .22s ease-in}
.std23-profile-handle{position:sticky;top:0;z-index:12;height:20px;background:linear-gradient(#fff 70%,rgba(255,255,255,.92));display:flex;justify-content:center;align-items:center;touch-action:none}
.std23-profile-handle::after{content:'';width:42px;height:4px;border-radius:999px;background:#d7d3cd}
.std23-profile-hero{position:relative;margin-top:-1px;background:#eee}
.std23-profile-hero img{width:100%;height:min(60dvh,590px);min-height:420px;display:block;object-fit:cover}
.std23-profile-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.16),transparent 20%,transparent 70%,rgba(0,0,0,.34));pointer-events:none}
.std23-profile-close{position:absolute;z-index:7;top:15px;left:14px;width:42px;height:42px;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(17,14,12,.24);color:#fff;font:34px/1 Georgia,serif;display:grid;place-items:center;padding-bottom:5px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.std23-photo-count{position:absolute;z-index:5;right:14px;bottom:14px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(17,14,12,.34);color:#fff;padding:6px 10px;font-size:10px;backdrop-filter:blur(8px)}
.std23-profile-body{padding:22px 20px 118px;background:#fff}
.std23-profile-name{font:500 40px/.98 Georgia,'Times New Roman',serif;letter-spacing:-.04em;margin:0}
.std23-profile-line{margin:8px 0 0;color:#81786d;font-size:13px}
.std23-verified{margin-top:12px;color:#8f1d2c;font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.std23-profile-section{padding:23px 0;border-top:1px solid #e9e6e1}
.std23-profile-section:first-of-type{margin-top:21px}
.std23-profile-section h3{font:500 23px/1.08 Georgia,'Times New Roman',serif;margin:0 0 10px}
.std23-profile-section p{margin:0;color:#4a443d;font-size:14px;line-height:1.62}
.std23-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px}
.std23-detail-item span{display:block;color:#8b837a;font-size:8px;text-transform:uppercase;letter-spacing:.13em;font-weight:850}
.std23-detail-item strong{display:block;margin-top:5px;font-size:12px;line-height:1.35}
.std23-chips{display:flex;flex-wrap:wrap;gap:7px}.std23-chip{border:1px solid #dfdbd5;border-radius:999px;padding:8px 11px;background:#fff;color:#4b453f;font-size:10px}
.std23-profile-actions{position:sticky;z-index:10;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e9e6e1;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.std23-profile-actions button{min-height:50px;border-radius:999px;font-size:13px;font-weight:850}.std23-message{border:1px solid #8f1d2c;background:#fff;color:#8f1d2c}.std23-date{border:1px solid #8f1d2c;background:#8f1d2c;color:#fff}
@keyframes std23Up{from{transform:translateY(105%)}to{transform:translateY(0)}}
@keyframes std23Fade{from{opacity:0}to{opacity:1}}

@media(min-width:700px){
  .std23-profile-layer{padding:0 calc((100vw - 500px)/2)}
  .std23-profile-sheet{max-width:500px}
}
