/* Blinger product experience. Shared brand tokens live in redesign.css. */
[hidden]{display:none!important}.title-dot{color:var(--wine)}.product-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.product-heading h1{font-family:Bricolage,Manrope,sans-serif;font-size:2.65rem;font-weight:750;letter-spacing:-.065em;line-height:1.05;margin:0}.product-heading p{font-size:.9rem;color:var(--muted);margin:10px 0 0}.product-heading .eyebrow{margin:0 0 8px}.product-heading .button{min-height:44px;flex-shrink:0}.link-button{border:0;background:none;color:var(--wine);padding:10px 0;text-align:left;min-height:44px;border-radius:4px;font-size:.86rem}.link-button:hover{background:none;text-decoration:underline;text-underline-offset:4px}.text-back{font-size:.85rem;text-decoration:none;color:var(--muted);display:inline-flex;align-items:center;min-height:44px}.optional{font-weight:400;color:var(--muted);font-size:.73rem;display:inline}.state-icon{width:72px;height:72px;border-radius:24px;background:#f0e5df;color:var(--wine);display:flex;align-items:center;justify-content:center;margin:0 auto 24px}.state-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.quiet-state{text-align:center;max-width:460px;margin:45px auto;padding:30px 16px}.quiet-state h2,.discovery-gate h2{font-family:Bricolage,Manrope,sans-serif;letter-spacing:-.045em;font-size:2rem;line-height:1.1;margin:0 0 16px;font-weight:700}.quiet-state p,.discovery-gate>p{font-size:.92rem;color:var(--muted);line-height:1.7;margin:0 auto 24px;max-width:350px}.empty-options{display:grid;justify-items:center;gap:8px}.quiet-state>.button{display:inline-flex;justify-content:center;min-width:200px}.profile-overview{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:60px;align-items:start;max-width:960px;margin:auto}.profile-state{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.75rem;font-weight:700;color:var(--muted);margin:0 0 16px}.state-dot{width:7px;height:7px;border-radius:50%;background:#aa8877}.is-live .state-dot{background:#426f52}.profile-controls{display:grid;gap:28px}.publish-panel{padding:28px;background:#efe1db;border-radius:24px}.publish-panel h2,.account-section h2{font-family:Bricolage,Manrope,sans-serif;font-size:1.65rem;line-height:1.15;letter-spacing:-.04em;margin:8px 0 12px}.publish-panel>p,.account-section>p{font-size:.88rem;color:var(--muted);line-height:1.65}.publish-panel .button{display:flex;justify-content:center;width:100%;margin-top:24px}.completion-list,.gate-checklist{padding:0;list-style:none;font-size:.85rem;line-height:1.8;color:var(--ink)}.completion-list li:before,.gate-checklist li:before{content:'+';color:var(--wine);margin-right:10px;font-weight:800}.account-section{padding:8px 0 24px;border-bottom:1px solid var(--line)}.account-section summary{font-family:Bricolage,Manrope,sans-serif;font-size:1.25rem;font-weight:650;cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between}.account-section>summary:after{content:'+';font-family:Manrope;font-size:1.2rem}.account-section[open]>summary:after{content:'−'}.account-links{display:grid;gap:2px}.account-links button,.account-links a{background:none;border:0;text-align:left;padding:12px 0;color:var(--ink);text-decoration:none;font-size:.88rem;min-height:44px}.account-links a:hover,.account-links button:hover{text-decoration:underline}.delete-section{margin-top:16px}.delete-section summary{font-family:Manrope;font-size:.85rem;color:#862e35}.profile-home .profile-card{box-shadow:none}.profile-home .profile-body{padding:24px}.profile-home .portrait{aspect-ratio:4/4.1}.profile-editor{max-width:570px;margin:0 auto}.editor-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.step-count{font-size:.78rem;font-weight:700;color:var(--muted)}.setup-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0 28px}.setup-progress span{height:3px;background:var(--line);border-radius:4px}.setup-progress span.complete{background:var(--wine)}.setup-form{background:none;border:0;border-radius:0;padding:0;gap:0}.setup-form h1{font-family:Bricolage,Manrope,sans-serif;font-size:2.6rem;line-height:1.05;letter-spacing:-.055em;font-weight:700;margin:10px 0}.setup-form .eyebrow{margin:0}.step-intro{font-size:.9rem;color:var(--muted);margin:0 0 24px}.setup-fields{display:grid;gap:20px}.setup-form label{font-size:.86rem;font-weight:650}.setup-form input,.setup-form select,.setup-form textarea{min-height:50px;background:white;border-color:#c4b4aa;padding:13px 14px}.setup-form textarea{resize:vertical;min-height:0;line-height:1.5}.setup-form .two{gap:14px}.field-meta{font-size:.72rem;font-weight:400;color:var(--muted)}.photo-upload{display:flex;align-items:center;gap:22px;margin:0 0 26px}.photo-thumb{width:112px;height:128px;background:#eadbd0;flex-shrink:0;border-radius:20px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--wine)}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb svg{width:42px;height:42px;stroke:currentColor;fill:none;stroke-width:1.2;stroke-linecap:round}.photo-pick{display:inline-flex!important;align-items:center;min-height:46px;border-bottom:1px solid var(--wine);color:var(--wine);cursor:pointer}.photo-upload .hint{margin:10px 0;font-size:.75rem;max-width:190px}.photo-upload #photo-status{font-size:.75rem;color:var(--muted)}.photo-upload .error{padding:8px}.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.photo-upload:focus-within .photo-pick{outline:3px solid var(--focus);outline-offset:4px}.setup-actions{display:flex;gap:12px;justify-content:flex-end;margin:30px 0 10px}.setup-actions button{min-height:54px;flex:1}.setup-actions #setup-back{flex:0 0 auto}.draft-actions{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;margin:0 0 20px}.draft-actions .link-button{font-size:.8rem}.draft-actions .hint{font-size:.72rem}.publish-consent{font-size:.8rem;color:var(--muted);line-height:1.65;margin:24px 0 0}.setup-form .error{margin-bottom:18px}.setup-form .error:empty{margin:0}.birthday-fields{border:0;padding:0;margin:0;min-width:0}.birthday-fields legend{font-size:.84rem;font-weight:700;margin-bottom:10px}.birthday-grid{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:10px}.birthday-grid label{font-size:.72rem!important;font-weight:500!important}.birthday-fields>.hint{display:block;margin-top:8px}.form-page .birthday-grid input,.form-page .birthday-grid select{min-height:50px;padding:12px 8px}
.discovery{max-width:680px;margin:auto}.discovery .product-heading{margin-bottom:12px}.filter-trigger{display:flex;align-items:center;gap:9px;background:white;padding:12px;border:1px solid var(--line);border-radius:100px;min-height:44px;position:relative;font-size:.8rem}.filter-trigger svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.5}.filter-trigger i{width:7px;height:7px;background:var(--wine);border-radius:50%;position:absolute;right:5px;top:3px}.filter-summary{font-size:.76rem;color:var(--muted);display:flex;gap:10px;margin:0 0 24px}.discovery-deck{max-width:440px;margin:auto}.swipe-card{background:white;border-radius:26px;overflow:hidden;box-shadow:0 8px 28px rgb(44 30 27 / .07);touch-action:pan-y;user-select:none;transition:transform 180ms var(--ease),opacity 170ms}.swipe-card.dragging{transition:none;cursor:grabbing;will-change:transform}.swipe-card.saving{pointer-events:none;opacity:.8}.swipe-card.exit-like{transform:translateX(110%) rotate(12deg);opacity:0}.swipe-card.exit-pass{transform:translateX(-110%) rotate(-12deg);opacity:0}.swipe-photo{position:relative;height:440px;background:#dfc7b7;overflow:hidden}.swipe-photo:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgb(25 17 15 / .85));pointer-events:none}.swipe-photo img{width:100%;height:100%;object-fit:cover;pointer-events:none}.intention-pill{position:absolute;top:18px;left:18px;background:var(--paper);color:var(--espresso);font-size:.7rem;font-weight:750;border-radius:100px;padding:8px 13px}.swipe-caption{position:absolute;left:24px;right:24px;bottom:20px;z-index:1;color:white}.swipe-caption h2{font-family:Bricolage,Manrope,sans-serif;font-size:2.1rem;line-height:1.05;letter-spacing:-.045em;margin:0 0 7px;font-weight:750}.swipe-caption h2 span{font-weight:400}.swipe-caption p{font-size:.82rem;margin:0;color:#fff6f1}.discovery-personality{padding:18px 22px 12px}.discovery-personality>p{font-size:.86rem;line-height:1.6;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted)}.discovery-personality button{font-size:.8rem;font-weight:750;padding:10px 0 4px}.discovery-personality button span{margin-left:8px}.swipe-actions{display:flex;align-items:center;justify-content:space-around;gap:20px;margin:22px 0 10px}.swipe-actions button{width:70px;height:70px;min-width:70px;display:flex;align-items:center;justify-content:center;border-radius:50%;padding:20px;position:relative}.swipe-actions svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.swipe-actions button>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.pass-action{background:white;border-color:var(--line);color:var(--muted)}.like-action{background:var(--wine);border-color:var(--wine);color:white;box-shadow:0 5px 15px rgb(112 44 56 / .17)}.like-action:hover{background:var(--wine-hover)}.swipe-hint{font-size:.69rem;text-align:center;line-height:1.65;color:var(--muted);margin:0}.swipe-stamp{position:absolute;top:90px;z-index:2;font-size:1.3rem;font-weight:800;letter-spacing:.1em;background:var(--paper);border:3px solid currentColor;border-radius:8px;padding:6px 14px;opacity:0;transition:opacity 120ms;pointer-events:none}.stamp-like{left:22px;color:var(--wine);transform:rotate(-12deg)}.stamp-pass{right:22px;color:var(--espresso);transform:rotate(12deg)}.lean-like .stamp-like,.lean-pass .stamp-pass{opacity:1}.discovery-gate{background:#f0e5df;padding:32px 24px;border-radius:26px;text-align:center;margin:24px 0}.gate-photo{width:100px;height:120px;border-radius:22px;object-fit:cover;margin-bottom:20px}.discovery-gate .profile-state{font-size:.7rem;letter-spacing:.02em;color:var(--wine)}.discovery-gate .button{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:24px;white-space:normal;min-height:54px}.discovery-gate .button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.gate-checklist{display:inline-block;text-align:left;margin:0 0 8px}.filter-sheet .sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.sheet-heading h2{font-size:1.9rem;margin:6px 0 0}.sheet-heading .eyebrow{font-size:.6rem}.icon-close{border:0;border-radius:50%;background:#eee2dc;width:44px;height:44px;padding:12px;flex-shrink:0}.icon-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.filter-sheet fieldset{padding:0;margin:0;border:0;min-width:0}.filter-sheet legend{font-size:.9rem;font-weight:700;margin-bottom:12px}.filter-sheet .form{gap:22px}.filter-sheet .form .hint{font-size:.76rem}.filter-sheet .link-button{text-align:center}.member-detail .profile-card{box-shadow:none}.member-detail .portrait{aspect-ratio:4/4}.member-detail .actions{margin-top:20px;justify-content:space-between}.match-moment{text-align:center;padding:12px 0}.match-portraits{display:flex;justify-content:center;margin:8px 0 28px}.match-portraits img{width:105px;height:130px;object-fit:cover;border-radius:20px;transform:rotate(-7deg);border:4px solid var(--paper)}.match-portraits img+img{transform:rotate(7deg);margin-left:-15px}.match-moment h2{font-size:2.5rem;letter-spacing:-.065em;line-height:1.05;margin:12px 0 18px}.match-moment>p:not(.eyebrow){font-size:.88rem;line-height:1.65;color:var(--muted)}.match-moment .primary{display:flex;align-items:center;justify-content:center;gap:18px;margin:28px auto 6px;max-width:300px;min-height:54px}.match-moment .primary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.match-moment .link-button{font-size:.8rem}.list{max-width:740px;margin:auto}.person-row{border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;padding:20px 0;gap:16px}.person-row img,.person-row .avatar{width:70px;height:80px;border-radius:18px;flex-shrink:0}.person-row h2{font-family:Bricolage,Manrope,sans-serif;font-size:1.25rem;letter-spacing:-.035em;font-weight:650}.person-row .info p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.8rem}.person-row .button,.person-row button{font-size:.76rem;min-height:44px;padding:10px 15px}.chat-head{padding-bottom:20px;border-bottom:1px solid var(--line)}.chat-head h1{font-size:1.65rem}.chat-panel>.fine{font-size:.74rem}.composer textarea{font-family:inherit;line-height:1.5}.composer button{min-height:54px}.chat-panel .messages{min-height:35svh}.bubble{font-size:.9rem;line-height:1.6}
@media(min-width:761px){body[data-page=discover] .shell{padding-top:35px}.discovery .product-heading{margin-bottom:12px}.discovery .product-heading h1{font-size:3rem}.discovery .filter-summary{margin-bottom:26px}.discovery-deck{max-width:425px}.swipe-photo{height:440px}.profile-home{padding-top:10px}.product-heading{max-width:960px;margin-left:auto;margin-right:auto}.profile-editor .setup-form h1{font-size:3rem}.profile-editor{padding:10px 0 40px}}
@media(max-width:760px){.app-header .masthead{padding:14px 20px;min-height:66px}.app-header .wordmark{font-size:1.8rem}.app-header .masthead>.badge{font-size:.6rem;padding:5px 8px}.app-header .masthead .app-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;justify-content:stretch;align-items:stretch;width:100%;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--white);box-sizing:border-box}.app-header .app-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:56px;padding:8px 4px;font-size:.65rem;border-radius:16px;line-height:1.2}.app-nav .nav-icon{width:22px;height:22px}.app-nav a[aria-current=page]{background:#f2e5e2;color:var(--wine)}.shell{padding:24px 20px calc(112px + env(safe-area-inset-bottom));overflow-x:clip}.product-heading{margin-bottom:24px;gap:12px}.product-heading h1{font-size:2.1rem}.product-heading p{font-size:.78rem;margin-top:8px;max-width:250px}.product-heading .button{padding:10px 14px;font-size:.76rem}.discovery .product-heading{align-items:start}.filter-trigger{padding:11px}.filter-trigger>span{display:none}.filter-summary{font-size:.7rem;margin-bottom:20px}.swipe-photo{height:clamp(300px,48svh,470px)}.swipe-caption{left:22px;right:22px;bottom:20px}.swipe-caption h2{font-size:2rem}.discovery-personality{padding:15px 20px 10px}.discovery-personality>p{font-size:.8rem}.swipe-actions{margin:18px 0 6px;gap:16px}.swipe-actions button{width:62px;height:62px;min-width:62px;padding:18px}.swipe-actions svg{width:26px;height:26px}.swipe-hint{font-size:.64rem}.quiet-state{margin:30px auto 0;padding:24px 12px}.quiet-state h2,.discovery-gate h2{font-size:1.85rem}.quiet-state p,.discovery-gate>p{font-size:.85rem}.discovery-gate{margin:0;padding:28px 22px}.discovery-gate .profile-state{margin-bottom:16px}.discovery-gate .gate-photo{width:88px;height:105px}.profile-overview{grid-template-columns:1fr;gap:28px}.profile-home .profile-card{max-width:420px}.profile-home .portrait{aspect-ratio:4/3.5}.profile-controls{gap:20px}.profile-home .publish-panel{grid-row:1}.publish-panel{padding:24px}.publish-panel .eyebrow{font-size:.62rem}.publish-panel h2{font-size:1.6rem}.profile-home .profile-overview:has(.publish-panel){display:flex;flex-direction:column}.profile-home .profile-overview:has(.publish-panel)>section{width:100%}.profile-home .profile-overview:has(.publish-panel) .profile-controls{display:contents}.profile-home .publish-panel{order:-1;width:100%}.profile-home .account-section{width:100%}.profile-state{font-size:.7rem}.profile-editor .editor-top{margin-top:-8px}.setup-progress{margin:8px 0 26px}.setup-form h1{font-size:2.3rem}.step-intro{font-size:.82rem;margin-bottom:24px}.setup-form .setup-fields{gap:18px}.setup-form label{font-size:.79rem}.setup-form input,.setup-form select,.setup-form textarea{font-size:1rem;min-height:48px;padding:12px}.photo-upload{gap:20px;margin-bottom:24px}.photo-thumb{width:100px;height:116px;border-radius:18px}.setup-actions{position:sticky;bottom:calc(79px + env(safe-area-inset-bottom));padding:12px 0;background:var(--paper);z-index:2;margin:18px 0 0}.setup-actions button{font-size:.85rem;min-height:52px}.draft-actions{margin-top:0}.publish-consent{font-size:.75rem}.setup-form .profile-card .portrait{aspect-ratio:4/4}.setup-form .profile-body{padding:22px}.setup-form .profile-body .answer{font-size:1.45rem}dialog:has(.filter-sheet){position:fixed;inset:auto 0 0;width:100%;max-width:none;margin:0;max-height:90dvh;border-radius:26px 26px 0 0;padding:28px 24px calc(28px + env(safe-area-inset-bottom))}.filter-sheet .form input{min-height:50px}.filter-sheet .form{padding:0}.filter-sheet .form>button.primary{min-height:52px}.filter-sheet .sheet-heading{margin-bottom:28px}.person-row img,.person-row .avatar{width:62px;height:74px;border-radius:16px}.person-row{gap:14px}.person-row h2{font-size:1.15rem}.person-row .info p{font-size:.76rem}.chat-panel .chat-head{gap:10px}.chat-head .button,.chat-head button{font-size:.75rem;padding:10px}.chat-head h1{font-size:1.45rem}.chat-head .fine{font-size:.66rem}.composer{bottom:calc(74px + env(safe-area-inset-bottom));gap:10px}.composer textarea{font-size:1rem}.composer button{font-size:.8rem;padding:14px}.composer label>.hint{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}#announcer:not(:empty){bottom:calc(92px + env(safe-area-inset-bottom));font-size:.8rem;padding:12px 18px}.form-page{margin-top:28px}.form-page h1{font-size:2.35rem}.form-page .form{gap:20px}.form-page .form label{font-size:.8rem}.form-page .form input{min-height:50px}.form-page .form .check input{min-height:22px}.form-page .birthday-grid label{gap:7px}.form-page .birthday-grid input,.form-page .birthday-grid select{min-width:0}.form-page>.eyebrow{font-size:.6rem}}
@media(max-width:350px){.shell{padding-left:16px;padding-right:16px}.setup-form .two{grid-template-columns:1fr}.swipe-photo{height:320px}.product-heading h1{font-size:1.9rem}.app-header .masthead .app-nav{padding-left:8px;padding-right:8px}.birthday-grid{gap:6px}.photo-upload{gap:16px}}
@media(prefers-reduced-motion:reduce){.swipe-card,.swipe-stamp{transition:none!important}.swipe-card.dragging{transform:none!important}}
.setup-form input,.setup-form textarea,.setup-form select,.form-page input,.form-page select{font-weight:500}.setup-form input::placeholder,.setup-form textarea::placeholder,.form-page input::placeholder{font-weight:400;color:#7d706a}
@media(max-width:760px){.swipe-photo{height:clamp(180px,calc(100svh - 525px),430px)}}
@media(max-width:760px){.app-header .app-nav a{font-size:.75rem}}
dialog h2:focus-visible{outline:2px solid var(--focus);outline-offset:6px;border-radius:4px}

.hint,.field-meta,.fine,.step-intro,.filter-summary,.swipe-hint,.quiet-state p,.discovery-gate>p,.product-heading p,.publish-consent,.publish-panel>p,.account-section>p,.discovery-personality>p{font-weight:500}
:root{--control-border:#9a8274}.form input,.form textarea,.form select,.field input,.field select,.field textarea,.composer textarea,.setup-form input,.setup-form textarea,.setup-form select,.form-page .form input,.form-page .form select{border-color:var(--control-border)}
/* Stable credential fields let password managers keep the email/password pair. */
#auth-form>label{margin-bottom:-14px}.password-field{display:grid;gap:9px}.password-control{position:relative}.password-control input{width:100%;padding-right:62px!important}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:48px;height:44px;min-height:44px;padding:12px;border:0;background:transparent;color:var(--muted);border-radius:10px;display:flex;align-items:center;justify-content:center}.password-toggle:hover{background:#f0e5df;color:var(--wine)}.password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed=true] .eye-slash{display:block}
.auth-divider{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:.73rem;margin:24px 0 16px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:var(--line);flex:1}.provider-buttons{display:grid;gap:10px}.provider-button{width:100%;min-height:52px;border:1px solid var(--control-border);border-radius:14px;font-size:.88rem;font-weight:650;background:white;color:#201b18}.provider-apple{background:#201b18;color:white;border-color:#201b18}.provider-apple:hover{background:#3a302b;color:white}.provider-connected{font-size:.8rem;color:var(--muted)}#connected-sign-ins h3{font-size:.9rem;margin:20px 0 12px}.verified-email{font-size:.85rem;overflow-wrap:anywhere;background:#f0e5df;border-radius:12px;padding:14px;margin:0}

/* Keep account access and unfinished setup visible at every viewport. */
.member-account{flex-shrink:0;white-space:nowrap}.profile-home>.publish-panel{margin:0 0 24px}.setup-reminder{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin-bottom:24px;background:#efe2dc;border-radius:12px;font-size:.85rem}.setup-reminder a{font-weight:700;white-space:nowrap;text-decoration:underline}@media(max-width:760px){.setup-reminder{align-items:flex-start;flex-direction:column;gap:8px}.profile-home .product-heading{flex-wrap:wrap;gap:16px}.member-account{max-width:55%;text-align:center}}

/* Give profile submission its own row; secondary actions stay compact. */
.setup-actions button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.setup-actions #save-draft{flex:0 1 auto;font-size:.8rem;text-align:center}
@media(max-width:760px){.setup-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}.setup-actions .primary{grid-column:1/-1;grid-row:1;width:100%;padding:14px 16px}.setup-actions #setup-back{grid-column:1;grid-row:2;min-height:44px;padding:8px 12px}.setup-actions #save-draft{grid-column:2;grid-row:2;min-height:44px;padding:8px 4px}.setup-actions:has(#setup-back[hidden]) #save-draft{grid-column:1/-1}.draft-actions{margin-top:8px}}

/* Text entry uses document flow so pinned controls cannot cover the keyboard. */
.mobile-editing .app-header .masthead .app-nav{display:none!important}
.mobile-editing .app-header,.mobile-editing .chat-head,.mobile-editing .setup-actions,.mobile-editing .chat-panel .composer{position:static;bottom:auto}
.mobile-editing .shell{padding-bottom:24px}
.mobile-editing input:focus,.mobile-editing textarea:focus{scroll-margin-block:16px}
.mobile-editing #dialog{top:calc(var(--editing-top,0px) + 12px);bottom:auto;max-height:calc(var(--editing-height,100dvh) - 24px);margin-block:0;overflow-y:auto}
.mobile-editing #announcer:not(:empty){position:static;max-width:100%;margin:12px}

.mobile-editing{scroll-behavior:auto}

@media(max-width:760px){.setup-actions:has(#setup-next:not([hidden])){position:static;bottom:auto}}

/* Shared capability entry points stay readable on narrow screens. */
.discovery-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 16px;margin:0 0 16px}.discovery-controls .hint{flex:1 1 170px;margin:0}.discovery-controls .link-button{flex:0 1 auto;white-space:normal}
.saved-page>.segment-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}.saved-page>.segment-tabs a{min-width:0;min-height:44px;text-align:center;white-space:normal;display:flex;align-items:center;justify-content:center}
@media(max-width:760px){.saved-page>.segment-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}

.notification-profile-section{margin:1rem 0 1.5rem;padding:1rem 1.125rem;border:1px solid var(--line,#ddd1cb);border-radius:18px}.notification-profile-section h2{margin:0 0 .35rem;font-size:1.15rem}.notification-profile-section p{margin:.35rem 0 .75rem}.notification-profile-section button{min-height:44px}
/* Profile is a personal hub; detailed controls open only when requested. */
.profile-hub{max-width:560px;margin:0 auto}.profile-identity{display:flex;align-items:center;gap:20px;padding:8px 0 20px}.profile-avatar{width:104px;height:104px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--wash,#eee5df);display:grid;place-items:center;color:var(--wine)}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.5}.profile-identity h1{font-family:Bricolage,Manrope,sans-serif;font-size:1.7rem;line-height:1.12;letter-spacing:-.035em;margin:0;font-weight:700}.profile-identity p{margin:.4rem 0;font-size:.9rem;color:var(--muted)}.profile-visibility{display:inline-flex;align-items:center;gap:7px;font-size:.76rem;color:var(--muted)}.profile-main-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px}.profile-main-actions>.button,.profile-main-actions>button{min-height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;padding:10px 16px;font-size:.9rem}.profile-main-actions>.quiet{border:1px solid var(--line);background:transparent}.profile-review-note{font-size:.8rem;color:var(--muted);margin:0 0 16px}.profile-menu-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;padding:14px 2px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);text-align:left;text-decoration:none;font-size:.94rem;font-weight:600;line-height:1.3}.profile-menu-row>span:last-child{font-size:1.45rem;color:var(--muted);font-weight:400}.profile-menu-row:hover{background:var(--wash,#f4eee9)}.profile-account{border:0;padding:0}.profile-account>summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:14px 2px;font-size:.94rem;font-weight:600;list-style:none;cursor:pointer}.profile-account>summary::-webkit-details-marker{display:none}.profile-account>summary:after{content:'›';font-size:1.45rem;font-weight:400;color:var(--muted)}.profile-account[open]>summary:after{transform:rotate(90deg)}.profile-account>p{font-size:.8rem;color:var(--muted)}.profile-settings-shortcut{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)}.profile-settings-shortcut svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}@media(max-width:360px){.profile-identity{gap:14px}.profile-avatar{width:88px;height:88px}.profile-identity h1{font-size:1.5rem}}
