/* R11.6.7: photo size, true-to-record effective photo and one shared crop editor.
   Photo CSS is last in both entrypoints to override legacy fixed 28/35px sizes. */
#profileChip #profileAvatar{
 width:46px!important;height:46px!important;min-width:46px!important;
 flex:0 0 46px!important;border-radius:50%!important;overflow:hidden!important;
 object-fit:cover!important;background-position:center!important;background-size:cover!important;
 font-size:0!important;color:transparent!important;text-shadow:none!important;line-height:0!important;
 border:2px solid #b8d9f5!important;box-shadow:0 2px 8px #14527a2b!important;
}
#profileChip #profileAvatar::before,#profileChip #profileAvatar::after{content:none!important;display:none!important}
#profileChip{min-height:55px!important;align-items:center!important}
#profileChip #profileAvatar.r968-has-photo{background-color:#edf5ff!important}
/* Work Form blue banner: a nearly full-height photo; maintain label alignment. */
html[data-work-theme="classic-white"] body #wfApp .app-bar{min-height:83px!important;padding:8px 17px!important}
html[data-work-theme="classic-white"] body #wfApp .app-bar .user-head .avatar{
 width:62px!important;height:62px!important;min-width:62px!important;flex:0 0 62px!important;
 border:2px solid #e7f5ff!important;border-radius:50%!important;
 background-size:cover!important;background-position:center!important;overflow:hidden!important;
 font-size:0!important;line-height:0!important;color:transparent!important;text-shadow:none!important;
 box-shadow:0 0 0 2px #246bbc88,0 5px 13px #001d4958!important;
}
html[data-work-theme="classic-white"] body #wfApp .app-bar .user-head .avatar::before,
html[data-work-theme="classic-white"] body #wfApp .app-bar .user-head .avatar::after{content:none!important;display:none!important}
/* Team list: 50px portrait in a 60px row. Do not change filter widths or columns. */
html[data-work-theme="classic-white"] body #wfApp #r96TeamPanel .r969-team-row{
 min-height:60px!important;padding:4px 10px!important;align-items:center!important;
}
html[data-work-theme="classic-white"] body #wfApp #r96TeamPanel .r969-person img.r969-avatar{
 width:50px!important;height:50px!important;min-width:50px!important;flex:0 0 50px!important;
 border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 2px #c6e0f9!important;
}
#r96TeamPanel .r969-person{gap:9px!important;min-width:0!important}
#r96TeamPanel .r969-person>span{min-width:0;overflow-wrap:anywhere}
#r96TeamPanel .r969-team-row>.r969-person{overflow:visible!important}
/* Other work portraits show the same effective photo without oversized cards. */
#r96RequestsPanel .r969-person img.r969-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important}
#drawerBody .r1152-person img[data-r1167-email]{width:42px!important;height:42px!important;object-fit:cover!important;border-radius:50%!important}
.admin-user-table .r1166-user-name img{width:45px!important;height:45px!important;flex:0 0 45px!important}
/* Shared Admin/My Profile crop dialog. Original untouched; uploads occur only after Apply & Save. */
.r1167-photo-dialog{position:fixed;inset:0;margin:auto;width:min(470px,calc(100vw - 20px));max-height:95dvh;
 border:1px solid #b4cfe9;border-radius:17px;background:#fafdff;color:#163351;overflow:auto;padding:0;
 box-shadow:0 22px 80px #0d294c70;z-index:100000;font:13px/1.35 'Segoe UI',Arial,sans-serif}
.r1167-photo-dialog::backdrop{background:#0a2445aa;backdrop-filter:blur(5px)}
.r1167-editor-head{padding:14px 18px;border-bottom:1px solid #d7e7f5;background:#eef7ff;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.r1167-editor-head b{display:block;font-size:16px}.r1167-editor-head small{display:block;margin-top:4px;font-size:11px;color:#526f8b}
.r1167-photo-dialog button{border:1px solid #bcd4e9;background:#fff;border-radius:9px;color:#1b5184;
 font:700 12px 'Segoe UI',Arial,sans-serif;padding:8px 11px;cursor:pointer;min-height:32px}
.r1167-photo-dialog button:disabled{opacity:.45;cursor:progress}
.r1167-editor-head [data-close]{font-size:21px;line-height:1;padding:5px 10px}
.r1167-canvas-frame{position:relative;display:block;width:min(320px,calc(100% - 60px));aspect-ratio:1;margin:16px auto 14px;
 border-radius:50%;overflow:hidden;background:#e6f3fe;box-shadow:0 0 0 3px #aed1ef,0 5px 18px #153e6435}
.r1167-canvas-frame canvas{display:block;width:100%;height:100%;object-fit:cover;touch-action:none;cursor:grab}
.r1167-canvas-frame canvas:active{cursor:grabbing}
.r1167-circle-outline{position:absolute;inset:0;pointer-events:none;border:2px solid #f9ffffcc;border-radius:50%}
.r1167-editor-zoom{display:flex;align-items:center;gap:7px;margin:8px 19px}
.r1167-editor-zoom label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;font-size:12px;color:#426481}
.r1167-editor-zoom input{flex:1;min-width:72px;max-width:100%;accent-color:#1274dd}
.r1167-editor-zoom output{min-width:38px;text-align:right;font-size:11px;color:#526c8b}
.r1167-editor-controls{display:flex;align-items:center;justify-content:center;gap:7px;margin:10px 16px;flex-wrap:wrap}
.r1167-editor-note{color:#526f8b;margin:12px 20px 8px;text-align:center;font-size:11px;min-height:15px}
.r1167-editor-actions{border-top:1px solid #dae8f5;display:flex;justify-content:flex-end;gap:10px;padding:12px 17px}
.r1167-editor-actions [data-apply]{color:white;background:#0b73d1;border-color:#0b73d1}
@media(max-width:600px){
 html[data-work-theme="classic-white"] body #wfApp .app-bar .user-head .avatar{width:48px!important;height:48px!important;min-width:48px!important;flex-basis:48px!important}
 html[data-work-theme="classic-white"] body #wfApp #r96TeamPanel .r969-person img.r969-avatar{width:46px!important;height:46px!important;min-width:46px!important;flex-basis:46px!important}
 .r1167-photo-dialog{width:calc(100vw - 14px);max-height:92dvh}
 .r1167-editor-zoom{margin:8px 10px}
}
