/* Shared work profile for V9 dashboard. Profile JS uses authenticated R2 only. */
#profileAvatar,.app-bar .avatar,.r968-profile-avatar{background-image:url('/default-engineer-avatar.webp');background-size:cover;background-repeat:no-repeat;background-position:center;color:transparent}
.r968-profile-panel{width:min(440px,calc(100vw - 24px));max-height:min(83dvh,760px);padding:12px;overscroll-behavior:contain}
.r968-profile-avatar{width:50px;height:50px;flex:0 0 50px;background-color:#ecf6ff}
.r968-profile-head{gap:9px}.r969-profile-identity{flex:1;min-width:0}.r969-profile-identity strong{overflow-wrap:anywhere}
#r969AdminQuick{border:1px solid #bad7f6;border-radius:7px;background:#eff6ff;color:#135cae;font-size:11px;font-weight:750;padding:5px 9px;cursor:pointer}
#r969AdminQuick[hidden]{display:none!important}
.r968-profile-fields label{font-size:12px!important}.r968-profile-fields input{height:34px!important;font-size:12px!important}
.r968-stat small{font-size:11px!important}.r968-stat strong{font-size:20px!important}
#r969ChoosePhoto{border:1px solid #bad7f6;border-radius:7px;background:#eff6ff;color:#135cae;font-weight:750;padding:7px 10px;cursor:pointer}
.r969-crop-notice{display:block;font-size:11px;color:#19775d}.r969-crop-notice:empty{display:none}
dialog.r969-crop-dialog{position:fixed;inset:0;margin:auto;width:min(380px,calc(100vw - 24px));max-width:380px;max-height:88dvh;overflow:auto;border:1px solid #c5dbf4;border-radius:15px;background:#fff;padding:14px;color:#173e68;box-shadow:0 20px 60px #0c254a80}
dialog.r969-crop-dialog::backdrop{background:#091b3b99;backdrop-filter:blur(8px)}
.r969-crop-head{display:flex;align-items:center;justify-content:space-between;font-size:16px}.r969-crop-head button{border:1px solid #cee1f4;border-radius:7px;background:#f2f8ff;padding:5px 10px;cursor:pointer}
.r969-crop-dialog p{font-size:12px;color:#55718d}
#r969CropCanvas{display:block;touch-action:none;cursor:grab;background:#ebf4fe;border-radius:50%;width:min(256px,100%);height:auto;margin:0 auto 12px;box-shadow:0 0 0 3px #d4e8fa}#r969CropCanvas:active{cursor:grabbing}
.r969-crop-tools{display:flex;align-items:center;gap:6px;justify-content:center;flex-wrap:wrap}.r969-crop-tools button{border:1px solid #cadcf0;border-radius:7px;background:#f3f8ff;color:#1555aa;font-weight:750;cursor:pointer;padding:7px 10px}.r969-crop-tools input{flex:1;min-width:85px;accent-color:#146ee0}
.r969-crop-actions{display:flex;justify-content:flex-end;margin-top:12px}.r969-crop-actions button{background:#1467d6;color:white;border:0;border-radius:8px;padding:9px 16px;font-weight:750;cursor:pointer}
@media(prefers-reduced-motion:reduce){dialog.r969-crop-dialog[open]{animation:none!important}}
