/* Personal space — quiet structure, useful density, one accent. */
body[data-page=profile] .f-shell{max-width:1344px;padding-top:32px;padding-bottom:60px}
body[data-page=profile] .f-account-layout{grid-template-columns:176px minmax(0,1fr);gap:42px}
body[data-page=profile] .f-account-nav-heading{padding:6px 12px 20px;margin-bottom:19px}
body[data-page=profile] .f-account-nav-heading h2{font-size:18px;margin-bottom:8px}
body[data-page=profile] .f-account-group+.f-account-group{margin-top:23px}
body[data-page=profile] .f-account-link-item{padding:9px 12px;min-height:41px;font-size:13px}
body[data-page=profile] .f-account-group h3{margin-bottom:7px;font-size:10px;letter-spacing:.2px}
.a-mobile-core{display:none}.a-page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 27px;padding:4px 0 20px;border-bottom:1px solid var(--f-line)}
.a-page-title h1{font:650 28px/1.35 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;letter-spacing:-.7px}.a-page-title p{font-size:12px;color:var(--f-muted);margin-top:8px}.a-page-title+.f-sectionhead{margin-top:0}.a-page-title+.f-panel>.f-sectionhead:first-child{display:none}
.a-profile-head{display:flex;align-items:center;gap:22px;padding:4px 0 29px}
.a-profile-avatar{position:relative;flex-shrink:0}.a-profile-avatar .f-avatar.large{width:80px;height:80px;display:inline-grid;border-radius:50%;background:var(--f-soft);border:1px solid var(--f-line);color:var(--f-muted)}
.a-profile-avatar .f-avatar-fallback.large{background:var(--profile-avatar-color,#3da9a2);border-color:transparent;color:#fff;text-transform:uppercase}
.a-profile-avatar .f-avatar.large>svg{width:34px;height:34px;stroke-width:1.25}.a-profile-avatar>span:last-child{position:absolute;right:-2px;bottom:1px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--f-paper);border:1px solid var(--f-line)}.a-profile-avatar>span:last-child svg{width:12px;height:12px}
.a-profile-identity{min-width:0;flex:1}.a-profile-eyebrow{display:block;font-size:10px;color:var(--f-muted);margin-bottom:4px}.a-profile-identity h1{font:650 28px/1.35 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;letter-spacing:-.6px;overflow-wrap:anywhere}
.a-profile-handle{font-size:11px;color:var(--f-muted);margin-top:6px}.a-profile-actions{display:flex;flex-direction:column;align-items:stretch;flex-shrink:0;gap:10px}.a-profile-actions .f-btn{justify-content:center;min-width:132px;width:100%;font-size:12px;min-height:42px;border-radius:4px}
.a-profile-actions .a-profile-logout{display:flex;color:var(--f-accent)}
.a-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 0;margin-bottom:8px;border-block:1px solid var(--f-line)}.a-stat-strip>a{display:flex;align-items:baseline;gap:10px;padding-left:22px;border-left:1px solid var(--f-line)}.a-stat-strip>a:first-child{padding-left:0;border-left:0}.a-stat-strip strong{font-size:26px;line-height:1;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.a-stat-strip span{font-size:12px;color:var(--f-muted)}
.a-overview-columns{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:42px}.a-overview-columns>div{min-width:0}.a-home-section{padding:25px 0 17px;border-bottom:1px solid var(--f-line)}.a-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}.a-section-head h2{font-size:17px;line-height:1.5;font-weight:600;letter-spacing:-.25px}.a-section-head .f-textbtn{font-size:10px;gap:7px}.a-section-head .f-textbtn svg{width:13px;height:13px}.a-count{display:inline-grid;place-items:center;background:var(--f-soft);color:var(--f-muted);font-size:10px;min-width:20px;height:20px;padding:0 5px;margin-left:8px;border-radius:3px;vertical-align:middle}
.a-content-row{display:flex;align-items:center;gap:13px;padding:12px 0;min-width:0}.a-content-thumb{display:block;width:100px;aspect-ratio:16/10;overflow:hidden;border-radius:5px;flex-shrink:0;background:var(--f-soft)}.a-content-thumb>picture{display:block;width:100%;height:100%}.a-content-thumb img{width:100%;height:100%;object-fit:cover}.a-content-copy{flex:1;min-width:0}.a-content-copy>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.65;font-weight:550}.a-content-copy>small{display:block;font-size:10px;color:var(--f-muted);margin-top:6px}.a-content-copy>.f-status{font-size:9px;margin-bottom:6px}.a-content-row>svg{width:15px;height:15px;color:var(--f-muted);margin-left:3px}
.a-section-empty{font-size:12px;line-height:1.95;color:var(--f-muted);padding:14px 0 23px;max-width:350px}.a-create-link{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid var(--f-line);border-radius:5px;font-size:12px;margin:8px 0 3px}.a-create-link svg{width:15px;height:15px;color:var(--f-accent)}
.a-home-section .x-conversation{padding:12px 0;border:0;gap:11px}.a-home-section .x-conversation .f-avatar{width:35px;height:35px}.a-home-section .x-conversation-meta time{font-size:9px}.a-home-section .x-conversation-copy strong{font-size:12px}.a-home-section .x-conversation-copy small{font-size:11px}.a-home-section .x-conversation:hover{background:transparent}
.a-notice-link{display:flex;align-items:center;gap:12px;min-height:61px;font-size:12px;color:var(--f-muted)}.a-notice-link>span{flex:1}.a-notice-link>b{font:10px/18px -apple-system,sans-serif;min-width:18px;text-align:center;color:var(--f-accent)}.a-notice-link>svg{width:16px;height:16px}
.a-settings-card{max-width:780px}.a-settings-card .f-form{max-width:none!important;gap:0}.a-avatar-setting{display:flex;gap:27px;align-items:center;padding:7px 0 28px;border-bottom:1px solid var(--f-line)}.a-avatar-setting>div{min-width:0}.a-avatar-setting h2{font-size:16px;font-weight:600}.a-avatar-setting p{font-size:12px;color:var(--f-muted);line-height:1.85;margin-top:6px}.a-avatar-setting .f-help{font-size:10px}
.a-avatar-edit{position:relative;flex-shrink:0;padding:0;width:112px;height:112px;display:grid;place-items:center;border-radius:50%;overflow:hidden;outline-offset:4px}.a-avatar-edit .f-avatar-upload-preview{display:contents}.a-avatar-edit .f-avatar.large{width:112px;height:112px;display:inline-grid;border-radius:50%;background:var(--f-soft);border:1px solid var(--f-line);color:var(--f-muted)}.a-avatar-edit .f-avatar.large svg{width:40px;height:40px;stroke-width:1.3}.a-avatar-edit-label{position:absolute;bottom:0;left:0;right:0;padding:7px 0 11px;display:flex;align-items:center;justify-content:center;gap:4px;background:#151815b8;color:white;font-size:10px;line-height:1.5}.a-avatar-edit-label svg{width:12px;height:12px}
#avatar-upload-result{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:11px}.a-saved-feedback{color:var(--f-green)}.a-profile-fields{padding-top:29px;display:grid;gap:25px;max-width:620px}.a-profile-fields label{font-size:12px;gap:9px}.a-profile-fields input,.a-profile-fields textarea{background:var(--f-paper);border-radius:7px;padding:12px 14px;font-size:14px;line-height:1.8}.a-profile-fields textarea{min-height:123px;resize:vertical}.a-field-help{display:flex;justify-content:space-between;gap:12px;font-size:10px;line-height:1.7;color:var(--f-muted)}#bio-count{font-variant-numeric:tabular-nums;white-space:nowrap}
.a-readonly-field{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:12px;padding-bottom:24px;border-bottom:1px solid var(--f-line)}.a-readonly-field>strong{font-size:12px;font-weight:500;color:var(--f-muted)}.a-readonly-field>small{grid-column:1/-1;font-size:10px;color:var(--f-muted)}.a-profile-save{display:flex;align-items:center;justify-content:space-between;gap:15px}.a-profile-save>span{font-size:11px;color:var(--f-muted)}
.a-blocks{max-width:780px;margin-top:32px;padding-top:28px;border-top:1px solid var(--f-line)}.a-blocks .a-section-head p{font-size:11px;color:var(--f-muted);line-height:1.8;margin-top:6px}.a-block-row{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--f-line)}.a-block-row>.f-avatar{display:inline-grid;width:37px;height:37px;border-radius:50%;background:var(--f-soft)}.a-block-row>span:not(.f-avatar){display:flex;flex-direction:column;flex:1;min-width:0}.a-block-row strong{font-size:13px;font-weight:550}.a-block-row small{font-size:11px;color:var(--f-muted)}
/* Inbox */
body[data-page=profile]:has(.x-inbox) .f-account-layout{gap:25px;grid-template-columns:156px minmax(0,1fr)}
.x-inbox{grid-template-columns:290px minmax(0,1fr);min-height:560px;height:calc(100svh - 156px);max-height:820px;border-radius:10px}
.x-inbox-sidebar{background:var(--f-paper)}.a-inbox-controls{position:sticky;top:0;z-index:2;background:var(--f-paper);border-bottom:1px solid var(--f-line);padding:0 17px}.x-inbox-title{position:static;border:0;padding:21px 0 15px;min-height:81px}.x-inbox-title h1{font-size:22px}.x-inbox-title p{font-size:10px;color:var(--f-muted);margin-top:5px}.x-inbox-title .f-iconbtn{border:0;border-radius:5px;width:38px;height:38px;color:var(--f-ink)}
.a-inbox-search{display:flex;gap:8px;align-items:center;border:1px solid var(--f-line);border-radius:6px;background:var(--f-bg);padding:0 9px;min-height:38px;margin-bottom:10px}.a-inbox-search>svg{width:15px;height:15px;color:var(--f-muted)}.a-inbox-search input{min-width:0;width:100%;border:0;background:none;padding:6px 0;font-size:11px;outline:none}.a-inbox-search:focus-within{border-color:var(--f-muted)}.a-inbox-search button{display:grid;place-items:center;width:30px;height:35px;padding:0;flex-shrink:0;color:var(--f-muted)}.a-inbox-search button svg{width:14px;height:14px}
.a-inbox-tabs{display:flex;gap:24px}.a-inbox-tabs button{position:relative;color:var(--f-muted);min-height:42px;padding:7px 0;font-size:12px}.a-inbox-tabs button.active{color:var(--f-ink);font-weight:600}.a-inbox-tabs button.active:after{position:absolute;content:'';height:2px;background:var(--f-accent);left:0;right:0;bottom:0}#inbox-error:empty{display:none}#inbox-error{font-size:11px;color:var(--f-accent);padding-bottom:10px;line-height:1.7}
.x-conversation{padding:18px 16px;border-color:var(--f-line);gap:11px}.x-conversation .f-avatar{display:inline-grid;width:40px;height:40px;border-radius:50%;background:var(--f-soft);color:var(--f-muted);border:1px solid var(--f-line)}.x-conversation .f-avatar-fallback svg{width:19px;height:19px;stroke-width:1.2}.x-conversation-copy strong{font-size:13px;font-weight:600}.x-conversation-copy small{font-size:11px;margin-top:5px}.x-conversation.is-pinned{background:var(--f-bg)}.x-conversation.active{background:var(--f-soft);box-shadow:inset 2px 0 var(--f-accent)}.x-conversation-meta{display:flex;gap:7px}.x-conversation-meta time{white-space:normal;font-size:9px}.a-conversation-label{display:inline-block;font-size:8px;line-height:1.4;margin-left:7px;padding:1px 3px;border:1px solid var(--f-line);border-radius:2px;color:var(--f-muted);font-weight:400;vertical-align:middle}.a-conversation-flags{display:flex;justify-content:flex-end;align-items:center;gap:4px}.a-muted-label{font-size:8px;line-height:1.4;color:var(--f-muted);white-space:nowrap}.x-conversation-meta b.is-muted{background:var(--f-muted)}
.x-conversations-empty{padding:48px 23px;text-align:center;display:flex;align-items:center;flex-direction:column}.x-conversations-empty>svg{width:32px;height:32px;stroke-width:1;color:var(--f-muted);margin-bottom:17px}.x-conversations-empty h2{font-size:16px;font-weight:550;line-height:1.6;margin-bottom:8px}.x-conversations-empty p{font-size:11px;line-height:1.95;color:var(--f-muted)}.x-conversations-empty .f-btn{margin-top:22px;font-size:11px;min-height:40px}
.x-chat{position:relative}.x-chat-header{padding:16px 23px;min-height:77px}.x-chat-person .f-avatar{display:inline-grid;width:37px;height:37px;border-radius:50%;background:var(--f-soft);color:var(--f-muted)}.x-chat-person .f-avatar-fallback svg{width:17px;height:17px;stroke-width:1.2}.x-chat-person strong{font-size:14px}.x-chat-person small{font-size:10px}.a-chat-tools{display:flex;margin-left:auto;gap:5px;flex-shrink:0}.a-chat-tools .f-iconbtn{width:38px;height:38px;border-radius:5px}.a-chat-tools svg{width:17px;height:17px}
.x-message-scroll{padding:16px 25px 25px;background:var(--f-bg)}.x-message{margin-bottom:19px}.x-message-bubble{padding:11px 15px;max-width:83%;border:0;background:var(--f-paper);border-radius:3px 12px 12px 12px;font-size:14px;line-height:1.8}.x-message.is-own .x-message-bubble{border-radius:12px 3px 12px 12px;background:var(--f-ink);color:var(--f-paper)}.a-message-day{display:flex;justify-content:center;margin:14px 0 25px;color:var(--f-muted);font-size:10px}.a-message-day time{padding:0 10px;background:var(--f-bg)}.a-message-meta{display:flex;align-items:center;gap:8px;font-size:9px;color:var(--f-muted);margin-top:7px}.a-message-meta time{margin:0;font-size:9px}.a-message-receipt.is-read{color:var(--f-muted)}
.x-message-form{padding:14px 20px 11px}.x-message-compose{gap:13px}.x-message-compose textarea{min-height:45px;border:0;background:var(--f-bg);border-radius:6px;resize:none;font-size:14px;padding:9px 12px}.x-message-compose textarea:focus{outline:1px solid var(--f-line);outline-offset:0}.x-message-compose button{min-width:70px;min-height:42px;border-radius:6px;font-size:12px}.a-compose-meta{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-top:7px;font-size:9px;color:var(--f-muted)}.a-compose-meta .x-message-footnote{font-size:9px;margin:0}.a-compose-meta>#message-length{white-space:nowrap;font-variant-numeric:tabular-nums}.x-message-form.is-closed textarea{opacity:.55}#message-error{font-size:11px;margin-top:8px}#message-error .f-textbtn{color:var(--f-accent);font-size:11px;text-decoration:underline;min-height:28px}
.a-new-messages{position:absolute;bottom:135px;left:50%;transform:translateX(-50%);min-height:36px;display:flex;align-items:center;gap:7px;padding:7px 14px;border:1px solid var(--f-line);background:var(--f-paper);box-shadow:0 4px 18px #0000000d;border-radius:22px;font-size:11px;z-index:3;white-space:nowrap}.a-new-messages[hidden]{display:none}.a-new-messages svg{width:13px;height:13px;transform:rotate(90deg)}
.x-chat-empty{gap:11px}.a-chat-empty-mark{padding:20px;border:1px solid var(--f-line);border-radius:50%;margin-bottom:10px}.a-chat-empty-mark svg{display:block;width:27px;height:27px;stroke-width:1;color:var(--f-muted)}.x-chat-empty h2{font-size:18px}.x-chat-empty p{font-size:12px;line-height:1.9}.x-chat-empty .f-btn{font-size:12px}
.a-chat-options{min-width:280px}.a-chat-option-person{display:flex;align-items:center;gap:13px;padding-bottom:25px;border-bottom:1px solid var(--f-line)}.a-chat-option-person .f-avatar{display:inline-grid;width:44px;height:44px;border-radius:50%;background:var(--f-soft);color:var(--f-muted)}.a-chat-option-person>div{display:flex;flex-direction:column;gap:3px}.a-chat-option-person strong{font-size:15px;font-weight:600}.a-chat-option-person small{font-size:11px;color:var(--f-muted)}.a-option-row{display:flex;align-items:center;gap:18px;width:100%;text-align:left;padding:21px 0;border-bottom:1px solid var(--f-line)}.a-option-row>span:first-child{flex:1;display:flex;flex-direction:column;gap:6px}.a-option-row strong{font-size:13px;font-weight:600}.a-option-row small{font-size:11px;line-height:1.8;color:var(--f-muted)}.a-block-option{border-bottom:0}.a-block-option strong{color:var(--f-accent)}.a-toggle{position:relative;width:35px;height:21px;border-radius:15px;background:var(--f-line);flex-shrink:0}.a-toggle:after{position:absolute;content:'';width:15px;height:15px;left:3px;top:3px;background:var(--f-paper);border-radius:50%;box-shadow:0 1px 3px #0002}.a-toggle.active{background:var(--f-accent)}.a-toggle.active:after{left:17px}
.a-chat-search-panel{flex:1;min-height:0;overflow:auto;background:var(--f-bg);padding:19px 22px}.a-chat-search-panel[hidden]{display:none}.x-message-scroll[hidden],.x-message-form[hidden]{display:none}.a-record-search{display:flex;align-items:center;gap:8px}.a-record-search input{min-width:0;width:100%;font-size:13px;padding:10px 12px;border:1px solid var(--f-line);border-radius:6px;background:var(--f-paper)}.a-record-search .f-btn{min-height:40px;font-size:11px}.a-record-search .f-iconbtn{flex-shrink:0;width:35px;height:40px;border-radius:4px}.a-record-search .f-iconbtn svg{width:16px;height:16px}.a-search-readonly{font-size:10px;line-height:1.8;color:var(--f-muted);margin:12px 0 20px}.a-search-count{font-size:11px;color:var(--f-muted);margin-bottom:14px}.a-search-message{padding:17px 0;border-bottom:1px solid var(--f-line)}.a-search-message>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.a-search-message strong{font-size:12px;font-weight:600}.a-search-message time{font-size:10px;color:var(--f-muted)}.a-search-message>p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px}.a-search-message mark{background:var(--f-tint);color:var(--f-accent);padding:1px 0}.a-search-more{display:flex;min-height:44px;margin:15px auto}
@media(max-width:1100px){body[data-page=profile] .f-account-layout{grid-template-columns:155px minmax(0,1fr);gap:28px}.a-profile-actions{flex-direction:column;gap:8px;align-items:flex-end}.a-overview-columns{gap:27px}.x-inbox{grid-template-columns:245px minmax(0,1fr)}body[data-page=profile]:has(.x-inbox) .f-account-layout{grid-template-columns:135px minmax(0,1fr);gap:16px}.a-inbox-controls{padding:0 13px}.x-conversation{padding:15px 12px}.x-conversation .f-avatar{width:32px;height:32px}.x-conversation-meta time{font-size:8px}}
@media(max-width:900px){.a-overview-columns{grid-template-columns:1fr}.a-profile-head{gap:16px}.a-profile-identity h1{font-size:25px}.a-stat-strip>a{flex-direction:column;gap:9px}.x-inbox{grid-template-columns:215px minmax(0,1fr)}.x-conversation .f-avatar{display:none}.x-message-scroll{padding:15px}.x-chat-header{padding:14px 16px}.x-chat-person .f-avatar{display:none}.x-message-bubble{max-width:92%}.x-message-form{padding:13px}.a-chat-tools{gap:0}}
@media(max-width:760px){
body[data-page=profile] .f-shell{padding:15px 18px 95px}body[data-page=profile] .f-account-layout,body[data-page=profile]:has(.x-inbox) .f-account-layout{display:block}.f-account-nav{display:flex;flex-wrap:wrap;gap:0;align-items:center;margin:0 0 25px;border-bottom:1px solid var(--f-line);padding-bottom:10px}.a-mobile-core{display:flex;flex:1;align-items:center;gap:21px;min-width:0}.a-mobile-core>a{display:flex;align-items:center;gap:4px;position:relative;font-size:12px;color:var(--f-muted);min-height:42px;white-space:nowrap}.a-mobile-core>a.active{color:var(--f-ink);font-weight:600}.a-mobile-core>a.active:after{position:absolute;content:'';left:0;right:0;bottom:-11px;height:2px;background:var(--f-accent)}.a-mobile-core b{font:8px/14px -apple-system,sans-serif;min-width:14px;height:14px;text-align:center;background:var(--f-accent);border-radius:9px;color:white;padding:0 3px}.f-account-menu-button{width:auto;background:none;border:0;padding:7px 0 7px 13px;min-height:42px;font-size:11px}.f-account-menu-button>span:first-child{display:none}.f-account-menu-button>span:last-child{font-size:11px;gap:5px}.f-account-menu-button svg{width:12px;height:12px}.f-account-nav.is-open .f-account-sections{flex-basis:100%;margin-top:10px;padding:18px 10px 10px;border:0;border-top:1px solid var(--f-line);background:transparent;gap:12px 20px}.f-account-nav.is-open .f-account-group+.f-account-group{margin-top:0}.f-account-nav.is-open .f-account-group h3{font-size:10px}.f-account-nav.is-open .f-account-link-item{padding:9px;min-height:42px}
.a-profile-head{gap:16px;flex-wrap:wrap;padding:0 0 23px}.a-profile-avatar .f-avatar.large{width:66px;height:66px}.a-profile-avatar .f-avatar.large>svg{width:28px;height:28px}.a-profile-avatar>span:last-child{width:23px;height:23px}.a-profile-identity{min-width:160px}.a-profile-eyebrow{font-size:9px}.a-profile-identity h1{font-size:24px}.a-profile-handle{font-size:10px;margin-top:3px}.a-profile-bio{font-size:12px;margin-top:8px;line-height:1.75}.a-profile-actions{width:100%;flex-direction:row;align-items:center;justify-content:flex-end;gap:17px;margin-top:1px}.a-profile-actions .f-btn{font-size:11px;min-height:38px;padding:8px 11px}.a-profile-actions .f-textbtn{font-size:11px}.a-profile-actions svg{width:14px;height:14px}
.a-stat-strip{padding:20px 0;margin:0}.a-stat-strip>a{align-items:center;flex-direction:column;gap:7px;padding:0 10px}.a-stat-strip>a:first-child{padding-left:10px}.a-stat-strip strong{font-size:25px}.a-stat-strip span{font-size:11px}.a-overview-columns{display:block}.a-home-section{padding:23px 0 15px}.a-section-head{gap:10px;margin-bottom:9px}.a-section-head h2{font-size:17px}.a-section-head .f-textbtn{font-size:10px}.a-content-row{gap:13px;padding:11px 0}.a-content-thumb{width:102px}.a-content-copy>strong{font-size:13px}.a-content-copy>small{font-size:10px}.a-section-empty{font-size:12px;padding:13px 0 18px;max-width:none}.a-home-section .x-conversation .f-avatar{display:inline-grid;width:35px;height:35px}.a-home-section .x-conversation-meta{display:flex}.a-notice-link{min-height:61px}
.a-page-title{padding:0 0 18px;margin:0 0 22px;align-items:flex-start;gap:13px}.a-page-title h1{font-size:24px}.a-page-title p{font-size:11px;line-height:1.75;margin-top:7px}.a-page-title>.f-textbtn{font-size:10px;white-space:nowrap;min-height:30px;gap:4px}.a-page-title>.f-textbtn svg{width:12px;height:12px}.a-avatar-setting{gap:20px;padding:4px 0 23px}.a-avatar-edit,.a-avatar-edit .f-avatar.large{width:92px;height:92px}.a-avatar-edit .f-avatar.large svg{width:32px;height:32px}.a-avatar-edit-label{font-size:9px;padding:6px 0 8px}.a-avatar-setting h2{font-size:15px}.a-avatar-setting p{font-size:11px;line-height:1.8}.a-avatar-setting .f-help{font-size:10px}.a-profile-fields{padding-top:25px;gap:23px}.a-profile-fields label{font-size:12px}.a-profile-fields input,.a-profile-fields textarea{font-size:16px;padding:11px 12px}.a-field-help{font-size:9px;gap:8px}.a-profile-save .f-btn{min-height:44px;font-size:12px}.a-profile-save>span{font-size:10px}.a-blocks{margin-top:25px;padding-top:24px}.a-block-row{gap:10px}.a-block-row .f-btn{font-size:11px;min-height:40px;padding:8px 11px}
body[data-page=profile]:has(.x-inbox) .f-account-nav{margin-bottom:0}.x-inbox{border:0;border-radius:0;display:block;height:auto;max-height:none;min-height:0;margin:0 -18px;background:transparent}.x-inbox-sidebar{background:transparent}.a-inbox-controls{position:static;background:transparent;padding:0 18px}.x-inbox-title{background:transparent;padding:20px 0 15px;min-height:85px}.x-inbox-title h1{font-size:25px}.x-inbox-title p{font-size:11px;margin-top:4px}.x-inbox-title .f-iconbtn{min-width:42px;min-height:42px}.a-inbox-search{min-height:43px;margin-bottom:10px;padding:0 12px;background:var(--f-paper)}.a-inbox-search input{font-size:14px}.a-inbox-search button{height:42px}.a-inbox-tabs{gap:27px}.a-inbox-tabs button{font-size:13px;min-height:43px}.x-conversation{padding:18px;gap:12px;background:var(--f-bg)}.x-conversation .f-avatar{display:inline-grid;width:44px;height:44px}.x-conversation-copy strong{font-size:14px}.x-conversation-copy small{font-size:12px}.x-conversation-meta time{font-size:9px;max-width:54px}.x-conversation.active{background:var(--f-soft)}.x-conversations-empty{padding:50px 33px 55px;min-height:0}.x-conversations-empty h2{font-size:17px}.x-conversations-empty p{font-size:12px;max-width:260px}.x-conversations-empty>svg{margin-bottom:18px}
body.x-chat-page .f-shell{padding:0!important}body.x-chat-page .x-inbox{margin:0;height:100dvh;max-height:none;min-height:0;background:var(--f-paper)}body.x-chat-page .a-mobile-core{display:none}.x-chat-header{padding:12px 10px;gap:7px;min-height:69px}.x-chat-person{gap:9px;min-width:0}.x-chat-person .f-avatar{display:inline-grid;width:33px;height:33px}.x-chat-person strong{font-size:13px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-chat-person small{font-size:10px}.x-chat-back{min-width:36px;width:36px;height:42px}.a-chat-tools .f-iconbtn{min-width:38px;width:38px;height:42px}.a-chat-tools svg{width:17px;height:17px}.x-message-scroll{padding:12px 15px 22px}.x-message-bubble{font-size:14px;padding:10px 13px;max-width:88%}.a-message-day{font-size:10px;margin:13px 0 23px}.a-message-meta{font-size:9px;gap:7px}.a-message-meta time{font-size:9px}.x-message-form{padding:12px 12px calc(10px + env(safe-area-inset-bottom))}.x-message-compose{gap:9px}.x-message-compose textarea{font-size:16px;min-height:45px;max-height:135px;padding:10px}.x-message-compose button{min-width:61px;min-height:44px;font-size:12px;padding:9px 12px}.a-compose-meta{margin-top:6px}.a-compose-meta .x-message-footnote{display:none}.a-compose-meta>#message-length{margin-left:auto;font-size:9px}.x-message-form.is-closed .x-message-footnote{display:block;font-size:10px;line-height:1.6}.x-message-form.is-closed #message-length{display:none}.a-new-messages{bottom:118px;min-height:35px;font-size:11px}#message-error .f-textbtn{min-height:30px}.a-chat-search-panel{padding:15px;min-height:0}.a-record-search{gap:6px}.a-record-search input{font-size:16px;padding:9px 10px}.a-record-search .f-btn{padding:8px 10px;min-height:42px}.a-record-search .f-iconbtn{min-width:33px;width:33px}.a-search-readonly{font-size:10px;margin:10px 0 18px}.a-search-message{padding:16px 0}.a-search-message>p{font-size:14px}.a-chat-options{min-width:0}.a-option-row{padding:19px 0}.a-option-row small{font-size:11px}
}
@media(max-width:360px){body[data-page=profile] .f-shell{padding-left:15px;padding-right:15px}.a-mobile-core{gap:17px}.a-mobile-core>a{font-size:11px}.f-account-menu-button{padding-left:9px}.a-profile-head{gap:12px}.a-profile-identity{min-width:145px}.a-profile-identity h1{font-size:22px}.a-profile-avatar .f-avatar.large{width:60px;height:60px}.a-profile-actions{justify-content:flex-start;margin-left:72px;width:calc(100% - 72px);gap:12px}.a-profile-actions .f-btn{font-size:10px;padding:8px 10px}.a-profile-actions .f-textbtn{font-size:10px}.a-content-thumb{width:90px}.a-page-title{flex-wrap:wrap;gap:4px}.a-avatar-setting{gap:15px}.a-avatar-edit,.a-avatar-edit .f-avatar.large{width:78px;height:78px}.a-avatar-setting h2{font-size:14px}.a-avatar-setting .f-help{font-size:9px}.a-profile-fields{gap:21px}.x-inbox{margin-inline:-15px}.a-inbox-controls{padding-inline:15px}.x-conversation{padding-inline:15px}.x-conversation-copy strong{font-size:13px}.x-conversation-copy small{font-size:11px}.x-chat-person strong{max-width:110px}.a-chat-tools .f-iconbtn{min-width:34px;width:34px}.x-chat-header{gap:3px}.x-chat-person .f-avatar{width:30px;height:30px}.a-block-row .f-avatar{display:none}}
/* Explicit boundaries for the legacy account form styles. */
.f-account-body .a-avatar-edit .f-avatar.large{width:112px;height:112px}
#conversation-search-form input{border:0;border-radius:0;background:transparent;padding:6px 0;font-size:11px;outline:none;line-height:1.7}

@media(max-width:600px){
  body[data-page=profile]:has(.a-profile-head) .f-shell{padding-top:16px}
  body[data-page=profile] .a-profile-head{display:grid;grid-template-columns:66px minmax(0,1fr);gap:0 16px;padding:5px 0 22px}
  body[data-page=profile] .a-profile-avatar{grid-column:1;align-self:center}
  body[data-page=profile] .a-profile-avatar .f-avatar.large{width:66px;height:66px}
  body[data-page=profile] .a-profile-identity{grid-column:2;min-width:0}
  body[data-page=profile] .a-profile-identity h1{font-size:22px}
  body[data-page=profile] .a-profile-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:10px;width:100%;margin:21px 0 0}
  body[data-page=profile] .a-profile-actions .f-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;margin:0;padding:8px 12px;border:1px solid var(--f-line);border-radius:4px;background:transparent;color:var(--f-ink);font-size:12px}
  body[data-page=profile] .a-profile-actions .a-profile-logout{display:flex;color:var(--f-accent)}
  body[data-page=profile] .a-profile-actions .f-textbtn{display:none}
  body[data-page=profile] .a-stat-strip{padding:19px 0 22px}
  body[data-page=profile] .a-stat-strip strong{font-size:24px}
  body[data-page=profile] .a-home-section{padding:20px 0 17px}
  body[data-page=profile] .a-home-section .a-section-head{margin-bottom:23px}
  body[data-page=profile] .a-home-section .a-section-head h2{font-size:17px}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-row{display:block;padding:0 0 25px}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-thumb{display:block;width:100%;aspect-ratio:2/1;margin:0 0 15px;border-radius:4px}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-copy{display:block}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-copy>.f-status{display:inline-block;margin:0 8px 0 0;vertical-align:middle}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-copy>strong{display:inline;font:400 16px/1.55 Georgia,"Songti SC",serif}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-copy>small{margin-top:13px;font-size:11px}
  body[data-page=profile] .a-overview-columns>div:first-child>.a-home-section:first-child .a-content-row>svg{display:none}
}
#chat-search-form input{border-radius:6px;padding:10px 12px;font-size:13px}
@media(max-width:760px){.f-account-body .a-avatar-edit .f-avatar.large{width:92px;height:92px}#conversation-search-form input{font-size:14px;padding:7px 0}#chat-search-form input{font-size:16px;padding:9px 10px}}
@media(max-width:360px){.f-account-body .a-avatar-edit .f-avatar.large{width:78px;height:78px}}

/* A quiet edit affordance stays attached to the full-size avatar. */
.a-avatar-edit{overflow:visible}.a-avatar-edit-label{left:auto;right:-1px;bottom:1px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid var(--f-line);border-radius:50%;background:var(--f-paper);color:var(--f-ink)}.a-avatar-edit-label svg{width:13px;height:13px}
@media(max-width:760px){.a-avatar-edit,.f-account-body .a-avatar-edit .f-avatar.large{width:96px;height:96px}.a-avatar-edit-label{width:26px;height:26px;padding:0}.a-avatar-edit-label svg{width:12px;height:12px}}
@media(max-width:360px){.a-avatar-edit,.f-account-body .a-avatar-edit .f-avatar.large{width:88px;height:88px}}
#message-form .x-message-compose textarea{border:0;border-radius:6px;background:var(--f-bg);min-height:45px;padding:10px 12px;font-size:14px;line-height:1.7}
@media(max-width:760px){#message-form .x-message-compose textarea{font-size:16px;padding:10px}}

/* Followed authors share the prototype's compact identity card layout. */
.a-following .a-section-head{margin-bottom:20px}.a-following-total{color:var(--f-muted);font-size:12px;white-space:nowrap}
.a-following-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.a-following-card{display:grid;grid-template-columns:72px minmax(0,1fr) 84px;align-items:center;gap:16px;min-width:0;padding:20px;border:1px solid var(--f-line);border-radius:14px;background:var(--f-paper)}
.a-following-avatar{display:block;width:72px;height:72px}.a-following-avatar .f-avatar.large{display:inline-grid;width:72px;height:72px;font-size:30px;border-radius:50%;overflow:hidden}.a-following-avatar .f-avatar-fallback{background:var(--following-avatar-color,#4bb47b);color:#fff;text-transform:uppercase}
.a-following-copy{min-width:0}.a-following-copy h3{display:flex;align-items:center;gap:6px;margin:0;font-size:16px;font-weight:600;line-height:1.5}.a-following-copy h3>a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.a-following-verified{display:inline-grid;place-items:center;flex-shrink:0;width:16px;height:16px;border-radius:50%;background:var(--f-accent);color:#fff}.a-following-verified svg{width:11px;height:11px;stroke-width:3}
.a-following-copy p{margin:5px 0 0;color:var(--f-muted);font-size:12px;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.a-following-copy small{display:block;margin-top:7px;color:var(--f-muted);font-size:11px;line-height:1.5}
.a-following-actions{display:grid;gap:8px}.a-following-actions .f-btn.small{justify-content:center;width:100%;min-height:34px;padding:6px 10px;border:1px solid var(--f-line);border-radius:4px;background:transparent;color:var(--f-ink);font-size:11px;white-space:nowrap}
@media(max-width:1100px){.a-following-grid{grid-template-columns:1fr;max-width:620px}}
@media(max-width:760px){.a-following .a-section-head{margin-bottom:16px}.a-following-card{grid-template-columns:58px minmax(0,1fr) 70px;gap:12px;padding:16px;border-radius:12px}.a-following-avatar,.a-following-avatar .f-avatar.large{width:58px;height:58px}.a-following-avatar .f-avatar.large{font-size:24px}.a-following-copy h3{font-size:14px}.a-following-copy p{font-size:11px}.a-following-copy small{font-size:10px;margin-top:5px}.a-following-actions{gap:7px}.a-following-actions .f-btn.small{min-height:36px;padding:6px 8px}}
@media(max-width:360px){.a-following-card{grid-template-columns:48px minmax(0,1fr) 64px;gap:9px;padding:12px}.a-following-avatar,.a-following-avatar .f-avatar.large{width:48px;height:48px}.a-following-avatar .f-avatar.large{font-size:22px}.a-following-copy h3{font-size:13px}}

.f-following-recommendations>.f-feed-heading{margin:25px 0 20px;padding:0;border:0}.f-following-recommendations>.f-feed-heading h2{font-family:inherit;font-size:20px}
.f-following-recommendations .a-following-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.f-following-recommendations+.f-empty{margin-top:36px}
.f-following-recommendations .a-following-actions .f-btn.primary{background:var(--f-accent);border-color:var(--f-accent);color:#fff}
@media(max-width:760px){.f-following-recommendations .a-following-grid{grid-template-columns:1fr}.f-following-recommendations .a-following-card{grid-template-columns:72px minmax(0,1fr) 76px;gap:12px;padding:14px}.f-following-recommendations .a-following-avatar,.f-following-recommendations .a-following-avatar .f-avatar.large{width:72px;height:72px}.f-following-recommendations .a-following-avatar .f-avatar.large{font-size:30px}.f-following-recommendations .a-following-copy h3{font-size:16px}.f-following-recommendations .a-following-copy p{font-size:12px}.f-following-recommendations .a-following-copy small{font-size:11px}}
