:root{
 --blue:#173f60;--blue2:#245a82;--blue3:#0f77ae;--line:#c9d5de;--bg:#eef1f3;--text:#263f53;--muted:#718390;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.site-body{position:relative;isolation:isolate;margin:0;background:#174968;color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}
body.site-body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#174968 url("site-sunrise-fast.webp") center center/cover no-repeat}
img{max-width:100%}
a{color:inherit}
button,input,textarea,select{font:inherit}
[hidden]{display:none!important}
.skip-link{position:absolute;left:-9999px;top:auto}
.skip-link:focus{left:12px;top:12px;z-index:20000;padding:8px 12px;background:#fff;color:#000;border-radius:6px}

/* header */
.site-header{position:relative;z-index:4000;background:#fff}
.topbar{min-height:46px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:0 14px;background:#173f60;color:#fff}
.topbar__contacts{display:flex;align-items:center;gap:10px;min-width:0;font-size:10px;white-space:nowrap}
.topbar__contacts a{text-decoration:none;color:#fff}
.topbar__controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.topbar__socials{display:flex;align-items:center;gap:4px}
.top-icon{display:grid;place-items:center;min-width:31px;height:31px;padding:0 7px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.06);color:#fff;text-decoration:none;font-size:9px;font-weight:900}
.top-icon.is-disabled{opacity:.38}
.topbar__player{position:relative;width:min(390px,34vw);min-width:240px}
.topbar__account{position:relative}

.brand-banner{display:block;width:100%;height:clamp(120px,8.8vw,168px);background:#1f5480 url("approved-header.webp") center/cover no-repeat;text-decoration:none}

.main-nav-wrap{position:sticky;top:0;z-index:4200;background:linear-gradient(#24577d,#173f60);box-shadow:0 2px 6px rgba(0,0,0,.18)}
.main-nav{display:flex;width:100%;min-height:52px;align-items:stretch;justify-content:space-between}
.main-nav>a,.nav-drop>summary{display:flex;min-height:52px;align-items:center;justify-content:center;padding:0 28px;color:#fff;text-decoration:none;font-size:13px;font-weight:800;cursor:pointer;list-style:none;white-space:nowrap}
.nav-drop>summary::-webkit-details-marker{display:none}
.main-nav>a:hover,.main-nav>a.is-active,.nav-drop>summary:hover,.nav-drop[data-active="1"]>summary{background:#117ab4}
.nav-drop{position:relative}
.nav-drop__menu{position:absolute;left:0;top:100%;z-index:5000;display:grid;min-width:245px;padding:6px;border:1px solid #bfcdd8;border-radius:0 0 9px 9px;background:#fff;box-shadow:0 14px 28px rgba(18,48,70,.2)}
.nav-drop:not([open]) .nav-drop__menu{display:none}
.nav-drop__menu a{padding:9px 10px;border-radius:6px;color:#24465f;text-decoration:none;font-size:12px;font-weight:700}
.nav-drop__menu a:hover{background:#e9f3f9;color:#0d6699}
.mobile-menu-button,.mobile-menu-close,.mobile-menu-backdrop{display:none}

/* account + notifications */
.site-account{display:flex;align-items:center;gap:5px}
.ep-user-menu,.ep-notifications{position:relative}
.ep-user-menu>summary,.ep-notifications>summary{list-style:none}
.ep-user-menu>summary::-webkit-details-marker,.ep-notifications>summary::-webkit-details-marker{display:none}
.ep-user-menu__summary{display:flex;align-items:center;gap:7px;min-height:34px;padding:3px 8px 3px 3px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
.ep-user-menu__summary .avatar-xs{width:28px!important;height:28px!important;border-radius:7px!important;object-fit:cover}
.ep-user-menu__identity{display:grid;line-height:1.05}
.ep-user-menu__identity b{font-size:10px}
.ep-user-menu__identity small{margin-top:2px;color:#acc2d3;font-size:8px}
.ep-user-menu__chevron{color:#b8cbd9}
.ep-user-menu__panel{position:absolute;right:0;top:40px;z-index:7000;width:270px;max-height:min(520px,calc(100vh - 64px));overflow:auto;border:1px solid #b9c8d4;border-radius:11px;background:#fff;color:#2d4659;box-shadow:0 16px 36px rgba(12,35,52,.24)}
.ep-user-menu__head{display:flex;align-items:center;gap:9px;padding:9px 10px;background:#f2f7fa;border-bottom:1px solid #d9e2e8}
.ep-user-menu__head .avatar-sm{width:40px!important;height:40px!important;border-radius:9px!important}
.ep-user-menu__head span{display:grid}.ep-user-menu__head b{font-size:14px}.ep-user-menu__head small{color:#7a8c99;font-size:9px}
.ep-user-menu__nav{display:grid;padding:4px}
.ep-user-menu__nav>a,.ep-user-menu__panel form>button{display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:7px;align-items:center;width:100%;min-height:38px;padding:6px 7px;border:0;border-radius:7px;background:#fff;color:#2b475c;text-align:left;text-decoration:none;cursor:pointer}
.ep-user-menu__nav>a:hover,.ep-user-menu__panel form>button:hover{background:#ebf4fa}
.ep-user-menu__icon{display:grid;width:24px;height:24px;place-items:center;border-radius:6px;background:#e8f1f7;color:#1c6795;font-size:11px}
.ep-user-menu__nav span:nth-child(2),.ep-user-menu__panel form span:nth-child(2){display:grid}
.ep-user-menu__nav b,.ep-user-menu__panel form b{font-size:9px}
.ep-user-menu__nav small,.ep-user-menu__panel form small{color:#81909b;font-size:7px;line-height:1.15}
.ep-user-menu__panel form{padding:4px;border-top:1px solid #e2e8ed}
.ep-user-menu__count{font-style:normal;font-size:8px}
.ep-notifications__bell{position:relative;display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
.ep-notifications__bell svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.ep-notifications__bell em{position:absolute;right:-4px;top:-5px;display:grid;min-width:16px;height:16px;place-items:center;padding:0 3px;border:2px solid #173f60;border-radius:9px;background:#d64444;color:#fff;font-size:7px;font-style:normal}
.ep-notifications__panel{position:absolute;right:0;top:40px;z-index:7000;width:330px;overflow:hidden;border:1px solid #bccbd6;border-radius:11px;background:#fff;color:#29475d;box-shadow:0 18px 42px rgba(12,35,52,.28)}
.ep-notifications__panel>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e0e6eb;background:#f5f8fa}
.ep-notifications__panel>header b{font-size:11px}.ep-notifications__panel>header button{border:0;background:none;color:#176a9a;font-size:8px;font-weight:800}
.ep-notifications__panel>div{max-height:350px;overflow:auto}
.ep-notification{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:9px 11px;border-bottom:1px solid #edf1f4;text-decoration:none}
.ep-notification.is-unread{background:#edf6fb}
.ep-notification__mark{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:#e2eef5}
.ep-notification>span:last-child{display:grid}.ep-notification b{font-size:9px}.ep-notification small,.ep-notification time{color:#83929d;font-size:7.5px}

/* audio */
.ep-audio-shell{position:relative;width:100%;color:#fff}
.ep-audio-shell audio{position:absolute;width:1px;height:1px;opacity:.001}
.ep-audio-bar{display:flex;align-items:center;gap:5px;width:100%;height:34px;padding:2px 4px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.05)}
.ep-audio-transport{display:flex;align-items:center}
.ep-audio-btn{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#d9e7f1;cursor:pointer}
.ep-audio-btn:hover{background:rgba(255,255,255,.1);color:#fff}.ep-audio-btn svg{width:16px;height:16px;fill:currentColor}
.ep-audio-btn--play{background:#eef6fb;color:#174c70}.ep-audio-btn--play:hover{background:#fff;color:#174c70}
.ep-audio-pause{display:none}.ep-audio-shell.is-playing .ep-audio-play{display:none}.ep-audio-shell.is-playing .ep-audio-pause{display:block}
.ep-audio-current{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;align-items:center;min-width:0;flex:1;padding:0;border:0;background:none;color:#fff;text-align:left;cursor:pointer}
.ep-audio-cover{display:grid;width:28px;height:28px;place-items:center;overflow:hidden;border-radius:6px;background:#0f6b9d}.ep-audio-cover img{width:100%;height:100%;object-fit:cover}
.ep-audio-copy{display:grid;min-width:0}.ep-audio-copy b,.ep-audio-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-audio-copy b{font-size:9px}.ep-audio-copy small{color:#a9bdcc;font-size:7px}
.ep-audio-btn--queue{position:relative}.ep-audio-btn--queue span{position:absolute;right:-2px;top:-4px;display:grid;min-width:15px;height:15px;place-items:center;border-radius:8px;background:#fff;color:#174c70;font-size:7px}
.ep-audio-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:9000;width:min(390px,calc(100vw - 20px));display:block;padding:0}
.ep-audio-popover[hidden]{display:none!important}
.ep-audio-popover__backdrop{display:none!important}
.ep-audio-popover__card{position:relative;z-index:2;width:100%;max-height:min(440px,calc(100vh - 70px));overflow:auto;border:1px solid #c8d4dd;border-radius:12px;background:#fff;color:#274357;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.ep-audio-popover__head{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e0e6eb;background:#f5f8fa}.ep-audio-popover__head small,.ep-audio-popover__head b{display:block}.ep-audio-popover__head small{color:#7b8b97;font-size:8px}.ep-audio-popover__head b{font-size:11px}
.ep-audio-popover__close{width:30px;height:30px;border:0;border-radius:50%;background:#e8f0f5;font-size:20px}
.ep-audio-popover__now{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:10px 12px}.ep-audio-popover__cover{width:72px;height:72px;overflow:hidden;border-radius:8px;background:#dce9f1}.ep-audio-popover__cover img{width:100%;height:100%;object-fit:cover}
.ep-audio-popover__meta h2{margin:0 0 3px;font-size:14px}.ep-audio-popover__meta p{margin:0 0 6px;color:#71828e;font-size:10px}.ep-audio-popover__meta dl{margin:0;font-size:8px}.ep-audio-popover__meta dt{color:#8997a1}.ep-audio-popover__meta dd{margin:0 0 4px}
.ep-audio-progress-wrap{display:grid;grid-template-columns:35px minmax(0,1fr) 35px;gap:8px;align-items:center;padding:0 14px 12px;font-size:8px}.ep-audio-progress-wrap input{width:100%}
.ep-audio-popover__actions{display:flex;align-items:center;justify-content:space-between;padding:0 14px 12px}.ep-audio-tools{display:flex;align-items:center;gap:6px}.ep-audio-tools input{width:100px}.ep-audio-popover__library{padding:7px 10px;border-radius:14px;background:#e9f4fa;color:#176a9a;text-decoration:none;font-size:9px;font-weight:800}
.ep-audio-queue__head{display:flex;justify-content:space-between;padding:10px 14px;border-top:1px solid #e1e7eb}.ep-audio-queue__head small,.ep-audio-queue__head b{display:block}.ep-audio-queue__list{display:grid;padding:0 8px 10px}
.ep-audio-queue-item{display:grid;grid-template-columns:26px minmax(0,1fr) 35px;gap:8px;align-items:center;padding:8px;border:0;border-radius:7px;background:#fff;color:#345066;text-align:left}.ep-audio-queue-item:hover,.ep-audio-queue-item.is-active{background:#edf5fa}.ep-audio-queue-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.ep-audio-queue-item small{font-size:8px}

/* global three-column shell */
.site-main{position:relative;width:100%;padding:16px 12px 28px;background:transparent}
.site-grid{position:relative;z-index:1;display:grid;width:min(1500px,100%);margin:0 auto;grid-template-columns:245px minmax(0,1fr) 245px;gap:16px;align-items:start}
.site-content{min-width:0}
.site-content>.ep-container,.site-content .ep-container{width:100%;max-width:none;margin:0;padding:0}

/* sidebars */
.classic-sidebar{display:grid;gap:12px;min-width:0}
.classic-widget{overflow:hidden;border:1px solid #b9c6cf;border-radius:10px;background:#fff;box-shadow:0 3px 10px rgba(28,54,73,.05)}
.classic-widget>h2{margin:0;padding:9px 11px;background:linear-gradient(#2e648c,#214c6d);color:#fff;font-size:12px;line-height:1.15}
.classic-widget--accent>h2,.classic-widget--reception>h2{background:linear-gradient(#1989c1,#0d6ca2)}
.classic-widget__body{padding:10px}.classic-widget__body p{margin:0 0 9px;color:#5e6e79;font-size:10px;line-height:1.45}
.classic-user-name{margin:0 0 8px;color:#21445f;font-size:11px;font-weight:800}
.classic-account-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;margin:0 0 10px}
.classic-account-avatar{display:block;width:58px;height:58px;text-decoration:none}
.classic-user-avatar,.classic-user-avatar img{display:block!important;width:58px!important;height:58px!important;border-radius:50%!important;object-fit:cover;background:#e4edf3}
.classic-account-copy{min-width:0}.classic-account-copy .classic-user-name{margin:0 0 3px}.classic-account-open{color:#2c719c;font-size:8.5px;font-weight:800;text-decoration:none}.classic-account-open:hover{text-decoration:underline}

.classic-links{display:grid;padding:4px 8px 8px}.classic-links a{position:relative;padding:7px 5px 7px 15px;border-bottom:1px dotted #d0d7dc;color:#294a63;text-decoration:none;font-size:10.5px}.classic-links a:last-child{border-bottom:0}.classic-links a:before{content:"›";position:absolute;left:4px;color:#0f75aa;font-weight:900}.classic-links a:hover{background:#eef6fa;color:#0e6597}
.classic-links__editor{margin-top:4px;border-radius:6px;background:#e8f5fd!important;color:#0b6498!important;font-weight:900}
.classic-login-form{display:grid;gap:7px}.classic-login-form label{display:grid;gap:3px;color:#5f707c;font-size:9px;font-weight:700}.classic-login-form input{width:100%;height:31px;padding:0 8px;border:1px solid #bcc8d1;border-radius:7px}.classic-login-form button,.classic-button{display:flex;min-height:31px;align-items:center;justify-content:center;padding:0 10px;border:0;border-radius:16px;background:linear-gradient(#2a88bf,#17689b);color:#fff;text-decoration:none;font-size:9.5px;font-weight:800;cursor:pointer}
.classic-register{display:block;margin-top:8px;padding-top:8px;border-top:1px solid #e0e6ea;color:#0e6a9e;text-align:center;text-decoration:none;font-size:9.5px;font-weight:800}
.classic-editorial-request{margin-top:8px}.classic-editorial-request button{width:100%;min-height:30px;border:0;border-radius:15px;background:#eaf4fa;color:#126898;font-size:9px;font-weight:800}
.classic-request-state{padding:8px;border-radius:7px;background:#eff7ea;color:#567549;font-size:9px;text-align:center}
.classic-side-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:9px}.classic-side-search input{min-width:0;height:31px;padding:0 9px;border:1px solid #bcc8d1;border-radius:16px}.classic-side-search button{height:31px;padding:0 10px;border:0;border-radius:16px;background:#1a78ac;color:#fff;font-size:9px;font-weight:800}
.classic-reception__body{display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px}.classic-reception__icon{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#1978aa;color:#fff}.classic-reception__body>div b{font-size:10px}.classic-reception__body>div p{margin:2px 0 0;font-size:8.5px}.classic-reception__body .classic-button{grid-column:1/-1}
.classic-recent{display:grid;padding:5px 8px 8px}.classic-recent a{display:grid;gap:2px;padding:7px 5px;border-bottom:1px dotted #d5dce1;color:#2b4a61;text-decoration:none}.classic-recent b{font-size:9px}.classic-recent small{color:#86939d;font-size:8px}

/* homepage */
.home-center{display:grid;gap:14px}
.home-news{overflow:hidden;border:1px solid #b8c4cc;border-radius:10px;background:#fff}.section-head{display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #cbd4da;background:linear-gradient(#fff,#edf1f3)}.section-head h2{margin:0;color:#24445d;font:700 19px Georgia,"Times New Roman",serif}.section-head a{color:#0e6a9f;text-decoration:none;font-size:9px;font-weight:800}
.news-list{display:grid}.news-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;padding:13px;border-bottom:1px solid #e0e5e9}.news-row:last-child{border-bottom:0}.news-row.is-latest{background:linear-gradient(90deg,#f0f9fe,#fff 70%);box-shadow:inset 4px 0 0 #1785bd}.news-row__image{display:block;height:110px;overflow:hidden;border-radius:7px;background:#e4e9ed}.news-row__image img{width:100%;height:100%;object-fit:cover}.news-row__body{min-width:0}.news-badge{display:inline-flex;margin-bottom:5px;padding:3px 7px;border-radius:9px;background:#d93636;color:#fff;font-size:8px;font-weight:900}.news-row h3{margin:0 0 4px;font:700 18px/1.14 Georgia,"Times New Roman",serif}.news-row h3 a{color:#173f60;text-decoration:none}.news-row__meta{display:flex;gap:8px;margin-bottom:5px;color:#84909a;font-size:8.5px}.news-row p{margin:0;color:#586975;font-size:10.5px;line-height:1.45}

/* generic content */
.site-content .ep-content-wrap,.site-content .ep-archive,.site-content .ep-service-page,.site-content .edmusic-public,.site-content .edg-public,.site-content .edd-public{width:100%;max-width:none;margin:0}
.ep-page-hero{margin:0 0 10px}.ep-breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;color:#718390;font-size:9px}.ep-breadcrumbs a{color:#0f699d;text-decoration:none}
.ep-article{overflow:hidden;border:1px solid #c5d0d8;border-radius:11px;background:#fff}.ep-article__cover{height:330px;margin:0;overflow:hidden;background:#dce4e9}.ep-article__cover img{width:100%;height:100%;object-fit:cover}.ep-prose{padding:18px 20px;color:#334c60;font-size:14px;line-height:1.65}.ep-prose h1,.ep-prose h2,.ep-prose h3{color:#173f60;font-family:Georgia,"Times New Roman",serif}.ep-prose a{color:#0d6da1}.ep-article__footer-meta{padding:12px 20px;border-top:1px solid #e0e5e9;background:#f7f9fa}.ep-article__meta{display:flex;flex-wrap:wrap;gap:12px;color:#7c8a94;font-size:9px}
.ep-taxonomy{display:flex;flex-wrap:wrap;gap:6px;padding:12px 20px}.ep-taxonomy a{padding:5px 8px;border-radius:12px;background:#eaf4f9;color:#17658f;text-decoration:none;font-size:9px}
.ep-related,.ep-comments{padding:16px 20px;border-top:1px solid #e0e5e9}.ep-related h2,.ep-comments h2{margin:4px 0 10px;color:#173f60}.ep-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ep-related-card{display:block;padding:10px;border:1px solid #d3dce2;border-radius:8px;color:#2e4c62;text-decoration:none}.ep-related-card h3{margin:0 0 4px;font-size:12px}.ep-related-card p{margin:0;color:#758590;font-size:9px}
.ep-compact-head{margin:0 0 12px;padding:14px;border:1px solid #cad5dd;border-radius:10px;background:#fff}.ep-compact-head h1{margin:4px 0;color:#173f60;font:700 24px Georgia,"Times New Roman",serif}.ep-compact-head p{margin:0;color:#697b88;font-size:10px}
.ep-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ep-card{overflow:hidden;border:1px solid #c9d4dc;border-radius:10px;background:#fff}.ep-card__image{display:block;height:170px;overflow:hidden;background:#dce4e9}.ep-card__image img{width:100%;height:100%;object-fit:cover}.ep-card__body{padding:11px}.ep-card__body time{color:#82909a;font-size:8px}.ep-card__body h2{margin:4px 0 5px;font:700 16px/1.2 Georgia,"Times New Roman",serif}.ep-card__body h2 a{color:#173f60;text-decoration:none}.ep-card__body p{margin:0 0 7px;color:#61717d;font-size:9.5px;line-height:1.45}.ep-card__more{color:#0d6c9f;text-decoration:none;font-size:9px;font-weight:800}
.ep-empty{padding:24px;border:1px dashed #c6d2da;border-radius:10px;background:#fff;text-align:center}
.ep-search{display:flex;gap:7px;margin-bottom:12px}.ep-search input{flex:1;height:36px;padding:0 10px;border:1px solid #bcc8d1;border-radius:8px}.ep-button{min-height:36px;padding:0 12px;border:0;border-radius:8px;background:#176b9c;color:#fff;font-weight:800}

/* contacts preserved */
.ep-contact-card{margin:0 0 12px;padding:15px;border:1px solid #c9d6df;border-radius:10px;background:#fff}.ep-contact-card--lead{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;background:linear-gradient(135deg,#f7fbfd,#eef6fa)}.ep-contact-card__logo{display:grid;width:100px;height:100px;place-items:center;border:1px solid #c8d7e2;border-radius:16px;background:#fff}.ep-contact-card__logo img{max-width:72px!important;max-height:80px!important}.ep-contact-eyebrow{display:block;color:#1f78a8;font-size:8px;font-weight:900;text-transform:uppercase}.ep-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ep-contact-reception{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-radius:11px;background:linear-gradient(135deg,#173f60,#237aa9);color:#fff}.ep-contact-reception h3{margin:0 0 4px}.ep-contact-reception p{margin:0;color:#dbeaf3;font-size:10px}.ep-contact-reception>a{flex:0 0 auto;padding:9px 12px;border-radius:18px;background:#fff;color:#175a84!important;text-decoration:none;font-size:9px;font-weight:900}

/* edit */
.edit-fab{position:fixed;right:18px;top:215px;z-index:6500;display:flex;align-items:center;gap:5px;padding:8px 11px;border-radius:18px;background:#1b83b8;color:#fff;text-decoration:none;box-shadow:0 7px 18px rgba(20,82,119,.26)}
.edit-fab b{font-size:10px}

/* footer */
.site-footer{width:100%;margin-top:0;background:#173f60;color:#dce8f0}
.footer-grid{display:grid;width:min(1500px,calc(100% - 24px));margin:0 auto;grid-template-columns:1.4fr repeat(3,1fr);gap:28px;padding:28px 12px}.footer-grid h2,.footer-grid h3{margin:0 0 8px;color:#fff}.footer-grid h2{font-size:17px}.footer-grid h3{font-size:12px}.footer-grid p{margin:0;color:#afc3d1;font-size:10px;line-height:1.5}.footer-grid section{display:grid;align-content:start;gap:6px}.footer-grid a{color:#d7e5ee;text-decoration:none;font-size:9.5px}.footer-grid a:hover{color:#fff;text-decoration:underline}.footer-bottom{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;padding:10px 12px;border-top:1px solid rgba(255,255,255,.12);text-align:center;color:#a9becd;font-size:9px}.footer-bottom span{display:inline-block}
.mobile-bottom-nav{display:none}

/* service pages */
.ep-service-page{min-width:0}.ep-service-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px;border:1px solid #cad5dd;border-radius:10px;background:#fff}.ep-service-head h1{margin:0;color:#173f60}.ep-service-head p{margin:3px 0 0;color:#71818c;font-size:9px}
.ep-friends-tabs{display:flex;gap:5px;margin-bottom:10px}.ep-friends-tabs a{flex:1;padding:8px;border-radius:8px;background:#eaf1f5;color:#456175;text-align:center;text-decoration:none;font-size:9px;font-weight:800}.ep-friends-tabs a.is-active{background:#176c9e;color:#fff}
.ep-friends-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ep-friend-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:9px;padding:9px;border:1px solid #ccd7df;border-radius:9px;background:#fff}

/* mobile */
@media(max-width:980px){
 .topbar__contacts span:first-child{display:none}
 .topbar__player{width:min(320px,36vw);min-width:190px}
 .site-grid{grid-template-columns:195px minmax(0,1fr) 195px;gap:10px}
 .main-nav>a,.nav-drop>summary{padding:0 14px;font-size:11px}
}
@media(max-width:760px){
 body.site-body{padding-bottom:66px}
 .topbar{min-height:40px;grid-template-columns:1fr;padding:0 8px}
 .topbar__contacts{display:none}
 .topbar__controls{justify-content:space-between;gap:5px}
 .topbar__socials{display:none}
 .topbar__player{width:min(300px,72vw);min-width:0}
 .ep-user-menu__identity{display:none}
 .brand-banner{height:86px}
 .main-nav-wrap{position:sticky;top:0;min-height:48px;display:flex;align-items:center;justify-content:flex-end;padding:0 8px}
 .mobile-menu-button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.35);border-radius:18px;background:rgba(255,255,255,.1);color:#fff;font-weight:800}
 .main-nav{position:fixed;z-index:10002;left:0;top:0;bottom:0;width:min(340px,90vw);display:block;min-height:100vh;padding:58px 12px 20px;background:#fff;box-shadow:18px 0 50px rgba(0,0,0,.25);transform:translateX(-105%);transition:transform .18s ease;overflow-y:auto}
 body.menu-open .main-nav{transform:translateX(0)}
 .main-nav>a,.nav-drop>summary{display:flex;min-height:48px;justify-content:flex-start;padding:0 12px;border-bottom:1px solid #e1e8ed;background:#fff!important;color:#173f60!important;font-size:13px}
 .nav-drop{display:block}.nav-drop__menu{position:static;min-width:0;padding:4px 0 8px 16px;border:0;box-shadow:none}.nav-drop__menu a{display:block;padding:8px;color:#31556d}
 .mobile-menu-close{position:absolute;right:12px;top:12px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:#eaf1f5;color:#173f60;font-size:22px}
 .mobile-menu-backdrop{position:fixed;z-index:10001;inset:0;display:none;border:0;background:rgba(8,22,34,.52)}body.menu-open .mobile-menu-backdrop{display:block}
 .site-main{padding:8px 8px 16px}
 .site-grid{display:block;width:100%}
 .classic-sidebar{display:none}
 .site-content{width:100%}
 .news-row{grid-template-columns:100px minmax(0,1fr);gap:8px;padding:9px}.news-row__image{height:76px}.news-row h3{font-size:14px}.news-row p{display:none}
 .ep-article__cover{height:220px}.ep-prose{padding:14px;font-size:13px}.ep-related-grid,.ep-archive-grid,.ep-friends-grid,.ep-contact-grid{grid-template-columns:1fr}
 .ep-contact-card--lead{grid-template-columns:72px minmax(0,1fr);gap:10px}.ep-contact-card__logo{width:72px;height:72px}.ep-contact-reception{align-items:flex-start;flex-direction:column}
 .footer-grid{grid-template-columns:1fr 1fr;gap:18px;padding:20px 12px}.footer-grid section:first-child{grid-column:1/-1}
 .mobile-bottom-nav{position:fixed;z-index:8000;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);min-height:62px;padding:4px 3px max(4px,env(safe-area-inset-bottom));border-top:1px solid #c6d5df;background:#fff}
 .mobile-bottom-nav a,.mobile-bottom-nav button{display:grid;place-items:center;gap:1px;padding:3px;border:0;background:none;color:#607889;text-decoration:none}.mobile-bottom-nav span{font-size:18px}.mobile-bottom-nav b{font-size:8px}
 .edit-fab{right:10px;top:auto;bottom:74px}
}


/* ===== Visual unification 2026-11-05 ===== */
.site-content{position:relative;min-width:0}
.content-edit-row{display:flex;justify-content:flex-end;margin:0 0 8px}
.content-edit-button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 10px;border:1px solid #a9c9dd;border-radius:16px;background:#fff;color:#176b9b;text-decoration:none;font-size:9px;font-weight:900;box-shadow:0 3px 10px rgba(24,73,105,.08)}
.content-edit-button:hover{background:#eaf5fb;border-color:#77afd0}

/* one breadcrumb language everywhere */
.ep-breadcrumbs,.edp-breadcrumbs,.edg-breadcrumbs,.nr-breadcrumbs,.edh-breadcrumbs{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;
 min-height:26px!important;margin:0 0 9px!important;padding:0!important;border:0!important;background:transparent!important;
 color:#7a8b98!important;font:700 9px/1.25 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important
}
.ep-breadcrumbs a,.edp-breadcrumbs a,.edg-breadcrumbs a,.nr-breadcrumbs a{color:#176a9a!important;text-decoration:none!important;font-weight:800!important}
.ep-breadcrumbs span,.edp-breadcrumbs span,.edg-breadcrumbs span,.nr-breadcrumbs span{color:#93a0aa!important}
.edh-breadcrumbs{color:rgba(255,255,255,.66)!important}.edh-breadcrumbs a{color:#fff!important;text-decoration:none!important}

/* public article/page */
.ep-content-wrap{width:100%;max-width:none;margin:0}
.ep-article{overflow:hidden;border:1px solid #c6d2da;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(28,55,76,.05)}
.ep-article__titlebar{padding:16px 18px 13px;border-bottom:1px solid #e0e7ec;background:linear-gradient(#fff,#fbfcfd)}
.ep-article__eyebrow{display:block;margin-bottom:4px;color:#2477a5;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.ep-article__titlebar h1{margin:0;color:#173f60;font:700 29px/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.015em}
.ep-article__cover{height:330px;margin:0;overflow:hidden;background:#e5ebef}
.ep-article__cover img{display:block;width:100%;height:100%;object-fit:cover}
.ep-prose{padding:18px 20px;color:#334c60;font-size:14px;line-height:1.68}
.ep-prose:after{content:"";display:block;clear:both}
.ep-prose>h2:first-child{margin-top:0}
.ep-prose h2{margin:26px 0 10px;color:#173f60;font:700 23px/1.15 Georgia,"Times New Roman",serif}
.ep-prose h3{color:#214f70}
.ep-prose p{margin:0 0 13px}
.ep-prose blockquote{margin:18px 0;padding:12px 16px;border-left:4px solid #247dab;border-radius:0 8px 8px 0;background:#f3f8fb;color:#24475f}
.ep-article__footer-meta,.ep-taxonomy,.ep-related,.ep-comments{border-top:1px solid #e2e8ec}
.ep-article__footer-meta{padding:11px 20px;background:#f8fafb}.ep-article__meta{display:flex;flex-wrap:wrap;gap:12px;color:#81909b;font-size:9px}
.ep-taxonomy{display:flex;flex-wrap:wrap;gap:6px;padding:11px 20px}.ep-taxonomy a{padding:5px 8px;border-radius:13px;background:#eaf4fa;color:#176998;text-decoration:none;font-size:9px;font-weight:800}
.ep-related,.ep-comments{padding:16px 20px}.ep-related h2,.ep-comments h2{margin:3px 0 10px;color:#173f60;font-size:18px}.ep-kicker{color:#2077a4;font-size:8px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}

/* contacts: only compact logo, never a full-width cover */
.ep-article--contacts .ep-prose{padding-top:14px}
.ep-contact-card{margin:0 0 10px;padding:13px;border:1px solid #d2dde5;border-radius:9px;background:#fff}
.ep-contact-card--lead{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;padding:13px!important;background:linear-gradient(135deg,#f7fbfd,#eef6fa)!important}
.ep-contact-card__logo{display:grid!important;width:82px!important;height:82px!important;place-items:center!important;border:1px solid #cedce5!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
.ep-contact-card__logo img{display:block!important;width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;object-fit:contain!important;margin:0!important}
.ep-contact-card__copy h2{margin:3px 0 5px!important;font-size:20px!important}.ep-contact-card__copy p{margin:0!important}
.ep-contact-eyebrow{font-size:8px!important;color:#1b73a3!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important}
.ep-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ep-contact-grid .ep-contact-card{margin:0 0 10px}
.ep-contact-reception{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border-radius:10px;background:linear-gradient(135deg,#173f60,#247eac);color:#fff}
.ep-contact-reception h3{margin:2px 0 5px}.ep-contact-reception p{margin:0;color:#d8e8f2;font-size:10px}.ep-contact-reception>a{flex:0 0 auto;padding:8px 11px;border-radius:16px;background:#fff;color:#175d87!important;text-decoration:none;font-size:9px;font-weight:900}

/* founder: square thumbnail floated left */
.ep-article--founder .ep-prose{font-size:14.5px;line-height:1.72}
.founder-float-image{float:left;width:190px;height:190px;margin:2px 20px 12px 0;padding:0;overflow:hidden;border:1px solid #c5d1d9;border-radius:10px;background:#eef3f6;box-shadow:0 6px 18px rgba(22,54,76,.12);cursor:zoom-in}
.founder-float-image img{display:block;width:100%;height:100%;object-fit:cover}
.site-image-lightbox{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px}
.site-image-lightbox[hidden]{display:none!important}
.site-image-lightbox__backdrop{position:absolute;inset:0;border:0;background:rgba(5,15,24,.82);backdrop-filter:blur(4px)}
.site-image-lightbox__card{position:relative;z-index:2;display:grid;place-items:center;width:min(920px,94vw);height:min(820px,90vh);padding:14px;border-radius:14px;background:#0b1720;box-shadow:0 28px 80px rgba(0,0,0,.5)}
.site-image-lightbox__card img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.site-image-lightbox__close{position:absolute;right:10px;top:10px;z-index:3;width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#173f60;font-size:24px;cursor:pointer}

/* press = one publication hub */
.press-page{display:grid;gap:11px}
.press-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #cbd6de;border-radius:10px;background:#fff}
.press-kicker{display:block;color:#b28227;font-size:8px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.press-head h1{margin:2px 0 4px;color:#173f60;font:700 30px/1.05 Georgia,"Times New Roman",serif}.press-head p{max-width:760px;margin:0;color:#657786;font-size:11px}
.press-head>strong{display:grid;min-width:52px;height:52px;place-items:center;border-radius:12px;background:#eaf2f8;color:#173f60;font-size:20px}
.press-tags{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #d2dce3;border-radius:9px;background:#fff}
.press-tags a{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:15px;background:#eef4f8;color:#41647b;text-decoration:none;font-size:9px;font-weight:800}
.press-tags a span{display:grid;min-width:17px;height:17px;place-items:center;border-radius:9px;background:#fff;color:#6f8493;font-size:7px}.press-tags a.is-active{background:#176d9f;color:#fff}.press-tags a.is-active span{color:#176d9f}
.press-list{display:grid;gap:9px}.press-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:13px;padding:11px;border:1px solid #d4dde4;border-radius:10px;background:#fff}.press-card.is-featured{grid-template-columns:240px minmax(0,1fr);box-shadow:inset 4px 0 0 #1b7fac}
.press-card__image{display:block;height:128px;overflow:hidden;border-radius:8px;background:#e5ebef}.press-card.is-featured .press-card__image{height:150px}.press-card__image img{display:block;width:100%;height:100%;object-fit:cover}
.press-card__body{min-width:0}.press-card__meta{display:flex;flex-wrap:wrap;gap:8px;color:#83909a;font-size:8px}.press-card h2{margin:5px 0 5px;font:700 18px/1.16 Georgia,"Times New Roman",serif}.press-card.is-featured h2{font-size:21px}.press-card h2 a{color:#173f60;text-decoration:none}.press-card p{margin:0 0 8px;color:#61727e;font-size:10px;line-height:1.45}.press-card__tags{display:flex;flex-wrap:wrap;gap:5px}.press-card__tags a{padding:4px 7px;border-radius:11px;background:#edf5fa;color:#176a99;text-decoration:none;font-size:8px;font-weight:800}

/* tame module headings so all centre pages feel like one site */
.edd-public,.edg-public,.edp-public,.nr-project-page,.nr-project-article{background:transparent!important;padding:0!important}
.edd-head,.edg-head,.edp-page-head,.nr-project-page__head{margin:0 0 12px!important;padding:15px 16px!important;border:1px solid #cbd6de!important;border-radius:10px!important;background:#fff!important}
.edd-head h1,.edg-head h1,.edp-page-head h1,.nr-project-page__head h1{margin:2px 0 4px!important;color:#173f60!important;font:700 29px/1.08 Georgia,"Times New Roman",serif!important;letter-spacing:-.01em!important}
.edd-head p,.edg-head p,.edp-page-head p,.nr-project-page__head p{margin:0!important;color:#657786!important;font-size:11px!important;line-height:1.45!important}
.edg-head{align-items:flex-end!important}.edg-head>strong,.edd-head>strong{min-width:48px!important;height:48px!important;border-radius:11px!important;font-size:18px!important}
.edg-album-grid{gap:12px!important}.edg-album-card__media{height:190px!important}.edg-album-card{border-radius:10px!important}
.nr-project-index,.edp-grid{gap:13px!important}.nr-project-story__cover{border-radius:8px!important}.nr-project-story h2{font-size:18px!important}

/* VK-like compact profile inside the public shell */
.page-profile,.page-messages{overflow-y:auto!important;overflow-x:hidden!important;height:auto!important;min-height:100%!important}
.page-profile .site-main,.page-messages .site-main{min-height:0!important;overflow:visible!important}
.page-profile .site-grid,.page-messages .site-grid{align-items:start!important}
.simple-profile{display:grid;gap:10px;min-width:0}
.simple-profile-hero{position:relative;display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px;padding:14px;border:1px solid #cbd6de;border-radius:11px;background:#fff;overflow:hidden}
.simple-profile-hero.has-cover{padding-top:126px}
.simple-profile-hero.has-cover:before{content:"";position:absolute;left:0;right:0;top:0;height:112px;background-image:linear-gradient(rgba(20,58,86,.12),rgba(20,58,86,.28)),var(--profile-cover);background-position:center;background-size:cover}
.simple-profile-avatar-area,.simple-profile-info{position:relative;z-index:1}
.simple-profile-avatar-area{display:grid;align-content:start;gap:8px}
.simple-profile-avatar{overflow:hidden;border-radius:10px;background:#e6edf2}.simple-profile-avatar img{display:block;width:100%!important;aspect-ratio:1;object-fit:cover}
.simple-profile-edit,.simple-profile-actions button{display:flex;min-height:34px;align-items:center;justify-content:center;width:100%;padding:0 10px;border:0;border-radius:8px;background:#e8f1f7;color:#235d82;text-decoration:none;font-size:10px;font-weight:800}
.simple-profile-info{padding:4px 3px}.simple-profile-title{display:flex;justify-content:space-between;gap:12px}.simple-profile-title h1{margin:2px 0 2px;color:#172b3a;font:700 25px/1.08 Arial,Helvetica,sans-serif}.simple-profile-kicker{color:#7c8c98;font-size:8px;font-weight:800;text-transform:uppercase}.simple-profile-username{color:#6e8190;text-decoration:none;font-size:10px}.simple-profile-presence{color:#45a166;font-size:9px}
.simple-profile-badges{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.simple-profile-badges span{padding:4px 7px;border-radius:12px;background:#eef3f7;color:#4f687b;font-size:8px;font-weight:800}.simple-profile-badges .is-member{background:#e7f3ff;color:#2670a0}
.simple-profile-status{margin:8px 0;padding:9px 11px;border-radius:8px;background:#f1f4f7;color:#3d5363;font-size:11px}.simple-profile-about{margin-top:8px;padding-top:10px;border-top:1px solid #e3e9ed}.simple-profile-about h2{margin:0 0 6px;color:#263f53;font-size:13px}.simple-profile-about p{margin:0;color:#536979;font-size:11px;line-height:1.5}.simple-profile-about small{display:block;margin-top:7px;color:#80909c;font-size:9px}
.simple-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid #cbd6de;border-radius:10px;background:#fff}.simple-profile-stats div{padding:10px;text-align:center;border-right:1px solid #e2e8ec}.simple-profile-stats div:last-child{border-right:0}.simple-profile-stats b,.simple-profile-stats span{display:block}.simple-profile-stats b{color:#234f6c;font-size:17px}.simple-profile-stats span{color:#788b98;font-size:9px}
.simple-profile-people-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.simple-profile-people{padding:12px;border:1px solid #cbd6de;border-radius:10px;background:#fff}.simple-profile-people header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.simple-profile-people h2{margin:0;color:#293f50;font-size:13px}.simple-profile-people header span{color:#7f909c;font-size:9px}.simple-profile-people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.simple-profile-people-grid a{display:grid;gap:5px;justify-items:center;color:#425c6f;text-decoration:none;font-size:9px;text-align:center}.profile-mini-avatar,.profile-mini-avatar img{width:46px!important;height:46px!important;border-radius:50%!important;object-fit:cover}

/* messenger must belong to the page, not lock the viewport */
.page-messages .ep-service-page{min-height:0!important;overflow:visible!important}
.page-messages .ep-messenger-card{min-height:620px;overflow:hidden;border:1px solid #cbd6de;border-radius:11px;background:#fff}
.page-messages .ep-messenger-card .messenger{display:grid!important;grid-template-columns:255px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;--left-column:255px;--right-column:0px;width:100%!important;height:680px!important;min-height:620px!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
.page-messages .ep-messenger-card .messenger>.chat-list{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;height:100%!important}
.page-messages .ep-messenger-card .messenger>.left-resizer{display:none!important}
.page-messages .ep-messenger-card .messenger>.conversation-shell{display:block!important;grid-column:2!important;grid-row:1!important;width:auto!important;min-width:0!important;height:100%!important;overflow:hidden!important}
.page-messages .ep-messenger-card .conversation-shell>.conversation{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important}
.page-messages .ep-messenger-card .messenger>.right-resizer,.page-messages .ep-messenger-card .messenger>.chat-details,.page-messages .ep-messenger-card .messenger>.site-sidebar{display:none!important}
.page-messages html,.page-profile html{height:auto!important;overflow-y:auto!important}

@media(max-width:760px){
 .content-edit-row{margin:0 0 6px}.content-edit-button{min-height:28px}
 .ep-article__titlebar{padding:13px 14px 11px}.ep-article__titlebar h1{font-size:24px}.ep-prose{padding:14px;font-size:13px}
 .founder-float-image{width:128px;height:128px;margin:2px 13px 8px 0}
 .ep-contact-card--lead{grid-template-columns:64px minmax(0,1fr)!important}.ep-contact-card__logo{width:64px!important;height:64px!important}.ep-contact-card__logo img{width:46px!important;height:46px!important}
 .ep-contact-grid{grid-template-columns:1fr}.ep-contact-reception{align-items:flex-start;flex-direction:column}
 .press-head{align-items:flex-start;flex-direction:column}.press-head>strong{display:none}.press-card,.press-card.is-featured{grid-template-columns:105px minmax(0,1fr)}.press-card__image,.press-card.is-featured .press-card__image{height:86px}.press-card h2,.press-card.is-featured h2{font-size:15px}.press-card p{display:none}
 .simple-profile-hero{grid-template-columns:105px minmax(0,1fr);gap:10px;padding:10px}.simple-profile-hero.has-cover{padding-top:92px}.simple-profile-hero.has-cover:before{height:82px}.simple-profile-title h1{font-size:20px}.simple-profile-about{grid-column:1/-1}.simple-profile-people-row{grid-template-columns:1fr}.simple-profile-people-grid{grid-template-columns:repeat(4,1fr)}
 .page-messages .ep-messenger-card .messenger{display:block!important;grid-template-columns:none!important;height:calc(100dvh - 170px)!important;min-height:520px!important}
 .page-messages .ep-messenger-card .messenger[data-chat-id="0"]>.chat-list{display:flex!important;width:100%!important;height:100%!important}
 .page-messages .ep-messenger-card .messenger[data-chat-id="0"]>.conversation-shell{display:none!important}
 .page-messages .ep-messenger-card .messenger:not([data-chat-id="0"])>.chat-list{display:none!important}
 .page-messages .ep-messenger-card .messenger:not([data-chat-id="0"])>.conversation-shell{display:block!important;width:100%!important;height:100%!important}
}


/* Social/feed/profile pages must scroll inside the unified portal shell. */
html:has(body.page-social),html:has(body.page-messages),html:has(body.page-profile){
 height:auto!important;min-height:100%!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important
}
body.page-social,body.page-messages,body.page-profile{
 height:auto!important;min-height:100vh!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important
}
.page-social .site-main,.page-social .site-grid,.page-social .site-content,
.page-social .ep-social-shell,.page-social .ep-feed-shell,.page-social .ep-container,
.page-social .ep-feed-grid,.page-social .ep-feed-main,.page-social .ep-feed-list,
.page-profile .site-main,.page-profile .site-grid,.page-profile .site-content{
 height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important
}
.page-social .ep-feed-aside{height:auto!important;max-height:none!important;overflow:visible!important;align-self:start!important}
.page-social .ep-social-shell{padding:0!important;background:transparent!important}
.page-social .ep-social-heading{margin:0 0 10px!important;padding:13px 14px!important;border:1px solid #cbd6de!important;border-radius:10px!important;background:#fff!important}
.page-social .ep-social-heading h1{margin:2px 0!important;color:#173f60!important;font-size:25px!important}
.page-social .ep-social-heading p{margin:3px 0 0!important;font-size:10px!important}
.page-social .ep-feed-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:10px!important}
.page-social .ep-social-card,.page-social .ep-feed-composer,.page-social .ep-feed-tabs{border-radius:10px!important}
html.lightbox-open{overflow:hidden!important}


/* Scroll root without relying on :has() support. */
html.page-root-social,html.page-root-messages,html.page-root-profile{
 height:auto!important;min-height:100%!important;max-height:none!important;
 overflow-y:auto!important;overflow-x:hidden!important
}


/* ===== Unified service-page headers ===== */
.edt-hero,
.edr-head,
.edn-head,
.eda-hero,
.edpartner-head,
.edv-intro,
.edm-head{
 display:flex!important;
 align-items:flex-end!important;
 justify-content:space-between!important;
 gap:18px!important;
 width:100%!important;
 max-width:none!important;
 min-height:0!important;
 margin:0 0 12px!important;
 padding:15px 16px!important;
 border:1px solid #cbd6de!important;
 border-radius:10px!important;
 background:#fff!important;
 color:#263f53!important;
 box-shadow:0 3px 12px rgba(28,55,76,.045)!important;
 overflow:visible!important;
}
.edt-hero>div,
.edr-head>div,
.edn-head>div,
.eda-hero>div,
.edpartner-head>div,
.edv-intro>div,
.edm-head>div{
 min-width:0!important;
}
.edt-hero h1,
.edr-head h1,
.edn-head h1,
.eda-hero h1,
.edpartner-head h1,
.edv-intro h1,
.edm-head h1{
 margin:2px 0 4px!important;
 color:#173f60!important;
 font:700 29px/1.08 Georgia,"Times New Roman",serif!important;
 letter-spacing:-.01em!important;
 text-transform:none!important;
}
.edt-hero p,
.edr-head p,
.edn-head p,
.eda-hero p,
.edpartner-head p,
.edv-intro p,
.edm-head p{
 max-width:900px!important;
 margin:0!important;
 color:#657786!important;
 font:400 11px/1.48 Arial,Helvetica,sans-serif!important;
}
.edt-hero>span,
.edr-head>span,
.edn-head>span,
.eda-hero>span,
.edpartner-head>span,
.edv-intro>span,
.edm-head>span,
.edt-hero small,
.edr-head small,
.edn-head small,
.eda-hero small,
.edpartner-head small,
.edv-intro small,
.edm-head small{
 color:#b28227!important;
 font:900 8px/1.2 Arial,Helvetica,sans-serif!important;
 letter-spacing:.11em!important;
 text-transform:uppercase!important;
}
.edt-hero strong,
.edr-head strong,
.edn-head strong,
.eda-hero strong,
.edpartner-head strong,
.edv-intro strong,
.edm-head strong{
 display:grid!important;
 flex:0 0 52px!important;
 width:52px!important;
 min-width:52px!important;
 height:52px!important;
 place-items:center!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 border-radius:12px!important;
 background:#eaf2f8!important;
 color:#173f60!important;
 font:800 20px/1 Arial,Helvetica,sans-serif!important;
 box-shadow:none!important;
}
.edt-hero:before,.edt-hero:after,
.edr-head:before,.edr-head:after,
.edn-head:before,.edn-head:after,
.eda-hero:before,.eda-hero:after,
.edpartner-head:before,.edpartner-head:after,
.edv-intro:before,.edv-intro:after,
.edm-head:before,.edm-head:after{
 box-shadow:none!important;
}

/* Extra main-nav item: keep the full row neat on desktop. */
.main-nav>a,
.main-nav>.nav-drop{
 flex:1 1 auto;
 min-width:0;
}
.main-nav>.nav-drop>summary{
 width:100%;
}
.main-nav>a,
.nav-drop>summary{
 padding-left:12px;
 padding-right:12px;
 font-size:12px;
}

/* Compact service headers on mobile. */
@media(max-width:760px){
 .edt-hero,.edr-head,.edn-head,.eda-hero,.edpartner-head,.edv-intro,.edm-head{
  align-items:flex-start!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:13px 14px!important;
 }
 .edt-hero h1,.edr-head h1,.edn-head h1,.eda-hero h1,.edpartner-head h1,.edv-intro h1,.edm-head h1{
  font-size:24px!important;
 }
 .edt-hero strong,.edr-head strong,.edn-head strong,.eda-hero strong,.edpartner-head strong,.edv-intro strong,.edm-head strong{
  display:none!important;
 }
}


/* Correct stacking for service heads without a counter wrapper. */
.edt-hero,
.eda-hero,
.edpartner-head,
.edv-intro,
.edm-head{
 display:block!important;
}
.edt-hero>span,
.eda-hero>span,
.edpartner-head>span,
.edv-intro>span,
.edm-head>span{
 display:block!important;
 margin:0 0 3px!important;
}
.edt-hero h1,
.eda-hero h1,
.edpartner-head h1,
.edv-intro h1,
.edm-head h1{
 display:block!important;
}
.edt-hero p,
.eda-hero p,
.edpartner-head p,
.edv-intro p,
.edm-head p{
 display:block!important;
}


/* 2026-11-06 — unified compact public page headers */
:where(.press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,.edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,.edg-head:not(.edg-head--album),.edr-head,.edv-intro){
  width:100%!important;max-width:none!important;min-height:0!important;
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;
  margin:0 0 11px!important;padding:3px 1px 10px!important;
  border:0!important;border-bottom:1px solid #d3dde4!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
:where(.press-head,.nr-project-page__head,.edpartner-head,.ede-head,.edn-head:not(.edn-head--detail),.edd-head,.edg-head:not(.edg-head--album),.edr-head)>div{
  min-width:0!important;display:flex!important;align-items:baseline!important;gap:9px!important;flex-wrap:wrap!important;
}
:where(.press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,.edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,.edg-head:not(.edg-head--album),.edr-head,.edv-intro)
:where(.press-kicker,.ede-kicker,.eda-kicker,.edg-kicker,span:first-child,p){
  display:none!important;
}
:where(.press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,.edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,.edg-head:not(.edg-head--album),.edr-head,.edv-intro) h1{
  margin:0!important;color:#173f60!important;font:700 22px/1 Georgia,"Times New Roman",serif!important;letter-spacing:0!important;
}
:where(.press-head,.edd-head,.edg-head:not(.edg-head--album),.edr-head)>strong{
  min-width:0!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#84939d!important;font:700 8px/1.2 Arial,Helvetica,sans-serif!important;box-shadow:none!important;
}
:where(.edpartner-public,.ede-public,.eda-public,.edt-public,.edn-public,.edd-public,.edm-public,.nr-project-page,.eds-public,.edg-wrap,.edr-wrap,.edv-public){
  padding-top:3px!important;
}
.ep-content-wrap--page .ep-article__titlebar{
  margin:0 0 11px!important;padding:3px 1px 10px!important;border-bottom:1px solid #d3dde4!important;
}
.ep-content-wrap--page .ep-article__titlebar h1{
  margin:0!important;color:#173f60!important;font:700 22px/1 Georgia,"Times New Roman",serif!important;letter-spacing:0!important;
}
@media(max-width:650px){
  :where(.press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,.edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,.edg-head:not(.edg-head--album),.edr-head,.edv-intro){
    align-items:baseline!important;flex-direction:row!important;padding:2px 0 9px!important;margin-bottom:9px!important;
  }
  :where(.press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,.edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,.edg-head:not(.edg-head--album),.edr-head,.edv-intro) h1,
  .ep-content-wrap--page .ep-article__titlebar h1{font-size:19px!important}
}

/* 2026-11-06 — no public breadcrumbs anywhere */
.ep-breadcrumbs,.edp-breadcrumbs,.edg-breadcrumbs,.nr-breadcrumbs,.edh-breadcrumbs,.edm-breadcrumbs{display:none!important}

/* 2026-11-06 — one continuous public page surface */
.site-content{background:rgba(255,255,255,.975);border:1px solid rgba(184,199,210,.82);border-radius:10px;padding:13px 15px 22px;box-shadow:0 4px 18px rgba(19,48,70,.08)}
:where(.edpartner-public,.ede-public,.eda-public,.edt-public,.edn-public,.edd-public,.edm-public,.nr-project-page,.nr-project-article,.eds-public,.edg-public,.edr-public,.edv-public){background:transparent!important}
@media(max-width:760px){.site-main{padding:8px 7px 76px}.site-content{border-radius:8px;padding:10px 11px 18px}}


/* 2026-11-06 — PRESS is the single visual standard for every public page */
:where(
 .press-head,
 .ep-service-head,
 .ep-compact-head,
 .ep-content-wrap--page .ep-article__titlebar,
 .nr-project-page__head,
 .nr-project-article__head,
 .edpartner-head,
 .ede-head,
 .eda-hero,
 .edt-hero,
 .edn-head,
 .edd-head,
 .edm-head,
 .eds-public__intro,
 .edg-head,
 .edr-head,
 .edr-report__head,
 .edv-intro,
 .edmusic-mini-head
){
 width:100%!important;max-width:none!important;min-height:0!important;
 display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;
 margin:0 0 10px!important;padding:2px 0 9px!important;
 border:0!important;border-bottom:1px solid #d3dde4!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;color:inherit!important;
}
:where(
 .press-head,
 .ep-service-head,
 .nr-project-page__head,
 .nr-project-article__head,
 .ede-head,
 .edn-head,
 .edd-head,
 .edg-head,
 .edr-head,
 .edr-report__head,
 .edmusic-mini-head
)>div{
 min-width:0!important;display:flex!important;align-items:baseline!important;gap:8px!important;flex-wrap:wrap!important;
}
:where(
 .press-head,
 .ep-service-head,
 .ep-compact-head,
 .nr-project-page__head,
 .nr-project-article__head,
 .edpartner-head,
 .ede-head,
 .eda-hero,
 .edt-hero,
 .edn-head,
 .edd-head,
 .edm-head,
 .eds-public__intro,
 .edg-head,
 .edr-head,
 .edr-report__head,
 .edv-intro
)>:where(p,span:not(.edmusic-count)),
:where(
 .press-head,
 .ep-service-head,
 .ep-compact-head,
 .nr-project-page__head,
 .nr-project-article__head,
 .edpartner-head,
 .ede-head,
 .eda-hero,
 .edt-hero,
 .edn-head,
 .edd-head,
 .edm-head,
 .eds-public__intro,
 .edg-head,
 .edr-head,
 .edr-report__head,
 .edv-intro
) :where(.press-kicker,.ep-service-kicker,.ep-kicker,.ede-kicker,.eda-kicker,.edg-kicker){
 display:none!important;
}
:where(
 .press-head,
 .ep-service-head,
 .ep-compact-head,
 .ep-content-wrap--page .ep-article__titlebar,
 .nr-project-page__head,
 .nr-project-article__head,
 .edpartner-head,
 .edpartner-detail-head__grid,
 .ede-head,
 .ede-detail,
 .eda-hero,
 .edt-hero,
 .edn-head,
 .edd-head,
 .edm-head,
 .edm-profile__copy,
 .eds-public__intro,
 .edg-head,
 .edr-head,
 .edr-report__head,
 .edv-intro,
 .edmusic-mini-head
) h1{
 margin:0!important;color:#173f60!important;
 font:700 21px/1.05 Georgia,"Times New Roman",serif!important;
 letter-spacing:0!important;
}
:where(.press-head,.edd-head,.edg-head,.edr-head)>strong{
 min-width:0!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;color:#84939d!important;font:700 8px/1.2 Arial,Helvetica,sans-serif!important;box-shadow:none!important;
}
:where(.ep-service-head,.edmusic-mini-head,.edg-head) :where(a,button,label){
 flex:0 0 auto;
}
:where(
 .edpartner-public,.ede-public,.eda-public,.edt-public,.edn-public,.edd-public,.edm-public,
 .nr-project-page,.nr-project-article,.eds-public,.edg-public,.edr-public,.edv-public,.edmusic-public
){
 padding-top:0!important;background:transparent!important;
}
.edpartner-head>p,.ede-head p,.eda-hero p,.edt-hero p,.edn-head p,.edd-head p,.edm-head p,
.eds-public__intro p,.edg-head p,.edr-head p,.edv-intro p,.nr-project-page__head p,.nr-project-article__head p,
.ep-service-head p,.ep-compact-head p{display:none!important}
@media(max-width:650px){
 :where(
  .press-head,.ep-service-head,.ep-compact-head,.ep-content-wrap--page .ep-article__titlebar,
  .nr-project-page__head,.nr-project-article__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,.edn-head,
  .edd-head,.edm-head,.eds-public__intro,.edg-head,.edr-head,.edr-report__head,.edv-intro,.edmusic-mini-head
 ){
  margin-bottom:9px!important;padding:2px 0 8px!important;gap:7px!important;
 }
 :where(
  .press-head,.ep-service-head,.ep-compact-head,.ep-content-wrap--page .ep-article__titlebar,
  .nr-project-page__head,.nr-project-article__head,.edpartner-head,.edpartner-detail-head__grid,.ede-head,.ede-detail,
  .eda-hero,.edt-hero,.edn-head,.edd-head,.edm-head,.edm-profile__copy,.eds-public__intro,.edg-head,.edr-head,
  .edr-report__head,.edv-intro,.edmusic-mini-head
 ) h1{font-size:18px!important}
}


/* 2026-11-06 — exact PRESS title card is the public section standard */
:where(
 .press-head,
 .nr-project-page__head,
 .edpartner-head,
 .ede-head,
 .eda-hero,
 .edt-hero,
 .edn-head:not(.edn-head--detail),
 .edd-head,
 .edm-head,
 .eds-public__intro,
 .edg-head:not(.edg-head--album),
 .edr-head,
 .edv-intro,
 .edmusic-mini-head,
 .ep-compact-head,
 .ep-content-wrap--page .ep-article__titlebar
){
 width:100%!important;max-width:none!important;min-height:0!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
 margin:0 0 10px!important;padding:16px 18px!important;
 border:1px solid #cbd6de!important;border-radius:10px!important;
 background:#fff!important;box-shadow:none!important;
}
:where(
 .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.edn-head:not(.edn-head--detail),
 .edd-head,.edg-head:not(.edg-head--album),.edr-head,.edmusic-mini-head
)>div{
 min-width:0!important;display:block!important;
}
:where(
 .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
 .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
 .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.ep-compact-head
) :where(.press-kicker,.ep-kicker,.ede-kicker,.eda-kicker,.edg-kicker,p){
 display:none!important;
}
:where(
 .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
 .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
 .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
 .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar
) h1{
 margin:0!important;color:#173f60!important;
 font:700 30px/1.05 Georgia,"Times New Roman",serif!important;
 letter-spacing:0!important;
}
:where(.press-head,.edd-head,.edg-head:not(.edg-head--album),.edr-head)>strong,
.edmusic-mini-head span{
 flex:0 0 auto!important;min-width:0!important;width:auto!important;height:auto!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;color:#84939d!important;
 font:700 8px/1.2 Arial,Helvetica,sans-serif!important;box-shadow:none!important;
}
@media(max-width:650px){
 :where(
  .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
  .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
  .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
  .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar
 ){
  padding:12px 13px!important;border-radius:8px!important;margin-bottom:9px!important;
 }
 :where(
  .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
  .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
  .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
  .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar
 ) h1{font-size:22px!important}
}


/* 2026-11-06 — mobile: breadcrumbs are forbidden everywhere */
@media(max-width:850px){
 body.site-body [class*="breadcrumb"],
 body.site-body [class*="Breadcrumb"],
 body.site-body nav[aria-label*="breadcrumb" i],
 body.site-body nav[aria-label*="хлеб" i],
 body.site-body .ep-breadcrumbs,
 body.site-body .edp-breadcrumbs,
 body.site-body .edg-breadcrumbs,
 body.site-body .nr-breadcrumbs,
 body.site-body .edh-breadcrumbs,
 body.site-body .edm-breadcrumbs{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
 }
}


/* 2026-11-06 — UI density audit: compact public interface */
.site-main{padding:10px 10px 20px}
.site-grid{gap:12px}
.site-content{padding:10px 12px 16px;border-radius:8px;box-shadow:0 2px 10px rgba(19,48,70,.06)}

:where(
 .edd-public,.edg-public,.edm-public,.edpartner-public,.eda-public,.edt-public,.edr-public,
 .edv-public,.ede-public,.edn-public,.eds-public,.edmusic-public,.nr-project-page,.nr-project-article
){padding-top:0!important;padding-bottom:0!important}

.site-content :where(.edd-wrap,.edg-wrap,.edr-wrap){padding-top:0!important;padding-bottom:0!important}
.site-content :where(.edd-wrap,.edpartner-public,.ede-public,.eda-public,.edt-public,.edn-public,.edm-public,.edr-wrap,.edv-public){gap:9px!important}

/* Compact page-title card: same concept everywhere, without wasting height. */
:where(
 .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
 .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
 .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
 .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar,.ep-service-head
){
 min-height:0!important;margin:0 0 7px!important;padding:8px 11px!important;
 border-radius:7px!important;gap:8px!important;
}
:where(
 .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
 .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
 .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
 .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar,.ep-service-head
) h1{
 font:700 21px/1.05 Georgia,"Times New Roman",serif!important;
}

/* Common public cards and filters: reduce padding and gaps. */
.site-content :where(
 .edd-filter,.edd-row,.edg-album-card__body,.edm-card__body,.edpartner-card,
 .eda-card,.eda-auth-card,.eda-public-card,.edr-filter,.edr-card,.edr-report,
 .edv-card,.edt-card,.edt-panel,.ede-card,.ede-panel,.ede-summary,.edn-card
){padding:10px!important;border-radius:8px!important}

.site-content :where(
 .edd-list,.edg-album-grid,.edm-grid,.edpartner-grid,.eda-grid,.eda-list,
 .edr-list,.edv-grid,.edt-grid,.ede-grid
){gap:8px!important}

.site-content :where(
 .edd-info h2,.edg-album-card h2,.edm-card h2,.edpartner-card h2,
 .eda-card h2,.edr-card h2,.edv-card h2,.edt-card h3,.ede-card h2
){font-size:16px!important;line-height:1.2!important}

.site-content :where(
 .edd-info p,.edg-album-card p,.edm-card p,.edpartner-card p,.eda-card p,
 .edr-card p,.edv-card p,.edt-card p,.ede-card p
){font-size:11px!important;line-height:1.4!important}

.site-content :where(.edd-filter input,.edd-filter select,.edd-filter button,.edd-filter a){
 min-height:34px!important;height:34px!important;padding-top:5px!important;padding-bottom:5px!important
}

/* Mobile: dense, readable, no decorative waste. */
@media(max-width:760px){
 body.site-body{padding-bottom:58px}
 .topbar{min-height:36px;padding:0 6px}
 .brand-banner{height:68px}
 .main-nav-wrap{min-height:40px;padding:0 6px}
 .mobile-menu-button{height:32px;padding:0 10px;font-size:11px}
 .site-main{padding:5px 5px 8px}
 .site-content{padding:6px 6px 9px;border-radius:6px;box-shadow:none}
 .mobile-bottom-nav{min-height:56px}
 .mobile-bottom-nav span{font-size:16px}

 :where(
  .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
  .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
  .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
  .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar,.ep-service-head
 ){
  min-height:0!important;margin:0 0 5px!important;padding:5px 8px!important;
  border-radius:5px!important;gap:5px!important;
 }
 :where(
  .press-head,.nr-project-page__head,.edpartner-head,.ede-head,.eda-hero,.edt-hero,
  .edn-head:not(.edn-head--detail),.edd-head,.edm-head,.eds-public__intro,
  .edg-head:not(.edg-head--album),.edr-head,.edv-intro,.edmusic-mini-head,
  .ep-compact-head,.ep-content-wrap--page .ep-article__titlebar,.ep-service-head
 ) h1{font-size:16px!important;line-height:1.05!important}

 .site-content :where(
  .edd-filter,.edd-row,.edg-album-card__body,.edm-card__body,.edpartner-card,
  .eda-card,.eda-auth-card,.eda-public-card,.edr-filter,.edr-card,.edr-report,
  .edv-card,.edt-card,.edt-panel,.ede-card,.ede-panel,.ede-summary,.edn-card
 ){padding:8px!important;border-radius:6px!important}

 .site-content :where(
  .edd-list,.edg-album-grid,.edm-grid,.edpartner-grid,.eda-grid,.eda-list,
  .edr-list,.edv-grid,.edt-grid,.ede-grid
 ){gap:6px!important}

 .edd-public,.edg-public,.edm-public,.edpartner-public,.eda-public,.edt-public,
 .edr-public,.edv-public,.ede-public,.edn-public,.eds-public,.edmusic-public{
  padding-top:0!important;padding-bottom:0!important
 }

 .edd-row{grid-template-columns:36px minmax(0,1fr)!important;gap:7px!important}
 .edd-type{width:34px!important;height:34px!important;border-radius:6px!important;font-size:8px!important}
 .edd-info h2{margin:2px 0!important;font-size:14px!important}
 .edd-info p{display:none!important}
 .edd-meta{gap:4px!important;font-size:8px!important}
 .edd-actions{gap:4px!important}
 .edd-button{min-height:32px!important;padding:5px 9px!important;font-size:9px!important}

 .news-row{padding:7px;gap:7px}
}


/* 2026-11-06 — full UI pass: header, home, detail pages, forms, footer */

/* Header / navigation density */
.topbar{min-height:40px;padding:0 10px;gap:10px}
.brand-banner{height:clamp(106px,7.6vw,145px)}
.main-nav{min-height:44px}
.main-nav>a,.nav-drop>summary{min-height:44px;padding-left:10px!important;padding-right:10px!important;font-size:11.5px!important}
.classic-sidebar{gap:9px}
.classic-widget{border-radius:8px}
.classic-widget>h2{padding:8px 9px;font-size:11px}
.classic-widget__body{padding:8px}

/* Home */
.home-center{gap:9px}
.home-news{border-radius:8px}
.section-head{min-height:36px;padding:0 10px}
.section-head h2{font-size:16px}
.news-row{grid-template-columns:145px minmax(0,1fr);gap:9px;padding:9px}
.news-row__image{height:92px}
.news-row h3{font-size:16px}
.news-row p{font-size:9.5px;line-height:1.4}

/* Articles and ordinary content */
.ep-article{border-radius:8px}
.ep-article__cover{height:260px}
.ep-prose{padding:12px 14px;font-size:13px;line-height:1.55}
.ep-article__footer-meta{padding:9px 14px}
.ep-taxonomy{padding:9px 14px}
.ep-related,.ep-comments{padding:11px 14px}
.ep-related h2,.ep-comments h2{margin:2px 0 8px;font-size:16px}
.ep-related-grid{gap:7px}
.ep-related-card{padding:8px}
.ep-comments textarea{min-height:86px}

/* Unified detail pages */
.nr-project-article__cover{margin:6px 0 10px!important;border-radius:6px!important}
.nr-project-article__cover img{max-height:260px!important}
.nr-project-prose{font-size:13px!important;line-height:1.55!important}
.nr-project-updates,.nr-project-resources{margin-top:12px!important;padding-top:9px!important}

.edm-profile{grid-template-columns:180px minmax(0,1fr)!important;gap:16px!important}
.edm-profile__photo{min-height:210px!important;height:210px!important;border-radius:8px!important}
.edm-profile__photo img{min-height:0!important;max-height:none!important;height:100%!important}
.edm-profile__copy h1{margin-top:3px!important;font-size:22px!important;line-height:1.08!important}
.edm-profile__copy h2{margin-top:5px!important;font-size:14px!important}
.edm-profile__copy>small{font-size:8px!important}
.edm-bio{margin-top:10px!important;font:400 13px/1.55 Georgia,"Times New Roman",serif!important}
.edm-projects{margin-top:14px!important;padding-top:10px!important}
.edm-projects h2{font-size:17px!important}
.edm-project-list{margin-top:8px!important}
.edm-privacy-note{margin-top:12px!important;padding:8px 10px!important;font-size:9px!important}

.edpartner-back,.ede-back,.eda-back,.edr-back{margin:0 0 7px!important;font-size:9px!important}
.edpartner-detail-head__grid{grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important;margin-top:6px!important}
.edpartner-detail-logo{width:72px!important;height:72px!important;border-radius:7px!important}
.edpartner-detail-head h1{margin:2px 0 4px!important;font-size:21px!important;line-height:1.08!important}
.edpartner-lead{font-size:11px!important;line-height:1.4!important}
.edpartner-detail-body{padding-top:10px!important}
.edpartner-description{font:400 13px/1.55 Georgia,"Times New Roman",serif!important}
.edpartner-projects{margin-top:12px!important}
.edpartner-project-list{gap:6px!important}
.edpartner-project-list a{padding:9px!important;border-radius:7px!important}

.ede-detail{max-width:none!important}
.ede-detail-actions{margin-bottom:7px!important}
.ede-calendar{padding:5px 8px!important;border-radius:6px!important;font-size:9px!important}
.ede-detail>h1,.eda-detail>h1{margin:4px 0 6px!important;color:#173f60!important;font:700 21px/1.08 Georgia,"Times New Roman",serif!important}
.ede-meta,.eda-meta{gap:6px!important;font-size:9px!important}
.ede-lead,.eda-lead{font-size:12px!important;line-height:1.5!important}
.ede-summary{gap:7px!important;margin:9px 0!important;padding:9px!important;border-radius:7px!important}
.ede-summary dt{font-size:9px!important}
.ede-summary dd{font-size:11px!important}
.ede-body{margin-top:12px!important;font-size:12px!important;line-height:1.55!important}
.ede-body h2,.eda-answer h2,.eda-history h2{font-size:15px!important}
.eda-project{padding:7px 9px!important;border-radius:6px!important;font-size:10px!important}
.eda-answer{padding:10px!important;border-left-width:3px!important;line-height:1.55!important}
.eda-history{margin-top:12px!important}
.eda-privacy-note{font-size:9px!important}

.edr-wrap{padding-top:0!important;padding-bottom:0!important}
.edr-report{padding:10px!important;border-radius:8px!important}
.edr-report__head{gap:10px!important}
.edr-report__head h1{font-size:20px!important;line-height:1.08!important}
.edr-report__head span,.edr-report__head strong{font-size:9px!important}
.edr-report__facts{gap:8px!important;margin:9px 0!important;font-size:10px!important}
.edr-summary{padding:9px!important;border-radius:0 7px 7px 0!important;font-size:11px!important;line-height:1.5!important}
.edr-body{font-size:12px!important;line-height:1.55!important}
.edr-attachments{margin-top:12px!important}
.edr-section-head{gap:8px!important;margin-bottom:7px!important}
.edr-section-head h2{font-size:15px!important}
.edr-document-list{gap:5px!important;margin-top:7px!important}

.edg-head--album{margin:0 0 7px!important;padding:8px 11px!important;border:1px solid #cbd6de!important;border-radius:7px!important;background:#fff!important}
.edg-head--album h1{margin:0!important;font-size:21px!important;line-height:1.08!important}
.edg-head--album p,.edg-head--album .edg-kicker{display:none!important}
.edg-head--album>strong{font-size:8px!important;color:#84939d!important}
.edg-context{gap:5px!important;margin:0 0 7px!important}
.edg-context a{padding:5px 7px!important;border-radius:5px!important;font-size:9px!important}
.edg-photo-grid{column-gap:8px!important}
.edg-photo{margin-bottom:8px!important;border-radius:7px!important}
.edg-photo figcaption{padding:7px 8px!important}
.edg-photo figcaption p{font-size:10px!important}
.edg-photo figcaption small{font-size:8px!important}

/* Forms */
.site-content form{gap:8px}
.site-content form label{gap:4px}
.site-content form label>span{font-size:10px}
.site-content form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.site-content form select{min-height:34px!important;height:34px;padding:5px 8px!important;border-radius:6px!important;font-size:11px!important}
.site-content form textarea{min-height:78px;padding:7px 8px!important;border-radius:6px!important;font-size:11px!important;line-height:1.4!important}

.edv-form,.eda-form{gap:8px!important;max-width:none!important}
.edv-card,.edv-success,.edv-danger{padding:9px!important;border-radius:7px!important;box-shadow:none!important}
.edv-card h2{margin:0 0 8px!important;font-size:15px!important}
.edv-grid{gap:7px!important}
.edv-card label>span{font-size:10px!important}
.edv-note{margin:6px 0 0!important;font-size:9px!important}
.edv-checks{gap:5px!important;margin-bottom:8px!important}
.edv-checks label,.edv-consent label{gap:6px!important;padding:7px 8px!important;border-radius:6px!important;font-size:10px!important}
.edv-submit{padding:8px 13px!important;border-radius:7px!important;font-size:11px!important}
.eda-auth-card{margin:0 0 9px!important;padding:9px!important;border-radius:7px!important;box-shadow:none!important}
.eda-card{padding:9px!important}
.eda-card-head{margin-bottom:7px!important}
.eda-card h2,.eda-card-head h2{font-size:15px!important}
.eda-grid{gap:7px!important}
.eda-submit{padding:8px 13px!important;font-size:11px!important}

/* Footer */
.footer-grid{gap:18px;padding:18px 10px}
.footer-grid h2{font-size:15px}
.footer-grid h3{font-size:11px}
.footer-grid p{font-size:9px}
.footer-grid a{font-size:9px}
.footer-bottom{padding:8px 10px;font-size:8px}

/* Mobile menu + final mobile density */
@media(max-width:760px){
 .topbar{min-height:34px}
 .brand-banner{height:62px}
 .main-nav-wrap{min-height:36px}
 .mobile-menu-button{height:29px;padding:0 9px;font-size:10px}
 .main-nav{width:min(300px,84vw);padding:48px 8px 12px}
 .main-nav>a,.nav-drop>summary{min-height:40px!important;padding:0 9px!important;font-size:11px!important}
 .nav-drop__menu{padding-left:10px!important}
 .nav-drop__menu a{padding:6px 8px!important;font-size:10px!important}
 .mobile-menu-close{width:30px;height:30px;right:9px;top:9px;font-size:19px}
 body.site-body{padding-bottom:52px}
 .mobile-bottom-nav{min-height:50px;padding:2px 2px max(2px,env(safe-area-inset-bottom))}
 .mobile-bottom-nav a,.mobile-bottom-nav button{padding:2px}
 .mobile-bottom-nav span{font-size:14px}
 .mobile-bottom-nav b{font-size:7px}

 .home-center{gap:6px}
 .section-head{min-height:30px;padding:0 7px}
 .section-head h2{font-size:14px}
 .section-head a{font-size:8px}
 .news-row{grid-template-columns:78px minmax(0,1fr);gap:6px;padding:6px}
 .news-row__image{height:58px;border-radius:5px}
 .news-row h3{font-size:13px;line-height:1.15}
 .news-row__meta{gap:5px;margin-bottom:0;font-size:7px}
 .news-badge{margin-bottom:2px;padding:2px 5px;font-size:6.5px}

 .ep-article__cover{height:160px}
 .ep-prose{padding:9px;font-size:12.5px;line-height:1.5}
 .ep-article__footer-meta,.ep-taxonomy,.ep-related,.ep-comments{padding:8px 9px}
 .ep-related-grid{grid-template-columns:1fr}

 .nr-project-article__cover img{max-height:175px!important}
 .nr-project-prose{font-size:12px!important}
 .edm-profile{grid-template-columns:88px minmax(0,1fr)!important;gap:9px!important}
 .edm-profile__photo{min-height:105px!important;height:105px!important;max-width:none!important}
 .edm-profile__copy h1{font-size:17px!important}
 .edm-profile__copy h2{font-size:11px!important}
 .edm-bio{margin-top:6px!important;font-size:11px!important;line-height:1.45!important}
 .edm-projects{margin-top:9px!important;padding-top:7px!important}
 .edm-projects h2{font-size:14px!important}
 .edm-privacy-note{margin-top:8px!important;padding:6px 7px!important;font-size:8px!important}

 .edpartner-detail-head__grid{grid-template-columns:56px minmax(0,1fr)!important;gap:7px!important}
 .edpartner-detail-logo{width:56px!important;height:56px!important}
 .edpartner-detail-head h1{font-size:17px!important}
 .edpartner-lead{font-size:10px!important}
 .edpartner-detail-body{padding-top:7px!important}
 .edpartner-description{font-size:11px!important;line-height:1.45!important}

 .ede-detail>h1,.eda-detail>h1{font-size:17px!important}
 .ede-detail-actions{gap:5px!important}
 .ede-calendar{width:auto!important}
 .ede-summary{grid-template-columns:1fr 1fr!important;padding:7px!important}
 .eda-answer{padding:8px!important}

 .edr-report{padding:8px!important}
 .edr-report__head h1{font-size:17px!important}
 .edr-report__facts{margin:6px 0!important}
 .edr-summary{padding:7px!important}

 .edg-head--album{padding:5px 8px!important;margin-bottom:5px!important}
 .edg-head--album h1{font-size:16px!important}
 .edg-photo-grid{columns:2 150px!important}

 .edv-card,.edv-success,.edv-danger,.eda-card,.eda-auth-card{padding:7px!important}
 .edv-card h2,.eda-card h2,.eda-card-head h2{font-size:13px!important}
 .edv-checks{grid-template-columns:1fr 1fr!important}
 .edv-checks label,.edv-consent label{padding:6px!important;font-size:9px!important}
 .edv-submit,.eda-submit{width:100%;justify-self:stretch!important;min-height:34px!important}

 .footer-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;padding:12px 8px!important}
 .footer-grid section:first-child{grid-column:1/-1}
 .footer-grid h2,.footer-grid h3{margin-bottom:4px!important}
 .footer-grid p{font-size:8px!important}
 .footer-grid a{font-size:8px!important}
 .footer-bottom{padding:6px 8px!important;font-size:7.5px!important}
}


/* 2026-11-06 — profile bridge: social features inside the public EDINSTVO theme */
html.page-root-profile{height:auto!important;min-height:100%!important;background:#174968!important}
body.site-body.page-profile{
 height:auto!important;min-height:100vh!important;max-height:none!important;
 overflow-x:hidden!important;overflow-y:auto!important;
 --accent:#176b9c;--accent-hover:#0e5d8c;--accent-soft:#eaf4fa;
 --bg:transparent;--panel:#fff;--panel-2:#f3f7fa;--text:#263f53;--muted:#718390;--border:#d3dde4;
 background:#174968!important;color:#263f53!important;
 font-family:Arial,Helvetica,sans-serif!important
}
body.page-profile .site-header{position:relative!important;z-index:4000!important;background:#fff!important}
body.page-profile .site-header .topbar{
 position:relative!important;top:auto!important;width:100%!important;
 height:auto!important;min-height:40px!important;padding:0 10px!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
 background:#173f60!important;color:#fff!important;border:0!important;overflow:visible!important
}
body.page-profile .site-header .topbar__contacts{display:flex!important;color:#fff!important}
body.page-profile .site-header .topbar__contacts a{display:inline!important;color:#fff!important}
body.page-profile .site-header .topbar__controls{display:flex!important;overflow:visible!important}
body.page-profile .site-header .brand-banner{
 display:block!important;height:clamp(106px,7.6vw,145px)!important;
 background:#1f5480 url("approved-header.webp") center/cover no-repeat!important
}
body.page-profile .site-header .main-nav-wrap{position:sticky!important;top:0!important;background:linear-gradient(#24577d,#173f60)!important}
body.page-profile .site-header .main-nav{display:flex!important}
body.page-profile .ep-user-menu,
body.page-profile .ep-notifications{position:relative!important;overflow:visible!important}
body.page-profile .ep-user-menu__summary{display:flex!important}
body.page-profile .ep-user-menu__identity{display:grid!important}
body.page-profile .ep-user-menu__panel{
 position:absolute!important;right:0!important;top:40px!important;left:auto!important;
 width:270px!important;max-height:min(520px,calc(100vh - 64px))!important;
 overflow:auto!important;border:1px solid #b9c8d4!important;border-radius:11px!important;
 background:#fff!important;color:#2d4659!important;box-shadow:0 16px 36px rgba(12,35,52,.24)!important
}
body.page-profile .ep-user-menu__nav{display:grid!important;padding:4px!important}
body.page-profile .site-header .topbar .ep-user-menu__nav>a{
 display:grid!important;grid-template-columns:25px minmax(0,1fr) auto!important;
 gap:7px!important;align-items:center!important;width:100%!important;min-height:38px!important;
 padding:6px 7px!important;border:0!important;border-radius:7px!important;
 background:#fff!important;color:#2b475c!important;text-align:left!important;text-decoration:none!important
}
body.page-profile .site-header .topbar .ep-user-menu__nav>a:hover{background:#ebf4fa!important}
body.page-profile .ep-user-menu__panel form{display:block!important}
body.page-profile .ep-user-menu__panel form>button{
 display:grid!important;grid-template-columns:25px minmax(0,1fr) auto!important;
 gap:7px!important;align-items:center!important;width:100%!important;min-height:38px!important;
 padding:6px 7px!important;border:0!important;border-radius:7px!important;background:#fff!important;
 color:#2b475c!important;text-align:left!important
}
body.page-profile .site-main{height:auto!important;min-height:0!important;overflow:visible!important}
body.page-profile .site-content{height:auto!important;min-height:0!important;overflow:visible!important}
body.page-profile .simple-profile{color:#263f53!important}
body.page-profile .simple-profile-hero,
body.page-profile .simple-profile-stats,
body.page-profile .simple-profile-people{border-color:#cbd6de!important;background:#fff!important}
body.page-profile .simple-profile-edit,
body.page-profile .simple-profile-actions button{background:#eaf4fa!important;color:#176b9c!important}
body.page-profile .simple-profile-title h1{color:#173f60!important;font-family:Arial,Helvetica,sans-serif!important}
body.page-profile .profile-avatar-menu,
body.page-profile [data-avatar-menu]{
 z-index:8000!important;background:#fff!important;color:#263f53!important;border:1px solid #cbd6de!important;
 box-shadow:0 14px 34px rgba(18,48,70,.22)!important
}

/* Five public sections that were visually too large: exactly one thin compact header. */
:where(.nr-project-page__head,.edv-intro,.edd-head,.edg-head:not(.edg-head--album),.eda-hero){
 width:100%!important;max-width:none!important;min-height:0!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;
 margin:0 0 6px!important;padding:5px 8px!important;
 border:1px solid #cbd6de!important;border-radius:5px!important;
 background:#fff!important;box-shadow:none!important
}
:where(.nr-project-page__head,.edv-intro,.edd-head,.edg-head:not(.edg-head--album),.eda-hero)
 :where(.press-kicker,.edv-kicker,.ede-kicker,.eda-kicker,.edg-kicker,p,span:first-child){display:none!important}
:where(.nr-project-page__head,.edv-intro,.edd-head,.edg-head:not(.edg-head--album),.eda-hero) h1{
 margin:0!important;color:#173f60!important;
 font:700 16px/1.05 Georgia,"Times New Roman",serif!important;letter-spacing:0!important
}
:where(.edd-head,.edg-head:not(.edg-head--album))>strong{
 width:auto!important;height:auto!important;min-width:0!important;padding:0!important;
 border:0!important;background:transparent!important;color:#84939d!important;font-size:7.5px!important
}
.nr-project-page,.edv-public,.edd-public,.edg-public--index,.eda-public{padding-top:0!important}
.nr-project-story,.edv-card,.edd-filter,.edd-row,.edg-album-card,.eda-card,.eda-auth-card{
 border-radius:5px!important;box-shadow:none!important
}
.nr-project-story{padding:7px 0!important}
.edv-card,.eda-card,.eda-auth-card{padding:7px!important}
.edd-filter{padding:7px!important}
.edd-row{padding:7px!important}
.edg-album-card__body{padding:7px!important}

/* Public publication: smaller typography, full uncropped image, compact comments. */
body.page-post .ep-article__titlebar{
 margin:0 0 6px!important;padding:6px 8px!important;border:1px solid #cbd6de!important;
 border-radius:5px!important;background:#fff!important
}
body.page-post .ep-article__titlebar .ep-article__eyebrow{
 display:block!important;margin:0 0 2px!important;color:#7f909c!important;
 font-size:7px!important;line-height:1!important;letter-spacing:.08em!important
}
body.page-post .ep-article__titlebar h1{
 margin:0!important;color:#173f60!important;
 font:700 18px/1.12 Georgia,"Times New Roman",serif!important
}
body.page-post .ep-article__cover{
 display:grid!important;place-items:center!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:6px!important;overflow:visible!important;background:#f3f6f8!important
}
body.page-post .ep-article__cover img{
 display:block!important;width:auto!important;max-width:100%!important;height:auto!important;
 max-height:680px!important;margin:0 auto!important;object-fit:contain!important;object-position:center!important;
 border-radius:4px!important
}
body.page-post .ep-prose{padding:10px 11px!important;font-size:12.5px!important;line-height:1.52!important}
body.page-post .ep-prose h1{font-size:20px!important}
body.page-post .ep-prose h2{font-size:17px!important}
body.page-post .ep-prose h3{font-size:14px!important}
body.page-post .ep-article__footer-meta,
body.page-post .ep-taxonomy,
body.page-post .ep-related,
body.page-post .ep-comments{padding:8px 10px!important}
body.page-post .ep-related h2,
body.page-post .ep-comments h2{margin:0 0 7px!important;font-size:14px!important}
body.page-post .ep-comments-list{display:grid!important;gap:5px!important;margin-bottom:8px!important}
body.page-post .ep-comment{
 padding:7px 8px!important;border:1px solid #e0e6eb!important;border-radius:6px!important;background:#f8fafb!important
}
body.page-post .ep-comment header{display:flex!important;align-items:baseline!important;gap:7px!important;margin-bottom:2px!important}
body.page-post .ep-comment header b{font-size:10px!important;color:#29495f!important}
body.page-post .ep-comment header time{font-size:8px!important;color:#8a98a2!important}
body.page-post .ep-comment p{margin:0!important;font-size:10.5px!important;line-height:1.4!important}
body.page-post .ep-comment-form{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 gap:6px!important;align-items:end!important;margin-top:7px!important
}
body.page-post .ep-comment-form>label{
 position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
 clip:rect(0 0 0 0)!important;white-space:nowrap!important
}
body.page-post .ep-comment-form textarea{
 grid-column:1!important;min-height:38px!important;max-height:96px!important;
 margin:0!important;padding:9px 11px!important;border:1px solid #c8d4dc!important;
 border-radius:18px!important;background:#f7f9fb!important;color:#263f53!important;
 font-size:11px!important;line-height:1.35!important;resize:vertical!important
}
body.page-post .ep-comment-form .ep-button{
 grid-column:2!important;min-width:74px!important;min-height:38px!important;height:38px!important;
 padding:0 12px!important;border-radius:19px!important;font-size:9px!important
}

/* Social wall comments inside profile follow the same compact language. */
body.page-profile .wall-comment-form,
body.page-profile .avatar-comment-form{padding:7px!important;background:#fff!important;border-top:1px solid #e0e6eb!important}
body.page-profile .wall-comment-input-wrap textarea,
body.page-profile .wall-comment-form textarea,
body.page-profile .avatar-comment-form textarea{
 min-height:36px!important;max-height:90px!important;padding:8px 10px!important;
 border:1px solid #c8d4dc!important;border-radius:18px!important;
 background:#f7f9fb!important;color:#263f53!important;font-size:11px!important
}
body.page-profile .wall-comment-send,
body.page-profile .avatar-comment-form button[type="submit"]{
 width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;
 border-radius:50%!important;background:#176b9c!important;color:#fff!important
}

@media(max-width:760px){
 body.page-profile .site-header .topbar{
  height:auto!important;min-height:34px!important;padding:0 6px!important;
  grid-template-columns:minmax(0,1fr) auto!important;background:#173f60!important
 }
 body.page-profile .site-header .topbar__contacts{display:none!important}
 body.page-profile .site-header .brand-banner{height:62px!important}
 body.page-profile .site-header .main-nav-wrap{min-height:36px!important}
 body.page-profile .ep-user-menu__panel{
  position:fixed!important;right:6px!important;top:38px!important;
  width:min(276px,calc(100vw - 12px))!important;max-height:calc(100dvh - 50px)!important
 }
 body.page-profile .site-header .topbar .ep-user-menu__nav>a{display:grid!important}
 body.page-profile .ep-user-menu__identity{display:none!important}
 body.page-profile .simple-profile-hero{grid-template-columns:78px minmax(0,1fr)!important;gap:7px!important;padding:7px!important}
 body.page-profile .simple-profile-hero.has-cover{padding-top:72px!important}
 body.page-profile .simple-profile-hero.has-cover:before{height:64px!important}
 body.page-profile .simple-profile-title h1{font-size:16px!important}
 body.page-profile .simple-profile-avatar-area{gap:5px!important}
 body.page-profile .simple-profile-edit,
 body.page-profile .simple-profile-actions button{min-height:30px!important;font-size:8px!important}
 body.page-profile .simple-profile-badges{gap:3px!important;margin:6px 0!important}
 body.page-profile .simple-profile-badges span{padding:3px 5px!important;font-size:7px!important}
 body.page-profile .simple-profile-status{margin:5px 0!important;padding:6px 7px!important;font-size:9px!important}
 body.page-profile .simple-profile-about{margin-top:5px!important;padding-top:6px!important}
 body.page-profile .simple-profile-about h2{font-size:11px!important}
 body.page-profile .simple-profile-about p{font-size:9.5px!important;line-height:1.4!important}
 body.page-profile .simple-profile-stats div{padding:6px!important}
 body.page-profile .simple-profile-stats b{font-size:14px!important}
 body.page-profile .simple-profile-stats span{font-size:7.5px!important}
 body.page-profile .simple-profile-people{padding:7px!important}
 body.page-profile .simple-profile-people h2{font-size:11px!important}
 body.page-profile .simple-profile-people-grid{gap:5px!important}
 body.page-profile .profile-mini-avatar,
 body.page-profile .profile-mini-avatar img{width:38px!important;height:38px!important}

 :where(.nr-project-page__head,.edv-intro,.edd-head,.edg-head:not(.edg-head--album),.eda-hero){
  margin-bottom:4px!important;padding:4px 6px!important;border-radius:4px!important
 }
 :where(.nr-project-page__head,.edv-intro,.edd-head,.edg-head:not(.edg-head--album),.eda-hero) h1{
  font-size:14px!important
 }

 body.page-post .ep-article__titlebar{padding:5px 7px!important;margin-bottom:4px!important;border-radius:4px!important}
 body.page-post .ep-article__titlebar h1{font-size:15px!important;line-height:1.12!important}
 body.page-post .ep-article__cover{padding:4px!important}
 body.page-post .ep-article__cover img{max-height:70dvh!important}
 body.page-post .ep-prose{padding:8px!important;font-size:11.5px!important;line-height:1.48!important}
 body.page-post .ep-prose h2{font-size:15px!important}
 body.page-post .ep-prose h3{font-size:13px!important}
 body.page-post .ep-comment-form{grid-template-columns:minmax(0,1fr) 34px!important}
 body.page-post .ep-comment-form .ep-button{
  min-width:34px!important;width:34px!important;height:34px!important;min-height:34px!important;
  padding:0!important;font-size:0!important
 }
 body.page-post .ep-comment-form .ep-button:after{content:"➤";font-size:13px}
}


/* Hard override for legacy module !important rules: same thin title on the five outliers. */
.nr-project-page__head,
.edv-intro,
.edd-head,
.edg-head:not(.edg-head--album),
.eda-hero{
 width:100%!important;max-width:none!important;min-height:0!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;
 margin:0 0 6px!important;padding:5px 8px!important;
 border:1px solid #cbd6de!important;border-radius:5px!important;
 background:#fff!important;box-shadow:none!important
}
.nr-project-page__head p,.nr-project-page__head>span,
.edv-intro p,.edv-intro .edv-kicker,
.edd-head p,.edd-head>div>span,
.edg-head:not(.edg-head--album) p,.edg-head:not(.edg-head--album) .edg-kicker,
.eda-hero p,.eda-hero .eda-kicker{display:none!important}
.nr-project-page__head h1,
.edv-intro h1,
.edd-head h1,
.edg-head:not(.edg-head--album) h1,
.eda-hero h1{
 margin:0!important;color:#173f60!important;
 font-family:Georgia,"Times New Roman",serif!important;
 font-size:16px!important;font-weight:700!important;line-height:1.05!important;letter-spacing:0!important
}
.edd-head>strong,
.edg-head:not(.edg-head--album)>strong{
 width:auto!important;height:auto!important;min-width:0!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 color:#84939d!important;font-size:7.5px!important;box-shadow:none!important
}
@media(max-width:760px){
 .nr-project-page__head,.edv-intro,.edd-head,.edg-head:not(.edg-head--album),.eda-hero{
  margin-bottom:4px!important;padding:4px 6px!important;border-radius:4px!important
 }
 .nr-project-page__head h1,.edv-intro h1,.edd-head h1,.edg-head:not(.edg-head--album) h1,.eda-hero h1{
  font-size:14px!important
 }
}


/* Social plugin shell bridge: profile, messages and people use the public site chrome. */
body.page-profile,body.page-messages,body.page-people{
 --accent:#176b9c!important;--accent-hover:#0e5d8c!important;--accent-soft:#eaf4fa!important;
 --bg:transparent!important;--panel:#fff!important;--panel-2:#f3f7fa!important;
 --text:#263f53!important;--muted:#718390!important;--border:#d3dde4!important
}
body.page-messages .site-header .topbar,
body.page-people .site-header .topbar{
 height:auto!important;min-height:40px!important;padding:0 10px!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
 background:#173f60!important;color:#fff!important;border:0!important;overflow:visible!important
}
body.page-messages .site-header .brand-banner,
body.page-people .site-header .brand-banner{
 height:clamp(106px,7.6vw,145px)!important;background:#1f5480 url("approved-header.webp") center/cover no-repeat!important
}
body.page-messages .ep-user-menu__nav,
body.page-people .ep-user-menu__nav{display:grid!important;padding:4px!important}
body.page-messages .site-header .topbar .ep-user-menu__nav>a,
body.page-people .site-header .topbar .ep-user-menu__nav>a{
 display:grid!important;grid-template-columns:25px minmax(0,1fr) auto!important;
 gap:7px!important;align-items:center!important;width:100%!important;min-height:38px!important;
 padding:6px 7px!important;background:#fff!important;color:#2b475c!important;text-decoration:none!important
}
body.page-messages .ep-service-head,
body.page-people .ep-service-head{
 margin:0 0 6px!important;padding:5px 8px!important;border:1px solid #cbd6de!important;
 border-radius:5px!important;background:#fff!important;box-shadow:none!important
}
body.page-messages .ep-service-head h1,
body.page-people .ep-service-head h1{
 margin:0!important;color:#173f60!important;font:700 16px/1.05 Georgia,"Times New Roman",serif!important
}
body.page-messages .ep-service-head p,
body.page-people .ep-service-head p,
body.page-messages .ep-service-kicker,
body.page-people .ep-service-kicker{display:none!important}
body.page-messages .ep-service-head__link,
body.page-people .ep-service-head__link{font-size:8.5px!important;color:#176b9c!important}

@media(max-width:760px){
 body.page-messages .site-header .topbar,
 body.page-people .site-header .topbar{
  min-height:34px!important;padding:0 6px!important;grid-template-columns:minmax(0,1fr) auto!important
 }
 body.page-messages .site-header .topbar__contacts,
 body.page-people .site-header .topbar__contacts{display:none!important}
 body.page-messages .site-header .brand-banner,
 body.page-people .site-header .brand-banner{height:62px!important}
 body.page-messages .site-header .topbar .ep-user-menu__nav>a,
 body.page-people .site-header .topbar .ep-user-menu__nav>a{display:grid!important}
 body.page-messages .ep-service-head,
 body.page-people .ep-service-head{padding:4px 6px!important;margin-bottom:4px!important;border-radius:4px!important}
 body.page-messages .ep-service-head h1,
 body.page-people .ep-service-head h1{font-size:14px!important}
}


/* 2026-11-06 — news presentation: no banner carousel, tighter reading column, real engagement */
@media(min-width:1101px){
 .site-grid{width:min(1400px,100%)!important}
 body.page-post .site-grid{grid-template-columns:230px minmax(0,860px) 230px!important;justify-content:center!important}
 body.page-post .site-content{max-width:860px!important}
}

/* Static lead story instead of auto-rotating cropped banner. */
.home-lead{
 display:grid;grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);
 min-height:0;overflow:hidden;border:1px solid #aebdc8;border-radius:8px;
 background:#fff;box-shadow:0 3px 10px rgba(20,47,67,.08)
}
.home-lead__media{
 display:grid;place-items:center;min-width:0;min-height:260px;padding:8px;
 background:#eaf0f4;text-decoration:none;overflow:hidden
}
.home-lead__media img{
 display:block;width:100%;height:100%;max-height:310px;object-fit:contain;object-position:center
}
.home-lead__body{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:15px 17px}
.home-lead__label{
 align-self:flex-start;margin-bottom:7px;padding:3px 7px;border-radius:7px;
 background:#176d9f;color:#fff;font-size:8px;font-weight:900;text-transform:uppercase
}
.home-lead__body h1{margin:0 0 7px;font:700 23px/1.08 Georgia,"Times New Roman",serif}
.home-lead__body h1 a{color:#173f60;text-decoration:none}
.home-lead__body h1 a:hover{text-decoration:underline}
.home-lead__meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;color:#81909b;font-size:8px}
.home-lead__body p{margin:0;color:#536a79;font-size:10.5px;line-height:1.45}
.home-lead__read{align-self:flex-start;margin-top:10px;color:#176d9f;font-size:9px;font-weight:800;text-decoration:none}

/* Article first screen: headline + full photo preview fit above the fold as far as possible. */
body.page-post .ep-content-wrap{width:100%;max-width:820px;margin:0 auto}
body.page-post .ep-article{overflow:hidden}
body.page-post .ep-article__titlebar h1{font-size:17px!important;line-height:1.1!important}
body.page-post .ep-article__cover{
 display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:5px!important;
 border-top:1px solid #e1e7eb!important;border-bottom:1px solid #e1e7eb!important;
 background:#eef2f5!important
}
body.page-post .ep-article__cover-button{
 position:relative;display:grid;place-items:center;width:100%;min-height:0;margin:0;padding:0;
 border:0;background:transparent;cursor:zoom-in
}
body.page-post .ep-article__cover-button img{
 display:block!important;width:auto!important;max-width:100%!important;height:auto!important;
 max-height:min(390px,52vh)!important;margin:0 auto!important;object-fit:contain!important;object-position:center!important
}
body.page-post .ep-article__cover-button>span{
 position:absolute;right:7px;bottom:7px;padding:4px 7px;border-radius:7px;
 background:rgba(8,31,48,.76);color:#fff;font-size:7px;font-weight:700;pointer-events:none
}

/* Reactions + sharing */
.ep-engagement{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.72fr);gap:10px;
 padding:9px 10px;border-top:1px solid #e2e8ec;background:#fff
}
.ep-engagement__reactions,.ep-share{min-width:0}
.ep-engagement__reactions>b,.ep-share>b{display:block;margin-bottom:6px;color:#38566b;font-size:10px}
.ep-public-reactions{display:flex;gap:4px;flex-wrap:wrap}
.ep-public-reaction-form{margin:0!important;padding:0!important;display:block!important}
.ep-public-reaction-form button,.ep-public-reaction-static{
 display:inline-flex;align-items:center;gap:3px;min-height:30px;padding:4px 7px;
 border:1px solid #d5dfe6;border-radius:15px;background:#f7f9fb;color:#40596b;
 font:700 11px/1 Arial,Helvetica,sans-serif
}
.ep-public-reaction-form button{cursor:pointer}
.ep-public-reaction-form button:hover,.ep-public-reaction-form button.is-active{
 border-color:#7eabc6;background:#e8f3fa;color:#176b9c
}
.ep-public-reaction-form button span,.ep-public-reaction-static b{font-size:8px;color:#718491}
.ep-engagement__login{display:inline-block;margin-top:6px;color:#176b9c;font-size:8px;text-decoration:none}
.ep-share__links{display:flex;gap:4px;flex-wrap:wrap}
.ep-share__links a,.ep-share__links button{
 display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 7px;
 border:1px solid #d5dfe6;border-radius:6px;background:#f7f9fb;color:#38566b;
 font:700 8px/1 Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer
}
.ep-share__links a:hover,.ep-share__links button:hover{border-color:#83a9c2;background:#edf6fb;color:#176b9c}
.ep-share>small{display:block;min-height:12px;margin-top:4px;color:#6e8492;font-size:7.5px}

/* Content comment reactions */
body.page-post .ep-comment{position:relative}
body.page-post .comment-reaction-wrap{position:relative;display:flex;align-items:center;gap:4px;margin-top:5px;min-height:22px}
body.page-post .comment-react-trigger{
 width:24px;height:22px;padding:0;border:1px solid #d7e0e6;border-radius:11px;
 background:#fff;color:#6e8492;font-size:12px;cursor:pointer
}
body.page-post .comment-reaction-picker{
 position:absolute;left:0;bottom:28px;z-index:50;display:flex;gap:3px;flex-wrap:wrap;
 width:max-content;max-width:min(340px,80vw);padding:6px;border:1px solid #cbd8e1;
 border-radius:9px;background:#fff;box-shadow:0 12px 28px rgba(19,48,70,.18)
}
body.page-post .comment-reaction-picker[hidden]{display:none!important}
body.page-post .comment-reaction-picker button{
 width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;font-size:16px;cursor:pointer
}
body.page-post .comment-reaction-picker button:hover,
body.page-post .comment-reaction-picker button.active{background:#e9f3f9}
body.page-post .comment-reaction-summary{display:flex;gap:3px;flex-wrap:wrap}
body.page-post .comment-reaction-summary[hidden]{display:none!important}
body.page-post .comment-reaction-summary button{
 min-height:22px;padding:2px 6px;border:1px solid #dbe3e8;border-radius:11px;
 background:#fff;color:#506a7c;font-size:10px;cursor:pointer
}
body.page-post .comment-reaction-summary button.mine{border-color:#86aec7;background:#eaf4fa}
body.page-post .comment-reaction-summary span{font-size:7px;color:#7d8e9a}

@media(max-width:900px){
 .home-lead{grid-template-columns:1fr}
 .home-lead__media{min-height:0;padding:6px}
 .home-lead__media img{width:auto;max-width:100%;height:auto;max-height:300px}
 .home-lead__body{padding:10px 11px}
 .home-lead__body h1{font-size:18px}
 .home-lead__body p{font-size:9.5px}
 .ep-engagement{grid-template-columns:1fr}
}

@media(max-width:760px){
 .home-lead{border-radius:5px}
 .home-lead__media img{max-height:220px}
 .home-lead__body{padding:8px}
 .home-lead__label{margin-bottom:4px;font-size:6.5px}
 .home-lead__body h1{margin-bottom:4px;font-size:15px}
 .home-lead__body p{display:none}
 .home-lead__read{margin-top:6px;font-size:8px}

 body.page-post .ep-content-wrap{max-width:none}
 body.page-post .ep-article__titlebar h1{font-size:14px!important}
 body.page-post .ep-article__cover{padding:3px!important}
 body.page-post .ep-article__cover-button img{max-height:min(330px,48dvh)!important}
 body.page-post .ep-article__cover-button>span{right:4px;bottom:4px;font-size:6.5px}
 .ep-engagement{gap:7px;padding:7px}
 .ep-public-reaction-form button,.ep-public-reaction-static{min-height:28px;padding:3px 6px}
 .ep-share__links a,.ep-share__links button{min-height:27px;padding:4px 6px;font-size:7.5px}
}

@media(max-width:420px){
 .home-lead__media img{max-height:190px}
 body.page-post .ep-article__cover-button img{max-height:min(290px,45dvh)!important}
}


/* 2026-11-06 — compact reactions/share, strict viewport lightbox, lean account widget */
.site-image-lightbox{
 inset:0!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;
 padding:8px!important;overflow:hidden!important;box-sizing:border-box!important
}
.site-image-lightbox__card{
 width:auto!important;max-width:calc(100vw - 16px)!important;
 height:auto!important;max-height:calc(100dvh - 16px)!important;
 padding:8px!important;overflow:hidden!important;box-sizing:border-box!important;
 border-radius:10px!important
}
.site-image-lightbox__card img{
 display:block!important;width:auto!important;height:auto!important;
 max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;
 object-fit:contain!important
}
.site-image-lightbox__close{
 right:8px!important;top:8px!important;width:32px!important;height:32px!important;font-size:21px!important
}
html.lightbox-open,html.lightbox-open body{overflow:hidden!important}

.classic-account-menu-body{padding:0!important}
.classic-social-menu{display:grid!important}
.classic-social-menu a{min-height:34px!important;padding:8px 10px!important}
.classic-register--only{
 display:block!important;margin:8px!important;padding:9px 10px!important;border-radius:7px!important;
 background:#e7f3fa!important;color:#176b9c!important;font-size:10px!important;font-weight:800!important;
 text-align:center!important;text-decoration:none!important
}
.classic-register--only:hover{background:#dceef8!important}

/* Replace the old reaction/share rows with a single social-style action bar. */
.ep-engagement.ep-engagement--compact{
 position:relative!important;display:block!important;padding:6px 8px!important;
 border-top:1px solid #e0e7ec!important;border-bottom:1px solid #e0e7ec!important;
 background:#fff!important
}
.ep-actionbar{
 display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;
 min-height:34px!important
}
.ep-action-button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 min-height:31px!important;padding:5px 9px!important;border:1px solid transparent!important;border-radius:6px!important;
 background:transparent!important;color:#526b7c!important;font:700 9px/1 Arial,Helvetica,sans-serif!important;
 text-decoration:none!important;cursor:pointer!important;white-space:nowrap!important
}
.ep-action-button:hover,.ep-action-button[aria-expanded="true"]{
 background:#edf4f8!important;color:#176b9c!important
}
.ep-action-button>b{
 min-width:15px!important;height:15px!important;padding:0 4px!important;border-radius:8px!important;
 background:#e6edf2!important;color:#607685!important;font-size:7px!important;line-height:15px!important;text-align:center!important
}
.ep-action-button>b[hidden]{display:none!important}
.ep-action-icon{font-size:13px!important;line-height:1!important}
.ep-reaction-control,.ep-share-control{position:relative!important}
.ep-reaction-popover{
 position:absolute!important;z-index:120!important;left:0!important;bottom:calc(100% + 7px)!important;
 display:flex!important;gap:3px!important;width:max-content!important;max-width:min(390px,calc(100vw - 24px))!important;
 padding:5px!important;border:1px solid #ccd9e1!important;border-radius:18px!important;
 background:#fff!important;box-shadow:0 10px 26px rgba(18,48,70,.20)!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 transform:translateY(4px) scale(.98)!important;transform-origin:left bottom!important;
 transition:opacity .12s ease,transform .12s ease,visibility .12s!important
}
.ep-reaction-control.is-open .ep-reaction-popover{
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important
}
@media(hover:hover) and (pointer:fine){
 .ep-reaction-control:hover .ep-reaction-popover{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important
 }
}
.ep-reaction-popover .ep-public-reaction-form{
 display:block!important;margin:0!important;padding:0!important
}
.ep-reaction-popover .ep-public-reaction-form button{
 position:relative!important;display:grid!important;place-items:center!important;
 width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;
 border:0!important;border-radius:50%!important;background:transparent!important;cursor:pointer!important;
 transition:transform .12s ease,background .12s ease!important
}
.ep-reaction-popover .ep-public-reaction-form button:hover,
.ep-reaction-popover .ep-public-reaction-form button.is-active{
 transform:translateY(-3px) scale(1.12)!important;background:#edf5f9!important
}
.ep-reaction-popover .ep-public-reaction-form button>span{font-size:20px!important;line-height:1!important}
.ep-reaction-popover .ep-public-reaction-form button>small{
 position:absolute!important;right:-1px!important;bottom:-2px!important;
 min-width:13px!important;height:13px!important;padding:0 3px!important;border-radius:7px!important;
 background:#fff!important;color:#718491!important;font-size:6.5px!important;line-height:13px!important;
 box-shadow:0 1px 4px rgba(20,47,67,.14)!important
}

.ep-share-popover{
 position:absolute!important;z-index:125!important;left:0!important;bottom:calc(100% + 7px)!important;
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px!important;
 width:250px!important;max-width:calc(100vw - 24px)!important;padding:6px!important;
 border:1px solid #ccd9e1!important;border-radius:9px!important;background:#fff!important;
 box-shadow:0 12px 28px rgba(18,48,70,.22)!important
}
.ep-share-popover[hidden]{display:none!important}
.ep-share-popover a,.ep-share-popover button{
 display:grid!important;grid-template-columns:29px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;
 min-height:34px!important;padding:4px 6px!important;border:0!important;border-radius:6px!important;
 background:transparent!important;color:#425e71!important;text-align:left!important;text-decoration:none!important;cursor:pointer!important
}
.ep-share-popover a:hover,.ep-share-popover button:hover{background:#edf5f9!important;color:#176b9c!important}
.ep-share-popover b{
 display:grid!important;place-items:center!important;width:27px!important;height:27px!important;border-radius:50%!important;
 background:#e8f2f8!important;color:#176b9c!important;font-size:8px!important
}
.ep-share-popover span{font-size:8.5px!important;font-weight:700!important}

.ep-engagement__summary{
 display:flex!important;align-items:center!important;gap:4px!important;margin-top:2px!important;
 color:#7a8d99!important;font-size:7.5px!important
}
.ep-engagement__summary[hidden]{display:none!important}
.ep-engagement__summary>span{font-size:11px!important;letter-spacing:-3px!important;padding-right:3px!important}
.ep-engagement__summary>b{color:#516a7b!important;font-size:8px!important}
.ep-share-status{display:block!important;min-height:0!important;margin-top:2px!important;color:#6d8290!important;font-size:7px!important}

@media(max-width:760px){
 .site-image-lightbox{padding:4px!important}
 .site-image-lightbox__card{
  max-width:calc(100vw - 8px)!important;max-height:calc(100dvh - 8px)!important;padding:4px!important;border-radius:7px!important
 }
 .site-image-lightbox__card img{
  max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important
 }
 .ep-engagement.ep-engagement--compact{padding:4px 5px!important}
 .ep-actionbar{gap:2px!important}
 .ep-action-button{min-height:29px!important;padding:4px 7px!important;font-size:8px!important}
 .ep-action-icon{font-size:12px!important}
 .ep-reaction-popover{left:-2px!important;gap:1px!important;padding:4px!important}
 .ep-reaction-popover .ep-public-reaction-form button{width:31px!important;height:31px!important;min-width:31px!important}
 .ep-reaction-popover .ep-public-reaction-form button>span{font-size:18px!important}
 .ep-share-popover{left:-36px!important;width:236px!important}
}


/* 2026-11-06 — final news-card geometry and counters */
.home-lead{
 grid-template-columns:minmax(0,1fr) minmax(270px,.88fr)!important;
 align-items:stretch!important;
 min-height:0!important
}
.home-lead__media{
 aspect-ratio:4/3!important;
 min-height:0!important;
 padding:0!important;
 background:#dfe7ec!important;
 overflow:hidden!important
}
.home-lead__media img{
 width:100%!important;
 height:100%!important;
 max-height:none!important;
 object-fit:cover!important
}
.home-lead__body{
 padding:11px 13px!important;
 justify-content:center!important
}
.home-lead__body h1{font-size:20px!important;line-height:1.08!important}
.home-lead__body p{font-size:10px!important;line-height:1.4!important}
.home-lead__meta{margin-bottom:4px!important}
.home-lead__read{margin-top:7px!important}

.news-row__image{
 height:auto!important;
 aspect-ratio:4/3!important;
 overflow:hidden!important
}
.news-row__image img{
 width:100%!important;height:100%!important;object-fit:cover!important
}

.press-card__image,
.press-card.is-featured .press-card__image{
 height:auto!important;
 aspect-ratio:4/3!important;
 overflow:hidden!important
}
.press-card__image img{width:100%!important;height:100%!important;object-fit:cover!important}

.content-card-stats{
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;
 margin:4px 0 5px;color:#718490;font-size:8px;line-height:1
}
.content-card-stats span{
 display:inline-flex;align-items:center;gap:2px;white-space:nowrap
}

.press-card__meta{margin-bottom:2px}
.press-card .content-card-stats{margin:3px 0 4px}
.news-row .content-card-stats{margin:2px 0 4px}

body.page-post .ep-related{display:none!important}
body.page-post .ep-engagement.ep-engagement--compact{
 margin-top:0!important
}
body.page-post .ep-taxonomy{
 border-bottom:0!important;
 padding-bottom:6px!important
}
body.page-post .ep-comments{
 border-top:1px solid #e0e7ec!important
}

@media(max-width:900px){
 .home-lead{grid-template-columns:1fr!important}
 .home-lead__media{aspect-ratio:4/3!important}
 .home-lead__body{padding:9px!important}
}
@media(max-width:760px){
 .home-lead__media{aspect-ratio:4/3!important}
 .home-lead__body h1{font-size:15px!important}
 .content-card-stats{gap:6px;font-size:7.5px;margin:3px 0 4px}
 .press-card__image,
 .press-card.is-featured .press-card__image,
 .news-row__image{aspect-ratio:4/3!important}
}


/* 2026-11-06 — mobile profile + navigation repair */
@media(max-width:760px){
 body.menu-open{overflow:hidden!important}

 /* One real vertical drawer on every mobile page, including social/profile pages. */
 .site-header .main-nav,
 body.page-profile .site-header .main-nav,
 body.page-messages .site-header .main-nav,
 body.page-people .site-header .main-nav{
  position:fixed!important;
  z-index:10002!important;
  left:0!important;
  right:auto!important;
  top:34px!important;
  bottom:50px!important;
  width:min(312px,86vw)!important;
  height:auto!important;
  min-height:0!important;
  max-height:calc(100dvh - 84px)!important;
  display:block!important;
  padding:46px 8px 10px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  background:#fff!important;
  color:#173f60!important;
  box-shadow:16px 0 40px rgba(8,30,46,.30)!important;
  transform:translateX(-105%)!important;
  transition:transform .18s ease!important
 }
 body.menu-open .site-header .main-nav,
 body.page-profile.menu-open .site-header .main-nav,
 body.page-messages.menu-open .site-header .main-nav,
 body.page-people.menu-open .site-header .main-nav{
  transform:translateX(0)!important
 }
 .site-header .main-nav:before{
  content:"Меню сайта";
  position:absolute;left:12px;top:14px;
  color:#173f60;font-size:12px;font-weight:900
 }
 .site-header .main-nav>.mobile-menu-close{
  position:absolute!important;right:8px!important;top:8px!important;
  display:grid!important;width:30px!important;height:30px!important;place-items:center!important;
  padding:0!important;border:0!important;border-radius:50%!important;
  background:#edf3f6!important;color:#173f60!important;font-size:20px!important;line-height:1!important
 }
 .site-header .main-nav>a,
 .site-header .main-nav>.nav-drop{
  display:block!important;width:100%!important;min-width:0!important;margin:0!important
 }
 .site-header .main-nav>a,
 .site-header .main-nav>.nav-drop>summary{
  width:100%!important;min-height:38px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  margin:0!important;padding:0 9px!important;
  border:0!important;border-bottom:1px solid #e6edf1!important;border-radius:0!important;
  background:#fff!important;color:#173f60!important;
  font-size:10.5px!important;font-weight:800!important;text-align:left!important;white-space:normal!important
 }
 .site-header .main-nav>a.is-active,
 .site-header .main-nav>.nav-drop[data-active="1"]>summary{
  background:#eef6fb!important;color:#0d6699!important
 }
 .site-header .main-nav>.nav-drop>summary span{
  margin-left:auto!important;font-size:9px!important;transition:transform .15s ease!important
 }
 .site-header .main-nav>.nav-drop[open]>summary span{transform:rotate(180deg)!important}
 .site-header .main-nav>.nav-drop .nav-drop__menu{
  position:static!important;
  display:none!important;
  min-width:0!important;width:100%!important;
  margin:0!important;padding:3px 0 5px 10px!important;
  border:0!important;border-radius:0!important;
  background:#f8fafb!important;box-shadow:none!important
 }
 .site-header .main-nav>.nav-drop[open] .nav-drop__menu{display:grid!important}
 .site-header .main-nav>.nav-drop .nav-drop__menu a{
  display:block!important;min-height:32px!important;padding:7px 8px!important;
  border-radius:5px!important;color:#36566d!important;
  font-size:9.5px!important;font-weight:700!important;text-decoration:none!important
 }
 .site-header .main-nav>.nav-drop .nav-drop__menu a:hover{background:#eaf3f8!important;color:#176b9c!important}
 .mobile-menu-backdrop{
  position:fixed!important;z-index:10001!important;inset:34px 0 50px!important;
  border:0!important;background:rgba(8,22,34,.52)!important
 }
 body.menu-open .mobile-menu-backdrop{display:block!important}

 /* Profile shell: same public site, compact social content. */
 body.page-profile .site-main{padding:4px!important}
 body.page-profile .site-grid{display:block!important;width:100%!important;max-width:none!important}
 body.page-profile .site-grid>.classic-sidebar,
 body.page-profile .site-grid>.right-sidebar{display:none!important}
 body.page-profile .site-content{
  width:100%!important;max-width:none!important;
  margin:0!important;padding:4px!important;
  border-radius:0!important;background:rgba(246,249,251,.94)!important;box-shadow:none!important
 }
 body.page-profile .simple-profile{
  width:100%!important;max-width:620px!important;margin:0 auto!important;
  gap:6px!important
 }
 body.page-profile .simple-profile-hero{
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:8px!important;padding:6px!important;
  border:1px solid #c9d6df!important;border-radius:8px!important;
  box-shadow:0 2px 8px rgba(20,48,69,.05)!important;overflow:hidden!important
 }
 body.page-profile .simple-profile-hero.has-cover{
  padding-top:44px!important
 }
 body.page-profile .simple-profile-hero.has-cover:before{
  height:52px!important;border-radius:7px 7px 0 0!important;
  background-position:center 42%!important
 }
 body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
  margin-top:-16px!important
 }
 body.page-profile .simple-profile-avatar-area{
  gap:4px!important;align-self:start!important
 }
 body.page-profile .simple-profile-avatar{
  width:72px!important;height:72px!important;
  border:3px solid #fff!important;border-radius:11px!important;
  box-shadow:0 2px 8px rgba(12,36,54,.14)!important;background:#e6edf2!important
 }
 body.page-profile .simple-profile-avatar img{
  width:100%!important;height:100%!important;aspect-ratio:1!important;border-radius:8px!important;object-fit:cover!important
 }
 body.page-profile .simple-profile-edit,
 body.page-profile .simple-profile-actions button{
  min-height:25px!important;padding:3px 5px!important;border-radius:6px!important;
  font-size:7.5px!important;line-height:1.15!important
 }
 body.page-profile .simple-profile-info{
  min-width:0!important;padding:0!important
 }
 body.page-profile .simple-profile-title{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:3px 5px!important;align-items:start!important
 }
 body.page-profile .simple-profile-kicker{display:none!important}
 body.page-profile .simple-profile-title h1{
  margin:0!important;font-size:15px!important;line-height:1.08!important
 }
 body.page-profile .simple-profile-username{
  display:inline-block!important;margin-top:2px!important;font-size:8.5px!important
 }
 body.page-profile .simple-profile-presence{
  max-width:92px!important;font-size:7px!important;line-height:1.2!important;text-align:right!important
 }
 body.page-profile .simple-profile-badges{
  gap:3px!important;margin:4px 0 0!important
 }
 body.page-profile .simple-profile-badges span{
  padding:2px 5px!important;border-radius:8px!important;font-size:6.5px!important
 }
 body.page-profile .simple-profile-status{
  margin:4px 0 0!important;padding:5px 6px!important;border-radius:6px!important;font-size:8.5px!important
 }
 body.page-profile .simple-profile-about{
  grid-column:1/-1!important;
  margin:0!important;padding:6px 7px!important;
  border-top:1px solid #e2e8ec!important;background:#fbfcfd!important;border-radius:0 0 7px 7px!important
 }
 body.page-profile .simple-profile-about h2{
  margin:0 0 3px!important;font-size:10px!important;color:#29485d!important
 }
 body.page-profile .simple-profile-about p{
  margin:0!important;font-size:8.5px!important;line-height:1.35!important;color:#5d7281!important
 }
 body.page-profile .simple-profile-about p.is-empty{color:#8897a1!important}
 body.page-profile .simple-profile-about small{margin-top:4px!important;font-size:7px!important}

 body.page-profile .simple-profile-stats{
  border-radius:7px!important
 }
 body.page-profile .simple-profile-stats div{padding:5px 4px!important}
 body.page-profile .simple-profile-stats b{font-size:12px!important;line-height:1.1!important}
 body.page-profile .simple-profile-stats span{margin-top:1px!important;font-size:6.5px!important}

 body.page-profile .simple-profile-people-row{gap:6px!important}
 body.page-profile .simple-profile-people{
  padding:7px!important;border-radius:7px!important;box-shadow:none!important
 }
 body.page-profile .simple-profile-people header{margin-bottom:5px!important}
 body.page-profile .simple-profile-people h2{font-size:10px!important}
 body.page-profile .simple-profile-people header span{font-size:7px!important}
 body.page-profile .simple-profile-people p{
  margin:0!important;color:#607687!important;font-size:8.5px!important;line-height:1.35!important
 }
 body.page-profile .simple-profile-people.is-empty{
  min-height:0!important;padding:6px 7px!important
 }
 body.page-profile .simple-profile-people.is-empty header{margin-bottom:2px!important}
 body.page-profile .simple-profile-people-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important
 }
 body.page-profile .simple-profile-people-grid a{gap:3px!important;font-size:7px!important}
 body.page-profile .profile-mini-avatar,
 body.page-profile .profile-mini-avatar img{
  width:36px!important;height:36px!important
 }
 body.page-profile .simple-profile-guests{margin-bottom:4px!important}

 /* The old social CSS must never re-create its own horizontal nav on profile. */
 body.page-profile .site-header .main-nav{display:block!important}
}

@media(max-width:420px){
 body.page-profile .simple-profile-hero{grid-template-columns:68px minmax(0,1fr)!important}
 body.page-profile .simple-profile-avatar{width:68px!important;height:68px!important}
 body.page-profile .simple-profile-title h1{font-size:14px!important}
 body.page-profile .simple-profile-presence{max-width:78px!important;font-size:6.5px!important}
 .site-header .main-nav{width:min(300px,88vw)!important}
}


/* 2026-11-06 — mobile service panels + unified public sections */

/* Contacts: dark reception block must remain readable. */
.ep-contact-reception>div>span,
.ep-contact-reception h3{color:#fff!important}
.ep-contact-reception p{color:#e2eef5!important}

/* Public reception: published items first, submission UI second. */
.eda-published{margin:0 0 10px!important}
.eda-published .eda-section-head{margin-bottom:6px!important}
.eda-published .eda-section-head .eda-kicker{display:none!important}
.eda-published .eda-section-head h2{
 margin:0!important;color:#173f60!important;
 font:700 15px/1.1 Georgia,"Times New Roman",serif!important
}
.eda-list{gap:7px!important}
.eda-public-card{padding:8px!important;border-radius:6px!important;box-shadow:none!important}
.eda-public-card h3{margin:4px 0!important;font-size:13px!important;line-height:1.2!important}
.eda-public-card p{margin:4px 0!important;font-size:9.5px!important;line-height:1.4!important}
.eda-meta{gap:4px!important}
.eda-meta span{padding:2px 5px!important;font-size:7.5px!important}
.eda-auth-card{margin:8px 0!important;padding:9px!important;border-radius:7px!important;box-shadow:none!important}
.eda-layout{gap:8px!important;margin-top:8px!important}
.eda-form{gap:7px!important}
.eda-side{gap:7px!important}
.eda-side .eda-card{padding:8px!important}
.eda-side ol{font-size:9px!important;line-height:1.45!important}

/* One compact page title system: same visual language as Press. */
.edm-head,
.edpartner-head,
.edn-head,
.edr-head,
.edt-hero,
.ep-feed-heading{
 width:100%!important;max-width:none!important;min-height:0!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;
 margin:0 0 6px!important;padding:5px 8px!important;
 border:1px solid #cbd6de!important;border-radius:5px!important;
 background:#fff!important;box-shadow:none!important
}
.edm-head>span,.edm-head>p,
.edpartner-head>.ep-kicker,.edpartner-head>p,
.edn-head span,.edn-head p,
.edr-head>div>span,.edr-head p,
.edt-hero>span,.edt-hero>p,
.ep-feed-heading .ep-kicker,.ep-feed-heading p{display:none!important}
.edm-head h1,
.edpartner-head h1,
.edn-head h1,
.edr-head h1,
.edt-hero h1,
.ep-feed-heading h1{
 margin:0!important;color:#173f60!important;
 font:700 16px/1.05 Georgia,"Times New Roman",serif!important;
 letter-spacing:0!important
}
.edr-head>strong{
 min-width:22px!important;width:22px!important;height:22px!important;
 border-radius:6px!important;background:#edf4f8!important;color:#315c78!important;
 font-size:9px!important
}

/* Remove module-level outer padding that made the center column look like a different site. */
.edm-public,.edpartner-public,.edn-public,.edr-public,.edt-public,
.ep-feed-shell,.ep-feed-shell>.ep-container{
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important
}

/* Members + partners: compact empty states/cards. */
.edm-empty,.edpartner-public .ep-empty{
 padding:14px!important;border-radius:6px!important;background:#f8fafb!important
}
.edm-empty h2,.edpartner-public .ep-empty h2{
 margin:0 0 4px!important;color:#173f60!important;
 font:700 16px/1.15 Georgia,"Times New Roman",serif!important
}
.edm-empty p,.edpartner-public .ep-empty p{margin:0!important;font-size:9.5px!important;line-height:1.4!important}
.edm-grid,.edpartner-grid{gap:7px!important}
.edm-card,.edpartner-card{border-radius:6px!important;box-shadow:none!important}
.edm-card__body,.edpartner-card{padding:8px!important}
.edm-card__photo{height:170px!important}
.edm-card h2,.edpartner-card h2{font-size:15px!important}

/* Donations / reports / transparency: compact central content. */
.edn-empty,.edr-empty{
 padding:14px!important;border-radius:6px!important;font-size:10px!important
}
.edn-empty h2,.edr-empty b{font-size:14px!important}
.edn-grid,.edr-list,.edt-grid{gap:7px!important}
.edn-card,.edr-card,.edt-card{padding:9px!important;border-radius:6px!important;box-shadow:none!important}
.edn-card h2,.edr-card h2,.edt-card h3{font-size:14px!important;line-height:1.2!important}
.edn-card p,.edr-card p,.edt-card p{font-size:9.5px!important;line-height:1.4!important}
.edr-filter{
 grid-template-columns:minmax(130px,180px) minmax(180px,1fr) auto auto!important;
 gap:6px!important;margin:0 0 7px!important;padding:7px!important;border-radius:6px!important
}
.edr-filter label{gap:3px!important}
.edr-filter label>span{font-size:8px!important}
.edr-filter select{height:32px!important;min-height:32px!important;padding:4px 7px!important;border-radius:5px!important;font-size:9px!important}
.edr-filter button,.edr-filter a{height:32px!important;padding:0 10px!important;border-radius:5px!important;font-size:9px!important}
.edr-card__meta,.edr-card__facts,.edr-card footer{font-size:8.5px!important}
.edr-card footer{padding-top:6px!important}

.edt-notice,.edt-source-note{padding:9px!important;border-radius:6px!important}
.edt-notice{margin-bottom:7px!important}
.edt-notice b,.edt-source-note b{font-size:10px!important}
.edt-notice p,.edt-source-note p{margin:3px 0 0!important;font-size:9px!important;line-height:1.4!important}
.edt-kpis{gap:6px!important;margin:0 0 8px!important}
.edt-kpis a{gap:2px!important;padding:8px!important;border-radius:6px!important}
.edt-kpis strong{font-size:17px!important}
.edt-kpis span{font-size:8.5px!important}
.edt-section{padding:10px 0!important}
.edt-section__head{margin-bottom:6px!important;gap:8px!important}
.edt-section__head>div>span{font-size:7px!important}
.edt-section__head h2{font-size:16px!important}
.edt-section__head>a{font-size:8px!important}
.edt-list,.edt-docs{gap:5px!important}
.edt-list article,.edt-docs article{gap:8px!important;padding:8px!important;border-radius:6px!important}
.edt-list h3,.edt-docs h3{margin:3px 0!important;font-size:12px!important}
.edt-list p,.edt-docs p,.edt-list small,.edt-docs small{font-size:8.5px!important}

/* Social feed belongs to the same center column: no second internal sidebar. */
.ep-feed-grid{
 display:block!important;width:100%!important;max-width:none!important
}
.ep-feed-main{width:100%!important;max-width:none!important}
.ep-feed-aside{display:none!important}
.ep-feed-heading>a{font-size:8px!important;color:#176b9c!important;text-decoration:none!important}
.ep-stories-card,.ep-feed-composer,.ep-feed-tabs,.ep-feed-empty{
 margin-bottom:6px!important;border-radius:6px!important;box-shadow:none!important
}
.ep-stories-card{padding:7px!important}
.ep-stories-card .ep-card-head{margin-bottom:4px!important}
.ep-stories-card .ep-card-kicker{display:none!important}
.ep-stories-card h2{margin:0!important;font-size:13px!important}
.stories-strip{gap:6px!important}
.ep-feed-composer{padding:0!important}
.ep-feed-tabs{display:flex!important;gap:3px!important;padding:4px!important}
.ep-feed-tabs a{padding:5px 7px!important;border-radius:5px!important;font-size:8.5px!important}
.ep-feed-list{display:grid!important;gap:6px!important}
.ep-feed-empty{padding:10px!important}
.wall-create-160{margin-bottom:6px!important}
.wall-create-bar{min-height:38px!important;border-radius:6px!important}
.wall-create-primary{min-height:38px!important}
.wall-create-primary span{font-size:16px!important}
.wall-create-primary b,.ep-feed-create-placeholder{font-size:10px!important}

/* Secondary mobile navigation ("Ещё"), separate from main site menu. */
.mobile-extra-panel{display:none}
.mobile-message-link>span{position:relative}
.mobile-message-link [data-mobile-message-count]{
 position:absolute;right:-9px;top:-7px;
 display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;
 border:2px solid #fff;border-radius:9px;background:#d84242;color:#fff;
 font-size:6.5px;font-style:normal;font-weight:900;line-height:1
}
.mobile-message-link [data-mobile-message-count][hidden]{display:none!important}

@media(max-width:760px){
 /* Fixed notification sheet, never a giant broken overlay. */
 .ep-notifications__panel,
 body.page-profile .ep-notifications__panel,
 body.page-messages .ep-notifications__panel,
 body.page-people .ep-notifications__panel{
  position:fixed!important;z-index:18000!important;
  left:7px!important;right:7px!important;top:40px!important;
  width:auto!important;max-width:none!important;
  max-height:calc(100dvh - 98px)!important;
  overflow:hidden!important;border-radius:8px!important;
  box-shadow:0 16px 42px rgba(7,27,42,.30)!important
 }
 .ep-notifications__panel>header{
  position:sticky!important;top:0!important;z-index:2!important;
  min-height:34px!important;padding:7px 9px!important;background:#f6f9fb!important
 }
 .ep-notifications__panel>header b{font-size:10px!important}
 .ep-notifications__panel>header button{font-size:7.5px!important}
 .ep-notifications__panel>div{
  max-height:calc(100dvh - 136px)!important;overflow:auto!important
 }
 .ep-notification{grid-template-columns:24px minmax(0,1fr)!important;gap:6px!important;padding:7px 8px!important}
 .ep-notification__mark{width:24px!important;height:24px!important}
 .ep-notification b{font-size:8.5px!important}
 .ep-notification small,.ep-notification time{font-size:7px!important}

 /* Music player opens as a viewport-contained mobile sheet. */
 .ep-audio-popover{
  position:fixed!important;z-index:19000!important;
  left:7px!important;right:7px!important;top:42px!important;bottom:56px!important;
  width:auto!important;height:auto!important;max-width:none!important;
  padding:0!important
 }
 .ep-audio-popover__backdrop{
  position:fixed!important;z-index:1!important;inset:0!important;
  display:block!important;border:0!important;background:rgba(7,22,34,.45)!important
 }
 .ep-audio-popover[hidden] .ep-audio-popover__backdrop{display:none!important}
 .ep-audio-popover__card{
  position:relative!important;z-index:2!important;
  width:100%!important;height:auto!important;max-height:calc(100dvh - 106px)!important;
  overflow:auto!important;border-radius:9px!important
 }
 .ep-audio-popover__head{padding:8px 9px!important}
 .ep-audio-popover__now{grid-template-columns:54px minmax(0,1fr)!important;gap:7px!important;padding:8px!important}
 .ep-audio-popover__cover{width:54px!important;height:54px!important}
 .ep-audio-popover__meta h2{font-size:12px!important}
 .ep-audio-popover__meta p{font-size:8px!important}
 .ep-audio-popover__meta dl{font-size:7px!important}
 .ep-audio-progress-wrap{grid-template-columns:28px minmax(0,1fr) 28px!important;gap:5px!important;padding:0 9px 8px!important}
 .ep-audio-popover__actions{padding:0 9px 8px!important}
 .ep-audio-tools input{width:72px!important}
 .ep-audio-queue__head{padding:7px 9px!important}
 .ep-audio-queue__list{padding:0 5px 6px!important}

 /* Extra panel opened from bottom "Ещё". */
 .mobile-extra-panel:not([hidden]){display:block!important}
 .mobile-extra-backdrop{
  position:fixed;z-index:15000;inset:0 0 50px;
  border:0;background:rgba(8,22,34,.48)
 }
 .mobile-extra-card{
  position:fixed;z-index:15001;
  left:7px;right:7px;bottom:56px;
  max-height:min(72dvh,520px);overflow:hidden;
  border:1px solid #c8d6df;border-radius:10px;background:#fff;
  box-shadow:0 18px 48px rgba(8,30,46,.30)
 }
 .mobile-extra-card>header{
  display:flex;align-items:center;justify-content:space-between;
  min-height:38px;padding:6px 9px;border-bottom:1px solid #e0e7ec;background:#f5f8fa
 }
 .mobile-extra-card>header b{color:#173f60;font-size:11px}
 .mobile-extra-card>header button{
  display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:50%;
  background:#e7eef3;color:#173f60;font-size:18px
 }
 .mobile-extra-card nav{
  display:grid;grid-template-columns:1fr 1fr;gap:4px;
  max-height:calc(min(72dvh,520px) - 42px);overflow:auto;padding:7px
 }
 .mobile-extra-card nav a{
  display:flex;min-height:36px;align-items:center;padding:6px 8px;
  border:1px solid #e0e7ec;border-radius:6px;background:#fff;color:#31536a;
  font-size:8.5px;font-weight:800;text-decoration:none
 }
 .mobile-extra-card nav a:hover{background:#edf5f9;color:#176b9c}
 body.extra-menu-open{overflow:hidden!important}

 /* Unified thin heads on mobile. */
 .edm-head,.edpartner-head,.edn-head,.edr-head,.edt-hero,.ep-feed-heading{
  margin-bottom:4px!important;padding:4px 6px!important;border-radius:4px!important
 }
 .edm-head h1,.edpartner-head h1,.edn-head h1,.edr-head h1,.edt-hero h1,.ep-feed-heading h1{
  font-size:14px!important
 }
 .edr-head>strong{width:19px!important;height:19px!important;min-width:19px!important;font-size:7.5px!important}

 .edm-empty,.edpartner-public .ep-empty,.edn-empty,.edr-empty{padding:9px!important}
 .edm-empty h2,.edpartner-public .ep-empty h2,.edn-empty h2,.edr-empty b{font-size:13px!important}
 .edm-empty p,.edpartner-public .ep-empty p,.edn-empty p,.edr-empty span{font-size:8.5px!important}
 .edm-card__photo{height:145px!important}

 .edr-filter{grid-template-columns:1fr!important;gap:4px!important;padding:6px!important}
 .edr-filter select,.edr-filter button,.edr-filter a{width:100%!important}
 .edt-kpis{grid-template-columns:1fr 1fr!important;gap:4px!important}
 .edt-kpis a{padding:6px!important}
 .edt-kpis strong{font-size:15px!important}
 .edt-section{padding:7px 0!important}

 .ep-feed-heading>a{font-size:7.5px!important}
 .ep-stories-card{padding:6px!important}
 .story-tile-avatar{width:40px!important;height:40px!important}
 .story-tile b{font-size:7px!important}
 .ep-feed-tabs{overflow:auto!important;white-space:nowrap!important}
 .ep-feed-tabs a{flex:0 0 auto!important}
 .wall-create-primary{justify-content:flex-start!important;padding:0 8px!important}
 .ep-feed-create-placeholder{font-size:9px!important}

 /* Contacts mobile CTA readability and compactness. */
 .ep-contact-reception{padding:9px!important;gap:7px!important}
 .ep-contact-reception h3{font-size:13px!important}
 .ep-contact-reception p{font-size:8.5px!important;line-height:1.4!important}
 .ep-contact-reception>a{padding:7px 9px!important;font-size:8px!important}

 /* Reception on mobile: published first, submission resembles a compact comment form. */
 .eda-published{margin-bottom:7px!important}
 .eda-published .eda-section-head h2{font-size:13px!important}
 .eda-list{grid-template-columns:1fr!important;gap:5px!important}
 .eda-public-card{padding:7px!important}
 .eda-layout{display:block!important}
 .eda-side{display:none!important}
 .eda-form{gap:5px!important}
 .eda-form .eda-card{padding:7px!important}
 .eda-card h2{font-size:13px!important;margin-bottom:6px!important}
 .eda-consent{font-size:8.5px!important}
 .eda-submit{width:100%!important;min-height:34px!important;padding:7px!important;font-size:9px!important}
}


/* 2026-11-07 — compact profile desktop + working photo menu + settings grid repair */

/* Profile: photo left, all identity/about information in the free area to the right. */
body.page-profile .simple-profile-hero{
 grid-template-columns:180px minmax(0,1fr)!important;
 gap:12px!important;
 padding:10px!important;
 align-items:start!important;
 overflow:visible!important
}
body.page-profile .simple-profile-avatar-area{
 width:180px!important;
 gap:5px!important
}
body.page-profile .simple-profile-avatar{
 width:180px!important;
 height:180px!important;
 border-radius:9px!important;
 overflow:visible!important;
 background:#e6edf2!important
}
body.page-profile .simple-profile-avatar .profile-avatar-button,
body.page-profile .simple-profile-avatar .profile-story-ring,
body.page-profile .simple-profile-avatar .vk-profile-avatar,
body.page-profile .simple-profile-avatar .vk-profile-avatar img,
body.page-profile .simple-profile-avatar img{
 width:180px!important;
 height:180px!important;
 max-width:180px!important;
 max-height:180px!important;
 border-radius:9px!important;
 object-fit:cover!important
}
body.page-profile .simple-profile-edit,
body.page-profile .simple-profile-actions button{
 min-height:28px!important;
 padding:4px 7px!important;
 border-radius:6px!important;
 font-size:8px!important
}
body.page-profile .simple-profile-info{
 min-width:0!important;
 padding:1px 0 0!important
}
body.page-profile .simple-profile-title h1{
 margin:1px 0 2px!important;
 font-size:22px!important;
 line-height:1.05!important
}
body.page-profile .simple-profile-kicker{font-size:7px!important}
body.page-profile .simple-profile-username{font-size:9px!important}
body.page-profile .simple-profile-presence{font-size:8px!important}
body.page-profile .simple-profile-badges{
 gap:4px!important;
 margin:6px 0!important
}
body.page-profile .simple-profile-badges span{
 padding:3px 6px!important;
 font-size:7px!important
}
body.page-profile .simple-profile-status{
 margin:5px 0!important;
 padding:6px 8px!important;
 font-size:9px!important
}
body.page-profile .simple-profile-about{
 margin:7px 0 0!important;
 padding:7px 0 0!important;
 border-top:1px solid #e1e8ed!important;
 background:transparent!important;
 border-radius:0!important
}
body.page-profile .simple-profile-about h2{
 margin:0 0 4px!important;
 color:#263f53!important;
 font-size:11px!important
}
body.page-profile .simple-profile-about p{
 margin:0!important;
 max-width:680px!important;
 color:#536979!important;
 font-size:9.5px!important;
 line-height:1.4!important
}
body.page-profile .simple-profile-about small{
 margin-top:4px!important;
 font-size:7.5px!important
}
body.page-profile .simple-profile-stats div{padding:7px!important}
body.page-profile .simple-profile-stats b{font-size:14px!important}
body.page-profile .simple-profile-stats span{font-size:7.5px!important}

/* Avatar actions: only view/change. Hover on desktop, tap on touch. */
body.page-profile .profile-avatar-interactive{
 position:relative!important;
 width:180px!important;
 height:180px!important
}
body.page-profile .avatar-hover-label{display:none!important}
body.page-profile .profile-avatar-menu,
body.page-profile [data-avatar-menu]{
 position:absolute!important;
 z-index:9000!important;
 left:6px!important;
 right:6px!important;
 top:auto!important;
 bottom:6px!important;
 width:auto!important;
 padding:4px!important;
 display:grid;
 gap:2px!important;
 border:1px solid rgba(203,214,222,.95)!important;
 border-radius:7px!important;
 background:rgba(255,255,255,.97)!important;
 box-shadow:0 9px 24px rgba(17,45,65,.22)!important
}
body.page-profile .profile-avatar-menu[hidden],
body.page-profile [data-avatar-menu][hidden]{display:none!important}
body.page-profile .profile-avatar-menu button,
body.page-profile [data-avatar-menu] button{
 width:100%!important;
 min-height:29px!important;
 padding:5px 7px!important;
 border:0!important;
 border-radius:5px!important;
 background:transparent!important;
 color:#29495f!important;
 font-size:8.5px!important;
 font-weight:800!important;
 text-align:left!important
}
body.page-profile .profile-avatar-menu button:hover,
body.page-profile [data-avatar-menu] button:hover{
 background:#eaf3f8!important;
 color:#176b9c!important
}
@media(hover:hover) and (pointer:fine){
 body.page-profile .profile-avatar-interactive:hover .profile-avatar-menu,
 body.page-profile .profile-avatar-interactive:hover [data-avatar-menu]{
  display:grid!important
 }
}

/* Settings: remove the accidental outer two-column social shell. */
body.page-settings .site-content{
 min-width:0!important;
 padding:8px!important;
 overflow:visible!important
}
body.page-settings .ep-social-settings-shell,
body.page-settings .site-page-shell.ep-social-settings-shell{
 display:block!important;
 width:100%!important;
 max-width:none!important;
 min-height:0!important;
 height:auto!important;
 max-height:none!important;
 margin:0!important;
 padding:0!important;
 overflow:visible!important
}
body.page-settings .settings-page-060{
 width:100%!important;
 max-width:none!important;
 min-width:0!important
}
body.page-settings .settings-title{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:8px!important;
 margin:0 0 6px!important;
 padding:6px 8px!important;
 border:1px solid #cbd6de!important;
 border-radius:5px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-settings .settings-title h1{
 margin:0!important;
 color:#173f60!important;
 font:700 16px/1.05 Georgia,"Times New Roman",serif!important
}
body.page-settings .settings-title p{display:none!important}
body.page-settings .settings-title .btn{
 min-height:28px!important;
 padding:4px 8px!important;
 border-radius:5px!important;
 font-size:8px!important
}
body.page-settings .settings-layout-060{
 display:grid!important;
 grid-template-columns:175px minmax(0,1fr)!important;
 gap:7px!important;
 width:100%!important;
 align-items:start!important
}
body.page-settings .settings-menu-060{
 min-width:0!important;
 padding:4px!important;
 gap:1px!important;
 border:1px solid #cbd6de!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-settings .settings-menu-060 a{
 min-width:0!important;
 padding:7px 8px!important;
 border-radius:5px!important
}
body.page-settings .settings-menu-060 b{
 font-size:9px!important;
 line-height:1.2!important
}
body.page-settings .settings-menu-060 small{
 margin-top:1px!important;
 font-size:6.8px!important;
 line-height:1.25!important
}
body.page-settings .settings-content-060{
 min-width:0!important;
 width:100%!important;
 padding:10px!important;
 border:1px solid #cbd6de!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-settings .settings-content-060 .settings-form{
 width:100%!important;
 max-width:none!important;
 gap:8px!important
}
body.page-settings .settings-profile-head{
 gap:8px!important;
 margin-bottom:8px!important
}
body.page-settings .settings-profile-head .profile-avatar,
body.page-settings .settings-profile-head img{
 width:44px!important;
 height:44px!important;
 border-radius:9px!important
}
body.page-settings .settings-profile-head h2{font-size:14px!important}
body.page-settings .settings-profile-head a{font-size:8px!important}
body.page-settings .avatar-dropzone{
 display:grid!important;
 grid-template-columns:34px minmax(0,1fr) auto!important;
 grid-template-rows:auto auto!important;
 column-gap:8px!important;
 row-gap:1px!important;
 align-items:center!important;
 margin:0 0 9px!important;
 padding:7px!important;
 border-radius:6px!important;
 text-align:left!important
}
body.page-settings .avatar-dropzone .drop-icon{
 grid-column:1!important;
 grid-row:1/3!important;
 font-size:20px!important;
 text-align:center!important
}
body.page-settings .avatar-dropzone>b{
 grid-column:2!important;
 grid-row:1!important;
 font-size:9px!important
}
body.page-settings .avatar-dropzone>span{
 grid-column:2!important;
 grid-row:2!important;
 margin:0!important;
 font-size:7px!important
}
body.page-settings .avatar-dropzone>.btn{
 grid-column:3!important;
 grid-row:1/3!important;
 min-height:29px!important;
 padding:4px 8px!important;
 font-size:8px!important
}
body.page-settings .settings-form label{
 gap:3px!important;
 font-size:8.5px!important
}
body.page-settings .settings-form input,
body.page-settings .settings-form textarea,
body.page-settings .settings-form select{
 min-height:32px!important;
 padding:6px 8px!important;
 border-radius:5px!important;
 font-size:9px!important
}
body.page-settings .settings-form textarea{
 min-height:76px!important;
 resize:vertical!important
}
body.page-settings .form-grid{gap:6px!important}
body.page-settings .field-help,
body.page-settings .settings-hint,
body.page-settings .muted{font-size:7.5px!important}
body.page-settings .switch-row{padding:7px 0!important}
body.page-settings .security-info,
body.page-settings .settings-note{
 margin-bottom:8px!important;
 padding:8px!important;
 border-radius:6px!important
}

@media(max-width:760px){
 body.page-profile .simple-profile-hero{
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:7px!important;
  padding:6px!important
 }
 body.page-profile .simple-profile-avatar-area,
 body.page-profile .simple-profile-avatar,
 body.page-profile .profile-avatar-interactive,
 body.page-profile .simple-profile-avatar .profile-avatar-button,
 body.page-profile .simple-profile-avatar .profile-story-ring,
 body.page-profile .simple-profile-avatar .vk-profile-avatar,
 body.page-profile .simple-profile-avatar .vk-profile-avatar img,
 body.page-profile .simple-profile-avatar img{
  width:72px!important;height:72px!important;max-width:72px!important;max-height:72px!important
 }
 body.page-profile .simple-profile-title h1{font-size:14px!important}
 body.page-profile .simple-profile-about{margin-top:5px!important;padding-top:5px!important}
 body.page-profile .simple-profile-about h2{font-size:9px!important}
 body.page-profile .simple-profile-about p{font-size:7.8px!important}
 body.page-profile .profile-avatar-menu,
 body.page-profile [data-avatar-menu]{
  left:3px!important;right:3px!important;bottom:3px!important;padding:3px!important
 }
 body.page-profile .profile-avatar-menu button,
 body.page-profile [data-avatar-menu] button{
  min-height:24px!important;padding:3px 4px!important;font-size:6.6px!important
 }

 body.page-settings .site-content{padding:4px!important}
 body.page-settings .settings-title{padding:5px 6px!important}
 body.page-settings .settings-title h1{font-size:14px!important}
 body.page-settings .settings-layout-060{display:block!important}
 body.page-settings .settings-menu-060{
  display:flex!important;
  gap:3px!important;
  margin-bottom:5px!important;
  padding:3px!important;
  overflow-x:auto!important;
  white-space:nowrap!important
 }
 body.page-settings .settings-menu-060 a{
  flex:0 0 auto!important;
  padding:5px 7px!important
 }
 body.page-settings .settings-menu-060 small{display:none!important}
 body.page-settings .settings-content-060{padding:7px!important}
 body.page-settings .avatar-dropzone{
  grid-template-columns:28px minmax(0,1fr)!important;
  padding:6px!important
 }
 body.page-settings .avatar-dropzone .drop-icon{font-size:17px!important}
 body.page-settings .avatar-dropzone>.btn{
  grid-column:1/-1!important;
  grid-row:auto!important;
  width:100%!important;
  margin-top:4px!important
 }
 body.page-settings .form-grid{grid-template-columns:1fr!important}
}


/* 2026-11-07 — profile social row + wall, settings use only EDINSTVO blue */

/* Settings must never inherit the old violet KOVCHEG service skin. */
body.page-settings{
 --accent:#176b9c!important;
 --accent-hover:#125b86!important;
 --accent-strong:#173f60!important;
 --accent-soft:#e8f3f9!important;
 --ui-accent-soft:#e8f3f9!important;
 --focus-ring:0 0 0 2px rgba(23,107,156,.14)!important
}
body.page-settings .btn-primary,
body.page-settings .primary,
body.page-settings .primary-action,
body.page-settings .send-btn{
 background:linear-gradient(#2786bb,#176b9c)!important;
 border:1px solid #176b9c!important;
 color:#fff!important;
 box-shadow:none!important;
 border-radius:6px!important
}
body.page-settings .btn-primary:hover,
body.page-settings .primary:hover,
body.page-settings .primary-action:hover{
 background:linear-gradient(#217aa9,#145f8b)!important;
 transform:none!important;
 box-shadow:none!important;
 filter:none!important
}
body.page-settings .settings-menu-060 a.active{
 background:#e7f2f8!important;
 color:#176b9c!important;
 box-shadow:inset 2px 0 0 #1c79aa!important
}
body.page-settings .settings-menu-060 a:hover{
 background:#f0f6f9!important;
 color:#176b9c!important
}
body.page-settings input:focus,
body.page-settings textarea:focus,
body.page-settings select:focus{
 border-color:#5f9fc3!important;
 box-shadow:0 0 0 2px rgba(23,107,156,.12)!important
}
body.page-settings input[type=range]{accent-color:#176b9c!important}
body.page-settings .settings-form>.btn-primary{
 justify-self:start!important;
 width:auto!important;
 min-width:160px!important;
 min-height:31px!important;
 padding:5px 13px!important;
 font-size:8.5px!important
}
body.page-settings .button-row .btn-primary{min-width:110px!important}

/* Three compact social cards in one row on the owner's profile. */
body.page-profile .simple-profile-people-row.has-three{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:6px!important
}
body.page-profile .simple-profile-people{
 min-width:0!important;
 min-height:104px!important;
 padding:8px!important;
 border-radius:6px!important;
 box-shadow:none!important
}
body.page-profile .simple-profile-people header{
 margin-bottom:5px!important
}
body.page-profile .simple-profile-people h2{
 font-size:10px!important;
 line-height:1.2!important
}
body.page-profile .simple-profile-people header span{
 font-size:7px!important
}
body.page-profile .simple-profile-people>p{
 margin:7px 0 0!important;
 color:#667b8a!important;
 font-size:8px!important;
 line-height:1.35!important
}
body.page-profile .simple-profile-people-grid{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:5px!important
}
body.page-profile .profile-mini-avatar,
body.page-profile .profile-mini-avatar img{
 width:34px!important;
 height:34px!important
}
body.page-profile .simple-profile-people-grid a{
 gap:3px!important;
 min-width:0!important;
 font-size:7px!important
}
body.page-profile .simple-profile-people-grid small{
 width:100%!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important
}

/* Profile wall is the social continuation of the profile, directly below the three cards. */
body.page-profile .simple-profile-wall-section{
 min-width:0!important;
 overflow:visible!important;
 border:1px solid #cbd6de!important;
 border-radius:7px!important;
 background:#fff!important
}
body.page-profile .simple-profile-wall-head{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:8px!important;
 min-height:32px!important;
 padding:5px 8px!important;
 border-bottom:1px solid #dce5eb!important;
 background:linear-gradient(#fff,#f7f9fa)!important
}
body.page-profile .simple-profile-wall-head h2{
 margin:0!important;
 color:#173f60!important;
 font:700 14px/1.05 Georgia,"Times New Roman",serif!important
}
body.page-profile .simple-profile-wall-head span{
 color:#7b8b96!important;
 font-size:7.5px!important
}
body.page-profile .simple-profile-wall-section .vk-wall{
 padding:7px!important;
 background:#f7f9fa!important
}
body.page-profile .simple-profile-wall-section .wall-create-shell{
 margin:0 0 6px!important;
 border:1px solid #d6e0e6!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-profile .simple-profile-wall-section .wall-create-bar{
 min-height:38px!important
}
body.page-profile .simple-profile-wall-section .wall-create-primary{
 min-height:36px!important;
 padding:6px 9px!important
}
body.page-profile .simple-profile-wall-section .wall-create-primary b,
body.page-profile .simple-profile-wall-section .wall-create-primary span{
 font-size:9px!important
}
body.page-profile .simple-profile-wall-section .wall-create-tools button{
 min-height:30px!important;
 border-radius:5px!important;
 font-size:8px!important
}
body.page-profile .simple-profile-wall-section .wall-feed-090{
 display:grid!important;
 gap:6px!important
}
body.page-profile .simple-profile-wall-section .wall-post-card{
 margin:0!important;
 padding:0!important;
 overflow:visible!important;
 border:1px solid #d7e0e6!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-profile .simple-profile-wall-section .wall-post-head{
 padding:7px 8px 5px!important
}
body.page-profile .simple-profile-wall-section .wall-author-avatar,
body.page-profile .simple-profile-wall-section .wall-author-avatar .avatar-md,
body.page-profile .simple-profile-wall-section .wall-author-avatar img{
 width:32px!important;height:32px!important
}
body.page-profile .simple-profile-wall-section .wall-author-info b{font-size:9px!important}
body.page-profile .simple-profile-wall-section .wall-author-info small,
body.page-profile .simple-profile-wall-section .wall-author-info time{font-size:7px!important}
body.page-profile .simple-profile-wall-section .wall-post-text{
 padding:5px 8px 7px!important;
 font-size:9.5px!important;
 line-height:1.45!important
}
body.page-profile .simple-profile-wall-section .wall-media-grid{
 margin:0 8px 5px!important;
 border-radius:5px!important
}
body.page-profile .simple-profile-wall-section .wall-media-item img{
 max-height:420px!important;
 object-fit:contain!important;
 background:#f1f4f6!important
}
body.page-profile .simple-profile-wall-section .wall-post-actions{
 min-height:32px!important;
 padding:3px 7px!important;
 border-top:1px solid #e2e8ec!important
}
body.page-profile .simple-profile-wall-section .wall-action{
 min-height:26px!important;
 padding:3px 7px!important;
 border-radius:5px!important;
 font-size:8px!important
}
body.page-profile .simple-profile-wall-section .wall-reaction-menu{
 bottom:31px!important;
 padding:4px!important
}
body.page-profile .simple-profile-wall-section .wall-reaction-menu button{
 width:29px!important;height:29px!important;font-size:17px!important
}
body.page-profile .simple-profile-wall-section .wall-reaction-summary{
 padding:0 8px 5px!important
}
body.page-profile .simple-profile-wall-section .wall-comments{
 border-top:1px solid #e3e9ed!important
}
body.page-profile .simple-profile-wall-section .wall-comments-list{
 padding:5px 8px!important
}
body.page-profile .simple-profile-wall-section .wall-comment{
 margin:5px 0!important
}
body.page-profile .simple-profile-wall-section .wall-comment-form{
 padding:6px 8px!important
}
body.page-profile .simple-profile-wall-section .wall-comment-form textarea{
 min-height:30px!important;
 padding:6px 8px!important;
 border-radius:6px!important;
 font-size:8.5px!important
}
body.page-profile .simple-profile-wall-section .wall-comment-send{
 width:30px!important;height:30px!important;
 border-radius:6px!important;
 background:#176b9c!important;
 box-shadow:none!important
}
body.page-profile .simple-profile-wall-section .empty-card-090{
 margin:0!important;
 padding:12px!important;
 border:1px dashed #cbd6de!important;
 border-radius:6px!important;
 background:#fff!important;
 color:#708391!important;
 font-size:8.5px!important;
 text-align:center!important
}

@media(max-width:760px){
 body.page-settings .settings-form>.btn-primary{
  width:100%!important;
  justify-self:stretch!important
 }
 body.page-profile .simple-profile-people-row,
 body.page-profile .simple-profile-people-row.has-three{
  grid-template-columns:1fr 1fr 1fr!important;
  gap:4px!important
 }
 body.page-profile .simple-profile-people{
  min-height:82px!important;
  padding:5px!important
 }
 body.page-profile .simple-profile-people h2{font-size:7.5px!important}
 body.page-profile .simple-profile-people header span{font-size:6px!important}
 body.page-profile .simple-profile-people>p{
  margin-top:4px!important;
  font-size:6.4px!important
 }
 body.page-profile .simple-profile-people-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:3px!important
 }
 body.page-profile .profile-mini-avatar,
 body.page-profile .profile-mini-avatar img{
  width:26px!important;height:26px!important
 }
 body.page-profile .simple-profile-people-grid a{font-size:5.8px!important}
 body.page-profile .simple-profile-wall-head{min-height:28px!important;padding:4px 6px!important}
 body.page-profile .simple-profile-wall-head h2{font-size:11px!important}
 body.page-profile .simple-profile-wall-head span{font-size:6px!important}
 body.page-profile .simple-profile-wall-section .vk-wall{padding:4px!important}
 body.page-profile .simple-profile-wall-section .wall-post-text{font-size:8.3px!important}
 body.page-profile .simple-profile-wall-section .wall-media-item img{max-height:68dvh!important}
}


/* 2026-11-07 — service UI cleanup: no violet, compact messenger/feed/settings */

/* Public EDINSTVO shell owns the accent. Old KOVCHEG violet must not leak through. */
body.site-body{
 --accent:#176b9c!important;
 --accent-hover:#125b86!important;
 --accent-strong:#173f60!important;
 --accent-soft:#e7f2f8!important;
 --ui-accent-soft:#e7f2f8!important;
 --focus-ring:0 0 0 2px rgba(23,107,156,.14)!important
}
body.site-body .btn-primary,
body.site-body .primary,
body.site-body .primary-action,
body.site-body .send-btn,
body.site-body .wall-comment-send,
body.site-body .global-player-play,
body.site-body .music-page-player-play{
 background:linear-gradient(#2786bb,#176b9c)!important;
 border:1px solid #176b9c!important;
 color:#fff!important;
 box-shadow:none!important
}
body.site-body .btn-primary:hover,
body.site-body .primary:hover,
body.site-body .primary-action:hover,
body.site-body .send-btn:hover,
body.site-body .wall-comment-send:hover,
body.site-body .global-player-play:hover,
body.site-body .music-page-player-play:hover{
 background:linear-gradient(#217aa9,#145f8b)!important;
 transform:none!important;
 box-shadow:none!important;
 filter:none!important
}
body.site-body .chat-item.active{
 background:#176b9c!important;
 color:#fff!important
}
body.site-body .notification-bell em,
body.site-body .chat-side em{
 background:#176b9c!important
}
body.site-body .avatar:not(:has(img)),
body.site-body .avatar-sm:not(:has(img)),
body.site-body .avatar-xs:not(:has(img)),
body.site-body .profile-avatar:not(:has(img)),
body.site-body .logo-large,
body.site-body .brand-mark{
 background:linear-gradient(145deg,#237daa,#173f60)!important
}
body.site-body input:focus,
body.site-body textarea:focus,
body.site-body select:focus{
 border-color:#5f9fc3!important;
 box-shadow:0 0 0 2px rgba(23,107,156,.12)!important
}
body.site-body input[type="range"]{accent-color:#176b9c!important}
body.site-body .selected-users>span,
body.site-body .reactions button{
 background:#e7f2f8!important;
 color:#176b9c!important
}

/* Messages: one heading only, page itself fits the viewport. */
@media(min-width:761px){
 html:has(body.page-messages),
 body.page-messages{
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important
 }
 body.page-messages .site-main{
  height:calc(100dvh - 244px)!important;
  min-height:0!important;
  padding:8px 12px!important;
  overflow:hidden!important
 }
 body.page-messages .site-grid{
  height:100%!important;
  min-height:0!important;
  align-items:stretch!important;
  overflow:hidden!important
 }
 body.page-messages .site-grid>.classic-sidebar,
 body.page-messages .site-grid>.right-sidebar{
  height:100%!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin!important
 }
 body.page-messages .site-content{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important
 }
 body.page-messages .ep-service-page,
 body.page-messages .ep-messages-page,
 body.page-messages .ep-messenger-card,
 body.page-messages .ep-messenger-card .messenger{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important
 }
}
body.page-messages .ep-service-page{margin:0!important;padding:0!important}
body.page-messages .ep-messenger-card{
 border:1px solid #cbd6de!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-messages .ep-messenger-card .messenger{
 grid-template-columns:235px minmax(0,1fr)!important;
 --left-column:235px!important;
 background:#fff!important
}
body.page-messages .chat-list{
 border-right:1px solid #dce4ea!important;
 background:#fff!important
}
body.page-messages .list-head{
 height:46px!important;
 min-height:46px!important;
 padding:6px 8px!important
}
body.page-messages .chat-list-title b{
 color:#243f54!important;
 font-size:11px!important
}
body.page-messages .chat-list-title small{
 margin-top:1px!important;
 color:#81909a!important;
 font-size:7px!important
}
body.page-messages .head-actions .icon-btn{
 width:28px!important;
 height:28px!important;
 border-radius:6px!important;
 color:#587183!important;
 font-size:15px!important
}
body.page-messages .head-actions .icon-btn:hover{
 background:#edf4f8!important;
 color:#176b9c!important
}
body.page-messages .chat-search{
 height:32px!important;
 margin:4px 7px 6px!important;
 padding:0 8px!important;
 border:1px solid #e0e7ec!important;
 border-radius:6px!important;
 background:#f5f8fa!important
}
body.page-messages .chat-search input{
 height:30px!important;
 padding:4px 6px!important;
 font-size:8.5px!important
}
body.page-messages .chat-item{
 min-height:54px!important;
 height:54px!important;
 margin:1px 4px!important;
 width:calc(100% - 8px)!important;
 padding:5px 6px!important;
 gap:7px!important;
 border-radius:5px!important
}
body.page-messages .chat-item .avatar,
body.page-messages .chat-item .avatar img{
 width:36px!important;
 height:36px!important
}
body.page-messages .chat-meta b{font-size:8.5px!important}
body.page-messages .chat-meta small{font-size:7px!important;margin-top:1px!important}
body.page-messages .chat-side time{font-size:6.5px!important}
body.page-messages .chat-side em{
 min-width:15px!important;
 height:15px!important;
 border-radius:8px!important;
 font-size:6.5px!important
}
body.page-messages .conversation{
 background:#f7f9fa!important;
 background-image:none!important;
 box-shadow:none!important
}
body.page-messages .conversation-head{
 height:46px!important;
 min-height:46px!important;
 padding:5px 8px!important
}
body.page-messages .conversation-title h1{font-size:10px!important}
body.page-messages .conversation-title small{font-size:7px!important}
body.page-messages .messages{
 min-height:0!important;
 padding:8px 10px!important;
 gap:5px!important;
 overflow-y:auto!important
}
body.page-messages .composer{
 padding:5px 7px!important;
 gap:2px!important
}
body.page-messages .composer textarea{
 min-height:32px!important;
 padding:7px 9px!important;
 border-radius:8px!important;
 font-size:8.5px!important
}
body.page-messages .send-btn{
 width:32px!important;
 height:32px!important;
 border-radius:7px!important;
 font-size:14px!important
}
body.page-messages .empty-state{
 gap:4px!important;
 padding:12px!important
}
body.page-messages .empty-state .logo-large{display:none!important}
body.page-messages .empty-state h2{
 margin:0!important;
 color:#2b4559!important;
 font-size:16px!important
}
body.page-messages .empty-state p{
 margin:2px 0!important;
 font-size:9px!important
}

/* Compact new-message/forward sheets. */
body.page-messages .modern-sheet{
 padding:10px!important;
 align-items:center!important
}
body.page-messages .modern-sheet .modal-card{
 width:min(420px,calc(100vw - 20px))!important;
 min-height:0!important;
 max-height:calc(100dvh - 28px)!important;
 padding:14px!important;
 border:1px solid #cad7df!important;
 border-radius:8px!important;
 background:#fff!important;
 box-shadow:0 18px 48px rgba(12,36,54,.24)!important
}
body.page-messages .modern-sheet .modal-card h2{
 margin:0 34px 10px 0!important;
 color:#243f54!important;
 font-size:15px!important;
 line-height:1.15!important
}
body.page-messages .modern-sheet .modal-close{
 right:7px!important;
 top:5px!important;
 width:28px!important;
 height:28px!important;
 font-size:20px!important
}
body.page-messages .user-picker-form{
 gap:7px!important
}
body.page-messages .user-picker-form input[type="search"]{
 height:34px!important;
 padding:6px 8px!important;
 border-radius:6px!important;
 font-size:9px!important
}
body.page-messages .direct-contacts{
 max-height:150px!important;
 min-height:0!important;
 gap:3px!important
}
body.page-messages .user-search-results.large{
 min-height:0!important;
 max-height:160px!important
}
body.page-messages .direct-contact,
body.page-messages .user-result{
 padding:5px 6px!important;
 border-radius:5px!important;
 font-size:8.5px!important
}
body.page-messages .direct-contact .avatar-sm,
body.page-messages .direct-contact .avatar-sm img,
body.page-messages .user-result .avatar-sm,
body.page-messages .user-result .avatar-sm img{
 width:32px!important;height:32px!important
}
body.page-messages .modern-sheet .muted{
 margin:4px 0!important;
 font-size:8.5px!important
}
body.page-messages .modern-sheet .btn-primary{
 min-height:32px!important;
 padding:5px 10px!important;
 border-radius:6px!important;
 font-size:9px!important
}

/* Settings: there is no redundant page-title bar anymore. */
body.page-settings .settings-page-060{padding-top:0!important}
body.page-settings .settings-layout-060{margin-top:0!important}
body.page-settings .settings-content-060{padding:8px!important}
body.page-settings .settings-form{
 gap:7px!important;
 padding:0!important
}
body.page-settings .settings-form label{font-size:8px!important}
body.page-settings .settings-form input,
body.page-settings .settings-form select{
 min-height:30px!important;
 height:30px!important
}
body.page-settings .settings-hint{
 margin:2px 0!important;
 padding:6px 7px!important;
 border-radius:5px!important
}

/* Feed: one compact central stream, no title banner and no second visual system. */
body.page-social .ep-feed-shell,
body.page-social .ep-feed-shell>.ep-container,
body.page-social .ep-feed-grid{
 width:100%!important;
 max-width:none!important;
 margin:0!important;
 padding:0!important
}
body.page-social .ep-feed-grid{display:block!important}
body.page-social .ep-feed-main{
 width:100%!important;
 max-width:760px!important;
 margin:0 auto!important
}
body.page-social .ep-feed-aside{display:none!important}
body.page-social .ep-stories-card{
 margin:0 0 5px!important;
 padding:5px 6px!important;
 border:1px solid #cbd6de!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-social .ep-stories-card .ep-card-head{
 margin:0 0 3px!important
}
body.page-social .ep-stories-card .ep-card-head h2{
 margin:0!important;
 color:#2d485c!important;
 font-size:9px!important
}
body.page-social .ep-stories-card .ep-card-kicker{display:none!important}
body.page-social .stories-strip{
 gap:5px!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 background:transparent!important
}
body.page-social .story-tile{
 flex:0 0 56px!important;
 width:56px!important;
 min-height:60px!important;
 padding:3px!important;
 border:1px solid #dde5ea!important;
 border-radius:6px!important;
 background:#fff!important
}
body.page-social .story-tile-avatar,
body.page-social .story-tile-avatar img{
 width:34px!important;
 height:34px!important
}
body.page-social .story-add{
 width:14px!important;
 height:14px!important;
 font-size:8px!important;
 background:#176b9c!important
}
body.page-social .story-tile b{
 max-width:50px!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important;
 font-size:6px!important
}
body.page-social .ep-feed-composer{
 margin:0 0 5px!important;
 padding:0!important;
 border:0!important;
 background:transparent!important
}
body.page-social .wall-create-160{margin:0!important;gap:4px!important}
body.page-social .wall-create-bar{
 min-height:34px!important;
 border:1px solid #cbd6de!important;
 border-radius:6px!important;
 background:#fff!important
}
body.page-social .wall-create-primary{
 min-height:34px!important;
 justify-content:flex-start!important;
 padding:0 8px!important
}
body.page-social .wall-create-primary span{font-size:14px!important}
body.page-social .wall-create-primary b,
body.page-social .ep-feed-create-placeholder{
 color:#506879!important;
 font-size:8.5px!important
}
body.page-social .wall-create-tools>button{
 height:30px!important;
 font-size:8px!important
}
body.page-social .ep-feed-tabs{
 margin:0 0 5px!important;
 padding:3px!important;
 gap:2px!important;
 border:1px solid #d8e1e7!important;
 border-radius:5px!important;
 background:#fff!important
}
body.page-social .ep-feed-tabs a{
 padding:4px 7px!important;
 border-radius:4px!important;
 color:#61798a!important;
 font-size:7.5px!important
}
body.page-social .ep-feed-tabs a.is-active{
 background:#e7f2f8!important;
 color:#176b9c!important
}
body.page-social .ep-feed-list{
 gap:5px!important
}
body.page-social .wall-post-card,
body.page-social .ep-feed-empty{
 margin:0!important;
 border:1px solid #d5dfe6!important;
 border-radius:6px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-social .ep-feed-empty{
 padding:9px!important;
 font-size:8.5px!important
}
body.page-social .ep-feed-empty b{font-size:10px!important}
body.page-social .ep-feed-empty p{margin:3px 0!important}
body.page-social .wall-post-head{padding:6px 7px 4px!important}
body.page-social .wall-post-text{
 padding:5px 7px!important;
 font-size:9px!important;
 line-height:1.4!important
}
body.page-social .wall-post-actions{
 min-height:30px!important;
 padding:3px 6px!important
}
body.page-social .wall-action{
 min-height:25px!important;
 padding:3px 6px!important;
 border-radius:5px!important;
 font-size:7.5px!important
}

/* Mobile messenger also occupies only its available viewport area. */
@media(max-width:760px){
 html:has(body.page-messages),
 body.page-messages{
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important
 }
 body.page-messages .site-main{
  height:calc(100dvh - 146px)!important;
  min-height:0!important;
  padding:4px 4px 54px!important;
  overflow:hidden!important
 }
 body.page-messages .site-grid,
 body.page-messages .site-content,
 body.page-messages .ep-service-page,
 body.page-messages .ep-messages-page,
 body.page-messages .ep-messenger-card{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important
 }
 body.page-messages .ep-messenger-card .messenger{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important
 }
 body.page-messages .modern-sheet{
  padding:6px!important;
  align-items:flex-start!important;
  padding-top:42px!important
 }
 body.page-messages .modern-sheet .modal-card{
  width:100%!important;
  max-height:calc(100dvh - 92px)!important;
  padding:11px!important;
  border-radius:7px!important
 }
 body.page-social .ep-feed-main{max-width:none!important}
 body.page-social .ep-stories-card{padding:4px!important}
 body.page-social .story-tile{
  flex-basis:52px!important;
  width:52px!important;
  min-height:57px!important
 }
 body.page-social .story-tile-avatar,
 body.page-social .story-tile-avatar img{
  width:32px!important;height:32px!important
 }
}


/* Final violet cleanup for secondary KOVCHEG controls inside the public shell. */
body.site-body .btn:not(.btn-primary):not(.btn-danger):not(.btn-warning),
body.site-body .soft-action,
body.site-body .archive-button{
 background:#f2f6f8!important;
 border:1px solid #d4e0e7!important;
 color:#355469!important;
 box-shadow:none!important
}
body.site-body .btn:not(.btn-primary):not(.btn-danger):not(.btn-warning):hover,
body.site-body .soft-action:hover,
body.site-body .archive-button:hover{
 background:#e8f1f6!important;
 border-color:#bcd2df!important;
 color:#176b9c!important
}
body.site-body .global-audio-player{
 border-color:#315f7d!important;
 background:#214e6e!important;
 box-shadow:none!important
}
body.site-body .global-audio-player .player-repeat.active{
 color:#fff!important;
 background:#2a7099!important
}
body.site-body .music-page-player{
 border-color:#c9dbe6!important;
 background:#f7fafc!important;
 box-shadow:none!important
}
body.site-body .user-storage-editor{
 border-color:#d5e1e8!important;
 background:#f8fafb!important
}


/* 2026-11-07 — readable settings, true document scroll, VK-like mobile profile, compact mobile pages */

/* SETTINGS: readable, compact, one scroll surface. */
html:has(body.page-settings),
body.page-settings{
 height:auto!important;
 min-height:100%!important;
 max-height:none!important;
 overflow-x:hidden!important;
 overflow-y:auto!important
}
body.page-settings .site-main,
body.page-settings .site-grid,
body.page-settings .site-content,
body.page-settings .ep-social-settings-shell,
body.page-settings .settings-page-060,
body.page-settings .settings-layout-060,
body.page-settings .settings-content-060{
 height:auto!important;
 min-height:0!important;
 max-height:none!important;
 overflow:visible!important;
 overscroll-behavior:auto!important
}
body.page-settings .settings-layout-060{
 grid-template-columns:185px minmax(0,1fr)!important;
 gap:8px!important
}
body.page-settings .settings-menu-060{
 padding:5px!important
}
body.page-settings .settings-menu-060 a{
 padding:7px 8px!important;
 min-height:0!important
}
body.page-settings .settings-menu-060 b{
 font-size:10.5px!important;
 line-height:1.2!important
}
body.page-settings .settings-menu-060 small{
 margin-top:2px!important;
 font-size:8.5px!important;
 line-height:1.25!important
}
body.page-settings .settings-content-060{
 padding:10px 12px!important
}
body.page-settings .settings-form{
 gap:10px!important
}
body.page-settings .settings-form label{
 gap:4px!important;
 color:#253f53!important;
 font-size:10.5px!important;
 line-height:1.3!important
}
body.page-settings .settings-form label>b,
body.page-settings .switch-row b{
 font-size:10.5px!important
}
body.page-settings .settings-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.page-settings .settings-form select{
 min-height:34px!important;
 height:34px!important;
 padding:5px 9px!important;
 border-radius:5px!important;
 font-size:10.5px!important
}
body.page-settings .settings-form textarea{
 min-height:82px!important;
 padding:7px 9px!important;
 font-size:10.5px!important
}
body.page-settings .field-help,
body.page-settings .settings-hint,
body.page-settings .settings-form small,
body.page-settings .muted{
 font-size:8.5px!important;
 line-height:1.35!important
}
body.page-settings .switch-row{
 min-height:48px!important;
 padding:7px 0!important;
 gap:12px!important
}
body.page-settings .switch-row>span{
 min-width:0!important;
 gap:2px!important
}
body.page-settings .switch-row small{
 font-size:8.5px!important;
 line-height:1.25!important
}
body.page-settings .switch-row input[type="checkbox"],
body.page-settings input[type="checkbox"]{
 appearance:auto!important;
 -webkit-appearance:auto!important;
 flex:0 0 18px!important;
 width:18px!important;
 height:18px!important;
 min-width:18px!important;
 min-height:18px!important;
 margin:0 3px 0 0!important;
 padding:0!important;
 accent-color:#176b9c!important;
 transform:none!important;
 box-shadow:none!important
}
body.page-settings .settings-form>.btn-primary,
body.page-settings .button-row .btn-primary{
 min-height:32px!important;
 min-width:140px!important;
 padding:5px 12px!important;
 font-size:9.5px!important
}

/* PRESENCE: visually obvious without becoming huge. */
body.page-profile .simple-profile-presence.presence-online{
 color:#258557!important;
 font-weight:800!important
}

/* MOBILE PROFILE: VK-like hierarchy with large central avatar. */
@media(max-width:760px){
 body.page-profile .site-main{padding:3px 3px 56px!important}
 body.page-profile .site-content{padding:4px!important;background:rgba(247,249,251,.97)!important}
 body.page-profile .simple-profile{gap:5px!important}

 body.page-profile .simple-profile-hero,
 body.page-profile .simple-profile-hero.has-cover{
  display:block!important;
  padding:68px 7px 8px!important;
  border-radius:7px!important;
  text-align:center!important
 }
 body.page-profile .simple-profile-hero.has-cover:before{
  height:88px!important;
  background-position:center 42%!important
 }
 body.page-profile .simple-profile-avatar-area,
 body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
  width:100%!important;
  margin:-48px auto 0!important;
  display:grid!important;
  justify-items:center!important;
  gap:6px!important
 }
 body.page-profile .simple-profile-avatar,
 body.page-profile .profile-avatar-interactive,
 body.page-profile .simple-profile-avatar .profile-avatar-button,
 body.page-profile .simple-profile-avatar .profile-story-ring,
 body.page-profile .simple-profile-avatar .vk-profile-avatar,
 body.page-profile .simple-profile-avatar .vk-profile-avatar img,
 body.page-profile .simple-profile-avatar img{
  width:150px!important;
  height:150px!important;
  max-width:150px!important;
  max-height:150px!important;
  border-radius:50%!important
 }
 body.page-profile .simple-profile-avatar{
  border:4px solid #fff!important;
  box-shadow:0 3px 12px rgba(16,44,64,.18)!important
 }
 body.page-profile .simple-profile-edit{
  width:min(210px,72vw)!important;
  min-height:34px!important;
  padding:5px 12px!important;
  border-radius:7px!important;
  font-size:9px!important
 }
 body.page-profile .simple-profile-info{
  margin-top:7px!important;
  padding:0 4px!important;
  text-align:center!important
 }
 body.page-profile .simple-profile-title{
  display:block!important
 }
 body.page-profile .simple-profile-title h1{
  margin:0!important;
  font-size:18px!important;
  line-height:1.08!important
 }
 body.page-profile .simple-profile-username{
  margin-top:2px!important;
  font-size:9px!important
 }
 body.page-profile .simple-profile-presence{
  display:block!important;
  max-width:none!important;
  margin-top:3px!important;
  font-size:8px!important;
  text-align:center!important
 }
 body.page-profile .simple-profile-badges{
  justify-content:center!important;
  margin:5px 0!important
 }
 body.page-profile .simple-profile-badges span{
  font-size:7px!important;
  padding:2px 5px!important
 }
 body.page-profile .simple-profile-about{
  margin-top:7px!important;
  padding:7px 4px 0!important;
  text-align:left!important
 }
 body.page-profile .simple-profile-about h2{font-size:10px!important}
 body.page-profile .simple-profile-about p{font-size:8.5px!important;line-height:1.35!important}
 body.page-profile .simple-profile-status{
  margin:5px auto!important;
  max-width:320px!important;
  font-size:8.5px!important
 }
 body.page-profile .profile-avatar-menu,
 body.page-profile [data-avatar-menu]{
  left:50%!important;
  right:auto!important;
  bottom:7px!important;
  width:136px!important;
  transform:translateX(-50%)!important
 }

 /* Keep the three social cards compact after the larger profile hero. */
 body.page-profile .simple-profile-stats{border-radius:6px!important}
 body.page-profile .simple-profile-stats div{padding:5px 3px!important}
 body.page-profile .simple-profile-people-row,
 body.page-profile .simple-profile-people-row.has-three{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:3px!important
 }
 body.page-profile .simple-profile-people{
  min-height:78px!important;
  padding:5px!important;
  border-radius:6px!important
 }
 body.page-profile .simple-profile-people h2{font-size:7.2px!important}
 body.page-profile .simple-profile-people>p{font-size:6.2px!important;line-height:1.25!important}
 body.page-profile .simple-profile-wall-head{padding:4px 6px!important}
 body.page-profile .simple-profile-wall-head h2{font-size:11px!important}
}

/* MOBILE CONTACTS: information flows one after another, not card-inside-card. */
@media(max-width:760px){
 body.page-post .ep-article--contacts,
 .ep-article--contacts{
  border-radius:6px!important
 }
 .ep-article--contacts .ep-article__titlebar{
  padding:5px 7px!important;
  border-bottom:1px solid #d7e1e7!important
 }
 .ep-article--contacts .ep-article__titlebar h1{
  font-size:15px!important;
  line-height:1.1!important
 }
 .ep-contact-grid{
  display:block!important;
  padding:0!important;
  margin:0!important
 }
 .ep-contact-card,
 .ep-contact-card--lead{
  display:block!important;
  margin:0!important;
  padding:8px 7px!important;
  border:0!important;
  border-bottom:1px solid #dfe7ec!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important
 }
 .ep-contact-card--lead{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:7px!important;
  align-items:start!important
 }
 .ep-contact-card__logo{
  width:48px!important;
  height:48px!important;
  border-radius:6px!important
 }
 .ep-contact-card__logo img{
  width:40px!important;
  height:40px!important
 }
 .ep-contact-card h2,
 .ep-contact-card h3{
  margin:0 0 3px!important;
  font-size:13px!important;
  line-height:1.15!important
 }
 .ep-contact-card p,
 .ep-contact-card address,
 .ep-contact-card a{
  font-size:9px!important;
  line-height:1.4!important
 }
 .ep-contact-card .ep-kicker,
 .ep-contact-card__kicker{
  margin-bottom:2px!important;
  font-size:6.5px!important
 }
 .ep-contact-reception{
  display:block!important;
  margin:0!important;
  padding:8px 7px!important;
  border-radius:0!important
 }
 .ep-contact-reception>div{margin-bottom:6px!important}
 .ep-contact-reception h3{font-size:12px!important}
 .ep-contact-reception p{font-size:8px!important}
 .ep-contact-reception>a{
  width:auto!important;
  min-height:30px!important;
  padding:5px 9px!important;
  font-size:8px!important
 }
}

/* MOBILE GLOBAL COMPACTNESS: common public sections share one density. */
@media(max-width:760px){
 .site-main{padding:4px 4px 56px!important}
 .site-content{padding:5px!important;border-radius:6px!important}
 .site-content :where(
  .ep-card,.classic-widget,.edm-card,.edpartner-card,.edn-card,.edr-card,.edt-card,
  .eda-card,.eda-auth-card,.edv-card,.edd-row,.edg-album-card,.nr-project-story
 ){
  border-radius:6px!important;
  box-shadow:none!important
 }
 .site-content :where(.edm-head,.edpartner-head,.edn-head,.edr-head,.edt-hero){
  padding:4px 6px!important;
  margin-bottom:4px!important
 }
 .site-content :where(.edm-head h1,.edpartner-head h1,.edn-head h1,.edr-head h1,.edt-hero h1){
  font-size:13px!important
 }
 .site-content :where(.edm-empty,.edn-empty,.edr-empty,.ep-empty){
  padding:8px!important;
  min-height:0!important
 }
 .site-content :where(.edm-empty h2,.edn-empty h2,.ep-empty h2){
  font-size:12px!important;
  margin-bottom:3px!important
 }
 .site-content :where(.edm-empty p,.edn-empty p,.ep-empty p){
  font-size:8px!important;
  line-height:1.35!important
 }
}

/* SETTINGS MOBILE: readable but still compact. */
@media(max-width:760px){
 body.page-settings .site-main{padding:4px 4px 56px!important}
 body.page-settings .site-content{padding:4px!important}
 body.page-settings .settings-menu-060{
  gap:2px!important;
  padding:3px!important
 }
 body.page-settings .settings-menu-060 a{
  padding:6px 8px!important
 }
 body.page-settings .settings-menu-060 b{font-size:9px!important}
 body.page-settings .settings-content-060{padding:8px!important}
 body.page-settings .settings-form label,
 body.page-settings .switch-row b{font-size:10px!important}
 body.page-settings .settings-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
 body.page-settings .settings-form select{
  min-height:34px!important;
  height:34px!important;
  font-size:10px!important
 }
 body.page-settings .switch-row{
  min-height:44px!important;
  padding:6px 0!important
 }
 body.page-settings .switch-row input[type="checkbox"],
 body.page-settings input[type="checkbox"]{
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important
 }
}


/* Final mobile density for Documents and Gallery + stronger profile photo. */
@media(max-width:760px){
 body.page-profile{
  --mobile-profile-avatar:170px;
 }
 body.page-profile .simple-profile-avatar,
 body.page-profile .profile-avatar-interactive,
 body.page-profile .simple-profile-avatar .profile-avatar-button,
 body.page-profile .simple-profile-avatar .profile-story-ring,
 body.page-profile .simple-profile-avatar .vk-profile-avatar,
 body.page-profile .simple-profile-avatar .vk-profile-avatar img,
 body.page-profile .simple-profile-avatar img{
  width:var(--mobile-profile-avatar)!important;
  height:var(--mobile-profile-avatar)!important;
  max-width:var(--mobile-profile-avatar)!important;
  max-height:var(--mobile-profile-avatar)!important
 }

 .edd-public,.edg-public{padding:0!important}
 .edd-wrap,.edg-wrap{padding:0!important;gap:5px!important}
 .edd-head,.edg-head:not(.edg-head--album){
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-direction:row!important;
  gap:6px!important;
  margin:0 0 4px!important;
  padding:4px 6px!important;
  border:1px solid #cbd6de!important;
  border-radius:4px!important;
  background:#fff!important
 }
 .edd-head>div,.edg-head:not(.edg-head--album)>div{min-width:0!important}
 .edd-head>div>span,.edg-head:not(.edg-head--album) .edg-kicker,
 .edd-head p,.edg-head:not(.edg-head--album) p{display:none!important}
 .edd-head h1,.edg-head:not(.edg-head--album) h1{
  margin:0!important;
  font:700 13px/1.05 Georgia,"Times New Roman",serif!important
 }
 .edd-head>strong,.edg-head:not(.edg-head--album)>strong{
  min-width:0!important;width:auto!important;height:auto!important;
  padding:0!important;border:0!important;background:transparent!important;
  color:#7c8c97!important;font-size:7px!important
 }
 .edd-filter{
  grid-template-columns:1fr!important;
  gap:4px!important;
  padding:6px!important;
  border-radius:5px!important
 }
 .edd-filter label span{font-size:8px!important}
 .edd-filter input,.edd-filter select,.edd-filter button,.edd-filter a{
  min-height:32px!important;height:32px!important;padding:4px 7px!important;font-size:8.5px!important
 }
 .edd-row{
  grid-template-columns:36px minmax(0,1fr)!important;
  gap:7px!important;padding:7px!important;border-radius:5px!important
 }
 .edd-type{width:34px!important;height:34px!important;border-radius:6px!important;font-size:7px!important}
 .edd-info h2{margin:2px 0!important;font-size:12px!important}
 .edd-info p{font-size:8px!important;line-height:1.35!important}
 .edd-info small,.edd-meta{font-size:7px!important}
 .edd-actions{grid-column:1/-1!important;justify-content:flex-start!important;gap:4px!important}
 .edd-actions a,.edd-actions button{min-height:28px!important;padding:4px 7px!important;font-size:7.5px!important}

 .edg-album-grid{grid-template-columns:1fr!important;gap:6px!important}
 .edg-album-card{border-radius:6px!important;box-shadow:none!important}
 .edg-album-card__media{height:150px!important}
 .edg-album-card__body{padding:7px!important}
 .edg-album-card h2{margin:3px 0!important;font-size:12px!important}
 .edg-album-card p{font-size:8px!important;line-height:1.35!important}
 .edg-meta{gap:3px!important}
 .edg-meta span{padding:2px 4px!important;font-size:6.5px!important}
 .edg-photo-grid{columns:1!important;column-gap:0!important}
 .edg-photo{margin-bottom:6px!important;border-radius:6px!important}
 .edg-photo figcaption{padding:6px!important}
 .edg-photo figcaption p{font-size:8px!important}
 .edg-photo figcaption small{font-size:7px!important}
}


/* 2026-11-07 — balanced readable feed + unclipped message sidebars */

/* FEED DESKTOP: use the central column, but keep readable VK-like density. */
body.page-social .ep-feed-main{
 width:100%!important;
 max-width:none!important;
 margin:0!important
}
body.page-social .ep-stories-card{
 width:100%!important;
 margin:0 0 9px!important;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 background:transparent!important;
 box-shadow:none!important
}
body.page-social .ep-stories-card .ep-card-head{
 margin:0 0 6px!important;
 padding:0 2px!important
}
body.page-social .ep-stories-card .ep-card-head h2{
 color:#24445d!important;
 font-size:12px!important;
 font-weight:800!important
}
body.page-social .stories-strip{
 display:flex!important;
 align-items:flex-start!important;
 gap:10px!important;
 min-height:88px!important;
 margin:0!important;
 padding:7px 8px!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 border:1px solid #cbd6de!important;
 border-radius:7px!important;
 background:#fff!important;
 scrollbar-width:thin!important
}
body.page-social .story-tile{
 flex:0 0 76px!important;
 width:76px!important;
 min-height:76px!important;
 padding:3px!important;
 border:0!important;
 border-radius:6px!important;
 background:transparent!important
}
body.page-social .story-tile:hover{
 background:#edf5fa!important
}
body.page-social .story-tile-avatar,
body.page-social .story-tile-avatar img{
 width:54px!important;
 height:54px!important;
 border-radius:50%!important
}
body.page-social .story-tile.unseen .story-tile-avatar,
body.page-social .story-tile.own.has-story .story-tile-avatar{
 outline:2px solid #1b7eae!important;
 outline-offset:2px!important
}
body.page-social .story-add{
 width:18px!important;
 height:18px!important;
 right:7px!important;
 bottom:20px!important;
 border:2px solid #fff!important;
 border-radius:50%!important;
 font-size:11px!important;
 line-height:14px!important
}
body.page-social .story-tile b{
 display:block!important;
 max-width:72px!important;
 margin-top:5px!important;
 color:#38566c!important;
 font-size:9.5px!important;
 line-height:1.15!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important
}

/* Composer: readable, not a tiny strip. */
body.page-social .ep-feed-composer{
 margin:0 0 8px!important
}
body.page-social .wall-create-160{
 gap:6px!important
}
body.page-social .wall-create-bar{
 min-height:52px!important;
 border:1px solid #cbd6de!important;
 border-radius:7px!important;
 background:#fff!important
}
body.page-social .wall-create-primary{
 min-height:50px!important;
 padding:0 12px!important;
 gap:8px!important
}
body.page-social .wall-create-primary .avatar,
body.page-social .wall-create-primary .avatar img,
body.page-social .wall-create-primary .profile-mini-avatar,
body.page-social .wall-create-primary .profile-mini-avatar img{
 width:34px!important;
 height:34px!important
}
body.page-social .wall-create-primary span,
body.page-social .ep-feed-create-placeholder{
 color:#496377!important;
 font-size:13px!important;
 line-height:1.25!important
}
body.page-social .wall-create-tools{
 gap:4px!important
}
body.page-social .wall-create-tools>button{
 min-width:34px!important;
 height:34px!important;
 padding:0 8px!important;
 border-radius:6px!important;
 font-size:10px!important
}

/* Feed tabs should be easy to read. */
body.page-social .ep-feed-tabs{
 display:flex!important;
 align-items:center!important;
 gap:4px!important;
 margin:0 0 8px!important;
 padding:4px!important;
 border:1px solid #d4dfe6!important;
 border-radius:6px!important;
 background:#fff!important
}
body.page-social .ep-feed-tabs a{
 padding:6px 10px!important;
 border-radius:5px!important;
 color:#557083!important;
 font-size:10px!important;
 font-weight:700!important
}
body.page-social .ep-feed-tabs a.is-active{
 background:#e4f1f8!important;
 color:#176b9c!important
}

/* Feed post cards and empty state: normal reading scale. */
body.page-social .ep-feed-list{
 gap:8px!important
}
body.page-social .wall-post-card,
body.page-social .ep-feed-empty{
 border:1px solid #d3dee5!important;
 border-radius:7px!important;
 background:#fff!important;
 box-shadow:none!important
}
body.page-social .wall-post-head{
 padding:9px 10px 6px!important
}
body.page-social .wall-author-avatar,
body.page-social .wall-author-avatar img{
 width:38px!important;
 height:38px!important
}
body.page-social .wall-author-info b{
 font-size:11px!important
}
body.page-social .wall-author-info small,
body.page-social .wall-author-info time{
 font-size:8.5px!important
}
body.page-social .wall-post-text{
 padding:6px 10px 9px!important;
 color:#334c60!important;
 font-size:11px!important;
 line-height:1.45!important
}
body.page-social .wall-post-actions{
 min-height:36px!important;
 padding:4px 8px!important
}
body.page-social .wall-action{
 min-height:29px!important;
 padding:4px 8px!important;
 border-radius:5px!important;
 font-size:9px!important
}
body.page-social .ep-feed-empty{
 padding:13px 14px!important;
 color:#5f7483!important;
 font-size:10.5px!important
}
body.page-social .ep-feed-empty b{
 display:block!important;
 margin-bottom:3px!important;
 color:#29485f!important;
 font-size:12px!important
}
body.page-social .ep-feed-empty p{
 margin:3px 0 5px!important;
 line-height:1.4!important
}
body.page-social .ep-feed-empty .ep-text-link{
 font-size:9.5px!important;
 font-weight:800!important
}

/* MESSAGES: prevent CSS Grid from shrinking/clipping the left and right widgets. */
@media(min-width:761px){
 body.page-messages .site-grid>.classic-sidebar,
 body.page-messages .site-grid>.right-sidebar{
  display:grid!important;
  grid-auto-rows:max-content!important;
  align-content:start!important;
  gap:8px!important
 }
 body.page-messages .site-grid>.classic-sidebar>.classic-widget,
 body.page-messages .site-grid>.right-sidebar>.classic-widget{
  min-height:max-content!important;
  height:auto!important;
  flex:none!important
 }
 body.page-messages .classic-widget>h2{
  padding:6px 8px!important;
  font-size:10.5px!important
 }
 body.page-messages .classic-widget__body{
  padding:5px!important
 }
 body.page-messages .classic-links{
  padding:2px 5px 5px!important
 }
 body.page-messages .classic-links a,
 body.page-messages .classic-social-menu a{
  min-height:0!important;
  padding:5px 4px 5px 13px!important;
  font-size:9.5px!important;
  line-height:1.15!important
 }
 body.page-messages .classic-links__editor{
  margin-top:3px!important;
  padding-top:6px!important;
  padding-bottom:6px!important
 }
}

/* Feed mobile: same hierarchy, smaller but still readable. */
@media(max-width:760px){
 body.page-social .ep-stories-card .ep-card-head h2{font-size:10px!important}
 body.page-social .stories-strip{
  min-height:78px!important;
  gap:7px!important;
  padding:6px!important
 }
 body.page-social .story-tile{
  flex-basis:66px!important;
  width:66px!important;
  min-height:66px!important
 }
 body.page-social .story-tile-avatar,
 body.page-social .story-tile-avatar img{
  width:48px!important;
  height:48px!important
 }
 body.page-social .story-tile b{
  max-width:62px!important;
  font-size:8px!important
 }
 body.page-social .wall-create-bar{min-height:46px!important}
 body.page-social .wall-create-primary{min-height:44px!important;padding:0 8px!important}
 body.page-social .wall-create-primary span,
 body.page-social .ep-feed-create-placeholder{font-size:10px!important}
 body.page-social .ep-feed-tabs a{padding:5px 7px!important;font-size:8.5px!important}
 body.page-social .wall-post-text{font-size:9.5px!important}
 body.page-social .ep-feed-empty{padding:9px!important;font-size:8.5px!important}
 body.page-social .ep-feed-empty b{font-size:10px!important}
}


/* 2026-11-07 — mobile profile avatar square + no overlap */
@media(max-width:760px){
 body.page-profile{
  --mobile-profile-avatar:160px!important;
 }
 body.page-profile .simple-profile-hero,
 body.page-profile .simple-profile-hero.has-cover{
  display:block!important;
  padding:94px 8px 9px!important;
  text-align:center!important;
  overflow:visible!important
 }
 body.page-profile .simple-profile-hero.has-cover:before{
  height:82px!important;
  border-radius:7px 7px 0 0!important;
  background-position:center 42%!important
 }
 body.page-profile .simple-profile-avatar-area,
 body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
  width:100%!important;
  margin:0 auto!important;
  display:grid!important;
  justify-items:center!important;
  align-items:start!important;
  gap:7px!important
 }
 body.page-profile .simple-profile-avatar,
 body.page-profile .profile-avatar-interactive,
 body.page-profile .simple-profile-avatar .profile-avatar-button,
 body.page-profile .simple-profile-avatar .profile-story-ring,
 body.page-profile .simple-profile-avatar .vk-profile-avatar,
 body.page-profile .simple-profile-avatar .vk-profile-avatar img,
 body.page-profile .simple-profile-avatar img{
  width:var(--mobile-profile-avatar)!important;
  height:var(--mobile-profile-avatar)!important;
  max-width:var(--mobile-profile-avatar)!important;
  max-height:var(--mobile-profile-avatar)!important;
  border-radius:10px!important;
  object-fit:cover!important
 }
 body.page-profile .simple-profile-avatar{
  border:3px solid #fff!important;
  background:#e6edf2!important;
  box-shadow:0 3px 12px rgba(16,44,64,.16)!important
 }
 body.page-profile .simple-profile-edit{
  width:min(220px,74vw)!important;
  min-height:33px!important;
  margin:0 auto!important;
  padding:5px 11px!important;
  border-radius:7px!important;
  font-size:9px!important
 }
 body.page-profile .simple-profile-info{
  clear:both!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding:0 5px!important;
  text-align:center!important
 }
 body.page-profile .simple-profile-title{
  display:block!important;
  width:100%!important
 }
 body.page-profile .simple-profile-title h1{
  margin:0!important;
  font-size:18px!important;
  line-height:1.1!important
 }
 body.page-profile .simple-profile-username{
  display:block!important;
  margin-top:3px!important;
  font-size:9px!important
 }
 body.page-profile .simple-profile-presence{
  display:block!important;
  max-width:none!important;
  margin-top:3px!important;
  text-align:center!important;
  font-size:8px!important
 }
 body.page-profile .simple-profile-badges{
  justify-content:center!important;
  margin:5px 0!important
 }
 body.page-profile .simple-profile-about{
  margin-top:7px!important;
  padding-top:7px!important;
  text-align:left!important
 }
 body.page-profile .profile-avatar-menu,
 body.page-profile [data-avatar-menu]{
  left:50%!important;
  right:auto!important;
  bottom:7px!important;
  width:142px!important;
  transform:translateX(-50%)!important;
  border-radius:7px!important
 }
}


/* 2026-11-07 — rollback Messages outer shell to the standard site columns */
@media(min-width:761px){
 html:has(body.page-messages),
 body.page-messages{
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important
 }
 body.page-messages .site-main{
  height:auto!important;
  min-height:0!important;
  padding:10px 10px 20px!important;
  overflow:visible!important
 }
 body.page-messages .site-grid{
  height:auto!important;
  min-height:0!important;
  grid-template-columns:245px minmax(0,1fr) 245px!important;
  gap:12px!important;
  align-items:start!important;
  overflow:visible!important
 }
 body.page-messages .site-content{
  height:auto!important;
  min-height:0!important;
  padding:10px 12px 16px!important;
  overflow:visible!important
 }
 body.page-messages .site-grid>.classic-sidebar,
 body.page-messages .site-grid>.right-sidebar{
  display:grid!important;
  height:auto!important;
  min-height:0!important;
  grid-auto-rows:auto!important;
  align-content:start!important;
  gap:9px!important;
  overflow:visible!important;
  scrollbar-width:auto!important
 }
 body.page-messages .site-grid>.classic-sidebar>.classic-widget,
 body.page-messages .site-grid>.right-sidebar>.classic-widget{
  min-height:0!important;
  height:auto!important
 }
 body.page-messages .classic-widget>h2{
  padding:9px 11px!important;
  font-size:12px!important;
  line-height:1.15!important
 }
 body.page-messages .classic-widget__body{
  padding:10px!important
 }
 body.page-messages .classic-links{
  padding:4px 8px 8px!important
 }
 body.page-messages .classic-links a,
 body.page-messages .classic-social-menu a{
  min-height:0!important;
  padding:7px 5px 7px 15px!important;
  font-size:10.5px!important;
  line-height:normal!important
 }
 body.page-messages .classic-links__editor{
  margin-top:4px!important;
  padding-top:7px!important;
  padding-bottom:7px!important
 }
}
@media(min-width:761px) and (max-width:980px){
 body.page-messages .site-grid{
  grid-template-columns:195px minmax(0,1fr) 195px!important;
  gap:10px!important
 }
}

/* 2026-11-07 — public shell polish: RU tricolor, real sidebar login, action menu, square mobile profile */
:root{
 --ed-ru-blue:#176b9c;
 --ed-ru-blue-deep:#173f60;
 --ed-ru-red:#d52b1e;
 --ed-ru-white:#fff;
}
.classic-login-form{display:grid;gap:6px}
.classic-login-form label{display:grid;gap:3px;color:#4f6575;font-size:8.5px;font-weight:800}
.classic-login-form input{
 width:100%;height:31px;box-sizing:border-box;padding:0 9px;
 border:1px solid #b9cbd7;border-radius:6px;background:#fff;color:#243d4f;font-size:9.5px
}
.classic-login-form input:focus{outline:2px solid rgba(23,107,156,.16);border-color:#176b9c}
.classic-login-form button{
 min-height:32px;border:0;border-radius:16px;background:linear-gradient(#2784ba,#176b9c);
 color:#fff;font-size:9.5px;font-weight:900;cursor:pointer
}
.classic-register-line{margin:7px 0 0!important;text-align:center;color:#728491!important;font-size:8px!important}
.classic-register-line a{color:#b3261e!important;font-weight:900;text-decoration:none}
.classic-register-line a:hover{text-decoration:underline}
.classic-action-widget{border-top:2px solid #d52b1e!important}
.classic-action-links a{font-weight:800!important}
.classic-action-links a::first-letter{color:#d52b1e}
.classic-widget>h2{position:relative}
.classic-widget>h2:after{
 content:"";position:absolute;right:0;top:0;width:4px;height:100%;background:#d52b1e;border-radius:0 4px 4px 0;opacity:.92
}
.press-kicker,.nr-project-page__head span,.nr-project-article__head>small{color:#d52b1e!important}
.news-badge{background:#d52b1e!important}
.press-card.is-featured{box-shadow:inset 4px 0 0 #d52b1e!important}
.press-tags a.is-active{background:#176b9c!important}
.ep-card__more,.nr-more{color:#176b9c!important}
.classic-button,.eda-submit{background:linear-gradient(#2784ba,#176b9c)!important}
.eda-kicker{color:#176b9c!important}
.eda-success{border-left:4px solid #d52b1e!important}

/* Mobile profile: remove the oversized circular portrait layout and keep a compact square identity block. */
@media(max-width:760px){
 body.page-profile .simple-profile-hero,
 body.page-profile .simple-profile-hero.has-cover{
  display:grid!important;
  grid-template-columns:126px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  padding:8px!important;
  text-align:left!important
 }
 body.page-profile .simple-profile-hero.has-cover{
  padding-top:70px!important
 }
 body.page-profile .simple-profile-hero.has-cover:before{
  height:78px!important
 }
 body.page-profile .simple-profile-avatar-area,
 body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
  width:126px!important;
  margin:0!important;
  display:grid!important;
  justify-items:stretch!important;
  gap:6px!important
 }
 body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
  margin-top:-38px!important
 }
 body.page-profile .simple-profile-avatar,
 body.page-profile .profile-avatar-interactive,
 body.page-profile .simple-profile-avatar .profile-avatar-button,
 body.page-profile .simple-profile-avatar .profile-story-ring,
 body.page-profile .simple-profile-avatar .vk-profile-avatar,
 body.page-profile .simple-profile-avatar .vk-profile-avatar img,
 body.page-profile .simple-profile-avatar img{
  width:126px!important;
  height:126px!important;
  max-width:126px!important;
  max-height:126px!important;
  border-radius:10px!important;
  object-fit:cover!important
 }
 body.page-profile .simple-profile-avatar{
  border:3px solid #fff!important;
  box-shadow:0 3px 10px rgba(16,44,64,.15)!important;
  overflow:visible!important
 }
 body.page-profile .simple-profile-edit{
  width:126px!important;
  min-height:31px!important;
  padding:4px 6px!important;
  border-radius:6px!important;
  font-size:7.8px!important
 }
 body.page-profile .simple-profile-info{
  margin:0!important;
  padding:2px 0 0!important;
  text-align:left!important
 }
 body.page-profile .simple-profile-title{
  display:block!important;
  text-align:left!important
 }
 body.page-profile .simple-profile-title h1{
  margin:1px 0 2px!important;
  font-size:17px!important;
  line-height:1.08!important
 }
 body.page-profile .simple-profile-username{display:block!important;margin-top:2px!important;font-size:9px!important}
 body.page-profile .simple-profile-presence{margin-top:3px!important;text-align:left!important;font-size:7.5px!important}
 body.page-profile .simple-profile-badges{justify-content:flex-start!important;margin:6px 0!important}
 body.page-profile .simple-profile-status{text-align:left!important}
 body.page-profile .simple-profile-about{margin-top:6px!important;padding-top:6px!important;text-align:left!important}
 body.page-profile .simple-profile-about h2{font-size:10px!important}
 body.page-profile .simple-profile-about p{font-size:8.5px!important;line-height:1.38!important}
 body.page-profile .profile-avatar-menu,
 body.page-profile [data-avatar-menu]{
  left:4px!important;right:4px!important;bottom:4px!important
 }
}

/* =====================================================================
   2026-11-07 — MOBILE-FIRST OVERRIDE
   Separate phone layout: readable type, touch targets, single-column cards.
   This block intentionally stays last so it wins over legacy compact rules.
   ===================================================================== */
@media(max-width:760px){

  /* ----- Global phone shell ----- */
  html{font-size:15px!important;-webkit-text-size-adjust:100%}
  body.site-body{
    min-width:320px!important;
    padding-bottom:64px!important;
    font-size:15px!important;
    line-height:1.5!important
  }
  .site-main{padding:6px 5px 72px!important}
  .site-grid{display:block!important;width:100%!important;max-width:none!important}
  .classic-sidebar,.right-sidebar{display:none!important}
  .site-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:10px!important;
    border-radius:9px!important;
    font-size:14px!important;
    line-height:1.5!important
  }
  .site-content>.ep-container,.site-content .ep-container{width:100%!important;padding:0!important}
  .site-content p,.site-content li,.site-content dd{font-size:13.5px;line-height:1.55}
  .site-content h1{line-height:1.12}
  .site-content h2{line-height:1.18}
  .site-content img{height:auto;max-width:100%}

  /* Prevent iOS/Android zoom and make forms genuinely touch-friendly. */
  .site-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  .site-content select,
  .site-content textarea{
    min-height:44px!important;
    padding:10px 11px!important;
    border-radius:8px!important;
    font-size:16px!important;
    line-height:1.35!important
  }
  .site-content textarea{min-height:110px!important}
  .site-content input[type="file"]{
    min-height:44px!important;
    padding:9px!important;
    font-size:14px!important
  }
  .site-content .btn,
  .site-content .button,
  .site-content .ep-button,
  .site-content .classic-button,
  .site-content .eda-submit,
  .site-content .edd-button,
  .site-content .edr-download,
  .site-content button[type="submit"]{
    min-height:42px!important;
    padding:8px 13px!important;
    border-radius:8px!important;
    font-size:13px!important;
    line-height:1.2!important
  }

  /* ----- Header / menu ----- */
  .topbar{
    min-height:42px!important;
    padding:3px 6px!important;
    grid-template-columns:1fr!important
  }
  .topbar__controls{gap:5px!important}
  .topbar__player{width:min(300px,72vw)!important}
  .ep-notifications__bell,
  .ep-user-menu__summary{min-height:36px!important}
  .brand-banner{height:82px!important;background-position:center!important}
  .main-nav-wrap{
    min-height:44px!important;
    padding:4px 7px!important
  }
  .mobile-menu-button{
    min-height:36px!important;
    height:36px!important;
    padding:0 13px!important;
    border-radius:18px!important;
    font-size:13px!important
  }
  .site-header .main-nav{
    width:min(330px,90vw)!important;
    padding:48px 9px 18px!important
  }
  .site-header .main-nav>a,
  .site-header .main-nav>.nav-drop>summary{
    min-height:50px!important;
    padding:0 12px!important;
    font-size:15px!important;
    line-height:1.2!important
  }
  .site-header .main-nav>.nav-drop .nav-drop__menu a{
    min-height:42px!important;
    padding:10px!important;
    font-size:13px!important
  }
  .mobile-bottom-nav{
    min-height:60px!important;
    padding:4px 2px max(4px,env(safe-area-inset-bottom))!important
  }
  .mobile-bottom-nav a,.mobile-bottom-nav button{min-height:52px!important}
  .mobile-bottom-nav span{font-size:18px!important}
  .mobile-bottom-nav b{font-size:9.5px!important;line-height:1.15!important}

  /* ----- Reusable page headings ----- */
  :where(
    .press-head,.ep-service-head,.ep-compact-head,
    .nr-project-page__head,.nr-project-article__head,
    .edpartner-head,.ede-head,.eda-hero,.edt-hero,
    .edn-head,.edd-head,.edm-head,.eds-public__intro,
    .edg-head,.edr-head,.edr-report__head,.edv-intro,
    .edmusic-mini-head
  ){
    min-height:0!important;
    margin:0 0 10px!important;
    padding:9px 2px 10px!important;
    gap:8px!important;
    border:0!important;
    border-bottom:1px solid #d5dfe6!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important
  }
  :where(
    .press-head,.ep-service-head,.ep-compact-head,
    .nr-project-page__head,.nr-project-article__head,
    .edpartner-head,.ede-head,.eda-hero,.edt-hero,
    .edn-head,.edd-head,.edm-head,.eds-public__intro,
    .edg-head,.edr-head,.edr-report__head,.edv-intro
  ) h1{
    margin:0!important;
    font-size:21px!important;
    line-height:1.12!important
  }
  .ep-service-head__link{font-size:12px!important}

  /* ----- Homepage ----- */
  .home-center{gap:10px!important}
  .home-lead{
    display:grid!important;
    grid-template-columns:1fr!important;
    border-radius:9px!important
  }
  .home-lead__media{
    width:100%!important;
    aspect-ratio:16/10!important;
    min-height:0!important;
    padding:6px!important
  }
  .home-lead__media img{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important
  }
  .home-lead__body{padding:12px!important}
  .home-lead__label{
    margin-bottom:6px!important;
    padding:4px 8px!important;
    font-size:10px!important
  }
  .home-lead__body h1{
    margin:0 0 6px!important;
    font-size:21px!important;
    line-height:1.12!important
  }
  .home-lead__meta{gap:8px!important;margin-bottom:7px!important;font-size:11px!important}
  .home-lead__body p{
    display:block!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.5!important
  }
  .home-lead__read{margin-top:9px!important;font-size:12px!important}
  .section-head{min-height:44px!important;padding:0 10px!important}
  .section-head h2{font-size:18px!important}
  .section-head a{font-size:11px!important}
  .news-row{
    grid-template-columns:108px minmax(0,1fr)!important;
    gap:9px!important;
    padding:10px!important
  }
  .news-row__image{height:86px!important;border-radius:7px!important}
  .news-row h3{font-size:15.5px!important;line-height:1.18!important}
  .news-row__meta{gap:6px!important;margin-bottom:4px!important;font-size:10px!important}
  .news-badge{margin-bottom:4px!important;padding:3px 6px!important;font-size:9px!important}
  .news-row p{display:none!important}

  /* ----- Press / generic archive cards ----- */
  .press-list,.ep-archive-grid{grid-template-columns:1fr!important;gap:10px!important}
  .press-card,.press-card.is-featured{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:9px!important
  }
  .press-card__image,.press-card.is-featured .press-card__image{
    width:100%!important;
    height:auto!important;
    aspect-ratio:16/9!important;
    border-radius:0!important
  }
  .press-card__body{padding:11px!important}
  .press-card__meta{gap:7px!important;font-size:10.5px!important}
  .press-card h2,.press-card.is-featured h2{
    margin:5px 0!important;
    font-size:18px!important;
    line-height:1.18!important
  }
  .press-card p{
    display:block!important;
    margin:0 0 8px!important;
    font-size:13px!important;
    line-height:1.48!important
  }
  .press-card__tags{gap:5px!important}
  .press-card__tags a{padding:5px 8px!important;font-size:10px!important}
  .ep-card__image{height:auto!important;aspect-ratio:16/9!important}
  .ep-card__body{padding:11px!important}
  .ep-card__body time{font-size:10px!important}
  .ep-card__body h2{font-size:18px!important}
  .ep-card__body p{font-size:13px!important}
  .ep-card__more{font-size:12px!important}

  /* ----- Projects ----- */
  .nr-project-index{gap:10px!important}
  .nr-project-card,.nr-project-card.is-featured{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:9px!important
  }
  .nr-project-card__image,.nr-project-card.is-featured .nr-project-card__image{
    width:100%!important;
    height:auto!important;
    aspect-ratio:16/9!important;
    border-radius:0!important
  }
  .nr-project-card__body{padding:11px!important}
  .nr-project-card__meta{gap:6px!important;font-size:10.5px!important}
  .nr-project-status{min-height:24px!important;padding:0 8px!important;font-size:10px!important}
  .nr-project-card h2,.nr-project-card.is-featured h2{font-size:18px!important;line-height:1.18!important}
  .nr-project-card p{display:block!important;font-size:13px!important;line-height:1.48!important}
  .nr-project-progress__head{font-size:11px!important}
  .nr-project-progress__head strong{font-size:13px!important}
  .nr-project-progress__track{height:8px!important}
  .nr-more{margin-top:8px!important;font-size:12px!important}
  .nr-project-detail-lead{grid-template-columns:1fr!important;gap:10px!important}
  .nr-project-article__cover img{height:auto!important;max-height:none!important;aspect-ratio:16/10!important}
  .nr-project-detail-summary{padding:12px!important}
  .nr-project-detail-summary p{font-size:12.5px!important}
  .nr-project-article__body,.nr-project-updates,.nr-project-resources{padding:12px!important}
  .nr-project-prose{font-size:15px!important;line-height:1.6!important}
  .nr-project-updates h2,.nr-project-resources h2{font-size:18px!important}
  .nr-project-updates h3{font-size:15px!important}
  .nr-project-updates p{font-size:13px!important}
  .nr-project-updates time{font-size:10px!important}

  /* ----- Articles and ordinary pages ----- */
  body.page-post .ep-content-wrap{max-width:none!important}
  body.page-post .ep-article__titlebar,
  .ep-content-wrap--page .ep-article__titlebar{
    padding:9px 7px 10px!important;
    margin-bottom:7px!important
  }
  body.page-post .ep-article__titlebar h1,
  .ep-content-wrap--page .ep-article__titlebar h1{
    font-size:21px!important;
    line-height:1.15!important
  }
  body.page-post .ep-article__cover{
    height:auto!important;
    min-height:0!important;
    padding:5px!important
  }
  body.page-post .ep-article__cover img{
    width:100%!important;
    height:auto!important;
    max-height:74dvh!important;
    object-fit:contain!important
  }
  body.page-post .ep-prose,
  .ep-article .ep-prose{
    padding:12px!important;
    font-size:15.5px!important;
    line-height:1.62!important
  }
  body.page-post .ep-prose h2,.ep-prose h2{font-size:20px!important}
  body.page-post .ep-prose h3,.ep-prose h3{font-size:17px!important}
  .founder-float-image{
    width:42vw!important;
    height:42vw!important;
    max-width:165px!important;
    max-height:165px!important;
    margin:2px 12px 8px 0!important
  }
  .ep-contact-card,.ep-contact-card--lead{font-size:13px!important}
  .ep-contact-card__copy h2{font-size:18px!important}
  .ep-contact-reception p{font-size:13px!important}
  .ep-contact-reception>a{min-height:42px!important;font-size:12px!important}

  /* ----- Documents ----- */
  .edd-public{padding:0!important}
  .edd-filter,.edd-studio-filter{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px!important
  }
  .edd-filter label span,.edd-document-form label span{font-size:12px!important}
  .edd-row,.edd-admin-list article{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:11px!important
  }
  .edd-type{width:46px!important;height:46px!important;font-size:11px!important}
  .edd-meta{gap:6px!important;font-size:10px!important}
  .edd-info h2{font-size:17px!important}
  .edd-info p{font-size:13px!important}
  .edd-info small,.edd-admin-main>small{font-size:10.5px!important;white-space:normal!important}
  .edd-actions,.edd-admin-actions{
    grid-column:1/-1!important;
    width:100%!important;
    justify-content:stretch!important
  }
  .edd-actions>*,
  .edd-admin-actions>*{flex:1!important}
  .edd-current-file,.edd-savebar{align-items:stretch!important;flex-direction:column!important}
  .edd-category-row,.edd-category-new,.edd-form-grid--2{grid-template-columns:1fr!important}

  /* ----- Public reception / forms ----- */
  .eda-public,.eda-studio{padding:0!important}
  .eda-layout,.eda-studio-grid,.eda-grid--2,.eda-list{grid-template-columns:1fr!important}
  .eda-layout,.eda-studio-grid{gap:10px!important}
  .eda-card,.eda-panel,.eda-public-card{padding:12px!important;border-radius:9px!important}
  .eda-card h2,.eda-panel h2{font-size:18px!important}
  .eda-form{gap:11px!important}
  .eda-form label,.eda-inline-form label{gap:6px!important;font-size:13px!important}
  .eda-note,.eda-privacy-note{font-size:12.5px!important}
  .eda-consent{font-size:13px!important}
  .eda-auth-card{
    display:grid!important;
    gap:12px!important;
    padding:13px!important
  }
  .eda-auth-card h2{font-size:20px!important}
  .eda-auth-card p{font-size:13px!important}
  .eda-auth-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important
  }
  .eda-auth-actions a{
    min-height:42px!important;
    justify-content:center!important;
    font-size:13px!important
  }
  .eda-upload-field small{font-size:11.5px!important}
  .eda-public-card h3{font-size:16px!important}
  .eda-public-card p{font-size:13px!important}
  .eda-meta span{font-size:10px!important}
  .eda-side{position:static!important}
  .eda-inline-form{grid-template-columns:1fr!important}
  .eda-attachment-row{align-items:flex-start!important;flex-direction:column!important}
  .eda-attachment-row b{font-size:13px!important;white-space:normal!important}
  .eda-attachment-row small,.eda-attachment-row strong{font-size:11px!important}

  /* ----- Reports ----- */
  .edr-wrap{padding:0!important}
  .edr-filter,.edr-form-grid--2,.edr-form-grid--3,.edr-form-grid--4{grid-template-columns:1fr!important}
  .edr-filter{padding:10px!important}
  .edr-filter label>span,.edr-form label>span{font-size:13px!important}
  .edr-report{padding:12px!important;border-radius:10px!important}
  .edr-report__head{display:grid!important;gap:6px!important}
  .edr-report__head h1{font-size:21px!important}
  .edr-report__head span{font-size:10px!important}
  .edr-report__facts>div{min-width:0!important;width:100%!important}
  .edr-summary,.edr-body{font-size:14px!important;line-height:1.6!important}
  .edr-document-list article,.edr-attachment-admin article,.edr-savebar{
    display:grid!important;
    gap:9px!important;
    align-items:start!important
  }
  .edr-document-list article>div:last-child{width:100%!important}
  .edr-document-list article>div:last-child a{flex:1!important;text-align:center!important}

  /* ----- Music ----- */
  .edmusic-mini-head h1{font-size:20px!important}
  .edmusic-now{
    grid-template-columns:46px minmax(0,1fr) 44px!important;
    gap:8px!important;
    padding:9px!important
  }
  .edmusic-now__cover{width:46px!important;height:46px!important}
  .edmusic-now__copy b{font-size:13px!important}
  .edmusic-now__copy small{font-size:10.5px!important}
  .edmusic-now__time{grid-column:1/-1!important}
  .edmusic-track{
    grid-template-columns:46px minmax(0,1fr) 40px!important;
    min-height:60px!important;
    padding:6px!important
  }
  .edmusic-track__cover{width:46px!important;height:46px!important}
  .edmusic-track__copy b{font-size:13px!important}
  .edmusic-track__copy small,.edmusic-track__duration{font-size:10.5px!important}
  .edmusic-release-strip a{flex-basis:230px!important}
  .edmusic-release-strip b{font-size:11px!important}
  .edmusic-release-strip small{font-size:9.5px!important}

  /* ----- Profile: truly separate mobile composition ----- */
  body.page-profile .site-main{padding:5px 4px 72px!important}
  body.page-profile .site-content{
    padding:5px!important;
    background:rgba(247,249,251,.97)!important
  }
  body.page-profile .simple-profile{
    width:100%!important;
    max-width:none!important;
    gap:8px!important
  }
  body.page-profile .simple-profile-hero,
  body.page-profile .simple-profile-hero.has-cover{
    display:grid!important;
    grid-template-columns:minmax(150px,48%) minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    gap:9px 10px!important;
    align-items:start!important;
    padding:92px 9px 10px!important;
    border-radius:9px!important;
    text-align:left!important;
    overflow:hidden!important
  }
  body.page-profile .simple-profile-hero.has-cover:before{
    height:104px!important;
    background-position:center 42%!important
  }
  body.page-profile .simple-profile-avatar-area,
  body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
    grid-column:1!important;
    grid-row:1 / span 3!important;
    width:100%!important;
    margin:-52px 0 0!important;
    display:grid!important;
    justify-items:stretch!important;
    align-content:start!important;
    gap:7px!important
  }
  body.page-profile .simple-profile-avatar,
  body.page-profile .profile-avatar-interactive,
  body.page-profile .simple-profile-avatar .profile-avatar-button,
  body.page-profile .simple-profile-avatar .profile-story-ring,
  body.page-profile .simple-profile-avatar .vk-profile-avatar,
  body.page-profile .simple-profile-avatar .vk-profile-avatar img,
  body.page-profile .simple-profile-avatar img{
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
    border-radius:10px!important;
    object-fit:cover!important
  }
  body.page-profile .simple-profile-avatar{
    border:3px solid #fff!important;
    box-shadow:0 3px 12px rgba(16,44,64,.18)!important;
    overflow:visible!important
  }
  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit{
    width:100%!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:7px 8px!important;
    border-radius:8px!important;
    font-size:0!important
  }
  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit:after{
    content:"Настройки профиля";
    font-size:12.5px!important;
    font-weight:800!important
  }
  body.page-profile .simple-profile[data-profile-self="0"] .simple-profile-edit,
  body.page-profile .simple-profile-actions button{
    width:100%!important;
    min-height:42px!important;
    font-size:12px!important
  }
  body.page-profile .simple-profile-info{display:contents!important}
  body.page-profile .simple-profile-title{
    grid-column:2!important;
    display:block!important;
    min-width:0!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-title h1{
    margin:0 0 3px!important;
    font-size:20px!important;
    line-height:1.08!important
  }
  body.page-profile .simple-profile-username{font-size:12px!important}
  body.page-profile .simple-profile-presence{
    display:block!important;
    max-width:none!important;
    margin-top:5px!important;
    font-size:10.5px!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-badges{
    grid-column:2!important;
    justify-content:flex-start!important;
    align-self:start!important;
    gap:4px!important;
    margin:0!important
  }
  body.page-profile .simple-profile-badges span{
    padding:4px 6px!important;
    border-radius:10px!important;
    font-size:9px!important;
    line-height:1.2!important
  }
  body.page-profile .simple-profile-status{
    grid-column:2!important;
    margin:0!important;
    padding:7px 8px!important;
    font-size:11px!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-about{
    grid-column:1/-1!important;
    margin:3px 0 0!important;
    padding:10px 2px 0!important;
    border-top:1px solid #dbe4ea!important;
    background:transparent!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-about h2{font-size:15px!important}
  body.page-profile .simple-profile-about p{font-size:13px!important;line-height:1.5!important}
  body.page-profile .simple-profile-about small{font-size:11px!important}
  body.page-profile .simple-profile-stats{border-radius:8px!important}
  body.page-profile .simple-profile-stats div{padding:9px 4px!important}
  body.page-profile .simple-profile-stats b{font-size:17px!important}
  body.page-profile .simple-profile-stats span{font-size:10px!important}
  body.page-profile .simple-profile-people-row,
  body.page-profile .simple-profile-people-row.has-three{
    grid-template-columns:1fr!important;
    gap:7px!important
  }
  body.page-profile .simple-profile-people{
    min-height:0!important;
    padding:10px!important;
    border-radius:8px!important
  }
  body.page-profile .simple-profile-people header{margin-bottom:8px!important}
  body.page-profile .simple-profile-people h2{font-size:14px!important}
  body.page-profile .simple-profile-people header span{font-size:11px!important}
  body.page-profile .simple-profile-people>p{font-size:12.5px!important}
  body.page-profile .simple-profile-people-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important
  }
  body.page-profile .simple-profile-people-grid a{gap:4px!important;font-size:10px!important}
  body.page-profile .profile-mini-avatar,
  body.page-profile .profile-mini-avatar img{width:48px!important;height:48px!important}
  body.page-profile .simple-profile-wall-head{padding:8px 9px!important}
  body.page-profile .simple-profile-wall-head h2{font-size:16px!important}
  body.page-profile .simple-profile-wall-head span{font-size:10px!important}

  /* ----- Settings ----- */
  body.page-settings .site-content{padding:5px!important}
  body.page-settings .settings-layout-060{display:block!important}
  body.page-settings .settings-menu-060{
    display:flex!important;
    gap:5px!important;
    margin-bottom:8px!important;
    padding:4px!important;
    overflow-x:auto!important;
    white-space:nowrap!important;
    scrollbar-width:none!important
  }
  body.page-settings .settings-menu-060::-webkit-scrollbar{display:none}
  body.page-settings .settings-menu-060 a{
    flex:0 0 auto!important;
    min-height:40px!important;
    padding:8px 10px!important
  }
  body.page-settings .settings-menu-060 b{font-size:12px!important}
  body.page-settings .settings-menu-060 small{display:none!important}
  body.page-settings .settings-content-060{padding:11px!important}
  body.page-settings .settings-profile-head{gap:10px!important}
  body.page-settings .settings-profile-head .profile-avatar,
  body.page-settings .settings-profile-head img{width:52px!important;height:52px!important}
  body.page-settings .settings-profile-head h2{font-size:17px!important}
  body.page-settings .settings-profile-head a{font-size:11px!important}
  body.page-settings .settings-form{gap:12px!important}
  body.page-settings .settings-form label,
  body.page-settings .switch-row b{font-size:13px!important}
  body.page-settings .field-help,
  body.page-settings .settings-hint,
  body.page-settings .settings-form small,
  body.page-settings .muted{font-size:11.5px!important}
  body.page-settings .switch-row{min-height:56px!important;gap:10px!important}
  body.page-settings .settings-form>.btn-primary,
  body.page-settings .button-row .btn-primary{
    min-width:0!important;
    width:100%!important;
    min-height:44px!important;
    font-size:13px!important
  }

  /* ----- People ----- */
  body.page-people .ep-friends-tabs,
  .people-tabs{
    display:flex!important;
    gap:5px!important;
    overflow-x:auto!important;
    white-space:nowrap!important
  }
  body.page-people .ep-friends-tabs a,
  .people-tabs a{
    flex:0 0 auto!important;
    min-height:40px!important;
    padding:10px 12px!important;
    font-size:12px!important
  }
  body.page-people .ep-friends-grid{grid-template-columns:1fr!important;gap:8px!important}
  body.page-people .ep-friend-card{padding:10px!important}
  body.page-people .ep-friend-card b{font-size:14px!important}
  body.page-people .ep-friend-card small{font-size:11px!important}

  /* ----- Messages ----- */
  body.page-messages .site-main{padding:5px 4px 64px!important}
  body.page-messages .site-content{padding:4px!important}
  body.page-messages .ep-service-head{display:none!important}
  body.page-messages .ep-messenger-card{
    min-height:0!important;
    border-radius:8px!important
  }
  body.page-messages .ep-messenger-card .messenger{
    height:calc(100dvh - 194px)!important;
    min-height:480px!important
  }
  body.page-messages .list-head{min-height:52px!important;padding:8px 10px!important}
  body.page-messages .chat-list-title b{font-size:16px!important}
  body.page-messages .chat-list-title small{font-size:11px!important}
  body.page-messages .chat-search{margin:7px!important;min-height:42px!important}
  body.page-messages .chat-search input{min-height:40px!important;font-size:16px!important}
  body.page-messages .chat-item{
    min-height:66px!important;
    padding:8px 10px!important;
    gap:9px!important
  }
  body.page-messages .chat-item>.avatar,
  body.page-messages .chat-item>.avatar img{width:46px!important;height:46px!important}
  body.page-messages .chat-meta b{font-size:14px!important}
  body.page-messages .chat-meta small{font-size:11px!important}
  body.page-messages .chat-side time{font-size:9.5px!important}
  body.page-messages .conversation-head{min-height:58px!important;padding:7px 9px!important}
  body.page-messages .conversation-head>.avatar,
  body.page-messages .conversation-head>.avatar img{width:42px!important;height:42px!important}
  body.page-messages .conversation-title h1{font-size:15px!important}
  body.page-messages .conversation-title small{font-size:10.5px!important}
  body.page-messages .mobile-back{width:38px!important;height:38px!important;font-size:25px!important}
  body.page-messages .composer{padding:7px!important}
  body.page-messages .composer-row{gap:5px!important}
  body.page-messages .composer-input-box textarea{
    min-height:42px!important;
    max-height:120px!important;
    padding:10px!important;
    font-size:16px!important
  }
  body.page-messages .composer-tool,
  body.page-messages .send-btn{
    width:42px!important;
    height:42px!important;
    min-width:42px!important
  }
  body.page-messages .message-bubble,
  body.page-messages .message-body{font-size:13px!important;line-height:1.45!important}

  /* ----- Footer ----- */
  .footer-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:18px 12px!important
  }
  .footer-grid section:first-child{grid-column:auto!important}
  .footer-grid h2{font-size:18px!important}
  .footer-grid h3{font-size:15px!important}
  .footer-grid p,.footer-grid a{font-size:12px!important}
  .footer-bottom{font-size:10px!important}
}

@media(max-width:420px){
  body.page-profile .simple-profile-hero,
  body.page-profile .simple-profile-hero.has-cover{
    grid-template-columns:minmax(145px,49%) minmax(0,1fr)!important;
    gap:8px!important
  }
  body.page-profile .simple-profile-title h1{font-size:18px!important}
  body.page-profile .simple-profile-badges span{font-size:8.5px!important}
  .news-row{grid-template-columns:96px minmax(0,1fr)!important}
  .news-row__image{height:80px!important}
}

/* 2026-11-07 — mobile profile avatar hard fix after real-device screenshot */
@media(max-width:760px){
  body.page-profile .simple-profile-hero{
    grid-template-columns:clamp(150px,48vw,195px) minmax(0,1fr)!important;
    padding:10px 9px!important;
    gap:9px 10px!important
  }
  body.page-profile .simple-profile-hero.has-cover{
    padding:92px 9px 10px!important
  }
  body.page-profile .simple-profile-avatar-area{
    width:clamp(150px,48vw,195px)!important;
    margin:0!important;
    justify-self:start!important;
    justify-items:stretch!important
  }
  body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
    width:clamp(150px,48vw,195px)!important;
    margin:-52px 0 0!important
  }
  body.page-profile .simple-profile-avatar,
  body.page-profile .simple-profile-avatar>.profile-avatar-interactive,
  body.page-profile .simple-profile-avatar .profile-avatar-button,
  body.page-profile .simple-profile-avatar .profile-story-ring,
  body.page-profile .simple-profile-avatar .vk-profile-avatar,
  body.page-profile .simple-profile-avatar .vk-profile-avatar.avatar-photo,
  body.page-profile .simple-profile-avatar .vk-profile-avatar>img,
  body.page-profile .simple-profile-avatar img{
    display:block!important;
    width:clamp(150px,48vw,195px)!important;
    min-width:clamp(150px,48vw,195px)!important;
    max-width:clamp(150px,48vw,195px)!important;
    height:clamp(150px,48vw,195px)!important;
    min-height:clamp(150px,48vw,195px)!important;
    max-height:clamp(150px,48vw,195px)!important;
    aspect-ratio:1/1!important;
    border-radius:10px!important;
    object-fit:cover!important
  }
  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit{
    width:clamp(150px,48vw,195px)!important;
    min-width:clamp(150px,48vw,195px)!important;
    max-width:clamp(150px,48vw,195px)!important;
    white-space:nowrap!important
  }
}
@media(max-width:350px){
  body.page-profile .simple-profile-hero{
    grid-template-columns:145px minmax(0,1fr)!important
  }
  body.page-profile .simple-profile-avatar-area,
  body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area,
  body.page-profile .simple-profile-avatar,
  body.page-profile .simple-profile-avatar>.profile-avatar-interactive,
  body.page-profile .simple-profile-avatar .profile-avatar-button,
  body.page-profile .simple-profile-avatar .profile-story-ring,
  body.page-profile .simple-profile-avatar .vk-profile-avatar,
  body.page-profile .simple-profile-avatar .vk-profile-avatar.avatar-photo,
  body.page-profile .simple-profile-avatar .vk-profile-avatar>img,
  body.page-profile .simple-profile-avatar img,
  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit{
    width:145px!important;min-width:145px!important;max-width:145px!important
  }
  body.page-profile .simple-profile-avatar,
  body.page-profile .simple-profile-avatar>.profile-avatar-interactive,
  body.page-profile .simple-profile-avatar .profile-avatar-button,
  body.page-profile .simple-profile-avatar .profile-story-ring,
  body.page-profile .simple-profile-avatar .vk-profile-avatar,
  body.page-profile .simple-profile-avatar .vk-profile-avatar.avatar-photo,
  body.page-profile .simple-profile-avatar .vk-profile-avatar>img,
  body.page-profile .simple-profile-avatar img{
    height:145px!important;min-height:145px!important;max-height:145px!important
  }
}

/* 2026-11-07 — FINAL mobile profile stack: full-width avatar -> settings -> info */
@media(max-width:760px){
  body.page-profile .simple-profile-hero,
  body.page-profile .simple-profile-hero.has-cover{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
    width:100%!important;
    padding:8px!important;
    text-align:left!important;
    overflow:hidden!important
  }
  body.page-profile .simple-profile-hero.has-cover{
    padding-top:92px!important
  }
  body.page-profile .simple-profile-avatar-area,
  body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    justify-self:auto!important
  }
  body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
    margin-top:-28px!important
  }

  body.page-profile .simple-profile-avatar,
  body.page-profile .simple-profile-avatar>.profile-avatar-interactive,
  body.page-profile .simple-profile-avatar .profile-avatar-button,
  body.page-profile .simple-profile-avatar .profile-story-ring,
  body.page-profile .simple-profile-avatar .vk-profile-avatar,
  body.page-profile .simple-profile-avatar .vk-profile-avatar.avatar-photo,
  body.page-profile .simple-profile-avatar .vk-profile-avatar>img,
  body.page-profile .simple-profile-avatar img{
    display:block!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
    border-radius:10px!important;
    object-fit:cover!important
  }
  body.page-profile .simple-profile-avatar{
    border:0!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important
  }

  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit,
  body.page-profile .simple-profile[data-profile-self="0"] .simple-profile-edit{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:44px!important;
    margin:0!important;
    padding:8px 12px!important;
    border-radius:8px!important;
    font-size:13px!important;
    white-space:normal!important;
    text-align:center!important
  }
  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit{
    font-size:13px!important
  }
  body.page-profile .simple-profile[data-profile-self="1"] .simple-profile-edit:after{
    content:none!important
  }

  body.page-profile .simple-profile-info{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:10px 2px 0!important;
    border-top:1px solid #dbe4ea!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-title{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-title>div{min-width:0!important}
  body.page-profile .simple-profile-kicker{
    display:block!important;
    margin-bottom:2px!important;
    font-size:9px!important
  }
  body.page-profile .simple-profile-title h1{
    margin:0 0 3px!important;
    font-size:22px!important;
    line-height:1.08!important
  }
  body.page-profile .simple-profile-username{
    display:block!important;
    margin:0!important;
    font-size:13px!important
  }
  body.page-profile .simple-profile-presence{
    flex:0 0 auto!important;
    margin:2px 0 0!important;
    font-size:11px!important;
    text-align:right!important
  }
  body.page-profile .simple-profile-badges{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:5px!important;
    margin:9px 0!important
  }
  body.page-profile .simple-profile-badges span{
    padding:4px 7px!important;
    border-radius:11px!important;
    font-size:9.5px!important
  }
  body.page-profile .simple-profile-status{
    margin:8px 0!important;
    padding:8px 9px!important;
    font-size:12.5px!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-about{
    margin:9px 0 0!important;
    padding:10px 0 0!important;
    border-top:1px solid #dbe4ea!important;
    text-align:left!important
  }
  body.page-profile .simple-profile-about h2{
    margin:0 0 5px!important;
    font-size:16px!important
  }
  body.page-profile .simple-profile-about p{
    margin:0!important;
    font-size:13.5px!important;
    line-height:1.5!important
  }
  body.page-profile .simple-profile-about small{
    display:block!important;
    margin-top:6px!important;
    font-size:11.5px!important
  }

  body.page-profile .profile-avatar-menu,
  body.page-profile [data-avatar-menu]{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    width:auto!important;
    transform:none!important
  }
}

/* 2026-11-07 — reserve real space for full-width mobile avatar */
@media(max-width:760px){
  body.page-profile{
    --mobile-profile-photo-size:calc(100vw - 36px);
  }
  body.page-profile .simple-profile-avatar-area,
  body.page-profile .simple-profile-hero.has-cover .simple-profile-avatar-area{
    min-height:calc(var(--mobile-profile-photo-size) + 51px)!important;
  }
  body.page-profile .simple-profile-avatar{
    position:relative!important;
    width:100%!important;
    height:var(--mobile-profile-photo-size)!important;
    min-height:var(--mobile-profile-photo-size)!important;
    max-height:var(--mobile-profile-photo-size)!important;
    overflow:visible!important;
  }
  body.page-profile .simple-profile-avatar>.profile-avatar-interactive,
  body.page-profile .simple-profile-avatar .profile-avatar-button,
  body.page-profile .simple-profile-avatar .profile-story-ring,
  body.page-profile .simple-profile-avatar .vk-profile-avatar,
  body.page-profile .simple-profile-avatar .vk-profile-avatar.avatar-photo,
  body.page-profile .simple-profile-avatar .vk-profile-avatar>img,
  body.page-profile .simple-profile-avatar img{
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:100%!important;
    min-height:100%!important;
    max-height:100%!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    transform:none!important;
  }
  body.page-profile .simple-profile-edit{
    position:static!important;
    clear:both!important;
    z-index:auto!important;
  }
  body.page-profile .simple-profile-info{
    position:static!important;
    clear:both!important;
    z-index:auto!important;
  }
}
@media(max-width:360px){
  body.page-profile{
    --mobile-profile-photo-size:calc(100vw - 34px);
  }
}

/* 2026-11-07 — mobile wall controls aligned with EDINSTVO visual system */
@media(max-width:760px){
  body.page-profile .simple-profile-wall{
    margin-top:0!important;
    border-radius:8px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall-head{
    min-height:42px!important;
    padding:8px 10px!important;
    border-bottom:1px solid #dbe4ea!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall-head h2{
    margin:0!important;
    color:#173f60!important;
    font:700 17px/1.1 Georgia,"Times New Roman",serif!important;
  }
  body.page-profile .simple-profile-wall-head span{
    color:#7b8b96!important;
    font-size:10px!important;
  }

  body.page-profile .simple-profile-wall .wall-create-shell{
    display:block!important;
    margin:0!important;
    padding:8px!important;
    background:#f8fbfd!important;
  }
  body.page-profile .simple-profile-wall .wall-create-bar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
    min-height:44px!important;
    padding:0!important;
    overflow:visible!important;
    border:1px solid #d5e1e8!important;
    border-radius:9px!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall .wall-create-primary{
    min-width:0!important;
    min-height:42px!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:0 11px!important;
    border:0!important;
    border-radius:8px!important;
    background:linear-gradient(#eef6fb,#e5f0f7)!important;
    color:#176b9c!important;
    font-size:12px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }
  body.page-profile .simple-profile-wall .wall-create-primary span{
    font-size:18px!important;
    line-height:1!important;
  }
  body.page-profile .simple-profile-wall .wall-create-primary b{
    font-size:12px!important;
    font-weight:800!important;
  }
  body.page-profile .simple-profile-wall .wall-create-tools{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    height:42px!important;
    padding-right:4px!important;
  }
  body.page-profile .simple-profile-wall .wall-create-tools>button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:36px!important;
    width:auto!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 9px!important;
    border:1px solid #d5e1e8!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#496477!important;
    box-shadow:none!important;
    font-size:16px!important;
  }
  body.page-profile .simple-profile-wall .wall-create-drafts{
    gap:5px!important;
    border:1px solid #d5e1e8!important;
  }
  body.page-profile .simple-profile-wall .wall-create-drafts b{
    display:none!important;
  }
  body.page-profile .simple-profile-wall .wall-create-drafts span{
    font-size:16px!important;
  }
  body.page-profile .simple-profile-wall .wall-create-search{
    width:36px!important;
    padding:0!important;
    font-size:18px!important;
  }
  body.page-profile .simple-profile-wall .wall-post-search{
    margin-top:7px!important;
    min-height:42px!important;
    grid-template-columns:auto minmax(0,1fr) 34px!important;
    padding:4px 7px!important;
    border:1px solid #d5e1e8!important;
    border-radius:8px!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall .wall-post-search input{
    min-height:34px!important;
    padding:6px 4px!important;
    border:0!important;
    font-size:14px!important;
  }
  body.page-profile .simple-profile-wall .wall-post-search button{
    width:32px!important;
    height:32px!important;
    min-height:32px!important;
    border:0!important;
    background:transparent!important;
    color:#6e8290!important;
    font-size:18px!important;
  }
  body.page-profile .simple-profile-wall .wall-empty,
  body.page-profile .simple-profile-wall .empty-state{
    margin:0 8px 8px!important;
    min-height:64px!important;
    padding:16px 10px!important;
    border:1px dashed #c8d6df!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#758793!important;
    font-size:12px!important;
    text-align:center!important;
  }

  body.page-profile .simple-profile-people{
    border-radius:8px!important;
  }
  body.page-profile .simple-profile-people>p{
    margin:2px 0 0!important;
    line-height:1.35!important;
  }

  /* Avoid the stray scenic gap between profile content and fixed bottom navigation. */
  body.page-profile .site-main{
    background:rgba(247,249,251,.96)!important;
  }
}

/* 2026-11-07 — actual profile wall mobile selectors */
@media(max-width:760px){
  body.page-profile .simple-profile-wall-section{
    margin-top:0!important;
    overflow:hidden!important;
    border:1px solid #d6e0e7!important;
    border-radius:8px!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall-section .vk-wall{
    padding:0!important;
    margin:0!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-shell{
    display:block!important;
    margin:0!important;
    padding:8px!important;
    background:#f8fbfd!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-bar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
    min-height:44px!important;
    padding:0!important;
    overflow:visible!important;
    border:1px solid #d5e1e8!important;
    border-radius:9px!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-primary{
    min-width:0!important;
    min-height:42px!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:0 11px!important;
    border:0!important;
    border-radius:8px!important;
    background:linear-gradient(#eef6fb,#e5f0f7)!important;
    color:#176b9c!important;
    box-shadow:none!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-primary span{
    font-size:18px!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-primary b{
    font-size:12px!important;
    font-weight:800!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-tools{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    height:42px!important;
    padding-right:4px!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-tools>button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:36px!important;
    width:auto!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 9px!important;
    border:1px solid #d5e1e8!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#496477!important;
    box-shadow:none!important;
    font-size:16px!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-drafts{
    gap:5px!important;
    border:1px solid #d5e1e8!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-drafts b{
    display:none!important;
  }
  body.page-profile .simple-profile-wall-section .wall-create-search{
    width:36px!important;
    padding:0!important;
    font-size:18px!important;
  }
  body.page-profile .simple-profile-wall-section .wall-post-search{
    margin-top:7px!important;
    min-height:42px!important;
    grid-template-columns:auto minmax(0,1fr) 34px!important;
    padding:4px 7px!important;
    border:1px solid #d5e1e8!important;
    border-radius:8px!important;
    background:#fff!important;
  }
  body.page-profile .simple-profile-wall-section .vk-wall-empty{
    margin:0 8px 8px!important;
    min-height:64px!important;
    padding:18px 10px!important;
    border:1px dashed #c8d6df!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#758793!important;
    font-size:12px!important;
    text-align:center!important;
  }
}

/* 2026-11-07 — VK-like mobile social composer */
@media(max-width:760px){
  body.wall-publisher-open{
    overflow:hidden!important;
  }
  body.wall-publisher-open .mobile-bottom-nav{
    display:none!important;
  }
  body.wall-publisher-open .wall-publisher-modal{
    position:fixed!important;
    inset:0!important;
    z-index:99999!important;
    display:block!important;
    padding:0!important;
    background:#f2f3f5!important;
    backdrop-filter:none!important;
  }
  body.wall-publisher-open .wall-publisher-modal[hidden]{
    display:none!important;
  }
  body.wall-publisher-open .wall-publisher.wall-composer-modern{
    width:100vw!important;
    max-width:none!important;
    height:100dvh!important;
    max-height:100dvh!important;
    display:grid!important;
    grid-template-rows:54px minmax(0,1fr) auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#f2f3f5!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  body.wall-publisher-open .wall-publisher-head{
    position:sticky!important;
    top:0!important;
    z-index:5!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) 44px!important;
    align-items:center!important;
    min-height:54px!important;
    padding:0 6px!important;
    border:0!important;
    border-bottom:1px solid #d9e0e6!important;
    background:#fff!important;
  }
  body.wall-publisher-open .wall-publisher-head>b{
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
    color:#172b3a!important;
    font-size:17px!important;
    font-weight:700!important;
    text-align:center!important;
  }
  body.wall-publisher-open .wall-publisher-close{
    grid-column:1!important;
    grid-row:1!important;
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#176b9c!important;
    font-size:0!important;
    box-shadow:none!important;
  }
  body.wall-publisher-open .wall-publisher-close:before{
    content:"‹"!important;
    display:block!important;
    margin-top:-2px!important;
    font:400 34px/38px Arial,sans-serif!important;
  }

  body.wall-publisher-open .wall-publisher-step{
    min-height:0!important;
    padding:0 0 16px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    background:#f2f3f5!important;
  }
  body.wall-publisher-open .wall-publisher-text{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 36px!important;
    gap:10px!important;
    align-items:start!important;
    min-height:150px!important;
    margin:0!important;
    padding:14px 12px 12px!important;
    border:0!important;
    border-bottom:1px solid #e1e6eb!important;
    background:#fff!important;
  }
  body.wall-publisher-open .wall-publisher-text>.avatar,
  body.wall-publisher-open .wall-publisher-text>.avatar img,
  body.wall-publisher-open .wall-publisher-text .avatar-sm,
  body.wall-publisher-open .wall-publisher-text .avatar-sm img{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    border-radius:50%!important;
    object-fit:cover!important;
  }
  body.wall-publisher-open .wall-publisher-text textarea{
    width:100%!important;
    min-height:122px!important;
    max-height:42dvh!important;
    margin:0!important;
    padding:7px 0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:#fff!important;
    color:#172b3a!important;
    box-shadow:none!important;
    resize:none!important;
    font-size:16px!important;
    line-height:1.45!important;
  }
  body.wall-publisher-open .wall-publisher-text textarea::placeholder{
    color:#818c99!important;
  }
  body.wall-publisher-open .wall-publisher-emoji{
    width:34px!important;
    height:34px!important;
    min-height:34px!important;
    margin-top:2px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#7f8b98!important;
    font-size:22px!important;
    box-shadow:none!important;
  }

  body[data-template].wall-publisher-open .wall-unified-dropzone,
  body.wall-publisher-open .wall-unified-dropzone{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    gap:11px!important;
    min-height:66px!important;
    margin:8px 8px 0!important;
    padding:10px 12px!important;
    border:0!important;
    border-radius:11px!important;
    background:#fff!important;
    box-shadow:0 1px 0 rgba(0,0,0,.04)!important;
    transform:none!important;
    cursor:pointer!important;
  }
  body[data-template].wall-publisher-open .wall-unified-dropzone:hover,
  body[data-template].wall-publisher-open .wall-unified-dropzone:focus-visible,
  body[data-template].wall-publisher-open .wall-unified-dropzone.dragging,
  body.wall-publisher-open .wall-unified-dropzone:hover,
  body.wall-publisher-open .wall-unified-dropzone:focus-visible,
  body.wall-publisher-open .wall-unified-dropzone.dragging{
    border:0!important;
    background:#f8fbfd!important;
    transform:none!important;
  }
  body[data-template].wall-publisher-open .wall-unified-dropzone .wall-upload-symbol,
  body.wall-publisher-open .wall-unified-dropzone .wall-upload-symbol{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    border:0!important;
    border-radius:50%!important;
    background:#e8f2f9!important;
    color:#176b9c!important;
    font-size:26px!important;
    font-weight:400!important;
  }
  body.wall-publisher-open .wall-unified-dropzone strong{
    display:block!important;
    margin:0!important;
    color:#172b3a!important;
    font-size:14px!important;
    line-height:1.2!important;
  }
  body.wall-publisher-open .wall-unified-dropzone small{
    display:block!important;
    margin-top:3px!important;
    color:#818c99!important;
    font-size:11px!important;
    line-height:1.2!important;
  }

  body[data-template].wall-publisher-open .wall-unified-preview,
  body.wall-publisher-open .wall-unified-preview{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin:7px 8px 0!important;
  }
  body.wall-publisher-open .wall-unified-preview[hidden]{
    display:none!important;
  }
  body.wall-publisher-open .wall-unified-item{
    min-height:62px!important;
    grid-template-columns:54px minmax(0,1fr) 34px!important;
    padding:6px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  body.wall-publisher-open .wall-unified-item-media{
    width:54px!important;
    height:50px!important;
    border-radius:8px!important;
  }
  body.wall-publisher-open .wall-unified-item b{
    font-size:12.5px!important;
  }
  body.wall-publisher-open .wall-unified-item small{
    font-size:10.5px!important;
  }

  body[data-template].wall-publisher-open .wall-publish-options,
  body.wall-publisher-open .wall-publish-options{
    margin:8px!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:11px!important;
    background:#fff!important;
  }
  body[data-template].wall-publisher-open .wall-publish-options summary,
  body.wall-publisher-open .wall-publish-options summary{
    position:relative!important;
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr) 20px!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    gap:2px 9px!important;
    min-height:58px!important;
    padding:8px 12px!important;
    list-style:none!important;
    cursor:pointer!important;
  }
  body.wall-publisher-open .wall-publish-options summary::-webkit-details-marker{
    display:none!important;
  }
  body.wall-publisher-open .wall-publish-options summary>span{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    display:grid!important;
    place-items:center!important;
    width:36px!important;
    height:36px!important;
    border-radius:50%!important;
    background:#edf3f7!important;
    color:#176b9c!important;
    font-size:17px!important;
  }
  body.wall-publisher-open .wall-publish-options summary>b{
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    color:#172b3a!important;
    font-size:13.5px!important;
    line-height:1.2!important;
  }
  body[data-template].wall-publisher-open .wall-publish-options summary>small,
  body.wall-publisher-open .wall-publish-options summary>small{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    align-self:start!important;
    color:#818c99!important;
    font-size:10.5px!important;
    font-weight:400!important;
  }
  body.wall-publisher-open .wall-publish-options summary:after{
    content:"›"!important;
    grid-column:3!important;
    grid-row:1 / span 2!important;
    align-self:center!important;
    justify-self:end!important;
    color:#9ba6b1!important;
    font-size:26px!important;
    line-height:1!important;
    transition:transform .15s ease!important;
  }
  body.wall-publisher-open .wall-publish-options[open] summary:after{
    transform:rotate(90deg)!important;
  }
  body[data-template].wall-publisher-open .wall-publish-options-grid,
  body.wall-publisher-open .wall-publish-options-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:0 12px 12px!important;
    border-top:1px solid #edf0f3!important;
  }
  body.wall-publisher-open .wall-publish-options-grid>label{
    display:grid!important;
    gap:5px!important;
    padding-top:10px!important;
    color:#5c6b78!important;
    font-size:11.5px!important;
  }
  body.wall-publisher-open .wall-publish-options-grid select,
  body.wall-publisher-open .wall-publish-options-grid input{
    width:100%!important;
    min-height:42px!important;
    padding:0 10px!important;
    border:1px solid #d7dfe6!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#172b3a!important;
    font-size:14px!important;
  }
  body.wall-publisher-open .wall-schedule-field{
    padding:0!important;
    border:0!important;
  }

  body.wall-publisher-open .wall-publisher-footer{
    position:sticky!important;
    bottom:0!important;
    z-index:6!important;
    display:block!important;
    min-height:64px!important;
    padding:8px 12px max(8px,env(safe-area-inset-bottom))!important;
    border:0!important;
    border-top:1px solid #d9e0e6!important;
    background:#fff!important;
  }
  body.wall-publisher-open .wall-publisher-footer>small{
    display:none!important;
  }
  body.wall-publisher-open .modern-wall-submit{
    width:100%!important;
    min-height:46px!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    border-radius:9px!important;
    background:#176b9c!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  body.wall-publisher-open .modern-wall-submit:disabled{
    opacity:.55!important;
  }

  body.wall-publisher-open .wall-publisher-emoji-menu{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:72px!important;
    z-index:100005!important;
    display:grid!important;
    grid-template-columns:repeat(8,1fr)!important;
    gap:4px!important;
    padding:8px!important;
    border:1px solid #d9e0e6!important;
    border-radius:11px!important;
    background:#fff!important;
    box-shadow:0 8px 30px rgba(28,50,70,.16)!important;
  }
  body.wall-publisher-open .wall-publisher-emoji-menu button{
    width:100%!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    font-size:20px!important;
  }

  /* Drafts use the same visual language. */
  .wall-drafts-modal{
    z-index:99999!important;
    padding:0!important;
    background:#f2f3f5!important;
    backdrop-filter:none!important;
  }
  .wall-drafts-card{
    width:100%!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border:0!important;
    border-radius:0!important;
    background:#f2f3f5!important;
    box-shadow:none!important;
  }
  .wall-drafts-card>header{
    min-height:54px!important;
    padding:0 12px!important;
    border-bottom:1px solid #d9e0e6!important;
    background:#fff!important;
  }
  .wall-drafts-card>header b{
    font-size:16px!important;
  }
  .wall-drafts-card>header small{
    font-size:10.5px!important;
  }
  .wall-drafts-card>header button{
    width:38px!important;
    height:38px!important;
    min-height:38px!important;
    border:0!important;
    background:transparent!important;
    color:#176b9c!important;
    font-size:24px!important;
  }
  .wall-drafts-list{
    padding:8px!important;
  }
  .wall-draft-item{
    margin-bottom:7px!important;
    padding:11px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .wall-draft-item p{
    font-size:13px!important;
  }
  .wall-draft-item small{
    font-size:10.5px!important;
  }
  .wall-draft-actions button{
    min-height:38px!important;
    padding:0 12px!important;
    border:0!important;
    border-radius:8px!important;
    background:#edf3f7!important;
    color:#176b9c!important;
    font-size:12px!important;
  }
  .wall-draft-actions button.primary{
    background:#176b9c!important;
    color:#fff!important;
  }
}

/* 2026-11-07 — shared VK-like mobile social surfaces */
@media(max-width:760px){
  body.page-profile .site-content,
  body.page-messages .site-content,
  body.page-people .site-content,
  body.page-settings .site-content{
    background:#f2f3f5!important;
  }

  body.page-profile .simple-profile-hero,
  body.page-profile .simple-profile-stats,
  body.page-profile .simple-profile-people,
  body.page-profile .simple-profile-wall-section,
  body.page-messages .ep-messenger-card,
  body.page-settings .settings-content-060,
  body.page-settings .settings-menu-060{
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 1px 0 rgba(0,0,0,.06)!important;
  }

  body.page-profile .simple-profile-stats a,
  body.page-profile .simple-profile-stats div{
    border-color:#e5e9ed!important;
  }
  body.page-profile .simple-profile-stats b{
    color:#172b3a!important;
  }
  body.page-profile .simple-profile-stats span{
    color:#818c99!important;
  }

  body.page-profile .simple-profile-people header{
    border:0!important;
  }
  body.page-profile .simple-profile-people h2{
    color:#172b3a!important;
  }
  body.page-profile .simple-profile-people header span,
  body.page-profile .simple-profile-people>p{
    color:#818c99!important;
  }

  body.page-messages .ep-messenger-card{
    overflow:hidden!important;
  }
  body.page-messages .list-head,
  body.page-messages .conversation-head{
    border-color:#e5e9ed!important;
    background:#fff!important;
  }
  body.page-messages .chat-item{
    border-color:#edf0f3!important;
    background:#fff!important;
  }
  body.page-messages .chat-item:hover,
  body.page-messages .chat-item.active{
    background:#f4f7fa!important;
  }
  body.page-messages .chat-meta b,
  body.page-messages .conversation-title h1{
    color:#172b3a!important;
  }
  body.page-messages .chat-meta small,
  body.page-messages .conversation-title small{
    color:#818c99!important;
  }

  body.page-settings .settings-menu-060{
    padding:5px!important;
  }
  body.page-settings .settings-menu-060 a{
    border:0!important;
    border-radius:8px!important;
    background:#f5f7f9!important;
    color:#4d5f6e!important;
  }
  body.page-settings .settings-menu-060 a.active{
    background:#e8f2f9!important;
    color:#176b9c!important;
  }
  body.page-settings .settings-content-060{
    color:#172b3a!important;
  }

  body.page-people .ep-friends-tabs a,
  .people-tabs a{
    border:0!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#4d5f6e!important;
    box-shadow:0 1px 0 rgba(0,0,0,.05)!important;
  }
  body.page-people .ep-friends-tabs a.active,
  .people-tabs a.active{
    background:#e8f2f9!important;
    color:#176b9c!important;
  }
  body.page-people .ep-friend-card{
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 1px 0 rgba(0,0,0,.06)!important;
  }

  body.page-profile button,
  body.page-profile a,
  body.page-messages button,
  body.page-messages a,
  body.page-people button,
  body.page-people a,
  body.page-settings button,
  body.page-settings a{
    -webkit-tap-highlight-color:transparent;
  }
}

/* 2026-11-07 — native mobile file picker hit-area */
.wall-unified-dropzone{position:relative!important}
.wall-unified-picker-native{
 position:absolute!important;
 inset:0!important;
 z-index:4!important;
 display:block!important;
 width:100%!important;
 height:100%!important;
 margin:0!important;
 padding:0!important;
 opacity:0!important;
 cursor:pointer!important;
 font-size:0!important;
 border:0!important
}
.wall-unified-dropzone>*:not(.wall-unified-picker-native){
 position:relative;
 z-index:1;
 pointer-events:none
}

/* 2026-11-07 — mobile account menu: avatar-only trigger + quick actions */
.ep-user-menu__more-toggle{display:none}
@media(max-width:760px){
  .ep-user-menu__identity,
  .ep-user-menu__chevron{display:none!important}
  .ep-user-menu__summary{
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:2px!important;
    gap:0!important;
    border-radius:50%!important;
    border:1px solid rgba(255,255,255,.18)!important;
    background:rgba(255,255,255,.06)!important;
    overflow:hidden!important
  }
  .ep-user-menu__summary .avatar-xs,
  .ep-user-menu__summary .avatar-xs img{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    border-radius:50%!important;
    object-fit:cover!important
  }

  .ep-user-menu__panel{
    position:fixed!important;
    top:48px!important;
    right:6px!important;
    left:auto!important;
    width:min(330px,calc(100vw - 12px))!important;
    max-height:calc(100dvh - 58px)!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 16px 42px rgba(18,42,60,.24)!important
  }
  .ep-user-menu__head{display:none!important}
  .ep-user-menu__nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    padding:8px!important
  }
  .ep-user-menu__nav>a{
    position:relative!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    align-content:center!important;
    gap:5px!important;
    min-height:72px!important;
    padding:8px 6px!important;
    border:0!important;
    border-radius:10px!important;
    background:#f5f7f9!important;
    color:#24445b!important;
    text-align:center!important
  }
  .ep-user-menu__nav>a .ep-user-menu__icon{
    width:32px!important;
    height:32px!important;
    border-radius:50%!important;
    background:#e7f1f8!important;
    color:#176b9c!important;
    font-size:14px!important
  }
  .ep-user-menu__nav>a span:nth-child(2){display:block!important}
  .ep-user-menu__nav>a b{font-size:11.5px!important;line-height:1.15!important}
  .ep-user-menu__nav>a small{display:none!important}
  .ep-user-menu__nav>a .ep-user-menu__count{
    position:absolute!important;
    top:6px!important;
    right:7px!important;
    min-width:19px!important;
    height:19px!important;
    padding:0 5px!important;
    border-radius:10px!important;
    background:#d52b1e!important;
    color:#fff!important;
    font-size:10px!important;
    display:grid!important;
    place-items:center!important
  }

  .ep-user-menu__nav>a:nth-child(n+5){display:none!important}
  .ep-user-menu__panel.is-more-open .ep-user-menu__nav>a:nth-child(n+5){
    display:grid!important;
    grid-column:1/-1!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    justify-items:stretch!important;
    align-items:center!important;
    min-height:44px!important;
    padding:6px 8px!important;
    text-align:left!important
  }
  .ep-user-menu__panel.is-more-open .ep-user-menu__nav>a:nth-child(n+5) .ep-user-menu__icon{
    width:30px!important;
    height:30px!important
  }
  .ep-user-menu__panel.is-more-open .ep-user-menu__nav>a:nth-child(n+5) span:nth-child(2){
    display:grid!important
  }
  .ep-user-menu__panel.is-more-open .ep-user-menu__nav>a:nth-child(n+5) small{
    display:block!important;
    margin-top:2px!important;
    color:#81909b!important;
    font-size:9px!important;
    line-height:1.2!important
  }

  .ep-user-menu__more-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    width:calc(100% - 16px)!important;
    min-height:42px!important;
    margin:0 8px 8px!important;
    padding:0 12px!important;
    border:0!important;
    border-radius:9px!important;
    background:#e8f2f9!important;
    color:#176b9c!important;
    font-size:12px!important;
    font-weight:800!important;
    box-shadow:none!important
  }
  .ep-user-menu__more-toggle span{font-size:17px!important;line-height:1!important}
  .ep-user-menu__more-toggle b{font-size:12px!important}

  .ep-user-menu__panel>form{display:none!important}
  .ep-user-menu__panel.is-more-open>form{
    display:block!important;
    margin:0!important;
    padding:0 8px 8px!important;
    border-top:0!important
  }
  .ep-user-menu__panel.is-more-open>form>button{
    min-height:44px!important;
    border-radius:9px!important;
    background:#fff3f2!important;
    color:#a93b32!important
  }
}

/* 2026-11-07 — VK-like mobile photo discussion */
@media(max-width:760px){
  body.wall-lightbox-open .mobile-bottom-nav{display:none!important}

  .wall-media-lightbox-150{
    position:fixed!important;
    inset:0!important;
    z-index:20000!important;
    width:100vw!important;
    height:100dvh!important;
    padding:0!important;
    place-items:stretch!important;
    background:#111!important
  }
  .wall-media-lightbox-150>.wall-lightbox-close{
    position:fixed!important;
    top:8px!important;
    right:8px!important;
    z-index:20005!important;
    width:40px!important;
    height:40px!important;
    border-radius:50%!important;
    background:rgba(0,0,0,.58)!important;
    color:#fff!important;
    font-size:26px!important
  }
  .wall-lightbox-layout{
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,55dvh) minmax(0,45dvh)!important;
    border:0!important;
    border-radius:0!important;
    background:#000!important;
    overflow:hidden!important
  }
  .wall-lightbox-image{
    min-width:0!important;
    min-height:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    background:#05070a!important
  }
  .wall-media-lightbox-150 .wall-lightbox-image img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important
  }

  .wall-lightbox-discussion{
    min-width:0!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    background:#fff!important;
    color:#223b4e!important
  }
  .wall-lightbox-discussion>header{
    flex:0 0 48px!important;
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:0 12px!important;
    border-bottom:1px solid #dce4ea!important;
    background:#fff!important
  }
  .wall-lightbox-discussion>header b{
    font-size:15px!important;
    color:#173f60!important
  }
  .wall-lightbox-discussion>header button{
    min-height:34px!important;
    padding:0 10px!important;
    border:0!important;
    border-radius:8px!important;
    background:#eef5f9!important;
    color:#176b9c!important;
    font-size:11px!important;
    box-shadow:none!important
  }

  .wall-lightbox-comments-slot{
    flex:1!important;
    min-height:0!important;
    overflow:hidden!important
  }
  .wall-lightbox-comments-slot .wall-comments{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:#fff!important
  }
  .wall-lightbox-comments-slot .wall-comments-list{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    padding:8px 10px!important;
    background:#fff!important
  }
  .wall-lightbox-comments-slot .wall-comments-list:empty:before{
    content:"Комментариев пока нет"!important;
    display:block!important;
    padding:20px 8px!important;
    color:#8a98a3!important;
    font-size:12px!important;
    text-align:center!important
  }

  .wall-lightbox-comments-slot .wall-comment-form{
    position:static!important;
    flex:0 0 auto!important;
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;
    border-top:1px solid #dce4ea!important;
    background:#fff!important;
    box-sizing:border-box!important
  }
  .wall-lightbox-comments-slot .wall-comment-reply-context{
    width:100%!important;
    margin:0 0 6px!important;
    padding:6px 9px!important;
    border-left:3px solid #176b9c!important;
    border-radius:7px!important;
    background:#f4f7f9!important;
    color:#667986!important;
    font-size:11px!important;
    box-sizing:border-box!important
  }
  .wall-lightbox-comments-slot .wall-comment-compose-row{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr) 42px!important;
    gap:7px!important;
    align-items:end!important;
    width:100%!important;
    min-width:0!important
  }
  .wall-lightbox-comments-slot .wall-comment-compose-row>.avatar-xs,
  .wall-lightbox-comments-slot .wall-comment-compose-row>.avatar-xs img{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    border-radius:50%!important;
    object-fit:cover!important
  }
  .wall-lightbox-comments-slot .wall-comment-input-wrap{
    display:block!important;
    width:100%!important;
    min-width:0!important
  }
  .wall-lightbox-comments-slot .wall-comment-input-wrap textarea,
  .wall-lightbox-comments-slot .wall-comment-form textarea{
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:42px!important;
    height:42px!important;
    max-height:104px!important;
    margin:0!important;
    padding:10px 12px!important;
    border:1px solid #d9e2e8!important;
    border-radius:20px!important;
    outline:0!important;
    resize:none!important;
    background:#f2f3f5!important;
    color:#223b4e!important;
    box-shadow:none!important;
    font-size:16px!important;
    line-height:20px!important
  }
  .wall-lightbox-comments-slot .wall-comment-send,
  .wall-lightbox-comments-slot .wall-comment-form button[type="submit"]{
    position:static!important;
    inset:auto!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#176b9c!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:17px!important
  }
}

/* Mobile account menu specificity shield against legacy profile rules */
@media(max-width:760px){
  body.site-body .site-header .topbar .ep-user-menu__identity,
  body.site-body .site-header .topbar .ep-user-menu__chevron{
    display:none!important
  }
  body.site-body .site-header .topbar .ep-user-menu__summary{
    display:flex!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:2px!important;
    border-radius:50%!important
  }
  body.site-body .site-header .topbar .ep-user-menu__summary .avatar-xs,
  body.site-body .site-header .topbar .ep-user-menu__summary .avatar-xs img{
    width:32px!important;
    height:32px!important;
    border-radius:50%!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel{
    position:fixed!important;
    top:48px!important;
    right:6px!important;
    left:auto!important;
    width:min(330px,calc(100vw - 12px))!important;
    max-height:calc(100dvh - 58px)!important;
    padding:0!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel .ep-user-menu__nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    padding:8px!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel .ep-user-menu__nav>a:nth-child(-n+4){
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    align-content:center!important;
    gap:5px!important;
    min-height:72px!important;
    padding:8px 6px!important;
    border-radius:10px!important;
    background:#f5f7f9!important;
    text-align:center!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel .ep-user-menu__nav>a:nth-child(n+5){
    display:none!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel.is-more-open .ep-user-menu__nav>a:nth-child(n+5){
    display:grid!important;
    grid-column:1/-1!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    justify-items:stretch!important;
    align-items:center!important;
    min-height:44px!important;
    padding:6px 8px!important;
    text-align:left!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel>form{
    display:none!important
  }
  body.site-body .site-header .topbar .ep-user-menu__panel.is-more-open>form{
    display:block!important
  }
}

/* 2026-11-07 — VK-style durable mobile photo comments */
@media(max-width:760px){
  .wall-lightbox-layout{
    grid-template-rows:minmax(0,42dvh) minmax(0,58dvh)!important
  }
  .wall-lightbox-comments-slot{
    position:relative!important;
    display:block!important;
    min-height:0!important;
    overflow:hidden!important
  }
  .wall-lightbox-comments-slot .wall-comments{
    display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important
  }
  .wall-lightbox-comments-slot .wall-comments-list{
    display:block!important;
    min-height:0!important;
    height:auto!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:4px 12px 10px!important;
    scrollbar-width:thin!important;
    background:#fff!important
  }

  /* VK-like comments: flat list, no oversized bubbles. */
  .wall-lightbox-comments-slot .wall-comment{
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
    margin:0!important;
    padding:11px 0!important;
    border:0!important;
    border-bottom:1px solid #edf0f3!important;
    background:#fff!important
  }
  .wall-lightbox-comments-slot .wall-comment:last-child{
    border-bottom:0!important
  }
  .wall-lightbox-comments-slot .wall-comment>.avatar-xs,
  .wall-lightbox-comments-slot .wall-comment>a>.avatar-xs,
  .wall-lightbox-comments-slot .wall-comment>.avatar-xs img,
  .wall-lightbox-comments-slot .wall-comment>a>.avatar-xs img{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    border-radius:50%!important;
    object-fit:cover!important
  }
  .wall-lightbox-comments-slot .wall-comment-body{
    min-width:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>header{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:20px!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>header>a{
    min-width:0!important;
    color:#173f60!important;
    font-size:13px!important;
    line-height:1.2!important;
    text-decoration:none!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>header>a b{
    font-size:13px!important;
    font-weight:800!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>header time{
    margin-left:auto!important;
    color:#8a98a3!important;
    font-size:10px!important;
    white-space:nowrap!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>header button[data-wall-comment-delete]{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    margin-left:2px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#8a98a3!important;
    box-shadow:none!important;
    font-size:20px!important;
    line-height:1!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>p{
    margin:4px 0 5px!important;
    padding:0!important;
    color:#2b3e4d!important;
    font-size:13.5px!important;
    line-height:1.38!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>footer{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-height:22px!important;
    margin:0!important;
    padding:0!important
  }
  .wall-lightbox-comments-slot .wall-comment-body>footer button{
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:2px 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#176b9c!important;
    box-shadow:none!important;
    font-size:11px!important
  }
  .wall-lightbox-comments-slot .comment-reactions,
  .wall-lightbox-comments-slot .comment-reaction-summary{
    margin:0!important;
    padding:0!important
  }
  .wall-lightbox-comments-slot .comment-branch{
    margin-top:7px!important
  }
  .wall-lightbox-comments-slot .comment-branch-toggle{
    width:auto!important;
    min-height:0!important;
    padding:2px 0!important;
    border:0!important;
    background:transparent!important;
    color:#176b9c!important;
    font-size:11px!important;
    box-shadow:none!important
  }
  .wall-lightbox-comments-slot .wall-comment-replies{
    display:grid!important;
    gap:0!important;
    margin-top:6px!important;
    padding-left:8px!important;
    border-left:2px solid #e5ebef!important
  }
  .wall-lightbox-comments-slot .wall-comment-replies[hidden]{
    display:none!important
  }
  .wall-lightbox-comments-slot .wall-comment-replies .wall-comment{
    grid-template-columns:30px minmax(0,1fr)!important;
    padding:8px 0!important
  }
  .wall-lightbox-comments-slot .wall-comment-replies .avatar-xs,
  .wall-lightbox-comments-slot .wall-comment-replies .avatar-xs img{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important
  }

  /* Composer is a separate, always-visible bottom row. */
  .wall-lightbox-comments-slot .wall-comment-form{
    position:relative!important;
    z-index:12!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;
    border:0!important;
    border-top:1px solid #dfe6eb!important;
    background:#fff!important;
    box-sizing:border-box!important
  }
  .wall-lightbox-comments-slot .wall-comment-compose-row{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 42px!important;
    gap:7px!important;
    align-items:end!important;
    width:100%!important;
    min-width:0!important
  }
  .wall-lightbox-comments-slot .wall-comment-input-wrap{
    min-width:0!important;
    width:100%!important
  }
  .wall-lightbox-comments-slot .wall-comment-input-wrap textarea{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    max-height:108px!important;
    padding:10px 13px!important;
    border:0!important;
    border-radius:21px!important;
    background:#f2f3f5!important;
    color:#223b4e!important;
    box-shadow:none!important;
    outline:none!important;
    font-size:16px!important;
    line-height:22px!important;
    resize:none!important;
    box-sizing:border-box!important
  }
  .wall-lightbox-comments-slot .wall-comment-send{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    border:0!important;
    border-radius:50%!important;
    background:#176b9c!important;
    color:#fff!important;
    box-shadow:none!important
  }
  .wall-lightbox-comments-slot .wall-comment-reply-context[hidden]{
    display:none!important
  }
}

/* 2026-11-07 — force native scroll inside mobile photo comments */
@media(max-width:760px){
  .wall-lightbox-comments-slot,
  .wall-lightbox-comments-slot .wall-comments{
    touch-action:pan-y!important;
  }
  .wall-lightbox-comments-slot .wall-comments-list{
    display:block!important;
    width:100%!important;
    height:calc(58dvh - 118px)!important;
    min-height:120px!important;
    max-height:calc(58dvh - 118px)!important;
    overflow-x:hidden!important;
    overflow-y:scroll!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
    pointer-events:auto!important;
    scrollbar-gutter:stable!important;
  }
  .wall-lightbox-comments-slot .wall-comments-list.is-collapsed>.wall-comment:nth-child(n+4){
    display:grid!important;
  }
  .wall-lightbox-comments-slot .wall-comments-expand{
    display:none!important;
  }
}

/* 2026-11-08 — mobile lightbox order: composer first, recent comments below */
@media(max-width:760px){
  .wall-lightbox-discussion{
    display:block!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    background:#fff!important
  }
  .wall-lightbox-discussion>header{
    display:none!important
  }
  .wall-lightbox-comments-slot{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important
  }
  .wall-lightbox-comments-slot .wall-comments{
    position:relative!important;
    display:grid!important;
    grid-template-rows:auto auto minmax(0,1fr)!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    background:#fff!important
  }

  /* 1. Input directly under the photo */
  .wall-lightbox-comments-slot .wall-comment-form{
    grid-row:1!important;
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    margin:0!important;
    padding:9px 10px!important;
    border:0!important;
    border-bottom:1px solid #e1e7ec!important;
    background:#fff!important;
    box-sizing:border-box!important
  }
  .wall-lightbox-comments-slot .wall-comment-input-wrap textarea{
    min-height:42px!important;
    height:42px!important;
    max-height:96px!important;
    border:0!important;
    border-radius:21px!important;
    background:#f2f3f5!important;
    box-shadow:none!important
  }

  /* 2. Section title */
  .wall-lightbox-comments-slot .wall-comments::before{
    content:"Последние комментарии"!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    min-height:38px!important;
    padding:0 12px!important;
    border-bottom:1px solid #edf0f3!important;
    background:#fff!important;
    color:#173f60!important;
    font-size:13px!important;
    font-weight:800!important
  }

  /* 3. Only this area scrolls */
  .wall-lightbox-comments-slot .wall-comments-list{
    grid-row:3!important;
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0 12px 12px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
    pointer-events:auto!important;
  }

  .wall-lightbox-comments-slot .wall-comments-list.is-collapsed>.wall-comment:nth-child(n+4){
    display:grid!important
  }
  .wall-lightbox-comments-slot .wall-comments-expand{
    display:none!important
  }
}

/* 2026-11-08 — mobile photo post scrolls as one normal page */
@media(max-width:760px){
  body.wall-lightbox-open{
    overflow:hidden!important
  }
  .wall-media-lightbox-150{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
    background:#111!important
  }
  .wall-lightbox-layout{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:100dvh!important;
    max-height:none!important;
    overflow:visible!important;
    background:#fff!important
  }
  .wall-lightbox-image{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    background:#05070a!important
  }
  .wall-media-lightbox-150 .wall-lightbox-image img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:70dvh!important;
    object-fit:contain!important
  }
  .wall-lightbox-discussion{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    background:#fff!important
  }
  .wall-lightbox-discussion>header{
    display:none!important
  }
  .wall-lightbox-comments-slot{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    touch-action:auto!important
  }
  .wall-lightbox-comments-slot .wall-comments{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    background:#fff!important
  }

  /* Under the photo: comment field first. */
  .wall-lightbox-comments-slot .wall-comment-form{
    order:1!important;
    position:static!important;
    width:100%!important;
    margin:0!important;
    padding:10px!important;
    border:0!important;
    border-bottom:1px solid #e1e7ec!important;
    background:#fff!important
  }

  /* Then the section title. */
  .wall-lightbox-comments-slot .wall-comments::before{
    content:"Последние комментарии"!important;
    order:2!important;
    display:flex!important;
    align-items:center!important;
    min-height:42px!important;
    padding:0 12px!important;
    border-bottom:1px solid #edf0f3!important;
    background:#fff!important;
    color:#173f60!important;
    font-size:13px!important;
    font-weight:800!important
  }

  /* Then all comments. No nested scroll: the whole open post scrolls. */
  .wall-lightbox-comments-slot .wall-comments-list{
    order:3!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0 12px calc(28px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
    touch-action:auto!important;
    pointer-events:auto!important
  }

  .wall-lightbox-comments-slot .wall-comments-list.is-collapsed>.wall-comment:nth-child(n+4){
    display:grid!important
  }
  .wall-lightbox-comments-slot .wall-comments-expand{
    display:none!important
  }
}
