:root{--app-bg:#faf9f6;--surface:#fffdf8;--surface-secondary:#f3efe8;--text-primary:#171713;--text-secondary:#55544e;--text-muted:#6d6b62;--border:#e6e2da;--brand-red:#ff6846;--brand-red-soft:#ffe9e4;--brand-dark:#171713;--success:#547a3a;--radius-sm:12px;--radius-md:18px;--radius-lg:24px;--shadow-sm:0 4px 16px rgba(30,25,18,.04);--shadow-md:0 14px 38px rgba(30,25,18,.07);--sidebar-width:194px;--content-max-width:1340px}
body.product-body{background:var(--app-bg);color:var(--text-primary);min-height:100vh}.product-body button,.product-body input,.product-body select,.product-body textarea{font:inherit}.product-shell,.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) 1fr}.product-nav,.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);padding:38px 16px 24px;background:var(--surface);color:var(--text-primary);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:30}.product-nav .logo{padding:0 11px;margin:0 0 46px;color:var(--text-primary)}.product-nav-links{display:grid;gap:8px}.product-nav-link{display:flex;align-items:center;gap:12px;padding:13px 11px;border-radius:var(--radius-sm);color:var(--text-secondary);font-size:.9rem;transition:.2s background,.2s color}.product-nav-link:hover{background:var(--surface-secondary);color:var(--text-primary)}.product-nav-link.active{background:var(--brand-red-soft);color:var(--text-primary)}.product-nav-link.active svg{color:var(--brand-red)}.product-nav-link svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.product-nav-link span:first-child{width:22px;display:grid;place-items:center}.nav-count{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:20px;background:var(--brand-red);color:white;display:grid;place-items:center;font-size:.7rem;font-weight:800}.nav-member{margin-top:auto;display:flex;align-items:center;gap:11px;padding:12px 2px;border-top:0;color:var(--text-primary)}.nav-member:after{content:'⌄';margin-left:auto;color:var(--text-muted)}.nav-member .demo-avatar{width:38px;height:38px}.nav-member div{display:grid;font-size:.8rem}.nav-member small{color:var(--text-muted)}.product-content{grid-column:2;padding-bottom:90px;background:var(--app-bg)}.product-topbar,.app-topbar{height:70px;padding:0 40px;display:flex;align-items:center;justify-content:flex-end;gap:15px;position:sticky;top:0;z-index:20;background:rgba(250,249,246,.92);backdrop-filter:blur(16px);border-bottom:0}.icon-button{width:42px;height:42px;border:0;border-radius:50%;background:transparent;cursor:pointer;display:grid;place-items:center;position:relative}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-button:hover{background:var(--surface-secondary)}.notification-dot{position:absolute;right:7px;top:6px;width:8px;height:8px;border-radius:50%;background:var(--brand-red);border:2px solid var(--surface)}.product-page{width:min(var(--content-max-width),calc(100% - 72px));margin:42px auto}.product-header,.page-header{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:38px}.product-header h1{font-size:clamp(3rem,4.3vw,3.5rem);margin-bottom:10px}.product-header .lede{margin:0;font-size:clamp(1.1rem,2vw,1.25rem)}.product-header .eyebrow,.page-eyebrow{color:var(--brand-red);font-size:.7rem;letter-spacing:.13em}.product-actions,.page-actions{display:flex;gap:10px;flex-wrap:wrap}.product-button,.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border:1px solid transparent;border-radius:100px;background:var(--brand-dark);color:white;font-weight:700;cursor:pointer;transition:.2s transform,.2s box-shadow,.2s background}.product-button:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.product-button.accent,.primary-button{background:var(--brand-red);color:white}.product-button.accent:hover,.primary-button:hover{background:#ef5c3c}.product-button.light,.secondary-button{background:var(--surface);color:var(--text-primary);border-color:var(--border)}.product-button.text{min-height:auto;padding:0;border:0;border-radius:0;background:none;color:#bd452e}.product-button:focus-visible,.product-tab:focus-visible,.filter-chip:focus-visible,.product-nav-link:focus-visible,.icon-button:focus-visible{outline:3px solid rgba(255,104,70,.35);outline-offset:3px}.product-button[disabled]{opacity:.55;cursor:not-allowed;transform:none}.product-tabs,.filter-pills{display:flex;gap:7px;padding:0;background:transparent;border-radius:0;width:max-content;margin-bottom:30px}.product-tab,.filter-chip{border:1px solid var(--border);border-radius:100px;background:var(--surface);padding:10px 17px;font-weight:600;color:var(--text-secondary);cursor:pointer}.product-tab.active,.filter-chip.active{background:var(--brand-dark);border-color:var(--brand-dark);color:white;box-shadow:none}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:22px}.product-search,.search-bar{height:50px;flex:1;min-width:220px;padding:0 17px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-sm);outline:none}.product-search:focus,.product-select:focus,.product-textarea:focus{border-color:var(--brand-red);box-shadow:0 0 0 4px rgba(255,104,70,.14)}.product-select{height:50px;padding:0 38px 0 14px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-sm);outline:none}.filter-chips{display:flex;gap:7px;overflow:auto;padding-bottom:14px;margin-bottom:14px;scrollbar-width:none}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card,.app-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:24px;box-shadow:var(--shadow-sm);position:relative;transition:.2s transform,.2s box-shadow,.2s border-color}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:#d9d4cb}.profile-card{display:flex;flex-direction:column;min-height:340px}.profile-card .demo-avatar{width:64px;height:64px;margin-bottom:17px}.profile-card h3{font-size:1.3rem;margin:0 0 4px}.profile-role{color:var(--text-muted);margin-bottom:15px;font-size:.85rem}.profile-context{padding:13px 0;border-block:1px solid #ebe7dd;display:grid;gap:5px;font-size:.78rem}.profile-context span{color:var(--text-muted)}.card-tags{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.product-pill,.tag{display:inline-flex;align-items:center;padding:7px 10px;border-radius:30px;background:var(--surface-secondary);font-size:.7rem;font-weight:700}.profile-card .product-button{margin-top:auto}.demo-avatar,.avatar{display:grid;place-items:center;flex:none;border-radius:50%;background:var(--acid);color:var(--text-primary);font-weight:800;background-size:200% 200%;background-repeat:no-repeat;box-shadow:0 0 0 2px var(--surface)}.demo-avatar.has-photo{font-size:0;background-image:url('../people-v2.png')}.demo-avatar.p1{background-position:0 0}.demo-avatar.p2{background-position:100% 0}.demo-avatar.p3{background-position:0 100%}.demo-avatar.p4{background-position:100% 100%}.demo-avatar.lg{width:112px;height:112px}.demo-avatar.md{width:58px;height:58px}.event-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.event-card{min-height:320px;display:flex;flex-direction:column;overflow:hidden}.event-card:before{content:'';height:5px;background:var(--brand-red);position:absolute;left:0;right:0;top:0}.event-card:nth-child(even):before{background:#e8c9c1}.event-card>small{letter-spacing:.11em;color:var(--text-muted)}.event-card h3{font-size:2rem;margin:30px 0 7px}.event-place{font-size:1.05rem}.event-meta-row{display:flex;gap:18px;color:var(--text-muted);font-size:.82rem;padding:18px 0;margin-top:auto}.event-match-count{font-weight:700;color:#bd452e;margin-bottom:16px;background:var(--brand-red-soft);padding:9px 12px;border-radius:10px;width:max-content}.match-list{display:grid;gap:16px}.match-card-product,.match-card{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:start}.match-card-product .demo-avatar{width:64px;height:64px}.match-card-product h3{font-size:1.35rem;margin:4px 0}.match-score{background:var(--brand-red-soft);color:#bd452e;padding:8px 11px;border-radius:30px;font-weight:800}.match-reasons{grid-column:2/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.match-reason{background:var(--surface-secondary);border-radius:var(--radius-sm);padding:14px;font-size:.82rem}.match-reason b{display:block;margin-bottom:4px}.match-actions{grid-column:2/-1;display:flex;align-items:center;gap:15px}.relationship-hero{background:var(--surface);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:38px;display:grid;grid-template-columns:auto 1fr auto;gap:30px;align-items:center}.relationship-hero h1{font-size:clamp(2.8rem,5vw,4.5rem);margin:5px 0}.relationship-hero .profile-role{color:var(--text-muted);margin:0}.relationship-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:18px}.detail-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:30px}.detail-panel h2{font-size:2rem}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.support-box{padding:20px;border-radius:var(--radius-md);background:var(--surface-secondary)}.support-box.accent{background:var(--brand-red-soft)}.support-box ul{padding-left:18px;margin-bottom:0}.relationship-facts{display:grid;gap:0}.fact{display:grid;grid-template-columns:140px 1fr;padding:15px 0;border-bottom:1px solid var(--border)}.fact span{color:var(--text-muted);font-size:.8rem}.product-textarea{width:100%;min-height:130px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);resize:vertical;outline:none}.note-status{font-size:.75rem;color:var(--text-muted);min-height:18px}.intro-rule-banner{background:var(--brand-red-soft);color:var(--text-primary);border:1px solid #f5d7d0;border-radius:var(--radius-lg);padding:30px;display:grid;grid-template-columns:.65fr 1.35fr;gap:30px;align-items:center;margin-bottom:30px}.intro-rule-banner h2{font-size:clamp(2.4rem,4vw,3.5rem);margin:0;color:#bd452e}.intro-rule-banner p{font-size:1.1rem;color:var(--text-secondary);margin:0}.intro-card,.introduction-card{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.intro-people{display:flex;align-items:center;gap:10px;margin-bottom:18px}.intro-people i{width:36px;height:1px;background:var(--brand-red)}.intro-card h3{margin:0 0 8px}.intro-card blockquote{margin:12px 0;padding-left:14px;border-left:3px solid var(--brand-red);color:var(--text-muted)}.second-banner{text-align:center;padding:55px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.second-banner .demo-avatar{margin:0 auto 20px}.second-banner h1{font-size:clamp(3rem,6vw,5rem)}.second-label,.badge{display:inline-flex;background:var(--brand-red-soft);color:#bd452e;padding:8px 13px;border-radius:30px;font-weight:800;font-size:.78rem}.connection-path{display:flex;align-items:center;justify-content:center;max-width:520px;margin:36px auto}.connection-path div{display:grid;justify-items:center;gap:8px}.connection-path i{height:2px;flex:1;background:var(--brand-red)}.event-hero{background:var(--brand-red-soft);border:1px solid #f5d7d0;border-radius:var(--radius-lg);padding:42px;display:grid;grid-template-columns:1fr auto;gap:30px}.event-hero h1{font-size:clamp(3rem,6vw,5rem);margin:15px 0}.event-hero-meta{display:flex;gap:24px;flex-wrap:wrap}.event-hero-meta span{font-weight:700}.event-side{background:rgba(255,255,255,.65);padding:24px;border-radius:var(--radius-md);min-width:250px}.match-detail-head{text-align:center;padding:40px 0}.match-detail-head .demo-avatar{margin:auto}.match-detail-head h1{font-size:clamp(3.2rem,7vw,5.5rem);margin:22px 0 14px}.mutual-box{background:var(--surface);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:30px;margin-top:18px}.mutual-box ul{display:flex;gap:12px;flex-wrap:wrap;list-style:none;padding:0}.mutual-box li{background:var(--surface-secondary);padding:11px 14px;border-radius:30px}.empty-state{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg)}
.onboarding{min-height:100vh;background:var(--paper);padding:30px}.onboarding-shell{width:min(820px,100%);margin:auto}.onboarding-top{display:flex;justify-content:space-between;align-items:center}.progress-meta{color:var(--muted);font-size:.8rem}.progress-track{height:7px;border-radius:10px;background:#ddd9cf;margin:32px 0 70px;overflow:hidden}.progress-fill{height:100%;width:16.666%;background:var(--accent);transition:.35s width}.onboard-step{display:none}.onboard-step.active{display:block}.onboard-step h1{font-size:clamp(3.2rem,7vw,6rem)}.onboard-options{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}.choice{position:relative;cursor:pointer}.choice input{position:absolute;opacity:0}.choice span{display:block;padding:13px 18px;border:1px solid var(--line);background:var(--white);border-radius:100px;font-weight:700}.choice input:checked+span{background:var(--ink);color:white}.onboard-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:30px 0}.onboard-field{display:grid;gap:7px}.onboard-field.full{grid-column:1/-1}.onboard-field input,.onboard-field select,.onboard-field textarea{width:100%;min-height:54px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--white);font:inherit}.onboard-field textarea{min-height:120px}.photo-upload{grid-column:1/-1;display:flex;align-items:center;gap:16px}.photo-preview{width:82px;height:82px;border-radius:50%;background:#e0dcd2;display:grid;place-items:center;font-size:1.5rem}.onboard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:38px}.complete-step{text-align:center}.complete-mark{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:var(--acid);font-size:2.5rem;margin:0 auto 30px}
@media(max-width:1024px){.product-shell{grid-template-columns:180px 1fr}.product-nav{width:180px}.product-page{width:min(100% - 40px,1180px)}.cards-grid{grid-template-columns:repeat(2,1fr)}.relationship-grid{grid-template-columns:1fr}.match-reasons{grid-template-columns:1fr}.event-hero{padding:36px}.event-side{min-width:220px}}
@media(max-width:768px){.product-shell{display:block}.product-nav{display:none}.product-content{padding-bottom:95px}.product-topbar{height:64px;padding:0 18px;border-bottom:1px solid #eee9e2}.product-page{width:100%;margin:0 auto;padding:32px 20px}.product-header{display:block}.product-header .product-actions{margin-top:22px}.product-header h1{font-size:3.4rem}.cards-grid,.event-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.product-search{flex-basis:100%}.filter-chips{margin-inline:0;padding-inline:0}.relationship-hero{grid-template-columns:1fr;text-align:center;padding:30px}.relationship-hero .demo-avatar{margin:auto}.relationship-hero .product-button{width:100%}.support-grid{grid-template-columns:1fr}.event-hero{grid-template-columns:1fr;padding:28px}.event-side{min-width:0}.intro-rule-banner{grid-template-columns:1fr}.intro-card{grid-template-columns:1fr}.match-card-product{grid-template-columns:auto 1fr}.match-score{grid-column:2;justify-self:start}.match-reasons,.match-actions{grid-column:1/-1}.modal-options{grid-template-columns:1fr}.onboarding{padding:20px 14px}.progress-track{margin-bottom:46px}.onboard-fields{grid-template-columns:1fr}.onboard-field.full,.photo-upload{grid-column:auto}}
@media(max-width:430px){.product-header h1{font-size:3rem}.product-actions .product-button{width:100%}.product-tabs{width:100%;overflow:auto}.product-tab{flex:1;padding-inline:12px}.product-card{padding:20px}.match-card-product .demo-avatar{width:64px;height:64px}.fact{grid-template-columns:1fr;gap:5px}.connection-path .demo-avatar{width:48px;height:48px}.onboard-step h1{font-size:3rem}.onboard-actions{flex-direction:column-reverse}.onboard-actions .product-button{width:100%}}
@media(max-width:375px){.product-page{width:calc(100% - 22px)}.product-header h1,.onboard-step h1{font-size:2.7rem}.product-card,.detail-panel{padding:18px}.product-tab{font-size:.75rem}.event-hero{padding:22px}.onboarding{padding-inline:11px}}

/* Network feed */
.feed-page{max-width:1160px}.feed-page>.product-header{margin-bottom:26px}.feed-layout{display:grid;grid-template-columns:minmax(0,720px) minmax(260px,320px);gap:28px;align-items:start}.feed-main,.feed-stream{display:grid;gap:16px}.post-composer,.post-card,.feed-widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.post-composer{padding:16px}.composer-prompt{display:flex;gap:12px;align-items:flex-start}.composer-prompt .demo-avatar{width:44px;height:44px}.composer-prompt textarea{width:100%;min-height:44px;padding:11px 2px;border:0;background:transparent;resize:none;outline:none;color:var(--text-primary)}.composer-expanded{display:none;justify-content:space-between;gap:12px;align-items:center;padding-top:14px;margin-top:10px;border-top:1px solid var(--border)}.post-composer.expanded .composer-expanded{display:flex}.post-composer.expanded textarea{min-height:96px}.composer-tools{display:flex;gap:4px;flex-wrap:wrap}.composer-tools button,.post-actions button{border:0;background:transparent;color:var(--text-secondary);font-weight:700;cursor:pointer;border-radius:100px;padding:9px 11px}.composer-tools button:hover,.composer-tools button.active,.post-actions button:hover,.post-actions button.active{background:var(--brand-red-soft);color:#bd452e}.feed-filters{margin:2px 0 -2px}.post-card{padding:22px}.post-header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start}.post-header .demo-avatar{width:48px;height:48px}.post-header>div{display:grid}.post-header span,.post-header small{color:var(--text-muted);font-size:.78rem}.post-header small{margin-top:3px}.post-type-badge{align-self:start;padding:6px 9px;border-radius:100px;background:var(--surface-secondary);color:var(--text-secondary);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.post-type-badge.ask{background:#fff0ca;color:#79530c}.post-type-badge.opportunity{background:#e8f3dc;color:#42652c}.post-type-badge.milestone{background:var(--brand-red-soft);color:#bd452e}.post-content{font-size:1rem;line-height:1.65;padding:8px 0}.post-content p,.repost-thoughts{margin:14px 0}.post-actions{display:flex;gap:6px;border-top:1px solid var(--border);padding-top:10px}.repost-card{margin:12px 0 16px;padding:17px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fcfaf5}.repost-card header{display:flex;gap:10px;align-items:center}.repost-card header .demo-avatar{width:38px;height:38px}.repost-card header div{display:grid;font-size:.8rem}.repost-card header span{color:var(--text-muted);font-size:.72rem}.repost-card header .second-label{margin-left:auto;color:#bd452e}.repost-card>p{line-height:1.6}.repost-card footer{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--border);padding-top:12px;color:var(--text-muted);font-size:.78rem}.repost-card footer .product-button{min-height:38px;padding:0 14px;font-size:.76rem}.comment-list{padding-top:13px;border-top:1px solid var(--border)}.comment{display:flex;gap:10px;margin:11px 0}.comment .demo-avatar{width:34px;height:34px}.comment>div{background:var(--surface-secondary);border-radius:4px 13px 13px 13px;padding:9px 12px;font-size:.78rem}.comment p{margin:3px 0 0;line-height:1.45}.comment-composer{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin-top:14px}.comment-composer .demo-avatar{width:34px;height:34px}.comment-composer input{height:40px;border:1px solid var(--border);border-radius:100px;padding:0 14px;background:var(--surface)}.comment-composer button{border:0;background:none;color:#bd452e;font-weight:800;cursor:pointer}.feed-sidebar{display:grid;gap:16px;position:sticky;top:20px}.feed-widget{padding:20px}.feed-widget h3{margin:5px 0 13px}.feed-widget>a{display:flex;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--border);color:var(--text-primary)}.feed-widget>a>span{display:grid}.feed-widget>a span,.feed-widget small{color:var(--text-muted);font-size:.75rem}.feed-widget .demo-avatar{width:38px;height:38px}.feed-principle{background:var(--brand-red-soft);border-color:#f5d7d0}.feed-principle h3{font-size:1.45rem;color:#bd452e}.feed-principle p{margin-bottom:0;color:var(--text-secondary)}
@media(max-width:1024px){.feed-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}}
@media(max-width:768px){.feed-page>.product-header{margin-bottom:20px}.feed-layout{grid-template-columns:1fr}.feed-sidebar{display:none}.post-card{padding:18px}.composer-expanded{align-items:stretch;flex-direction:column}.composer-expanded>.product-button{align-self:flex-end}.post-type-badge{grid-column:2;justify-self:start}.post-header{grid-template-columns:auto 1fr}.repost-card footer{align-items:flex-start;flex-direction:column}.post-actions{justify-content:space-between}.post-actions button{padding-inline:7px;font-size:.76rem}}

.network-search-wrap{position:relative;display:flex;align-items:center;flex:1}.network-search-wrap>span{position:absolute;left:17px;z-index:1;color:var(--text-muted);font-size:1.2rem}.network-search-wrap .product-search{padding-left:45px}.profile-location{display:inline-block;margin-top:3px}

/* Viewport-level shell: no outer frame and no reserved desktop header row */
html{background:var(--app-bg)}
body.product-body{margin:0;width:100%;min-height:100vh;background:var(--app-bg);overflow-x:hidden}
.product-shell,.app-shell{width:100%;min-height:100vh;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible;background:var(--app-bg);transform:none}
.product-nav,.app-sidebar{top:0;bottom:0;left:0;padding:18px 16px 20px;border-radius:0;box-shadow:none}
.product-nav .logo,.app-sidebar .logo{margin:0 0 24px;padding:0 11px}
.product-content{position:relative;min-width:0;min-height:100vh;margin:0;padding:0 0 72px;border:0;border-radius:0;box-shadow:none;background:var(--app-bg)}
.product-topbar,.app-topbar{position:absolute;top:8px;right:36px;width:auto;height:44px;padding:0;z-index:20;background:transparent;backdrop-filter:none;border:0;box-shadow:none}
.product-page{width:min(var(--content-max-width),calc(100% - 72px));margin:0 auto;padding:14px 0 64px}

@media(max-width:1024px){.product-page{width:min(100% - 40px,var(--content-max-width));padding-top:14px}.product-topbar,.app-topbar{right:20px}}
@media(max-width:768px){.product-topbar,.app-topbar{position:sticky;top:0;right:auto;width:100%;height:58px;padding:0 18px;background:rgba(250,249,246,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.product-page{width:calc(100% - 28px);margin:0 auto;padding:24px 0 52px}}
@media(max-width:430px){.product-page{padding-top:20px}}
@media(max-width:375px){.product-page{width:calc(100% - 22px)}}
.post-actions{flex-wrap:wrap}.post-recommendation{display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center;margin:14px 0;padding:13px;border-radius:var(--radius-sm);background:var(--brand-red-soft);border:1px solid #f5d7d0}.post-recommendation .demo-avatar{width:38px;height:38px}.post-recommendation p{margin:3px 0 0;color:var(--text-secondary);font-size:.8rem;line-height:1.45}.post-recommendation a{color:#bd452e}.recommendation-mark{font-size:1.25rem;color:#bd452e}.recommend-trust-note{padding:12px;border-radius:var(--radius-sm);background:var(--surface-secondary);color:var(--text-muted);font-size:.78rem}

/* Mobile-first feed refinement */
.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(23,23,19,.46);backdrop-filter:blur(5px)}.product-modal{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 24px 80px rgba(23,23,19,.2)}.modal-head{display:flex;justify-content:space-between;gap:18px;align-items:start;margin-bottom:18px}.modal-head h2{margin:4px 0 0;font-size:2rem}.modal-close{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:var(--surface-secondary);font-size:1.5rem;cursor:pointer}.modal-field{display:grid;gap:8px;margin:18px 0}.modal-field label{font-size:.78rem;font-weight:800}.modal-field input,.modal-field select{width:100%;min-height:48px;padding:0 13px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-primary)}
@media(max-width:768px){body.product-body{padding-bottom:env(safe-area-inset-bottom)}.product-content{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.product-topbar,.app-topbar{height:54px;padding:0 14px}.product-topbar .demo-avatar{width:36px!important;height:36px!important}.icon-button{width:40px;height:40px}.feed-page{width:100%;padding:14px 0 36px}.feed-page>.product-header{padding:0 16px;margin-bottom:18px}.feed-page>.product-header h1{font-size:2.8rem;line-height:1;margin:7px 0 8px}.feed-page>.product-header .lede{font-size:1rem;line-height:1.45}.feed-main{gap:12px}.post-composer{margin:0 12px;padding:14px;border-radius:16px}.composer-prompt{align-items:center}.composer-prompt textarea{min-height:46px;padding:11px 0;font-size:16px}.post-composer.expanded textarea{min-height:105px}.composer-expanded{gap:14px}.composer-tools{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px}.composer-tools button{min-height:44px;padding:9px;background:var(--surface-secondary);font-size:.76rem}.composer-expanded>.product-button{width:100%;min-height:48px}.feed-filters{margin:0;padding:0 12px 4px;scroll-padding-inline:12px}.feed-filters .filter-chip{min-height:42px;white-space:nowrap}.feed-stream{gap:10px}.post-card{padding:16px 14px;border-radius:0;border-inline:0;box-shadow:none}.post-header{gap:10px}.post-header .demo-avatar{width:44px;height:44px}.post-header>div>b{font-size:.92rem}.post-header span,.post-header small{font-size:.72rem}.post-content{font-size:.96rem}.repost-card{margin-inline:-2px;padding:14px}.post-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.post-actions button{min-height:44px;width:100%;padding:7px 5px;background:var(--surface-secondary);font-size:.75rem;text-align:center}.post-actions button.active{background:var(--brand-red-soft)}.comment{align-items:flex-start}.comment>div{min-width:0}.comment-composer{grid-template-columns:auto minmax(0,1fr);gap:8px}.comment-composer input{min-width:0;font-size:16px}.comment-composer button{grid-column:2;justify-self:end;min-height:40px;padding:0 8px}.post-recommendation{grid-template-columns:auto 1fr;padding:12px}.post-recommendation .recommendation-mark{display:none}.repost-card footer .product-button{width:100%;min-height:44px}.modal-backdrop{align-items:end;padding:0}.product-modal{width:100%;max-height:88dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.modal-head h2{font-size:1.7rem}.product-modal>.product-button{width:100%;min-height:48px}}
@media(max-width:360px){.feed-page>.product-header h1{font-size:2.55rem}.post-composer{margin-inline:9px}.post-card{padding-inline:12px}.post-actions button{font-size:.7rem}}

/* Keep the complete feed action set together at every viewport */
.post-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.post-actions button{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:clip;padding-inline:6px}
@media(max-width:768px){.post-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.post-actions button{min-height:44px;padding-inline:2px;font-size:clamp(.62rem,2.55vw,.75rem);letter-spacing:-.015em}}
@media(max-width:360px){.post-actions{gap:2px}.post-actions button{font-size:.61rem;padding-inline:1px}}

@media(max-width:768px){.post-actions button{font-size:0;letter-spacing:0;overflow:visible}.post-actions button::before{display:inline-block;font-size:1.15rem;line-height:1;vertical-align:middle}.post-actions [data-like]::before{content:'♡'}.post-actions [data-like][aria-pressed="true"]::before{content:'♥'}.post-actions [data-comment]::before{content:'◯'}.post-actions [data-recommend]::before{content:'◎'}.post-actions [data-repost]::before{content:'↗'}.post-actions button span{display:inline-block;margin-left:5px;font-size:.72rem;line-height:1;vertical-align:middle}}

/* Global mobile product experience */
.modal-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.modal-option{min-height:72px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-primary);text-align:left;cursor:pointer}.modal-option:hover,.modal-option.active{border-color:var(--brand-red);background:var(--brand-red-soft)}
@media(max-width:768px){
 .product-body{font-size:15px}.product-page:not(.feed-page){width:100%;padding:18px 20px 34px}.product-header,.page-header{display:block;margin-bottom:24px}.product-header h1,.page-header h1{font-size:clamp(2.45rem,12vw,3.15rem);line-height:1.02;margin:7px 0 9px;overflow-wrap:anywhere}.product-header .lede,.lede{font-size:1rem;line-height:1.5}.eyebrow,.page-eyebrow{font-size:.66rem}.product-actions,.page-actions{display:grid;width:100%;gap:8px;margin-top:16px}.product-actions .product-button,.page-actions .product-button{width:100%}.product-button,.primary-button,.secondary-button{min-height:48px;padding-inline:17px}.product-body input,.product-body select,.product-body textarea{font-size:16px}.toolbar{display:grid;grid-template-columns:1fr;width:100%;gap:9px;margin-bottom:14px}.network-search-wrap,.product-search,.product-select{width:100%;min-width:0}.product-select{min-height:50px}.filter-chips,.product-tabs,.filter-pills{width:100%;max-width:100%;margin-inline:0;padding-inline:0;padding-bottom:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.filter-chip,.product-tab{min-height:42px;flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}.cards-grid,.event-grid,.match-list{gap:10px}.product-card,.app-card,.detail-panel,.mutual-box{padding:18px;border-radius:16px;box-shadow:none}.profile-card{min-height:0}.profile-card .demo-avatar{width:56px;height:56px;margin-bottom:13px}.profile-card .product-button{margin-top:8px}.card-tags{margin:11px 0}.event-card{min-height:0}.event-card h3{font-size:1.7rem;margin:22px 0 5px}.event-meta-row{align-items:flex-start;flex-direction:column;gap:5px;padding:14px 0}.event-match-count{width:100%;margin-bottom:12px}.match-card-product,.match-card{grid-template-columns:auto minmax(0,1fr);gap:12px}.match-card-product .demo-avatar{width:52px;height:52px}.match-card-product h3{font-size:1.15rem}.match-score{grid-column:2;justify-self:start;font-size:.75rem}.match-reasons{grid-column:1/-1;gap:7px}.match-reason{padding:12px}.match-actions{grid-column:1/-1;display:grid;gap:9px}.match-actions .product-button{width:100%}.intro-rule-banner{grid-template-columns:1fr;gap:8px;padding:20px;margin-bottom:20px;border-radius:16px}.intro-rule-banner h2{font-size:2.25rem}.intro-rule-banner p{font-size:1rem}.intro-card,.introduction-card{grid-template-columns:1fr}.intro-card .product-actions{grid-template-columns:1fr 1fr}.relationship-hero{grid-template-columns:1fr;gap:15px;padding:24px 18px;text-align:center;border-radius:16px}.relationship-hero .demo-avatar{width:88px;height:88px;margin:auto}.relationship-hero h1{font-size:2.75rem}.relationship-hero .product-button{width:100%}.relationship-grid{gap:10px;margin-top:10px}.detail-panel h2{font-size:1.65rem}.support-grid{gap:9px}.support-box{padding:16px}.fact{grid-template-columns:1fr;gap:3px;padding:12px 0}.event-hero{grid-template-columns:1fr;gap:18px;padding:22px 18px;border-radius:16px}.event-hero h1{font-size:clamp(2.65rem,14vw,3.5rem);line-height:1;margin:13px 0}.event-hero-meta{display:grid;gap:7px}.event-side{padding:18px}.event-side .product-button{width:100%}.match-detail-head{padding:18px 0 24px}.match-detail-head .demo-avatar{width:88px;height:88px}.match-detail-head h1{font-size:clamp(2.5rem,13vw,3.35rem);line-height:1.03;margin:17px 0}.mutual-box{margin-top:10px}.mutual-box ul{display:grid;gap:7px}.mutual-box li{padding:10px 12px}.second-banner{padding:28px 16px;border-radius:16px}.second-banner .demo-avatar{width:88px;height:88px}.second-banner h1{font-size:3rem}.second-banner h2{font-size:1.6rem}.connection-path{margin:28px -4px}.connection-path .demo-avatar{width:46px;height:46px}.second-banner>.product-button{width:100%}.empty-state{padding:32px 18px}.modal-options{grid-template-columns:1fr}.modal-option{min-height:64px}
}
@media(max-width:390px){.product-page:not(.feed-page){width:calc(100% - 18px)}.product-card,.app-card,.detail-panel,.mutual-box{padding:16px}.intro-card .product-actions{grid-template-columns:1fr}.product-header h1,.page-header h1{font-size:2.45rem}}

/* Messaging and direct-connection entry points */
.profile-card-actions{display:grid;grid-template-columns:1fr 46px;gap:7px;margin-top:auto}.profile-card-actions .product-button{margin:0}.network-message-action,.post-member-message{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text-primary)}.network-message-action:hover,.post-member-message:hover{border-color:var(--brand-red);color:var(--brand-red);background:var(--brand-red-soft)}.network-message-action svg,.post-member-message svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.post-header{position:relative}.post-member-message{position:absolute;top:38px;right:0;width:38px;height:38px}
.messages-page{width:min(1180px,calc(100% - 72px));height:100dvh;padding:72px 0 26px}.messages-page-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}.messages-page-header h1{font-size:clamp(2.55rem,4vw,3.45rem);line-height:1;margin:5px 0 7px}.messages-page-header .lede{margin:0;font-size:1rem}.messages-layout{height:calc(100% - 112px);min-height:540px;display:grid;grid-template-columns:350px minmax(0,1fr);overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.conversation-list{min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);border-right:1px solid var(--border);background:#fcfaf6}.conversation-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 18px 12px}.conversation-list-head h2{font-size:1.35rem;margin:3px 0 0}.conversation-list-head .product-button{min-height:40px;padding:0 13px;font-size:.74rem}.conversation-search{position:relative;display:flex;align-items:center;margin:0 14px 12px}.conversation-search>span{position:absolute;left:14px;color:var(--text-muted)}.conversation-search input{width:100%;height:44px;padding:0 13px 0 39px;border:1px solid var(--border);border-radius:12px;background:var(--surface);outline:none}.conversation-search input:focus{border-color:var(--brand-red);box-shadow:0 0 0 3px rgba(255,104,70,.12)}.conversation-rows{min-height:0;overflow-y:auto}.conversation-row{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 16px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text-primary);text-align:left;cursor:pointer}.conversation-row:hover{background:var(--surface-secondary)}.conversation-row.active{background:var(--brand-red-soft)}.conversation-row.unread .conversation-row-copy>b{font-weight:800}.conversation-row .demo-avatar{width:45px;height:45px}.conversation-row-copy{min-width:0;display:grid;gap:3px}.conversation-row-copy>b,.conversation-row-copy>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-row-copy>b{font-size:.88rem}.conversation-row-copy>span{color:var(--text-muted);font-size:.75rem}.conversation-row-meta{align-self:stretch;display:flex;flex-direction:column;align-items:end;justify-content:space-between;color:var(--text-muted);font-size:.66rem}.unread-badge{min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:20px;background:var(--brand-red);color:white;font-style:normal;font-weight:800}.conversation-panel{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--surface)}.conversation-panel.no-selection{display:grid;place-items:center}.conversation-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:15px 18px;border-bottom:1px solid var(--border)}.conversation-header .demo-avatar{width:46px;height:46px}.conversation-person{min-width:0;display:grid}.conversation-person>b{font-size:.92rem}.conversation-person>span,.conversation-person>small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--text-muted);font-size:.72rem}.conversation-person>small{margin-top:2px;color:#bd452e}.conversation-profile{padding:8px 10px;border-radius:100px;color:var(--text-secondary);font-size:.73rem;font-weight:700}.conversation-profile:hover{background:var(--surface-secondary)}.conversation-more,.message-back,.attach-button{min-width:42px;height:42px;border:0;border-radius:50%;background:transparent;color:var(--text-primary);cursor:pointer}.conversation-more:hover,.message-back:hover,.attach-button:hover{background:var(--surface-secondary)}.message-back{display:none}.message-thread{min-height:0;overflow-y:auto;padding:22px 24px;overscroll-behavior:contain}.message-line{display:flex;margin:8px 0}.message-line.outgoing{justify-content:flex-end}.message-bubble{max-width:min(72%,560px);padding:11px 13px 7px;border:1px solid var(--border);border-radius:17px 17px 17px 5px;background:var(--surface-secondary);overflow-wrap:anywhere}.message-line.outgoing .message-bubble{border-color:#f4cec5;border-radius:17px 17px 5px 17px;background:var(--brand-red-soft)}.message-bubble p{margin:0;line-height:1.5;font-size:.88rem}.message-bubble time{display:block;margin-top:4px;color:var(--text-muted);font-size:.62rem;text-align:right}.message-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:end;padding:12px 16px;border-top:1px solid var(--border);background:var(--surface)}.message-composer textarea{width:100%;min-height:44px;max-height:130px;padding:11px 13px;border:1px solid var(--border);border-radius:14px;background:#fcfaf6;resize:none;outline:none}.message-composer textarea:focus{border-color:var(--brand-red);box-shadow:0 0 0 3px rgba(255,104,70,.12)}.send-button{min-height:44px;padding:0 17px;border:0;border-radius:100px;background:var(--brand-red);color:white;font-weight:800;cursor:pointer}.message-empty{max-width:390px;padding:32px;text-align:center;color:var(--text-secondary)}.message-empty h2,.message-empty h3{margin-bottom:7px;color:var(--text-primary)}.message-empty.compact{padding:18px}.new-message-results{max-height:48dvh;overflow:auto;margin:14px 0}.new-message-results button{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 4px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text-primary);text-align:left;cursor:pointer}.new-message-results button:hover{background:var(--surface-secondary)}.new-message-results .demo-avatar{width:44px;height:44px}.new-message-results button>span:nth-child(2){display:grid}.new-message-results small{color:var(--text-muted)}.trust-rule{margin:14px 0 0;padding:12px;border-radius:12px;background:var(--brand-red-soft);color:#94432f;font-size:.76rem}
@media(max-width:768px){.messages-page{width:100%;height:calc(100dvh - 54px - 68px - env(safe-area-inset-bottom));padding:14px 0 0}.messages-page-header{align-items:start;padding:0 14px;margin-bottom:14px}.messages-page-header h1{font-size:2.55rem}.messages-page-header .lede{font-size:.9rem}.messages-page-header>.product-button{width:46px;min-height:46px;padding:0;font-size:0}.messages-page-header>.product-button::first-letter{font-size:1.2rem}.messages-layout{height:calc(100% - 88px);min-height:0;display:block;border-inline:0;border-radius:0;box-shadow:none}.conversation-list{height:100%;border-right:0}.conversation-list-head{padding:14px 14px 10px}.conversation-list-head .product-button span{display:none}.conversation-list-head .product-button{width:42px;padding:0;font-size:1rem}.conversation-row{min-height:70px;padding:12px 14px}.conversation-panel{display:none;height:100%;grid-template-rows:auto minmax(0,1fr) auto}.messages-layout.conversation-open{height:100%;margin-top:-102px}.messages-layout.conversation-open .conversation-list{display:none}.messages-layout.conversation-open .conversation-panel{display:grid}.messages-layout.conversation-open~*{display:none}.conversation-header{grid-template-columns:auto auto minmax(0,1fr) auto;padding:8px 10px}.message-back{display:inline-flex;align-items:center;gap:4px;width:auto;padding:0 8px}.message-back span{display:none}.conversation-header .demo-avatar{width:40px;height:40px}.conversation-person>span{display:none}.conversation-profile{display:none}.conversation-more{grid-column:4}.message-thread{padding:15px 12px 20px}.message-bubble{max-width:86%;padding:10px 12px 6px}.message-bubble p{font-size:.86rem}.message-composer{position:sticky;bottom:0;padding:9px 10px calc(9px + env(safe-area-inset-bottom));gap:6px}.message-composer textarea{font-size:16px}.send-button{padding-inline:14px}.new-message-modal{height:min(82dvh,680px);display:flex;flex-direction:column}.new-message-results{max-height:none;flex:1}.post-type-badge{margin-right:42px}}
@media(max-width:390px){.messages-page-header h1{font-size:2.35rem}.conversation-row{padding-inline:10px}.conversation-row .demo-avatar{width:42px;height:42px}.message-composer{grid-template-columns:38px minmax(0,1fr) auto}.attach-button{min-width:38px;width:38px}.send-button{padding-inline:12px;font-size:.76rem}.network-message-action{width:46px}.profile-card-actions{grid-template-columns:minmax(0,1fr) 46px}}
@media(max-width:768px){.messages-page:has(.messages-layout.conversation-open){padding-top:0}.messages-page:has(.messages-layout.conversation-open) .messages-page-header{display:none}.messages-layout.conversation-open{height:100%;margin-top:0}}

/* Event discovery search and filters */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.events-discovery-page>.product-header{margin-bottom:24px}.event-discovery-controls{display:grid;grid-template-columns:minmax(280px,1fr) 220px 120px;gap:10px;align-items:end;margin-bottom:12px}.event-global-search,.event-city-control{position:relative;display:grid;gap:6px}.event-global-search>span[aria-hidden]{position:absolute;left:16px;top:50%;transform:translateY(-50%);z-index:1;color:var(--text-muted);font-size:1.1rem}.event-global-search input,.event-city-control input{width:100%;height:52px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text-primary);outline:none}.event-global-search input{padding:0 16px 0 44px}.event-city-control>span{font-size:.7rem;font-weight:800}.event-city-control input{padding:0 14px}.event-global-search input:focus,.event-city-control input:focus,.event-filter-grid select:focus,.event-results-bar select:focus{border-color:var(--brand-red);box-shadow:0 0 0 4px rgba(255,104,70,.12)}.event-filters-button{height:52px;padding:0 14px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text-primary);font-weight:800;cursor:pointer}.event-filters-button:hover,.event-filters-button[aria-expanded="true"]{background:var(--brand-red-soft);border-color:#f5cfc6}.event-filters-button b{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:3px;border-radius:20px;background:var(--brand-red);color:white;font-size:.65rem}.event-filter-panel{display:none;margin-bottom:14px;padding:20px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm)}.event-filter-panel.open{display:block}.event-filter-panel-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:14px}.event-filter-panel-head h2{font-size:1.5rem;margin:3px 0}.event-filter-panel-head .modal-close{display:none}.event-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.event-filter-grid label{display:grid;gap:6px;font-size:.72rem;font-weight:800}.event-filter-grid select,.event-results-bar select{width:100%;height:46px;padding:0 34px 0 11px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text-primary);outline:none}.event-filter-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.event-filter-actions .product-button{min-height:42px}.event-quick-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:12px;scrollbar-width:none}.event-quick-filters button,.active-event-filters button,.popular-cities button{min-height:38px;padding:0 13px;border:1px solid var(--border);border-radius:100px;background:var(--surface);color:var(--text-secondary);font-weight:700;font-size:.76rem;white-space:nowrap;cursor:pointer}.event-quick-filters button:hover,.event-quick-filters button.active,.popular-cities button:hover{border-color:var(--brand-dark);background:var(--brand-dark);color:white}.event-status-tabs{margin:5px 0 18px}.popular-cities{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.popular-cities h2{font-size:1.15rem;margin:3px 0}.popular-cities>div:last-child{display:flex;gap:6px;overflow-x:auto}.popular-cities button{min-height:34px}.active-event-filters{display:flex;gap:7px;align-items:center;overflow-x:auto;margin-bottom:10px;scrollbar-width:none}.active-event-filters button{min-height:34px;background:var(--brand-red-soft);border-color:#f5cfc6;color:#94432f}.active-event-filters .clear-event-filters{border:0;background:transparent;color:var(--text-muted);text-decoration:underline}.event-results-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 14px}.event-results-bar>b{font-size:.88rem}.event-results-bar label{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:.72rem;font-weight:800}.event-results-bar select{width:160px;height:42px}.discovery-event-card .event-place{display:flex;align-items:center;gap:4px;margin-top:2px;font-weight:800;font-size:1.05rem}.event-classification{display:flex;flex-wrap:wrap;gap:5px;margin-top:13px}.event-classification span{padding:6px 8px;border-radius:30px;background:var(--surface-secondary);color:var(--text-secondary);font-size:.65rem;font-weight:700}.empty-event-actions{display:flex;justify-content:center;gap:8px;margin-top:20px}
@media(max-width:768px){.events-discovery-page{width:100%;padding-inline:12px}.events-discovery-page>.product-header{margin-bottom:18px}.event-discovery-controls{grid-template-columns:1fr 1fr;gap:8px}.event-global-search{grid-column:1/-1}.event-global-search input{height:50px;font-size:16px}.event-city-control>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.event-city-control input,.event-filters-button{height:46px}.event-filter-panel{position:fixed;inset:0;z-index:110;margin:0;padding:18px 14px calc(18px + env(safe-area-inset-bottom));border:0;border-radius:0;background:rgba(23,23,19,.4);box-shadow:none}.event-filter-panel.open{display:flex;align-items:end}.event-filter-panel.open::before{content:'';position:absolute;inset:0}.event-filter-panel-head,.event-filter-grid,.event-filter-actions{position:relative;z-index:1}.event-filter-panel{flex-direction:column;justify-content:flex-end}.event-filter-panel-head{width:100%;margin:0;padding:18px 18px 10px;border-radius:22px 22px 0 0;background:var(--surface)}.event-filter-panel-head .modal-close{display:block}.event-filter-grid{width:100%;grid-template-columns:1fr 1fr;padding:8px 18px 16px;background:var(--surface)}.event-filter-grid select{font-size:16px}.event-filter-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;margin:0;padding:0 18px 18px;background:var(--surface)}.event-quick-filters{margin-inline:0;padding-inline:0}.event-status-tabs{margin-inline:0}.popular-cities{display:block;margin-inline:0;padding:14px}.popular-cities>div:last-child{margin-top:10px}.active-event-filters{margin-inline:0;padding-inline:0}.event-results-bar{align-items:end}.event-results-bar label{display:grid;gap:4px}.event-results-bar select{width:132px}.discovery-event-card{padding:18px}.empty-event-actions{display:grid}.empty-event-actions .product-button{width:100%}}
@media(max-width:430px){.event-filter-grid{grid-template-columns:1fr}.popular-cities{border-radius:14px}.event-results-bar>b{max-width:55%}.event-results-bar select{width:126px}.discovery-event-card .event-place{font-size:1rem}}

/* Phase 2A real-world connection system */
.desktop-connect-action{width:100%;min-height:44px;margin:16px 0 0;padding:0 14px;border:1px solid var(--brand-red);border-radius:100px;background:var(--brand-red);color:white;font-weight:800;cursor:pointer}.mobile-connect-action{display:none}.connect-modal{width:min(580px,100%)}.connect-methods{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.connect-methods>button,.connect-methods>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:78px;padding:13px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text-primary);text-align:left;cursor:pointer}.connect-methods>button:hover,.connect-methods>a:hover{border-color:var(--brand-red);background:var(--brand-red-soft)}.connect-methods>button>span,.connect-methods>a>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--surface-secondary);font-size:1.2rem}.connect-methods div{display:grid;gap:2px}.connect-methods small{color:var(--text-muted);font-size:.72rem}.connect-methods i{font-style:normal}.scan-stage{text-align:center;padding:12px 0 24px}.scan-corners{width:min(280px,80vw);aspect-ratio:1;margin:10px auto 20px;display:grid;place-items:center;border:3px solid var(--brand-red);border-radius:24px;background:linear-gradient(135deg,var(--surface-secondary),white)}.scan-corners span{font-size:6rem}.scan-stage p{max-width:440px;margin:10px auto 20px;color:var(--text-muted)}.connection-preview{text-align:center}.connection-preview>.demo-avatar{width:86px;height:86px;margin:0 auto 10px}.connection-preview h2{margin:0;font-size:2rem}.connection-preview p{color:var(--text-muted)}.connection-preview-support{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0;text-align:left}.connection-preview-support section{display:flex;flex-wrap:wrap;gap:5px;padding:14px;border-radius:14px;background:var(--surface-secondary)}.connection-preview-support b{width:100%;margin-bottom:5px}.connection-preview-support span{padding:5px 7px;border-radius:30px;background:var(--surface);font-size:.68rem}.preview-modal>.product-button{width:100%;margin-top:8px}.connect-field{display:grid;gap:7px;margin:14px 0;font-size:.76rem;font-weight:800}.connect-field input,.connect-field select{width:100%;min-height:48px;padding:0 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text-primary)}.connect-field-grid{display:grid;grid-template-columns:1fr 170px;gap:9px}.attendee-results{max-height:350px;overflow:auto;margin-top:14px}.attendee-results button{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 4px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text-primary);text-align:left;cursor:pointer}.attendee-results button:hover{background:var(--surface-secondary)}.attendee-results .demo-avatar{width:44px;height:44px}.attendee-results button>span{display:grid}.attendee-results small{color:var(--text-muted)}.attendee-results em{font-size:.7rem;font-style:normal;color:#bd452e}.meet-options{display:grid;gap:7px;margin:15px 0}.meet-options label{cursor:pointer}.meet-options input{position:absolute;opacity:0}.meet-options label>span{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--border);border-radius:12px}.meet-options input:checked+span{border-color:var(--brand-red);background:var(--brand-red-soft)}.meet-options small{color:var(--text-muted)}.connection-success{text-align:center;padding:12px 0 22px}.connection-success>span:first-child{width:70px;height:70px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#e5f4d7;color:var(--success);font-size:2rem}.connection-success h2{margin:16px 0 6px}.connected-pair{display:flex;align-items:center;justify-content:center;gap:18px}.connected-pair .demo-avatar{width:72px;height:72px}.connected-pair i{font-size:1.5rem;color:var(--brand-red)}.connect-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.connection-requests-panel{margin:0 0 20px;padding:18px;border:1px solid #f5d7d0;border-radius:var(--radius-md);background:var(--brand-red-soft)}.connection-request-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.connection-request-heading h2{font-size:1.25rem;margin:3px 0}.connection-request-heading>button{border:0;background:transparent;color:#94432f;font-weight:800;cursor:pointer}.connection-request-list{display:grid;gap:7px;margin-top:12px}.connection-request-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid rgba(189,69,46,.14);border-radius:13px;background:rgba(255,255,255,.55)}.connection-request-row .demo-avatar{width:45px;height:45px}.connection-request-row>div:nth-child(2){display:grid}.connection-request-row span,.connection-request-row small{color:var(--text-muted);font-size:.72rem}.connection-request-row>div:last-child{display:flex;gap:6px}.connection-request-row .product-button{min-height:38px;padding-inline:13px;font-size:.72rem}.incoming-review{text-align:center}.incoming-review>.demo-avatar{width:82px;height:82px;margin:auto}.incoming-review h2{margin:10px 0 2px}.incoming-review>p{color:var(--text-muted)}.incoming-review dl{margin:18px 0;text-align:left}.incoming-review dl>div{display:grid;grid-template-columns:120px 1fr;padding:10px 0;border-top:1px solid var(--border)}.incoming-review dt{color:var(--text-muted);font-size:.72rem}.incoming-review dd{margin:0;font-weight:800}.event-connection-section{display:grid;grid-template-columns:.7fr 1.3fr;gap:24px;margin:18px 0 50px;padding:24px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.event-connection-section h2{font-size:1.8rem;margin:5px 0}.event-attendee-connect{display:grid;gap:7px}.event-attendee-connect article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--border)}.event-attendee-connect .demo-avatar{width:42px;height:42px}.event-attendee-connect article>span{display:grid}.event-attendee-connect small{color:var(--text-muted)}.event-attendee-connect .product-button{min-height:38px;padding-inline:12px;font-size:.7rem}
.my-code-page{max-width:720px;text-align:center}.my-code-page>header h1{font-size:clamp(3rem,6vw,5rem);margin:7px 0}.my-code-page>header .lede{margin-inline:auto}.mattr-code-card{width:min(430px,100%);margin:30px auto 18px;padding:28px;border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:var(--shadow-md)}.code-logo{display:block;text-align:left;font:700 1.7rem Manrope,sans-serif;letter-spacing:-.07em}.mattr-code-card>.demo-avatar{width:76px;height:76px;margin:12px auto}.mattr-code-card h2{margin:5px 0 2px;font-size:1.65rem}.mattr-code-card p{margin:0;color:var(--text-muted)}.mattr-code-card>div>b{display:block;margin-top:4px;color:#bd452e}.qr-code{width:min(310px,100%);margin:20px auto 12px}.qr-code svg{display:block;width:100%;height:auto}.mattr-code-card>strong,.mattr-code-card>small{display:block}.mattr-code-card>small{margin-top:5px;color:var(--text-muted);font-size:.68rem}.code-actions{display:flex;justify-content:center;gap:8px}.code-status{min-height:22px;color:var(--text-muted);font-size:.76rem}.code-close{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--surface);color:var(--text-primary);font-size:1.5rem}
@media(max-width:768px){.desktop-connect-action{display:none}.mobile-connect-action{position:fixed;right:14px;bottom:calc(79px + env(safe-area-inset-bottom));z-index:60;width:56px;height:56px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--brand-red);color:white;box-shadow:0 10px 28px rgba(189,69,46,.28);font-size:1.7rem;cursor:pointer}.connect-modal{max-height:92dvh}.connect-methods{grid-template-columns:1fr}.connect-methods>button,.connect-methods>a{min-height:68px}.connection-preview-support{grid-template-columns:1fr}.connect-field-grid{grid-template-columns:1fr}.connect-success-actions{grid-template-columns:1fr}.connection-requests-panel{padding:14px;margin-inline:0}.connection-request-row{grid-template-columns:auto minmax(0,1fr)}.connection-request-row>div:last-child,.connection-request-row>.second-label{grid-column:1/-1}.connection-request-row>div:last-child{display:grid;grid-template-columns:1fr 1fr}.event-connection-section{grid-template-columns:1fr;padding:18px;margin-bottom:30px}.event-attendee-connect article{grid-template-columns:auto minmax(0,1fr)}.event-attendee-connect .product-button{grid-column:1/-1;width:100%}.my-code-page{width:100%;padding:15px 12px calc(90px + env(safe-area-inset-bottom))}.my-code-page>header h1{font-size:2.8rem}.my-code-page>header .lede{font-size:.95rem}.mattr-code-card{margin:20px auto 14px;padding:20px 18px;border-radius:22px}.qr-code{width:min(300px,82vw)}.code-actions{display:grid;grid-template-columns:1fr 1fr}.code-actions .product-button{width:100%}.my-code-page~* .mobile-connect-action{display:none}}
@media(max-width:390px){.mobile-connect-action{right:10px;width:52px;height:52px}.connect-modal{padding-inline:14px}.mattr-code-card{padding-inline:14px}.qr-code{width:min(286px,84vw)}.connection-request-heading h2{font-size:1.1rem}.incoming-review dl>div{grid-template-columns:1fr;gap:3px}}
.public-profile-notice{margin-top:12px;padding:22px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);text-align:center}.public-profile-notice h2{margin:0 0 5px}.public-profile-notice p{margin:0;color:var(--text-muted)}

