/* Office V14: self-service profile page and positioned photo crop */
.office-profile-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(340px,1.15fr);gap:20px;align-items:start}
.office-profile-card{min-width:0}.office-profile-layout>.card:last-child{grid-column:2}
.office-profile-layout>.card:first-child{grid-row:1 / span 2}
.office-profile-hero{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.office-profile-hero h2{margin:0 0 3px;font-size:22px}
.office-profile-username,.office-profile-position,.office-profile-muted{color:var(--muted);font-size:13px;line-height:1.6}
.office-profile-position{margin-top:10px}.office-profile-photo-trigger{position:relative;background:transparent;border:0;padding:0;cursor:pointer;flex-shrink:0}
.office-profile-photo-trigger .office-person-photo{width:110px;height:110px;border-radius:50%;font-size:38px}
.office-profile-photo-trigger img{width:100%;height:100%;object-fit:cover}
.office-profile-photo-pencil{position:absolute;right:0;bottom:0;background:var(--accent);color:#102129;border-radius:50%;font-size:16px;width:32px;height:32px;display:grid;place-items:center;box-shadow:0 2px 8px #0006}
.office-profile-spacing{margin-top:18px}.office-profile-actions{margin-top:22px;display:flex;justify-content:flex-end}
.office-crop-panel{display:grid;gap:14px}.office-crop-stage{position:relative;width:min(100%,340px);aspect-ratio:1;margin:auto;background:#13232d;overflow:hidden;touch-action:none;border-radius:12px}
.office-crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.office-crop-stage canvas:active{cursor:grabbing}.office-crop-circle{pointer-events:none;position:absolute;inset:0;border:2px solid #ffffff9c;border-radius:50%;box-shadow:0 0 0 60px #07131d75}
.office-crop-panel input[type=range]{width:100%;accent-color:var(--accent)}
@media(max-width:950px){.office-profile-layout{grid-template-columns:1fr}.office-profile-layout>.card:last-child{grid-column:auto}.office-profile-layout>.card:first-child{grid-row:auto}}
