/* Shared layout finishing layer. Loaded after each feature stylesheet. */
/* Preserve application-controlled visibility, including guest logout state. */
body .top-actions .button-quiet.is-hidden{display:none!important}
:root{--border:#dce4dc;color-scheme:light}
body{font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
body::before{display:none}
button,input,textarea,select{font-family:Manrope,Arial,sans-serif}
img{max-width:100%}button{cursor:pointer}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #5ba995;outline-offset:3px}
.dashboard>*,.workspace,.cabinet-view,.grid>*,.profile-form>*,.request-layout>*,.next-path-grid>*,.person-match>*{min-width:0}
.topbar{gap:24px}.brand{flex-shrink:0}.global-search{min-width:0}.global-search input{min-width:0;font:400 14px Manrope,Arial,sans-serif}.top-actions{flex-shrink:0}
.brand::after{font-family:Manrope,Arial,sans-serif;font-size:8px;letter-spacing:.08em}
.button{min-height:46px;font:600 14px/1.4 Manrope,Arial,sans-serif;letter-spacing:0;text-align:center;white-space:normal;max-width:100%;overflow-wrap:break-word}
.nav-item{font:500 13px/1.45 Manrope,Arial,sans-serif;min-height:46px}.nav-item.is-active{font-weight:600}.sidebar-user strong{overflow-wrap:anywhere}.avatar,.sidebar-user .avatar{flex-shrink:0;font-family:Manrope,Arial,sans-serif}
.section-heading{padding:12px 0 8px}.section-heading h1{font:600 clamp(30px,3.5vw,46px)/1.15 Manrope,Arial,sans-serif;letter-spacing:-.04em;overflow-wrap:break-word;text-wrap:balance}.section-heading .lead{font-size:16px;line-height:1.7;max-width:65ch}
.welcome{padding:32px;min-height:320px}.welcome-copy{min-width:0;max-width:620px}.welcome h1{font:600 clamp(32px,3.5vw,48px)/1.13 Manrope,Arial,sans-serif;letter-spacing:-.045em;overflow-wrap:break-word}.welcome .lead{font-size:16px;line-height:1.7;max-width:55ch}.welcome-corner{flex-shrink:0}.welcome-corner i{font:italic 17px/1.4 Georgia,serif}
.grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.content-card h2,.channel h2,.feature-card h2,.empty-state h2,.inbox-copy h2,.inbox-empty h2,.next-path-heading h2,.connection-invites-heading h2,.request-preview h2{font:600 23px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.025em;overflow-wrap:break-word}
.content-card>p:last-child,.feature-card p,.empty-state p,.connection-invite-card p,.next-path-card small,.request-preview>p{font-size:14px;line-height:1.7}
.metric{padding:24px}.metric strong{font-family:Georgia,serif}.metric-value{flex-wrap:wrap;gap:12px}.metric-value b{max-width:100%;font-size:14px;line-height:1.4;padding-bottom:0}.metric p{max-width:none;font-size:14px;line-height:1.6}.metric-hover p{font-size:13px}.metric-hover small{font-size:10px}.metric-more{min-height:32px;font-size:13px}
.eyebrow{font-size:11px;line-height:1.5;letter-spacing:.12em}.text-action{font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.5;min-height:36px}
.profile-form label,.network-request-form>label:not(.request-active),.phone-login-form label{font-size:14px;line-height:1.5}
.profile-form input,.profile-form textarea,.phone-login-form input,.network-request-form select,.network-request-form textarea,.quick-compatibility-form input{min-width:0;font:400 16px/1.5 Manrope,Arial,sans-serif}
.profile-form input:not([type=checkbox]):not([type=radio]),.phone-login-form input,.network-request-form select{min-height:52px}
.form-actions,.request-actions,.contact-capture-actions,.inbox-actions{flex-wrap:wrap}.contact-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.person-match{overflow:hidden}.person-info h2,.person-info h3{overflow-wrap:anywhere}.person-info p,.match-reasons li{overflow-wrap:anywhere}.match-contacts{flex-wrap:wrap}.match-contacts a{max-width:100%;overflow-wrap:anywhere}
.chat-form{min-width:0}.chat-form textarea{min-width:0;font-family:Manrope,Arial,sans-serif}.chat-message{overflow-wrap:anywhere}
.login.panel{max-width:660px;min-height:0;margin:24px auto;padding:40px 32px 48px}.login h1{font:600 clamp(34px,4vw,48px)/1.15 Manrope,Arial,sans-serif;letter-spacing:-.045em}.login .lead{font-size:16px;line-height:1.7;max-width:45ch}.phone-login-form{gap:18px}.status{font-size:14px;line-height:1.5}
dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}dialog h2{overflow-wrap:break-word}dialog input,dialog textarea{min-width:0}.dialog-close{min-width:40px;min-height:40px}
.cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-person{gap:14px;grid-template-columns:46px minmax(0,1fr)}.cp-person h3{font-size:17px}.cp-about{font-size:14px}.cp-choice{min-width:0}.cp-result-top{flex-wrap:wrap}.cp-bars>div{grid-template-columns:minmax(90px,150px) minmax(0,1fr) 40px}.cp-score{flex-wrap:wrap}.kn-card-footer{flex-wrap:wrap}.kn-reading,.kn-prose{overflow-wrap:anywhere}.kn-hero h1,.cp-header h1{font-size:clamp(32px,3.6vw,48px);line-height:1.16}
@media(max-width:1150px) and (min-width:981px){.dashboard{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:10px}.grid-three{grid-template-columns:1fr}.metric{min-height:180px}.welcome{flex-direction:column}.welcome-corner{align-self:flex-start}.next-path-grid{grid-template-columns:1fr}}
@media(max-width:980px){.sidebar{padding:8px}.cabinet-nav{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.cabinet-nav .nav-item{display:flex;flex:0 0 auto;width:auto;min-width:96px;justify-content:center;padding:12px;white-space:nowrap}.cabinet-nav .nav-item span{display:inline-block;width:auto}.welcome{gap:24px}.grid-three{gap:12px}}
@media(max-width:760px){main{width:calc(100% - 32px);padding-top:16px;padding-bottom:110px}.topbar{height:64px;min-height:64px;padding:12px 20px}.top-actions .button-quiet{display:inline-flex!important}.dashboard{gap:16px}.sidebar{left:0;right:0;bottom:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;border-bottom:0;box-shadow:0 -5px 24px #153d3712}.cabinet-nav{padding-bottom:3px;gap:4px;scrollbar-width:thin}.cabinet-nav .nav-item{display:flex!important;flex-direction:column;flex:0 0 98px;min-height:58px;min-width:0;padding:7px 6px;gap:4px;font-size:11px;line-height:1.3;white-space:normal;text-align:center}.cabinet-nav .nav-item span{font-size:19px;line-height:1}.workspace{padding-bottom:16px}.nav-badge{top:0;right:12px}.welcome{min-height:0;flex-direction:column;padding:26px 22px;gap:22px}.welcome h1{font-size:34px;line-height:1.14}.welcome .lead{font-size:15px}.welcome-corner{margin-top:0}.welcome-copy .button{width:100%;margin-top:22px}.grid-three,.grid-two,.profile-form,.contact-settings-grid,.cp-grid{grid-template-columns:1fr}.section-heading h1{font-size:32px}.section-heading .lead{font-size:15px}.metric{min-height:0;padding:22px}.metric p{max-width:100%}.metric-hover{margin:16px -22px -22px}.content-card,.profile-form,.next-path,.connection-invites{padding:24px 20px}.channel,.plan-card{padding:24px 20px;align-items:flex-start;flex-direction:column}.guest-banner{padding:20px}.guest-banner span{font-size:13px;line-height:1.6}.inbox-actions{min-width:0}.cp-choice,.cp-result{padding:24px 20px}.cp-result h2{font-size:28px}.login.panel{margin:0;padding:32px 8px 40px;min-height:0}.login h1{font-size:36px}.login .lead{font-size:15px}.phone-login-form{margin-top:28px}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.chat-form{gap:8px;padding:12px}.chat-form .button{padding:12px}.compatibility-share-buttons{display:flex;flex-wrap:wrap}.share-channel{flex:1 1 90px;min-height:44px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
