/* Focused mobile flows and a consistent invitation language. */
:root{--wine:#541b33;--signal:#e3604c;--ink:#29212a;--paper:#fffdfb}.app{background:var(--paper)}main{animation:screen-enter .2s ease-out}.toolbar .eyebrow{color:#8a6676;letter-spacing:.11em}.discovery-toolbar h1{font-size:43px}.discovery-controls{border:0;background:#f1e9ed;border-radius:13px;padding:4px 13px;margin:0 0 16px}.compass-link{font-size:13px;font-weight:600}.attention-link{font-size:12px}.shortlist-top{margin-bottom:14px}.discovery-profile{border-radius:24px;border-color:#e6dce1;box-shadow:0 12px 30px #3f17320a}.discovery-profile .portrait{height:330px}.discovery-profile .overlay{bottom:25px}.profile-intent{letter-spacing:.1em;font-size:10px}.discovery-profile .overlay h2{font-size:46px}.profile-invitation{background:#fffaf4;padding-top:25px}.profile-invitation .half-quote{font-size:30px}.profile-invitation .eyebrow{color:#8b5d55}.invitation-divider{margin:13px 0}.write-half{border-radius:12px}.connection-summary{background:#f1ece5;border-block-color:#e7ded3}.profile-story>.eyebrow{font-size:11px}.profile-footer{border-top:0}.discovery-dock{padding:8px;border-radius:17px;box-shadow:0 5px 25px #37182b29}.discovery-dock .secondary{background:#f1e8ed;color:#674359;min-width:76px}.discovery-dock .grow{background:#541b33}.discovery-foot{margin:26px 0 4px}.brand .brand-name{letter-spacing:-1.2px}.mode{font-size:11px;background:#eee4e9;color:#755165}.mode .link{font-size:11px}.welcome{padding-top:15px}.welcome-invite{background:linear-gradient(135deg,#642741,#42142c);box-shadow:0 14px 30px #4f193219}.welcome~button[data-action=demo]{display:flex;align-items:center;justify-content:space-between}.welcome~button[data-action=demo-receive]{margin-top:10px;font-size:14px}.welcome~.row{margin-top:16px}.welcome~.notice{font-size:13px;line-height:1.6}
.page-title{position:relative}.page-counter{display:inline-block;font-size:12px;color:var(--muted);margin-top:12px}.seg{background:#eee6eb;margin:22px 0;padding:5px;border-radius:14px}.seg button{min-height:43px;border-radius:10px;font-size:14px}.seg .on{box-shadow:0 3px 8px #351a2310}.inbox-item{padding:21px;background:white;border:1px solid #e5dae1;border-radius:20px;margin:15px 0;box-shadow:0 5px 20px #3f193006}.inbox-item .avatar{width:48px;height:48px;flex-shrink:0}.inbox-item h2{font-size:27px;margin-bottom:3px}.inbox-item .small{font-size:12px}.inbox-status{font-size:11px;padding:5px 8px;border-radius:7px;background:#f1e9ed;color:#785769}.inbox-status.needs-you{background:var(--wine);color:white}.inbox-preview{font:21px/1.45 Georgia,serif;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:20px 0;color:#514049;overflow-wrap:anywhere}.inbox-actions{display:flex;gap:10px}.inbox-actions .btn{font-size:14px;min-height:46px}.inbox-item>.link{justify-content:flex-start}.turn-notice{display:flex;align-items:center;gap:12px;border-left:3px solid var(--signal);padding:12px 15px;background:#f7ece8;margin-bottom:20px;border-radius:0 12px 12px 0}.turn-notice p{font-size:14px;flex:1}.turn-notice .link{font-size:12px;text-align:right;flex-shrink:0}.closed-invitations{margin-top:27px;border-top:1px solid var(--line);padding-top:15px}.closed-invitations>summary{font-size:14px;cursor:pointer;min-height:44px;color:var(--muted);padding:9px 0}.closed-invitations>summary span{float:right;border:1px solid #dacbd3;padding:0 7px;border-radius:5px;font-size:12px}.preview-tip{font-size:12px;color:var(--muted);text-align:center;margin:23px 0}.preview-tip .link{font-size:12px;min-height:25px}.sealed-invitation{margin-top:15px;box-shadow:0 8px 25px #5021380a;background:#fffaf3;border-color:#e2cfc3}.sealed-invitation .seal{box-shadow:0 4px 10px #41172d24;outline:4px solid #541b33;margin:31px auto}.sealed-invitation h2{font-size:35px}.sealed-invitation .help{font-size:12px}
#dialog.invitation-dialog{width:min(492px,calc(100% - 20px))}.composer-recipient{display:flex;align-items:flex-start;gap:13px;padding:17px;border:1px solid #e3d4dc;border-radius:14px;margin:20px 0 5px;background:#fffaf6}.composer-recipient .avatar{width:39px;height:39px;font-size:20px;flex-shrink:0}.composer-recipient p{font-size:20px;line-height:1.4;margin:5px 0 4px}.composer-recipient .small{font-size:12px}.composer-progress{list-style:none;display:flex;gap:5px;padding:0;margin:25px 0;justify-content:space-between}.composer-progress li{font-size:11px;display:flex;align-items:center;gap:6px;color:#9c8d96;flex:1;white-space:nowrap}.composer-progress li:last-child{flex:0 0 auto}.composer-progress span{width:23px;height:23px;border:1px solid #d8c9d2;border-radius:50%;display:grid;place-items:center;font-size:11px}.composer-progress .current{font-weight:650;color:var(--wine)}.composer-progress .current span,.composer-progress .complete span{background:var(--wine);color:white;border-color:var(--wine)}.composer-progress .complete{color:var(--wine)}.invite-panel[hidden],.composer-actions[hidden],.composer-actions button[hidden]{display:none!important}.invite-panel>label:first-child{margin-top:0}.invite-panel textarea[name=answer]{min-height:150px;padding:17px;font-size:17px;line-height:1.6;background:#fff}.invite-panel .voice-box{margin-top:17px}.invite-panel .voice-box label{font-size:14px}.invite-panel .voice-box .small{display:block;font-size:12px;font-weight:400}.invite-panel .help{font-size:13px}.invite-panel .invitation-guide{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:5px 0 13px;margin-bottom:18px}.invitation-guide summary{font-size:13px}.composer-actions{display:flex;gap:10px;margin-top:24px;position:sticky;bottom:-26px;padding:12px 0;background:var(--paper);z-index:2}.composer-actions .btn{min-height:50px}.composer-actions .grow{text-align:center}.composer-private{font-size:11px!important;text-align:center;margin:11px 0 0!important;color:var(--muted)}.draft-restored{font-size:12px!important;border-left:2px solid var(--gold);padding-left:10px;margin:12px 0 0!important}.planning-hint{background:#f2ece5;font-size:13px}.planning-hint p{font-size:13px}.review-invitation{background:#fffaf3;border:1px solid #e2cec0;border-radius:18px;padding:22px;margin-bottom:20px;position:relative}.review-invitation .eyebrow{font-size:10px;color:#947355}.review-invitation .review-first{font:25px/1.4 Georgia,serif;color:#4c353e;margin:20px 0 10px}.review-invitation .review-answer{font:25px/1.4 Georgia,serif;color:var(--wine);margin:12px 0 22px;overflow-wrap:anywhere}.review-plus{font:28px Georgia;text-align:center;color:var(--signal);border-block:1px dashed #e2cec0;padding:4px;margin:15px 0}.review-invitation .plan-summary{background:#fffdf8;border-color:#e7d8cd}.review-invitation .link{font-size:12px;min-height:35px;margin-right:20px;padding:2px}.voice-attached{font-size:12px!important;color:var(--wine)!important}.sent-confirmation{text-align:center;padding-top:10px}.sent-monogram{width:67px;height:67px;background:var(--wine);border:1px solid #b58b54;outline:5px solid #541b33;color:#ffe8cb;display:grid;place-items:center;font:42px Georgia;margin:13px auto 30px;border-radius:50%}.sent-confirmation h1{font-size:38px;line-height:1.15;margin-top:14px}.sent-confirmation>p{font-size:15px;line-height:1.6;margin:17px 0 25px}.sent-mini{background:#f3ecef;border-radius:14px;padding:20px;margin-bottom:25px;text-align:left}.sent-mini>span{font-size:10px;letter-spacing:.12em;color:#8b6476}.sent-mini p{font:21px/1.4 Georgia;color:var(--wine);margin:9px 0 0}.sent-confirmation>.section{margin-top:10px}
.profile-overview{margin:25px 0;background:linear-gradient(130deg,#572039,#3e172e);color:#fff9ed;border-radius:20px;padding:25px}.profile-overview .eyebrow{color:#e4bf95}.profile-overview h2{font-size:30px}.profile-overview p{color:#e0cbd6}.profile-overview .btn{background:#fff8ed;color:#54273d;border-radius:12px;font-size:15px}.profile-overview .help{color:#d0b4c3;font-size:12px}.profile-sections{margin-top:25px}.profile-edit-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.profile-edit-heading>span{font-size:11px;letter-spacing:.12em;color:#8c7180}.profile-edit-heading .link{font-size:13px}.profile-section{border:1px solid #e2d7de;border-radius:15px;margin:11px 0;background:white;overflow:hidden}.profile-section>summary{display:flex;align-items:center;justify-content:space-between;padding:18px;gap:12px;cursor:pointer;list-style:none}.profile-section>summary::-webkit-details-marker{display:none}.profile-section>summary strong{display:block;font-size:16px;font-weight:600}.profile-section>summary small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px}.section-plus{color:#9f7e8e;font:25px Georgia}.profile-section[open] .section-plus{transform:rotate(45deg)}.profile-section[open]>summary{border-bottom:1px solid var(--line)}.profile-section-content{padding:0 18px 20px}.profile-section-content>.prompt{border:0;background:none;padding:0;margin-top:17px}.profile-section-content>.little-things{margin:17px 0 0}.profile-section-content>.input-row{gap:12px}.profile-section-content label{font-size:14px}.own-preview-head{display:flex;align-items:center;gap:17px;margin:25px 0}.own-preview-head .avatar{width:70px;height:70px;font-size:34px;flex-shrink:0}.own-preview-head h2{font-size:29px}.own-preview-head p{font-size:14px;margin:5px 0}.own-preview>.prompt p.small{font:14px/1.5 -apple-system,sans-serif}.conversation-list{margin-top:25px}.conversation-list .chat-row{padding:22px 0}.conversation-list .avatar{width:55px;height:55px;flex-shrink:0}.conversation-row-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.conversation-row-title>span{font-size:11px;color:#967b8c;white-space:nowrap}.conversation-plan{display:inline-block;font-size:11px;color:#7d5b6d;margin-top:9px;background:#f3ebef;padding:3px 7px;border-radius:5px}.chat-original-invite{background:#fffaf5;padding:14px 16px;border-color:#e6d6ca}.chat-original-invite summary{font-size:13px;color:#876454;cursor:pointer}.chat-original-invite p{font:20px/1.4 Georgia;color:var(--wine)}.chat-head{margin-bottom:13px}.chat-date-link{display:grid;grid-template-columns:1fr;gap:2px;margin:13px 0}.chat-date-link .btn{font-size:14px;min-height:45px}.chat-date-link .link{min-height:32px;font-size:12px}.chat-log{min-height:190px;max-height:44dvh}.compose{border-top:1px solid var(--line);padding-top:13px}.compose textarea{border-radius:16px;min-height:53px;line-height:1.45;padding:13px;background:white}.compose button{border-radius:14px;min-height:53px}.msg{font-size:16px;line-height:1.55}.message-empty{font:22px/1.45 Georgia,serif;color:#9b8491;padding:40px 20px}.date-list-card{border-radius:19px}.date-list-card .calendar-stamp{background:#f1e5e7;color:#6a3549}.date-hero{background:linear-gradient(130deg,#642540,#3e142b)}.date-journey{margin-top:8px}.empty{background:#f4edf0;padding:33px 22px}.empty h2{font-size:30px;line-height:1.2}.empty p{font-size:15px;line-height:1.6}.empty .btn{font-size:15px}.empty .link{font-size:13px}
@keyframes screen-enter{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:380px){.discovery-profile .portrait{height:295px}.discovery-profile .overlay h2{font-size:42px}.discovery-controls{padding-inline:10px}.compass-link{font-size:12px}.attention-link{font-size:11px}.composer-progress li{font-size:10px;gap:5px}.composer-progress span{width:21px;height:21px;font-size:10px}.composer-recipient{padding:14px;gap:10px}.composer-recipient p{font-size:18px}.composer-recipient .avatar{display:none}.inbox-item{padding:17px}.inbox-item h2{font-size:25px}.review-invitation{padding:18px}.sent-confirmation h1{font-size:34px}.profile-section>summary{padding:16px}.profile-section-content{padding-inline:15px}}
@media(min-width:650px){.discovery-profile .portrait{height:355px}.app{border:1px solid #e0d5dc}#dialog.invitation-dialog{max-height:88dvh}}
@media(prefers-reduced-motion:reduce){main{animation:none}}

/* Launch cleanup: readable states, keyboard access, and mobile touch targets. */
nav:empty{display:none}.skip-link{position:fixed;left:16px;top:-100px;z-index:30;background:white;padding:12px 18px;border-radius:10px}.skip-link:focus{top:12px}.connection-notice{padding:12px 20px;background:#fff0d5;color:#594016;font-size:14px;text-align:center}.connection-notice[hidden]{display:none}.mode,.mode .link{font-size:13px}.photo-upload{position:relative;overflow:hidden;text-align:center;cursor:pointer}.photo-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0}.photo-upload:focus-within{outline:3px solid #ad6882;outline-offset:3px}.photo-upload[aria-busy=true]{opacity:.6}.photo-tile button{width:44px;height:44px}.photo-tile .main-photo{min-height:40px;font-size:12px}.input-row>*{min-width:0}.input-row input,.input-row select{min-width:0}.error:focus{outline:2px solid #ad6882;outline-offset:4px}.safety-list{padding-left:22px}.safety-list li{margin:12px 0}main:focus{outline:none}#toast{padding-bottom:max(12px,env(safe-area-inset-bottom))}dialog{overscroll-behavior:contain}.composer-progress li{white-space:normal}.turn-notice{flex-wrap:wrap}.inbox-actions{flex-wrap:wrap}.inbox-actions .btn{flex:1}.profile-edit-heading{gap:12px}
@media(max-width:360px){header{padding:16px}.brand .brand-name{font-size:26px}.input-row{grid-template-columns:1fr}.composer-progress{gap:8px}.composer-progress li{font-size:12px}.inbox-item{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A single touch-friendly action system across every screen and dialog. */
:is(#main,#dialog,#mode) button.link{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:48px;min-width:48px;padding:12px 16px;margin-top:8px;
 border:1px solid #d9c7d1;border-radius:13px;background:#f4edf1;color:#541b33;
 font-size:15px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;
 white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 3px #36132305;
 transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
:is(#main,#dialog,#mode) button.link.danger{color:#972e3e;background:#fff1f1;border-color:#e5bdc4}
:is(#main,#dialog) .row:has(>button.link){flex-wrap:wrap;gap:10px;align-items:stretch}
:is(#main,#dialog) .row>button.link{flex:1 1 140px;margin:0}
#mode{flex-wrap:wrap;padding:8px 12px;gap:8px 12px}
#mode button.link{margin:0;min-height:44px;padding:9px 14px;font-size:14px;background:#fffafc}
#main .profile-footer{gap:10px;padding:18px 0;margin-top:14px}
#main .profile-footer .grow{margin-right:0;flex:1 1 140px}
#main .shortlist-top{flex-wrap:wrap;align-items:center;gap:8px}
#main .shortlist-top .link{margin:0}
#main .preview-tip .link{display:flex;width:100%;margin-top:12px}
#main .turn-notice .link{flex:1 1 150px;text-align:center;margin:0}
#main .discovery-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;background:none;padding:0;gap:10px}
#main .compass-link,#main .attention-link{border:1px solid #dfd1d9;background:#f3ebf0;border-radius:13px;min-height:48px;padding:11px 14px;font-size:14px;line-height:1.4;justify-content:center;text-align:center}
#main .attention-link{color:#654b59}
#dialog .review-invitation>.link{margin:12px 6px 0 0}
#dialog .composer-actions{gap:10px}
#main .profile-edit-heading .link{margin:0}
#main .chat-date-link .link{margin-top:10px}
#main .bar .link{margin:0}
.btn,.round,.install-btn,.seg button,.studio-tabs button{min-height:48px}
.install-btn{border-radius:13px;font-weight:600;background:#f4edf1;font-size:14px}
.round{width:48px;min-width:48px;height:48px;border-radius:14px}
.btn,a.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:normal;overflow-wrap:anywhere;text-align:center}
.write-half{justify-content:space-between}
#main .dots button{min-height:44px;background:linear-gradient(transparent 18px,#ffffff70 18px,#ffffff70 22px,transparent 22px)}
#main .dots button.on{background:linear-gradient(transparent 18px,white 18px,white 22px,transparent 22px)}
#main .discovery-profile:has(.dots) .sample{top:57px}
#main .photo-tile>button{width:44px;height:44px;min-height:44px}
#main .photo-tile>.main-photo{width:auto;padding:8px;font-size:13px}
#main .photo-prev,#main .photo-next{width:48px;min-height:56px}
:is(#main,#dialog) details>summary{min-height:48px;cursor:pointer;padding:12px 14px;border:1px solid #dfd1d9;border-radius:12px;background:#f7f1f4;color:#541b33;font-size:15px;line-height:1.5;font-weight:600}
:is(#main,#dialog) details[open]>summary{background:#eee2e9;border-color:#cbb3c0}
:is(#main,#dialog) .profile-section>summary{padding:18px;border:0;border-radius:0;background:transparent}
:is(#main,#dialog) .check{padding:12px;border:1px solid #e3d7de;border-radius:12px;min-height:48px;align-items:center;cursor:pointer}
:is(#main,#dialog) .choice-chips span{min-height:44px;display:flex;align-items:center}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ad6882;outline-offset:3px}
button[aria-busy=true]{cursor:progress}
button:disabled{opacity:.55;box-shadow:none}
@media(hover:hover){:is(#main,#dialog,#mode) button.link:hover:not(:disabled),.install-btn:hover{background:#e9dce4;border-color:#b697a8}.btn:hover:not(:disabled){filter:brightness(.96)}}
:is(#main,#dialog,#mode) button.link:active:not(:disabled){transform:scale(.98);background:#e5d6df}
@media(max-width:380px){#main .discovery-controls{grid-template-columns:1fr}#main .bar{flex-wrap:wrap}.install-btn{font-size:14px;padding:9px 11px}#dialog .review-invitation>.link{width:100%;margin-right:0}}
@media(prefers-reduced-motion:reduce){:is(#main,#dialog,#mode) button.link{transition:none}}
/* Daily invitation allowance. */
.allowance-card{padding:22px;background:#eee3e9;border-radius:18px;margin:22px 0}.allowance-card>span{font-size:12px;letter-spacing:.1em;font-weight:700}.allowance-card h2{font-size:38px;margin-top:8px}.allowance-card p{font-size:15px;margin-bottom:0}.commerce-offers{display:grid;gap:16px;margin:24px 0}.commerce-offer{padding:23px;border:1px solid #dfd1d9;border-radius:18px;background:white}.commerce-offer.premium{background:#f4ebf0;border:2px solid #c6a4b6}.commerce-offer h2{font-size:29px}.commerce-offer p{font-size:15px}.commerce-offer .commerce-price{font-size:28px;font-weight:650;color:#541b33}.commerce-price small{font-size:13px;font-weight:400;display:block}.checkout-summary{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:20px;background:#f4ebf0;border-radius:14px;margin:22px 0}.checkout-summary span{color:#651d36}
.plan-management{padding:20px;background:#f4edf1;border:1px solid #dfd1d9;border-radius:16px;margin:22px 0}.plan-management h3{margin-bottom:16px}.pending-plan{border:1px solid #d2bdc8;border-radius:12px;background:white;padding:16px}.plan-management .pending-plan p{font-size:15px}.plan-management .pending-plan .plan-summary{margin:12px 0}.btn.danger{background:#8b263b;color:white}.bar{gap:10px}

/* Give the primary account action space in the first phone viewport. */
.welcome{padding-top:8px}.welcome h1{font-size:clamp(32px,9vw,43px);line-height:1.1;letter-spacing:-.035em}.welcome>p{font-size:16px;margin-top:10px;line-height:1.45}.beta-entry{margin-top:20px}.beta-entry .beta-note{color:#755165;font-size:14px;font-weight:650;margin:0 0 12px}.beta-entry label{margin:10px 0 5px}.beta-entry input{min-height:48px}.beta-entry .btn.section{margin-top:14px}.beta-entry form+.btn{margin-top:10px}.beta-entry+.btn{margin-top:14px}.welcome-invite{margin-top:22px}.welcome-invite .eyebrow{color:#f5c9d8}@media(max-width:370px){.welcome h1{font-size:32px}.beta-entry{margin-top:14px}.welcome-invite{margin-top:17px}}

/* Idea-first invitation: two primary steps, with optional meeting details. */
.composer-progress li{font-size:14px}.composer-progress span{font-size:12px}.sealed-invitation .invitation-preview{font-size:16px;line-height:1.55;text-align:left;margin:18px 0;padding:16px;border-radius:14px;background:#f4edf1;color:var(--wine);overflow-wrap:anywhere}.chat-original-invite[open]{margin-top:14px}.chat-original-invite p{font-size:16px;line-height:1.5;overflow-wrap:anywhere}

.date-prompt-editor{border:0;padding:20px 0;margin:0}.date-prompt-editor+fieldset,.date-idea-choice+.date-idea-choice{border-top:1px solid #d8c9d2}.date-prompt-editor legend{font-size:18px;font-weight:700}.date-idea-choice{padding:20px 0}.date-idea-choice .half-quote{font-size:25px}.date-prompt-editor textarea{min-height:100px}#promptChoice{font-size:16px;width:100%;min-height:48px}

.invitation-inspiration{margin:16px 0}.inspiration-buttons{display:flex;flex-wrap:wrap;gap:8px}.inspiration-buttons .btn{flex:1 1 140px;min-height:48px;font-size:14px;padding:12px}.starter-preview{margin-top:12px;padding:16px;border:1px solid #d8c9d2;border-radius:16px;background:#f4edf1}.starter-preview>p:first-child{font-size:17px;line-height:1.55;overflow-wrap:anywhere}

/* Profile instructions are form text, not the large serif date quote. */
.profile-prompts{padding:0;margin:0;background:#fff}.profile-prompts p{font:400 16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;margin:0}.profile-prompts .prompt-instructions{margin-bottom:14px;color:var(--ink,#302530)}.prompt-example{padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:20px;display:grid;gap:10px}.prompt-example span{display:block;font-size:12px;font-weight:700;color:var(--wine);margin-bottom:3px}.profile-prompts .prompt-example p{font-size:15px}.profile-prompts .date-prompt-editor{padding:12px 0 20px;min-width:0}.profile-prompts .date-prompt-editor legend{font:650 18px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-transform:none;letter-spacing:normal;border:0;padding:0;margin:0 0 8px}.profile-prompts .date-prompt-editor label{font-size:15px;margin-top:12px}.profile-prompts .date-prompt-editor textarea{min-height:80px;line-height:1.4;font-size:16px;padding:12px}.profile-prompts .date-prompt-editor>.btn{margin-top:12px;min-height:44px;font-size:14px}

/* Launch usability pass: explicit state, readable forms, and safe mobile sizing. */
[hidden]{display:none!important}
.auth-tabs .on{background:var(--wine);color:#fff;box-shadow:none}
.auth-tabs button{min-height:48px;font-size:16px;font-weight:600}
.profile-progress{border:1px solid var(--line);background:#f5eef2;border-radius:14px;padding:16px;margin-bottom:18px;font-size:16px}
.setup-checks{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:14px;color:var(--wine)}
input,select,textarea{font-size:16px;min-width:0;max-width:100%}
.btn,.link,.seg button{min-height:44px}
.photo-tile button{min-width:44px;min-height:44px}.photo-tile .main-photo{font-size:14px;padding:6px}
.help,.small,.loading-line{font-size:14px}
.msg{white-space:pre-wrap}.msg time{white-space:normal}
.chat-row .grow{min-width:0}.chat-row p{max-width:100%}
.profile-section summary{min-height:56px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ab6486;outline-offset:3px}
@media(max-width:400px){.composer-recipient{padding:12px}.composer-progress li{font-size:12px;white-space:normal}.inbox-actions{flex-wrap:wrap}.inbox-actions .btn{flex-basis:100%}}

.photo-add{width:100%;border:1px dashed #dacbd3;color:var(--wine);font-size:28px;cursor:pointer}.photo-add:hover{background:#e9dce4}.photo-add:active{background:#e0ced9}

.date-availability fieldset{border:0;padding:0;margin:18px 0}.date-availability legend{font-size:16px;font-weight:650;margin-bottom:10px}.date-availability .choice-chips{gap:8px}.date-availability .choice-chips span{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:14px}

.profile-availability{margin:18px 0;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#f7f0f4}.profile-availability h3{font:600 16px/1.4 system-ui,sans-serif;color:var(--wine);margin:0 0 6px}.profile-availability p{font:400 16px/1.6 system-ui,sans-serif;color:var(--ink);margin:0;overflow-wrap:anywhere}

/* Keep member photos square even inside a crowded flex row. */
.avatar{flex:0 0 auto;overflow:hidden;min-width:0;min-height:0;aspect-ratio:1;align-self:center}
.avatar img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;object-position:center;overflow:hidden}
.invitation-person{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}
.invitation-person .avatar{grid-row:1 / 3;width:52px;height:52px}
.invitation-person .grow{min-width:0}
.invitation-person strong{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.invitation-person .small{font-size:14px;margin-top:2px}
.invitation-person .pill{grid-column:2;justify-self:start;margin-top:6px;max-width:none;font-size:12px;padding:2px 8px}
#main .page-title h1{font-size:32px;letter-spacing:-.8px;line-height:1.15}
#main .page-counter{font-size:14px;margin-top:6px}
.invitation-card{padding:20px;margin:16px 0;border:1px solid var(--line);background:#fff;box-shadow:none}
.invitation-card .invitation-half{padding:18px 0}
.invitation-card .invitation-half .eyebrow{font-size:12px;letter-spacing:.09em}
.invitation-card .invitation-half p{font:22px/1.4 Georgia,serif;letter-spacing:-.2px;margin:8px 0 0}
.invitation-card .answer-half{border-color:var(--line)}
.invitation-decisions{display:grid;gap:10px;margin-top:8px}
.invitation-decisions .btn{min-height:48px;font-size:16px;margin:0}
#main .invitation-decisions .link{margin:0;background:#fff;border:1px solid #d9cad1;border-radius:12px;box-shadow:none;color:var(--wine);font-size:14px;min-height:48px;padding:10px 14px;font-weight:600}
.invitation-footer{border-top:1px solid var(--line);margin-top:8px;padding-top:8px;text-align:center}
#main .invitation-footer .link{background:#fff;border:1px solid #d9cad1;border-radius:12px;box-shadow:none;margin:0;padding:9px 14px;min-height:44px;font-size:14px;font-weight:600;color:var(--wine)}
@media(max-width:649px){
 body::before{content:'';position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--paper);z-index:20;pointer-events:none}
 .app{padding-top:env(safe-area-inset-top,0px);padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
 .app>header{padding-top:16px}
}
@media(max-width:380px){.invitation-card{padding:16px}.invitation-card .invitation-half p{font-size:20px}}
.notification-settings [hidden]{display:none!important}.notification-settings #pushStatus{margin:12px 0;font-size:14px}.notification-settings h3{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app:has(#main.chat-screen){height:var(--chat-viewport,100dvh);min-height:0;padding-bottom:0;display:flex;flex-direction:column;overflow:hidden}
.app:has(#main.chat-screen)>header{flex:none}
#main.chat-screen{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;padding:8px 18px calc(78px + env(safe-area-inset-bottom))}
#main.chat-screen .chat-top{flex:none;border-bottom:1px solid var(--line);padding-bottom:8px}
#main.chat-screen .chat-head{display:flex;gap:12px;align-items:center;margin:0}
#main.chat-screen .chat-head .avatar{width:44px;height:44px;flex:none}
#main.chat-screen .chat-head h2{font-size:26px;line-height:1.1}
#main.chat-screen .chat-head .small{font-size:12px}
#main.chat-screen .chat-head .round{font-size:12px;width:auto;min-width:48px;padding:0 10px}
#main.chat-screen .chat-date-link{margin:8px 0 0}
#main.chat-screen .chat-date-link .btn{min-height:44px;padding:8px 12px;font-size:13px;border:1px solid #dbc8d1;background:#f8f1f5}
#main.chat-screen .chat-timeline{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
#main.chat-screen #chatHistoryControl{flex:none}
#main.chat-screen #chatHistoryControl:empty,#main.chat-screen #chatLoadState:empty{display:none}
#main.chat-screen #chatHistoryControl .btn{min-height:40px;margin:8px 0;font-size:13px}
#main.chat-screen #chatLoadState{flex:none}
#main.chat-screen .chat-log{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;padding:10px 3px 14px;scrollbar-width:thin}
#main.chat-screen .message-empty{font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:24px 12px}
#main.chat-screen .chat-compose-dock{flex:none;background:#fff;border-top:1px solid var(--line);padding:6px 0 4px}
#main.chat-screen .chat-compose-tools{display:flex;align-items:center;justify-content:space-between;gap:8px}
#main.chat-screen .chat-compose-tools .link{min-height:44px;margin:0;padding:6px 10px;font-size:13px}
#main.chat-screen .chat-compose-tools .btn{min-height:44px;padding:7px 12px;font-size:13px}
#main.chat-screen .chat-question{border:1px solid #dfcdd6;background:#faf4f6;border-radius:13px;padding:10px 12px;margin:6px 0}
#main.chat-screen .chat-question[hidden]{display:none}
#main.chat-screen .chat-question-heading{display:flex;justify-content:space-between;align-items:center;color:var(--wine);font-size:12px}
#main.chat-screen .chat-question-heading .link{min-height:44px;padding:3px 8px;margin:0;font-size:12px}
#main.chat-screen .chat-question p{font:17px/1.35 Georgia,serif;margin:4px 0 8px;color:var(--ink)}
#main.chat-screen .chat-question-actions{display:flex;gap:8px}
#main.chat-screen .chat-question-actions .btn{min-height:44px;padding:6px 10px;font-size:12px;flex:1}
#main.chat-screen .compose{border:0;padding:0;margin:3px 0 0;display:flex;align-items:end;gap:8px}
#main.chat-screen .compose label{margin:0;min-width:0}
#main.chat-screen .compose textarea{display:block;min-height:46px;height:46px;max-height:116px;border-radius:15px;padding:11px 13px;line-height:1.4;font-size:16px;resize:none}
#main.chat-screen .compose button{min-height:46px;border-radius:13px;padding:9px 15px;font-size:14px}
body:has(#main.chat-screen textarea:focus) nav{display:none}
body:has(#main.chat-screen textarea:focus) #main.chat-screen{padding-bottom:max(10px,env(safe-area-inset-bottom))}
@media(min-width:650px){.app:has(#main.chat-screen){height:calc(var(--chat-viewport,100dvh) - 50px)}}
@media(max-width:649px){.app:has(#main.chat-screen){padding-bottom:0}}
@media(max-width:649px) and (display-mode:standalone){.app{padding-top:calc(env(safe-area-inset-top,0px) + 12px)}}
@media(max-width:360px){#main.chat-screen{padding-inline:12px}#main.chat-screen .chat-head h2{font-size:23px}#main.chat-screen .chat-compose-tools .btn{font-size:12px}}
/* Pin the conversation to the visible iOS viewport as the keyboard pans the page. */
@media(max-width:649px){
 body:has(#main.chat-screen){overflow:hidden}
 .app:has(#main.chat-screen){position:fixed;top:var(--chat-top,0px);left:50%;transform:translateX(-50%);width:100%;margin:0;z-index:1}
 body:has(#main.chat-screen textarea:focus) .app>header{display:none}
 body:has(#main.chat-screen textarea:focus) #main.chat-screen .chat-date-link{display:none}
}
.age-range{border:1px solid #e2d7de;border-radius:16px;padding:16px 18px;margin:12px 0 20px;min-width:0}
.age-range legend{font-weight:650;padding:0 5px}
.age-range-values{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--wine);font:600 24px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.age-range-values span:nth-child(2){font:14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--muted)}
.age-range label{font-size:14px;margin:12px 0 4px}
.age-range input[type=range]{display:block;width:100%;height:44px;margin:0;padding:0;border:0;accent-color:var(--wine);background:transparent}
.age-range .help{margin-top:5px}
.avatar{position:relative}
.avatar>span{position:absolute;inset:0;display:grid;place-items:center}
.avatar>img{position:absolute;inset:0}
.profile-name-age{display:grid;grid-template-columns:1fr;gap:6px}
.profile-age{border:1px solid #e2d7de;border-radius:14px;padding:14px 18px;margin:12px 0 8px}
.profile-age label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px}
.profile-age output{font-size:22px;color:var(--wine);font-weight:700}
.profile-age input[type=range]{display:block;width:100%;height:48px;margin:0;padding:0;border:0;background:transparent;accent-color:var(--wine)}
.age-ends{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
/* Double-tap blooms stay anchored to their message and never intercept input. */
#chatLog .msg{position:relative;touch-action:manipulation}
.message-bloom{position:absolute;inset:-9px;border-radius:inherit;pointer-events:none;z-index:2;white-space:normal}
.bloom-halo{position:absolute;inset:7px;border-radius:inherit;box-shadow:0 0 0 2px #f3a4c4,0 0 20px #ec7dac66;animation:bloom-halo 1s ease-out both}
.bloom-petal{position:absolute;left:var(--bx);top:var(--by);width:12px;height:12px;fill:#e96ca5;filter:drop-shadow(0 1px 2px #ffffffaa);animation:bloom-petal 950ms cubic-bezier(.2,.7,.3,1) var(--delay) both}
.bloom-petal:nth-child(3n){fill:#f5b2d0;width:14px;height:14px}
@keyframes bloom-petal{0%{opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(0)}22%{opacity:1}70%{opacity:.95}100%{opacity:.85;transform:translate(-50%,-50%) scale(.8) rotate(var(--turn))}}
@keyframes bloom-halo{0%{opacity:0}20%{opacity:.9}100%{opacity:.5}}
@media(prefers-reduced-motion:reduce){.bloom-petal{animation:none;transform:translate(-50%,-50%);opacity:.8}.bloom-halo{animation:none;opacity:.65}}

.bloom-settled .bloom-petal{animation:none;opacity:.85;transform:translate(-50%,-50%) scale(.8) rotate(var(--turn))}.bloom-settled .bloom-halo{animation:none;opacity:.5}

/* Reserve room for the outer floral border without covering neighbouring bubbles. */
#main.chat-screen #chatLog{padding-left:18px;padding-right:18px}
#chatLog .message-row{margin-top:20px;margin-bottom:20px}

/* The greeting briefly overlays each app opening without replacing its screen. */
.launch-screen{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;background:#fffcfa;color:#651d36;padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));min-height:100dvh}
.launch-overlay{z-index:2147483646;width:100%;max-width:none;max-height:none;margin:0;border:0;overflow:hidden;overscroll-behavior:none}
.launch-brand{display:flex;align-items:center;justify-content:center;gap:13px}
.launch-mark{display:grid;place-items:center;width:59px;height:59px;border-radius:50%;background:#651d36;color:#fff7ee;font:43px/1 Georgia,serif;padding-bottom:3px}
.launch-name{font:clamp(38px,10vw,48px)/1.1 Georgia,serif;letter-spacing:-1.8px}
.launch-dots{display:flex;gap:9px;align-items:center;height:16px}
.launch-dots span{width:7px;height:7px;border-radius:50%;background:#a86480;animation:chivalry-loading 1.1s ease-in-out infinite}
.launch-dots span:nth-child(2){animation-delay:.14s}.launch-dots span:nth-child(3){animation-delay:.28s}
@keyframes chivalry-loading{0%,65%,100%{transform:translateY(0);opacity:.4}32%{transform:translateY(-7px);opacity:1}}
.app:has(#launchScreen)>header,.app:has(#launchScreen)>#mode,.app:has(#launchScreen)>#nav{display:none}
@media(prefers-reduced-motion:reduce){.launch-dots span{animation:none;opacity:.7}}

#chatLog .msg[aria-busy="true"]{outline:2px dotted #bd668b;outline-offset:3px}
#chatLog .msg:focus-visible{outline:2px solid var(--wine);outline-offset:5px}

.plus-preview{border:1px solid var(--line);border-radius:18px;padding:18px;margin:18px 0;text-align:left;background:var(--paper)}
.plus-preview .eyebrow{font-size:10px;letter-spacing:.13em}
.plus-preview h2{font:28px/1.2 Georgia,serif;color:var(--wine);margin:8px 0}
.plus-preview p,.sent-confirmation .daily-reset-note{font-size:14px;line-height:1.5;margin:8px 0}
.sent-confirmation .daily-reset-note{text-align:left;margin:16px 0}

#dialog.plus-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;background:#fffafc;color:var(--ink);overflow:hidden;overscroll-behavior:contain}
html:has(#dialog.plus-dialog[open]),body:has(#dialog.plus-dialog[open]){overflow:hidden;overscroll-behavior:none}
.plus-screen{max-width:540px;height:100%;min-height:0;margin:auto;display:flex;flex-direction:column;overflow:hidden}
.plus-top{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;border:0;padding:calc(10px + env(safe-area-inset-top)) 22px 10px}
.plus-wordmark{font:26px Georgia,serif;color:var(--wine)}.plus-wordmark>span{font-style:italic}
.plus-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#f0e3e9;color:var(--wine);font-size:28px}
.plus-content{padding:6px 22px 20px;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-behavior:auto}
.plus-status{display:inline-block;color:var(--wine);font-size:11px;letter-spacing:.12em;font-weight:700;margin-bottom:8px}
.plus-content h1{font:clamp(28px,7.5vw,36px)/1.08 Georgia,serif;letter-spacing:-.035em;color:var(--wine);margin:0 0 10px}
.plus-lead{font-size:14px;line-height:1.4;color:var(--muted);margin:0 0 14px}
.plus-benefit{display:flex;gap:12px;padding:14px 0;border-block:1px solid #ddc6d0}
.plus-symbol{font:30px/1 Georgia,serif;color:var(--wine)}
.plus-benefit h2,.plus-free h2{font:600 16px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0 0 6px}
.plus-benefit p,.plus-free p{font-size:14px;line-height:1.4;color:var(--muted);margin:0}
.plus-free{padding:14px 0}
.plus-price{border:1px solid #ddc6d0;border-radius:16px;padding:14px 16px;background:white;display:grid;gap:4px}
.plus-price>span{font-size:14px;color:var(--muted)}.plus-price strong{font-size:21px;color:var(--wine)}.plus-price p{font-size:13px;line-height:1.4;color:var(--muted);margin:4px 0 0}
.plus-footer{flex:0 0 auto;padding:10px 22px calc(12px + env(safe-area-inset-bottom));background:#fffafc;border-top:1px solid var(--line)}
.plus-footer .btn{min-height:52px}.plus-footer p{text-align:center;font-size:13px;color:var(--muted);margin:12px 0 0}

/* The app shell owns the top safe area; do not add it again to the header. */
.native-app .app>header{padding-top:12px;padding-bottom:10px}
@media(max-width:649px){.native-app .app{padding-top:env(safe-area-inset-top,0px)}}.native-app .install-btn{display:none!important}

/* Photo-led profile preview and discovery gallery. */
.profile-carousel{display:block;aspect-ratio:3/4;height:auto!important;max-height:580px;isolation:isolate;background:#58374a}
.profile-carousel .photo-track{position:absolute;inset:0;display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.profile-carousel .photo-track::-webkit-scrollbar{display:none}
.profile-carousel .photo-slide{position:relative;flex:0 0 100%;height:100%;display:grid;place-items:center;scroll-snap-align:start;scroll-snap-stop:always}
.profile-carousel .photo-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.profile-carousel:after{pointer-events:none;inset:44% 0 0;z-index:1}
.profile-carousel .overlay{z-index:2;bottom:24px;pointer-events:none;text-shadow:0 1px 8px #1c081680}
.profile-carousel .overlay h2{font-size:clamp(31px,9vw,46px);line-height:1.1}
.profile-carousel .overlay h2 span{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:.55em;font-weight:400;vertical-align:baseline}
.profile-carousel .overlay p{margin-top:7px}
.photo-progress{position:absolute;top:7px;left:12px;right:12px;z-index:3;display:flex;gap:4px}
.photo-progress button{flex:1;min-width:0;min-height:44px;padding:0;background:transparent;display:flex;align-items:flex-start;border-radius:3px}
.photo-progress button span{display:block;width:100%;height:4px;margin-top:13px;background:#ffffff80;border-radius:5px;box-shadow:0 1px 3px #1c081666}
.photo-progress button[aria-current="true"] span{background:white}
.photo-progress button:focus-visible{outline:3px solid white;outline-offset:-3px}
.own-preview>.eyebrow{margin-bottom:12px}
.own-preview>h1{margin-bottom:22px}
.own-preview .own-carousel{width:100%;margin:0 0 20px}
.own-preview .own-preview-bio{font-size:17px;line-height:1.5;margin:16px 0}
@media(max-width:380px){.profile-carousel .overlay h2{font-size:34px}}
@media(prefers-reduced-motion:reduce){.profile-carousel .photo-track{scroll-behavior:auto}}

/* Keep a dismiss control reachable while long dialogs scroll. */
#dialog:not(.plus-dialog) .dialog-dismiss-bar{position:sticky;top:-26px;z-index:8;display:flex;justify-content:flex-end;background:var(--paper);padding:10px 0;min-height:64px;margin-top:-16px;border-bottom:1px solid var(--line)}
#dialog .dialog-dismiss{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;background:#f0e3e9;color:var(--wine);font-size:28px;line-height:1;touch-action:manipulation}
#dialog:not(.plus-dialog)>h1,#dialog:not(.plus-dialog)>h2{margin-top:16px}

/* Discovery and inbox cues use the existing Chivalry palette and native controls. */
.shared-interest{border-color:var(--wine);font-weight:600}
.shared-interest-label{font-size:.78em;font-weight:400}
.conversation-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.conversation-views button{min-height:44px;width:100%}
.view-count{font-size:.82em;opacity:.8}
.conversation-state{display:inline-block;margin-top:6px;font-size:.75rem;color:var(--muted)}
.conversation-state.needs-reply{color:var(--wine);font-weight:600}

/* A send failure must not squeeze the draft into a narrow third column. */
#messageForm{flex-wrap:wrap}
#messageForm>label{min-width:0}
#messageForm>.error{flex:0 0 100%;margin:0}

.social-auth{display:grid;gap:10px;margin:18px 0 24px}.social-auth .help{font-size:13px;line-height:1.5;margin:0}.social-auth [role=status]:empty{display:none}.social-apple{background:#202020;color:white;border-color:#202020}.social-google{background:white;color:#252125;border:1px solid #b9b2b6}

/* Compact, touch-friendly discovery preferences. Scoped to this sheet. */
#dialog:has(#filterForm){padding:0;width:min(480px,calc(100% - 20px));max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);border-radius:28px;background:#fcf6f8;scroll-padding-top:100px}
#dialog:has(#filterForm)>.dialog-dismiss-bar{display:none}
#dialog .filter-heading{position:sticky;top:0;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 16px;background:#fcf6f8f5;border-bottom:1px solid #eddee5;backdrop-filter:blur(12px)}
#dialog .filter-heading .eyebrow{display:block;font-size:10px;letter-spacing:.12em;margin:0 0 4px}
#dialog .filter-heading h1{font-size:29px;line-height:1.15;letter-spacing:-.8px;margin:0;outline:none}
#dialog .filter-heading .dialog-dismiss{flex:none;width:44px;height:44px;font-size:26px;background:#efdee6}
#filterForm{margin:0;padding:14px 14px 0}
#filterForm .filter-card{min-width:0;border:1px solid #ecdee5;border-radius:20px;background:#fffdfd;margin:0 0 14px;padding:14px 16px;box-shadow:0 3px 12px #651d3604}
#filterForm legend{float:left;width:100%;border:0;padding:0;margin:0 0 12px;font-size:12px;letter-spacing:.08em;color:var(--wine)}
#filterForm legend+*{clear:both}
#filterForm label{font-size:14px;margin:10px 0 4px}
#filterForm .help{font-size:12px;line-height:1.5;margin:8px 0 0}
#filterForm .filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;border:0;border-radius:0;padding:4px 0;margin:0 0 12px;background:none;min-height:44px;font-weight:650}
#filterForm .filter-toggle span{flex:1;min-width:0}
#filterForm .filter-toggle small{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.4;margin-top:3px}
#filterForm .filter-toggle input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:46px;height:28px;min-height:28px;border:1px solid #d8c7d0;border-radius:30px;background:#e8dde3;padding:0;margin:0;transition:background .18s}
#filterForm .filter-toggle input::before{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #4b203329;transition:transform .18s}
#filterForm .filter-toggle input:checked{background:var(--wine);border-color:var(--wine)}
#filterForm .filter-toggle input:checked::before{transform:translateX(18px)}
#filterForm input:focus-visible,#filterForm select:focus-visible,#filterForm summary:focus-visible{outline:3px solid #ad6882;outline-offset:3px}
#filterForm input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:44px;min-height:44px;border:0;margin:0;padding:0;background:transparent;accent-color:var(--wine);cursor:pointer}
#filterForm input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:10px;background:#dcc2ce}
#filterForm input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;border:3px solid #fff;border-radius:50%;background:var(--wine);margin-top:-9px;box-shadow:0 1px 5px #651d3650}
#filterForm input[type=range]::-moz-range-track{height:6px;border-radius:10px;background:#dcc2ce}
#filterForm input[type=range]::-moz-range-thumb{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:var(--wine)}
#filterForm input[type=range]:disabled{opacity:.45;cursor:default}
#filterForm .distance-range-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
#filterForm #distanceValue{background:#f6e8ee;border-radius:20px;padding:5px 10px;font-size:13px;color:var(--wine);white-space:nowrap}
#filterForm .distance-range-ends{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:-4px}
#filterForm .filter-area{display:flex;gap:10px;align-items:center;margin:14px 0 10px}
#filterForm .filter-area-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:12px;background:#f6e8ee;color:var(--wine);font-size:24px}
#filterForm .filter-area-caption{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
#filterForm #distanceAreaLabel{font-size:13px;line-height:1.4;margin:1px 0 0;overflow-wrap:anywhere;color:var(--ink)}
#filterForm .btn{min-height:46px;border-radius:16px;padding:11px 16px;font-size:15px}
#filterForm .btn.secondary{background:#f2e2e9;border:1px solid #e6cbd7;color:var(--wine)}
#filterForm [data-distance=remove]{min-height:44px;margin:6px 0 0;font-size:12px}
#filterForm [hidden]{display:none!important}
#filterForm .filter-explainer{margin:8px 0 0}
#filterForm .filter-explainer summary{min-height:44px;display:list-item;align-content:center;font-size:12px;color:var(--wine);cursor:pointer;padding:10px 0}
#filterForm #distanceStatus:empty{display:none}
#filterForm .age-range-values{font-size:26px;gap:10px;background:#fbf1f5;border-radius:12px;padding:8px;margin-bottom:6px}
#filterForm input:not([type=range]):not([type=checkbox]),#filterForm select{font-size:16px;min-height:46px;border-radius:12px;background:#fcf8fa;padding:10px 12px;margin-top:5px}
#filterForm .filter-optional{font-size:11px;font-weight:400;color:var(--muted)}
#filterForm .filter-footer{position:sticky;bottom:0;z-index:8;background:#fcf6f8f5;border-top:1px solid #eddee5;margin:0 -14px;padding:12px 18px max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}
#filterForm .filter-footer .btn{box-shadow:0 4px 12px #651d361a}
#filterForm .filter-footer .btn span{margin-left:6px}
#filterForm .filter-cancel{width:100%;min-height:44px;padding:8px;background:transparent;color:var(--wine);font-size:13px;font-weight:600}
@media(max-width:360px){#dialog .filter-heading{padding:14px 16px}#dialog .filter-heading h1{font-size:25px}#filterForm .filter-card{padding:12px}}
@media(prefers-reduced-motion:reduce){#filterForm .filter-toggle input,#filterForm .filter-toggle input::before{transition:none}}
/* One saved availability choice, visible in Discover and You. */
.discovery-status{border:1px solid var(--line,#e5dbe1);border-radius:20px;padding:18px 20px;margin:18px 0;background:var(--paper,#fffaf8)}
.discovery-status-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.discovery-status-row strong{color:var(--wine,#571b34);font-size:17px}
.discovery-status-row p{margin:3px 0 0;font-size:14px;color:var(--muted,#80747c)}
.discovery-status .help{margin:10px 0 0;font-size:13px;line-height:1.5}
.discovery-switch{display:flex;align-items:center;gap:8px;padding:10px 0 10px 12px;min-height:48px;border:0;background:transparent;color:var(--wine,#571b34);font:inherit;font-size:14px;font-weight:600}
.discovery-switch-track{display:block;width:47px;height:28px;padding:4px;border-radius:20px;background:#d5c5ce;transition:background .15s}
.discovery-switch-track span{display:block;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s}
.discovery-switch[aria-checked=true] .discovery-switch-track{background:var(--wine,#571b34)}
.discovery-switch[aria-checked=true] .discovery-switch-track span{transform:translateX(19px)}
.discovery-switch:focus-visible{outline:2px solid var(--wine,#571b34);outline-offset:4px;border-radius:8px}
.discovery-switch:disabled{opacity:.6}
.discovery-feedback{font-size:13px;line-height:1.5;margin:10px 0 0;color:var(--wine,#571b34)}
.discovery-feedback:empty{display:none}
.discovery-feedback.is-error{color:#922c3d}
.discovery-toolbar-actions{display:flex;align-items:center;gap:8px}
@media(prefers-reduced-motion:reduce){.discovery-switch-track,.discovery-switch-track span{transition:none}}

.profile-save-status{margin:0 0 18px;font-size:.92rem;line-height:1.5;color:var(--muted)}
.profile-save-status.error-text{color:var(--wine)}

/* Keep the upload consent controls reachable on small screens. */
.content-permission .check{align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:12px;min-height:48px;cursor:pointer}
.content-permission .check input{flex-shrink:0;margin-top:3px}
.content-permission .link{min-height:48px;margin-top:10px}

.dating-safety-notice{font-size:16px;line-height:1.5;padding:16px;border:1px solid var(--line);border-radius:12px;margin:20px 0;color:var(--ink)}
.dating-safety-notice strong{font-weight:700}
