@font-face{font-family:'Member Sans';src:url('/assets/fonts/roboto.ttf') format('truetype');font-weight:100 900;font-display:swap}
:is(body.member-app,body.member-network),:is(body.member-app,body.member-network) :is(button,input,textarea,select){font-family:'Member Sans',Roboto,Arial,system-ui,sans-serif;letter-spacing:normal;font-stretch:normal}
:is(body.member-app,body.member-network) :is(h1,h2,h3){font-family:'Member Sans',Roboto,Arial,sans-serif;font-weight:600;letter-spacing:-.02em;line-height:1.25;overflow-wrap:anywhere}
:is(body.member-app,body.member-network) .emoji-results button{font-family:'Chat Color Emoji','Apple Color Emoji','Segoe UI Emoji',sans-serif}
body.member-app .profile-page{--profile-ink:var(--text);--profile-muted:var(--muted);--profile-accent:color-mix(in srgb,var(--teal) 55%,var(--text));max-width:1160px;margin:auto;color:var(--text);padding:8px 0 34px}
.profile-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}
.profile-intro small{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:.05em}
.profile-intro h1{font-size:32px;margin:6px 0 8px;color:var(--text)}
.profile-intro p{font-size:14px;line-height:1.5;color:var(--muted);margin:0}
.profile-intro>span{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--border);background:var(--surface);border-radius:12px;color:var(--muted);font-size:12px;white-space:nowrap}
.profile-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:start}
.profile-page .profile-hero.card{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:24px;color:var(--text);overflow:hidden;box-shadow:0 10px 32px color-mix(in srgb,var(--text) 4%,transparent);position:relative;margin:0}
.profile-banner{height:100px;margin:-24px -24px 0;position:relative;overflow:hidden;background:linear-gradient(125deg,color-mix(in srgb,var(--teal) 20%,var(--surface)),var(--surface-2));border-bottom:1px solid var(--border)}
.profile-banner:before,.profile-banner:after{content:'';position:absolute;width:180px;height:180px;border:1px solid color-mix(in srgb,var(--teal) 25%,transparent);border-radius:50%;right:-24px;top:-110px;box-shadow:0 0 0 20px color-mix(in srgb,var(--teal) 6%,transparent),0 0 0 40px color-mix(in srgb,var(--teal) 4%,transparent)}
.profile-banner:after{width:120px;height:120px;top:65px;left:-55px;right:auto}
.profile-banner>span{position:absolute;top:16px;left:24px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:500;color:var(--profile-accent)}
.profile-banner svg{width:15px;height:15px}
.profile-page .profile-identity{padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:15px;position:relative;margin-top:-34px}
.profile-page .profile-avatar{width:76px;height:76px;flex:none;border-radius:22px;background:var(--surface-2);border:4px solid var(--surface);color:var(--profile-accent);font-size:28px;font-weight:600;box-shadow:0 3px 12px #00000009}
.profile-page .profile-avatar img{border-radius:17px}
.profile-page .verified-dot{background:var(--profile-accent);border:3px solid var(--surface);color:var(--surface);width:25px;height:25px;right:-5px;bottom:-4px}
.profile-page .profile-identity>div:last-child{min-width:0;width:100%}
.profile-page .profile-identity .eyebrow{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0;text-transform:none}
.profile-page .profile-identity h1{color:var(--text);font-size:25px;line-height:1.3;margin:5px 0 7px;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere}
.profile-page .profile-identity p{color:var(--muted);font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.profile-membership{margin-top:22px;padding:15px;display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--teal) 5%,var(--surface))}
.profile-membership>svg{width:23px;height:23px;flex:none;color:var(--profile-accent)}
.profile-membership>div{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.profile-membership small{font-size:11px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.profile-membership strong{font-size:17px;font-weight:600;color:var(--text);line-height:1.3;overflow-wrap:anywhere}
.profile-page .profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;border:0;border-top:1px solid var(--border);padding:20px 0 0;margin-top:22px;background:none}
.profile-page .profile-stats>div{padding:0;border:0;background:none;min-width:0}
.profile-page .profile-stats small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}
.profile-page .profile-stats strong{font-size:13px;color:var(--text);font-weight:500;line-height:1.5;overflow-wrap:anywhere;margin-top:5px;display:block}
.profile-passport-foot{margin:24px -24px -24px;padding:13px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px dashed var(--border);color:var(--muted);font-size:11px;background:var(--surface-2)}
.profile-passport-foot svg{width:15px;height:15px;color:var(--profile-accent)}
.profile-page .profile-grid{display:grid;grid-template-columns:1fr;gap:18px;margin:0;min-width:0}
.profile-page .profile-section{padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:20px;color:var(--text);box-shadow:none;min-width:0;transition:border-color .2s}
.profile-page .profile-section:hover{transform:none;box-shadow:none;border-color:color-mix(in srgb,var(--teal) 40%,var(--border))}
.profile-page .section-title{gap:12px;margin-bottom:12px;min-width:0}
.profile-page .section-title .menu-icon{width:38px;height:38px;flex:none;border-radius:12px;background:var(--surface-2);color:var(--profile-accent);border:1px solid var(--border)}
.profile-page .section-title .eyebrow{color:var(--muted);font-size:10px;font-weight:500;letter-spacing:.05em}
.profile-page .section-title h2{color:var(--text);font-size:18px;font-weight:600;line-height:1.3;margin:4px 0 0;letter-spacing:-.01em}
.profile-page .detail-list>div{display:flex;justify-content:space-between;align-items:start;padding:12px 0;gap:16px;font-size:13px;border-color:var(--border);background:none}
.profile-page .detail-list>div>span{display:flex;align-items:center;gap:8px;color:var(--muted);min-width:0;flex:1;line-height:1.5}
.profile-page .detail-list strong{color:var(--text);font-weight:500;font-size:13px;line-height:1.5;text-align:right;max-width:55%;overflow-wrap:anywhere}
.profile-page .detail-list .verified-text{color:var(--profile-accent)}
.profile-page .security-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.profile-page .security-actions .btn{background:var(--surface-2);border:1px solid var(--border);color:var(--text);font-size:13px;font-weight:500;line-height:1.4;border-radius:12px;min-height:46px;padding:12px;white-space:normal;min-width:0;box-shadow:none}
.profile-page .security-actions .profile-logout{color:var(--text);background:var(--surface);border-style:dashed}
.profile-page .profile-notification-link{padding:12px 0;background:none;border:0;border-bottom:1px solid var(--border);color:var(--text);display:flex;gap:12px;align-items:start;font-size:13px;line-height:1.5;text-align:left;min-width:0}
.profile-page .profile-notification-link span{flex:1;overflow-wrap:anywhere;min-width:0}
.profile-page .profile-notification-link small{font-size:11px;color:var(--muted);max-width:40%;text-align:right}
.profile-page .muted{font-size:13px;line-height:1.6;color:var(--muted)}
.profile-page #password-form{padding:16px;background:var(--surface-2);border-radius:14px}
body.member-app:has(.profile-page) .topbar{background:var(--surface)}
body.member-app:has(.profile-page) .topbar .member-mentor{display:none}
body.member-app .member-mentor{min-width:0;display:flex;flex-direction:column;gap:3px;text-align:center;padding:0 10px}
body.member-app .member-mentor small{display:block;font-size:11px;line-height:1.3;color:var(--muted)}
body.member-app .member-mentor strong{display:block;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:900px){.profile-workspace{grid-template-columns:280px minmax(0,1fr);gap:16px}.profile-page .profile-section{padding:18px}}
@media(max-width:760px){.profile-workspace{grid-template-columns:1fr}.profile-intro{margin-bottom:20px}.profile-intro h1{font-size:27px}.profile-intro>span{display:none}.profile-page .profile-hero.card{padding:22px}.profile-banner{margin:-22px -22px 0;height:84px}.profile-passport-foot{margin:22px -22px -22px;padding:12px 22px}.profile-page .profile-identity{flex-direction:row;align-items:flex-end;gap:15px}.profile-page .profile-identity>div:last-child{padding-top:44px;flex:1}.profile-page .profile-identity h1{font-size:23px}.profile-membership{margin-top:20px}.profile-page .profile-stats{gap:18px}.profile-intro p{font-size:13px}.profile-page .profile-grid{gap:14px}.profile-page .profile-avatar{width:66px;height:66px;border-radius:20px}.profile-page .profile-identity{margin-top:-35px}.profile-page .profile-avatar img{border-radius:16px}}
@media(max-width:420px){.profile-page .profile-identity{flex-direction:column;align-items:flex-start;gap:12px}.profile-page .profile-identity>div:last-child{padding-top:0}.profile-page .profile-identity h1{font-size:24px}}
@media(max-width:760px){body.member-app:has(.profile-page) .topbar{display:flex;flex-direction:column;align-items:stretch;position:relative;height:auto;min-height:112px;padding:14px 16px 12px;gap:12px}body.member-app:has(.profile-page) .topbar .brand{display:flex;height:40px;width:calc(100% - 52px);justify-content:flex-start}body.member-app:has(.profile-page) .topbar .brand>div{text-align:left;min-width:0}body.member-app:has(.profile-page) .topbar .brand strong{font-size:17px;font-weight:600}body.member-app:has(.profile-page) .topbar .octopus-mark{width:38px;height:38px}body.member-app:has(.profile-page) .topbar .actions{display:flex;width:100%;justify-content:center}body.member-app:has(.profile-page) .topbar .header-profile{position:absolute;right:16px;top:10px}body.member-app:has(.profile-page) .topbar .member-header-tools{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;min-width:0}body.member-app:has(.profile-page) .topbar .control-button{width:36px;min-width:36px;height:36px}body.member-app:has(.profile-page) .topbar .member-header-tools>.status{font-size:11px;min-height:36px;padding:5px 8px}body.member-app:has(.profile-page) .topbar .direct-chat-access{font-size:11px;padding:7px 9px}}
body.member-app .bottom-nav button{min-width:0;white-space:normal;font-weight:500}
@media(max-width:480px){body.member-app .bottom-nav{gap:2px;overflow-x:auto;scrollbar-width:none}body.member-app .bottom-nav::-webkit-scrollbar{display:none}body.member-app .bottom-nav button{flex-direction:column;padding:9px 4px;font-size:10px;line-height:1.25;gap:5px;flex:1 0 45px}body.member-app .bottom-nav button span{max-width:65px;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.profile-page *{animation:none!important;transition:none!important}}@media(max-width:760px){body.member-app .topbar .member-mentor{grid-column:2;grid-row:1;align-self:center;padding:0 6px}body.member-app .topbar:has(.member-mentor) .brand>div{display:none}body.member-app:has(.profile-page) .topbar .brand>div{display:block}body.member-app .topbar .member-mentor strong{font-size:16px;line-height:1.35;max-width:100%}}
:is(body.member-app,body.member-network) :is(.consultation-message p,.chat-composer textarea,.chat-message-text){font-family:'Member Sans',Roboto,Arial,'Chat Color Emoji',sans-serif;letter-spacing:normal;text-align:start}
@media(max-width:480px){body.member-app .bottom-nav button{flex:1 1 0;min-width:0;font-size:9px}body.member-app .bottom-nav button span{max-width:100%;line-height:1.25;white-space:normal;overflow-wrap:anywhere}}
@media(max-width:480px){body.member-app .bottom-nav.voice-enabled-nav{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;overflow:visible;justify-content:stretch}body.member-app .bottom-nav.voice-enabled-nav>button[data-page]{min-width:0!important;width:100%;flex-basis:0!important;padding:7px 2px;font-size:9px;line-height:1.25}body.member-app .bottom-nav.voice-enabled-nav>button[data-page]>span{max-width:100%;white-space:normal;overflow-wrap:anywhere}}
