/* Compact useful tiles, centered identity and the authorized team workspace. */
.resource-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.resource-list>.resource-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:14px;padding:21px;min-height:152px;height:100%;border:0;border-radius:var(--card-radius);background:var(--panel);min-width:0}
.resource-list>.resource-row:last-child:nth-child(odd){grid-column:auto}
.resource-list>.resource-row:only-child{grid-column:1/-1;display:grid;grid-template-columns:42px minmax(0,1fr);min-height:95px;align-items:center}
.resource-list>.resource-row>svg:last-of-type{display:none}
.resource-list>.resource-row>.resource-icon{width:42px;height:42px;border-radius:14px;background:var(--blue-soft);color:var(--blue);box-shadow:none}
.resource-list>.resource-row[data-action=social]>.resource-icon{background:#fbe8ee;color:#c43760}
.resource-list>.resource-row[data-action=random-chat]>.resource-icon{background:var(--action);color:#fff}
.resource-list>.resource-row[data-action=notes]>.resource-icon{background:#fff0d2;color:#946413}
.resource-list>.resource-row[data-action=install]>.resource-icon{background:var(--blue-soft);color:var(--blue)}
[data-theme=dark] .resource-list>.resource-row[data-action=social]>.resource-icon{background:#482439;color:#ffb0ca}
[data-theme=dark] .resource-list>.resource-row[data-action=notes]>.resource-icon{background:#453921;color:#f5ce83}
.resource-list>.resource-row strong{font-size:calc(15px * var(--text-scale));line-height:1.35;letter-spacing:-.3px}
.resource-list>.resource-row small{font-size:calc(12px * var(--text-scale));line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:42ch}
.resource-group h2{font-family:var(--body-font);font-size:calc(11px * var(--text-scale));font-weight:650;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.useful-appearance{padding:18px 21px}.useful-appearance strong{font-size:calc(18px * var(--text-scale))}
.avatar,.mini-avatar,.profile-avatar{position:relative;overflow:hidden}.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:var(--blue-soft)}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:5px 0 25px}.profile-heading h1{font-size:35px;letter-spacing:-1.3px;line-height:1.1}.profile-heading p{font-size:calc(12px * var(--text-scale));font-weight:600;color:var(--muted);margin-top:9px;display:flex;align-items:center;gap:8px}.profile-heading p i{height:7px;width:7px;border-radius:50%;background:var(--action);flex-shrink:0}.profile-heading>.icon-button{background:var(--panel);color:var(--muted)}
.profile-identity{text-align:center;padding:18px 0 24px}.profile-photo-button{position:relative;display:block;margin:auto;padding:0;width:104px;height:104px;border-radius:50%}.profile-identity .profile-avatar{display:grid;place-items:center;background:var(--action);color:#fff;width:104px;height:104px;border-radius:50%;font-size:38px;font-weight:700;min-width:0;margin:0}.photo-camera{position:absolute;right:-3px;bottom:0;display:grid;place-items:center;background:var(--panel);color:var(--text);height:34px;width:34px;border-radius:50%;box-shadow:0 3px 10px #10204016;border:2px solid var(--bg)}.profile-identity h2{font-family:var(--body-font);font-size:calc(23px * var(--text-scale));font-weight:750;letter-spacing:-.7px;margin:16px 0 3px;overflow-wrap:anywhere}.profile-identity>p{font-size:calc(12px * var(--text-scale));color:var(--muted);font-weight:550;line-height:1.7}.profile-identity>.text-link{font-size:calc(13px * var(--text-scale));font-weight:650;color:var(--blue);margin-top:5px;justify-content:center}.profile-activity-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--panel);border-radius:var(--card-radius);overflow:hidden;margin-bottom:18px}.profile-activity-strip button{padding:20px 8px;min-height:86px;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center}.profile-activity-strip button+button{border-left:1px solid var(--line)}.profile-activity-strip strong{font-family:var(--body-font);font-size:25px;line-height:1;color:var(--text)}.profile-activity-strip span{font-size:calc(11px * var(--text-scale));color:var(--muted)}.profile-interests{margin-bottom:18px}.profile-interests .section-heading{margin-bottom:8px}.profile-interests h2{font-family:var(--body-font);font-size:16px;letter-spacing:-.3px}
.avatar-picker{text-align:center;padding:0 0 22px}.avatar-picker-image{width:128px;height:128px;display:grid;place-items:center;background:var(--action);color:white;font-size:43px;font-weight:700;border-radius:50%;margin:0 auto 16px;overflow:hidden}.avatar-picker-image img{height:100%;width:100%;object-fit:cover}.avatar-picker p{font-size:13px;color:var(--muted)}.avatar-file{position:relative;overflow:hidden;cursor:pointer}.avatar-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.avatar-file:focus-within{outline:3px solid var(--blue);outline-offset:3px}#avatar-filename{font-size:11px;margin:12px 0 16px;overflow-wrap:anywhere}.avatar-alternative{margin-top:18px;display:grid;gap:10px}.avatar-alternative .text-link{justify-content:center}
.staff-role{display:flex;align-items:center;gap:9px;padding:15px 18px;border-radius:var(--control-radius);background:var(--blue-soft);font-size:13px;color:var(--blue);font-weight:600}.staff-role>span{margin-left:auto;font-size:11px;color:var(--muted);font-weight:400}.staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.staff-tile{display:flex;align-items:center;gap:15px;text-align:left;background:var(--panel);padding:24px;border-radius:var(--card-radius);min-height:108px}.staff-tile>span:nth-child(2){flex:1;min-width:0}.staff-tile strong{font-size:calc(15px * var(--text-scale));display:block;line-height:1.4}.staff-tile small{font-size:calc(12px * var(--text-scale));color:var(--muted);display:block;margin-top:6px;line-height:1.6}.staff-tile .queue-count{display:grid;place-items:center;border-radius:15px;min-width:36px;height:36px;padding:0 8px;background:var(--panel-soft);color:var(--muted);font-size:17px}.staff-tile .queue-count.pending{background:var(--blue-soft);color:var(--blue)}.staff-section-title{font-family:var(--body-font);font-size:17px;margin:30px 0 15px;letter-spacing:-.3px}.staff-footnote{margin-top:24px}.random-restricted>span{min-width:0;overflow-wrap:anywhere}.random-restricted>strong{flex-shrink:0;font-size:12px}
.install-phone{width:154px;border:5px solid var(--line);border-radius:30px;background:var(--panel-soft);padding:16px 13px;margin:0 auto 22px;box-shadow:0 10px 35px #12235306}.install-speaker{height:6px;width:54px;border-radius:10px;background:var(--line);margin:0 auto 17px}.install-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding-bottom:17px}.install-apps>i{height:32px;border-radius:9px;background:var(--line);opacity:.65}.install-apps img{height:32px;width:32px;border-radius:9px;box-shadow:0 4px 12px #10277a22}.install-title{text-align:center;font-family:var(--body-font);font-size:22px;letter-spacing:-.6px;margin-bottom:10px}.install-title+.modal-intro{text-align:center;max-width:370px;margin-left:auto;margin-right:auto}.install-status{margin:14px 0;font-size:12px;line-height:1.7}.install-steps{display:grid;gap:12px}.install-steps article{display:flex;align-items:flex-start;gap:13px;padding:18px;background:var(--panel-soft);border-radius:var(--control-radius)}.install-steps b{display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);height:26px;width:26px;border-radius:50%;font-size:12px;flex-shrink:0}.install-steps strong{font-size:13px;font-weight:600}.install-steps p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:5px}
@media(min-width:1200px){.resource-list{grid-template-columns:repeat(3,minmax(0,1fr))}.resource-list>.resource-row:only-child{grid-column:1/-1}.resource-list>.resource-row{min-height:160px}}
@media(max-width:760px){.resource-list{gap:11px}.resource-list>.resource-row{padding:18px 15px;min-height:151px;gap:14px;border-radius:calc(var(--card-radius) - 3px)}.resource-list>.resource-row:only-child{grid-template-columns:38px minmax(0,1fr);min-height:92px}.resource-list>.resource-row>.resource-icon{width:36px;height:36px;border-radius:12px}.resource-list>.resource-row strong{font-size:calc(13px * var(--text-scale))}.resource-list>.resource-row small{font-size:calc(10px * var(--text-scale));margin-top:5px}.resource-group h2{font-size:10px;letter-spacing:1px}.useful-appearance{padding:18px}.useful-appearance strong{font-size:17px}.useful-appearance small{font-size:11px}.profile-heading{margin-bottom:12px}.profile-heading h1{font-size:30px}.profile-heading p{font-size:11px;margin-top:7px}.profile-identity{padding:17px 0 22px}.profile-identity h2{font-size:calc(21px * var(--text-scale))}.profile-identity>p{font-size:calc(11px * var(--text-scale))}.profile-activity-strip button{padding:17px 5px;min-height:80px}.profile-activity-strip strong{font-size:23px}.profile-activity-strip span{font-size:10px}.staff-grid{grid-template-columns:1fr;gap:12px}.staff-tile{padding:20px;min-height:96px}.staff-tile strong{font-size:14px}.staff-tile small{font-size:11px}.staff-role{font-size:12px;flex-wrap:wrap}.staff-role>span{margin-left:0;width:100%;padding-left:27px}.staff-section-title{margin-top:25px}.install-title{font-size:21px}.install-steps article{padding:16px}.install-steps strong{font-size:12px}.install-steps p{font-size:11px}}
@media(max-width:420px){.topbar-actions.has-staff>[data-action=search]{display:none}.resource-list>.resource-row{padding:17px 14px}.profile-heading{gap:8px}.profile-heading p{font-size:10px}}

.profile-identity .profile-avatar{border:0;box-shadow:none;inset:auto;transform:none;margin:0}

.resource-list>.resource-row:only-child:last-child{grid-column:1/-1}
@media(max-width:1199px){
  .resource-list:not(.telegram-resource-list)>.resource-row:last-child:nth-child(odd):not(:only-child){
    grid-column:1/-1;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;min-height:95px;
  }
}
@media(max-width:760px){
  .resource-list:not(.telegram-resource-list)>.resource-row:last-child:nth-child(odd):not(:only-child){
    grid-template-columns:36px minmax(0,1fr);min-height:76px;
  }
}
.profile-identity>.text-link{display:flex;width:fit-content;margin:7px auto 0}
.resource-list>.resource-row strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.resource-list.telegram-resource-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr))}
@media(max-width:760px){
  .resource-list.telegram-resource-list{grid-template-columns:minmax(0,1fr)}
  .telegram-resource-list>.resource-row{
    display:grid;grid-template-columns:36px minmax(0,1fr) 17px;align-items:center;min-height:72px;gap:12px;
  }
  .telegram-resource-list>.resource-row:only-child{grid-template-columns:36px minmax(0,1fr) 17px;min-height:72px}
  .telegram-resource-list>.resource-row>svg:last-of-type{display:block}
}
.useful-settings-button{background:var(--panel);flex-shrink:0}
main[data-route=useful] .page-title{align-items:center;margin-bottom:22px;flex-wrap:nowrap}
main[data-route=useful] .page-title .eyebrow:empty{display:none}
main[data-route=useful] .page-title h1{margin-top:0}

.profile-interest-tags{justify-content:center;margin-top:12px}
.profile-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:14px}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:390px;margin:0 auto 24px;padding:0;border:0}
.profile-stats>.profile-stat{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:9px;min-height:64px;padding:10px 12px;text-align:left;border-radius:var(--control-radius);background:var(--panel);color:var(--muted)}
.profile-stats>.profile-stat-activity{background:var(--blue-soft);color:var(--blue)}
.profile-stats>.profile-stat-activity:hover{background:var(--blue-soft);box-shadow:inset 0 0 0 1px var(--blue)}
.profile-stat>svg{flex:none}
.profile-stat-activity>svg:last-child{margin-left:auto}
.profile-stat .profile-stat-copy{display:grid;gap:2px;min-width:0}
.profile-stat-copy strong{font-size:calc(20px * var(--text-scale));line-height:1.05;color:var(--text);overflow-wrap:anywhere}
.profile-stat-copy>span{font-size:calc(11px * var(--text-scale));line-height:1.25;color:var(--muted)}
.profile-publications .section-heading{flex-wrap:wrap;margin-bottom:12px}
.profile-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-post-tile{position:relative;display:flex;flex-direction:column;gap:5px;aspect-ratio:1;min-width:0;overflow:hidden;padding:12px;text-align:left;border-radius:var(--control-radius);background:var(--panel);color:var(--text)}
.profile-post-tile small,.profile-post-tile span{font-size:calc(11px * var(--text-scale));color:var(--muted)}
.profile-post-tile strong,.profile-post-tile span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.profile-post-tile strong{font-size:calc(13px * var(--text-scale))}
.profile-post-tile.with-cover{justify-content:flex-end;padding:8px}
.profile-post-tile.with-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-post-tile.with-cover strong{position:relative;align-self:flex-start;max-width:100%;padding:3px 6px;border-radius:6px;background:#151822e8;color:#fff}
.profile-post-more,.profile-posts-status{margin-top:12px}
#profile-post-detail .post-card{margin:0;box-shadow:none}
.profile-settings{display:grid;gap:16px}
.profile-settings-section h3{font-size:13px;margin:0 0 8px;color:var(--muted)}
.profile-settings-section>div{display:grid;gap:5px}
.profile-settings .resource-row{width:100%;min-width:0;text-align:left}
@media(max-width:400px){
  .profile-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
