/* Personal centre + task-local actions. Existing business forms and colours stay intact. */
#nhContextActions{display:none}
body.nh-function-open{overflow:hidden!important}
body.ui-v2-preview.workbench-shell #wbToolHost #mtMyPanel{max-width:920px;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.ui-v2-preview.workbench-shell #mtMyPanel h1{font-size:24px!important;color:#172335!important;margin:0 0 20px!important}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-profile{display:flex;align-items:center;gap:16px;background:#fff;padding:20px;border-radius:12px;margin-bottom:20px}
.nh-avatar{display:grid;place-items:center;flex:none;width:56px;height:56px;background:#e4edff;color:#2457d6;border-radius:12px}
.nh-avatar svg{width:28px;height:28px}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-name{font-size:21px!important;margin:0 0 4px!important;padding:0!important;border:0!important;color:#172335!important}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-account{color:#526177!important;font-size:14px!important;margin:0!important;overflow-wrap:anywhere}
body.ui-v2-preview.workbench-shell #mtMyPanel :is(.nh-personal,.nh-admin>nav){display:block;background:#fff;border-radius:12px;overflow:hidden}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-row{display:flex!important;align-items:center;gap:12px!important;width:100%;min-height:64px!important;padding:14px 16px!important;margin:0!important;border:0!important;border-bottom:1px solid #e7ebf0!important;border-radius:0!important;background:#fff!important;color:#243348!important;text-align:left!important;box-shadow:none!important}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-row:last-child{border-bottom:0!important}
.nh-row>svg{width:22px;height:22px;flex:none;color:#2457d6}
.nh-row>svg:last-child{width:17px;height:17px;color:#68788a}
.nh-row>span{flex:1;min-width:0}
.nh-row strong{display:block;font-size:15px;font-weight:600;line-height:1.5}
.nh-row small{display:block;font-size:13px;line-height:1.5;color:#526177;margin-top:3px}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-admin{margin:24px 0}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-admin>h2{font-size:17px!important;color:#243348!important;border:0!important;margin:0 0 12px!important;padding:0!important}
body.ui-v2-preview.workbench-shell #mtMyPanel .nh-logout{margin-top:20px!important;border-radius:12px!important;color:#b42332!important}
.nh-logout>svg{color:#b42332}
body.ui-v2-preview.workbench-shell #mtMyPanel [hidden]{display:none!important}
body.ui-v2-preview.workbench-shell dialog.nh-functions{width:min(940px,calc(100vw - 32px));max-height:90dvh;padding:0!important;border:0;border-radius:14px;background:#fff;color:#1e293b;overflow:hidden}
dialog.nh-functions[open]{display:flex;flex-direction:column}
.nh-functions::backdrop{background:#14223566}
body.ui-v2-preview.workbench-shell .nh-functions>header{display:flex!important;align-items:center;justify-content:space-between;flex:none;gap:16px;padding:16px 20px!important;margin:0!important;background:#fff!important;border:0!important;border-bottom:1px solid #e2e8f0!important;box-shadow:none!important}
body.ui-v2-preview.workbench-shell .nh-functions h2{font-size:20px!important;padding:0!important;margin:0!important;border:0!important;color:#172335!important}
.nh-functions>header button{min-height:44px!important;min-width:64px}
.nh-function-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:20px}
.nh-function-body label{display:flex;flex-direction:column;gap:6px;font-size:14px}
.nh-function-body input{width:100%;font-size:16px!important;min-height:44px!important;box-sizing:border-box}
.nh-function-body section{margin:22px 0}
body.ui-v2-preview.workbench-shell .nh-function-body h3{font-size:16px!important;color:#243348!important;margin:0 0 12px!important}
.nh-function-body section nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.ui-v2-preview.workbench-shell .nh-function-body section button{min-height:52px!important;text-align:left;white-space:normal;background:#f4f7fb!important;color:#274263!important;border:0!important;font-size:14px!important;overflow-wrap:anywhere}
.nh-functions [hidden]{display:none!important}
.nh-row:focus-visible,.nh-function-body button:focus-visible{outline:3px solid #2457d6!important;outline-offset:-3px}
@media screen and (max-width:760px){
 body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell.mt-mobile #mtMore{display:none!important}
 body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell.mt-mobile #nhContextActions{display:flex;flex-wrap:wrap;width:100%;gap:8px;margin:12px 0!important;position:relative}
 body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell.mt-mobile #nhContextActions[hidden]{display:none!important}
 body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell.mt-mobile #nhContextActions #wbTopActions{position:static!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:8px!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
 body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell.mt-mobile #nhContextActions #wbTopActions>button{font-size:14px!important;min-height:44px!important;padding:10px 14px!important;width:auto!important;max-width:none!important;flex:0 0 auto!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
 body.mt-mobile #nhContextActions #wbMore>summary{font-size:14px!important;min-height:44px;box-sizing:border-box;padding:10px 12px!important}
 body.mt-mobile #nhContextActions #wbMore>div{max-width:calc(100vw - 40px);min-width:200px;z-index:55}
 body.mt-mobile #mtMyPanel h1{font-size:22px!important}
 body.mt-mobile #mtMyPanel .nh-profile{padding:18px!important}
 body.mt-mobile .nh-function-body section nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ui-v2-preview.workbench-shell dialog.nh-functions{width:calc(100vw - 16px);max-height:calc(94dvh - env(safe-area-inset-bottom,0px));margin:auto;border-radius:12px}
 .nh-function-body{padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px))}
}
@media print{#mtMyPanel,#nhContextActions,.nh-functions{display:none!important}}

