/* Approved mobile workflow frame. Business pages retain their existing controls. */
body.mobile-workflow-fidelity {
  --brand:#1d5ed0; --brand-dark:#174eae; --ms-brand:#1d5ed0; --ms-brand-dark:#1d5ed0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
  background:#f4f6f9; color:#192c48; font-size:14px; line-height:1.5;
}
body.mobile-workflow-fidelity :is(button,input,select,textarea) {font-family:inherit;}
body.mobile-workflow-fidelity .mobile-system-shell {--ms-line:#e0e7f0;--ms-brand:#1d5ed0;--ms-brand-dark:#1d5ed0; background:#f4f6f9;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-system-topbar {position:sticky;top:0;min-height:58px;height:58px;padding:7px 18px;background:#fff;border:0;z-index:120;}
body.mobile-workflow-fidelity .mobile-system-shell .topbar-main {display:flex;align-items:center;gap:0;}
body.mobile-workflow-fidelity .mobile-system-shell .topbar-product {display:flex;gap:10px;align-items:center;}
body.mobile-workflow-fidelity .mobile-system-shell .topbar-product .mobile-app-back {display:grid;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0;background:#edf3fe;color:#1d5ed0;border:0;border-radius:10px;}
body.mobile-workflow-fidelity .mobile-system-shell .topbar-product .mobile-app-back:not(.visible) {background:#c8323c;color:#fff;cursor:default;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-app-back svg {width:22px;height:25px;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-app-topbar-copy strong {color:#192c48;font-size:18px;line-height:27px;font-weight:700;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-app-topbar-copy small {color:#66758b;font-size:10px;line-height:15px;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-app-back.visible + .mobile-app-topbar-copy small {display:none;}
body.mobile-workflow-fidelity .mobile-system-shell .topbar-product .mobile-app-menu {display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;width:auto;min-width:40px;padding:0;border:0;background:transparent;color:#1d5ed0;font-size:11px;font-weight:400;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-app-menu svg {width:18px;height:18px;}
body.mobile-workflow-fidelity.mobile-task-workflow .mobile-system-shell .topbar-product .mobile-app-menu {width:40px;border-radius:10px;background:#edf3fe;}
body.mobile-workflow-fidelity .mobile-system-shell #content.mobile-system-content {padding:16px 16px calc(80px + env(safe-area-inset-bottom));background:#f4f6f9;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-system-bottom-nav {min-height:64px;height:calc(64px + env(safe-area-inset-bottom));padding:5px 8px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #e0e7f0;background:#fff;box-shadow:none;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-system-bottom-nav .mobile-system-bottom-nav-item {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0;min-height:49px;color:#66758b;font-size:12px;font-weight:400;line-height:18px;border-radius:0;background:transparent;}
body.mobile-workflow-fidelity .mobile-system-shell .mobile-system-bottom-nav .mobile-system-bottom-nav-item.active {color:#1d5ed0;background:transparent;font-weight:600;}
body.mobile-workflow-fidelity .mobile-nav-icon {display:flex;align-items:center;justify-content:center;line-height:1;}
body.mobile-workflow-fidelity .mobile-nav-icon svg {width:21px;height:21px;}
@media(max-width:380px) {body.mobile-workflow-fidelity .mobile-system-shell #content.mobile-system-content {padding-right:12px;padding-left:12px;}}

/* One main navigation, with the original task actions kept in the detail header. */
body.mobile-ui-active .mobile-system-shell .mobile-system-bottom-nav {grid-template-columns:repeat(4,minmax(0,1fr));}
body.mobile-ui-active .mobile-system-shell .topbar-product .mobile-app-menu[hidden] {display:none!important;}
body.mobile-ui-active .mobile-system-shell .mobile-workspace-queue {display:grid;gap:12px;min-width:0;}
body.mobile-ui-active .mobile-system-shell .mobile-workspace .mobile-workspace-refresh {margin-left:auto;width:auto;min-height:44px;padding:7px 10px;border:0;background:transparent;color:#1d5ed0;font-size:13px;}
body.mobile-ui-active .mobile-system-shell .mobile-workspace .mobile-person-logout {width:auto;justify-self:start;background:transparent;border:0;color:#66758b;padding:8px 0;}