/* Phase 2B shared member and relationship profiles */
.product-topbar .demo-avatar{width:42px;height:42px}
.member-profile-page{max-width:1160px}.member-profile-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;padding:24px 0 34px;border-bottom:1px solid var(--border)}.member-profile-header>.demo-avatar{width:132px;height:132px}.member-identity{min-width:0}.profile-status{display:inline-flex;margin-bottom:7px;color:var(--text-muted);font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.profile-status.direct{color:var(--success)}.profile-status.second,.profile-status.pending,.profile-status.event-match{color:#bd452e}.member-identity h1{font-size:clamp(3.2rem,6vw,5.6rem);line-height:.95;margin:4px 0 8px}.profile-headline,.profile-location{margin:3px 0;color:var(--text-secondary);font-weight:700}.profile-location{color:var(--text-muted);font-size:.84rem}.profile-bio{max-width:680px;margin:14px 0 0;font-size:1.02rem;line-height:1.6}.member-profile-actions{min-width:190px;display:grid;gap:8px}.member-profile-actions .product-button{width:100%}.profile-action-note{max-width:220px;color:var(--text-muted);font-size:.72rem;text-align:center}.profile-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.profile-section{padding:28px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.profile-section h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:5px 0 16px}.profile-section>p{color:var(--text-secondary);line-height:1.65}.support-offer{border-top:4px solid var(--brand-dark)}.support-need{border-top:4px solid var(--brand-red)}.profile-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.profile-tags span{padding:7px 10px;border-radius:30px;background:var(--surface-secondary);font-size:.7rem;font-weight:800}.support-need .profile-tags span{background:var(--brand-red-soft);color:#94432f}.profile-focus{margin-top:14px;padding-block:34px;background:linear-gradient(115deg,var(--brand-red-soft),var(--surface) 66%)}.profile-focus p{max-width:850px;margin-bottom:0;font-size:1.2rem;color:var(--text-primary)}.profile-main-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:14px;margin-top:14px}.profile-about dl,.relationship-private dl{margin:0}.profile-about dl>div,.relationship-private dl>div{display:grid;grid-template-columns:130px 1fr;gap:10px;padding:11px 0;border-top:1px solid var(--border)}.profile-about dt,.relationship-private dt{color:var(--text-muted);font-size:.72rem}.profile-about dd,.relationship-private dd{margin:0;font-weight:800}.relationship-private dd small{display:block;margin-top:3px;color:var(--text-muted);font-weight:400}.private-label{display:inline-flex;padding:5px 8px;border-radius:30px;background:var(--brand-dark);color:white;font-size:.65rem;font-weight:800}.private-notes{display:grid;gap:7px;margin-top:18px;font-size:.75rem;font-weight:800}.private-notes textarea{min-height:105px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#fcfaf6;resize:vertical}.profile-completion .completion-track{height:8px;border-radius:20px;background:var(--surface-secondary);overflow:hidden}.profile-completion .completion-track span{display:block;height:100%;border-radius:inherit;background:var(--brand-red)}.profile-interests,.mutual-connections,.profile-common-events,.profile-activity,.profile-match-context{margin-top:14px}.profile-interests .profile-tags span{font-size:.78rem}.mutual-connections{display:grid;grid-template-columns:minmax(190px,.55fr) 1fr;gap:22px;align-items:center}.mutual-profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mutual-profile-list>a,.mutual-modal-list>a{display:flex;align-items:center;gap:9px;padding:9px;border-radius:12px;background:var(--surface-secondary);color:var(--text-primary)}.mutual-profile-list .demo-avatar,.mutual-modal-list .demo-avatar{width:38px;height:38px}.mutual-profile-list a>span,.mutual-modal-list a>span{min-width:0;display:grid}.mutual-profile-list small,.mutual-modal-list small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--text-muted);font-size:.68rem}.mutual-connections>.product-button{grid-column:2;justify-self:start}.profile-common-events>div{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.profile-common-events a{display:grid;gap:3px;padding:14px;border-radius:13px;background:var(--surface-secondary);color:var(--text-primary)}.profile-common-events a span{color:var(--text-muted);font-size:.74rem}.profile-activity>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.profile-activity article{padding:15px;border-radius:13px;background:var(--surface-secondary)}.profile-activity article small{color:#bd452e;font-weight:800}.profile-activity article p{margin:8px 0 0;line-height:1.5}.profile-match-context{position:relative;overflow:hidden;background:var(--brand-red-soft);border-color:#f5d7d0}.profile-match-context>b{position:absolute;top:26px;right:26px;padding:8px 11px;border-radius:30px;background:var(--surface);color:#bd452e}.profile-match-context>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-match-context article{padding:16px;border-radius:13px;background:rgba(255,255,255,.6)}.profile-match-context article h3{margin-top:0}.introduction-profile-cta{padding:28px;border:1px solid #f5d7d0;border-radius:var(--radius-lg);background:var(--brand-red-soft)}.introduction-profile-cta h2{font-size:2rem;margin:5px 0}.introduction-profile-cta label{display:grid;gap:6px;margin:18px 0;font-size:.75rem;font-weight:800}.introduction-profile-cta select{height:48px;padding:0 12px;border:1px solid #f0c5bb;border-radius:12px;background:var(--surface)}.profile-access-note{display:flex;flex-direction:column;justify-content:center}.mutual-modal-list{display:grid;gap:7px}
.edit-profile-page{max-width:920px}.edit-profile-page>header{padding-bottom:25px}.edit-profile-page>header h1{font-size:clamp(3rem,6vw,5rem);margin:5px 0}.edit-profile-section{margin-bottom:12px;padding:26px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.edit-profile-section h2{font-size:1.7rem;margin-top:0}.photo-editor{display:flex;align-items:center;gap:18px;margin-bottom:22px}.photo-editor>.demo-avatar{width:92px;height:92px}.photo-editor>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.photo-editor small{width:100%;color:var(--text-muted)}.edit-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.edit-field-grid label,.edit-profile-section>label{display:grid;gap:6px;font-size:.74rem;font-weight:800}.edit-field-grid .full{grid-column:1/-1}.edit-profile-section input:not([type="checkbox"]),.edit-profile-section textarea{width:100%;min-height:48px;padding:11px 12px;border:1px solid var(--border);border-radius:12px;background:#fcfaf6}.edit-profile-section textarea{min-height:100px;resize:vertical}.edit-tag-grid{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.edit-tag-grid label{cursor:pointer}.edit-tag-grid input{position:absolute;opacity:0}.edit-tag-grid span{display:block;padding:8px 11px;border:1px solid var(--border);border-radius:30px;font-size:.72rem}.edit-tag-grid input:checked+span{border-color:var(--brand-red);background:var(--brand-red-soft);color:#94432f}.edit-profile-actions{position:sticky;bottom:12px;z-index:10;display:flex;justify-content:flex-end;gap:8px;padding:12px;border:1px solid var(--border);border-radius:18px;background:rgba(255,253,248,.94);backdrop-filter:blur(14px)}
@media(max-width:768px){.member-profile-page{width:100%;padding:12px 12px calc(90px + env(safe-area-inset-bottom))}.member-profile-header{grid-template-columns:1fr;padding:14px 4px 24px;text-align:center}.member-profile-header>.demo-avatar{width:112px;height:112px;margin:auto}.member-identity h1{font-size:clamp(2.8rem,14vw,3.8rem)}.profile-bio{font-size:.95rem}.member-profile-actions{width:100%;grid-template-columns:1fr 1fr}.member-profile-actions>:only-child{grid-column:1/-1}.profile-action-note{grid-column:1/-1;max-width:none}.profile-support-grid,.profile-main-grid{grid-template-columns:1fr;gap:9px;margin-top:10px}.profile-section{padding:20px 17px;border-radius:17px;box-shadow:none}.profile-section h2{font-size:1.7rem}.profile-focus{margin-top:9px}.profile-focus p{font-size:1.05rem}.profile-about dl>div,.relationship-private dl>div{grid-template-columns:100px 1fr}.mutual-connections{display:block}.mutual-profile-list{grid-template-columns:1fr;margin:14px 0}.mutual-connections>.product-button{width:100%}.profile-common-events>div,.profile-activity>div,.profile-match-context>div{grid-template-columns:1fr}.profile-match-context>b{position:static;display:inline-flex;margin-bottom:12px}.introduction-profile-cta{padding:20px 17px;border-radius:17px}.edit-profile-page{width:100%;padding:16px 12px calc(95px + env(safe-area-inset-bottom))}.edit-profile-page>header h1{font-size:2.8rem}.edit-profile-section{padding:20px 15px;border-radius:17px}.edit-field-grid{grid-template-columns:1fr}.edit-field-grid .full{grid-column:auto}.photo-editor{align-items:flex-start}.edit-profile-actions{bottom:calc(76px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr}.edit-profile-actions .product-button{width:100%}}
@media(max-width:390px){.member-profile-page{padding-inline:9px}.member-profile-actions{grid-template-columns:1fr}.member-profile-actions>*{grid-column:1!important}.profile-section{padding-inline:15px}.profile-about dl>div,.relationship-private dl>div{grid-template-columns:1fr;gap:3px}.photo-editor{display:grid;justify-items:center;text-align:center}.photo-editor>div{justify-content:center}}

/* Phase 2C unified notifications and private activity */
.notifications-page{max-width:980px}.notifications-page-header{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:24px}.notifications-page-header h1{font-size:clamp(3rem,6vw,5rem);line-height:.96;margin:5px 0 7px}.notifications-page-header p{margin:0;color:var(--text-secondary)}.notification-filter,.notification-filters{display:flex;gap:7px;overflow-x:auto;padding:2px 0 15px;scrollbar-width:none}.notification-filter::-webkit-scrollbar,.notification-filters::-webkit-scrollbar{display:none}.notification-filter button,.notification-filters button{flex:0 0 auto;min-height:40px;padding:0 14px;border:1px solid var(--border);border-radius:30px;background:var(--surface);color:var(--text-secondary);font-size:.72rem;font-weight:800;cursor:pointer}.notification-filter button.active,.notification-filter button[aria-pressed="true"],.notification-filters button.active,.notification-filters button[aria-pressed="true"]{border-color:var(--brand-dark);background:var(--brand-dark);color:#fff}.notifications-card{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}
.activity-timeline{position:relative;display:block!important}.activity-timeline>ol{position:relative;margin:12px 0 0;padding:0;list-style:none}.activity-timeline>ol::before{content:"";position:absolute;top:14px;bottom:14px;left:5px;width:1px;background:var(--border)}.activity-timeline li{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;margin-left:22px;padding:11px 0}.activity-timeline li::before{content:"";position:absolute;top:17px;left:-22px;width:11px;height:11px;border:3px solid var(--surface);border-radius:50%;background:var(--brand-red);box-shadow:0 0 0 1px var(--border)}.activity-timeline time{color:var(--text-muted);font-size:.7rem;font-weight:800}.activity-timeline li div{display:grid;gap:3px}.activity-timeline li span{color:var(--text-muted);font-size:.74rem}
.notification-preferences>p{color:var(--text-muted)}.notification-preferences fieldset{margin:0;padding:12px 0;border:0;border-top:1px solid var(--border)}.notification-preferences legend{padding:0 0 5px;color:var(--text-muted);font-size:.68rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.notification-preferences label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;min-height:44px;font-size:.82rem;font-weight:700}.notification-preferences input{width:42px;height:23px;accent-color:var(--brand-red);cursor:pointer}.notification-preferences .product-button{margin-top:12px}.notification-inactive{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:.68rem;font-weight:800}.notification-inactive::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--border)}
.toast-region{position:fixed;z-index:200;right:18px;bottom:18px;width:min(370px,calc(100vw - 28px));display:grid;gap:8px;pointer-events:none}.toast{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 15px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:var(--brand-dark);box-shadow:0 14px 40px rgba(25,21,18,.22);color:#fff;animation:notification-toast-in .2s ease-out}.toast button{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;pointer-events:auto}.notification-target{animation:notification-target 2.4s ease-out}@keyframes notification-toast-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes notification-target{0%,45%{box-shadow:0 0 0 4px rgba(255,104,70,.25)}100%{box-shadow:none}}

/* Phase 2D network intelligence */
.intelligence-section{margin:0 0 24px;padding:24px;border:1px solid #f1d8d2;border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(255,104,70,.075),rgba(255,253,248,.95) 48%)}.intelligence-section>header{display:flex;justify-content:space-between;gap:20px;margin-bottom:16px}.intelligence-section>header h2{font-size:clamp(1.65rem,3vw,2.25rem);margin:4px 0 5px}.intelligence-section>header p{margin:0;color:var(--text-muted);font-size:.84rem}.intelligence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:10px}.intelligence-card{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.intelligence-people{display:flex;align-items:flex-start}.intelligence-people .demo-avatar{width:44px;height:44px}.intelligence-people .demo-avatar+.demo-avatar{margin-left:-12px}.intelligence-copy{min-width:0}.intelligence-kind{color:#a4412d;font-size:.65rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.intelligence-card h3{font-size:1.05rem;line-height:1.28;margin:5px 0 8px}.intelligence-card ul{margin:0;padding-left:17px;color:var(--text-secondary);font-size:.77rem;line-height:1.48}.intelligence-card li+li{margin-top:4px}.intelligence-card details{margin-top:10px;padding-top:9px;border-top:1px solid var(--border)}.intelligence-card summary{color:var(--text-muted);font-size:.69rem;font-weight:800;cursor:pointer}.intelligence-card details div{margin-top:8px}.intelligence-card details p{margin:4px 0;color:var(--text-muted);font-size:.68rem}.intelligence-actions{grid-column:1/-1;display:flex;align-items:center;gap:9px;padding-top:3px}.intelligence-actions .product-button{min-height:42px;padding-inline:15px;font-size:.74rem}.intelligence-dismiss{min-height:40px;padding:0 7px;border:0;background:transparent;color:var(--text-muted);font-size:.69rem;font-weight:700;cursor:pointer}.intelligence-dismiss:hover{color:var(--text-primary)}.intelligence-modal>p{color:var(--text-secondary);line-height:1.55}.intelligence-modal .modal-field{display:grid;gap:7px;margin:18px 0;font-size:.74rem;font-weight:800}.intelligence-modal .recommend-trust-note{font-size:.7rem;color:var(--text-muted)}.feed-stream>.intelligence-section{margin:2px 0;padding:18px;border-radius:var(--radius-md)}.feed-stream>.intelligence-section .intelligence-grid{grid-template-columns:1fr}.event-hero+.intelligence-section,.event-connection-section+.intelligence-section{margin-top:20px}.member-profile-page>.intelligence-section{margin-top:20px}
@media(max-width:768px){.intelligence-section{margin-bottom:14px;padding:18px 14px;border-radius:17px}.intelligence-section>header{margin-bottom:12px}.intelligence-grid{grid-template-columns:1fr}.intelligence-card{grid-template-columns:42px minmax(0,1fr);padding:15px 13px}.intelligence-people .demo-avatar{width:42px;height:42px}.intelligence-actions{display:grid;grid-template-columns:minmax(0,1fr) auto}.intelligence-actions .product-button{width:100%}.feed-stream>.intelligence-section{margin-inline:0;padding-inline:12px;border-inline:0;border-radius:0}.event-hero+.intelligence-section{margin-top:12px}}
@media(max-width:390px){.intelligence-section{padding-inline:11px}.intelligence-card{gap:10px;padding-inline:11px}.intelligence-card h3{font-size:1rem}.intelligence-card ul{font-size:.74rem}.intelligence-actions{grid-template-columns:1fr}.intelligence-dismiss{justify-self:start}}

/* Phase 2E Home / Today */
.home-page{max-width:1240px}.home-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.home-header h1{font-size:clamp(3rem,5vw,4.6rem);line-height:.98;margin:6px 0 8px}.home-header p{margin:0}.home-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:18px;align-items:start}.home-layout>div,.home-layout>aside{min-width:0;display:grid;gap:18px}.home-module{min-width:0;padding:22px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.home-module>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.home-module>header h2{font-size:1.45rem;margin:0}.home-module>header a{color:var(--text-secondary);font-size:.72rem;font-weight:800;white-space:nowrap}.home-attention{padding:24px;margin-bottom:18px;background:linear-gradient(135deg,var(--brand-red-soft),var(--surface) 52%)}.home-attention .intelligence-card{box-shadow:none}.home-action{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--border)}.home-action:first-of-type{border-top:0}.home-action .demo-avatar{width:44px;height:44px}.home-action-label{position:absolute;top:5px;left:56px;color:#a4412d;font-size:.62rem;font-weight:900;text-transform:uppercase}.home-action div{min-width:0;padding-top:8px}.home-action h3{margin:0 0 3px;font-size:.94rem}.home-action p{overflow:hidden;margin:0;color:var(--text-muted);font-size:.76rem;white-space:nowrap;text-overflow:ellipsis}.home-event h3{font-size:clamp(2rem,3.5vw,3rem);margin:18px 0 5px}.home-event>p,.home-event>span{color:var(--text-muted)}.home-event>div{display:grid;gap:4px;margin:20px 0;padding:15px;border-radius:14px;background:var(--brand-red-soft)}.home-event small{color:var(--text-secondary)}.home-event footer{display:flex;gap:8px;flex-wrap:wrap}.home-message,.home-activity{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--border);color:var(--text-primary)}.home-message:first-of-type,.home-activity:first-of-type{border-top:0}.home-message .demo-avatar,.home-activity .demo-avatar{width:40px;height:40px}.home-message>span,.home-activity>span{min-width:0;display:grid;gap:2px}.home-message em,.home-activity em{overflow:hidden;color:var(--text-muted);font-size:.7rem;font-style:normal;white-space:nowrap;text-overflow:ellipsis}.home-message time{color:var(--text-muted);font-size:.64rem}.home-message.unread b{font-weight:900}.home-intro p,.home-post p{color:var(--text-secondary);font-size:.82rem;line-height:1.55}.home-intro h3{font-size:1rem}.home-post{padding:14px 0;border-top:1px solid var(--border)}.home-post:first-of-type{border-top:0}.home-post header{display:flex;gap:10px;align-items:center}.home-post .demo-avatar{width:38px;height:38px}.home-post header span{display:grid}.home-post small{color:var(--text-muted)}.home-post>a{font-size:.73rem;font-weight:800}.home-connect{display:grid;gap:12px;padding:22px;border:1px solid #f1d8d2;border-radius:var(--radius-lg);background:var(--brand-red-soft)}.home-connect h2{margin:5px 0}.home-connect p{color:var(--text-secondary);font-size:.82rem}.home-connect .product-button{width:100%}.home-mobile-connect{display:none}.home-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-steps article{padding:25px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.home-steps article>b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand-red-soft);color:#a4412d}.home-steps h2{font-size:1.35rem}.home-empty{padding:20px;background:var(--surface-secondary);border-radius:15px}
@media(max-width:1024px){.home-layout{grid-template-columns:minmax(0,1.3fr) minmax(270px,.8fr)}.home-module{padding:18px}.home-steps{grid-template-columns:1fr 1fr}.home-steps article:last-child{grid-column:1/-1}}
@media(max-width:768px){.home-page{padding-top:20px}.home-header{align-items:start;margin-bottom:16px}.home-header h1{font-size:clamp(2.45rem,11vw,3.2rem)}.home-header>.product-button{display:none}.home-mobile-connect{display:block;margin-bottom:14px}.home-desktop-connect{display:none}.home-connect{grid-template-columns:minmax(0,1fr) auto;padding:17px 14px}.home-connect>div{grid-column:1/-1}.home-connect .product-button{width:auto;min-width:0}.home-layout{display:flex;flex-direction:column}.home-layout>aside{order:-1;width:100%}.home-module{width:100%;padding:17px 14px;border-radius:17px;box-shadow:none}.home-attention{padding:18px 14px}.home-action{grid-template-columns:42px minmax(0,1fr)}.home-action>.product-button{grid-column:2;width:100%}.home-action-label{left:54px}.home-event footer{display:grid;grid-template-columns:1fr 1fr}.home-steps{grid-template-columns:1fr}.home-steps article:last-child{grid-column:auto}}
@media(max-width:390px){.home-module>header{align-items:flex-start}.home-event footer{grid-template-columns:1fr}.home-connect{grid-template-columns:1fr}.home-connect .product-button{width:100%}.home-action p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}

/* Notification panel cleanup */

/* Phase 3A.1 production avatars */
.demo-avatar>img,.photo-preview>img{display:block;width:100%;height:100%;object-fit:cover}.demo-avatar.has-photo,.photo-preview.has-photo{overflow:hidden;padding:0;color:transparent;background-image:none}.photo-upload-status{display:block;max-width:240px;color:var(--text-muted);font-size:.72rem;line-height:1.4}.photo-editor [aria-disabled="true"]{pointer-events:none;opacity:.62}

/* Phase 3B production relationship graph */
.relationship-loading{display:grid;place-items:center;min-height:280px;color:var(--text-muted);font-weight:750}.production-profile-card h3 a{color:inherit}.relationship-production-modal form{display:grid;gap:12px}.relationship-production-modal [role="status"],#production-context-status{min-height:20px;color:var(--text-muted);font-size:.75rem}.relationship-danger-actions{display:flex;gap:12px;justify-content:space-between;margin-top:24px;padding-top:18px;border-top:1px solid var(--border)}.relationship-danger-actions .product-button{color:#9c3328}.production-relationship-page #production-relationship-tags{margin:0 0 12px}.production-relationship-page .detail-panel h3{margin:22px 0 8px}.connection-request-row>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:768px){.relationship-danger-actions{align-items:stretch;flex-direction:column}.relationship-danger-actions .product-button{width:100%}.connection-request-row>div:last-child{grid-column:2;justify-content:flex-start}.relationship-production-modal{max-height:calc(100dvh - 24px);overflow:auto}}

/* Private beta deployment labels */
.private-beta-badge,.preview-page-badge{display:inline-flex;align-items:center;width:max-content;border:1px solid var(--border);border-radius:999px;background:var(--surface-secondary);color:var(--text-muted);font-size:.59rem;font-weight:900;letter-spacing:.08em;line-height:1;text-transform:uppercase}.private-beta-badge{margin:-14px 0 12px 3px;padding:6px 8px}.preview-page-badge{margin:0 0 12px;padding:6px 9px}
@media(max-width:768px){.private-beta-badge{display:none}.preview-page-badge{margin:0 0 8px}}

/* Message composer: writing space leads on desktop and actions stack on mobile. */
.message-composer{grid-template-columns:minmax(0,2fr) minmax(120px,1fr)}
.message-composer .send-button{width:100%}
@media(max-width:768px){.message-composer{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px}.message-composer textarea,.message-composer .send-button{grid-column:1;width:100%}.message-composer .send-button{min-height:44px}}
