/* Signed-in product and account creation. The public editorial landing has its own layout. */
.member-shell {
  --ink:#261b36; --muted:#665d73; --wine:#6032cf; --accent:#5630b1; --line:#ded8e8; --paper:#f5f2fb; --panel:#fff;
  --violet:#6736df; --violet-dark:#5021bd; --lilac:#ebe4fb; --lime:#ddf77a; --coral:#ff705f;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Arial Hebrew",Arial,sans-serif;
  color:var(--ink); background:var(--paper); min-height:100dvh; font:400 1rem/1.53 var(--font);
}
.member-shell h1,.member-shell h2,.member-shell h3 { font-family:var(--font); font-weight:710; color:var(--ink); text-wrap:balance }
.member-shell h1 { font-size:clamp(2.15rem,4.2vw,3.8rem); line-height:1.04; letter-spacing:-.055em }
.member-shell h2 { font-size:clamp(1.3rem,2vw,1.8rem); letter-spacing:-.035em }
.member-shell h3 { font-size:1.08rem; letter-spacing:-.015em }
[dir=rtl] .member-shell :is(h1,h2,h3,.card-title) { letter-spacing:0 }
.member-shell :is(p,h1,h2,h3) { margin-top:0 }
.member-shell .ui-icon { flex:none; width:1.22rem; height:1.22rem; display:inline-block; vertical-align:middle }
.member-shell .topbar { background:#fff; border-bottom:1px solid var(--line); grid-area:head; z-index:2 }
.member-shell .topbar-inner { width:min(calc(100% - 3rem),1400px); min-height:74px }
.member-shell #lang { background-color:#fff; font-size:.875rem; border-color:var(--line); min-height:40px }
.member-shell .identity-shortcut { display:inline-flex; align-items:center; gap:.5rem; border:0; background:transparent; padding:.1rem .25rem .1rem .1rem; color:var(--ink) }
.member-shell .identity-shortcut span,.member-shell .avatar-empty { width:36px; height:36px; display:inline-grid; place-items:center; border-radius:50%; color:#613225; background:#ffd6cf; font-size:.95rem; font-weight:700 }
.member-shell .identity-shortcut strong { max-width:9ch; overflow:hidden; text-overflow:ellipsis }
.member-shell button,.member-shell .button { font-family:var(--font); color:var(--ink); border-color:var(--line); font-weight:640; font-size:.96rem }
.member-shell button:not(.brand,.nav-item,.card-open,.text-button,.ghost,.identity-shortcut):hover:not(:disabled), .member-shell .button:hover { background:#f2ecfc; border-color:#bbabd7 }
.member-shell .button { display:inline-flex; justify-content:center; align-items:center; gap:.45rem; line-height:1.2; text-decoration:none }
.member-shell .primary,.member-shell form button.primary { color:#fff; background:var(--violet); border-color:var(--violet) }
.member-shell button.primary:hover:not(:disabled),.member-shell .button.primary:hover,.member-shell form button.primary:hover:not(:disabled) { background:var(--violet-dark); border-color:var(--violet-dark); color:#fff }
.member-shell .secondary { color:#513494; background:#fff; border-color:#cfc1e4 }
.member-shell .text-button,.member-shell .ghost { color:#5835a9 }
.member-shell :is(button,input,textarea,select,summary,a):focus-visible,.member-shell .photo-picker:focus-within { outline:3px solid #6a35d6; outline-offset:3px }
.member-shell input:is([type=checkbox],[type=radio]) { accent-color:var(--violet) }
.member-shell input:not([type=checkbox],[type=radio]),.member-shell select,.member-shell textarea { border-color:#c9c0d5; border-radius:12px; color:var(--ink); background-color:#fff }
.member-shell .choice:has(:checked) { background:#eee8fb; color:#442777; border-color:#ac8bd9 }
.member-shell .notice { color:#49306f; background:#f1ebfc; border-color:#d9c9f0 }
.member-shell .alert { color:#782f2a; background:#fff1ec; border-color:#efbfb2 }
.member-shell .feedback-wrap { grid-area:feedback; min-width:0 }
.member-shell .feedback-wrap:has(#feedback[hidden]) { display:none }
.member-shell .feedback-wrap #feedback:not([hidden]) { display:block; width: min(94%,1060px); margin:.6rem auto 0 }
.member-shell .page-content { grid-area:content; width:min(calc(100% - 3rem),1170px); min-width:0; margin-inline:auto; padding-block:clamp(1.6rem,3.2vw,3rem) 4rem }
.member-shell:not(.signed-in) .page-content { width:min(calc(100% - 2.4rem),740px) }
.member-shell .panel,.member-shell .settings-panel,.member-shell .member-list { background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:none }
.member-shell .panel { padding:clamp(1.15rem,2.4vw,2rem) }
.member-shell .member-screen { display:grid; gap:1.25rem; align-content:start; min-width:0 }
.member-shell .member-heading { display:grid; gap:.52rem; margin-bottom:.3rem }
.member-shell .member-heading h1,.member-shell .member-heading p { margin:0 }
.member-shell .member-heading p,.member-shell .member-empty p,.member-shell .settings-panel p { color:var(--muted); line-height:1.54 }
.member-shell .member-heading p { font-size:1.04rem; max-width:64ch }
.member-shell.signed-in { display:grid; grid-template-columns:clamp(165px,17vw,235px) minmax(0,1fr); grid-template-rows:auto auto 1fr; grid-template-areas:"head head" "nav feedback" "nav content" }
.member-shell.signed-in:has(.feedback-wrap #feedback[hidden]) { grid-template-rows:auto 1fr; grid-template-areas:"head head" "nav content" }
.member-shell .member-nav { grid-area:nav; display:flex; flex-direction:column; justify-content:start; align-items:stretch; align-self:stretch; gap:.36rem; width:auto; margin:0; padding:2.1rem clamp(.62rem,1.3vw,1.2rem); background:#faf8fe; border:0; border-inline-end:1px solid var(--line); border-radius:0; overflow:visible }
.member-shell .member-nav .nav-item { width:100%; min-width:0; min-height:48px; display:flex; align-items:center; gap:.8rem; justify-content:flex-start; border:0; color:#574f61; background:transparent; border-radius:14px; padding:.72rem .8rem; font-size:1rem; font-weight:600 }
.member-shell .member-nav .nav-item:hover { color:var(--violet-dark); background:var(--lilac) }
.member-shell .member-nav .nav-item.active { color:#492097; background:#e9e0fb; font-weight:720 }
.member-shell .nav-symbol { position:relative; line-height:0 }
.member-shell .nav-symbol .ui-icon { width:22px; height:22px }
.member-shell .nav-badge { position:absolute; inset-inline-start:65%; inset-block-start:-7px; color:#fff; background:#6b37cf; border:1px solid #fff; padding:1px 3px; border-radius:10px; font-size:.61rem; line-height:1.12; font-weight:750; min-width:14px; text-align:center }
.member-shell .filter-disclosure { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden }
.member-shell .filter-disclosure summary { min-height:54px; cursor:pointer; display:flex; align-items:center; gap:.72rem; padding:.55rem .95rem; list-style:none }
.member-shell .filter-disclosure summary::-webkit-details-marker { display:none }
.member-shell .filter-icon { background:#eee8fa; color:#6034ad; width:32px; height:32px; display:grid; place-items:center; border-radius:10px }
.member-shell .filter-summary { margin-inline-start:auto; color:var(--muted); max-width:58%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.92rem }
.member-shell .filter-disclosure[open] summary>.ui-icon { transform:rotate(180deg) }
.member-shell .filter-form { border-block-start:1px solid var(--line); padding:1rem; display:grid; gap:1rem }
.member-shell .filter-inputs { display:grid; grid-template-columns:1fr 1fr 1.4fr; gap:.8rem }
.member-shell .result-count { margin:0 0 -.5rem; color:#64596f; font-size:.95rem; font-weight:600 }
.member-shell .person-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr)); gap:1.05rem; align-items:stretch }
.member-shell .person-card { display:flex; flex-direction:column; padding:0; min-width:0; background:#fff; border:1px solid #dcd5e6; border-radius:20px; box-shadow:0 4px 12px #36244909; overflow:hidden }
.member-shell .person-card .card-open { display:block; text-align:start; border:none; padding:0; border-radius:0; background:#fff; color:var(--ink); width:100% }
.member-shell .person-card .card-open:hover:not(:disabled) { background:#fbf9ff; border:0 }
.member-shell .photo-wrap { display:block; position:relative; overflow:hidden; margin:0; border-radius:0; background:#ddd4e5; isolation:isolate }
.member-shell .photo-wrap>.portrait { display:block; width:100%; max-height:inherit; aspect-ratio:1.62; object-fit:cover }
.member-shell .photo-status { display:inline-flex; align-items:center; gap:.27rem; position:absolute; color:#fff; background:#281d3dd9; border:1px solid #ffffff50; border-radius:20px; font-size:.76rem; padding:.27rem .54rem; inset:auto; inset-inline-start:.6rem; inset-block-end:.58rem; line-height:1.25 }
.member-shell .photo-status .ui-icon { width:.85rem; height:.85rem }
.member-shell .member-identity { display:grid; align-content:start; gap:.28rem; padding:.85rem .95rem 0 }
.member-shell .card-open .card-title,.member-shell .card-title { padding-inline:0; font:740 clamp(1.38rem,2.4vw,1.8rem)/1.08 var(--font); color:var(--ink); letter-spacing:-.04em; overflow-wrap:anywhere }
.member-shell .member-age { color:#665b73; font-weight:480; letter-spacing:-.02em }
.member-shell .member-place { display:inline-flex; align-items:center; gap:.26rem; font:500 .92rem/1.3 var(--font); color:#62586c; text-align:start }
.member-shell .member-place .ui-icon { width:1rem; height:1rem }
.member-shell .common-badge { display:inline-flex; align-items:center; justify-self:start; gap:.36rem; width:fit-content; border-radius:20px; padding:.27rem .56rem; background:var(--lime); color:#32421e; font-size:.8rem; font-weight:720; line-height:1.35; margin-top:.32rem }
.member-shell .common-badge .ui-icon { width:.95rem; height:.95rem }
.member-shell .card-content { padding:.76rem .95rem 1rem; display:flex; flex-direction:column; flex:1; gap:.6rem }
.member-shell .card-bio { margin:0; color:#544b60; font-size:.94rem; line-height:1.47; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.member-shell .shared-tags { display:flex; flex-wrap:wrap; gap:.34rem }
.member-shell .tag { background:#eee9f8; color:#513a6c; padding:.24rem .58rem; font-family:var(--font); font-size:.8rem; border:0 }
.member-shell .member-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-top:auto; padding-top:.35rem }
.member-shell .person-card .member-actions { display:grid; grid-template-columns:1fr; gap:.4rem }
.member-shell .member-actions .button { padding:.57rem .75rem; min-height:42px; border-radius:12px; font-size:.9rem; line-height:1.25 }
.member-shell .member-actions .ui-icon { width:1rem; height:1rem }
.member-shell .interest-status { color:#4f3975; font-weight:650; display:flex; align-items:center; justify-content:center; gap:.36rem; min-height:40px; padding:.35rem .55rem; background:#f1ecf9; border-radius:12px }
.member-shell .member-empty { padding:clamp(1.15rem,3.4vw,2.7rem); display:grid; gap:.65rem; justify-items:start; border:1px solid #d9cde9; border-radius:20px; background:linear-gradient(115deg,#fff 40%,#ede7fa 100%) }
.member-shell .member-empty h2 { margin:.3rem 0 .45rem }
.member-shell .member-empty p { max-width:52ch; margin:0 0 .2rem }
.member-shell .empty-symbol,.member-shell .setting-icon { width:44px; height:44px; display:inline-grid; place-items:center; background:#e1d4ff; color:#5625b4; border-radius:14px }
.member-shell .empty-symbol .ui-icon { width:25px; height:25px }
.member-shell .member-empty .button { margin-top:.3rem }
.member-shell .feature-copy,.member-shell .self-card,.member-shell .settings-panel { display:grid; gap:.8rem; justify-items:start; align-content:start }
.member-shell .profile-feature { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); border-radius:22px; border:1px solid var(--line); background:#fff; overflow:hidden }
.member-shell .profile-feature .photo-wrap,.member-shell .profile-feature .photo-wrap img { height:100%; width:100%; min-height:280px }
.member-shell .profile-photo { min-width:0; max-height:540px }
.member-shell .feature-copy { padding:clamp(1.25rem,3.5vw,2.5rem) }
.member-shell .feature-copy h1,.member-shell .feature-copy h2,.member-shell .feature-bio { margin:0 }
.member-shell .feature-bio,.member-shell .self-bio { font-size:1.075rem; line-height:1.53; white-space:pre-line }
.member-shell .value-section h2 { font-size:1.05rem; margin:0 0 .4rem; letter-spacing:0 }
.member-shell .back-link,.member-shell .block-link { justify-self:start }
.member-shell .member-list { overflow:hidden }
.member-shell .member-list>.peer-row,.member-shell .activity-item { display:flex; align-items:center; padding:1rem 1.1rem; border:0; border-radius:0; border-bottom:1px solid var(--line); gap:.85rem; margin:0 }
.member-shell .member-list>:last-child { border-bottom:0 }
.member-shell .peer-row .avatar { border-radius:14px; object-fit:cover; background:#e7e1ed }
.member-shell .peer-row .text-button { color:var(--ink); text-decoration:none; padding:0; min-height:30px; text-align:start; font:680 1.12rem/1.3 var(--font) }
.member-shell .peer-row .text-button:hover { text-decoration:underline }
.member-shell .activity-toolbar { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:.55rem }
.member-shell .activity-toolbar>.text-button { display:inline-flex; gap:.32rem; align-items:center; width:fit-content }
.member-shell .segmented { display:inline-flex; flex-wrap:wrap; justify-self:start; gap:.21rem; background:#e8e1f1; padding:.27rem; border-radius:14px }
.member-shell .segmented button { gap:.4rem; align-items:center; display:inline-flex; border:1px solid transparent; background:transparent; border-radius:10px; padding:.5rem .85rem; color:#62576e; min-height:41px }
.member-shell .segmented button.active,.member-shell .segmented button[aria-pressed=true] { border-color:#e4dae9; color:#422879; background:#fff; box-shadow:0 1px 4px #38215214 }
.member-shell .segmented b { border-radius:8px; padding:.03rem .35rem; background:#dcd4e8; color:#514560; font-size:.78rem }
.member-shell .segmented .active b { background:#e7dafa; color:#4c3083 }
.member-shell .activity-item.unread { background:#f7f3ff; border-inline-start:3px solid #8e69e7; padding-inline-start:calc(1.1rem - 3px) }
.member-shell .activity-icon { flex:none; border-radius:13px; width:41px; height:41px; display:grid; place-items:center; background:#e6dcfc; color:#592cae }
.member-shell .activity-icon.type-heart { background:#ffdfd8; color:#973d36 }
.member-shell .activity-icon.type-pin { background:#e9f4b4; color:#4c601d }
.member-shell .activity-item p { margin:0; color:#44384f; line-height:1.43 }
.member-shell .activity-item time { color:#6b6176; font-size:.82rem }
.member-shell .activity-item>.text-button { margin-inline-start:auto; font-size:.9rem; color:#5632a2; white-space:nowrap }
.member-shell .self-card { border-radius:22px; background:#fff; border:1px solid var(--line); padding:clamp(1.1rem,3vw,2.4rem) }
.member-shell .self-card p { margin:0 }
.member-shell .self-identity { display:flex; align-items:center; gap:1rem; flex-wrap:wrap }
.member-shell .self-identity .settings-photo,.member-shell .self-identity .avatar-empty { width:92px; height:92px; border-radius:23px; object-fit:cover; background:#eadff8 }
.member-shell .self-identity h2 { font-size:clamp(1.8rem,3.3vw,3rem); margin:0 0 .3rem }
.member-shell .visibility-state { display:flex; align-items:center; gap:.35rem; padding-top:.28rem; color:#5f487e; font-size:.88rem }
.member-shell .visibility-state .ui-icon { width:1rem; height:1rem }
.member-shell .seeking-info { color:var(--muted) }
.member-shell .settings-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:1rem }
.member-shell .settings-panel { padding:1.25rem; gap:.65rem }
.member-shell .settings-panel h2,.member-shell .settings-panel p { margin:0 }
.member-shell .setting-icon.coral { background:#ffdcd4; color:#923f38 }
.member-shell .account-exit { border-top:1px solid var(--line); padding-top:1rem }
.member-shell .auth-panel,.member-shell[data-screen=login] .panel,.member-shell[data-screen=upload] .panel { border:1px solid #dcd0eb; padding:clamp(1.2rem,4vw,2.8rem) }
.member-shell .auth-panel .eyebrow,.member-shell .photo-upload .eyebrow { color:#6346a2; letter-spacing:.06em }
.member-shell .gate-hint { color:#614d79; font-size:.94rem; border-inline-start:3px solid #a87be4; padding-inline-start:.7rem; margin:0 }
.member-shell .message.mine { background:#e9ddff; color:#3e285c }
.member-shell .modal { background:#fff; border-radius:20px }
.member-shell .modal::backdrop { background:#2418328c }
.member-shell #zli-crossings { border:1px solid #ded5e9; border-radius:18px; padding:1.3rem; background:#fffdff }
.member-shell #zli-crossings h2 { font-size:1.45rem }
.member-shell .wait-screen { display:grid; gap:1.15rem }
.member-shell .wait-highlight { background:#321c55; color:#fff; border-radius:24px; padding:clamp(1.6rem,4vw,3rem); display:grid; gap:1.2rem }
.member-shell .confirmation-mark { display:grid; place-items:center; width:53px; height:53px; border-radius:50%; background:var(--lime); color:#303e21 }
.member-shell .confirmation-mark .ui-icon { width:30px; height:30px }
.member-shell .wait-highlight h1 { color:#fff; max-width:15ch; font-size:clamp(2.2rem,4.5vw,3.7rem); margin-bottom:.8rem }
.member-shell .wait-highlight p { color:#eee7fa; max-width:52ch; margin:0 }
.member-shell .opening-card { display:flex; align-items:start; gap:1rem; padding:clamp(1.15rem,3vw,1.65rem); background:#fff; border:1px solid var(--line); border-radius:20px }
.member-shell .opening-card h2 { font-size:1.15rem; margin:0 0 .28rem }
.member-shell .opening-card time,.member-shell .opening-card small { display:block }
.member-shell .opening-card time { font-weight:650 }
.member-shell .opening-card p { color:var(--muted); font-size:.86rem; margin:.48rem 0 0 }
@media(min-width:1500px) {
  .member-shell.signed-in { grid-template-columns:minmax(235px,calc((100vw - 1060px)/2)) minmax(0,1fr) }
  .member-shell .member-nav { align-items:flex-end }
  .member-shell .member-nav .nav-item { max-width:220px }
  .member-shell .page-content { margin-inline-start:clamp(1.5rem,3vw,4rem) }
  .member-shell:not(.signed-in) .page-content { margin-inline:auto }
}
@media(max-width:850px) {
  .member-shell.signed-in { display:block }
  .member-shell .page-content { width:min(calc(100% - 2rem),760px) }
  .member-shell.signed-in .page-content { padding-bottom:calc(6rem + env(safe-area-inset-bottom)) }
  .member-shell .member-nav { position:fixed; z-index:12; inset:auto 0 0; width:100%; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.08rem; background:#fffffff5; border:0; border-top:1px solid #dcd3e8; padding:.28rem .4rem calc(.24rem + env(safe-area-inset-bottom)); backdrop-filter:blur(16px); box-shadow:0 -4px 17px #3524480a }
  .member-shell .member-nav .nav-item { gap:.04rem; padding:.23rem .05rem; min-height:53px; flex-direction:column; justify-content:center; font-size:.73rem; font-weight:600; border-radius:12px; background:transparent }
  .member-shell .member-nav .nav-item.active { background:transparent; color:#5721bd }
  .member-shell .nav-item .nav-symbol { display:grid; place-items:center; width:40px; height:26px; border-radius:11px }
  .member-shell .nav-item.active .nav-symbol { background:#e5d7fc }
  .member-shell .nav-badge { inset-inline-start:64%; inset-block-start:-2px }
  .member-shell .nav-label { line-height:1.25 }
  .member-shell .identity-shortcut strong { display:none }
}
@media(max-width:550px) {
  .member-shell .topbar-inner { min-height:61px; width:calc(100% - 1.65rem) }
  .member-shell #lang { max-width:6.4rem; min-height:37px; font-size:.84rem; padding-inline-start:.58rem }
  .member-shell .identity-shortcut span { width:31px; height:31px }
  .member-shell .page-content,.member-shell:not(.signed-in) .page-content { width:calc(100% - 1.45rem); padding-top:1.35rem }
  .member-shell .member-screen { gap:.9rem }
  .member-shell .member-heading p { font-size:.95rem }
  .member-shell .member-empty { gap:.5rem; padding:1.1rem }
  .member-shell .filter-inputs { grid-template-columns:1fr 1fr; gap:.65rem }
  .member-shell .filter-inputs>.field:last-child { grid-column:1/-1 }
  .member-shell .person-grid { grid-template-columns:1fr; gap:.8rem }
  .member-shell .person-card .card-open { display:grid; grid-template-columns:minmax(100px,.73fr) minmax(0,1.26fr); align-items:stretch }
  .member-shell .person-card .card-open .photo-wrap { margin:0; height:132px }
  .member-shell .person-card .card-open .portrait { aspect-ratio:auto; height:100%; object-fit:cover }
  .member-shell .person-card .member-identity { padding:.8rem .7rem; align-content:center; gap:.36rem }
  .member-shell .person-card .card-title { font-size:1.48rem }
  .member-shell .person-card .photo-status { inset-inline-start:.3rem; inset-block-end:.35rem; padding:.22rem .32rem; gap:.14rem; font-size:.68rem }
  .member-shell .person-card .photo-status .ui-icon { width:.77rem; height:.77rem }
  .member-shell .person-card .card-content { border-top:1px solid #eee8f2; padding:.72rem; gap:.55rem }
  .member-shell .person-card .member-actions { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.42rem }
  .member-shell .person-card .member-actions .button { padding:.48rem .35rem; font-size:.87rem; gap:.25rem; min-height:44px }
  .member-shell .profile-feature { grid-template-columns:1fr }
  .member-shell .profile-feature .profile-photo,.member-shell .profile-feature .photo-wrap,.member-shell .profile-feature .photo-wrap img { width:100%; height:230px; min-height:0 }
  .member-shell .feature-copy { padding:1.1rem }
  .member-shell .member-list>.peer-row { gap:.56rem; padding:.8rem; flex-wrap:wrap }
  .member-shell .member-list>.peer-row>.cluster { flex-basis:100% }
  .member-shell .activity-item { display:grid; grid-template-columns:36px 1fr; gap:.35rem .6rem; padding:.8rem }
  .member-shell .activity-item.unread { padding-inline-start:calc(.8rem - 3px) }
  .member-shell .activity-item>.text-button { grid-column:2; margin-inline:0; justify-self:start; min-height:29px; padding:0 }
  .member-shell .activity-icon { width:35px; height:35px; border-radius:11px }
  .member-shell .segmented button { padding:.43rem .62rem; font-size:.88rem }
  .member-shell .auth-panel h1,.member-shell[data-screen=login] h1 { font-size:2.1rem }
}
@media(prefers-reduced-motion:reduce) { .member-shell *, .member-shell *::after, .member-shell *::before { scroll-behavior:auto !important; transition-duration:0s !important } }
.member-shell.signed-in { grid-template-rows:auto auto 1fr auto; grid-template-areas:"head head" "nav feedback" "nav content" "nav credit" }
.member-shell.signed-in:has(.feedback-wrap #feedback[hidden]) { grid-template-rows:auto 1fr auto; grid-template-areas:"head head" "nav content" "nav credit" }
.member-shell>.ownership-credit { grid-area:credit }
@media(max-width:850px) {
  .member-shell.signed-in .page-content { padding-bottom:1.75rem }
  .member-shell.signed-in>.ownership-credit { padding-bottom:calc(5.35rem + env(safe-area-inset-bottom)) }
}

.pref-section{border:1px solid #d5c7db;border-radius:.9rem;padding:.85rem 1rem;margin-block:.6rem;background:var(--card,#fff)}
.pref-section summary{cursor:pointer;font-weight:650;color:#45264c}
.pref-section[open] summary{margin-block-end:.85rem}
.pref-section fieldset{margin:0;border:1px solid #d5c7db;border-radius:.7rem;padding:.65rem}
.pref-choice{display:inline-flex;align-items:center;gap:.45rem;padding:.4rem .6rem;line-height:1.45}
.pref-choice input{width:1.1rem;height:1.1rem;accent-color:#7c3b75;flex-shrink:0}
.pref-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem}
.pref-summary dt,.pref-summary dd{margin:0}
.pref-summary dt{font-weight:600}
.conversation-prompts summary,.message-lang summary{cursor:pointer;text-decoration:underline;text-underline-offset:.2rem;padding-block:.4rem}
.conversation-prompts .stack{padding-block:.65rem}
.message-lang{font-size:.875rem}
