/* Unified V8 design layer: social network + business workspace */
:root {
  --ui-brand:#3b5998; --ui-brand-dark:#2f477a; --ui-brand-mid:#6d84b4;
  --ui-brand-soft:#eef2f7; --ui-bg:#edf0f4; --ui-paper:#fff;
  --ui-text:#24272c; --ui-muted:#6f7580; --ui-line:#d5dbe4;
  --ui-success:#41835a; --ui-danger:#b94a48;
  --ui-shadow:0 1px 2px rgba(23,35,56,.08); --ui-radius:6px;
  --ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

html,body{min-width:320px;background:var(--ui-bg);color:var(--ui-text);font-family:var(--ui-font);-webkit-font-smoothing:antialiased}
*,*:before,*:after{box-sizing:border-box}
a{color:var(--ui-brand)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(59,89,152,.24)!important;outline-offset:2px}
input,textarea,select,button{font-family:var(--ui-font)}

/* Shared social shell */
body.classic-ui{margin:0!important;font-size:13px!important;line-height:1.45!important}
#book{width:min(1180px,calc(100% - 24px))!important;max-width:none!important;margin:0 auto!important;padding-top:52px!important;background:transparent!important;border:0!important;box-shadow:none!important}
#pageheader{position:fixed!important;z-index:100!important;inset:0 0 auto!important;width:auto!important;height:52px!important;padding:0 max(12px,calc((100vw - 1180px)/2))!important;background:var(--ui-brand)!important;border:0!important;border-bottom:1px solid #29487d!important;box-shadow:0 1px 2px rgba(0,0,0,.15)!important;display:grid!important;grid-template-columns:176px minmax(260px,520px) 1fr!important;gap:12px!important;align-items:center!important}
#homelink{position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:none!important}
#homelink a{display:flex!important;align-items:center!important;gap:9px!important;color:#fff!important;font-size:18px!important;font-weight:750!important;text-decoration:none!important}
.brandmark{width:29px;height:29px;border-radius:4px;background:#fff;color:var(--ui-brand);display:grid;place-items:center;font:700 18px Georgia,serif}
.global-search{position:relative;margin:0!important}.global-search svg{position:absolute;left:9px;top:9px;width:14px;height:14px;fill:none;stroke:#777;stroke-width:1.8}.global-search input{width:100%;height:32px;padding:0 10px 0 30px;border:1px solid #29487d;border-radius:4px;background:#fff;font-size:12px;outline:0}
#gnav{position:static!important;width:auto!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:2px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;list-style:none!important}
#gnav li{float:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
#gnav a,#gnav .linkish{display:flex!important;align-items:center!important;min-height:34px!important;padding:0 9px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#fff!important;font-size:11px!important;font-weight:650!important;text-decoration:none!important;cursor:pointer!important}
#gnav a:hover,#gnav .linkish:hover{background:rgba(20,40,80,.25)!important}
.gnav-logout{margin:0!important}
body.is-guest #pageheader{grid-template-columns:176px 1fr!important}
body.is-guest #gnav{grid-column:2!important}
body.welcome #sidebar,body.auth-page #sidebar{display:none!important}
body.welcome #pagebody,body.auth-page #pagebody{margin-left:0!important}
body.auth-page #pagebody{max-width:720px!important;margin:0 auto!important;padding-top:38px!important}
body.auth-page #pagebody>#header{text-align:center!important;margin-bottom:14px!important}
body.auth-page #content{display:flex!important;flex-direction:column!important;align-items:center!important}

#sidebar{position:sticky!important;top:64px!important;float:left!important;width:176px!important;min-height:calc(100vh - 76px)!important;margin:0 18px 0 0!important;padding:13px 0!important;background:transparent!important;border:0!important}
#qsearch{display:none!important}
#snav{padding:0!important;background:none!important;border:0!important}
#snav>a,#snav .snav-profile{display:flex!important;align-items:center!important;min-height:34px!important;margin:0 0 2px!important;padding:7px 9px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#34383f!important;font-size:12px!important;text-decoration:none!important}
#snav>a:hover,#snav>a.is-on{background:#d8dfea!important;color:var(--ui-brand-dark)!important}
#snav>a.is-on{font-weight:650!important}
#snav .snav-profile{margin-bottom:8px!important;border-bottom:1px solid rgba(0,0,0,.08)!important;border-radius:0!important;font-weight:650!important}
#snav .snav-profile a{color:var(--ui-text)!important}.snav-profile .edit{margin-left:auto!important;font-size:10px!important}
#snav .nav-business{margin:6px 0!important;background:var(--ui-brand)!important;color:#fff!important;font-weight:650!important}
#snav .nav-business:before{content:"◆";margin-right:9px;font-size:10px;color:#fff}
.snav-more-toggle{display:flex!important;align-items:center!important;min-height:34px!important;padding:7px 9px!important;border-radius:4px!important;color:var(--ui-muted)!important;font-size:12px!important;cursor:pointer!important}.snav-more-toggle:hover{background:#dfe4eb!important}
.snav-more-panel{border:1px solid var(--ui-line)!important;border-radius:4px!important;background:#fff!important;box-shadow:0 8px 20px rgba(23,35,56,.12)!important;padding:5px!important}.snav-more-panel a{padding:6px 8px!important;border-radius:3px!important}

#pagebody{float:none!important;width:auto!important;min-height:calc(100vh - 52px)!important;margin-left:194px!important;padding:18px 0 48px!important;background:transparent!important;border:0!important}
#pagebody>#header,#pagebody .page-header{margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important}
#pagebody>#header h1,#pagebody .page-header h1{margin:0!important;color:#222!important;font-size:20px!important;line-height:1.2!important;font-weight:720!important}
#content{float:none!important;width:auto!important;padding:0!important}
#footer{clear:both!important;margin-left:194px!important;padding:18px 0 28px!important;border-top:1px solid var(--ui-line)!important;color:var(--ui-muted)!important}

/* Guest and authentication screens */
body.is-guest #sidebar #nav{margin:0!important;padding:7px!important;border:1px solid var(--ui-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:var(--ui-shadow)!important;list-style:none!important}
body.is-guest #sidebar #nav li{margin:0!important;padding:0!important;border:0!important}
body.is-guest #sidebar #nav a{display:block!important;padding:8px 10px!important;border-radius:4px!important;color:#34383f!important;text-decoration:none!important}
body.is-guest #sidebar #nav a:hover{background:var(--ui-brand-soft)!important;color:var(--ui-brand-dark)!important}
#squicklogin{padding:14px!important;border:1px solid var(--ui-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:var(--ui-shadow)!important}
#squicklogin label{display:block!important;margin:0 0 4px!important;color:#525861!important;font-size:11px!important;font-weight:650!important}
#squicklogin input[type=text],#squicklogin input[type=password]{width:100%!important;margin:0 0 9px!important}
#squicklogin .buttons{text-align:right!important}
body.welcome #pagebody{padding-top:18px!important}
body.welcome #pagebody>#header{padding:0 0 12px!important}
body.welcome #content{border:1px solid var(--ui-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:var(--ui-shadow)!important;overflow:hidden!important}
.welcome-hero{min-height:265px!important;padding:48px clamp(28px,8vw,100px)!important;background:linear-gradient(135deg,#3b5998 0%,#496bb1 58%,#29487d 100%)!important;text-align:center!important;color:#fff!important}
.welcome-hero h2{max-width:760px!important;margin:0 auto 14px!important;color:#fff!important;font-size:30px!important;line-height:1.15!important;letter-spacing:-.5px!important}
.welcome-hero p{max-width:690px!important;margin:0 auto 24px!important;color:rgba(255,255,255,.86)!important;font-size:14px!important;line-height:1.55!important}
.welcome-cta-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 24px!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:5px!important;background:#fff!important;color:var(--ui-brand-dark)!important;box-shadow:0 4px 12px rgba(20,40,80,.2)!important;font-size:13px!important;font-weight:700!important;text-decoration:none!important}
.welcome-cta-btn:hover{transform:translateY(-1px);text-decoration:none!important}
.welcome-actions{display:flex!important;justify-content:center!important;gap:9px!important;flex-wrap:wrap!important}.welcome-cta-secondary{background:transparent!important;color:#fff!important;box-shadow:none!important}.welcome-cta-secondary:hover{background:rgba(255,255,255,.1)!important}
.welcome-features{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:24px 30px!important}
.welcome-feature{padding:14px 18px!important;border:0!important}
.welcome-feature h3{margin:0 0 6px!important;color:var(--ui-brand-dark)!important;font-size:14px!important}
.welcome-feature p{margin:0!important;color:#555c66!important;line-height:1.55!important}
.welcome-foot{margin:0 30px!important;padding:18px!important;border-top:1px solid var(--ui-line)!important;color:#515862!important}
.welcome-foot p{margin:3px 0!important}
.auth-box,.reg-wrap{width:100%!important;max-width:560px!important;padding:28px!important;border:1px solid var(--ui-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:0 8px 28px rgba(23,35,56,.1)!important}
.auth-box .formtable,.reg-wrap .formtable{width:100%!important;box-shadow:none!important;border:0!important;overflow:visible!important}
.auth-box .formtable td,.reg-wrap .formtable td{padding:7px!important;border:0!important}
.auth-box .formtable td.label,.reg-wrap .formtable td.label{width:150px!important;color:#515862!important;font-weight:650!important}
.auth-box input[type=text],.auth-box input[type=password],.reg-wrap input[type=text],.reg-wrap input[type=password]{width:100%!important;max-width:380px!important}

/* Existing screens become one coherent component system */
.profile-box,.feed-story,.story,.wallpost,.note,.event-item,.group-item,.photo-box,.classic-card,.formtable,.dialog,.tabs,.subtabs{border-color:var(--ui-line)!important;border-radius:var(--ui-radius)!important;box-shadow:var(--ui-shadow)!important;background:var(--ui-paper)!important;overflow:hidden}
.profile-box h4,.box h4,.feed-rail h4{padding:9px 11px!important;background:#f5f6f8!important;border-bottom:1px solid var(--ui-line)!important;color:#4a4f56!important;font-size:11px!important}
.profile-box-body{padding:10px!important}
.feed-content{display:grid!important;grid-template-columns:minmax(0,650px) minmax(220px,260px)!important;gap:14px!important;align-items:start!important}.feed-content>.subtabs,.feed-content>.feed-list-links,.feed-content>.flash{grid-column:1/-1!important}.feed-main{width:auto!important}.feed-rail{width:auto!important;display:grid!important;gap:10px!important}
.feed-story,.feed-item,.wallpost{margin-bottom:10px!important;background:#fff!important;border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius)!important;box-shadow:var(--ui-shadow)!important;padding:11px!important}
.inputtext,input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=number],textarea,select{border:1px solid #c9d0da!important;border-radius:4px!important;background:#fff!important;padding:7px 9px!important;color:var(--ui-text)!important}
.inputsubmit,input[type=submit],button,.button,.ui-button{min-height:32px;padding:0 11px;border:1px solid var(--ui-brand)!important;border-radius:4px!important;background:var(--ui-brand-mid)!important;color:#fff!important;font-size:11px!important;font-weight:650!important;cursor:pointer}
.inputsubmit:hover,input[type=submit]:hover,button:hover,.button:hover{background:var(--ui-brand)!important}
.subtabs{display:flex!important;gap:3px!important;padding:4px!important}.subtabs>div{float:none!important}.subtabs a{display:block!important;padding:7px 10px!important;border-radius:3px!important;text-decoration:none!important}.subtabs .activetab a{background:var(--ui-brand)!important;color:#fff!important}
.muted{color:var(--ui-muted)!important}

/* Business area uses the same visual language */
body.anomalio{--an-primary:var(--ui-brand-dark);--an-primary-light:var(--ui-brand);--an-accent:var(--ui-brand);--an-accent-hover:var(--ui-brand-dark);--an-accent-deep:#29487d;--an-accent-subtle:var(--ui-brand-soft);--an-accent-muted:#d8dfea;--an-bg:var(--ui-bg);--an-surface:var(--ui-paper);--an-border:var(--ui-line);--an-text:var(--ui-text);--an-text-secondary:var(--ui-muted);--an-sidebar-bg:#f6f7f9;--an-sidebar-border:var(--ui-line);--an-sidebar-text:#34383f;--an-sidebar-text-muted:#7b818a;--an-sidebar-hover:#dfe4eb;--an-sidebar-active:#d8dfea;--an-sidebar-active-text:var(--ui-brand-dark);--an-sidebar-w:224px;--an-header-h:52px;--an-radius:6px;--an-radius-sm:5px;--an-radius-xs:4px;--an-shadow-card:var(--ui-shadow);font-family:var(--ui-font)!important}
.an-layout{overflow-x:hidden!important}.an-main{min-width:0!important}
.an-sidebar{border-right:1px solid var(--ui-line)!important;box-shadow:none!important}.an-sidebar-brand{height:52px!important;padding:0 16px!important;background:var(--ui-brand)!important;border-color:#29487d!important}.an-sidebar-logo{width:29px!important;height:29px!important;border-radius:4px!important;background:#fff!important;color:var(--ui-brand)!important}.an-sidebar-brand-name,.an-sidebar-brand-sub{color:#fff!important}.an-sidebar-brand-name{font-size:15px!important}.an-sidebar-brand-sub{opacity:.72!important}
.an-sidebar-nav{padding:12px 9px!important}.an-nav-section{color:#8b9098!important;font-size:9px!important;letter-spacing:.07em!important}.an-nav-item{min-height:35px!important;border-radius:4px!important;color:#34383f!important;font-size:12px!important}.an-nav-item svg{color:#58709b!important}.an-nav-item:hover{background:#dfe4eb!important}.an-nav-item.active{background:#d8dfea!important;color:var(--ui-brand-dark)!important;font-weight:650!important}.an-nav-item.active:before{display:none!important}
.an-sidebar-footer{background:#eef1f5!important;border-color:var(--ui-line)!important}.an-sidebar-user-name{color:var(--ui-text)!important}.an-sidebar-user-role{color:var(--ui-muted)!important}.an-mode-switch{background:#fff!important;color:var(--ui-brand)!important;border-color:var(--ui-line)!important}
.an-header{height:52px!important;background:var(--ui-brand)!important;border-color:#29487d!important;box-shadow:0 1px 2px rgba(0,0,0,.15)!important}.an-header-title{color:#fff!important;font-size:16px!important}.an-header .an-btn{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.25)!important;color:#fff!important}.an-content{max-width:1180px!important;padding:18px 22px 48px!important}.an-card,.an-stat-card,.an-panel,.an-widget{border-color:var(--ui-line)!important;border-radius:6px!important;box-shadow:var(--ui-shadow)!important}.an-btn-primary{background:var(--ui-brand)!important;border-color:var(--ui-brand)!important}.an-avatar{background:var(--ui-brand)!important}
.an-onboarding{min-height:calc(100vh - 88px)!important;padding:16px!important;overflow:hidden!important;background:transparent!important}
.an-onboarding-card{max-width:620px!important;padding:28px!important;border-radius:6px!important;box-shadow:var(--ui-shadow)!important}
.an-onboarding-brand{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:22px!important;padding-bottom:18px!important;border-bottom:1px solid var(--ui-line)!important}
.an-onboarding-brand .an-sidebar-logo{flex:0 0 auto!important;background:var(--ui-brand)!important;color:#fff!important}
.an-onboarding-brand h1{margin:0!important;color:var(--ui-text)!important;font-size:18px!important;line-height:1.2!important}.an-onboarding-brand p{margin:3px 0 0!important;color:var(--ui-muted)!important;font-size:11px!important}
.an-progress{margin-bottom:22px!important}.an-progress-bar{margin-bottom:7px!important;background:#e5e9ef!important}.an-progress-fill{background:var(--ui-brand)!important}.an-progress-label{display:flex!important;justify-content:space-between!important;color:var(--ui-muted)!important;font-size:10px!important}
.an-step-header{margin-bottom:16px!important}.an-step-title{margin:0!important;font-size:18px!important}
.an-option-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.an-option-card{display:flex!important;align-items:center!important;gap:10px!important;min-height:70px!important;padding:12px!important;border:1px solid var(--ui-line)!important;border-radius:5px!important;background:#fff!important;cursor:pointer!important;transition:border-color .15s,background .15s,box-shadow .15s!important}
.an-option-card:last-child:nth-child(odd){grid-column:1/-1!important}.an-option-card:hover{border-color:var(--ui-brand-mid)!important;background:#fafbfc!important}.an-option-card.selected{border-color:var(--ui-brand)!important;background:var(--ui-brand-soft)!important;box-shadow:0 0 0 2px rgba(59,89,152,.08)!important}
.an-option-card input{position:absolute!important;opacity:0!important;pointer-events:none!important}.an-option-card .option-icon{width:38px!important;height:38px!important;flex:0 0 auto!important;display:grid!important;place-items:center!important;border-radius:4px!important;background:#e9edf4!important;color:var(--ui-brand)!important}.an-option-card .option-icon svg{width:19px!important;height:19px!important}.an-option-card .option-label{font-size:12px!important;font-weight:650!important;color:#34383f!important}

@media(max-width:800px){
  #book{width:100%!important;padding-top:52px!important}#pageheader{grid-template-columns:auto 1fr!important;padding:0 10px!important}.global-search{display:none!important}#gnav{gap:0!important}#gnav a,#gnav .linkish{padding:0 7px!important}.nav-search-link,#gnav li:nth-last-child(2){display:none!important}
  #sidebar{position:static!important;float:none!important;width:auto!important;min-height:0!important;margin:0!important;padding:8px 10px!important}#snav{display:flex!important;gap:4px!important;overflow-x:auto!important}#snav>a,#snav .snav-profile{white-space:nowrap!important;margin:0!important}.snav-more{display:none!important}
  #pagebody{margin:0!important;padding:10px!important}.feed-content{grid-template-columns:1fr!important}.feed-rail{display:none!important}#footer{margin:0!important;padding:16px 10px 70px!important}
  .an-content{padding:12px 10px 70px!important}.an-header{padding:0 10px!important}.an-onboarding-card{padding:20px!important}
  body.is-guest #sidebar{display:none!important}.welcome-hero{min-height:0!important;padding:34px 20px!important}.welcome-hero h2{font-size:25px!important}.welcome-features{padding:16px!important}.welcome-foot{margin:0 16px!important}.auth-box,.reg-wrap{max-width:none!important}
}
@media(max-width:520px){#homelink a>span:last-child{display:none!important}#pageheader,body.is-guest #pageheader{grid-template-columns:40px 1fr!important}#gnav li:first-child{display:none!important}.feed-content{display:block!important}.feed-main{width:100%!important}.welcome-features{grid-template-columns:1fr!important}.welcome-feature{padding:11px 8px!important}.auth-box,.reg-wrap{padding:15px!important}.auth-box .formtable,.auth-box .formtable tbody,.auth-box .formtable tr,.auth-box .formtable td,.reg-wrap .formtable,.reg-wrap .formtable tbody,.reg-wrap .formtable tr,.reg-wrap .formtable td{display:block!important;width:100%!important}.auth-box .formtable td.label,.reg-wrap .formtable td.label{width:100%!important;padding-bottom:2px!important}.an-option-grid{grid-template-columns:1fr!important}.an-option-card:last-child:nth-child(odd){grid-column:auto!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Standalone authentication screens */
body.auth-standalone{margin:0!important;min-height:100vh!important;background:#fff!important;color:var(--ui-text)!important;font-family:var(--ui-font)!important;font-size:13px!important;line-height:1.45!important}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) 460px;background:#fff}.auth-brand-panel{padding:46px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#3b5998 0%,#34518c 58%,#29487d 100%);color:#fff;overflow:hidden;position:relative}.auth-brand-panel:after{content:"";position:absolute;width:520px;height:520px;right:-220px;bottom:-230px;border-radius:50%;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018);pointer-events:none}
.auth-logo{position:relative;z-index:1;display:flex;align-items:center;gap:10px;width:max-content;color:#fff;text-decoration:none!important;font-size:19px}.auth-logo>span{width:31px;height:31px;display:grid;place-items:center;border-radius:4px;background:#fff;color:var(--ui-brand);font:700 19px Georgia,serif}.auth-logo strong{font-weight:750}.auth-promise{position:relative;z-index:1;max-width:650px}.auth-kicker{margin-bottom:14px;color:#d8dfea;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.auth-promise h1{max-width:650px;margin:0 0 20px;color:#fff;font-size:clamp(42px,5vw,68px);line-height:.98;letter-spacing:-2.2px}.auth-promise p{max-width:520px;margin:0;color:#d8dfea;font-size:14px;line-height:1.65}.auth-brand-panel small{position:relative;z-index:1;color:#afbdd4}
.auth-form-panel{padding:34px;display:flex;align-items:center;justify-content:center;background:#f0f2f5}.auth-form-card{width:100%;padding:26px;border:1px solid var(--ui-line);border-radius:6px;background:#fff;box-shadow:0 8px 30px rgba(23,35,56,.12)}.auth-form-card h2{margin:0 0 7px;color:#24272c;font-size:23px;line-height:1.2}.auth-lead{margin:0 0 20px;color:var(--ui-muted);font-size:12px;line-height:1.55}.auth-field{display:block;margin:0 0 13px}.auth-field>span{display:block;margin-bottom:5px;color:#464c55;font-size:11px;font-weight:650}.auth-field>small{display:block;margin-top:4px;color:var(--ui-muted);font-size:10px}.auth-field input{display:block;width:100%!important;height:40px!important;padding:0 11px!important;border:1px solid #c9d0da!important;border-radius:4px!important;background:#fff!important;color:#222!important;font-size:13px!important;outline:0}.auth-field input:focus{border-color:var(--ui-brand-mid)!important;box-shadow:0 0 0 3px rgba(59,89,152,.11)!important}
.auth-primary,.auth-secondary{width:100%;min-height:40px;display:flex;align-items:center;justify-content:center;border-radius:4px;font-size:12px;font-weight:700;text-decoration:none!important}.auth-primary{border:1px solid var(--ui-brand)!important;background:var(--ui-brand)!important;color:#fff!important}.auth-primary:hover{background:var(--ui-brand-dark)!important}.auth-secondary{border:1px solid #b9c0ca;background:#fff;color:#34383f}.auth-secondary:hover{background:#f6f7f9}.auth-divider{display:flex;align-items:center;gap:9px;margin:14px 0;color:#9297a0;font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--ui-line)}.auth-forgot{display:block;margin-top:16px;text-align:center;font-size:11px}.auth-error,.auth-notice{margin:0 0 14px;padding:9px 10px;border:1px solid #e0b8b7;border-radius:4px;background:#fff4f4;color:#9f3937;font-size:11px}.auth-notice{border-color:#b8c9df;background:#f1f5fa;color:#42577f}.auth-check{display:flex;align-items:flex-start;gap:8px;margin:2px 0 15px;color:#555c66;font-size:11px}.auth-check input{margin-top:2px;accent-color:var(--ui-brand)}.auth-login-link{margin-top:16px;text-align:center;color:var(--ui-muted);font-size:11px}.auth-register .auth-shell{grid-template-columns:minmax(0,1fr) 520px}.auth-register .auth-form-panel{padding-top:20px;padding-bottom:20px}.auth-register .auth-form-card{padding-top:22px;padding-bottom:22px}
.auth-state-card{text-align:center}.auth-state-card .auth-lead{margin:10px auto 22px;max-width:330px}.auth-state-icon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:#eaf4ed;color:#41835a;font-size:23px;font-weight:800}.auth-state-error{background:#fff0f0;color:#b94a48}
@media(max-width:760px){.auth-shell,.auth-register .auth-shell{grid-template-columns:1fr}.auth-brand-panel{min-height:34vh;padding:26px 20px}.auth-promise h1{font-size:38px;letter-spacing:-1.4px}.auth-promise p{font-size:12px}.auth-form-panel{padding:18px 10px}.auth-form-card{padding:21px}.auth-brand-panel small{display:none}}

/* Minimal full-screen landing */
body.landing-page{margin:0!important;min-height:100vh!important;background:#29487d!important;color:#fff!important;font-family:var(--ui-font)!important;-webkit-font-smoothing:antialiased}
.landing-shell{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;padding:32px clamp(24px,5vw,76px);background:radial-gradient(circle at 72% 42%,rgba(123,151,210,.42) 0%,rgba(79,111,177,.18) 27%,transparent 52%),linear-gradient(135deg,#3f61a8 0%,#355493 44%,#29487d 100%)}
.landing-header{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between}.landing-logo{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none!important;font-size:20px}.landing-logo>span{width:34px;height:34px;display:grid;place-items:center;border-radius:5px;background:#fff;color:#3b5998;font:700 20px Georgia,serif;box-shadow:0 5px 18px rgba(13,29,60,.18)}.landing-logo strong{font-weight:760;letter-spacing:-.2px}.landing-actions{display:flex;align-items:center;gap:8px}.landing-actions a{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:5px;color:#fff;font-size:12px;font-weight:700;text-decoration:none!important}.landing-login{border:1px solid rgba(255,255,255,.28)}.landing-login:hover{background:rgba(255,255,255,.08)}.landing-register{border:1px solid #fff;background:#fff;color:#345493!important;box-shadow:0 5px 18px rgba(13,29,60,.16)}
.landing-hero{position:relative;z-index:2;align-self:center;max-width:790px;padding:70px 0 50px clamp(0px,4vw,54px)}.landing-kicker{margin-bottom:20px;color:#cfdaef;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.landing-hero h1{margin:0;color:#fff;font-size:clamp(58px,7.3vw,108px);font-weight:760;line-height:.89;letter-spacing:clamp(-5px,-.32vw,-2px)}.landing-hero p{max-width:610px;margin:30px 0 0;color:#d8e1f2;font-size:clamp(15px,1.35vw,19px);line-height:1.6}.landing-hero-actions{display:flex;align-items:center;gap:24px;margin-top:34px}.landing-primary{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 24px;border-radius:5px;background:#fff;color:#345493!important;font-size:13px;font-weight:750;text-decoration:none!important;box-shadow:0 8px 24px rgba(13,29,60,.2)}.landing-primary:hover{transform:translateY(-1px)}.landing-text-link{color:#fff!important;font-size:12px;font-weight:650;text-decoration:none!important}.landing-text-link span{display:inline-block;margin-left:6px;transition:transform .15s}.landing-text-link:hover span{transform:translateX(3px)}
.landing-footer{position:relative;z-index:3;display:flex;align-items:center;gap:13px;color:#c2d0e8;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.landing-footer i{width:3px;height:3px;border-radius:50%;background:#8fa6cf}.landing-footer small{margin-left:auto;color:#9fb2d3;font-size:10px;letter-spacing:0;text-transform:none}.landing-orbit{position:absolute;z-index:0;border:1px solid rgba(255,255,255,.105);border-radius:50%;pointer-events:none}.landing-orbit-one{width:min(70vw,900px);height:min(70vw,900px);right:-25vw;top:-29vw;box-shadow:0 0 0 95px rgba(255,255,255,.018),0 0 0 190px rgba(255,255,255,.012)}.landing-orbit-two{width:360px;height:360px;right:16vw;bottom:-265px}.landing-glow{position:absolute;z-index:0;width:460px;height:460px;right:7vw;top:calc(50% - 230px);border-radius:50%;background:rgba(142,169,222,.12);filter:blur(70px);pointer-events:none}
@media(max-width:700px){.landing-shell{padding:22px 18px}.landing-logo strong{font-size:18px}.landing-actions a{min-height:36px;padding:0 11px}.landing-hero{padding:48px 0 36px}.landing-kicker{margin-bottom:15px}.landing-hero h1{font-size:clamp(50px,15vw,72px);letter-spacing:-3px}.landing-hero p{margin-top:23px;font-size:14px}.landing-hero-actions{align-items:flex-start;flex-direction:column;gap:17px;margin-top:28px}.landing-footer>span,.landing-footer>i{display:none}.landing-footer small{margin-left:0}.landing-orbit-one{width:720px;height:720px;right:-520px;top:-300px}}

/* Standalone public pages */
body.public-page{margin:0!important;background:#f4f6f9!important;color:#25282d!important;font-family:var(--ui-font)!important;font-size:13px!important;line-height:1.5!important;-webkit-font-smoothing:antialiased}
.public-header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1160px)/2));border-bottom:1px solid #dce1e8;background:rgba(255,255,255,.94)}.public-logo{display:flex;align-items:center;gap:9px;color:#2f477a!important;font-size:18px;text-decoration:none!important}.public-logo span{width:30px;height:30px;display:grid;place-items:center;border-radius:4px;background:#3b5998;color:#fff;font:700 18px Georgia,serif}.public-logo strong{font-weight:760}.public-nav{display:flex;align-items:center;gap:5px}.public-nav a{min-height:36px;display:flex;align-items:center;padding:0 11px;border-radius:4px;color:#515862!important;font-size:11px;font-weight:650;text-decoration:none!important}.public-nav a:hover,.public-nav .is-active{background:#edf1f6;color:#2f477a!important}.public-nav .public-primary-link{margin-left:4px;background:#3b5998;color:#fff!important}.public-nav .public-primary-link:hover{background:#2f477a;color:#fff!important}
.about-hero{padding:110px max(24px,calc((100vw - 1060px)/2)) 100px;background:linear-gradient(140deg,#3f61a8,#29487d);color:#fff}.about-kicker{margin-bottom:16px;color:#7e8aa0;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.about-hero .about-kicker{color:#c5d2e9}.about-hero h1{max-width:900px;margin:0;color:#fff;font-size:clamp(48px,6.4vw,82px);line-height:.98;letter-spacing:-3px}.about-hero>p{max-width:700px;margin:28px 0 0;color:#d5dff0;font-size:17px;line-height:1.65}
.about-principles{max-width:1160px;margin:-42px auto 0;padding:0 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative}.about-principles article{min-height:230px;padding:26px;border:1px solid #d9dfe7;border-radius:6px;background:#fff;box-shadow:0 8px 25px rgba(23,35,56,.07)}.about-principles article>span{color:#7890bb;font-size:10px;font-weight:750}.about-principles h2{margin:45px 0 9px;font-size:17px}.about-principles p{margin:0;color:#676e78;font-size:12px;line-height:1.65}
.about-story{max-width:1060px;margin:110px auto;padding:0 24px;display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.about-story h2{max-width:390px;margin:0;font-size:34px;line-height:1.12;letter-spacing:-1px}.about-list{border-top:1px solid #cfd5de}.about-list>div{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:20px 0;border-bottom:1px solid #cfd5de}.about-list strong{color:#314f8b;font-size:12px}.about-list p{margin:0;color:#626a75;font-size:12px;line-height:1.65}
.about-cta{max-width:1160px;margin:0 auto 85px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:7px;background:#e5eaf2}.about-cta h2{margin:0;font-size:31px;letter-spacing:-.8px}.about-cta-actions{display:flex;align-items:center;gap:8px}.about-primary,.about-secondary{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:4px;font-size:12px;font-weight:700;text-decoration:none!important}.about-primary{background:#3b5998;color:#fff!important}.about-secondary{border:1px solid #b9c1ce;background:#fff;color:#343941!important}
.public-footer{max-width:1160px;margin:auto;padding:25px 0 35px;display:flex;align-items:center;gap:28px;border-top:1px solid #d4dae3;color:#7b828d;font-size:10px}.public-footer nav{display:flex;gap:18px}.public-footer a{color:#63718a!important;text-decoration:none!important}.public-footer>a{margin-left:auto}
@media(max-width:760px){.public-header{height:auto;min-height:64px;padding:12px 16px}.public-nav a:not(.public-primary-link){display:none}.about-hero{padding:70px 20px 82px}.about-hero h1{font-size:46px;letter-spacing:-2px}.about-hero>p{font-size:14px}.about-principles{grid-template-columns:1fr;margin-top:-30px;padding:0 12px}.about-principles article{min-height:0}.about-principles h2{margin-top:24px}.about-story{margin:70px auto;padding:0 18px;grid-template-columns:1fr;gap:35px}.about-list>div{grid-template-columns:95px 1fr}.about-cta{margin:0 12px 55px;padding:28px 22px;align-items:flex-start;flex-direction:column}.about-cta-actions{width:100%;flex-wrap:wrap}.public-footer{margin:0 16px;padding-bottom:25px;align-items:flex-start;flex-direction:column;gap:12px}.public-footer>a{margin-left:0}}

/* Information, help and legal pages */
.info-shell{max-width:1160px;margin:0 auto;padding:72px 24px 100px}.info-hero{max-width:800px;margin-bottom:48px}.info-hero h1{margin:0;color:#25282d;font-size:clamp(48px,6vw,76px);line-height:1;letter-spacing:-3px}.info-hero>p{max-width:650px;margin:22px 0 0;color:#68717d;font-size:15px;line-height:1.7}.info-tabs{display:flex;gap:5px;margin-bottom:18px;padding:5px;border:1px solid #d9dfe7;border-radius:6px;background:#fff;box-shadow:0 1px 2px rgba(23,35,56,.05)}.info-tabs a{min-height:38px;display:flex;align-items:center;padding:0 15px;border-radius:4px;color:#5d6672!important;font-size:11px;font-weight:700;text-decoration:none!important}.info-tabs a:hover{background:#f1f3f7}.info-tabs .is-active{background:#3b5998;color:#fff!important}.info-content{padding:48px;border:1px solid #d9dfe7;border-radius:7px;background:#fff;box-shadow:0 8px 28px rgba(23,35,56,.055)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.info-card{min-height:310px;padding:30px;border:1px solid #d9dfe7;border-radius:6px;background:#f8f9fb}.info-card-accent{background:#344f8b;color:#fff;border-color:#344f8b}.info-card-label{display:block;margin-bottom:42px;color:#7a8595;font-size:10px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.info-card-accent .info-card-label{color:#c6d2e8}.info-card h2{margin:0 0 14px;font-size:23px;line-height:1.2}.info-card-accent h2{color:#fff}.info-card p{max-width:440px;margin:0;color:#66707c;line-height:1.7}.info-card-accent p{color:#d8e0ef}.info-action{display:inline-flex;gap:10px;margin-top:36px;color:#fff!important;font-size:13px;font-weight:700;text-decoration:none!important}.info-action span{transition:transform .15s}.info-action:hover span{transform:translateX(3px)}.contact-phone{margin-top:12px!important}.contact-details{margin:24px 0 0}.contact-details>div{display:grid;grid-template-columns:85px 1fr;gap:15px;padding:11px 0;border-top:1px solid #dde2e9}.contact-details dt{color:#88919d;font-size:10px;font-weight:700;text-transform:uppercase}.contact-details dd{margin:0;color:#3d434b;font-size:12px}
.legal-document{max-width:850px;margin:0 auto}.legal-intro{margin:0 0 45px;padding:0 0 35px;border-bottom:1px solid #d8dde5;color:#4f5864;font-size:17px;line-height:1.7}.legal-document section{display:grid;grid-template-columns:65px 1fr;gap:20px;padding:25px 0;border-bottom:1px solid #e0e4ea}.legal-document section:last-child{border-bottom:0}.legal-document section>span{color:#7890bb;font-size:10px;font-weight:750}.legal-document h2{margin:0 0 9px;color:#2b3037;font-size:17px}.legal-document p{margin:0;color:#626b76;line-height:1.75}.legal-document a,.help-answers a{font-weight:650;text-decoration:none}
.help-layout{display:grid;grid-template-columns:220px 1fr;gap:65px}.help-index{position:sticky;top:25px;align-self:start;display:flex;flex-direction:column}.help-index>span{margin-bottom:12px;color:#8a929e;font-size:9px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.help-index a{padding:8px 0;color:#55606e!important;font-size:11px;font-weight:650;text-decoration:none!important}.help-index a:hover{color:#2f477a!important}.help-answers section{scroll-margin-top:25px;padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #dce1e8}.help-answers section:last-child{margin:0;padding:0;border:0}.help-answers h2{margin:0 0 10px;color:#2b3037;font-size:19px}.help-answers p{margin:0;color:#626b76;line-height:1.75}
@media(max-width:760px){.info-shell{padding:52px 12px 65px}.info-hero{padding:0 8px;margin-bottom:34px}.info-hero h1{font-size:43px;letter-spacing:-2px}.info-hero>p{font-size:13px}.info-tabs{overflow-x:auto}.info-tabs a{white-space:nowrap;padding:0 12px}.info-content{padding:24px 20px}.contact-grid{grid-template-columns:1fr}.info-card{min-height:0;padding:24px}.info-card-label{margin-bottom:27px}.help-layout{grid-template-columns:1fr;gap:34px}.help-index{position:static;display:grid;grid-template-columns:1fr 1fr;gap:2px 14px;padding-bottom:24px;border-bottom:1px solid #dce1e8}.help-index>span{grid-column:1/-1}.legal-intro{font-size:14px}.legal-document section{grid-template-columns:38px 1fr;gap:10px}.public-footer nav{flex-wrap:wrap}}

/* Modern news feed */
body.feed-modern{background:#f3f5f8!important}
body.feed-modern ul,body.feed-modern ol{margin:0;padding:0;list-style:none}
body.feed-modern form{margin:0}
body.feed-modern img{max-width:100%}
body.feed-modern .inline{display:inline}
body.feed-modern .clear{display:none}
body.feed-modern .flash{margin:0 0 14px;padding:12px 14px;border:1px solid #c7d4e7;border-radius:6px;background:#eef3fa;color:#3e5278}
body.feed-modern #book{width:min(1180px,calc(100% - 24px))!important}
body.feed-modern #sidebar{display:none!important}
body.feed-modern #pagebody{max-width:none!important;margin:0!important;padding:36px 0 60px!important}
body.feed-modern #footer{margin-left:0!important}
body.feed-modern #content,body.feed-modern .feed-modern-content{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
body.feed-modern #pageheader{grid-template-columns:170px minmax(260px,1fr) auto!important}
body.feed-modern #homelink{font-size:inherit!important}
body.feed-modern #gnav{gap:3px!important}
body.feed-modern #gnav a,body.feed-modern #gnav .linkish{padding:0 10px!important;font-size:11px!important}
body.feed-modern .global-search input{height:34px!important;border-color:#29487d!important;border-radius:5px!important}
.feed-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 26px;padding:0 2px!important;background:transparent!important;border:0!important}
.feed-head h1{margin:2px 0 7px!important;color:#20242a!important;font-size:34px!important;font-weight:760!important;line-height:1!important;letter-spacing:-1px}
.feed-head p{margin:0;color:#747c87;font-size:12px}
.feed-eyebrow{color:#6d84b4;font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.feed-head-actions{display:flex;align-items:center;gap:7px}.feed-head-actions a{min-height:38px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid #ccd3dd;border-radius:5px;background:#fff;color:#4d5662!important;font-size:11px;font-weight:700;text-decoration:none!important}.feed-head-actions .feed-head-primary{border-color:#3b5998;background:#3b5998;color:#fff!important}
.feed-modern-content{display:grid!important;grid-template-columns:minmax(0,780px) minmax(260px,330px)!important;justify-content:space-between;gap:24px!important;align-items:start!important}
.feed-modern-content>.flash{grid-column:1/-1}
.feed-stream{min-width:0}.feed-filter-bar{display:flex;gap:4px;margin:0 0 12px;padding:5px;border:1px solid #d9dfe7;border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(23,35,56,.04);overflow-x:auto}.feed-filter-bar a{min-height:36px;display:flex;align-items:center;padding:0 14px;border-radius:4px;color:#66707c!important;font-size:11px;font-weight:700;text-decoration:none!important;white-space:nowrap}.feed-filter-bar a:hover{background:#f0f3f7}.feed-filter-bar a.is-active{background:#e5eaf2;color:#2f477a!important}
.feed-lists{display:flex;align-items:center;gap:6px;margin:0 0 12px;padding:0 3px;overflow-x:auto}.feed-lists>span{margin-right:4px;color:#969da7;font-size:9px;font-weight:750;text-transform:uppercase;white-space:nowrap}.feed-lists a{padding:5px 8px;border-radius:4px;color:#69727d!important;font-size:10px;text-decoration:none!important;white-space:nowrap}.feed-lists a.is-active{background:#dfe5ef;color:#2f477a!important;font-weight:700}
body.feed-modern .feed-main{display:grid!important;width:100%!important;gap:12px}
body.feed-modern .news-item{position:relative;min-height:92px;margin:0!important;padding:22px 24px 18px 70px!important;border:1px solid #d9dfe7!important;border-radius:8px!important;background:#fff!important;box-shadow:0 3px 14px rgba(23,35,56,.045)!important;color:#4e5661!important;font-size:12px!important;line-height:1.65!important;transition:border-color .15s,box-shadow .15s}
body.feed-modern .news-item:hover{border-color:#c8d0dc!important;box-shadow:0 6px 20px rgba(23,35,56,.07)!important}
.feed-actor-avatar,.feed-kind-mark{position:absolute;left:20px;top:20px;width:38px;height:38px;display:block;border-radius:50%;background:linear-gradient(145deg,#6d84b4,#3b5998);box-shadow:0 0 0 4px #eef2f7;overflow:hidden}.feed-actor-avatar img{display:block;width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;object-fit:cover}
body.feed-modern .news-item .news-ico{display:none!important}
body.feed-modern .news-body{float:none!important;overflow:visible!important;padding:0!important}
body.feed-modern .news-body>a:first-child{color:#2f477a!important;font-size:13px;text-decoration:none!important}
body.feed-modern .news-body a{color:#3b5998;text-decoration:none}
body.feed-modern .news-time{display:inline;color:#959ca6!important;font-size:10px!important}
body.feed-modern .news-snippet{margin:14px 0 0!important;padding:16px!important;border:0!important;border-radius:6px!important;background:#f5f7fa!important;color:#3d444d!important}
body.feed-modern .wall-body{font-size:13px!important;line-height:1.65!important}
body.feed-modern .news-photo-row{margin-top:15px!important}body.feed-modern .news-photo{width:auto!important;max-width:100%!important;height:auto!important;max-height:480px!important;border:0!important;border-radius:6px!important;object-fit:cover}
body.feed-modern .wall-actions{display:flex;align-items:center;gap:6px;margin:14px 0 0!important;padding:12px 0 0!important;border-top:1px solid #edf0f4!important;font-size:10px!important}body.feed-modern .wall-actions a{color:#63718a!important;font-weight:650;text-decoration:none!important}
body.feed-modern .wall-actions .ico{display:none!important}
body.feed-modern .news-hide{position:absolute;right:17px;top:13px;opacity:0;display:flex!important;align-items:center;gap:4px;font-size:0!important;transition:opacity .15s}body.feed-modern .news-item:hover .news-hide{opacity:1}body.feed-modern .news-hide form:first-child button:after{content:"Скрыть запись"}body.feed-modern .news-hide form:last-child button:after{content:"Скрыть автора"}body.feed-modern .news-hide button{min-height:25px!important;padding:0 7px!important;border:0!important;background:#f0f2f5!important;color:#7a828d!important;font-size:0!important}body.feed-modern .news-hide button:after{font-size:9px}
.feed-empty{padding:60px 30px;border:1px solid #d9dfe7;border-radius:8px;background:#fff;text-align:center}.feed-empty>span{font-size:19px;font-weight:750}.feed-empty p{margin:8px auto 20px;color:#7b838e}.feed-empty a{display:inline-flex;padding:9px 14px;border-radius:4px;background:#3b5998;color:#fff!important;font-size:11px;font-weight:700;text-decoration:none!important}
.feed-pager{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:18px;color:#89919b;font-size:10px}.feed-pager a{font-weight:700;text-decoration:none}
.feed-side{position:sticky;top:70px;display:grid;gap:12px}.feed-side-card{padding:18px;border:1px solid #d9dfe7;border-radius:7px;background:#fff;box-shadow:0 2px 10px rgba(23,35,56,.04)}.feed-side-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:13px;border-bottom:1px solid #e4e8ed}.feed-side-card>header span{display:block;margin-bottom:3px;color:#929aa5;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.feed-side-card>header h2{margin:0;color:#30353c;font-size:13px}.feed-side-card>header>a{font-size:9px;font-weight:700;text-decoration:none}.feed-side-card>header>b{min-width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e7ebf2;color:#3b5998;font-size:9px}
.feed-side-row{padding:9px 0;border-bottom:1px solid #edf0f3;color:#626b76;font-size:10px;line-height:1.45}.feed-side-row:last-child{border-bottom:0}.feed-side-row a{text-decoration:none}.feed-side-row small{display:block;margin-top:3px;color:#9aa1aa;font-size:8px}.feed-side-empty{margin:0;color:#8b929c;font-size:10px}
.feed-person-link,.feed-person>a{display:flex;align-items:center;gap:10px;padding:7px 0;color:#3d444c!important;text-decoration:none!important}.feed-person-link img,.feed-person>a>img{width:38px!important;height:38px!important;border-radius:50%!important;object-fit:cover}.feed-person-link span,.feed-person>a span{display:flex;min-width:0;flex-direction:column}.feed-person-link strong,.feed-person>a strong{font-size:10px}.feed-person-link small,.feed-person>a small{color:#8c949e;font-size:8px}.feed-person{padding:5px 0 10px;border-bottom:1px solid #edf0f3}.feed-person:last-child{border-bottom:0}.feed-person-actions{display:flex;gap:5px;padding-left:48px}.feed-person-actions form{margin:0}.feed-person-actions button{min-height:26px!important;padding:0 8px!important;font-size:9px!important}.feed-person-actions button.is-muted{border-color:#d5dbe3!important;background:#f3f5f7!important;color:#68717c!important}
.feed-tags{display:flex;flex-wrap:wrap;gap:6px}.feed-tags a{padding:6px 8px;border-radius:4px;background:#eef2f7;color:#3f5c95!important;font-size:9px;font-weight:700;text-decoration:none!important}.feed-tags small{margin-left:3px;color:#8793a8}.feed-side-links{display:flex;flex-wrap:wrap;gap:5px;padding:4px}.feed-side-links a{padding:7px 9px;border-radius:4px;color:#66717f!important;font-size:9px;font-weight:700;text-decoration:none!important}.feed-side-links a:hover{background:#e6ebf2}
body.feed-modern #footer{display:flex;align-items:center;gap:16px;margin-top:20px!important;border-top:1px solid #d8dde5!important;color:#7f8791!important;font-size:9px!important}body.feed-modern #footer ul{display:flex;flex-wrap:wrap;gap:14px}body.feed-modern #footer a{color:#667385!important;text-decoration:none!important}
@media(max-width:900px){.feed-modern-content{grid-template-columns:minmax(0,1fr) 250px!important}.feed-head-actions{display:none}}
@media(max-width:720px){body.feed-modern #book{width:100%!important}body.feed-modern #pageheader{grid-template-columns:42px 1fr!important}body.feed-modern #gnav li:nth-child(n+3):not(:last-child){display:none!important}.feed-head{padding:8px 12px 0!important}.feed-head h1{font-size:28px!important}.feed-modern-content{display:block!important;padding:0 10px!important}.feed-side{position:static;margin-top:14px}.feed-filter-bar{border-radius:6px}body.feed-modern .news-item{padding:18px 16px 16px 60px!important}.feed-actor-avatar,.feed-kind-mark{left:16px;top:18px;width:32px;height:32px}.feed-actor-avatar img{width:32px!important;height:32px!important}.feed-side-card{padding:16px}body.feed-modern .news-hide{display:none!important}}

/* Focused business onboarding */
.an-sidebar-logo svg{display:block;width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important}
body.anomalio-onboarding{min-height:100vh;background:#eef2f7!important}
body.anomalio-onboarding .an-sidebar,body.anomalio-onboarding .an-header,body.anomalio-onboarding .an-overlay{display:none!important}
body.anomalio-onboarding .an-main{width:100%!important;margin-left:0!important}
body.anomalio-onboarding .an-content{max-width:none!important;padding:0!important}
body.anomalio-onboarding .an-layout{display:block!important}
body.anomalio-onboarding .an-onboarding{position:relative!important;isolation:isolate;min-height:100vh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:104px 24px 48px!important;background:radial-gradient(circle at 15% 15%,rgba(109,132,180,.18),transparent 32%),linear-gradient(145deg,#f5f7fa 0%,#e9edf4 100%)!important;overflow:hidden!important}
body.anomalio-onboarding .an-onboarding:before{content:"";position:absolute;z-index:-1;width:620px;height:620px;right:-340px;top:-320px;border:1px solid rgba(59,89,152,.13);border-radius:50%;box-shadow:0 0 0 85px rgba(59,89,152,.025),0 0 0 170px rgba(59,89,152,.018);background:transparent!important}
body.anomalio-onboarding .an-onboarding:after{display:none!important}
.an-onboarding-top{position:absolute;z-index:3;left:max(24px,calc((100vw - 1180px)/2));right:max(24px,calc((100vw - 1180px)/2));top:24px;display:flex;align-items:center;justify-content:space-between}
.an-onboarding-home{display:flex;align-items:center;gap:9px;color:#29313c!important;text-decoration:none!important}.an-onboarding-home>span{width:32px;height:32px;display:grid;place-items:center;border-radius:5px;background:#3b5998;color:#fff;font:700 19px Georgia,serif}.an-onboarding-home strong{font-size:15px}.an-onboarding-home i{padding-left:9px;border-left:1px solid #c8ced7;color:#77808c;font-size:10px;font-style:normal;font-weight:600}
.an-onboarding-exit{min-height:36px;display:flex;align-items:center;padding:0 12px;border:1px solid #c9d0da;border-radius:5px;background:rgba(255,255,255,.65);color:#56616f!important;font-size:10px;font-weight:700;text-decoration:none!important}
body.anomalio-onboarding .an-onboarding-card{width:100%!important;max-width:760px!important;padding:36px 40px!important;border:1px solid #d4dae3!important;border-radius:10px!important;background:#fff!important;box-shadow:0 18px 50px rgba(26,39,61,.1)!important}
body.anomalio-onboarding .an-onboarding-brand{gap:14px!important;margin-bottom:26px!important;padding-bottom:24px!important}.an-onboarding-brand .an-sidebar-logo{width:38px!important;height:38px!important;border-radius:6px!important}.an-onboarding-brand .an-sidebar-logo svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important}
body.anomalio-onboarding .an-onboarding-brand h1{font-size:20px!important;letter-spacing:-.3px!important}.an-onboarding-brand p{font-size:11px!important}
body.anomalio-onboarding .an-progress{margin-bottom:30px!important}.an-progress-bar{height:5px!important;margin:0 0 9px!important;background:#e6eaf0!important}.an-progress-fill{background:#3b5998!important}.an-progress-label{font-size:9px!important;font-weight:650!important}
body.anomalio-onboarding .an-step-header{display:grid!important;grid-template-columns:42px 1fr!important;gap:14px!important;align-items:start!important;margin-bottom:22px!important}.an-step-count{width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:#eef2f7;color:#3b5998;font-size:11px;font-weight:800}.an-step-header .an-step-title{margin:0 0 4px!important;color:#242a32!important;font-size:21px!important}.an-step-header .an-step-desc{margin:0!important;color:#737c88!important;font-size:11px!important;line-height:1.5!important}
body.anomalio-onboarding .an-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.an-option-card{position:relative!important;min-height:88px!important;padding:14px 40px 14px 14px!important;border-radius:7px!important}.an-option-card:last-child:nth-child(odd){grid-column:1/-1!important}.an-option-card .option-icon{width:40px!important;height:40px!important;border-radius:6px!important}.an-option-card .option-icon svg{display:block!important;width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important}.an-option-card .option-label{font-size:12px!important}.an-option-card .option-desc{margin-top:3px;color:#818995;font-size:9px;line-height:1.35}.an-option-card .option-check{position:absolute;right:13px;top:50%;width:20px;height:20px;display:grid;place-items:center;transform:translateY(-50%);border:1px solid #cdd4de;border-radius:50%;color:transparent;font-size:10px}.an-option-card:has(input:checked){border-color:#3b5998!important;background:#f2f5fa!important;box-shadow:0 0 0 2px rgba(59,89,152,.08)!important}.an-option-card:has(input:checked) .option-check{border-color:#3b5998;background:#3b5998;color:#fff}.an-option-card:focus-within{outline:3px solid rgba(59,89,152,.15);outline-offset:2px}
body.anomalio-onboarding .an-form-group{margin-bottom:16px!important}.anomalio-onboarding .an-label{margin-bottom:6px!important;color:#4c5561!important;font-size:10px!important}.anomalio-onboarding .an-input,.anomalio-onboarding .an-select,.anomalio-onboarding .an-textarea{width:100%!important;border:1px solid #cbd2dc!important;border-radius:6px!important;background-color:#fff!important;font-size:12px!important}.anomalio-onboarding .an-input,.anomalio-onboarding .an-select{height:42px!important}.anomalio-onboarding .an-textarea{min-height:120px!important}
.an-onboarding-actions{display:flex;align-items:center;justify-content:space-between;margin-top:28px;padding-top:20px;border-top:1px solid #e3e7ed}.an-onboarding-actions .an-btn{min-width:108px!important;min-height:40px!important;border-radius:5px!important;font-size:11px!important}
@media(max-width:620px){body.anomalio-onboarding .an-onboarding{align-items:flex-start!important;padding:88px 10px 20px!important}.an-onboarding-top{left:14px;right:14px;top:18px}.an-onboarding-home i,.an-onboarding-exit{display:none}.an-onboarding-top:after{content:"Настройка профиля";color:#7a838f;font-size:9px;font-weight:700}.an-onboarding-card{padding:24px 18px!important}.an-onboarding-brand{align-items:flex-start!important}.an-onboarding-brand p{max-width:250px}.an-option-grid{grid-template-columns:1fr!important}.an-option-card:last-child:nth-child(odd){grid-column:auto!important}.an-step-header{grid-template-columns:34px 1fr!important;gap:10px!important}.an-step-count{width:32px;height:32px}.an-onboarding-actions{position:sticky;bottom:0;margin:24px -18px -24px;padding:14px 18px;background:rgba(255,255,255,.95);border-radius:0 0 10px 10px}}

/* Modern user profile, independent of classic.css */
body.profile-modern{margin:0;background:#f3f5f8!important;color:#252a31;font:13px/1.5 var(--ui-font)}
body.profile-modern ul,body.profile-modern ol{margin:0;padding:0;list-style:none}body.profile-modern form{margin:0}body.profile-modern img{max-width:100%}body.profile-modern a{color:#3b5998;text-decoration:none}body.profile-modern .inline{display:inline}body.profile-modern .clear{display:none}
body.profile-modern #book{width:min(1180px,calc(100% - 24px))!important;margin:0 auto!important;padding-top:52px!important}
body.profile-modern #sidebar{display:none!important}body.profile-modern #pagebody{width:100%!important;min-height:calc(100vh - 52px)!important;margin:0!important;padding:24px 0 54px!important}body.profile-modern #content{width:100%!important;padding:0!important;border:0!important;background:transparent!important}
body.profile-modern #footer{margin:0!important;padding:20px 0 30px!important;border-top:1px solid #d5dbe4!important;color:#7c8590!important;font-size:10px!important}
body.profile-modern #footer ul{display:flex;gap:16px;flex-wrap:wrap}body.profile-modern #footer a{color:#63718a}
body.profile-modern .flash{margin:0 0 14px;padding:12px 14px;border:1px solid #c7d4e7;border-radius:6px;background:#eef3fa;color:#3e5278}
.profile-modern .tl-cover{position:relative;height:330px;margin-bottom:18px;border:1px solid #d3dae4;border-radius:10px;background:#345493;box-shadow:0 7px 24px rgba(23,35,56,.09);overflow:hidden}
.profile-modern .tl-cover-photo{position:absolute;inset:0;background-position:center;background-size:cover}.profile-modern .tl-cover.is-empty .tl-cover-photo{background:radial-gradient(circle at 72% 20%,rgba(150,175,225,.35),transparent 35%),linear-gradient(135deg,#486bb0,#29487d)}
.profile-modern .tl-cover-shade{position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(12,24,48,.78))}
.profile-modern .tl-cover-foot{position:absolute;left:30px;right:30px;bottom:24px;display:flex;align-items:flex-end;gap:20px}.profile-modern .tl-avatar{width:142px;height:142px;flex:0 0 auto;padding:4px;border-radius:50%;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.22)}.profile-modern .tl-avatar img{display:block;width:134px!important;height:134px!important;border-radius:50%!important;object-fit:cover}
.profile-modern .tl-who{min-width:0;padding-bottom:7px}.profile-modern .tl-who h1{margin:0 0 4px;color:#fff;font-size:31px;line-height:1.05;letter-spacing:-.8px;text-shadow:0 1px 3px rgba(0,0,0,.35)}.profile-modern .tl-sub{margin:0;color:#dce5f4;font-size:12px}
.profile-modern .tl-cover-btn{position:absolute;z-index:2;right:22px;top:20px;min-height:34px;display:flex;align-items:center;padding:0 12px;border:1px solid rgba(255,255,255,.42);border-radius:5px;background:rgba(22,35,60,.5);color:#fff!important;font-size:10px;font-weight:700;backdrop-filter:blur(5px)}
.profile-modern #userprofile{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.profile-modern #profilenarrowcolumn,.profile-modern #profilewidecolumn{float:none!important;width:auto!important;min-width:0!important}
.profile-modern #profilenarrowcolumn{display:grid;gap:12px}.profile-modern #profilewidecolumn{display:grid;gap:12px}
.profile-modern #tabs{display:flex!important;gap:4px!important;padding:5px!important;border:1px solid #d8dee7!important;border-radius:7px!important;background:#fff!important;box-shadow:0 1px 3px rgba(23,35,56,.04)!important;overflow-x:auto}.profile-modern #tabs>div{float:none!important}.profile-modern #tabs a{min-height:37px;display:flex;align-items:center;padding:0 13px;border-radius:4px;color:#69727e!important;font-size:10px;font-weight:700;white-space:nowrap}.profile-modern #tabs .activetab a{background:#e5eaf2;color:#2f477a!important}
.profile-modern .profile-box{margin:0!important;border:1px solid #d8dee7!important;border-radius:8px!important;background:#fff!important;box-shadow:0 3px 14px rgba(23,35,56,.045)!important;overflow:hidden!important}.profile-modern .profile-box>h4{display:flex;align-items:center;min-height:45px;margin:0!important;padding:0 17px!important;border-bottom:1px solid #e3e7ed!important;background:#fff!important;color:#30363e!important;font-size:11px!important;font-weight:750!important}.profile-modern .profile-box>h4 .edit{margin-left:auto;color:#7d8793!important;font-size:9px;font-weight:650}.profile-modern .profile-box-body{padding:16px!important}.profile-modern .tl-count{margin-left:5px;color:#8b949f;font-size:9px;font-weight:600}
.profile-modern .profile-action-links{display:grid;gap:3px}.profile-modern .profile-action-links>a,.profile-modern .profile-action-links>form button{width:100%;min-height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 9px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#46515f!important;font-size:10px!important;font-weight:650!important;text-align:left}.profile-modern .profile-action-links>a:hover,.profile-modern .profile-action-links>form button:hover{background:#eef2f7!important;color:#2f477a!important}
.profile-modern .profile-status-form{display:grid;gap:8px}.profile-modern .tl-label{color:#717a85;font-size:9px;font-weight:700}.profile-modern .profile-status-form input[type=text],.profile-modern .profile-status-form select{width:100%!important}.profile-modern .status-place{display:grid;gap:5px}.profile-modern .tl-actions{margin:2px 0 0;text-align:right}
.profile-modern .plain li,.profile-modern .profilelinks li{padding:6px 0;border-bottom:1px solid #eef0f3;color:#5c6570;font-size:10px}.profile-modern .plain li:last-child,.profile-modern .profilelinks li:last-child{border-bottom:0}
.profile-modern .profile-photo-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.profile-modern .profile-photo-thumbs a{aspect-ratio:1;overflow:hidden;border-radius:4px;background:#eef1f5}.profile-modern .profile-photo-thumbs img{width:100%!important;height:100%!important;object-fit:cover}
.profile-modern .friendgrid,.profile-modern .profile-friend-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.profile-modern .friendgrid img,.profile-modern .profile-friend-grid img{border-radius:50%!important;object-fit:cover}
.profile-modern .subtabs,.profile-modern .wall-filters{display:flex!important;gap:3px!important;margin:0 0 13px!important;padding:4px!important;border:0!important;border-radius:6px!important;background:#f0f3f7!important;overflow-x:auto!important}.profile-modern .subtabs>div{float:none!important}.profile-modern .subtabs a{display:flex!important;min-height:30px!important;align-items:center;padding:0 9px!important;border-radius:4px!important;color:#68727f!important;font-size:9px!important;white-space:nowrap!important}.profile-modern .subtabs .activetab a{background:#fff!important;color:#2f477a!important;box-shadow:0 1px 3px rgba(23,35,56,.09)!important}
.profile-modern .wallcomposer,.profile-modern .wall-compose{margin-bottom:14px!important;padding:14px!important;border:1px solid #dce2ea!important;border-radius:6px!important;background:#f7f9fb!important}.profile-modern textarea{width:100%!important;border:1px solid #cbd2dc!important;border-radius:5px!important;background:#fff!important;padding:10px!important;color:#2b3138!important;font:12px/1.55 var(--ui-font)!important}.profile-modern input[type=text],.profile-modern input[type=email],.profile-modern select{max-width:100%;border:1px solid #cbd2dc!important;border-radius:5px!important;padding:8px 9px!important}
.profile-modern .wallpost,.profile-modern .minifeed-item{position:relative;margin:0!important;padding:16px 0!important;border:0!important;border-bottom:1px solid #e5e9ee!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.profile-modern .wallpost:last-child,.profile-modern .minifeed-item:last-child{border-bottom:0!important}.profile-modern .wallpost img{border-radius:6px}.profile-modern .wall-actions{display:flex;gap:10px;margin-top:10px;color:#89919c;font-size:9px}.profile-modern .wall-actions a{font-weight:650}.profile-modern .news-ico,.profile-modern .ico{display:none!important}
.profile-modern .infotable{width:100%;border-collapse:collapse}.profile-modern .infotable td{padding:9px 4px;border-bottom:1px solid #edf0f3;color:#4c5560;font-size:11px}.profile-modern .infotable td.label{width:34%;color:#858e99;font-size:9px;font-weight:700}.profile-modern .profile-subsection{padding:5px 0 16px}.profile-modern .profile-subsection h5{margin:0 0 8px;color:#30363e;font-size:12px}.profile-modern .muted{color:#858e99!important}
@media(max-width:800px){.profile-modern .tl-cover{height:285px}.profile-modern #userprofile{grid-template-columns:230px minmax(0,1fr)}.profile-modern .tl-avatar{width:116px;height:116px}.profile-modern .tl-avatar img{width:108px!important;height:108px!important}}
@media(max-width:680px){body.profile-modern #book{width:100%!important}.profile-modern #pagebody{padding:10px!important}.profile-modern .tl-cover{height:250px;border-radius:8px}.profile-modern .tl-cover-foot{left:18px;right:18px;bottom:18px;gap:13px}.profile-modern .tl-avatar{width:88px;height:88px;padding:3px}.profile-modern .tl-avatar img{width:82px!important;height:82px!important}.profile-modern .tl-who h1{font-size:23px}.profile-modern .tl-cover-btn{right:12px;top:12px}.profile-modern #userprofile{display:flex;flex-direction:column}.profile-modern #profilewidecolumn,.profile-modern #profilenarrowcolumn{width:100%!important}.profile-modern #profilewidecolumn{order:1}.profile-modern #profilenarrowcolumn{order:2}.profile-modern #tabs{order:-1}.profile-modern .profile-photo-thumbs{grid-template-columns:repeat(4,1fr)}}

/* Modern private messages, independent of classic.css */
body.inbox-modern{margin:0;background:#f3f5f8!important;color:#252a31;font:13px/1.5 var(--ui-font)}
body.inbox-modern *{box-sizing:border-box}body.inbox-modern form,body.inbox-modern p{margin-top:0}body.inbox-modern a{color:#365899;text-decoration:none}body.inbox-modern a:hover{text-decoration:underline}body.inbox-modern [hidden]{display:none!important}
body.inbox-modern #book{width:min(1180px,calc(100% - 24px))!important;margin:0 auto!important;padding-top:52px!important}body.inbox-modern #sidebar{display:block!important}
body.inbox-modern #pagebody{width:auto!important;min-height:calc(100vh - 52px)!important;margin-left:194px!important;padding:18px 0 48px!important}body.inbox-modern #content{width:100%!important;padding:0!important;border:0!important;background:transparent!important}
body.inbox-modern #footer{margin:0!important;padding:20px 0 30px!important;border-top:1px solid #d5dbe4!important;color:#7c8590!important;font-size:10px!important}body.inbox-modern #footer ul{display:flex;gap:16px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.inbox-modern #header.withsubtitle{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px!important;padding:0!important;border:0!important;background:transparent!important}.inbox-modern #header h1{margin:0!important;color:#242a33!important;font-size:25px!important;line-height:1.2!important;letter-spacing:-.45px}.inbox-modern #header .subtitle{float:none!important;margin:0!important}.inbox-modern #header .subtitle a{display:inline-flex;min-height:36px;align-items:center;padding:0 14px;border:1px solid #cbd3df;border-radius:5px;background:#fff;color:#395685;font-size:10px;font-weight:750;box-shadow:0 1px 3px rgba(23,35,56,.04)}
.inbox-modern .flash{margin:0 0 14px;padding:12px 14px;border:1px solid #c7d4e7;border-radius:6px;background:#eef3fa;color:#3e5278}.inbox-modern .muted{color:#858e99!important}.inbox-modern .inline{display:inline}.inbox-modern .linkish{padding:0;border:0;background:transparent;color:#365899;font:inherit;cursor:pointer}
.inbox-modern .profile-box,.inbox-modern .inbox-pane{margin:0!important;border:1px solid #d8dee7!important;border-radius:8px!important;background:#fff!important;box-shadow:0 4px 18px rgba(23,35,56,.055)!important;overflow:hidden}.inbox-modern .profile-box>h4{display:flex;align-items:center;gap:5px;min-height:52px;margin:0!important;padding:0 18px!important;border-bottom:1px solid #e2e7ed!important;background:#fff!important;color:#30363e!important;font-size:13px!important}.inbox-modern .profile-box-body{padding:18px!important}
.inbox-modern .inputtext,.inbox-modern input[type=text],.inbox-modern select,.inbox-modern textarea{max-width:100%;border:1px solid #c9d1dc!important;border-radius:5px!important;background:#fff!important;padding:9px 10px!important;color:#2d333b!important;font:11px/1.5 var(--ui-font)!important;outline:none}.inbox-modern .inputtext:focus,.inbox-modern input[type=text]:focus,.inbox-modern select:focus,.inbox-modern textarea:focus{border-color:#6d89ba!important;box-shadow:0 0 0 3px rgba(72,103,160,.12)!important}.inbox-modern .inputbutton,.inbox-modern .inputsubmit{min-height:34px;padding:0 13px!important;border:1px solid #29477c!important;border-radius:5px!important;background:#4267a9!important;color:#fff!important;font:700 10px var(--ui-font)!important;cursor:pointer}.inbox-modern .inputbutton:hover,.inbox-modern .inputsubmit:hover{background:#365b9d!important}
.inbox-modern .msg-actions{display:flex;align-items:center;gap:8px;margin-left:auto!important;font-size:9px;font-weight:500}.inbox-modern .msg-actions form{margin:0}.inbox-modern .msg-title-edit{padding:11px 18px;border-bottom:1px solid #e6eaf0;background:#f8f9fb}.inbox-modern .msg-title-edit input{width:min(360px,70%)}.inbox-modern .msg-members{margin:0;padding:11px 18px;border-bottom:1px solid #e7ebf0;background:#fafbfc;font-size:10px}.inbox-modern .msg-thread-filter{display:flex;align-items:center;gap:7px;padding:11px 18px;border-bottom:1px solid #e7ebf0}.inbox-modern .msg-thread-filter input[type=text]{flex:1}.inbox-modern .msg-older{margin:0;padding:9px 18px;border-bottom:1px solid #e7ebf0;text-align:center;font-size:9px}
.inbox-modern .msg-log{min-height:240px;max-height:58vh;padding:18px;overflow:auto;background:#f7f9fb}.inbox-modern .msg-day{margin:10px 0 14px;color:#9098a3;font-size:9px;font-weight:700;text-align:center}.inbox-modern .msg-line{display:flex;gap:9px;align-items:flex-start;margin:0 0 13px}.inbox-modern .msg-line.is-mine{flex-direction:row-reverse}.inbox-modern .msg-av{flex:0 0 36px}.inbox-modern .msg-av img{display:block;width:36px!important;height:36px!important;border-radius:50%!important;object-fit:cover}.inbox-modern .msg-main{max-width:min(72%,680px);min-width:0}.inbox-modern .msg-head{display:flex;gap:7px;align-items:center;margin:0 2px 4px;color:#6f7884;font-size:9px}.inbox-modern .msg-line.is-mine .msg-head{justify-content:flex-end}.inbox-modern .msg-head b{color:#46515e;font-size:10px}.inbox-modern .msg-body{padding:10px 12px;border:1px solid #dce2e9;border-radius:5px 12px 12px 12px;background:#fff;color:#303740;box-shadow:0 1px 2px rgba(23,35,56,.035)}.inbox-modern .msg-line.is-mine .msg-body{border-color:#cdd9ea;border-radius:12px 5px 12px 12px;background:#e9f0fa}.inbox-modern .msg-text{overflow-wrap:anywhere}.inbox-modern .msg-text p:last-child{margin-bottom:0}.inbox-modern .msg-photo,.inbox-modern .msg-video{display:block;max-width:100%;margin-top:8px;border-radius:6px}.inbox-modern .msg-reply{padding:7px 9px;border-left:3px solid #8aa1c8;background:rgba(255,255,255,.55);font-size:9px}.inbox-modern .msg-del,.inbox-modern .msg-fwd{font-size:9px}.inbox-modern .msg-typing,.inbox-modern .msg-reply-chip{margin:0;padding:8px 18px;border-top:1px solid #e4e8ee;background:#fff;font-size:9px}
.inbox-modern .msg-compose{padding:14px 18px 18px;border-top:1px solid #dfe4eb;background:#fff}.inbox-modern .msg-md-shell{position:relative;border:1px solid #ccd4df;border-radius:6px;background:#fff;overflow:visible}.inbox-modern .msg-md-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid #e2e6eb;background:#f7f8fa}.inbox-modern .msg-md-tools{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.inbox-modern .msg-md-btn{min-width:28px;height:27px;padding:0 7px;border:1px solid transparent;border-radius:4px;background:transparent;color:#596473;font:700 10px var(--ui-font);cursor:pointer}.inbox-modern .msg-md-btn:hover,.inbox-modern .msg-md-mode-btn.is-on{border-color:#d1d7e0;background:#fff;color:#294b85}.inbox-modern .msg-md-sep{width:1px;height:18px;background:#d8dde4}.inbox-modern .msg-md-mode{display:flex;gap:6px;font-size:9px}.inbox-modern .msg-compose-fields textarea{display:block;width:100%!important;min-height:100px;border:0!important;border-radius:0!important;box-shadow:none!important;resize:vertical}.inbox-modern .msg-md-preview{min-height:100px;padding:10px}.inbox-modern .msg-md-status{margin:5px 1px 0;font-size:8px;text-align:right}.inbox-modern .wallposter-file{margin:9px 0;color:#737d89;font-size:9px}.inbox-modern input[type=file]{max-width:100%;font-size:9px}.inbox-modern .msg-compose>.inputsubmit{margin-top:5px}
.inbox-modern .msg-pop{position:absolute;z-index:30;top:39px;left:8px;width:min(340px,calc(100vw - 50px));max-height:260px;padding:10px;border:1px solid #cdd5df;border-radius:7px;background:#fff;box-shadow:0 12px 30px rgba(22,35,56,.18);overflow:auto}.inbox-modern .msg-pop-help{font-size:10px}.inbox-modern .msg-emoji-grid,.inbox-modern .msg-sticker-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.inbox-modern .msg-emoji-btn,.inbox-modern .msg-sticker-btn{min-height:34px;border-radius:4px;text-align:center}.inbox-modern .msg-sticker-btn img{width:38px;height:38px;object-fit:contain}.inbox-modern .gift-tile-title{display:none}
.inbox-modern .msg-voice-live,.inbox-modern .msg-voice,.inbox-modern .msg-voice-row{display:flex;align-items:center;gap:8px}.inbox-modern .msg-voice-live,.inbox-modern .msg-voice-draft{margin:8px 0;padding:9px;border:1px solid #dbe1e8;border-radius:6px;background:#f7f9fb}.inbox-modern .msg-voice-live-dot{width:8px;height:8px;border-radius:50%;background:#c44343}.inbox-modern .msg-voice-play{width:32px;height:32px;border:0;border-radius:50%;background:#4267a9;color:#fff;cursor:pointer}.inbox-modern .msg-wave{min-width:120px;height:30px;flex:1}.inbox-modern .msg-voice-dur{font-size:9px;font-variant-numeric:tabular-nums}.inbox-modern .msg-voice-draft-actions{margin:7px 0 0;text-align:right}
.inbox-modern .formtable{width:100%;border-collapse:collapse}.inbox-modern .formtable td{padding:8px;vertical-align:top}.inbox-modern .formtable td.label{width:120px;padding-top:12px;color:#77818d;font-size:9px;font-weight:750;text-align:right}.inbox-modern .formtable select,.inbox-modern .formtable input[type=text],.inbox-modern .formtable textarea{width:100%!important}.inbox-modern .formtable .msg-md-shell{width:100%}
@media(max-width:700px){body.inbox-modern #book{width:100%!important}.inbox-modern #pagebody{padding:12px!important}.inbox-modern #header.withsubtitle{align-items:flex-start}.inbox-modern #header h1{font-size:21px!important}.inbox-modern #header .subtitle a{min-height:33px;padding:0 10px}.inbox-modern .inbox-table,.inbox-modern .inbox-table tbody{display:block}.inbox-modern .inbox-table thead{display:none}.inbox-modern .inbox-table tr{display:grid;grid-template-columns:36px 1fr auto;padding:11px 10px;border-bottom:1px solid #e4e8ee}.inbox-modern .inbox-table tr:last-child{border-bottom:0}.inbox-modern .inbox-table td{display:block;padding:0!important;border:0!important}.inbox-modern .col-check{grid-row:1/3}.inbox-modern .col-from{width:auto}.inbox-modern .col-subj{grid-column:2/4;margin-top:3px}.inbox-modern .col-when{width:auto;grid-column:3;grid-row:1;text-align:right}.inbox-modern .avatar{display:none}.inbox-modern .msg-actions{gap:5px;flex-wrap:wrap;justify-content:flex-end}.inbox-modern .msg-actions .linkish{font-size:8px}.inbox-modern .msg-log{max-height:55vh;padding:13px 10px}.inbox-modern .msg-main{max-width:82%}.inbox-modern .msg-av{flex-basis:28px}.inbox-modern .msg-av img{width:28px!important;height:28px!important}.inbox-modern .msg-thread-filter{flex-wrap:wrap}.inbox-modern .msg-thread-filter label{width:100%}.inbox-modern .profile-box-body{padding:12px!important}.inbox-modern .formtable,.inbox-modern .formtable tbody,.inbox-modern .formtable tr,.inbox-modern .formtable td{display:block;width:100%!important}.inbox-modern .formtable td.label{padding:8px 0 3px;text-align:left}.inbox-modern .msg-md-bar{align-items:flex-start;flex-direction:column}.inbox-modern .msg-emoji-grid,.inbox-modern .msg-sticker-grid{grid-template-columns:repeat(6,1fr)}}

/* Inbox — direct implementation of archive messages.html/chat.html */
.inbox-reference .inbox-content,.inbox-reference .inbox-page-head{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.inbox-reference .inbox-page-head{min-height:36px;margin-bottom:12px!important;align-items:flex-end!important}.inbox-reference .inbox-page-head p{margin:4px 0 0;color:#6f7580;font-size:11px}.inbox-reference .inbox-page-head .inputsubmit{height:32px;min-height:32px;text-decoration:none}
.inbox-reference .message-shell{display:grid;grid-template-columns:270px minmax(0,1fr);height:650px;min-height:650px;border:1px solid #d5dbe4;border-radius:4px;background:#fff;box-shadow:0 1px 2px rgba(23,35,56,.08);overflow:hidden}
.inbox-reference .dialog-list{min-width:0;border-right:1px solid #d5dbe4;background:#fff;overflow:hidden}.inbox-reference .dialog-search{display:block;padding:8px;margin:0;border-bottom:1px solid #e7e9ed;background:#fff}.inbox-reference .dialog-search input{width:100%;height:30px;padding:0 8px;border:1px solid #bcc4cf!important;border-radius:3px!important;font-size:11px!important}
.inbox-reference .dialog-folders{display:flex;padding:0 5px;border-bottom:1px solid #d5dbe4;background:#f5f6f8;overflow-x:auto}.inbox-reference .dialog-folders a{height:31px;display:flex;align-items:center;padding:0 7px;color:#646a73;font-size:9px;white-space:nowrap}.inbox-reference .dialog-folders a.is-on{background:#fff;color:#3b5998;font-weight:700}.inbox-reference .dialog-scroll{height:calc(650px - 78px);overflow-y:auto}
.inbox-reference .dialog-item{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:62px;padding:9px;border-bottom:1px solid #eee;color:#333;text-decoration:none}.inbox-reference .dialog-item:hover{background:#f3f5f7;text-decoration:none}.inbox-reference .dialog-item.active{background:#e8edf4}.inbox-reference .dialog-item.unread{background:#f2f5fa}.inbox-reference .dialog-item.unread:after{position:absolute;right:7px;bottom:8px;width:6px;height:6px;border-radius:50%;background:#3b5998;content:""}.inbox-reference .dialog-item .avatar{display:block!important;width:42px!important;height:42px!important;margin:0!important;border:1px solid #bfc9d8;border-radius:4px!important;object-fit:cover}.inbox-reference .dialog-copy{display:block;min-width:0}.inbox-reference .dialog-copy strong,.inbox-reference .dialog-copy>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-reference .dialog-copy strong{color:#30333a;font-size:11px}.inbox-reference .dialog-copy>span{margin-top:3px;color:#6f7580;font-size:9px}.inbox-reference .dialog-time{align-self:start;padding-top:2px;color:#9297a0;font-size:8px}.inbox-reference .dialog-empty{padding:32px 12px;color:#6f7580;font-size:10px;text-align:center}
.inbox-reference .chat{min-width:0;display:flex;flex-direction:column;background:#f5f6f8;overflow:hidden}.inbox-reference .chat-head{height:52px;min-height:52px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d5dbe4;background:#fff}.inbox-reference .chat-head>div>strong{display:block;font-size:12px}.inbox-reference .chat-head>div>span{display:block;margin-top:2px;color:#6f7580;font-size:10px}.inbox-reference .person-line .avatar{display:block!important;width:36px!important;height:36px!important;border-radius:4px!important;object-fit:cover}
.inbox-reference .chat-menu{position:relative}.inbox-reference .chat-menu summary{width:32px;height:28px;display:grid;place-items:center;border:1px solid #aeb5bf;border-radius:4px;background:#fff;color:#555;cursor:pointer;list-style:none}.inbox-reference .chat-menu summary::-webkit-details-marker{display:none}.inbox-reference .chat-menu>div{position:absolute;z-index:20;top:34px;right:0;width:190px;padding:4px;border:1px solid #bfc7d1;border-radius:4px;background:#fff;box-shadow:0 5px 18px rgba(23,35,56,.18)}.inbox-reference .chat-menu form{margin:0}.inbox-reference .chat-menu button{width:100%;padding:7px 8px;border:0;background:#fff;color:#444;font-size:10px;text-align:left;cursor:pointer}.inbox-reference .chat-menu button:hover{background:#eef2f7}
.inbox-reference .chat-thread-wrap{min-height:0;display:flex;flex:1;flex-direction:column;overflow:hidden}.inbox-reference .chat-thread-wrap>.msg-members{display:none}.inbox-reference .msg-thread-filter{min-height:38px;padding:5px 9px;border-bottom:1px solid #e1e4e9;background:#fafafa}.inbox-reference .msg-thread-filter label{display:none}.inbox-reference .msg-thread-filter input[type=text]{height:27px;padding:0 7px!important}.inbox-reference .msg-thread-filter .inputbutton{height:27px;min-height:27px}.inbox-reference .msg-log{min-height:0;max-height:none;flex:1;padding:16px;background:#f5f6f8;overflow-y:auto}.inbox-reference .msg-main{max-width:68%}.inbox-reference .msg-body{padding:8px 10px;border:1px solid #d6dbe2;border-radius:5px;background:#fff;font-size:11px;line-height:1.45}.inbox-reference .msg-line.is-mine .msg-body{border-color:#b8c5d9;border-radius:5px;background:#dfe6f1}.inbox-reference .msg-line{margin-bottom:8px}.inbox-reference .msg-av{display:none}.inbox-reference .msg-head{margin:0 1px 3px;font-size:8px}.inbox-reference .msg-compose{padding:8px;border-top:1px solid #d5dbe4;background:#fff}.inbox-reference .msg-compose-fields textarea{min-height:58px!important;max-height:100px;padding:7px 9px!important;font-size:11px!important}.inbox-reference .msg-md-bar{min-height:32px;padding:2px 5px}.inbox-reference .msg-md-btn{height:25px;min-width:25px}.inbox-reference .msg-md-status{display:none}.inbox-reference .msg-compose .wallposter-file{margin:5px 10px 0 0;font-size:8px}.inbox-reference .msg-compose>.inputsubmit{height:30px;min-height:30px;margin-top:5px}
.inbox-reference .chat-empty{margin:auto;padding:24px;text-align:center}.inbox-reference .chat-empty-icon{width:44px;height:44px;margin:0 auto 10px;display:grid;place-items:center;border-radius:5px;background:#3b5998;color:#fff;font:700 20px Georgia,serif}.inbox-reference .chat-empty h2{margin:0 0 5px;font-size:15px}.inbox-reference .chat-empty p{margin:0 0 13px;color:#6f7580;font-size:10px}.inbox-reference .chat-empty .inputsubmit{display:inline-flex;align-items:center;text-decoration:none}
.inbox-reference .chat-new{flex:1;padding:14px;background:#fff;overflow:auto}.inbox-reference .chat-new>h4{display:none}.inbox-reference .chat-new>.profile-box-body{max-width:none;padding:0!important}.inbox-reference .chat-new .formtable td.label{width:96px}.inbox-reference .chat-new .compose-new{max-width:none}.inbox-reference .chat-new .msg-compose-fields textarea{min-height:180px!important}
@media(max-width:760px){body.inbox-reference #sidebar{display:none!important}body.inbox-reference #pagebody.inbox-page{width:100%!important;margin:0!important;padding:10px 8px 70px!important}.inbox-reference .inbox-page-head{align-items:flex-start!important}.inbox-reference .message-shell{grid-template-columns:1fr;height:auto;min-height:650px}.inbox-reference .dialog-list{border-right:0}.inbox-reference .dialog-scroll{height:auto;max-height:265px}.inbox-reference .chat{min-height:520px;border-top:1px solid #d5dbe4}.inbox-reference .msg-main{max-width:78%}}

/* Profile — archive layout, borderless surfaces and aligned friend grid */
body.profile-reference #sidebar{display:block!important}
body.profile-reference #pagebody.profile-tl{width:auto!important;max-width:none!important;margin-left:194px!important;padding:18px 0 48px!important}
.profile-reference .tl-cover{height:176px;margin-bottom:12px;border:0!important;border-radius:4px;box-shadow:none!important}
.profile-reference .tl-cover-foot{left:14px;right:14px;bottom:13px;gap:13px}.profile-reference .tl-avatar{width:118px;height:118px;padding:4px}.profile-reference .tl-avatar img{width:110px!important;height:110px!important}.profile-reference .tl-who{padding-bottom:2px}.profile-reference .tl-who h1{font-size:21px;letter-spacing:-.25px}.profile-reference .tl-sub{font-size:11px}.profile-reference .tl-cover-btn{top:12px;right:12px;min-height:32px}
.profile-reference #userprofile{grid-template-columns:254px minmax(0,1fr);gap:12px}.profile-reference #profilenarrowcolumn,.profile-reference #profilewidecolumn{gap:10px}.profile-reference #tabs{border:0!important;border-radius:4px!important;box-shadow:none!important}.profile-reference .profile-box{border:0!important;border-radius:4px!important;box-shadow:none!important}.profile-reference .wallcomposer,.profile-reference .wall-compose{border:0!important;background:#f7f9fb!important}
@media(max-width:980px) and (min-width:681px){.profile-reference #userprofile{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:680px){body.profile-reference #sidebar{display:none!important}body.profile-reference #pagebody.profile-tl{width:100%!important;margin:0!important;padding:10px!important}.profile-reference .tl-cover{height:180px}.profile-reference #userprofile{display:flex;flex-direction:column}.profile-reference .tl-avatar{width:88px;height:88px}.profile-reference .tl-avatar img{width:80px!important;height:80px!important}}

.profile-reference .friendTable,.profile-reference .friendTable tbody,.profile-reference .friendTable tr{display:contents!important}
.profile-reference .friendTable{width:100%!important}
.profile-reference .profile-box-body:has(.friendTable){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 6px}
.profile-reference .profile-box-body:has(.friendTable)>.muted,.profile-reference .profile-box-body:has(.friendTable)>.morefriends{grid-column:1/-1}
.profile-reference .friendTable td{display:block!important;width:auto!important;min-width:0!important;padding:0!important;text-align:center!important;vertical-align:top!important}
.profile-reference .friendTable td a{display:flex!important;min-width:0;align-items:center;flex-direction:column;color:#3b5998;font-size:10px;font-weight:600;text-decoration:none}
.profile-reference .friendTable img,.profile-reference .friendTable .avatar{display:block!important;width:54px!important;height:54px!important;margin:0 auto 5px!important;border:0!important;border-radius:4px!important;object-fit:cover}
.profile-reference .friend-first-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* One compact editor across walls, comments, groups and messages */
.msg-md-shell{position:relative!important;width:100%!important;border:0!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
.msg-editor{position:relative!important}.msg-md-bar{min-height:36px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:4px 6px!important;border:0!important;border-bottom:1px solid #e2e6eb!important;border-radius:5px 5px 0 0!important;background:#f5f6f8!important}
.msg-md-tools{display:flex!important;align-items:center!important;gap:2px!important;flex-wrap:wrap!important}.msg-md-btn{min-width:26px!important;height:26px!important;padding:0 6px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#59616d!important;font:650 10px/1 var(--ui-font)!important;cursor:pointer!important}.msg-md-btn:hover,.msg-md-btn:focus{background:#fff!important;color:#2f477a!important;box-shadow:0 0 0 1px #d4dae2!important}.msg-md-sep{width:1px!important;height:16px!important;margin:0 2px!important;background:#d7dce3!important}
.msg-md-mode{display:flex!important;gap:5px!important;align-items:center!important;padding-left:5px!important;font-size:9px!important;white-space:nowrap!important}.msg-md-mode-btn{padding:3px 5px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#747c87!important;font-size:9px!important}.msg-md-mode-btn.is-on{background:#fff!important;color:#3b5998!important;font-weight:700!important}
.msg-compose-fields{display:grid!important;grid-template-columns:1fr!important;border:1px solid #c9d1dc!important;border-top:0!important;border-radius:0 0 5px 5px!important;background:#fff!important;overflow:hidden!important}.msg-compose-fields textarea,.msg-body-input{display:block!important;width:100%!important;min-height:96px!important;max-height:240px!important;margin:0!important;padding:10px 11px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;color:#2f343b!important;font:12px/1.5 var(--ui-font)!important;resize:vertical!important;outline:none!important}.msg-compose-fields:focus-within{border-color:#8298bd!important;box-shadow:0 0 0 2px rgba(59,89,152,.1)!important}.msg-md-preview{min-height:96px!important;padding:10px 11px!important;background:#fff!important}.msg-md-status{margin:4px 1px 0!important;color:#8a929d!important;font-size:8px!important;text-align:right!important}
.wallposter,.wall-compose,.discuss-compose,.msg-compose{margin:0!important}.wallposter-tools{display:flex!important;align-items:center!important;gap:8px!important;min-height:39px!important;margin-top:6px!important}.wallposter-go{order:3;margin-left:auto!important}.wallposter-file,.wallposter-vis{margin:0!important;color:#737b86!important;font-size:9px!important}.wallposter-file input[type=file]{max-width:260px!important;font-size:9px!important}.inputsubmit{min-height:31px!important;padding:0 11px!important;border:1px solid #3b5998!important;border-radius:4px!important;background:#5b74a8!important;color:#fff!important;font:650 10px var(--ui-font)!important;cursor:pointer!important}.inputsubmit:hover{background:#4d679d!important}
.msg-pop{z-index:80!important;border:1px solid #cbd3de!important;border-radius:5px!important;background:#fff!important;box-shadow:0 8px 24px rgba(23,35,56,.16)!important}.compose-from-album{margin-top:6px!important;padding:8px!important;border:0!important;border-radius:4px!important;background:#f5f6f8!important}
.discuss-compose .formtable{width:100%!important}.discuss-compose .formtable td{padding:6px!important;vertical-align:top!important}.discuss-compose .formtable td.label{width:105px!important;padding-top:10px!important;color:#707884!important;font-size:10px!important}.discuss-compose input[type=text],.discuss-compose select{width:100%!important;min-height:32px!important;border:1px solid #c9d1dc!important;border-radius:4px!important;padding:0 8px!important}
@media(max-width:680px){.msg-md-bar{align-items:flex-start!important;flex-direction:column!important}.msg-md-mode{width:100%;padding:2px 0 0!important;border-top:1px solid #e2e6eb!important}.msg-md-btn[data-md="codeblock"],.msg-md-btn[data-md="hr"],.msg-md-btn[data-md="h3"]{display:none!important}.wallposter-tools{align-items:flex-start!important;flex-direction:column!important}.wallposter-go{order:3;width:100%;margin:0!important}.wallposter-go .inputsubmit{width:100%!important}.wallposter-file input[type=file]{max-width:100%!important}.discuss-compose .formtable,.discuss-compose .formtable tbody,.discuss-compose .formtable tr,.discuss-compose .formtable td{display:block!important;width:100%!important}.discuss-compose .formtable td.label{padding:7px 0 3px!important}}

/* Wall v29 — archive proportions with modern interaction */
.profile-reference .wall-box>.profile-box-body{padding:12px 14px 16px!important}.profile-reference .wall-filters{margin-bottom:10px!important}
.profile-reference .wallposter{margin:0 0 14px!important;padding:10px!important;border:0!important;border-radius:5px!important;background:#f5f6f8!important}.profile-reference .wallposter .msg-md-shell{background:transparent!important}.profile-reference .wallposter .msg-md-bar{background:#fff!important}.profile-reference .wallposter .msg-compose-fields{border-color:#d4dae2!important}.profile-reference .wallposter .msg-compose-fields textarea{min-height:78px!important;max-height:190px!important}
.compose-upload,.compose-tool{position:relative;min-height:31px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:0;border-radius:4px;background:#e9edf3;color:#4f5c6e;font:650 9px var(--ui-font);cursor:pointer;max-width:260px}.compose-upload:hover,.compose-tool:hover{background:#dfe5ed;color:#2f477a}.compose-upload.has-files{background:#dfe8f5;color:#31558f}.compose-upload svg,.compose-tool svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.compose-upload span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-upload input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.compose-tool{font-family:var(--ui-font)}.compose-file-hint{font-size:8px!important}.profile-reference .wallposter-file{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
.profile-reference .wallpost{padding:14px 0!important}.profile-reference .wallpost .wp-table,.profile-reference .wallpost .wp-table tbody{display:block!important;width:100%!important}.profile-reference .wallpost .wp-table tr{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important}.profile-reference .wallpost .wp-table td{display:block!important;width:auto!important;padding:0!important}.profile-reference .wallpost td.image{width:42px!important}.profile-reference .wallpost td.image img{display:block!important;width:42px!important;height:42px!important;border:0!important;border-radius:4px!important;object-fit:cover}.profile-reference .wallpost .info{min-width:0!important;margin:0!important;border:0!important}.profile-reference .wallpost .info .header{position:relative!important;min-height:20px!important;padding:0 66px 5px 0!important;border:0!important;background:transparent!important;color:#6f7580!important;font-size:9px!important;line-height:1.4!important}.profile-reference .wallpost .info .header>a:first-child{color:#3b5998!important;font-size:11px!important}.profile-reference .wallpost-edit{position:absolute!important;top:-3px!important;right:0!important;display:flex!important;align-items:center!important;gap:3px!important;float:none!important}.post-icon-action{width:27px;height:27px;display:inline-grid!important;place-items:center;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#818995!important;cursor:pointer}.post-icon-action:hover{background:#eef1f5!important;color:#3b5998!important}.post-icon-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-reference .wallpost .info .text{padding:3px 0 10px!important;border:0!important;background:#fff!important;color:#30333a!important;font-size:12px!important;line-height:1.52!important}.profile-reference .wallpost .msg-md>p{margin:0 0 7px}.profile-reference .wallpost .msg-md>p:last-child{margin-bottom:0}.profile-reference .wallpost .wall-media{margin-top:9px!important;border-radius:5px!important;overflow:hidden}.profile-reference .wallpost .shared-note{margin:8px 0 0!important;padding:10px!important;border:0!important;border-left:3px solid #afbdd4!important;border-radius:3px!important;background:#f5f6f8!important}
.profile-reference .wallpost .info .actions{display:flex!important;align-items:center!important;gap:3px!important;min-height:35px!important;margin:0!important;padding:4px 0 0!important;border:0!important;border-top:1px solid #edf0f3!important;background:#fff!important;color:#68717d!important}.profile-reference .wallpost .info .actions form{display:inline-flex!important;margin:0!important}.profile-reference .wall-act{min-height:29px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;padding:0 8px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#626b77!important;font:650 9px var(--ui-font)!important;cursor:pointer!important}.profile-reference .wall-act:hover{background:#eef2f7!important;color:#31558f!important;text-decoration:none!important}.profile-reference .wall-act.is-active{color:#315f9f!important}.profile-reference .wall-act svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.profile-reference .wall-act b{min-width:16px;padding:1px 4px;border-radius:8px;background:#e8edf4;color:#53657f;font-size:8px;text-align:center}
.wall-comment{position:relative!important;min-height:40px!important;display:flex!important;gap:8px!important;margin:0!important;padding:8px 0!important;border:0!important;border-top:1px solid #edf0f3!important;background:#fff!important}.wall-comment .wc-ava{width:32px!important;flex:0 0 32px!important;float:none!important;margin:0!important}.wall-comment .wc-ava img{display:block!important;width:32px!important;height:32px!important;border:0!important;border-radius:4px!important;object-fit:cover}.wall-comment .wc-body{min-width:0!important;flex:1!important;padding-right:26px!important;color:#343940!important;font-size:10px!important;line-height:1.45!important}.wall-comment .wc-time{display:flex!important;align-items:center!important;gap:5px!important;margin-top:3px!important;font-size:8px!important}.comment-action{display:inline-flex!important;align-items:center!important;gap:3px!important;color:#687686!important;font-size:8px!important}.comment-action.is-active{color:#315f9f!important}.comment-action svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.wall-comment .wc-del{position:absolute!important;top:7px!important;right:0!important}.wall-comments-more{margin:0!important;padding:7px 0!important;border-top:1px solid #edf0f3!important;font-size:9px!important}.wall-comments-older{display:none!important}.wall-comments-older.is-open{display:block!important}
.wall-comment-compose{display:none!important;align-items:flex-end!important;gap:7px!important;margin:7px 0 0!important;padding:8px!important;border:0!important;border-radius:5px!important;background:#f5f6f8!important}.wall-comment-compose.is-open{display:flex!important}.wall-comment-compose .input-comment{min-height:34px!important;max-height:110px!important;flex:1!important;width:auto!important;margin:0!important;padding:8px 10px!important;border:1px solid #c9d1dc!important;border-radius:17px!important;background:#fff!important;box-shadow:none!important;color:#30343a!important;font:10px/1.4 var(--ui-font)!important;resize:none!important;outline:none!important}.wall-comment-compose .input-comment:focus{border-color:#8298bd!important;box-shadow:0 0 0 2px rgba(59,89,152,.1)!important}.comment-send{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#5b74a8;color:#fff;cursor:pointer}.comment-send:hover{background:#49649b}.comment-send svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:680px){.profile-reference .wall-box>.profile-box-body{padding:9px!important}.profile-reference .wallpost .wp-table tr{grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important}.profile-reference .wallpost td.image{width:34px!important}.profile-reference .wallpost td.image img{width:34px!important;height:34px!important}.profile-reference .wallpost .info .actions{overflow-x:auto!important}.profile-reference .wall-act{padding:0 6px!important;white-space:nowrap!important}.profile-reference .wall-act span{display:none!important}.compose-file-hint{display:none!important}.compose-upload,.compose-tool{max-width:100%}.profile-reference .wallposter-file{width:100%!important}.profile-reference .wallposter-go{width:100%!important}}

/* Post tagging — compact action, revealed only on demand */
.profile-reference .post-tag-form{display:none!important;grid-template-columns:auto minmax(150px,1fr) auto auto;align-items:center;gap:7px;margin:7px 0 2px;padding:8px;border:0;border-radius:5px;background:#f5f6f8}.profile-reference .post-tag-form.is-open{display:grid!important}.post-tag-label{display:inline-flex;align-items:center;gap:5px;color:#596575;font:650 9px var(--ui-font);white-space:nowrap}.post-tag-label svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.profile-reference .post-tag-form select{width:100%;min-width:0;height:31px;margin:0;padding:0 8px;border:1px solid #c9d1dc;border-radius:4px;background:#fff;color:#343a43;font:10px var(--ui-font)}.profile-reference .post-tag-form .inputsubmit{min-height:31px}.post-tag-cancel{min-height:31px;padding:0 7px!important;color:#6f7782!important;font:650 9px var(--ui-font)!important}
@media(max-width:680px){.profile-reference .post-tag-form{grid-template-columns:1fr auto}.profile-reference .post-tag-label{grid-column:1/-1}.profile-reference .post-tag-cancel{grid-column:1/-1;justify-self:start}.profile-reference .post-tag-form select{min-width:0}}

/* Friends v31 — archive-aligned, compact directory */
.friends-page .friends-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:12px 16px!important}.friends-head h1{margin:0!important}.friends-head p{margin:3px 0 0!important;color:#738095!important;font-size:10px!important}.friends-invite{display:inline-flex!important;align-items:center!important;text-decoration:none!important;white-space:nowrap!important}.friends-page #content.friends-content{overflow:hidden!important;padding:14px 16px 18px!important}.friends-searchbar{display:grid!important;grid-template-columns:minmax(170px,1fr) minmax(110px,.55fr) 105px auto auto!important;align-items:center!important;gap:7px!important;margin:0 0 11px!important;padding:9px!important;border:0!important;border-radius:5px!important;background:#f3f5f8!important}.friends-search-field{position:relative;display:block!important}.friends-search-field svg{position:absolute;left:9px;top:50%;width:14px;height:14px;transform:translateY(-50%);fill:none;stroke:#7f8997;stroke-width:1.8}.friends-page .friends-searchbar .inputtext{box-sizing:border-box!important;width:100%!important;height:32px!important;margin:0!important;padding:0 9px!important;border:1px solid #cbd3de!important;border-radius:4px!important;background:#fff!important;color:#333a44!important;font:10px var(--ui-font)!important}.friends-page .friends-search-field .inputtext{padding-left:30px!important}.friends-reset{padding:0 3px;color:#68778d;font-size:9px;white-space:nowrap}.friends-list-tabs{display:flex!important;gap:3px!important;margin:0 0 11px!important;padding:0 0 7px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;background:transparent!important}.friends-list-tabs>div{float:none!important}.friends-list-tabs a{display:block!important;padding:6px 9px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#647084!important;font-size:9px!important;text-decoration:none!important}.friends-list-tabs .activetab a{background:#e8edf5!important;color:#31558f!important;font-weight:700!important}.friends-main{box-sizing:border-box!important;width:67%!important;padding-right:10px!important}.friends-side{box-sizing:border-box!important;width:33%!important}.friends-page .profile-box{overflow:hidden!important;margin:0 0 10px!important;border:0!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important}.friends-page .profile-box>h4{min-height:34px!important;display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0 11px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;background:#f5f6f8!important;color:#3f4854!important;font-size:10px!important}.friends-page .profile-box>h4 .edit{display:flex!important;gap:10px!important;margin-left:auto!important;float:none!important}.friends-page .profile-box>h4 .edit a{font-size:9px!important;font-weight:600!important}.friends-count{min-width:18px;padding:2px 6px;border-radius:9px;background:#e4e9f1;color:#60708a;font-size:8px;text-align:center}.friends-page .profile-box-body{padding:0 11px!important}.friends-page .classic-person-row{position:relative!important;min-height:62px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:10px 0!important;border:0!important;border-bottom:1px solid #edf0f3!important}.friends-page .classic-person-row:last-child{border-bottom:0!important}.friends-page .classic-person-name{min-width:0!important;display:flex!important;align-items:center!important;gap:9px!important;float:none!important;color:#3b5998!important;text-decoration:none!important}.friends-page .classic-person-name img,.friends-page .classic-person-row-friend .avatar{width:46px!important;height:46px!important;flex:0 0 46px!important;margin:0!important;border:0!important;border-radius:5px!important;object-fit:cover!important}.friends-page .classic-person-name>b,.friends-page .classic-person-name span{min-width:0!important}.friends-page .classic-person-sub{display:block!important;max-width:230px!important;margin-top:3px!important;overflow:hidden!important;color:#77808d!important;font-size:9px!important;font-weight:400!important;text-overflow:ellipsis!important;white-space:nowrap!important}.friends-row-actions{position:static!important;display:flex!important;align-items:center!important;gap:3px!important;float:none!important;white-space:nowrap!important}.friends-row-actions form{display:inline-flex!important;margin:0!important}.friend-action{min-height:30px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;padding:0 8px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#657181!important;font:650 9px var(--ui-font)!important;cursor:pointer!important}.friend-action:hover{background:#e9edf3!important;color:#31558f!important;text-decoration:none!important}.friend-action-primary{background:#edf1f6!important;color:#3b5998!important}.friend-action-icon{width:30px!important;padding:0!important;justify-content:center!important}.friend-action-icon span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}.friend-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.friends-side .profile-box-body{padding:5px 10px 8px!important}.friends-side .classic-person-row{min-height:45px!important;padding:7px 0!important;align-items:flex-start!important;flex-direction:column!important}.friends-side .classic-person-name img{width:34px!important;height:34px!important;flex-basis:34px!important}.friends-side .classic-inline-actions{position:static!important;display:flex!important;gap:6px!important;margin-left:43px!important;float:none!important}.friends-side .friends-find{padding:6px 0!important;background:transparent!important}.friends-side .friends-find .formtable,.friends-side .friends-find tbody,.friends-side .friends-find tr,.friends-side .friends-find td{display:block!important;width:100%!important}.friends-side .friends-find td.label{padding:5px 0 3px!important}.friends-side .friends-find select{box-sizing:border-box!important;width:100%!important}.friends-side-foot{padding:7px 0!important}
@media(max-width:760px){.friends-page .friends-head{align-items:flex-start!important}.friends-page .friends-head p{display:none!important}.friends-searchbar{grid-template-columns:1fr 1fr!important}.friends-search-field{grid-column:1/-1}.friends-searchbar .inputsubmit{width:100%!important}.friends-main,.friends-side{float:none!important;width:100%!important;padding:0!important}.friends-side{margin-top:10px!important}.friends-row-actions .friend-action-primary span{display:none!important}.friend-action-primary{width:30px!important;padding:0!important;justify-content:center!important}}
@media(max-width:480px){.friends-page #content.friends-content{padding:9px!important}.friends-head{padding:10px!important}.friends-invite{padding:0 8px!important;font-size:9px!important}.friends-searchbar{grid-template-columns:1fr!important}.friends-search-field{grid-column:auto}.friends-page .classic-person-name img,.friends-page .classic-person-row-friend .avatar{width:40px!important;height:40px!important;flex-basis:40px!important}.friends-page .classic-person-sub{max-width:145px!important}.friends-page .profile-box>h4 .edit a:first-child{display:none!important}}
.friends-page .classic-person-row-friend>.classic-person-name{order:1!important;flex:1 1 auto!important}.friends-page .classic-person-row-friend>.friends-row-actions{order:2!important;flex:0 0 auto!important;margin-left:auto!important}

/* Friends v33 — fully detach the page from the legacy framed content shell */
.friends-page #content.friends-content{border:0!important;outline:0!important;box-shadow:none!important}.friends-page .friends-main,.friends-page .friends-side{border:0!important;outline:0!important;box-shadow:none!important}.friends-side .friends-find .family-submit-row td{padding:9px 0 1px!important}.friends-side .family-submit{width:100%!important;min-height:32px!important;margin:0!important}.friends-side .friends-find td.label{color:#667181!important;font-weight:650!important}.friends-side .friends-find select.inputtext{height:32px!important;margin:0!important;padding:0 8px!important;border:1px solid #cbd3de!important;border-radius:4px!important;background:#fff!important}

/* Sidebar profile + people directory v34 */
#snav .snav-profile{transition:background-color .12s ease,color .12s ease!important}#snav .snav-profile:hover{background:#d8dfea!important;color:var(--ui-brand-dark)!important}#snav .snav-profile:hover a{color:var(--ui-brand-dark)!important;text-decoration:none!important}#snav .snav-profile:focus-within{background:#d8dfea!important;box-shadow:0 0 0 2px rgba(59,89,152,.12)!important}
.people-page .people-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:12px 16px!important}.people-head h1{margin:0!important}.people-head p{margin:3px 0 0!important;color:#738095!important;font-size:10px!important}.people-invite{display:inline-flex!important;align-items:center!important;text-decoration:none!important;white-space:nowrap!important}.people-page #content.people-content{padding:14px 16px 18px!important;border:0!important;outline:0!important;box-shadow:none!important}.people-tabs{display:flex!important;gap:3px!important;margin:0 0 11px!important;padding:0 0 7px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;background:transparent!important}.people-tabs>div{float:none!important}.people-tabs a{display:block!important;padding:6px 10px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#647084!important;font-size:9px!important;text-decoration:none!important}.people-tabs .activetab a{background:#e8edf5!important;color:#31558f!important;font-weight:700!important}.people-search-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important;padding:12px!important;border:0!important;border-radius:5px!important;background:#f3f5f8!important}.people-field{min-width:0;display:flex!important;flex-direction:column!important;gap:4px!important;color:#667181!important;font:650 9px var(--ui-font)!important}.people-field span{padding-left:1px}.people-search-grid .inputtext{box-sizing:border-box!important;width:100%!important;height:33px!important;margin:0!important;padding:0 9px!important;border:1px solid #cbd3de!important;border-radius:4px!important;background:#fff!important;color:#333a44!important;font:10px var(--ui-font)!important}.people-field-name{grid-column:1/-1}.people-field-gender{max-width:190px}.people-search-actions{display:flex!important;align-items:flex-end!important;gap:10px!important}.people-search-actions .inputsubmit{min-width:105px}.people-search-actions a{min-height:31px;display:inline-flex;align-items:center;color:#68778d;font-size:9px}.people-empty{min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px;color:#7b8491;text-align:center}.people-empty>span{font-size:30px;color:#a8b2c1}.people-empty b{margin-top:5px;color:#4b5563;font-size:11px}.people-empty p{margin:4px 0 0;font-size:9px}.people-page .dir-heading{min-height:34px;display:flex;align-items:center;margin:0!important;padding:0 11px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;border-radius:5px 5px 0 0!important;background:#f5f6f8!important;color:#3f4854!important;font-size:10px!important}.people-page .dir-list{margin:0 0 12px!important;padding:0 11px!important;border:0!important;border-radius:0 0 5px 5px!important;background:#fff!important}.people-page .dir-list .classic-person-row{min-height:62px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:10px 0!important;border:0!important;border-bottom:1px solid #edf0f3!important}.people-page .dir-list .classic-person-row:last-child{border-bottom:0!important}.people-page .dir-list .classic-person-name{order:1!important;min-width:0!important;display:flex!important;align-items:center!important;gap:9px!important;float:none!important;flex:1!important}.people-page .dir-list .classic-person-name img{width:46px!important;height:46px!important;flex:0 0 46px!important;margin:0!important;border:0!important;border-radius:5px!important;object-fit:cover!important}.people-page .dir-list .classic-inline-actions{position:static!important;order:2!important;display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 0 auto!important;float:none!important}.people-page .dir-list .classic-inline-actions form{display:inline-flex!important;margin:0!important}.people-page .dir-list .classic-inline-actions .linkish{min-height:30px!important;padding:0 9px!important;border:0!important;border-radius:4px!important;background:#edf1f6!important;color:#3b5998!important;font:650 9px var(--ui-font)!important}.people-page .dir-list .classic-person-sub{display:block!important;margin-top:3px!important;color:#77808d!important;font-size:9px!important}
@media(max-width:620px){.people-page .people-head{align-items:flex-start!important}.people-head p{display:none!important}.people-page #content.people-content{padding:9px!important}.people-search-grid{grid-template-columns:1fr!important}.people-field-name{grid-column:auto}.people-field-gender{max-width:none}.people-search-actions{align-items:center!important}.people-page .dir-list .classic-person-row{align-items:flex-start!important;flex-direction:column!important}.people-page .dir-list .classic-inline-actions{margin-left:55px!important}}

/* Profile navigation v35 — same interactive component as every menu item */
#snav>#nav-profile{box-sizing:border-box!important;width:100%!important;display:flex!important;align-items:center!important;min-height:34px!important;margin:0 0 2px!important;padding:7px 9px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#34383f!important;font-size:12px!important;font-weight:650!important;text-decoration:none!important}#snav>#nav-profile:hover,#snav>#nav-profile:focus-visible,#snav>#nav-profile.is-on{background:#d8dfea!important;color:var(--ui-brand-dark)!important;text-decoration:none!important}#snav>#nav-profile:focus-visible{outline:0!important;box-shadow:0 0 0 2px rgba(59,89,152,.14)!important}

/* Sidebar and friends layout v36 */
#snav{box-sizing:border-box!important;width:100%!important}#snav>a{box-sizing:border-box!important;width:100%!important;color:#4f5f76!important}.snav-profile-row{box-sizing:border-box!important;width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:3px!important;margin:0 0 2px!important}.snav-profile-row>#nav-profile,.snav-profile-row>.profile-edit-button{box-sizing:border-box!important;min-height:34px!important;display:flex!important;align-items:center!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#4f5f76!important;text-decoration:none!important}.snav-profile-row>#nav-profile{min-width:0!important;padding:7px 9px!important;font-size:12px!important;font-weight:650!important}.snav-profile-row>.profile-edit-button{justify-content:center!important;padding:0!important}.snav-profile-row>.profile-edit-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.snav-profile-row>#nav-profile:hover,.snav-profile-row>#nav-profile:focus-visible,.snav-profile-row>#nav-profile.is-on,.snav-profile-row>.profile-edit-button:hover,.snav-profile-row>.profile-edit-button:focus-visible,.snav-profile-row>.profile-edit-button.is-on{background:#d8dfea!important;color:var(--ui-brand-dark)!important;text-decoration:none!important;outline:0!important}.friends-page .friends-main{float:none!important;width:100%!important;padding:0!important}.friends-page .friends-side{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:10px!important;float:none!important}.friends-page .friends-side>.profile-box{min-width:0!important;margin:0!important}.friends-page .friends-side>.profile-box:first-child:nth-last-child(2),.friends-page .friends-side>.profile-box:first-child:nth-last-child(2)~.profile-box{grid-column:auto!important}.friends-page .friends-side .classic-person-sub{max-width:180px!important}
@media(max-width:850px){.friends-page .friends-side{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.friends-page .friends-side{grid-template-columns:1fr!important}.snav-profile-row{min-width:180px!important}}

/* Stable sidebar v37 — remove the final legacy offset and reserve emphasis for active items */
#snav{margin:0!important}#snav>a,.snav-profile-row>#nav-profile{font-weight:500!important}.snav-profile-row>#nav-profile.is-on,#snav>a.is-on{font-weight:650!important}

/* Typography v38 — prevent legacy Lucida font shorthands from leaking in */
body.classic-ui,body.classic-ui :where(p,a,span,div,label,input,button,select,textarea,h1,h2,h3,h4,h5,h6,li,td,th){font-family:var(--ui-font)!important}

/* Directory alignment v40 — content edges follow the page heading */
.friends-page #content.friends-content,.people-page #content.people-content{padding-left:0!important;padding-right:0!important}.friends-page #content.friends-content{padding-top:2px!important}.people-page #content.people-content{padding-top:2px!important}
@media(max-width:620px){.friends-page #content.friends-content,.people-page #content.people-content{padding-left:0!important;padding-right:0!important}}

/* Albums v41 — independent of the legacy float gallery */
.albums-page .albums-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}.albums-head>div:first-child{min-width:0}.albums-head p{margin:3px 0 0!important;color:#738095!important;font-size:10px!important}.albums-head .subtitle{float:none!important;font-size:9px!important}.albums-page #content.albums-content{padding:2px 0 18px!important;border:0!important;outline:0!important;box-shadow:none!important}.albums-nav{display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 11px!important;color:#7a8491!important;font-size:9px!important}.albums-page .profile-box{overflow:hidden!important;margin:0 0 12px!important;border:0!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important}.albums-page .profile-box>h4{min-height:35px!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 12px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;background:#f5f6f8!important;color:#3f4854!important;font-size:10px!important}.albums-page .profile-box-body{padding:12px!important}.albums-page .formtable{width:100%!important;max-width:680px!important}.albums-page .formtable td{padding:5px!important;vertical-align:top!important}.albums-page .formtable td.label{width:105px!important;padding-top:10px!important;color:#687383!important;font-size:9px!important}.albums-page .formtable input[type=text],.albums-page .formtable textarea,.albums-page .formtable select{box-sizing:border-box!important;width:100%!important;min-height:33px!important;margin:0!important;padding:7px 9px!important;border:1px solid #cbd3de!important;border-radius:4px!important;background:#fff!important}.albums-page .formtable textarea{min-height:76px!important;resize:vertical!important}.albums-page .formtable input[type=file]{box-sizing:border-box!important;width:100%!important;padding:7px!important;border:0!important;border-radius:4px!important;background:#eef1f5!important;color:#596575!important;font-size:9px!important}.album-index{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:12px!important;margin:0!important;overflow:visible!important}.album-index .album{min-width:0!important;width:auto!important;display:block!important;float:none!important;margin:0!important;padding:0 0 9px!important;border:0!important;border-radius:5px!important;background:#f5f6f8!important;color:inherit!important;text-decoration:none!important;overflow:hidden!important}.album-index .album:hover{opacity:1!important;background:#edf1f6!important}.album-index .album-cover{width:100%!important;height:auto!important;aspect-ratio:4/3!important;display:block!important;float:none!important;margin:0 0 8px!important;border:0!important;background:#dfe5ed!important;overflow:hidden!important}.album-index .album-cover img,.album-index .album-cover img.album-cover-fallback{width:100%!important;height:100%!important;display:block!important;border:0!important;object-fit:cover!important}.album-index .album-title,.album-index .album-meta{display:block!important;padding:0 9px!important}.album-index .album-title{overflow:hidden!important;color:#3b5998!important;font-size:10px!important;font-weight:700!important;text-overflow:ellipsis!important;white-space:nowrap!important}.album-index .album-meta{margin-top:3px!important;color:#7a8491!important;font-size:8px!important}.photo-gallery{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:11px!important;margin:0!important;overflow:visible!important}.photo-gallery-item{min-width:0!important;width:auto!important;display:flex!important;flex-direction:column!important;float:none!important;margin:0!important;font-size:9px!important}.photo-gallery-item .photo-thumb{width:100%!important;height:auto!important;aspect-ratio:4/3!important;display:block!important;border:0!important;border-radius:5px!important;background:#dfe5ed!important;overflow:hidden!important}.photo-gallery-item img{width:100%!important;height:100%!important;display:block!important;border:0!important;object-fit:cover!important}.photo-gallery-item .photo-cap{margin:5px 1px 0!important;line-height:1.35!important}.photo-gallery-item .photo-cap a{color:#3b5998!important;font-size:9px!important;font-weight:650!important}.photo-gallery-item form{margin:2px 1px 0!important}.album-show-cover{margin:0 0 12px!important}.album-show-cover img{display:block!important;width:min(260px,100%)!important;height:auto!important;aspect-ratio:4/3!important;border:0!important;border-radius:5px!important;object-fit:cover!important}
@media(max-width:620px){.albums-page #content.albums-content{padding-left:0!important;padding-right:0!important}.albums-page .formtable,.albums-page .formtable tbody,.albums-page .formtable tr,.albums-page .formtable td{display:block!important;width:100%!important}.albums-page .formtable td.label{padding:6px 0 3px!important}.album-index{grid-template-columns:repeat(2,minmax(0,1fr))!important}.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Directories v42 — groups, pages and events */
.directory-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}.directory-head>div{min-width:0}.directory-head p{margin:3px 0 0!important;color:#738095!important;font-size:10px!important}.directory-head>.inputsubmit{display:inline-flex!important;align-items:center!important;text-decoration:none!important;white-space:nowrap!important}.groups-index #content,.events-page #content.events-content{padding:2px 0 18px!important;border:0!important;outline:0!important;box-shadow:none!important}.groups-index #tabs,.events-page #tabs{display:flex!important;gap:3px!important;margin:0 0 11px!important;padding:0 0 7px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;background:transparent!important}.groups-index #tabs>div,.events-page #tabs>div{float:none!important}.groups-index #tabs a,.events-page #tabs a{display:block!important;padding:6px 10px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#647084!important;font-size:9px!important;text-decoration:none!important}.groups-index #tabs .activetab a,.events-page #tabs .activetab a{background:#e8edf5!important;color:#31558f!important;font-weight:700!important}.groups-search{display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 10px!important;padding:9px!important;border:0!important;border-radius:5px!important;background:#f3f5f8!important}.groups-search label{color:#667181!important;font-size:9px!important}.groups-search .inputtext{box-sizing:border-box!important;min-width:180px!important;flex:1!important;height:32px!important;margin:0!important;padding:0 9px!important;border:1px solid #cbd3de!important;border-radius:4px!important;background:#fff!important}.groups-cats{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;margin:0 0 11px!important;color:transparent!important}.groups-cats a{padding:5px 8px!important;border-radius:12px!important;background:#edf1f6!important;color:#617087!important;font-size:8px!important;text-decoration:none!important}.groups-cats a.is-active{background:#d8dfea!important;color:#31558f!important;font-weight:700!important}.mygroups-table{width:100%!important;margin:0 0 12px!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;border-radius:5px!important;background:#fff!important;overflow:hidden!important}.mygroups-table th{height:34px!important;padding:0 10px!important;border:0!important;border-bottom:1px solid #e1e6ec!important;background:#f5f6f8!important;color:#6d7785!important;font-size:8px!important;text-align:left!important}.mygroups-table td{padding:11px 10px!important;border:0!important;border-bottom:1px solid #edf0f3!important;background:#fff!important;color:#424a55!important;font-size:9px!important;vertical-align:middle!important}.mygroups-table tbody tr:last-child td{border-bottom:0!important}.mygroups-table .col-name{width:auto!important}.mygroups-table .col-name a{font-size:10px!important}.mygroups-table .col-type{width:150px!important}.mygroups-table .col-n{width:80px!important;text-align:center!important}.mygroups-table .col-act{width:155px!important;text-align:right!important;white-space:nowrap!important}.groups-create,.groups-index .profile-box,.events-page .profile-box{overflow:hidden!important;margin:12px 0 0!important;border:0!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important}.groups-create>h4,.groups-index .profile-box>h4,.events-page .profile-box>h4{min-height:35px!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 12px!important;border:0!important;border-bottom:1px solid #e7ebf0!important;background:#f5f6f8!important;color:#3f4854!important;font-size:10px!important}.groups-create>form,.groups-create>.profile-box-body,.groups-create>p,.groups-index .profile-box-body,.events-page .profile-box-body{padding:12px!important}.groups-index .formtable,.events-page .formtable{width:100%!important;max-width:680px!important}.groups-index .formtable td,.events-page .formtable td{padding:5px!important;vertical-align:top!important}.groups-index .formtable td.label,.events-page .formtable td.label{width:110px!important;padding-top:10px!important;color:#687383!important;font-size:9px!important}.groups-index .formtable input[type=text],.groups-index .formtable textarea,.groups-index .formtable select,.events-page .formtable input[type=text],.events-page .formtable textarea,.events-page .formtable select{box-sizing:border-box!important;width:100%!important;min-height:33px!important;margin:0!important;padding:7px 9px!important;border:1px solid #cbd3de!important;border-radius:4px!important;background:#fff!important}.event-list-row{min-height:66px!important;display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;padding:10px 0!important;border:0!important;border-bottom:1px solid #edf0f3!important}.event-list-row:last-child{border-bottom:0!important}.event-list-row .list-thumb{order:1!important;float:none!important}.event-list-row .list-row-body{order:2!important;min-width:0!important;flex:1!important}.event-list-row .classic-inline-actions{order:3!important;display:flex!important;align-items:center!important;gap:7px!important;margin-left:auto!important;float:none!important;white-space:nowrap!important}
@media(max-width:700px){.directory-head{align-items:flex-start!important}.directory-head p{display:none!important}.groups-index #content,.events-page #content.events-content{padding-left:0!important;padding-right:0!important}.mygroups-table,.mygroups-table tbody,.mygroups-table tr,.mygroups-table td{display:block!important;width:100%!important}.mygroups-table thead{display:none!important}.mygroups-table tr{padding:9px 10px!important;border-bottom:1px solid #edf0f3!important}.mygroups-table td{padding:2px 0!important;border:0!important}.mygroups-table .col-type,.mygroups-table .col-n,.mygroups-table .col-act{width:auto!important;text-align:left!important}.groups-index .formtable,.groups-index .formtable tbody,.groups-index .formtable tr,.groups-index .formtable td,.events-page .formtable,.events-page .formtable tbody,.events-page .formtable tr,.events-page .formtable td{display:block!important;width:100%!important}.groups-index .formtable td.label,.events-page .formtable td.label{padding:6px 0 3px!important}.event-list-row{align-items:flex-start!important;flex-wrap:wrap!important}.event-list-row .classic-inline-actions{width:100%!important;margin-left:58px!important;order:4!important}}

/* Hierarchical navigation v43 */
.section-nav{width:auto;min-height:38px;display:flex;align-items:center;gap:3px;margin:0 0 0 194px;padding:12px 0 0;border-bottom:1px solid #d9dfe7;overflow-x:auto}.section-nav a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:0 9px;border-radius:4px 4px 0 0;color:#617087;font-size:9px;font-weight:600;text-decoration:none;white-space:nowrap}.section-nav a:hover{background:#e4e9f0;color:#31558f}.section-nav a.is-active{background:#fff;color:#31558f;font-weight:700}.section-nav+#pagebody{padding-top:10px!important}.services-page #content{padding:2px 0 18px!important;border:0!important}.services-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.services-grid a{min-height:64px;display:flex;align-items:center;padding:14px;border:0;border-radius:5px;background:#fff;color:#3b5998;font-size:11px;font-weight:650;text-decoration:none}.services-grid a:hover{background:#e8edf5;color:#2f477a}
@media(max-width:780px){.section-nav{margin:0;padding:7px 10px 0}.section-nav+#pagebody{padding-top:9px!important}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Feed v44 — shared VДрузья shell, compact borderless surfaces */
body.feed-modern #sidebar{display:block!important}
body.feed-modern #pagebody.feed-page{width:auto!important;max-width:none!important;margin-left:194px!important;padding:18px 0 48px!important}
body.feed-modern #footer{margin-left:194px!important}
body.feed-modern .feed-head{min-height:42px;align-items:flex-end;gap:16px;margin:0 0 12px!important;padding:0!important}
body.feed-modern .feed-eyebrow{display:none}
body.feed-modern .feed-head h1{margin:0 0 2px!important;color:#222!important;font-size:20px!important;font-weight:700!important;line-height:1.15!important;letter-spacing:0}
body.feed-modern .feed-head p{margin:0!important;color:#6f7580;font-size:10px}
body.feed-modern .feed-head-actions a{min-height:32px;padding:0 11px;border:0!important;border-radius:4px;box-shadow:none!important;font-size:10px}
body.feed-modern .feed-modern-content{width:100%!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:12px!important}
body.feed-modern .feed-filter-bar{margin-bottom:10px;padding:4px;border:0!important;border-radius:4px;box-shadow:none!important}
body.feed-modern .feed-filter-bar a{min-height:32px;padding:0 11px}
body.feed-modern .news-item{padding:18px 18px 15px 64px!important;border:0!important;border-radius:4px!important;box-shadow:none!important}
body.feed-modern .news-item:hover{border:0!important;box-shadow:none!important}
body.feed-modern .feed-actor-avatar,body.feed-modern .feed-kind-mark{left:16px;top:17px;box-shadow:none}
body.feed-modern .feed-side{top:64px;gap:10px}
body.feed-modern .feed-side-card{padding:14px;border:0!important;border-radius:4px;box-shadow:none!important}
body.feed-modern .feed-side-card>header{margin-bottom:10px;padding-bottom:9px}
body.feed-modern .feed-empty{border:0!important;border-radius:4px}
@media(max-width:900px){body.feed-modern .feed-modern-content{grid-template-columns:minmax(0,1fr) 240px!important}}
@media(max-width:780px){body.feed-modern #book{width:100%!important}body.feed-modern #sidebar{display:none!important}body.feed-modern #pagebody.feed-page{width:100%!important;margin:0!important;padding:10px 8px 48px!important}body.feed-modern #footer{margin-left:0!important}body.feed-modern .feed-modern-content{display:block!important;padding:0!important}body.feed-modern .feed-head{padding:0!important}body.feed-modern .feed-head h1{font-size:20px!important}body.feed-modern .feed-side{position:static;margin-top:12px}}

/* Feed v45 — denser stories and consistent action controls */
body.feed-modern .news-item{min-height:0!important;font-size:11px!important;line-height:1.5!important}
body.feed-modern .news-friend,body.feed-modern .news-joined,body.feed-modern .news-created,body.feed-modern .news-fan,body.feed-modern .news-event_going,body.feed-modern .news-like,body.feed-modern .news-share,body.feed-modern .news-review,body.feed-modern .news-photo_like,body.feed-modern .news-relationship{padding-top:14px!important;padding-bottom:14px!important}
body.feed-modern .news-item .feed-actor-avatar,body.feed-modern .news-item .feed-kind-mark{top:12px;width:36px;height:36px}
body.feed-modern .news-item .feed-actor-avatar img{width:36px!important;height:36px!important}
body.feed-modern .news-snippet{margin-top:10px!important;padding:13px!important}
body.feed-modern .wall-actions{gap:8px;margin-top:10px!important;padding-top:9px!important}
body.feed-modern .wall-actions a{min-height:26px;display:inline-flex;align-items:center;gap:6px;padding:0 7px;border-radius:4px}
body.feed-modern .wall-actions a:hover{background:#edf1f6;color:#31558f!important}
body.feed-modern .wall-actions a:before{width:13px;height:13px;display:block;background:currentColor;content:"";mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6A8.38 8.38 0 0 1 12.5 3h.5a8.48 8.48 0 0 1 8 8z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
body.feed-modern .wall-actions .ico{display:none!important}
body.feed-modern .feed-side-links{padding:0;gap:3px}
body.feed-modern .feed-side-links a{padding:6px 7px}

/* Feed v46 — archive-pattern composer */
body.feed-modern .feed-composer{margin:0 0 10px;border:0;border-radius:4px;background:#fff;overflow:visible}
body.feed-modern .feed-composer>header{min-height:34px;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid #e6e9ee;background:#f5f6f8;color:#4f5661;font-size:10px;font-weight:700}
body.feed-modern .feed-composer .wallposter{padding:10px!important}
body.feed-modern .feed-composer .msg-md-shell{background:#fff!important}
body.feed-modern .feed-composer .msg-compose-fields textarea{height:58px!important;min-height:58px!important;max-height:180px!important;padding:9px 10px!important;font-size:11px!important;resize:vertical}
body.feed-modern .feed-composer .wallposter-file{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
body.feed-modern .feed-composer .wallposter-tools{margin-top:7px!important}
@media(max-width:780px){body.feed-modern .feed-composer .wallposter-file{width:100%!important}}

/* Inbox v48 — realtime, cleaner hierarchy, no legacy card frame */
.inbox-reference .message-shell{height:calc(100vh - 142px);min-height:560px;max-height:760px;border:0!important;border-radius:4px;box-shadow:none!important}
.inbox-reference .dialog-list{border-right:1px solid #e2e6ec}
.inbox-reference .dialog-folders{gap:2px;padding:5px 7px;border-bottom:1px solid #e5e8ed;background:#fff}
.inbox-reference .dialog-folders a{height:27px;padding:0 7px;border-radius:4px}
.inbox-reference .dialog-folders a.is-on{background:#e7ecf4;color:#31558f}
.inbox-reference .dialog-scroll{height:calc(100% - 76px)}
.inbox-reference .dialog-item{min-height:58px;padding:8px;border-bottom:1px solid #edf0f3;grid-template-columns:38px minmax(0,1fr) auto}
.inbox-reference .dialog-item .avatar{width:38px!important;height:38px!important;border:0!important;border-radius:50%!important}
.inbox-reference .dialog-item.active{background:#e7ecf4}
.inbox-reference .chat-head{height:50px;min-height:50px;border-bottom:1px solid #e3e7ec}
.inbox-reference .chat-head .person-line{display:flex;align-items:center;gap:9px}
.inbox-reference .chat-head .person-line .avatar{width:34px!important;height:34px!important;border:0!important;border-radius:50%!important}
.inbox-live-state{display:inline-flex;align-items:center;gap:4px;margin-left:4px;color:#8a929e;font-size:8px;font-style:normal}
.inbox-live-state:before{width:6px;height:6px;border-radius:50%;background:#aeb5bf;content:""}
.inbox-live-state.is-online{color:#4d8760}.inbox-live-state.is-online:before{background:#4f9b68}
.inbox-reference .msg-log{padding:14px;background:#f3f5f8}
.inbox-reference .msg-body{border:0!important;box-shadow:none!important}
.inbox-reference .msg-line.is-mine .msg-body{border:0!important;background:#dfe7f3}
.inbox-reference .msg-compose{padding:8px 10px 10px;border-top:1px solid #e0e4ea}
@media(max-width:760px){.inbox-reference .message-shell{height:auto;max-height:none;min-height:620px}.inbox-reference .dialog-scroll{height:auto}.inbox-live-state{display:none}}

/* Inbox v49 — compact search, attachments and message metadata */
.inbox-reference .chat-head .person-line>div{min-width:0}.inbox-reference .chat-head .person-line>div>strong{display:block;font-size:12px}.inbox-reference .chat-head .person-line>div>span{display:flex;align-items:center;margin-top:2px;color:#6f7580;font-size:9px}
.inbox-reference .msg-thread-search{position:relative;border-bottom:1px solid #e4e8ed;background:#fafbfc}.inbox-reference .msg-thread-search>summary{position:absolute;z-index:2;right:10px;top:-40px;min-height:28px;display:flex;align-items:center;padding:0 9px;border-radius:4px;color:#657181;font-size:9px;cursor:pointer;list-style:none}.inbox-reference .msg-thread-search>summary::-webkit-details-marker{display:none}.inbox-reference .msg-thread-search>summary:hover{background:#edf1f6}.inbox-reference .msg-thread-search:not([open]){border-bottom:0}.inbox-reference .msg-thread-search:not([open]) .msg-thread-filter{display:none}.inbox-reference .msg-thread-search .msg-thread-filter{border:0!important}
.inbox-reference .msg-head{display:flex!important;align-items:center;gap:6px!important}.inbox-reference .msg-line.is-mine .msg-head{justify-content:flex-end}.inbox-reference .msg-time,.inbox-reference .msg-receipt{font-size:8px}.inbox-reference .msg-line-actions{display:inline-flex;align-items:center;gap:5px;margin-left:3px;opacity:0;transition:opacity .15s}.inbox-reference .msg-line:hover .msg-line-actions,.inbox-reference .msg-line:focus-within .msg-line-actions{opacity:1}.inbox-reference .msg-line-actions .linkish,.inbox-reference .msg-line-actions summary{font-size:8px!important}
.inbox-reference .msg-compose-fields textarea{height:64px!important;min-height:64px!important;max-height:130px!important}
.inbox-reference .msg-attach-tools{display:flex;align-items:center;margin:7px 0 0}.inbox-reference .msg-attach-btn{position:relative;min-height:29px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border-radius:4px;background:#e9edf3;color:#526071;font-size:9px;font-weight:650;cursor:pointer}.inbox-reference .msg-attach-btn:hover{background:#dfe5ed;color:#31558f}.inbox-reference .msg-attach-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}.inbox-reference .msg-attach-btn input,.inbox-reference .msg-voice-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
@media(max-width:760px){.inbox-reference .msg-line-actions{opacity:1}.inbox-reference .msg-thread-search>summary{top:-38px}}

/* Inbox v50 — single compact compose action row */
.inbox-reference .msg-compose-actions{min-height:35px;display:flex;align-items:center;gap:7px;margin-top:6px}
.inbox-reference .msg-compose-actions .msg-attach-tools{margin:0}
.inbox-reference .msg-compose-actions .msg-voice-compose{min-width:0;display:flex;align-items:center;flex:1}
.inbox-reference .msg-compose-actions .msg-voice-row{display:flex;align-items:center;gap:6px;margin:0!important}
.inbox-reference .msg-compose-actions>.inputsubmit{margin:0 0 0 auto!important;flex:0 0 auto}
.inbox-reference .msg-compose-actions .file-hint{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbox-reference .msg-compose-actions .msg-voice-live,.inbox-reference .msg-compose-actions .msg-voice-draft{position:absolute;z-index:5;left:10px;right:10px;bottom:47px;margin:0;padding:9px;background:#fff;box-shadow:0 -6px 18px rgba(24,37,57,.08)}
.inbox-reference .inputsubmit:disabled{opacity:.65;cursor:wait!important}
@media(max-width:760px){.inbox-reference .msg-compose-actions{flex-wrap:wrap}.inbox-reference .msg-compose-actions .file-hint{display:none}.inbox-reference .msg-compose-actions>.inputsubmit{margin-left:auto!important}}
